Interface GalleryImageVersion.UpdateStages.WithAvailableRegion
- All Known Subinterfaces:
GalleryImageVersion.Update
- Enclosing interface:
- GalleryImageVersion.UpdateStages
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 TypeMethodDescriptionwithoutRegionAvailability(com.azure.core.management.Region region) Specifies that an image version should be removed from an existing region serving it.withRegionAvailability(com.azure.core.management.Region region, int replicaCount) Specifies a region in which image version needs to be available.withRegionAvailability(List<TargetRegion> regions) Specifies list of regions in which image version needs to be available.
-
Method Details
-
withRegionAvailability
GalleryImageVersion.Update withRegionAvailability(com.azure.core.management.Region region, int replicaCount) Specifies a region in which image version needs to be available.- Parameters:
region- the regionreplicaCount- the replication count- Returns:
- the next update stage
-
withRegionAvailability
Specifies list of regions in which image version needs to be available.- Parameters:
regions- the region list- Returns:
- the next update stage
-
withoutRegionAvailability
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
-