Class VirtualMachineScaleSetVMExtensionUpdate
java.lang.Object
com.microsoft.azure.management.compute.SubResourceReadOnly
com.microsoft.azure.management.compute.VirtualMachineScaleSetVMExtensionUpdate
Describes a VMSS VM Extension.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet indicates whether the extension should use a newer minor version if one is available at deployment time.Get indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.Get how the extension handler should be forced to update even if the extension configuration has not changed.name()
Get the name of the extension.Get the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.Get the name of the extension handler publisher.settings()
Get json formatted public settings for the extension.type()
Get resource type.type1()
Get specifies the type of the extension; an example is "CustomScriptExtension".Get specifies the version of the script handler.withAutoUpgradeMinorVersion
(Boolean autoUpgradeMinorVersion) Set indicates whether the extension should use a newer minor version if one is available at deployment time.withEnableAutomaticUpgrade
(Boolean enableAutomaticUpgrade) Set indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.withForceUpdateTag
(String forceUpdateTag) Set how the extension handler should be forced to update even if the extension configuration has not changed.withProtectedSettings
(Object protectedSettings) Set the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.withPublisher
(String publisher) Set the name of the extension handler publisher.withSettings
(Object settings) Set json formatted public settings for the extension.Set specifies the type of the extension; an example is "CustomScriptExtension".withTypeHandlerVersion
(String typeHandlerVersion) Set specifies the version of the script handler.Methods inherited from class com.microsoft.azure.management.compute.SubResourceReadOnly
id
-
Constructor Details
-
VirtualMachineScaleSetVMExtensionUpdate
public VirtualMachineScaleSetVMExtensionUpdate()
-
-
Method Details
-
name
Get the name of the extension.- Returns:
- the name value
-
type
Get resource type.- Returns:
- the type value
-
forceUpdateTag
Get how the extension handler should be forced to update even if the extension configuration has not changed.- Returns:
- the forceUpdateTag value
-
withForceUpdateTag
Set how the extension handler should be forced to update even if the extension configuration has not changed.- Parameters:
forceUpdateTag
- the forceUpdateTag value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
publisher
Get the name of the extension handler publisher.- Returns:
- the publisher value
-
withPublisher
Set the name of the extension handler publisher.- Parameters:
publisher
- the publisher value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
type1
Get specifies the type of the extension; an example is "CustomScriptExtension".- Returns:
- the type1 value
-
withType1
Set specifies the type of the extension; an example is "CustomScriptExtension".- Parameters:
type1
- the type1 value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
typeHandlerVersion
Get specifies the version of the script handler.- Returns:
- the typeHandlerVersion value
-
withTypeHandlerVersion
Set specifies the version of the script handler.- Parameters:
typeHandlerVersion
- the typeHandlerVersion value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
autoUpgradeMinorVersion
Get indicates whether the extension should use a newer 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:
- the autoUpgradeMinorVersion value
-
withAutoUpgradeMinorVersion
public VirtualMachineScaleSetVMExtensionUpdate withAutoUpgradeMinorVersion(Boolean autoUpgradeMinorVersion) Set indicates whether the extension should use a newer 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.- Parameters:
autoUpgradeMinorVersion
- the autoUpgradeMinorVersion value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
enableAutomaticUpgrade
Get indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.- Returns:
- the enableAutomaticUpgrade value
-
withEnableAutomaticUpgrade
public VirtualMachineScaleSetVMExtensionUpdate withEnableAutomaticUpgrade(Boolean enableAutomaticUpgrade) Set indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.- Parameters:
enableAutomaticUpgrade
- the enableAutomaticUpgrade value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
settings
Get json formatted public settings for the extension.- Returns:
- the settings value
-
withSettings
Set json formatted public settings for the extension.- Parameters:
settings
- the settings value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-
protectedSettings
Get the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.- Returns:
- the protectedSettings value
-
withProtectedSettings
Set the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.- Parameters:
protectedSettings
- the protectedSettings value to set- Returns:
- the VirtualMachineScaleSetVMExtensionUpdate object itself.
-