Skip to content

Commit

Permalink
CodeGen from PR 23544 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
fix lro final-state-via and revert change of ErrorResponse (#23544)

* fix lro final-state-via

* revert replication role

* revert cloudError
  • Loading branch information
SDKAuto committed Apr 14, 2023
1 parent d4fb70b commit dcde4e3
Show file tree
Hide file tree
Showing 3 changed files with 1,208 additions and 0 deletions.
110 changes: 110 additions & 0 deletions schemas/2021-12-01-preview/Microsoft.DBforMySQL.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@
{
"$ref": "#/definitions/flexibleServers_backups_childResource"
},
{
"$ref": "#/definitions/flexibleServers_configurations_childResource"
},
{
"$ref": "#/definitions/flexibleServers_databases_childResource"
},
Expand Down Expand Up @@ -178,6 +181,45 @@
],
"description": "Microsoft.DBforMySQL/flexibleServers/backups"
},
"flexibleServers_configurations": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-12-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the server configuration."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ConfigurationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of a configuration."
},
"type": {
"type": "string",
"enum": [
"Microsoft.DBforMySQL/flexibleServers/configurations"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforMySQL/flexibleServers/configurations"
},
"flexibleServers_databases": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -326,6 +368,35 @@
},
"description": "Storage Profile properties of a server"
},
"ConfigurationProperties": {
"type": "object",
"properties": {
"currentValue": {
"type": "string",
"description": "Current value of the configuration."
},
"source": {
"oneOf": [
{
"type": "string",
"enum": [
"system-default",
"user-override"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Source of the configuration."
},
"value": {
"type": "string",
"description": "Value of the configuration."
}
},
"description": "The properties of a configuration."
},
"DatabaseProperties": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -480,6 +551,45 @@
],
"description": "Microsoft.DBforMySQL/flexibleServers/backups"
},
"flexibleServers_configurations_childResource": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2021-12-01-preview"
]
},
"name": {
"type": "string",
"description": "The name of the server configuration."
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/ConfigurationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The properties of a configuration."
},
"type": {
"type": "string",
"enum": [
"configurations"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.DBforMySQL/flexibleServers/configurations"
},
"flexibleServers_databases_childResource": {
"type": "object",
"properties": {
Expand Down
Loading

0 comments on commit dcde4e3

Please sign in to comment.