你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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()
abstract OffsetDateTime endOfLifeDate()
abstract String id()
abstract Boolean isExcludedFromLatest()
abstract String location()
abstract String name()
abstract String provisioningState()
abstract GalleryImageVersionPublishingProfile publishingProfile()
abstract ReplicationStatus replicationStatus()
abstract GalleryImageVersionStorageProfile storageProfile()
abstract Map<String,String> tags()
abstract String type()

Method Details

availableRegions

public abstract List availableRegions()

Returns:

the regions in which the image version is available.

endOfLifeDate

public abstract OffsetDateTime endOfLifeDate()

Returns:

the date indicating image version's end of life.

id

public abstract String id()

Returns:

the ARM id of the image version.

isExcludedFromLatest

public abstract Boolean isExcludedFromLatest()

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()

Returns:

the default location of the image version.

name

public abstract String name()

Returns:

the image version name.

provisioningState

public abstract String provisioningState()

Returns:

the provisioningState of image version resource.

publishingProfile

public abstract GalleryImageVersionPublishingProfile publishingProfile()

Returns:

the publishingProfile configuration of the image version.

replicationStatus

public abstract ReplicationStatus replicationStatus()

Returns:

the replicationStatus of image version in published regions.

storageProfile

public abstract GalleryImageVersionStorageProfile storageProfile()

Returns:

the image version storageProfile describing OS and data disks.

tags

public abstract Map tags()

Returns:

the tags associated with the image version.

type

public abstract String type()

Returns:

the type.

Applies to