SharedGalleryImageInner Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. PirResource - com.
azure. resourcemanager. compute. models. PirSharedGalleryResource - com.
azure. resourcemanager. compute. fluent. models. SharedGalleryImageInner
- com.
- com.
- com.
public final class SharedGalleryImageInner
extends PirSharedGalleryResource
Specifies information about the gallery image definition that you want to create or update.
Constructor Summary
Constructor | Description |
---|---|
SharedGalleryImageInner() |
Creates an instance of Shared |
Method Summary
Modifier and Type | Method and Description |
---|---|
Architecture |
architecture()
Get the architecture property: The architecture of the image. |
Map<String,String> |
artifactTags()
Get the artifact |
Disallowed |
disallowed()
Get the disallowed property: Describes the disallowed disk types. |
Offset |
endOfLifeDate()
Get the end |
String |
eula()
Get the eula property: End-user license agreement for the current community gallery image. |
List<Gallery |
features()
Get the features property: A list of gallery image features. |
static
Shared |
fromJson(JsonReader jsonReader)
Reads an instance of Shared |
Hyper |
hyperVGeneration()
Get the hyper |
Gallery |
identifier()
Get the identifier property: This is the gallery image definition identifier. |
String |
location()
Get the location property: Resource location. |
String |
name()
Get the name property: Resource name. |
Operating |
osState()
Get the os |
Operating |
osType()
Get the os |
String |
privacyStatementUri()
Get the privacy |
Image |
purchasePlan()
Get the purchase |
Recommended |
recommended()
Get the recommended property: The properties describe the recommended machine configuration for this Image Definition. |
Json |
toJson(JsonWriter jsonWriter) |
String |
uniqueId()
Get the unique |
void |
validate()
Validates the instance. |
Shared |
withArchitecture(Architecture architecture)
Set the architecture property: The architecture of the image. |
Shared |
withArtifactTags(Map<String,String> artifactTags)
Set the artifact |
Shared |
withDisallowed(Disallowed disallowed)
Set the disallowed property: Describes the disallowed disk types. |
Shared |
withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the end |
Shared |
withEula(String eula)
Set the eula property: End-user license agreement for the current community gallery image. |
Shared |
withFeatures(List<GalleryImageFeature> features)
Set the features property: A list of gallery image features. |
Shared |
withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyper |
Shared |
withIdentifier(GalleryImageIdentifier identifier)
Set the identifier property: This is the gallery image definition identifier. |
Shared |
withOsState(OperatingSystemStateTypes osState)
Set the os |
Shared |
withOsType(OperatingSystemTypes osType)
Set the os |
Shared |
withPrivacyStatementUri(String privacyStatementUri)
Set the privacy |
Shared |
withPurchasePlan(ImagePurchasePlan purchasePlan)
Set the purchase |
Shared |
withRecommended(RecommendedMachineConfiguration recommended)
Set the recommended property: The properties describe the recommended machine configuration for this Image Definition. |
Shared |
withUniqueId(String uniqueId)
Set the unique |
Methods inherited from PirSharedGalleryResource
Methods inherited from java.lang.Object
Constructor Details
SharedGalleryImageInner
public SharedGalleryImageInner()
Creates an instance of SharedGalleryImageInner class.
Method Details
architecture
public Architecture architecture()
Get the architecture property: The architecture of the image. Applicable to OS disks only.
Returns:
artifactTags
public Map
Get the artifactTags property: The artifact tags of a shared gallery resource.
Returns:
disallowed
public Disallowed disallowed()
Get the disallowed property: Describes the disallowed disk types.
Returns:
endOfLifeDate
public OffsetDateTime endOfLifeDate()
Get the endOfLifeDate property: The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
Returns:
eula
public String eula()
Get the eula property: End-user license agreement for the current community gallery image.
Returns:
features
public List
Get the features property: A list of gallery image features.
Returns:
fromJson
public static SharedGalleryImageInner fromJson(JsonReader jsonReader)
Reads an instance of SharedGalleryImageInner from the JsonReader.
Parameters:
Returns:
Throws:
hyperVGeneration
public HyperVGeneration hyperVGeneration()
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Returns:
identifier
public GalleryImageIdentifier identifier()
Get the identifier property: This is the gallery image definition identifier.
Returns:
location
public String location()
Get the location property: Resource location.
Overrides:
SharedGalleryImageInner.location()Returns:
name
public String name()
Get the name property: Resource name.
Overrides:
SharedGalleryImageInner.name()Returns:
osState
public 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'.
Returns:
osType
public 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. Possible values are: **Windows,** **Linux.**.
Returns:
privacyStatementUri
public String privacyStatementUri()
Get the privacyStatementUri property: Privacy statement uri for the current community gallery image.
Returns:
purchasePlan
public ImagePurchasePlan purchasePlan()
Get the purchasePlan property: Describes the gallery image definition purchase plan. This is used by marketplace images.
Returns:
recommended
public RecommendedMachineConfiguration recommended()
Get the recommended property: The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
SharedGalleryImageInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
uniqueId
public String uniqueId()
Get the uniqueId property: The unique id of this shared gallery.
Overrides:
SharedGalleryImageInner.uniqueId()Returns:
validate
public void validate()
Validates the instance.
Overrides:
SharedGalleryImageInner.validate()withArchitecture
public SharedGalleryImageInner withArchitecture(Architecture architecture)
Set the architecture property: The architecture of the image. Applicable to OS disks only.
Parameters:
Returns:
withArtifactTags
public SharedGalleryImageInner withArtifactTags(Map
Set the artifactTags property: The artifact tags of a shared gallery resource.
Parameters:
Returns:
withDisallowed
public SharedGalleryImageInner withDisallowed(Disallowed disallowed)
Set the disallowed property: Describes the disallowed disk types.
Parameters:
Returns:
withEndOfLifeDate
public SharedGalleryImageInner withEndOfLifeDate(OffsetDateTime endOfLifeDate)
Set the endOfLifeDate property: The end of life date of the gallery image definition. This property can be used for decommissioning purposes. This property is updatable.
Parameters:
Returns:
withEula
public SharedGalleryImageInner withEula(String eula)
Set the eula property: End-user license agreement for the current community gallery image.
Parameters:
Returns:
withFeatures
public SharedGalleryImageInner withFeatures(List
Set the features property: A list of gallery image features.
Parameters:
Returns:
withHyperVGeneration
public SharedGalleryImageInner withHyperVGeneration(HyperVGeneration hyperVGeneration)
Set the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.
Parameters:
Returns:
withIdentifier
public SharedGalleryImageInner withIdentifier(GalleryImageIdentifier identifier)
Set the identifier property: This is the gallery image definition identifier.
Parameters:
Returns:
withOsState
public SharedGalleryImageInner 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'.
Parameters:
Returns:
withOsType
public SharedGalleryImageInner 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. Possible values are: **Windows,** **Linux.**.
Parameters:
Returns:
withPrivacyStatementUri
public SharedGalleryImageInner withPrivacyStatementUri(String privacyStatementUri)
Set the privacyStatementUri property: Privacy statement uri for the current community gallery image.
Parameters:
Returns:
withPurchasePlan
public SharedGalleryImageInner withPurchasePlan(ImagePurchasePlan purchasePlan)
Set the purchasePlan property: Describes the gallery image definition purchase plan. This is used by marketplace images.
Parameters:
Returns:
withRecommended
public SharedGalleryImageInner withRecommended(RecommendedMachineConfiguration recommended)
Set the recommended property: The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.
Parameters:
Returns:
withUniqueId
public SharedGalleryImageInner withUniqueId(String uniqueId)
Set the uniqueId property: The unique id of this shared gallery.
Overrides:
SharedGalleryImageInner.withUniqueId(String uniqueId)Parameters:
Returns:
Applies to
Azure SDK for Java