From 6844182ac2f10b9b9174bd39b38702a857eb3c7f Mon Sep 17 00:00:00 2001 From: 12VamshiKrishna <109329038+12VamshiKrishna@users.noreply.github.com> Date: Mon, 12 Dec 2022 12:48:12 +0530 Subject: [PATCH] Initial Commit (#21749) * Initial Commit * Example Changes * Parameter Changes * Parameter Changes * Definition Changes * Semantic Fix * Lint error Co-authored-by: VamshiKrishna Chirra (Quadrant Resource) --- ...grationRuntimes_Start_OperationStatus.json | 29 ++++++ .../integrationRuntime.json | 89 +++++++++++++++++++ 2 files changed, 118 insertions(+) create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Start_OperationStatus.json diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Start_OperationStatus.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Start_OperationStatus.json new file mode 100644 index 000000000000..0c4beb734783 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Start_OperationStatus.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "subscriptionId": "2d03866b-587b-4e1f-a2fe-0a55958c655e", + "resourceGroupName": "drage-felles-prod-rg", + "workspaceName": "felles-prod-synapse-workspace", + "integrationRuntimeName": "SSIS-intergrationRuntime-Drage", + "integrationRuntimeOperationId": "5752dcdf918e4aecb941245ddf6ebb83", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "headers": { + "strict-Transport-Security": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", + "Date": "Thu, 14 Jun 2018 14:53:22 GMT", + "x-ms-request-id": "19efe790-074f-4241-ae94-0422935d0f46", + "x-ms-correlation-request-id": "19efe790-074f-4241-ae94-0422935d0f46", + "server": "Kestrel;Microsoft-HTTPAPI/2.0" + }, + "body": { + "properties": { + "status": "InProgress", + "name": "5752dcdf918e4aecb941245ddf6ebb83", + "properties": null, + "error": null + } + } + } + } +} diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json index 4161e0f17826..803ce28d678a 100644 --- a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/integrationRuntime.json @@ -1329,6 +1329,64 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/start/operationstatuses/{integrationRuntimeOperationId}": { + "get": { + "operationId": "Get_IntegrationRuntimeStart", + "summary": "Get integration runtime start operation status", + "description": "Get an integration runtime start operation status", + "tags": [ + "IntegrationRuntime" + ], + "deprecated": false, + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "$ref": "../../../../common/v1/types.json#/parameters/WorkspaceNameParameter" + }, + { + "$ref": "#/parameters/IntegrationRuntimeNameParameter" + }, + { + "name": "integrationRuntimeOperationId", + "in": "path", + "required": true, + "type": "string", + "description": "Integration runtime Operation Id" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/IntegrationRuntimeOperationStatus" + } + }, + "default": { + "description": "An error response received from GET integration runtime operation.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "consumes": [], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Get integration runtime operation status": { + "$ref": "./examples/IntegrationRuntimes_Start_OperationStatus.json" + } + } + } } }, "definitions": { @@ -3071,6 +3129,37 @@ "format": "int32" } } + }, + "IntegrationRuntimeOperationStatus": { + "description": "Integration Runtime Operation Status Properties", + "type": "object", + "properties": { + "status": { + "enum": [ + "InProgress", + "Succeeded", + "Failed" + ], + "description": "status of Start Integrationruntimes.", + "type": "string", + "x-ms-enum": { + "name": "Workspace status", + "modelAsString": true + } + }, + "name": { + "type": "string", + "description": "The operation name." + }, + "properties": { + "type": "object", + "description": "The operation properties." + }, + "error": { + "type": "string", + "description": "The operation error message." + } + } } }, "parameters": {