Skip to content

Commit d0d161e

Browse files
jeremyfrostiericshapemohitagarwal-sqlGalGoldi72ilijadivljan-ms
authored
Release sql microsoft.sql 2022 11 01 preview (#23802)
* Adds base for updating Microsoft.Sql from version preview/2022-08-01-preview to version 2022-11-01-preview * Updates readme * Updates API version in new specs and examples * Add Swagger API changes required for progress-reporting related changes in DatabaseOperations (#22669) * Update swagger (#22715) * Follow-up Swagger API changes required for progress-reporting related changes in DatabaseOperations (#22775) * Add Swagger API changes required for progress-reporting related changes in DatabaseOperations * Follow up changes required for progress-reporting related changes in DatabaseOperations * updated example file * Added Failed case in list-operations examples * Update Microsoft.Sql ManagedInstance 2022-11-01-preview Swagger Docs (#22899) * Update Microsoft.sql ManagedInstance 2022-11-01-preview Swagger Docs * Address Swagger Validation Errors * Modify custom-words.txt * Manually updating arm-id format to match stable 2021-11-01 version * Adding provisioning state changes * fixing validation * adding missing space * Remove HTTP 200 from Start/Stop Actions as we only return HTTP 202 --------- Co-authored-by: Jovana Toroman <[email protected]> * Update DateTime to ISO-8601 format in example file (#22986) * Add Swagger API changes required for progress-reporting related changes in DatabaseOperations * Follow up changes required for progress-reporting related changes in DatabaseOperations * updated example file * Added Failed case in list-operations examples * Update DateTime to ISo-8601 format in example file * Enable TryPlannedBeforeForcedFailover for SQL DB Failover Group (#22673) * Enable TryPlannedBeforeForcedFailover for SQL DB Failover Group * Modify example file * Add example * Fix ModelValidation issues * Fix ModelValidation issues * Add new controller * Modify example * Modify example * Update server name * Fix LintDiff * Fix model validation errors * Fix PostOperationAsyncResponseValidation, Unfix LroLocationHeader,ResourceNameRestriction * Fix PostOperationAsyncResponseValidation * Fix pending items * Update doc * Remove empty/unschematized object --------- Co-authored-by: subhrob <[email protected]> * [DO NOT MERGE] Add Archive option to LTR Policy for SQL DB (#22697) * add archival changes to LTRPolicy * fix LongTermRetentionPolicies swagger file * fix check failures * redo swagger * Update swagger documentation for Managed Instance start-stop actions (#22992) * Add NetworkSecurityPerimeterConfigurations Swagger (#22960) * Add NetworkSecurityPerimeterConfigurations Swagger * Fixes round 1 * Fixes round 2 * Fixes Round 3 * Fixes Round 4 * Fix Round 5 * fixing enum (#22995) Co-authored-by: Jovana Toroman <[email protected]> * add changes (#23120) * Carry all minor changes to dev sql microsoft.sql 2022 11 01 preview (#23337) * Revert "add changes (#23120)" This reverts commit 5c348d2. Revert "[DO NOT MERGE] Add Archive option to LTR Policy for SQL DB (#22697)" This reverts commit 559f7f4. * Carrying minor changes to release branch for Microsoft.Sql 2022-11-01-preview * Reverting DatabaseAdvisors * Further reverting problematic files * Reverting a few example files * Adding back arm-id to a few files * Reverting error message change in ManagedDatabaseRestoreDetails.json, Jobs.json,ServerDevOpsAudit.json, and TransparentDataEncryptions.json * Minor fixes for Turkey name change and missing x-ms-identifier (#23637) * Fixing issues with a few breaking changes (#23943) * Minor fixes for Turkey name change and missing x-ms-identifier * Adding back missing arm-id and other missing property issues causing breaking changes incorrectly. * Fixing prettier issue with ManagedDatabases.json * Fixing arm-id format in 4 examples * Adding missing location for 202 responses on sync examples --------- Co-authored-by: Ji Wang <[email protected]> Co-authored-by: Mohit Agarwal <[email protected]> Co-authored-by: GalGoldi72 <[email protected]> Co-authored-by: ilijadivljan-ms <[email protected]> Co-authored-by: Jovana Toroman <[email protected]> Co-authored-by: subhrob <[email protected]> Co-authored-by: subhrob <[email protected]> Co-authored-by: CelinaJiangJXY <[email protected]> Co-authored-by: beoberha <[email protected]> Co-authored-by: toki95 <[email protected]>
1 parent 2455fb2 commit d0d161e

File tree

792 files changed

+90392
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

792 files changed

+90392
-2
lines changed

custom-words.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ Cmek
411411
CMKDW
412412
CMKHS
413413
CMMI
414+
CMWIs
414415
CNAME
415416
cnames
416417
CODEGEN
@@ -2392,6 +2393,8 @@ vhds
23922393
videosearch
23932394
viewp
23942395
vippool
2396+
virutal
2397+
Virutal
23952398
virtualclusters
23962399
virtualharddisks
23972400
virtualip

specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/BackupShortTermRetentionPolicies.json

Lines changed: 345 additions & 0 deletions
Large diffs are not rendered by default.

specification/sql/resource-manager/Microsoft.Sql/preview/2022-11-01-preview/BlobAuditing.json

Lines changed: 1087 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2022-11-01-preview",
5+
"title": "SqlManagementClient",
6+
"description": "The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities."
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"consumes": [
13+
"application/json"
14+
],
15+
"produces": [
16+
"application/json"
17+
],
18+
"paths": {
19+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/dataMaskingPolicies/{dataMaskingPolicyName}": {
20+
"get": {
21+
"tags": [
22+
"DataMaskingPolicies"
23+
],
24+
"description": "Gets the database data masking policy.",
25+
"operationId": "DataMaskingPolicies_Get",
26+
"parameters": [
27+
{
28+
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter"
29+
},
30+
{
31+
"$ref": "#/parameters/ServerNameParameter"
32+
},
33+
{
34+
"$ref": "#/parameters/DatabaseNameParameter"
35+
},
36+
{
37+
"name": "dataMaskingPolicyName",
38+
"in": "path",
39+
"description": "The name of the database for which the data masking policy applies.",
40+
"required": true,
41+
"type": "string",
42+
"enum": [
43+
"Default"
44+
],
45+
"x-ms-enum": {
46+
"name": "DataMaskingPolicyName",
47+
"modelAsString": true
48+
}
49+
},
50+
{
51+
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter"
52+
},
53+
{
54+
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
55+
}
56+
],
57+
"responses": {
58+
"200": {
59+
"description": "Successfully retrieved the database data masking policies.",
60+
"schema": {
61+
"$ref": "#/definitions/DataMaskingPolicy"
62+
}
63+
},
64+
"default": {
65+
"description": "*** Error Responses: ***"
66+
}
67+
},
68+
"x-ms-examples": {
69+
"Gets the database data masking policies.": {
70+
"$ref": "./examples/DataMaskingPolicyGet.json"
71+
}
72+
}
73+
},
74+
"put": {
75+
"tags": [
76+
"DataMaskingPolicies"
77+
],
78+
"description": "Creates or updates a database data masking policy.",
79+
"operationId": "DataMaskingPolicies_CreateOrUpdate",
80+
"parameters": [
81+
{
82+
"$ref": "../../../common/v1/types.json#/parameters/ResourceGroupParameter"
83+
},
84+
{
85+
"$ref": "#/parameters/ServerNameParameter"
86+
},
87+
{
88+
"$ref": "#/parameters/DatabaseNameParameter"
89+
},
90+
{
91+
"name": "dataMaskingPolicyName",
92+
"in": "path",
93+
"description": "The name of the database for which the data masking policy applies.",
94+
"required": true,
95+
"type": "string",
96+
"enum": [
97+
"Default"
98+
],
99+
"x-ms-enum": {
100+
"name": "DataMaskingPolicyName",
101+
"modelAsString": true
102+
}
103+
},
104+
{
105+
"name": "parameters",
106+
"in": "body",
107+
"description": "Parameters for creating or updating a data masking policy.",
108+
"required": true,
109+
"schema": {
110+
"$ref": "#/definitions/DataMaskingPolicy"
111+
}
112+
},
113+
{
114+
"$ref": "../../../common/v1/types.json#/parameters/SubscriptionIdParameter"
115+
},
116+
{
117+
"$ref": "../../../common/v1/types.json#/parameters/ApiVersionParameter"
118+
}
119+
],
120+
"responses": {
121+
"200": {
122+
"description": "Successfully created database data masking policy.",
123+
"schema": {
124+
"$ref": "#/definitions/DataMaskingPolicy"
125+
}
126+
},
127+
"default": {
128+
"description": "*** Error Responses: ***"
129+
},
130+
"201": {
131+
"description": "Successfully created database data masking policy..",
132+
"schema": {
133+
"$ref": "#/definitions/DataMaskingPolicy"
134+
}
135+
}
136+
},
137+
"x-ms-examples": {
138+
"Create or update data masking policy max": {
139+
"$ref": "./examples/DataMaskingPolicyCreateOrUpdateMax.json"
140+
},
141+
"Create or update data masking policy min.": {
142+
"$ref": "./examples/DataMaskingPolicyCreateOrUpdateMin.json"
143+
}
144+
}
145+
}
146+
}
147+
},
148+
"definitions": {
149+
"DataMaskingPolicy": {
150+
"description": "A database data masking policy.",
151+
"type": "object",
152+
"allOf": [
153+
{
154+
"$ref": "../../../common/v1/types.json#/definitions/ProxyResource"
155+
}
156+
],
157+
"properties": {
158+
"location": {
159+
"description": "The location of the data masking policy.",
160+
"type": "string",
161+
"readOnly": true
162+
},
163+
"kind": {
164+
"description": "The kind of Data Masking Policy. Metadata, used for Azure portal.",
165+
"type": "string",
166+
"readOnly": true
167+
},
168+
"properties": {
169+
"$ref": "#/definitions/DataMaskingPolicyProperties",
170+
"description": "Resource properties.",
171+
"x-ms-client-flatten": true
172+
}
173+
}
174+
},
175+
"DataMaskingPolicyProperties": {
176+
"description": "The properties of a database data masking policy.",
177+
"required": [
178+
"dataMaskingState"
179+
],
180+
"type": "object",
181+
"properties": {
182+
"dataMaskingState": {
183+
"description": "The state of the data masking policy.",
184+
"enum": [
185+
"Enabled",
186+
"Disabled"
187+
],
188+
"type": "string",
189+
"x-ms-enum": {
190+
"name": "DataMaskingState",
191+
"modelAsString": false
192+
}
193+
},
194+
"exemptPrincipals": {
195+
"description": "The list of the exempt principals. Specifies the semicolon-separated list of database users for which the data masking policy does not apply. The specified users receive data results without masking for all of the database queries.",
196+
"type": "string"
197+
},
198+
"applicationPrincipals": {
199+
"description": "The list of the application principals. This is a legacy parameter and is no longer used.",
200+
"type": "string",
201+
"readOnly": true
202+
},
203+
"maskingLevel": {
204+
"description": "The masking level. This is a legacy parameter and is no longer used.",
205+
"type": "string",
206+
"readOnly": true
207+
}
208+
}
209+
}
210+
},
211+
"parameters": {
212+
"DatabaseNameParameter": {
213+
"name": "databaseName",
214+
"in": "path",
215+
"description": "The name of the database.",
216+
"required": true,
217+
"type": "string",
218+
"x-ms-parameter-location": "method"
219+
},
220+
"ServerNameParameter": {
221+
"name": "serverName",
222+
"in": "path",
223+
"description": "The name of the server.",
224+
"required": true,
225+
"type": "string",
226+
"x-ms-parameter-location": "method"
227+
}
228+
},
229+
"securityDefinitions": {
230+
"azure_auth": {
231+
"type": "oauth2",
232+
"description": "Azure Active Directory OAuth2 Flow",
233+
"flow": "implicit",
234+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
235+
"scopes": {
236+
"user_impersonation": "impersonate your user account"
237+
}
238+
}
239+
}
240+
}

0 commit comments

Comments
 (0)