@azure/arm-datamigration 3.0.0-alpha.20250620.1 → 3.0.0-alpha.20250721.1

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.
Files changed (123) hide show
  1. package/dist/browser/dataMigrationManagementClient.js +24 -5
  2. package/dist/browser/dataMigrationManagementClient.js.map +1 -1
  3. package/dist/browser/lroImpl.js +11 -3
  4. package/dist/browser/lroImpl.js.map +1 -1
  5. package/dist/browser/models/mappers.js +1468 -675
  6. package/dist/browser/models/mappers.js.map +1 -1
  7. package/dist/browser/operations/databaseMigrationsSqlMi.js +34 -18
  8. package/dist/browser/operations/databaseMigrationsSqlMi.js.map +1 -1
  9. package/dist/browser/operations/databaseMigrationsSqlVm.js +34 -18
  10. package/dist/browser/operations/databaseMigrationsSqlVm.js.map +1 -1
  11. package/dist/browser/operations/files.js +23 -40
  12. package/dist/browser/operations/files.js.map +1 -1
  13. package/dist/browser/operations/operations.js +23 -40
  14. package/dist/browser/operations/operations.js.map +1 -1
  15. package/dist/browser/operations/projects.js +23 -40
  16. package/dist/browser/operations/projects.js.map +1 -1
  17. package/dist/browser/operations/resourceSkus.js +23 -40
  18. package/dist/browser/operations/resourceSkus.js.map +1 -1
  19. package/dist/browser/operations/serviceTasks.js +23 -40
  20. package/dist/browser/operations/serviceTasks.js.map +1 -1
  21. package/dist/browser/operations/services.js +122 -148
  22. package/dist/browser/operations/services.js.map +1 -1
  23. package/dist/browser/operations/sqlMigrationServices.js +100 -136
  24. package/dist/browser/operations/sqlMigrationServices.js.map +1 -1
  25. package/dist/browser/operations/tasks.js +23 -40
  26. package/dist/browser/operations/tasks.js.map +1 -1
  27. package/dist/browser/operations/usages.js +23 -40
  28. package/dist/browser/operations/usages.js.map +1 -1
  29. package/dist/browser/pagingHelper.js +2 -4
  30. package/dist/browser/pagingHelper.js.map +1 -1
  31. package/dist/commonjs/dataMigrationManagementClient.js +24 -5
  32. package/dist/commonjs/dataMigrationManagementClient.js.map +1 -1
  33. package/dist/commonjs/lroImpl.js +11 -3
  34. package/dist/commonjs/lroImpl.js.map +1 -1
  35. package/dist/commonjs/models/mappers.js +1468 -675
  36. package/dist/commonjs/models/mappers.js.map +1 -1
  37. package/dist/commonjs/operations/databaseMigrationsSqlMi.js +34 -18
  38. package/dist/commonjs/operations/databaseMigrationsSqlMi.js.map +1 -1
  39. package/dist/commonjs/operations/databaseMigrationsSqlVm.js +34 -18
  40. package/dist/commonjs/operations/databaseMigrationsSqlVm.js.map +1 -1
  41. package/dist/commonjs/operations/files.js +23 -39
  42. package/dist/commonjs/operations/files.js.map +1 -1
  43. package/dist/commonjs/operations/operations.js +23 -39
  44. package/dist/commonjs/operations/operations.js.map +1 -1
  45. package/dist/commonjs/operations/projects.js +23 -39
  46. package/dist/commonjs/operations/projects.js.map +1 -1
  47. package/dist/commonjs/operations/resourceSkus.js +23 -39
  48. package/dist/commonjs/operations/resourceSkus.js.map +1 -1
  49. package/dist/commonjs/operations/serviceTasks.js +23 -39
  50. package/dist/commonjs/operations/serviceTasks.js.map +1 -1
  51. package/dist/commonjs/operations/services.js +122 -147
  52. package/dist/commonjs/operations/services.js.map +1 -1
  53. package/dist/commonjs/operations/sqlMigrationServices.js +100 -135
  54. package/dist/commonjs/operations/sqlMigrationServices.js.map +1 -1
  55. package/dist/commonjs/operations/tasks.js +23 -39
  56. package/dist/commonjs/operations/tasks.js.map +1 -1
  57. package/dist/commonjs/operations/usages.js +23 -39
  58. package/dist/commonjs/operations/usages.js.map +1 -1
  59. package/dist/commonjs/pagingHelper.js +2 -4
  60. package/dist/commonjs/pagingHelper.js.map +1 -1
  61. package/dist/commonjs/tsdoc-metadata.json +11 -11
  62. package/dist/esm/dataMigrationManagementClient.js +24 -5
  63. package/dist/esm/dataMigrationManagementClient.js.map +1 -1
  64. package/dist/esm/lroImpl.js +11 -3
  65. package/dist/esm/lroImpl.js.map +1 -1
  66. package/dist/esm/models/mappers.js +1468 -675
  67. package/dist/esm/models/mappers.js.map +1 -1
  68. package/dist/esm/operations/databaseMigrationsSqlMi.js +34 -18
  69. package/dist/esm/operations/databaseMigrationsSqlMi.js.map +1 -1
  70. package/dist/esm/operations/databaseMigrationsSqlVm.js +34 -18
  71. package/dist/esm/operations/databaseMigrationsSqlVm.js.map +1 -1
  72. package/dist/esm/operations/files.js +23 -40
  73. package/dist/esm/operations/files.js.map +1 -1
  74. package/dist/esm/operations/operations.js +23 -40
  75. package/dist/esm/operations/operations.js.map +1 -1
  76. package/dist/esm/operations/projects.js +23 -40
  77. package/dist/esm/operations/projects.js.map +1 -1
  78. package/dist/esm/operations/resourceSkus.js +23 -40
  79. package/dist/esm/operations/resourceSkus.js.map +1 -1
  80. package/dist/esm/operations/serviceTasks.js +23 -40
  81. package/dist/esm/operations/serviceTasks.js.map +1 -1
  82. package/dist/esm/operations/services.js +122 -148
  83. package/dist/esm/operations/services.js.map +1 -1
  84. package/dist/esm/operations/sqlMigrationServices.js +100 -136
  85. package/dist/esm/operations/sqlMigrationServices.js.map +1 -1
  86. package/dist/esm/operations/tasks.js +23 -40
  87. package/dist/esm/operations/tasks.js.map +1 -1
  88. package/dist/esm/operations/usages.js +23 -40
  89. package/dist/esm/operations/usages.js.map +1 -1
  90. package/dist/esm/pagingHelper.js +2 -4
  91. package/dist/esm/pagingHelper.js.map +1 -1
  92. package/dist/react-native/dataMigrationManagementClient.js +24 -5
  93. package/dist/react-native/dataMigrationManagementClient.js.map +1 -1
  94. package/dist/react-native/lroImpl.js +11 -3
  95. package/dist/react-native/lroImpl.js.map +1 -1
  96. package/dist/react-native/models/mappers.js +1468 -675
  97. package/dist/react-native/models/mappers.js.map +1 -1
  98. package/dist/react-native/operations/databaseMigrationsSqlMi.js +34 -18
  99. package/dist/react-native/operations/databaseMigrationsSqlMi.js.map +1 -1
  100. package/dist/react-native/operations/databaseMigrationsSqlVm.js +34 -18
  101. package/dist/react-native/operations/databaseMigrationsSqlVm.js.map +1 -1
  102. package/dist/react-native/operations/files.js +23 -40
  103. package/dist/react-native/operations/files.js.map +1 -1
  104. package/dist/react-native/operations/operations.js +23 -40
  105. package/dist/react-native/operations/operations.js.map +1 -1
  106. package/dist/react-native/operations/projects.js +23 -40
  107. package/dist/react-native/operations/projects.js.map +1 -1
  108. package/dist/react-native/operations/resourceSkus.js +23 -40
  109. package/dist/react-native/operations/resourceSkus.js.map +1 -1
  110. package/dist/react-native/operations/serviceTasks.js +23 -40
  111. package/dist/react-native/operations/serviceTasks.js.map +1 -1
  112. package/dist/react-native/operations/services.js +122 -148
  113. package/dist/react-native/operations/services.js.map +1 -1
  114. package/dist/react-native/operations/sqlMigrationServices.js +100 -136
  115. package/dist/react-native/operations/sqlMigrationServices.js.map +1 -1
  116. package/dist/react-native/operations/tasks.js +23 -40
  117. package/dist/react-native/operations/tasks.js.map +1 -1
  118. package/dist/react-native/operations/usages.js +23 -40
  119. package/dist/react-native/operations/usages.js.map +1 -1
  120. package/dist/react-native/pagingHelper.js +2 -4
  121. package/dist/react-native/pagingHelper.js.map +1 -1
  122. package/package.json +2 -2
  123. /package/review/{arm-datamigration.api.md → arm-datamigration-node.api.md} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAkCxC,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAa,YAAY;IAGvB;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,QAAQ,CACb,SAAiB,EACjB,WAAmB,EACnB,OAAwC;QAExC,MAAM,IAAI,GAAG,IAAI,CAAC,iBAAiB,CAAC,SAAS,EAAE,WAAW,EAAE,OAAO,CAAC,CAAC;QACrE,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAA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AC,QAAQ;QACnB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,SAAS;KACrB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;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 { Services } 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 { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n AvailableServiceSku,\n ServicesListSkusNextOptionalParams,\n ServicesListSkusOptionalParams,\n ServicesListSkusResponse,\n DataMigrationService,\n ServicesListByResourceGroupNextOptionalParams,\n ServicesListByResourceGroupOptionalParams,\n ServicesListByResourceGroupResponse,\n ServicesListNextOptionalParams,\n ServicesListOptionalParams,\n ServicesListResponse,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesCheckStatusOptionalParams,\n ServicesCheckStatusResponse,\n ServicesStartOptionalParams,\n ServicesStopOptionalParams,\n NameAvailabilityRequest,\n ServicesCheckChildrenNameAvailabilityOptionalParams,\n ServicesCheckChildrenNameAvailabilityResponse,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesListSkusNextResponse,\n ServicesListByResourceGroupNextResponse,\n ServicesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Services operations. */\nexport class ServicesImpl implements Services {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class Services class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * skus action returns the list of SKUs that a service resource can be updated to.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n public listSkus(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams\n ): PagedAsyncIterableIterator<AvailableServiceSku> {\n const iter = this.listSkusPagingAll(groupName, serviceName, options);\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.listSkusPagingPage(\n groupName,\n serviceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listSkusPagingPage(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AvailableServiceSku[]> {\n let result: ServicesListSkusResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listSkus(groupName, serviceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listSkusNext(\n groupName,\n serviceName,\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 *listSkusPagingAll(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams\n ): AsyncIterableIterator<AvailableServiceSku> {\n for await (const page of this.listSkusPagingPage(\n groupName,\n serviceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The Services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a resource group.\n * @param groupName Name of the resource group\n * @param options The options parameters.\n */\n public listByResourceGroup(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DataMigrationService> {\n const iter = this.listByResourceGroupPagingAll(groupName, options);\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.listByResourceGroupPagingPage(groupName, options, settings);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DataMigrationService[]> {\n let result: ServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(groupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n groupName,\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 *listByResourceGroupPagingAll(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<DataMigrationService> {\n for await (const page of this.listByResourceGroupPagingPage(\n groupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ServicesListOptionalParams\n ): PagedAsyncIterableIterator<DataMigrationService> {\n const iter = this.listPagingAll(options);\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.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: ServicesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DataMigrationService[]> {\n let result: ServicesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ServicesListOptionalParams\n ): AsyncIterableIterator<DataMigrationService> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PUT method creates a new service or updates an existing one. When a service is updated, existing\n * child resources (i.e. tasks) are unaffected. Services currently support a single kind, \"vm\", which\n * refers to a VM-based service, although other kinds may be added in the future. This method can\n * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the\n * service is busy), this will fail with 400 Bad Request (\"ServiceIsBusy\"). The provider will reply\n * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState\n * property.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServicesCreateOrUpdateResponse>,\n ServicesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PUT method creates a new service or updates an existing one. When a service is updated, existing\n * child resources (i.e. tasks) are unaffected. Services currently support a single kind, \"vm\", which\n * refers to a VM-based service, although other kinds may be added in the future. This method can\n * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the\n * service is busy), this will fail with 400 Bad Request (\"ServiceIsBusy\"). The provider will reply\n * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState\n * property.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesCreateOrUpdateOptionalParams\n ): Promise<ServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n groupName,\n serviceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * GET method retrieves information about a service instance.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n options?: ServicesGetOptionalParams\n ): Promise<ServicesGetResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n getOperationSpec\n );\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * DELETE method deletes a service. Any running tasks will be canceled.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginDelete(\n groupName: string,\n serviceName: string,\n options?: ServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * DELETE method deletes a service. Any running tasks will be canceled.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n groupName: string,\n serviceName: string,\n options?: ServicesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(groupName, serviceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PATCH method updates an existing service. This method can change the kind, SKU, and network of the\n * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad\n * Request (\"ServiceIsBusy\").\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginUpdate(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServicesUpdateResponse>,\n ServicesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServicesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, parameters, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PATCH method updates an existing service. This method can change the kind, SKU, and network of the\n * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad\n * Request (\"ServiceIsBusy\").\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesUpdateOptionalParams\n ): Promise<ServicesUpdateResponse> {\n const poller = await this.beginUpdate(\n groupName,\n serviceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action performs a health check and returns the status of the service and virtual machine size.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n checkStatus(\n groupName: string,\n serviceName: string,\n options?: ServicesCheckStatusOptionalParams\n ): Promise<ServicesCheckStatusResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n checkStatusOperationSpec\n );\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action starts the service and the service can be used for data migration.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStart(\n groupName: string,\n serviceName: string,\n options?: ServicesStartOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, options },\n startOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action starts the service and the service can be used for data migration.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStartAndWait(\n groupName: string,\n serviceName: string,\n options?: ServicesStartOptionalParams\n ): Promise<void> {\n const poller = await this.beginStart(groupName, serviceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action stops the service and the service cannot be used for data migration. The service owner won't\n * be billed when the service is stopped.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStop(\n groupName: string,\n serviceName: string,\n options?: ServicesStopOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, options },\n stopOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action stops the service and the service cannot be used for data migration. The service owner won't\n * be billed when the service is stopped.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStopAndWait(\n groupName: string,\n serviceName: string,\n options?: ServicesStopOptionalParams\n ): Promise<void> {\n const poller = await this.beginStop(groupName, serviceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * skus action returns the list of SKUs that a service resource can be updated to.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n private _listSkus(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams\n ): Promise<ServicesListSkusResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n listSkusOperationSpec\n );\n }\n\n /**\n * This method checks whether a proposed nested resource name is valid and available.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Requested name to validate\n * @param options The options parameters.\n */\n checkChildrenNameAvailability(\n groupName: string,\n serviceName: string,\n parameters: NameAvailabilityRequest,\n options?: ServicesCheckChildrenNameAvailabilityOptionalParams\n ): Promise<ServicesCheckChildrenNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, parameters, options },\n checkChildrenNameAvailabilityOperationSpec\n );\n }\n\n /**\n * The Services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a resource group.\n * @param groupName Name of the resource group\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams\n ): Promise<ServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { groupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ServicesListOptionalParams\n ): Promise<ServicesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * This method checks whether a proposed top-level resource name is valid and available.\n * @param location The Azure region of the operation\n * @param parameters Requested name to validate\n * @param options The options parameters.\n */\n checkNameAvailability(\n location: string,\n parameters: NameAvailabilityRequest,\n options?: ServicesCheckNameAvailabilityOptionalParams\n ): Promise<ServicesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { location, parameters, options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * ListSkusNext\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param nextLink The nextLink from the previous successful call to the ListSkus method.\n * @param options The options parameters.\n */\n private _listSkusNext(\n groupName: string,\n serviceName: string,\n nextLink: string,\n options?: ServicesListSkusNextOptionalParams\n ): Promise<ServicesListSkusNextResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, nextLink, options },\n listSkusNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param groupName Name of the resource group\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n groupName: string,\n nextLink: string,\n options?: ServicesListByResourceGroupNextOptionalParams\n ): Promise<ServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { groupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ServicesListNextOptionalParams\n ): Promise<ServicesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationService\n },\n 201: {\n bodyMapper: Mappers.DataMigrationService\n },\n 202: {\n bodyMapper: Mappers.DataMigrationService\n },\n 204: {\n bodyMapper: Mappers.DataMigrationService\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationService\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationService\n },\n 201: {\n bodyMapper: Mappers.DataMigrationService\n },\n 202: {\n bodyMapper: Mappers.DataMigrationService\n },\n 204: {\n bodyMapper: Mappers.DataMigrationService\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst checkStatusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceStatusResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listSkusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceSkuList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkChildrenNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listSkusNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceSkuList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.groupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
1
+ {"version":3,"file":"services.js","sourceRoot":"","sources":["../../../src/operations/services.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAA4E;AAC5E,8CAAwC;AAkCxC,4CAA4C;AAC5C,4CAA4C;AAC5C,MAAa,YAAY;IACN,MAAM,CAAgC;IAEvD;;;OAGG;IACH,YAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,QAAQ,CACb,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GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,QAAQ;SAC7B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;KACpB;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 { Services } 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 { DataMigrationManagementClient } from \"../dataMigrationManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n AvailableServiceSku,\n ServicesListSkusNextOptionalParams,\n ServicesListSkusOptionalParams,\n ServicesListSkusResponse,\n DataMigrationService,\n ServicesListByResourceGroupNextOptionalParams,\n ServicesListByResourceGroupOptionalParams,\n ServicesListByResourceGroupResponse,\n ServicesListNextOptionalParams,\n ServicesListOptionalParams,\n ServicesListResponse,\n ServicesCreateOrUpdateOptionalParams,\n ServicesCreateOrUpdateResponse,\n ServicesGetOptionalParams,\n ServicesGetResponse,\n ServicesDeleteOptionalParams,\n ServicesUpdateOptionalParams,\n ServicesUpdateResponse,\n ServicesCheckStatusOptionalParams,\n ServicesCheckStatusResponse,\n ServicesStartOptionalParams,\n ServicesStopOptionalParams,\n NameAvailabilityRequest,\n ServicesCheckChildrenNameAvailabilityOptionalParams,\n ServicesCheckChildrenNameAvailabilityResponse,\n ServicesCheckNameAvailabilityOptionalParams,\n ServicesCheckNameAvailabilityResponse,\n ServicesListSkusNextResponse,\n ServicesListByResourceGroupNextResponse,\n ServicesListNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Services operations. */\nexport class ServicesImpl implements Services {\n private readonly client: DataMigrationManagementClient;\n\n /**\n * Initialize a new instance of the class Services class.\n * @param client Reference to the service client\n */\n constructor(client: DataMigrationManagementClient) {\n this.client = client;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * skus action returns the list of SKUs that a service resource can be updated to.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n public listSkus(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams\n ): PagedAsyncIterableIterator<AvailableServiceSku> {\n const iter = this.listSkusPagingAll(groupName, serviceName, options);\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.listSkusPagingPage(\n groupName,\n serviceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listSkusPagingPage(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<AvailableServiceSku[]> {\n let result: ServicesListSkusResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listSkus(groupName, serviceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listSkusNext(\n groupName,\n serviceName,\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 *listSkusPagingAll(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams\n ): AsyncIterableIterator<AvailableServiceSku> {\n for await (const page of this.listSkusPagingPage(\n groupName,\n serviceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The Services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a resource group.\n * @param groupName Name of the resource group\n * @param options The options parameters.\n */\n public listByResourceGroup(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<DataMigrationService> {\n const iter = this.listByResourceGroupPagingAll(groupName, options);\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.listByResourceGroupPagingPage(groupName, options, settings);\n }\n };\n }\n\n private async *listByResourceGroupPagingPage(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DataMigrationService[]> {\n let result: ServicesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(groupName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByResourceGroupNext(\n groupName,\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 *listByResourceGroupPagingAll(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams\n ): AsyncIterableIterator<DataMigrationService> {\n for await (const page of this.listByResourceGroupPagingPage(\n groupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ServicesListOptionalParams\n ): PagedAsyncIterableIterator<DataMigrationService> {\n const iter = this.listPagingAll(options);\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.listPagingPage(options, settings);\n }\n };\n }\n\n private async *listPagingPage(\n options?: ServicesListOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<DataMigrationService[]> {\n let result: ServicesListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: ServicesListOptionalParams\n ): AsyncIterableIterator<DataMigrationService> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PUT method creates a new service or updates an existing one. When a service is updated, existing\n * child resources (i.e. tasks) are unaffected. Services currently support a single kind, \"vm\", which\n * refers to a VM-based service, although other kinds may be added in the future. This method can\n * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the\n * service is busy), this will fail with 400 Bad Request (\"ServiceIsBusy\"). The provider will reply\n * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState\n * property.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServicesCreateOrUpdateResponse>,\n ServicesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServicesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PUT method creates a new service or updates an existing one. When a service is updated, existing\n * child resources (i.e. tasks) are unaffected. Services currently support a single kind, \"vm\", which\n * refers to a VM-based service, although other kinds may be added in the future. This method can\n * change the kind, SKU, and network of the service, but if tasks are currently running (i.e. the\n * service is busy), this will fail with 400 Bad Request (\"ServiceIsBusy\"). The provider will reply\n * when successful with 200 OK or 201 Created. Long-running operations use the provisioningState\n * property.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesCreateOrUpdateOptionalParams\n ): Promise<ServicesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n groupName,\n serviceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * GET method retrieves information about a service instance.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n get(\n groupName: string,\n serviceName: string,\n options?: ServicesGetOptionalParams\n ): Promise<ServicesGetResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n getOperationSpec\n );\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * DELETE method deletes a service. Any running tasks will be canceled.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginDelete(\n groupName: string,\n serviceName: string,\n options?: ServicesDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * DELETE method deletes a service. Any running tasks will be canceled.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n groupName: string,\n serviceName: string,\n options?: ServicesDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(groupName, serviceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PATCH method updates an existing service. This method can change the kind, SKU, and network of the\n * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad\n * Request (\"ServiceIsBusy\").\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginUpdate(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<ServicesUpdateResponse>,\n ServicesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<ServicesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, parameters, options },\n updateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * PATCH method updates an existing service. This method can change the kind, SKU, and network of the\n * service, but if tasks are currently running (i.e. the service is busy), this will fail with 400 Bad\n * Request (\"ServiceIsBusy\").\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Information about the service\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n groupName: string,\n serviceName: string,\n parameters: DataMigrationService,\n options?: ServicesUpdateOptionalParams\n ): Promise<ServicesUpdateResponse> {\n const poller = await this.beginUpdate(\n groupName,\n serviceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action performs a health check and returns the status of the service and virtual machine size.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n checkStatus(\n groupName: string,\n serviceName: string,\n options?: ServicesCheckStatusOptionalParams\n ): Promise<ServicesCheckStatusResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n checkStatusOperationSpec\n );\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action starts the service and the service can be used for data migration.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStart(\n groupName: string,\n serviceName: string,\n options?: ServicesStartOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, options },\n startOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action starts the service and the service can be used for data migration.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStartAndWait(\n groupName: string,\n serviceName: string,\n options?: ServicesStartOptionalParams\n ): Promise<void> {\n const poller = await this.beginStart(groupName, serviceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action stops the service and the service cannot be used for data migration. The service owner won't\n * be billed when the service is stopped.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStop(\n groupName: string,\n serviceName: string,\n options?: ServicesStopOptionalParams\n ): Promise<PollerLike<PollOperationState<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 sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = 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 = new LroImpl(\n sendOperation,\n { groupName, serviceName, options },\n stopOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * action stops the service and the service cannot be used for data migration. The service owner won't\n * be billed when the service is stopped.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n async beginStopAndWait(\n groupName: string,\n serviceName: string,\n options?: ServicesStopOptionalParams\n ): Promise<void> {\n const poller = await this.beginStop(groupName, serviceName, options);\n return poller.pollUntilDone();\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. The\n * skus action returns the list of SKUs that a service resource can be updated to.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param options The options parameters.\n */\n private _listSkus(\n groupName: string,\n serviceName: string,\n options?: ServicesListSkusOptionalParams\n ): Promise<ServicesListSkusResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, options },\n listSkusOperationSpec\n );\n }\n\n /**\n * This method checks whether a proposed nested resource name is valid and available.\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param parameters Requested name to validate\n * @param options The options parameters.\n */\n checkChildrenNameAvailability(\n groupName: string,\n serviceName: string,\n parameters: NameAvailabilityRequest,\n options?: ServicesCheckChildrenNameAvailabilityOptionalParams\n ): Promise<ServicesCheckChildrenNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, parameters, options },\n checkChildrenNameAvailabilityOperationSpec\n );\n }\n\n /**\n * The Services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a resource group.\n * @param groupName Name of the resource group\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n groupName: string,\n options?: ServicesListByResourceGroupOptionalParams\n ): Promise<ServicesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { groupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * The services resource is the top-level resource that represents the Database Migration Service. This\n * method returns a list of service resources in a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ServicesListOptionalParams\n ): Promise<ServicesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * This method checks whether a proposed top-level resource name is valid and available.\n * @param location The Azure region of the operation\n * @param parameters Requested name to validate\n * @param options The options parameters.\n */\n checkNameAvailability(\n location: string,\n parameters: NameAvailabilityRequest,\n options?: ServicesCheckNameAvailabilityOptionalParams\n ): Promise<ServicesCheckNameAvailabilityResponse> {\n return this.client.sendOperationRequest(\n { location, parameters, options },\n checkNameAvailabilityOperationSpec\n );\n }\n\n /**\n * ListSkusNext\n * @param groupName Name of the resource group\n * @param serviceName Name of the service\n * @param nextLink The nextLink from the previous successful call to the ListSkus method.\n * @param options The options parameters.\n */\n private _listSkusNext(\n groupName: string,\n serviceName: string,\n nextLink: string,\n options?: ServicesListSkusNextOptionalParams\n ): Promise<ServicesListSkusNextResponse> {\n return this.client.sendOperationRequest(\n { groupName, serviceName, nextLink, options },\n listSkusNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param groupName Name of the resource group\n * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.\n * @param options The options parameters.\n */\n private _listByResourceGroupNext(\n groupName: string,\n nextLink: string,\n options?: ServicesListByResourceGroupNextOptionalParams\n ): Promise<ServicesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { groupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: ServicesListNextOptionalParams\n ): Promise<ServicesListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationService\n },\n 201: {\n bodyMapper: Mappers.DataMigrationService\n },\n 202: {\n bodyMapper: Mappers.DataMigrationService\n },\n 204: {\n bodyMapper: Mappers.DataMigrationService\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationService\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion, Parameters.deleteRunningTasks],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationService\n },\n 201: {\n bodyMapper: Mappers.DataMigrationService\n },\n 202: {\n bodyMapper: Mappers.DataMigrationService\n },\n 204: {\n bodyMapper: Mappers.DataMigrationService\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst checkStatusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkStatus\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceStatusResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst startOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/start\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst stopOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/stop\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listSkusOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/skus\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceSkuList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkChildrenNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services/{serviceName}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.DataMigration/services\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.groupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/services\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst checkNameAvailabilityOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.DataMigration/locations/{location}/checkNameAvailability\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.NameAvailabilityResponse\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n requestBody: Parameters.parameters8,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.location\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listSkusNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ServiceSkuList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.groupName,\n Parameters.serviceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.groupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.DataMigrationServiceList\n },\n default: {\n bodyMapper: Mappers.ApiError\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
18
18
  /// <reference lib="esnext.asynciterable" />
19
19
  /** Class containing SqlMigrationServices operations. */
20
20
  class SqlMigrationServicesImpl {
21
+ client;
21
22
  /**
22
23
  * Initialize a new instance of the class SqlMigrationServices class.
23
24
  * @param client Reference to the service client
@@ -41,52 +42,35 @@ class SqlMigrationServicesImpl {
41
42
  return this;
42
43
  },
43
44
  byPage: (settings) => {
44
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
45
+ if (settings?.maxPageSize) {
45
46
  throw new Error("maxPageSize is not supported by this operation.");
46
47
  }
47
48
  return this.listByResourceGroupPagingPage(resourceGroupName, options, settings);
48
49
  }
49
50
  };
50
51
  }
51
- listByResourceGroupPagingPage(resourceGroupName, options, settings) {
52
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
53
- let result;
54
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
55
- if (!continuationToken) {
56
- result = yield tslib_1.__await(this._listByResourceGroup(resourceGroupName, options));
57
- let page = result.value || [];
58
- continuationToken = result.nextLink;
59
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
- yield yield tslib_1.__await(page);
61
- }
62
- while (continuationToken) {
63
- result = yield tslib_1.__await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
64
- continuationToken = result.nextLink;
65
- let page = result.value || [];
66
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
- yield yield tslib_1.__await(page);
68
- }
69
- });
52
+ async *listByResourceGroupPagingPage(resourceGroupName, options, settings) {
53
+ let result;
54
+ let continuationToken = settings?.continuationToken;
55
+ if (!continuationToken) {
56
+ result = await this._listByResourceGroup(resourceGroupName, options);
57
+ let page = result.value || [];
58
+ continuationToken = result.nextLink;
59
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
60
+ yield page;
61
+ }
62
+ while (continuationToken) {
63
+ result = await this._listByResourceGroupNext(resourceGroupName, continuationToken, options);
64
+ continuationToken = result.nextLink;
65
+ let page = result.value || [];
66
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
67
+ yield page;
68
+ }
70
69
  }
71
- listByResourceGroupPagingAll(resourceGroupName, options) {
72
- return tslib_1.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
73
- var _a, e_1, _b, _c;
74
- try {
75
- for (var _d = true, _e = tslib_1.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
76
- _c = _f.value;
77
- _d = false;
78
- const page = _c;
79
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
80
- }
81
- }
82
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
83
- finally {
84
- try {
85
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
86
- }
87
- finally { if (e_1) throw e_1.error; }
88
- }
89
- });
70
+ async *listByResourceGroupPagingAll(resourceGroupName, options) {
71
+ for await (const page of this.listByResourceGroupPagingPage(resourceGroupName, options)) {
72
+ yield* page;
73
+ }
90
74
  }
91
75
  /**
92
76
  * Retrieve the List of database migrations attached to the service.
@@ -105,52 +89,35 @@ class SqlMigrationServicesImpl {
105
89
  return this;
106
90
  },
107
91
  byPage: (settings) => {
108
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
92
+ if (settings?.maxPageSize) {
109
93
  throw new Error("maxPageSize is not supported by this operation.");
110
94
  }
111
95
  return this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings);
112
96
  }
113
97
  };
114
98
  }
115
- listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
116
- return tslib_1.__asyncGenerator(this, arguments, function* listMigrationsPagingPage_1() {
117
- let result;
118
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
119
- if (!continuationToken) {
120
- result = yield tslib_1.__await(this._listMigrations(resourceGroupName, sqlMigrationServiceName, options));
121
- let page = result.value || [];
122
- continuationToken = result.nextLink;
123
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
124
- yield yield tslib_1.__await(page);
125
- }
126
- while (continuationToken) {
127
- result = yield tslib_1.__await(this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options));
128
- continuationToken = result.nextLink;
129
- let page = result.value || [];
130
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
131
- yield yield tslib_1.__await(page);
132
- }
133
- });
99
+ async *listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options, settings) {
100
+ let result;
101
+ let continuationToken = settings?.continuationToken;
102
+ if (!continuationToken) {
103
+ result = await this._listMigrations(resourceGroupName, sqlMigrationServiceName, options);
104
+ let page = result.value || [];
105
+ continuationToken = result.nextLink;
106
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
107
+ yield page;
108
+ }
109
+ while (continuationToken) {
110
+ result = await this._listMigrationsNext(resourceGroupName, sqlMigrationServiceName, continuationToken, options);
111
+ continuationToken = result.nextLink;
112
+ let page = result.value || [];
113
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
114
+ yield page;
115
+ }
134
116
  }
135
- listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
136
- return tslib_1.__asyncGenerator(this, arguments, function* listMigrationsPagingAll_1() {
137
- var _a, e_2, _b, _c;
138
- try {
139
- for (var _d = true, _e = tslib_1.__asyncValues(this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
140
- _c = _f.value;
141
- _d = false;
142
- const page = _c;
143
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
144
- }
145
- }
146
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
147
- finally {
148
- try {
149
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
150
- }
151
- finally { if (e_2) throw e_2.error; }
152
- }
153
- });
117
+ async *listMigrationsPagingAll(resourceGroupName, sqlMigrationServiceName, options) {
118
+ for await (const page of this.listMigrationsPagingPage(resourceGroupName, sqlMigrationServiceName, options)) {
119
+ yield* page;
120
+ }
154
121
  }
155
122
  /**
156
123
  * Retrieve all SQL migration services in the subscriptions.
@@ -166,52 +133,35 @@ class SqlMigrationServicesImpl {
166
133
  return this;
167
134
  },
168
135
  byPage: (settings) => {
169
- if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
136
+ if (settings?.maxPageSize) {
170
137
  throw new Error("maxPageSize is not supported by this operation.");
171
138
  }
172
139
  return this.listBySubscriptionPagingPage(options, settings);
173
140
  }
174
141
  };
175
142
  }
176
- listBySubscriptionPagingPage(options, settings) {
177
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
178
- let result;
179
- let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
180
- if (!continuationToken) {
181
- result = yield tslib_1.__await(this._listBySubscription(options));
182
- let page = result.value || [];
183
- continuationToken = result.nextLink;
184
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
185
- yield yield tslib_1.__await(page);
186
- }
187
- while (continuationToken) {
188
- result = yield tslib_1.__await(this._listBySubscriptionNext(continuationToken, options));
189
- continuationToken = result.nextLink;
190
- let page = result.value || [];
191
- (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
192
- yield yield tslib_1.__await(page);
193
- }
194
- });
143
+ async *listBySubscriptionPagingPage(options, settings) {
144
+ let result;
145
+ let continuationToken = settings?.continuationToken;
146
+ if (!continuationToken) {
147
+ result = await this._listBySubscription(options);
148
+ let page = result.value || [];
149
+ continuationToken = result.nextLink;
150
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
151
+ yield page;
152
+ }
153
+ while (continuationToken) {
154
+ result = await this._listBySubscriptionNext(continuationToken, options);
155
+ continuationToken = result.nextLink;
156
+ let page = result.value || [];
157
+ (0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
158
+ yield page;
159
+ }
195
160
  }
196
- listBySubscriptionPagingAll(options) {
197
- return tslib_1.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
198
- var _a, e_3, _b, _c;
199
- try {
200
- for (var _d = true, _e = tslib_1.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
201
- _c = _f.value;
202
- _d = false;
203
- const page = _c;
204
- yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
205
- }
206
- }
207
- catch (e_3_1) { e_3 = { error: e_3_1 }; }
208
- finally {
209
- try {
210
- if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
211
- }
212
- finally { if (e_3) throw e_3.error; }
213
- }
214
- });
161
+ async *listBySubscriptionPagingAll(options) {
162
+ for await (const page of this.listBySubscriptionPagingPage(options)) {
163
+ yield* page;
164
+ }
215
165
  }
216
166
  /**
217
167
  * Retrieve the Migration Service.
@@ -236,14 +186,19 @@ class SqlMigrationServicesImpl {
236
186
  return this.client.sendOperationRequest(args, spec);
237
187
  };
238
188
  const sendOperation = async (args, spec) => {
239
- var _a;
240
189
  let currentRawResponse = undefined;
241
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
190
+ const providedCallback = args.options?.onResponse;
242
191
  const callback = (rawResponse, flatResponse) => {
243
192
  currentRawResponse = rawResponse;
244
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
193
+ providedCallback?.(rawResponse, flatResponse);
194
+ };
195
+ const updatedArgs = {
196
+ ...args,
197
+ options: {
198
+ ...args.options,
199
+ onResponse: callback
200
+ }
245
201
  };
246
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
247
202
  const flatResponse = await directSendOperation(updatedArgs, spec);
248
203
  return {
249
204
  flatResponse,
@@ -256,8 +211,8 @@ class SqlMigrationServicesImpl {
256
211
  };
257
212
  const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, createOrUpdateOperationSpec);
258
213
  const poller = new core_lro_1.LroEngine(lro, {
259
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
260
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
214
+ resumeFrom: options?.resumeFrom,
215
+ intervalInMs: options?.updateIntervalInMs
261
216
  });
262
217
  await poller.poll();
263
218
  return poller;
@@ -286,14 +241,19 @@ class SqlMigrationServicesImpl {
286
241
  return this.client.sendOperationRequest(args, spec);
287
242
  };
288
243
  const sendOperation = async (args, spec) => {
289
- var _a;
290
244
  let currentRawResponse = undefined;
291
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
245
+ const providedCallback = args.options?.onResponse;
292
246
  const callback = (rawResponse, flatResponse) => {
293
247
  currentRawResponse = rawResponse;
294
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
248
+ providedCallback?.(rawResponse, flatResponse);
249
+ };
250
+ const updatedArgs = {
251
+ ...args,
252
+ options: {
253
+ ...args.options,
254
+ onResponse: callback
255
+ }
295
256
  };
296
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
297
257
  const flatResponse = await directSendOperation(updatedArgs, spec);
298
258
  return {
299
259
  flatResponse,
@@ -306,8 +266,8 @@ class SqlMigrationServicesImpl {
306
266
  };
307
267
  const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, options }, deleteOperationSpec);
308
268
  const poller = new core_lro_1.LroEngine(lro, {
309
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
310
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
269
+ resumeFrom: options?.resumeFrom,
270
+ intervalInMs: options?.updateIntervalInMs
311
271
  });
312
272
  await poller.poll();
313
273
  return poller;
@@ -336,14 +296,19 @@ class SqlMigrationServicesImpl {
336
296
  return this.client.sendOperationRequest(args, spec);
337
297
  };
338
298
  const sendOperation = async (args, spec) => {
339
- var _a;
340
299
  let currentRawResponse = undefined;
341
- const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
300
+ const providedCallback = args.options?.onResponse;
342
301
  const callback = (rawResponse, flatResponse) => {
343
302
  currentRawResponse = rawResponse;
344
- providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
303
+ providedCallback?.(rawResponse, flatResponse);
304
+ };
305
+ const updatedArgs = {
306
+ ...args,
307
+ options: {
308
+ ...args.options,
309
+ onResponse: callback
310
+ }
345
311
  };
346
- const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
347
312
  const flatResponse = await directSendOperation(updatedArgs, spec);
348
313
  return {
349
314
  flatResponse,
@@ -356,8 +321,8 @@ class SqlMigrationServicesImpl {
356
321
  };
357
322
  const lro = new lroImpl_js_1.LroImpl(sendOperation, { resourceGroupName, sqlMigrationServiceName, parameters, options }, updateOperationSpec);
358
323
  const poller = new core_lro_1.LroEngine(lro, {
359
- resumeFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
360
- intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs
324
+ resumeFrom: options?.resumeFrom,
325
+ intervalInMs: options?.updateIntervalInMs
361
326
  });
362
327
  await poller.poll();
363
328
  return poller;