az deploymentmanager service-topology
Manage service topologies.
Commands
az deploymentmanager service-topology create |
Creates a service topology. |
az deploymentmanager service-topology delete |
Deletes the service topology. |
az deploymentmanager service-topology list |
List all service topologies in a resource group. |
az deploymentmanager service-topology show |
Get the details of a service topology. |
az deploymentmanager service-topology update |
Updates the service topology. |
az deploymentmanager service-topology create
Creates a service topology.
az deploymentmanager service-topology create --location
--name
--resource-group
[--artifact-source]
[--subscription]
[--tags]
Examples
Create a new service topology.
az deploymentmanager service-topology create -g rg1 -l topologyLocation -n contosoServiceTopology --artifact-source /subscriptions/mySub/resourcegroups/rg1/providers/Microsoft.DeploymentManager/artifactSources/contosoWebAppArtifactSource
Required Parameters
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
The name of the service topology.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
The name or resource identifier of the artifact source.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.
az deploymentmanager service-topology delete
Deletes the service topology.
az deploymentmanager service-topology delete --name
--resource-group
[--subscription]
Examples
Deletes a service topology.
az deploymentmanager service-topology delete -g rg1 -n contosoServiceTopology
Required Parameters
The name of the service topology.
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.
az deploymentmanager service-topology list
List all service topologies in a resource group.
az deploymentmanager service-topology list --resource-group
[--query-examples]
[--subscription]
Examples
List all the service topologies in the resource group.
az deploymentmanager service-topology list -g rg1
Required Parameters
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 deploymentmanager service-topology show
Get the details of a service topology.
az deploymentmanager service-topology show --name
--resource-group
[--query-examples]
[--subscription]
Examples
Get the service topology.
az deploymentmanager service-topology show -g rg1 -n contosoServiceTopology
Required Parameters
The name of the service topology.
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 deploymentmanager service-topology update
Updates the service topology.
az deploymentmanager service-topology update --name
--resource-group
[--add]
[--artifact-source]
[--force-string]
[--remove]
[--set]
[--subscription]
[--tags]
Examples
Updates the service topology.
az deploymentmanager service-topology update -g rg1 -n contosoServiceTopology --artifact-source /subscriptions/mySub/resourcegroups/rg1/providers/Microsoft.DeploymentManager/artifactSources/contosoWebAppArtifactSource
Required Parameters
The name of the service topology.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
Add an object to a list of objects by specifying a path and key value pairs. Example: --add property.listProperty <key=value, string or JSON string>.
The name or resource identifier of the artifact source.
When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
Remove a property or an element from a list. Example: --remove property.list OR --remove propertyToRemove.
Update an object by specifying a property path and value to set. Example: --set property1.property2=.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.
Increase logging verbosity. Use --debug for full debug logs.