Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceExtensionProfile

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_profile.rb

Overview

Describes a cloud service extension profile.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#extensionsArray<Extension>

Returns List of extensions for the cloud service.

Returns:

  • (Array<Extension>)

    List of extensions for the cloud service.



16
17
18
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_profile.rb', line 16

def extensions
  @extensions
end

Class Method Details

.mapperObject

Mapper for CloudServiceExtensionProfile 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
52
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_profile.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CloudServiceExtensionProfile',
    type: {
      name: 'Composite',
      class_name: 'CloudServiceExtensionProfile',
      model_properties: {
        extensions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'extensions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ExtensionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Extension'
                }
            }
          }
        }
      }
    }
  }
end