GetDatabaseAccountResult

data class GetDatabaseAccountResult(val analyticalStorageConfiguration: AnalyticalStorageConfigurationResponse? = null, val apiProperties: ApiPropertiesResponse? = null, val backupPolicy: Either<ContinuousModeBackupPolicyResponse, PeriodicModeBackupPolicyResponse>? = null, val capabilities: List<CapabilityResponse>? = null, val capacity: CapacityResponse? = null, val connectorOffer: String? = null, val consistencyPolicy: ConsistencyPolicyResponse? = null, val cors: List<CorsPolicyResponse>? = null, val createMode: String? = null, val databaseAccountOfferType: String, val defaultIdentity: String? = null, val disableKeyBasedMetadataWriteAccess: Boolean? = null, val disableLocalAuth: Boolean? = null, val documentEndpoint: String, val enableAnalyticalStorage: Boolean? = null, val enableAutomaticFailover: Boolean? = null, val enableCassandraConnector: Boolean? = null, val enableFreeTier: Boolean? = null, val enableMultipleWriteLocations: Boolean? = null, val enablePartitionMerge: Boolean? = null, val failoverPolicies: List<FailoverPolicyResponse>, val id: String, val identity: ManagedServiceIdentityResponse? = null, val instanceId: String, val ipRules: List<IpAddressOrRangeResponse>? = null, val isVirtualNetworkFilterEnabled: Boolean? = null, val keyVaultKeyUri: String? = null, val keysMetadata: DatabaseAccountKeysMetadataResponse, val kind: String? = null, val location: String? = null, val locations: List<LocationResponse>, val minimalTlsVersion: String? = null, val name: String, val networkAclBypass: String? = null, val networkAclBypassResourceIds: List<String>? = null, val privateEndpointConnections: List<PrivateEndpointConnectionResponse>, val provisioningState: String, val publicNetworkAccess: String? = null, val readLocations: List<LocationResponse>, val restoreParameters: RestoreParametersResponse? = null, val systemData: SystemDataResponse, val tags: Map<String, String>? = null, val type: String, val virtualNetworkRules: List<VirtualNetworkRuleResponse>? = null, val writeLocations: List<LocationResponse>)

An Azure Cosmos DB database account.

Constructors

Link copied to clipboard
constructor(analyticalStorageConfiguration: AnalyticalStorageConfigurationResponse? = null, apiProperties: ApiPropertiesResponse? = null, backupPolicy: Either<ContinuousModeBackupPolicyResponse, PeriodicModeBackupPolicyResponse>? = null, capabilities: List<CapabilityResponse>? = null, capacity: CapacityResponse? = null, connectorOffer: String? = null, consistencyPolicy: ConsistencyPolicyResponse? = null, cors: List<CorsPolicyResponse>? = null, createMode: String? = null, databaseAccountOfferType: String, defaultIdentity: String? = null, disableKeyBasedMetadataWriteAccess: Boolean? = null, disableLocalAuth: Boolean? = null, documentEndpoint: String, enableAnalyticalStorage: Boolean? = null, enableAutomaticFailover: Boolean? = null, enableCassandraConnector: Boolean? = null, enableFreeTier: Boolean? = null, enableMultipleWriteLocations: Boolean? = null, enablePartitionMerge: Boolean? = null, failoverPolicies: List<FailoverPolicyResponse>, id: String, identity: ManagedServiceIdentityResponse? = null, instanceId: String, ipRules: List<IpAddressOrRangeResponse>? = null, isVirtualNetworkFilterEnabled: Boolean? = null, keyVaultKeyUri: String? = null, keysMetadata: DatabaseAccountKeysMetadataResponse, kind: String? = null, location: String? = null, locations: List<LocationResponse>, minimalTlsVersion: String? = null, name: String, networkAclBypass: String? = null, networkAclBypassResourceIds: List<String>? = null, privateEndpointConnections: List<PrivateEndpointConnectionResponse>, provisioningState: String, publicNetworkAccess: String? = null, readLocations: List<LocationResponse>, restoreParameters: RestoreParametersResponse? = null, systemData: SystemDataResponse, tags: Map<String, String>? = null, type: String, virtualNetworkRules: List<VirtualNetworkRuleResponse>? = null, writeLocations: List<LocationResponse>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Analytical storage specific properties.

Link copied to clipboard

API specific properties.

Link copied to clipboard

The object representing the policy for taking backups on an account.

Link copied to clipboard

List of Cosmos DB capabilities for the account

Link copied to clipboard

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

Link copied to clipboard
val connectorOffer: String? = null

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

Link copied to clipboard

The consistency policy for the Cosmos DB database account.

Link copied to clipboard

The CORS policy for the Cosmos DB database account.

Link copied to clipboard
val createMode: String? = null

Enum to indicate the mode of account creation.

Link copied to clipboard

The offer type for the Cosmos DB database account. Default value: Standard.

Link copied to clipboard
val defaultIdentity: String? = null

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.

Link copied to clipboard

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

Link copied to clipboard

Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.

Link copied to clipboard

The connection endpoint for the Cosmos DB database account.

Link copied to clipboard

Flag to indicate whether to enable storage analytics.

Link copied to clipboard

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.

Link copied to clipboard

Enables the cassandra connector on the Cosmos DB C* account

Link copied to clipboard
val enableFreeTier: Boolean? = null

Flag to indicate whether Free Tier is enabled.

Link copied to clipboard

Enables the account to write in multiple locations

Link copied to clipboard

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

Link copied to clipboard

An array that contains the regions ordered by their failover priorities.

Link copied to clipboard
val id: String

The unique resource identifier of the ARM resource.

Link copied to clipboard

Identity for the resource.

Link copied to clipboard

A unique identifier assigned to the database account

Link copied to clipboard

List of IpRules.

Link copied to clipboard

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

Link copied to clipboard

The object that represents the metadata for the Account Keys of the Cosmos DB account.

Link copied to clipboard
val keyVaultKeyUri: String? = null

The URI of the key vault

Link copied to clipboard
val kind: String? = null

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

Link copied to clipboard
val location: String? = null

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

Link copied to clipboard

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

Link copied to clipboard

Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2.

Link copied to clipboard

The name of the ARM resource.

Link copied to clipboard

Indicates what services are allowed to bypass firewall checks.

Link copied to clipboard

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

Link copied to clipboard

List of Private Endpoint Connections configured for the Cosmos DB account.

Link copied to clipboard

The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed.

Link copied to clipboard

Whether requests from Public Network are allowed

Link copied to clipboard

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

Link copied to clipboard

Parameters to indicate the information about the restore.

Link copied to clipboard

The system meta data relating to this resource.

Link copied to clipboard
val tags: Map<String, String>? = null

Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".

Link copied to clipboard

The type of Azure resource.

Link copied to clipboard

List of Virtual Network ACL rules configured for the Cosmos DB account.

Link copied to clipboard

An array that contains the write location for the Cosmos DB account.