Skip to content

Commit 8b64c4f

Browse files
amitelranAmit Elran
andauthored
[Hub Generated] Review request for Microsoft.Synapse to add version preview/2021-06-01-preview (#14814)
* Adds base for updating Microsoft.Synapse from version stable/2021-05-01 to version 2021-06-01-preview * Updates readme * Updates API version in new specs and examples * Add kustoPool.json to new API version + examples files + in readme.md * Add "type": "object" to definitions * Modify SKU to new name & size instead of previous name & tier * Add KustoPool stop * fix KustoPool Stop example params * Add KustoPool Start + example * Add KustoPool LanguageExtension Add/List/Remove * Add "type": "object" to LanguageExtensionsList * Add KustoPoolFollowerDatabases DETACH and LIST + examples * Add KustoPoolDatabasePrincipals ADD & LIST + examples * Add missing DatabasePrincipalListRequest definition * Add "type": "object" to FollowerDatabaseListResult, DatabasePrincipalListRequest, DatabasePrincipalListResult * Add KustoPoolDatabasePrincipalsRemove + example * Remove redundant newline * Add AttachedDatabaseConfigurations to KustoPool + examples * Add AttachedDatabaseConfigurationNameParameter * Fixes for AttachedDatabaseConfiguration * Add "type": "object" to TableLevelSharingProperties * Fix example of KustoPoolAttachedDatabaseConfigurationCreateOrUpdate.json * Add DataConnectionValidation to kustoPool.json + example * Fixes to DataConnectionValidation * Remove properties from KustoPoolDataConnectionValidation.json * Fix object instead of array at KustoPoolDataConnectionValidation.json example * Fix indentation at KustoPoolDataConnectionValidation.json * Add KustoPoolPrincipalAssignmentCheckNameAvailability to kustoPool.json + example * Remove redundant slash * Add KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability to kustoPool.json + example * Fix in KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability.json * Add KustoPoolDataConnectionCheckNameAvailability.json + example * Add KustoPoolListSkus + example * Add kustoSkus path to kustoPool.json + example * Remove {databaseName}/addPrincipals, listPrincipals, removePrincipals. Remove related definitions + example files * Change workspaceUid to workspaceUID to keep convention with Workspace resource * Add new KustoPool properties: optimizedAutoscale enableStreamingIngest enablePurge languageExtensions * Change "KustoCluster" to "KustoPool" and remove engineType property * Change "kustoSkus" endpoint to "skus" * Add KustoPool databases CheckNameAvailability + examples * Re-position kustoPoolCheckNameAvailability * Fix typo in example * Minor adjustments in KustoPool databases CheckNameAvailability * Change to "validateDataConnection" * Revert back to DataConnectionValidation to keep consistency with kusto swagger Co-authored-by: Amit Elran <[email protected]>
1 parent 8dd7b05 commit 8b64c4f

File tree

248 files changed

+31607
-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.

248 files changed

+31607
-2
lines changed

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

Lines changed: 611 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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+
"paths": {
24+
"/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/checkNameAvailability": {
25+
"post": {
26+
"operationId": "Operations_CheckNameAvailability",
27+
"summary": "Check name availability",
28+
"description": "Check whether a workspace name is available",
29+
"tags": [
30+
"Operations"
31+
],
32+
"deprecated": false,
33+
"parameters": [
34+
{
35+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
36+
},
37+
{
38+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
39+
},
40+
{
41+
"schema": {
42+
"$ref": "#/definitions/CheckNameAvailabilityRequest"
43+
},
44+
"in": "body",
45+
"name": "request",
46+
"required": true,
47+
"description": "The check request"
48+
}
49+
],
50+
"responses": {
51+
"200": {
52+
"schema": {
53+
"$ref": "#/definitions/CheckNameAvailabilityResponse"
54+
},
55+
"description": ""
56+
},
57+
"default": {
58+
"schema": {
59+
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
60+
},
61+
"description": ""
62+
}
63+
},
64+
"consumes": [
65+
"application/json"
66+
],
67+
"produces": [
68+
"application/json"
69+
],
70+
"x-ms-examples": {
71+
"Check for a workspace name that is available": {
72+
"$ref": "./examples/CheckNameAvailabilityWorkspaceAvailable.json"
73+
},
74+
"Check for a workspace name that already exists": {
75+
"$ref": "./examples/CheckNameAvailabilityWorkspaceAlreadyExists.json"
76+
}
77+
}
78+
}
79+
}
80+
},
81+
"definitions": {
82+
"CheckNameAvailabilityRequest": {
83+
"type": "object",
84+
"title": "Check name availability request",
85+
"description": "A request about whether a workspace name is available",
86+
"properties": {
87+
"name": {
88+
"type": "string",
89+
"description": "Workspace name"
90+
},
91+
"type": {
92+
"type": "string",
93+
"description": "Type: workspace"
94+
}
95+
}
96+
},
97+
"CheckNameAvailabilityResponse": {
98+
"type": "object",
99+
"title": "Check name availability response",
100+
"description": "A response saying whether the workspace name is available",
101+
"properties": {
102+
"message": {
103+
"type": "string",
104+
"description": "Validation message"
105+
},
106+
"available": {
107+
"type": "boolean",
108+
"description": "Whether the workspace name is available"
109+
},
110+
"reason": {
111+
"type": "string",
112+
"description": "Reason the workspace name is or is not available"
113+
},
114+
"name": {
115+
"type": "string",
116+
"description": "Workspace name"
117+
}
118+
}
119+
}
120+
}
121+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef",
4+
"resourceGroupName": "ExampleResourceGroup",
5+
"workspaceName": "ExampleWorkspace",
6+
"privateEndpointConnectionName": "ExamplePrivateEndpointConnection",
7+
"api-version": "2021-06-01-preview",
8+
"request": {
9+
"properties": {
10+
"privateLinkServiceConnectionState": {
11+
"status": "Approved",
12+
"description": "Approved by [email protected]"
13+
}
14+
}
15+
}
16+
},
17+
"responses": {
18+
"201": {
19+
"body": {
20+
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection",
21+
"name": "sql",
22+
"type": "Microsoft.Synapse/workspaces/privateEndpointConnections",
23+
"properties": {
24+
"provisioningState": "Provisioning",
25+
"privateEndpoint": {
26+
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint"
27+
},
28+
"privateLinkServiceConnectionState": {
29+
"status": "Approved",
30+
"description": "Auto-approved",
31+
"actionsRequired": "None"
32+
}
33+
}
34+
}
35+
},
36+
"200": {
37+
"body": {
38+
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection",
39+
"name": "sql",
40+
"type": "Microsoft.Synapse/workspaces/privateEndpointConnections",
41+
"properties": {
42+
"provisioningState": "Succeeded",
43+
"privateEndpoint": {
44+
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint"
45+
},
46+
"privateLinkServiceConnectionState": {
47+
"status": "Approved",
48+
"description": "Auto-approved",
49+
"actionsRequired": "None"
50+
}
51+
}
52+
}
53+
},
54+
"default": {
55+
"body": {
56+
"error": {
57+
"code": "Error code",
58+
"message": "Error message"
59+
}
60+
}
61+
}
62+
}
63+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"api-version": "2021-06-01-preview",
5+
"request": {
6+
"name": "workspace1",
7+
"type": "Microsoft.Synapse/workspaces"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"name": "workspace1",
14+
"available": false,
15+
"reason": "AlreadyExists",
16+
"message": "Specified workspace name is already used"
17+
}
18+
},
19+
"default": {
20+
"body": {
21+
"error": {
22+
"code": "Error code",
23+
"message": "Error message"
24+
}
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-1111-2222-3333-444444444444",
4+
"api-version": "2021-06-01-preview",
5+
"request": {
6+
"name": "workspace1",
7+
"type": "Microsoft.ProjectArcadia/workspaces"
8+
}
9+
},
10+
"responses": {
11+
"200": {
12+
"body": {
13+
"name": "workspace1",
14+
"available": true,
15+
"reason": null,
16+
"message": null
17+
}
18+
},
19+
"default": {
20+
"body": {
21+
"error": {
22+
"code": "Error code",
23+
"message": "Error message"
24+
}
25+
}
26+
}
27+
}
28+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef",
4+
"resourceGroupName": "ExampleResourceGroup",
5+
"workspaceName": "ExampleWorkspace",
6+
"ruleName": "ExampleIpFirewallRule",
7+
"api-version": "2021-06-01-preview",
8+
"ipFirewallRuleInfo": {
9+
"properties": {
10+
"startIpAddress": "10.0.0.0",
11+
"endIpAddress": "10.0.0.254"
12+
}
13+
}
14+
},
15+
"responses": {
16+
"200": {
17+
"body": {
18+
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule",
19+
"type": "Microsoft.Synapse/workspaces/firewallRules",
20+
"name": "ExampleIpFirewallRule",
21+
"properties": {
22+
"startIpAddress": "10.0.0.0",
23+
"endIpAddress": "10.0.0.254",
24+
"provisioningState": "Provisioning"
25+
}
26+
}
27+
},
28+
"201": {
29+
"body": {
30+
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule",
31+
"type": "Microsoft.Synapse/workspaces/firewallRules",
32+
"name": "ExampleIpFirewallRule",
33+
"properties": {
34+
"startIpAddress": "10.0.0.0",
35+
"endIpAddress": "10.0.0.254",
36+
"provisioningState": "Provisioning"
37+
}
38+
}
39+
},
40+
"default": {
41+
"body": {
42+
"error": {
43+
"code": "Error code",
44+
"message": "Error message"
45+
}
46+
}
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)