class Azure::Compute::Mgmt::V2020_09_30::Models::DiskRestorePoint

Properties of disk restore point

Attributes

encryption[RW]

@return [Encryption] Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

family_id[RW]

@return [String] id of the backing snapshot's MIS family

hyper_vgeneration[RW]

@return [HyperVGeneration] The hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

os_type[RW]

@return [OperatingSystemTypes] The Operating System type. Possible values include: 'Windows', 'Linux'

purchase_plan[RW]

@return [PurchasePlan] Purchase plan information for the the image from which the OS disk was created.

source_resource_id[RW]

@return [String] arm id of source disk

source_unique_id[RW]

@return [String] unique incarnation id of the source disk

time_created[RW]

@return [DateTime] The timestamp of restorePoint creation

Private Class Methods

mapper() click to toggle source

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

# File lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb, line 49
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DiskRestorePoint',
    type: {
      name: 'Composite',
      class_name: 'DiskRestorePoint',
      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'
          }
        },
        time_created: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.timeCreated',
          type: {
            name: 'DateTime'
          }
        },
        source_resource_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sourceResourceId',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.osType',
          type: {
            name: 'Enum',
            module: 'OperatingSystemTypes'
          }
        },
        hyper_vgeneration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hyperVGeneration',
          type: {
            name: 'String'
          }
        },
        purchase_plan: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.purchasePlan',
          type: {
            name: 'Composite',
            class_name: 'PurchasePlan'
          }
        },
        family_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.familyId',
          type: {
            name: 'String'
          }
        },
        source_unique_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.sourceUniqueId',
          type: {
            name: 'String'
          }
        },
        encryption: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.encryption',
          type: {
            name: 'Composite',
            class_name: 'Encryption'
          }
        }
      }
    }
  }
end