Class: Azure::Compute::Mgmt::V2017_03_30::Models::ResourceUpdate
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2017_03_30::Models::ResourceUpdate
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb
Overview
The Resource model definition.
Direct Known Subclasses
Instance Attribute Summary collapse
- #sku ⇒ DiskSku
-
#tags ⇒ Hash{String => String}
Resource tags.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ResourceUpdate class as Ruby Hash.
Instance Attribute Details
#sku ⇒ DiskSku
19 20 21 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb', line 19 def sku @sku end |
#tags ⇒ Hash{String => String}
Returns Resource tags.
16 17 18 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb', line 16 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for ResourceUpdate class as Ruby Hash. This will be used for serialization/deserialization.
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 52 53 54 55 56 57 58 59 60 61 62 63 |
# File 'lib/2017-03-30/generated/azure_mgmt_compute/models/resource_update.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceUpdate', type: { name: 'Composite', class_name: 'ResourceUpdate', model_properties: { tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'DiskSku' } } } } } end |