ArmCosmosDBModelFactory.CosmosDBLocationProperties 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.
Overloads
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
- 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
Flag indicating whether the location supports availability zones or not.
Flag indicating whether the location is residency sensitive.
- backupStorageRedundancies
- IEnumerable<CosmosDBBackupStorageRedundancy>
The properties of available backup storage redundancies.
Flag indicating whether the subscription have access in region for Non-Availability Zones.
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
Azure SDK for .NET