azure.mgmt.resource.managedapplications.models module¶
-
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.
Application
(*, managed_resource_group_id: str, kind: str, location: str = None, tags=None, managed_by: str = None, sku=None, identity=None, application_definition_id: str = None, parameters=None, plan=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
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
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) – 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.
plan (Plan) – The plan information.
kind (str) – Required. The kind of the managed application. Allowed values are MarketPlace and ServiceCatalog.
-
class
azure.mgmt.resource.managedapplications.models.
ApplicationArtifact
(*, name: str = None, uri: str = None, type=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]¶ -
An enumeration.
-
custom
= 'Custom'¶
-
template
= 'Template'¶
-
-
class
azure.mgmt.resource.managedapplications.models.
ApplicationDefinition
(*, lock_level, authorizations, location: str = None, tags=None, managed_by: str = None, sku=None, identity=None, display_name: str = None, is_enabled: str = None, artifacts=None, description: str = None, package_file_uri: str = None, main_template=None, create_ui_definition=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
- Parameters
location (str) – Resource location
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.
ApplicationDefinitionPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
ApplicationDefinition
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.resource.managedapplications.models.
ApplicationLockLevel
(value)[source]¶ -
An enumeration.
-
can_not_delete
= 'CanNotDelete'¶
-
none
= 'None'¶
-
read_only
= 'ReadOnly'¶
-
-
class
azure.mgmt.resource.managedapplications.models.
ApplicationPaged
(*args, **kwargs)[source]¶ Bases:
msrest.paging.Paged
A paging container for iterating over a list of
Application
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.
-
class
azure.mgmt.resource.managedapplications.models.
ApplicationPatchable
(*, location: str = None, tags=None, managed_by: str = None, sku=None, identity=None, managed_resource_group_id: str = None, application_definition_id: str = None, parameters=None, plan=None, kind: str = 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
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
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.
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: 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: str = None, error_code: str = None, error_message: 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.
-
class
azure.mgmt.resource.managedapplications.models.
GenericResource
(*, location: str = None, tags=None, managed_by: str = None, sku=None, 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
- Parameters
-
class
azure.mgmt.resource.managedapplications.models.
Identity
(*, type=None, **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
- Parameters
type (str or ResourceIdentityType) – The identity type. Possible values include: ‘SystemAssigned’
-
class
azure.mgmt.resource.managedapplications.models.
Plan
(*, name: str, publisher: str, product: str, version: str, promotion_code: 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.
-
class
azure.mgmt.resource.managedapplications.models.
PlanPatchable
(*, name: str = None, publisher: str = None, product: str = None, promotion_code: str = None, version: str = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Plan for the managed application.
-
class
azure.mgmt.resource.managedapplications.models.
ProvisioningState
(value)[source]¶ -
An enumeration.
-
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: str = None, tags=None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Resource information.
Variables are only populated by the server, and will be ignored when sending a request.
-
class
azure.mgmt.resource.managedapplications.models.
ResourceIdentityType
(value)[source]¶ -
An enumeration.
-
system_assigned
= 'SystemAssigned'¶
-
-
class
azure.mgmt.resource.managedapplications.models.
Sku
(*, name: str, tier: str = None, size: str = None, family: str = None, model: str = None, capacity: int = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
SKU for the resource.
All required parameters must be populated in order to send to Azure.