Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR cosmos-db] [Hub Generated] Review request for Microsoft.DocumentDB to add version stable/2021-10-15 #1991

Merged
1 commit merged into from
Oct 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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