Class SharedGalleryImageInner
java.lang.Object
com.azure.resourcemanager.compute.models.PirResource
com.azure.resourcemanager.compute.models.PirSharedGalleryResource
com.azure.resourcemanager.compute.fluent.models.SharedGalleryImageInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<PirResource>
Specifies information about the gallery image definition that you want to create or update.
-
Method Summary
Modifier and TypeMethodDescriptionGet the architecture property: The architecture of the image.Get the artifactTags property: The artifact tags of a shared gallery resource.Get the disallowed property: Describes the disallowed disk types.Get the endOfLifeDate property: The end of life date of the gallery image definition.eula()Get the eula property: End-user license agreement for the current community gallery image.features()Get the features property: A list of gallery image features.static SharedGalleryImageInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SharedGalleryImageInner from the JsonReader.Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine.Get the identifier property: This is the gallery image definition identifier.location()Get the location property: Resource location.name()Get the name property: Resource name.osState()Get the osState property: This property allows the user to specify whether the virtual machines created under this image are 'Generalized' or 'Specialized'.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.Get the privacyStatementUri property: Privacy statement uri for the current community gallery image.Get the purchasePlan property: Describes the gallery image definition purchase plan.Get the recommended property: The properties describe the recommended machine configuration for this Image Definition.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) uniqueId()Get the uniqueId property: The unique id of this shared gallery.voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
location
Get the location property: Resource location.- Overrides:
locationin classPirSharedGalleryResource- Returns:
- the location value.
-
name
Get the name property: Resource name.- Overrides:
namein classPirSharedGalleryResource- Returns:
- the name value.
-
uniqueId
Get the uniqueId property: The unique id of this shared gallery.- Overrides:
uniqueIdin classPirSharedGalleryResource- Returns:
- the uniqueId value.
-
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:
- the osType value.
-
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:
- the osState value.
-
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:
- the endOfLifeDate value.
-
identifier
Get the identifier property: This is the gallery image definition identifier.- Returns:
- the identifier value.
-
recommended
Get the recommended property: The properties describe the recommended machine configuration for this Image Definition. These properties are updatable.- Returns:
- the recommended value.
-
disallowed
Get the disallowed property: Describes the disallowed disk types.- Returns:
- the disallowed value.
-
hyperVGeneration
Get the hyperVGeneration property: The hypervisor generation of the Virtual Machine. Applicable to OS disks only.- Returns:
- the hyperVGeneration value.
-
features
Get the features property: A list of gallery image features.- Returns:
- the features value.
-
purchasePlan
Get the purchasePlan property: Describes the gallery image definition purchase plan. This is used by marketplace images.- Returns:
- the purchasePlan value.
-
architecture
Get the architecture property: The architecture of the image. Applicable to OS disks only.- Returns:
- the architecture value.
-
privacyStatementUri
Get the privacyStatementUri property: Privacy statement uri for the current community gallery image.- Returns:
- the privacyStatementUri value.
-
eula
Get the eula property: End-user license agreement for the current community gallery image.- Returns:
- the eula value.
-
artifactTags
-
validate
public void validate()Validates the instance.- Overrides:
validatein classPirSharedGalleryResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<PirResource>- Overrides:
toJsonin classPirSharedGalleryResource- Throws:
IOException
-
fromJson
public static SharedGalleryImageInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SharedGalleryImageInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SharedGalleryImageInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SharedGalleryImageInner.
-