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