public class GalleryImageInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
GalleryImageInner() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description of this gallery Image Definition resource.
|
Disallowed |
disallowed()
Get the disallowed property: Describes the disallowed disk types.
|
OffsetDateTime |
endOfLifeDate()
Get the endOfLifeDate property: The end of life date of the gallery Image Definition.
|
String |
eula()
Get the eula property: The Eula agreement for the gallery Image Definition.
|
HyperVGeneration |
hyperVGeneration()
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine.
|
GalleryImageIdentifier |
identifier()
Get the identifier property: This is the gallery Image Definition identifier.
|
OperatingSystemStateTypes |
osState()
Get the osState property: This property allows the user to specify whether the virtual machines created under
this image are 'Generalized' or 'Specialized'.
|
OperatingSystemTypes |
osType()
Get the osType property: 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.
|
String |
privacyStatementUri()
Get the privacyStatementUri property: The privacy statement uri.
|
GalleryImagePropertiesProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
|
ImagePurchasePlan |
purchasePlan()
Get the purchasePlan property: Describes the gallery Image Definition purchase plan.
|
RecommendedMachineConfiguration |
recommended()
Get the recommended property: The properties describe the recommended machine configuration for this Image
Definition.
|
String |
releaseNoteUri()
Get the releaseNoteUri property: The release note uri.
|
void |
validate()
Validates the instance.
|
GalleryImageInner |
withDescription(String description)
Set the description property: The description of this gallery Image Definition resource.
|
GalleryImageInner |
withDisallowed(Disallowed disallowed)
Set the disallowed property: Describes the disallowed disk types.
|
GalleryImageInner |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery Image Definition.
|
GalleryImageInner |
withEula(String eula)
Set the eula property: The Eula agreement for the gallery Image Definition.
|
GalleryImageInner |
withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyperVGeneration property: The hypervisor generation of the Virtual Machine.
|
GalleryImageInner |
withIdentifier(GalleryImageIdentifier identifier)
Set the identifier property: This is the gallery Image Definition identifier.
|
GalleryImageInner |
withOsState(OperatingSystemStateTypes osState)
Set the osState property: This property allows the user to specify whether the virtual machines created under
this image are 'Generalized' or 'Specialized'.
|
GalleryImageInner |
withOsType(OperatingSystemTypes osType)
Set the osType property: 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.
|
GalleryImageInner |
withPrivacyStatementUri(String privacyStatementUri)
Set the privacyStatementUri property: The privacy statement uri.
|
GalleryImageInner |
withPurchasePlan(ImagePurchasePlan purchasePlan)
Set the purchasePlan property: Describes the gallery Image Definition purchase plan.
|
GalleryImageInner |
withRecommended(RecommendedMachineConfiguration recommended)
Set the recommended property: The properties describe the recommended machine configuration for this Image
Definition.
|
GalleryImageInner |
withReleaseNoteUri(String releaseNoteUri)
Set the releaseNoteUri property: The release note uri.
|
public String description()
public GalleryImageInner withDescription(String description)
description
- the description value to set.public String eula()
public GalleryImageInner withEula(String eula)
eula
- the eula value to set.public String privacyStatementUri()
public GalleryImageInner withPrivacyStatementUri(String privacyStatementUri)
privacyStatementUri
- the privacyStatementUri value to set.public String releaseNoteUri()
public GalleryImageInner withReleaseNoteUri(String releaseNoteUri)
releaseNoteUri
- the releaseNoteUri value to set.public OperatingSystemTypes osType()
public GalleryImageInner withOsType(OperatingSystemTypes osType)
osType
- the osType value to set.public OperatingSystemStateTypes osState()
public GalleryImageInner withOsState(OperatingSystemStateTypes osState)
osState
- the osState value to set.public HyperVGeneration hyperVGeneration()
public GalleryImageInner withHyperVGeneration(HyperVGeneration hyperVGeneration)
hyperVGeneration
- the hyperVGeneration value to set.public OffsetDateTime endOfLifeDate()
public GalleryImageInner withEndOfLifeDate(OffsetDateTime endOfLifeDate)
endOfLifeDate
- the endOfLifeDate value to set.public GalleryImageIdentifier identifier()
public GalleryImageInner withIdentifier(GalleryImageIdentifier identifier)
identifier
- the identifier value to set.public RecommendedMachineConfiguration recommended()
public GalleryImageInner withRecommended(RecommendedMachineConfiguration recommended)
recommended
- the recommended value to set.public Disallowed disallowed()
public GalleryImageInner withDisallowed(Disallowed disallowed)
disallowed
- the disallowed value to set.public ImagePurchasePlan purchasePlan()
public GalleryImageInner withPurchasePlan(ImagePurchasePlan purchasePlan)
purchasePlan
- the purchasePlan value to set.public GalleryImagePropertiesProvisioningState provisioningState()
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.