@azure/arm-resourcemover 2.2.0-alpha.20250217.1 → 2.2.0-alpha.20250219.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/README.md +21 -12
- package/dist/browser/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/index.js +4 -4
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/lroImpl.js.map +1 -0
- package/dist/browser/models/index.js.map +1 -0
- 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/browser/operations/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operations/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operations/index.js +4 -4
- package/dist/browser/operations/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/moveCollections.d.ts +3 -3
- package/dist/browser/operations/moveCollections.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/moveCollections.js +264 -292
- package/dist/browser/operations/moveCollections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/moveResources.d.ts +3 -3
- package/dist/browser/operations/moveResources.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/moveResources.js +89 -97
- package/dist/browser/operations/moveResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationsDiscoveryOperations.d.ts +3 -3
- package/dist/browser/operations/operationsDiscoveryOperations.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/operationsDiscoveryOperations.js +2 -2
- package/dist/browser/operations/operationsDiscoveryOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/unresolvedDependencies.d.ts +3 -3
- package/dist/browser/operations/unresolvedDependencies.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/operations/unresolvedDependencies.js +3 -3
- package/dist/browser/operations/unresolvedDependencies.js.map +1 -0
- package/dist/browser/operationsInterfaces/index.d.ts +5 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.d.ts.map +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/index.js +4 -4
- package/dist/browser/operationsInterfaces/index.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/moveCollections.d.ts +1 -1
- package/dist/browser/operationsInterfaces/moveCollections.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/moveCollections.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/moveResources.d.ts +1 -1
- package/dist/browser/operationsInterfaces/moveResources.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/moveResources.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsDiscoveryOperations.d.ts +1 -1
- package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -1
- package/dist/browser/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
- package/{dist-esm/src → dist/browser}/operationsInterfaces/unresolvedDependencies.d.ts +1 -1
- package/dist/browser/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
- package/dist/browser/operationsInterfaces/unresolvedDependencies.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/pagingHelper.js.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceMoverServiceAPI.d.ts +2 -2
- package/dist/browser/resourceMoverServiceAPI.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/resourceMoverServiceAPI.js +15 -18
- package/dist/browser/resourceMoverServiceAPI.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 +11 -0
- package/dist/commonjs/lroImpl.d.ts.map +1 -0
- package/dist/commonjs/lroImpl.js +17 -0
- package/dist/commonjs/lroImpl.js.map +1 -0
- package/{types/arm-resourcemover.d.ts → dist/commonjs/models/index.d.ts} +1338 -1752
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +145 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/mappers.d.ts +88 -0
- package/dist/commonjs/models/mappers.d.ts.map +1 -0
- package/dist/commonjs/models/mappers.js +2024 -0
- package/dist/commonjs/models/mappers.js.map +1 -0
- package/dist/commonjs/models/parameters.d.ts +23 -0
- package/dist/commonjs/models/parameters.d.ts.map +1 -0
- package/dist/commonjs/models/parameters.js +176 -0
- package/dist/commonjs/models/parameters.js.map +1 -0
- package/dist/commonjs/operations/index.d.ts +5 -0
- package/dist/commonjs/operations/index.d.ts.map +1 -0
- package/dist/commonjs/operations/index.js +15 -0
- package/dist/commonjs/operations/index.js.map +1 -0
- package/dist/commonjs/operations/moveCollections.d.ts +211 -0
- package/dist/commonjs/operations/moveCollections.d.ts.map +1 -0
- package/dist/commonjs/operations/moveCollections.js +1004 -0
- package/dist/commonjs/operations/moveCollections.js.map +1 -0
- package/dist/commonjs/operations/moveResources.d.ts +79 -0
- package/dist/commonjs/operations/moveResources.d.ts.map +1 -0
- package/dist/commonjs/operations/moveResources.js +370 -0
- package/dist/commonjs/operations/moveResources.js.map +1 -0
- package/dist/commonjs/operations/operationsDiscoveryOperations.d.ts +15 -0
- package/dist/commonjs/operations/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist/commonjs/operations/operationsDiscoveryOperations.js +48 -0
- package/dist/commonjs/operations/operationsDiscoveryOperations.js.map +1 -0
- package/dist/commonjs/operations/unresolvedDependencies.d.ts +38 -0
- package/dist/commonjs/operations/unresolvedDependencies.d.ts.map +1 -0
- package/dist/commonjs/operations/unresolvedDependencies.js +159 -0
- package/dist/commonjs/operations/unresolvedDependencies.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts +5 -0
- package/dist/commonjs/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/index.js +15 -0
- package/dist/commonjs/operationsInterfaces/index.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/moveCollections.d.ts +173 -0
- package/dist/commonjs/operationsInterfaces/moveCollections.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/moveCollections.js +10 -0
- package/dist/commonjs/operationsInterfaces/moveCollections.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/moveResources.d.ts +54 -0
- package/dist/commonjs/operationsInterfaces/moveResources.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/moveResources.js +10 -0
- package/dist/commonjs/operationsInterfaces/moveResources.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
- package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.js +10 -0
- package/dist/commonjs/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
- package/dist/commonjs/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
- package/dist/commonjs/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
- package/dist/commonjs/operationsInterfaces/unresolvedDependencies.js +10 -0
- package/dist/commonjs/operationsInterfaces/unresolvedDependencies.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 +36 -0
- package/dist/commonjs/pagingHelper.js.map +1 -0
- package/dist/commonjs/resourceMoverServiceAPI.d.ts +24 -0
- package/dist/commonjs/resourceMoverServiceAPI.d.ts.map +1 -0
- package/dist/commonjs/resourceMoverServiceAPI.js +103 -0
- package/dist/commonjs/resourceMoverServiceAPI.js.map +1 -0
- package/{types → dist/commonjs}/tsdoc-metadata.json +1 -1
- 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 +11 -0
- package/dist/esm/lroImpl.d.ts.map +1 -0
- package/dist/esm/lroImpl.js +14 -0
- package/dist/esm/lroImpl.js.map +1 -0
- package/dist/esm/models/index.d.ts +1338 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +142 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/mappers.d.ts +88 -0
- package/dist/esm/models/mappers.d.ts.map +1 -0
- package/dist/esm/models/mappers.js +2020 -0
- package/dist/esm/models/mappers.js.map +1 -0
- package/dist/esm/models/parameters.d.ts +23 -0
- package/dist/esm/models/parameters.d.ts.map +1 -0
- package/dist/esm/models/parameters.js +173 -0
- package/dist/esm/models/parameters.js.map +1 -0
- package/dist/esm/operations/index.d.ts +5 -0
- package/dist/esm/operations/index.d.ts.map +1 -0
- package/dist/esm/operations/index.js +12 -0
- package/dist/esm/operations/index.js.map +1 -0
- package/dist/esm/operations/moveCollections.d.ts +211 -0
- package/dist/esm/operations/moveCollections.d.ts.map +1 -0
- package/dist/esm/operations/moveCollections.js +1000 -0
- package/dist/esm/operations/moveCollections.js.map +1 -0
- package/dist/esm/operations/moveResources.d.ts +79 -0
- package/dist/esm/operations/moveResources.d.ts.map +1 -0
- package/dist/esm/operations/moveResources.js +366 -0
- package/dist/esm/operations/moveResources.js.map +1 -0
- package/dist/esm/operations/operationsDiscoveryOperations.d.ts +15 -0
- package/dist/esm/operations/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist/esm/operations/operationsDiscoveryOperations.js +43 -0
- package/dist/esm/operations/operationsDiscoveryOperations.js.map +1 -0
- package/dist/esm/operations/unresolvedDependencies.d.ts +38 -0
- package/dist/esm/operations/unresolvedDependencies.d.ts.map +1 -0
- package/dist/esm/operations/unresolvedDependencies.js +155 -0
- package/dist/esm/operations/unresolvedDependencies.js.map +1 -0
- package/dist/esm/operationsInterfaces/index.d.ts +5 -0
- package/dist/esm/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/index.js +12 -0
- package/dist/esm/operationsInterfaces/index.js.map +1 -0
- package/dist/esm/operationsInterfaces/moveCollections.d.ts +173 -0
- package/dist/esm/operationsInterfaces/moveCollections.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/moveCollections.js +9 -0
- package/dist/esm/operationsInterfaces/moveCollections.js.map +1 -0
- package/dist/esm/operationsInterfaces/moveResources.d.ts +54 -0
- package/dist/esm/operationsInterfaces/moveResources.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/moveResources.js +9 -0
- package/dist/esm/operationsInterfaces/moveResources.js.map +1 -0
- package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
- package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.js +9 -0
- package/dist/esm/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
- package/dist/esm/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
- package/dist/esm/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
- package/dist/esm/operationsInterfaces/unresolvedDependencies.js +9 -0
- package/dist/esm/operationsInterfaces/unresolvedDependencies.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 +32 -0
- package/dist/esm/pagingHelper.js.map +1 -0
- package/dist/esm/resourceMoverServiceAPI.d.ts +24 -0
- package/dist/esm/resourceMoverServiceAPI.d.ts.map +1 -0
- package/dist/esm/resourceMoverServiceAPI.js +98 -0
- package/dist/esm/resourceMoverServiceAPI.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 +11 -0
- package/dist/react-native/lroImpl.d.ts.map +1 -0
- package/dist/react-native/lroImpl.js +14 -0
- package/dist/react-native/lroImpl.js.map +1 -0
- package/dist/react-native/models/index.d.ts +1338 -0
- package/dist/react-native/models/index.d.ts.map +1 -0
- package/dist/react-native/models/index.js +142 -0
- package/dist/react-native/models/index.js.map +1 -0
- package/dist/react-native/models/mappers.d.ts +88 -0
- package/dist/react-native/models/mappers.d.ts.map +1 -0
- package/dist/react-native/models/mappers.js +2020 -0
- package/dist/react-native/models/mappers.js.map +1 -0
- package/dist/react-native/models/parameters.d.ts +23 -0
- package/dist/react-native/models/parameters.d.ts.map +1 -0
- package/dist/react-native/models/parameters.js +173 -0
- package/dist/react-native/models/parameters.js.map +1 -0
- package/dist/react-native/operations/index.d.ts +5 -0
- package/dist/react-native/operations/index.d.ts.map +1 -0
- package/dist/react-native/operations/index.js +12 -0
- package/dist/react-native/operations/index.js.map +1 -0
- package/dist/react-native/operations/moveCollections.d.ts +211 -0
- package/dist/react-native/operations/moveCollections.d.ts.map +1 -0
- package/dist/react-native/operations/moveCollections.js +1000 -0
- package/dist/react-native/operations/moveCollections.js.map +1 -0
- package/dist/react-native/operations/moveResources.d.ts +79 -0
- package/dist/react-native/operations/moveResources.d.ts.map +1 -0
- package/dist/react-native/operations/moveResources.js +366 -0
- package/dist/react-native/operations/moveResources.js.map +1 -0
- package/dist/react-native/operations/operationsDiscoveryOperations.d.ts +15 -0
- package/dist/react-native/operations/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist/react-native/operations/operationsDiscoveryOperations.js +43 -0
- package/dist/react-native/operations/operationsDiscoveryOperations.js.map +1 -0
- package/dist/react-native/operations/unresolvedDependencies.d.ts +38 -0
- package/dist/react-native/operations/unresolvedDependencies.d.ts.map +1 -0
- package/dist/react-native/operations/unresolvedDependencies.js +155 -0
- package/dist/react-native/operations/unresolvedDependencies.js.map +1 -0
- package/dist/react-native/operationsInterfaces/index.d.ts +5 -0
- package/dist/react-native/operationsInterfaces/index.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/index.js +12 -0
- package/dist/react-native/operationsInterfaces/index.js.map +1 -0
- package/dist/react-native/operationsInterfaces/moveCollections.d.ts +173 -0
- package/dist/react-native/operationsInterfaces/moveCollections.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/moveCollections.js +9 -0
- package/dist/react-native/operationsInterfaces/moveCollections.js.map +1 -0
- package/dist/react-native/operationsInterfaces/moveResources.d.ts +54 -0
- package/dist/react-native/operationsInterfaces/moveResources.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/moveResources.js +9 -0
- package/dist/react-native/operationsInterfaces/moveResources.js.map +1 -0
- package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.d.ts +7 -0
- package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.js +9 -0
- package/dist/react-native/operationsInterfaces/operationsDiscoveryOperations.js.map +1 -0
- package/dist/react-native/operationsInterfaces/unresolvedDependencies.d.ts +13 -0
- package/dist/react-native/operationsInterfaces/unresolvedDependencies.d.ts.map +1 -0
- package/dist/react-native/operationsInterfaces/unresolvedDependencies.js +9 -0
- package/dist/react-native/operationsInterfaces/unresolvedDependencies.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 +32 -0
- package/dist/react-native/pagingHelper.js.map +1 -0
- package/dist/react-native/resourceMoverServiceAPI.d.ts +24 -0
- package/dist/react-native/resourceMoverServiceAPI.d.ts.map +1 -0
- package/dist/react-native/resourceMoverServiceAPI.js +98 -0
- package/dist/react-native/resourceMoverServiceAPI.js.map +1 -0
- package/package.json +67 -36
- package/dist/index.js +0 -4161
- 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/moveCollectionsBulkRemoveSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsBulkRemoveSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsCommitSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsCommitSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsCommitSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsCommitSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsCreateSample.js +0 -39
- package/dist-esm/samples-dev/moveCollectionsCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsDeleteSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsDiscardSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsDiscardSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsDiscardSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsDiscardSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsGetSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsGetSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsInitiateMoveSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.js +0 -51
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsByResourceGroupSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.js +0 -50
- package/dist-esm/samples-dev/moveCollectionsListMoveCollectionsBySubscriptionSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.js +0 -37
- package/dist-esm/samples-dev/moveCollectionsListRequiredForSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsPrepareSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsPrepareSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsPrepareSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsPrepareSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.js +0 -36
- package/dist-esm/samples-dev/moveCollectionsResolveDependenciesSample.js.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsUpdateSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveCollectionsUpdateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveCollectionsUpdateSample.js +0 -34
- package/dist-esm/samples-dev/moveCollectionsUpdateSample.js.map +0 -1
- package/dist-esm/samples-dev/moveResourcesCreateSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveResourcesCreateSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveResourcesCreateSample.js +0 -52
- package/dist-esm/samples-dev/moveResourcesCreateSample.js.map +0 -1
- package/dist-esm/samples-dev/moveResourcesDeleteSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveResourcesDeleteSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveResourcesDeleteSample.js +0 -37
- package/dist-esm/samples-dev/moveResourcesDeleteSample.js.map +0 -1
- package/dist-esm/samples-dev/moveResourcesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveResourcesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveResourcesGetSample.js +0 -37
- package/dist-esm/samples-dev/moveResourcesGetSample.js.map +0 -1
- package/dist-esm/samples-dev/moveResourcesListSample.d.ts +0 -2
- package/dist-esm/samples-dev/moveResourcesListSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/moveResourcesListSample.js +0 -52
- package/dist-esm/samples-dev/moveResourcesListSample.js.map +0 -1
- package/dist-esm/samples-dev/operationsDiscoveryGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/operationsDiscoveryGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/operationsDiscoveryGetSample.js +0 -33
- package/dist-esm/samples-dev/operationsDiscoveryGetSample.js.map +0 -1
- package/dist-esm/samples-dev/unresolvedDependenciesGetSample.d.ts +0 -2
- package/dist-esm/samples-dev/unresolvedDependenciesGetSample.d.ts.map +0 -1
- package/dist-esm/samples-dev/unresolvedDependenciesGetSample.js +0 -52
- package/dist-esm/samples-dev/unresolvedDependenciesGetSample.js.map +0 -1
- package/dist-esm/src/index.d.ts +0 -5
- 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/index.d.ts +0 -5
- package/dist-esm/src/operations/index.js.map +0 -1
- package/dist-esm/src/operations/moveCollections.d.ts.map +0 -1
- package/dist-esm/src/operations/moveCollections.js.map +0 -1
- package/dist-esm/src/operations/moveResources.d.ts.map +0 -1
- package/dist-esm/src/operations/moveResources.js.map +0 -1
- package/dist-esm/src/operations/operationsDiscoveryOperations.d.ts.map +0 -1
- package/dist-esm/src/operations/operationsDiscoveryOperations.js.map +0 -1
- package/dist-esm/src/operations/unresolvedDependencies.d.ts.map +0 -1
- package/dist-esm/src/operations/unresolvedDependencies.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/index.d.ts +0 -5
- package/dist-esm/src/operationsInterfaces/index.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/moveCollections.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/moveCollections.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/moveResources.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/moveResources.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/operationsDiscoveryOperations.js.map +0 -1
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.d.ts.map +0 -1
- package/dist-esm/src/operationsInterfaces/unresolvedDependencies.js.map +0 -1
- package/dist-esm/src/pagingHelper.js.map +0 -1
- package/dist-esm/src/resourceMoverServiceAPI.d.ts.map +0 -1
- package/dist-esm/src/resourceMoverServiceAPI.js.map +0 -1
- package/dist-esm/test/resourcemover_operations_test.spec.d.ts +0 -4
- package/dist-esm/test/resourcemover_operations_test.spec.d.ts.map +0 -1
- package/dist-esm/test/resourcemover_operations_test.spec.js +0 -122
- package/dist-esm/test/resourcemover_operations_test.spec.js.map +0 -1
- package/src/lroImpl.ts +0 -38
- package/src/models/index.ts +0 -1499
- package/src/models/mappers.ts +0 -2170
- package/src/models/parameters.ts +0 -208
- package/src/operations/index.ts +0 -12
- package/src/operations/moveCollections.ts +0 -1404
- package/src/operations/moveResources.ts +0 -520
- package/src/operations/operationsDiscoveryOperations.ts +0 -57
- package/src/operations/unresolvedDependencies.ts +0 -203
- package/src/operationsInterfaces/index.ts +0 -12
- package/src/operationsInterfaces/moveCollections.ts +0 -321
- package/src/operationsInterfaces/moveResources.ts +0 -111
- package/src/operationsInterfaces/operationsDiscoveryOperations.ts +0 -20
- package/src/operationsInterfaces/unresolvedDependencies.ts +0 -29
- package/src/pagingHelper.ts +0 -39
- package/src/resourceMoverServiceAPI.ts +0 -172
- 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}/lroImpl.js +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.d.ts +0 -0
- /package/{dist-esm/src → dist/browser}/models/index.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/mappers.js +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/moveCollections.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/moveResources.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/operationsDiscoveryOperations.js +0 -0
- /package/{dist-esm/src → dist/browser}/operationsInterfaces/unresolvedDependencies.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/{dist-esm/src → dist/browser}/pagingHelper.js +0 -0
package/dist/index.js
DELETED
|
@@ -1,4161 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var tslib = require('tslib');
|
|
6
|
-
var coreClient = require('@azure/core-client');
|
|
7
|
-
var coreRestPipeline = require('@azure/core-rest-pipeline');
|
|
8
|
-
var coreLro = require('@azure/core-lro');
|
|
9
|
-
|
|
10
|
-
function _interopNamespaceDefault(e) {
|
|
11
|
-
var n = Object.create(null);
|
|
12
|
-
if (e) {
|
|
13
|
-
Object.keys(e).forEach(function (k) {
|
|
14
|
-
if (k !== 'default') {
|
|
15
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return e[k]; }
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
n.default = e;
|
|
24
|
-
return Object.freeze(n);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
var coreClient__namespace = /*#__PURE__*/_interopNamespaceDefault(coreClient);
|
|
28
|
-
var coreRestPipeline__namespace = /*#__PURE__*/_interopNamespaceDefault(coreRestPipeline);
|
|
29
|
-
|
|
30
|
-
/*
|
|
31
|
-
* Copyright (c) Microsoft Corporation.
|
|
32
|
-
* Licensed under the MIT License.
|
|
33
|
-
*
|
|
34
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
35
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
36
|
-
*/
|
|
37
|
-
const pageMap = new WeakMap();
|
|
38
|
-
/**
|
|
39
|
-
* Given the last `.value` produced by the `byPage` iterator,
|
|
40
|
-
* returns a continuation token that can be used to begin paging from
|
|
41
|
-
* that point later.
|
|
42
|
-
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
43
|
-
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
44
|
-
*/
|
|
45
|
-
function getContinuationToken(page) {
|
|
46
|
-
var _a;
|
|
47
|
-
if (typeof page !== "object" || page === null) {
|
|
48
|
-
return undefined;
|
|
49
|
-
}
|
|
50
|
-
return (_a = pageMap.get(page)) === null || _a === void 0 ? void 0 : _a.continuationToken;
|
|
51
|
-
}
|
|
52
|
-
function setContinuationToken(page, continuationToken) {
|
|
53
|
-
var _a;
|
|
54
|
-
if (typeof page !== "object" || page === null || !continuationToken) {
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
const pageInfo = (_a = pageMap.get(page)) !== null && _a !== void 0 ? _a : {};
|
|
58
|
-
pageInfo.continuationToken = continuationToken;
|
|
59
|
-
pageMap.set(page, pageInfo);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/*
|
|
63
|
-
* Copyright (c) Microsoft Corporation.
|
|
64
|
-
* Licensed under the MIT License.
|
|
65
|
-
*
|
|
66
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
67
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
68
|
-
*/
|
|
69
|
-
/** Known values of {@link ResourceIdentityType} that the service accepts. */
|
|
70
|
-
exports.KnownResourceIdentityType = void 0;
|
|
71
|
-
(function (KnownResourceIdentityType) {
|
|
72
|
-
/** None */
|
|
73
|
-
KnownResourceIdentityType["None"] = "None";
|
|
74
|
-
/** SystemAssigned */
|
|
75
|
-
KnownResourceIdentityType["SystemAssigned"] = "SystemAssigned";
|
|
76
|
-
/** UserAssigned */
|
|
77
|
-
KnownResourceIdentityType["UserAssigned"] = "UserAssigned";
|
|
78
|
-
})(exports.KnownResourceIdentityType || (exports.KnownResourceIdentityType = {}));
|
|
79
|
-
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
80
|
-
exports.KnownProvisioningState = void 0;
|
|
81
|
-
(function (KnownProvisioningState) {
|
|
82
|
-
/** Succeeded */
|
|
83
|
-
KnownProvisioningState["Succeeded"] = "Succeeded";
|
|
84
|
-
/** Updating */
|
|
85
|
-
KnownProvisioningState["Updating"] = "Updating";
|
|
86
|
-
/** Creating */
|
|
87
|
-
KnownProvisioningState["Creating"] = "Creating";
|
|
88
|
-
/** Failed */
|
|
89
|
-
KnownProvisioningState["Failed"] = "Failed";
|
|
90
|
-
})(exports.KnownProvisioningState || (exports.KnownProvisioningState = {}));
|
|
91
|
-
/** Known values of {@link MoveType} that the service accepts. */
|
|
92
|
-
exports.KnownMoveType = void 0;
|
|
93
|
-
(function (KnownMoveType) {
|
|
94
|
-
/** RegionToRegion */
|
|
95
|
-
KnownMoveType["RegionToRegion"] = "RegionToRegion";
|
|
96
|
-
/** RegionToZone */
|
|
97
|
-
KnownMoveType["RegionToZone"] = "RegionToZone";
|
|
98
|
-
})(exports.KnownMoveType || (exports.KnownMoveType = {}));
|
|
99
|
-
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
100
|
-
exports.KnownCreatedByType = void 0;
|
|
101
|
-
(function (KnownCreatedByType) {
|
|
102
|
-
/** User */
|
|
103
|
-
KnownCreatedByType["User"] = "User";
|
|
104
|
-
/** Application */
|
|
105
|
-
KnownCreatedByType["Application"] = "Application";
|
|
106
|
-
/** ManagedIdentity */
|
|
107
|
-
KnownCreatedByType["ManagedIdentity"] = "ManagedIdentity";
|
|
108
|
-
/** Key */
|
|
109
|
-
KnownCreatedByType["Key"] = "Key";
|
|
110
|
-
})(exports.KnownCreatedByType || (exports.KnownCreatedByType = {}));
|
|
111
|
-
/** Known values of {@link MoveResourceInputType} that the service accepts. */
|
|
112
|
-
exports.KnownMoveResourceInputType = void 0;
|
|
113
|
-
(function (KnownMoveResourceInputType) {
|
|
114
|
-
/** MoveResourceId */
|
|
115
|
-
KnownMoveResourceInputType["MoveResourceId"] = "MoveResourceId";
|
|
116
|
-
/** MoveResourceSourceId */
|
|
117
|
-
KnownMoveResourceInputType["MoveResourceSourceId"] = "MoveResourceSourceId";
|
|
118
|
-
})(exports.KnownMoveResourceInputType || (exports.KnownMoveResourceInputType = {}));
|
|
119
|
-
/** Known values of {@link MoveState} that the service accepts. */
|
|
120
|
-
exports.KnownMoveState = void 0;
|
|
121
|
-
(function (KnownMoveState) {
|
|
122
|
-
/** AssignmentPending */
|
|
123
|
-
KnownMoveState["AssignmentPending"] = "AssignmentPending";
|
|
124
|
-
/** PreparePending */
|
|
125
|
-
KnownMoveState["PreparePending"] = "PreparePending";
|
|
126
|
-
/** PrepareInProgress */
|
|
127
|
-
KnownMoveState["PrepareInProgress"] = "PrepareInProgress";
|
|
128
|
-
/** PrepareFailed */
|
|
129
|
-
KnownMoveState["PrepareFailed"] = "PrepareFailed";
|
|
130
|
-
/** MovePending */
|
|
131
|
-
KnownMoveState["MovePending"] = "MovePending";
|
|
132
|
-
/** MoveInProgress */
|
|
133
|
-
KnownMoveState["MoveInProgress"] = "MoveInProgress";
|
|
134
|
-
/** MoveFailed */
|
|
135
|
-
KnownMoveState["MoveFailed"] = "MoveFailed";
|
|
136
|
-
/** DiscardInProgress */
|
|
137
|
-
KnownMoveState["DiscardInProgress"] = "DiscardInProgress";
|
|
138
|
-
/** DiscardFailed */
|
|
139
|
-
KnownMoveState["DiscardFailed"] = "DiscardFailed";
|
|
140
|
-
/** CommitPending */
|
|
141
|
-
KnownMoveState["CommitPending"] = "CommitPending";
|
|
142
|
-
/** CommitInProgress */
|
|
143
|
-
KnownMoveState["CommitInProgress"] = "CommitInProgress";
|
|
144
|
-
/** CommitFailed */
|
|
145
|
-
KnownMoveState["CommitFailed"] = "CommitFailed";
|
|
146
|
-
/** Committed */
|
|
147
|
-
KnownMoveState["Committed"] = "Committed";
|
|
148
|
-
/** DeleteSourcePending */
|
|
149
|
-
KnownMoveState["DeleteSourcePending"] = "DeleteSourcePending";
|
|
150
|
-
/** ResourceMoveCompleted */
|
|
151
|
-
KnownMoveState["ResourceMoveCompleted"] = "ResourceMoveCompleted";
|
|
152
|
-
})(exports.KnownMoveState || (exports.KnownMoveState = {}));
|
|
153
|
-
/** Known values of {@link JobName} that the service accepts. */
|
|
154
|
-
exports.KnownJobName = void 0;
|
|
155
|
-
(function (KnownJobName) {
|
|
156
|
-
/** InitialSync */
|
|
157
|
-
KnownJobName["InitialSync"] = "InitialSync";
|
|
158
|
-
})(exports.KnownJobName || (exports.KnownJobName = {}));
|
|
159
|
-
/** Known values of {@link ResolutionType} that the service accepts. */
|
|
160
|
-
exports.KnownResolutionType = void 0;
|
|
161
|
-
(function (KnownResolutionType) {
|
|
162
|
-
/** Manual */
|
|
163
|
-
KnownResolutionType["Manual"] = "Manual";
|
|
164
|
-
/** Automatic */
|
|
165
|
-
KnownResolutionType["Automatic"] = "Automatic";
|
|
166
|
-
})(exports.KnownResolutionType || (exports.KnownResolutionType = {}));
|
|
167
|
-
/** Known values of {@link DependencyType} that the service accepts. */
|
|
168
|
-
exports.KnownDependencyType = void 0;
|
|
169
|
-
(function (KnownDependencyType) {
|
|
170
|
-
/** RequiredForPrepare */
|
|
171
|
-
KnownDependencyType["RequiredForPrepare"] = "RequiredForPrepare";
|
|
172
|
-
/** RequiredForMove */
|
|
173
|
-
KnownDependencyType["RequiredForMove"] = "RequiredForMove";
|
|
174
|
-
})(exports.KnownDependencyType || (exports.KnownDependencyType = {}));
|
|
175
|
-
/** Known values of {@link DependencyLevel} that the service accepts. */
|
|
176
|
-
exports.KnownDependencyLevel = void 0;
|
|
177
|
-
(function (KnownDependencyLevel) {
|
|
178
|
-
/** Direct */
|
|
179
|
-
KnownDependencyLevel["Direct"] = "Direct";
|
|
180
|
-
/** Descendant */
|
|
181
|
-
KnownDependencyLevel["Descendant"] = "Descendant";
|
|
182
|
-
})(exports.KnownDependencyLevel || (exports.KnownDependencyLevel = {}));
|
|
183
|
-
/** Known values of {@link TargetAvailabilityZone} that the service accepts. */
|
|
184
|
-
exports.KnownTargetAvailabilityZone = void 0;
|
|
185
|
-
(function (KnownTargetAvailabilityZone) {
|
|
186
|
-
/** One */
|
|
187
|
-
KnownTargetAvailabilityZone["One"] = "1";
|
|
188
|
-
/** Two */
|
|
189
|
-
KnownTargetAvailabilityZone["Two"] = "2";
|
|
190
|
-
/** Three */
|
|
191
|
-
KnownTargetAvailabilityZone["Three"] = "3";
|
|
192
|
-
/** NA */
|
|
193
|
-
KnownTargetAvailabilityZone["NA"] = "NA";
|
|
194
|
-
})(exports.KnownTargetAvailabilityZone || (exports.KnownTargetAvailabilityZone = {}));
|
|
195
|
-
/** Known values of {@link ZoneRedundant} that the service accepts. */
|
|
196
|
-
exports.KnownZoneRedundant = void 0;
|
|
197
|
-
(function (KnownZoneRedundant) {
|
|
198
|
-
/** Enable */
|
|
199
|
-
KnownZoneRedundant["Enable"] = "Enable";
|
|
200
|
-
/** Disable */
|
|
201
|
-
KnownZoneRedundant["Disable"] = "Disable";
|
|
202
|
-
})(exports.KnownZoneRedundant || (exports.KnownZoneRedundant = {}));
|
|
203
|
-
|
|
204
|
-
/*
|
|
205
|
-
* Copyright (c) Microsoft Corporation.
|
|
206
|
-
* Licensed under the MIT License.
|
|
207
|
-
*
|
|
208
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
209
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
210
|
-
*/
|
|
211
|
-
const MoveCollection = {
|
|
212
|
-
type: {
|
|
213
|
-
name: "Composite",
|
|
214
|
-
className: "MoveCollection",
|
|
215
|
-
modelProperties: {
|
|
216
|
-
id: {
|
|
217
|
-
serializedName: "id",
|
|
218
|
-
readOnly: true,
|
|
219
|
-
type: {
|
|
220
|
-
name: "String"
|
|
221
|
-
}
|
|
222
|
-
},
|
|
223
|
-
name: {
|
|
224
|
-
serializedName: "name",
|
|
225
|
-
readOnly: true,
|
|
226
|
-
type: {
|
|
227
|
-
name: "String"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
type: {
|
|
231
|
-
serializedName: "type",
|
|
232
|
-
readOnly: true,
|
|
233
|
-
type: {
|
|
234
|
-
name: "String"
|
|
235
|
-
}
|
|
236
|
-
},
|
|
237
|
-
etag: {
|
|
238
|
-
serializedName: "etag",
|
|
239
|
-
readOnly: true,
|
|
240
|
-
type: {
|
|
241
|
-
name: "String"
|
|
242
|
-
}
|
|
243
|
-
},
|
|
244
|
-
tags: {
|
|
245
|
-
serializedName: "tags",
|
|
246
|
-
type: {
|
|
247
|
-
name: "Dictionary",
|
|
248
|
-
value: { type: { name: "String" } }
|
|
249
|
-
}
|
|
250
|
-
},
|
|
251
|
-
location: {
|
|
252
|
-
serializedName: "location",
|
|
253
|
-
type: {
|
|
254
|
-
name: "String"
|
|
255
|
-
}
|
|
256
|
-
},
|
|
257
|
-
identity: {
|
|
258
|
-
serializedName: "identity",
|
|
259
|
-
type: {
|
|
260
|
-
name: "Composite",
|
|
261
|
-
className: "Identity"
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
properties: {
|
|
265
|
-
serializedName: "properties",
|
|
266
|
-
type: {
|
|
267
|
-
name: "Composite",
|
|
268
|
-
className: "MoveCollectionProperties"
|
|
269
|
-
}
|
|
270
|
-
},
|
|
271
|
-
systemData: {
|
|
272
|
-
serializedName: "systemData",
|
|
273
|
-
type: {
|
|
274
|
-
name: "Composite",
|
|
275
|
-
className: "SystemData"
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
};
|
|
281
|
-
const Identity = {
|
|
282
|
-
type: {
|
|
283
|
-
name: "Composite",
|
|
284
|
-
className: "Identity",
|
|
285
|
-
modelProperties: {
|
|
286
|
-
type: {
|
|
287
|
-
serializedName: "type",
|
|
288
|
-
type: {
|
|
289
|
-
name: "String"
|
|
290
|
-
}
|
|
291
|
-
},
|
|
292
|
-
principalId: {
|
|
293
|
-
serializedName: "principalId",
|
|
294
|
-
type: {
|
|
295
|
-
name: "String"
|
|
296
|
-
}
|
|
297
|
-
},
|
|
298
|
-
tenantId: {
|
|
299
|
-
serializedName: "tenantId",
|
|
300
|
-
type: {
|
|
301
|
-
name: "String"
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
};
|
|
307
|
-
const MoveCollectionProperties = {
|
|
308
|
-
type: {
|
|
309
|
-
name: "Composite",
|
|
310
|
-
className: "MoveCollectionProperties",
|
|
311
|
-
modelProperties: {
|
|
312
|
-
sourceRegion: {
|
|
313
|
-
serializedName: "sourceRegion",
|
|
314
|
-
type: {
|
|
315
|
-
name: "String"
|
|
316
|
-
}
|
|
317
|
-
},
|
|
318
|
-
targetRegion: {
|
|
319
|
-
serializedName: "targetRegion",
|
|
320
|
-
type: {
|
|
321
|
-
name: "String"
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
moveRegion: {
|
|
325
|
-
serializedName: "moveRegion",
|
|
326
|
-
type: {
|
|
327
|
-
name: "String"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
provisioningState: {
|
|
331
|
-
serializedName: "provisioningState",
|
|
332
|
-
readOnly: true,
|
|
333
|
-
type: {
|
|
334
|
-
name: "String"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
version: {
|
|
338
|
-
serializedName: "version",
|
|
339
|
-
type: {
|
|
340
|
-
name: "String"
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
moveType: {
|
|
344
|
-
serializedName: "moveType",
|
|
345
|
-
type: {
|
|
346
|
-
name: "String"
|
|
347
|
-
}
|
|
348
|
-
},
|
|
349
|
-
errors: {
|
|
350
|
-
serializedName: "errors",
|
|
351
|
-
type: {
|
|
352
|
-
name: "Composite",
|
|
353
|
-
className: "MoveCollectionPropertiesErrors"
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
};
|
|
359
|
-
const MoveResourceError = {
|
|
360
|
-
type: {
|
|
361
|
-
name: "Composite",
|
|
362
|
-
className: "MoveResourceError",
|
|
363
|
-
modelProperties: {
|
|
364
|
-
properties: {
|
|
365
|
-
serializedName: "properties",
|
|
366
|
-
type: {
|
|
367
|
-
name: "Composite",
|
|
368
|
-
className: "MoveResourceErrorBody"
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
}
|
|
373
|
-
};
|
|
374
|
-
const MoveResourceErrorBody = {
|
|
375
|
-
type: {
|
|
376
|
-
name: "Composite",
|
|
377
|
-
className: "MoveResourceErrorBody",
|
|
378
|
-
modelProperties: {
|
|
379
|
-
code: {
|
|
380
|
-
serializedName: "code",
|
|
381
|
-
readOnly: true,
|
|
382
|
-
type: {
|
|
383
|
-
name: "String"
|
|
384
|
-
}
|
|
385
|
-
},
|
|
386
|
-
message: {
|
|
387
|
-
serializedName: "message",
|
|
388
|
-
readOnly: true,
|
|
389
|
-
type: {
|
|
390
|
-
name: "String"
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
target: {
|
|
394
|
-
serializedName: "target",
|
|
395
|
-
readOnly: true,
|
|
396
|
-
type: {
|
|
397
|
-
name: "String"
|
|
398
|
-
}
|
|
399
|
-
},
|
|
400
|
-
details: {
|
|
401
|
-
serializedName: "details",
|
|
402
|
-
readOnly: true,
|
|
403
|
-
type: {
|
|
404
|
-
name: "Sequence",
|
|
405
|
-
element: {
|
|
406
|
-
type: {
|
|
407
|
-
name: "Composite",
|
|
408
|
-
className: "MoveResourceErrorBody"
|
|
409
|
-
}
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
};
|
|
416
|
-
const SystemData = {
|
|
417
|
-
type: {
|
|
418
|
-
name: "Composite",
|
|
419
|
-
className: "SystemData",
|
|
420
|
-
modelProperties: {
|
|
421
|
-
createdBy: {
|
|
422
|
-
serializedName: "createdBy",
|
|
423
|
-
type: {
|
|
424
|
-
name: "String"
|
|
425
|
-
}
|
|
426
|
-
},
|
|
427
|
-
createdByType: {
|
|
428
|
-
serializedName: "createdByType",
|
|
429
|
-
type: {
|
|
430
|
-
name: "String"
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
createdAt: {
|
|
434
|
-
serializedName: "createdAt",
|
|
435
|
-
type: {
|
|
436
|
-
name: "DateTime"
|
|
437
|
-
}
|
|
438
|
-
},
|
|
439
|
-
lastModifiedBy: {
|
|
440
|
-
serializedName: "lastModifiedBy",
|
|
441
|
-
type: {
|
|
442
|
-
name: "String"
|
|
443
|
-
}
|
|
444
|
-
},
|
|
445
|
-
lastModifiedByType: {
|
|
446
|
-
serializedName: "lastModifiedByType",
|
|
447
|
-
type: {
|
|
448
|
-
name: "String"
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
lastModifiedAt: {
|
|
452
|
-
serializedName: "lastModifiedAt",
|
|
453
|
-
type: {
|
|
454
|
-
name: "DateTime"
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
const CloudError = {
|
|
461
|
-
type: {
|
|
462
|
-
name: "Composite",
|
|
463
|
-
className: "CloudError",
|
|
464
|
-
modelProperties: {
|
|
465
|
-
error: {
|
|
466
|
-
serializedName: "error",
|
|
467
|
-
type: {
|
|
468
|
-
name: "Composite",
|
|
469
|
-
className: "CloudErrorBody"
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
|
-
}
|
|
474
|
-
};
|
|
475
|
-
const CloudErrorBody = {
|
|
476
|
-
type: {
|
|
477
|
-
name: "Composite",
|
|
478
|
-
className: "CloudErrorBody",
|
|
479
|
-
modelProperties: {
|
|
480
|
-
code: {
|
|
481
|
-
serializedName: "code",
|
|
482
|
-
type: {
|
|
483
|
-
name: "String"
|
|
484
|
-
}
|
|
485
|
-
},
|
|
486
|
-
message: {
|
|
487
|
-
serializedName: "message",
|
|
488
|
-
type: {
|
|
489
|
-
name: "String"
|
|
490
|
-
}
|
|
491
|
-
},
|
|
492
|
-
target: {
|
|
493
|
-
serializedName: "target",
|
|
494
|
-
type: {
|
|
495
|
-
name: "String"
|
|
496
|
-
}
|
|
497
|
-
},
|
|
498
|
-
details: {
|
|
499
|
-
serializedName: "details",
|
|
500
|
-
type: {
|
|
501
|
-
name: "Sequence",
|
|
502
|
-
element: {
|
|
503
|
-
type: {
|
|
504
|
-
name: "Composite",
|
|
505
|
-
className: "CloudErrorBody"
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
};
|
|
513
|
-
const UpdateMoveCollectionRequest = {
|
|
514
|
-
type: {
|
|
515
|
-
name: "Composite",
|
|
516
|
-
className: "UpdateMoveCollectionRequest",
|
|
517
|
-
modelProperties: {
|
|
518
|
-
tags: {
|
|
519
|
-
serializedName: "tags",
|
|
520
|
-
type: {
|
|
521
|
-
name: "Dictionary",
|
|
522
|
-
value: { type: { name: "String" } }
|
|
523
|
-
}
|
|
524
|
-
},
|
|
525
|
-
identity: {
|
|
526
|
-
serializedName: "identity",
|
|
527
|
-
type: {
|
|
528
|
-
name: "Composite",
|
|
529
|
-
className: "Identity"
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
};
|
|
535
|
-
const OperationStatus = {
|
|
536
|
-
type: {
|
|
537
|
-
name: "Composite",
|
|
538
|
-
className: "OperationStatus",
|
|
539
|
-
modelProperties: {
|
|
540
|
-
id: {
|
|
541
|
-
serializedName: "id",
|
|
542
|
-
readOnly: true,
|
|
543
|
-
type: {
|
|
544
|
-
name: "String"
|
|
545
|
-
}
|
|
546
|
-
},
|
|
547
|
-
name: {
|
|
548
|
-
serializedName: "name",
|
|
549
|
-
readOnly: true,
|
|
550
|
-
type: {
|
|
551
|
-
name: "String"
|
|
552
|
-
}
|
|
553
|
-
},
|
|
554
|
-
status: {
|
|
555
|
-
serializedName: "status",
|
|
556
|
-
readOnly: true,
|
|
557
|
-
type: {
|
|
558
|
-
name: "String"
|
|
559
|
-
}
|
|
560
|
-
},
|
|
561
|
-
startTime: {
|
|
562
|
-
serializedName: "startTime",
|
|
563
|
-
readOnly: true,
|
|
564
|
-
type: {
|
|
565
|
-
name: "String"
|
|
566
|
-
}
|
|
567
|
-
},
|
|
568
|
-
endTime: {
|
|
569
|
-
serializedName: "endTime",
|
|
570
|
-
readOnly: true,
|
|
571
|
-
type: {
|
|
572
|
-
name: "String"
|
|
573
|
-
}
|
|
574
|
-
},
|
|
575
|
-
error: {
|
|
576
|
-
serializedName: "error",
|
|
577
|
-
type: {
|
|
578
|
-
name: "Composite",
|
|
579
|
-
className: "OperationStatusError"
|
|
580
|
-
}
|
|
581
|
-
},
|
|
582
|
-
properties: {
|
|
583
|
-
serializedName: "properties",
|
|
584
|
-
readOnly: true,
|
|
585
|
-
type: {
|
|
586
|
-
name: "Dictionary",
|
|
587
|
-
value: { type: { name: "any" } }
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
};
|
|
593
|
-
const OperationStatusError = {
|
|
594
|
-
type: {
|
|
595
|
-
name: "Composite",
|
|
596
|
-
className: "OperationStatusError",
|
|
597
|
-
modelProperties: {
|
|
598
|
-
code: {
|
|
599
|
-
serializedName: "code",
|
|
600
|
-
readOnly: true,
|
|
601
|
-
type: {
|
|
602
|
-
name: "String"
|
|
603
|
-
}
|
|
604
|
-
},
|
|
605
|
-
message: {
|
|
606
|
-
serializedName: "message",
|
|
607
|
-
readOnly: true,
|
|
608
|
-
type: {
|
|
609
|
-
name: "String"
|
|
610
|
-
}
|
|
611
|
-
},
|
|
612
|
-
details: {
|
|
613
|
-
serializedName: "details",
|
|
614
|
-
readOnly: true,
|
|
615
|
-
type: {
|
|
616
|
-
name: "Sequence",
|
|
617
|
-
element: {
|
|
618
|
-
type: {
|
|
619
|
-
name: "Composite",
|
|
620
|
-
className: "OperationStatusError"
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
additionalInfo: {
|
|
626
|
-
serializedName: "additionalInfo",
|
|
627
|
-
readOnly: true,
|
|
628
|
-
type: {
|
|
629
|
-
name: "Sequence",
|
|
630
|
-
element: {
|
|
631
|
-
type: {
|
|
632
|
-
name: "Composite",
|
|
633
|
-
className: "OperationErrorAdditionalInfo"
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
}
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
}
|
|
640
|
-
};
|
|
641
|
-
const OperationErrorAdditionalInfo = {
|
|
642
|
-
type: {
|
|
643
|
-
name: "Composite",
|
|
644
|
-
className: "OperationErrorAdditionalInfo",
|
|
645
|
-
modelProperties: {
|
|
646
|
-
type: {
|
|
647
|
-
serializedName: "type",
|
|
648
|
-
readOnly: true,
|
|
649
|
-
type: {
|
|
650
|
-
name: "String"
|
|
651
|
-
}
|
|
652
|
-
},
|
|
653
|
-
info: {
|
|
654
|
-
serializedName: "info",
|
|
655
|
-
type: {
|
|
656
|
-
name: "Composite",
|
|
657
|
-
className: "MoveErrorInfo"
|
|
658
|
-
}
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
}
|
|
662
|
-
};
|
|
663
|
-
const MoveErrorInfo = {
|
|
664
|
-
type: {
|
|
665
|
-
name: "Composite",
|
|
666
|
-
className: "MoveErrorInfo",
|
|
667
|
-
modelProperties: {
|
|
668
|
-
moveResources: {
|
|
669
|
-
serializedName: "moveResources",
|
|
670
|
-
readOnly: true,
|
|
671
|
-
type: {
|
|
672
|
-
name: "Sequence",
|
|
673
|
-
element: {
|
|
674
|
-
type: {
|
|
675
|
-
name: "Composite",
|
|
676
|
-
className: "AffectedMoveResource"
|
|
677
|
-
}
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
};
|
|
684
|
-
const AffectedMoveResource = {
|
|
685
|
-
type: {
|
|
686
|
-
name: "Composite",
|
|
687
|
-
className: "AffectedMoveResource",
|
|
688
|
-
modelProperties: {
|
|
689
|
-
id: {
|
|
690
|
-
serializedName: "id",
|
|
691
|
-
readOnly: true,
|
|
692
|
-
type: {
|
|
693
|
-
name: "String"
|
|
694
|
-
}
|
|
695
|
-
},
|
|
696
|
-
sourceId: {
|
|
697
|
-
serializedName: "sourceId",
|
|
698
|
-
readOnly: true,
|
|
699
|
-
type: {
|
|
700
|
-
name: "String"
|
|
701
|
-
}
|
|
702
|
-
},
|
|
703
|
-
moveResources: {
|
|
704
|
-
serializedName: "moveResources",
|
|
705
|
-
readOnly: true,
|
|
706
|
-
type: {
|
|
707
|
-
name: "Sequence",
|
|
708
|
-
element: {
|
|
709
|
-
type: {
|
|
710
|
-
name: "Composite",
|
|
711
|
-
className: "AffectedMoveResource"
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
}
|
|
718
|
-
};
|
|
719
|
-
const PrepareRequest = {
|
|
720
|
-
type: {
|
|
721
|
-
name: "Composite",
|
|
722
|
-
className: "PrepareRequest",
|
|
723
|
-
modelProperties: {
|
|
724
|
-
validateOnly: {
|
|
725
|
-
serializedName: "validateOnly",
|
|
726
|
-
type: {
|
|
727
|
-
name: "Boolean"
|
|
728
|
-
}
|
|
729
|
-
},
|
|
730
|
-
moveResources: {
|
|
731
|
-
serializedName: "moveResources",
|
|
732
|
-
required: true,
|
|
733
|
-
type: {
|
|
734
|
-
name: "Sequence",
|
|
735
|
-
element: {
|
|
736
|
-
type: {
|
|
737
|
-
name: "String"
|
|
738
|
-
}
|
|
739
|
-
}
|
|
740
|
-
}
|
|
741
|
-
},
|
|
742
|
-
moveResourceInputType: {
|
|
743
|
-
serializedName: "moveResourceInputType",
|
|
744
|
-
type: {
|
|
745
|
-
name: "String"
|
|
746
|
-
}
|
|
747
|
-
}
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
};
|
|
751
|
-
const ResourceMoveRequest = {
|
|
752
|
-
type: {
|
|
753
|
-
name: "Composite",
|
|
754
|
-
className: "ResourceMoveRequest",
|
|
755
|
-
modelProperties: {
|
|
756
|
-
validateOnly: {
|
|
757
|
-
serializedName: "validateOnly",
|
|
758
|
-
type: {
|
|
759
|
-
name: "Boolean"
|
|
760
|
-
}
|
|
761
|
-
},
|
|
762
|
-
moveResources: {
|
|
763
|
-
serializedName: "moveResources",
|
|
764
|
-
required: true,
|
|
765
|
-
type: {
|
|
766
|
-
name: "Sequence",
|
|
767
|
-
element: {
|
|
768
|
-
type: {
|
|
769
|
-
name: "String"
|
|
770
|
-
}
|
|
771
|
-
}
|
|
772
|
-
}
|
|
773
|
-
},
|
|
774
|
-
moveResourceInputType: {
|
|
775
|
-
serializedName: "moveResourceInputType",
|
|
776
|
-
type: {
|
|
777
|
-
name: "String"
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
};
|
|
783
|
-
const CommitRequest = {
|
|
784
|
-
type: {
|
|
785
|
-
name: "Composite",
|
|
786
|
-
className: "CommitRequest",
|
|
787
|
-
modelProperties: {
|
|
788
|
-
validateOnly: {
|
|
789
|
-
serializedName: "validateOnly",
|
|
790
|
-
type: {
|
|
791
|
-
name: "Boolean"
|
|
792
|
-
}
|
|
793
|
-
},
|
|
794
|
-
moveResources: {
|
|
795
|
-
serializedName: "moveResources",
|
|
796
|
-
required: true,
|
|
797
|
-
type: {
|
|
798
|
-
name: "Sequence",
|
|
799
|
-
element: {
|
|
800
|
-
type: {
|
|
801
|
-
name: "String"
|
|
802
|
-
}
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
},
|
|
806
|
-
moveResourceInputType: {
|
|
807
|
-
serializedName: "moveResourceInputType",
|
|
808
|
-
type: {
|
|
809
|
-
name: "String"
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
};
|
|
815
|
-
const DiscardRequest = {
|
|
816
|
-
type: {
|
|
817
|
-
name: "Composite",
|
|
818
|
-
className: "DiscardRequest",
|
|
819
|
-
modelProperties: {
|
|
820
|
-
validateOnly: {
|
|
821
|
-
serializedName: "validateOnly",
|
|
822
|
-
type: {
|
|
823
|
-
name: "Boolean"
|
|
824
|
-
}
|
|
825
|
-
},
|
|
826
|
-
moveResources: {
|
|
827
|
-
serializedName: "moveResources",
|
|
828
|
-
required: true,
|
|
829
|
-
type: {
|
|
830
|
-
name: "Sequence",
|
|
831
|
-
element: {
|
|
832
|
-
type: {
|
|
833
|
-
name: "String"
|
|
834
|
-
}
|
|
835
|
-
}
|
|
836
|
-
}
|
|
837
|
-
},
|
|
838
|
-
moveResourceInputType: {
|
|
839
|
-
serializedName: "moveResourceInputType",
|
|
840
|
-
type: {
|
|
841
|
-
name: "String"
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
}
|
|
845
|
-
}
|
|
846
|
-
};
|
|
847
|
-
const MoveResourceCollection = {
|
|
848
|
-
type: {
|
|
849
|
-
name: "Composite",
|
|
850
|
-
className: "MoveResourceCollection",
|
|
851
|
-
modelProperties: {
|
|
852
|
-
value: {
|
|
853
|
-
serializedName: "value",
|
|
854
|
-
type: {
|
|
855
|
-
name: "Sequence",
|
|
856
|
-
element: {
|
|
857
|
-
type: {
|
|
858
|
-
name: "Composite",
|
|
859
|
-
className: "MoveResource"
|
|
860
|
-
}
|
|
861
|
-
}
|
|
862
|
-
}
|
|
863
|
-
},
|
|
864
|
-
nextLink: {
|
|
865
|
-
serializedName: "nextLink",
|
|
866
|
-
type: {
|
|
867
|
-
name: "String"
|
|
868
|
-
}
|
|
869
|
-
},
|
|
870
|
-
summaryCollection: {
|
|
871
|
-
serializedName: "summaryCollection",
|
|
872
|
-
type: {
|
|
873
|
-
name: "Composite",
|
|
874
|
-
className: "SummaryCollection"
|
|
875
|
-
}
|
|
876
|
-
},
|
|
877
|
-
totalCount: {
|
|
878
|
-
serializedName: "totalCount",
|
|
879
|
-
readOnly: true,
|
|
880
|
-
type: {
|
|
881
|
-
name: "Number"
|
|
882
|
-
}
|
|
883
|
-
}
|
|
884
|
-
}
|
|
885
|
-
}
|
|
886
|
-
};
|
|
887
|
-
const MoveResource = {
|
|
888
|
-
type: {
|
|
889
|
-
name: "Composite",
|
|
890
|
-
className: "MoveResource",
|
|
891
|
-
modelProperties: {
|
|
892
|
-
id: {
|
|
893
|
-
serializedName: "id",
|
|
894
|
-
readOnly: true,
|
|
895
|
-
type: {
|
|
896
|
-
name: "String"
|
|
897
|
-
}
|
|
898
|
-
},
|
|
899
|
-
name: {
|
|
900
|
-
serializedName: "name",
|
|
901
|
-
readOnly: true,
|
|
902
|
-
type: {
|
|
903
|
-
name: "String"
|
|
904
|
-
}
|
|
905
|
-
},
|
|
906
|
-
type: {
|
|
907
|
-
serializedName: "type",
|
|
908
|
-
readOnly: true,
|
|
909
|
-
type: {
|
|
910
|
-
name: "String"
|
|
911
|
-
}
|
|
912
|
-
},
|
|
913
|
-
properties: {
|
|
914
|
-
serializedName: "properties",
|
|
915
|
-
type: {
|
|
916
|
-
name: "Composite",
|
|
917
|
-
className: "MoveResourceProperties"
|
|
918
|
-
}
|
|
919
|
-
},
|
|
920
|
-
systemData: {
|
|
921
|
-
serializedName: "systemData",
|
|
922
|
-
type: {
|
|
923
|
-
name: "Composite",
|
|
924
|
-
className: "SystemData"
|
|
925
|
-
}
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
};
|
|
930
|
-
const MoveResourceProperties = {
|
|
931
|
-
type: {
|
|
932
|
-
name: "Composite",
|
|
933
|
-
className: "MoveResourceProperties",
|
|
934
|
-
modelProperties: {
|
|
935
|
-
provisioningState: {
|
|
936
|
-
serializedName: "provisioningState",
|
|
937
|
-
readOnly: true,
|
|
938
|
-
type: {
|
|
939
|
-
name: "String"
|
|
940
|
-
}
|
|
941
|
-
},
|
|
942
|
-
sourceId: {
|
|
943
|
-
serializedName: "sourceId",
|
|
944
|
-
required: true,
|
|
945
|
-
type: {
|
|
946
|
-
name: "String"
|
|
947
|
-
}
|
|
948
|
-
},
|
|
949
|
-
targetId: {
|
|
950
|
-
serializedName: "targetId",
|
|
951
|
-
readOnly: true,
|
|
952
|
-
type: {
|
|
953
|
-
name: "String"
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
existingTargetId: {
|
|
957
|
-
serializedName: "existingTargetId",
|
|
958
|
-
type: {
|
|
959
|
-
name: "String"
|
|
960
|
-
}
|
|
961
|
-
},
|
|
962
|
-
resourceSettings: {
|
|
963
|
-
serializedName: "resourceSettings",
|
|
964
|
-
type: {
|
|
965
|
-
name: "Composite",
|
|
966
|
-
className: "ResourceSettings"
|
|
967
|
-
}
|
|
968
|
-
},
|
|
969
|
-
sourceResourceSettings: {
|
|
970
|
-
serializedName: "sourceResourceSettings",
|
|
971
|
-
type: {
|
|
972
|
-
name: "Composite",
|
|
973
|
-
className: "ResourceSettings"
|
|
974
|
-
}
|
|
975
|
-
},
|
|
976
|
-
moveStatus: {
|
|
977
|
-
serializedName: "moveStatus",
|
|
978
|
-
type: {
|
|
979
|
-
name: "Composite",
|
|
980
|
-
className: "MoveResourcePropertiesMoveStatus"
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
dependsOn: {
|
|
984
|
-
serializedName: "dependsOn",
|
|
985
|
-
readOnly: true,
|
|
986
|
-
type: {
|
|
987
|
-
name: "Sequence",
|
|
988
|
-
element: {
|
|
989
|
-
type: {
|
|
990
|
-
name: "Composite",
|
|
991
|
-
className: "MoveResourceDependency"
|
|
992
|
-
}
|
|
993
|
-
}
|
|
994
|
-
}
|
|
995
|
-
},
|
|
996
|
-
dependsOnOverrides: {
|
|
997
|
-
serializedName: "dependsOnOverrides",
|
|
998
|
-
type: {
|
|
999
|
-
name: "Sequence",
|
|
1000
|
-
element: {
|
|
1001
|
-
type: {
|
|
1002
|
-
name: "Composite",
|
|
1003
|
-
className: "MoveResourceDependencyOverride"
|
|
1004
|
-
}
|
|
1005
|
-
}
|
|
1006
|
-
}
|
|
1007
|
-
},
|
|
1008
|
-
isResolveRequired: {
|
|
1009
|
-
serializedName: "isResolveRequired",
|
|
1010
|
-
readOnly: true,
|
|
1011
|
-
type: {
|
|
1012
|
-
name: "Boolean"
|
|
1013
|
-
}
|
|
1014
|
-
},
|
|
1015
|
-
errors: {
|
|
1016
|
-
serializedName: "errors",
|
|
1017
|
-
type: {
|
|
1018
|
-
name: "Composite",
|
|
1019
|
-
className: "MoveResourcePropertiesErrors"
|
|
1020
|
-
}
|
|
1021
|
-
}
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
};
|
|
1025
|
-
const ResourceSettings = {
|
|
1026
|
-
type: {
|
|
1027
|
-
name: "Composite",
|
|
1028
|
-
className: "ResourceSettings",
|
|
1029
|
-
uberParent: "ResourceSettings",
|
|
1030
|
-
polymorphicDiscriminator: {
|
|
1031
|
-
serializedName: "resourceType",
|
|
1032
|
-
clientName: "resourceType"
|
|
1033
|
-
},
|
|
1034
|
-
modelProperties: {
|
|
1035
|
-
resourceType: {
|
|
1036
|
-
serializedName: "resourceType",
|
|
1037
|
-
required: true,
|
|
1038
|
-
type: {
|
|
1039
|
-
name: "String"
|
|
1040
|
-
}
|
|
1041
|
-
},
|
|
1042
|
-
targetResourceName: {
|
|
1043
|
-
serializedName: "targetResourceName",
|
|
1044
|
-
type: {
|
|
1045
|
-
name: "String"
|
|
1046
|
-
}
|
|
1047
|
-
},
|
|
1048
|
-
targetResourceGroupName: {
|
|
1049
|
-
serializedName: "targetResourceGroupName",
|
|
1050
|
-
type: {
|
|
1051
|
-
name: "String"
|
|
1052
|
-
}
|
|
1053
|
-
}
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
};
|
|
1057
|
-
const MoveResourceStatus = {
|
|
1058
|
-
type: {
|
|
1059
|
-
name: "Composite",
|
|
1060
|
-
className: "MoveResourceStatus",
|
|
1061
|
-
modelProperties: {
|
|
1062
|
-
moveState: {
|
|
1063
|
-
serializedName: "moveState",
|
|
1064
|
-
readOnly: true,
|
|
1065
|
-
type: {
|
|
1066
|
-
name: "String"
|
|
1067
|
-
}
|
|
1068
|
-
},
|
|
1069
|
-
jobStatus: {
|
|
1070
|
-
serializedName: "jobStatus",
|
|
1071
|
-
type: {
|
|
1072
|
-
name: "Composite",
|
|
1073
|
-
className: "JobStatus"
|
|
1074
|
-
}
|
|
1075
|
-
},
|
|
1076
|
-
errors: {
|
|
1077
|
-
serializedName: "errors",
|
|
1078
|
-
type: {
|
|
1079
|
-
name: "Composite",
|
|
1080
|
-
className: "MoveResourceError"
|
|
1081
|
-
}
|
|
1082
|
-
}
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
};
|
|
1086
|
-
const JobStatus = {
|
|
1087
|
-
type: {
|
|
1088
|
-
name: "Composite",
|
|
1089
|
-
className: "JobStatus",
|
|
1090
|
-
modelProperties: {
|
|
1091
|
-
jobName: {
|
|
1092
|
-
serializedName: "jobName",
|
|
1093
|
-
readOnly: true,
|
|
1094
|
-
type: {
|
|
1095
|
-
name: "String"
|
|
1096
|
-
}
|
|
1097
|
-
},
|
|
1098
|
-
jobProgress: {
|
|
1099
|
-
serializedName: "jobProgress",
|
|
1100
|
-
readOnly: true,
|
|
1101
|
-
type: {
|
|
1102
|
-
name: "String"
|
|
1103
|
-
}
|
|
1104
|
-
}
|
|
1105
|
-
}
|
|
1106
|
-
}
|
|
1107
|
-
};
|
|
1108
|
-
const MoveResourceDependency = {
|
|
1109
|
-
type: {
|
|
1110
|
-
name: "Composite",
|
|
1111
|
-
className: "MoveResourceDependency",
|
|
1112
|
-
modelProperties: {
|
|
1113
|
-
id: {
|
|
1114
|
-
serializedName: "id",
|
|
1115
|
-
type: {
|
|
1116
|
-
name: "String"
|
|
1117
|
-
}
|
|
1118
|
-
},
|
|
1119
|
-
resolutionStatus: {
|
|
1120
|
-
serializedName: "resolutionStatus",
|
|
1121
|
-
type: {
|
|
1122
|
-
name: "String"
|
|
1123
|
-
}
|
|
1124
|
-
},
|
|
1125
|
-
resolutionType: {
|
|
1126
|
-
serializedName: "resolutionType",
|
|
1127
|
-
type: {
|
|
1128
|
-
name: "String"
|
|
1129
|
-
}
|
|
1130
|
-
},
|
|
1131
|
-
dependencyType: {
|
|
1132
|
-
serializedName: "dependencyType",
|
|
1133
|
-
type: {
|
|
1134
|
-
name: "String"
|
|
1135
|
-
}
|
|
1136
|
-
},
|
|
1137
|
-
manualResolution: {
|
|
1138
|
-
serializedName: "manualResolution",
|
|
1139
|
-
type: {
|
|
1140
|
-
name: "Composite",
|
|
1141
|
-
className: "ManualResolutionProperties"
|
|
1142
|
-
}
|
|
1143
|
-
},
|
|
1144
|
-
automaticResolution: {
|
|
1145
|
-
serializedName: "automaticResolution",
|
|
1146
|
-
type: {
|
|
1147
|
-
name: "Composite",
|
|
1148
|
-
className: "AutomaticResolutionProperties"
|
|
1149
|
-
}
|
|
1150
|
-
},
|
|
1151
|
-
isOptional: {
|
|
1152
|
-
serializedName: "isOptional",
|
|
1153
|
-
type: {
|
|
1154
|
-
name: "String"
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
};
|
|
1160
|
-
const ManualResolutionProperties = {
|
|
1161
|
-
type: {
|
|
1162
|
-
name: "Composite",
|
|
1163
|
-
className: "ManualResolutionProperties",
|
|
1164
|
-
modelProperties: {
|
|
1165
|
-
targetId: {
|
|
1166
|
-
serializedName: "targetId",
|
|
1167
|
-
type: {
|
|
1168
|
-
name: "String"
|
|
1169
|
-
}
|
|
1170
|
-
}
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
};
|
|
1174
|
-
const AutomaticResolutionProperties = {
|
|
1175
|
-
type: {
|
|
1176
|
-
name: "Composite",
|
|
1177
|
-
className: "AutomaticResolutionProperties",
|
|
1178
|
-
modelProperties: {
|
|
1179
|
-
moveResourceId: {
|
|
1180
|
-
serializedName: "moveResourceId",
|
|
1181
|
-
type: {
|
|
1182
|
-
name: "String"
|
|
1183
|
-
}
|
|
1184
|
-
}
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
};
|
|
1188
|
-
const MoveResourceDependencyOverride = {
|
|
1189
|
-
type: {
|
|
1190
|
-
name: "Composite",
|
|
1191
|
-
className: "MoveResourceDependencyOverride",
|
|
1192
|
-
modelProperties: {
|
|
1193
|
-
id: {
|
|
1194
|
-
serializedName: "id",
|
|
1195
|
-
type: {
|
|
1196
|
-
name: "String"
|
|
1197
|
-
}
|
|
1198
|
-
},
|
|
1199
|
-
targetId: {
|
|
1200
|
-
serializedName: "targetId",
|
|
1201
|
-
type: {
|
|
1202
|
-
name: "String"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
}
|
|
1207
|
-
};
|
|
1208
|
-
const SummaryCollection = {
|
|
1209
|
-
type: {
|
|
1210
|
-
name: "Composite",
|
|
1211
|
-
className: "SummaryCollection",
|
|
1212
|
-
modelProperties: {
|
|
1213
|
-
fieldName: {
|
|
1214
|
-
serializedName: "fieldName",
|
|
1215
|
-
type: {
|
|
1216
|
-
name: "String"
|
|
1217
|
-
}
|
|
1218
|
-
},
|
|
1219
|
-
summary: {
|
|
1220
|
-
serializedName: "summary",
|
|
1221
|
-
type: {
|
|
1222
|
-
name: "Sequence",
|
|
1223
|
-
element: {
|
|
1224
|
-
type: {
|
|
1225
|
-
name: "Composite",
|
|
1226
|
-
className: "Summary"
|
|
1227
|
-
}
|
|
1228
|
-
}
|
|
1229
|
-
}
|
|
1230
|
-
}
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
};
|
|
1234
|
-
const Summary = {
|
|
1235
|
-
type: {
|
|
1236
|
-
name: "Composite",
|
|
1237
|
-
className: "Summary",
|
|
1238
|
-
modelProperties: {
|
|
1239
|
-
count: {
|
|
1240
|
-
serializedName: "count",
|
|
1241
|
-
type: {
|
|
1242
|
-
name: "Number"
|
|
1243
|
-
}
|
|
1244
|
-
},
|
|
1245
|
-
item: {
|
|
1246
|
-
serializedName: "item",
|
|
1247
|
-
type: {
|
|
1248
|
-
name: "String"
|
|
1249
|
-
}
|
|
1250
|
-
}
|
|
1251
|
-
}
|
|
1252
|
-
}
|
|
1253
|
-
};
|
|
1254
|
-
const UnresolvedDependencyCollection = {
|
|
1255
|
-
type: {
|
|
1256
|
-
name: "Composite",
|
|
1257
|
-
className: "UnresolvedDependencyCollection",
|
|
1258
|
-
modelProperties: {
|
|
1259
|
-
value: {
|
|
1260
|
-
serializedName: "value",
|
|
1261
|
-
type: {
|
|
1262
|
-
name: "Sequence",
|
|
1263
|
-
element: {
|
|
1264
|
-
type: {
|
|
1265
|
-
name: "Composite",
|
|
1266
|
-
className: "UnresolvedDependency"
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
},
|
|
1271
|
-
nextLink: {
|
|
1272
|
-
serializedName: "nextLink",
|
|
1273
|
-
type: {
|
|
1274
|
-
name: "String"
|
|
1275
|
-
}
|
|
1276
|
-
},
|
|
1277
|
-
summaryCollection: {
|
|
1278
|
-
serializedName: "summaryCollection",
|
|
1279
|
-
type: {
|
|
1280
|
-
name: "Composite",
|
|
1281
|
-
className: "SummaryCollection"
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1284
|
-
totalCount: {
|
|
1285
|
-
serializedName: "totalCount",
|
|
1286
|
-
readOnly: true,
|
|
1287
|
-
type: {
|
|
1288
|
-
name: "Number"
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
}
|
|
1293
|
-
};
|
|
1294
|
-
const UnresolvedDependency = {
|
|
1295
|
-
type: {
|
|
1296
|
-
name: "Composite",
|
|
1297
|
-
className: "UnresolvedDependency",
|
|
1298
|
-
modelProperties: {
|
|
1299
|
-
count: {
|
|
1300
|
-
serializedName: "count",
|
|
1301
|
-
type: {
|
|
1302
|
-
name: "Number"
|
|
1303
|
-
}
|
|
1304
|
-
},
|
|
1305
|
-
id: {
|
|
1306
|
-
serializedName: "id",
|
|
1307
|
-
type: {
|
|
1308
|
-
name: "String"
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
};
|
|
1314
|
-
const BulkRemoveRequest = {
|
|
1315
|
-
type: {
|
|
1316
|
-
name: "Composite",
|
|
1317
|
-
className: "BulkRemoveRequest",
|
|
1318
|
-
modelProperties: {
|
|
1319
|
-
validateOnly: {
|
|
1320
|
-
serializedName: "validateOnly",
|
|
1321
|
-
type: {
|
|
1322
|
-
name: "Boolean"
|
|
1323
|
-
}
|
|
1324
|
-
},
|
|
1325
|
-
moveResources: {
|
|
1326
|
-
serializedName: "moveResources",
|
|
1327
|
-
type: {
|
|
1328
|
-
name: "Sequence",
|
|
1329
|
-
element: {
|
|
1330
|
-
type: {
|
|
1331
|
-
name: "String"
|
|
1332
|
-
}
|
|
1333
|
-
}
|
|
1334
|
-
}
|
|
1335
|
-
},
|
|
1336
|
-
moveResourceInputType: {
|
|
1337
|
-
serializedName: "moveResourceInputType",
|
|
1338
|
-
type: {
|
|
1339
|
-
name: "String"
|
|
1340
|
-
}
|
|
1341
|
-
}
|
|
1342
|
-
}
|
|
1343
|
-
}
|
|
1344
|
-
};
|
|
1345
|
-
const OperationsDiscoveryCollection = {
|
|
1346
|
-
type: {
|
|
1347
|
-
name: "Composite",
|
|
1348
|
-
className: "OperationsDiscoveryCollection",
|
|
1349
|
-
modelProperties: {
|
|
1350
|
-
value: {
|
|
1351
|
-
serializedName: "value",
|
|
1352
|
-
type: {
|
|
1353
|
-
name: "Sequence",
|
|
1354
|
-
element: {
|
|
1355
|
-
type: {
|
|
1356
|
-
name: "Composite",
|
|
1357
|
-
className: "OperationsDiscovery"
|
|
1358
|
-
}
|
|
1359
|
-
}
|
|
1360
|
-
}
|
|
1361
|
-
},
|
|
1362
|
-
nextLink: {
|
|
1363
|
-
serializedName: "nextLink",
|
|
1364
|
-
type: {
|
|
1365
|
-
name: "String"
|
|
1366
|
-
}
|
|
1367
|
-
}
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
};
|
|
1371
|
-
const OperationsDiscovery = {
|
|
1372
|
-
type: {
|
|
1373
|
-
name: "Composite",
|
|
1374
|
-
className: "OperationsDiscovery",
|
|
1375
|
-
modelProperties: {
|
|
1376
|
-
name: {
|
|
1377
|
-
serializedName: "name",
|
|
1378
|
-
type: {
|
|
1379
|
-
name: "String"
|
|
1380
|
-
}
|
|
1381
|
-
},
|
|
1382
|
-
isDataAction: {
|
|
1383
|
-
serializedName: "isDataAction",
|
|
1384
|
-
type: {
|
|
1385
|
-
name: "Boolean"
|
|
1386
|
-
}
|
|
1387
|
-
},
|
|
1388
|
-
display: {
|
|
1389
|
-
serializedName: "display",
|
|
1390
|
-
type: {
|
|
1391
|
-
name: "Composite",
|
|
1392
|
-
className: "Display"
|
|
1393
|
-
}
|
|
1394
|
-
},
|
|
1395
|
-
origin: {
|
|
1396
|
-
serializedName: "origin",
|
|
1397
|
-
type: {
|
|
1398
|
-
name: "String"
|
|
1399
|
-
}
|
|
1400
|
-
},
|
|
1401
|
-
properties: {
|
|
1402
|
-
serializedName: "properties",
|
|
1403
|
-
type: {
|
|
1404
|
-
name: "Dictionary",
|
|
1405
|
-
value: { type: { name: "any" } }
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
}
|
|
1409
|
-
}
|
|
1410
|
-
};
|
|
1411
|
-
const Display = {
|
|
1412
|
-
type: {
|
|
1413
|
-
name: "Composite",
|
|
1414
|
-
className: "Display",
|
|
1415
|
-
modelProperties: {
|
|
1416
|
-
provider: {
|
|
1417
|
-
serializedName: "provider",
|
|
1418
|
-
type: {
|
|
1419
|
-
name: "String"
|
|
1420
|
-
}
|
|
1421
|
-
},
|
|
1422
|
-
resource: {
|
|
1423
|
-
serializedName: "resource",
|
|
1424
|
-
type: {
|
|
1425
|
-
name: "String"
|
|
1426
|
-
}
|
|
1427
|
-
},
|
|
1428
|
-
operation: {
|
|
1429
|
-
serializedName: "operation",
|
|
1430
|
-
type: {
|
|
1431
|
-
name: "String"
|
|
1432
|
-
}
|
|
1433
|
-
},
|
|
1434
|
-
description: {
|
|
1435
|
-
serializedName: "description",
|
|
1436
|
-
type: {
|
|
1437
|
-
name: "String"
|
|
1438
|
-
}
|
|
1439
|
-
}
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
};
|
|
1443
|
-
const MoveCollectionResultList = {
|
|
1444
|
-
type: {
|
|
1445
|
-
name: "Composite",
|
|
1446
|
-
className: "MoveCollectionResultList",
|
|
1447
|
-
modelProperties: {
|
|
1448
|
-
value: {
|
|
1449
|
-
serializedName: "value",
|
|
1450
|
-
type: {
|
|
1451
|
-
name: "Sequence",
|
|
1452
|
-
element: {
|
|
1453
|
-
type: {
|
|
1454
|
-
name: "Composite",
|
|
1455
|
-
className: "MoveCollection"
|
|
1456
|
-
}
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
},
|
|
1460
|
-
nextLink: {
|
|
1461
|
-
serializedName: "nextLink",
|
|
1462
|
-
type: {
|
|
1463
|
-
name: "String"
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
};
|
|
1469
|
-
const RequiredForResourcesCollection = {
|
|
1470
|
-
type: {
|
|
1471
|
-
name: "Composite",
|
|
1472
|
-
className: "RequiredForResourcesCollection",
|
|
1473
|
-
modelProperties: {
|
|
1474
|
-
sourceIds: {
|
|
1475
|
-
serializedName: "sourceIds",
|
|
1476
|
-
type: {
|
|
1477
|
-
name: "Sequence",
|
|
1478
|
-
element: {
|
|
1479
|
-
type: {
|
|
1480
|
-
name: "String"
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
}
|
|
1484
|
-
}
|
|
1485
|
-
}
|
|
1486
|
-
}
|
|
1487
|
-
};
|
|
1488
|
-
const MoveResourceFilter = {
|
|
1489
|
-
type: {
|
|
1490
|
-
name: "Composite",
|
|
1491
|
-
className: "MoveResourceFilter",
|
|
1492
|
-
modelProperties: {
|
|
1493
|
-
properties: {
|
|
1494
|
-
serializedName: "properties",
|
|
1495
|
-
type: {
|
|
1496
|
-
name: "Composite",
|
|
1497
|
-
className: "MoveResourceFilterProperties"
|
|
1498
|
-
}
|
|
1499
|
-
}
|
|
1500
|
-
}
|
|
1501
|
-
}
|
|
1502
|
-
};
|
|
1503
|
-
const MoveResourceFilterProperties = {
|
|
1504
|
-
type: {
|
|
1505
|
-
name: "Composite",
|
|
1506
|
-
className: "MoveResourceFilterProperties",
|
|
1507
|
-
modelProperties: {
|
|
1508
|
-
provisioningState: {
|
|
1509
|
-
serializedName: "provisioningState",
|
|
1510
|
-
type: {
|
|
1511
|
-
name: "String"
|
|
1512
|
-
}
|
|
1513
|
-
}
|
|
1514
|
-
}
|
|
1515
|
-
}
|
|
1516
|
-
};
|
|
1517
|
-
const UnresolvedDependenciesFilter = {
|
|
1518
|
-
type: {
|
|
1519
|
-
name: "Composite",
|
|
1520
|
-
className: "UnresolvedDependenciesFilter",
|
|
1521
|
-
modelProperties: {
|
|
1522
|
-
properties: {
|
|
1523
|
-
serializedName: "properties",
|
|
1524
|
-
type: {
|
|
1525
|
-
name: "Composite",
|
|
1526
|
-
className: "UnresolvedDependenciesFilterProperties"
|
|
1527
|
-
}
|
|
1528
|
-
}
|
|
1529
|
-
}
|
|
1530
|
-
}
|
|
1531
|
-
};
|
|
1532
|
-
const UnresolvedDependenciesFilterProperties = {
|
|
1533
|
-
type: {
|
|
1534
|
-
name: "Composite",
|
|
1535
|
-
className: "UnresolvedDependenciesFilterProperties",
|
|
1536
|
-
modelProperties: {
|
|
1537
|
-
count: {
|
|
1538
|
-
serializedName: "count",
|
|
1539
|
-
type: {
|
|
1540
|
-
name: "Number"
|
|
1541
|
-
}
|
|
1542
|
-
}
|
|
1543
|
-
}
|
|
1544
|
-
}
|
|
1545
|
-
};
|
|
1546
|
-
const SubnetResourceSettings = {
|
|
1547
|
-
type: {
|
|
1548
|
-
name: "Composite",
|
|
1549
|
-
className: "SubnetResourceSettings",
|
|
1550
|
-
modelProperties: {
|
|
1551
|
-
name: {
|
|
1552
|
-
serializedName: "name",
|
|
1553
|
-
type: {
|
|
1554
|
-
name: "String"
|
|
1555
|
-
}
|
|
1556
|
-
},
|
|
1557
|
-
addressPrefix: {
|
|
1558
|
-
serializedName: "addressPrefix",
|
|
1559
|
-
type: {
|
|
1560
|
-
name: "String"
|
|
1561
|
-
}
|
|
1562
|
-
},
|
|
1563
|
-
networkSecurityGroup: {
|
|
1564
|
-
serializedName: "networkSecurityGroup",
|
|
1565
|
-
type: {
|
|
1566
|
-
name: "Composite",
|
|
1567
|
-
className: "NsgReference"
|
|
1568
|
-
}
|
|
1569
|
-
}
|
|
1570
|
-
}
|
|
1571
|
-
}
|
|
1572
|
-
};
|
|
1573
|
-
const AzureResourceReference = {
|
|
1574
|
-
type: {
|
|
1575
|
-
name: "Composite",
|
|
1576
|
-
className: "AzureResourceReference",
|
|
1577
|
-
modelProperties: {
|
|
1578
|
-
sourceArmResourceId: {
|
|
1579
|
-
serializedName: "sourceArmResourceId",
|
|
1580
|
-
required: true,
|
|
1581
|
-
type: {
|
|
1582
|
-
name: "String"
|
|
1583
|
-
}
|
|
1584
|
-
}
|
|
1585
|
-
}
|
|
1586
|
-
}
|
|
1587
|
-
};
|
|
1588
|
-
const NicIpConfigurationResourceSettings = {
|
|
1589
|
-
type: {
|
|
1590
|
-
name: "Composite",
|
|
1591
|
-
className: "NicIpConfigurationResourceSettings",
|
|
1592
|
-
modelProperties: {
|
|
1593
|
-
name: {
|
|
1594
|
-
serializedName: "name",
|
|
1595
|
-
type: {
|
|
1596
|
-
name: "String"
|
|
1597
|
-
}
|
|
1598
|
-
},
|
|
1599
|
-
privateIpAddress: {
|
|
1600
|
-
serializedName: "privateIpAddress",
|
|
1601
|
-
type: {
|
|
1602
|
-
name: "String"
|
|
1603
|
-
}
|
|
1604
|
-
},
|
|
1605
|
-
privateIpAllocationMethod: {
|
|
1606
|
-
serializedName: "privateIpAllocationMethod",
|
|
1607
|
-
type: {
|
|
1608
|
-
name: "String"
|
|
1609
|
-
}
|
|
1610
|
-
},
|
|
1611
|
-
subnet: {
|
|
1612
|
-
serializedName: "subnet",
|
|
1613
|
-
type: {
|
|
1614
|
-
name: "Composite",
|
|
1615
|
-
className: "SubnetReference"
|
|
1616
|
-
}
|
|
1617
|
-
},
|
|
1618
|
-
primary: {
|
|
1619
|
-
serializedName: "primary",
|
|
1620
|
-
type: {
|
|
1621
|
-
name: "Boolean"
|
|
1622
|
-
}
|
|
1623
|
-
},
|
|
1624
|
-
loadBalancerBackendAddressPools: {
|
|
1625
|
-
serializedName: "loadBalancerBackendAddressPools",
|
|
1626
|
-
type: {
|
|
1627
|
-
name: "Sequence",
|
|
1628
|
-
element: {
|
|
1629
|
-
type: {
|
|
1630
|
-
name: "Composite",
|
|
1631
|
-
className: "LoadBalancerBackendAddressPoolReference"
|
|
1632
|
-
}
|
|
1633
|
-
}
|
|
1634
|
-
}
|
|
1635
|
-
},
|
|
1636
|
-
loadBalancerNatRules: {
|
|
1637
|
-
serializedName: "loadBalancerNatRules",
|
|
1638
|
-
type: {
|
|
1639
|
-
name: "Sequence",
|
|
1640
|
-
element: {
|
|
1641
|
-
type: {
|
|
1642
|
-
name: "Composite",
|
|
1643
|
-
className: "LoadBalancerNatRuleReference"
|
|
1644
|
-
}
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
},
|
|
1648
|
-
publicIp: {
|
|
1649
|
-
serializedName: "publicIp",
|
|
1650
|
-
type: {
|
|
1651
|
-
name: "Composite",
|
|
1652
|
-
className: "PublicIpReference"
|
|
1653
|
-
}
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
};
|
|
1658
|
-
const NsgSecurityRule = {
|
|
1659
|
-
type: {
|
|
1660
|
-
name: "Composite",
|
|
1661
|
-
className: "NsgSecurityRule",
|
|
1662
|
-
modelProperties: {
|
|
1663
|
-
name: {
|
|
1664
|
-
serializedName: "name",
|
|
1665
|
-
type: {
|
|
1666
|
-
name: "String"
|
|
1667
|
-
}
|
|
1668
|
-
},
|
|
1669
|
-
access: {
|
|
1670
|
-
serializedName: "access",
|
|
1671
|
-
type: {
|
|
1672
|
-
name: "String"
|
|
1673
|
-
}
|
|
1674
|
-
},
|
|
1675
|
-
description: {
|
|
1676
|
-
serializedName: "description",
|
|
1677
|
-
type: {
|
|
1678
|
-
name: "String"
|
|
1679
|
-
}
|
|
1680
|
-
},
|
|
1681
|
-
destinationAddressPrefix: {
|
|
1682
|
-
serializedName: "destinationAddressPrefix",
|
|
1683
|
-
type: {
|
|
1684
|
-
name: "String"
|
|
1685
|
-
}
|
|
1686
|
-
},
|
|
1687
|
-
destinationPortRange: {
|
|
1688
|
-
serializedName: "destinationPortRange",
|
|
1689
|
-
type: {
|
|
1690
|
-
name: "String"
|
|
1691
|
-
}
|
|
1692
|
-
},
|
|
1693
|
-
direction: {
|
|
1694
|
-
serializedName: "direction",
|
|
1695
|
-
type: {
|
|
1696
|
-
name: "String"
|
|
1697
|
-
}
|
|
1698
|
-
},
|
|
1699
|
-
priority: {
|
|
1700
|
-
serializedName: "priority",
|
|
1701
|
-
type: {
|
|
1702
|
-
name: "Number"
|
|
1703
|
-
}
|
|
1704
|
-
},
|
|
1705
|
-
protocol: {
|
|
1706
|
-
serializedName: "protocol",
|
|
1707
|
-
type: {
|
|
1708
|
-
name: "String"
|
|
1709
|
-
}
|
|
1710
|
-
},
|
|
1711
|
-
sourceAddressPrefix: {
|
|
1712
|
-
serializedName: "sourceAddressPrefix",
|
|
1713
|
-
type: {
|
|
1714
|
-
name: "String"
|
|
1715
|
-
}
|
|
1716
|
-
},
|
|
1717
|
-
sourcePortRange: {
|
|
1718
|
-
serializedName: "sourcePortRange",
|
|
1719
|
-
type: {
|
|
1720
|
-
name: "String"
|
|
1721
|
-
}
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
}
|
|
1725
|
-
};
|
|
1726
|
-
const LBFrontendIPConfigurationResourceSettings = {
|
|
1727
|
-
type: {
|
|
1728
|
-
name: "Composite",
|
|
1729
|
-
className: "LBFrontendIPConfigurationResourceSettings",
|
|
1730
|
-
modelProperties: {
|
|
1731
|
-
name: {
|
|
1732
|
-
serializedName: "name",
|
|
1733
|
-
type: {
|
|
1734
|
-
name: "String"
|
|
1735
|
-
}
|
|
1736
|
-
},
|
|
1737
|
-
privateIpAddress: {
|
|
1738
|
-
serializedName: "privateIpAddress",
|
|
1739
|
-
type: {
|
|
1740
|
-
name: "String"
|
|
1741
|
-
}
|
|
1742
|
-
},
|
|
1743
|
-
privateIpAllocationMethod: {
|
|
1744
|
-
serializedName: "privateIpAllocationMethod",
|
|
1745
|
-
type: {
|
|
1746
|
-
name: "String"
|
|
1747
|
-
}
|
|
1748
|
-
},
|
|
1749
|
-
subnet: {
|
|
1750
|
-
serializedName: "subnet",
|
|
1751
|
-
type: {
|
|
1752
|
-
name: "Composite",
|
|
1753
|
-
className: "SubnetReference"
|
|
1754
|
-
}
|
|
1755
|
-
},
|
|
1756
|
-
zones: {
|
|
1757
|
-
serializedName: "zones",
|
|
1758
|
-
type: {
|
|
1759
|
-
name: "String"
|
|
1760
|
-
}
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
}
|
|
1764
|
-
};
|
|
1765
|
-
const LBBackendAddressPoolResourceSettings = {
|
|
1766
|
-
type: {
|
|
1767
|
-
name: "Composite",
|
|
1768
|
-
className: "LBBackendAddressPoolResourceSettings",
|
|
1769
|
-
modelProperties: {
|
|
1770
|
-
name: {
|
|
1771
|
-
serializedName: "name",
|
|
1772
|
-
type: {
|
|
1773
|
-
name: "String"
|
|
1774
|
-
}
|
|
1775
|
-
}
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
};
|
|
1779
|
-
const MoveCollectionPropertiesErrors = {
|
|
1780
|
-
type: {
|
|
1781
|
-
name: "Composite",
|
|
1782
|
-
className: "MoveCollectionPropertiesErrors",
|
|
1783
|
-
modelProperties: Object.assign({}, MoveResourceError.type.modelProperties)
|
|
1784
|
-
}
|
|
1785
|
-
};
|
|
1786
|
-
const MoveResourcePropertiesErrors = {
|
|
1787
|
-
type: {
|
|
1788
|
-
name: "Composite",
|
|
1789
|
-
className: "MoveResourcePropertiesErrors",
|
|
1790
|
-
modelProperties: Object.assign({}, MoveResourceError.type.modelProperties)
|
|
1791
|
-
}
|
|
1792
|
-
};
|
|
1793
|
-
const VirtualMachineResourceSettings = {
|
|
1794
|
-
serializedName: "Microsoft.Compute/virtualMachines",
|
|
1795
|
-
type: {
|
|
1796
|
-
name: "Composite",
|
|
1797
|
-
className: "VirtualMachineResourceSettings",
|
|
1798
|
-
uberParent: "ResourceSettings",
|
|
1799
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1800
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
1801
|
-
serializedName: "tags",
|
|
1802
|
-
type: {
|
|
1803
|
-
name: "Dictionary",
|
|
1804
|
-
value: { type: { name: "String" } }
|
|
1805
|
-
}
|
|
1806
|
-
}, userManagedIdentities: {
|
|
1807
|
-
serializedName: "userManagedIdentities",
|
|
1808
|
-
type: {
|
|
1809
|
-
name: "Sequence",
|
|
1810
|
-
element: {
|
|
1811
|
-
type: {
|
|
1812
|
-
name: "String"
|
|
1813
|
-
}
|
|
1814
|
-
}
|
|
1815
|
-
}
|
|
1816
|
-
}, targetAvailabilityZone: {
|
|
1817
|
-
serializedName: "targetAvailabilityZone",
|
|
1818
|
-
type: {
|
|
1819
|
-
name: "String"
|
|
1820
|
-
}
|
|
1821
|
-
}, targetVmSize: {
|
|
1822
|
-
serializedName: "targetVmSize",
|
|
1823
|
-
type: {
|
|
1824
|
-
name: "String"
|
|
1825
|
-
}
|
|
1826
|
-
}, targetAvailabilitySetId: {
|
|
1827
|
-
serializedName: "targetAvailabilitySetId",
|
|
1828
|
-
type: {
|
|
1829
|
-
name: "String"
|
|
1830
|
-
}
|
|
1831
|
-
} })
|
|
1832
|
-
}
|
|
1833
|
-
};
|
|
1834
|
-
const AvailabilitySetResourceSettings = {
|
|
1835
|
-
serializedName: "Microsoft.Compute/availabilitySets",
|
|
1836
|
-
type: {
|
|
1837
|
-
name: "Composite",
|
|
1838
|
-
className: "AvailabilitySetResourceSettings",
|
|
1839
|
-
uberParent: "ResourceSettings",
|
|
1840
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1841
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
1842
|
-
serializedName: "tags",
|
|
1843
|
-
type: {
|
|
1844
|
-
name: "Dictionary",
|
|
1845
|
-
value: { type: { name: "String" } }
|
|
1846
|
-
}
|
|
1847
|
-
}, faultDomain: {
|
|
1848
|
-
constraints: {
|
|
1849
|
-
InclusiveMinimum: 1
|
|
1850
|
-
},
|
|
1851
|
-
serializedName: "faultDomain",
|
|
1852
|
-
nullable: true,
|
|
1853
|
-
type: {
|
|
1854
|
-
name: "Number"
|
|
1855
|
-
}
|
|
1856
|
-
}, updateDomain: {
|
|
1857
|
-
constraints: {
|
|
1858
|
-
InclusiveMaximum: 20,
|
|
1859
|
-
InclusiveMinimum: 1
|
|
1860
|
-
},
|
|
1861
|
-
serializedName: "updateDomain",
|
|
1862
|
-
nullable: true,
|
|
1863
|
-
type: {
|
|
1864
|
-
name: "Number"
|
|
1865
|
-
}
|
|
1866
|
-
} })
|
|
1867
|
-
}
|
|
1868
|
-
};
|
|
1869
|
-
const VirtualNetworkResourceSettings = {
|
|
1870
|
-
serializedName: "Microsoft.Network/virtualNetworks",
|
|
1871
|
-
type: {
|
|
1872
|
-
name: "Composite",
|
|
1873
|
-
className: "VirtualNetworkResourceSettings",
|
|
1874
|
-
uberParent: "ResourceSettings",
|
|
1875
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1876
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
1877
|
-
serializedName: "tags",
|
|
1878
|
-
type: {
|
|
1879
|
-
name: "Dictionary",
|
|
1880
|
-
value: { type: { name: "String" } }
|
|
1881
|
-
}
|
|
1882
|
-
}, enableDdosProtection: {
|
|
1883
|
-
serializedName: "enableDdosProtection",
|
|
1884
|
-
nullable: true,
|
|
1885
|
-
type: {
|
|
1886
|
-
name: "Boolean"
|
|
1887
|
-
}
|
|
1888
|
-
}, addressSpace: {
|
|
1889
|
-
serializedName: "addressSpace",
|
|
1890
|
-
type: {
|
|
1891
|
-
name: "Sequence",
|
|
1892
|
-
element: {
|
|
1893
|
-
type: {
|
|
1894
|
-
name: "String"
|
|
1895
|
-
}
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
}, dnsServers: {
|
|
1899
|
-
serializedName: "dnsServers",
|
|
1900
|
-
type: {
|
|
1901
|
-
name: "Sequence",
|
|
1902
|
-
element: {
|
|
1903
|
-
type: {
|
|
1904
|
-
name: "String"
|
|
1905
|
-
}
|
|
1906
|
-
}
|
|
1907
|
-
}
|
|
1908
|
-
}, subnets: {
|
|
1909
|
-
serializedName: "subnets",
|
|
1910
|
-
type: {
|
|
1911
|
-
name: "Sequence",
|
|
1912
|
-
element: {
|
|
1913
|
-
type: {
|
|
1914
|
-
name: "Composite",
|
|
1915
|
-
className: "SubnetResourceSettings"
|
|
1916
|
-
}
|
|
1917
|
-
}
|
|
1918
|
-
}
|
|
1919
|
-
} })
|
|
1920
|
-
}
|
|
1921
|
-
};
|
|
1922
|
-
const NetworkInterfaceResourceSettings = {
|
|
1923
|
-
serializedName: "Microsoft.Network/networkInterfaces",
|
|
1924
|
-
type: {
|
|
1925
|
-
name: "Composite",
|
|
1926
|
-
className: "NetworkInterfaceResourceSettings",
|
|
1927
|
-
uberParent: "ResourceSettings",
|
|
1928
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1929
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
1930
|
-
serializedName: "tags",
|
|
1931
|
-
type: {
|
|
1932
|
-
name: "Dictionary",
|
|
1933
|
-
value: { type: { name: "String" } }
|
|
1934
|
-
}
|
|
1935
|
-
}, ipConfigurations: {
|
|
1936
|
-
serializedName: "ipConfigurations",
|
|
1937
|
-
type: {
|
|
1938
|
-
name: "Sequence",
|
|
1939
|
-
element: {
|
|
1940
|
-
type: {
|
|
1941
|
-
name: "Composite",
|
|
1942
|
-
className: "NicIpConfigurationResourceSettings"
|
|
1943
|
-
}
|
|
1944
|
-
}
|
|
1945
|
-
}
|
|
1946
|
-
}, enableAcceleratedNetworking: {
|
|
1947
|
-
serializedName: "enableAcceleratedNetworking",
|
|
1948
|
-
nullable: true,
|
|
1949
|
-
type: {
|
|
1950
|
-
name: "Boolean"
|
|
1951
|
-
}
|
|
1952
|
-
} })
|
|
1953
|
-
}
|
|
1954
|
-
};
|
|
1955
|
-
const NetworkSecurityGroupResourceSettings = {
|
|
1956
|
-
serializedName: "Microsoft.Network/networkSecurityGroups",
|
|
1957
|
-
type: {
|
|
1958
|
-
name: "Composite",
|
|
1959
|
-
className: "NetworkSecurityGroupResourceSettings",
|
|
1960
|
-
uberParent: "ResourceSettings",
|
|
1961
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1962
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
1963
|
-
serializedName: "tags",
|
|
1964
|
-
type: {
|
|
1965
|
-
name: "Dictionary",
|
|
1966
|
-
value: { type: { name: "String" } }
|
|
1967
|
-
}
|
|
1968
|
-
}, securityRules: {
|
|
1969
|
-
serializedName: "securityRules",
|
|
1970
|
-
type: {
|
|
1971
|
-
name: "Sequence",
|
|
1972
|
-
element: {
|
|
1973
|
-
type: {
|
|
1974
|
-
name: "Composite",
|
|
1975
|
-
className: "NsgSecurityRule"
|
|
1976
|
-
}
|
|
1977
|
-
}
|
|
1978
|
-
}
|
|
1979
|
-
} })
|
|
1980
|
-
}
|
|
1981
|
-
};
|
|
1982
|
-
const LoadBalancerResourceSettings = {
|
|
1983
|
-
serializedName: "Microsoft.Network/loadBalancers",
|
|
1984
|
-
type: {
|
|
1985
|
-
name: "Composite",
|
|
1986
|
-
className: "LoadBalancerResourceSettings",
|
|
1987
|
-
uberParent: "ResourceSettings",
|
|
1988
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
1989
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
1990
|
-
serializedName: "tags",
|
|
1991
|
-
type: {
|
|
1992
|
-
name: "Dictionary",
|
|
1993
|
-
value: { type: { name: "String" } }
|
|
1994
|
-
}
|
|
1995
|
-
}, sku: {
|
|
1996
|
-
serializedName: "sku",
|
|
1997
|
-
type: {
|
|
1998
|
-
name: "String"
|
|
1999
|
-
}
|
|
2000
|
-
}, frontendIPConfigurations: {
|
|
2001
|
-
serializedName: "frontendIPConfigurations",
|
|
2002
|
-
type: {
|
|
2003
|
-
name: "Sequence",
|
|
2004
|
-
element: {
|
|
2005
|
-
type: {
|
|
2006
|
-
name: "Composite",
|
|
2007
|
-
className: "LBFrontendIPConfigurationResourceSettings"
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
2010
|
-
}
|
|
2011
|
-
}, backendAddressPools: {
|
|
2012
|
-
serializedName: "backendAddressPools",
|
|
2013
|
-
type: {
|
|
2014
|
-
name: "Sequence",
|
|
2015
|
-
element: {
|
|
2016
|
-
type: {
|
|
2017
|
-
name: "Composite",
|
|
2018
|
-
className: "LBBackendAddressPoolResourceSettings"
|
|
2019
|
-
}
|
|
2020
|
-
}
|
|
2021
|
-
}
|
|
2022
|
-
}, zones: {
|
|
2023
|
-
serializedName: "zones",
|
|
2024
|
-
type: {
|
|
2025
|
-
name: "String"
|
|
2026
|
-
}
|
|
2027
|
-
} })
|
|
2028
|
-
}
|
|
2029
|
-
};
|
|
2030
|
-
const SqlServerResourceSettings = {
|
|
2031
|
-
serializedName: "Microsoft.Sql/servers",
|
|
2032
|
-
type: {
|
|
2033
|
-
name: "Composite",
|
|
2034
|
-
className: "SqlServerResourceSettings",
|
|
2035
|
-
uberParent: "ResourceSettings",
|
|
2036
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2037
|
-
modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
|
|
2038
|
-
}
|
|
2039
|
-
};
|
|
2040
|
-
const SqlElasticPoolResourceSettings = {
|
|
2041
|
-
serializedName: "Microsoft.Sql/servers/elasticPools",
|
|
2042
|
-
type: {
|
|
2043
|
-
name: "Composite",
|
|
2044
|
-
className: "SqlElasticPoolResourceSettings",
|
|
2045
|
-
uberParent: "ResourceSettings",
|
|
2046
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2047
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
2048
|
-
serializedName: "tags",
|
|
2049
|
-
type: {
|
|
2050
|
-
name: "Dictionary",
|
|
2051
|
-
value: { type: { name: "String" } }
|
|
2052
|
-
}
|
|
2053
|
-
}, zoneRedundant: {
|
|
2054
|
-
serializedName: "zoneRedundant",
|
|
2055
|
-
type: {
|
|
2056
|
-
name: "String"
|
|
2057
|
-
}
|
|
2058
|
-
} })
|
|
2059
|
-
}
|
|
2060
|
-
};
|
|
2061
|
-
const SqlDatabaseResourceSettings = {
|
|
2062
|
-
serializedName: "Microsoft.Sql/servers/databases",
|
|
2063
|
-
type: {
|
|
2064
|
-
name: "Composite",
|
|
2065
|
-
className: "SqlDatabaseResourceSettings",
|
|
2066
|
-
uberParent: "ResourceSettings",
|
|
2067
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2068
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
2069
|
-
serializedName: "tags",
|
|
2070
|
-
type: {
|
|
2071
|
-
name: "Dictionary",
|
|
2072
|
-
value: { type: { name: "String" } }
|
|
2073
|
-
}
|
|
2074
|
-
}, zoneRedundant: {
|
|
2075
|
-
serializedName: "zoneRedundant",
|
|
2076
|
-
type: {
|
|
2077
|
-
name: "String"
|
|
2078
|
-
}
|
|
2079
|
-
} })
|
|
2080
|
-
}
|
|
2081
|
-
};
|
|
2082
|
-
const ResourceGroupResourceSettings = {
|
|
2083
|
-
serializedName: "resourceGroups",
|
|
2084
|
-
type: {
|
|
2085
|
-
name: "Composite",
|
|
2086
|
-
className: "ResourceGroupResourceSettings",
|
|
2087
|
-
uberParent: "ResourceSettings",
|
|
2088
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2089
|
-
modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
|
|
2090
|
-
}
|
|
2091
|
-
};
|
|
2092
|
-
const PublicIPAddressResourceSettings = {
|
|
2093
|
-
serializedName: "Microsoft.Network/publicIPAddresses",
|
|
2094
|
-
type: {
|
|
2095
|
-
name: "Composite",
|
|
2096
|
-
className: "PublicIPAddressResourceSettings",
|
|
2097
|
-
uberParent: "ResourceSettings",
|
|
2098
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2099
|
-
modelProperties: Object.assign(Object.assign({}, ResourceSettings.type.modelProperties), { tags: {
|
|
2100
|
-
serializedName: "tags",
|
|
2101
|
-
type: {
|
|
2102
|
-
name: "Dictionary",
|
|
2103
|
-
value: { type: { name: "String" } }
|
|
2104
|
-
}
|
|
2105
|
-
}, domainNameLabel: {
|
|
2106
|
-
serializedName: "domainNameLabel",
|
|
2107
|
-
type: {
|
|
2108
|
-
name: "String"
|
|
2109
|
-
}
|
|
2110
|
-
}, fqdn: {
|
|
2111
|
-
serializedName: "fqdn",
|
|
2112
|
-
type: {
|
|
2113
|
-
name: "String"
|
|
2114
|
-
}
|
|
2115
|
-
}, publicIpAllocationMethod: {
|
|
2116
|
-
serializedName: "publicIpAllocationMethod",
|
|
2117
|
-
type: {
|
|
2118
|
-
name: "String"
|
|
2119
|
-
}
|
|
2120
|
-
}, sku: {
|
|
2121
|
-
serializedName: "sku",
|
|
2122
|
-
type: {
|
|
2123
|
-
name: "String"
|
|
2124
|
-
}
|
|
2125
|
-
}, zones: {
|
|
2126
|
-
serializedName: "zones",
|
|
2127
|
-
type: {
|
|
2128
|
-
name: "String"
|
|
2129
|
-
}
|
|
2130
|
-
} })
|
|
2131
|
-
}
|
|
2132
|
-
};
|
|
2133
|
-
const KeyVaultResourceSettings = {
|
|
2134
|
-
serializedName: "Microsoft.KeyVault/vaults",
|
|
2135
|
-
type: {
|
|
2136
|
-
name: "Composite",
|
|
2137
|
-
className: "KeyVaultResourceSettings",
|
|
2138
|
-
uberParent: "ResourceSettings",
|
|
2139
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2140
|
-
modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
|
|
2141
|
-
}
|
|
2142
|
-
};
|
|
2143
|
-
const DiskEncryptionSetResourceSettings = {
|
|
2144
|
-
serializedName: "Microsoft.Compute/diskEncryptionSets",
|
|
2145
|
-
type: {
|
|
2146
|
-
name: "Composite",
|
|
2147
|
-
className: "DiskEncryptionSetResourceSettings",
|
|
2148
|
-
uberParent: "ResourceSettings",
|
|
2149
|
-
polymorphicDiscriminator: ResourceSettings.type.polymorphicDiscriminator,
|
|
2150
|
-
modelProperties: Object.assign({}, ResourceSettings.type.modelProperties)
|
|
2151
|
-
}
|
|
2152
|
-
};
|
|
2153
|
-
const MoveResourcePropertiesMoveStatus = {
|
|
2154
|
-
type: {
|
|
2155
|
-
name: "Composite",
|
|
2156
|
-
className: "MoveResourcePropertiesMoveStatus",
|
|
2157
|
-
modelProperties: Object.assign({}, MoveResourceStatus.type.modelProperties)
|
|
2158
|
-
}
|
|
2159
|
-
};
|
|
2160
|
-
const NsgReference = {
|
|
2161
|
-
type: {
|
|
2162
|
-
name: "Composite",
|
|
2163
|
-
className: "NsgReference",
|
|
2164
|
-
modelProperties: Object.assign({}, AzureResourceReference.type.modelProperties)
|
|
2165
|
-
}
|
|
2166
|
-
};
|
|
2167
|
-
const ProxyResourceReference = {
|
|
2168
|
-
type: {
|
|
2169
|
-
name: "Composite",
|
|
2170
|
-
className: "ProxyResourceReference",
|
|
2171
|
-
modelProperties: Object.assign(Object.assign({}, AzureResourceReference.type.modelProperties), { name: {
|
|
2172
|
-
serializedName: "name",
|
|
2173
|
-
type: {
|
|
2174
|
-
name: "String"
|
|
2175
|
-
}
|
|
2176
|
-
} })
|
|
2177
|
-
}
|
|
2178
|
-
};
|
|
2179
|
-
const PublicIpReference = {
|
|
2180
|
-
type: {
|
|
2181
|
-
name: "Composite",
|
|
2182
|
-
className: "PublicIpReference",
|
|
2183
|
-
modelProperties: Object.assign({}, AzureResourceReference.type.modelProperties)
|
|
2184
|
-
}
|
|
2185
|
-
};
|
|
2186
|
-
const SubnetReference = {
|
|
2187
|
-
type: {
|
|
2188
|
-
name: "Composite",
|
|
2189
|
-
className: "SubnetReference",
|
|
2190
|
-
modelProperties: Object.assign({}, ProxyResourceReference.type.modelProperties)
|
|
2191
|
-
}
|
|
2192
|
-
};
|
|
2193
|
-
const LoadBalancerBackendAddressPoolReference = {
|
|
2194
|
-
type: {
|
|
2195
|
-
name: "Composite",
|
|
2196
|
-
className: "LoadBalancerBackendAddressPoolReference",
|
|
2197
|
-
modelProperties: Object.assign({}, ProxyResourceReference.type.modelProperties)
|
|
2198
|
-
}
|
|
2199
|
-
};
|
|
2200
|
-
const LoadBalancerNatRuleReference = {
|
|
2201
|
-
type: {
|
|
2202
|
-
name: "Composite",
|
|
2203
|
-
className: "LoadBalancerNatRuleReference",
|
|
2204
|
-
modelProperties: Object.assign({}, ProxyResourceReference.type.modelProperties)
|
|
2205
|
-
}
|
|
2206
|
-
};
|
|
2207
|
-
let discriminators = {
|
|
2208
|
-
ResourceSettings: ResourceSettings,
|
|
2209
|
-
"ResourceSettings.Microsoft.Compute/virtualMachines": VirtualMachineResourceSettings,
|
|
2210
|
-
"ResourceSettings.Microsoft.Compute/availabilitySets": AvailabilitySetResourceSettings,
|
|
2211
|
-
"ResourceSettings.Microsoft.Network/virtualNetworks": VirtualNetworkResourceSettings,
|
|
2212
|
-
"ResourceSettings.Microsoft.Network/networkInterfaces": NetworkInterfaceResourceSettings,
|
|
2213
|
-
"ResourceSettings.Microsoft.Network/networkSecurityGroups": NetworkSecurityGroupResourceSettings,
|
|
2214
|
-
"ResourceSettings.Microsoft.Network/loadBalancers": LoadBalancerResourceSettings,
|
|
2215
|
-
"ResourceSettings.Microsoft.Sql/servers": SqlServerResourceSettings,
|
|
2216
|
-
"ResourceSettings.Microsoft.Sql/servers/elasticPools": SqlElasticPoolResourceSettings,
|
|
2217
|
-
"ResourceSettings.Microsoft.Sql/servers/databases": SqlDatabaseResourceSettings,
|
|
2218
|
-
"ResourceSettings.resourceGroups": ResourceGroupResourceSettings,
|
|
2219
|
-
"ResourceSettings.Microsoft.Network/publicIPAddresses": PublicIPAddressResourceSettings,
|
|
2220
|
-
"ResourceSettings.Microsoft.KeyVault/vaults": KeyVaultResourceSettings,
|
|
2221
|
-
"ResourceSettings.Microsoft.Compute/diskEncryptionSets": DiskEncryptionSetResourceSettings
|
|
2222
|
-
};
|
|
2223
|
-
|
|
2224
|
-
var Mappers = /*#__PURE__*/Object.freeze({
|
|
2225
|
-
__proto__: null,
|
|
2226
|
-
AffectedMoveResource: AffectedMoveResource,
|
|
2227
|
-
AutomaticResolutionProperties: AutomaticResolutionProperties,
|
|
2228
|
-
AvailabilitySetResourceSettings: AvailabilitySetResourceSettings,
|
|
2229
|
-
AzureResourceReference: AzureResourceReference,
|
|
2230
|
-
BulkRemoveRequest: BulkRemoveRequest,
|
|
2231
|
-
CloudError: CloudError,
|
|
2232
|
-
CloudErrorBody: CloudErrorBody,
|
|
2233
|
-
CommitRequest: CommitRequest,
|
|
2234
|
-
DiscardRequest: DiscardRequest,
|
|
2235
|
-
DiskEncryptionSetResourceSettings: DiskEncryptionSetResourceSettings,
|
|
2236
|
-
Display: Display,
|
|
2237
|
-
Identity: Identity,
|
|
2238
|
-
JobStatus: JobStatus,
|
|
2239
|
-
KeyVaultResourceSettings: KeyVaultResourceSettings,
|
|
2240
|
-
LBBackendAddressPoolResourceSettings: LBBackendAddressPoolResourceSettings,
|
|
2241
|
-
LBFrontendIPConfigurationResourceSettings: LBFrontendIPConfigurationResourceSettings,
|
|
2242
|
-
LoadBalancerBackendAddressPoolReference: LoadBalancerBackendAddressPoolReference,
|
|
2243
|
-
LoadBalancerNatRuleReference: LoadBalancerNatRuleReference,
|
|
2244
|
-
LoadBalancerResourceSettings: LoadBalancerResourceSettings,
|
|
2245
|
-
ManualResolutionProperties: ManualResolutionProperties,
|
|
2246
|
-
MoveCollection: MoveCollection,
|
|
2247
|
-
MoveCollectionProperties: MoveCollectionProperties,
|
|
2248
|
-
MoveCollectionPropertiesErrors: MoveCollectionPropertiesErrors,
|
|
2249
|
-
MoveCollectionResultList: MoveCollectionResultList,
|
|
2250
|
-
MoveErrorInfo: MoveErrorInfo,
|
|
2251
|
-
MoveResource: MoveResource,
|
|
2252
|
-
MoveResourceCollection: MoveResourceCollection,
|
|
2253
|
-
MoveResourceDependency: MoveResourceDependency,
|
|
2254
|
-
MoveResourceDependencyOverride: MoveResourceDependencyOverride,
|
|
2255
|
-
MoveResourceError: MoveResourceError,
|
|
2256
|
-
MoveResourceErrorBody: MoveResourceErrorBody,
|
|
2257
|
-
MoveResourceFilter: MoveResourceFilter,
|
|
2258
|
-
MoveResourceFilterProperties: MoveResourceFilterProperties,
|
|
2259
|
-
MoveResourceProperties: MoveResourceProperties,
|
|
2260
|
-
MoveResourcePropertiesErrors: MoveResourcePropertiesErrors,
|
|
2261
|
-
MoveResourcePropertiesMoveStatus: MoveResourcePropertiesMoveStatus,
|
|
2262
|
-
MoveResourceStatus: MoveResourceStatus,
|
|
2263
|
-
NetworkInterfaceResourceSettings: NetworkInterfaceResourceSettings,
|
|
2264
|
-
NetworkSecurityGroupResourceSettings: NetworkSecurityGroupResourceSettings,
|
|
2265
|
-
NicIpConfigurationResourceSettings: NicIpConfigurationResourceSettings,
|
|
2266
|
-
NsgReference: NsgReference,
|
|
2267
|
-
NsgSecurityRule: NsgSecurityRule,
|
|
2268
|
-
OperationErrorAdditionalInfo: OperationErrorAdditionalInfo,
|
|
2269
|
-
OperationStatus: OperationStatus,
|
|
2270
|
-
OperationStatusError: OperationStatusError,
|
|
2271
|
-
OperationsDiscovery: OperationsDiscovery,
|
|
2272
|
-
OperationsDiscoveryCollection: OperationsDiscoveryCollection,
|
|
2273
|
-
PrepareRequest: PrepareRequest,
|
|
2274
|
-
ProxyResourceReference: ProxyResourceReference,
|
|
2275
|
-
PublicIPAddressResourceSettings: PublicIPAddressResourceSettings,
|
|
2276
|
-
PublicIpReference: PublicIpReference,
|
|
2277
|
-
RequiredForResourcesCollection: RequiredForResourcesCollection,
|
|
2278
|
-
ResourceGroupResourceSettings: ResourceGroupResourceSettings,
|
|
2279
|
-
ResourceMoveRequest: ResourceMoveRequest,
|
|
2280
|
-
ResourceSettings: ResourceSettings,
|
|
2281
|
-
SqlDatabaseResourceSettings: SqlDatabaseResourceSettings,
|
|
2282
|
-
SqlElasticPoolResourceSettings: SqlElasticPoolResourceSettings,
|
|
2283
|
-
SqlServerResourceSettings: SqlServerResourceSettings,
|
|
2284
|
-
SubnetReference: SubnetReference,
|
|
2285
|
-
SubnetResourceSettings: SubnetResourceSettings,
|
|
2286
|
-
Summary: Summary,
|
|
2287
|
-
SummaryCollection: SummaryCollection,
|
|
2288
|
-
SystemData: SystemData,
|
|
2289
|
-
UnresolvedDependenciesFilter: UnresolvedDependenciesFilter,
|
|
2290
|
-
UnresolvedDependenciesFilterProperties: UnresolvedDependenciesFilterProperties,
|
|
2291
|
-
UnresolvedDependency: UnresolvedDependency,
|
|
2292
|
-
UnresolvedDependencyCollection: UnresolvedDependencyCollection,
|
|
2293
|
-
UpdateMoveCollectionRequest: UpdateMoveCollectionRequest,
|
|
2294
|
-
VirtualMachineResourceSettings: VirtualMachineResourceSettings,
|
|
2295
|
-
VirtualNetworkResourceSettings: VirtualNetworkResourceSettings,
|
|
2296
|
-
discriminators: discriminators
|
|
2297
|
-
});
|
|
2298
|
-
|
|
2299
|
-
/*
|
|
2300
|
-
* Copyright (c) Microsoft Corporation.
|
|
2301
|
-
* Licensed under the MIT License.
|
|
2302
|
-
*
|
|
2303
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2304
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2305
|
-
*/
|
|
2306
|
-
const contentType = {
|
|
2307
|
-
parameterPath: ["options", "contentType"],
|
|
2308
|
-
mapper: {
|
|
2309
|
-
defaultValue: "application/json",
|
|
2310
|
-
isConstant: true,
|
|
2311
|
-
serializedName: "Content-Type",
|
|
2312
|
-
type: {
|
|
2313
|
-
name: "String"
|
|
2314
|
-
}
|
|
2315
|
-
}
|
|
2316
|
-
};
|
|
2317
|
-
const body = {
|
|
2318
|
-
parameterPath: ["options", "body"],
|
|
2319
|
-
mapper: MoveCollection
|
|
2320
|
-
};
|
|
2321
|
-
const accept = {
|
|
2322
|
-
parameterPath: "accept",
|
|
2323
|
-
mapper: {
|
|
2324
|
-
defaultValue: "application/json",
|
|
2325
|
-
isConstant: true,
|
|
2326
|
-
serializedName: "Accept",
|
|
2327
|
-
type: {
|
|
2328
|
-
name: "String"
|
|
2329
|
-
}
|
|
2330
|
-
}
|
|
2331
|
-
};
|
|
2332
|
-
const $host = {
|
|
2333
|
-
parameterPath: "$host",
|
|
2334
|
-
mapper: {
|
|
2335
|
-
serializedName: "$host",
|
|
2336
|
-
required: true,
|
|
2337
|
-
type: {
|
|
2338
|
-
name: "String"
|
|
2339
|
-
}
|
|
2340
|
-
},
|
|
2341
|
-
skipEncoding: true
|
|
2342
|
-
};
|
|
2343
|
-
const subscriptionId = {
|
|
2344
|
-
parameterPath: "subscriptionId",
|
|
2345
|
-
mapper: {
|
|
2346
|
-
serializedName: "subscriptionId",
|
|
2347
|
-
required: true,
|
|
2348
|
-
type: {
|
|
2349
|
-
name: "String"
|
|
2350
|
-
}
|
|
2351
|
-
}
|
|
2352
|
-
};
|
|
2353
|
-
const resourceGroupName = {
|
|
2354
|
-
parameterPath: "resourceGroupName",
|
|
2355
|
-
mapper: {
|
|
2356
|
-
serializedName: "resourceGroupName",
|
|
2357
|
-
required: true,
|
|
2358
|
-
type: {
|
|
2359
|
-
name: "String"
|
|
2360
|
-
}
|
|
2361
|
-
}
|
|
2362
|
-
};
|
|
2363
|
-
const moveCollectionName = {
|
|
2364
|
-
parameterPath: "moveCollectionName",
|
|
2365
|
-
mapper: {
|
|
2366
|
-
serializedName: "moveCollectionName",
|
|
2367
|
-
required: true,
|
|
2368
|
-
type: {
|
|
2369
|
-
name: "String"
|
|
2370
|
-
}
|
|
2371
|
-
}
|
|
2372
|
-
};
|
|
2373
|
-
const apiVersion = {
|
|
2374
|
-
parameterPath: "apiVersion",
|
|
2375
|
-
mapper: {
|
|
2376
|
-
defaultValue: "2023-08-01",
|
|
2377
|
-
isConstant: true,
|
|
2378
|
-
serializedName: "api-version",
|
|
2379
|
-
type: {
|
|
2380
|
-
name: "String"
|
|
2381
|
-
}
|
|
2382
|
-
}
|
|
2383
|
-
};
|
|
2384
|
-
const body1 = {
|
|
2385
|
-
parameterPath: ["options", "body"],
|
|
2386
|
-
mapper: UpdateMoveCollectionRequest
|
|
2387
|
-
};
|
|
2388
|
-
const body2 = {
|
|
2389
|
-
parameterPath: ["options", "body"],
|
|
2390
|
-
mapper: PrepareRequest
|
|
2391
|
-
};
|
|
2392
|
-
const body3 = {
|
|
2393
|
-
parameterPath: ["options", "body"],
|
|
2394
|
-
mapper: ResourceMoveRequest
|
|
2395
|
-
};
|
|
2396
|
-
const body4 = {
|
|
2397
|
-
parameterPath: ["options", "body"],
|
|
2398
|
-
mapper: CommitRequest
|
|
2399
|
-
};
|
|
2400
|
-
const body5 = {
|
|
2401
|
-
parameterPath: ["options", "body"],
|
|
2402
|
-
mapper: DiscardRequest
|
|
2403
|
-
};
|
|
2404
|
-
const body6 = {
|
|
2405
|
-
parameterPath: ["options", "body"],
|
|
2406
|
-
mapper: BulkRemoveRequest
|
|
2407
|
-
};
|
|
2408
|
-
const sourceId = {
|
|
2409
|
-
parameterPath: "sourceId",
|
|
2410
|
-
mapper: {
|
|
2411
|
-
serializedName: "sourceId",
|
|
2412
|
-
required: true,
|
|
2413
|
-
type: {
|
|
2414
|
-
name: "String"
|
|
2415
|
-
}
|
|
2416
|
-
}
|
|
2417
|
-
};
|
|
2418
|
-
const nextLink = {
|
|
2419
|
-
parameterPath: "nextLink",
|
|
2420
|
-
mapper: {
|
|
2421
|
-
serializedName: "nextLink",
|
|
2422
|
-
required: true,
|
|
2423
|
-
type: {
|
|
2424
|
-
name: "String"
|
|
2425
|
-
}
|
|
2426
|
-
},
|
|
2427
|
-
skipEncoding: true
|
|
2428
|
-
};
|
|
2429
|
-
const filter = {
|
|
2430
|
-
parameterPath: ["options", "filter"],
|
|
2431
|
-
mapper: {
|
|
2432
|
-
serializedName: "$filter",
|
|
2433
|
-
type: {
|
|
2434
|
-
name: "String"
|
|
2435
|
-
}
|
|
2436
|
-
}
|
|
2437
|
-
};
|
|
2438
|
-
const body7 = {
|
|
2439
|
-
parameterPath: ["options", "body"],
|
|
2440
|
-
mapper: MoveResource
|
|
2441
|
-
};
|
|
2442
|
-
const moveResourceName = {
|
|
2443
|
-
parameterPath: "moveResourceName",
|
|
2444
|
-
mapper: {
|
|
2445
|
-
serializedName: "moveResourceName",
|
|
2446
|
-
required: true,
|
|
2447
|
-
type: {
|
|
2448
|
-
name: "String"
|
|
2449
|
-
}
|
|
2450
|
-
}
|
|
2451
|
-
};
|
|
2452
|
-
const dependencyLevel = {
|
|
2453
|
-
parameterPath: ["options", "dependencyLevel"],
|
|
2454
|
-
mapper: {
|
|
2455
|
-
serializedName: "dependencyLevel",
|
|
2456
|
-
type: {
|
|
2457
|
-
name: "String"
|
|
2458
|
-
}
|
|
2459
|
-
}
|
|
2460
|
-
};
|
|
2461
|
-
const orderby = {
|
|
2462
|
-
parameterPath: ["options", "orderby"],
|
|
2463
|
-
mapper: {
|
|
2464
|
-
serializedName: "$orderby",
|
|
2465
|
-
type: {
|
|
2466
|
-
name: "String"
|
|
2467
|
-
}
|
|
2468
|
-
}
|
|
2469
|
-
};
|
|
2470
|
-
|
|
2471
|
-
function createLroSpec(inputs) {
|
|
2472
|
-
const { args, spec, sendOperationFn } = inputs;
|
|
2473
|
-
return {
|
|
2474
|
-
requestMethod: spec.httpMethod,
|
|
2475
|
-
requestPath: spec.path,
|
|
2476
|
-
sendInitialRequest: () => sendOperationFn(args, spec),
|
|
2477
|
-
sendPollRequest: (path, options) => {
|
|
2478
|
-
const { requestBody } = spec, restSpec = tslib.__rest(spec, ["requestBody"]);
|
|
2479
|
-
return sendOperationFn(args, Object.assign(Object.assign({}, restSpec), { httpMethod: "GET", path, abortSignal: options === null || options === void 0 ? void 0 : options.abortSignal }));
|
|
2480
|
-
}
|
|
2481
|
-
};
|
|
2482
|
-
}
|
|
2483
|
-
|
|
2484
|
-
/*
|
|
2485
|
-
* Copyright (c) Microsoft Corporation.
|
|
2486
|
-
* Licensed under the MIT License.
|
|
2487
|
-
*
|
|
2488
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
2489
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
2490
|
-
*/
|
|
2491
|
-
/// <reference lib="esnext.asynciterable" />
|
|
2492
|
-
/** Class containing MoveCollections operations. */
|
|
2493
|
-
class MoveCollectionsImpl {
|
|
2494
|
-
/**
|
|
2495
|
-
* Initialize a new instance of the class MoveCollections class.
|
|
2496
|
-
* @param client Reference to the service client
|
|
2497
|
-
*/
|
|
2498
|
-
constructor(client) {
|
|
2499
|
-
this.client = client;
|
|
2500
|
-
}
|
|
2501
|
-
/**
|
|
2502
|
-
* Get all the Move Collections in the subscription.
|
|
2503
|
-
* @param options The options parameters.
|
|
2504
|
-
*/
|
|
2505
|
-
listMoveCollectionsBySubscription(options) {
|
|
2506
|
-
const iter = this.listMoveCollectionsBySubscriptionPagingAll(options);
|
|
2507
|
-
return {
|
|
2508
|
-
next() {
|
|
2509
|
-
return iter.next();
|
|
2510
|
-
},
|
|
2511
|
-
[Symbol.asyncIterator]() {
|
|
2512
|
-
return this;
|
|
2513
|
-
},
|
|
2514
|
-
byPage: (settings) => {
|
|
2515
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2516
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2517
|
-
}
|
|
2518
|
-
return this.listMoveCollectionsBySubscriptionPagingPage(options, settings);
|
|
2519
|
-
}
|
|
2520
|
-
};
|
|
2521
|
-
}
|
|
2522
|
-
listMoveCollectionsBySubscriptionPagingPage(options, settings) {
|
|
2523
|
-
return tslib.__asyncGenerator(this, arguments, function* listMoveCollectionsBySubscriptionPagingPage_1() {
|
|
2524
|
-
let result;
|
|
2525
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2526
|
-
if (!continuationToken) {
|
|
2527
|
-
result = yield tslib.__await(this._listMoveCollectionsBySubscription(options));
|
|
2528
|
-
let page = result.value || [];
|
|
2529
|
-
continuationToken = result.nextLink;
|
|
2530
|
-
setContinuationToken(page, continuationToken);
|
|
2531
|
-
yield yield tslib.__await(page);
|
|
2532
|
-
}
|
|
2533
|
-
while (continuationToken) {
|
|
2534
|
-
result = yield tslib.__await(this._listMoveCollectionsBySubscriptionNext(continuationToken, options));
|
|
2535
|
-
continuationToken = result.nextLink;
|
|
2536
|
-
let page = result.value || [];
|
|
2537
|
-
setContinuationToken(page, continuationToken);
|
|
2538
|
-
yield yield tslib.__await(page);
|
|
2539
|
-
}
|
|
2540
|
-
});
|
|
2541
|
-
}
|
|
2542
|
-
listMoveCollectionsBySubscriptionPagingAll(options) {
|
|
2543
|
-
return tslib.__asyncGenerator(this, arguments, function* listMoveCollectionsBySubscriptionPagingAll_1() {
|
|
2544
|
-
var _a, e_1, _b, _c;
|
|
2545
|
-
try {
|
|
2546
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listMoveCollectionsBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2547
|
-
_c = _f.value;
|
|
2548
|
-
_d = false;
|
|
2549
|
-
const page = _c;
|
|
2550
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2551
|
-
}
|
|
2552
|
-
}
|
|
2553
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
2554
|
-
finally {
|
|
2555
|
-
try {
|
|
2556
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2557
|
-
}
|
|
2558
|
-
finally { if (e_1) throw e_1.error; }
|
|
2559
|
-
}
|
|
2560
|
-
});
|
|
2561
|
-
}
|
|
2562
|
-
/**
|
|
2563
|
-
* Get all the Move Collections in the resource group.
|
|
2564
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2565
|
-
* @param options The options parameters.
|
|
2566
|
-
*/
|
|
2567
|
-
listMoveCollectionsByResourceGroup(resourceGroupName, options) {
|
|
2568
|
-
const iter = this.listMoveCollectionsByResourceGroupPagingAll(resourceGroupName, options);
|
|
2569
|
-
return {
|
|
2570
|
-
next() {
|
|
2571
|
-
return iter.next();
|
|
2572
|
-
},
|
|
2573
|
-
[Symbol.asyncIterator]() {
|
|
2574
|
-
return this;
|
|
2575
|
-
},
|
|
2576
|
-
byPage: (settings) => {
|
|
2577
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
2578
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
2579
|
-
}
|
|
2580
|
-
return this.listMoveCollectionsByResourceGroupPagingPage(resourceGroupName, options, settings);
|
|
2581
|
-
}
|
|
2582
|
-
};
|
|
2583
|
-
}
|
|
2584
|
-
listMoveCollectionsByResourceGroupPagingPage(resourceGroupName, options, settings) {
|
|
2585
|
-
return tslib.__asyncGenerator(this, arguments, function* listMoveCollectionsByResourceGroupPagingPage_1() {
|
|
2586
|
-
let result;
|
|
2587
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
2588
|
-
if (!continuationToken) {
|
|
2589
|
-
result = yield tslib.__await(this._listMoveCollectionsByResourceGroup(resourceGroupName, options));
|
|
2590
|
-
let page = result.value || [];
|
|
2591
|
-
continuationToken = result.nextLink;
|
|
2592
|
-
setContinuationToken(page, continuationToken);
|
|
2593
|
-
yield yield tslib.__await(page);
|
|
2594
|
-
}
|
|
2595
|
-
while (continuationToken) {
|
|
2596
|
-
result = yield tslib.__await(this._listMoveCollectionsByResourceGroupNext(resourceGroupName, continuationToken, options));
|
|
2597
|
-
continuationToken = result.nextLink;
|
|
2598
|
-
let page = result.value || [];
|
|
2599
|
-
setContinuationToken(page, continuationToken);
|
|
2600
|
-
yield yield tslib.__await(page);
|
|
2601
|
-
}
|
|
2602
|
-
});
|
|
2603
|
-
}
|
|
2604
|
-
listMoveCollectionsByResourceGroupPagingAll(resourceGroupName, options) {
|
|
2605
|
-
return tslib.__asyncGenerator(this, arguments, function* listMoveCollectionsByResourceGroupPagingAll_1() {
|
|
2606
|
-
var _a, e_2, _b, _c;
|
|
2607
|
-
try {
|
|
2608
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listMoveCollectionsByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
2609
|
-
_c = _f.value;
|
|
2610
|
-
_d = false;
|
|
2611
|
-
const page = _c;
|
|
2612
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
2613
|
-
}
|
|
2614
|
-
}
|
|
2615
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
2616
|
-
finally {
|
|
2617
|
-
try {
|
|
2618
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
2619
|
-
}
|
|
2620
|
-
finally { if (e_2) throw e_2.error; }
|
|
2621
|
-
}
|
|
2622
|
-
});
|
|
2623
|
-
}
|
|
2624
|
-
/**
|
|
2625
|
-
* Creates or updates a move collection.
|
|
2626
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2627
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2628
|
-
* @param options The options parameters.
|
|
2629
|
-
*/
|
|
2630
|
-
create(resourceGroupName, moveCollectionName, options) {
|
|
2631
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, createOperationSpec$1);
|
|
2632
|
-
}
|
|
2633
|
-
/**
|
|
2634
|
-
* Updates a move collection.
|
|
2635
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2636
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2637
|
-
* @param options The options parameters.
|
|
2638
|
-
*/
|
|
2639
|
-
update(resourceGroupName, moveCollectionName, options) {
|
|
2640
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, updateOperationSpec);
|
|
2641
|
-
}
|
|
2642
|
-
/**
|
|
2643
|
-
* Deletes a move collection.
|
|
2644
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2645
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2646
|
-
* @param options The options parameters.
|
|
2647
|
-
*/
|
|
2648
|
-
beginDelete(resourceGroupName, moveCollectionName, options) {
|
|
2649
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2650
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2651
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2652
|
-
});
|
|
2653
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2654
|
-
var _a;
|
|
2655
|
-
let currentRawResponse = undefined;
|
|
2656
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2657
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2658
|
-
currentRawResponse = rawResponse;
|
|
2659
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2660
|
-
};
|
|
2661
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2662
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2663
|
-
return {
|
|
2664
|
-
flatResponse,
|
|
2665
|
-
rawResponse: {
|
|
2666
|
-
statusCode: currentRawResponse.status,
|
|
2667
|
-
body: currentRawResponse.parsedBody,
|
|
2668
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2669
|
-
}
|
|
2670
|
-
};
|
|
2671
|
-
});
|
|
2672
|
-
const lro = createLroSpec({
|
|
2673
|
-
sendOperationFn,
|
|
2674
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
2675
|
-
spec: deleteOperationSpec$1
|
|
2676
|
-
});
|
|
2677
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2678
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2679
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2680
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2681
|
-
});
|
|
2682
|
-
yield poller.poll();
|
|
2683
|
-
return poller;
|
|
2684
|
-
});
|
|
2685
|
-
}
|
|
2686
|
-
/**
|
|
2687
|
-
* Deletes a move collection.
|
|
2688
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2689
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2690
|
-
* @param options The options parameters.
|
|
2691
|
-
*/
|
|
2692
|
-
beginDeleteAndWait(resourceGroupName, moveCollectionName, options) {
|
|
2693
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2694
|
-
const poller = yield this.beginDelete(resourceGroupName, moveCollectionName, options);
|
|
2695
|
-
return poller.pollUntilDone();
|
|
2696
|
-
});
|
|
2697
|
-
}
|
|
2698
|
-
/**
|
|
2699
|
-
* Gets the move collection.
|
|
2700
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2701
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2702
|
-
* @param options The options parameters.
|
|
2703
|
-
*/
|
|
2704
|
-
get(resourceGroupName, moveCollectionName, options) {
|
|
2705
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, getOperationSpec$3);
|
|
2706
|
-
}
|
|
2707
|
-
/**
|
|
2708
|
-
* Initiates prepare for the set of resources included in the request body. The prepare operation is on
|
|
2709
|
-
* the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
|
|
2710
|
-
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
2711
|
-
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
2712
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2713
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2714
|
-
* @param options The options parameters.
|
|
2715
|
-
*/
|
|
2716
|
-
beginPrepare(resourceGroupName, moveCollectionName, options) {
|
|
2717
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2718
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2719
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2720
|
-
});
|
|
2721
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2722
|
-
var _a;
|
|
2723
|
-
let currentRawResponse = undefined;
|
|
2724
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2725
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2726
|
-
currentRawResponse = rawResponse;
|
|
2727
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2728
|
-
};
|
|
2729
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2730
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2731
|
-
return {
|
|
2732
|
-
flatResponse,
|
|
2733
|
-
rawResponse: {
|
|
2734
|
-
statusCode: currentRawResponse.status,
|
|
2735
|
-
body: currentRawResponse.parsedBody,
|
|
2736
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2737
|
-
}
|
|
2738
|
-
};
|
|
2739
|
-
});
|
|
2740
|
-
const lro = createLroSpec({
|
|
2741
|
-
sendOperationFn,
|
|
2742
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
2743
|
-
spec: prepareOperationSpec
|
|
2744
|
-
});
|
|
2745
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2746
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2747
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2748
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2749
|
-
});
|
|
2750
|
-
yield poller.poll();
|
|
2751
|
-
return poller;
|
|
2752
|
-
});
|
|
2753
|
-
}
|
|
2754
|
-
/**
|
|
2755
|
-
* Initiates prepare for the set of resources included in the request body. The prepare operation is on
|
|
2756
|
-
* the moveResources that are in the moveState 'PreparePending' or 'PrepareFailed', on a successful
|
|
2757
|
-
* completion the moveResource moveState do a transition to MovePending. To aid the user to
|
|
2758
|
-
* prerequisite the operation the client can call operation with validateOnly property set to true.
|
|
2759
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2760
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2761
|
-
* @param options The options parameters.
|
|
2762
|
-
*/
|
|
2763
|
-
beginPrepareAndWait(resourceGroupName, moveCollectionName, options) {
|
|
2764
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2765
|
-
const poller = yield this.beginPrepare(resourceGroupName, moveCollectionName, options);
|
|
2766
|
-
return poller.pollUntilDone();
|
|
2767
|
-
});
|
|
2768
|
-
}
|
|
2769
|
-
/**
|
|
2770
|
-
* Moves the set of resources included in the request body. The move operation is triggered after the
|
|
2771
|
-
* moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
|
|
2772
|
-
* moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
2773
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2774
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2775
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2776
|
-
* @param options The options parameters.
|
|
2777
|
-
*/
|
|
2778
|
-
beginInitiateMove(resourceGroupName, moveCollectionName, options) {
|
|
2779
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2780
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2781
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2782
|
-
});
|
|
2783
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2784
|
-
var _a;
|
|
2785
|
-
let currentRawResponse = undefined;
|
|
2786
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2787
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2788
|
-
currentRawResponse = rawResponse;
|
|
2789
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2790
|
-
};
|
|
2791
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2792
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2793
|
-
return {
|
|
2794
|
-
flatResponse,
|
|
2795
|
-
rawResponse: {
|
|
2796
|
-
statusCode: currentRawResponse.status,
|
|
2797
|
-
body: currentRawResponse.parsedBody,
|
|
2798
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2799
|
-
}
|
|
2800
|
-
};
|
|
2801
|
-
});
|
|
2802
|
-
const lro = createLroSpec({
|
|
2803
|
-
sendOperationFn,
|
|
2804
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
2805
|
-
spec: initiateMoveOperationSpec
|
|
2806
|
-
});
|
|
2807
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2808
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2809
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2810
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2811
|
-
});
|
|
2812
|
-
yield poller.poll();
|
|
2813
|
-
return poller;
|
|
2814
|
-
});
|
|
2815
|
-
}
|
|
2816
|
-
/**
|
|
2817
|
-
* Moves the set of resources included in the request body. The move operation is triggered after the
|
|
2818
|
-
* moveResources are in the moveState 'MovePending' or 'MoveFailed', on a successful completion the
|
|
2819
|
-
* moveResource moveState do a transition to CommitPending. To aid the user to prerequisite the
|
|
2820
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2821
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2822
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2823
|
-
* @param options The options parameters.
|
|
2824
|
-
*/
|
|
2825
|
-
beginInitiateMoveAndWait(resourceGroupName, moveCollectionName, options) {
|
|
2826
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2827
|
-
const poller = yield this.beginInitiateMove(resourceGroupName, moveCollectionName, options);
|
|
2828
|
-
return poller.pollUntilDone();
|
|
2829
|
-
});
|
|
2830
|
-
}
|
|
2831
|
-
/**
|
|
2832
|
-
* Commits the set of resources included in the request body. The commit operation is triggered on the
|
|
2833
|
-
* moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
|
|
2834
|
-
* moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
|
|
2835
|
-
* the client can call operation with validateOnly property set to true.
|
|
2836
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2837
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2838
|
-
* @param options The options parameters.
|
|
2839
|
-
*/
|
|
2840
|
-
beginCommit(resourceGroupName, moveCollectionName, options) {
|
|
2841
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2842
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2843
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2844
|
-
});
|
|
2845
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2846
|
-
var _a;
|
|
2847
|
-
let currentRawResponse = undefined;
|
|
2848
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2849
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2850
|
-
currentRawResponse = rawResponse;
|
|
2851
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2852
|
-
};
|
|
2853
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2854
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2855
|
-
return {
|
|
2856
|
-
flatResponse,
|
|
2857
|
-
rawResponse: {
|
|
2858
|
-
statusCode: currentRawResponse.status,
|
|
2859
|
-
body: currentRawResponse.parsedBody,
|
|
2860
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2861
|
-
}
|
|
2862
|
-
};
|
|
2863
|
-
});
|
|
2864
|
-
const lro = createLroSpec({
|
|
2865
|
-
sendOperationFn,
|
|
2866
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
2867
|
-
spec: commitOperationSpec
|
|
2868
|
-
});
|
|
2869
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2870
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2871
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2872
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2873
|
-
});
|
|
2874
|
-
yield poller.poll();
|
|
2875
|
-
return poller;
|
|
2876
|
-
});
|
|
2877
|
-
}
|
|
2878
|
-
/**
|
|
2879
|
-
* Commits the set of resources included in the request body. The commit operation is triggered on the
|
|
2880
|
-
* moveResources in the moveState 'CommitPending' or 'CommitFailed', on a successful completion the
|
|
2881
|
-
* moveResource moveState do a transition to Committed. To aid the user to prerequisite the operation
|
|
2882
|
-
* the client can call operation with validateOnly property set to true.
|
|
2883
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2884
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2885
|
-
* @param options The options parameters.
|
|
2886
|
-
*/
|
|
2887
|
-
beginCommitAndWait(resourceGroupName, moveCollectionName, options) {
|
|
2888
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2889
|
-
const poller = yield this.beginCommit(resourceGroupName, moveCollectionName, options);
|
|
2890
|
-
return poller.pollUntilDone();
|
|
2891
|
-
});
|
|
2892
|
-
}
|
|
2893
|
-
/**
|
|
2894
|
-
* Discards the set of resources included in the request body. The discard operation is triggered on
|
|
2895
|
-
* the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
|
|
2896
|
-
* the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
|
|
2897
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2898
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2899
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2900
|
-
* @param options The options parameters.
|
|
2901
|
-
*/
|
|
2902
|
-
beginDiscard(resourceGroupName, moveCollectionName, options) {
|
|
2903
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2904
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2905
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2906
|
-
});
|
|
2907
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2908
|
-
var _a;
|
|
2909
|
-
let currentRawResponse = undefined;
|
|
2910
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2911
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2912
|
-
currentRawResponse = rawResponse;
|
|
2913
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2914
|
-
};
|
|
2915
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2916
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2917
|
-
return {
|
|
2918
|
-
flatResponse,
|
|
2919
|
-
rawResponse: {
|
|
2920
|
-
statusCode: currentRawResponse.status,
|
|
2921
|
-
body: currentRawResponse.parsedBody,
|
|
2922
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2923
|
-
}
|
|
2924
|
-
};
|
|
2925
|
-
});
|
|
2926
|
-
const lro = createLroSpec({
|
|
2927
|
-
sendOperationFn,
|
|
2928
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
2929
|
-
spec: discardOperationSpec
|
|
2930
|
-
});
|
|
2931
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2932
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2933
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2934
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2935
|
-
});
|
|
2936
|
-
yield poller.poll();
|
|
2937
|
-
return poller;
|
|
2938
|
-
});
|
|
2939
|
-
}
|
|
2940
|
-
/**
|
|
2941
|
-
* Discards the set of resources included in the request body. The discard operation is triggered on
|
|
2942
|
-
* the moveResources in the moveState 'CommitPending' or 'DiscardFailed', on a successful completion
|
|
2943
|
-
* the moveResource moveState do a transition to MovePending. To aid the user to prerequisite the
|
|
2944
|
-
* operation the client can call operation with validateOnly property set to true.
|
|
2945
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2946
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2947
|
-
* @param options The options parameters.
|
|
2948
|
-
*/
|
|
2949
|
-
beginDiscardAndWait(resourceGroupName, moveCollectionName, options) {
|
|
2950
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2951
|
-
const poller = yield this.beginDiscard(resourceGroupName, moveCollectionName, options);
|
|
2952
|
-
return poller.pollUntilDone();
|
|
2953
|
-
});
|
|
2954
|
-
}
|
|
2955
|
-
/**
|
|
2956
|
-
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
2957
|
-
* @param resourceGroupName The Resource Group Name.
|
|
2958
|
-
* @param moveCollectionName The Move Collection Name.
|
|
2959
|
-
* @param options The options parameters.
|
|
2960
|
-
*/
|
|
2961
|
-
beginResolveDependencies(resourceGroupName, moveCollectionName, options) {
|
|
2962
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2963
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2964
|
-
return this.client.sendOperationRequest(args, spec);
|
|
2965
|
-
});
|
|
2966
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
2967
|
-
var _a;
|
|
2968
|
-
let currentRawResponse = undefined;
|
|
2969
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
2970
|
-
const callback = (rawResponse, flatResponse) => {
|
|
2971
|
-
currentRawResponse = rawResponse;
|
|
2972
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
2973
|
-
};
|
|
2974
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
2975
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
2976
|
-
return {
|
|
2977
|
-
flatResponse,
|
|
2978
|
-
rawResponse: {
|
|
2979
|
-
statusCode: currentRawResponse.status,
|
|
2980
|
-
body: currentRawResponse.parsedBody,
|
|
2981
|
-
headers: currentRawResponse.headers.toJSON()
|
|
2982
|
-
}
|
|
2983
|
-
};
|
|
2984
|
-
});
|
|
2985
|
-
const lro = createLroSpec({
|
|
2986
|
-
sendOperationFn,
|
|
2987
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
2988
|
-
spec: resolveDependenciesOperationSpec
|
|
2989
|
-
});
|
|
2990
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
2991
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
2992
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
2993
|
-
resourceLocationConfig: "azure-async-operation"
|
|
2994
|
-
});
|
|
2995
|
-
yield poller.poll();
|
|
2996
|
-
return poller;
|
|
2997
|
-
});
|
|
2998
|
-
}
|
|
2999
|
-
/**
|
|
3000
|
-
* Computes, resolves and validate the dependencies of the moveResources in the move collection.
|
|
3001
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3002
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3003
|
-
* @param options The options parameters.
|
|
3004
|
-
*/
|
|
3005
|
-
beginResolveDependenciesAndWait(resourceGroupName, moveCollectionName, options) {
|
|
3006
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3007
|
-
const poller = yield this.beginResolveDependencies(resourceGroupName, moveCollectionName, options);
|
|
3008
|
-
return poller.pollUntilDone();
|
|
3009
|
-
});
|
|
3010
|
-
}
|
|
3011
|
-
/**
|
|
3012
|
-
* Removes the set of move resources included in the request body from move collection. The
|
|
3013
|
-
* orchestration is done by service. To aid the user to prerequisite the operation the client can call
|
|
3014
|
-
* operation with validateOnly property set to true.
|
|
3015
|
-
* @param resourceGroupName
|
|
3016
|
-
* @param moveCollectionName
|
|
3017
|
-
* @param options The options parameters.
|
|
3018
|
-
*/
|
|
3019
|
-
beginBulkRemove(resourceGroupName, moveCollectionName, options) {
|
|
3020
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3021
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3022
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3023
|
-
});
|
|
3024
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3025
|
-
var _a;
|
|
3026
|
-
let currentRawResponse = undefined;
|
|
3027
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3028
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3029
|
-
currentRawResponse = rawResponse;
|
|
3030
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3031
|
-
};
|
|
3032
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3033
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3034
|
-
return {
|
|
3035
|
-
flatResponse,
|
|
3036
|
-
rawResponse: {
|
|
3037
|
-
statusCode: currentRawResponse.status,
|
|
3038
|
-
body: currentRawResponse.parsedBody,
|
|
3039
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3040
|
-
}
|
|
3041
|
-
};
|
|
3042
|
-
});
|
|
3043
|
-
const lro = createLroSpec({
|
|
3044
|
-
sendOperationFn,
|
|
3045
|
-
args: { resourceGroupName, moveCollectionName, options },
|
|
3046
|
-
spec: bulkRemoveOperationSpec
|
|
3047
|
-
});
|
|
3048
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3049
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3050
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3051
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3052
|
-
});
|
|
3053
|
-
yield poller.poll();
|
|
3054
|
-
return poller;
|
|
3055
|
-
});
|
|
3056
|
-
}
|
|
3057
|
-
/**
|
|
3058
|
-
* Removes the set of move resources included in the request body from move collection. The
|
|
3059
|
-
* orchestration is done by service. To aid the user to prerequisite the operation the client can call
|
|
3060
|
-
* operation with validateOnly property set to true.
|
|
3061
|
-
* @param resourceGroupName
|
|
3062
|
-
* @param moveCollectionName
|
|
3063
|
-
* @param options The options parameters.
|
|
3064
|
-
*/
|
|
3065
|
-
beginBulkRemoveAndWait(resourceGroupName, moveCollectionName, options) {
|
|
3066
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3067
|
-
const poller = yield this.beginBulkRemove(resourceGroupName, moveCollectionName, options);
|
|
3068
|
-
return poller.pollUntilDone();
|
|
3069
|
-
});
|
|
3070
|
-
}
|
|
3071
|
-
/**
|
|
3072
|
-
* Get all the Move Collections in the subscription.
|
|
3073
|
-
* @param options The options parameters.
|
|
3074
|
-
*/
|
|
3075
|
-
_listMoveCollectionsBySubscription(options) {
|
|
3076
|
-
return this.client.sendOperationRequest({ options }, listMoveCollectionsBySubscriptionOperationSpec);
|
|
3077
|
-
}
|
|
3078
|
-
/**
|
|
3079
|
-
* Get all the Move Collections in the resource group.
|
|
3080
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3081
|
-
* @param options The options parameters.
|
|
3082
|
-
*/
|
|
3083
|
-
_listMoveCollectionsByResourceGroup(resourceGroupName, options) {
|
|
3084
|
-
return this.client.sendOperationRequest({ resourceGroupName, options }, listMoveCollectionsByResourceGroupOperationSpec);
|
|
3085
|
-
}
|
|
3086
|
-
/**
|
|
3087
|
-
* List of the move resources for which an arm resource is required for.
|
|
3088
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3089
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3090
|
-
* @param sourceId The sourceId for which the api is invoked.
|
|
3091
|
-
* @param options The options parameters.
|
|
3092
|
-
*/
|
|
3093
|
-
listRequiredFor(resourceGroupName, moveCollectionName, sourceId, options) {
|
|
3094
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, sourceId, options }, listRequiredForOperationSpec);
|
|
3095
|
-
}
|
|
3096
|
-
/**
|
|
3097
|
-
* ListMoveCollectionsBySubscriptionNext
|
|
3098
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
3099
|
-
* ListMoveCollectionsBySubscription method.
|
|
3100
|
-
* @param options The options parameters.
|
|
3101
|
-
*/
|
|
3102
|
-
_listMoveCollectionsBySubscriptionNext(nextLink, options) {
|
|
3103
|
-
return this.client.sendOperationRequest({ nextLink, options }, listMoveCollectionsBySubscriptionNextOperationSpec);
|
|
3104
|
-
}
|
|
3105
|
-
/**
|
|
3106
|
-
* ListMoveCollectionsByResourceGroupNext
|
|
3107
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3108
|
-
* @param nextLink The nextLink from the previous successful call to the
|
|
3109
|
-
* ListMoveCollectionsByResourceGroup method.
|
|
3110
|
-
* @param options The options parameters.
|
|
3111
|
-
*/
|
|
3112
|
-
_listMoveCollectionsByResourceGroupNext(resourceGroupName, nextLink, options) {
|
|
3113
|
-
return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listMoveCollectionsByResourceGroupNextOperationSpec);
|
|
3114
|
-
}
|
|
3115
|
-
}
|
|
3116
|
-
// Operation Specifications
|
|
3117
|
-
const serializer$3 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3118
|
-
const createOperationSpec$1 = {
|
|
3119
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
3120
|
-
httpMethod: "PUT",
|
|
3121
|
-
responses: {
|
|
3122
|
-
200: {
|
|
3123
|
-
bodyMapper: MoveCollection
|
|
3124
|
-
},
|
|
3125
|
-
201: {
|
|
3126
|
-
bodyMapper: MoveCollection
|
|
3127
|
-
},
|
|
3128
|
-
default: {
|
|
3129
|
-
bodyMapper: CloudError
|
|
3130
|
-
}
|
|
3131
|
-
},
|
|
3132
|
-
requestBody: body,
|
|
3133
|
-
queryParameters: [apiVersion],
|
|
3134
|
-
urlParameters: [
|
|
3135
|
-
$host,
|
|
3136
|
-
subscriptionId,
|
|
3137
|
-
resourceGroupName,
|
|
3138
|
-
moveCollectionName
|
|
3139
|
-
],
|
|
3140
|
-
headerParameters: [contentType, accept],
|
|
3141
|
-
mediaType: "json",
|
|
3142
|
-
serializer: serializer$3
|
|
3143
|
-
};
|
|
3144
|
-
const updateOperationSpec = {
|
|
3145
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
3146
|
-
httpMethod: "PATCH",
|
|
3147
|
-
responses: {
|
|
3148
|
-
200: {
|
|
3149
|
-
bodyMapper: MoveCollection
|
|
3150
|
-
},
|
|
3151
|
-
default: {
|
|
3152
|
-
bodyMapper: CloudError
|
|
3153
|
-
}
|
|
3154
|
-
},
|
|
3155
|
-
requestBody: body1,
|
|
3156
|
-
queryParameters: [apiVersion],
|
|
3157
|
-
urlParameters: [
|
|
3158
|
-
$host,
|
|
3159
|
-
subscriptionId,
|
|
3160
|
-
resourceGroupName,
|
|
3161
|
-
moveCollectionName
|
|
3162
|
-
],
|
|
3163
|
-
headerParameters: [contentType, accept],
|
|
3164
|
-
mediaType: "json",
|
|
3165
|
-
serializer: serializer$3
|
|
3166
|
-
};
|
|
3167
|
-
const deleteOperationSpec$1 = {
|
|
3168
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
3169
|
-
httpMethod: "DELETE",
|
|
3170
|
-
responses: {
|
|
3171
|
-
200: {
|
|
3172
|
-
bodyMapper: OperationStatus
|
|
3173
|
-
},
|
|
3174
|
-
201: {
|
|
3175
|
-
bodyMapper: OperationStatus
|
|
3176
|
-
},
|
|
3177
|
-
202: {
|
|
3178
|
-
bodyMapper: OperationStatus
|
|
3179
|
-
},
|
|
3180
|
-
204: {
|
|
3181
|
-
bodyMapper: OperationStatus
|
|
3182
|
-
},
|
|
3183
|
-
default: {
|
|
3184
|
-
bodyMapper: CloudError
|
|
3185
|
-
}
|
|
3186
|
-
},
|
|
3187
|
-
queryParameters: [apiVersion],
|
|
3188
|
-
urlParameters: [
|
|
3189
|
-
$host,
|
|
3190
|
-
subscriptionId,
|
|
3191
|
-
resourceGroupName,
|
|
3192
|
-
moveCollectionName
|
|
3193
|
-
],
|
|
3194
|
-
headerParameters: [accept],
|
|
3195
|
-
serializer: serializer$3
|
|
3196
|
-
};
|
|
3197
|
-
const getOperationSpec$3 = {
|
|
3198
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}",
|
|
3199
|
-
httpMethod: "GET",
|
|
3200
|
-
responses: {
|
|
3201
|
-
200: {
|
|
3202
|
-
bodyMapper: MoveCollection
|
|
3203
|
-
},
|
|
3204
|
-
default: {
|
|
3205
|
-
bodyMapper: CloudError
|
|
3206
|
-
}
|
|
3207
|
-
},
|
|
3208
|
-
queryParameters: [apiVersion],
|
|
3209
|
-
urlParameters: [
|
|
3210
|
-
$host,
|
|
3211
|
-
subscriptionId,
|
|
3212
|
-
resourceGroupName,
|
|
3213
|
-
moveCollectionName
|
|
3214
|
-
],
|
|
3215
|
-
headerParameters: [accept],
|
|
3216
|
-
serializer: serializer$3
|
|
3217
|
-
};
|
|
3218
|
-
const prepareOperationSpec = {
|
|
3219
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/prepare",
|
|
3220
|
-
httpMethod: "POST",
|
|
3221
|
-
responses: {
|
|
3222
|
-
200: {
|
|
3223
|
-
bodyMapper: OperationStatus
|
|
3224
|
-
},
|
|
3225
|
-
201: {
|
|
3226
|
-
bodyMapper: OperationStatus
|
|
3227
|
-
},
|
|
3228
|
-
202: {
|
|
3229
|
-
bodyMapper: OperationStatus
|
|
3230
|
-
},
|
|
3231
|
-
204: {
|
|
3232
|
-
bodyMapper: OperationStatus
|
|
3233
|
-
},
|
|
3234
|
-
default: {
|
|
3235
|
-
bodyMapper: CloudError
|
|
3236
|
-
}
|
|
3237
|
-
},
|
|
3238
|
-
requestBody: body2,
|
|
3239
|
-
queryParameters: [apiVersion],
|
|
3240
|
-
urlParameters: [
|
|
3241
|
-
$host,
|
|
3242
|
-
subscriptionId,
|
|
3243
|
-
resourceGroupName,
|
|
3244
|
-
moveCollectionName
|
|
3245
|
-
],
|
|
3246
|
-
headerParameters: [contentType, accept],
|
|
3247
|
-
mediaType: "json",
|
|
3248
|
-
serializer: serializer$3
|
|
3249
|
-
};
|
|
3250
|
-
const initiateMoveOperationSpec = {
|
|
3251
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/initiateMove",
|
|
3252
|
-
httpMethod: "POST",
|
|
3253
|
-
responses: {
|
|
3254
|
-
200: {
|
|
3255
|
-
bodyMapper: OperationStatus
|
|
3256
|
-
},
|
|
3257
|
-
201: {
|
|
3258
|
-
bodyMapper: OperationStatus
|
|
3259
|
-
},
|
|
3260
|
-
202: {
|
|
3261
|
-
bodyMapper: OperationStatus
|
|
3262
|
-
},
|
|
3263
|
-
204: {
|
|
3264
|
-
bodyMapper: OperationStatus
|
|
3265
|
-
},
|
|
3266
|
-
default: {
|
|
3267
|
-
bodyMapper: CloudError
|
|
3268
|
-
}
|
|
3269
|
-
},
|
|
3270
|
-
requestBody: body3,
|
|
3271
|
-
queryParameters: [apiVersion],
|
|
3272
|
-
urlParameters: [
|
|
3273
|
-
$host,
|
|
3274
|
-
subscriptionId,
|
|
3275
|
-
resourceGroupName,
|
|
3276
|
-
moveCollectionName
|
|
3277
|
-
],
|
|
3278
|
-
headerParameters: [contentType, accept],
|
|
3279
|
-
mediaType: "json",
|
|
3280
|
-
serializer: serializer$3
|
|
3281
|
-
};
|
|
3282
|
-
const commitOperationSpec = {
|
|
3283
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/commit",
|
|
3284
|
-
httpMethod: "POST",
|
|
3285
|
-
responses: {
|
|
3286
|
-
200: {
|
|
3287
|
-
bodyMapper: OperationStatus
|
|
3288
|
-
},
|
|
3289
|
-
201: {
|
|
3290
|
-
bodyMapper: OperationStatus
|
|
3291
|
-
},
|
|
3292
|
-
202: {
|
|
3293
|
-
bodyMapper: OperationStatus
|
|
3294
|
-
},
|
|
3295
|
-
204: {
|
|
3296
|
-
bodyMapper: OperationStatus
|
|
3297
|
-
},
|
|
3298
|
-
default: {
|
|
3299
|
-
bodyMapper: CloudError
|
|
3300
|
-
}
|
|
3301
|
-
},
|
|
3302
|
-
requestBody: body4,
|
|
3303
|
-
queryParameters: [apiVersion],
|
|
3304
|
-
urlParameters: [
|
|
3305
|
-
$host,
|
|
3306
|
-
subscriptionId,
|
|
3307
|
-
resourceGroupName,
|
|
3308
|
-
moveCollectionName
|
|
3309
|
-
],
|
|
3310
|
-
headerParameters: [contentType, accept],
|
|
3311
|
-
mediaType: "json",
|
|
3312
|
-
serializer: serializer$3
|
|
3313
|
-
};
|
|
3314
|
-
const discardOperationSpec = {
|
|
3315
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/discard",
|
|
3316
|
-
httpMethod: "POST",
|
|
3317
|
-
responses: {
|
|
3318
|
-
200: {
|
|
3319
|
-
bodyMapper: OperationStatus
|
|
3320
|
-
},
|
|
3321
|
-
201: {
|
|
3322
|
-
bodyMapper: OperationStatus
|
|
3323
|
-
},
|
|
3324
|
-
202: {
|
|
3325
|
-
bodyMapper: OperationStatus
|
|
3326
|
-
},
|
|
3327
|
-
204: {
|
|
3328
|
-
bodyMapper: OperationStatus
|
|
3329
|
-
},
|
|
3330
|
-
default: {
|
|
3331
|
-
bodyMapper: CloudError
|
|
3332
|
-
}
|
|
3333
|
-
},
|
|
3334
|
-
requestBody: body5,
|
|
3335
|
-
queryParameters: [apiVersion],
|
|
3336
|
-
urlParameters: [
|
|
3337
|
-
$host,
|
|
3338
|
-
subscriptionId,
|
|
3339
|
-
resourceGroupName,
|
|
3340
|
-
moveCollectionName
|
|
3341
|
-
],
|
|
3342
|
-
headerParameters: [contentType, accept],
|
|
3343
|
-
mediaType: "json",
|
|
3344
|
-
serializer: serializer$3
|
|
3345
|
-
};
|
|
3346
|
-
const resolveDependenciesOperationSpec = {
|
|
3347
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/resolveDependencies",
|
|
3348
|
-
httpMethod: "POST",
|
|
3349
|
-
responses: {
|
|
3350
|
-
200: {
|
|
3351
|
-
bodyMapper: OperationStatus
|
|
3352
|
-
},
|
|
3353
|
-
201: {
|
|
3354
|
-
bodyMapper: OperationStatus
|
|
3355
|
-
},
|
|
3356
|
-
202: {
|
|
3357
|
-
bodyMapper: OperationStatus
|
|
3358
|
-
},
|
|
3359
|
-
204: {
|
|
3360
|
-
bodyMapper: OperationStatus
|
|
3361
|
-
},
|
|
3362
|
-
default: {
|
|
3363
|
-
bodyMapper: CloudError
|
|
3364
|
-
}
|
|
3365
|
-
},
|
|
3366
|
-
queryParameters: [apiVersion],
|
|
3367
|
-
urlParameters: [
|
|
3368
|
-
$host,
|
|
3369
|
-
subscriptionId,
|
|
3370
|
-
resourceGroupName,
|
|
3371
|
-
moveCollectionName
|
|
3372
|
-
],
|
|
3373
|
-
headerParameters: [accept],
|
|
3374
|
-
serializer: serializer$3
|
|
3375
|
-
};
|
|
3376
|
-
const bulkRemoveOperationSpec = {
|
|
3377
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/bulkRemove",
|
|
3378
|
-
httpMethod: "POST",
|
|
3379
|
-
responses: {
|
|
3380
|
-
200: {
|
|
3381
|
-
bodyMapper: OperationStatus
|
|
3382
|
-
},
|
|
3383
|
-
201: {
|
|
3384
|
-
bodyMapper: OperationStatus
|
|
3385
|
-
},
|
|
3386
|
-
202: {
|
|
3387
|
-
bodyMapper: OperationStatus
|
|
3388
|
-
},
|
|
3389
|
-
204: {
|
|
3390
|
-
bodyMapper: OperationStatus
|
|
3391
|
-
},
|
|
3392
|
-
default: {
|
|
3393
|
-
bodyMapper: CloudError
|
|
3394
|
-
}
|
|
3395
|
-
},
|
|
3396
|
-
requestBody: body6,
|
|
3397
|
-
queryParameters: [apiVersion],
|
|
3398
|
-
urlParameters: [
|
|
3399
|
-
$host,
|
|
3400
|
-
subscriptionId,
|
|
3401
|
-
resourceGroupName,
|
|
3402
|
-
moveCollectionName
|
|
3403
|
-
],
|
|
3404
|
-
headerParameters: [contentType, accept],
|
|
3405
|
-
mediaType: "json",
|
|
3406
|
-
serializer: serializer$3
|
|
3407
|
-
};
|
|
3408
|
-
const listMoveCollectionsBySubscriptionOperationSpec = {
|
|
3409
|
-
path: "/subscriptions/{subscriptionId}/providers/Microsoft.Migrate/moveCollections",
|
|
3410
|
-
httpMethod: "GET",
|
|
3411
|
-
responses: {
|
|
3412
|
-
200: {
|
|
3413
|
-
bodyMapper: MoveCollectionResultList
|
|
3414
|
-
},
|
|
3415
|
-
default: {
|
|
3416
|
-
bodyMapper: CloudError
|
|
3417
|
-
}
|
|
3418
|
-
},
|
|
3419
|
-
queryParameters: [apiVersion],
|
|
3420
|
-
urlParameters: [$host, subscriptionId],
|
|
3421
|
-
headerParameters: [accept],
|
|
3422
|
-
serializer: serializer$3
|
|
3423
|
-
};
|
|
3424
|
-
const listMoveCollectionsByResourceGroupOperationSpec = {
|
|
3425
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections",
|
|
3426
|
-
httpMethod: "GET",
|
|
3427
|
-
responses: {
|
|
3428
|
-
200: {
|
|
3429
|
-
bodyMapper: MoveCollectionResultList
|
|
3430
|
-
},
|
|
3431
|
-
default: {
|
|
3432
|
-
bodyMapper: CloudError
|
|
3433
|
-
}
|
|
3434
|
-
},
|
|
3435
|
-
queryParameters: [apiVersion],
|
|
3436
|
-
urlParameters: [
|
|
3437
|
-
$host,
|
|
3438
|
-
subscriptionId,
|
|
3439
|
-
resourceGroupName
|
|
3440
|
-
],
|
|
3441
|
-
headerParameters: [accept],
|
|
3442
|
-
serializer: serializer$3
|
|
3443
|
-
};
|
|
3444
|
-
const listRequiredForOperationSpec = {
|
|
3445
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/requiredFor",
|
|
3446
|
-
httpMethod: "GET",
|
|
3447
|
-
responses: {
|
|
3448
|
-
200: {
|
|
3449
|
-
bodyMapper: RequiredForResourcesCollection
|
|
3450
|
-
},
|
|
3451
|
-
default: {
|
|
3452
|
-
bodyMapper: CloudError
|
|
3453
|
-
}
|
|
3454
|
-
},
|
|
3455
|
-
queryParameters: [apiVersion, sourceId],
|
|
3456
|
-
urlParameters: [
|
|
3457
|
-
$host,
|
|
3458
|
-
subscriptionId,
|
|
3459
|
-
resourceGroupName,
|
|
3460
|
-
moveCollectionName
|
|
3461
|
-
],
|
|
3462
|
-
headerParameters: [accept],
|
|
3463
|
-
serializer: serializer$3
|
|
3464
|
-
};
|
|
3465
|
-
const listMoveCollectionsBySubscriptionNextOperationSpec = {
|
|
3466
|
-
path: "{nextLink}",
|
|
3467
|
-
httpMethod: "GET",
|
|
3468
|
-
responses: {
|
|
3469
|
-
200: {
|
|
3470
|
-
bodyMapper: MoveCollectionResultList
|
|
3471
|
-
},
|
|
3472
|
-
default: {
|
|
3473
|
-
bodyMapper: CloudError
|
|
3474
|
-
}
|
|
3475
|
-
},
|
|
3476
|
-
urlParameters: [
|
|
3477
|
-
$host,
|
|
3478
|
-
subscriptionId,
|
|
3479
|
-
nextLink
|
|
3480
|
-
],
|
|
3481
|
-
headerParameters: [accept],
|
|
3482
|
-
serializer: serializer$3
|
|
3483
|
-
};
|
|
3484
|
-
const listMoveCollectionsByResourceGroupNextOperationSpec = {
|
|
3485
|
-
path: "{nextLink}",
|
|
3486
|
-
httpMethod: "GET",
|
|
3487
|
-
responses: {
|
|
3488
|
-
200: {
|
|
3489
|
-
bodyMapper: MoveCollectionResultList
|
|
3490
|
-
},
|
|
3491
|
-
default: {
|
|
3492
|
-
bodyMapper: CloudError
|
|
3493
|
-
}
|
|
3494
|
-
},
|
|
3495
|
-
urlParameters: [
|
|
3496
|
-
$host,
|
|
3497
|
-
subscriptionId,
|
|
3498
|
-
resourceGroupName,
|
|
3499
|
-
nextLink
|
|
3500
|
-
],
|
|
3501
|
-
headerParameters: [accept],
|
|
3502
|
-
serializer: serializer$3
|
|
3503
|
-
};
|
|
3504
|
-
|
|
3505
|
-
/*
|
|
3506
|
-
* Copyright (c) Microsoft Corporation.
|
|
3507
|
-
* Licensed under the MIT License.
|
|
3508
|
-
*
|
|
3509
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3510
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3511
|
-
*/
|
|
3512
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3513
|
-
/** Class containing MoveResources operations. */
|
|
3514
|
-
class MoveResourcesImpl {
|
|
3515
|
-
/**
|
|
3516
|
-
* Initialize a new instance of the class MoveResources class.
|
|
3517
|
-
* @param client Reference to the service client
|
|
3518
|
-
*/
|
|
3519
|
-
constructor(client) {
|
|
3520
|
-
this.client = client;
|
|
3521
|
-
}
|
|
3522
|
-
/**
|
|
3523
|
-
* Lists the Move Resources in the move collection.
|
|
3524
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3525
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3526
|
-
* @param options The options parameters.
|
|
3527
|
-
*/
|
|
3528
|
-
list(resourceGroupName, moveCollectionName, options) {
|
|
3529
|
-
const iter = this.listPagingAll(resourceGroupName, moveCollectionName, options);
|
|
3530
|
-
return {
|
|
3531
|
-
next() {
|
|
3532
|
-
return iter.next();
|
|
3533
|
-
},
|
|
3534
|
-
[Symbol.asyncIterator]() {
|
|
3535
|
-
return this;
|
|
3536
|
-
},
|
|
3537
|
-
byPage: (settings) => {
|
|
3538
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3539
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3540
|
-
}
|
|
3541
|
-
return this.listPagingPage(resourceGroupName, moveCollectionName, options, settings);
|
|
3542
|
-
}
|
|
3543
|
-
};
|
|
3544
|
-
}
|
|
3545
|
-
listPagingPage(resourceGroupName, moveCollectionName, options, settings) {
|
|
3546
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
3547
|
-
let result;
|
|
3548
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3549
|
-
if (!continuationToken) {
|
|
3550
|
-
result = yield tslib.__await(this._list(resourceGroupName, moveCollectionName, options));
|
|
3551
|
-
let page = result.value || [];
|
|
3552
|
-
continuationToken = result.nextLink;
|
|
3553
|
-
setContinuationToken(page, continuationToken);
|
|
3554
|
-
yield yield tslib.__await(page);
|
|
3555
|
-
}
|
|
3556
|
-
while (continuationToken) {
|
|
3557
|
-
result = yield tslib.__await(this._listNext(resourceGroupName, moveCollectionName, continuationToken, options));
|
|
3558
|
-
continuationToken = result.nextLink;
|
|
3559
|
-
let page = result.value || [];
|
|
3560
|
-
setContinuationToken(page, continuationToken);
|
|
3561
|
-
yield yield tslib.__await(page);
|
|
3562
|
-
}
|
|
3563
|
-
});
|
|
3564
|
-
}
|
|
3565
|
-
listPagingAll(resourceGroupName, moveCollectionName, options) {
|
|
3566
|
-
return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
3567
|
-
var _a, e_1, _b, _c;
|
|
3568
|
-
try {
|
|
3569
|
-
for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, moveCollectionName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3570
|
-
_c = _f.value;
|
|
3571
|
-
_d = false;
|
|
3572
|
-
const page = _c;
|
|
3573
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3574
|
-
}
|
|
3575
|
-
}
|
|
3576
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3577
|
-
finally {
|
|
3578
|
-
try {
|
|
3579
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3580
|
-
}
|
|
3581
|
-
finally { if (e_1) throw e_1.error; }
|
|
3582
|
-
}
|
|
3583
|
-
});
|
|
3584
|
-
}
|
|
3585
|
-
/**
|
|
3586
|
-
* Lists the Move Resources in the move collection.
|
|
3587
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3588
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3589
|
-
* @param options The options parameters.
|
|
3590
|
-
*/
|
|
3591
|
-
_list(resourceGroupName, moveCollectionName, options) {
|
|
3592
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, listOperationSpec);
|
|
3593
|
-
}
|
|
3594
|
-
/**
|
|
3595
|
-
* Creates or updates a Move Resource in the move collection.
|
|
3596
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3597
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3598
|
-
* @param moveResourceName The Move Resource Name.
|
|
3599
|
-
* @param options The options parameters.
|
|
3600
|
-
*/
|
|
3601
|
-
beginCreate(resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3602
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3603
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3604
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3605
|
-
});
|
|
3606
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3607
|
-
var _a;
|
|
3608
|
-
let currentRawResponse = undefined;
|
|
3609
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3610
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3611
|
-
currentRawResponse = rawResponse;
|
|
3612
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3613
|
-
};
|
|
3614
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3615
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3616
|
-
return {
|
|
3617
|
-
flatResponse,
|
|
3618
|
-
rawResponse: {
|
|
3619
|
-
statusCode: currentRawResponse.status,
|
|
3620
|
-
body: currentRawResponse.parsedBody,
|
|
3621
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3622
|
-
}
|
|
3623
|
-
};
|
|
3624
|
-
});
|
|
3625
|
-
const lro = createLroSpec({
|
|
3626
|
-
sendOperationFn,
|
|
3627
|
-
args: {
|
|
3628
|
-
resourceGroupName,
|
|
3629
|
-
moveCollectionName,
|
|
3630
|
-
moveResourceName,
|
|
3631
|
-
options
|
|
3632
|
-
},
|
|
3633
|
-
spec: createOperationSpec
|
|
3634
|
-
});
|
|
3635
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3636
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3637
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3638
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3639
|
-
});
|
|
3640
|
-
yield poller.poll();
|
|
3641
|
-
return poller;
|
|
3642
|
-
});
|
|
3643
|
-
}
|
|
3644
|
-
/**
|
|
3645
|
-
* Creates or updates a Move Resource in the move collection.
|
|
3646
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3647
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3648
|
-
* @param moveResourceName The Move Resource Name.
|
|
3649
|
-
* @param options The options parameters.
|
|
3650
|
-
*/
|
|
3651
|
-
beginCreateAndWait(resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3652
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3653
|
-
const poller = yield this.beginCreate(resourceGroupName, moveCollectionName, moveResourceName, options);
|
|
3654
|
-
return poller.pollUntilDone();
|
|
3655
|
-
});
|
|
3656
|
-
}
|
|
3657
|
-
/**
|
|
3658
|
-
* Deletes a Move Resource from the move collection.
|
|
3659
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3660
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3661
|
-
* @param moveResourceName The Move Resource Name.
|
|
3662
|
-
* @param options The options parameters.
|
|
3663
|
-
*/
|
|
3664
|
-
beginDelete(resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3665
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3666
|
-
const directSendOperation = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3667
|
-
return this.client.sendOperationRequest(args, spec);
|
|
3668
|
-
});
|
|
3669
|
-
const sendOperationFn = (args, spec) => tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3670
|
-
var _a;
|
|
3671
|
-
let currentRawResponse = undefined;
|
|
3672
|
-
const providedCallback = (_a = args.options) === null || _a === void 0 ? void 0 : _a.onResponse;
|
|
3673
|
-
const callback = (rawResponse, flatResponse) => {
|
|
3674
|
-
currentRawResponse = rawResponse;
|
|
3675
|
-
providedCallback === null || providedCallback === void 0 ? void 0 : providedCallback(rawResponse, flatResponse);
|
|
3676
|
-
};
|
|
3677
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
3678
|
-
const flatResponse = yield directSendOperation(updatedArgs, spec);
|
|
3679
|
-
return {
|
|
3680
|
-
flatResponse,
|
|
3681
|
-
rawResponse: {
|
|
3682
|
-
statusCode: currentRawResponse.status,
|
|
3683
|
-
body: currentRawResponse.parsedBody,
|
|
3684
|
-
headers: currentRawResponse.headers.toJSON()
|
|
3685
|
-
}
|
|
3686
|
-
};
|
|
3687
|
-
});
|
|
3688
|
-
const lro = createLroSpec({
|
|
3689
|
-
sendOperationFn,
|
|
3690
|
-
args: {
|
|
3691
|
-
resourceGroupName,
|
|
3692
|
-
moveCollectionName,
|
|
3693
|
-
moveResourceName,
|
|
3694
|
-
options
|
|
3695
|
-
},
|
|
3696
|
-
spec: deleteOperationSpec
|
|
3697
|
-
});
|
|
3698
|
-
const poller = yield coreLro.createHttpPoller(lro, {
|
|
3699
|
-
restoreFrom: options === null || options === void 0 ? void 0 : options.resumeFrom,
|
|
3700
|
-
intervalInMs: options === null || options === void 0 ? void 0 : options.updateIntervalInMs,
|
|
3701
|
-
resourceLocationConfig: "azure-async-operation"
|
|
3702
|
-
});
|
|
3703
|
-
yield poller.poll();
|
|
3704
|
-
return poller;
|
|
3705
|
-
});
|
|
3706
|
-
}
|
|
3707
|
-
/**
|
|
3708
|
-
* Deletes a Move Resource from the move collection.
|
|
3709
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3710
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3711
|
-
* @param moveResourceName The Move Resource Name.
|
|
3712
|
-
* @param options The options parameters.
|
|
3713
|
-
*/
|
|
3714
|
-
beginDeleteAndWait(resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3715
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
3716
|
-
const poller = yield this.beginDelete(resourceGroupName, moveCollectionName, moveResourceName, options);
|
|
3717
|
-
return poller.pollUntilDone();
|
|
3718
|
-
});
|
|
3719
|
-
}
|
|
3720
|
-
/**
|
|
3721
|
-
* Gets the Move Resource.
|
|
3722
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3723
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3724
|
-
* @param moveResourceName The Move Resource Name.
|
|
3725
|
-
* @param options The options parameters.
|
|
3726
|
-
*/
|
|
3727
|
-
get(resourceGroupName, moveCollectionName, moveResourceName, options) {
|
|
3728
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, moveResourceName, options }, getOperationSpec$2);
|
|
3729
|
-
}
|
|
3730
|
-
/**
|
|
3731
|
-
* ListNext
|
|
3732
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3733
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3734
|
-
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
3735
|
-
* @param options The options parameters.
|
|
3736
|
-
*/
|
|
3737
|
-
_listNext(resourceGroupName, moveCollectionName, nextLink, options) {
|
|
3738
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, nextLink, options }, listNextOperationSpec);
|
|
3739
|
-
}
|
|
3740
|
-
}
|
|
3741
|
-
// Operation Specifications
|
|
3742
|
-
const serializer$2 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3743
|
-
const listOperationSpec = {
|
|
3744
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources",
|
|
3745
|
-
httpMethod: "GET",
|
|
3746
|
-
responses: {
|
|
3747
|
-
200: {
|
|
3748
|
-
bodyMapper: MoveResourceCollection
|
|
3749
|
-
},
|
|
3750
|
-
default: {
|
|
3751
|
-
bodyMapper: CloudError
|
|
3752
|
-
}
|
|
3753
|
-
},
|
|
3754
|
-
queryParameters: [apiVersion, filter],
|
|
3755
|
-
urlParameters: [
|
|
3756
|
-
$host,
|
|
3757
|
-
subscriptionId,
|
|
3758
|
-
resourceGroupName,
|
|
3759
|
-
moveCollectionName
|
|
3760
|
-
],
|
|
3761
|
-
headerParameters: [accept],
|
|
3762
|
-
serializer: serializer$2
|
|
3763
|
-
};
|
|
3764
|
-
const createOperationSpec = {
|
|
3765
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}",
|
|
3766
|
-
httpMethod: "PUT",
|
|
3767
|
-
responses: {
|
|
3768
|
-
200: {
|
|
3769
|
-
bodyMapper: MoveResource
|
|
3770
|
-
},
|
|
3771
|
-
201: {
|
|
3772
|
-
bodyMapper: MoveResource
|
|
3773
|
-
},
|
|
3774
|
-
202: {
|
|
3775
|
-
bodyMapper: MoveResource
|
|
3776
|
-
},
|
|
3777
|
-
204: {
|
|
3778
|
-
bodyMapper: MoveResource
|
|
3779
|
-
},
|
|
3780
|
-
default: {
|
|
3781
|
-
bodyMapper: CloudError
|
|
3782
|
-
}
|
|
3783
|
-
},
|
|
3784
|
-
requestBody: body7,
|
|
3785
|
-
queryParameters: [apiVersion],
|
|
3786
|
-
urlParameters: [
|
|
3787
|
-
$host,
|
|
3788
|
-
subscriptionId,
|
|
3789
|
-
resourceGroupName,
|
|
3790
|
-
moveCollectionName,
|
|
3791
|
-
moveResourceName
|
|
3792
|
-
],
|
|
3793
|
-
headerParameters: [contentType, accept],
|
|
3794
|
-
mediaType: "json",
|
|
3795
|
-
serializer: serializer$2
|
|
3796
|
-
};
|
|
3797
|
-
const deleteOperationSpec = {
|
|
3798
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}",
|
|
3799
|
-
httpMethod: "DELETE",
|
|
3800
|
-
responses: {
|
|
3801
|
-
200: {
|
|
3802
|
-
bodyMapper: OperationStatus
|
|
3803
|
-
},
|
|
3804
|
-
201: {
|
|
3805
|
-
bodyMapper: OperationStatus
|
|
3806
|
-
},
|
|
3807
|
-
202: {
|
|
3808
|
-
bodyMapper: OperationStatus
|
|
3809
|
-
},
|
|
3810
|
-
204: {
|
|
3811
|
-
bodyMapper: OperationStatus
|
|
3812
|
-
},
|
|
3813
|
-
default: {
|
|
3814
|
-
bodyMapper: CloudError
|
|
3815
|
-
}
|
|
3816
|
-
},
|
|
3817
|
-
queryParameters: [apiVersion],
|
|
3818
|
-
urlParameters: [
|
|
3819
|
-
$host,
|
|
3820
|
-
subscriptionId,
|
|
3821
|
-
resourceGroupName,
|
|
3822
|
-
moveCollectionName,
|
|
3823
|
-
moveResourceName
|
|
3824
|
-
],
|
|
3825
|
-
headerParameters: [accept],
|
|
3826
|
-
serializer: serializer$2
|
|
3827
|
-
};
|
|
3828
|
-
const getOperationSpec$2 = {
|
|
3829
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/moveResources/{moveResourceName}",
|
|
3830
|
-
httpMethod: "GET",
|
|
3831
|
-
responses: {
|
|
3832
|
-
200: {
|
|
3833
|
-
bodyMapper: MoveResource
|
|
3834
|
-
},
|
|
3835
|
-
default: {
|
|
3836
|
-
bodyMapper: CloudError
|
|
3837
|
-
}
|
|
3838
|
-
},
|
|
3839
|
-
queryParameters: [apiVersion],
|
|
3840
|
-
urlParameters: [
|
|
3841
|
-
$host,
|
|
3842
|
-
subscriptionId,
|
|
3843
|
-
resourceGroupName,
|
|
3844
|
-
moveCollectionName,
|
|
3845
|
-
moveResourceName
|
|
3846
|
-
],
|
|
3847
|
-
headerParameters: [accept],
|
|
3848
|
-
serializer: serializer$2
|
|
3849
|
-
};
|
|
3850
|
-
const listNextOperationSpec = {
|
|
3851
|
-
path: "{nextLink}",
|
|
3852
|
-
httpMethod: "GET",
|
|
3853
|
-
responses: {
|
|
3854
|
-
200: {
|
|
3855
|
-
bodyMapper: MoveResourceCollection
|
|
3856
|
-
},
|
|
3857
|
-
default: {
|
|
3858
|
-
bodyMapper: CloudError
|
|
3859
|
-
}
|
|
3860
|
-
},
|
|
3861
|
-
urlParameters: [
|
|
3862
|
-
$host,
|
|
3863
|
-
subscriptionId,
|
|
3864
|
-
resourceGroupName,
|
|
3865
|
-
moveCollectionName,
|
|
3866
|
-
nextLink
|
|
3867
|
-
],
|
|
3868
|
-
headerParameters: [accept],
|
|
3869
|
-
serializer: serializer$2
|
|
3870
|
-
};
|
|
3871
|
-
|
|
3872
|
-
/*
|
|
3873
|
-
* Copyright (c) Microsoft Corporation.
|
|
3874
|
-
* Licensed under the MIT License.
|
|
3875
|
-
*
|
|
3876
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
3877
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
3878
|
-
*/
|
|
3879
|
-
/// <reference lib="esnext.asynciterable" />
|
|
3880
|
-
/** Class containing UnresolvedDependencies operations. */
|
|
3881
|
-
class UnresolvedDependenciesImpl {
|
|
3882
|
-
/**
|
|
3883
|
-
* Initialize a new instance of the class UnresolvedDependencies class.
|
|
3884
|
-
* @param client Reference to the service client
|
|
3885
|
-
*/
|
|
3886
|
-
constructor(client) {
|
|
3887
|
-
this.client = client;
|
|
3888
|
-
}
|
|
3889
|
-
/**
|
|
3890
|
-
* Gets a list of unresolved dependencies.
|
|
3891
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3892
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3893
|
-
* @param options The options parameters.
|
|
3894
|
-
*/
|
|
3895
|
-
list(resourceGroupName, moveCollectionName, options) {
|
|
3896
|
-
const iter = this.getPagingAll(resourceGroupName, moveCollectionName, options);
|
|
3897
|
-
return {
|
|
3898
|
-
next() {
|
|
3899
|
-
return iter.next();
|
|
3900
|
-
},
|
|
3901
|
-
[Symbol.asyncIterator]() {
|
|
3902
|
-
return this;
|
|
3903
|
-
},
|
|
3904
|
-
byPage: (settings) => {
|
|
3905
|
-
if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
|
|
3906
|
-
throw new Error("maxPageSize is not supported by this operation.");
|
|
3907
|
-
}
|
|
3908
|
-
return this.getPagingPage(resourceGroupName, moveCollectionName, options, settings);
|
|
3909
|
-
}
|
|
3910
|
-
};
|
|
3911
|
-
}
|
|
3912
|
-
getPagingPage(resourceGroupName, moveCollectionName, options, settings) {
|
|
3913
|
-
return tslib.__asyncGenerator(this, arguments, function* getPagingPage_1() {
|
|
3914
|
-
let result;
|
|
3915
|
-
let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
|
|
3916
|
-
if (!continuationToken) {
|
|
3917
|
-
result = yield tslib.__await(this._get(resourceGroupName, moveCollectionName, options));
|
|
3918
|
-
let page = result.value || [];
|
|
3919
|
-
continuationToken = result.nextLink;
|
|
3920
|
-
setContinuationToken(page, continuationToken);
|
|
3921
|
-
yield yield tslib.__await(page);
|
|
3922
|
-
}
|
|
3923
|
-
while (continuationToken) {
|
|
3924
|
-
result = yield tslib.__await(this._getNext(resourceGroupName, moveCollectionName, continuationToken, options));
|
|
3925
|
-
continuationToken = result.nextLink;
|
|
3926
|
-
let page = result.value || [];
|
|
3927
|
-
setContinuationToken(page, continuationToken);
|
|
3928
|
-
yield yield tslib.__await(page);
|
|
3929
|
-
}
|
|
3930
|
-
});
|
|
3931
|
-
}
|
|
3932
|
-
getPagingAll(resourceGroupName, moveCollectionName, options) {
|
|
3933
|
-
return tslib.__asyncGenerator(this, arguments, function* getPagingAll_1() {
|
|
3934
|
-
var _a, e_1, _b, _c;
|
|
3935
|
-
try {
|
|
3936
|
-
for (var _d = true, _e = tslib.__asyncValues(this.getPagingPage(resourceGroupName, moveCollectionName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
3937
|
-
_c = _f.value;
|
|
3938
|
-
_d = false;
|
|
3939
|
-
const page = _c;
|
|
3940
|
-
yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
|
|
3941
|
-
}
|
|
3942
|
-
}
|
|
3943
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
3944
|
-
finally {
|
|
3945
|
-
try {
|
|
3946
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
|
|
3947
|
-
}
|
|
3948
|
-
finally { if (e_1) throw e_1.error; }
|
|
3949
|
-
}
|
|
3950
|
-
});
|
|
3951
|
-
}
|
|
3952
|
-
/**
|
|
3953
|
-
* Gets a list of unresolved dependencies.
|
|
3954
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3955
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3956
|
-
* @param options The options parameters.
|
|
3957
|
-
*/
|
|
3958
|
-
_get(resourceGroupName, moveCollectionName, options) {
|
|
3959
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, options }, getOperationSpec$1);
|
|
3960
|
-
}
|
|
3961
|
-
/**
|
|
3962
|
-
* GetNext
|
|
3963
|
-
* @param resourceGroupName The Resource Group Name.
|
|
3964
|
-
* @param moveCollectionName The Move Collection Name.
|
|
3965
|
-
* @param nextLink The nextLink from the previous successful call to the Get method.
|
|
3966
|
-
* @param options The options parameters.
|
|
3967
|
-
*/
|
|
3968
|
-
_getNext(resourceGroupName, moveCollectionName, nextLink, options) {
|
|
3969
|
-
return this.client.sendOperationRequest({ resourceGroupName, moveCollectionName, nextLink, options }, getNextOperationSpec);
|
|
3970
|
-
}
|
|
3971
|
-
}
|
|
3972
|
-
// Operation Specifications
|
|
3973
|
-
const serializer$1 = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
3974
|
-
const getOperationSpec$1 = {
|
|
3975
|
-
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}/unresolvedDependencies",
|
|
3976
|
-
httpMethod: "GET",
|
|
3977
|
-
responses: {
|
|
3978
|
-
200: {
|
|
3979
|
-
bodyMapper: UnresolvedDependencyCollection
|
|
3980
|
-
},
|
|
3981
|
-
default: {
|
|
3982
|
-
bodyMapper: CloudError
|
|
3983
|
-
}
|
|
3984
|
-
},
|
|
3985
|
-
queryParameters: [
|
|
3986
|
-
apiVersion,
|
|
3987
|
-
filter,
|
|
3988
|
-
dependencyLevel,
|
|
3989
|
-
orderby
|
|
3990
|
-
],
|
|
3991
|
-
urlParameters: [
|
|
3992
|
-
$host,
|
|
3993
|
-
subscriptionId,
|
|
3994
|
-
resourceGroupName,
|
|
3995
|
-
moveCollectionName
|
|
3996
|
-
],
|
|
3997
|
-
headerParameters: [accept],
|
|
3998
|
-
serializer: serializer$1
|
|
3999
|
-
};
|
|
4000
|
-
const getNextOperationSpec = {
|
|
4001
|
-
path: "{nextLink}",
|
|
4002
|
-
httpMethod: "GET",
|
|
4003
|
-
responses: {
|
|
4004
|
-
200: {
|
|
4005
|
-
bodyMapper: UnresolvedDependencyCollection
|
|
4006
|
-
},
|
|
4007
|
-
default: {
|
|
4008
|
-
bodyMapper: CloudError
|
|
4009
|
-
}
|
|
4010
|
-
},
|
|
4011
|
-
urlParameters: [
|
|
4012
|
-
$host,
|
|
4013
|
-
subscriptionId,
|
|
4014
|
-
resourceGroupName,
|
|
4015
|
-
moveCollectionName,
|
|
4016
|
-
nextLink
|
|
4017
|
-
],
|
|
4018
|
-
headerParameters: [accept],
|
|
4019
|
-
serializer: serializer$1
|
|
4020
|
-
};
|
|
4021
|
-
|
|
4022
|
-
/*
|
|
4023
|
-
* Copyright (c) Microsoft Corporation.
|
|
4024
|
-
* Licensed under the MIT License.
|
|
4025
|
-
*
|
|
4026
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4027
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4028
|
-
*/
|
|
4029
|
-
/** Class containing OperationsDiscoveryOperations operations. */
|
|
4030
|
-
class OperationsDiscoveryOperationsImpl {
|
|
4031
|
-
/**
|
|
4032
|
-
* Initialize a new instance of the class OperationsDiscoveryOperations class.
|
|
4033
|
-
* @param client Reference to the service client
|
|
4034
|
-
*/
|
|
4035
|
-
constructor(client) {
|
|
4036
|
-
this.client = client;
|
|
4037
|
-
}
|
|
4038
|
-
/** @param options The options parameters. */
|
|
4039
|
-
get(options) {
|
|
4040
|
-
return this.client.sendOperationRequest({ options }, getOperationSpec);
|
|
4041
|
-
}
|
|
4042
|
-
}
|
|
4043
|
-
// Operation Specifications
|
|
4044
|
-
const serializer = coreClient__namespace.createSerializer(Mappers, /* isXml */ false);
|
|
4045
|
-
const getOperationSpec = {
|
|
4046
|
-
path: "/providers/Microsoft.Migrate/operations",
|
|
4047
|
-
httpMethod: "GET",
|
|
4048
|
-
responses: {
|
|
4049
|
-
200: {
|
|
4050
|
-
bodyMapper: OperationsDiscoveryCollection
|
|
4051
|
-
},
|
|
4052
|
-
default: {
|
|
4053
|
-
bodyMapper: CloudError
|
|
4054
|
-
}
|
|
4055
|
-
},
|
|
4056
|
-
queryParameters: [apiVersion],
|
|
4057
|
-
urlParameters: [$host],
|
|
4058
|
-
headerParameters: [accept],
|
|
4059
|
-
serializer
|
|
4060
|
-
};
|
|
4061
|
-
|
|
4062
|
-
/*
|
|
4063
|
-
* Copyright (c) Microsoft Corporation.
|
|
4064
|
-
* Licensed under the MIT License.
|
|
4065
|
-
*
|
|
4066
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
4067
|
-
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4068
|
-
*/
|
|
4069
|
-
class ResourceMoverServiceAPI extends coreClient__namespace.ServiceClient {
|
|
4070
|
-
constructor(credentials, subscriptionIdOrOptions, options) {
|
|
4071
|
-
var _a, _b, _c;
|
|
4072
|
-
if (credentials === undefined) {
|
|
4073
|
-
throw new Error("'credentials' cannot be null");
|
|
4074
|
-
}
|
|
4075
|
-
let subscriptionId;
|
|
4076
|
-
if (typeof subscriptionIdOrOptions === "string") {
|
|
4077
|
-
subscriptionId = subscriptionIdOrOptions;
|
|
4078
|
-
}
|
|
4079
|
-
else if (typeof subscriptionIdOrOptions === "object") {
|
|
4080
|
-
options = subscriptionIdOrOptions;
|
|
4081
|
-
}
|
|
4082
|
-
// Initializing default values for options
|
|
4083
|
-
if (!options) {
|
|
4084
|
-
options = {};
|
|
4085
|
-
}
|
|
4086
|
-
const defaults = {
|
|
4087
|
-
requestContentType: "application/json; charset=utf-8",
|
|
4088
|
-
credential: credentials
|
|
4089
|
-
};
|
|
4090
|
-
const packageDetails = `azsdk-js-arm-resourcemover/2.2.0`;
|
|
4091
|
-
const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
|
|
4092
|
-
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
|
|
4093
|
-
: `${packageDetails}`;
|
|
4094
|
-
const optionsWithDefaults = Object.assign(Object.assign(Object.assign({}, defaults), options), { userAgentOptions: {
|
|
4095
|
-
userAgentPrefix
|
|
4096
|
-
}, endpoint: (_b = (_a = options.endpoint) !== null && _a !== void 0 ? _a : options.baseUri) !== null && _b !== void 0 ? _b : "https://management.azure.com" });
|
|
4097
|
-
super(optionsWithDefaults);
|
|
4098
|
-
let bearerTokenAuthenticationPolicyFound = false;
|
|
4099
|
-
if ((options === null || options === void 0 ? void 0 : options.pipeline) && options.pipeline.getOrderedPolicies().length > 0) {
|
|
4100
|
-
const pipelinePolicies = options.pipeline.getOrderedPolicies();
|
|
4101
|
-
bearerTokenAuthenticationPolicyFound = pipelinePolicies.some((pipelinePolicy) => pipelinePolicy.name ===
|
|
4102
|
-
coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName);
|
|
4103
|
-
}
|
|
4104
|
-
if (!options ||
|
|
4105
|
-
!options.pipeline ||
|
|
4106
|
-
options.pipeline.getOrderedPolicies().length == 0 ||
|
|
4107
|
-
!bearerTokenAuthenticationPolicyFound) {
|
|
4108
|
-
this.pipeline.removePolicy({
|
|
4109
|
-
name: coreRestPipeline__namespace.bearerTokenAuthenticationPolicyName
|
|
4110
|
-
});
|
|
4111
|
-
this.pipeline.addPolicy(coreRestPipeline__namespace.bearerTokenAuthenticationPolicy({
|
|
4112
|
-
credential: credentials,
|
|
4113
|
-
scopes: (_c = optionsWithDefaults.credentialScopes) !== null && _c !== void 0 ? _c : `${optionsWithDefaults.endpoint}/.default`,
|
|
4114
|
-
challengeCallbacks: {
|
|
4115
|
-
authorizeRequestOnChallenge: coreClient__namespace.authorizeRequestOnClaimChallenge
|
|
4116
|
-
}
|
|
4117
|
-
}));
|
|
4118
|
-
}
|
|
4119
|
-
// Parameter assignments
|
|
4120
|
-
this.subscriptionId = subscriptionId;
|
|
4121
|
-
// Assigning values to Constant parameters
|
|
4122
|
-
this.$host = options.$host || "https://management.azure.com";
|
|
4123
|
-
this.apiVersion = options.apiVersion || "2023-08-01";
|
|
4124
|
-
this.moveCollections = new MoveCollectionsImpl(this);
|
|
4125
|
-
this.moveResources = new MoveResourcesImpl(this);
|
|
4126
|
-
this.unresolvedDependencies = new UnresolvedDependenciesImpl(this);
|
|
4127
|
-
this.operationsDiscoveryOperations = new OperationsDiscoveryOperationsImpl(this);
|
|
4128
|
-
this.addCustomApiVersionPolicy(options.apiVersion);
|
|
4129
|
-
}
|
|
4130
|
-
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
4131
|
-
addCustomApiVersionPolicy(apiVersion) {
|
|
4132
|
-
if (!apiVersion) {
|
|
4133
|
-
return;
|
|
4134
|
-
}
|
|
4135
|
-
const apiVersionPolicy = {
|
|
4136
|
-
name: "CustomApiVersionPolicy",
|
|
4137
|
-
sendRequest(request, next) {
|
|
4138
|
-
return tslib.__awaiter(this, void 0, void 0, function* () {
|
|
4139
|
-
const param = request.url.split("?");
|
|
4140
|
-
if (param.length > 1) {
|
|
4141
|
-
const newParams = param[1].split("&").map((item) => {
|
|
4142
|
-
if (item.indexOf("api-version") > -1) {
|
|
4143
|
-
return "api-version=" + apiVersion;
|
|
4144
|
-
}
|
|
4145
|
-
else {
|
|
4146
|
-
return item;
|
|
4147
|
-
}
|
|
4148
|
-
});
|
|
4149
|
-
request.url = param[0] + "?" + newParams.join("&");
|
|
4150
|
-
}
|
|
4151
|
-
return next(request);
|
|
4152
|
-
});
|
|
4153
|
-
}
|
|
4154
|
-
};
|
|
4155
|
-
this.pipeline.addPolicy(apiVersionPolicy);
|
|
4156
|
-
}
|
|
4157
|
-
}
|
|
4158
|
-
|
|
4159
|
-
exports.ResourceMoverServiceAPI = ResourceMoverServiceAPI;
|
|
4160
|
-
exports.getContinuationToken = getContinuationToken;
|
|
4161
|
-
//# sourceMappingURL=index.js.map
|