|
971 | 971 | } |
972 | 972 | } |
973 | 973 | }, |
974 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/current": { |
| 974 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}": { |
975 | 975 | "put": { |
976 | 976 | "tags": [ |
977 | 977 | "TransparentDataEncryption" |
|
998 | 998 | "type": "string", |
999 | 999 | "description": "The name of the database for which setting the transparent data encryption applies." |
1000 | 1000 | }, |
| 1001 | + { |
| 1002 | + "$ref": "#/parameters/TransparentDataEncryptionNameParameter" |
| 1003 | + }, |
1001 | 1004 | { |
1002 | 1005 | "name": "parameters", |
1003 | 1006 | "in": "body", |
|
1029 | 1032 | ], |
1030 | 1033 | "operationId": "Databases_GetTransparentDataEncryptionConfiguration", |
1031 | 1034 | "description": "Gets a database's transparent data encryption configuration.", |
| 1035 | + "parameters": [ |
| 1036 | + { |
| 1037 | + "$ref": "#/parameters/ApiVersionParameter" |
| 1038 | + }, |
| 1039 | + { |
| 1040 | + "$ref": "#/parameters/SubscriptionIdParameter" |
| 1041 | + }, |
| 1042 | + { |
| 1043 | + "$ref": "#/parameters/ResourceGroupParameter" |
| 1044 | + }, |
| 1045 | + { |
| 1046 | + "$ref": "#/parameters/ServerNameParameter" |
| 1047 | + }, |
| 1048 | + { |
| 1049 | + "name": "databaseName", |
| 1050 | + "in": "path", |
| 1051 | + "required": true, |
| 1052 | + "type": "string", |
| 1053 | + "description": "The name of the database for which the transparent data encryption applies." |
| 1054 | + }, |
| 1055 | + { |
| 1056 | + "$ref": "#/parameters/TransparentDataEncryptionNameParameter" |
| 1057 | + } |
| 1058 | + ], |
| 1059 | + "responses": { |
| 1060 | + "200": { |
| 1061 | + "description": "OK", |
| 1062 | + "schema": { |
| 1063 | + "$ref": "#/definitions/TransparentDataEncryption" |
| 1064 | + } |
| 1065 | + } |
| 1066 | + } |
| 1067 | + } |
| 1068 | + }, |
| 1069 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption": { |
| 1070 | + "get": { |
| 1071 | + "tags": [ |
| 1072 | + "TransparentDataEncryption" |
| 1073 | + ], |
| 1074 | + "operationId": "Databases_ListTransparentDataEncryptionConfigurations", |
| 1075 | + "description": "Gets a list of a database's transparent data encryption configurations. There is only ever one element, named 'current', so GetTransparentDataEncryptionConfiguration should be used instead.", |
| 1076 | + "deprecated": false, |
1032 | 1077 | "parameters": [ |
1033 | 1078 | { |
1034 | 1079 | "$ref": "#/parameters/ApiVersionParameter" |
|
1060 | 1105 | } |
1061 | 1106 | } |
1062 | 1107 | }, |
1063 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/current/operationResults": { |
| 1108 | + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}/operationResults": { |
1064 | 1109 | "get": { |
1065 | 1110 | "tags": [ |
1066 | 1111 | "TransparentDataEncryption" |
|
1086 | 1131 | "required": true, |
1087 | 1132 | "type": "string", |
1088 | 1133 | "description": "The name of the database for which the transparent data encryption applies." |
| 1134 | + }, |
| 1135 | + { |
| 1136 | + "$ref": "#/parameters/TransparentDataEncryptionNameParameter" |
1089 | 1137 | } |
1090 | 1138 | ], |
1091 | 1139 | "responses": { |
|
1885 | 1933 | "$ref": "#/definitions/SubResource" |
1886 | 1934 | } |
1887 | 1935 | ], |
1888 | | - "description": "Represents a database transparent data encryption ." |
| 1936 | + "description": "Represents a database transparent data encryption configuration." |
| 1937 | + }, |
| 1938 | + "TransparentDataEncryptionListResult": { |
| 1939 | + "properties": { |
| 1940 | + "value": { |
| 1941 | + "type": "array", |
| 1942 | + "items": { |
| 1943 | + "$ref": "#/definitions/TransparentDataEncryption" |
| 1944 | + }, |
| 1945 | + "description": "The list of transparent data encryption configurations." |
| 1946 | + } |
| 1947 | + }, |
| 1948 | + "description": "Represents the response to a list transparent data encryption configurations request." |
1889 | 1949 | }, |
1890 | 1950 | "DatabaseProperties": { |
1891 | 1951 | "properties": { |
|
2471 | 2531 | "type": "string", |
2472 | 2532 | "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", |
2473 | 2533 | "x-ms-parameter-location": "method" |
| 2534 | + }, |
| 2535 | + "TransparentDataEncryptionNameParameter": { |
| 2536 | + "name": "transparentDataEncryptionName", |
| 2537 | + "in": "path", |
| 2538 | + "required": true, |
| 2539 | + "type": "string", |
| 2540 | + "enum": ["current"], |
| 2541 | + "description": "The name of the transparent data encryption configuration.", |
| 2542 | + "x-ms-enum":{ |
| 2543 | + "modelAsString": true, |
| 2544 | + "name": "TransparentDataEncryptionName" |
| 2545 | + }, |
| 2546 | + "x-ms-parameter-location": "method" |
2474 | 2547 | } |
2475 | 2548 | }, |
2476 | 2549 | "securityDefinitions": { |
|
0 commit comments