Class GalleryArtifactVersionFullSource
java.lang.Object
com.azure.resourcemanager.compute.models.GalleryArtifactVersionSource
com.azure.resourcemanager.compute.models.GalleryArtifactVersionFullSource
The source of the gallery artifact version.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of GalleryArtifactVersionFullSource class. -
Method Summary
Modifier and TypeMethodDescriptionGet the communityGalleryImageId property: The resource Id of the source Community Gallery Image.voidvalidate()Validates the instance.withCommunityGalleryImageId(String communityGalleryImageId) Set the communityGalleryImageId property: The resource Id of the source Community Gallery Image.Set the id property: The id of the gallery artifact version source.Methods inherited from class com.azure.resourcemanager.compute.models.GalleryArtifactVersionSource
id
-
Constructor Details
-
GalleryArtifactVersionFullSource
public GalleryArtifactVersionFullSource()Creates an instance of GalleryArtifactVersionFullSource class.
-
-
Method Details
-
communityGalleryImageId
Get the communityGalleryImageId property: The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.- Returns:
- the communityGalleryImageId value.
-
withCommunityGalleryImageId
Set the communityGalleryImageId property: The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.- Parameters:
communityGalleryImageId- the communityGalleryImageId value to set.- Returns:
- the GalleryArtifactVersionFullSource object itself.
-
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.- Overrides:
withIdin classGalleryArtifactVersionSource- Parameters:
id- the id value to set.- Returns:
- the GalleryArtifactVersionSource object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classGalleryArtifactVersionSource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-