az fleet member
Note
This reference is part of the fleet extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az fleet member command. Learn more about extensions.
Commands to manage members.
Commands
Name | Description | Type | Status |
---|---|---|---|
az fleet member create |
Creates or updates a member. |
Extension | GA |
az fleet member delete |
Deletes a fleet member. |
Extension | GA |
az fleet member list |
Lists a fleet's members. |
Extension | GA |
az fleet member reconcile |
Reconciles a member. |
Extension | GA |
az fleet member show |
Gets a fleet member. |
Extension | GA |
az fleet member update |
Update a member. |
Extension | GA |
az fleet member wait |
Wait for a member resource to reach a desired state. |
Extension | GA |
az fleet member create
Creates or updates a member.
az fleet member create --fleet-name
--member-cluster-id
--name
--resource-group
[--no-wait]
[--update-group]
Examples
Create a member and assign it to an update group.
az fleet member create -g MyFleetResourceGroup -f MyFleetName -n NameOfMember --update-group UpdateGroup1 --member-cluster-id "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyFleetResourceGroup/providers/Microsoft.ContainerService/managedClusters/MyManagedCluster"
Required Parameters
Specify the fleet name.
ID of the managed cluster.
Specify the fleet member name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Update group of the member.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az fleet member delete
Deletes a fleet member.
az fleet member delete --fleet-name
--name
--resource-group
[--no-wait]
[--yes]
Examples
Delete a specific fleet member.
az fleet member delete -g MyFleetResourceGroup -f MyFleetName -n NameOfMember
Required Parameters
Specify the fleet name.
Specify the fleet member name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az fleet member list
Lists a fleet's members.
az fleet member list --fleet-name
--resource-group
Examples
List all members for a given fleet.
az fleet member list -g MyFleetResourceGroup -f MyFleetName
Required Parameters
Specify the fleet name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az fleet member reconcile
Reconciles a member.
az fleet member reconcile --fleet-name
--name
--resource-group
[--no-wait]
Examples
Reconcile a member.
az fleet member reconcile -g MyFleetResourceGroup -f MyFleetName -n NameOfMember
Required Parameters
Specify the fleet name.
Specify the fleet member name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Do not wait for the long-running operation to finish.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az fleet member show
Gets a fleet member.
az fleet member show --fleet-name
--name
--resource-group
Examples
Show the details of a specific fleet member.
az fleet member show -g MyFleetResourceGroup -f MyFleetName -n NameOfMember
Required Parameters
Specify the fleet name.
Specify the fleet member name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az fleet member update
Update a member.
az fleet member update --fleet-name
--name
--resource-group
[--update-group]
Examples
Update an existing member's update group.
az fleet member update -g MyFleetResourceGroup -f MyFleetName -n NameOfMember --update-group UpdateGroup2
Required Parameters
Specify the fleet name.
Specify the fleet member name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Update group of the member.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az fleet member wait
Wait for a member resource to reach a desired state.
If an operation on member was interrupted or was started with --no-wait
, use this command to wait for it to complete.
az fleet member wait --fleet-member-name
--fleet-name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
The name of the Fleet member resource. Required.
Specify the fleet name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Wait until created with 'provisioningState' at 'Succeeded'.
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
Wait until deleted.
Wait until the resource exists.
Polling interval in seconds.
Maximum wait in seconds.
Wait until updated with provisioningState at 'Succeeded'.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.