public class VirtualMachineScaleSetExtensionInner extends SubResourceReadOnly
Constructor and Description |
---|
VirtualMachineScaleSetExtensionInner() |
Modifier and Type | Method and Description |
---|---|
Boolean |
autoUpgradeMinorVersion()
Get the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one
is available at deployment time.
|
String |
forceUpdateTag()
Get the forceUpdateTag property: If a value is provided and is different from the previous value, the extension
handler will be forced to update even if the extension configuration has not changed.
|
String |
name()
Get the name property: The name of the extension.
|
Object |
protectedSettings()
Get the protectedSettings property: The extension can contain either protectedSettings or
protectedSettingsFromKeyVault or no protected settings at all.
|
List<String> |
provisionAfterExtensions()
Get the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
provisioned.
|
String |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
String |
publisher()
Get the publisher property: The name of the extension handler publisher.
|
Object |
settings()
Get the settings property: Json formatted public settings for the extension.
|
String |
type()
Get the type property: Resource type.
|
String |
typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.
|
String |
typePropertiesType()
Get the typePropertiesType property: Specifies the type of the extension; an example is "CustomScriptExtension".
|
void |
validate()
Validates the instance.
|
VirtualMachineScaleSetExtensionInner |
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one
is available at deployment time.
|
VirtualMachineScaleSetExtensionInner |
withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: If a value is provided and is different from the previous value, the extension
handler will be forced to update even if the extension configuration has not changed.
|
VirtualMachineScaleSetExtensionInner |
withName(String name)
Set the name property: The name of the extension.
|
VirtualMachineScaleSetExtensionInner |
withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: The extension can contain either protectedSettings or
protectedSettingsFromKeyVault or no protected settings at all.
|
VirtualMachineScaleSetExtensionInner |
withProvisionAfterExtensions(List<String> provisionAfterExtensions)
Set the provisionAfterExtensions property: Collection of extension names after which this extension needs to be
provisioned.
|
VirtualMachineScaleSetExtensionInner |
withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.
|
VirtualMachineScaleSetExtensionInner |
withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.
|
VirtualMachineScaleSetExtensionInner |
withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
|
VirtualMachineScaleSetExtensionInner |
withTypePropertiesType(String typePropertiesType)
Set the typePropertiesType property: Specifies the type of the extension; an example is "CustomScriptExtension".
|
id
public VirtualMachineScaleSetExtensionInner()
public String name()
public VirtualMachineScaleSetExtensionInner withName(String name)
name
- the name value to set.public String type()
public String forceUpdateTag()
public VirtualMachineScaleSetExtensionInner withForceUpdateTag(String forceUpdateTag)
forceUpdateTag
- the forceUpdateTag value to set.public String publisher()
public VirtualMachineScaleSetExtensionInner withPublisher(String publisher)
publisher
- the publisher value to set.public String typePropertiesType()
public VirtualMachineScaleSetExtensionInner withTypePropertiesType(String typePropertiesType)
typePropertiesType
- the typePropertiesType value to set.public String typeHandlerVersion()
public VirtualMachineScaleSetExtensionInner withTypeHandlerVersion(String typeHandlerVersion)
typeHandlerVersion
- the typeHandlerVersion value to set.public Boolean autoUpgradeMinorVersion()
public VirtualMachineScaleSetExtensionInner withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
autoUpgradeMinorVersion
- the autoUpgradeMinorVersion value to set.public Object settings()
public VirtualMachineScaleSetExtensionInner withSettings(Object settings)
settings
- the settings value to set.public Object protectedSettings()
public VirtualMachineScaleSetExtensionInner withProtectedSettings(Object protectedSettings)
protectedSettings
- the protectedSettings value to set.public String provisioningState()
public List<String> provisionAfterExtensions()
public VirtualMachineScaleSetExtensionInner withProvisionAfterExtensions(List<String> provisionAfterExtensions)
provisionAfterExtensions
- the provisionAfterExtensions value to set.public void validate()
validate
in class SubResourceReadOnly
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.