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(IList<Location>, String, String, String, String, IDictionary<String,String>, String, ManagedServiceIdentity, ConsistencyPolicy, IList<IpAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, IList<Capability>, IList<VirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, String, String, String, Nullable<Boolean>, ApiProperties, Nullable<Boolean>, AnalyticalStorageConfiguration, String, BackupPolicy, IList<CorsPolicy>, Nullable<NetworkAclBypass>, IList<String>, Nullable<Boolean>, RestoreParameters, Capacity) |
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(IList<Location>, String, String, String, String, IDictionary<String,String>, String, ManagedServiceIdentity, ConsistencyPolicy, IList<IpAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, IList<Capability>, IList<VirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, String, Nullable<Boolean>, String, String, String, Nullable<Boolean>, ApiProperties, Nullable<Boolean>, AnalyticalStorageConfiguration, String, BackupPolicy, IList<CorsPolicy>, Nullable<NetworkAclBypass>, IList<String>, Nullable<Boolean>, RestoreParameters, Capacity)
Initializes a new instance of the DatabaseAccountCreateUpdateParameters class.
public DatabaseAccountCreateUpdateParameters (System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Location> locations, string id = default, string name = default, string type = default, string location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string kind = default, Microsoft.Azure.Management.CosmosDB.Models.ManagedServiceIdentity identity = default, Microsoft.Azure.Management.CosmosDB.Models.ConsistencyPolicy consistencyPolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.IpAddressOrRange> ipRules = default, bool? isVirtualNetworkFilterEnabled = default, bool? enableAutomaticFailover = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Capability> capabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.VirtualNetworkRule> virtualNetworkRules = default, bool? enableMultipleWriteLocations = default, bool? enableCassandraConnector = default, string connectorOffer = default, bool? disableKeyBasedMetadataWriteAccess = default, string keyVaultKeyUri = default, string defaultIdentity = default, string publicNetworkAccess = default, bool? enableFreeTier = default, Microsoft.Azure.Management.CosmosDB.Models.ApiProperties apiProperties = default, bool? enableAnalyticalStorage = default, Microsoft.Azure.Management.CosmosDB.Models.AnalyticalStorageConfiguration analyticalStorageConfiguration = default, string createMode = default, Microsoft.Azure.Management.CosmosDB.Models.BackupPolicy backupPolicy = default, System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.CorsPolicy> cors = default, Microsoft.Azure.Management.CosmosDB.Models.NetworkAclBypass? networkAclBypass = default, System.Collections.Generic.IList<string> networkAclBypassResourceIds = default, bool? disableLocalAuth = default, Microsoft.Azure.Management.CosmosDB.Models.RestoreParameters restoreParameters = default, Microsoft.Azure.Management.CosmosDB.Models.Capacity capacity = default);
new Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountCreateUpdateParameters : System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Location> * string * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.CosmosDB.Models.ManagedServiceIdentity * Microsoft.Azure.Management.CosmosDB.Models.ConsistencyPolicy * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.IpAddressOrRange> * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.Capability> * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.VirtualNetworkRule> * Nullable<bool> * Nullable<bool> * string * Nullable<bool> * string * string * string * Nullable<bool> * Microsoft.Azure.Management.CosmosDB.Models.ApiProperties * Nullable<bool> * Microsoft.Azure.Management.CosmosDB.Models.AnalyticalStorageConfiguration * string * Microsoft.Azure.Management.CosmosDB.Models.BackupPolicy * System.Collections.Generic.IList<Microsoft.Azure.Management.CosmosDB.Models.CorsPolicy> * Nullable<Microsoft.Azure.Management.CosmosDB.Models.NetworkAclBypass> * System.Collections.Generic.IList<string> * Nullable<bool> * Microsoft.Azure.Management.CosmosDB.Models.RestoreParameters * Microsoft.Azure.Management.CosmosDB.Models.Capacity -> Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountCreateUpdateParameters
Public Sub New (locations As IList(Of Location), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional kind As String = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional ipRules As IList(Of IpAddressOrRange) = 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 String = Nothing, Optional disableKeyBasedMetadataWriteAccess As Nullable(Of Boolean) = Nothing, Optional keyVaultKeyUri As String = Nothing, Optional defaultIdentity As String = Nothing, Optional publicNetworkAccess As String = Nothing, Optional enableFreeTier As Nullable(Of Boolean) = Nothing, Optional apiProperties As ApiProperties = Nothing, Optional enableAnalyticalStorage As Nullable(Of Boolean) = Nothing, Optional analyticalStorageConfiguration As AnalyticalStorageConfiguration = Nothing, Optional createMode As String = Nothing, Optional backupPolicy As BackupPolicy = Nothing, Optional cors As IList(Of CorsPolicy) = Nothing, Optional networkAclBypass As Nullable(Of NetworkAclBypass) = Nothing, Optional networkAclBypassResourceIds As IList(Of String) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional restoreParameters As RestoreParameters = Nothing, Optional capacity As Capacity = Nothing)
Parameters
An array that contains the georeplication locations enabled for the Cosmos DB account.
- id
- String
The unique resource identifier of the ARM resource.
- name
- String
The name of the ARM resource.
- type
- String
The type of Azure resource.
- location
- String
The location of the resource group to which the resource belongs.
- tags
- IDictionary<String,String>
- kind
- String
Indicates the type of database account. This can only be set at database account creation. Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'
- identity
- ManagedServiceIdentity
- consistencyPolicy
- ConsistencyPolicy
The consistency policy for the Cosmos DB account.
- ipRules
- IList<IpAddressOrRange>
List of IpRules.
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
- String
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
- defaultIdentity
- String
The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more.
- publicNetworkAccess
- String
Whether requests from Public Network are allowed. Possible values include: 'Enabled', 'Disabled'
- apiProperties
- ApiProperties
API specific properties. Currently, supported only for MongoDB API.
- analyticalStorageConfiguration
- AnalyticalStorageConfiguration
Analytical storage specific properties.
- createMode
- String
Enum to indicate the mode of account creation. Possible values include: 'Default', 'Restore'
- backupPolicy
- BackupPolicy
The object representing the policy for taking backups on an account.
- cors
- IList<CorsPolicy>
The CORS policy for the Cosmos DB database account.
- networkAclBypass
- Nullable<NetworkAclBypass>
Indicates what services are allowed to bypass firewall checks. Possible values include: 'None', 'AzureServices'
An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
- restoreParameters
- RestoreParameters
Parameters to indicate the information about the restore.
- capacity
- Capacity
The object that represents all properties related to capacity enforcement on an account.