Class: Azure::Compute::Mgmt::V2020_09_30_preview::Models::Disallowed
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_09_30_preview::Models::Disallowed
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-09-30-preview/generated/azure_mgmt_compute/models/disallowed.rb
Overview
Describes the disallowed disk types.
Instance Attribute Summary collapse
-
#disk_types ⇒ Array<String>
A list of disk types.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Disallowed class as Ruby Hash.
Instance Attribute Details
#disk_types ⇒ Array<String>
Returns A list of disk types.
16 17 18 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/disallowed.rb', line 16 def disk_types @disk_types end |
Class Method Details
.mapper ⇒ Object
Mapper for Disallowed class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
# File 'lib/2020-09-30-preview/generated/azure_mgmt_compute/models/disallowed.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Disallowed', type: { name: 'Composite', class_name: 'Disallowed', model_properties: { disk_types: { client_side_validation: true, required: false, serialized_name: 'diskTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |