AddAzureCosmosDB
Method
func (DistributedApplicationBuilder) AddAzureCosmosDB(name string) AzureCosmosDBResourceSignature
method
AddAzureCosmosDB builderAdds an Azure Cosmos DB connection to the application model.
AddAzureCosmosDB(name string) AzureCosmosDBResourceParameters
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.Returns
AzureCosmosDBResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types:
type
DistributedApplicationBuilder