CmdID

CmdID / az / az managedapp / az managedapp definition

az managedapp definition update

Update a managed application definition. Azure CLI reference

2 examples 4 options Its page in the Azure CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Update a managed application defintion.

az managedapp definition update -g MyResourceGroup -n MyManagedAppDef -l eastus --display-name "MyManagedAppDef" --description "My Managed App Def description" -a "myPrincipalId:myRoleId" --lock-level None --package-file-uri "https://path/to/myPackage.zip"Identify
-gthe resource group of the managed application definition
-lLocation.
-aspace-separated authorization pairs in a format of <principalId>:<roleDefinitionId>
--lock-levelThe type of lock restriction.

Update a managed application defintion with inline values for createUiDefinition and mainTemplate.

az managedapp definition update -g MyResourceGroup -n MyManagedAppDef -l eastus --display-name "MyManagedAppDef" --description "My Managed App Def description" -a "myPrincipalId:myRoleId" --lock-level None --create-ui-definition @myCreateUiDef.json --main-template @myMainTemplate.jsonIdentify
-gthe resource group of the managed application definition
-lLocation.
-aspace-separated authorization pairs in a format of <principalId>:<roleDefinitionId>
--lock-levelThe type of lock restriction.
--create-ui-definitionJSON formatted string or a path to a file with such content
--main-templateJSON formatted string or a path to a file with such content

Options

4 in the Azure CLI reference
--authorizations, -aspace-separated authorization pairs in a format of <principalId>:<roleDefinitionId>
--create-ui-definition, --main-template, -c, -tJSON formatted string or a path to a file with such content
--deployment-modeThe managed application deployment mode.
--lock-levelThe type of lock restriction.