FlociAzureContainerResource.withCosmos
Method
interface FlociAzureContainerResource { // ... omitted for brevity withCosmos( name?: string, accountName?: string): FlociAzureCosmosResource;}Signature
method
withCosmos builderAdds a Cosmos DB child resource to the Floci Azure emulator
withCosmos( name?: string, accountName?: string): FlociAzureCosmosResourceParameters
namestringoptional= cosmosThe name of the Cosmos DB resource (default: `cosmos`).accountName stringoptionalThe Cosmos account name segment (default: `devstoreaccount1`).Returns
FlociAzureCosmosResource Defined on
This method is defined on the following type: