Source code for azure.mgmt.labservices.models.publish_payload_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 PublishPayload(Model): """Payload for Publish operation on EnvironmentSetting. :param use_existing_image: Whether to use existing VM custom image when publishing. :type use_existing_image: bool """ _attribute_map = { 'use_existing_image': {'key': 'useExistingImage', 'type': 'bool'}, } def __init__(self, *, use_existing_image: bool=None, **kwargs) -> None: super(PublishPayload, self).__init__(**kwargs) self.use_existing_image = use_existing_image