Class: Azure::Compute::Mgmt::V2020_09_30::Models::DiskRestorePoint

Inherits:
ProxyOnlyResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb

Overview

Properties of disk restore point

Instance Attribute Summary collapse

Attributes inherited from ProxyOnlyResource

#id, #name, #type

Class Method Summary collapse

Instance Attribute Details

#encryptionEncryption

rest with customer managed keys or platform managed keys.

Returns:

  • (Encryption)

    Encryption property can be used to encrypt data at



42
43
44
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 42

def encryption
  @encryption
end

#family_idString

Returns id of the backing snapshot's MIS family.

Returns:

  • (String)

    id of the backing snapshot's MIS family



35
36
37
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 35

def family_id
  @family_id
end

#hyper_vgenerationHyperVGeneration

Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'

Returns:



28
29
30
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 28

def hyper_vgeneration
  @hyper_vgeneration
end

#os_typeOperatingSystemTypes

values include: 'Windows', 'Linux'

Returns:



23
24
25
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 23

def os_type
  @os_type
end

#purchase_planPurchasePlan

which the OS disk was created.

Returns:

  • (PurchasePlan)

    Purchase plan information for the the image from



32
33
34
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 32

def purchase_plan
  @purchase_plan
end

#source_resource_idString

Returns arm id of source disk.

Returns:

  • (String)

    arm id of source disk



19
20
21
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 19

def source_resource_id
  @source_resource_id
end

#source_unique_idString

Returns unique incarnation id of the source disk.

Returns:

  • (String)

    unique incarnation id of the source disk



38
39
40
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 38

def source_unique_id
  @source_unique_id
end

#time_createdDateTime

Returns The timestamp of restorePoint creation.

Returns:

  • (DateTime)

    The timestamp of restorePoint creation



16
17
18
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 16

def time_created
  @time_created
end

Class Method Details

.mapperObject

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



49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# 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