Class VMExtension
java.lang.Object
com.microsoft.azure.management.batch.VMExtension
The configuration for virtual machine extensions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet indicates whether the extension should use a newer minor version if one is available at deployment time.name()
Get the name value.Get the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.Get collection of extension names after which this extension needs to be provisioned.Get the publisher value.settings()
Get the settings value.type()
Get the type value.Get the typeHandlerVersion value.withAutoUpgradeMinorVersion
(Boolean autoUpgradeMinorVersion) Set indicates whether the extension should use a newer minor version if one is available at deployment time.Set the name value.withProtectedSettings
(Object protectedSettings) Set the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.withProvisionAfterExtensions
(List<String> provisionAfterExtensions) Set collection of extension names after which this extension needs to be provisioned.withPublisher
(String publisher) Set the publisher value.withSettings
(Object settings) Set the settings value.Set the type value.withTypeHandlerVersion
(String typeHandlerVersion) Set the typeHandlerVersion value.
-
Constructor Details
-
VMExtension
public VMExtension()
-
-
Method Details
-
name
Get the name value.- Returns:
- the name value
-
withName
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the VMExtension object itself.
-
publisher
Get the publisher value.- Returns:
- the publisher value
-
withPublisher
Set the publisher value.- Parameters:
publisher
- the publisher value to set- Returns:
- the VMExtension object itself.
-
type
Get the type value.- Returns:
- the type value
-
withType
Set the type value.- Parameters:
type
- the type value to set- Returns:
- the VMExtension object itself.
-
typeHandlerVersion
Get the typeHandlerVersion value.- Returns:
- the typeHandlerVersion value
-
withTypeHandlerVersion
Set the typeHandlerVersion value.- Parameters:
typeHandlerVersion
- the typeHandlerVersion value to set- Returns:
- the VMExtension 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
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 VMExtension object itself.
-
settings
Get the settings value.- Returns:
- the settings value
-
withSettings
Set the settings value.- Parameters:
settings
- the settings value to set- Returns:
- the VMExtension 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 VMExtension object itself.
-
provisionAfterExtensions
Get collection of extension names after which this extension needs to be provisioned.- Returns:
- the provisionAfterExtensions value
-
withProvisionAfterExtensions
Set collection of extension names after which this extension needs to be provisioned.- Parameters:
provisionAfterExtensions
- the provisionAfterExtensions value to set- Returns:
- the VMExtension object itself.
-