Class: Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceExtensionProperties
- Inherits:
-
Object
- Object
- Azure::Compute::Mgmt::V2020_10_01_preview::Models::CloudServiceExtensionProperties
- 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
-
#auto_upgrade_minor_version ⇒ Boolean
upgrade typeHandlerVersion to higher minor versions when they become available.
-
#force_update_tag ⇒ String
settings.
-
#protected_settings ⇒ String
encrypted before sent to the role instance.
- #protected_settings_from_key_vault ⇒ CloudServiceVaultAndSecretReference
-
#provisioning_state ⇒ String
response.
-
#publisher ⇒ String
The name of the extension handler publisher.
-
#roles_applied_to ⇒ Array<String>
If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
-
#settings ⇒ String
extensions, this is the JSON settings for the extension.
-
#type ⇒ String
Specifies the type of the extension.
-
#type_handler_version ⇒ String
version of the extension.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CloudServiceExtensionProperties class as Ruby Hash.
Instance Attribute Details
#auto_upgrade_minor_version ⇒ Boolean
upgrade typeHandlerVersion to higher minor versions when they become available.
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_tag ⇒ String
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
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_settings ⇒ String
encrypted before sent to the role instance.
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_vault ⇒ CloudServiceVaultAndSecretReference
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_state ⇒ String
response.
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 |
#publisher ⇒ String
Returns 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_to ⇒ Array<String>
If property is not specified or '*' is specified, extension is applied to all roles in the cloud service.
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 |
#settings ⇒ String
extensions, this is the JSON settings for the extension. For XML Extension (like RDP), this is the XML setting for the extension.
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 |
#type ⇒ String
Returns 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_version ⇒ String
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.
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
.mapper ⇒ Object
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 |