diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Stop_OperationStatus.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_Stop_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_Stop_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 803ce28d678a..24c62a2c9f8d 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 @@ -1387,6 +1387,64 @@ } } } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/stop/operationstatuses/{integrationRuntimeOperationId}": { + "get": { + "operationId": "Get_IntegrationRuntimeStop", + "summary": "Get integration runtime stop operation status", + "description": "Get an integration runtime stop 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/IntegrationRuntimeStopOperationStatus" + } + }, + "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_Stop_OperationStatus.json" + } + } + } } }, "definitions": { @@ -3160,6 +3218,37 @@ "description": "The operation error message." } } + }, + "IntegrationRuntimeStopOperationStatus": { + "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": {