你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
az network manager ipam-pool static-cidr
Note
This reference is part of the virtual-network-manager extension for the Azure CLI (version 2.61.0 or higher). The extension will automatically install the first time you run an az network manager ipam-pool static-cidr command. Learn more about extensions.
Manage static cidr with network.
Commands
Name | Description | Type | Status |
---|---|---|---|
az network manager ipam-pool static-cidr create |
Create the Static CIDR resource. |
Extension | GA |
az network manager ipam-pool static-cidr delete |
Delete the Static CIDR resource. |
Extension | GA |
az network manager ipam-pool static-cidr list |
List list of Static CIDR resources at Network Manager level. |
Extension | GA |
az network manager ipam-pool static-cidr show |
Get the specific Static CIDR resource. |
Extension | GA |
az network manager ipam-pool static-cidr wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az network manager ipam-pool static-cidr create
Create the Static CIDR resource.
az network manager ipam-pool static-cidr create --manager-name
--name
--pool-name
--resource-group
[--address-prefixes]
[--allocate]
[--description]
Examples
StaticCidrs_Create
az network manager ipam-pool static-cidr create --name "myStaticCidr" --pool-name "myIpamPool" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000" --address-prefixes "['10.0.0.0/24']" --number-of-ip-addresses-to-allocate "256" --description "New Static Cidr Description"
Required Parameters
The name of the network manager.
Static Cidr allocation name.
IP Address Manager Pool resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
List of IP address prefixes of the resource. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space.
Description of the resource.
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 network manager ipam-pool static-cidr delete
Delete the Static CIDR resource.
az network manager ipam-pool static-cidr delete [--ids]
[--manager-name]
[--name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--pool-name]
[--resource-group]
[--subscription]
[--yes]
Examples
StaticCidrs_Delete
az network manager ipam-pool static-cidr delete --name "myStaticCidr" --pool-name "myIpamPool" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000"
Optional Parameters
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.
The name of the network manager.
StaticCidr resource name to delete.
Do not wait for the long-running operation to finish.
Pool resource name.
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.
az network manager ipam-pool static-cidr list
List list of Static CIDR resources at Network Manager level.
az network manager ipam-pool static-cidr list --manager-name
--pool-name
--resource-group
[--max-items]
[--next-token]
[--skip]
[--skip-token]
[--sort-key]
[--sort-value]
[--top]
Examples
StaticCidrs_List
az network manager ipam-pool static-cidr list --pool-name "myIpamPool" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000"
Required Parameters
The name of the network manager.
Pool resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
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.
Optional num entries to skip.
Optional skip token.
Optional key by which to sort.
Optional sort value for pagination.
Optional num entries to show.
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 network manager ipam-pool static-cidr show
Get the specific Static CIDR resource.
az network manager ipam-pool static-cidr show [--ids]
[--manager-name]
[--name]
[--pool-name]
[--resource-group]
[--subscription]
Examples
StaticCidrs_Get
az network manager ipam-pool static-cidr show --name "myStaticCidr" --pool-name "myIpamPool" --network-manager-name "myAVNM" --resource-group "myAVNMResourceGroup" --subscription "00000000-0000-0000-0000-000000000000"
Optional Parameters
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.
The name of the network manager.
StaticCidr resource name to retrieve.
Pool resource name.
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.
az network manager ipam-pool static-cidr wait
Place the CLI in a waiting state until a condition is met.
az network manager ipam-pool static-cidr wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--manager-name]
[--name]
[--pool-name]
[--resource-group]
[--subscription]
[--timeout]
[--updated]
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.
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.
The name of the network manager.
StaticCidr resource name to retrieve.
Pool resource name.
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.