azure.mgmt.resource.managedapplications.models module

class azure.mgmt.resource.managedapplications.models.Plan(name, publisher, product, version, promotion_code=None)[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.Application(managed_resource_group_id, kind, location=None, tags=None, managed_by=None, sku=None, identity=None, application_definition_id=None, parameters=None, ui_definition_uri=None, plan=None)[source]

Bases: azure.mgmt.resource.managedapplications.models.generic_resource.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) – 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.
  • 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.
  • ui_definition_uri (str) – The blob URI where the UI definition file is located.
  • plan (Plan) – The plan information.
  • kind (str) – The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
class azure.mgmt.resource.managedapplications.models.PlanPatchable(name=None, publisher=None, product=None, promotion_code=None, version=None)[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.ApplicationPatchable(location=None, tags=None, managed_by=None, sku=None, identity=None, managed_resource_group_id=None, application_definition_id=None, parameters=None, ui_definition_uri=None, plan=None, kind=None)[source]

Bases: azure.mgmt.resource.managedapplications.models.generic_resource.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) – 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.
  • 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.
  • ui_definition_uri (str) – The blob URI where the UI definition file is located.
  • plan (PlanPatchable) – The plan information.
  • kind (str) – The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
class azure.mgmt.resource.managedapplications.models.ApplicationProviderAuthorization(principal_id, role_definition_id)[source]

Bases: msrest.serialization.Model

The managed application provider authorization.

Parameters:
  • principal_id (str) – 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) – 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.ApplicationArtifact(name=None, uri=None, type=None)[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.ApplicationDefinition(lock_level, authorizations, location=None, tags=None, managed_by=None, sku=None, identity=None, display_name=None, is_enabled=None, artifacts=None, description=None, package_file_uri=None, main_template=None, create_ui_definition=None)[source]

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

Information about managed application definition.

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

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – 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) – 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 of ApplicationProviderAuthorization) – The managed application provider authorizations.
  • artifacts (list of 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.Sku(name, tier=None, size=None, family=None, model=None, capacity=None)[source]

Bases: msrest.serialization.Model

SKU for the resource.

Parameters:
  • name (str) – 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.
class azure.mgmt.resource.managedapplications.models.Identity(type=None)[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.
Parameters:

type (str or ResourceIdentityType) – The identity type. Possible values include: ‘SystemAssigned’

class azure.mgmt.resource.managedapplications.models.GenericResource(location=None, tags=None, managed_by=None, sku=None, identity=None)[source]

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

Resource information.

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

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – 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.Resource(location=None, tags=None)[source]

Bases: msrest.serialization.Model

Resource information.

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

Variables:
Parameters:
  • location (str) – Resource location
  • tags (dict) – Resource tags
class azure.mgmt.resource.managedapplications.models.ErrorResponse(http_status=None, error_code=None, error_message=None)[source]

Bases: msrest.serialization.Model

Error reponse 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.
exception azure.mgmt.resource.managedapplications.models.ErrorResponseException(deserialize, response, *args)[source]

Bases: msrest.exceptions.HttpOperationError

Server responsed with exception of type: ‘ErrorResponse’.

Parameters:
  • deserialize – A deserializer
  • response – Server response to be deserialized.
class azure.mgmt.resource.managedapplications.models.ApplicationPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Application object

class azure.mgmt.resource.managedapplications.models.ApplicationDefinitionPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ApplicationDefinition object

class azure.mgmt.resource.managedapplications.models.ProvisioningState[source]

Bases: enum.Enum

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.ApplicationLockLevel[source]

Bases: enum.Enum

can_not_delete = 'CanNotDelete'
none = 'None'
read_only = 'ReadOnly'
class azure.mgmt.resource.managedapplications.models.ApplicationArtifactType[source]

Bases: enum.Enum

custom = 'Custom'
template = 'Template'
class azure.mgmt.resource.managedapplications.models.ResourceIdentityType[source]

Bases: enum.Enum

system_assigned = 'SystemAssigned'