GalleryArtifactVersionFullSource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. GalleryArtifactVersionSource - com.
azure. resourcemanager. compute. models. GalleryArtifactVersionFullSource
- com.
- com.
public final class GalleryArtifactVersionFullSource
extends GalleryArtifactVersionSource
The source of the gallery artifact version.
Constructor Summary
Constructor | Description |
---|---|
GalleryArtifactVersionFullSource() |
Creates an instance of Gallery |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
communityGalleryImageId()
Get the community |
static
Gallery |
fromJson(JsonReader jsonReader)
Reads an instance of Gallery |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
String |
virtualMachineId()
Get the virtual |
Gallery |
withCommunityGalleryImageId(String communityGalleryImageId)
Set the community |
Gallery |
withId(String id)
Set the id property: The id of the gallery artifact version source. |
Gallery |
withVirtualMachineId(String virtualMachineId)
Set the virtual |
Methods inherited from GalleryArtifactVersionSource
Methods inherited from java.lang.Object
Constructor Details
GalleryArtifactVersionFullSource
public GalleryArtifactVersionFullSource()
Creates an instance of GalleryArtifactVersionFullSource class.
Method Details
communityGalleryImageId
public String 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:
fromJson
public static GalleryArtifactVersionFullSource fromJson(JsonReader jsonReader)
Reads an instance of GalleryArtifactVersionFullSource from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GalleryArtifactVersionFullSource.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
GalleryArtifactVersionFullSource.validate()virtualMachineId
public String virtualMachineId()
Get the virtualMachineId property: The resource Id of the source virtual machine. Only required when capturing a virtual machine to source this Gallery Image Version.
Returns:
withCommunityGalleryImageId
public GalleryArtifactVersionFullSource withCommunityGalleryImageId(String communityGalleryImageId)
Set the communityGalleryImageId property: The resource Id of the source Community Gallery Image. Only required when using Community Gallery Image as a source.
Parameters:
Returns:
withId
public GalleryArtifactVersionFullSource withId(String id)
Set the id property: The id of the gallery artifact version source.
Overrides:
GalleryArtifactVersionFullSource.withId(String id)Parameters:
withVirtualMachineId
public GalleryArtifactVersionFullSource withVirtualMachineId(String virtualMachineId)
Set the virtualMachineId property: The resource Id of the source virtual machine. Only required when capturing a virtual machine to source this Gallery Image Version.
Parameters:
Returns:
Applies to
Azure SDK for Java