Freigeben über


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 withRegionAvailability(Region region, int replicaCount)

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

abstract Update withRegionAvailability(List<TargetRegion> regions)

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

abstract Update withoutRegionAvailability(Region region)

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

Method Details

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

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

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

Applies to