Class GalleryImageUpdate

java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.compute.UpdateResourceDefinition
com.microsoft.azure.management.compute.GalleryImageUpdate

public class GalleryImageUpdate extends UpdateResourceDefinition
Specifies information about the gallery Image Definition that you want to update.
  • Constructor Details

    • GalleryImageUpdate

      public GalleryImageUpdate()
  • Method Details

    • description

      public String description()
      Get the description of this gallery Image Definition resource. This property is updatable.
      Returns:
      the description value
    • withDescription

      public GalleryImageUpdate withDescription(String description)
      Set the description of this gallery Image Definition resource. This property is updatable.
      Parameters:
      description - the description value to set
      Returns:
      the GalleryImageUpdate object itself.
    • eula

      public String eula()
      Get the Eula agreement for the gallery Image Definition.
      Returns:
      the eula value
    • withEula

      public GalleryImageUpdate withEula(String eula)
      Set the Eula agreement for the gallery Image Definition.
      Parameters:
      eula - the eula value to set
      Returns:
      the GalleryImageUpdate object itself.
    • privacyStatementUri

      public String privacyStatementUri()
      Get the privacy statement uri.
      Returns:
      the privacyStatementUri value
    • withPrivacyStatementUri

      public GalleryImageUpdate withPrivacyStatementUri(String privacyStatementUri)
      Set the privacy statement uri.
      Parameters:
      privacyStatementUri - the privacyStatementUri value to set
      Returns:
      the GalleryImageUpdate object itself.
    • releaseNoteUri

      public String releaseNoteUri()
      Get the release note uri.
      Returns:
      the releaseNoteUri value
    • withReleaseNoteUri

      public GalleryImageUpdate withReleaseNoteUri(String releaseNoteUri)
      Set the release note uri.
      Parameters:
      releaseNoteUri - the releaseNoteUri value to set
      Returns:
      the GalleryImageUpdate object itself.
    • osType

      public OperatingSystemTypes osType()
      Get this property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux'.
      Returns:
      the osType value
    • withOsType

      public GalleryImageUpdate withOsType(OperatingSystemTypes osType)
      Set this property allows you to specify the type of the OS that is included in the disk when creating a VM from a managed image. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux**. Possible values include: 'Windows', 'Linux'.
      Parameters:
      osType - the osType value to set
      Returns:
      the GalleryImageUpdate object itself.
    • osState

      public OperatingSystemStateTypes osState()
      Get this property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'.
      Returns:
      the osState value
    • withOsState

      public GalleryImageUpdate withOsState(OperatingSystemStateTypes osState)
      Set this property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'. Possible values include: 'Generalized', 'Specialized'.
      Parameters:
      osState - the osState value to set
      Returns:
      the GalleryImageUpdate object itself.
    • hyperVGeneration

      public HyperVGeneration hyperVGeneration()
      Get the hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'.
      Returns:
      the hyperVGeneration value
    • withHyperVGeneration

      public GalleryImageUpdate withHyperVGeneration(HyperVGeneration hyperVGeneration)
      Set the hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'.
      Parameters:
      hyperVGeneration - the hyperVGeneration value to set
      Returns:
      the GalleryImageUpdate object itself.
    • endOfLifeDate

      public org.joda.time.DateTime endOfLifeDate()
      Get the end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.
      Returns:
      the endOfLifeDate value
    • withEndOfLifeDate

      public GalleryImageUpdate withEndOfLifeDate(org.joda.time.DateTime endOfLifeDate)
      Set the end of life date of the gallery Image Definition. This property can be used for decommissioning purposes. This property is updatable.
      Parameters:
      endOfLifeDate - the endOfLifeDate value to set
      Returns:
      the GalleryImageUpdate object itself.
    • identifier

      public GalleryImageIdentifier identifier()
      Get the identifier value.
      Returns:
      the identifier value
    • withIdentifier

      public GalleryImageUpdate withIdentifier(GalleryImageIdentifier identifier)
      Set the identifier value.
      Parameters:
      identifier - the identifier value to set
      Returns:
      the GalleryImageUpdate object itself.
    • recommended

      public RecommendedMachineConfiguration recommended()
      Get the recommended value.
      Returns:
      the recommended value
    • withRecommended

      public GalleryImageUpdate withRecommended(RecommendedMachineConfiguration recommended)
      Set the recommended value.
      Parameters:
      recommended - the recommended value to set
      Returns:
      the GalleryImageUpdate object itself.
    • disallowed

      public Disallowed disallowed()
      Get the disallowed value.
      Returns:
      the disallowed value
    • withDisallowed

      public GalleryImageUpdate withDisallowed(Disallowed disallowed)
      Set the disallowed value.
      Parameters:
      disallowed - the disallowed value to set
      Returns:
      the GalleryImageUpdate object itself.
    • purchasePlan

      public ImagePurchasePlan purchasePlan()
      Get the purchasePlan value.
      Returns:
      the purchasePlan value
    • withPurchasePlan

      public GalleryImageUpdate withPurchasePlan(ImagePurchasePlan purchasePlan)
      Set the purchasePlan value.
      Parameters:
      purchasePlan - the purchasePlan value to set
      Returns:
      the GalleryImageUpdate object itself.
    • provisioningState

      public String provisioningState()
      Get the provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'.
      Returns:
      the provisioningState value