class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImage

A custom image.

Attributes

author[RW]

@return [String] The author of the custom image.

creation_date[RW]

@return [DateTime] The creation date of the custom image.

custom_image_plan[RW]

@return [CustomImagePropertiesFromPlan] Storage information about the plan related to this custom image

data_disk_storage_info[RW]

@return [Array<DataDiskStorageTypeInfo>] Storage information about the data disks present in the custom image

description[RW]

@return [String] The description of the custom image.

is_plan_authorized[RW]

@return [Boolean] Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment

managed_image_id[RW]

@return [String] The Managed Image Id backing the custom image.

managed_snapshot_id[RW]

@return [String] The Managed Snapshot Id backing the custom image.

provisioning_state[RW]

@return [String] The provisioning status of the resource.

unique_identifier[RW]

@return [String] The unique immutable identifier of a resource (Guid).

vhd[RW]

@return [CustomImagePropertiesCustom] The VHD from which the image is to be created.

vm[RW]

@return [CustomImagePropertiesFromVm] The virtual machine from which the image is to be created.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb, line 61
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CustomImage',
    type: {
      name: 'Composite',
      class_name: 'CustomImage',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        vm: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vm',
          type: {
            name: 'Composite',
            class_name: 'CustomImagePropertiesFromVm'
          }
        },
        vhd: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.vhd',
          type: {
            name: 'Composite',
            class_name: 'CustomImagePropertiesCustom'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        author: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.author',
          type: {
            name: 'String'
          }
        },
        creation_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.creationDate',
          type: {
            name: 'DateTime'
          }
        },
        managed_image_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.managedImageId',
          type: {
            name: 'String'
          }
        },
        managed_snapshot_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.managedSnapshotId',
          type: {
            name: 'String'
          }
        },
        data_disk_storage_info: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataDiskStorageInfo',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DataDiskStorageTypeInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DataDiskStorageTypeInfo'
                }
            }
          }
        },
        custom_image_plan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customImagePlan',
          type: {
            name: 'Composite',
            class_name: 'CustomImagePropertiesFromPlan'
          }
        },
        is_plan_authorized: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isPlanAuthorized',
          type: {
            name: 'Boolean'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        unique_identifier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.uniqueIdentifier',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end