az deployment-scripts
Manage deployment scripts at subscription or resource group scope.
Commands
az deployment-scripts delete |
Delete a deployment script. |
az deployment-scripts list |
List all deployment scripts. |
az deployment-scripts show |
Retrieve a deployment script. |
az deployment-scripts show-log |
Show deployment script logs. |
az deployment-scripts delete
Delete a deployment script.
az deployment-scripts delete --name
--resource-group
[--subscription]
[--yes]
Examples
Delete a deployment script found in the user's logged-in default subscription.
az deployment-scripts delete --resource-group contoso-rg --name contosoBashScript
Required Parameters
Deployment script resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az deployment-scripts list
List all deployment scripts.
az deployment-scripts list [--query-examples]
[--resource-group]
[--subscription]
Examples
Retrieve all deployment scripts found in the user's logged-in default subscription.
az deployment-scripts list
Retrieve all deployment scripts found in a resource group
az deployment-scripts list --resource-group contoso-rg
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
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
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az deployment-scripts show
Retrieve a deployment script.
az deployment-scripts show --name
--resource-group
[--query-examples]
[--subscription]
Examples
Retrieve a deployment script found in the user's logged-in default subscription.
az deployment-scripts show --resource-group contoso-rg --name contosoBashScript
Required Parameters
Deployment script resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az deployment-scripts show-log
Show deployment script logs.
az deployment-scripts show-log --name
--resource-group
[--subscription]
Examples
Retrieve deployment script logs found in the user's logged-in default subscription, max limit is 4MB.
az deployment-scripts show-log --resource-group contoso-rg --name contosoBashScript
Required Parameters
Deployment script resource name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.