共用方式為


DatabaseAccountCreateUpdateParameters Constructors

Definition

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

locations
IList<Location>

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.

kind
String

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.

ipRules
IList<IpAddressOrRange>

List of IpRules.

isVirtualNetworkFilterEnabled
Nullable<Boolean>

Flag to indicate whether to enable/disable Virtual Network ACL rules.

enableAutomaticFailover
Nullable<Boolean>

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.

enableMultipleWriteLocations
Nullable<Boolean>

Enables the account to write in multiple locations

enableCassandraConnector
Nullable<Boolean>

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'

disableKeyBasedMetadataWriteAccess
Nullable<Boolean>

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'

enableFreeTier
Nullable<Boolean>

Flag to indicate whether Free Tier is enabled.

apiProperties
ApiProperties

API specific properties. Currently, supported only for MongoDB API.

enableAnalyticalStorage
Nullable<Boolean>

Flag to indicate whether to enable storage analytics.

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'

networkAclBypassResourceIds
IList<String>

An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.

disableLocalAuth
Nullable<Boolean>

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.

Applies to