diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index ae4c17c24a76..dac8a05b8175 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -1113,7 +1113,107 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime": { + "post": { + "tags": [ + "integrationRuntimes" + ], + "operationId": "IntegrationRuntimes_CreateLinkedIntegrationRuntime", + "x-ms-examples": { + "IntegrationRuntimes_CreateLinkedIntegrationRuntime": { + "$ref": "./examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json" + } + }, + "description": "Create a linked integration runtime entry in a shared integration runtime.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/integrationRuntimeName" + }, + { + "$ref": "#/parameters/api-version" + }, + { + "name": "createLinkedIntegrationRuntimeRequest", + "description": "The linked integration runtime properties.", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CreateLinkedIntegrationRuntimeRequest" + } + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/IntegrationRuntimeStatusResponse" + } + }, + "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}/nodes/{nodeName}": { + "get": { + "tags": [ + "integrationRuntimeNodes" + ], + "operationId": "IntegrationRuntimeNodes_Get", + "x-ms-examples": { + "IntegrationRuntimeNodes_Get": { + "$ref": "./examples/IntegrationRuntimeNodes_Get.json" + } + }, + "description": "Gets a self-hosted integration runtime node.", + "parameters": [ + { + "$ref": "#/parameters/subscriptionId" + }, + { + "$ref": "#/parameters/resourceGroupName" + }, + { + "$ref": "#/parameters/factoryName" + }, + { + "$ref": "#/parameters/integrationRuntimeName" + }, + { + "$ref": "#/parameters/nodeName" + }, + { + "$ref": "#/parameters/api-version" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "./entityTypes/IntegrationRuntime.json#/definitions/SelfHostedIntegrationRuntimeNode" + } + }, + "default": { + "description": "An error response received from the Azure Data Factory service.", + "schema": { + "$ref": "#/definitions/CloudError" + } + } + } + }, "delete": { "tags": [ "integrationRuntimeNodes" @@ -2783,6 +2883,28 @@ "factoryName" ] }, + "CreateLinkedIntegrationRuntimeRequest": { + "description": "The linked integration runtime information.", + "type": "object", + "properties": { + "name": { + "description": "The name of the linked integration runtime.", + "type": "string" + }, + "subscriptionId": { + "description": "The ID of the subscription that the linked integration runtime belongs to.", + "type": "string" + }, + "dataFactoryName": { + "description": "The name of the data factory that the linked integration runtime belongs to.", + "type": "string" + }, + "dataFactoryLocation": { + "description": "The location of the data factory that the linked integration runtime belongs to.", + "type": "string" + } + } + }, "LinkedServiceListResponse": { "description": "A list of linked service resources.", "type": "object", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json index 42ee80c8959d..4efad3ae9660 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/entityTypes/IntegrationRuntime.json @@ -625,6 +625,12 @@ "description": "The latest version on download center.", "type": "string", "readOnly": true + }, + "autoUpdateETA": { + "description": "The estimated time when the self-hosted integration runtime will be updated.", + "type": "string", + "format": "date-time", + "readOnly": true } } }, @@ -761,6 +767,7 @@ "description": "The result of the last integration runtime node update.", "type": "string", "enum": [ + "None", "Succeed", "Fail" ], diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json new file mode 100644 index 000000000000..f4a230fc01d7 --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimeNodes_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "integrationRuntimeName": "exampleIntegrationRuntime", + "nodeName": "Node_1", + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Fri, 17 Aug 2018 06:31:04 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-reads": "14999", + "x-ms-request-id": "1c8b259a-c6e6-48aa-8121-05b3b3b782aa", + "x-ms-correlation-request-id": "1c8b259a-c6e6-48aa-8121-05b3b3b782aa" + }, + "body": { + "nodeName": "Node_1", + "machineName": "YANZHANG-DT", + "hostServiceUri": "https://yanzhang-dt.fareast.corp.microsoft.com:8050/HostServiceRemote.svc/", + "status": "Online", + "capabilities": { + "serviceBusConnected": "True", + "httpsPortEnabled": "True", + "credentialInSync": "True", + "connectedToResourceManager": "True", + "nodeEnabled": "True" + }, + "versionStatus": "UpToDate", + "version": "3.8.6743.6", + "registerTime": "2018-08-17T03:44:55.8012825Z", + "lastConnectTime": "2018-08-17T06:30:46.6262976Z", + "lastStartTime": "2018-08-17T03:45:30.8499851Z", + "lastUpdateResult": "None", + "isActiveDispatcher": true, + "maxConcurrentJobs": 20 + } + } + } +} \ No newline at end of file diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json new file mode 100644 index 000000000000..c0156b47ab3b --- /dev/null +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/IntegrationRuntimes_CreateLinkedIntegrationRuntime.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "subscriptionId": "12345678-1234-1234-1234-12345678abc", + "resourceGroupName": "exampleResourceGroup", + "factoryName": "exampleFactoryName", + "integrationRuntimeName": "exampleIntegrationRuntime", + "createLinkedIntegrationRuntimeRequest": { + "name": "bfa92911-9fb6-4fbe-8f23-beae87bc1c83", + "subscriptionId": "061774c7-4b5a-4159-a55b-365581830283", + "dataFactoryName": "e9955d6d-56ea-4be3-841c-52a12c1a9981", + "dataFactoryLocation": "West US" + }, + "api-version": "2018-06-01" + }, + "responses": { + "200": { + "headers": { + "Date": "Fri, 17 Aug 2018 06:31:03 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-ratelimit-remaining-subscription-writes": "1199", + "x-ms-request-id": "f9a67067-62f3-43ce-b891-2ccb3de4a15f", + "x-ms-correlation-request-id": "f9a67067-62f3-43ce-b891-2ccb3de4a15f" + }, + "body": { + "name": "exampleIntegrationRuntime", + "properties": { + "dataFactoryName": "exampleFactoryName", + "state": "Online", + "type": "SelfHosted", + "typeProperties": { + "autoUpdate": "On", + "taskQueueId": "823da112-f2d9-426b-a0d8-5f361b94f72a", + "version": "3.8.6743.6", + "nodes": [ + { + "nodeName": "Node_1", + "machineName": "YANZHANG-DT", + "hostServiceUri": "https://yanzhang-dt.fareast.corp.microsoft.com:8050/HostServiceRemote.svc/", + "status": "Online", + "capabilities": { + "serviceBusConnected": "True", + "httpsPortEnabled": "True", + "credentialInSync": "True", + "connectedToResourceManager": "True", + "nodeEnabled": "True" + }, + "versionStatus": "UpToDate", + "version": "3.8.6743.6", + "registerTime": "2018-08-17T03:44:55.8012825Z", + "lastConnectTime": "2018-08-17T06:30:46.6262976Z", + "lastStartTime": "2018-08-17T03:45:30.8499851Z", + "lastUpdateResult": "None", + "isActiveDispatcher": true, + "maxConcurrentJobs": 20 + } + ], + "scheduledUpdateDate": "2018-08-20T00:00:00Z", + "updateDelayOffset": "PT19H", + "localTimeZoneOffset": "PT8H", + "serviceUrls": [ + "wu.frontend.int.clouddatahub-int.net", + "*.servicebus.windows.net" + ], + "links": [ + { + "name": "bfa92911-9fb6-4fbe-8f23-beae87bc1c83", + "subscriptionId": "061774c7-4b5a-4159-a55b-365581830283", + "dataFactoryName": "e9955d6d-56ea-4be3-841c-52a12c1a9981", + "dataFactoryLocation": "West US", + "createTime": "2018-08-17T06:31:04.0617928Z" + } + ], + "versionStatus": "UpdateAvailable", + "capabilities": { + "serviceBusConnected": "True", + "httpsPortEnabled": "True", + "credentialInSync": "True", + "connectedToResourceManager": "True", + "nodeEnabled": "True" + }, + "pushedVersion": "3.9.6774.1", + "latestVersion": "3.9.6774.1", + "autoUpdateETA": "2018-08-20T19:00:00Z", + "createTime": "2018-08-17T03:43:25.7055573Z" + } + } + } + } + } +} \ No newline at end of file