// Code generated by azure-service-operator-codegen. DO NOT EDIT.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
package arm

import "github.com/Azure/azure-service-operator/v2/pkg/genruntime"

type FleetsMember_Spec struct {
	Name string `json:"name,omitempty"`

	// Properties: The resource-specific properties for this resource.
	Properties *FleetMemberProperties `json:"properties,omitempty"`
}

var _ genruntime.ARMResourceSpec = &FleetsMember_Spec{}

// GetAPIVersion returns the ARM API version of the resource. This is always "2025-03-01"
func (member FleetsMember_Spec) GetAPIVersion() string {
	return "2025-03-01"
}

// GetName returns the Name of the resource
func (member *FleetsMember_Spec) GetName() string {
	return member.Name
}

// GetType returns the ARM Type of the resource. This is always "Microsoft.ContainerService/fleets/members"
func (member *FleetsMember_Spec) GetType() string {
	return "Microsoft.ContainerService/fleets/members"
}

// A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure.
type FleetMemberProperties struct {
	// ClusterResourceId: The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'.
	ClusterResourceId *string `json:"clusterResourceId,omitempty"`

	// Group: The group this member belongs to for multi-cluster update management.
	Group *string `json:"group,omitempty"`
}
