az fleet
Note
This reference is part of the fleet extension for the Azure CLI (version 2.48.0 or higher). The extension will automatically install the first time you run an az fleet command. Learn more about extensions.
Commands to manage fleet.
Commands
| az fleet create |
Creates or updates a Fleet. |
| az fleet delete |
Deletes a Fleet. |
| az fleet get-credentials |
Lists the user credentials of a Fleet. |
| az fleet list |
Lists fleets in the specified subscription and resource group. |
| az fleet member |
Commands to manage a fleet member. |
| az fleet member create |
Creates or updates a fleet member. |
| az fleet member delete |
Deletes a fleet member. |
| az fleet member list |
Lists the members of a fleet. |
| az fleet member show |
Gets a Fleet member. |
| az fleet member update |
Update a fleet member. |
| az fleet member wait |
Wait for a fleet member resouce to reach a desired state. |
| az fleet show |
Gets a Fleet. |
| az fleet update |
Patches a fleet resource. |
| az fleet updaterun |
Commands to manage a fleet update run. |
| az fleet updaterun create |
Creates or updates a fleet update run. |
| az fleet updaterun delete |
Deletes a fleet update run. |
| az fleet updaterun list |
Lists the update runs of a fleet. |
| az fleet updaterun show |
Shows a fleet update run. |
| az fleet updaterun start |
Starts a fleet update run. |
| az fleet updaterun stop |
Stops a fleet update run. |
| az fleet wait |
Wait for a fleet resouce to reach a desired state. |
az fleet create
Creates or updates a Fleet.
az fleet create --name
--resource-group
[--dns-name-prefix]
[--location]
[--no-wait]
[--tags]
Required Parameters
Specify the fleet name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Prefix for hostnames that are created. If not specified, generate a hostname using the managed cluster and resource group names.
Location. Values from: az account list-locations. You can configure the default location using az configure --defaults location=<location>.
Do not wait for the long-running operation to finish.
The tags of the managed cluster. The managed cluster instance and all resources managed by the cloud provider will be tagged.
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 delete
Deletes a Fleet.
az fleet delete --name
--resource-group
[--no-wait]
Required Parameters
Specify the fleet 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 get-credentials
Lists the user credentials of a Fleet.
az fleet get-credentials --name
--resource-group
[--context]
[--file]
[--overwrite-existing]
Required Parameters
Specify the fleet name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
If specified, overwrite the default context name.
Kubernetes configuration file to update. Use "-" to print YAML to stdout instead.
Overwrite any existing cluster entry with the same 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 list
Lists fleets in the specified subscription and resource group.
az fleet list [--resource-group]
Optional Parameters
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 show
Gets a Fleet.
az fleet show --name
--resource-group
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 update
Patches a fleet resource.
az fleet update --name
--resource-group
[--tags]
Required Parameters
Specify the fleet name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The tags of the managed cluster. The managed cluster instance and all resources managed by the cloud provider will be tagged.
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 wait
Wait for a fleet resouce to reach a desired state.
If an operation on fleet was interrupted or was started with --no-wait, use this command to wait for it to complete.
az fleet wait --fleet-name
--resource-group
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Required Parameters
The name of the Fleet resource. Required.
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.
Feedback
Submit and view feedback for