AzureCosmosNoSqlDocumentStore
Defined in: providers/storage/azure/src/docStore/AzureCosmosNoSqlDocumentStore.ts:17
Extends
KVDocumentStore
Constructors
new AzureCosmosNoSqlDocumentStore()
new AzureCosmosNoSqlDocumentStore(
__namedParameters
):AzureCosmosNoSqlDocumentStore
Defined in: providers/storage/azure/src/docStore/AzureCosmosNoSqlDocumentStore.ts:18
Parameters
__namedParameters
AzureCosmosNoSqlDocumentStoreArgs
Returns
Overrides
KVDocumentStore.constructor
Methods
fromConnectionString()
static
fromConnectionString(options
):AzureCosmosNoSqlDocumentStore
Defined in: providers/storage/azure/src/docStore/AzureCosmosNoSqlDocumentStore.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
Returns
Instance of AzureCosmosNoSqlDocumentStore
fromAccountAndKey()
static
fromAccountAndKey(options
):AzureCosmosNoSqlDocumentStore
Defined in: providers/storage/azure/src/docStore/AzureCosmosNoSqlDocumentStore.ts:48
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
Instance of AzureCosmosNoSqlDocumentStore
fromAadToken()
static
fromAadToken(options
):AzureCosmosNoSqlDocumentStore
Defined in: providers/storage/azure/src/docStore/AzureCosmosNoSqlDocumentStore.ts:66
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
Instance of AzureCosmosNoSqlDocumentStore