CosmosDBAccountCreateOrUpdateContent Class
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.
Parameters to create and update Cosmos DB database accounts.
public class CosmosDBAccountCreateOrUpdateContent : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CosmosDB.Models.CosmosDBAccountCreateOrUpdateContent>
type CosmosDBAccountCreateOrUpdateContent = class
inherit TrackedResourceData
interface IJsonModel<CosmosDBAccountCreateOrUpdateContent>
interface IPersistableModel<CosmosDBAccountCreateOrUpdateContent>
Public Class CosmosDBAccountCreateOrUpdateContent
Inherits TrackedResourceData
Implements IJsonModel(Of CosmosDBAccountCreateOrUpdateContent), IPersistableModel(Of CosmosDBAccountCreateOrUpdateContent)
- Inheritance
- Implements
Constructors
CosmosDBAccountCreateOrUpdateContent(AzureLocation, IEnumerable<CosmosDBAccountLocation>) |
Initializes a new instance of CosmosDBAccountCreateOrUpdateContent. |
Properties
AnalyticalStorageSchemaType |
Describes the types of schema for analytical storage. |
ApiServerVersion |
Describes the ServerVersion of an a MongoDB account. |
BackupPolicy |
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. |
Capabilities |
List of Cosmos DB capabilities for the account. |
CapacityMode |
Indicates the capacityMode of the Cosmos DB account. |
CapacityTotalThroughputLimit |
The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. |
ConnectorOffer |
The cassandra connector offer type for the Cosmos DB database C* account. |
ConsistencyPolicy |
The consistency policy for the Cosmos DB account. |
Cors |
The CORS policy for the Cosmos DB database account. |
CreateMode |
Enum to indicate the mode of account creation. |
CustomerManagedKeyStatus |
Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. |
DatabaseAccountOfferType |
The offer type for the database. |
DefaultIdentity |
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. |
DefaultPriorityLevel |
Enum to indicate default Priority Level of request for Priority Based Execution. |
DiagnosticLogEnableFullTextQuery |
Describe the level of detail with which queries are to be logged. |
DisableKeyBasedMetadataWriteAccess |
Disable write operations on metadata resources (databases, containers, throughput) via account keys. |
DisableLocalAuth |
Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. |
EnableAutomaticFailover |
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. |
EnableBurstCapacity |
Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account. |
EnableCassandraConnector |
Enables the cassandra connector on the Cosmos DB C* account. |
EnableMaterializedViews |
Flag to indicate whether to enable MaterializedViews on the Cosmos DB account. |
EnableMultipleWriteLocations |
Enables the account to write in multiple locations. |
EnablePartitionMerge |
Flag to indicate enabling/disabling of Partition Merge feature on the account. |
EnablePerRegionPerPartitionAutoscale |
Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account. |
EnablePriorityBasedExecution |
Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account. |
Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
Identity |
Identity for the resource. |
IPRules |
List of IpRules. |
IsAnalyticalStorageEnabled |
Flag to indicate whether to enable storage analytics. |
IsFreeTierEnabled |
Flag to indicate whether Free Tier is enabled. |
IsVirtualNetworkFilterEnabled |
Flag to indicate whether to enable/disable Virtual Network ACL rules. |
KeysMetadata |
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. |
KeyVaultKeyUri |
The URI of the key vault. |
Kind |
Indicates the type of database account. This can only be set at database account creation. |
Location |
The geo-location where the resource lives. (Inherited from TrackedResourceData) |
Locations |
An array that contains the georeplication locations enabled for the Cosmos DB account. |
MinimalTlsVersion |
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. |
Name |
The name of the resource. (Inherited from ResourceData) |
NetworkAclBypass |
Indicates what services are allowed to bypass firewall checks. |
NetworkAclBypassResourceIds |
An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. |
PublicNetworkAccess |
Whether requests from Public Network are allowed. |
ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
RestoreParameters |
Parameters to indicate the information about the restore. |
SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
Tags |
Resource tags. (Inherited from TrackedResourceData) |
VirtualNetworkRules |
List of Virtual Network ACL rules configured for the Cosmos DB account. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from TrackedResourceData) |
Explicit Interface Implementations
IJsonModel<CosmosDBAccountCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<CosmosDBAccountCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<CosmosDBAccountCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<CosmosDBAccountCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<CosmosDBAccountCreateOrUpdateContent>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET