You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
896 B

  1. # Deploying Azure Cosmosdb
  2. The ARM template `deploycosmos.json` and its parameter file (`deploycosmos.parameters.json`) are used to deploy following resources:
  3. 1. One Cosmosdb database
  4. ## Editing deploycosmos.parameters.json file
  5. You can edit the `deploycosmos.parameters.json` file to set your values, but is not needed. The only parameter that can
  6. be set is:
  7. 1. `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.
  8. ## Deploy the template
  9. Once parameter file is edited you can deploy it using [create-resources script](../readme.md).
  10. 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:
  11. ```
  12. create-resources.cmd cosmos\deploycosmos newResourceGroup -c westus
  13. ```