Class PirResource
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.PirResource
-
- Direct Known Subclasses:
PirSharedGalleryResource
public class PirResource extends Object
The Resource model definition.
-
-
Constructor Summary
Constructors Constructor Description PirResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location property: Resource location.Stringname()Get the name property: Resource name.voidvalidate()Validates the instance.
-
-
-
Method Detail
-
name
public String name()
Get the name property: Resource name.- Returns:
- the name value.
-
location
public String location()
Get the location property: Resource location.- Returns:
- the location value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-