az fleet network cross-cluster
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 network cross-cluster command. Learn more about extensions.
Commands to manage cross-cluster networks.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az fleet network cross-cluster apply |
Apply the cross-cluster network to selected fleet members. |
Extension | GA |
| az fleet network cross-cluster create |
Create or update a cross-cluster network. |
Extension | GA |
| az fleet network cross-cluster delete |
Delete a cross-cluster network. Members must be disconnected from the network before it can be deleted. |
Extension | GA |
| az fleet network cross-cluster list |
List all cross-cluster networks for a fleet. |
Extension | GA |
| az fleet network cross-cluster list-members |
List fleet members for a cross-cluster network. |
Extension | GA |
| az fleet network cross-cluster show |
Get a cross-cluster network. |
Extension | GA |
| az fleet network cross-cluster wait |
Wait for a cross-cluster network to reach a desired state. |
Extension | GA |
az fleet network cross-cluster apply
Apply the cross-cluster network to selected fleet members.
az fleet network cross-cluster apply --fleet-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--no-wait]
[--what-if]
Examples
Apply a cross-cluster network.
az fleet network cross-cluster apply -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork
Preview what changes would be made without actually applying.
az fleet network cross-cluster apply -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork --what-if --output table
Required Parameters
Specify the fleet name.
Specify name for the cluster mesh profile.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Show what changes would be made by the apply operation without actually performing it.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az fleet network cross-cluster create
Create or update a cross-cluster network.
az fleet network cross-cluster create --fleet-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--member-selector --selector]
[--no-wait]
Examples
Create a cross-cluster network with a label selector.
az fleet network cross-cluster create -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork --selector "env=production"
Create a cross-cluster network without a selector (no members selected initially).
az fleet network cross-cluster create -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork
Required Parameters
Specify the fleet name.
Specify name for the cluster mesh profile.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Kubernetes-style label selector for selecting Fleet members, e.g. 'env=production'.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az fleet network cross-cluster delete
Delete a cross-cluster network. Members must be disconnected from the network before it can be deleted.
az fleet network cross-cluster delete --fleet-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--no-wait]
[--yes]
Examples
Delete a specific cross-cluster network.
az fleet network cross-cluster delete -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork
Required Parameters
Specify the fleet name.
Specify name for the cluster mesh profile.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Do not prompt for confirmation.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az fleet network cross-cluster list
List all cross-cluster networks for a fleet.
az fleet network cross-cluster list --fleet-name
--resource-group
Examples
List all cross-cluster networks for a given fleet.
az fleet network cross-cluster 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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az fleet network cross-cluster list-members
List fleet members for a cross-cluster network.
Without --selector, lists members currently applied to the network. With --selector, lists members that would match the network's label selector (i.e. candidates for the next apply).
az fleet network cross-cluster list-members --fleet-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--selector]
Examples
List members currently applied to the network.
az fleet network cross-cluster list-members -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork
List members that would match the network's selector.
az fleet network cross-cluster list-members -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork --selector
Required Parameters
Specify the fleet name.
Specify name for the cluster mesh profile.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Filter by the profile's label selector (members that would match after apply) instead of currently applied members.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az fleet network cross-cluster show
Get a cross-cluster network.
az fleet network cross-cluster show --fleet-name
--name
--resource-group
Examples
Show the details of a cross-cluster network.
az fleet network cross-cluster show -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork
Required Parameters
Specify the fleet name.
Specify name for the cluster mesh profile.
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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az fleet network cross-cluster wait
Wait for a cross-cluster network to reach a desired state.
az fleet network cross-cluster wait --cluster-mesh-profile-name --name
--fleet-name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Wait for the cross-cluster network to reach Connected state after apply.
az fleet network cross-cluster wait -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork --custom "properties.status.state=='Connected'"
Wait for the cross-cluster network to be created.
az fleet network cross-cluster wait -g MyFleetResourceGroup -f MyFleetName -n MyCrossClusterNetwork --created
Required Parameters
Specify name for the cluster mesh profile.
Specify the fleet name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Wait until created with 'provisioningState' at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
Wait until deleted.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the resource exists.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Polling interval in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 30 |
Maximum wait in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |