CmdID / az / az aosm / az aosm publisher / az aosm publisher artifact-store / az aosm publisher artifact-store artifact / az aosm publisher artifact-store artifact version
az aosm publisher artifact-store artifact version update-state
Update artifact state defined in artifact store. Azure CLI extensions reference
1 example 5 options Its page in the Azure CLI extensions reference
Examples
Deprecate the 1.0.0 version of the 'nginx' artifact in the 'contoso' artifact store of the 'contoso' publisher
az aosm publisher artifact-store artifact version update-state --resource-group contoso-aosm --publisher-name contoso --artifact-store-name contoso --artifact-name nginx --name 1.0.0 --artifact-state DeprecatedIdentify--resource-groupName of resource group.--publisher-nameThe name of the publisher.--artifact-store-nameThe name of the artifact store.--artifact-nameThe name of the artifact.--nameThe name of the artifact version.--artifact-stateThe artifact stateOptions
--artifact-nameThe name of the artifact.--artifact-stateThe artifact state--artifact-store-nameThe name of the artifact store.--name, -nThe name of the artifact version.--publisher-nameThe name of the publisher.