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:
Returns:
withRegionAvailability
public abstract GalleryImageVersion.Update withRegionAvailability(List<TargetRegion> regions)
Specifies list of regions in which image version needs to be available.
Parameters:
Returns:
withRegionAvailability
public abstract GalleryImageVersion.Update withRegionAvailability(Region region, int replicaCount)
Specifies a region in which image version needs to be available.
Parameters:
Returns: