Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceExtensionProperties

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

Overview

Extension Properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#auto_upgrade_minor_versionBoolean

upgrade typeHandlerVersion to higher minor versions when they become available.

Returns:

  • (Boolean)

    Explicitly specify whether platform can automatically



35
36
37
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 35

def auto_upgrade_minor_version
  @auto_upgrade_minor_version
end

#force_update_tagString

settings. Changing the tag value allows for re-running the extension without changing any of the public or protected settings. If forceUpdateTag is not changed, updates to public or protected settings would still be applied by the handler. If neither forceUpdateTag nor any of public or protected settings change, extension would flow to the role instance with the same sequence-number, and it is up to handler implementation whether to re-run it or not

Returns:

  • (String)

    Tag to force apply the provided public and protected



59
60
61
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 59

def force_update_tag
  @force_update_tag
end

#protected_settingsString

encrypted before sent to the role instance.

Returns:

  • (String)

    Protected settings for the extension which are



44
45
46
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 44

def protected_settings
  @protected_settings
end

#protected_settings_from_key_vaultCloudServiceVaultAndSecretReference



47
48
49
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 47

def protected_settings_from_key_vault
  @protected_settings_from_key_vault
end

#provisioning_stateString

response.

Returns:

  • (String)

    The provisioning state, which only appears in the



63
64
65
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 63

def provisioning_state
  @provisioning_state
end

#publisherString

Returns The name of the extension handler publisher.

Returns:

  • (String)

    The name of the extension handler publisher.



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

def publisher
  @publisher
end

#roles_applied_toArray<String>

If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.

Returns:

  • (Array<String>)

    Optional list of roles to apply this extension.



68
69
70
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 68

def roles_applied_to
  @roles_applied_to
end

#settingsString

extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.

Returns:

  • (String)

    Public settings for the extension. For JSON



40
41
42
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 40

def settings
  @settings
end

#typeString

Returns Specifies the type of the extension.

Returns:

  • (String)

    Specifies the type of the extension.



19
20
21
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 19

def type
  @type
end

#type_handler_versionString

version of the extension. If this element is not specified or an asterisk (*) is used as the value, the latest version of the extension is used. If the value is specified with a major version number and an asterisk as the minor version number (X.), the latest minor version of the specified major version is selected. If a major version number and a minor version number are specified (X.Y), the specific extension version is selected. If a version is specified, an auto-upgrade is performed on the role instance.

Returns:

  • (String)

    Specifies the version of the extension. Specifies the



30
31
32
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 30

def type_handler_version
  @type_handler_version
end

Class Method Details

.mapperObject

Mapper for CloudServiceExtensionProperties class as Ruby Hash. This will be used for serialization/deserialization.



75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
# File 'lib/2020-10-01-preview/generated/azure_mgmt_compute/models/cloud_service_extension_properties.rb', line 75

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CloudServiceExtensionProperties',
    type: {
      name: 'Composite',
      class_name: 'CloudServiceExtensionProperties',
      model_properties: {
        publisher: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publisher',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        type_handler_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'typeHandlerVersion',
          type: {
            name: 'String'
          }
        },
        auto_upgrade_minor_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'autoUpgradeMinorVersion',
          type: {
            name: 'Boolean'
          }
        },
        settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'settings',
          type: {
            name: 'String'
          }
        },
        protected_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectedSettings',
          type: {
            name: 'String'
          }
        },
        protected_settings_from_key_vault: {
          client_side_validation: true,
          required: false,
          serialized_name: 'protectedSettingsFromKeyVault',
          type: {
            name: 'Composite',
            class_name: 'CloudServiceVaultAndSecretReference'
          }
        },
        force_update_tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'forceUpdateTag',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        roles_applied_to: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rolesAppliedTo',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end