Skip to content

AzureCosmosNoSqlKVStore

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:63

  • BaseKVStore

new AzureCosmosNoSqlKVStore(__namedParameters): AzureCosmosNoSqlKVStore

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:75

AzureCosmosNoSqlKVStoreConfig

AzureCosmosNoSqlKVStore

BaseKVStore.constructor

client(): CosmosClient

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:107

CosmosClient


static fromConnectionString(config): AzureCosmosNoSqlKVStore

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:143

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.

object & AzureCosmosNoSqlKVStoreConfig = {}

AzureCosmosNoSqlKVStore

Instance of AzureCosmosNoSqlKVStore


static fromAccountAndKey(config): AzureCosmosNoSqlKVStore

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:169

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.

object & AzureCosmosNoSqlKVStoreConfig = {}

AzureCosmosNoSqlKVStore

Instance of AzureCosmosNoSqlKVStore


static fromAadToken(config): AzureCosmosNoSqlKVStore

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:202

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.

object & AzureCosmosNoSqlKVStoreConfig = {}

AzureCosmosNoSqlKVStore

Instance of AzureCosmosNoSqlKVStore


put(key, val): Promise<void>

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:227

string

Record<string, any>

Promise<void>

BaseKVStore.put


get(key): Promise<null | Record<string, any>>

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:235

string

Promise<null | Record<string, any>>

BaseKVStore.get


getAll(): Promise<Record<string, Record<string, any>>>

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:246

Promise<Record<string, Record<string, any>>>

BaseKVStore.getAll


delete(key): Promise<boolean>

Defined in: .build/typescript/packages/providers/storage/azure/src/kvStore/AzureCosmosNoSqlKVStore.ts:264

string

Promise<boolean>

BaseKVStore.delete