File tree Expand file tree Collapse file tree 3 files changed +40
-12
lines changed
Expand file tree Collapse file tree 3 files changed +40
-12
lines changed Original file line number Diff line number Diff line change @@ -130,18 +130,27 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
130130 name : '00000000-0000-0000-0000-000000000002'
131131 }
132132
133+ //TODO : Implementation 1 : Review and Remove
133134 resource autogenDb 'sqlDatabases' = {
134- name : 'autogen '
135+ name : 'EnableServerless '
135136 properties : {
136137 resource : {
137138 id : 'autogen'
138139 createMode : 'Default'
139140 }
140- options : {
141- throughput : resourceSize .cosmosThroughput
142- }
143141 }
144142
143+ //TODO : Implementation 2 : Review and Remove
144+ resource autogenDb 'sqlDatabases' = {
145+ name : 'autogenDb'
146+ properties : {
147+ capabilities : [
148+ {
149+ name : 'EnableServerless'
150+ }
151+ ]
152+ }
153+ }
145154 resource memoryContainer 'containers' = {
146155 name : 'memory'
147156 properties : {
Original file line number Diff line number Diff line change @@ -92,18 +92,27 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
9292 }
9393 }
9494
95+ //TODO : Implementation 1 : Review and Remove
9596 resource autogenDb 'sqlDatabases' = {
96- name : 'autogen '
97+ name : 'EnableServerless '
9798 properties : {
9899 resource : {
99100 id : 'autogen'
100101 createMode : 'Default'
101102 }
102- options : {
103- throughput : 400
104- }
105103 }
106104
105+ //TODO : Implementation 2 : Review and Remove
106+ resource autogenDb 'sqlDatabases' = {
107+ name : 'autogenDb'
108+ properties : {
109+ capabilities : [
110+ {
111+ name : 'EnableServerless'
112+ }
113+ ]
114+ }
115+ }
107116 resource memoryContainer 'containers' = {
108117 name : 'memory'
109118 properties : {
Original file line number Diff line number Diff line change @@ -160,18 +160,28 @@ resource cosmos 'Microsoft.DocumentDB/databaseAccounts@2024-05-15' = {
160160 name : '00000000-0000-0000-0000-000000000002'
161161 }
162162
163+ //TODO : Implementation 1 : Review and Remove
163164 resource autogenDb 'sqlDatabases' = {
164- name : 'autogen '
165+ name : 'EnableServerless '
165166 properties : {
166167 resource : {
167168 id : 'autogen'
168169 createMode : 'Default'
169170 }
170- options : {
171- throughput : resourceSize .cosmosThroughput
172- }
173171 }
174172
173+ //TODO : Implementation 2 : Review and Remove
174+ resource autogenDb 'sqlDatabases' = {
175+ name : 'autogenDb'
176+ properties : {
177+ capabilities : [
178+ {
179+ name : 'EnableServerless'
180+ }
181+ ]
182+ }
183+ }
184+
175185 resource memoryContainer 'containers' = {
176186 name : 'memory'
177187 properties : {
You can’t perform that action at this time.
0 commit comments