Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Synapse to add version preview/2021-06-01-preview #14814

Merged
Merged
Show file tree
Hide file tree
Changes from 38 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
d1a35f5
Adds base for updating Microsoft.Synapse from version stable/2021-05-…
amitelran Jun 15, 2021
3d4b5a6
Updates readme
amitelran Jun 15, 2021
38f9bbd
Updates API version in new specs and examples
amitelran Jun 15, 2021
576577a
Add kustoPool.json to new API version + examples files + in readme.md
Jun 15, 2021
e3285c1
Add "type": "object" to definitions
Jun 15, 2021
7f6e99e
Modify SKU to new name & size instead of previous name & tier
Jun 15, 2021
77fb204
Add KustoPool stop
Jun 15, 2021
93ef497
fix KustoPool Stop example params
Jun 15, 2021
36b9bc6
Add KustoPool Start + example
Jun 15, 2021
6d460a2
Add KustoPool LanguageExtension Add/List/Remove
Jun 15, 2021
e04c176
Add "type": "object" to LanguageExtensionsList
Jun 15, 2021
7727761
Add KustoPoolFollowerDatabases DETACH and LIST + examples
Jun 17, 2021
b4cd044
Add KustoPoolDatabasePrincipals ADD & LIST + examples
Jun 17, 2021
543ce72
Add missing DatabasePrincipalListRequest definition
Jun 17, 2021
60cc7d6
Add "type": "object" to FollowerDatabaseListResult, DatabasePrincipal…
Jun 17, 2021
a12311b
Add KustoPoolDatabasePrincipalsRemove + example
Jun 20, 2021
d7a8e0c
Remove redundant newline
Jun 20, 2021
acdabf7
Add AttachedDatabaseConfigurations to KustoPool + examples
Jun 20, 2021
9bef42f
Add AttachedDatabaseConfigurationNameParameter
Jun 20, 2021
e1217dc
Fixes for AttachedDatabaseConfiguration
Jun 20, 2021
f3666ae
Add "type": "object" to TableLevelSharingProperties
Jun 20, 2021
07152ba
Fix example of KustoPoolAttachedDatabaseConfigurationCreateOrUpdate.json
Jun 20, 2021
a71d1bd
Add DataConnectionValidation to kustoPool.json + example
Jun 20, 2021
7309641
Fixes to DataConnectionValidation
Jun 20, 2021
ec79504
Remove properties from KustoPoolDataConnectionValidation.json
Jun 20, 2021
09ff805
Fix object instead of array at KustoPoolDataConnectionValidation.json…
Jun 20, 2021
a5147a2
Fix indentation at KustoPoolDataConnectionValidation.json
Jun 20, 2021
62ce722
Add KustoPoolPrincipalAssignmentCheckNameAvailability to kustoPool.js…
Jun 21, 2021
b3d0b26
Remove redundant slash
Jun 21, 2021
560c046
Add KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability to kus…
Jun 21, 2021
8eef1fa
Fix in KustoPoolDatabasePrincipalAssignmentsCheckNameAvailability.json
Jun 21, 2021
54d9455
Add KustoPoolDataConnectionCheckNameAvailability.json + example
Jun 21, 2021
db15742
Add KustoPoolListSkus + example
Jun 21, 2021
c05b112
Add kustoSkus path to kustoPool.json + example
Jun 21, 2021
263f777
Remove {databaseName}/addPrincipals, listPrincipals, removePrincipals.
Jun 22, 2021
6b99735
Change workspaceUid to workspaceUID to keep convention with Workspace…
Jun 22, 2021
dd03e4e
Add new KustoPool properties:
Jun 23, 2021
d71d146
Change "KustoCluster" to "KustoPool" and remove engineType property
Jun 23, 2021
4c04225
Change "kustoSkus" endpoint to "skus"
Jun 29, 2021
6ec0917
Merge branch 'kusto-pool-Microsoft.Synapse-2021-06-01-preview' of htt…
Jun 29, 2021
cb3ad84
Add KustoPool databases CheckNameAvailability + examples
Jun 29, 2021
671f1f9
Re-position kustoPoolCheckNameAvailability
Jun 29, 2021
d46868c
Fix typo in example
Jun 29, 2021
8aa3e02
Minor adjustments in KustoPool databases CheckNameAvailability
Jun 29, 2021
252b0b1
Change to "validateDataConnection"
Jun 30, 2021
280142b
Revert back to DataConnectionValidation to keep consistency with kust…
Jun 30, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"swagger": "2.0",
"info": {
"version": "2021-06-01-preview",
"title": "SynapseManagementClient",
"description": "Azure Synapse Analytics APIs"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"securityDefinitions": {
"azure_auth": {
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"type": "oauth2",
"scopes": {
"user_impersonation": "impersonate your user account"
},
"description": "Azure Active Directory OAuth2 Flow"
}
},
"paths": {
"/subscriptions/{subscriptionId}/providers/Microsoft.Synapse/checkNameAvailability": {
"post": {
"operationId": "Operations_CheckNameAvailability",
"summary": "Check name availability",
"description": "Check whether a workspace name is available",
"tags": [
"Operations"
],
"deprecated": false,
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter"
},
{
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityRequest"
},
"in": "body",
"name": "request",
"required": true,
"description": "The check request"
}
],
"responses": {
"200": {
"schema": {
"$ref": "#/definitions/CheckNameAvailabilityResponse"
},
"description": ""
},
"default": {
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
},
"description": ""
}
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"x-ms-examples": {
"Check for a workspace name that is available": {
"$ref": "./examples/CheckNameAvailabilityWorkspaceAvailable.json"
},
"Check for a workspace name that already exists": {
"$ref": "./examples/CheckNameAvailabilityWorkspaceAlreadyExists.json"
}
}
}
}
},
"definitions": {
"CheckNameAvailabilityRequest": {
"type": "object",
"title": "Check name availability request",
"description": "A request about whether a workspace name is available",
"properties": {
"name": {
"type": "string",
"description": "Workspace name"
},
"type": {
"type": "string",
"description": "Type: workspace"
}
}
},
"CheckNameAvailabilityResponse": {
"type": "object",
"title": "Check name availability response",
"description": "A response saying whether the workspace name is available",
"properties": {
"message": {
"type": "string",
"description": "Validation message"
},
"available": {
"type": "boolean",
"description": "Whether the workspace name is available"
},
"reason": {
"type": "string",
"description": "Reason the workspace name is or is not available"
},
"name": {
"type": "string",
"description": "Workspace name"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"parameters": {
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef",
"resourceGroupName": "ExampleResourceGroup",
"workspaceName": "ExampleWorkspace",
"privateEndpointConnectionName": "ExamplePrivateEndpointConnection",
"api-version": "2021-06-01-preview",
"request": {
"properties": {
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by abc@example.com"
}
}
}
},
"responses": {
"201": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection",
"name": "sql",
"type": "Microsoft.Synapse/workspaces/privateEndpointConnections",
"properties": {
"provisioningState": "Provisioning",
"privateEndpoint": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
}
},
"200": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/privateEndpointConnections/ExamplePrivateEndpointConnection",
"name": "sql",
"type": "Microsoft.Synapse/workspaces/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Network/privateEndpoints/ExamplePrivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Auto-approved",
"actionsRequired": "None"
}
}
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2021-06-01-preview",
"request": {
"name": "workspace1",
"type": "Microsoft.Synapse/workspaces"
}
},
"responses": {
"200": {
"body": {
"name": "workspace1",
"available": false,
"reason": "AlreadyExists",
"message": "Specified workspace name is already used"
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"subscriptionId": "00000000-1111-2222-3333-444444444444",
"api-version": "2021-06-01-preview",
"request": {
"name": "workspace1",
"type": "Microsoft.ProjectArcadia/workspaces"
}
},
"responses": {
"200": {
"body": {
"name": "workspace1",
"available": true,
"reason": null,
"message": null
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"parameters": {
"subscriptionId": "01234567-89ab-4def-0123-456789abcdef",
"resourceGroupName": "ExampleResourceGroup",
"workspaceName": "ExampleWorkspace",
"ruleName": "ExampleIpFirewallRule",
"api-version": "2021-06-01-preview",
"ipFirewallRuleInfo": {
"properties": {
"startIpAddress": "10.0.0.0",
"endIpAddress": "10.0.0.254"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule",
"type": "Microsoft.Synapse/workspaces/firewallRules",
"name": "ExampleIpFirewallRule",
"properties": {
"startIpAddress": "10.0.0.0",
"endIpAddress": "10.0.0.254",
"provisioningState": "Provisioning"
}
}
},
"201": {
"body": {
"id": "/subscriptions/01234567-89ab-4def-0123-456789abcdef/resourceGroups/ExampleResourceGroup/providers/Microsoft.Synapse/workspaces/ExampleWorkspace/firewallRules/ExampleIpFirewallRule",
"type": "Microsoft.Synapse/workspaces/firewallRules",
"name": "ExampleIpFirewallRule",
"properties": {
"startIpAddress": "10.0.0.0",
"endIpAddress": "10.0.0.254",
"provisioningState": "Provisioning"
}
}
},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Loading