az managedapp definition

Manage Azure Managed Applications.

Commands

az managedapp definition create Create a managed application definition.
az managedapp definition delete Delete a managed application definition.
az managedapp definition list List managed application definitions.
az managedapp definition show Gets a managed application definition.

az managedapp definition create

Create a managed application definition.

az managedapp definition create --authorizations
--description
--display-name
--lock-level {CanNotDelete, None, ReadOnly}
--name
--resource-group
[--create-ui-definition]
[--location]
[--main-template]
[--package-file-uri]
[--tags]

Examples

Create a managed application defintion.

az managedapp definition create -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"

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

az managedapp definition create -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.json

Required Parameters

--authorizations -a
Space separated authorization pairs in a format of :.
--description
The managed application definition description.
--display-name
The managed application definition display name.
--lock-level
accepted values: CanNotDelete, None, ReadOnly
--name -n
The managed application definition name.
--resource-group -g
The resource group of the managed application definition.

Optional Parameters

--create-ui-definition
The managed application definition create ui definition.
--location -l
Location. You can configure the default location using `az configure --defaults location=<location>`.
--main-template
The managed application definition main template.
--package-file-uri
The managed application definition package file uri.
--tags
Tags in 'a=b c' format.

az managedapp definition delete

Delete a managed application definition.

az managedapp definition delete --name
--resource-group

Required Parameters

--name -n
The name of the managed application definition to delete.
--resource-group -g
The resource group of the managed application definition.

az managedapp definition list

List managed application definitions.

az managedapp definition list --resource-group

Required Parameters

--resource-group -g
The resource group of the managed application definition.

az managedapp definition show

Gets a managed application definition.

az managedapp definition show [--name]
[--resource-group]

Optional Parameters

--name -n
The managed application definition name.
--resource-group -g
The resource group of the managed application definition.