Source code for azure.mgmt.serialconsole.models.deployment_validate_result_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
from msrest.exceptions import HttpOperationError


[docs]class DeploymentValidateResult(Model): """Details on Failure. Details on Failure. :param error_message: Error message :type error_message: str """ _attribute_map = { 'error_message': {'key': 'errorMessage', 'type': 'str'}, } def __init__(self, *, error_message: str=None, **kwargs) -> None: super(DeploymentValidateResult, self).__init__(**kwargs) self.error_message = error_message
[docs]class DeploymentValidateResultException(HttpOperationError): """Server responsed with exception of type: 'DeploymentValidateResult'. :param deserialize: A deserializer :param response: Server response to be deserialized. """ def __init__(self, deserialize, response, *args): super(DeploymentValidateResultException, self).__init__(deserialize, response, 'DeploymentValidateResult', *args)