az deployment-scripts
Manage deployment scripts at subscription or resource group scope.
Commands
Name | Description | Type | Status |
---|---|---|---|
az deployment-scripts delete |
Delete a deployment script. |
Core | GA |
az deployment-scripts list |
List all deployment scripts. |
Core | GA |
az deployment-scripts show |
Retrieve a deployment script. |
Core | GA |
az deployment-scripts show-log |
Show deployment script logs. |
Core | GA |
az deployment-scripts delete
Delete a deployment script.
az deployment-scripts delete --name
--resource-group
[--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
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 deployment-scripts list
List all deployment scripts.
az deployment-scripts list [--resource-group]
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
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 deployment-scripts show
Retrieve a deployment script.
az deployment-scripts show --name
--resource-group
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>
.
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 deployment-scripts show-log
Show deployment script logs.
az deployment-scripts show-log --name
--resource-group
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>
.
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.