az custom-providers resource-provider
Note
This reference is part of the custom-providers extension for the Azure CLI (version 2.3.1 or higher). The extension will automatically install the first time you run an az custom-providers resource-provider command. Learn more about extensions.
Commands to manage custom resource provider.
Commands
| az custom-providers resource-provider create |
Create or update the custom resource provider. |
| az custom-providers resource-provider delete |
Delete the custom resource provider. |
| az custom-providers resource-provider list |
Get all the custom resource providers within a resource group or in the current subscription. |
| az custom-providers resource-provider show |
Get the properties for the custom resource provider. |
| az custom-providers resource-provider update |
Update the custom resource provider. Only tags can be updated. |
az custom-providers resource-provider create
Create or update the custom resource provider.
az custom-providers resource-provider create --name
--resource-group
[--action]
[--location]
[--no-wait]
[--resource-type]
[--tags]
[--validation]
Examples
Create or update a custom resource provider.
az custom-providers resource-provider create -n MyRP -g MyRG \
--action name=ping endpoint=https://test.azurewebsites.net/api routing_type=Proxy \
--resource-type name=users endpoint=https://test.azurewebsites.net/api routing_type="Proxy, Cache" \
--validation validation_type=swagger specification=https://raw.githubusercontent.com/test.json
Required Parameters
The name of the resource provider.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Add an action to the custom resource provider.
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.
Add a custom resource type to the custom resource provider.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
Add a validation to the custom resource provider.
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 custom-providers resource-provider delete
Delete the custom resource provider.
az custom-providers resource-provider delete --name
--resource-group
[--no-wait]
[--yes]
Examples
Delete a custom resource provider.
az custom-providers resource-provider delete -g MyRG -n MyRP
Required Parameters
The name of the resource provider.
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.
Do not prompt for confirmation.
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 custom-providers resource-provider list
Get all the custom resource providers within a resource group or in the current subscription.
az custom-providers resource-provider list [--resource-group]
Examples
List all custom resource providers in the resource group.
az custom-providers resource-provider list -g MyRG
List all custom resource providers in the current subscription.
az custom-providers resource-provider list
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 custom-providers resource-provider show
Get the properties for the custom resource provider.
az custom-providers resource-provider show --name
--resource-group
Examples
Get a custom resource provider.
az custom-providers resource-provider show -g MyRG -n MyRP
Required Parameters
The name of the resource provider.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
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 custom-providers resource-provider update
Update the custom resource provider. Only tags can be updated.
az custom-providers resource-provider update --name
--resource-group
[--tags]
Examples
Update the tags for a custom resource provider.
az custom-providers resource-provider update -g MyRG -n MyRP --tags a=b
Required Parameters
The name of the resource provider.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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.
الملاحظات
إرسال الملاحظات وعرضها المتعلقة بـ