Class GalleryArtifactVersionSource
java.lang.Object
com.azure.resourcemanager.compute.models.GalleryArtifactVersionSource
- Direct Known Subclasses:
GalleryArtifactVersionFullSource,GalleryDiskImageSource
The gallery artifact version source.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GalleryArtifactVersionSource class. -
Method Summary
-
Constructor Details
-
GalleryArtifactVersionSource
public GalleryArtifactVersionSource()Creates an instance of GalleryArtifactVersionSource class.
-
-
Method Details
-
id
Get the id property: The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.- Returns:
- the id value.
-
withId
Set the id property: The id of the gallery artifact version source. Can specify a disk uri, snapshot uri, user image or storage account resource.- Parameters:
id- the id value to set.- Returns:
- the GalleryArtifactVersionSource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-