ArmComputeModelFactory.TargetRegion Method

Definition

public static Azure.ResourceManager.Compute.Models.TargetRegion TargetRegion(string name = default, int? regionalReplicaCount = default, Azure.ResourceManager.Compute.Models.ImageStorageAccountType? storageAccountType = default, Azure.ResourceManager.Compute.Models.EncryptionImages encryption = default, bool? isExcludedFromLatest = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.AdditionalReplicaSet> additionalReplicaSets = default);
static member TargetRegion : string * Nullable<int> * Nullable<Azure.ResourceManager.Compute.Models.ImageStorageAccountType> * Azure.ResourceManager.Compute.Models.EncryptionImages * Nullable<bool> * seq<Azure.ResourceManager.Compute.Models.AdditionalReplicaSet> -> Azure.ResourceManager.Compute.Models.TargetRegion
Public Shared Function TargetRegion (Optional name As String = Nothing, Optional regionalReplicaCount As Nullable(Of Integer) = Nothing, Optional storageAccountType As Nullable(Of ImageStorageAccountType) = Nothing, Optional encryption As EncryptionImages = Nothing, Optional isExcludedFromLatest As Nullable(Of Boolean) = Nothing, Optional additionalReplicaSets As IEnumerable(Of AdditionalReplicaSet) = Nothing) As TargetRegion

Parameters

name
String

The name of the region.

regionalReplicaCount
Nullable<Int32>

The number of replicas of the Image Version to be created per region. This property is updatable.

storageAccountType
Nullable<ImageStorageAccountType>

Specifies the storage account type to be used to store the image. This property is not updatable.

encryption
EncryptionImages

Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.

isExcludedFromLatest
Nullable<Boolean>

Contains the flag setting to hide an image when users specify version='latest'.

additionalReplicaSets
IEnumerable<AdditionalReplicaSet>

List of storage sku with replica count to create direct drive replicas.

Returns

A new TargetRegion instance for mocking.

Applies to