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

GalleryImageVersion.UpdateStages.WithAvailableRegion Interface

public static interface GalleryImageVersion.UpdateStages.WithAvailableRegion

The stage of image version update allowing to specify the regions in which the image version has to be available.

Method Summary

Modifier and Type Method and Description
abstract Update withoutRegionAvailability(Region region)

Specifies that an image version should be removed from an existing region serving it.

abstract Update withRegionAvailability(List<TargetRegion> regions)

Specifies list of regions in which image version needs to be available.

abstract Update withRegionAvailability(Region region, int replicaCount)

Specifies a region in which image version needs to be available.

Method Details

withoutRegionAvailability

public abstract GalleryImageVersion.Update withoutRegionAvailability(Region region)

Specifies that an image version should be removed from an existing region serving it.

Removing region would set safetyProfile.allowDeletionOfReplicatedLocations to true.

Parameters:

region - the region

Returns:

the next update stage

withRegionAvailability

public abstract GalleryImageVersion.Update withRegionAvailability(List regions)

Specifies list of regions in which image version needs to be available.

Parameters:

regions - the region list

Returns:

the next update stage

withRegionAvailability

public abstract GalleryImageVersion.Update withRegionAvailability(Region region, int replicaCount)

Specifies a region in which image version needs to be available.

Parameters:

region - the region
replicaCount - the replication count

Returns:

the next update stage

Applies to