@azure/arm-extendedlocation 1.0.0-beta.3 → 1.0.0-beta.4
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 +14 -4
- package/LICENSE +4 -4
- package/README.md +26 -17
- package/{dist-esm/src → dist/browser}/customLocationsManagementClient.d.ts +2 -2
- package/dist/browser/customLocationsManagementClient.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/customLocationsManagementClient.js +31 -24
- package/dist/browser/customLocationsManagementClient.js.map +1 -0
- package/dist/browser/index.d.ts +5 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/lroImpl.js +13 -9
- package/dist/browser/lroImpl.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/index.d.ts +20 -20
- package/{dist-esm/src → dist/browser}/models/index.d.ts.map +1 -1
- package/dist/browser/models/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/mappers.js +55 -25
- package/dist/browser/models/mappers.js.map +1 -0
- package/{dist-esm/src → dist/browser}/models/parameters.js +1 -1
- package/dist/browser/models/parameters.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/customLocations.d.ts +3 -3
- package/dist/browser/operations/customLocations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/customLocations.js +170 -228
- package/dist/browser/operations/customLocations.js.map +1 -0
- package/dist/browser/operations/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src/operationsInterfaces → dist/browser/operations}/index.js +2 -2
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.d.ts +3 -3
- package/dist/browser/operations/resourceSyncRules.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/resourceSyncRules.js +110 -123
- package/dist/browser/operations/resourceSyncRules.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.d.ts +1 -1
- package/dist/browser/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +3 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src/operations → dist/browser/operationsInterfaces}/index.js +2 -2
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.d.ts +1 -1
- package/dist/browser/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/{dist-esm/src → dist/browser}/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -0
- package/dist/commonjs/customLocationsManagementClient.d.ts +21 -0
- package/dist/commonjs/customLocationsManagementClient.d.ts.map +1 -0
- package/dist/commonjs/customLocationsManagementClient.js +113 -0
- package/dist/commonjs/customLocationsManagementClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +5 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +19 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/lroImpl.d.ts +16 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +37 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-extendedlocation.d.ts → dist/commonjs/models/index.d.ts} +541 -790
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +37 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +26 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +810 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +27 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +188 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/customLocations.d.ts +155 -0
- package/dist/commonjs/operations/customLocations.d.ts.map +1 -0
- package/dist/commonjs/operations/customLocations.js +704 -0
- package/dist/commonjs/operations/customLocations.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +3 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +13 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/resourceSyncRules.d.ts +97 -0
- package/dist/commonjs/operations/resourceSyncRules.d.ts.map +1 -0
- package/dist/commonjs/operations/resourceSyncRules.js +403 -0
- package/dist/commonjs/operations/resourceSyncRules.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/customLocations.d.ts +86 -0
- package/dist/commonjs/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/customLocations.js +10 -0
- package/dist/commonjs/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +3 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +13 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts +71 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.js +10 -0
- package/dist/commonjs/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/pagingHelper.d.ts +13 -0
- package/dist/commonjs/pagingHelper.d.ts.map +1 -0
- package/dist/commonjs/pagingHelper.js +34 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +11 -11
- package/dist/esm/customLocationsManagementClient.d.ts +21 -0
- package/dist/esm/customLocationsManagementClient.d.ts.map +1 -0
- package/dist/esm/customLocationsManagementClient.js +108 -0
- package/dist/esm/customLocationsManagementClient.js.map +1 -0
- package/dist/esm/index.d.ts +5 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/{src/index.ts → dist/esm/index.js} +5 -5
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/lroImpl.d.ts +16 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +33 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +541 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +34 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +26 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +807 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +27 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +185 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/customLocations.d.ts +155 -0
- package/dist/esm/operations/customLocations.d.ts.map +1 -0
- package/dist/esm/operations/customLocations.js +699 -0
- package/dist/esm/operations/customLocations.js.map +1 -0
- package/dist/esm/operations/index.d.ts +3 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +10 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/resourceSyncRules.d.ts +97 -0
- package/dist/esm/operations/resourceSyncRules.d.ts.map +1 -0
- package/dist/esm/operations/resourceSyncRules.js +398 -0
- package/dist/esm/operations/resourceSyncRules.js.map +1 -0
- package/dist/esm/operationsInterfaces/customLocations.d.ts +86 -0
- package/dist/esm/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/{src/operations/index.ts → dist/esm/operationsInterfaces/customLocations.js} +2 -3
- package/dist/esm/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +3 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +10 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts +71 -0
- package/dist/esm/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/{src/operationsInterfaces/index.ts → dist/esm/operationsInterfaces/resourceSyncRules.js} +2 -3
- package/dist/esm/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/pagingHelper.d.ts +13 -0
- package/dist/esm/pagingHelper.d.ts.map +1 -0
- package/dist/esm/pagingHelper.js +30 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/react-native/customLocationsManagementClient.d.ts +21 -0
- package/dist/react-native/customLocationsManagementClient.d.ts.map +1 -0
- package/dist/react-native/customLocationsManagementClient.js +108 -0
- package/dist/react-native/customLocationsManagementClient.js.map +1 -0
- package/dist/react-native/index.d.ts +5 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/lroImpl.d.ts +16 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +33 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +541 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +34 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +26 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +807 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +27 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +185 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/customLocations.d.ts +155 -0
- package/dist/react-native/operations/customLocations.d.ts.map +1 -0
- package/dist/react-native/operations/customLocations.js +699 -0
- package/dist/react-native/operations/customLocations.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +3 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +10 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/resourceSyncRules.d.ts +97 -0
- package/dist/react-native/operations/resourceSyncRules.d.ts.map +1 -0
- package/dist/react-native/operations/resourceSyncRules.js +398 -0
- package/dist/react-native/operations/resourceSyncRules.js.map +1 -0
- package/dist/react-native/operationsInterfaces/customLocations.d.ts +86 -0
- package/dist/react-native/operationsInterfaces/customLocations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/customLocations.js +9 -0
- package/dist/react-native/operationsInterfaces/customLocations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +3 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +10 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts +71 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.js +9 -0
- package/dist/react-native/operationsInterfaces/resourceSyncRules.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/pagingHelper.d.ts +13 -0
- package/dist/react-native/pagingHelper.d.ts.map +1 -0
- package/dist/react-native/pagingHelper.js +30 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/package.json +87 -78
- package/dist/index.js +0 -2315
- package/dist/index.js.map +0 -1
- package/dist/index.min.js +0 -1
- package/dist/index.min.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js +0 -50
- package/dist-esm/samples-dev/customLocationsCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsDeleteSample.js +0 -39
- package/dist-esm/samples-dev/customLocationsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js +0 -42
- package/dist-esm/samples-dev/customLocationsFindTargetResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsGetSample.js +0 -39
- package/dist-esm/samples-dev/customLocationsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js +0 -52
- package/dist-esm/samples-dev/customLocationsListByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js +0 -51
- package/dist-esm/samples-dev/customLocationsListBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js +0 -53
- package/dist-esm/samples-dev/customLocationsListEnabledResourceTypesSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsListOperationsSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsListOperationsSample.js +0 -51
- package/dist-esm/samples-dev/customLocationsListOperationsSample.js.map +0 -1
- package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/customLocationsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/customLocationsUpdateSample.js +0 -42
- package/dist-esm/samples-dev/customLocationsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js +0 -49
- package/dist-esm/samples-dev/resourceSyncRulesCreateOrUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js +0 -40
- package/dist-esm/samples-dev/resourceSyncRulesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.js +0 -40
- package/dist-esm/samples-dev/resourceSyncRulesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js +0 -53
- package/dist-esm/samples-dev/resourceSyncRulesListByCustomLocationIdSample.js.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js +0 -42
- package/dist-esm/samples-dev/resourceSyncRulesUpdateSample.js.map +0 -1
- package/dist-esm/src/customLocationsManagementClient.d.ts.map +0 -1
- package/dist-esm/src/customLocationsManagementClient.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -6
- package/dist-esm/src/index.d.ts.map +0 -1
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/lroImpl.js.map +0 -1
- package/dist-esm/src/models/index.js.map +0 -1
- package/dist-esm/src/models/mappers.js.map +0 -1
- package/dist-esm/src/models/parameters.js.map +0 -1
- package/dist-esm/src/operations/customLocations.d.ts.map +0 -1
- package/dist-esm/src/operations/customLocations.js.map +0 -1
- package/dist-esm/src/operations/index.d.ts +0 -3
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/resourceSyncRules.d.ts.map +0 -1
- package/dist-esm/src/operations/resourceSyncRules.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/customLocations.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/customLocations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -3
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/resourceSyncRules.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/test/sampleTest.d.ts +0 -2
- package/dist-esm/test/sampleTest.d.ts.map +0 -1
- package/dist-esm/test/sampleTest.js +0 -38
- package/dist-esm/test/sampleTest.js.map +0 -1
- package/rollup.config.js +0 -122
- package/src/customLocationsManagementClient.ts +0 -142
- package/src/lroImpl.ts +0 -34
- package/src/models/index.ts +0 -606
- package/src/models/mappers.ts +0 -832
- package/src/models/parameters.ts +0 -225
- package/src/operations/customLocations.ts +0 -977
- package/src/operations/resourceSyncRules.ts +0 -575
- package/src/operationsInterfaces/customLocations.ts +0 -160
- package/src/operationsInterfaces/resourceSyncRules.ts +0 -136
- package/src/pagingHelper.ts +0 -39
- package/tsconfig.json +0 -33
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/lroImpl.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/mappers.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/parameters.d.ts.map +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/customLocations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/resourceSyncRules.js +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/pagingHelper.d.ts.map +0 -0
- /package/review/{arm-extendedlocation.api.md → arm-extendedlocation-node.api.md} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customLocations.js","sourceRoot":"","sources":["../../../src/operations/customLocations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAAkC,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAiCxC,4CAA4C;AAC5C,mDAAmD;AACnD,MAAM,OAAO,mBAAmB;IACb,MAAM,CAAkC;IAEzD;;;OAGG;IACH,YAAY,MAAuC;Q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* 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 { CustomLocations } 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 { CustomLocationsManagementClient } from \"../customLocationsManagementClient.js\";\nimport { PollerLike, PollOperationState, LroEngine } from \"@azure/core-lro\";\nimport { LroImpl } from \"../lroImpl.js\";\nimport {\n CustomLocationOperation,\n CustomLocationsListOperationsNextOptionalParams,\n CustomLocationsListOperationsOptionalParams,\n CustomLocationsListOperationsResponse,\n CustomLocation,\n CustomLocationsListBySubscriptionNextOptionalParams,\n CustomLocationsListBySubscriptionOptionalParams,\n CustomLocationsListBySubscriptionResponse,\n CustomLocationsListByResourceGroupNextOptionalParams,\n CustomLocationsListByResourceGroupOptionalParams,\n CustomLocationsListByResourceGroupResponse,\n EnabledResourceType,\n CustomLocationsListEnabledResourceTypesNextOptionalParams,\n CustomLocationsListEnabledResourceTypesOptionalParams,\n CustomLocationsListEnabledResourceTypesResponse,\n CustomLocationsGetOptionalParams,\n CustomLocationsGetResponse,\n CustomLocationsCreateOrUpdateOptionalParams,\n CustomLocationsCreateOrUpdateResponse,\n CustomLocationsDeleteOptionalParams,\n CustomLocationsUpdateOptionalParams,\n CustomLocationsUpdateResponse,\n CustomLocationFindTargetResourceGroupProperties,\n CustomLocationsFindTargetResourceGroupOptionalParams,\n CustomLocationsFindTargetResourceGroupResponse,\n CustomLocationsListOperationsNextResponse,\n CustomLocationsListBySubscriptionNextResponse,\n CustomLocationsListByResourceGroupNextResponse,\n CustomLocationsListEnabledResourceTypesNextResponse\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing CustomLocations operations. */\nexport class CustomLocationsImpl implements CustomLocations {\n private readonly client: CustomLocationsManagementClient;\n\n /**\n * Initialize a new instance of the class CustomLocations class.\n * @param client Reference to the service client\n */\n constructor(client: CustomLocationsManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists all available Custom Locations operations.\n * @param options The options parameters.\n */\n public listOperations(\n options?: CustomLocationsListOperationsOptionalParams\n ): PagedAsyncIterableIterator<CustomLocationOperation> {\n const iter = this.listOperationsPagingAll(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.listOperationsPagingPage(options, settings);\n }\n };\n }\n\n private async *listOperationsPagingPage(\n options?: CustomLocationsListOperationsOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CustomLocationOperation[]> {\n let result: CustomLocationsListOperationsResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listOperations(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._listOperationsNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listOperationsPagingAll(\n options?: CustomLocationsListOperationsOptionalParams\n ): AsyncIterableIterator<CustomLocationOperation> {\n for await (const page of this.listOperationsPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription. The operation returns properties of\n * each Custom Location\n * @param options The options parameters.\n */\n public listBySubscription(\n options?: CustomLocationsListBySubscriptionOptionalParams\n ): PagedAsyncIterableIterator<CustomLocation> {\n const iter = this.listBySubscriptionPagingAll(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.listBySubscriptionPagingPage(options, settings);\n }\n };\n }\n\n private async *listBySubscriptionPagingPage(\n options?: CustomLocationsListBySubscriptionOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CustomLocation[]> {\n let result: CustomLocationsListBySubscriptionResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listBySubscription(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._listBySubscriptionNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listBySubscriptionPagingAll(\n options?: CustomLocationsListBySubscriptionOptionalParams\n ): AsyncIterableIterator<CustomLocation> {\n for await (const page of this.listBySubscriptionPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription and resource group. The operation\n * returns properties of each Custom Location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n public listByResourceGroup(\n resourceGroupName: string,\n options?: CustomLocationsListByResourceGroupOptionalParams\n ): PagedAsyncIterableIterator<CustomLocation> {\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?: CustomLocationsListByResourceGroupOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<CustomLocation[]> {\n let result: CustomLocationsListByResourceGroupResponse;\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?: CustomLocationsListByResourceGroupOptionalParams\n ): AsyncIterableIterator<CustomLocation> {\n for await (const page of this.listByResourceGroupPagingPage(\n resourceGroupName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets the list of the Enabled Resource Types.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n public listEnabledResourceTypes(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams\n ): PagedAsyncIterableIterator<EnabledResourceType> {\n const iter = this.listEnabledResourceTypesPagingAll(\n resourceGroupName,\n resourceName,\n options\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listEnabledResourceTypesPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings\n );\n }\n };\n }\n\n private async *listEnabledResourceTypesPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams,\n settings?: PageSettings\n ): AsyncIterableIterator<EnabledResourceType[]> {\n let result: CustomLocationsListEnabledResourceTypesResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listEnabledResourceTypes(\n resourceGroupName,\n resourceName,\n options\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listEnabledResourceTypesNext(\n resourceGroupName,\n resourceName,\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 *listEnabledResourceTypesPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams\n ): AsyncIterableIterator<EnabledResourceType> {\n for await (const page of this.listEnabledResourceTypesPagingPage(\n resourceGroupName,\n resourceName,\n options\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists all available Custom Locations operations.\n * @param options The options parameters.\n */\n private _listOperations(\n options?: CustomLocationsListOperationsOptionalParams\n ): Promise<CustomLocationsListOperationsResponse> {\n return this.client.sendOperationRequest(\n { options },\n listOperationsOperationSpec\n );\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription. The operation returns properties of\n * each Custom Location\n * @param options The options parameters.\n */\n private _listBySubscription(\n options?: CustomLocationsListBySubscriptionOptionalParams\n ): Promise<CustomLocationsListBySubscriptionResponse> {\n return this.client.sendOperationRequest(\n { options },\n listBySubscriptionOperationSpec\n );\n }\n\n /**\n * Gets a list of Custom Locations in the specified subscription and resource group. The operation\n * returns properties of each Custom Location.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param options The options parameters.\n */\n private _listByResourceGroup(\n resourceGroupName: string,\n options?: CustomLocationsListByResourceGroupOptionalParams\n ): Promise<CustomLocationsListByResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, options },\n listByResourceGroupOperationSpec\n );\n }\n\n /**\n * Gets the details of the customLocation with a specified resource group and name.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsGetOptionalParams\n ): Promise<CustomLocationsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n getOperationSpec\n );\n }\n\n /**\n * Creates or updates a Custom Location in the specified Subscription and Resource Group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param parameters Parameters supplied to create or update a Custom Location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdate(\n resourceGroupName: string,\n resourceName: string,\n parameters: CustomLocation,\n options?: CustomLocationsCreateOrUpdateOptionalParams\n ): Promise<\n PollerLike<\n PollOperationState<CustomLocationsCreateOrUpdateResponse>,\n CustomLocationsCreateOrUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<CustomLocationsCreateOrUpdateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, parameters, options },\n createOrUpdateOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Creates or updates a Custom Location in the specified Subscription and Resource Group\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param parameters Parameters supplied to create or update a Custom Location.\n * @param options The options parameters.\n */\n async beginCreateOrUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n parameters: CustomLocation,\n options?: CustomLocationsCreateOrUpdateOptionalParams\n ): Promise<CustomLocationsCreateOrUpdateResponse> {\n const poller = await this.beginCreateOrUpdate(\n resourceGroupName,\n resourceName,\n parameters,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsDeleteOptionalParams\n ): Promise<PollerLike<PollOperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec\n ) => {\n let currentRawResponse:\n | coreClient.FullOperationResponse\n | undefined = undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback\n }\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON()\n }\n };\n };\n\n const lro = new LroImpl(\n sendOperation,\n { resourceGroupName, resourceName, options },\n deleteOperationSpec\n );\n const poller = new LroEngine(lro, {\n resumeFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n lroResourceLocationConfig: \"azure-async-operation\"\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsDeleteOptionalParams\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n options\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Updates a Custom Location with the specified Resource Name in the specified Resource Group and\n * Subscription.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n update(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsUpdateOptionalParams\n ): Promise<CustomLocationsUpdateResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n updateOperationSpec\n );\n }\n\n /**\n * Gets the list of the Enabled Resource Types.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param options The options parameters.\n */\n private _listEnabledResourceTypes(\n resourceGroupName: string,\n resourceName: string,\n options?: CustomLocationsListEnabledResourceTypesOptionalParams\n ): Promise<CustomLocationsListEnabledResourceTypesResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listEnabledResourceTypesOperationSpec\n );\n }\n\n /**\n * Returns the target resource group associated with the resource sync rules of the Custom Location\n * that match the rules passed in with the Find Target Resource Group Request.\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param parameters Parameters of the find target resource group request.\n * @param options The options parameters.\n */\n findTargetResourceGroup(\n resourceGroupName: string,\n resourceName: string,\n parameters: CustomLocationFindTargetResourceGroupProperties,\n options?: CustomLocationsFindTargetResourceGroupOptionalParams\n ): Promise<CustomLocationsFindTargetResourceGroupResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, parameters, options },\n findTargetResourceGroupOperationSpec\n );\n }\n\n /**\n * ListOperationsNext\n * @param nextLink The nextLink from the previous successful call to the ListOperations method.\n * @param options The options parameters.\n */\n private _listOperationsNext(\n nextLink: string,\n options?: CustomLocationsListOperationsNextOptionalParams\n ): Promise<CustomLocationsListOperationsNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listOperationsNextOperationSpec\n );\n }\n\n /**\n * ListBySubscriptionNext\n * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.\n * @param options The options parameters.\n */\n private _listBySubscriptionNext(\n nextLink: string,\n options?: CustomLocationsListBySubscriptionNextOptionalParams\n ): Promise<CustomLocationsListBySubscriptionNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listBySubscriptionNextOperationSpec\n );\n }\n\n /**\n * ListByResourceGroupNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\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?: CustomLocationsListByResourceGroupNextOptionalParams\n ): Promise<CustomLocationsListByResourceGroupNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, nextLink, options },\n listByResourceGroupNextOperationSpec\n );\n }\n\n /**\n * ListEnabledResourceTypesNext\n * @param resourceGroupName The name of the resource group. The name is case insensitive.\n * @param resourceName Custom Locations name.\n * @param nextLink The nextLink from the previous successful call to the ListEnabledResourceTypes\n * method.\n * @param options The options parameters.\n */\n private _listEnabledResourceTypesNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: CustomLocationsListEnabledResourceTypesNextOptionalParams\n ): Promise<CustomLocationsListEnabledResourceTypesNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listEnabledResourceTypesNextOperationSpec\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationsOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.ExtendedLocation/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationOperationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host, Parameters.subscriptionId],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst createOrUpdateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocation\n },\n 201: {\n bodyMapper: Mappers.CustomLocation\n },\n 202: {\n bodyMapper: Mappers.CustomLocation\n },\n 204: {\n bodyMapper: Mappers.CustomLocation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocation\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: {\n parameterPath: {\n identity: [\"options\", \"identity\"],\n tags: [\"options\", \"tags\"],\n authentication: [\"options\", \"authentication\"],\n clusterExtensionIds: [\"options\", \"clusterExtensionIds\"],\n displayName: [\"options\", \"displayName\"],\n hostResourceId: [\"options\", \"hostResourceId\"],\n hostType: [\"options\", \"hostType\"],\n namespace: [\"options\", \"namespace\"],\n provisioningState: [\"options\", \"provisioningState\"]\n },\n mapper: { ...Mappers.PatchableCustomLocations, required: true }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listEnabledResourceTypesOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnabledResourceTypesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst findTargetResourceGroupOperationSpec: coreClient.OperationSpec = {\n path:\n \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationFindTargetResourceGroupResult\n },\n 204: {},\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n requestBody: Parameters.parameters2,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer\n};\nconst listOperationsNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationOperationsList\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listBySubscriptionNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listByResourceGroupNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.CustomLocationListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\nconst listEnabledResourceTypesNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.EnabledResourceTypesListResult\n },\n default: {\n bodyMapper: Mappers.ErrorResponse\n }\n },\n urlParameters: [\n Parameters.$host,\n Parameters.subscriptionId,\n Parameters.resourceGroupName,\n Parameters.resourceName,\n Parameters.nextLink\n ],\n headerParameters: [Parameters.accept],\n serializer\n};\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
export * from "./customLocations.js";
|
|
9
|
+
export * from "./resourceSyncRules.js";
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,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\nexport * from \"./customLocations.js\";\nexport * from \"./resourceSyncRules.js\";\n"]}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { ResourceSyncRules } from "../operationsInterfaces/index.js";
|
|
3
|
+
import { CustomLocationsManagementClient } from "../customLocationsManagementClient.js";
|
|
4
|
+
import { PollerLike, PollOperationState } from "@azure/core-lro";
|
|
5
|
+
import { ResourceSyncRule, ResourceSyncRulesListByCustomLocationIDOptionalParams, ResourceSyncRulesGetOptionalParams, ResourceSyncRulesGetResponse, ResourceSyncRulesCreateOrUpdateOptionalParams, ResourceSyncRulesCreateOrUpdateResponse, ResourceSyncRulesDeleteOptionalParams, ResourceSyncRulesUpdateOptionalParams, ResourceSyncRulesUpdateResponse } from "../models/index.js";
|
|
6
|
+
/** Class containing ResourceSyncRules operations. */
|
|
7
|
+
export declare class ResourceSyncRulesImpl implements ResourceSyncRules {
|
|
8
|
+
private readonly client;
|
|
9
|
+
/**
|
|
10
|
+
* Initialize a new instance of the class ResourceSyncRules class.
|
|
11
|
+
* @param client Reference to the service client
|
|
12
|
+
*/
|
|
13
|
+
constructor(client: CustomLocationsManagementClient);
|
|
14
|
+
/**
|
|
15
|
+
* Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
|
|
16
|
+
* of each Resource Sync Rule
|
|
17
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
18
|
+
* @param resourceName Custom Locations name.
|
|
19
|
+
* @param options The options parameters.
|
|
20
|
+
*/
|
|
21
|
+
listByCustomLocationID(resourceGroupName: string, resourceName: string, options?: ResourceSyncRulesListByCustomLocationIDOptionalParams): PagedAsyncIterableIterator<ResourceSyncRule>;
|
|
22
|
+
private listByCustomLocationIDPagingPage;
|
|
23
|
+
private listByCustomLocationIDPagingAll;
|
|
24
|
+
/**
|
|
25
|
+
* Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
|
|
26
|
+
* of each Resource Sync Rule
|
|
27
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
28
|
+
* @param resourceName Custom Locations name.
|
|
29
|
+
* @param options The options parameters.
|
|
30
|
+
*/
|
|
31
|
+
private _listByCustomLocationID;
|
|
32
|
+
/**
|
|
33
|
+
* Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom
|
|
34
|
+
* Location resource name and Resource Sync Rule name.
|
|
35
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
36
|
+
* @param resourceName Custom Locations name.
|
|
37
|
+
* @param childResourceName Resource Sync Rule name.
|
|
38
|
+
* @param options The options parameters.
|
|
39
|
+
*/
|
|
40
|
+
get(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesGetOptionalParams): Promise<ResourceSyncRulesGetResponse>;
|
|
41
|
+
/**
|
|
42
|
+
* Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
|
|
43
|
+
* Group
|
|
44
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
45
|
+
* @param resourceName Custom Locations name.
|
|
46
|
+
* @param childResourceName Resource Sync Rule name.
|
|
47
|
+
* @param parameters Parameters supplied to create or update a Resource Sync Rule.
|
|
48
|
+
* @param options The options parameters.
|
|
49
|
+
*/
|
|
50
|
+
beginCreateOrUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRulesCreateOrUpdateResponse>, ResourceSyncRulesCreateOrUpdateResponse>>;
|
|
51
|
+
/**
|
|
52
|
+
* Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
|
|
53
|
+
* Group
|
|
54
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
55
|
+
* @param resourceName Custom Locations name.
|
|
56
|
+
* @param childResourceName Resource Sync Rule name.
|
|
57
|
+
* @param parameters Parameters supplied to create or update a Resource Sync Rule.
|
|
58
|
+
* @param options The options parameters.
|
|
59
|
+
*/
|
|
60
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, parameters: ResourceSyncRule, options?: ResourceSyncRulesCreateOrUpdateOptionalParams): Promise<ResourceSyncRulesCreateOrUpdateResponse>;
|
|
61
|
+
/**
|
|
62
|
+
* Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource
|
|
63
|
+
* Name, Resource Group, and Subscription Id.
|
|
64
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
65
|
+
* @param resourceName Custom Locations name.
|
|
66
|
+
* @param childResourceName Resource Sync Rule name.
|
|
67
|
+
* @param options The options parameters.
|
|
68
|
+
*/
|
|
69
|
+
delete(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesDeleteOptionalParams): Promise<void>;
|
|
70
|
+
/**
|
|
71
|
+
* Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
|
|
72
|
+
* Group, Subscription and Custom Location name.
|
|
73
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
74
|
+
* @param resourceName Custom Locations name.
|
|
75
|
+
* @param childResourceName Resource Sync Rule name.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
beginUpdate(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<PollerLike<PollOperationState<ResourceSyncRulesUpdateResponse>, ResourceSyncRulesUpdateResponse>>;
|
|
79
|
+
/**
|
|
80
|
+
* Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
|
|
81
|
+
* Group, Subscription and Custom Location name.
|
|
82
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
83
|
+
* @param resourceName Custom Locations name.
|
|
84
|
+
* @param childResourceName Resource Sync Rule name.
|
|
85
|
+
* @param options The options parameters.
|
|
86
|
+
*/
|
|
87
|
+
beginUpdateAndWait(resourceGroupName: string, resourceName: string, childResourceName: string, options?: ResourceSyncRulesUpdateOptionalParams): Promise<ResourceSyncRulesUpdateResponse>;
|
|
88
|
+
/**
|
|
89
|
+
* ListByCustomLocationIDNext
|
|
90
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
91
|
+
* @param resourceName Custom Locations name.
|
|
92
|
+
* @param nextLink The nextLink from the previous successful call to the ListByCustomLocationID method.
|
|
93
|
+
* @param options The options parameters.
|
|
94
|
+
*/
|
|
95
|
+
private _listByCustomLocationIDNext;
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=resourceSyncRules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourceSyncRules.d.ts","sourceRoot":"","sources":["../../../src/operations/resourceSyncRules.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAIrE,OAAO,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAa,MAAM,iBAAiB,CAAC;AAE5E,OAAO,EACL,gBAAgB,EAEhB,qDAAqD,EAErD,kCAAkC,EAClC,4BAA4B,EAC5B,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EACrC,qCAAqC,EACrC,+BAA+B,EAEhC,MAAM,oBAAoB,CAAC;AAG5B,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;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+BAA+B,CAChC,CACF;IAsDD;;;;;;;OAOG;IACG,kBAAkB,CACtB,iBAAiB,EAAE,MAAM,EACzB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,EACzB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAU3C;;;;;;OAMG;IACH,OAAO,CAAC,2BAA2B;CAWpC"}
|
|
@@ -0,0 +1,398 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { setContinuationToken } from "../pagingHelper.js";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers.js";
|
|
11
|
+
import * as Parameters from "../models/parameters.js";
|
|
12
|
+
import { LroEngine } from "@azure/core-lro";
|
|
13
|
+
import { LroImpl } from "../lroImpl.js";
|
|
14
|
+
/// <reference lib="esnext.asynciterable" />
|
|
15
|
+
/** Class containing ResourceSyncRules operations. */
|
|
16
|
+
export class ResourceSyncRulesImpl {
|
|
17
|
+
client;
|
|
18
|
+
/**
|
|
19
|
+
* Initialize a new instance of the class ResourceSyncRules class.
|
|
20
|
+
* @param client Reference to the service client
|
|
21
|
+
*/
|
|
22
|
+
constructor(client) {
|
|
23
|
+
this.client = client;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
|
|
27
|
+
* of each Resource Sync Rule
|
|
28
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
29
|
+
* @param resourceName Custom Locations name.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listByCustomLocationID(resourceGroupName, resourceName, options) {
|
|
33
|
+
const iter = this.listByCustomLocationIDPagingAll(resourceGroupName, resourceName, options);
|
|
34
|
+
return {
|
|
35
|
+
next() {
|
|
36
|
+
return iter.next();
|
|
37
|
+
},
|
|
38
|
+
[Symbol.asyncIterator]() {
|
|
39
|
+
return this;
|
|
40
|
+
},
|
|
41
|
+
byPage: (settings) => {
|
|
42
|
+
if (settings?.maxPageSize) {
|
|
43
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
44
|
+
}
|
|
45
|
+
return this.listByCustomLocationIDPagingPage(resourceGroupName, resourceName, options, settings);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
async *listByCustomLocationIDPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
50
|
+
let result;
|
|
51
|
+
let continuationToken = settings?.continuationToken;
|
|
52
|
+
if (!continuationToken) {
|
|
53
|
+
result = await this._listByCustomLocationID(resourceGroupName, resourceName, options);
|
|
54
|
+
let page = result.value || [];
|
|
55
|
+
continuationToken = result.nextLink;
|
|
56
|
+
setContinuationToken(page, continuationToken);
|
|
57
|
+
yield page;
|
|
58
|
+
}
|
|
59
|
+
while (continuationToken) {
|
|
60
|
+
result = await this._listByCustomLocationIDNext(resourceGroupName, resourceName, continuationToken, options);
|
|
61
|
+
continuationToken = result.nextLink;
|
|
62
|
+
let page = result.value || [];
|
|
63
|
+
setContinuationToken(page, continuationToken);
|
|
64
|
+
yield page;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
async *listByCustomLocationIDPagingAll(resourceGroupName, resourceName, options) {
|
|
68
|
+
for await (const page of this.listByCustomLocationIDPagingPage(resourceGroupName, resourceName, options)) {
|
|
69
|
+
yield* page;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties
|
|
74
|
+
* of each Resource Sync Rule
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param resourceName Custom Locations name.
|
|
77
|
+
* @param options The options parameters.
|
|
78
|
+
*/
|
|
79
|
+
_listByCustomLocationID(resourceGroupName, resourceName, options) {
|
|
80
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, options }, listByCustomLocationIDOperationSpec);
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom
|
|
84
|
+
* Location resource name and Resource Sync Rule name.
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param resourceName Custom Locations name.
|
|
87
|
+
* @param childResourceName Resource Sync Rule name.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
get(resourceGroupName, resourceName, childResourceName, options) {
|
|
91
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, childResourceName, options }, getOperationSpec);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
|
|
95
|
+
* Group
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
|
+
* @param resourceName Custom Locations name.
|
|
98
|
+
* @param childResourceName Resource Sync Rule name.
|
|
99
|
+
* @param parameters Parameters supplied to create or update a Resource Sync Rule.
|
|
100
|
+
* @param options The options parameters.
|
|
101
|
+
*/
|
|
102
|
+
async beginCreateOrUpdate(resourceGroupName, resourceName, childResourceName, parameters, options) {
|
|
103
|
+
const directSendOperation = async (args, spec) => {
|
|
104
|
+
return this.client.sendOperationRequest(args, spec);
|
|
105
|
+
};
|
|
106
|
+
const sendOperation = async (args, spec) => {
|
|
107
|
+
let currentRawResponse = undefined;
|
|
108
|
+
const providedCallback = args.options?.onResponse;
|
|
109
|
+
const callback = (rawResponse, flatResponse) => {
|
|
110
|
+
currentRawResponse = rawResponse;
|
|
111
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
112
|
+
};
|
|
113
|
+
const updatedArgs = {
|
|
114
|
+
...args,
|
|
115
|
+
options: {
|
|
116
|
+
...args.options,
|
|
117
|
+
onResponse: callback
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
121
|
+
return {
|
|
122
|
+
flatResponse,
|
|
123
|
+
rawResponse: {
|
|
124
|
+
statusCode: currentRawResponse.status,
|
|
125
|
+
body: currentRawResponse.parsedBody,
|
|
126
|
+
headers: currentRawResponse.headers.toJSON()
|
|
127
|
+
}
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
const lro = new LroImpl(sendOperation, {
|
|
131
|
+
resourceGroupName,
|
|
132
|
+
resourceName,
|
|
133
|
+
childResourceName,
|
|
134
|
+
parameters,
|
|
135
|
+
options
|
|
136
|
+
}, createOrUpdateOperationSpec);
|
|
137
|
+
const poller = new LroEngine(lro, {
|
|
138
|
+
resumeFrom: options?.resumeFrom,
|
|
139
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
140
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
141
|
+
});
|
|
142
|
+
await poller.poll();
|
|
143
|
+
return poller;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource
|
|
147
|
+
* Group
|
|
148
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
149
|
+
* @param resourceName Custom Locations name.
|
|
150
|
+
* @param childResourceName Resource Sync Rule name.
|
|
151
|
+
* @param parameters Parameters supplied to create or update a Resource Sync Rule.
|
|
152
|
+
* @param options The options parameters.
|
|
153
|
+
*/
|
|
154
|
+
async beginCreateOrUpdateAndWait(resourceGroupName, resourceName, childResourceName, parameters, options) {
|
|
155
|
+
const poller = await this.beginCreateOrUpdate(resourceGroupName, resourceName, childResourceName, parameters, options);
|
|
156
|
+
return poller.pollUntilDone();
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource
|
|
160
|
+
* Name, Resource Group, and Subscription Id.
|
|
161
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
162
|
+
* @param resourceName Custom Locations name.
|
|
163
|
+
* @param childResourceName Resource Sync Rule name.
|
|
164
|
+
* @param options The options parameters.
|
|
165
|
+
*/
|
|
166
|
+
delete(resourceGroupName, resourceName, childResourceName, options) {
|
|
167
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, childResourceName, options }, deleteOperationSpec);
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
|
|
171
|
+
* Group, Subscription and Custom Location name.
|
|
172
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
173
|
+
* @param resourceName Custom Locations name.
|
|
174
|
+
* @param childResourceName Resource Sync Rule name.
|
|
175
|
+
* @param options The options parameters.
|
|
176
|
+
*/
|
|
177
|
+
async beginUpdate(resourceGroupName, resourceName, childResourceName, options) {
|
|
178
|
+
const directSendOperation = async (args, spec) => {
|
|
179
|
+
return this.client.sendOperationRequest(args, spec);
|
|
180
|
+
};
|
|
181
|
+
const sendOperation = async (args, spec) => {
|
|
182
|
+
let currentRawResponse = undefined;
|
|
183
|
+
const providedCallback = args.options?.onResponse;
|
|
184
|
+
const callback = (rawResponse, flatResponse) => {
|
|
185
|
+
currentRawResponse = rawResponse;
|
|
186
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
187
|
+
};
|
|
188
|
+
const updatedArgs = {
|
|
189
|
+
...args,
|
|
190
|
+
options: {
|
|
191
|
+
...args.options,
|
|
192
|
+
onResponse: callback
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
196
|
+
return {
|
|
197
|
+
flatResponse,
|
|
198
|
+
rawResponse: {
|
|
199
|
+
statusCode: currentRawResponse.status,
|
|
200
|
+
body: currentRawResponse.parsedBody,
|
|
201
|
+
headers: currentRawResponse.headers.toJSON()
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
const lro = new LroImpl(sendOperation, { resourceGroupName, resourceName, childResourceName, options }, updateOperationSpec);
|
|
206
|
+
const poller = new LroEngine(lro, {
|
|
207
|
+
resumeFrom: options?.resumeFrom,
|
|
208
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
209
|
+
lroResourceLocationConfig: "azure-async-operation"
|
|
210
|
+
});
|
|
211
|
+
await poller.poll();
|
|
212
|
+
return poller;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource
|
|
216
|
+
* Group, Subscription and Custom Location name.
|
|
217
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
218
|
+
* @param resourceName Custom Locations name.
|
|
219
|
+
* @param childResourceName Resource Sync Rule name.
|
|
220
|
+
* @param options The options parameters.
|
|
221
|
+
*/
|
|
222
|
+
async beginUpdateAndWait(resourceGroupName, resourceName, childResourceName, options) {
|
|
223
|
+
const poller = await this.beginUpdate(resourceGroupName, resourceName, childResourceName, options);
|
|
224
|
+
return poller.pollUntilDone();
|
|
225
|
+
}
|
|
226
|
+
/**
|
|
227
|
+
* ListByCustomLocationIDNext
|
|
228
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
229
|
+
* @param resourceName Custom Locations name.
|
|
230
|
+
* @param nextLink The nextLink from the previous successful call to the ListByCustomLocationID method.
|
|
231
|
+
* @param options The options parameters.
|
|
232
|
+
*/
|
|
233
|
+
_listByCustomLocationIDNext(resourceGroupName, resourceName, nextLink, options) {
|
|
234
|
+
return this.client.sendOperationRequest({ resourceGroupName, resourceName, nextLink, options }, listByCustomLocationIDNextOperationSpec);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
// Operation Specifications
|
|
238
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
239
|
+
const listByCustomLocationIDOperationSpec = {
|
|
240
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules",
|
|
241
|
+
httpMethod: "GET",
|
|
242
|
+
responses: {
|
|
243
|
+
200: {
|
|
244
|
+
bodyMapper: Mappers.ResourceSyncRuleListResult
|
|
245
|
+
},
|
|
246
|
+
default: {
|
|
247
|
+
bodyMapper: Mappers.ErrorResponse
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
queryParameters: [Parameters.apiVersion],
|
|
251
|
+
urlParameters: [
|
|
252
|
+
Parameters.$host,
|
|
253
|
+
Parameters.subscriptionId,
|
|
254
|
+
Parameters.resourceGroupName,
|
|
255
|
+
Parameters.resourceName
|
|
256
|
+
],
|
|
257
|
+
headerParameters: [Parameters.accept],
|
|
258
|
+
serializer
|
|
259
|
+
};
|
|
260
|
+
const getOperationSpec = {
|
|
261
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
|
|
262
|
+
httpMethod: "GET",
|
|
263
|
+
responses: {
|
|
264
|
+
200: {
|
|
265
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
266
|
+
},
|
|
267
|
+
default: {
|
|
268
|
+
bodyMapper: Mappers.ErrorResponse
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
queryParameters: [Parameters.apiVersion],
|
|
272
|
+
urlParameters: [
|
|
273
|
+
Parameters.$host,
|
|
274
|
+
Parameters.subscriptionId,
|
|
275
|
+
Parameters.resourceGroupName,
|
|
276
|
+
Parameters.resourceName,
|
|
277
|
+
Parameters.childResourceName
|
|
278
|
+
],
|
|
279
|
+
headerParameters: [Parameters.accept],
|
|
280
|
+
serializer
|
|
281
|
+
};
|
|
282
|
+
const createOrUpdateOperationSpec = {
|
|
283
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
|
|
284
|
+
httpMethod: "PUT",
|
|
285
|
+
responses: {
|
|
286
|
+
200: {
|
|
287
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
288
|
+
},
|
|
289
|
+
201: {
|
|
290
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
291
|
+
},
|
|
292
|
+
202: {
|
|
293
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
294
|
+
},
|
|
295
|
+
204: {
|
|
296
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
297
|
+
},
|
|
298
|
+
default: {
|
|
299
|
+
bodyMapper: Mappers.ErrorResponse
|
|
300
|
+
}
|
|
301
|
+
},
|
|
302
|
+
requestBody: Parameters.parameters3,
|
|
303
|
+
queryParameters: [Parameters.apiVersion],
|
|
304
|
+
urlParameters: [
|
|
305
|
+
Parameters.$host,
|
|
306
|
+
Parameters.subscriptionId,
|
|
307
|
+
Parameters.resourceGroupName,
|
|
308
|
+
Parameters.resourceName,
|
|
309
|
+
Parameters.childResourceName
|
|
310
|
+
],
|
|
311
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
312
|
+
mediaType: "json",
|
|
313
|
+
serializer
|
|
314
|
+
};
|
|
315
|
+
const deleteOperationSpec = {
|
|
316
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
|
|
317
|
+
httpMethod: "DELETE",
|
|
318
|
+
responses: {
|
|
319
|
+
200: {},
|
|
320
|
+
204: {},
|
|
321
|
+
default: {
|
|
322
|
+
bodyMapper: Mappers.ErrorResponse
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
queryParameters: [Parameters.apiVersion],
|
|
326
|
+
urlParameters: [
|
|
327
|
+
Parameters.$host,
|
|
328
|
+
Parameters.subscriptionId,
|
|
329
|
+
Parameters.resourceGroupName,
|
|
330
|
+
Parameters.resourceName,
|
|
331
|
+
Parameters.childResourceName
|
|
332
|
+
],
|
|
333
|
+
headerParameters: [Parameters.accept],
|
|
334
|
+
serializer
|
|
335
|
+
};
|
|
336
|
+
const updateOperationSpec = {
|
|
337
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}",
|
|
338
|
+
httpMethod: "PATCH",
|
|
339
|
+
responses: {
|
|
340
|
+
200: {
|
|
341
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
342
|
+
},
|
|
343
|
+
201: {
|
|
344
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
345
|
+
},
|
|
346
|
+
202: {
|
|
347
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
348
|
+
},
|
|
349
|
+
204: {
|
|
350
|
+
bodyMapper: Mappers.ResourceSyncRule
|
|
351
|
+
},
|
|
352
|
+
default: {
|
|
353
|
+
bodyMapper: Mappers.ErrorResponse
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
requestBody: {
|
|
357
|
+
parameterPath: {
|
|
358
|
+
tags: ["options", "tags"],
|
|
359
|
+
priority: ["options", "priority"],
|
|
360
|
+
selector: ["options", "selector"],
|
|
361
|
+
targetResourceGroup: ["options", "targetResourceGroup"]
|
|
362
|
+
},
|
|
363
|
+
mapper: { ...Mappers.PatchableResourceSyncRule, required: true }
|
|
364
|
+
},
|
|
365
|
+
queryParameters: [Parameters.apiVersion],
|
|
366
|
+
urlParameters: [
|
|
367
|
+
Parameters.$host,
|
|
368
|
+
Parameters.subscriptionId,
|
|
369
|
+
Parameters.resourceGroupName,
|
|
370
|
+
Parameters.resourceName,
|
|
371
|
+
Parameters.childResourceName
|
|
372
|
+
],
|
|
373
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
374
|
+
mediaType: "json",
|
|
375
|
+
serializer
|
|
376
|
+
};
|
|
377
|
+
const listByCustomLocationIDNextOperationSpec = {
|
|
378
|
+
path: "{nextLink}",
|
|
379
|
+
httpMethod: "GET",
|
|
380
|
+
responses: {
|
|
381
|
+
200: {
|
|
382
|
+
bodyMapper: Mappers.ResourceSyncRuleListResult
|
|
383
|
+
},
|
|
384
|
+
default: {
|
|
385
|
+
bodyMapper: Mappers.ErrorResponse
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
urlParameters: [
|
|
389
|
+
Parameters.$host,
|
|
390
|
+
Parameters.subscriptionId,
|
|
391
|
+
Parameters.resourceGroupName,
|
|
392
|
+
Parameters.resourceName,
|
|
393
|
+
Parameters.nextLink
|
|
394
|
+
],
|
|
395
|
+
headerParameters: [Parameters.accept],
|
|
396
|
+
serializer
|
|
397
|
+
};
|
|
398
|
+
//# sourceMappingURL=resourceSyncRules.js.map
|