az deploymentmanager artifact-source
Manage artifact sources.
Artifact sources can be used for creating service topologies and rollouts.
Commands
az deploymentmanager artifact-source create |
Creates an artifact source. |
az deploymentmanager artifact-source delete |
Deletes an artifact source. |
az deploymentmanager artifact-source list |
List all artifact sources in a resource group. |
az deploymentmanager artifact-source show |
Get the details of an artifact source. |
az deploymentmanager artifact-source update |
Updates an artifact source. |
az deploymentmanager artifact-source create
Creates an artifact source.
az deploymentmanager artifact-source create --artifact-source-name
--location
--resource-group
--sas-uri
[--artifact-root]
[--subscription]
[--tags]
Examples
Create a new artifact source.
az deploymentmanager artifact-source create -g rg1 -n contosoServiceArtifactSource -l location --sas-uri https://myStorageAct.blob.azure.com/artifacts?st=2019-04-10T22%3A12Z&se=2019-04-11T09%3A12Z&sp=rl&sv=2018-03-28&sr=c&sig=f6Nx8en4sIJQryYFVVj%2B5BdU7bho96jAgOzLO40Twkg%3D
Required Parameters
The name of the artifact source.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The SAS Uri to the Azure Storage container where the artifacts are stored.
Optional Parameters
The root folder under which the artifacts are to be found. This is the path relative to the Azure storage container provided in --sas-uri.
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 artifact-source delete
Deletes an artifact source.
az deploymentmanager artifact-source delete --artifact-source-name
--resource-group
[--subscription]
[--yes]
Examples
Deletes an artifact source
az deploymentmanager artifact-source delete -g rg1 -n contosoServiceArtifactSource
Required Parameters
The name of the artifact source.
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 deploymentmanager artifact-source list
List all artifact sources in a resource group.
az deploymentmanager artifact-source list --resource-group
[--query-examples]
[--subscription]
Examples
List artifact sources in the given resource group.
az deploymentmanager artifact-source 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 artifact-source show
Get the details of an artifact source.
az deploymentmanager artifact-source show --artifact-source-name
--resource-group
[--query-examples]
[--subscription]
Examples
Get an artifact source
az deploymentmanager artifact-source show -g rg1 -n contosoServiceArtifactSource
Required Parameters
The name of the artifact source.
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 artifact-source update
Updates an artifact source.
az deploymentmanager artifact-source update --artifact-source-name
--resource-group
[--add]
[--artifact-root]
[--force-string]
[--remove]
[--sas-uri]
[--set]
[--subscription]
[--tags]
Examples
Updates an artifact source
az deploymentmanager artifact-source update -g rg1 -n contosoServiceArtifactSource --sas-uri https://dummy.blob.azure.com/updated_sample_sas_uri
Required Parameters
The name of the artifact source.
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 root folder under which the artifacts are to be found. This is the path relative to the Azure storage container provided in --sas-uri.
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.
The SAS Uri to the Azure Storage container where the artifacts are stored.
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.