Delen via


TargetRegion Constructors

Definition

Overloads

TargetRegion()

Initializes a new instance of the TargetRegion class.

TargetRegion(String, Nullable<Int32>, String, EncryptionImages, Nullable<Boolean>)

Initializes a new instance of the TargetRegion class.

TargetRegion()

Initializes a new instance of the TargetRegion class.

public TargetRegion ();
Public Sub New ()

Applies to

TargetRegion(String, Nullable<Int32>, String, EncryptionImages, Nullable<Boolean>)

Initializes a new instance of the TargetRegion class.

public TargetRegion (string name, int? regionalReplicaCount = default, string storageAccountType = default, Microsoft.Azure.Management.Compute.Models.EncryptionImages encryption = default, bool? excludeFromLatest = default);
new Microsoft.Azure.Management.Compute.Models.TargetRegion : string * Nullable<int> * string * Microsoft.Azure.Management.Compute.Models.EncryptionImages * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.TargetRegion
Public Sub New (name As String, Optional regionalReplicaCount As Nullable(Of Integer) = Nothing, Optional storageAccountType As String = Nothing, Optional encryption As EncryptionImages = Nothing, Optional excludeFromLatest As Nullable(Of Boolean) = Nothing)

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
String

Specifies the storage account type to be used to store the image. This property is not updatable. Possible values include: 'Standard_LRS', 'Standard_ZRS', 'Premium_LRS'

encryption
EncryptionImages
excludeFromLatest
Nullable<Boolean>

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

Applies to