azure.mgmt.deploymentmanager.models module

class azure.mgmt.deploymentmanager.models.ApiKeyAuthentication(*, name: str, in_property, value: str, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.RestRequestAuthentication

ApiKey authentication gives a name and a value that can be included in either the request header or query parameters.

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

Parameters
  • type (str) – Required. Constant filled by server.

  • name (str) – Required. The key name of the authentication key/value pair.

  • in_property (str or RestAuthLocation) – Required. The location of the authentication key/value pair in the request. Possible values include: ‘Query’, ‘Header’

  • value (str) – Required. The value of the authentication key/value pair.

class azure.mgmt.deploymentmanager.models.ArtifactSource(*, location: str, source_type: str, authentication, tags=None, artifact_root: str = None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

The resource that defines the source location where the artifacts are located.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • source_type (str) – Required. The type of artifact source used.

  • artifact_root (str) – The path from the location that the ‘authentication’ property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

  • authentication (Authentication) – Required. The authentication method to use to access the artifact source.

class azure.mgmt.deploymentmanager.models.ArtifactSourcePropertiesModel(*, source_type: str, authentication, artifact_root: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The properties that define the source location where the artifacts are located.

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

Parameters
  • source_type (str) – Required. The type of artifact source used.

  • artifact_root (str) – The path from the location that the ‘authentication’ property [say, a SAS URI to the blob container] refers to, to the location of the artifacts. This can be used to differentiate different versions of the artifacts. Or, different types of artifacts like binaries or templates. The location referenced by the authentication property concatenated with this optional artifactRoot path forms the artifact source location where the artifacts are expected to be found.

  • authentication (Authentication) – Required. The authentication method to use to access the artifact source.

class azure.mgmt.deploymentmanager.models.Authentication(**kwargs)[source]

Bases: msrest.serialization.Model

Defines the authentication method and properties to access the artifacts.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: SasAuthentication

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

Parameters

type (str) – Required. Constant filled by server.

class azure.mgmt.deploymentmanager.models.AzureEntityResource(**kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.Resource

The resource model definition for a Azure Resource Manager resource with an etag.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

  • etag (str) – Resource Etag.

class azure.mgmt.deploymentmanager.models.CloudErrorBody(*, target: str = None, details=None, **kwargs)[source]

Bases: msrest.serialization.Model

Detailed error information of any failure.

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

Variables
  • code (str) – Error code string.

  • message (str) – Descriptive error information.

Parameters
class azure.mgmt.deploymentmanager.models.HealthCheckStepAttributes(*, healthy_state_duration: str, wait_duration: str = None, max_elastic_duration: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The attributes for the health check step.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: RestHealthCheckStepAttributes

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

Parameters
  • wait_duration (str) – The duration in ISO 8601 format for which health check waits idly without any checks.

  • max_elastic_duration (str) – The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn’t. Health check starts to enforce healthyStateDuration once resource becomes healthy.

  • healthy_state_duration (str) – Required. The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.

  • type (str) – Required. Constant filled by server.

class azure.mgmt.deploymentmanager.models.HealthCheckStepProperties(*, attributes, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.StepProperties

Defines the properties of a health check step.

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

Parameters
  • step_type (str) – Required. Constant filled by server.

  • attributes (HealthCheckStepAttributes) – Required. The health check step attributes

class azure.mgmt.deploymentmanager.models.Identity(*, type: str, identity_ids, **kwargs)[source]

Bases: msrest.serialization.Model

Identity for the resource.

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

Parameters
  • type (str) – Required. The identity type.

  • identity_ids (list[str]) – Required. The list of identities.

class azure.mgmt.deploymentmanager.models.Message(**kwargs)[source]

Bases: msrest.serialization.Model

Supplementary contextual messages during a rollout.

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

Variables
  • time_stamp (datetime) – Time in UTC this message was provided.

  • message (str) – The actual message text.

class azure.mgmt.deploymentmanager.models.Operation(*, name: str = None, display=None, origin: str = None, properties=None, **kwargs)[source]

Bases: msrest.serialization.Model

Represents an operation that can be performed on the service.

Parameters
  • name (str) – The name of the operation.

  • display (OperationDetail) – The display name of the operation.

  • origin (str) – The origin of the operation.

  • properties (object) – The properties of the operation.

class azure.mgmt.deploymentmanager.models.OperationDetail(*, provider: str = None, resource: str = None, operation: str = None, description: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The detail about an operation.

Parameters
  • provider (str) – The name of the provider that supports the operation.

  • resource (str) – The resource type on which this operation can be performed.

  • operation (str) – The name of the operation.

  • description (str) – The description of the operation.

class azure.mgmt.deploymentmanager.models.OperationsList(*, value=None, **kwargs)[source]

Bases: msrest.serialization.Model

The operations response.

Parameters

value (Operation) – The list of supported operations

class azure.mgmt.deploymentmanager.models.PrePostStep(*, step_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

The properties that define a step.

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

Parameters

step_id (str) – Required. The resource Id of the step to be run.

class azure.mgmt.deploymentmanager.models.ProxyResource(**kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.Resource

The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

class azure.mgmt.deploymentmanager.models.Resource(**kwargs)[source]

Bases: msrest.serialization.Model

Resource.

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

Variables
  • id (str) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

class azure.mgmt.deploymentmanager.models.ResourceOperation(*, resource_name: str = None, resource_type: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Individual resource operation information.

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

Parameters
  • resource_name (str) – Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.

  • resource_type (str) – Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.

Variables
  • operation_id (str) – Unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service.

  • provisioning_state (str) – State of the resource deployment. For ARM resources, this is the current provisioning state of the resource.

  • status_message (str) – Descriptive information of the resource operation.

  • status_code (str) – Http status code of the operation.

class azure.mgmt.deploymentmanager.models.RestHealthCheck(*, name: str, request, response=None, **kwargs)[source]

Bases: msrest.serialization.Model

A REST based health check.

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

Parameters
  • name (str) – Required. A unique name for this check.

  • request (RestRequest) – Required. The request to the health provider.

  • response (RestResponse) – The expected response from the health provider. If no expected response is provided, the default is to expect the received response to have an HTTP status code of 200 OK.

class azure.mgmt.deploymentmanager.models.RestHealthCheckStepAttributes(*, healthy_state_duration: str, health_checks, wait_duration: str = None, max_elastic_duration: str = None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.HealthCheckStepAttributes

Defines the REST health check step properties.

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

Parameters
  • wait_duration (str) – The duration in ISO 8601 format for which health check waits idly without any checks.

  • max_elastic_duration (str) – The duration in ISO 8601 format for which the health check waits for the resource to become healthy. Health check fails if it doesn’t. Health check starts to enforce healthyStateDuration once resource becomes healthy.

  • healthy_state_duration (str) – Required. The duration in ISO 8601 format for which the resource is expected to be continuously healthy. If maxElasticDuration is specified, healthy state duration is enforced after the detection of first healthy signal.

  • type (str) – Required. Constant filled by server.

  • health_checks (list[RestHealthCheck]) – Required. The list of checks that form the health check step.

class azure.mgmt.deploymentmanager.models.RestRequest(*, method, uri: str, authentication, **kwargs)[source]

Bases: msrest.serialization.Model

The properties that make up a REST request.

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

Parameters
  • method (str or RestRequestMethod) – Required. The HTTP method to use for the request. Possible values include: ‘GET’, ‘POST’

  • uri (str) – Required. The HTTP URI to use for the request.

  • authentication (RestRequestAuthentication) – Required. The authentication information required in the request to the health provider.

class azure.mgmt.deploymentmanager.models.RestRequestAuthentication(**kwargs)[source]

Bases: msrest.serialization.Model

The authentication information required in the REST health check request to the health provider.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: RolloutIdentityAuthentication, ApiKeyAuthentication

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

Parameters

type (str) – Required. Constant filled by server.

class azure.mgmt.deploymentmanager.models.RestResponse(*, success_status_codes=None, regex=None, **kwargs)[source]

Bases: msrest.serialization.Model

The properties that make up the expected REST response.

Parameters
  • success_status_codes (list[str]) – The HTTP status codes expected in a successful health check response. The response is expected to match one of the given status codes. If no expected status codes are provided, default expected status code is 200 OK.

  • regex (RestResponseRegex) – The regular expressions to match the response content with.

class azure.mgmt.deploymentmanager.models.RestResponseRegex(*, matches=None, match_quantifier=None, **kwargs)[source]

Bases: msrest.serialization.Model

The regular expressions to match the response content with.

Parameters
  • matches (list[str]) – The list of regular expressions.

  • match_quantifier (str or RestMatchQuantifier) – Indicates whether any or all of the expressions should match with the response content. Possible values include: ‘All’, ‘Any’

class azure.mgmt.deploymentmanager.models.Rollout(*, location: str, build_version: str, target_service_topology_id: str, step_groups, tags=None, identity=None, artifact_source_id: str = None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

Defines the rollout.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

  • status (str) – The current status of the rollout.

  • total_retry_attempts (int) – The cardinal count of total number of retries performed on the rollout at a given time.

  • operation_info (RolloutOperationInfo) – Operational information of the rollout.

  • services (list[Service]) – The detailed information on the services being deployed.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • identity (Identity) – Identity for the resource.

  • build_version (str) – Required. The version of the build being deployed.

  • artifact_source_id (str) – The reference to the artifact source resource Id where the payload is located.

  • target_service_topology_id (str) – Required. The resource Id of the service topology from which service units are being referenced in step groups to be deployed.

  • step_groups (list[StepGroup]) – Required. The list of step groups that define the orchestration.

class azure.mgmt.deploymentmanager.models.RolloutIdentityAuthentication(**kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.RestRequestAuthentication

RolloutIdentity uses the user-assigned managed identity authentication context specified in the Identity property during rollout creation.

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

Parameters

type (str) – Required. Constant filled by server.

class azure.mgmt.deploymentmanager.models.RolloutOperationInfo(**kwargs)[source]

Bases: msrest.serialization.Model

Detailed runtime information of the rollout.

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

Variables
  • retry_attempt (int) – The ordinal count of the number of retry attempts on a rollout. 0 if no retries of the rollout have been performed. If the rollout is updated with a PUT, this count is reset to 0.

  • skip_succeeded_on_retry (bool) – True, if all steps that succeeded on the previous run/attempt were chosen to be skipped in this retry attempt. False, otherwise.

  • start_time (datetime) – The start time of the rollout in UTC.

  • end_time (datetime) – The start time of the rollout in UTC. This property will not be set if the rollout has not completed yet.

  • error (CloudErrorBody) – The detailed error information for any failure.

class azure.mgmt.deploymentmanager.models.RolloutPropertiesModel(**kwargs)[source]

Bases: msrest.serialization.Model

Defines the properties of a rollout.

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

Variables
  • status (str) – The current status of the rollout.

  • total_retry_attempts (int) – The cardinal count of total number of retries performed on the rollout at a given time.

  • operation_info (RolloutOperationInfo) – Operational information of the rollout.

  • services (list[Service]) – The detailed information on the services being deployed.

class azure.mgmt.deploymentmanager.models.RolloutRequest(*, location: str, identity, build_version: str, target_service_topology_id: str, step_groups, tags=None, artifact_source_id: str = None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

Defines the PUT rollout request body.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • identity (Identity) – Required. Identity for the resource.

  • build_version (str) – Required. The version of the build being deployed.

  • artifact_source_id (str) – The reference to the artifact source resource Id where the payload is located.

  • target_service_topology_id (str) – Required. The resource Id of the service topology from which service units are being referenced in step groups to be deployed.

  • step_groups (list[StepGroup]) – Required. The list of step groups that define the orchestration.

class azure.mgmt.deploymentmanager.models.RolloutStep(*, name: str, step_group: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Defines a specific step on a target service unit.

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.

Parameters
  • name (str) – Required. Name of the step.

  • step_group (str) – The step group the current step is part of.

Variables
  • status (str) – Current state of the step.

  • operation_info (StepOperationInfo) – Detailed information of specific action execution.

  • resource_operations (list[ResourceOperation]) – Set of resource operations that were performed, if any, on an Azure resource.

  • messages (list[Message]) – Supplementary informative messages during rollout.

class azure.mgmt.deploymentmanager.models.SasAuthentication(*, sas_uri: str, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.Authentication

Defines the properties to access the artifacts using an Azure Storage SAS URI.

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

Parameters
  • type (str) – Required. Constant filled by server.

  • sas_uri (str) – Required. The SAS URI to the Azure Storage blob container. Any offset from the root of the container to where the artifacts are located can be defined in the artifactRoot.

class azure.mgmt.deploymentmanager.models.Service(*, target_location: str, target_subscription_id: str, name: str = None, service_units=None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.ServiceProperties

Defines a service.

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

Parameters
  • target_location (str) – Required. The Azure location to which the resources in the service belong to or should be deployed to.

  • target_subscription_id (str) – Required. The subscription to which the resources in the service belong to or should be deployed to.

  • name (str) – Name of the service.

  • service_units (list[ServiceUnit]) – The detailed information about the units that make up the service.

class azure.mgmt.deploymentmanager.models.ServiceProperties(*, target_location: str, target_subscription_id: str, **kwargs)[source]

Bases: msrest.serialization.Model

The properties of a service.

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

Parameters
  • target_location (str) – Required. The Azure location to which the resources in the service belong to or should be deployed to.

  • target_subscription_id (str) – Required. The subscription to which the resources in the service belong to or should be deployed to.

class azure.mgmt.deploymentmanager.models.ServiceResource(*, location: str, target_location: str, target_subscription_id: str, tags=None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

The resource representation of a service in a service topology.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • target_location (str) – Required. The Azure location to which the resources in the service belong to or should be deployed to.

  • target_subscription_id (str) – Required. The subscription to which the resources in the service belong to or should be deployed to.

class azure.mgmt.deploymentmanager.models.ServiceTopologyProperties(*, artifact_source_id: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

The properties of a service topology.

Parameters

artifact_source_id (str) – The resource Id of the artifact source that contains the artifacts that can be referenced in the service units.

class azure.mgmt.deploymentmanager.models.ServiceTopologyResource(*, location: str, tags=None, artifact_source_id: str = None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

The resource representation of a service topology.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • artifact_source_id (str) – The resource Id of the artifact source that contains the artifacts that can be referenced in the service units.

class azure.mgmt.deploymentmanager.models.ServiceUnit(*, target_resource_group: str, deployment_mode, artifacts=None, name: str = None, steps=None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.ServiceUnitProperties

Defines a service unit.

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

Parameters
  • target_resource_group (str) – Required. The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.

  • deployment_mode (str or DeploymentMode) – Required. Describes the type of ARM deployment to be performed on the resource. Possible values include: ‘Incremental’, ‘Complete’

  • artifacts (ServiceUnitArtifacts) – The artifacts for the service unit.

  • name (str) – Name of the service unit.

  • steps (list[RolloutStep]) – Detailed step information, if present.

class azure.mgmt.deploymentmanager.models.ServiceUnitArtifacts(*, template_uri: str = None, parameters_uri: str = None, template_artifact_source_relative_path: str = None, parameters_artifact_source_relative_path: str = None, **kwargs)[source]

Bases: msrest.serialization.Model

Defines the artifacts of a service unit.

Parameters
  • template_uri (str) – The full URI of the ARM template file with the SAS token.

  • parameters_uri (str) – The full URI of the ARM parameters file with the SAS token.

  • template_artifact_source_relative_path (str) – The path to the ARM template file relative to the artifact source.

  • parameters_artifact_source_relative_path (str) – The path to the ARM parameters file relative to the artifact source.

class azure.mgmt.deploymentmanager.models.ServiceUnitProperties(*, target_resource_group: str, deployment_mode, artifacts=None, **kwargs)[source]

Bases: msrest.serialization.Model

Defines the properties of a service unit.

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

Parameters
  • target_resource_group (str) – Required. The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.

  • deployment_mode (str or DeploymentMode) – Required. Describes the type of ARM deployment to be performed on the resource. Possible values include: ‘Incremental’, ‘Complete’

  • artifacts (ServiceUnitArtifacts) – The artifacts for the service unit.

class azure.mgmt.deploymentmanager.models.ServiceUnitResource(*, location: str, target_resource_group: str, deployment_mode, tags=None, artifacts=None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

Represents the response of a service unit resource.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • target_resource_group (str) – Required. The Azure Resource Group to which the resources in the service unit belong to or should be deployed to.

  • deployment_mode (str or DeploymentMode) – Required. Describes the type of ARM deployment to be performed on the resource. Possible values include: ‘Incremental’, ‘Complete’

  • artifacts (ServiceUnitArtifacts) – The artifacts for the service unit.

class azure.mgmt.deploymentmanager.models.StepGroup(*, name: str, deployment_target_id: str, depends_on_step_groups=None, pre_deployment_steps=None, post_deployment_steps=None, **kwargs)[source]

Bases: msrest.serialization.Model

The properties that define a Step group in a rollout.

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

Parameters
  • name (str) – Required. The name of the step group.

  • depends_on_step_groups (list[str]) – The list of step group names on which this step group depends on.

  • pre_deployment_steps (list[PrePostStep]) – The list of steps to be run before deploying the target.

  • deployment_target_id (str) – Required. The resource Id of service unit to be deployed. The service unit should be from the service topology referenced in targetServiceTopologyId

  • post_deployment_steps (list[PrePostStep]) – The list of steps to be run after deploying the target.

class azure.mgmt.deploymentmanager.models.StepOperationInfo(*, error=None, **kwargs)[source]

Bases: msrest.serialization.Model

Detailed information of a specific step run.

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

Variables
  • deployment_name (str) – The name of the ARM deployment initiated as part of the step.

  • correlation_id (str) – Unique identifier to track the request for ARM-based resources.

  • start_time (datetime) – Start time of the action in UTC.

  • end_time (datetime) – End time of the action in UTC.

  • last_updated_time (datetime) – Last time in UTC this operation was updated.

Parameters

error (CloudErrorBody) – The errors, if any, for the action.

class azure.mgmt.deploymentmanager.models.StepProperties(**kwargs)[source]

Bases: msrest.serialization.Model

The properties of a step resource.

You probably want to use the sub-classes and not this class directly. Known sub-classes are: HealthCheckStepProperties, WaitStepProperties

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

Parameters

step_type (str) – Required. Constant filled by server.

class azure.mgmt.deploymentmanager.models.StepResource(*, location: str, properties, tags=None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.TrackedResource

The resource representation of a rollout step.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

  • properties (StepProperties) – Required. The properties that define the step.

class azure.mgmt.deploymentmanager.models.TrackedResource(*, location: str, tags=None, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.Resource

The resource model definition for a ARM tracked top level resource.

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) – Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

  • name (str) – The name of the resource

  • type (str) – The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.

Parameters
  • tags (dict[str, str]) – Resource tags.

  • location (str) – Required. The geo-location where the resource lives

class azure.mgmt.deploymentmanager.models.WaitStepAttributes(*, duration: str, **kwargs)[source]

Bases: msrest.serialization.Model

The parameters for the wait step.

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

Parameters

duration (str) – Required. The duration in ISO 8601 format of how long the wait should be.

class azure.mgmt.deploymentmanager.models.WaitStepProperties(*, attributes, **kwargs)[source]

Bases: azure.mgmt.deploymentmanager.models._models_py3.StepProperties

Defines the properties of a Wait step.

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

Parameters
  • step_type (str) – Required. Constant filled by server.

  • attributes (WaitStepAttributes) – Required. The Wait attributes

class azure.mgmt.deploymentmanager.models.DeploymentMode[source]

Bases: str, enum.Enum

An enumeration.

complete = 'Complete'
incremental = 'Incremental'
class azure.mgmt.deploymentmanager.models.RestRequestMethod[source]

Bases: str, enum.Enum

An enumeration.

get = 'GET'
post = 'POST'
class azure.mgmt.deploymentmanager.models.RestMatchQuantifier[source]

Bases: str, enum.Enum

An enumeration.

all = 'All'
any = 'Any'
class azure.mgmt.deploymentmanager.models.RestAuthLocation[source]

Bases: str, enum.Enum

An enumeration.

header = 'Header'
query = 'Query'