Logo
Classes

AzureCosmosNoSqlIndexStore

Defined in: providers/storage/azure/src/indexStore/AzureCosmosNoSqlIndexStore.ts:17

Extends

  • KVIndexStore

Constructors

new AzureCosmosNoSqlIndexStore()

new AzureCosmosNoSqlIndexStore(__namedParameters): AzureCosmosNoSqlIndexStore

Defined in: providers/storage/azure/src/indexStore/AzureCosmosNoSqlIndexStore.ts:18

Parameters

__namedParameters

AzureCosmosNoSqlIndexStoreArgs

Returns

AzureCosmosNoSqlIndexStore

Overrides

KVIndexStore.constructor

Methods

fromConnectionString()

static fromConnectionString(options): AzureCosmosNoSqlIndexStore

Defined in: providers/storage/azure/src/indexStore/AzureCosmosNoSqlIndexStore.ts:30

Static method for creating an instance using a connection string. If no connection string is provided, it will attempt to use the env variable AZURE_COSMOSDB_NOSQL_CONNECTION_STRING as connection string.

Parameters

options

ConnectionStringOptions = {}

Returns

AzureCosmosNoSqlIndexStore

Instance of AzureCosmosNoSqlIndexStore


fromAccountAndKey()

static fromAccountAndKey(options): AzureCosmosNoSqlIndexStore

Defined in: providers/storage/azure/src/indexStore/AzureCosmosNoSqlIndexStore.ts:47

Static method for creating an instance using a account endpoint and key. If no endpoint and key is provided, it will attempt to use the env variable AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT as enpoint and AZURE_COSMOSDB_NOSQL_ACCOUNT_KEY as key.

Parameters

options

AccountAndKeyOptions = {}

Returns

AzureCosmosNoSqlIndexStore

Instance of AzureCosmosNoSqlIndexStore


fromAadToken()

static fromAadToken(options): AzureCosmosNoSqlIndexStore

Defined in: providers/storage/azure/src/indexStore/AzureCosmosNoSqlIndexStore.ts:65

Static method for creating an instance using AAD token. If no endpoint and credentials are provided, it will attempt to use the env variable AZURE_COSMOSDB_NOSQL_ACCOUNT_ENDPOINT as endpoint and use DefaultAzureCredential() as credentials.

Parameters

options

AadTokenOptions = {}

Returns

AzureCosmosNoSqlIndexStore

Instance of AzureCosmosNoSqlIndexStore

On this page