-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad16904
commit fe0197d
Showing
30 changed files
with
34 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# the name of the resource group | ||
resource-group="covid-screening-app-resources" | ||
|
||
# the name of the api management resource | ||
apim-name="screening-apis" | ||
|
||
# the name of the cosmos db resource | ||
cosmos-db-name="screeningcosmosdb" | ||
|
||
# the region in which we want things to be created | ||
region="westus" | ||
|
||
# create the resource group | ||
az group create --name $resource-group --location $region | ||
|
||
# create the cosmos db resource | ||
az cosmosdb create --name $cosmos-db-name --resource-group $resource-group | ||
|
||
# create the cosmos db in the cosmos db resource | ||
az cosmosdb database create --name $cosmos-db-name --resource-group $resource-group --db-name "COVIDScreeningDb" | ||
|
||
# create the 3 collections in the cosmos db resource we'll need | ||
|
||
# get the connection string of the cosmos db resource | ||
|
||
# create the apim resource | ||
az apim create --name $apim-name |
4 changes: 1 addition & 3 deletions
4
.../COVIDScreeningApi/import-api-to-apim.ps1 → import-api-to-apim.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.