Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineScaleSetVMExtension

Inherits:
SubResourceReadOnly
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb

Overview

Describes a VMSS VM Extension.

Instance Attribute Summary collapse

Attributes inherited from SubResourceReadOnly

#id

Class Method Summary collapse

Instance Attribute Details

#auto_upgrade_minor_versionBoolean

minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.

Returns:

  • (Boolean)

    Indicates whether the extension should use a newer



39
40
41
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 39

def auto_upgrade_minor_version
  @auto_upgrade_minor_version
end

#enable_automatic_upgradeBoolean

automatically upgraded by the platform if there is a newer version of the extension available.

Returns:

  • (Boolean)

    Indicates whether the extension should be



44
45
46
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 44

def enable_automatic_upgrade
  @enable_automatic_upgrade
end

#force_update_tagString

even if the extension configuration has not changed.

Returns:

  • (String)

    How the extension handler should be forced to update



23
24
25
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 23

def force_update_tag
  @force_update_tag
end

#instance_viewVirtualMachineExtensionInstanceView

extension instance view.

Returns:



59
60
61
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 59

def instance_view
  @instance_view
end

#nameString

Returns The name of the extension.

Returns:

  • (String)

    The name of the extension.



16
17
18
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 16

def name
  @name
end

#protected_settingsObject

protectedSettingsFromKeyVault or no protected settings at all.

Returns:

  • The extension can contain either protectedSettings or



51
52
53
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 51

def protected_settings
  @protected_settings
end

#provisioning_stateString

response.

Returns:

  • (String)

    The provisioning state, which only appears in the



55
56
57
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 55

def provisioning_state
  @provisioning_state
end

#publisherString

Returns The name of the extension handler publisher.

Returns:

  • (String)

    The name of the extension handler publisher.



26
27
28
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 26

def publisher
  @publisher
end

#settingsObject

Returns Json formatted public settings for the extension.

Returns:

  • Json formatted public settings for the extension.



47
48
49
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 47

def settings
  @settings
end

#typeString

Returns Resource type.

Returns:

  • (String)

    Resource type



19
20
21
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 19

def type
  @type
end

#type1String

“CustomScriptExtension”.

Returns:

  • (String)

    Specifies the type of the extension; an example is



30
31
32
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 30

def type1
  @type1
end

#type_handler_versionString

Returns Specifies the version of the script handler.

Returns:

  • (String)

    Specifies the version of the script handler.



33
34
35
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 33

def type_handler_version
  @type_handler_version
end

Class Method Details

.mapperObject

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



66
67
68
69
70
71
72
73
74
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
178
179
180
181
182
183
184
185
186
187
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_vmextension.rb', line 66

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineScaleSetVMExtension',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineScaleSetVMExtension',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        force_update_tag: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.forceUpdateTag',
          type: {
            name: 'String'
          }
        },
        publisher: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publisher',
          type: {
            name: 'String'
          }
        },
        type1: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.type',
          type: {
            name: 'String'
          }
        },
        type_handler_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.typeHandlerVersion',
          type: {
            name: 'String'
          }
        },
        auto_upgrade_minor_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.autoUpgradeMinorVersion',
          type: {
            name: 'Boolean'
          }
        },
        enable_automatic_upgrade: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableAutomaticUpgrade',
          type: {
            name: 'Boolean'
          }
        },
        settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.settings',
          type: {
            name: 'Object'
          }
        },
        protected_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.protectedSettings',
          type: {
            name: 'Object'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        instance_view: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.instanceView',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineExtensionInstanceView'
          }
        }
      }
    }
  }
end