Sdílet prostřednictvím


GalleryImageVersion Interface

Implements

public interface GalleryImageVersion
extends HasInnerModel<GalleryImageVersionInner>, Indexable, Refreshable<GalleryImageVersion>, Updatable<Update>, HasManager<ComputeManager>

An immutable client-side representation of an Azure gallery image version.

Method Summary

Modifier and Type Method and Description
abstract List<TargetRegion> availableRegions()

Gets the regions in which the image version is available.

abstract OffsetDateTime endOfLifeDate()

Gets the date indicating image version's end of life.

abstract String id()

Gets the ARM id of the iage version.

abstract Boolean isExcludedFromLatest()

Checks whether the image version is excluded from considering as a candidate when VM is created with 'latest' image version.

abstract String location()

Gets the default location of the image version.

abstract String name()

Gets the image version name.

abstract String provisioningState()

Gets the provisioningState of image version resource.

abstract GalleryImageVersionPublishingProfile publishingProfile()

Gets the publishingProfile configuration of the image version.

abstract ReplicationStatus replicationStatus()

Gets the replicationStatus of image version in published regions.

abstract GalleryImageVersionStorageProfile storageProfile()

Gets the image version storageProfile describing OS and data disks.

abstract Map<String,String> tags()

Gets the tags associated with the image version.

abstract String type()

Gets the type.

Method Details

availableRegions

public abstract List availableRegions()

Gets the regions in which the image version is available.

Returns:

the regions in which the image version is available.

endOfLifeDate

public abstract OffsetDateTime endOfLifeDate()

Gets the date indicating image version's end of life.

Returns:

the date indicating image version's end of life.

id

public abstract String id()

Gets the ARM id of the iage version.

Returns:

the ARM id of the image version.

isExcludedFromLatest

public abstract Boolean isExcludedFromLatest()

Checks whether the image version is excluded from considering as a candidate when VM is created with 'latest' image version.

Returns:

true if the image version is excluded from considering as a candidate when VM is created with 'latest' image version, false otherwise.

location

public abstract String location()

Gets the default location of the image version.

Returns:

the default location of the image version.

name

public abstract String name()

Gets the image version name.

Returns:

the image version name.

provisioningState

public abstract String provisioningState()

Gets the provisioningState of image version resource.

Returns:

the provisioningState of image version resource.

publishingProfile

public abstract GalleryImageVersionPublishingProfile publishingProfile()

Gets the publishingProfile configuration of the image version.

Returns:

the publishingProfile configuration of the image version.

replicationStatus

public abstract ReplicationStatus replicationStatus()

Gets the replicationStatus of image version in published regions.

Returns:

the replicationStatus of image version in published regions.

storageProfile

public abstract GalleryImageVersionStorageProfile storageProfile()

Gets the image version storageProfile describing OS and data disks.

Returns:

the image version storageProfile describing OS and data disks.

tags

public abstract Map tags()

Gets the tags associated with the image version.

Returns:

the tags associated with the image version.

type

public abstract String type()

Gets the type.

Returns:

the type.

Applies to