Source code for azure.mgmt.resource.resources.v2018_02_01.models.deployment_properties_extended_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class DeploymentPropertiesExtended(Model): """Deployment properties with additional details. Variables are only populated by the server, and will be ignored when sending a request. :ivar provisioning_state: The state of the provisioning. :vartype provisioning_state: str :ivar correlation_id: The correlation ID of the deployment. :vartype correlation_id: str :ivar timestamp: The timestamp of the template deployment. :vartype timestamp: datetime :param outputs: Key/value pairs that represent deploymentoutput. :type outputs: object :param providers: The list of resource providers needed for the deployment. :type providers: list[~azure.mgmt.resource.resources.v2018_02_01.models.Provider] :param dependencies: The list of deployment dependencies. :type dependencies: list[~azure.mgmt.resource.resources.v2018_02_01.models.Dependency] :param template: The template content. Use only one of Template or TemplateLink. :type template: object :param template_link: The URI referencing the template. Use only one of Template or TemplateLink. :type template_link: ~azure.mgmt.resource.resources.v2018_02_01.models.TemplateLink :param parameters: Deployment parameters. Use only one of Parameters or ParametersLink. :type parameters: object :param parameters_link: The URI referencing the parameters. Use only one of Parameters or ParametersLink. :type parameters_link: ~azure.mgmt.resource.resources.v2018_02_01.models.ParametersLink :param mode: The deployment mode. Possible values are Incremental and Complete. Possible values include: 'Incremental', 'Complete' :type mode: str or ~azure.mgmt.resource.resources.v2018_02_01.models.DeploymentMode :param debug_setting: The debug setting of the deployment. :type debug_setting: ~azure.mgmt.resource.resources.v2018_02_01.models.DebugSetting :param on_error_deployment: The deployment on error behavior. :type on_error_deployment: ~azure.mgmt.resource.resources.v2018_02_01.models.OnErrorDeploymentExtended """ _validation = { 'provisioning_state': {'readonly': True}, 'correlation_id': {'readonly': True}, 'timestamp': {'readonly': True}, } _attribute_map = { 'provisioning_state': {'key': 'provisioningState', 'type': 'str'}, 'correlation_id': {'key': 'correlationId', 'type': 'str'}, 'timestamp': {'key': 'timestamp', 'type': 'iso-8601'}, 'outputs': {'key': 'outputs', 'type': 'object'}, 'providers': {'key': 'providers', 'type': '[Provider]'}, 'dependencies': {'key': 'dependencies', 'type': '[Dependency]'}, 'template': {'key': 'template', 'type': 'object'}, 'template_link': {'key': 'templateLink', 'type': 'TemplateLink'}, 'parameters': {'key': 'parameters', 'type': 'object'}, 'parameters_link': {'key': 'parametersLink', 'type': 'ParametersLink'}, 'mode': {'key': 'mode', 'type': 'DeploymentMode'}, 'debug_setting': {'key': 'debugSetting', 'type': 'DebugSetting'}, 'on_error_deployment': {'key': 'onErrorDeployment', 'type': 'OnErrorDeploymentExtended'}, } def __init__(self, *, outputs=None, providers=None, dependencies=None, template=None, template_link=None, parameters=None, parameters_link=None, mode=None, debug_setting=None, on_error_deployment=None, **kwargs) -> None: super(DeploymentPropertiesExtended, self).__init__(**kwargs) self.provisioning_state = None self.correlation_id = None self.timestamp = None self.outputs = outputs self.providers = providers self.dependencies = dependencies self.template = template self.template_link = template_link self.parameters = parameters self.parameters_link = parameters_link self.mode = mode self.debug_setting = debug_setting self.on_error_deployment = on_error_deployment