@azure/arm-datafactory 19.0.0-alpha.20250619.1 → 19.0.0-alpha.20250718.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/dataFactoryManagementClient.js +36 -5
- package/dist/browser/dataFactoryManagementClient.js.map +1 -1
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +6377 -2917
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/activityRuns.js +1 -0
- package/dist/browser/operations/activityRuns.js.map +1 -1
- package/dist/browser/operations/changeDataCapture.js +23 -40
- package/dist/browser/operations/changeDataCapture.js.map +1 -1
- package/dist/browser/operations/credentialOperations.js +23 -40
- package/dist/browser/operations/credentialOperations.js.map +1 -1
- package/dist/browser/operations/dataFlowDebugSession.js +45 -52
- package/dist/browser/operations/dataFlowDebugSession.js.map +1 -1
- package/dist/browser/operations/dataFlows.js +23 -40
- package/dist/browser/operations/dataFlows.js.map +1 -1
- package/dist/browser/operations/datasets.js +23 -40
- package/dist/browser/operations/datasets.js.map +1 -1
- package/dist/browser/operations/exposureControl.js +1 -0
- package/dist/browser/operations/exposureControl.js.map +1 -1
- package/dist/browser/operations/factories.js +45 -79
- package/dist/browser/operations/factories.js.map +1 -1
- package/dist/browser/operations/globalParameters.js +23 -40
- package/dist/browser/operations/globalParameters.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeNodes.js +1 -0
- package/dist/browser/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/browser/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/browser/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/browser/operations/integrationRuntimes.js +45 -52
- package/dist/browser/operations/integrationRuntimes.js.map +1 -1
- package/dist/browser/operations/linkedServices.js +23 -40
- package/dist/browser/operations/linkedServices.js.map +1 -1
- package/dist/browser/operations/managedPrivateEndpoints.js +23 -40
- package/dist/browser/operations/managedPrivateEndpoints.js.map +1 -1
- package/dist/browser/operations/managedVirtualNetworks.js +23 -40
- package/dist/browser/operations/managedVirtualNetworks.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/pipelineRuns.js +1 -0
- package/dist/browser/operations/pipelineRuns.js.map +1 -1
- package/dist/browser/operations/pipelines.js +23 -40
- package/dist/browser/operations/pipelines.js.map +1 -1
- package/dist/browser/operations/privateEndPointConnections.js +23 -40
- package/dist/browser/operations/privateEndPointConnections.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnection.js +1 -0
- package/dist/browser/operations/privateEndpointConnection.js.map +1 -1
- package/dist/browser/operations/privateLinkResources.js +1 -0
- package/dist/browser/operations/privateLinkResources.js.map +1 -1
- package/dist/browser/operations/triggerRuns.js +1 -0
- package/dist/browser/operations/triggerRuns.js.map +1 -1
- package/dist/browser/operations/triggers.js +67 -64
- package/dist/browser/operations/triggers.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/commonjs/dataFactoryManagementClient.js +36 -5
- package/dist/commonjs/dataFactoryManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +6377 -2917
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/activityRuns.js +1 -0
- package/dist/commonjs/operations/activityRuns.js.map +1 -1
- package/dist/commonjs/operations/changeDataCapture.js +23 -39
- package/dist/commonjs/operations/changeDataCapture.js.map +1 -1
- package/dist/commonjs/operations/credentialOperations.js +23 -39
- package/dist/commonjs/operations/credentialOperations.js.map +1 -1
- package/dist/commonjs/operations/dataFlowDebugSession.js +45 -51
- package/dist/commonjs/operations/dataFlowDebugSession.js.map +1 -1
- package/dist/commonjs/operations/dataFlows.js +23 -39
- package/dist/commonjs/operations/dataFlows.js.map +1 -1
- package/dist/commonjs/operations/datasets.js +23 -39
- package/dist/commonjs/operations/datasets.js.map +1 -1
- package/dist/commonjs/operations/exposureControl.js +1 -0
- package/dist/commonjs/operations/exposureControl.js.map +1 -1
- package/dist/commonjs/operations/factories.js +45 -78
- package/dist/commonjs/operations/factories.js.map +1 -1
- package/dist/commonjs/operations/globalParameters.js +23 -39
- package/dist/commonjs/operations/globalParameters.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeNodes.js +1 -0
- package/dist/commonjs/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/commonjs/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/commonjs/operations/integrationRuntimes.js +45 -51
- package/dist/commonjs/operations/integrationRuntimes.js.map +1 -1
- package/dist/commonjs/operations/linkedServices.js +23 -39
- package/dist/commonjs/operations/linkedServices.js.map +1 -1
- package/dist/commonjs/operations/managedPrivateEndpoints.js +23 -39
- package/dist/commonjs/operations/managedPrivateEndpoints.js.map +1 -1
- package/dist/commonjs/operations/managedVirtualNetworks.js +23 -39
- package/dist/commonjs/operations/managedVirtualNetworks.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/pipelineRuns.js +1 -0
- package/dist/commonjs/operations/pipelineRuns.js.map +1 -1
- package/dist/commonjs/operations/pipelines.js +23 -39
- package/dist/commonjs/operations/pipelines.js.map +1 -1
- package/dist/commonjs/operations/privateEndPointConnections.js +23 -39
- package/dist/commonjs/operations/privateEndPointConnections.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnection.js +1 -0
- package/dist/commonjs/operations/privateEndpointConnection.js.map +1 -1
- package/dist/commonjs/operations/privateLinkResources.js +1 -0
- package/dist/commonjs/operations/privateLinkResources.js.map +1 -1
- package/dist/commonjs/operations/triggerRuns.js +1 -0
- package/dist/commonjs/operations/triggerRuns.js.map +1 -1
- package/dist/commonjs/operations/triggers.js +67 -63
- package/dist/commonjs/operations/triggers.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/dataFactoryManagementClient.js +36 -5
- package/dist/esm/dataFactoryManagementClient.js.map +1 -1
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +6377 -2917
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/activityRuns.js +1 -0
- package/dist/esm/operations/activityRuns.js.map +1 -1
- package/dist/esm/operations/changeDataCapture.js +23 -40
- package/dist/esm/operations/changeDataCapture.js.map +1 -1
- package/dist/esm/operations/credentialOperations.js +23 -40
- package/dist/esm/operations/credentialOperations.js.map +1 -1
- package/dist/esm/operations/dataFlowDebugSession.js +45 -52
- package/dist/esm/operations/dataFlowDebugSession.js.map +1 -1
- package/dist/esm/operations/dataFlows.js +23 -40
- package/dist/esm/operations/dataFlows.js.map +1 -1
- package/dist/esm/operations/datasets.js +23 -40
- package/dist/esm/operations/datasets.js.map +1 -1
- package/dist/esm/operations/exposureControl.js +1 -0
- package/dist/esm/operations/exposureControl.js.map +1 -1
- package/dist/esm/operations/factories.js +45 -79
- package/dist/esm/operations/factories.js.map +1 -1
- package/dist/esm/operations/globalParameters.js +23 -40
- package/dist/esm/operations/globalParameters.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeNodes.js +1 -0
- package/dist/esm/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/esm/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/esm/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/esm/operations/integrationRuntimes.js +45 -52
- package/dist/esm/operations/integrationRuntimes.js.map +1 -1
- package/dist/esm/operations/linkedServices.js +23 -40
- package/dist/esm/operations/linkedServices.js.map +1 -1
- package/dist/esm/operations/managedPrivateEndpoints.js +23 -40
- package/dist/esm/operations/managedPrivateEndpoints.js.map +1 -1
- package/dist/esm/operations/managedVirtualNetworks.js +23 -40
- package/dist/esm/operations/managedVirtualNetworks.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/pipelineRuns.js +1 -0
- package/dist/esm/operations/pipelineRuns.js.map +1 -1
- package/dist/esm/operations/pipelines.js +23 -40
- package/dist/esm/operations/pipelines.js.map +1 -1
- package/dist/esm/operations/privateEndPointConnections.js +23 -40
- package/dist/esm/operations/privateEndPointConnections.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnection.js +1 -0
- package/dist/esm/operations/privateEndpointConnection.js.map +1 -1
- package/dist/esm/operations/privateLinkResources.js +1 -0
- package/dist/esm/operations/privateLinkResources.js.map +1 -1
- package/dist/esm/operations/triggerRuns.js +1 -0
- package/dist/esm/operations/triggerRuns.js.map +1 -1
- package/dist/esm/operations/triggers.js +67 -64
- package/dist/esm/operations/triggers.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/react-native/dataFactoryManagementClient.js +36 -5
- package/dist/react-native/dataFactoryManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +6377 -2917
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/activityRuns.js +1 -0
- package/dist/react-native/operations/activityRuns.js.map +1 -1
- package/dist/react-native/operations/changeDataCapture.js +23 -40
- package/dist/react-native/operations/changeDataCapture.js.map +1 -1
- package/dist/react-native/operations/credentialOperations.js +23 -40
- package/dist/react-native/operations/credentialOperations.js.map +1 -1
- package/dist/react-native/operations/dataFlowDebugSession.js +45 -52
- package/dist/react-native/operations/dataFlowDebugSession.js.map +1 -1
- package/dist/react-native/operations/dataFlows.js +23 -40
- package/dist/react-native/operations/dataFlows.js.map +1 -1
- package/dist/react-native/operations/datasets.js +23 -40
- package/dist/react-native/operations/datasets.js.map +1 -1
- package/dist/react-native/operations/exposureControl.js +1 -0
- package/dist/react-native/operations/exposureControl.js.map +1 -1
- package/dist/react-native/operations/factories.js +45 -79
- package/dist/react-native/operations/factories.js.map +1 -1
- package/dist/react-native/operations/globalParameters.js +23 -40
- package/dist/react-native/operations/globalParameters.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeNodes.js +1 -0
- package/dist/react-native/operations/integrationRuntimeNodes.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimeObjectMetadata.js +12 -6
- package/dist/react-native/operations/integrationRuntimeObjectMetadata.js.map +1 -1
- package/dist/react-native/operations/integrationRuntimes.js +45 -52
- package/dist/react-native/operations/integrationRuntimes.js.map +1 -1
- package/dist/react-native/operations/linkedServices.js +23 -40
- package/dist/react-native/operations/linkedServices.js.map +1 -1
- package/dist/react-native/operations/managedPrivateEndpoints.js +23 -40
- package/dist/react-native/operations/managedPrivateEndpoints.js.map +1 -1
- package/dist/react-native/operations/managedVirtualNetworks.js +23 -40
- package/dist/react-native/operations/managedVirtualNetworks.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/pipelineRuns.js +1 -0
- package/dist/react-native/operations/pipelineRuns.js.map +1 -1
- package/dist/react-native/operations/pipelines.js +23 -40
- package/dist/react-native/operations/pipelines.js.map +1 -1
- package/dist/react-native/operations/privateEndPointConnections.js +23 -40
- package/dist/react-native/operations/privateEndPointConnections.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnection.js +1 -0
- package/dist/react-native/operations/privateEndpointConnection.js.map +1 -1
- package/dist/react-native/operations/privateLinkResources.js +1 -0
- package/dist/react-native/operations/privateLinkResources.js.map +1 -1
- package/dist/react-native/operations/triggerRuns.js +1 -0
- package/dist/react-native/operations/triggerRuns.js.map +1 -1
- package/dist/react-native/operations/triggers.js +67 -64
- package/dist/react-native/operations/triggers.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-datafactory.api.md → arm-datafactory-node.api.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationRuntimeObjectMetadata.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimeObjectMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAQ9C,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAK/C;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,YAAY,CAChB,iBAAyB,EACzB,WAAmB,EACnB,sBAA8B,EAC9B,OAA+D;QAO/D,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EAC4B,EAAE;YAC5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,eAAe,GAAG,KAAK,EAC3B,IAAmC,EACnC,IAA8B,EAC9B,EAAE;;YACF,IAAI,kBAAkB,GACpB,SAAS,CAAC;YACZ,MAAM,gBAAgB,GAAG,MAAA,IAAI,CAAC,OAAO,0CAAE,UAAU,CAAC;YAClD,MAAM,QAAQ,GAAmC,CAC/C,WAA6C,EAC7C,YAAqB,EACrB,EAAE;gBACF,kBAAkB,GAAG,WAAW,CAAC;gBACjC,gBAAgB,aAAhB,gBAAgB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,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { IntegrationRuntimeObjectMetadata } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n IntegrationRuntimeObjectMetadataRefreshResponse,\n IntegrationRuntimeObjectMetadataGetOptionalParams,\n IntegrationRuntimeObjectMetadataGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing IntegrationRuntimeObjectMetadata operations. */\nexport class IntegrationRuntimeObjectMetadataImpl\n implements IntegrationRuntimeObjectMetadata\n{\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimeObjectMetadata class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefresh(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>,\n IntegrationRuntimeObjectMetadataRefreshResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: refreshOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimeObjectMetadataRefreshResponse,\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefreshAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> {\n const poller = await this.beginRefresh(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a SSIS integration runtime object metadata by specified path. The return is pageable metadata\n * list.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataGetOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst refreshOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.getMetadataRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"integrationRuntimeObjectMetadata.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimeObjectMetadata.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAQ9C,oEAAoE;AACpE,MAAM,OAAO,oCAAoC;IAG9B,MAAM,CAA8B;IAErD;;;OAGG;IACH,YAAY,MAAmC;QAC7C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,YAAY,CAChB,iBAAyB,EACzB,WAAmB,EACnB,sBAA8B,EAC9B,OAA+D;QAO/D,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EAC4B,EAAE;YAC5D,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,eAAe,GAAG,KAAK,EAC3B,IAAmC,EACnC,IAA8B,EAC9B,EAAE;YACF,IAAI,kBAAkB,GACpB,SAAS,CAAC;YACZ,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO,EAAE,UAAU,CAAC;YAClD,MA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C,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,kBAAkB;IAC1C,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,sBAAsB;KAClC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { IntegrationRuntimeObjectMetadata } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n IntegrationRuntimeObjectMetadataRefreshResponse,\n IntegrationRuntimeObjectMetadataGetOptionalParams,\n IntegrationRuntimeObjectMetadataGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing IntegrationRuntimeObjectMetadata operations. */\nexport class IntegrationRuntimeObjectMetadataImpl\n implements IntegrationRuntimeObjectMetadata\n{\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimeObjectMetadata class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefresh(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>,\n IntegrationRuntimeObjectMetadataRefreshResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: refreshOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimeObjectMetadataRefreshResponse,\n OperationState<IntegrationRuntimeObjectMetadataRefreshResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Refresh a SSIS integration runtime object metadata.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginRefreshAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataRefreshOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataRefreshResponse> {\n const poller = await this.beginRefresh(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get a SSIS integration runtime object metadata by specified path. The return is pageable metadata\n * list.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimeObjectMetadataGetOptionalParams,\n ): Promise<IntegrationRuntimeObjectMetadataGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst refreshOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.SsisObjectMetadataStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.SsisObjectMetadataListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.getMetadataRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing IntegrationRuntimes operations. */
|
|
17
16
|
export class IntegrationRuntimesImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class IntegrationRuntimes class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -38,52 +38,35 @@ export class IntegrationRuntimesImpl {
|
|
|
38
38
|
return this;
|
|
39
39
|
},
|
|
40
40
|
byPage: (settings) => {
|
|
41
|
-
if (settings
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
42
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
43
43
|
}
|
|
44
44
|
return this.listByFactoryPagingPage(resourceGroupName, factoryName, options, settings);
|
|
45
45
|
},
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
});
|
|
48
|
+
async *listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._listByFactory(resourceGroupName, factoryName, options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
setContinuationToken(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
setContinuationToken(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
67
65
|
}
|
|
68
|
-
listByFactoryPagingAll(resourceGroupName, factoryName, options) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
for (var _d = true, _e = __asyncValues(this.listByFactoryPagingPage(resourceGroupName, factoryName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
73
|
-
_c = _f.value;
|
|
74
|
-
_d = false;
|
|
75
|
-
const page = _c;
|
|
76
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
80
|
-
finally {
|
|
81
|
-
try {
|
|
82
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
83
|
-
}
|
|
84
|
-
finally { if (e_1) throw e_1.error; }
|
|
85
|
-
}
|
|
86
|
-
});
|
|
66
|
+
async *listByFactoryPagingAll(resourceGroupName, factoryName, options) {
|
|
67
|
+
for await (const page of this.listByFactoryPagingPage(resourceGroupName, factoryName, options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
87
70
|
}
|
|
88
71
|
/**
|
|
89
72
|
* Lists integration runtimes.
|
|
@@ -219,14 +202,19 @@ export class IntegrationRuntimesImpl {
|
|
|
219
202
|
return this.client.sendOperationRequest(args, spec);
|
|
220
203
|
};
|
|
221
204
|
const sendOperationFn = async (args, spec) => {
|
|
222
|
-
var _a;
|
|
223
205
|
let currentRawResponse = undefined;
|
|
224
|
-
const providedCallback =
|
|
206
|
+
const providedCallback = args.options?.onResponse;
|
|
225
207
|
const callback = (rawResponse, flatResponse) => {
|
|
226
208
|
currentRawResponse = rawResponse;
|
|
227
|
-
providedCallback
|
|
209
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
210
|
+
};
|
|
211
|
+
const updatedArgs = {
|
|
212
|
+
...args,
|
|
213
|
+
options: {
|
|
214
|
+
...args.options,
|
|
215
|
+
onResponse: callback,
|
|
216
|
+
},
|
|
228
217
|
};
|
|
229
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
230
218
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
231
219
|
return {
|
|
232
220
|
flatResponse,
|
|
@@ -243,8 +231,8 @@ export class IntegrationRuntimesImpl {
|
|
|
243
231
|
spec: startOperationSpec,
|
|
244
232
|
});
|
|
245
233
|
const poller = await createHttpPoller(lro, {
|
|
246
|
-
restoreFrom: options
|
|
247
|
-
intervalInMs: options
|
|
234
|
+
restoreFrom: options?.resumeFrom,
|
|
235
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
248
236
|
});
|
|
249
237
|
await poller.poll();
|
|
250
238
|
return poller;
|
|
@@ -272,14 +260,19 @@ export class IntegrationRuntimesImpl {
|
|
|
272
260
|
return this.client.sendOperationRequest(args, spec);
|
|
273
261
|
};
|
|
274
262
|
const sendOperationFn = async (args, spec) => {
|
|
275
|
-
var _a;
|
|
276
263
|
let currentRawResponse = undefined;
|
|
277
|
-
const providedCallback =
|
|
264
|
+
const providedCallback = args.options?.onResponse;
|
|
278
265
|
const callback = (rawResponse, flatResponse) => {
|
|
279
266
|
currentRawResponse = rawResponse;
|
|
280
|
-
providedCallback
|
|
267
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
268
|
+
};
|
|
269
|
+
const updatedArgs = {
|
|
270
|
+
...args,
|
|
271
|
+
options: {
|
|
272
|
+
...args.options,
|
|
273
|
+
onResponse: callback,
|
|
274
|
+
},
|
|
281
275
|
};
|
|
282
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
283
276
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
284
277
|
return {
|
|
285
278
|
flatResponse,
|
|
@@ -296,8 +289,8 @@ export class IntegrationRuntimesImpl {
|
|
|
296
289
|
spec: stopOperationSpec,
|
|
297
290
|
});
|
|
298
291
|
const poller = await createHttpPoller(lro, {
|
|
299
|
-
restoreFrom: options
|
|
300
|
-
intervalInMs: options
|
|
292
|
+
restoreFrom: options?.resumeFrom,
|
|
293
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
301
294
|
});
|
|
302
295
|
await poller.poll();
|
|
303
296
|
return poller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationRuntimes.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM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M,8BAA8B,GAA6B;IAC/D,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,8BAA8B;SACnD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { IntegrationRuntimes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeResource,\n IntegrationRuntimesListByFactoryNextOptionalParams,\n IntegrationRuntimesListByFactoryOptionalParams,\n IntegrationRuntimesListByFactoryResponse,\n IntegrationRuntimesCreateOrUpdateOptionalParams,\n IntegrationRuntimesCreateOrUpdateResponse,\n IntegrationRuntimesGetOptionalParams,\n IntegrationRuntimesGetResponse,\n UpdateIntegrationRuntimeRequest,\n IntegrationRuntimesUpdateOptionalParams,\n IntegrationRuntimesUpdateResponse,\n IntegrationRuntimesDeleteOptionalParams,\n IntegrationRuntimesGetStatusOptionalParams,\n IntegrationRuntimesGetStatusResponse,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,\n IntegrationRuntimesGetConnectionInfoOptionalParams,\n IntegrationRuntimesGetConnectionInfoResponse,\n IntegrationRuntimeRegenerateKeyParameters,\n IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n IntegrationRuntimesRegenerateAuthKeyResponse,\n IntegrationRuntimesListAuthKeysOptionalParams,\n IntegrationRuntimesListAuthKeysResponse,\n IntegrationRuntimesStartOptionalParams,\n IntegrationRuntimesStartResponse,\n IntegrationRuntimesStopOptionalParams,\n IntegrationRuntimesSyncCredentialsOptionalParams,\n IntegrationRuntimesGetMonitoringDataOptionalParams,\n IntegrationRuntimesGetMonitoringDataResponse,\n IntegrationRuntimesUpgradeOptionalParams,\n LinkedIntegrationRuntimeRequest,\n IntegrationRuntimesRemoveLinksOptionalParams,\n CreateLinkedIntegrationRuntimeRequest,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse,\n IntegrationRuntimesListByFactoryNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IntegrationRuntimes operations. */\nexport class IntegrationRuntimesImpl implements IntegrationRuntimes {\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimes class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n public listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {\n const iter = this.listByFactoryPagingAll(\n resourceGroupName,\n factoryName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByFactoryPagingPage(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<IntegrationRuntimeResource[]> {\n let result: IntegrationRuntimesListByFactoryResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFactory(\n resourceGroupName,\n factoryName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFactoryNext(\n resourceGroupName,\n factoryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFactoryPagingAll(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): AsyncIterableIterator<IntegrationRuntimeResource> {\n for await (const page of this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n private _listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, options },\n listByFactoryOperationSpec,\n );\n }\n\n /**\n * Creates or updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOrUpdateOptionalParams,\n ): Promise<IntegrationRuntimesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n integrationRuntime,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Gets an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetOptionalParams,\n ): Promise<IntegrationRuntimesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,\n options?: IntegrationRuntimesUpdateOptionalParams,\n ): Promise<IntegrationRuntimesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n updateIntegrationRuntimeRequest,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets detailed status information for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getStatus(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetStatusOptionalParams,\n ): Promise<IntegrationRuntimesGetStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getStatusOperationSpec,\n );\n }\n\n /**\n * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): Promise<IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec,\n );\n }\n\n /**\n * Gets the on-premises integration runtime connection information for encrypting the on-premises data\n * source credentials.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getConnectionInfo(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetConnectionInfoOptionalParams,\n ): Promise<IntegrationRuntimesGetConnectionInfoResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getConnectionInfoOperationSpec,\n );\n }\n\n /**\n * Regenerates the authentication key for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication\n * key.\n * @param options The options parameters.\n */\n regenerateAuthKey(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters,\n options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n ): Promise<IntegrationRuntimesRegenerateAuthKeyResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n regenerateKeyParameters,\n options,\n },\n regenerateAuthKeyOperationSpec,\n );\n }\n\n /**\n * Retrieves the authentication keys for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListAuthKeysOptionalParams,\n ): Promise<IntegrationRuntimesListAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listAuthKeysOperationSpec,\n );\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimesStartResponse>,\n IntegrationRuntimesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimesStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimesStartResponse,\n OperationState<IntegrationRuntimesStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<IntegrationRuntimesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStop(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Force the integration runtime to synchronize credentials across integration runtime nodes, and this\n * will override the credentials across all worker nodes with those available on the dispatcher node.\n * If you already have the latest credential backup file, you should manually import it (preferred) on\n * any self-hosted integration runtime node than using this API directly.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n syncCredentials(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesSyncCredentialsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n syncCredentialsOperationSpec,\n );\n }\n\n /**\n * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under\n * this integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getMonitoringData(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetMonitoringDataOptionalParams,\n ): Promise<IntegrationRuntimesGetMonitoringDataResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getMonitoringDataOperationSpec,\n );\n }\n\n /**\n * Upgrade self-hosted integration runtime to latest version if availability.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n upgrade(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesUpgradeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n upgradeOperationSpec,\n );\n }\n\n /**\n * Remove all linked integration runtimes under specific data factory in a self-hosted integration\n * runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.\n * @param options The options parameters.\n */\n removeLinks(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesRemoveLinksOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n linkedIntegrationRuntimeRequest,\n options,\n },\n removeLinksOperationSpec,\n );\n }\n\n /**\n * Create a linked integration runtime entry in a shared integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.\n * @param options The options parameters.\n */\n createLinkedIntegrationRuntime(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n ): Promise<IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n createLinkedIntegrationRuntimeRequest,\n options,\n },\n createLinkedIntegrationRuntimeOperationSpec,\n );\n }\n\n /**\n * ListByFactoryNext\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param nextLink The nextLink from the previous successful call to the ListByFactory method.\n * @param options The options parameters.\n */\n private _listByFactoryNext(\n resourceGroupName: string,\n factoryName: string,\n nextLink: string,\n options?: IntegrationRuntimesListByFactoryNextOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, nextLink, options },\n listByFactoryNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFactoryOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.integrationRuntime,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n 304: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.updateIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\nconst getConnectionInfoOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeConnectionInfo,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateAuthKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.regenerateKeyParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst syncCredentialsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getMonitoringDataOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeMonitoringData,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst removeLinksOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.linkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.createLinkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByFactoryNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"integrationRuntimes.js","sourceRoot":"","sources":["../../../src/operations/integrationRuntimes.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAwC9C,4CAA4C;AAC5C,uDAAuD;AACvD,MAAM,OAAO,uBAAuB;IACjB,MAAM,C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under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { IntegrationRuntimes } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { DataFactoryManagementClient } from \"../dataFactoryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n IntegrationRuntimeResource,\n IntegrationRuntimesListByFactoryNextOptionalParams,\n IntegrationRuntimesListByFactoryOptionalParams,\n IntegrationRuntimesListByFactoryResponse,\n IntegrationRuntimesCreateOrUpdateOptionalParams,\n IntegrationRuntimesCreateOrUpdateResponse,\n IntegrationRuntimesGetOptionalParams,\n IntegrationRuntimesGetResponse,\n UpdateIntegrationRuntimeRequest,\n IntegrationRuntimesUpdateOptionalParams,\n IntegrationRuntimesUpdateResponse,\n IntegrationRuntimesDeleteOptionalParams,\n IntegrationRuntimesGetStatusOptionalParams,\n IntegrationRuntimesGetStatusResponse,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse,\n IntegrationRuntimesGetConnectionInfoOptionalParams,\n IntegrationRuntimesGetConnectionInfoResponse,\n IntegrationRuntimeRegenerateKeyParameters,\n IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n IntegrationRuntimesRegenerateAuthKeyResponse,\n IntegrationRuntimesListAuthKeysOptionalParams,\n IntegrationRuntimesListAuthKeysResponse,\n IntegrationRuntimesStartOptionalParams,\n IntegrationRuntimesStartResponse,\n IntegrationRuntimesStopOptionalParams,\n IntegrationRuntimesSyncCredentialsOptionalParams,\n IntegrationRuntimesGetMonitoringDataOptionalParams,\n IntegrationRuntimesGetMonitoringDataResponse,\n IntegrationRuntimesUpgradeOptionalParams,\n LinkedIntegrationRuntimeRequest,\n IntegrationRuntimesRemoveLinksOptionalParams,\n CreateLinkedIntegrationRuntimeRequest,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse,\n IntegrationRuntimesListByFactoryNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing IntegrationRuntimes operations. */\nexport class IntegrationRuntimesImpl implements IntegrationRuntimes {\n private readonly client: DataFactoryManagementClient;\n\n /**\n * Initialize a new instance of the class IntegrationRuntimes class.\n * @param client Reference to the service client\n */\n constructor(client: DataFactoryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n public listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): PagedAsyncIterableIterator<IntegrationRuntimeResource> {\n const iter = this.listByFactoryPagingAll(\n resourceGroupName,\n factoryName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByFactoryPagingPage(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<IntegrationRuntimeResource[]> {\n let result: IntegrationRuntimesListByFactoryResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByFactory(\n resourceGroupName,\n factoryName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByFactoryNext(\n resourceGroupName,\n factoryName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listByFactoryPagingAll(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): AsyncIterableIterator<IntegrationRuntimeResource> {\n for await (const page of this.listByFactoryPagingPage(\n resourceGroupName,\n factoryName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists integration runtimes.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param options The options parameters.\n */\n private _listByFactory(\n resourceGroupName: string,\n factoryName: string,\n options?: IntegrationRuntimesListByFactoryOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, options },\n listByFactoryOperationSpec,\n );\n }\n\n /**\n * Creates or updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param integrationRuntime Integration runtime resource definition.\n * @param options The options parameters.\n */\n createOrUpdate(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n integrationRuntime: IntegrationRuntimeResource,\n options?: IntegrationRuntimesCreateOrUpdateOptionalParams,\n ): Promise<IntegrationRuntimesCreateOrUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n integrationRuntime,\n options,\n },\n createOrUpdateOperationSpec,\n );\n }\n\n /**\n * Gets an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetOptionalParams,\n ): Promise<IntegrationRuntimesGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Updates an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param updateIntegrationRuntimeRequest The parameters for updating an integration runtime.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n updateIntegrationRuntimeRequest: UpdateIntegrationRuntimeRequest,\n options?: IntegrationRuntimesUpdateOptionalParams,\n ): Promise<IntegrationRuntimesUpdateResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n updateIntegrationRuntimeRequest,\n options,\n },\n updateOperationSpec,\n );\n }\n\n /**\n * Deletes an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n delete(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesDeleteOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n deleteOperationSpec,\n );\n }\n\n /**\n * Gets detailed status information for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getStatus(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetStatusOptionalParams,\n ): Promise<IntegrationRuntimesGetStatusResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getStatusOperationSpec,\n );\n }\n\n /**\n * Gets the list of outbound network dependencies for a given Azure-SSIS integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listOutboundNetworkDependenciesEndpoints(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListOutboundNetworkDependenciesEndpointsOptionalParams,\n ): Promise<IntegrationRuntimesListOutboundNetworkDependenciesEndpointsResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listOutboundNetworkDependenciesEndpointsOperationSpec,\n );\n }\n\n /**\n * Gets the on-premises integration runtime connection information for encrypting the on-premises data\n * source credentials.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getConnectionInfo(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetConnectionInfoOptionalParams,\n ): Promise<IntegrationRuntimesGetConnectionInfoResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getConnectionInfoOperationSpec,\n );\n }\n\n /**\n * Regenerates the authentication key for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param regenerateKeyParameters The parameters for regenerating integration runtime authentication\n * key.\n * @param options The options parameters.\n */\n regenerateAuthKey(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n regenerateKeyParameters: IntegrationRuntimeRegenerateKeyParameters,\n options?: IntegrationRuntimesRegenerateAuthKeyOptionalParams,\n ): Promise<IntegrationRuntimesRegenerateAuthKeyResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n regenerateKeyParameters,\n options,\n },\n regenerateAuthKeyOperationSpec,\n );\n }\n\n /**\n * Retrieves the authentication keys for an integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n listAuthKeys(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesListAuthKeysOptionalParams,\n ): Promise<IntegrationRuntimesListAuthKeysResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n listAuthKeysOperationSpec,\n );\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStart(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<IntegrationRuntimesStartResponse>,\n IntegrationRuntimesStartResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<IntegrationRuntimesStartResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: startOperationSpec,\n });\n const poller = await createHttpPoller<\n IntegrationRuntimesStartResponse,\n OperationState<IntegrationRuntimesStartResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Starts a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStartAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStartOptionalParams,\n ): Promise<IntegrationRuntimesStartResponse> {\n const poller = await this.beginStart(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStop(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, factoryName, integrationRuntimeName, options },\n spec: stopOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Stops a ManagedReserved type integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n async beginStopAndWait(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesStopOptionalParams,\n ): Promise<void> {\n const poller = await this.beginStop(\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Force the integration runtime to synchronize credentials across integration runtime nodes, and this\n * will override the credentials across all worker nodes with those available on the dispatcher node.\n * If you already have the latest credential backup file, you should manually import it (preferred) on\n * any self-hosted integration runtime node than using this API directly.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n syncCredentials(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesSyncCredentialsOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n syncCredentialsOperationSpec,\n );\n }\n\n /**\n * Get the integration runtime monitoring data, which includes the monitor data for all the nodes under\n * this integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n getMonitoringData(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesGetMonitoringDataOptionalParams,\n ): Promise<IntegrationRuntimesGetMonitoringDataResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n getMonitoringDataOperationSpec,\n );\n }\n\n /**\n * Upgrade self-hosted integration runtime to latest version if availability.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param options The options parameters.\n */\n upgrade(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n options?: IntegrationRuntimesUpgradeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, integrationRuntimeName, options },\n upgradeOperationSpec,\n );\n }\n\n /**\n * Remove all linked integration runtimes under specific data factory in a self-hosted integration\n * runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param linkedIntegrationRuntimeRequest The data factory name for the linked integration runtime.\n * @param options The options parameters.\n */\n removeLinks(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n linkedIntegrationRuntimeRequest: LinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesRemoveLinksOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n linkedIntegrationRuntimeRequest,\n options,\n },\n removeLinksOperationSpec,\n );\n }\n\n /**\n * Create a linked integration runtime entry in a shared integration runtime.\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param integrationRuntimeName The integration runtime name.\n * @param createLinkedIntegrationRuntimeRequest The linked integration runtime properties.\n * @param options The options parameters.\n */\n createLinkedIntegrationRuntime(\n resourceGroupName: string,\n factoryName: string,\n integrationRuntimeName: string,\n createLinkedIntegrationRuntimeRequest: CreateLinkedIntegrationRuntimeRequest,\n options?: IntegrationRuntimesCreateLinkedIntegrationRuntimeOptionalParams,\n ): Promise<IntegrationRuntimesCreateLinkedIntegrationRuntimeResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n factoryName,\n integrationRuntimeName,\n createLinkedIntegrationRuntimeRequest,\n options,\n },\n createLinkedIntegrationRuntimeOperationSpec,\n );\n }\n\n /**\n * ListByFactoryNext\n * @param resourceGroupName The resource group name.\n * @param factoryName The factory name.\n * @param nextLink The nextLink from the previous successful call to the ListByFactory method.\n * @param options The options parameters.\n */\n private _listByFactoryNext(\n resourceGroupName: string,\n factoryName: string,\n nextLink: string,\n options?: IntegrationRuntimesListByFactoryNextOptionalParams,\n ): Promise<IntegrationRuntimesListByFactoryNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, factoryName, nextLink, options },\n listByFactoryNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listByFactoryOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.integrationRuntime,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [\n Parameters.accept,\n Parameters.contentType,\n Parameters.ifMatch,\n ],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n 304: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.ifNoneMatch],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.updateIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listOutboundNetworkDependenciesEndpointsOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/outboundNetworkDependenciesEndpoints\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper:\n Mappers.IntegrationRuntimeOutboundNetworkDependenciesEndpointsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n };\nconst getConnectionInfoOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getConnectionInfo\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeConnectionInfo,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst regenerateAuthKeyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/regenerateAuthKey\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.regenerateKeyParameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listAuthKeysOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/listAuthKeys\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeAuthKeys,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 201: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 202: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n 204: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst syncCredentialsOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/syncCredentials\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getMonitoringDataOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/monitoringData\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeMonitoringData,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst upgradeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/upgrade\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst removeLinksOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/removeLinks\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.linkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst createLinkedIntegrationRuntimeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/linkedIntegrationRuntime\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeStatusResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.createLinkedIntegrationRuntimeRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n Parameters.integrationRuntimeName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listByFactoryNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.IntegrationRuntimeListResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.factoryName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -13,6 +12,7 @@ import * as Parameters from "../models/parameters.js";
|
|
|
13
12
|
/// <reference lib="esnext.asynciterable" />
|
|
14
13
|
/** Class containing LinkedServices operations. */
|
|
15
14
|
export class LinkedServicesImpl {
|
|
15
|
+
client;
|
|
16
16
|
/**
|
|
17
17
|
* Initialize a new instance of the class LinkedServices class.
|
|
18
18
|
* @param client Reference to the service client
|
|
@@ -36,52 +36,35 @@ export class LinkedServicesImpl {
|
|
|
36
36
|
return this;
|
|
37
37
|
},
|
|
38
38
|
byPage: (settings) => {
|
|
39
|
-
if (settings
|
|
39
|
+
if (settings?.maxPageSize) {
|
|
40
40
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
41
41
|
}
|
|
42
42
|
return this.listByFactoryPagingPage(resourceGroupName, factoryName, options, settings);
|
|
43
43
|
},
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
});
|
|
46
|
+
async *listByFactoryPagingPage(resourceGroupName, factoryName, options, settings) {
|
|
47
|
+
let result;
|
|
48
|
+
let continuationToken = settings?.continuationToken;
|
|
49
|
+
if (!continuationToken) {
|
|
50
|
+
result = await this._listByFactory(resourceGroupName, factoryName, options);
|
|
51
|
+
let page = result.value || [];
|
|
52
|
+
continuationToken = result.nextLink;
|
|
53
|
+
setContinuationToken(page, continuationToken);
|
|
54
|
+
yield page;
|
|
55
|
+
}
|
|
56
|
+
while (continuationToken) {
|
|
57
|
+
result = await this._listByFactoryNext(resourceGroupName, factoryName, continuationToken, options);
|
|
58
|
+
continuationToken = result.nextLink;
|
|
59
|
+
let page = result.value || [];
|
|
60
|
+
setContinuationToken(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
65
63
|
}
|
|
66
|
-
listByFactoryPagingAll(resourceGroupName, factoryName, options) {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
for (var _d = true, _e = __asyncValues(this.listByFactoryPagingPage(resourceGroupName, factoryName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
71
|
-
_c = _f.value;
|
|
72
|
-
_d = false;
|
|
73
|
-
const page = _c;
|
|
74
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
78
|
-
finally {
|
|
79
|
-
try {
|
|
80
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
81
|
-
}
|
|
82
|
-
finally { if (e_1) throw e_1.error; }
|
|
83
|
-
}
|
|
84
|
-
});
|
|
64
|
+
async *listByFactoryPagingAll(resourceGroupName, factoryName, options) {
|
|
65
|
+
for await (const page of this.listByFactoryPagingPage(resourceGroupName, factoryName, options)) {
|
|
66
|
+
yield* page;
|
|
67
|
+
}
|
|
85
68
|
}
|
|
86
69
|
/**
|
|
87
70
|
* Lists linked services.
|