File tree Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Expand file tree Collapse file tree 1 file changed +64
-0
lines changed Original file line number Diff line number Diff line change
1
+ apiVersion : v1
2
+ kind : Namespace
3
+ metadata :
4
+ name : cosmos-todo
5
+ ---
6
+ apiVersion : resources.azure.com/v1api20200601
7
+ kind : ResourceGroup
8
+ metadata :
9
+ name : ${APP_NAME}-rg
10
+ namespace : cosmos-todo
11
+ spec :
12
+ location : westcentralus
13
+ ---
14
+ apiVersion : documentdb.azure.com/v1api20210515
15
+ kind : DatabaseAccount
16
+ metadata :
17
+ name : $APP_NAME-sqldb
18
+ namespace : cosmos-todo
19
+ spec :
20
+ location : westcentralus
21
+ owner :
22
+ name : ${APP_NAME}-rg
23
+ kind : GlobalDocumentDB
24
+ databaseAccountOfferType : Standard
25
+ locations :
26
+ - locationName : westcentralus
27
+ operatorSpec :
28
+ secrets :
29
+ primaryMasterKey :
30
+ name : ${APP_NAME}-sqldb-connection-settings
31
+ key : key
32
+ documentEndpoint :
33
+ name : ${APP_NAME}-sqldb-connection-settings
34
+ key : documentEndpoint
35
+ ---
36
+ apiVersion : documentdb.azure.com/v1api20210515
37
+ kind : SqlDatabase
38
+ metadata :
39
+ name : ${APP_NAME}-sql-db
40
+ namespace : cosmos-todo
41
+ spec :
42
+ location : westcentralus
43
+ owner :
44
+ name : ${APP_NAME}-sqldb
45
+ options :
46
+ autoscaleSettings :
47
+ maxThroughput : 4000
48
+ resource :
49
+ id : ${APP_NAME}-sql-db
50
+ ---
51
+ apiVersion : documentdb.azure.com/v1api20210515
52
+ kind : SqlDatabaseContainer
53
+ metadata :
54
+ name : ${APP_NAME}-sql-container
55
+ namespace : cosmos-todo
56
+ spec :
57
+ location : westcentralus
58
+ owner :
59
+ name : ${APP_NAME}-sql-db
60
+ resource :
61
+ id : ${APP_NAME}-sql-container
62
+ partitionKey :
63
+ kind : Hash
64
+ paths : ["/id"]
You can’t perform that action at this time.
0 commit comments