class Azure::Compute::Mgmt::V2019_03_01::Models::ImageUpdate

The source user image virtual hard disk. Only tags may be updated.

Attributes

hyper_vgeneration[RW]

@return [HyperVGenerationTypes] Gets the HyperVGenerationType of the VirtualMachine created from the image. Possible values include: 'V1', 'V2'

provisioning_state[RW]

@return [String] The provisioning state.

source_virtual_machine[RW]

@return [SubResource] The source virtual machine from which Image is created.

storage_profile[RW]

@return [ImageStorageProfile] Specifies the storage settings for the virtual machine disks.

Private Class Methods

mapper() click to toggle source

Mapper for ImageUpdate class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2019-03-01/generated/azure_mgmt_compute/models/image_update.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ImageUpdate',
    type: {
      name: 'Composite',
      class_name: 'ImageUpdate',
      model_properties: {
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        source_virtual_machine: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sourceVirtualMachine',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        storage_profile: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageProfile',
          type: {
            name: 'Composite',
            class_name: 'ImageStorageProfile'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        hyper_vgeneration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hyperVGeneration',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end