@azure/arm-recoveryservices-siterecovery 5.3.0-alpha.20250618.1 → 5.3.0-alpha.20250718.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +2903 -1357
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/clusterRecoveryPointOperations.js +1 -0
- package/dist/browser/operations/clusterRecoveryPointOperations.js.map +1 -1
- package/dist/browser/operations/clusterRecoveryPoints.js +23 -40
- package/dist/browser/operations/clusterRecoveryPoints.js.map +1 -1
- package/dist/browser/operations/migrationRecoveryPoints.js +23 -40
- package/dist/browser/operations/migrationRecoveryPoints.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/recoveryPoints.js +23 -40
- package/dist/browser/operations/recoveryPoints.js.map +1 -1
- package/dist/browser/operations/replicationAlertSettings.js +23 -40
- package/dist/browser/operations/replicationAlertSettings.js.map +1 -1
- package/dist/browser/operations/replicationAppliances.js +23 -40
- package/dist/browser/operations/replicationAppliances.js.map +1 -1
- package/dist/browser/operations/replicationEligibilityResultsOperations.js +1 -0
- package/dist/browser/operations/replicationEligibilityResultsOperations.js.map +1 -1
- package/dist/browser/operations/replicationEvents.js +23 -40
- package/dist/browser/operations/replicationEvents.js.map +1 -1
- package/dist/browser/operations/replicationFabrics.js +111 -88
- package/dist/browser/operations/replicationFabrics.js.map +1 -1
- package/dist/browser/operations/replicationJobs.js +67 -64
- package/dist/browser/operations/replicationJobs.js.map +1 -1
- package/dist/browser/operations/replicationLogicalNetworks.js +23 -40
- package/dist/browser/operations/replicationLogicalNetworks.js.map +1 -1
- package/dist/browser/operations/replicationMigrationItems.js +144 -133
- package/dist/browser/operations/replicationMigrationItems.js.map +1 -1
- package/dist/browser/operations/replicationNetworkMappings.js +78 -97
- package/dist/browser/operations/replicationNetworkMappings.js.map +1 -1
- package/dist/browser/operations/replicationNetworks.js +45 -79
- package/dist/browser/operations/replicationNetworks.js.map +1 -1
- package/dist/browser/operations/replicationPolicies.js +56 -58
- package/dist/browser/operations/replicationPolicies.js.map +1 -1
- package/dist/browser/operations/replicationProtectableItems.js +23 -40
- package/dist/browser/operations/replicationProtectableItems.js.map +1 -1
- package/dist/browser/operations/replicationProtectedItems.js +254 -193
- package/dist/browser/operations/replicationProtectedItems.js.map +1 -1
- package/dist/browser/operations/replicationProtectionClusters.js +133 -127
- package/dist/browser/operations/replicationProtectionClusters.js.map +1 -1
- package/dist/browser/operations/replicationProtectionContainerMappings.js +89 -103
- package/dist/browser/operations/replicationProtectionContainerMappings.js.map +1 -1
- package/dist/browser/operations/replicationProtectionContainers.js +100 -109
- package/dist/browser/operations/replicationProtectionContainers.js.map +1 -1
- package/dist/browser/operations/replicationProtectionIntents.js +23 -40
- package/dist/browser/operations/replicationProtectionIntents.js.map +1 -1
- package/dist/browser/operations/replicationRecoveryPlans.js +133 -100
- package/dist/browser/operations/replicationRecoveryPlans.js.map +1 -1
- package/dist/browser/operations/replicationRecoveryServicesProviders.js +89 -103
- package/dist/browser/operations/replicationRecoveryServicesProviders.js.map +1 -1
- package/dist/browser/operations/replicationStorageClassificationMappings.js +67 -91
- package/dist/browser/operations/replicationStorageClassificationMappings.js.map +1 -1
- package/dist/browser/operations/replicationStorageClassifications.js +45 -79
- package/dist/browser/operations/replicationStorageClassifications.js.map +1 -1
- package/dist/browser/operations/replicationVaultHealth.js +12 -6
- package/dist/browser/operations/replicationVaultHealth.js.map +1 -1
- package/dist/browser/operations/replicationVaultSetting.js +34 -46
- package/dist/browser/operations/replicationVaultSetting.js.map +1 -1
- package/dist/browser/operations/replicationvCenters.js +78 -97
- package/dist/browser/operations/replicationvCenters.js.map +1 -1
- package/dist/browser/operations/supportedOperatingSystemsOperations.js +1 -0
- package/dist/browser/operations/supportedOperatingSystemsOperations.js.map +1 -1
- package/dist/browser/operations/targetComputeSizes.js +23 -40
- package/dist/browser/operations/targetComputeSizes.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/siteRecoveryManagementClient.js +44 -5
- package/dist/browser/siteRecoveryManagementClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +2903 -1357
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/clusterRecoveryPointOperations.js +1 -0
- package/dist/commonjs/operations/clusterRecoveryPointOperations.js.map +1 -1
- package/dist/commonjs/operations/clusterRecoveryPoints.js +23 -39
- package/dist/commonjs/operations/clusterRecoveryPoints.js.map +1 -1
- package/dist/commonjs/operations/migrationRecoveryPoints.js +23 -39
- package/dist/commonjs/operations/migrationRecoveryPoints.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/recoveryPoints.js +23 -39
- package/dist/commonjs/operations/recoveryPoints.js.map +1 -1
- package/dist/commonjs/operations/replicationAlertSettings.js +23 -39
- package/dist/commonjs/operations/replicationAlertSettings.js.map +1 -1
- package/dist/commonjs/operations/replicationAppliances.js +23 -39
- package/dist/commonjs/operations/replicationAppliances.js.map +1 -1
- package/dist/commonjs/operations/replicationEligibilityResultsOperations.js +1 -0
- package/dist/commonjs/operations/replicationEligibilityResultsOperations.js.map +1 -1
- package/dist/commonjs/operations/replicationEvents.js +23 -39
- package/dist/commonjs/operations/replicationEvents.js.map +1 -1
- package/dist/commonjs/operations/replicationFabrics.js +111 -87
- package/dist/commonjs/operations/replicationFabrics.js.map +1 -1
- package/dist/commonjs/operations/replicationJobs.js +67 -63
- package/dist/commonjs/operations/replicationJobs.js.map +1 -1
- package/dist/commonjs/operations/replicationLogicalNetworks.js +23 -39
- package/dist/commonjs/operations/replicationLogicalNetworks.js.map +1 -1
- package/dist/commonjs/operations/replicationMigrationItems.js +144 -132
- package/dist/commonjs/operations/replicationMigrationItems.js.map +1 -1
- package/dist/commonjs/operations/replicationNetworkMappings.js +78 -96
- package/dist/commonjs/operations/replicationNetworkMappings.js.map +1 -1
- package/dist/commonjs/operations/replicationNetworks.js +45 -78
- package/dist/commonjs/operations/replicationNetworks.js.map +1 -1
- package/dist/commonjs/operations/replicationPolicies.js +56 -57
- package/dist/commonjs/operations/replicationPolicies.js.map +1 -1
- package/dist/commonjs/operations/replicationProtectableItems.js +23 -39
- package/dist/commonjs/operations/replicationProtectableItems.js.map +1 -1
- package/dist/commonjs/operations/replicationProtectedItems.js +254 -192
- package/dist/commonjs/operations/replicationProtectedItems.js.map +1 -1
- package/dist/commonjs/operations/replicationProtectionClusters.js +133 -126
- package/dist/commonjs/operations/replicationProtectionClusters.js.map +1 -1
- package/dist/commonjs/operations/replicationProtectionContainerMappings.js +89 -102
- package/dist/commonjs/operations/replicationProtectionContainerMappings.js.map +1 -1
- package/dist/commonjs/operations/replicationProtectionContainers.js +100 -108
- package/dist/commonjs/operations/replicationProtectionContainers.js.map +1 -1
- package/dist/commonjs/operations/replicationProtectionIntents.js +23 -39
- package/dist/commonjs/operations/replicationProtectionIntents.js.map +1 -1
- package/dist/commonjs/operations/replicationRecoveryPlans.js +133 -99
- package/dist/commonjs/operations/replicationRecoveryPlans.js.map +1 -1
- package/dist/commonjs/operations/replicationRecoveryServicesProviders.js +89 -102
- package/dist/commonjs/operations/replicationRecoveryServicesProviders.js.map +1 -1
- package/dist/commonjs/operations/replicationStorageClassificationMappings.js +67 -90
- package/dist/commonjs/operations/replicationStorageClassificationMappings.js.map +1 -1
- package/dist/commonjs/operations/replicationStorageClassifications.js +45 -78
- package/dist/commonjs/operations/replicationStorageClassifications.js.map +1 -1
- package/dist/commonjs/operations/replicationVaultHealth.js +12 -6
- package/dist/commonjs/operations/replicationVaultHealth.js.map +1 -1
- package/dist/commonjs/operations/replicationVaultSetting.js +34 -45
- package/dist/commonjs/operations/replicationVaultSetting.js.map +1 -1
- package/dist/commonjs/operations/replicationvCenters.js +78 -96
- package/dist/commonjs/operations/replicationvCenters.js.map +1 -1
- package/dist/commonjs/operations/supportedOperatingSystemsOperations.js +1 -0
- package/dist/commonjs/operations/supportedOperatingSystemsOperations.js.map +1 -1
- package/dist/commonjs/operations/targetComputeSizes.js +23 -39
- package/dist/commonjs/operations/targetComputeSizes.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/siteRecoveryManagementClient.js +44 -5
- package/dist/commonjs/siteRecoveryManagementClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +2903 -1357
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/clusterRecoveryPointOperations.js +1 -0
- package/dist/esm/operations/clusterRecoveryPointOperations.js.map +1 -1
- package/dist/esm/operations/clusterRecoveryPoints.js +23 -40
- package/dist/esm/operations/clusterRecoveryPoints.js.map +1 -1
- package/dist/esm/operations/migrationRecoveryPoints.js +23 -40
- package/dist/esm/operations/migrationRecoveryPoints.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/recoveryPoints.js +23 -40
- package/dist/esm/operations/recoveryPoints.js.map +1 -1
- package/dist/esm/operations/replicationAlertSettings.js +23 -40
- package/dist/esm/operations/replicationAlertSettings.js.map +1 -1
- package/dist/esm/operations/replicationAppliances.js +23 -40
- package/dist/esm/operations/replicationAppliances.js.map +1 -1
- package/dist/esm/operations/replicationEligibilityResultsOperations.js +1 -0
- package/dist/esm/operations/replicationEligibilityResultsOperations.js.map +1 -1
- package/dist/esm/operations/replicationEvents.js +23 -40
- package/dist/esm/operations/replicationEvents.js.map +1 -1
- package/dist/esm/operations/replicationFabrics.js +111 -88
- package/dist/esm/operations/replicationFabrics.js.map +1 -1
- package/dist/esm/operations/replicationJobs.js +67 -64
- package/dist/esm/operations/replicationJobs.js.map +1 -1
- package/dist/esm/operations/replicationLogicalNetworks.js +23 -40
- package/dist/esm/operations/replicationLogicalNetworks.js.map +1 -1
- package/dist/esm/operations/replicationMigrationItems.js +144 -133
- package/dist/esm/operations/replicationMigrationItems.js.map +1 -1
- package/dist/esm/operations/replicationNetworkMappings.js +78 -97
- package/dist/esm/operations/replicationNetworkMappings.js.map +1 -1
- package/dist/esm/operations/replicationNetworks.js +45 -79
- package/dist/esm/operations/replicationNetworks.js.map +1 -1
- package/dist/esm/operations/replicationPolicies.js +56 -58
- package/dist/esm/operations/replicationPolicies.js.map +1 -1
- package/dist/esm/operations/replicationProtectableItems.js +23 -40
- package/dist/esm/operations/replicationProtectableItems.js.map +1 -1
- package/dist/esm/operations/replicationProtectedItems.js +254 -193
- package/dist/esm/operations/replicationProtectedItems.js.map +1 -1
- package/dist/esm/operations/replicationProtectionClusters.js +133 -127
- package/dist/esm/operations/replicationProtectionClusters.js.map +1 -1
- package/dist/esm/operations/replicationProtectionContainerMappings.js +89 -103
- package/dist/esm/operations/replicationProtectionContainerMappings.js.map +1 -1
- package/dist/esm/operations/replicationProtectionContainers.js +100 -109
- package/dist/esm/operations/replicationProtectionContainers.js.map +1 -1
- package/dist/esm/operations/replicationProtectionIntents.js +23 -40
- package/dist/esm/operations/replicationProtectionIntents.js.map +1 -1
- package/dist/esm/operations/replicationRecoveryPlans.js +133 -100
- package/dist/esm/operations/replicationRecoveryPlans.js.map +1 -1
- package/dist/esm/operations/replicationRecoveryServicesProviders.js +89 -103
- package/dist/esm/operations/replicationRecoveryServicesProviders.js.map +1 -1
- package/dist/esm/operations/replicationStorageClassificationMappings.js +67 -91
- package/dist/esm/operations/replicationStorageClassificationMappings.js.map +1 -1
- package/dist/esm/operations/replicationStorageClassifications.js +45 -79
- package/dist/esm/operations/replicationStorageClassifications.js.map +1 -1
- package/dist/esm/operations/replicationVaultHealth.js +12 -6
- package/dist/esm/operations/replicationVaultHealth.js.map +1 -1
- package/dist/esm/operations/replicationVaultSetting.js +34 -46
- package/dist/esm/operations/replicationVaultSetting.js.map +1 -1
- package/dist/esm/operations/replicationvCenters.js +78 -97
- package/dist/esm/operations/replicationvCenters.js.map +1 -1
- package/dist/esm/operations/supportedOperatingSystemsOperations.js +1 -0
- package/dist/esm/operations/supportedOperatingSystemsOperations.js.map +1 -1
- package/dist/esm/operations/targetComputeSizes.js +23 -40
- package/dist/esm/operations/targetComputeSizes.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/siteRecoveryManagementClient.js +44 -5
- package/dist/esm/siteRecoveryManagementClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +2903 -1357
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/clusterRecoveryPointOperations.js +1 -0
- package/dist/react-native/operations/clusterRecoveryPointOperations.js.map +1 -1
- package/dist/react-native/operations/clusterRecoveryPoints.js +23 -40
- package/dist/react-native/operations/clusterRecoveryPoints.js.map +1 -1
- package/dist/react-native/operations/migrationRecoveryPoints.js +23 -40
- package/dist/react-native/operations/migrationRecoveryPoints.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/recoveryPoints.js +23 -40
- package/dist/react-native/operations/recoveryPoints.js.map +1 -1
- package/dist/react-native/operations/replicationAlertSettings.js +23 -40
- package/dist/react-native/operations/replicationAlertSettings.js.map +1 -1
- package/dist/react-native/operations/replicationAppliances.js +23 -40
- package/dist/react-native/operations/replicationAppliances.js.map +1 -1
- package/dist/react-native/operations/replicationEligibilityResultsOperations.js +1 -0
- package/dist/react-native/operations/replicationEligibilityResultsOperations.js.map +1 -1
- package/dist/react-native/operations/replicationEvents.js +23 -40
- package/dist/react-native/operations/replicationEvents.js.map +1 -1
- package/dist/react-native/operations/replicationFabrics.js +111 -88
- package/dist/react-native/operations/replicationFabrics.js.map +1 -1
- package/dist/react-native/operations/replicationJobs.js +67 -64
- package/dist/react-native/operations/replicationJobs.js.map +1 -1
- package/dist/react-native/operations/replicationLogicalNetworks.js +23 -40
- package/dist/react-native/operations/replicationLogicalNetworks.js.map +1 -1
- package/dist/react-native/operations/replicationMigrationItems.js +144 -133
- package/dist/react-native/operations/replicationMigrationItems.js.map +1 -1
- package/dist/react-native/operations/replicationNetworkMappings.js +78 -97
- package/dist/react-native/operations/replicationNetworkMappings.js.map +1 -1
- package/dist/react-native/operations/replicationNetworks.js +45 -79
- package/dist/react-native/operations/replicationNetworks.js.map +1 -1
- package/dist/react-native/operations/replicationPolicies.js +56 -58
- package/dist/react-native/operations/replicationPolicies.js.map +1 -1
- package/dist/react-native/operations/replicationProtectableItems.js +23 -40
- package/dist/react-native/operations/replicationProtectableItems.js.map +1 -1
- package/dist/react-native/operations/replicationProtectedItems.js +254 -193
- package/dist/react-native/operations/replicationProtectedItems.js.map +1 -1
- package/dist/react-native/operations/replicationProtectionClusters.js +133 -127
- package/dist/react-native/operations/replicationProtectionClusters.js.map +1 -1
- package/dist/react-native/operations/replicationProtectionContainerMappings.js +89 -103
- package/dist/react-native/operations/replicationProtectionContainerMappings.js.map +1 -1
- package/dist/react-native/operations/replicationProtectionContainers.js +100 -109
- package/dist/react-native/operations/replicationProtectionContainers.js.map +1 -1
- package/dist/react-native/operations/replicationProtectionIntents.js +23 -40
- package/dist/react-native/operations/replicationProtectionIntents.js.map +1 -1
- package/dist/react-native/operations/replicationRecoveryPlans.js +133 -100
- package/dist/react-native/operations/replicationRecoveryPlans.js.map +1 -1
- package/dist/react-native/operations/replicationRecoveryServicesProviders.js +89 -103
- package/dist/react-native/operations/replicationRecoveryServicesProviders.js.map +1 -1
- package/dist/react-native/operations/replicationStorageClassificationMappings.js +67 -91
- package/dist/react-native/operations/replicationStorageClassificationMappings.js.map +1 -1
- package/dist/react-native/operations/replicationStorageClassifications.js +45 -79
- package/dist/react-native/operations/replicationStorageClassifications.js.map +1 -1
- package/dist/react-native/operations/replicationVaultHealth.js +12 -6
- package/dist/react-native/operations/replicationVaultHealth.js.map +1 -1
- package/dist/react-native/operations/replicationVaultSetting.js +34 -46
- package/dist/react-native/operations/replicationVaultSetting.js.map +1 -1
- package/dist/react-native/operations/replicationvCenters.js +78 -97
- package/dist/react-native/operations/replicationvCenters.js.map +1 -1
- package/dist/react-native/operations/supportedOperatingSystemsOperations.js +1 -0
- package/dist/react-native/operations/supportedOperatingSystemsOperations.js.map +1 -1
- package/dist/react-native/operations/targetComputeSizes.js +23 -40
- package/dist/react-native/operations/targetComputeSizes.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/siteRecoveryManagementClient.js +44 -5
- package/dist/react-native/siteRecoveryManagementClient.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-recoveryservices-siterecovery.api.md → arm-recoveryservices-siterecovery-node.api.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replicationFabrics.js","sourceRoot":"","sources":["../../../src/operations/replicationFabrics.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AA2B9C,4CAA4C;AAC5C,sDAAsD;AACtD,MAAa,sBAAsB;IAGjC;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,IAAI,CACT,iBAAyB,EACzB,YAAoB,EACpB,OAA8C;QAE9C,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,YAAY,EAAE,OAAO,CAAC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AAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ReplicationFabrics } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SiteRecoveryManagementClient } from \"../siteRecoveryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Fabric,\n ReplicationFabricsListNextOptionalParams,\n ReplicationFabricsListOptionalParams,\n ReplicationFabricsListResponse,\n ReplicationFabricsGetOptionalParams,\n ReplicationFabricsGetResponse,\n FabricCreationInput,\n ReplicationFabricsCreateOptionalParams,\n ReplicationFabricsCreateResponse,\n ReplicationFabricsPurgeOptionalParams,\n ReplicationFabricsCheckConsistencyOptionalParams,\n ReplicationFabricsCheckConsistencyResponse,\n ReplicationFabricsMigrateToAadOptionalParams,\n FailoverProcessServerRequest,\n ReplicationFabricsReassociateGatewayOptionalParams,\n ReplicationFabricsReassociateGatewayResponse,\n ReplicationFabricsDeleteOptionalParams,\n RenewCertificateInput,\n ReplicationFabricsRenewCertificateOptionalParams,\n ReplicationFabricsRenewCertificateResponse,\n ReplicationFabricsRemoveInfraOptionalParams,\n ReplicationFabricsRemoveInfraResponse,\n ReplicationFabricsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ReplicationFabrics operations. */\nexport class ReplicationFabricsImpl implements ReplicationFabrics {\n private readonly client: SiteRecoveryManagementClient;\n\n /**\n * Initialize a new instance of the class ReplicationFabrics class.\n * @param client Reference to the service client\n */\n constructor(client: SiteRecoveryManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of the Azure Site Recovery fabrics in the vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n ): PagedAsyncIterableIterator<Fabric> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Fabric[]> {\n let result: ReplicationFabricsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n ): AsyncIterableIterator<Fabric> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of the Azure Site Recovery fabrics in the vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n ): Promise<ReplicationFabricsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the details of an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsGetOptionalParams,\n ): Promise<ReplicationFabricsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, fabricName, options },\n getOperationSpec,\n );\n }\n\n /**\n * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Name of the ASR fabric.\n * @param input Fabric creation input.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n input: FabricCreationInput,\n options?: ReplicationFabricsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsCreateResponse>,\n ReplicationFabricsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, input, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsCreateResponse,\n OperationState<ReplicationFabricsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Name of the ASR fabric.\n * @param input Fabric creation input.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n input: FabricCreationInput,\n options?: ReplicationFabricsCreateOptionalParams,\n ): Promise<ReplicationFabricsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n resourceName,\n fabricName,\n input,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to purge(force delete) an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to purge.\n * @param options The options parameters.\n */\n async beginPurge(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsPurgeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: purgeOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to purge(force delete) an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to purge.\n * @param options The options parameters.\n */\n async beginPurgeAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsPurgeOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurge(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to perform a consistency check on the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginCheckConsistency(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsCheckConsistencyOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsCheckConsistencyResponse>,\n ReplicationFabricsCheckConsistencyResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsCheckConsistencyResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: checkConsistencyOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsCheckConsistencyResponse,\n OperationState<ReplicationFabricsCheckConsistencyResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to perform a consistency check on the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginCheckConsistencyAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsCheckConsistencyOptionalParams,\n ): Promise<ReplicationFabricsCheckConsistencyResponse> {\n const poller = await this.beginCheckConsistency(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to migrate an Azure Site Recovery fabric to AAD.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to migrate.\n * @param options The options parameters.\n */\n async beginMigrateToAad(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsMigrateToAadOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: migrateToAadOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to migrate an Azure Site Recovery fabric to AAD.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to migrate.\n * @param options The options parameters.\n */\n async beginMigrateToAadAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsMigrateToAadOptionalParams,\n ): Promise<void> {\n const poller = await this.beginMigrateToAad(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to move replications from a process server to another process server.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName The name of the fabric containing the process server.\n * @param failoverProcessServerRequest The input to the failover process server operation.\n * @param options The options parameters.\n */\n async beginReassociateGateway(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n failoverProcessServerRequest: FailoverProcessServerRequest,\n options?: ReplicationFabricsReassociateGatewayOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsReassociateGatewayResponse>,\n ReplicationFabricsReassociateGatewayResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsReassociateGatewayResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n failoverProcessServerRequest,\n options,\n },\n spec: reassociateGatewayOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsReassociateGatewayResponse,\n OperationState<ReplicationFabricsReassociateGatewayResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to move replications from a process server to another process server.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName The name of the fabric containing the process server.\n * @param failoverProcessServerRequest The input to the failover process server operation.\n * @param options The options parameters.\n */\n async beginReassociateGatewayAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n failoverProcessServerRequest: FailoverProcessServerRequest,\n options?: ReplicationFabricsReassociateGatewayOptionalParams,\n ): Promise<ReplicationFabricsReassociateGatewayResponse> {\n const poller = await this.beginReassociateGateway(\n resourceGroupName,\n resourceName,\n fabricName,\n failoverProcessServerRequest,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to delete or remove an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to delete.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to delete or remove an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to delete.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Renews the connection certificate for the ASR replication fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName fabric name to renew certs for.\n * @param renewCertificate Renew certificate input.\n * @param options The options parameters.\n */\n async beginRenewCertificate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n renewCertificate: RenewCertificateInput,\n options?: ReplicationFabricsRenewCertificateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsRenewCertificateResponse>,\n ReplicationFabricsRenewCertificateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsRenewCertificateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n renewCertificate,\n options,\n },\n spec: renewCertificateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsRenewCertificateResponse,\n OperationState<ReplicationFabricsRenewCertificateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Renews the connection certificate for the ASR replication fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName fabric name to renew certs for.\n * @param renewCertificate Renew certificate input.\n * @param options The options parameters.\n */\n async beginRenewCertificateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n renewCertificate: RenewCertificateInput,\n options?: ReplicationFabricsRenewCertificateOptionalParams,\n ): Promise<ReplicationFabricsRenewCertificateResponse> {\n const poller = await this.beginRenewCertificate(\n resourceGroupName,\n resourceName,\n fabricName,\n renewCertificate,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes the appliance's infrastructure under the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName Resource name.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginRemoveInfra(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsRemoveInfraOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsRemoveInfraResponse>,\n ReplicationFabricsRemoveInfraResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsRemoveInfraResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: removeInfraOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsRemoveInfraResponse,\n OperationState<ReplicationFabricsRemoveInfraResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes the appliance's infrastructure under the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName Resource name.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginRemoveInfraAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsRemoveInfraOptionalParams,\n ): Promise<ReplicationFabricsRemoveInfraResponse> {\n const poller = await this.beginRemoveInfra(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: ReplicationFabricsListNextOptionalParams,\n ): Promise<ReplicationFabricsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FabricCollection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n requestBody: Parameters.input,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst purgeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n serializer,\n};\nconst checkConsistencyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst migrateToAadOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad\",\n httpMethod: \"POST\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n serializer,\n};\nconst reassociateGatewayOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n requestBody: Parameters.failoverProcessServerRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove\",\n httpMethod: \"POST\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n serializer,\n};\nconst renewCertificateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n requestBody: Parameters.renewCertificate,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst removeInfraOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/removeInfra\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n 201: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n 202: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n 204: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName1,\n Parameters.fabricName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FabricCollection,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"replicationFabrics.js","sourceRoot":"","sources":["../../../src/operations/replicationFabrics.ts"],"names":[],"mappings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;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { ReplicationFabrics } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { SiteRecoveryManagementClient } from \"../siteRecoveryManagementClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n Fabric,\n ReplicationFabricsListNextOptionalParams,\n ReplicationFabricsListOptionalParams,\n ReplicationFabricsListResponse,\n ReplicationFabricsGetOptionalParams,\n ReplicationFabricsGetResponse,\n FabricCreationInput,\n ReplicationFabricsCreateOptionalParams,\n ReplicationFabricsCreateResponse,\n ReplicationFabricsPurgeOptionalParams,\n ReplicationFabricsCheckConsistencyOptionalParams,\n ReplicationFabricsCheckConsistencyResponse,\n ReplicationFabricsMigrateToAadOptionalParams,\n FailoverProcessServerRequest,\n ReplicationFabricsReassociateGatewayOptionalParams,\n ReplicationFabricsReassociateGatewayResponse,\n ReplicationFabricsDeleteOptionalParams,\n RenewCertificateInput,\n ReplicationFabricsRenewCertificateOptionalParams,\n ReplicationFabricsRenewCertificateResponse,\n ReplicationFabricsRemoveInfraOptionalParams,\n ReplicationFabricsRemoveInfraResponse,\n ReplicationFabricsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ReplicationFabrics operations. */\nexport class ReplicationFabricsImpl implements ReplicationFabrics {\n private readonly client: SiteRecoveryManagementClient;\n\n /**\n * Initialize a new instance of the class ReplicationFabrics class.\n * @param client Reference to the service client\n */\n constructor(client: SiteRecoveryManagementClient) {\n this.client = client;\n }\n\n /**\n * Gets a list of the Azure Site Recovery fabrics in the vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param options The options parameters.\n */\n public list(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n ): PagedAsyncIterableIterator<Fabric> {\n const iter = this.listPagingAll(resourceGroupName, resourceName, options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listPagingPage(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<Fabric[]> {\n let result: ReplicationFabricsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(resourceGroupName, resourceName, options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(\n resourceGroupName,\n resourceName,\n continuationToken,\n options,\n );\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n ): AsyncIterableIterator<Fabric> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Gets a list of the Azure Site Recovery fabrics in the vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param options The options parameters.\n */\n private _list(\n resourceGroupName: string,\n resourceName: string,\n options?: ReplicationFabricsListOptionalParams,\n ): Promise<ReplicationFabricsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * Gets the details of an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsGetOptionalParams,\n ): Promise<ReplicationFabricsGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, fabricName, options },\n getOperationSpec,\n );\n }\n\n /**\n * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Name of the ASR fabric.\n * @param input Fabric creation input.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n input: FabricCreationInput,\n options?: ReplicationFabricsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsCreateResponse>,\n ReplicationFabricsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsCreateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, input, options },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsCreateResponse,\n OperationState<ReplicationFabricsCreateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to create an Azure Site Recovery fabric (for e.g. Hyper-V site).\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Name of the ASR fabric.\n * @param input Fabric creation input.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n input: FabricCreationInput,\n options?: ReplicationFabricsCreateOptionalParams,\n ): Promise<ReplicationFabricsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n resourceName,\n fabricName,\n input,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to purge(force delete) an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to purge.\n * @param options The options parameters.\n */\n async beginPurge(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsPurgeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: purgeOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to purge(force delete) an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to purge.\n * @param options The options parameters.\n */\n async beginPurgeAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsPurgeOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurge(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to perform a consistency check on the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginCheckConsistency(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsCheckConsistencyOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsCheckConsistencyResponse>,\n ReplicationFabricsCheckConsistencyResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsCheckConsistencyResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: checkConsistencyOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsCheckConsistencyResponse,\n OperationState<ReplicationFabricsCheckConsistencyResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to perform a consistency check on the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginCheckConsistencyAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsCheckConsistencyOptionalParams,\n ): Promise<ReplicationFabricsCheckConsistencyResponse> {\n const poller = await this.beginCheckConsistency(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to migrate an Azure Site Recovery fabric to AAD.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to migrate.\n * @param options The options parameters.\n */\n async beginMigrateToAad(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsMigrateToAadOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: migrateToAadOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to migrate an Azure Site Recovery fabric to AAD.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to migrate.\n * @param options The options parameters.\n */\n async beginMigrateToAadAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsMigrateToAadOptionalParams,\n ): Promise<void> {\n const poller = await this.beginMigrateToAad(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to move replications from a process server to another process server.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName The name of the fabric containing the process server.\n * @param failoverProcessServerRequest The input to the failover process server operation.\n * @param options The options parameters.\n */\n async beginReassociateGateway(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n failoverProcessServerRequest: FailoverProcessServerRequest,\n options?: ReplicationFabricsReassociateGatewayOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsReassociateGatewayResponse>,\n ReplicationFabricsReassociateGatewayResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsReassociateGatewayResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n failoverProcessServerRequest,\n options,\n },\n spec: reassociateGatewayOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsReassociateGatewayResponse,\n OperationState<ReplicationFabricsReassociateGatewayResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to move replications from a process server to another process server.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName The name of the fabric containing the process server.\n * @param failoverProcessServerRequest The input to the failover process server operation.\n * @param options The options parameters.\n */\n async beginReassociateGatewayAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n failoverProcessServerRequest: FailoverProcessServerRequest,\n options?: ReplicationFabricsReassociateGatewayOptionalParams,\n ): Promise<ReplicationFabricsReassociateGatewayResponse> {\n const poller = await this.beginReassociateGateway(\n resourceGroupName,\n resourceName,\n fabricName,\n failoverProcessServerRequest,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to delete or remove an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to delete.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to delete or remove an Azure Site Recovery fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName ASR fabric to delete.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Renews the connection certificate for the ASR replication fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName fabric name to renew certs for.\n * @param renewCertificate Renew certificate input.\n * @param options The options parameters.\n */\n async beginRenewCertificate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n renewCertificate: RenewCertificateInput,\n options?: ReplicationFabricsRenewCertificateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsRenewCertificateResponse>,\n ReplicationFabricsRenewCertificateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsRenewCertificateResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n renewCertificate,\n options,\n },\n spec: renewCertificateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsRenewCertificateResponse,\n OperationState<ReplicationFabricsRenewCertificateResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Renews the connection certificate for the ASR replication fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param fabricName fabric name to renew certs for.\n * @param renewCertificate Renew certificate input.\n * @param options The options parameters.\n */\n async beginRenewCertificateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n renewCertificate: RenewCertificateInput,\n options?: ReplicationFabricsRenewCertificateOptionalParams,\n ): Promise<ReplicationFabricsRenewCertificateResponse> {\n const poller = await this.beginRenewCertificate(\n resourceGroupName,\n resourceName,\n fabricName,\n renewCertificate,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Removes the appliance's infrastructure under the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName Resource name.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginRemoveInfra(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsRemoveInfraOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationFabricsRemoveInfraResponse>,\n ReplicationFabricsRemoveInfraResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationFabricsRemoveInfraResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: { resourceGroupName, resourceName, fabricName, options },\n spec: removeInfraOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationFabricsRemoveInfraResponse,\n OperationState<ReplicationFabricsRemoveInfraResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Removes the appliance's infrastructure under the fabric.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName Resource name.\n * @param fabricName Fabric name.\n * @param options The options parameters.\n */\n async beginRemoveInfraAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n options?: ReplicationFabricsRemoveInfraOptionalParams,\n ): Promise<ReplicationFabricsRemoveInfraResponse> {\n const poller = await this.beginRemoveInfra(\n resourceGroupName,\n resourceName,\n fabricName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * ListNext\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param resourceName The name of the recovery services vault.\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n resourceGroupName: string,\n resourceName: string,\n nextLink: string,\n options?: ReplicationFabricsListNextOptionalParams,\n ): Promise<ReplicationFabricsListNextResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FabricCollection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst createOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n requestBody: Parameters.input,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst purgeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}\",\n httpMethod: \"DELETE\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n serializer,\n};\nconst checkConsistencyOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/checkConsistency\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst migrateToAadOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/migratetoaad\",\n httpMethod: \"POST\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n serializer,\n};\nconst reassociateGatewayOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/reassociateGateway\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n requestBody: Parameters.failoverProcessServerRequest,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/remove\",\n httpMethod: \"POST\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n serializer,\n};\nconst renewCertificateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/renewCertificate\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.Fabric,\n },\n 201: {\n bodyMapper: Mappers.Fabric,\n },\n 202: {\n bodyMapper: Mappers.Fabric,\n },\n 204: {\n bodyMapper: Mappers.Fabric,\n },\n },\n requestBody: Parameters.renewCertificate,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst removeInfraOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/removeInfra\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n 201: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n 202: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n 204: {\n headersMapper: Mappers.ReplicationFabricsRemoveInfraHeaders,\n },\n default: {\n bodyMapper: Mappers.ErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName1,\n Parameters.fabricName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.FabricCollection,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -18,6 +18,7 @@ const lroImpl_js_1 = require("../lroImpl.js");
|
|
|
18
18
|
/// <reference lib="esnext.asynciterable" />
|
|
19
19
|
/** Class containing ReplicationJobs operations. */
|
|
20
20
|
class ReplicationJobsImpl {
|
|
21
|
+
client;
|
|
21
22
|
/**
|
|
22
23
|
* Initialize a new instance of the class ReplicationJobs class.
|
|
23
24
|
* @param client Reference to the service client
|
|
@@ -42,52 +43,35 @@ class ReplicationJobsImpl {
|
|
|
42
43
|
return this;
|
|
43
44
|
},
|
|
44
45
|
byPage: (settings) => {
|
|
45
|
-
if (settings
|
|
46
|
+
if (settings?.maxPageSize) {
|
|
46
47
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
47
48
|
}
|
|
48
49
|
return this.listPagingPage(resourceGroupName, resourceName, options, settings);
|
|
49
50
|
},
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
|
-
listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
70
|
-
});
|
|
53
|
+
async *listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
54
|
+
let result;
|
|
55
|
+
let continuationToken = settings?.continuationToken;
|
|
56
|
+
if (!continuationToken) {
|
|
57
|
+
result = await this._list(resourceGroupName, resourceName, options);
|
|
58
|
+
let page = result.value || [];
|
|
59
|
+
continuationToken = result.nextLink;
|
|
60
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
61
|
+
yield page;
|
|
62
|
+
}
|
|
63
|
+
while (continuationToken) {
|
|
64
|
+
result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);
|
|
65
|
+
continuationToken = result.nextLink;
|
|
66
|
+
let page = result.value || [];
|
|
67
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
68
|
+
yield page;
|
|
69
|
+
}
|
|
71
70
|
}
|
|
72
|
-
listPagingAll(resourceGroupName, resourceName, options) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
77
|
-
_c = _f.value;
|
|
78
|
-
_d = false;
|
|
79
|
-
const page = _c;
|
|
80
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
84
|
-
finally {
|
|
85
|
-
try {
|
|
86
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
87
|
-
}
|
|
88
|
-
finally { if (e_1) throw e_1.error; }
|
|
89
|
-
}
|
|
90
|
-
});
|
|
71
|
+
async *listPagingAll(resourceGroupName, resourceName, options) {
|
|
72
|
+
for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {
|
|
73
|
+
yield* page;
|
|
74
|
+
}
|
|
91
75
|
}
|
|
92
76
|
/**
|
|
93
77
|
* Gets the list of Azure Site Recovery Jobs for the vault.
|
|
@@ -123,14 +107,19 @@ class ReplicationJobsImpl {
|
|
|
123
107
|
return this.client.sendOperationRequest(args, spec);
|
|
124
108
|
};
|
|
125
109
|
const sendOperationFn = async (args, spec) => {
|
|
126
|
-
var _a;
|
|
127
110
|
let currentRawResponse = undefined;
|
|
128
|
-
const providedCallback =
|
|
111
|
+
const providedCallback = args.options?.onResponse;
|
|
129
112
|
const callback = (rawResponse, flatResponse) => {
|
|
130
113
|
currentRawResponse = rawResponse;
|
|
131
|
-
providedCallback
|
|
114
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
115
|
+
};
|
|
116
|
+
const updatedArgs = {
|
|
117
|
+
...args,
|
|
118
|
+
options: {
|
|
119
|
+
...args.options,
|
|
120
|
+
onResponse: callback,
|
|
121
|
+
},
|
|
132
122
|
};
|
|
133
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
134
123
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
135
124
|
return {
|
|
136
125
|
flatResponse,
|
|
@@ -147,8 +136,8 @@ class ReplicationJobsImpl {
|
|
|
147
136
|
spec: cancelOperationSpec,
|
|
148
137
|
});
|
|
149
138
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
150
|
-
restoreFrom: options
|
|
151
|
-
intervalInMs: options
|
|
139
|
+
restoreFrom: options?.resumeFrom,
|
|
140
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
152
141
|
});
|
|
153
142
|
await poller.poll();
|
|
154
143
|
return poller;
|
|
@@ -178,14 +167,19 @@ class ReplicationJobsImpl {
|
|
|
178
167
|
return this.client.sendOperationRequest(args, spec);
|
|
179
168
|
};
|
|
180
169
|
const sendOperationFn = async (args, spec) => {
|
|
181
|
-
var _a;
|
|
182
170
|
let currentRawResponse = undefined;
|
|
183
|
-
const providedCallback =
|
|
171
|
+
const providedCallback = args.options?.onResponse;
|
|
184
172
|
const callback = (rawResponse, flatResponse) => {
|
|
185
173
|
currentRawResponse = rawResponse;
|
|
186
|
-
providedCallback
|
|
174
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
175
|
+
};
|
|
176
|
+
const updatedArgs = {
|
|
177
|
+
...args,
|
|
178
|
+
options: {
|
|
179
|
+
...args.options,
|
|
180
|
+
onResponse: callback,
|
|
181
|
+
},
|
|
187
182
|
};
|
|
188
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
189
183
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
190
184
|
return {
|
|
191
185
|
flatResponse,
|
|
@@ -202,8 +196,8 @@ class ReplicationJobsImpl {
|
|
|
202
196
|
spec: restartOperationSpec,
|
|
203
197
|
});
|
|
204
198
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
205
|
-
restoreFrom: options
|
|
206
|
-
intervalInMs: options
|
|
199
|
+
restoreFrom: options?.resumeFrom,
|
|
200
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
207
201
|
});
|
|
208
202
|
await poller.poll();
|
|
209
203
|
return poller;
|
|
@@ -234,14 +228,19 @@ class ReplicationJobsImpl {
|
|
|
234
228
|
return this.client.sendOperationRequest(args, spec);
|
|
235
229
|
};
|
|
236
230
|
const sendOperationFn = async (args, spec) => {
|
|
237
|
-
var _a;
|
|
238
231
|
let currentRawResponse = undefined;
|
|
239
|
-
const providedCallback =
|
|
232
|
+
const providedCallback = args.options?.onResponse;
|
|
240
233
|
const callback = (rawResponse, flatResponse) => {
|
|
241
234
|
currentRawResponse = rawResponse;
|
|
242
|
-
providedCallback
|
|
235
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
236
|
+
};
|
|
237
|
+
const updatedArgs = {
|
|
238
|
+
...args,
|
|
239
|
+
options: {
|
|
240
|
+
...args.options,
|
|
241
|
+
onResponse: callback,
|
|
242
|
+
},
|
|
243
243
|
};
|
|
244
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
245
244
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
246
245
|
return {
|
|
247
246
|
flatResponse,
|
|
@@ -264,8 +263,8 @@ class ReplicationJobsImpl {
|
|
|
264
263
|
spec: resumeOperationSpec,
|
|
265
264
|
});
|
|
266
265
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
267
|
-
restoreFrom: options
|
|
268
|
-
intervalInMs: options
|
|
266
|
+
restoreFrom: options?.resumeFrom,
|
|
267
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
269
268
|
});
|
|
270
269
|
await poller.poll();
|
|
271
270
|
return poller;
|
|
@@ -296,14 +295,19 @@ class ReplicationJobsImpl {
|
|
|
296
295
|
return this.client.sendOperationRequest(args, spec);
|
|
297
296
|
};
|
|
298
297
|
const sendOperationFn = async (args, spec) => {
|
|
299
|
-
var _a;
|
|
300
298
|
let currentRawResponse = undefined;
|
|
301
|
-
const providedCallback =
|
|
299
|
+
const providedCallback = args.options?.onResponse;
|
|
302
300
|
const callback = (rawResponse, flatResponse) => {
|
|
303
301
|
currentRawResponse = rawResponse;
|
|
304
|
-
providedCallback
|
|
302
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
303
|
+
};
|
|
304
|
+
const updatedArgs = {
|
|
305
|
+
...args,
|
|
306
|
+
options: {
|
|
307
|
+
...args.options,
|
|
308
|
+
onResponse: callback,
|
|
309
|
+
},
|
|
305
310
|
};
|
|
306
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
307
311
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
308
312
|
return {
|
|
309
313
|
flatResponse,
|
|
@@ -320,8 +324,8 @@ class ReplicationJobsImpl {
|
|
|
320
324
|
spec: exportOperationSpec,
|
|
321
325
|
});
|
|
322
326
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
323
|
-
restoreFrom: options
|
|
324
|
-
intervalInMs: options
|
|
327
|
+
restoreFrom: options?.resumeFrom,
|
|
328
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
325
329
|
});
|
|
326
330
|
await poller.poll();
|
|
327
331
|
return poller;
|