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
# | |
#.SYNOPSIS | |
# Creates Event Grid Subscription. | |
#.DESCRIPTION | |
# Creates an Event Grid Subscription (Topic type: Azure Subscription) to a Function App V2 | |
#.OUTPUTS | |
# Progress messages | |
# |
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
#!/bin/bash | |
resourceGroupName="cosmosdbshardedtest" | |
name="mongodboncosmosdb" | |
databaseName="mongodb" | |
collectionName="mongodbcoll" | |
kind="MongoDB" | |
partition="/'\$v'/YourShardID/'\$v'" | |
az login |