class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::CustomImage
A custom image.
Attributes
creation_date[RW]
@return [DateTime] The creation date of 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.
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.
Public Class Methods
mapper()
click to toggle source
Mapper for CustomImage
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image.rb, line 46 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' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, unique_identifier: { client_side_validation: true, required: false, serialized_name: 'properties.uniqueIdentifier', type: { name: 'String' } } } } } end