az network alb association
Note
This reference is part of the alb extension for the Azure CLI (version 2.51.0 or higher). The extension will automatically install the first time you run an az network alb association command. Learn more about extensions.
Manage and Configure Associations for Application Gateway for Containers resource.
Name | Description | Type | Status |
---|---|---|---|
az network alb association create |
Create an Application Gateway for Containers association resource. |
Extension | GA |
az network alb association delete |
Delete an Application Gateway for Containers association resource. |
Extension | GA |
az network alb association list |
List all associations for an Application Gateway for Containers resource. |
Extension | GA |
az network alb association show |
Get an Application Gateway for Containers association resource. |
Extension | GA |
az network alb association update |
Update an Application Gateway for Containers association resource. |
Extension | GA |
az network alb association wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
Create an Application Gateway for Containers association resource.
az network alb association create --alb-name
--association-name
--resource-group
[--association-type {subnets}]
[--location]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--subnet]
[--tags]
[--vnet-name]
Create an Application Gateway for Containers association resource
az network alb association create -g test-rg -n test-association --alb-name test-alb --subnet <subnetId>
Name of the Application Gateway for Containers resource.
Name of the association resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Type of Association.
The geo-location for the resource When not specified, the location of the resource group will be used.
Do not wait for the long-running operation to finish.
Name or Id of exiting subnet resource.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Name of the virtual network corresponding to the subnet.
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.
Delete an Application Gateway for Containers association resource.
az network alb association delete [--alb-name]
[--association-name]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--resource-group]
[--subscription]
[--yes]
Delete an Application Gateway for Containers association resource
az network alb association delete -g test-rg -n test-association --alb-name test-alb
Name of the Application Gateway for Containers resource.
Name of the association resource.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
List all associations for an Application Gateway for Containers resource.
az network alb association list --alb-name
--resource-group
[--max-items]
[--next-token]
List all associations for an Application Gateway for Containers resource
az network alb association list -g test-rg --alb-name test-alb
Name of the Application Gateway for Containers resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
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.
Get an Application Gateway for Containers association resource.
az network alb association show [--alb-name]
[--association-name]
[--ids]
[--resource-group]
[--subscription]
Get the details of an Application Gateway for containers association resource
az network alb association show -g test-rg -n test-association --alb-name test-alb
Name of the Application Gateway for Containers resource.
Name of the association resource.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Update an Application Gateway for Containers association resource.
az network alb association update [--add]
[--alb-name]
[--association-name]
[--force-string {0, 1, f, false, n, no, t, true, y, yes}]
[--ids]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--remove]
[--resource-group]
[--set]
[--subscription]
[--tags]
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>
.
Name of the Application Gateway for Containers resource.
Name of the association resource.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Do not wait for the long-running operation to finish.
Remove a property or an element from a list. Example: --remove property.list <indexToRemove>
OR --remove propertyToRemove
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Update an object by specifying a property path and value to set. Example: --set property1.property2=<value>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Resource tags. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
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.
Place the CLI in a waiting state until a condition is met.
az network alb association wait [--alb-name]
[--association-name]
[--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
Name of the Application Gateway for Containers resource.
Name of the association resource.
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.
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Polling interval in seconds.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Azure CLI feedback
Azure CLI is an open source project. Select a link to provide feedback: