Delen via


DatabaseAccountUpdateParameters Constructors

Definition

Overloads

DatabaseAccountUpdateParameters()

Initializes a new instance of the DatabaseAccountUpdateParameters class.

DatabaseAccountUpdateParameters(IDictionary<String,String>, String, ManagedServiceIdentity, ConsistencyPolicy, IList<Location>, 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, BackupPolicy, IList<CorsPolicy>, Nullable<NetworkAclBypass>, IList<String>, Nullable<Boolean>, Capacity)

Initializes a new instance of the DatabaseAccountUpdateParameters class.

DatabaseAccountUpdateParameters()

Initializes a new instance of the DatabaseAccountUpdateParameters class.

public DatabaseAccountUpdateParameters ();
Public Sub New ()

Applies to

DatabaseAccountUpdateParameters(IDictionary<String,String>, String, ManagedServiceIdentity, ConsistencyPolicy, IList<Location>, 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, BackupPolicy, IList<CorsPolicy>, Nullable<NetworkAclBypass>, IList<String>, Nullable<Boolean>, Capacity)

Initializes a new instance of the DatabaseAccountUpdateParameters class.

public DatabaseAccountUpdateParameters (System.Collections.Generic.IDictionary<string,string> tags = default, string location = 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.Location> locations = 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, 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.Capacity capacity = default);
new Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountUpdateParameters : 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.Location> * 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 * 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.Capacity -> Microsoft.Azure.Management.CosmosDB.Models.DatabaseAccountUpdateParameters
Public Sub New (Optional tags As IDictionary(Of String, String) = Nothing, Optional location As String = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional locations As IList(Of Location) = 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 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 capacity As Capacity = Nothing)

Parameters

location
String

The location of the resource group to which the resource belongs.

consistencyPolicy
ConsistencyPolicy

The consistency policy for the Cosmos DB account.

locations
IList<Location>

An array that contains the georeplication locations enabled 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.

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.

capacity
Capacity

The object that represents all properties related to capacity enforcement on an account.

Applies to