AddCosmosDatabase
Method
func (AzureCosmosDBResource) AddCosmosDatabase( name string, options ...*AddCosmosDatabaseOptions,) AzureCosmosDBDatabaseResourceSignature
method
AddCosmosDatabase builderAdds a database to the associated Cosmos DB account resource.
AddCosmosDatabase( name string, options ...*AddCosmosDatabaseOptions,) AzureCosmosDBDatabaseResourceParameters
namestringThe name of the database resource.options...*AddCosmosDatabaseOptions Optional settings, described under Options.Options
Optional parameters are passed in a trailing options ...*AddCosmosDatabaseOptions argument.
DatabaseName *stringThe name of the database. If not provided, this defaults to the same value as name.Returns
AzureCosmosDBDatabaseResource The resource builder.
Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: