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.
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. |
Methods inherited from PirSharedGalleryResource
Methods inherited from java.lang.Object
Method Details
architecture
public Architecture architecture()
Get the architecture property: The architecture of the image. Applicable to OS disks only.
Returns:
artifactTags
public Map<String,String> artifactTags()
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<GalleryImageFeature> features()
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()