ApplicationDefinition Class

Information about managed application definition.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Inheritance
azure.mgmt.resource.managedapplications.v2019_07_01.models._models_py3.GenericResource
ApplicationDefinition

Constructor

ApplicationDefinition(*, lock_level: str | _models.ApplicationLockLevel, location: str | None = None, tags: Dict[str, str] | None = None, managed_by: str | None = None, sku: _models.Sku | None = None, display_name: str | None = None, is_enabled: bool | None = None, authorizations: List[_models.ApplicationAuthorization] | None = None, artifacts: List[_models.ApplicationDefinitionArtifact] | None = None, description: str | None = None, package_file_uri: str | None = None, main_template: MutableMapping[str, Any] | None = None, create_ui_definition: MutableMapping[str, Any] | None = None, notification_policy: _models.ApplicationNotificationPolicy | None = None, locking_policy: _models.ApplicationPackageLockingPolicyDefinition | None = None, deployment_policy: _models.ApplicationDeploymentPolicy | None = None, management_policy: _models.ApplicationManagementPolicy | None = None, policies: List[_models.ApplicationPolicy] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

Resource location.

tags

Resource tags.

managed_by
str

ID of the resource that manages this resource.

sku
Sku

The SKU of the resource.

lock_level

The managed application lock level. Required. Known values are: "CanNotDelete", "ReadOnly", and "None".

display_name
str

The managed application definition display name.

is_enabled

A value indicating whether the package is enabled or not.

authorizations

The managed application provider authorizations.

artifacts

The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.

description
str

The managed application definition description.

package_file_uri
str

The managed application definition package file Uri. Use this element.

main_template
<xref:JSON>

The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.

create_ui_definition
<xref:JSON>

The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.

notification_policy

The managed application notification policy.

locking_policy

The managed application locking policy.

deployment_policy

The managed application deployment policy.

management_policy

The managed application management policy that determines publisher's access to the managed resource group.

policies

The managed application provider policies.

Variables

Name Description
id
str

Resource ID.

name
str

Resource name.

type
str

Resource type.

location
str

Resource location.

tags

Resource tags.

managed_by
str

ID of the resource that manages this resource.

sku
Sku

The SKU of the resource.

lock_level

The managed application lock level. Required. Known values are: "CanNotDelete", "ReadOnly", and "None".

display_name
str

The managed application definition display name.

is_enabled

A value indicating whether the package is enabled or not.

authorizations

The managed application provider authorizations.

artifacts

The collection of managed application artifacts. The portal will use the files specified as artifacts to construct the user experience of creating a managed application from a managed application definition.

description
str

The managed application definition description.

package_file_uri
str

The managed application definition package file Uri. Use this element.

main_template
<xref:JSON>

The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.

create_ui_definition
<xref:JSON>

The createUiDefinition json for the backing template with Microsoft.Solutions/applications resource. It can be a JObject or well-formed JSON string.

notification_policy

The managed application notification policy.

locking_policy

The managed application locking policy.

deployment_policy

The managed application deployment policy.

management_policy

The managed application management policy that determines publisher's access to the managed resource group.

policies

The managed application provider policies.