FlociAzureContainerResource.WithCosmos
Method
type FlociAzureContainerResource interface { // ... omitted for brevity WithCosmos(options ...*WithCosmosOptions) FlociAzureCosmosResource}Signature
method
WithCosmos builderAdds a Cosmos DB child resource to the Floci Azure emulator
WithCosmos(options ...*WithCosmosOptions) FlociAzureCosmosResourceParameters
options...*WithCosmosOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*WithCosmosOptions argument.
Name*stringThe name of the Cosmos DB resource (default: cosmos).AccountName *stringThe Cosmos account name segment (default: devstoreaccount1).Returns
FlociAzureCosmosResource A reference to the I for further configuration.
Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: