AzureCosmosDBDatabaseResource
Handle
interface AzureCosmosDBDatabaseResource extends IManifestExpressionProvider, IResource, IResourceWithConnectionString, IResourceWithParent, AzureCosmosDBResource]], IValueProvider, IValueWithReferences, IResourceWithAzureFunctionsConfig { addContainer( name: string, partitionKeyPath: string, containerName?: string): AzureCosmosDBContainerResource; addContainerWithPartitionKeyPaths( name: string, partitionKeyPaths: string[], containerName?: string): AzureCosmosDBContainerResource;}Methods
Adds an Azure Cosmos DB container resource
addContainer( name: string, partitionKeyPath: string, containerName?: string): AzureCosmosDBContainerResourceParameters
name string partitionKeyPath string containerName string optional Returns
AzureCosmosDBContainerResource Adds an Azure Cosmos DB container resource with hierarchical partition keys
addContainerWithPartitionKeyPaths( name: string, partitionKeyPaths: string[], containerName?: string): AzureCosmosDBContainerResourceParameters
name string partitionKeyPaths string[] containerName string optional Returns
AzureCosmosDBContainerResource