Skip to content

Commit

Permalink
Add missing API. (#11548)
Browse files Browse the repository at this point in the history
* Fix spelling for private link hub path.

* Add missing disableInteractiveQuery API.

* Refactor workspace name to common type.

* Prettier fix.

Co-authored-by: raviarora <raviarora@MININT-54JRS6K.fareast.corp.microsoft.com>
Co-authored-by: Ravi Arora <raviarora@microsoft.com>
  • Loading branch information
3 people authored Nov 10, 2020
1 parent 299572f commit 61d90a9
Show file tree
Hide file tree
Showing 3 changed files with 96 additions and 22 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"workspaceName": "exampleWorkspace",
"integrationRuntimeName": "exampleManagedIntegrationRuntime",
"api-version": "2019-06-01-preview"
},
"responses": {
"200": {},
"202": {},
"default": {
"body": {
"error": {
"code": "Error code",
"message": "Error message"
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -101,7 +101,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -163,7 +163,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -234,7 +234,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -290,7 +290,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -350,7 +350,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -400,7 +400,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -462,7 +462,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -518,7 +518,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -585,7 +585,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -643,7 +643,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -693,7 +693,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
}
],
"responses": {
Expand Down Expand Up @@ -744,7 +744,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -797,7 +797,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -854,7 +854,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -916,7 +916,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -969,7 +969,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -1022,7 +1022,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -1076,7 +1076,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -1133,7 +1133,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -1185,7 +1185,7 @@
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "./workspace.json#/parameters/workspaceNameParameter"
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
Expand Down Expand Up @@ -1218,6 +1218,59 @@
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery": {
"post": {
"operationId": "IntegrationRuntimes_DisableInteractiveQuery",
"description": "Disable interactive query in integration runtime",
"tags": [
"IntegrationRuntime"
],
"deprecated": false,
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter"
},
{
"$ref": "#/parameters/IntegrationRuntimeNameParameter"
}
],
"responses": {
"200": {
"description": "OK"
},
"202": {
"description": "Accepted"
},
"default": {
"description": "An error response received from the Azure Synapse service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
},
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"x-ms-long-running-operation": true,
"x-ms-examples": {
"Stop integration runtime": {
"$ref": "./examples/IntegrationRuntimes_DisableInteractiveQuery.json"
}
}
}
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHub": {
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/privateLinkHubs": {
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
Expand Down

0 comments on commit 61d90a9

Please sign in to comment.