Class PirSharedGalleryResource
java.lang.Object
com.azure.resourcemanager.compute.models.PirResource
com.azure.resourcemanager.compute.models.PirSharedGalleryResource
- Direct Known Subclasses:
SharedGalleryImageInner,SharedGalleryImageVersionInner,SharedGalleryInner
Base information about the shared gallery resource in pir.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PirSharedGalleryResource class. -
Method Summary
Modifier and TypeMethodDescriptionuniqueId()Get the uniqueId property: The unique id of this shared gallery.voidvalidate()Validates the instance.withUniqueId(String uniqueId) Set the uniqueId property: The unique id of this shared gallery.Methods inherited from class com.azure.resourcemanager.compute.models.PirResource
location, name
-
Constructor Details
-
PirSharedGalleryResource
public PirSharedGalleryResource()Creates an instance of PirSharedGalleryResource class.
-
-
Method Details
-
uniqueId
Get the uniqueId property: The unique id of this shared gallery.- Returns:
- the uniqueId value.
-
withUniqueId
Set the uniqueId property: The unique id of this shared gallery.- Parameters:
uniqueId- the uniqueId value to set.- Returns:
- the PirSharedGalleryResource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classPirResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-