Skip to content

Commit

Permalink
[ReleasePR cosmos-db] [Hub Generated] Review request for Microsoft.Do…
Browse files Browse the repository at this point in the history
  • Loading branch information
msftbot[bot] authored Oct 26, 2021
2 parents 752afbe + 87cb7be commit 69805f5
Show file tree
Hide file tree
Showing 4 changed files with 13,173 additions and 64 deletions.
84 changes: 20 additions & 64 deletions schemas/2021-04-01-preview/Microsoft.DocumentDB.json
Original file line number Diff line number Diff line change
Expand Up @@ -1305,13 +1305,13 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ServiceResourceProperties"
"$ref": "#/definitions/ServiceResourceCreateUpdateProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Services response resource."
"description": "Properties in ServiceResourceCreateUpdateParameters."
},
"type": {
"type": "string",
Expand Down Expand Up @@ -4041,13 +4041,13 @@
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ServiceResourceProperties"
"$ref": "#/definitions/ServiceResourceCreateUpdateProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Services response resource."
"description": "Properties in ServiceResourceCreateUpdateParameters."
},
"type": {
"type": "string",
Expand Down Expand Up @@ -4840,21 +4840,6 @@
},
"description": "Properties of a managed Cassandra data center."
},
"DataTransferServiceResourceProperties": {
"type": "object",
"properties": {
"serviceType": {
"type": "string",
"enum": [
"DataTransferServiceResourceProperties"
]
}
},
"required": [
"serviceType"
],
"description": "Properties for DataTransferServiceResource."
},
"DefaultRequestDatabaseAccountCreateUpdateProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -5723,33 +5708,9 @@
}
}
},
"ServiceResourceProperties": {
"ServiceResourceCreateUpdateProperties": {
"type": "object",
"oneOf": [
{
"$ref": "#/definitions/DataTransferServiceResourceProperties"
},
{
"$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties"
}
],
"properties": {
"additionalProperties": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {}
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Unmatched properties from the message are deserialized this collection"
},
"instanceCount": {
"oneOf": [
{
Expand All @@ -5776,9 +5737,23 @@
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"serviceType": {
"oneOf": [
{
"type": "string",
"enum": [
"SqlDedicatedGateway",
"DataTransfer"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"description": "Services response resource."
"description": "Properties in ServiceResourceCreateUpdateParameters."
},
"SpatialSpec": {
"type": "object",
Expand Down Expand Up @@ -5963,25 +5938,6 @@
],
"description": "Cosmos DB SQL database resource object"
},
"SqlDedicatedGatewayServiceResourceProperties": {
"type": "object",
"properties": {
"serviceType": {
"type": "string",
"enum": [
"SqlDedicatedGatewayServiceResourceProperties"
]
},
"sqlDedicatedGatewayEndpoint": {
"type": "string",
"description": "SqlDedicatedGateway endpoint for the service."
}
},
"required": [
"serviceType"
],
"description": "Properties for SqlDedicatedGatewayServiceResource."
},
"SqlRoleAssignmentResource": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit 69805f5

Please sign in to comment.