Skip to content

Commit 461d09e

Browse files
SDKAutomarkcowl
andcommitted
CodeGen from PR 15777 in Azure/azure-rest-api-specs
Enable SDK automation for track-2 SDKs (#15777) * Add blockchain to latest profile * Add additional types * Enable SDK automation for track-2 SDKs * Revert extra changes * Revert * Revert * Revert Co-authored-by: Mark Cowlishaw <[email protected]>
1 parent 8f7ecc8 commit 461d09e

File tree

3 files changed

+64
-7128
lines changed

3 files changed

+64
-7128
lines changed

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

Lines changed: 64 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,13 +1305,13 @@
13051305
"properties": {
13061306
"oneOf": [
13071307
{
1308-
"$ref": "#/definitions/ServiceResourceCreateUpdateProperties"
1308+
"$ref": "#/definitions/ServiceResourceProperties"
13091309
},
13101310
{
13111311
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
13121312
}
13131313
],
1314-
"description": "Properties in ServiceResourceCreateUpdateParameters."
1314+
"description": "Services response resource."
13151315
},
13161316
"type": {
13171317
"type": "string",
@@ -4041,13 +4041,13 @@
40414041
"properties": {
40424042
"oneOf": [
40434043
{
4044-
"$ref": "#/definitions/ServiceResourceCreateUpdateProperties"
4044+
"$ref": "#/definitions/ServiceResourceProperties"
40454045
},
40464046
{
40474047
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
40484048
}
40494049
],
4050-
"description": "Properties in ServiceResourceCreateUpdateParameters."
4050+
"description": "Services response resource."
40514051
},
40524052
"type": {
40534053
"type": "string",
@@ -4840,6 +4840,21 @@
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+
},
48434858
"DefaultRequestDatabaseAccountCreateUpdateProperties": {
48444859
"type": "object",
48454860
"properties": {
@@ -5708,9 +5723,33 @@
57085723
}
57095724
}
57105725
},
5711-
"ServiceResourceCreateUpdateProperties": {
5726+
"ServiceResourceProperties": {
57125727
"type": "object",
5728+
"oneOf": [
5729+
{
5730+
"$ref": "#/definitions/DataTransferServiceResourceProperties"
5731+
},
5732+
{
5733+
"$ref": "#/definitions/SqlDedicatedGatewayServiceResourceProperties"
5734+
}
5735+
],
57135736
"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+
},
57145753
"instanceCount": {
57155754
"oneOf": [
57165755
{
@@ -5737,23 +5776,9 @@
57375776
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
57385777
}
57395778
]
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-
]
57545779
}
57555780
},
5756-
"description": "Properties in ServiceResourceCreateUpdateParameters."
5781+
"description": "Services response resource."
57575782
},
57585783
"SpatialSpec": {
57595784
"type": "object",
@@ -5938,6 +5963,25 @@
59385963
],
59395964
"description": "Cosmos DB SQL database resource object"
59405965
},
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+
},
59415985
"SqlRoleAssignmentResource": {
59425986
"type": "object",
59435987
"properties": {

0 commit comments

Comments
 (0)