Source code for azure.mgmt.compute.v2015_06_15.models.virtual_machine_capture_parameters_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 VirtualMachineCaptureParameters(Model): """Capture Virtual Machine parameters. All required parameters must be populated in order to send to Azure. :param vhd_prefix: Required. The captured virtual hard disk's name prefix. :type vhd_prefix: str :param destination_container_name: Required. The destination container name. :type destination_container_name: str :param overwrite_vhds: Required. Specifies whether to overwrite the destination virtual hard disk, in case of conflict. :type overwrite_vhds: bool """ _validation = { 'vhd_prefix': {'required': True}, 'destination_container_name': {'required': True}, 'overwrite_vhds': {'required': True}, } _attribute_map = { 'vhd_prefix': {'key': 'vhdPrefix', 'type': 'str'}, 'destination_container_name': {'key': 'destinationContainerName', 'type': 'str'}, 'overwrite_vhds': {'key': 'overwriteVhds', 'type': 'bool'}, } def __init__(self, *, vhd_prefix: str, destination_container_name: str, overwrite_vhds: bool, **kwargs) -> None: super(VirtualMachineCaptureParameters, self).__init__(**kwargs) self.vhd_prefix = vhd_prefix self.destination_container_name = destination_container_name self.overwrite_vhds = overwrite_vhds