Skip to content

Commit 3d5e055

Browse files
cool-mistSurya
andauthored
Add missing features to be released in 2021-06-01 into 2021-06-01-preview (#15602)
* Add missing features to be released in 2021-06-01 into 2021-06-01-preview * Prettier fix * Fix naming from review comments * Fix parameter names in azureADOnlyAuthentication examples * Remove systemData from azureAdOnlyAuthentication.json Co-authored-by: Surya <[email protected]>
1 parent 6c0a6a0 commit 3d5e055

File tree

7 files changed

+397
-6
lines changed

7 files changed

+397
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,287 @@
1+
{
2+
"swagger": "2.0",
3+
"info": {
4+
"version": "2021-06-01-preview",
5+
"title": "SynapseManagementClient",
6+
"description": "Azure Synapse Analytics APIs"
7+
},
8+
"host": "management.azure.com",
9+
"schemes": [
10+
"https"
11+
],
12+
"securityDefinitions": {
13+
"azure_auth": {
14+
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
15+
"flow": "implicit",
16+
"type": "oauth2",
17+
"scopes": {
18+
"user_impersonation": "impersonate your user account"
19+
},
20+
"description": "Azure Active Directory OAuth2 Flow"
21+
}
22+
},
23+
"consumes": [
24+
"application/json"
25+
],
26+
"produces": [
27+
"application/json"
28+
],
29+
"paths": {
30+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications/{azureADOnlyAuthenticationName}": {
31+
"get": {
32+
"operationId": "AzureADOnlyAuthentications_Get",
33+
"summary": "Get Azure Active Directory Only Authentication property",
34+
"description": "Gets a Azure Active Directory Only Authentication property for the workspace",
35+
"tags": [
36+
"WorkspaceAzureADOnlyAuthentications"
37+
],
38+
"deprecated": false,
39+
"parameters": [
40+
{
41+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
42+
},
43+
{
44+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
45+
},
46+
{
47+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
48+
},
49+
{
50+
"$ref": "#/parameters/workspaceNameParameter"
51+
},
52+
{
53+
"$ref": "#/parameters/azureADOnlyAuthenticationNameParameter"
54+
}
55+
],
56+
"responses": {
57+
"200": {
58+
"schema": {
59+
"$ref": "#/definitions/AzureADOnlyAuthentication"
60+
},
61+
"description": "OK"
62+
},
63+
"default": {
64+
"schema": {
65+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
66+
},
67+
"description": ""
68+
}
69+
},
70+
"x-ms-examples": {
71+
"Get Azure Active Directory Only Authentication property": {
72+
"$ref": "./examples/GetAzureADOnlyAuthentication.json"
73+
}
74+
}
75+
},
76+
"put": {
77+
"operationId": "AzureADOnlyAuthentications_Create",
78+
"summary": "Create or Update Azure Active Directory Only Authentication property",
79+
"description": "Create or Update a Azure Active Directory Only Authentication property for the workspace",
80+
"tags": [
81+
"WorkspaceAzureADOnlyAuthentications"
82+
],
83+
"deprecated": false,
84+
"parameters": [
85+
{
86+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
87+
},
88+
{
89+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
90+
},
91+
{
92+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
93+
},
94+
{
95+
"$ref": "#/parameters/workspaceNameParameter"
96+
},
97+
{
98+
"$ref": "#/parameters/azureADOnlyAuthenticationNameParameter"
99+
},
100+
{
101+
"schema": {
102+
"$ref": "#/definitions/AzureADOnlyAuthentication"
103+
},
104+
"in": "body",
105+
"name": "AzureADOnlyAuthenticationInfo",
106+
"description": "Azure Active Directory Property",
107+
"required": true
108+
}
109+
],
110+
"responses": {
111+
"200": {
112+
"schema": {
113+
"$ref": "#/definitions/AzureADOnlyAuthentication"
114+
},
115+
"description": "OK"
116+
},
117+
"201": {
118+
"schema": {
119+
"$ref": "#/definitions/AzureADOnlyAuthentication"
120+
},
121+
"description": "Created"
122+
},
123+
"202": {
124+
"description": "Accepted"
125+
},
126+
"default": {
127+
"schema": {
128+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
129+
},
130+
"description": ""
131+
}
132+
},
133+
"x-ms-examples": {
134+
"Create or Update Azure Active Directory Only Authentication property": {
135+
"$ref": "./examples/CreateOrUpdateAzureADOnlyAuthentication.json"
136+
}
137+
},
138+
"x-ms-long-running-operation": true,
139+
"x-ms-long-running-operation-options": {
140+
"final-state-via": "location"
141+
}
142+
}
143+
},
144+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/azureADOnlyAuthentications": {
145+
"get": {
146+
"operationId": "AzureADOnlyAuthentications_List",
147+
"summary": "Gets a list of Azure Active Directory Only Authentication property",
148+
"description": "Gets a list of Azure Active Directory Only Authentication properties for a workspace",
149+
"tags": [
150+
"WorkspaceAzureADOnlyAuthentications"
151+
],
152+
"deprecated": false,
153+
"parameters": [
154+
{
155+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
156+
},
157+
{
158+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
159+
},
160+
{
161+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter"
162+
},
163+
{
164+
"$ref": "#/parameters/workspaceNameParameter"
165+
}
166+
],
167+
"responses": {
168+
"200": {
169+
"schema": {
170+
"$ref": "#/definitions/AzureADOnlyAuthenticationListResult"
171+
},
172+
"description": "OK"
173+
},
174+
"default": {
175+
"schema": {
176+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
177+
},
178+
"description": ""
179+
}
180+
},
181+
"x-ms-pageable": {
182+
"nextLinkName": "nextLink"
183+
},
184+
"x-ms-examples": {
185+
"Get a list of Azure Active Directory Only Authentication property": {
186+
"$ref": "./examples/ListAzureADOnlyAuthentication.json"
187+
}
188+
}
189+
}
190+
}
191+
},
192+
"definitions": {
193+
"AzureADOnlyAuthenticationProperties": {
194+
"description": "Azure Active Directory Only Authentication properties",
195+
"required": [
196+
"azureADOnlyAuthentication"
197+
],
198+
"type": "object",
199+
"properties": {
200+
"azureADOnlyAuthentication": {
201+
"description": "Azure Active Directory Only Authentication enabled",
202+
"type": "boolean"
203+
},
204+
"state": {
205+
"description": "Azure Active Directory Only Authentication configuration state",
206+
"type": "string",
207+
"readOnly": true,
208+
"enum": [
209+
"Consistent",
210+
"InConsistent",
211+
"Updating"
212+
],
213+
"x-ms-enum": {
214+
"name": "AuthenticationState",
215+
"modelAsString": true
216+
}
217+
},
218+
"creationDate": {
219+
"description": "property configuration date",
220+
"type": "string",
221+
"format": "date-time",
222+
"readOnly": true
223+
}
224+
}
225+
},
226+
"AzureADOnlyAuthentication": {
227+
"description": "Azure Active Directory Only Authentication Info",
228+
"type": "object",
229+
"allOf": [
230+
{
231+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ProxyResource"
232+
}
233+
],
234+
"properties": {
235+
"properties": {
236+
"description": "Azure Active Directory Only Authentication resource properties",
237+
"$ref": "#/definitions/AzureADOnlyAuthenticationProperties",
238+
"x-ms-client-flatten": true
239+
}
240+
}
241+
},
242+
"AzureADOnlyAuthenticationListResult": {
243+
"description": "A list of Azure Active Directory only authentications.",
244+
"type": "object",
245+
"properties": {
246+
"value": {
247+
"description": "Array of results.",
248+
"type": "array",
249+
"items": {
250+
"$ref": "#/definitions/AzureADOnlyAuthentication"
251+
},
252+
"readOnly": true
253+
},
254+
"nextLink": {
255+
"description": "Link to retrieve next page of results.",
256+
"type": "string",
257+
"readOnly": true
258+
}
259+
}
260+
}
261+
},
262+
"parameters": {
263+
"workspaceNameParameter": {
264+
"name": "workspaceName",
265+
"in": "path",
266+
"required": true,
267+
"type": "string",
268+
"description": "The name of the workspace",
269+
"x-ms-parameter-location": "method"
270+
},
271+
"azureADOnlyAuthenticationNameParameter": {
272+
"type": "string",
273+
"in": "path",
274+
"name": "azureADOnlyAuthenticationName",
275+
"description": "name of the property",
276+
"required": true,
277+
"enum": [
278+
"default"
279+
],
280+
"x-ms-enum": {
281+
"name": "AzureADOnlyAuthenticationName",
282+
"modelAsString": true
283+
},
284+
"x-ms-parameter-location": "method"
285+
}
286+
}
287+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "workspace-6852",
5+
"workspaceName": "workspace-2080",
6+
"azureADOnlyAuthenticationName": "default",
7+
"api-version": "2021-06-01-preview",
8+
"AzureADOnlyAuthenticationInfo": {
9+
"properties": {
10+
"azureADOnlyAuthentication": true
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default",
18+
"name": "default",
19+
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
20+
"properties": {
21+
"azureADOnlyAuthentication": true,
22+
"creationDate": "2017-02-10T00:56:19.2Z",
23+
"state": "Consistent"
24+
}
25+
}
26+
},
27+
"201": {
28+
"body": {
29+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default",
30+
"name": "default",
31+
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
32+
"properties": {
33+
"azureADOnlyAuthentication": true,
34+
"creationDate": "2017-02-10T00:56:19.2Z",
35+
"state": "Updating"
36+
}
37+
}
38+
},
39+
"202": {}
40+
}
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "workspace-6852",
5+
"workspaceName": "workspace-2080",
6+
"azureADOnlyAuthenticationName": "default",
7+
"api-version": "2021-06-01-preview"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default",
13+
"name": "default",
14+
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
15+
"properties": {
16+
"azureADOnlyAuthentication": true,
17+
"creationDate": "2017-02-10T00:56:19.2Z",
18+
"state": "Consistent"
19+
}
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"resourceGroupName": "workspace-6852",
5+
"workspaceName": "workspace-2080",
6+
"api-version": "2021-06-01-preview"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/workspace-6852/providers/Microsoft.Synapse/workspaces/workspace-2080/azureADOnlyAuthentications/default",
14+
"name": "default",
15+
"type": "Microsoft.Synapse/workspaces/azureADOnlyAuthentications",
16+
"properties": {
17+
"azureADOnlyAuthentication": true,
18+
"creationDate": "2017-02-10T00:56:19.2Z",
19+
"state": "Consistent"
20+
}
21+
}
22+
]
23+
}
24+
}
25+
}
26+
}

specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/sqlPool.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5370,6 +5370,11 @@
53705370
"name": "StorageAccountType",
53715371
"modelAsString": true
53725372
}
5373+
},
5374+
"sourceDatabaseDeletionDate": {
5375+
"type": "string",
5376+
"description": "Specifies the time that the sql pool was deleted",
5377+
"format": "date-time"
53735378
}
53745379
}
53755380
},

0 commit comments

Comments
 (0)