File tree Expand file tree Collapse file tree
specification/cosmos-db/resource-manager/Microsoft.DocumentDB/preview/2021-04-01-preview Expand file tree Collapse file tree Original file line number Diff line number Diff line change 206206 "type" : " integer"
207207 },
208208 "serviceType" : {
209- "type" : " string" ,
210- "description" : " The type of Azure resource."
209+ "$ref" : " #/definitions/ServiceType"
211210 }
212211 },
213212 "required" : [
219218 "description" : " Services response resource." ,
220219 "type" : " object" ,
221220 "discriminator" : " serviceType" ,
222- "allOf" : [
223- {
224- "$ref" : " .../../cosmos-db.json#/definitions/ARMProxyResource"
225- }
226- ],
227221 "properties" : {
228222 "creationTime" : {
229223 "readOnly" : true ,
239233 "type" : " integer"
240234 },
241235 "serviceType" : {
242- "type" : " string" ,
243- "description" : " The type of Azure resource."
236+ "$ref" : " #/definitions/ServiceType"
244237 },
245238 "status" : {
246239 "$ref" : " #/definitions/ServiceResourceStatus"
257250 "ServiceResource" : {
258251 "description" : " Properties for the database account." ,
259252 "type" : " object" ,
253+ "allOf" : [
254+ {
255+ "$ref" : " .../../cosmos-db.json#/definitions/ARMProxyResource"
256+ }
257+ ],
260258 "properties" : {
261259 "properties" : {
262260 "x-ms-client-flatten" : true ,
394392 "modelAsString" : true ,
395393 "name" : " ServiceSize"
396394 }
395+ },
396+ "ServiceType" : {
397+ "type" : " string" ,
398+ "enum" : [
399+ " SqlDedicatedGateway" ,
400+ " DataTransfer"
401+ ],
402+ "description" : " ServiceType for the service." ,
403+ "x-ms-enum" : {
404+ "modelAsString" : true ,
405+ "name" : " ServiceType"
406+ }
397407 }
398408 },
399409 "parameters" : {
You can’t perform that action at this time.
0 commit comments