Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::SubResource
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_10_01_preview::Models::SubResource
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-01-preview/generated/azure_mgmt_compute/models/sub_resource.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#id ⇒ String
Resource Id.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SubResource class as Ruby Hash.
Instance Attribute Details
#id ⇒ String
Returns Resource Id.
17 18 19 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/sub_resource.rb', line 17 def id @id end |
Class Method Details
.mapper ⇒ Object
Mapper for SubResource class as Ruby Hash. This will be used for serialization/deserialization.
24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/sub_resource.rb', line 24 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SubResource', type: { name: 'Composite', class_name: 'SubResource', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'id', type: { name: 'String' } } } } } end |