public class VirtualMachineExtensionUpdate extends UpdateResource
Constructor and Description |
---|
VirtualMachineExtensionUpdate() |
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: How the extension handler should be forced to update even if the extension
configuration has not changed.
|
Object |
protectedSettings()
Get the protectedSettings property: The extension can contain either protectedSettings or
protectedSettingsFromKeyVault or no protected settings at all.
|
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: Specifies the type of the extension; an example is "CustomScriptExtension".
|
String |
typeHandlerVersion()
Get the typeHandlerVersion property: Specifies the version of the script handler.
|
void |
validate()
Validates the instance.
|
VirtualMachineExtensionUpdate |
withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
Set the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one
is available at deployment time.
|
VirtualMachineExtensionUpdate |
withForceUpdateTag(String forceUpdateTag)
Set the forceUpdateTag property: How the extension handler should be forced to update even if the extension
configuration has not changed.
|
VirtualMachineExtensionUpdate |
withProtectedSettings(Object protectedSettings)
Set the protectedSettings property: The extension can contain either protectedSettings or
protectedSettingsFromKeyVault or no protected settings at all.
|
VirtualMachineExtensionUpdate |
withPublisher(String publisher)
Set the publisher property: The name of the extension handler publisher.
|
VirtualMachineExtensionUpdate |
withSettings(Object settings)
Set the settings property: Json formatted public settings for the extension.
|
VirtualMachineExtensionUpdate |
withType(String type)
Set the type property: Specifies the type of the extension; an example is "CustomScriptExtension".
|
VirtualMachineExtensionUpdate |
withTypeHandlerVersion(String typeHandlerVersion)
Set the typeHandlerVersion property: Specifies the version of the script handler.
|
tags, withTags
public String forceUpdateTag()
public VirtualMachineExtensionUpdate withForceUpdateTag(String forceUpdateTag)
forceUpdateTag
- the forceUpdateTag value to set.public String publisher()
public VirtualMachineExtensionUpdate withPublisher(String publisher)
publisher
- the publisher value to set.public String type()
public VirtualMachineExtensionUpdate withType(String type)
type
- the type value to set.public String typeHandlerVersion()
public VirtualMachineExtensionUpdate withTypeHandlerVersion(String typeHandlerVersion)
typeHandlerVersion
- the typeHandlerVersion value to set.public Boolean autoUpgradeMinorVersion()
public VirtualMachineExtensionUpdate withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion)
autoUpgradeMinorVersion
- the autoUpgradeMinorVersion value to set.public Object settings()
public VirtualMachineExtensionUpdate withSettings(Object settings)
settings
- the settings value to set.public Object protectedSettings()
public VirtualMachineExtensionUpdate withProtectedSettings(Object protectedSettings)
protectedSettings
- the protectedSettings value to set.public void validate()
validate
in class UpdateResource
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.