Class: Azure::Compute::Mgmt::V2019_07_01::Models::DiskInstanceView
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2019_07_01::Models::DiskInstanceView
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb
Overview
The instance view of the disk.
Instance Attribute Summary collapse
-
#encryption_settings ⇒ Array<DiskEncryptionSettings>
settings for the OS Disk.
-
#name ⇒ String
The disk name.
-
#statuses ⇒ Array<InstanceViewStatus>
The resource status information.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for DiskInstanceView class as Ruby Hash.
Instance Attribute Details
#encryption_settings ⇒ Array<DiskEncryptionSettings>
settings for the OS Disk.
Minimum api-version: 2015-06-15
20 21 22 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb', line 20 def encryption_settings @encryption_settings end |
#name ⇒ String
Returns The disk name.
16 17 18 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb', line 16 def name @name end |
#statuses ⇒ Array<InstanceViewStatus>
Returns The resource status information.
23 24 25 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb', line 23 def statuses @statuses end |
Class Method Details
.mapper ⇒ Object
Mapper for DiskInstanceView class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 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 |
# File 'lib/2019-07-01/generated/azure_mgmt_compute/models/disk_instance_view.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'DiskInstanceView', type: { name: 'Composite', class_name: 'DiskInstanceView', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, encryption_settings: { client_side_validation: true, required: false, serialized_name: 'encryptionSettings', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DiskEncryptionSettingsElementType', type: { name: 'Composite', class_name: 'DiskEncryptionSettings' } } } }, statuses: { client_side_validation: true, required: false, serialized_name: 'statuses', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'InstanceViewStatusElementType', type: { name: 'Composite', class_name: 'InstanceViewStatus' } } } } } } } end |