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

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.Appliance(managed_resource_group_id, kind, location=None, tags=None, managed_by=None, sku=None, identity=None, appliance_definition_id=None, parameters=None, ui_definition_uri=None, plan=None)[source]

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

Information about appliance.

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 appliance outputs.
  • provisioning_state (str or ProvisioningState) – The appliance 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.
  • appliance_definition_id (str) – The fully qualified path of appliance definition Id.
  • parameters (object) – Name and value pairs that define the appliance 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 appliance. 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 appliance.

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.AppliancePatchable(location=None, tags=None, managed_by=None, sku=None, identity=None, managed_resource_group_id=None, appliance_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 appliance.

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 appliance outputs.
  • provisioning_state (str or ProvisioningState) – The appliance 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.
  • appliance_definition_id (str) – The fully qualified path of appliance definition Id.
  • parameters (object) – Name and value pairs that define the appliance 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 appliance. Allowed values are MarketPlace and ServiceCatalog.
class azure.mgmt.resource.managedapplications.models.ApplianceProviderAuthorization(principal_id, role_definition_id)[source]

Bases: msrest.serialization.Model

The appliance 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 appliance 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 appliance’s container resource group. This role definition cannot have permission to delete the resource group.
class azure.mgmt.resource.managedapplications.models.ApplianceArtifact(name=None, uri=None, type=None)[source]

Bases: msrest.serialization.Model

Appliance artifact.

Parameters:
  • name (str) – The appliance artifact name.
  • uri (str) – The appliance artifact blob uri.
  • type (str or ApplianceArtifactType) – The the appliance artifact type. Possible values include: ‘Template’, ‘Custom’
class azure.mgmt.resource.managedapplications.models.ApplianceDefinition(lock_level, authorizations, package_file_uri, location=None, tags=None, managed_by=None, sku=None, identity=None, display_name=None, artifacts=None, description=None)[source]

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

Information about appliance 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 ApplianceLockLevel) – The appliance lock level. Possible values include: ‘CanNotDelete’, ‘ReadOnly’, ‘None’
  • display_name (str) – The appliance definition display name.
  • authorizations (list of ApplianceProviderAuthorization) – The appliance provider authorizations.
  • artifacts (list of ApplianceArtifact) – The collection of appliance artifacts. The portal will use the files specified as artifacts to construct the user experience of creating an appliance from an appliance definition.
  • description (str) – The appliance definition description.
  • package_file_uri (str) – The appliance definition package file Uri.
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 ARM appliance 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.AppliancePaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of Appliance object

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

Bases: msrest.paging.Paged

A paging container for iterating over a list of ApplianceDefinition 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.ApplianceLockLevel[source]

Bases: enum.Enum

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

Bases: enum.Enum

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

Bases: enum.Enum

system_assigned = 'SystemAssigned'