Sha256: 710808762834c8a9105546881303c481d71f2ea69c897077c6ecd00177de53c8

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

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

module Azure::ARM::Compute
  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()
        {
          required: false,
          serialized_name: 'VirtualMachineCaptureParameters',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineCaptureParameters',
            model_properties: {
              vhd_prefix: {
                required: true,
                serialized_name: 'vhdPrefix',
                type: {
                  name: 'String'
                }
              },
              destination_container_name: {
                required: true,
                serialized_name: 'destinationContainerName',
                type: {
                  name: 'String'
                }
              },
              overwrite_vhds: {
                required: true,
                serialized_name: 'overwriteVhds',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_compute-0.10.0 lib/generated/azure_mgmt_compute/models/virtual_machine_capture_parameters.rb