From a27b2a10d3eec198636a8e7a3ce66c0f4a98fbe1 Mon Sep 17 00:00:00 2001 From: Wanli Mao Date: Fri, 6 Aug 2021 11:18:29 +0800 Subject: [PATCH] add outbound swagger change to synapse preview 2021-06-01 --- ...tOutboundNetworkDependenciesEndpoints.json | 99 +++++++++++++++ .../integrationRuntime.json | 114 ++++++++++++++++++ 2 files changed, 213 insertions(+) create mode 100644 specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json diff --git a/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json new file mode 100644 index 000000000000..f9fc89c178d5 --- /dev/null +++ b/specification/synapse/resource-manager/Microsoft.Synapse/preview/2021-06-01-preview/examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "subscriptionId": "ade9c2b6-c160-4305-9bb9-80342f6c1ae2", + "resourceGroupName": "exampleResourceGroup", + "workspaceName": "exampleWorkspace", + "integrationRuntimeName": "exampleIntegrationRuntime", + "api-version": "2021-06-01-preview" + }, + "responses": { + "200": { + "headers": { + "Date": "Tue, 06 Jul 2021 04:28:10 GMT", + "X-Content-Type-Options": "nosniff", + "x-ms-request-id": "fd8e4223-7e9c-4f32-893f-06c14a8081be", + "x-ms-correlation-request-id": "1dabf122-e061-4703-ae9e-9edeeef40ee6" + }, + "body": { + "value": [ + { + "category": "Azure Data Factory (Management)", + "endpoints": [ + { + "domainName": "wu.frontend.int.clouddatahub-int.net", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Azure Storage (Management)", + "endpoints": [ + { + "domainName": "*.blob.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "*.table.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Event Hub (Logging)", + "endpoints": [ + { + "domainName": "*.servicebus.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + }, + { + "category": "Microsoft Logging service (Internal Use)", + "endpoints": [ + { + "domainName": "gcs.prod.monitoring.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "prod.warmpath.msftcloudes.com", + "endpointDetails": [ + { + "port": 443 + } + ] + }, + { + "domainName": "azurewatsonanalysis-prod.core.windows.net", + "endpointDetails": [ + { + "port": 443 + } + ] + } + ] + } + ] + } + } + } +} 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 efdf0c8bd4b9..81291a264404 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 @@ -1166,6 +1166,58 @@ } } }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints": { + "get": { + "tags": [ + "integrationRuntimes" + ], + "operationId": "IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints", + "description": "Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.", + "summary": "Gets list of outbound network dependencies for a given Azure-SSIS integration runtime.", + "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" + } + ], + "responses": { + "200": { + "description": "OK.", + "schema": { + "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse" + } + }, + "default": { + "description": "An error response received from the Azure Synapse service.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse" + } + } + }, + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "x-ms-examples": { + "Get outbound network dependency endpoints": { + "$ref": "./examples/IntegrationRuntimes_ListOutboundNetworkDependenciesEndpoints.json" + } + } + } + }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/integrationRuntimes/{integrationRuntimeName}/enableInteractiveQuery": { "post": { "operationId": "IntegrationRuntimes_EnableInteractiveQuery", @@ -1443,6 +1495,10 @@ "type": "string", "description": "The ID of the public IP address." } + }, + "subnetId": { + "description": "The ID of subnet, to which this Azure-SSIS integration runtime will be joined.", + "type": "string" } }, "additionalProperties": { @@ -2894,6 +2950,64 @@ "description": "The operation error message." } } + }, + "IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse": { + "description": "Azure-SSIS integration runtime outbound network dependency endpoints.", + "type": "object", + "properties": { + "value": { + "description": "The list of outbound network dependency endpoints.", + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint" + } + } + } + }, + "IntegrationRuntimeOutboundNetworkDependenciesCategoryEndpoint": { + "description": "Azure-SSIS integration runtime outbound network dependency endpoints for one category.", + "type": "object", + "properties": { + "category": { + "description": "The category of outbound network dependency.", + "type": "string" + }, + "endpoints": { + "description": "The endpoints for outbound network dependency.", + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesEndpoint" + } + } + } + }, + "IntegrationRuntimeOutboundNetworkDependenciesEndpoint": { + "description": "The endpoint for Azure-SSIS integration runtime outbound network dependency.", + "type": "object", + "properties": { + "domainName": { + "description": "The domain name of endpoint.", + "type": "string" + }, + "endpointDetails": { + "description": "The details of endpoint.", + "type": "array", + "items": { + "$ref": "#/definitions/IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails" + } + } + } + }, + "IntegrationRuntimeOutboundNetworkDependenciesEndpointDetails": { + "description": "The details of Azure-SSIS integration runtime outbound network dependency endpoint.", + "type": "object", + "properties": { + "port": { + "description": "The port of endpoint.", + "type": "integer", + "format": "int32" + } + } } }, "parameters": {