Sha256: 17794dda10a911cd60437d4f41221357a51af29713f88a46050f1d0b6ac3d476

Contents?: true

Size: 1.95 KB

Versions: 3

Compression:

Stored size: 1.95 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Compute::Mgmt::V2020_06_01
  module Models
    #
    # Capture Virtual Machine parameters.
    #
    class VirtualMachineCaptureParameters

      include MsRestAzure

      # @return [String] The captured virtual hard disk's name prefix.
      attr_accessor :vhd_prefix

      # @return [String] The destination container name.
      attr_accessor :destination_container_name

      # @return [Boolean] Specifies whether to overwrite the destination
      # virtual hard disk, in case of conflict.
      attr_accessor :overwrite_vhds


      #
      # Mapper for VirtualMachineCaptureParameters class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'VirtualMachineCaptureParameters',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineCaptureParameters',
            model_properties: {
              vhd_prefix: {
                client_side_validation: true,
                required: true,
                serialized_name: 'vhdPrefix',
                type: {
                  name: 'String'
                }
              },
              destination_container_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'destinationContainerName',
                type: {
                  name: 'String'
                }
              },
              overwrite_vhds: {
                client_side_validation: true,
                required: true,
                serialized_name: 'overwriteVhds',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.22.0 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb
azure_mgmt_compute-0.21.1 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb
azure_mgmt_compute-0.20.0 lib/2020-06-01/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb