class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::CustomImageFragment
A custom image.
Attributes
custom_image_plan[RW]
@return [CustomImagePropertiesFromPlanFragment] Storage information about the plan related to this custom image
data_disk_storage_info[RW]
@return [Array<DataDiskStorageTypeInfoFragment>] Storage information about the data disks present in the custom image
description[RW]
@return [String] The description of the custom image.
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.
vhd[RW]
@return [CustomImagePropertiesCustomFragment] The VHD from which the image is to be created.
vm[RW]
@return [CustomImagePropertiesFromVmFragment] The virtual machine from which the image is to be created.
Private Class Methods
mapper()
click to toggle source
Mapper for CustomImageFragment
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/custom_image_fragment.rb, line 52 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CustomImageFragment', type: { name: 'Composite', class_name: 'CustomImageFragment', 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' } } } }, vm: { client_side_validation: true, required: false, serialized_name: 'properties.vm', type: { name: 'Composite', class_name: 'CustomImagePropertiesFromVmFragment' } }, vhd: { client_side_validation: true, required: false, serialized_name: 'properties.vhd', type: { name: 'Composite', class_name: 'CustomImagePropertiesCustomFragment' } }, 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' } }, 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: 'DataDiskStorageTypeInfoFragmentElementType', type: { name: 'Composite', class_name: 'DataDiskStorageTypeInfoFragment' } } } }, custom_image_plan: { client_side_validation: true, required: false, serialized_name: 'properties.customImagePlan', type: { name: 'Composite', class_name: 'CustomImagePropertiesFromPlanFragment' } }, is_plan_authorized: { client_side_validation: true, required: false, serialized_name: 'properties.isPlanAuthorized', type: { name: 'Boolean' } } } } } end