Skip to content

Commit 344362c

Browse files
author
SDKAuto
committed
CodeGen from PR 15733 in Azure/azure-rest-api-specs
Merge 0c092e1555b3b6793421ac8f920022befe0f4b40 into e81093786c17f18d3bf322970a48cb0bf6967dd5
1 parent c77b251 commit 344362c

File tree

4 files changed

+13173
-64
lines changed

4 files changed

+13173
-64
lines changed

schemas/2021-04-01-preview/Microsoft.DocumentDB.json

Lines changed: 20 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,13 +1305,13 @@
13051305
"properties": {
13061306
"oneOf": [
13071307
{
1308-
"$ref": "#/definitions/ServiceResourceProperties"
1308+
"$ref": "#/definitions/ServiceResourceCreateUpdateProperties"
13091309
},
13101310
{
13111311
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
13121312
}
13131313
],
1314-
"description": "Services response resource."
1314+
"description": "Properties in ServiceResourceCreateUpdateParameters."
13151315
},
13161316
"type": {
13171317
"type": "string",
@@ -4041,13 +4041,13 @@
40414041
"properties": {
40424042
"oneOf": [
40434043
{
4044-
"$ref": "#/definitions/ServiceResourceProperties"
4044+
"$ref": "#/definitions/ServiceResourceCreateUpdateProperties"
40454045
},
40464046
{
40474047
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
40484048
}
40494049
],
4050-
"description": "Services response resource."
4050+
"description": "Properties in ServiceResourceCreateUpdateParameters."
40514051
},
40524052
"type": {
40534053
"type": "string",
@@ -4840,21 +4840,6 @@
48404840
},
48414841
"description": "Properties of a managed Cassandra data center."
48424842
},
4843-
"DataTransferServiceResourceProperties": {
4844-
"type": "object",
4845-
"properties": {
4846-
"serviceType": {
4847-
"type": "string",
4848-
"enum": [
4849-
"DataTransferServiceResourceProperties"
4850-
]
4851-
}
4852-
},
4853-
"required": [
4854-
"serviceType"
4855-
],
4856-
"description": "Properties for DataTransferServiceResource."
4857-
},
48584843
"DefaultRequestDatabaseAccountCreateUpdateProperties": {
48594844
"type": "object",
48604845
"properties": {
@@ -5723,33 +5708,9 @@
57235708
}
57245709
}
57255710
},
5726-
"ServiceResourceProperties": {
5711+
"ServiceResourceCreateUpdateProperties": {
57275712
"type": "object",
5728-
"oneOf": [
5729-
{
5730-
"$ref": "#/definitions/DataTransferServiceResourceProperties"
5731-
},
5732-
{
5733-
"$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties"
5734-
}
5735-
],
57365713
"properties": {
5737-
"additionalProperties": {
5738-
"oneOf": [
5739-
{
5740-
"type": "object",
5741-
"additionalProperties": {
5742-
"type": "object",
5743-
"properties": {}
5744-
},
5745-
"properties": {}
5746-
},
5747-
{
5748-
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
5749-
}
5750-
],
5751-
"description": "Unmatched properties from the message are deserialized this collection"
5752-
},
57535714
"instanceCount": {
57545715
"oneOf": [
57555716
{
@@ -5776,9 +5737,23 @@
57765737
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57775738
}
57785739
]
5740+
},
5741+
"serviceType": {
5742+
"oneOf": [
5743+
{
5744+
"type": "string",
5745+
"enum": [
5746+
"SqlDedicatedGateway",
5747+
"DataTransfer"
5748+
]
5749+
},
5750+
{
5751+
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
5752+
}
5753+
]
57795754
}
57805755
},
5781-
"description": "Services response resource."
5756+
"description": "Properties in ServiceResourceCreateUpdateParameters."
57825757
},
57835758
"SpatialSpec": {
57845759
"type": "object",
@@ -5963,25 +5938,6 @@
59635938
],
59645939
"description": "Cosmos DB SQL database resource object"
59655940
},
5966-
"SqlDedicatedGatewayServiceResourceProperties": {
5967-
"type": "object",
5968-
"properties": {
5969-
"serviceType": {
5970-
"type": "string",
5971-
"enum": [
5972-
"SqlDedicatedGatewayServiceResourceProperties"
5973-
]
5974-
},
5975-
"sqlDedicatedGatewayEndpoint": {
5976-
"type": "string",
5977-
"description": "SqlDedicatedGateway endpoint for the service."
5978-
}
5979-
},
5980-
"required": [
5981-
"serviceType"
5982-
],
5983-
"description": "Properties for SqlDedicatedGatewayServiceResource."
5984-
},
59855941
"SqlRoleAssignmentResource": {
59865942
"type": "object",
59875943
"properties": {

0 commit comments

Comments
 (0)