azure.mgmt.resource.managedapplications.models module

class azure.mgmt.resource.managedapplications.models.Application(*, kind: str, managed_resource_group_id: str, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, managed_by: Optional[str] = None, sku: Optional[Sku] = None, identity: Optional[Identity] = None, plan: Optional[Plan] = None, application_definition_id: Optional[str] = None, parameters: object = None, **kwargs)[source]

Bases: azure.mgmt.resource.managedapplications.models._models_py3.GenericResource

Information about managed application.

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 Azure.

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • outputs (object) – Name and value pairs that define the managed application outputs.

  • provisioning_state (str or ProvisioningState) – The managed application provisioning state. Possible values include: “Accepted”, “Running”, “Ready”, “Creating”, “Created”, “Deleting”, “Deleted”, “Canceled”, “Failed”, “Succeeded”, “Updating”.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • managed_by (str) – ID of the resource that manages this resource.

  • sku (Sku) – The SKU of the resource.

  • identity (Identity) – The identity of the resource.

  • plan (Plan) – The plan information.

  • kind (str) – Required. The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.

  • managed_resource_group_id (str) – Required. The managed resource group Id.

  • application_definition_id (str) – The fully qualified path of managed application definition Id.

  • parameters (object) – Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.

class azure.mgmt.resource.managedapplications.models.ApplicationArtifact(*, name: Optional[str] = None, uri: Optional[str] = None, type: Optional[Union[str, ApplicationArtifactType]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Managed application artifact.

Parameters
  • name (str) – The managed application artifact name.

  • uri (str) – The managed application artifact blob uri.

  • type (str or ApplicationArtifactType) – The managed application artifact type. Possible values include: “Template”, “Custom”.

class azure.mgmt.resource.managedapplications.models.ApplicationArtifactType(value)[source]

Bases: str, enum.Enum

The managed application artifact type.

custom = 'Custom'
template = 'Template'
class azure.mgmt.resource.managedapplications.models.ApplicationDefinition(*, lock_level: Union[str, ApplicationLockLevel], authorizations: List[ApplicationProviderAuthorization], location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, managed_by: Optional[str] = None, sku: Optional[Sku] = None, identity: Optional[Identity] = None, display_name: Optional[str] = None, is_enabled: Optional[str] = None, artifacts: Optional[List[ApplicationArtifact]] = None, description: Optional[str] = None, package_file_uri: Optional[str] = None, main_template: object = None, create_ui_definition: object = None, **kwargs)[source]

Bases: azure.mgmt.resource.managedapplications.models._models_py3.GenericResource

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 Azure.

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • managed_by (str) – ID of the resource that manages this resource.

  • sku (Sku) – The SKU of the resource.

  • identity (Identity) – The identity of the resource.

  • lock_level (str or ApplicationLockLevel) – Required. The managed application lock level. Possible values include: “CanNotDelete”, “ReadOnly”, “None”.

  • display_name (str) – The managed application definition display name.

  • is_enabled (str) – A value indicating whether the package is enabled or not.

  • authorizations (list[ApplicationProviderAuthorization]) – Required. The managed application provider authorizations.

  • artifacts (list[ApplicationArtifact]) – 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 (object) – The inline main template json which has resources to be provisioned. It can be a JObject or well-formed JSON string.

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

class azure.mgmt.resource.managedapplications.models.ApplicationDefinitionListResult(*, value: Optional[List[ApplicationDefinition]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of managed application definitions.

Parameters
  • value (list[ApplicationDefinition]) – The array of managed application definitions.

  • next_link (str) – The URL to use for getting the next set of results.

class azure.mgmt.resource.managedapplications.models.ApplicationListResult(*, value: Optional[List[Application]] = None, next_link: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

List of managed applications.

Parameters
  • value (list[Application]) – The array of managed applications.

  • next_link (str) – The URL to use for getting the next set of results.

class azure.mgmt.resource.managedapplications.models.ApplicationLockLevel(value)[source]

Bases: str, enum.Enum

The managed application lock level.

can_not_delete = 'CanNotDelete'
none = 'None'
read_only = 'ReadOnly'
class azure.mgmt.resource.managedapplications.models.ApplicationPatchable(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, managed_by: Optional[str] = None, sku: Optional[Sku] = None, identity: Optional[Identity] = None, plan: Optional[PlanPatchable] = None, kind: Optional[str] = None, managed_resource_group_id: Optional[str] = None, application_definition_id: Optional[str] = None, parameters: object = None, **kwargs)[source]

Bases: azure.mgmt.resource.managedapplications.models._models_py3.GenericResource

Information about managed application.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

  • outputs (object) – Name and value pairs that define the managed application outputs.

  • provisioning_state (str or ProvisioningState) – The managed application provisioning state. Possible values include: “Accepted”, “Running”, “Ready”, “Creating”, “Created”, “Deleting”, “Deleted”, “Canceled”, “Failed”, “Succeeded”, “Updating”.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • managed_by (str) – ID of the resource that manages this resource.

  • sku (Sku) – The SKU of the resource.

  • identity (Identity) – The identity of the resource.

  • plan (PlanPatchable) – The plan information.

  • kind (str) – The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.

  • managed_resource_group_id (str) – The managed resource group Id.

  • application_definition_id (str) – The fully qualified path of managed application definition Id.

  • parameters (object) – Name and value pairs that define the managed application parameters. It can be a JObject or a well formed JSON string.

class azure.mgmt.resource.managedapplications.models.ApplicationProviderAuthorization(*, principal_id: str, role_definition_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

The managed application provider authorization.

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

Parameters
  • principal_id (str) – Required. The provider’s principal identifier. This is the identity that the provider will use to call ARM to manage the managed application resources.

  • role_definition_id (str) – Required. The provider’s role definition identifier. This role will define all the permissions that the provider must have on the managed application’s container resource group. This role definition cannot have permission to delete the resource group.

class azure.mgmt.resource.managedapplications.models.ErrorResponse(*, http_status: Optional[str] = None, error_code: Optional[str] = None, error_message: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Error response indicates managed application is not able to process the incoming request. The reason is provided in the error message.

Parameters
  • http_status (str) – Http status code.

  • error_code (str) – Error code.

  • error_message (str) – Error message indicating why the operation failed.

class azure.mgmt.resource.managedapplications.models.GenericResource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, managed_by: Optional[str] = None, sku: Optional[Sku] = None, identity: Optional[Identity] = None, **kwargs)[source]

Bases: azure.mgmt.resource.managedapplications.models._models_py3.Resource

Resource information.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

  • managed_by (str) – ID of the resource that manages this resource.

  • sku (Sku) – The SKU of the resource.

  • identity (Identity) – The identity of the resource.

class azure.mgmt.resource.managedapplications.models.Identity(**kwargs)[source]

Bases: msrest.serialization.Model

Identity for the resource.

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

Variables
  • principal_id (str) – The principal ID of resource identity.

  • tenant_id (str) – The tenant ID of resource.

  • type (str) – The identity type. Default value: “SystemAssigned”.

type = 'SystemAssigned'
class azure.mgmt.resource.managedapplications.models.Plan(*, name: str, publisher: str, product: str, version: str, promotion_code: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Plan for the managed application.

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

Parameters
  • name (str) – Required. The plan name.

  • publisher (str) – Required. The publisher ID.

  • product (str) – Required. The product code.

  • promotion_code (str) – The promotion code.

  • version (str) – Required. The plan’s version.

class azure.mgmt.resource.managedapplications.models.PlanPatchable(*, name: Optional[str] = None, publisher: Optional[str] = None, product: Optional[str] = None, promotion_code: Optional[str] = None, version: Optional[str] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Plan for the managed application.

Parameters
  • name (str) – The plan name.

  • publisher (str) – The publisher ID.

  • product (str) – The product code.

  • promotion_code (str) – The promotion code.

  • version (str) – The plan’s version.

class azure.mgmt.resource.managedapplications.models.ProvisioningState(value)[source]

Bases: str, enum.Enum

Provisioning status of the managed application.

accepted = 'Accepted'
canceled = 'Canceled'
created = 'Created'
creating = 'Creating'
deleted = 'Deleted'
deleting = 'Deleting'
failed = 'Failed'
ready = 'Ready'
running = 'Running'
succeeded = 'Succeeded'
updating = 'Updating'
class azure.mgmt.resource.managedapplications.models.Resource(*, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, **kwargs)[source]

Bases: msrest.serialization.Model

Resource information.

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

Variables
  • id (str) – Resource ID.

  • name (str) – Resource name.

  • type (str) – Resource type.

Parameters
  • location (str) – Resource location.

  • tags (dict[str, str]) – A set of tags. Resource tags.

class azure.mgmt.resource.managedapplications.models.Sku(*, name: str, tier: Optional[str] = None, size: Optional[str] = None, family: Optional[str] = None, model: Optional[str] = None, capacity: Optional[int] = None, **kwargs)[source]

Bases: msrest.serialization.Model

SKU for the resource.

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

Parameters
  • name (str) – Required. The SKU name.

  • tier (str) – The SKU tier.

  • size (str) – The SKU size.

  • family (str) – The SKU family.

  • model (str) – The SKU model.

  • capacity (int) – The SKU capacity.