Class VirtualMachineScaleSetExtensionUpdate

java.lang.Object
com.microsoft.azure.management.compute.SubResourceReadOnly
com.microsoft.azure.management.compute.VirtualMachineScaleSetExtensionUpdate

public class VirtualMachineScaleSetExtensionUpdate extends SubResourceReadOnly
Describes a Virtual Machine Scale Set Extension.
  • Constructor Details

    • VirtualMachineScaleSetExtensionUpdate

      public VirtualMachineScaleSetExtensionUpdate()
  • Method Details

    • name

      public String name()
      Get the name of the extension.
      Returns:
      the name value
    • type

      public String type()
      Get resource type.
      Returns:
      the type value
    • forceUpdateTag

      public String forceUpdateTag()
      Get 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.
      Returns:
      the forceUpdateTag value
    • withForceUpdateTag

      public VirtualMachineScaleSetExtensionUpdate withForceUpdateTag(String forceUpdateTag)
      Set 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.
      Parameters:
      forceUpdateTag - the forceUpdateTag value to set
      Returns:
      the VirtualMachineScaleSetExtensionUpdate object itself.
    • publisher

      public String publisher()
      Get the name of the extension handler publisher.
      Returns:
      the publisher value
    • withPublisher

      public VirtualMachineScaleSetExtensionUpdate withPublisher(String publisher)
      Set the name of the extension handler publisher.
      Parameters:
      publisher - the publisher value to set
      Returns:
      the VirtualMachineScaleSetExtensionUpdate object itself.
    • type1

      public String 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 VirtualMachineScaleSetExtensionUpdate object itself.
    • typeHandlerVersion

      public String typeHandlerVersion()
      Get specifies the version of the script handler.
      Returns:
      the typeHandlerVersion value
    • withTypeHandlerVersion

      public VirtualMachineScaleSetExtensionUpdate withTypeHandlerVersion(String typeHandlerVersion)
      Set specifies the version of the script handler.
      Parameters:
      typeHandlerVersion - the typeHandlerVersion value to set
      Returns:
      the VirtualMachineScaleSetExtensionUpdate object itself.
    • autoUpgradeMinorVersion

      public Boolean 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 VirtualMachineScaleSetExtensionUpdate 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 VirtualMachineScaleSetExtensionUpdate object itself.
    • enableAutomaticUpgrade

      public Boolean 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 VirtualMachineScaleSetExtensionUpdate 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 VirtualMachineScaleSetExtensionUpdate object itself.
    • settings

      public Object settings()
      Get json formatted public settings for the extension.
      Returns:
      the settings value
    • withSettings

      public VirtualMachineScaleSetExtensionUpdate withSettings(Object settings)
      Set json formatted public settings for the extension.
      Parameters:
      settings - the settings value to set
      Returns:
      the VirtualMachineScaleSetExtensionUpdate object itself.
    • protectedSettings

      public Object protectedSettings()
      Get the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
      Returns:
      the protectedSettings value
    • withProtectedSettings

      public VirtualMachineScaleSetExtensionUpdate withProtectedSettings(Object protectedSettings)
      Set the extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
      Parameters:
      protectedSettings - the protectedSettings value to set
      Returns:
      the VirtualMachineScaleSetExtensionUpdate object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioning state, which only appears in the response.
      Returns:
      the provisioningState value
    • provisionAfterExtensions

      public List<String> provisionAfterExtensions()
      Get collection of extension names after which this extension needs to be provisioned.
      Returns:
      the provisionAfterExtensions value
    • withProvisionAfterExtensions

      public VirtualMachineScaleSetExtensionUpdate withProvisionAfterExtensions(List<String> provisionAfterExtensions)
      Set collection of extension names after which this extension needs to be provisioned.
      Parameters:
      provisionAfterExtensions - the provisionAfterExtensions value to set
      Returns:
      the VirtualMachineScaleSetExtensionUpdate object itself.