Last active
October 2, 2019 04:32
-
-
Save sqldeployhelmet/ce3e0366137a0517941789e8704253aa to your computer and use it in GitHub Desktop.
Cosmos DB backup settings
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
[ | |
{ | |
"_comment" : ["This is a sample object that should be modified for deployment.", | |
"Connect strings will need to be inserted and correct service, database and collection", | |
"names included as well as setting the database backup flag to true as needed."], | |
"service" : { | |
"name" : "<name of your cosmos db service>", | |
"connectString" : "<read-only connect string here>", | |
"databases" : [ {"name" : "database1", | |
"backupFlag" : true, | |
"collections" : [{"name" : "collection1"}, | |
{"name" : "collection2"}] | |
} | |
, {"name" : "database2", | |
"backupFlag" : false, | |
"collections" : [{"name" : "collection1"}] | |
}, | |
{"name" : "database2", | |
"backupFlag" : true, | |
"collections" : [{"name" : "collection1"}] | |
} | |
] | |
} | |
}, | |
{ | |
"service" : { | |
"name" : "<second cosmos db service>", | |
"connectString" : "<second service read-only key>", | |
"databases" : [ {"name" : "database1", | |
"backupFlag" : false, | |
"collections" : [{"name" : "collection1"}] | |
} | |
] | |
} | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment