Interface MachineExtension


public interface MachineExtension
An immutable client-side representation of MachineExtension.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    The entirety of the MachineExtension definition.
    static interface 
    The MachineExtension definition stages.
    static interface 
    The template for MachineExtension update.
    static interface 
    The MachineExtension update stages.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the autoUpgradeMinorVersion property: Indicates whether the extension should use a newer minor version if one is available at deployment time.
    Gets the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.
    Gets the forceUpdateTag property: How the extension handler should be forced to update even if the extension configuration has not changed.
    id()
    Gets the id property: Fully qualified resource Id for the resource.
    Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.MachineExtensionInner object.
    Gets the instanceView property: The machine extension instance view.
    Gets the location property: The geo-location where the resource lives.
    Gets the name property: The name of the resource.
    Gets the protectedSettings property: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
    Gets the provisioningState property: The provisioning state, which only appears in the response.
    Gets the publisher property: The name of the extension handler publisher.
    Refreshes the resource to sync with Azure.
    refresh(com.azure.core.util.Context context)
    Refreshes the resource to sync with Azure.
    com.azure.core.management.Region
    Gets the region of the resource.
    Gets the name of the resource region.
    Gets the name of the resource group.
    Gets the settings property: Json formatted public settings for the extension.
    com.azure.core.management.SystemData
    Gets the systemData property: The system data.
    Gets the tags property: Resource tags.
    Gets the type property: The type of the resource.
    Gets the typeHandlerVersion property: Specifies the version of the script handler.
    Gets the typePropertiesType property: Specifies the type of the extension; an example is "CustomScriptExtension".
    Begins update for the MachineExtension resource.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • location

      String location()
      Gets the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • tags

      Map<String,String> tags()
      Gets the tags property: Resource tags.
      Returns:
      the tags value.
    • systemData

      com.azure.core.management.SystemData systemData()
      Gets the systemData property: The system data.
      Returns:
      the systemData value.
    • forceUpdateTag

      String forceUpdateTag()
      Gets the forceUpdateTag property: How the extension handler should be forced to update even if the extension configuration has not changed.
      Returns:
      the forceUpdateTag value.
    • publisher

      String publisher()
      Gets the publisher property: The name of the extension handler publisher.
      Returns:
      the publisher value.
    • typePropertiesType

      String typePropertiesType()
      Gets the typePropertiesType property: Specifies the type of the extension; an example is "CustomScriptExtension".
      Returns:
      the typePropertiesType value.
    • typeHandlerVersion

      String typeHandlerVersion()
      Gets the typeHandlerVersion property: Specifies the version of the script handler.
      Returns:
      the typeHandlerVersion value.
    • enableAutomaticUpgrade

      Boolean enableAutomaticUpgrade()
      Gets the enableAutomaticUpgrade property: Indicates whether the extension should be automatically upgraded by the platform if there is a newer version available.
      Returns:
      the enableAutomaticUpgrade value.
    • autoUpgradeMinorVersion

      Boolean autoUpgradeMinorVersion()
      Gets the autoUpgradeMinorVersion property: 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.
    • settings

      Object settings()
      Gets the settings property: Json formatted public settings for the extension.
      Returns:
      the settings value.
    • protectedSettings

      Object protectedSettings()
      Gets the protectedSettings property: The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.
      Returns:
      the protectedSettings value.
    • provisioningState

      String provisioningState()
      Gets the provisioningState property: The provisioning state, which only appears in the response.
      Returns:
      the provisioningState value.
    • instanceView

      Gets the instanceView property: The machine extension instance view.
      Returns:
      the instanceView value.
    • region

      com.azure.core.management.Region region()
      Gets the region of the resource.
      Returns:
      the region of the resource.
    • regionName

      String regionName()
      Gets the name of the resource region.
      Returns:
      the name of the resource region.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      MachineExtensionInner innerModel()
      Gets the inner com.azure.resourcemanager.connectedvmware.fluent.models.MachineExtensionInner object.
      Returns:
      the inner object.
    • update

      Begins update for the MachineExtension resource.
      Returns:
      the stage of resource update.
    • refresh

      MachineExtension refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      MachineExtension refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.