RoutingCosmosDBSqlApiPropertiesResponse

data class RoutingCosmosDBSqlApiPropertiesResponse(val authenticationType: String? = null, val collectionName: String, val databaseName: String, val endpointUri: String, val id: String? = null, val identity: ManagedIdentityResponse? = null, val name: String, val partitionKeyName: String? = null, val partitionKeyTemplate: String? = null, val primaryKey: String? = null, val resourceGroup: String? = null, val secondaryKey: String? = null, val subscriptionId: String? = null)

The properties related to a cosmos DB sql collection endpoint.

Constructors

Link copied to clipboard
constructor(authenticationType: String? = null, collectionName: String, databaseName: String, endpointUri: String, id: String? = null, identity: ManagedIdentityResponse? = null, name: String, partitionKeyName: String? = null, partitionKeyTemplate: String? = null, primaryKey: String? = null, resourceGroup: String? = null, secondaryKey: String? = null, subscriptionId: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Method used to authenticate against the cosmos DB sql collection endpoint

Link copied to clipboard

The name of the cosmos DB sql collection in the cosmos DB database.

Link copied to clipboard

The name of the cosmos DB database in the cosmos DB account.

Link copied to clipboard

The url of the cosmos DB account. It must include the protocol https://

Link copied to clipboard
val id: String? = null

Id of the cosmos DB sql collection endpoint

Link copied to clipboard

Managed identity properties of routing cosmos DB collection endpoint.

Link copied to clipboard

The name that identifies this endpoint. The name can only include alphanumeric characters, periods, underscores, hyphens and has a maximum length of 64 characters. The following names are reserved: events, fileNotifications, $default. Endpoint names must be unique across endpoint types.

Link copied to clipboard

The name of the partition key associated with this cosmos DB sql collection if one exists. This is an optional parameter.

Link copied to clipboard

The template for generating a synthetic partition key value for use with this cosmos DB sql collection. The template must include at least one of the following placeholders: {iothub}, {deviceid}, {DD}, {MM}, and {YYYY}. Any one placeholder may be specified at most once, but order and non-placeholder components are arbitrary. This parameter is only required if PartitionKeyName is specified.

Link copied to clipboard
val primaryKey: String? = null

The primary key of the cosmos DB account.

Link copied to clipboard
val resourceGroup: String? = null

The name of the resource group of the cosmos DB account.

Link copied to clipboard
val secondaryKey: String? = null

The secondary key of the cosmos DB account.

Link copied to clipboard
val subscriptionId: String? = null

The subscription identifier of the cosmos DB account.