Class: Azure::Compute::Mgmt::V2020_09_30::Models::DiskRestorePoint
- Inherits:
-
ProxyOnlyResource
- Object
- ProxyOnlyResource
- Azure::Compute::Mgmt::V2020_09_30::Models::DiskRestorePoint
- 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
-
#encryption ⇒ Encryption
rest with customer managed keys or platform managed keys.
-
#family_id ⇒ String
Id of the backing snapshot's MIS family.
-
#hyper_vgeneration ⇒ HyperVGeneration
Machine.
-
#os_type ⇒ OperatingSystemTypes
values include: 'Windows', 'Linux'.
-
#purchase_plan ⇒ PurchasePlan
which the OS disk was created.
-
#source_resource_id ⇒ String
Arm id of source disk.
-
#source_unique_id ⇒ String
Unique incarnation id of the source disk.
-
#time_created ⇒ DateTime
The timestamp of restorePoint creation.
Attributes inherited from ProxyOnlyResource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiskRestorePoint class as Ruby Hash.
Instance Attribute Details
#encryption ⇒ Encryption
rest with customer managed keys or platform managed keys.
42 43 44 |
# File 'lib/2020-09-30/generated/azure_mgmt_compute/models/disk_restore_point.rb', line 42 def encryption @encryption end |
#family_id ⇒ String
Returns 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_vgeneration ⇒ HyperVGeneration
Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'
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_type ⇒ OperatingSystemTypes
values include: 'Windows', 'Linux'
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_plan ⇒ PurchasePlan
which the OS disk was created.
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_id ⇒ String
Returns 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_id ⇒ String
Returns 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_created ⇒ DateTime
Returns 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
.mapper ⇒ Object
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 |