The ARM template deploycosmos.json
and its parameter file (deploycosmos.parameters.json
) are used to deploy following resources:
You can edit the deploycosmos.parameters.json
file to set your values, but is not needed. The only parameter that can
be set is:
name
is a string that is used to create the database name. ARM script creates unique values by appending a unique string to this parameter value, so you can leave the default value.Once parameter file is edited you can deploy it using create-resources script.
i. e. if you are in windows, to deploy a Cosmosdb database in a new resourcegroup located in westus, go to deploy\az
folder and type:
create-resources.cmd cosmos\deploycosmos newResourceGroup -c westus