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

[Datafactory] [Do Not Merge] Add interactive query API for Azure-VNet IR #5036

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,100 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery": {
"post": {
"tags": [
"integrationRuntimes"
],
"operationId": "IntegrationRuntimes_EnableIntegrationRuntimeInteractiveQuery",
"x-ms-examples": {
"IntegrationRuntimes_EnableIntegrationRuntimeInteractiveQuery": {
"$ref": "./examples/IntegrationRuntimes_EnableInteractiveQuery.json"
}
},
"description": "Enable interactive query for an Azure-VNet integration runtime.",
"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/factoryName"
},
{
"$ref": "#/parameters/integrationRuntimeName"
},
{
"$ref": "#/parameters/api-version"
},
{
"name": "enableInteractiveQueryForIntegrationRuntimeRequest",
"description": "The request parameter for enabling interactive query of a integration runtime.",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/EnableInteractiveQueryForIntegrationRuntimeRequest"
}
}
],
"responses": {
"202": {
"description": "Accepted."
},
"default": {
"description": "An error response received from the Azure Data Factory service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/disableInteractiveQuery": {
"post": {
"tags": [
"integrationRuntimes"
],
"operationId": "IntegrationRuntimes_DisableIntegrationRuntimeInteractiveQuery",
"x-ms-examples": {
"IntegrationRuntimes_DisableIntegrationRuntimeInteractiveQuery": {
"$ref": "./examples/IntegrationRuntimes_DisableInteractiveQuery.json"
}
},
"description": "Disable interactive query for an Azure-VNet integration runtime.",
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/factoryName"
},
{
"$ref": "#/parameters/integrationRuntimeName"
},
{
"$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "Ok."
},
"default": {
"description": "An error response received from the Azure Data Factory service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata": {
"post": {
"tags": [
Expand Down Expand Up @@ -3360,6 +3454,18 @@
}
}
},
"EnableInteractiveQueryForIntegrationRuntimeRequest": {
"type": "object",
"description": "the request of enable interactive query for an integration runtime.",
"discriminator": "type",
"properties": {
"autoTerminationMinutes": {
"type": "integer",
"format": "int64",
"description": "the number of minutes that the resource will be reserved."
}
}
},
"LinkedServiceListResponse": {
"description": "A list of linked service resources.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@
"vNetProperties": {
"description": "VNet properties for managed integration runtime.",
"$ref": "#/definitions/IntegrationRuntimeVNetProperties"
},
"virtualNetwork": {
"description": "VNet properties for managed integration runtime.",
"$ref": "#/definitions/IntegrationRuntimeVirtualNetworkProperties"
}
},
"additionalProperties": {
Expand All @@ -126,6 +130,19 @@
"type": "object"
}
},
"IntegrationRuntimeVirtualNetworkProperties": {
"description": "VNet properties for managed integration runtime.",
"type": "object",
"properties": {
"subnetId": {
"description": "The ID of the Subnet that this integration runtime will join.",
"type": "string"
}
},
"additionalProperties": {
"type": "object"
}
},
"IntegrationRuntimeSsisProperties": {
"description": "SSIS properties for managed integration runtime.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"integrationRuntimeName": "exampleIntegrationRuntime",
"api-version": "2018-06-01"
},
"responses": {
"200": {
"headers": {
"Date": "Tue, 15 Jan 2019 07:19:29 GMT",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1197",
"x-ms-request-id": "e75d0df0-d72d-42fa-8ba2-1a8117b02311",
"x-ms-correlation-request-id": "e75d0df0-d72d-42fa-8ba2-1a8117b02311"
},
"body": null
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-1234-12345678abc",
"resourceGroupName": "exampleResourceGroup",
"factoryName": "exampleFactoryName",
"integrationRuntimeName": "exampleIntegrationRuntime",
"enableInteractiveQueryForIntegrationRuntimeRequest": {
"AutoTerminationMinutes": 120
},
"api-version": "2018-06-01"
},
"responses": {
"202": {
"headers": {
"Date": "Tue, 15 Jan 2019 07:19:12 GMT",
"Location": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleIntegrationRuntime/enableInteractiveQuery/operationresults/2ebb537a7b5247688fc33b5e9bde1a74?api-version=2018-06-01",
"Retry-After": "15",
"Azure-AsyncOperation": "https://api-dogfood.resources.windows-int.net/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/integrationRuntimes/exampleIntegrationRuntime/enableInteractiveQuery/operationstatuses/2ebb537a7b5247688fc33b5e9bde1a74?api-version=2018-06-01",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-subscription-writes": "1198",
"x-ms-request-id": "461e429d-f689-4e35-8f1f-8d266d1c4b99",
"x-ms-correlation-request-id": "461e429d-f689-4e35-8f1f-8d266d1c4b99"
},
"body": null
}
}
}