Skip to content

Commit 402006d

Browse files
ericshapetadelesh
andauthored
Release sql 2022 08 01 preview (#22600)
* replace the cSpell.json and readme.md to prevent conflicts * add SQL RP 2022-08-01-preivew files only * revert recoverable DB and it will be added after swagger release * fix Failovers spelling error * Update readme.go.md --------- Co-authored-by: Chenjie Shi <[email protected]>
1 parent d37b3db commit 402006d

File tree

789 files changed

+89409
-8
lines changed

Some content is hidden

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

789 files changed

+89409
-8
lines changed

cSpell.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,8 @@
897897
"filename": "**/specification/purview/data-plane/Azure.Analytics.Purview.Workflow/preview/2022-05-01-preview/purviewWorkflow.json",
898898
"words": [
899899
"userrequests",
900+
"DSAR",
901+
"dsar",
900902
"workflowruns",
901903
"workflowtasks"
902904
]

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,7 @@ faceapi
748748
facelists
749749
facetable
750750
Failback
751+
Failovers
751752
failover
752753
Fairplay
753754
Fanout

specification/sql/resource-manager/Microsoft.Sql/preview/2022-08-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-08-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-08-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)