Compartilhar via


ArmCosmosDBModelFactory.CosmosDBAccountCreateOrUpdateContent Method

Definition

Overloads

CosmosDBAccountCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, ManagedServiceIdentity, ConsistencyPolicy, IEnumerable<CosmosDBAccountLocation>, CosmosDBAccountOfferType, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBVirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<Boolean>, CosmosDBAccountRestoreParameters, Nullable<Int32>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>)
CosmosDBAccountCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, ConsistencyPolicy, IEnumerable<CosmosDBAccountLocation>, CosmosDBAccountOfferType, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBVirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<EnableFullTextQuery>, Nullable<Boolean>, CosmosDBAccountRestoreParameters, Nullable<Int32>, Nullable<CapacityMode>, Nullable<Boolean>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>, String, Nullable<Boolean>, Nullable<DefaultPriorityLevel>, Nullable<Boolean>, ManagedServiceIdentity)

Initializes a new instance of CosmosDBAccountCreateOrUpdateContent.

CosmosDBAccountCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, ManagedServiceIdentity, ConsistencyPolicy, IEnumerable<CosmosDBAccountLocation>, CosmosDBAccountOfferType, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBVirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<Boolean>, CosmosDBAccountRestoreParameters, Nullable<Int32>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>)

Source:
ArmCosmosDBModelFactory.cs
public static Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent CosmosDBAccountCreateOrUpdateContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind? kind = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy consistencyPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> locations = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType databaseAccountOfferType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> ipRules = default, bool? isVirtualNetworkFilterEnabled = default, bool? enableAutomaticFailover = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> virtualNetworkRules = default, bool? enableMultipleWriteLocations = default, bool? enableCassandraConnector = default, Azure.ResourceManager.CosmosDB.Models.ConnectorOffer? connectorOffer = default, bool? disableKeyBasedMetadataWriteAccess = default, Uri keyVaultKeyUri = default, string defaultIdentity = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess? publicNetworkAccess = default, bool? isFreeTierEnabled = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion? apiServerVersion = default, bool? isAnalyticalStorageEnabled = default, Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType? analyticalStorageSchemaType = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy backupPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> cors = default, Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass? networkAclBypass = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> networkAclBypassResourceIds = default, bool? disableLocalAuth = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters restoreParameters = default, int? capacityTotalThroughputLimit = default, Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata keysMetadata = default, bool? enablePartitionMerge = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion? minimalTlsVersion = default);
static member CosmosDBAccountCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.ConnectorOffer> * Nullable<bool> * Uri * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> * Nullable<Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass> * seq<Azure.Core.ResourceIdentifier> * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters * Nullable<int> * Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion> -> Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent
Public Shared Function CosmosDBAccountCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As Nullable(Of CosmosDBAccountKind) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional locations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional databaseAccountOfferType As CosmosDBAccountOfferType = Nothing, Optional ipRules As IEnumerable(Of CosmosDBIPAddressOrRange) = Nothing, Optional isVirtualNetworkFilterEnabled As Nullable(Of Boolean) = Nothing, Optional enableAutomaticFailover As Nullable(Of Boolean) = Nothing, Optional capabilities As IEnumerable(Of CosmosDBAccountCapability) = Nothing, Optional virtualNetworkRules As IEnumerable(Of CosmosDBVirtualNetworkRule) = Nothing, Optional enableMultipleWriteLocations As Nullable(Of Boolean) = Nothing, Optional enableCassandraConnector As Nullable(Of Boolean) = Nothing, Optional connectorOffer As Nullable(Of ConnectorOffer) = Nothing, Optional disableKeyBasedMetadataWriteAccess As Nullable(Of Boolean) = Nothing, Optional keyVaultKeyUri As Uri = Nothing, Optional defaultIdentity As String = Nothing, Optional publicNetworkAccess As Nullable(Of CosmosDBPublicNetworkAccess) = Nothing, Optional isFreeTierEnabled As Nullable(Of Boolean) = Nothing, Optional apiServerVersion As Nullable(Of CosmosDBServerVersion) = Nothing, Optional isAnalyticalStorageEnabled As Nullable(Of Boolean) = Nothing, Optional analyticalStorageSchemaType As Nullable(Of AnalyticalStorageSchemaType) = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional backupPolicy As CosmosDBAccountBackupPolicy = Nothing, Optional cors As IEnumerable(Of CosmosDBAccountCorsPolicy) = Nothing, Optional networkAclBypass As Nullable(Of NetworkAclBypass) = Nothing, Optional networkAclBypassResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional restoreParameters As CosmosDBAccountRestoreParameters = Nothing, Optional capacityTotalThroughputLimit As Nullable(Of Integer) = Nothing, Optional keysMetadata As DatabaseAccountKeysMetadata = Nothing, Optional enablePartitionMerge As Nullable(Of Boolean) = Nothing, Optional minimalTlsVersion As Nullable(Of CosmosDBMinimalTlsVersion) = Nothing) As CosmosDBAccountCreateOrUpdateContent

Parameters

name
String
resourceType
ResourceType
systemData
SystemData
location
AzureLocation
consistencyPolicy
ConsistencyPolicy
databaseAccountOfferType
CosmosDBAccountOfferType
isVirtualNetworkFilterEnabled
Nullable<Boolean>
enableAutomaticFailover
Nullable<Boolean>
enableMultipleWriteLocations
Nullable<Boolean>
enableCassandraConnector
Nullable<Boolean>
connectorOffer
Nullable<ConnectorOffer>
disableKeyBasedMetadataWriteAccess
Nullable<Boolean>
keyVaultKeyUri
Uri
defaultIdentity
String
publicNetworkAccess
Nullable<CosmosDBPublicNetworkAccess>
isFreeTierEnabled
Nullable<Boolean>
apiServerVersion
Nullable<CosmosDBServerVersion>
isAnalyticalStorageEnabled
Nullable<Boolean>
analyticalStorageSchemaType
Nullable<AnalyticalStorageSchemaType>
networkAclBypass
Nullable<NetworkAclBypass>
networkAclBypassResourceIds
IEnumerable<ResourceIdentifier>
disableLocalAuth
Nullable<Boolean>
capacityTotalThroughputLimit
Nullable<Int32>
enablePartitionMerge
Nullable<Boolean>
minimalTlsVersion
Nullable<CosmosDBMinimalTlsVersion>

Returns

Applies to

CosmosDBAccountCreateOrUpdateContent(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, Nullable<CosmosDBAccountKind>, ConsistencyPolicy, IEnumerable<CosmosDBAccountLocation>, CosmosDBAccountOfferType, IEnumerable<CosmosDBIPAddressOrRange>, Nullable<Boolean>, Nullable<Boolean>, IEnumerable<CosmosDBAccountCapability>, IEnumerable<CosmosDBVirtualNetworkRule>, Nullable<Boolean>, Nullable<Boolean>, Nullable<ConnectorOffer>, Nullable<Boolean>, Uri, String, Nullable<CosmosDBPublicNetworkAccess>, Nullable<Boolean>, Nullable<CosmosDBServerVersion>, Nullable<Boolean>, Nullable<AnalyticalStorageSchemaType>, Nullable<CosmosDBAccountCreateMode>, CosmosDBAccountBackupPolicy, IEnumerable<CosmosDBAccountCorsPolicy>, Nullable<NetworkAclBypass>, IEnumerable<ResourceIdentifier>, Nullable<EnableFullTextQuery>, Nullable<Boolean>, CosmosDBAccountRestoreParameters, Nullable<Int32>, Nullable<CapacityMode>, Nullable<Boolean>, DatabaseAccountKeysMetadata, Nullable<Boolean>, Nullable<Boolean>, Nullable<CosmosDBMinimalTlsVersion>, String, Nullable<Boolean>, Nullable<DefaultPriorityLevel>, Nullable<Boolean>, ManagedServiceIdentity)

Source:
ArmCosmosDBModelFactory.cs

Initializes a new instance of CosmosDBAccountCreateOrUpdateContent.

public static Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent CosmosDBAccountCreateOrUpdateContent (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind? kind = default, Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy consistencyPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> locations = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType databaseAccountOfferType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> ipRules = default, bool? isVirtualNetworkFilterEnabled = default, bool? enableAutomaticFailover = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> capabilities = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> virtualNetworkRules = default, bool? enableMultipleWriteLocations = default, bool? enableCassandraConnector = default, Azure.ResourceManager.CosmosDB.Models.ConnectorOffer? connectorOffer = default, bool? disableKeyBasedMetadataWriteAccess = default, Uri keyVaultKeyUri = default, string defaultIdentity = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess? publicNetworkAccess = default, bool? isFreeTierEnabled = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion? apiServerVersion = default, bool? isAnalyticalStorageEnabled = default, Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType? analyticalStorageSchemaType = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode? createMode = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy backupPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> cors = default, Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass? networkAclBypass = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> networkAclBypassResourceIds = default, Azure.ResourceManager.CosmosDB.Models.EnableFullTextQuery? diagnosticLogEnableFullTextQuery = default, bool? disableLocalAuth = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters restoreParameters = default, int? capacityTotalThroughputLimit = default, Azure.ResourceManager.CosmosDB.Models.CapacityMode? capacityMode = default, bool? enableMaterializedViews = default, Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata keysMetadata = default, bool? enablePartitionMerge = default, bool? enableBurstCapacity = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion? minimalTlsVersion = default, string customerManagedKeyStatus = default, bool? enablePriorityBasedExecution = default, Azure.ResourceManager.CosmosDB.Models.DefaultPriorityLevel? defaultPriorityLevel = default, bool? enablePerRegionPerPartitionAutoscale = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default);
static member CosmosDBAccountCreateOrUpdateContent : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountKind> * Azure.ResourceManager.CosmosDB.Models.ConsistencyPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountLocation> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountOfferType * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBIPAddressOrRange> * Nullable<bool> * Nullable<bool> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCapability> * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBVirtualNetworkRule> * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.ConnectorOffer> * Nullable<bool> * Uri * string * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBPublicNetworkAccess> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServerVersion> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.AnalyticalStorageSchemaType> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateMode> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountBackupPolicy * seq<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCorsPolicy> * Nullable<Azure.ResourceManager.CosmosDB.Models.NetworkAclBypass> * seq<Azure.Core.ResourceIdentifier> * Nullable<Azure.ResourceManager.CosmosDB.Models.EnableFullTextQuery> * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountRestoreParameters * Nullable<int> * Nullable<Azure.ResourceManager.CosmosDB.Models.CapacityMode> * Nullable<bool> * Azure.ResourceManager.CosmosDB.Models.DatabaseAccountKeysMetadata * Nullable<bool> * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBMinimalTlsVersion> * string * Nullable<bool> * Nullable<Azure.ResourceManager.CosmosDB.Models.DefaultPriorityLevel> * Nullable<bool> * Azure.ResourceManager.Models.ManagedServiceIdentity -> Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent
Public Shared Function CosmosDBAccountCreateOrUpdateContent (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional kind As Nullable(Of CosmosDBAccountKind) = Nothing, Optional consistencyPolicy As ConsistencyPolicy = Nothing, Optional locations As IEnumerable(Of CosmosDBAccountLocation) = Nothing, Optional databaseAccountOfferType As CosmosDBAccountOfferType = Nothing, Optional ipRules As IEnumerable(Of CosmosDBIPAddressOrRange) = Nothing, Optional isVirtualNetworkFilterEnabled As Nullable(Of Boolean) = Nothing, Optional enableAutomaticFailover As Nullable(Of Boolean) = Nothing, Optional capabilities As IEnumerable(Of CosmosDBAccountCapability) = Nothing, Optional virtualNetworkRules As IEnumerable(Of CosmosDBVirtualNetworkRule) = Nothing, Optional enableMultipleWriteLocations As Nullable(Of Boolean) = Nothing, Optional enableCassandraConnector As Nullable(Of Boolean) = Nothing, Optional connectorOffer As Nullable(Of ConnectorOffer) = Nothing, Optional disableKeyBasedMetadataWriteAccess As Nullable(Of Boolean) = Nothing, Optional keyVaultKeyUri As Uri = Nothing, Optional defaultIdentity As String = Nothing, Optional publicNetworkAccess As Nullable(Of CosmosDBPublicNetworkAccess) = Nothing, Optional isFreeTierEnabled As Nullable(Of Boolean) = Nothing, Optional apiServerVersion As Nullable(Of CosmosDBServerVersion) = Nothing, Optional isAnalyticalStorageEnabled As Nullable(Of Boolean) = Nothing, Optional analyticalStorageSchemaType As Nullable(Of AnalyticalStorageSchemaType) = Nothing, Optional createMode As Nullable(Of CosmosDBAccountCreateMode) = Nothing, Optional backupPolicy As CosmosDBAccountBackupPolicy = Nothing, Optional cors As IEnumerable(Of CosmosDBAccountCorsPolicy) = Nothing, Optional networkAclBypass As Nullable(Of NetworkAclBypass) = Nothing, Optional networkAclBypassResourceIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional diagnosticLogEnableFullTextQuery As Nullable(Of EnableFullTextQuery) = Nothing, Optional disableLocalAuth As Nullable(Of Boolean) = Nothing, Optional restoreParameters As CosmosDBAccountRestoreParameters = Nothing, Optional capacityTotalThroughputLimit As Nullable(Of Integer) = Nothing, Optional capacityMode As Nullable(Of CapacityMode) = Nothing, Optional enableMaterializedViews As Nullable(Of Boolean) = Nothing, Optional keysMetadata As DatabaseAccountKeysMetadata = Nothing, Optional enablePartitionMerge As Nullable(Of Boolean) = Nothing, Optional enableBurstCapacity As Nullable(Of Boolean) = Nothing, Optional minimalTlsVersion As Nullable(Of CosmosDBMinimalTlsVersion) = Nothing, Optional customerManagedKeyStatus As String = Nothing, Optional enablePriorityBasedExecution As Nullable(Of Boolean) = Nothing, Optional defaultPriorityLevel As Nullable(Of DefaultPriorityLevel) = Nothing, Optional enablePerRegionPerPartitionAutoscale As Nullable(Of Boolean) = Nothing, Optional identity As ManagedServiceIdentity = Nothing) As CosmosDBAccountCreateOrUpdateContent

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

kind
Nullable<CosmosDBAccountKind>

Indicates the type of database account. This can only be set at database account creation.

consistencyPolicy
ConsistencyPolicy

The consistency policy for the Cosmos DB account.

locations
IEnumerable<CosmosDBAccountLocation>

An array that contains the georeplication locations enabled for the Cosmos DB account.

databaseAccountOfferType
CosmosDBAccountOfferType

The offer type for the database.

ipRules
IEnumerable<CosmosDBIPAddressOrRange>

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
IEnumerable<CosmosDBAccountCapability>

List of Cosmos DB capabilities for the account.

virtualNetworkRules
IEnumerable<CosmosDBVirtualNetworkRule>

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
Nullable<ConnectorOffer>

The cassandra connector offer type for the Cosmos DB database C* account.

disableKeyBasedMetadataWriteAccess
Nullable<Boolean>

Disable write operations on metadata resources (databases, containers, throughput) via account keys.

keyVaultKeyUri
Uri

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
Nullable<CosmosDBPublicNetworkAccess>

Whether requests from Public Network are allowed.

isFreeTierEnabled
Nullable<Boolean>

Flag to indicate whether Free Tier is enabled.

apiServerVersion
Nullable<CosmosDBServerVersion>

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

isAnalyticalStorageEnabled
Nullable<Boolean>

Flag to indicate whether to enable storage analytics.

analyticalStorageSchemaType
Nullable<AnalyticalStorageSchemaType>

Analytical storage specific properties.

createMode
Nullable<CosmosDBAccountCreateMode>

Enum to indicate the mode of account creation.

backupPolicy
CosmosDBAccountBackupPolicy

The object representing the policy for taking backups on an account. Please note CosmosDBAccountBackupPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ContinuousModeBackupPolicy and PeriodicModeBackupPolicy.

cors
IEnumerable<CosmosDBAccountCorsPolicy>

The CORS policy for the Cosmos DB database account.

networkAclBypass
Nullable<NetworkAclBypass>

Indicates what services are allowed to bypass firewall checks.

networkAclBypassResourceIds
IEnumerable<ResourceIdentifier>

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

diagnosticLogEnableFullTextQuery
Nullable<EnableFullTextQuery>

The Object representing the different Diagnostic log settings 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
CosmosDBAccountRestoreParameters

Parameters to indicate the information about the restore.

capacityTotalThroughputLimit
Nullable<Int32>

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

capacityMode
Nullable<CapacityMode>

Indicates the capacityMode of the Cosmos DB account.

enableMaterializedViews
Nullable<Boolean>

Flag to indicate whether to enable MaterializedViews on the Cosmos DB account.

keysMetadata
DatabaseAccountKeysMetadata

This property is ignored during the update/create operation, as the metadata is read-only. The object represents the metadata for the Account Keys of the Cosmos DB account.

enablePartitionMerge
Nullable<Boolean>

Flag to indicate enabling/disabling of Partition Merge feature on the account.

enableBurstCapacity
Nullable<Boolean>

Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account.

minimalTlsVersion
Nullable<CosmosDBMinimalTlsVersion>

Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2.

customerManagedKeyStatus
String

Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance.

enablePriorityBasedExecution
Nullable<Boolean>

Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account.

defaultPriorityLevel
Nullable<DefaultPriorityLevel>

Enum to indicate default Priority Level of request for Priority Based Execution.

enablePerRegionPerPartitionAutoscale
Nullable<Boolean>

Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account.

identity
ManagedServiceIdentity

Identity for the resource.

Returns

A new CosmosDBAccountCreateOrUpdateContent instance for mocking.

Applies to