CmdID

CmdID / az / az fleet / az fleet member

az fleet member create

Creates or updates a member. Azure CLI extensions reference

2 examples 3 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create an AKS Cluster member and assign it to an update group.

az fleet member create -g MyFleetResourceGroup -f MyFleetName -n NameOfMember --update-group group1 --member-cluster-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ClusterResourceGroupName/providers/Microsoft.ContainerService/managedClusters/ClusterName"Identify
-gName of resource group.
-fSpecify the fleet name.
-nSpecify the fleet member name.
--update-groupUpdate group of the member.
--member-cluster-idThe ARM resource ID of the cluster.

Create an Arc Cluster member and assign it to an update group.

az fleet member create -g MyFleetResourceGroup -f MyFleetName -n NameOfMember --update-group group1 --member-cluster-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ClusterResourceGroupName/providers/Microsoft.Kubernetes/connectedClusters/ClusterName"Identify
-gName of resource group.
-fSpecify the fleet name.
-nSpecify the fleet member name.
--update-groupUpdate group of the member.
--member-cluster-idThe ARM resource ID of the cluster.

Options

3 in the Azure CLI extensions reference
--member-cluster-idThe ARM resource ID of the cluster.
--member-labels, --labelsSpace-separated labels in key=value format.
--update-groupUpdate group of the member.