| Modifier and Type | Method and Description |
|---|---|
TargetRegion |
TargetRegion.withName(String name)
Set the name of the region.
|
TargetRegion |
TargetRegion.withRegionalReplicaCount(Integer regionalReplicaCount)
Set the number of replicas of the Image Version to be created per region.
|
| Modifier and Type | Method and Description |
|---|---|
List<TargetRegion> |
GalleryImageVersion.availableRegions() |
List<TargetRegion> |
GalleryArtifactPublishingProfileBase.targetRegions()
Get the target regions where the Image Version is going to be replicated to.
|
| Modifier and Type | Method and Description |
|---|---|
GalleryImageVersion.DefinitionStages.WithCreate |
GalleryImageVersion.DefinitionStages.WithAvailableRegion.withRegionAvailability(List<TargetRegion> regions)
Specifies list of regions in which image version needs to be available.
|
GalleryImageVersion.Update |
GalleryImageVersion.UpdateStages.WithAvailableRegion.withRegionAvailability(List<TargetRegion> regions)
Specifies list of regions in which image version needs to be available.
|
GalleryArtifactPublishingProfileBase |
GalleryArtifactPublishingProfileBase.withTargetRegions(List<TargetRegion> targetRegions)
Set the target regions where the Image Version is going to be replicated to.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/