forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Synapse to add version p…
…review/2021-06-01-preview (Azure#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 <amelran@microsoft.com>
- Loading branch information
Showing
248 changed files
with
31,607 additions
and
2 deletions.
There are no files selected for viewing
611 changes: 611 additions & 0 deletions
611
...on/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/bigDataPool.json
Large diffs are not rendered by default.
Oops, something went wrong.
121 changes: 121 additions & 0 deletions
121
.../resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/checkNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
63 changes: 63 additions & 0 deletions
63
...crosoft.Synapse/preview/2021-06-01-preview/examples/ApprovePrivateEndpointConnection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...apse/preview/2021-06-01-preview/examples/CheckNameAvailabilityWorkspaceAlreadyExists.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
....Synapse/preview/2021-06-01-preview/examples/CheckNameAvailabilityWorkspaceAvailable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
...e-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/CreateIpFirewallRule.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.