你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
az mcc ent resource
Note
This reference is part of the mcc extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az mcc ent resource command. Learn more about extensions.
Microsoft Connected Cache for Enterprise resource CLI Commands.
Commands
Name | Description | Type | Status |
---|---|---|---|
az mcc ent resource create |
Creates a Microsoft Connected Cache for Enterprise resource with specified create parameters. |
Extension | GA |
az mcc ent resource delete |
Deletes an existing Microsoft Connected Cache for Enterprise resource. |
Extension | GA |
az mcc ent resource list |
Retrieves relevant information about all Microsoft Connected Cache for Enterprise resources under the resource group. |
Extension | GA |
az mcc ent resource wait |
Place the CLI in a waiting state until a condition is met. |
Extension | GA |
az mcc ent resource create
Creates a Microsoft Connected Cache for Enterprise resource with specified create parameters.
az mcc ent resource create --mcc-resource-name
--resource-group
[--location]
[--tags]
Required Parameters
Name of Microsoft Connected Cache for Enterprise resource.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Geo-location of the cache node. This should be the same as Microsoft Connected Cache for Enterprise resource. When not specified, location of Microsoft Connected Cache for Enterprise resource will be used. When not specified, the location of the resource group will be used.
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.
az mcc ent resource delete
Deletes an existing Microsoft Connected Cache for Enterprise resource.
az mcc ent resource delete [--ids]
[--mcc-resource-name]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete an MCC resource
az mcc ent resource delete --mcc-resource-name MyMCCResourceName --resource-group MyResourceGroupName
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.
Name of Microsoft Connected Cache for Enterprise resource.
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 mcc ent resource list
Retrieves relevant information about all Microsoft Connected Cache for Enterprise resources under the resource group.
az mcc ent resource list [--max-items]
[--next-token]
[--resource-group]
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.
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 mcc ent resource wait
Place the CLI in a waiting state until a condition is met.
az mcc ent resource wait [--created]
[--custom]
[--deleted]
[--exists]
[--ids]
[--interval]
[--mcc-resource-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.
Name of Microsoft Connected Cache for Enterprise resource.
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.