@azure/arm-resources 6.1.0 → 7.0.0-alpha.20250730.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.
- package/CHANGELOG.md +17 -0
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/index.d.ts +12 -1202
- package/dist/browser/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js +0 -76
- package/dist/browser/models/index.js.map +1 -1
- package/dist/browser/models/mappers.d.ts +0 -42
- package/dist/browser/models/mappers.d.ts.map +1 -1
- package/dist/browser/models/mappers.js +254 -1752
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/models/parameters.d.ts +14 -21
- package/dist/browser/models/parameters.d.ts.map +1 -1
- package/dist/browser/models/parameters.js +46 -98
- package/dist/browser/models/parameters.js.map +1 -1
- package/dist/browser/operations/index.d.ts +0 -2
- package/dist/browser/operations/index.d.ts.map +1 -1
- package/dist/browser/operations/index.js +0 -2
- package/dist/browser/operations/index.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/providerResourceTypes.js +2 -1
- package/dist/browser/operations/providerResourceTypes.js.map +1 -1
- package/dist/browser/operations/providers.js +50 -84
- package/dist/browser/operations/providers.js.map +1 -1
- package/dist/browser/operations/resourceGroups.js +48 -55
- package/dist/browser/operations/resourceGroups.js.map +1 -1
- package/dist/browser/operations/resources.js +146 -140
- package/dist/browser/operations/resources.js.map +1 -1
- package/dist/browser/operations/tagsOperations.js +58 -60
- package/dist/browser/operations/tagsOperations.js.map +1 -1
- package/dist/browser/operationsInterfaces/index.d.ts +0 -2
- package/dist/browser/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/index.js +0 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/resourceManagementClient.d.ts +1 -3
- package/dist/browser/resourceManagementClient.d.ts.map +1 -1
- package/dist/browser/resourceManagementClient.js +22 -10
- package/dist/browser/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +12 -1202
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +1 -77
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/mappers.d.ts +0 -42
- package/dist/commonjs/models/mappers.d.ts.map +1 -1
- package/dist/commonjs/models/mappers.js +256 -1754
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/models/parameters.d.ts +14 -21
- package/dist/commonjs/models/parameters.d.ts.map +1 -1
- package/dist/commonjs/models/parameters.js +46 -98
- package/dist/commonjs/models/parameters.js.map +1 -1
- package/dist/commonjs/operations/index.d.ts +0 -2
- package/dist/commonjs/operations/index.d.ts.map +1 -1
- package/dist/commonjs/operations/index.js +0 -2
- package/dist/commonjs/operations/index.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/providerResourceTypes.js +2 -1
- package/dist/commonjs/operations/providerResourceTypes.js.map +1 -1
- package/dist/commonjs/operations/providers.js +50 -83
- package/dist/commonjs/operations/providers.js.map +1 -1
- package/dist/commonjs/operations/resourceGroups.js +48 -54
- package/dist/commonjs/operations/resourceGroups.js.map +1 -1
- package/dist/commonjs/operations/resources.js +146 -139
- package/dist/commonjs/operations/resources.js.map +1 -1
- package/dist/commonjs/operations/tagsOperations.js +58 -59
- package/dist/commonjs/operations/tagsOperations.js.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.d.ts +0 -2
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/commonjs/operationsInterfaces/index.js +0 -2
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/resourceManagementClient.d.ts +1 -3
- package/dist/commonjs/resourceManagementClient.d.ts.map +1 -1
- package/dist/commonjs/resourceManagementClient.js +21 -9
- package/dist/commonjs/resourceManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/index.d.ts +12 -1202
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +0 -76
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/mappers.d.ts +0 -42
- package/dist/esm/models/mappers.d.ts.map +1 -1
- package/dist/esm/models/mappers.js +254 -1752
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/models/parameters.d.ts +14 -21
- package/dist/esm/models/parameters.d.ts.map +1 -1
- package/dist/esm/models/parameters.js +46 -98
- package/dist/esm/models/parameters.js.map +1 -1
- package/dist/esm/operations/index.d.ts +0 -2
- package/dist/esm/operations/index.d.ts.map +1 -1
- package/dist/esm/operations/index.js +0 -2
- package/dist/esm/operations/index.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/providerResourceTypes.js +2 -1
- package/dist/esm/operations/providerResourceTypes.js.map +1 -1
- package/dist/esm/operations/providers.js +50 -84
- package/dist/esm/operations/providers.js.map +1 -1
- package/dist/esm/operations/resourceGroups.js +48 -55
- package/dist/esm/operations/resourceGroups.js.map +1 -1
- package/dist/esm/operations/resources.js +146 -140
- package/dist/esm/operations/resources.js.map +1 -1
- package/dist/esm/operations/tagsOperations.js +58 -60
- package/dist/esm/operations/tagsOperations.js.map +1 -1
- package/dist/esm/operationsInterfaces/index.d.ts +0 -2
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/esm/operationsInterfaces/index.js +0 -2
- package/dist/esm/operationsInterfaces/index.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/resourceManagementClient.d.ts +1 -3
- package/dist/esm/resourceManagementClient.d.ts.map +1 -1
- package/dist/esm/resourceManagementClient.js +22 -10
- package/dist/esm/resourceManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/index.d.ts +12 -1202
- package/dist/react-native/models/index.d.ts.map +1 -1
- package/dist/react-native/models/index.js +0 -76
- package/dist/react-native/models/index.js.map +1 -1
- package/dist/react-native/models/mappers.d.ts +0 -42
- package/dist/react-native/models/mappers.d.ts.map +1 -1
- package/dist/react-native/models/mappers.js +254 -1752
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/models/parameters.d.ts +14 -21
- package/dist/react-native/models/parameters.d.ts.map +1 -1
- package/dist/react-native/models/parameters.js +46 -98
- package/dist/react-native/models/parameters.js.map +1 -1
- package/dist/react-native/operations/index.d.ts +0 -2
- package/dist/react-native/operations/index.d.ts.map +1 -1
- package/dist/react-native/operations/index.js +0 -2
- package/dist/react-native/operations/index.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/providerResourceTypes.js +2 -1
- package/dist/react-native/operations/providerResourceTypes.js.map +1 -1
- package/dist/react-native/operations/providers.js +50 -84
- package/dist/react-native/operations/providers.js.map +1 -1
- package/dist/react-native/operations/resourceGroups.js +48 -55
- package/dist/react-native/operations/resourceGroups.js.map +1 -1
- package/dist/react-native/operations/resources.js +146 -140
- package/dist/react-native/operations/resources.js.map +1 -1
- package/dist/react-native/operations/tagsOperations.js +58 -60
- package/dist/react-native/operations/tagsOperations.js.map +1 -1
- package/dist/react-native/operationsInterfaces/index.d.ts +0 -2
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -1
- package/dist/react-native/operationsInterfaces/index.js +0 -2
- package/dist/react-native/operationsInterfaces/index.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/resourceManagementClient.d.ts +1 -3
- package/dist/react-native/resourceManagementClient.d.ts.map +1 -1
- package/dist/react-native/resourceManagementClient.js +22 -10
- package/dist/react-native/resourceManagementClient.js.map +1 -1
- package/package.json +8 -8
- package/review/arm-resources-node.api.md +942 -0
- package/dist/browser/operations/deploymentOperations.d.ts +0 -168
- package/dist/browser/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operations/deploymentOperations.js +0 -782
- package/dist/browser/operations/deploymentOperations.js.map +0 -1
- package/dist/browser/operations/deployments.d.ts +0 -628
- package/dist/browser/operations/deployments.d.ts.map +0 -1
- package/dist/browser/operations/deployments.js +0 -2766
- package/dist/browser/operations/deployments.js.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/browser/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/browser/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/browser/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/browser/operationsInterfaces/deployments.js +0 -9
- package/dist/browser/operationsInterfaces/deployments.js.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.d.ts +0 -168
- package/dist/commonjs/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operations/deploymentOperations.js +0 -786
- package/dist/commonjs/operations/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operations/deployments.d.ts +0 -628
- package/dist/commonjs/operations/deployments.d.ts.map +0 -1
- package/dist/commonjs/operations/deployments.js +0 -2770
- package/dist/commonjs/operations/deployments.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/commonjs/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js +0 -10
- package/dist/commonjs/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/commonjs/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/commonjs/operationsInterfaces/deployments.js +0 -10
- package/dist/commonjs/operationsInterfaces/deployments.js.map +0 -1
- package/dist/esm/operations/deploymentOperations.d.ts +0 -168
- package/dist/esm/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operations/deploymentOperations.js +0 -782
- package/dist/esm/operations/deploymentOperations.js.map +0 -1
- package/dist/esm/operations/deployments.d.ts +0 -628
- package/dist/esm/operations/deployments.d.ts.map +0 -1
- package/dist/esm/operations/deployments.js +0 -2766
- package/dist/esm/operations/deployments.js.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/esm/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/esm/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/esm/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/esm/operationsInterfaces/deployments.js +0 -9
- package/dist/esm/operationsInterfaces/deployments.js.map +0 -1
- package/dist/react-native/operations/deploymentOperations.d.ts +0 -168
- package/dist/react-native/operations/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operations/deploymentOperations.js +0 -782
- package/dist/react-native/operations/deploymentOperations.js.map +0 -1
- package/dist/react-native/operations/deployments.d.ts +0 -628
- package/dist/react-native/operations/deployments.d.ts.map +0 -1
- package/dist/react-native/operations/deployments.js +0 -2766
- package/dist/react-native/operations/deployments.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts +0 -77
- package/dist/react-native/operationsInterfaces/deploymentOperations.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deploymentOperations.js +0 -9
- package/dist/react-native/operationsInterfaces/deploymentOperations.js.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.d.ts +0 -545
- package/dist/react-native/operationsInterfaces/deployments.d.ts.map +0 -1
- package/dist/react-native/operationsInterfaces/deployments.js +0 -9
- package/dist/react-native/operationsInterfaces/deployments.js.map +0 -1
- package/review/arm-resources.api.md +0 -1935
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../src/operations/resources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAmC9C,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BAA6B,CACvC,iBAAiB,EACjB,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OA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;IACxD,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,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;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,kBAAkB;SACvC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;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 { Resources } 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 { ResourceManagementClient } from \"../resourceManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n GenericResourceExpanded,\n ResourcesListByResourceGroupNextOptionalParams,\n ResourcesListByResourceGroupOptionalParams,\n ResourcesListByResourceGroupResponse,\n ResourcesListNextOptionalParams,\n ResourcesListOptionalParams,\n ResourcesListResponse,\n ResourcesMoveInfo,\n ResourcesMoveResourcesOptionalParams,\n ResourcesValidateMoveResourcesOptionalParams,\n ResourcesCheckExistenceOptionalParams,\n ResourcesCheckExistenceResponse,\n ResourcesDeleteOptionalParams,\n GenericResource,\n ResourcesCreateOrUpdateOptionalParams,\n ResourcesCreateOrUpdateResponse,\n ResourcesUpdateOptionalParams,\n ResourcesUpdateResponse,\n ResourcesGetOptionalParams,\n ResourcesGetResponse,\n ResourcesCheckExistenceByIdOptionalParams,\n ResourcesCheckExistenceByIdResponse,\n ResourcesDeleteByIdOptionalParams,\n ResourcesCreateOrUpdateByIdOptionalParams,\n ResourcesCreateOrUpdateByIdResponse,\n ResourcesUpdateByIdOptionalParams,\n ResourcesUpdateByIdResponse,\n ResourcesGetByIdOptionalParams,\n ResourcesGetByIdResponse,\n ResourcesListByResourceGroupNextResponse,\n ResourcesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Resources operations. */\nexport class ResourcesImpl implements Resources {\n private readonly client: ResourceManagementClient;\n\n /**\n * Initialize a new instance of the class Resources class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get all the resources for a resource group.\n * @param resourceGroupName The resource group with the resources to get.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<GenericResourceExpanded> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<GenericResourceExpanded[]> {\n let result: ResourcesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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 resourceGroupName,\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 resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<GenericResourceExpanded> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all the resources in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ResourcesListOptionalParams,\n ): PagedAsyncIterableIterator<GenericResourceExpanded> {\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?: ResourcesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<GenericResourceExpanded[]> {\n let result: ResourcesListResponse;\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?: ResourcesListOptionalParams,\n ): AsyncIterableIterator<GenericResourceExpanded> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all the resources for a resource group.\n * @param resourceGroupName The resource group with the resources to get.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n ): Promise<ResourcesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { sourceResourceGroupName, parameters, options },\n spec: moveResourcesOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams,\n ): Promise<void> {\n const poller = await this.beginMoveResources(\n sourceResourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginValidateMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { sourceResourceGroupName, parameters, options },\n spec: validateMoveResourcesOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginValidateMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams,\n ): Promise<void> {\n const poller = await this.beginValidateMoveResources(\n sourceResourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get all the resources in a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ResourcesListOptionalParams,\n ): Promise<ResourcesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Checks whether a resource exists.\n * @param resourceGroupName The name of the resource group containing the resource to check. The name\n * is case insensitive.\n * @param resourceProviderNamespace The resource provider of the resource to check.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to check whether it exists.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistence(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceOptionalParams,\n ): Promise<ResourcesCheckExistenceResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n },\n checkExistenceOperationSpec,\n );\n }\n\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateResponse>,\n ResourcesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesCreateOrUpdateResponse,\n OperationState<ResourcesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams,\n ): Promise<ResourcesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateResponse>,\n ResourcesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesUpdateResponse,\n OperationState<ResourcesUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams,\n ): Promise<ResourcesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a resource.\n * @param resourceGroupName The name of the resource group containing the resource to get. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesGetOptionalParams,\n ): Promise<ResourcesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Checks by ID whether a resource exists. This API currently works only for a limited set of Resource\n * providers. In the event that a Resource provider does not implement this API, ARM will respond with\n * a 405. The alternative then is to use the GET API to check for the existence of the resource.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistenceById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceByIdOptionalParams,\n ): Promise<ResourcesCheckExistenceByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceId, apiVersion, options },\n checkExistenceByIdOperationSpec,\n );\n }\n\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDeleteById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceId, apiVersion, options },\n spec: deleteByIdOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDeleteByIdAndWait(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDeleteById(resourceId, apiVersion, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateByIdResponse>,\n ResourcesCreateOrUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesCreateOrUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceId, apiVersion, parameters, options },\n spec: createOrUpdateByIdOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesCreateOrUpdateByIdResponse,\n OperationState<ResourcesCreateOrUpdateByIdResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams,\n ): Promise<ResourcesCreateOrUpdateByIdResponse> {\n const poller = await this.beginCreateOrUpdateById(\n resourceId,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n async beginUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateByIdResponse>,\n ResourcesUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceId, apiVersion, parameters, options },\n spec: updateByIdOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesUpdateByIdResponse,\n OperationState<ResourcesUpdateByIdResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n async beginUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams,\n ): Promise<ResourcesUpdateByIdResponse> {\n const poller = await this.beginUpdateById(\n resourceId,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n getById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesGetByIdOptionalParams,\n ): Promise<ResourcesGetByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceId, apiVersion, options },\n getByIdOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The resource group with the resources to get.\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 resourceGroupName: string,\n nextLink: string,\n options?: ResourcesListByResourceGroupNextOptionalParams,\n ): Promise<ResourcesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, 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?: ResourcesListNextOptionalParams,\n ): Promise<ResourcesListNextResponse> {\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 listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.top,\n Parameters.expand,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst moveResourcesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.sourceResourceGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst validateMoveResourcesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters4,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.sourceResourceGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.filter,\n Parameters.top,\n Parameters.expand,\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkExistenceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceProviderNamespace,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkExistenceByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters5,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\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.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../../../src/operations/resources.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAmC9C,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAa,aAAa;IACP,MAAM,CAA2B;IAElD;;;OAGG;IACH,YAAY,MAAgC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAoD;QAEpD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,6BA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OAAO,CAAC,UAAU;SAC/B;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;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 { Resources } 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 { ResourceManagementClient } from \"../resourceManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n GenericResourceExpanded,\n ResourcesListByResourceGroupNextOptionalParams,\n ResourcesListByResourceGroupOptionalParams,\n ResourcesListByResourceGroupResponse,\n ResourcesListNextOptionalParams,\n ResourcesListOptionalParams,\n ResourcesListResponse,\n ResourcesMoveInfo,\n ResourcesMoveResourcesOptionalParams,\n ResourcesValidateMoveResourcesOptionalParams,\n ResourcesCheckExistenceOptionalParams,\n ResourcesCheckExistenceResponse,\n ResourcesDeleteOptionalParams,\n GenericResource,\n ResourcesCreateOrUpdateOptionalParams,\n ResourcesCreateOrUpdateResponse,\n ResourcesUpdateOptionalParams,\n ResourcesUpdateResponse,\n ResourcesGetOptionalParams,\n ResourcesGetResponse,\n ResourcesCheckExistenceByIdOptionalParams,\n ResourcesCheckExistenceByIdResponse,\n ResourcesDeleteByIdOptionalParams,\n ResourcesCreateOrUpdateByIdOptionalParams,\n ResourcesCreateOrUpdateByIdResponse,\n ResourcesUpdateByIdOptionalParams,\n ResourcesUpdateByIdResponse,\n ResourcesGetByIdOptionalParams,\n ResourcesGetByIdResponse,\n ResourcesListByResourceGroupNextResponse,\n ResourcesListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Resources operations. */\nexport class ResourcesImpl implements Resources {\n private readonly client: ResourceManagementClient;\n\n /**\n * Initialize a new instance of the class Resources class.\n * @param client Reference to the service client\n */\n constructor(client: ResourceManagementClient) {\n this.client = client;\n }\n\n /**\n * Get all the resources for a resource group.\n * @param resourceGroupName The resource group with the resources to get.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n ): PagedAsyncIterableIterator<GenericResourceExpanded> {\n const iter = this.listByResourceGroupPagingAll(resourceGroupName, 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(\n resourceGroupName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByResourceGroupPagingPage(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<GenericResourceExpanded[]> {\n let result: ResourcesListByResourceGroupResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByResourceGroup(resourceGroupName, 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 resourceGroupName,\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 resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n ): AsyncIterableIterator<GenericResourceExpanded> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Get all the resources in a subscription.\n * @param options The options parameters.\n */\n public list(\n options?: ResourcesListOptionalParams,\n ): PagedAsyncIterableIterator<GenericResourceExpanded> {\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?: ResourcesListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<GenericResourceExpanded[]> {\n let result: ResourcesListResponse;\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?: ResourcesListOptionalParams,\n ): AsyncIterableIterator<GenericResourceExpanded> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Get all the resources for a resource group.\n * @param resourceGroupName The resource group with the resources to get.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: ResourcesListByResourceGroupOptionalParams,\n ): Promise<ResourcesListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec,\n );\n }\n\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { sourceResourceGroupName, parameters, options },\n spec: moveResourcesOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The resources to be moved must be in the same source resource group in the source subscription being\n * used. The target resource group may be in a different subscription. When moving resources, both the\n * source group and the target group are locked for the duration of the operation. Write and delete\n * operations are blocked on the groups until the move completes.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be moved.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesMoveResourcesOptionalParams,\n ): Promise<void> {\n const poller = await this.beginMoveResources(\n sourceResourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginValidateMoveResources(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { sourceResourceGroupName, parameters, options },\n spec: validateMoveResourcesOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * This operation checks whether the specified resources can be moved to the target. The resources to\n * be moved must be in the same source resource group in the source subscription being used. The target\n * resource group may be in a different subscription. If validation succeeds, it returns HTTP response\n * code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an\n * error message. Retrieve the URL in the Location header value to check the result of the long-running\n * operation.\n * @param sourceResourceGroupName The name of the resource group from the source subscription\n * containing the resources to be validated for move.\n * @param parameters Parameters for moving resources.\n * @param options The options parameters.\n */\n async beginValidateMoveResourcesAndWait(\n sourceResourceGroupName: string,\n parameters: ResourcesMoveInfo,\n options?: ResourcesValidateMoveResourcesOptionalParams,\n ): Promise<void> {\n const poller = await this.beginValidateMoveResources(\n sourceResourceGroupName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Get all the resources in a subscription.\n * @param options The options parameters.\n */\n private _list(\n options?: ResourcesListOptionalParams,\n ): Promise<ResourcesListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * Checks whether a resource exists.\n * @param resourceGroupName The name of the resource group containing the resource to check. The name\n * is case insensitive.\n * @param resourceProviderNamespace The resource provider of the resource to check.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to check whether it exists.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistence(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceOptionalParams,\n ): Promise<ResourcesCheckExistenceResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n },\n checkExistenceOperationSpec,\n );\n }\n\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a resource.\n * @param resourceGroupName The name of the resource group that contains the resource to delete. The\n * name is case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type.\n * @param resourceName The name of the resource to delete.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateResponse>,\n ResourcesCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n },\n spec: createOrUpdateOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesCreateOrUpdateResponse,\n OperationState<ResourcesCreateOrUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to create.\n * @param resourceName The name of the resource to create.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for creating or updating the resource.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateOptionalParams,\n ): Promise<ResourcesCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateResponse>,\n ResourcesUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesUpdateResponse,\n OperationState<ResourcesUpdateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a resource.\n * @param resourceGroupName The name of the resource group for the resource. The name is case\n * insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource to update.\n * @param resourceName The name of the resource to update.\n * @param apiVersion The API version to use for the operation.\n * @param parameters Parameters for updating the resource.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateOptionalParams,\n ): Promise<ResourcesUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a resource.\n * @param resourceGroupName The name of the resource group containing the resource to get. The name is\n * case insensitive.\n * @param resourceProviderNamespace The namespace of the resource provider.\n * @param parentResourcePath The parent resource identity.\n * @param resourceType The resource type of the resource.\n * @param resourceName The name of the resource to get.\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceProviderNamespace: string,\n parentResourcePath: string,\n resourceType: string,\n resourceName: string,\n apiVersion: string,\n options?: ResourcesGetOptionalParams,\n ): Promise<ResourcesGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceProviderNamespace,\n parentResourcePath,\n resourceType,\n resourceName,\n apiVersion,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * Checks by ID whether a resource exists. This API currently works only for a limited set of Resource\n * providers. In the event that a Resource provider does not implement this API, ARM will respond with\n * a 405. The alternative then is to use the GET API to check for the existence of the resource.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n checkExistenceById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesCheckExistenceByIdOptionalParams,\n ): Promise<ResourcesCheckExistenceByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceId, apiVersion, options },\n checkExistenceByIdOperationSpec,\n );\n }\n\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDeleteById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceId, apiVersion, options },\n spec: deleteByIdOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n async beginDeleteByIdAndWait(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesDeleteByIdOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDeleteById(resourceId, apiVersion, options);\n return poller.pollUntilDone();\n }\n\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesCreateOrUpdateByIdResponse>,\n ResourcesCreateOrUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesCreateOrUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceId, apiVersion, parameters, options },\n spec: createOrUpdateByIdOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesCreateOrUpdateByIdResponse,\n OperationState<ResourcesCreateOrUpdateByIdResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Create a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Create or update resource parameters.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesCreateOrUpdateByIdOptionalParams,\n ): Promise<ResourcesCreateOrUpdateByIdResponse> {\n const poller = await this.beginCreateOrUpdateById(\n resourceId,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n async beginUpdateById(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ResourcesUpdateByIdResponse>,\n ResourcesUpdateByIdResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ResourcesUpdateByIdResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceId, apiVersion, parameters, options },\n spec: updateByIdOperationSpec,\n });\n const poller = await createHttpPoller<\n ResourcesUpdateByIdResponse,\n OperationState<ResourcesUpdateByIdResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Updates a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param parameters Update resource parameters.\n * @param options The options parameters.\n */\n async beginUpdateByIdAndWait(\n resourceId: string,\n apiVersion: string,\n parameters: GenericResource,\n options?: ResourcesUpdateByIdOptionalParams,\n ): Promise<ResourcesUpdateByIdResponse> {\n const poller = await this.beginUpdateById(\n resourceId,\n apiVersion,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Gets a resource by ID.\n * @param resourceId The fully qualified ID of the resource, including the resource name and resource\n * type. Use the format,\n * /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}\n * @param apiVersion The API version to use for the operation.\n * @param options The options parameters.\n */\n getById(\n resourceId: string,\n apiVersion: string,\n options?: ResourcesGetByIdOptionalParams,\n ): Promise<ResourcesGetByIdResponse> {\n return this.client.sendOperationRequest(\n { resourceId, apiVersion, options },\n getByIdOperationSpec,\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The resource group with the resources to get.\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 resourceGroupName: string,\n nextLink: string,\n options?: ResourcesListByResourceGroupNextOptionalParams,\n ): Promise<ResourcesListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, 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?: ResourcesListNextOptionalParams,\n ): Promise<ResourcesListNextResponse> {\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 listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.top,\n ],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst moveResourcesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.sourceResourceGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst validateMoveResourcesOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources\",\n httpMethod: \"POST\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.sourceResourceGroupName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resources\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [\n Parameters.apiVersion,\n Parameters.expand,\n Parameters.filter,\n Parameters.top,\n ],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkExistenceOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceProviderNamespace,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.parentResourcePath,\n Parameters.resourceType,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst checkExistenceByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"HEAD\",\n responses: {\n 204: {},\n 404: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst deleteByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOrUpdateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst updateByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n 201: {\n bodyMapper: Mappers.GenericResource,\n },\n 202: {\n bodyMapper: Mappers.GenericResource,\n },\n 204: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters1,\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst getByIdOperationSpec: coreClient.OperationSpec = {\n path: \"/{resourceId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.GenericResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion1],\n urlParameters: [Parameters.$host, Parameters.resourceId],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\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.ResourceListResult,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.nextLink,\n Parameters.subscriptionId,\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 TagsOperations operations. */
|
|
20
20
|
class TagsOperationsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class TagsOperations class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -42,52 +43,35 @@ class TagsOperationsImpl {
|
|
|
42
43
|
return this;
|
|
43
44
|
},
|
|
44
45
|
byPage: (settings) => {
|
|
45
|
-
if (settings
|
|
46
|
+
if (settings?.maxPageSize) {
|
|
46
47
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
47
48
|
}
|
|
48
49
|
return this.listPagingPage(options, settings);
|
|
49
50
|
},
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
|
-
listPagingPage(options, settings) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
});
|
|
53
|
+
async *listPagingPage(options, settings) {
|
|
54
|
+
let result;
|
|
55
|
+
let continuationToken = settings?.continuationToken;
|
|
56
|
+
if (!continuationToken) {
|
|
57
|
+
result = await this._list(options);
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
63
|
+
while (continuationToken) {
|
|
64
|
+
result = await this._listNext(continuationToken, options);
|
|
65
|
+
continuationToken = result.nextLink;
|
|
66
|
+
let page = result.value || [];
|
|
67
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
68
|
+
yield page;
|
|
69
|
+
}
|
|
71
70
|
}
|
|
72
|
-
listPagingAll(options) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
77
|
-
_c = _f.value;
|
|
78
|
-
_d = false;
|
|
79
|
-
const page = _c;
|
|
80
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
84
|
-
finally {
|
|
85
|
-
try {
|
|
86
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
87
|
-
}
|
|
88
|
-
finally { if (e_1) throw e_1.error; }
|
|
89
|
-
}
|
|
90
|
-
});
|
|
71
|
+
async *listPagingAll(options) {
|
|
72
|
+
for await (const page of this.listPagingPage(options)) {
|
|
73
|
+
yield* page;
|
|
74
|
+
}
|
|
91
75
|
}
|
|
92
76
|
/**
|
|
93
77
|
* This operation allows deleting a value from the list of predefined values for an existing predefined
|
|
@@ -152,14 +136,19 @@ class TagsOperationsImpl {
|
|
|
152
136
|
return this.client.sendOperationRequest(args, spec);
|
|
153
137
|
};
|
|
154
138
|
const sendOperationFn = async (args, spec) => {
|
|
155
|
-
var _a;
|
|
156
139
|
let currentRawResponse = undefined;
|
|
157
|
-
const providedCallback =
|
|
140
|
+
const providedCallback = args.options?.onResponse;
|
|
158
141
|
const callback = (rawResponse, flatResponse) => {
|
|
159
142
|
currentRawResponse = rawResponse;
|
|
160
|
-
providedCallback
|
|
143
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
144
|
+
};
|
|
145
|
+
const updatedArgs = {
|
|
146
|
+
...args,
|
|
147
|
+
options: {
|
|
148
|
+
...args.options,
|
|
149
|
+
onResponse: callback,
|
|
150
|
+
},
|
|
161
151
|
};
|
|
162
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
163
152
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
164
153
|
return {
|
|
165
154
|
flatResponse,
|
|
@@ -176,8 +165,8 @@ class TagsOperationsImpl {
|
|
|
176
165
|
spec: createOrUpdateAtScopeOperationSpec,
|
|
177
166
|
});
|
|
178
167
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
179
|
-
restoreFrom: options
|
|
180
|
-
intervalInMs: options
|
|
168
|
+
restoreFrom: options?.resumeFrom,
|
|
169
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
181
170
|
});
|
|
182
171
|
await poller.poll();
|
|
183
172
|
return poller;
|
|
@@ -208,14 +197,19 @@ class TagsOperationsImpl {
|
|
|
208
197
|
return this.client.sendOperationRequest(args, spec);
|
|
209
198
|
};
|
|
210
199
|
const sendOperationFn = async (args, spec) => {
|
|
211
|
-
var _a;
|
|
212
200
|
let currentRawResponse = undefined;
|
|
213
|
-
const providedCallback =
|
|
201
|
+
const providedCallback = args.options?.onResponse;
|
|
214
202
|
const callback = (rawResponse, flatResponse) => {
|
|
215
203
|
currentRawResponse = rawResponse;
|
|
216
|
-
providedCallback
|
|
204
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
205
|
+
};
|
|
206
|
+
const updatedArgs = {
|
|
207
|
+
...args,
|
|
208
|
+
options: {
|
|
209
|
+
...args.options,
|
|
210
|
+
onResponse: callback,
|
|
211
|
+
},
|
|
217
212
|
};
|
|
218
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
219
213
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
220
214
|
return {
|
|
221
215
|
flatResponse,
|
|
@@ -232,8 +226,8 @@ class TagsOperationsImpl {
|
|
|
232
226
|
spec: updateAtScopeOperationSpec,
|
|
233
227
|
});
|
|
234
228
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
235
|
-
restoreFrom: options
|
|
236
|
-
intervalInMs: options
|
|
229
|
+
restoreFrom: options?.resumeFrom,
|
|
230
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
237
231
|
});
|
|
238
232
|
await poller.poll();
|
|
239
233
|
return poller;
|
|
@@ -270,14 +264,19 @@ class TagsOperationsImpl {
|
|
|
270
264
|
return this.client.sendOperationRequest(args, spec);
|
|
271
265
|
};
|
|
272
266
|
const sendOperationFn = async (args, spec) => {
|
|
273
|
-
var _a;
|
|
274
267
|
let currentRawResponse = undefined;
|
|
275
|
-
const providedCallback =
|
|
268
|
+
const providedCallback = args.options?.onResponse;
|
|
276
269
|
const callback = (rawResponse, flatResponse) => {
|
|
277
270
|
currentRawResponse = rawResponse;
|
|
278
|
-
providedCallback
|
|
271
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
272
|
+
};
|
|
273
|
+
const updatedArgs = {
|
|
274
|
+
...args,
|
|
275
|
+
options: {
|
|
276
|
+
...args.options,
|
|
277
|
+
onResponse: callback,
|
|
278
|
+
},
|
|
279
279
|
};
|
|
280
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
281
280
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
282
281
|
return {
|
|
283
282
|
flatResponse,
|
|
@@ -294,8 +293,8 @@ class TagsOperationsImpl {
|
|
|
294
293
|
spec: deleteAtScopeOperationSpec,
|
|
295
294
|
});
|
|
296
295
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
297
|
-
restoreFrom: options
|
|
298
|
-
intervalInMs: options
|
|
296
|
+
restoreFrom: options?.resumeFrom,
|
|
297
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
299
298
|
});
|
|
300
299
|
await poller.poll();
|
|
301
300
|
return poller;
|
|
@@ -443,7 +442,7 @@ const createOrUpdateAtScopeOperationSpec = {
|
|
|
443
442
|
bodyMapper: Mappers.CloudError,
|
|
444
443
|
},
|
|
445
444
|
},
|
|
446
|
-
requestBody: Parameters.
|
|
445
|
+
requestBody: Parameters.parameters5,
|
|
447
446
|
queryParameters: [Parameters.apiVersion],
|
|
448
447
|
urlParameters: [Parameters.$host, Parameters.scope],
|
|
449
448
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
@@ -470,7 +469,7 @@ const updateAtScopeOperationSpec = {
|
|
|
470
469
|
bodyMapper: Mappers.CloudError,
|
|
471
470
|
},
|
|
472
471
|
},
|
|
473
|
-
requestBody: Parameters.
|
|
472
|
+
requestBody: Parameters.parameters6,
|
|
474
473
|
queryParameters: [Parameters.apiVersion],
|
|
475
474
|
urlParameters: [Parameters.$host, Parameters.scope],
|
|
476
475
|
headerParameters: [Parameters.accept, Parameters.contentType],
|