Class GalleryImageUpdate
java.lang.Object
com.microsoft.azure.ProxyResource
com.microsoft.azure.management.compute.UpdateResourceDefinition
com.microsoft.azure.management.compute.GalleryImageUpdate
Specifies information about the gallery Image Definition that you want to
update.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description of this gallery Image Definition resource.Get the disallowed value.org.joda.time.DateTime
Get the end of life date of the gallery Image Definition.eula()
Get the Eula agreement for the gallery Image Definition.Get the hypervisor generation of the Virtual Machine.Get the identifier value.osState()
Get this property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.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.Get the privacy statement uri.Get the provisioning state, which only appears in the response.Get the purchasePlan value.Get the recommended value.Get the release note uri.withDescription
(String description) Set the description of this gallery Image Definition resource.withDisallowed
(Disallowed disallowed) Set the disallowed value.withEndOfLifeDate
(org.joda.time.DateTime endOfLifeDate) Set the end of life date of the gallery Image Definition.Set the Eula agreement for the gallery Image Definition.withHyperVGeneration
(HyperVGeneration hyperVGeneration) Set the hypervisor generation of the Virtual Machine.withIdentifier
(GalleryImageIdentifier identifier) Set the identifier value.withOsState
(OperatingSystemStateTypes osState) Set this property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.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.withPrivacyStatementUri
(String privacyStatementUri) Set the privacy statement uri.withPurchasePlan
(ImagePurchasePlan purchasePlan) Set the purchasePlan value.withRecommended
(RecommendedMachineConfiguration recommended) Set the recommended value.withReleaseNoteUri
(String releaseNoteUri) Set the release note uri.Methods inherited from class com.microsoft.azure.management.compute.UpdateResourceDefinition
tags, withTags
Methods inherited from class com.microsoft.azure.ProxyResource
id, name, type
-
Constructor Details
-
GalleryImageUpdate
public GalleryImageUpdate()
-
-
Method Details
-
description
Get the description of this gallery Image Definition resource. This property is updatable.- Returns:
- the description value
-
withDescription
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
Get the Eula agreement for the gallery Image Definition.- Returns:
- the eula value
-
withEula
Set the Eula agreement for the gallery Image Definition.- Parameters:
eula
- the eula value to set- Returns:
- the GalleryImageUpdate object itself.
-
privacyStatementUri
Get the privacy statement uri.- Returns:
- the privacyStatementUri value
-
withPrivacyStatementUri
Set the privacy statement uri.- Parameters:
privacyStatementUri
- the privacyStatementUri value to set- Returns:
- the GalleryImageUpdate object itself.
-
releaseNoteUri
Get the release note uri.- Returns:
- the releaseNoteUri value
-
withReleaseNoteUri
Set the release note uri.- Parameters:
releaseNoteUri
- the releaseNoteUri value to set- Returns:
- the GalleryImageUpdate object itself.
-
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
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
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
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
Get the hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2'.- Returns:
- the hyperVGeneration value
-
withHyperVGeneration
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
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
Get the identifier value.- Returns:
- the identifier value
-
withIdentifier
Set the identifier value.- Parameters:
identifier
- the identifier value to set- Returns:
- the GalleryImageUpdate object itself.
-
recommended
Get the recommended value.- Returns:
- the recommended value
-
withRecommended
Set the recommended value.- Parameters:
recommended
- the recommended value to set- Returns:
- the GalleryImageUpdate object itself.
-
disallowed
Get the disallowed value.- Returns:
- the disallowed value
-
withDisallowed
Set the disallowed value.- Parameters:
disallowed
- the disallowed value to set- Returns:
- the GalleryImageUpdate object itself.
-
purchasePlan
Get the purchasePlan value.- Returns:
- the purchasePlan value
-
withPurchasePlan
Set the purchasePlan value.- Parameters:
purchasePlan
- the purchasePlan value to set- Returns:
- the GalleryImageUpdate object itself.
-
provisioningState
Get the provisioning state, which only appears in the response. Possible values include: 'Creating', 'Updating', 'Failed', 'Succeeded', 'Deleting', 'Migrating'.- Returns:
- the provisioningState value
-