Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::Extension
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_10_01_preview::Models::Extension
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-10-01-preview/generated/azure_mgmt_compute/models/extension.rb
Overview
Describes a cloud service Extension.
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the extension.
- #properties ⇒ CloudServiceExtensionProperties
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Extension class as Ruby Hash.
Instance Attribute Details
#name ⇒ String
Returns The name of the extension.
16 17 18 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/extension.rb', line 16 def name @name end |
#properties ⇒ CloudServiceExtensionProperties
19 20 21 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/extension.rb', line 19 def properties @properties end |
Class Method Details
.mapper ⇒ Object
Mapper for Extension 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 |
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/extension.rb', line 26 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Extension', type: { name: 'Composite', class_name: 'Extension', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'CloudServiceExtensionProperties' } } } } } end |