DatabaseAccountCreateUpdateParameters Constructors
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
DatabaseAccountCreateUpdateParameters() |
Initializes a new instance of the DatabaseAccountCreateUpdateParameters class. |
DatabaseAccountCreateUpdateParameters(String, IList<Location>, String, String, String, IDictionary<String,String>, DatabaseAccountKind, ConsistencyPolicy, String, Nullable<Boolean>, Nullable<Boolean>, IList<Capability>, IList<VirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, ConnectorOffer, Nullable<Boolean>, String) |
Initializes a new instance of the DatabaseAccountCreateUpdateParameters class. |
DatabaseAccountCreateUpdateParameters()
Initializes a new instance of the DatabaseAccountCreateUpdateParameters class.
public DatabaseAccountCreateUpdateParameters ();
Public Sub New ()
Applies to
DatabaseAccountCreateUpdateParameters(String, IList<Location>, String, String, String, IDictionary<String,String>, DatabaseAccountKind, ConsistencyPolicy, String, Nullable<Boolean>, Nullable<Boolean>, IList<Capability>, IList<VirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, ConnectorOffer, Nullable<Boolean>, String)
Initializes a new instance of the DatabaseAccountCreateUpdateParameters class.
public DatabaseAccountCreateUpdateParameters (string location, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.Location> locations, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.DatabaseAccountKind kind = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.ConsistencyPolicy consistencyPolicy = default, string ipRangeFilter = default, bool? isVirtualNetworkFilterEnabled = default, bool? enableAutomaticFailover = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.Capability> capabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.VirtualNetworkRule> virtualNetworkRules = default, bool? enableMultipleWriteLocations = default, bool? enableCassandraConnector = default, Microsoft.Azure.Management.CosmosDB.Fluent.Models.ConnectorOffer connectorOffer = default, bool? disableKeyBasedMetadataWriteAccess = default, string keyVaultKeyUri = default);
new Microsoft.Azure.Management.CosmosDB.Fluent.Models.DatabaseAccountCreateUpdateParameters : string * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.Location> * string * string * string * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.DatabaseAccountKind * Microsoft.Azure.Management.CosmosDB.Fluent.Models.ConsistencyPolicy * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.Capability> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Fluent.Models.VirtualNetworkRule> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.CosmosDB.Fluent.Models.ConnectorOffer * Nullable<bool> * string -> Microsoft.Azure.Management.CosmosDB.Fluent.Models.DatabaseAccountCreateUpdateParameters
Public Sub New (location As String, locations As IList(Of Location), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As DatabaseAccountKind = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional ipRangeFilter As String = Nothing, Optional isVirtualNetworkFilterEnabled As Nullable(Of Boolean) = Nothing, Optional enableAutomaticFailover As Nullable(Of Boolean) = Nothing, Optional capabilities As IList(Of Capability) = Nothing, Optional virtualNetworkRules As IList(Of VirtualNetworkRule) = Nothing, Optional enableMultipleWriteLocations As Nullable(Of Boolean) = Nothing, Optional enableCassandraConnector As Nullable(Of Boolean) = Nothing, Optional connectorOffer As ConnectorOffer = Nothing, Optional disableKeyBasedMetadataWriteAccess As Nullable(Of Boolean) = Nothing, Optional keyVaultKeyUri As String = Nothing)
Parameters
- location
- String
An array that contains the georeplication locations enabled for the Cosmos DB account.
- id
- String
- name
- String
- type
- String
- tags
- IDictionary<String,String>
- kind
- DatabaseAccountKind
Indicates the type of database account. This can only be set at database account creation. Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'
- consistencyPolicy
- ConsistencyPolicy
The consistency policy for the Cosmos DB account.
- ipRangeFilter
- String
Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
Flag to indicate whether to enable/disable Virtual Network ACL rules.
Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a new write region for the account and is chosen based on the failover priorities configured for the account.
- capabilities
- IList<Capability>
List of Cosmos DB capabilities for the account
- virtualNetworkRules
- IList<VirtualNetworkRule>
List of Virtual Network ACL rules configured for the Cosmos DB account.
Enables the cassandra connector on the Cosmos DB C* account
- connectorOffer
- ConnectorOffer
The cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
Disable write operations on metadata resources (databases, containers, throughput) via account keys
- keyVaultKeyUri
- String
The URI of the key vault