Class PirCommunityGalleryResource
java.lang.Object
com.azure.resourcemanager.compute.models.PirCommunityGalleryResource
- Direct Known Subclasses:
CommunityGalleryImageInner,CommunityGalleryImageVersionInner,CommunityGalleryInner
Base information about the community gallery resource in azure compute gallery.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of PirCommunityGalleryResource class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()Get the location property: Resource location.name()Get the name property: Resource name.type()Get the type property: Resource type.uniqueId()Get the uniqueId property: The unique id of this community gallery.voidvalidate()Validates the instance.withUniqueId(String uniqueId) Set the uniqueId property: The unique id of this community gallery.
-
Constructor Details
-
PirCommunityGalleryResource
public PirCommunityGalleryResource()Creates an instance of PirCommunityGalleryResource class.
-
-
Method Details
-
name
Get the name property: Resource name.- Returns:
- the name value.
-
location
Get the location property: Resource location.- Returns:
- the location value.
-
type
Get the type property: Resource type.- Returns:
- the type value.
-
uniqueId
Get the uniqueId property: The unique id of this community gallery.- Returns:
- the uniqueId value.
-
withUniqueId
Set the uniqueId property: The unique id of this community gallery.- Parameters:
uniqueId- the uniqueId value to set.- Returns:
- the PirCommunityGalleryResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-