Delen via


ArmCosmosDBModelFactory.CosmosDBLocationProperties Method

Definition

Overloads

CosmosDBLocationProperties(Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBBackupStorageRedundancy>)
CosmosDBLocationProperties(Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBBackupStorageRedundancy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CosmosDBStatus>)

Initializes a new instance of CosmosDBLocationProperties.

CosmosDBLocationProperties(Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBBackupStorageRedundancy>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBLocationProperties CosmosDBLocationProperties (bool? doesSupportAvailabilityZone = default, bool? isResidencyRestricted = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupStorageRedundancy> backupStorageRedundancies = default);
static member CosmosDBLocationProperties : Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupStorageRedundancy> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBLocationProperties
Public Shared Function CosmosDBLocationProperties (Optional doesSupportAvailabilityZone As Nullable(Of Boolean) = Nothing, Optional isResidencyRestricted As Nullable(Of Boolean) = Nothing, Optional backupStorageRedundancies As IEnumerable(Of CosmosDBBackupStorageRedundancy) = Nothing) As CosmosDBLocationProperties

Parameters

doesSupportAvailabilityZone
Nullable<Boolean>
isResidencyRestricted
Nullable<Boolean>
backupStorageRedundancies
IEnumerable<CosmosDBBackupStorageRedundancy>

Returns

Applies to

CosmosDBLocationProperties(Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBBackupStorageRedundancy>, Nullable<Boolean>, Nullable<Boolean>, Nullable<CosmosDBStatus>)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of CosmosDBLocationProperties.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBLocationProperties CosmosDBLocationProperties (bool? doesSupportAvailabilityZone = default, bool? isResidencyRestricted = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupStorageRedundancy> backupStorageRedundancies = default, bool? isSubscriptionRegionAccessAllowedForRegular = default, bool? isSubscriptionRegionAccessAllowedForAz = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBStatus? status = default);
static member CosmosDBLocationProperties : Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBBackupStorageRedundancy> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBStatus> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBLocationProperties
Public Shared Function CosmosDBLocationProperties (Optional doesSupportAvailabilityZone As Nullable(Of Boolean) = Nothing, Optional isResidencyRestricted As Nullable(Of Boolean) = Nothing, Optional backupStorageRedundancies As IEnumerable(Of CosmosDBBackupStorageRedundancy) = Nothing, Optional isSubscriptionRegionAccessAllowedForRegular As Nullable(Of Boolean) = Nothing, Optional isSubscriptionRegionAccessAllowedForAz As Nullable(Of Boolean) = Nothing, Optional status As Nullable(Of CosmosDBStatus) = Nothing) As CosmosDBLocationProperties

Parameters

doesSupportAvailabilityZone
Nullable<Boolean>

Flag indicating whether the location supports availability zones or not.

isResidencyRestricted
Nullable<Boolean>

Flag indicating whether the location is residency sensitive.

backupStorageRedundancies
IEnumerable<CosmosDBBackupStorageRedundancy>

The properties of available backup storage redundancies.

isSubscriptionRegionAccessAllowedForRegular
Nullable<Boolean>

Flag indicating whether the subscription have access in region for Non-Availability Zones.

isSubscriptionRegionAccessAllowedForAz
Nullable<Boolean>

Flag indicating whether the subscription have access in region for Availability Zones(Az).

status
Nullable<CosmosDBStatus>

Enum to indicate current buildout status of the region.

Returns

A new CosmosDBLocationProperties instance for mocking.

Applies to