Class GalleryImageVersionProperties
- java.lang.Object
-
- com.azure.resourcemanager.compute.fluent.models.GalleryImageVersionProperties
-
public final class GalleryImageVersionProperties extends Object
Describes the properties of a gallery image version.
-
-
Constructor Summary
Constructors Constructor Description GalleryImageVersionProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GalleryImageVersionPropertiesProvisioningStateprovisioningState()Get the provisioningState property: The current state of the gallery image version.GalleryImageVersionPublishingProfilepublishingProfile()Get the publishingProfile property: The publishing profile of a gallery image Version.ReplicationStatusreplicationStatus()Get the replicationStatus property: This is the replication status of the gallery image version.GalleryImageVersionStorageProfilestorageProfile()Get the storageProfile property: This is the storage profile of a Gallery Image Version.voidvalidate()Validates the instance.GalleryImageVersionPropertieswithPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)Set the publishingProfile property: The publishing profile of a gallery image Version.GalleryImageVersionPropertieswithStorageProfile(GalleryImageVersionStorageProfile storageProfile)Set the storageProfile property: This is the storage profile of a Gallery Image Version.
-
-
-
Method Detail
-
publishingProfile
public GalleryImageVersionPublishingProfile publishingProfile()
Get the publishingProfile property: The publishing profile of a gallery image Version.- Returns:
- the publishingProfile value.
-
withPublishingProfile
public GalleryImageVersionProperties withPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)
Set the publishingProfile property: The publishing profile of a gallery image Version.- Parameters:
publishingProfile- the publishingProfile value to set.- Returns:
- the GalleryImageVersionProperties object itself.
-
provisioningState
public GalleryImageVersionPropertiesProvisioningState provisioningState()
Get the provisioningState property: The current state of the gallery image version. The provisioning state, which only appears in the response.- Returns:
- the provisioningState value.
-
storageProfile
public GalleryImageVersionStorageProfile storageProfile()
Get the storageProfile property: This is the storage profile of a Gallery Image Version.- Returns:
- the storageProfile value.
-
withStorageProfile
public GalleryImageVersionProperties withStorageProfile(GalleryImageVersionStorageProfile storageProfile)
Set the storageProfile property: This is the storage profile of a Gallery Image Version.- Parameters:
storageProfile- the storageProfile value to set.- Returns:
- the GalleryImageVersionProperties object itself.
-
replicationStatus
public ReplicationStatus replicationStatus()
Get the replicationStatus property: This is the replication status of the gallery image version.- Returns:
- the replicationStatus value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-