Class GalleryImageVersionInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.compute.fluent.models.GalleryImageVersionInner
-
public final class GalleryImageVersionInner extends com.azure.core.management.ResourceSpecifies information about the gallery image version that you want to create or update.
-
-
Constructor Summary
Constructors Constructor Description GalleryImageVersionInner()
-
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.GalleryImageVersionInnerwithLocation(String location)GalleryImageVersionInnerwithPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)Set the publishingProfile property: The publishing profile of a gallery image Version.GalleryImageVersionInnerwithStorageProfile(GalleryImageVersionStorageProfile storageProfile)Set the storageProfile property: This is the storage profile of a Gallery Image Version.GalleryImageVersionInnerwithTags(Map<String,String> tags)
-
-
-
Method Detail
-
withLocation
public GalleryImageVersionInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public GalleryImageVersionInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
publishingProfile
public GalleryImageVersionPublishingProfile publishingProfile()
Get the publishingProfile property: The publishing profile of a gallery image Version.- Returns:
- the publishingProfile value.
-
withPublishingProfile
public GalleryImageVersionInner withPublishingProfile(GalleryImageVersionPublishingProfile publishingProfile)
Set the publishingProfile property: The publishing profile of a gallery image Version.- Parameters:
publishingProfile- the publishingProfile value to set.- Returns:
- the GalleryImageVersionInner 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 GalleryImageVersionInner 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 GalleryImageVersionInner 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.
-
-