ArmComputeModelFactory.TargetRegion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
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.