|
107 | 107 | "nextLinkName": null |
108 | 108 | } |
109 | 109 | } |
110 | | - }, |
111 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}": { |
112 | | - "put": { |
113 | | - "tags": [ |
114 | | - "TransparentDataEncryption" |
115 | | - ], |
116 | | - "operationId": "TransparentDataEncryptions_CreateOrUpdate", |
117 | | - "description": "Creates or updates a database's transparent data encryption configuration.", |
118 | | - "x-ms-examples": { |
119 | | - "Create or update a database's transparent data encryption configuration": { |
120 | | - "$ref": "./examples/DatabaseTransparentDataEncryptionCreateOrUpdate.json" |
121 | | - } |
122 | | - }, |
123 | | - "parameters": [ |
124 | | - { |
125 | | - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" |
126 | | - }, |
127 | | - { |
128 | | - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" |
129 | | - }, |
130 | | - { |
131 | | - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" |
132 | | - }, |
133 | | - { |
134 | | - "$ref": "#/parameters/ServerNameParameter" |
135 | | - }, |
136 | | - { |
137 | | - "name": "databaseName", |
138 | | - "in": "path", |
139 | | - "required": true, |
140 | | - "type": "string", |
141 | | - "description": "The name of the database for which setting the transparent data encryption applies." |
142 | | - }, |
143 | | - { |
144 | | - "$ref": "#/parameters/TransparentDataEncryptionNameParameter" |
145 | | - }, |
146 | | - { |
147 | | - "name": "parameters", |
148 | | - "in": "body", |
149 | | - "required": true, |
150 | | - "schema": { |
151 | | - "$ref": "#/definitions/TransparentDataEncryption" |
152 | | - }, |
153 | | - "description": "The required parameters for creating or updating transparent data encryption." |
154 | | - } |
155 | | - ], |
156 | | - "responses": { |
157 | | - "200": { |
158 | | - "description": "OK", |
159 | | - "schema": { |
160 | | - "$ref": "#/definitions/TransparentDataEncryption" |
161 | | - } |
162 | | - }, |
163 | | - "201": { |
164 | | - "description": "Created", |
165 | | - "schema": { |
166 | | - "$ref": "#/definitions/TransparentDataEncryption" |
167 | | - } |
168 | | - } |
169 | | - } |
170 | | - }, |
171 | | - "get": { |
172 | | - "tags": [ |
173 | | - "TransparentDataEncryption" |
174 | | - ], |
175 | | - "operationId": "TransparentDataEncryptions_Get", |
176 | | - "description": "Gets a database's transparent data encryption configuration.", |
177 | | - "x-ms-examples": { |
178 | | - "Get a database's transparent data encryption configuration": { |
179 | | - "$ref": "./examples/DatabaseTransparentDataEncryptionGet.json" |
180 | | - } |
181 | | - }, |
182 | | - "parameters": [ |
183 | | - { |
184 | | - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" |
185 | | - }, |
186 | | - { |
187 | | - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" |
188 | | - }, |
189 | | - { |
190 | | - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" |
191 | | - }, |
192 | | - { |
193 | | - "$ref": "#/parameters/ServerNameParameter" |
194 | | - }, |
195 | | - { |
196 | | - "name": "databaseName", |
197 | | - "in": "path", |
198 | | - "required": true, |
199 | | - "type": "string", |
200 | | - "description": "The name of the database for which the transparent data encryption applies." |
201 | | - }, |
202 | | - { |
203 | | - "$ref": "#/parameters/TransparentDataEncryptionNameParameter" |
204 | | - } |
205 | | - ], |
206 | | - "responses": { |
207 | | - "200": { |
208 | | - "description": "OK", |
209 | | - "schema": { |
210 | | - "$ref": "#/definitions/TransparentDataEncryption" |
211 | | - } |
212 | | - } |
213 | | - } |
214 | | - } |
215 | | - }, |
216 | | - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/transparentDataEncryption/{transparentDataEncryptionName}/operationResults": { |
217 | | - "get": { |
218 | | - "tags": [ |
219 | | - "TransparentDataEncryption" |
220 | | - ], |
221 | | - "operationId": "TransparentDataEncryptionActivities_ListByConfiguration", |
222 | | - "description": "Returns a database's transparent data encryption operation result.", |
223 | | - "x-ms-examples": { |
224 | | - "List a database's transparent data encryption activities": { |
225 | | - "$ref": "./examples/DatabaseTransparentDataEncryptionActivityList.json" |
226 | | - } |
227 | | - }, |
228 | | - "parameters": [ |
229 | | - { |
230 | | - "$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter" |
231 | | - }, |
232 | | - { |
233 | | - "$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter" |
234 | | - }, |
235 | | - { |
236 | | - "$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter" |
237 | | - }, |
238 | | - { |
239 | | - "$ref": "#/parameters/ServerNameParameter" |
240 | | - }, |
241 | | - { |
242 | | - "name": "databaseName", |
243 | | - "in": "path", |
244 | | - "required": true, |
245 | | - "type": "string", |
246 | | - "description": "The name of the database for which the transparent data encryption applies." |
247 | | - }, |
248 | | - { |
249 | | - "$ref": "#/parameters/TransparentDataEncryptionNameParameter" |
250 | | - } |
251 | | - ], |
252 | | - "responses": { |
253 | | - "200": { |
254 | | - "description": "OK", |
255 | | - "schema": { |
256 | | - "$ref": "#/definitions/TransparentDataEncryptionActivityListResult" |
257 | | - } |
258 | | - } |
259 | | - }, |
260 | | - "x-ms-pageable": { |
261 | | - "nextLinkName": null |
262 | | - } |
263 | | - } |
264 | 110 | } |
265 | 111 | }, |
266 | 112 | "definitions": { |
|
547 | 393 | ], |
548 | 394 | "description": "Represents the response to a list elastic pool database activity request." |
549 | 395 | }, |
550 | | - "TransparentDataEncryptionProperties": { |
551 | | - "properties": { |
552 | | - "status": { |
553 | | - "type": "string", |
554 | | - "description": "The status of the database transparent data encryption.", |
555 | | - "enum": [ |
556 | | - "Enabled", |
557 | | - "Disabled" |
558 | | - ], |
559 | | - "x-ms-enum": { |
560 | | - "name": "TransparentDataEncryptionStatus" |
561 | | - } |
562 | | - } |
563 | | - }, |
564 | | - "description": "Represents the properties of a database transparent data encryption." |
565 | | - }, |
566 | | - "TransparentDataEncryption": { |
567 | | - "properties": { |
568 | | - "location": { |
569 | | - "type": "string", |
570 | | - "readOnly": true, |
571 | | - "description": "Resource location." |
572 | | - }, |
573 | | - "properties": { |
574 | | - "x-ms-client-flatten": true, |
575 | | - "$ref": "#/definitions/TransparentDataEncryptionProperties", |
576 | | - "description": "Represents the properties of the resource." |
577 | | - } |
578 | | - }, |
579 | | - "allOf": [ |
580 | | - { |
581 | | - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" |
582 | | - } |
583 | | - ], |
584 | | - "description": "Represents a database transparent data encryption configuration." |
585 | | - }, |
586 | 396 | "SloUsageMetric": { |
587 | 397 | "properties": { |
588 | 398 | "serviceLevelObjective": { |
|
704 | 514 | } |
705 | 515 | }, |
706 | 516 | "description": "The impact of an operation, both in absolute and relative terms." |
707 | | - }, |
708 | | - "TransparentDataEncryptionActivityProperties": { |
709 | | - "properties": { |
710 | | - "status": { |
711 | | - "readOnly": true, |
712 | | - "type": "string", |
713 | | - "description": "The status of the database.", |
714 | | - "enum": [ |
715 | | - "Encrypting", |
716 | | - "Decrypting" |
717 | | - ], |
718 | | - "x-ms-enum": { |
719 | | - "name": "TransparentDataEncryptionActivityStatus", |
720 | | - "modelAsString": true |
721 | | - } |
722 | | - }, |
723 | | - "percentComplete": { |
724 | | - "readOnly": true, |
725 | | - "type": "number", |
726 | | - "format": "float", |
727 | | - "description": "The percent complete of the transparent data encryption scan for a database." |
728 | | - } |
729 | | - }, |
730 | | - "description": "Represents the properties of a database transparent data encryption Scan." |
731 | | - }, |
732 | | - "TransparentDataEncryptionActivity": { |
733 | | - "properties": { |
734 | | - "location": { |
735 | | - "type": "string", |
736 | | - "readOnly": true, |
737 | | - "description": "Resource location." |
738 | | - }, |
739 | | - "properties": { |
740 | | - "x-ms-client-flatten": true, |
741 | | - "$ref": "#/definitions/TransparentDataEncryptionActivityProperties", |
742 | | - "description": "Represents the properties of the resource." |
743 | | - } |
744 | | - }, |
745 | | - "allOf": [ |
746 | | - { |
747 | | - "$ref": "../../../common/v1/types.json#/definitions/ProxyResource" |
748 | | - } |
749 | | - ], |
750 | | - "description": "Represents a database transparent data encryption Scan." |
751 | | - }, |
752 | | - "TransparentDataEncryptionActivityListResult": { |
753 | | - "properties": { |
754 | | - "value": { |
755 | | - "type": "array", |
756 | | - "items": { |
757 | | - "$ref": "#/definitions/TransparentDataEncryptionActivity" |
758 | | - }, |
759 | | - "description": "The list of database transparent data encryption activities." |
760 | | - } |
761 | | - }, |
762 | | - "required": [ |
763 | | - "value" |
764 | | - ], |
765 | | - "description": "Represents the response to a list database transparent data encryption activity request." |
766 | 517 | } |
767 | 518 | }, |
768 | 519 | "parameters": { |
|
781 | 532 | "type": "string", |
782 | 533 | "description": "A comma separated list of child objects to expand in the response. Possible properties: serviceTierAdvisors, transparentDataEncryption.", |
783 | 534 | "x-ms-parameter-location": "method" |
784 | | - }, |
785 | | - "TransparentDataEncryptionNameParameter": { |
786 | | - "name": "transparentDataEncryptionName", |
787 | | - "in": "path", |
788 | | - "required": true, |
789 | | - "type": "string", |
790 | | - "enum": [ |
791 | | - "current" |
792 | | - ], |
793 | | - "description": "The name of the transparent data encryption configuration.", |
794 | | - "x-ms-enum": { |
795 | | - "modelAsString": true, |
796 | | - "name": "TransparentDataEncryptionName" |
797 | | - }, |
798 | | - "x-ms-parameter-location": "method" |
799 | 535 | } |
800 | 536 | }, |
801 | 537 | "securityDefinitions": { |
|
0 commit comments