|
558 | 558 | }
|
559 | 559 | },
|
560 | 560 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/backups/{backupName}": {
|
| 561 | + "put": { |
| 562 | + "tags": [ |
| 563 | + "Backups" |
| 564 | + ], |
| 565 | + "operationId": "Backups_Put", |
| 566 | + "x-ms-examples": { |
| 567 | + "Create backup for a server": { |
| 568 | + "$ref": "./examples/BackupPut.json" |
| 569 | + } |
| 570 | + }, |
| 571 | + "description": "Create backup for a given server with specified backup name.", |
| 572 | + "parameters": [ |
| 573 | + { |
| 574 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" |
| 575 | + }, |
| 576 | + { |
| 577 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" |
| 578 | + }, |
| 579 | + { |
| 580 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" |
| 581 | + }, |
| 582 | + { |
| 583 | + "$ref": "#/parameters/ServerNameParameter" |
| 584 | + }, |
| 585 | + { |
| 586 | + "$ref": "#/parameters/BackupNameParameter" |
| 587 | + } |
| 588 | + ], |
| 589 | + "responses": { |
| 590 | + "200": { |
| 591 | + "description": "OK", |
| 592 | + "schema": { |
| 593 | + "$ref": "#/definitions/ServerBackup" |
| 594 | + } |
| 595 | + }, |
| 596 | + "default": { |
| 597 | + "description": "Error response describing why the operation failed.", |
| 598 | + "schema": { |
| 599 | + "$ref": "#/definitions/CloudError" |
| 600 | + } |
| 601 | + } |
| 602 | + } |
| 603 | + }, |
561 | 604 | "get": {
|
562 | 605 | "tags": [
|
563 | 606 | "Backups"
|
|
1204 | 1247 | }
|
1205 | 1248 | }
|
1206 | 1249 | },
|
| 1250 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/logFiles": { |
| 1251 | + "get": { |
| 1252 | + "tags": [ |
| 1253 | + "LogFiles" |
| 1254 | + ], |
| 1255 | + "operationId": "LogFiles_ListByServer", |
| 1256 | + "x-ms-examples": { |
| 1257 | + "List all serverlog files for a server": { |
| 1258 | + "$ref": "./examples/LogFilesListByServer.json" |
| 1259 | + } |
| 1260 | + }, |
| 1261 | + "description": "List all the serverlog files in a given server.", |
| 1262 | + "parameters": [ |
| 1263 | + { |
| 1264 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter" |
| 1265 | + }, |
| 1266 | + { |
| 1267 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter" |
| 1268 | + }, |
| 1269 | + { |
| 1270 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter" |
| 1271 | + }, |
| 1272 | + { |
| 1273 | + "$ref": "#/parameters/ServerNameParameter" |
| 1274 | + } |
| 1275 | + ], |
| 1276 | + "responses": { |
| 1277 | + "200": { |
| 1278 | + "description": "OK", |
| 1279 | + "schema": { |
| 1280 | + "$ref": "#/definitions/LogFileListResult" |
| 1281 | + } |
| 1282 | + }, |
| 1283 | + "default": { |
| 1284 | + "description": "Error response describing why the operation failed.", |
| 1285 | + "schema": { |
| 1286 | + "$ref": "#/definitions/CloudError" |
| 1287 | + } |
| 1288 | + } |
| 1289 | + }, |
| 1290 | + "x-ms-pageable": { |
| 1291 | + "nextLinkName": "nextLink" |
| 1292 | + } |
| 1293 | + } |
| 1294 | + }, |
1207 | 1295 | "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforMySQL/flexibleServers/{serverName}/configurations": {
|
1208 | 1296 | "get": {
|
1209 | 1297 | "tags": [
|
|
1228 | 1316 | },
|
1229 | 1317 | {
|
1230 | 1318 | "$ref": "#/parameters/ServerNameParameter"
|
| 1319 | + }, |
| 1320 | + { |
| 1321 | + "$ref": "#/parameters/ConfigurationTagsParameter" |
| 1322 | + }, |
| 1323 | + { |
| 1324 | + "$ref": "#/parameters/ConfigurationKeywordParameter" |
| 1325 | + }, |
| 1326 | + { |
| 1327 | + "$ref": "#/parameters/ConfigurationPageParameter" |
| 1328 | + }, |
| 1329 | + { |
| 1330 | + "$ref": "#/parameters/ConfigurationPageSizeParameter" |
1231 | 1331 | }
|
1232 | 1332 | ],
|
1233 | 1333 | "responses": {
|
|
1858 | 1958 | "format": "password",
|
1859 | 1959 | "description": "The password of the administrator login."
|
1860 | 1960 | },
|
| 1961 | + "version": { |
| 1962 | + "$ref": "#/definitions/ServerVersion", |
| 1963 | + "description": "Server version." |
| 1964 | + }, |
1861 | 1965 | "storage": {
|
1862 | 1966 | "$ref": "#/definitions/Storage",
|
1863 | 1967 | "description": "Storage related properties of a server."
|
|
2266 | 2370 | "$ref": "#/definitions/ConfigurationForBatchUpdate"
|
2267 | 2371 | },
|
2268 | 2372 | "description": "The list of server configurations."
|
| 2373 | + }, |
| 2374 | + "resetAllToDefault": { |
| 2375 | + "type": "boolean", |
| 2376 | + "description": "Whether to reset all server parameters to default." |
2269 | 2377 | }
|
2270 | 2378 | },
|
2271 | 2379 | "description": "A list of server configurations to update."
|
2272 | 2380 | },
|
| 2381 | + "LogFileProperties": { |
| 2382 | + "type": "object", |
| 2383 | + "properties": { |
| 2384 | + "sizeInKB": { |
| 2385 | + "type": "integer", |
| 2386 | + "format": "int64", |
| 2387 | + "description": "The size in kb of the logFile." |
| 2388 | + }, |
| 2389 | + "createdTime": { |
| 2390 | + "type": "string", |
| 2391 | + "format": "date-time", |
| 2392 | + "description": "Creation timestamp of the log file." |
| 2393 | + }, |
| 2394 | + "type": { |
| 2395 | + "type": "string", |
| 2396 | + "description": "Type of the log file." |
| 2397 | + }, |
| 2398 | + "lastModifiedTime": { |
| 2399 | + "type": "string", |
| 2400 | + "format": "date-time", |
| 2401 | + "description": "Last modified timestamp of the log file." |
| 2402 | + }, |
| 2403 | + "url": { |
| 2404 | + "type": "string", |
| 2405 | + "description": "The url to download the log file from." |
| 2406 | + } |
| 2407 | + }, |
| 2408 | + "description": "The properties of a logFile." |
| 2409 | + }, |
| 2410 | + "LogFile": { |
| 2411 | + "type": "object", |
| 2412 | + "properties": { |
| 2413 | + "properties": { |
| 2414 | + "$ref": "#/definitions/LogFileProperties", |
| 2415 | + "x-ms-client-flatten": true, |
| 2416 | + "description": "The properties of a logFile." |
| 2417 | + }, |
| 2418 | + "systemData": { |
| 2419 | + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/systemData", |
| 2420 | + "readOnly": true, |
| 2421 | + "description": "The system metadata relating to this resource." |
| 2422 | + } |
| 2423 | + }, |
| 2424 | + "allOf": [ |
| 2425 | + { |
| 2426 | + "$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource" |
| 2427 | + } |
| 2428 | + ], |
| 2429 | + "description": "Represents a logFile." |
| 2430 | + }, |
| 2431 | + "LogFileListResult": { |
| 2432 | + "type": "object", |
| 2433 | + "properties": { |
| 2434 | + "value": { |
| 2435 | + "type": "array", |
| 2436 | + "items": { |
| 2437 | + "$ref": "#/definitions/LogFile" |
| 2438 | + }, |
| 2439 | + "description": "The list of logFiles in a server" |
| 2440 | + }, |
| 2441 | + "nextLink": { |
| 2442 | + "description": "The link used to get the next page of operations.", |
| 2443 | + "type": "string" |
| 2444 | + } |
| 2445 | + }, |
| 2446 | + "description": "A List of logFiles." |
| 2447 | + }, |
2273 | 2448 | "VirtualNetworkSubnetUsageParameter": {
|
2274 | 2449 | "type": "object",
|
2275 | 2450 | "properties": {
|
|
2687 | 2862 | "description": "The name of the server configuration.",
|
2688 | 2863 | "x-ms-parameter-location": "method"
|
2689 | 2864 | },
|
| 2865 | + "ConfigurationTagsParameter": { |
| 2866 | + "name": "tags", |
| 2867 | + "in": "query", |
| 2868 | + "required": false, |
| 2869 | + "type": "string", |
| 2870 | + "description": "The tags of the server configuration.", |
| 2871 | + "x-ms-parameter-location": "method" |
| 2872 | + }, |
| 2873 | + "ConfigurationKeywordParameter": { |
| 2874 | + "name": "keyword", |
| 2875 | + "in": "query", |
| 2876 | + "required": false, |
| 2877 | + "type": "string", |
| 2878 | + "description": "The keyword of the server configuration.", |
| 2879 | + "x-ms-parameter-location": "method" |
| 2880 | + }, |
| 2881 | + "ConfigurationPageParameter": { |
| 2882 | + "name": "page", |
| 2883 | + "in": "query", |
| 2884 | + "required": false, |
| 2885 | + "type": "integer", |
| 2886 | + "format": "int32", |
| 2887 | + "description": "The page of the server configuration.", |
| 2888 | + "x-ms-parameter-location": "method" |
| 2889 | + }, |
| 2890 | + "ConfigurationPageSizeParameter": { |
| 2891 | + "name": "pageSize", |
| 2892 | + "in": "query", |
| 2893 | + "required": false, |
| 2894 | + "type": "integer", |
| 2895 | + "format": "int32", |
| 2896 | + "description": "The pageSize of the server configuration.", |
| 2897 | + "x-ms-parameter-location": "method" |
| 2898 | + }, |
2690 | 2899 | "LocationNameParameter": {
|
2691 | 2900 | "name": "locationName",
|
2692 | 2901 | "in": "path",
|
|
0 commit comments