@azure/arm-recoveryservices-siterecovery 5.3.0-alpha.20250619.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
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
6
|
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
7
|
*/
|
|
8
|
-
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
8
|
import { setContinuationToken } from "../pagingHelper.js";
|
|
10
9
|
import * as coreClient from "@azure/core-client";
|
|
11
10
|
import * as Mappers from "../models/mappers.js";
|
|
@@ -15,6 +14,7 @@ import { createLroSpec } from "../lroImpl.js";
|
|
|
15
14
|
/// <reference lib="esnext.asynciterable" />
|
|
16
15
|
/** Class containing ReplicationProtectionContainerMappings operations. */
|
|
17
16
|
export class ReplicationProtectionContainerMappingsImpl {
|
|
17
|
+
client;
|
|
18
18
|
/**
|
|
19
19
|
* Initialize a new instance of the class ReplicationProtectionContainerMappings class.
|
|
20
20
|
* @param client Reference to the service client
|
|
@@ -41,52 +41,35 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
41
41
|
return this;
|
|
42
42
|
},
|
|
43
43
|
byPage: (settings) => {
|
|
44
|
-
if (settings
|
|
44
|
+
if (settings?.maxPageSize) {
|
|
45
45
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
46
46
|
}
|
|
47
47
|
return this.listByReplicationProtectionContainersPagingPage(resourceGroupName, resourceName, fabricName, protectionContainerName, options, settings);
|
|
48
48
|
},
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
listByReplicationProtectionContainersPagingPage(resourceGroupName, resourceName, fabricName, protectionContainerName, options, settings) {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
});
|
|
51
|
+
async *listByReplicationProtectionContainersPagingPage(resourceGroupName, resourceName, fabricName, protectionContainerName, options, settings) {
|
|
52
|
+
let result;
|
|
53
|
+
let continuationToken = settings?.continuationToken;
|
|
54
|
+
if (!continuationToken) {
|
|
55
|
+
result = await this._listByReplicationProtectionContainers(resourceGroupName, resourceName, fabricName, protectionContainerName, options);
|
|
56
|
+
let page = result.value || [];
|
|
57
|
+
continuationToken = result.nextLink;
|
|
58
|
+
setContinuationToken(page, continuationToken);
|
|
59
|
+
yield page;
|
|
60
|
+
}
|
|
61
|
+
while (continuationToken) {
|
|
62
|
+
result = await this._listByReplicationProtectionContainersNext(resourceGroupName, resourceName, fabricName, protectionContainerName, continuationToken, options);
|
|
63
|
+
continuationToken = result.nextLink;
|
|
64
|
+
let page = result.value || [];
|
|
65
|
+
setContinuationToken(page, continuationToken);
|
|
66
|
+
yield page;
|
|
67
|
+
}
|
|
70
68
|
}
|
|
71
|
-
listByReplicationProtectionContainersPagingAll(resourceGroupName, resourceName, fabricName, protectionContainerName, options) {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
for (var _d = true, _e = __asyncValues(this.listByReplicationProtectionContainersPagingPage(resourceGroupName, resourceName, fabricName, protectionContainerName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
76
|
-
_c = _f.value;
|
|
77
|
-
_d = false;
|
|
78
|
-
const page = _c;
|
|
79
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
83
|
-
finally {
|
|
84
|
-
try {
|
|
85
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
86
|
-
}
|
|
87
|
-
finally { if (e_1) throw e_1.error; }
|
|
88
|
-
}
|
|
89
|
-
});
|
|
69
|
+
async *listByReplicationProtectionContainersPagingAll(resourceGroupName, resourceName, fabricName, protectionContainerName, options) {
|
|
70
|
+
for await (const page of this.listByReplicationProtectionContainersPagingPage(resourceGroupName, resourceName, fabricName, protectionContainerName, options)) {
|
|
71
|
+
yield* page;
|
|
72
|
+
}
|
|
90
73
|
}
|
|
91
74
|
/**
|
|
92
75
|
* Lists the protection container mappings in the vault.
|
|
@@ -105,52 +88,35 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
105
88
|
return this;
|
|
106
89
|
},
|
|
107
90
|
byPage: (settings) => {
|
|
108
|
-
if (settings
|
|
91
|
+
if (settings?.maxPageSize) {
|
|
109
92
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
110
93
|
}
|
|
111
94
|
return this.listPagingPage(resourceGroupName, resourceName, options, settings);
|
|
112
95
|
},
|
|
113
96
|
};
|
|
114
97
|
}
|
|
115
|
-
listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
});
|
|
98
|
+
async *listPagingPage(resourceGroupName, resourceName, options, settings) {
|
|
99
|
+
let result;
|
|
100
|
+
let continuationToken = settings?.continuationToken;
|
|
101
|
+
if (!continuationToken) {
|
|
102
|
+
result = await this._list(resourceGroupName, resourceName, options);
|
|
103
|
+
let page = result.value || [];
|
|
104
|
+
continuationToken = result.nextLink;
|
|
105
|
+
setContinuationToken(page, continuationToken);
|
|
106
|
+
yield page;
|
|
107
|
+
}
|
|
108
|
+
while (continuationToken) {
|
|
109
|
+
result = await this._listNext(resourceGroupName, resourceName, continuationToken, options);
|
|
110
|
+
continuationToken = result.nextLink;
|
|
111
|
+
let page = result.value || [];
|
|
112
|
+
setContinuationToken(page, continuationToken);
|
|
113
|
+
yield page;
|
|
114
|
+
}
|
|
134
115
|
}
|
|
135
|
-
listPagingAll(resourceGroupName, resourceName, options) {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
for (var _d = true, _e = __asyncValues(this.listPagingPage(resourceGroupName, resourceName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
140
|
-
_c = _f.value;
|
|
141
|
-
_d = false;
|
|
142
|
-
const page = _c;
|
|
143
|
-
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
catch (e_2_1) { e_2 = { error: e_2_1 }; }
|
|
147
|
-
finally {
|
|
148
|
-
try {
|
|
149
|
-
if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
|
|
150
|
-
}
|
|
151
|
-
finally { if (e_2) throw e_2.error; }
|
|
152
|
-
}
|
|
153
|
-
});
|
|
116
|
+
async *listPagingAll(resourceGroupName, resourceName, options) {
|
|
117
|
+
for await (const page of this.listPagingPage(resourceGroupName, resourceName, options)) {
|
|
118
|
+
yield* page;
|
|
119
|
+
}
|
|
154
120
|
}
|
|
155
121
|
/**
|
|
156
122
|
* Lists the protection container mappings for a protection container.
|
|
@@ -206,14 +172,19 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
206
172
|
return this.client.sendOperationRequest(args, spec);
|
|
207
173
|
};
|
|
208
174
|
const sendOperationFn = async (args, spec) => {
|
|
209
|
-
var _a;
|
|
210
175
|
let currentRawResponse = undefined;
|
|
211
|
-
const providedCallback =
|
|
176
|
+
const providedCallback = args.options?.onResponse;
|
|
212
177
|
const callback = (rawResponse, flatResponse) => {
|
|
213
178
|
currentRawResponse = rawResponse;
|
|
214
|
-
providedCallback
|
|
179
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
180
|
+
};
|
|
181
|
+
const updatedArgs = {
|
|
182
|
+
...args,
|
|
183
|
+
options: {
|
|
184
|
+
...args.options,
|
|
185
|
+
onResponse: callback,
|
|
186
|
+
},
|
|
215
187
|
};
|
|
216
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
217
188
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
218
189
|
return {
|
|
219
190
|
flatResponse,
|
|
@@ -238,8 +209,8 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
238
209
|
spec: createOperationSpec,
|
|
239
210
|
});
|
|
240
211
|
const poller = await createHttpPoller(lro, {
|
|
241
|
-
restoreFrom: options
|
|
242
|
-
intervalInMs: options
|
|
212
|
+
restoreFrom: options?.resumeFrom,
|
|
213
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
243
214
|
});
|
|
244
215
|
await poller.poll();
|
|
245
216
|
return poller;
|
|
@@ -274,14 +245,19 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
274
245
|
return this.client.sendOperationRequest(args, spec);
|
|
275
246
|
};
|
|
276
247
|
const sendOperationFn = async (args, spec) => {
|
|
277
|
-
var _a;
|
|
278
248
|
let currentRawResponse = undefined;
|
|
279
|
-
const providedCallback =
|
|
249
|
+
const providedCallback = args.options?.onResponse;
|
|
280
250
|
const callback = (rawResponse, flatResponse) => {
|
|
281
251
|
currentRawResponse = rawResponse;
|
|
282
|
-
providedCallback
|
|
252
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
253
|
+
};
|
|
254
|
+
const updatedArgs = {
|
|
255
|
+
...args,
|
|
256
|
+
options: {
|
|
257
|
+
...args.options,
|
|
258
|
+
onResponse: callback,
|
|
259
|
+
},
|
|
283
260
|
};
|
|
284
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
285
261
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
286
262
|
return {
|
|
287
263
|
flatResponse,
|
|
@@ -305,8 +281,8 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
305
281
|
spec: purgeOperationSpec,
|
|
306
282
|
});
|
|
307
283
|
const poller = await createHttpPoller(lro, {
|
|
308
|
-
restoreFrom: options
|
|
309
|
-
intervalInMs: options
|
|
284
|
+
restoreFrom: options?.resumeFrom,
|
|
285
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
310
286
|
});
|
|
311
287
|
await poller.poll();
|
|
312
288
|
return poller;
|
|
@@ -341,14 +317,19 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
341
317
|
return this.client.sendOperationRequest(args, spec);
|
|
342
318
|
};
|
|
343
319
|
const sendOperationFn = async (args, spec) => {
|
|
344
|
-
var _a;
|
|
345
320
|
let currentRawResponse = undefined;
|
|
346
|
-
const providedCallback =
|
|
321
|
+
const providedCallback = args.options?.onResponse;
|
|
347
322
|
const callback = (rawResponse, flatResponse) => {
|
|
348
323
|
currentRawResponse = rawResponse;
|
|
349
|
-
providedCallback
|
|
324
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
325
|
+
};
|
|
326
|
+
const updatedArgs = {
|
|
327
|
+
...args,
|
|
328
|
+
options: {
|
|
329
|
+
...args.options,
|
|
330
|
+
onResponse: callback,
|
|
331
|
+
},
|
|
350
332
|
};
|
|
351
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
352
333
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
353
334
|
return {
|
|
354
335
|
flatResponse,
|
|
@@ -373,8 +354,8 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
373
354
|
spec: updateOperationSpec,
|
|
374
355
|
});
|
|
375
356
|
const poller = await createHttpPoller(lro, {
|
|
376
|
-
restoreFrom: options
|
|
377
|
-
intervalInMs: options
|
|
357
|
+
restoreFrom: options?.resumeFrom,
|
|
358
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
378
359
|
});
|
|
379
360
|
await poller.poll();
|
|
380
361
|
return poller;
|
|
@@ -410,14 +391,19 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
410
391
|
return this.client.sendOperationRequest(args, spec);
|
|
411
392
|
};
|
|
412
393
|
const sendOperationFn = async (args, spec) => {
|
|
413
|
-
var _a;
|
|
414
394
|
let currentRawResponse = undefined;
|
|
415
|
-
const providedCallback =
|
|
395
|
+
const providedCallback = args.options?.onResponse;
|
|
416
396
|
const callback = (rawResponse, flatResponse) => {
|
|
417
397
|
currentRawResponse = rawResponse;
|
|
418
|
-
providedCallback
|
|
398
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
399
|
+
};
|
|
400
|
+
const updatedArgs = {
|
|
401
|
+
...args,
|
|
402
|
+
options: {
|
|
403
|
+
...args.options,
|
|
404
|
+
onResponse: callback,
|
|
405
|
+
},
|
|
419
406
|
};
|
|
420
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
421
407
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
422
408
|
return {
|
|
423
409
|
flatResponse,
|
|
@@ -442,8 +428,8 @@ export class ReplicationProtectionContainerMappingsImpl {
|
|
|
442
428
|
spec: deleteOperationSpec,
|
|
443
429
|
});
|
|
444
430
|
const poller = await createHttpPoller(lro, {
|
|
445
|
-
restoreFrom: options
|
|
446
|
-
intervalInMs: options
|
|
431
|
+
restoreFrom: options?.resumeFrom,
|
|
432
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
447
433
|
});
|
|
448
434
|
await poller.poll();
|
|
449
435
|
return poller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replicationProtectionContainerMappings.js","sourceRoot":"","sources":["../../../src/operations/replicationProtectionContainerMappings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAwB9C,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAM,OAAO,0CAA0C;IAKrD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,qCAAqC,CAC1C,iBAAyB,EACzB,YAAoB,EACpB,UAAkB,EAClB,uBAA+B,EAC/B,OAAmG;QAEnG,MAAM,IAAI,GAAG,IAAI,CAAC,8CAA8C,CAC9D,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,uBAAuB,EACvB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,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D,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 { ReplicationProtectionContainerMappings } 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 ProtectionContainerMapping,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextOptionalParams,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse,\n ReplicationProtectionContainerMappingsListNextOptionalParams,\n ReplicationProtectionContainerMappingsListOptionalParams,\n ReplicationProtectionContainerMappingsListResponse,\n ReplicationProtectionContainerMappingsGetOptionalParams,\n ReplicationProtectionContainerMappingsGetResponse,\n CreateProtectionContainerMappingInput,\n ReplicationProtectionContainerMappingsCreateOptionalParams,\n ReplicationProtectionContainerMappingsCreateResponse,\n ReplicationProtectionContainerMappingsPurgeOptionalParams,\n UpdateProtectionContainerMappingInput,\n ReplicationProtectionContainerMappingsUpdateOptionalParams,\n ReplicationProtectionContainerMappingsUpdateResponse,\n RemoveProtectionContainerMappingInput,\n ReplicationProtectionContainerMappingsDeleteOptionalParams,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse,\n ReplicationProtectionContainerMappingsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ReplicationProtectionContainerMappings operations. */\nexport class ReplicationProtectionContainerMappingsImpl\n implements ReplicationProtectionContainerMappings\n{\n private readonly client: SiteRecoveryManagementClient;\n\n /**\n * Initialize a new instance of the class ReplicationProtectionContainerMappings class.\n * @param client Reference to the service client\n */\n constructor(client: SiteRecoveryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the protection container mappings for a protection container.\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 protectionContainerName Protection container name.\n * @param options The options parameters.\n */\n public listByReplicationProtectionContainers(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ): PagedAsyncIterableIterator<ProtectionContainerMapping> {\n const iter = this.listByReplicationProtectionContainersPagingAll(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByReplicationProtectionContainersPagingPage(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByReplicationProtectionContainersPagingPage(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProtectionContainerMapping[]> {\n let result: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByReplicationProtectionContainers(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByReplicationProtectionContainersNext(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\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 *listByReplicationProtectionContainersPagingAll(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ): AsyncIterableIterator<ProtectionContainerMapping> {\n for await (const page of this.listByReplicationProtectionContainersPagingPage(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the protection container mappings 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?: ReplicationProtectionContainerMappingsListOptionalParams,\n ): PagedAsyncIterableIterator<ProtectionContainerMapping> {\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?: ReplicationProtectionContainerMappingsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProtectionContainerMapping[]> {\n let result: ReplicationProtectionContainerMappingsListResponse;\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?: ReplicationProtectionContainerMappingsListOptionalParams,\n ): AsyncIterableIterator<ProtectionContainerMapping> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the protection container mappings for a protection container.\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 protectionContainerName Protection container name.\n * @param options The options parameters.\n */\n private _listByReplicationProtectionContainers(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n },\n listByReplicationProtectionContainersOperationSpec,\n );\n }\n\n /**\n * Gets the details of a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection Container mapping name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n options?: ReplicationProtectionContainerMappingsGetOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * The operation to create a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param creationInput Mapping creation input.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n creationInput: CreateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationProtectionContainerMappingsCreateResponse>,\n ReplicationProtectionContainerMappingsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationProtectionContainerMappingsCreateResponse> => {\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 protectionContainerName,\n mappingName,\n creationInput,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationProtectionContainerMappingsCreateResponse,\n OperationState<ReplicationProtectionContainerMappingsCreateResponse>\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 a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param creationInput Mapping creation input.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n creationInput: CreateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsCreateOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n creationInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to purge(force delete) a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param options The options parameters.\n */\n async beginPurge(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n options?: ReplicationProtectionContainerMappingsPurgeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n options,\n },\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) a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param options The options parameters.\n */\n async beginPurgeAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n options?: ReplicationProtectionContainerMappingsPurgeOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurge(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to update protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param updateInput Mapping update input.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n updateInput: UpdateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationProtectionContainerMappingsUpdateResponse>,\n ReplicationProtectionContainerMappingsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationProtectionContainerMappingsUpdateResponse> => {\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 protectionContainerName,\n mappingName,\n updateInput,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationProtectionContainerMappingsUpdateResponse,\n OperationState<ReplicationProtectionContainerMappingsUpdateResponse>\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 update protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param updateInput Mapping update input.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n updateInput: UpdateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsUpdateOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n updateInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to delete or remove a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param removalInput Removal input.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n removalInput: RemoveProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n removalInput,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to delete or remove a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param removalInput Removal input.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n removalInput: RemoveProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n removalInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists the protection container mappings 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?: ReplicationProtectionContainerMappingsListOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListByReplicationProtectionContainersNext\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 protectionContainerName Protection container name.\n * @param nextLink The nextLink from the previous successful call to the\n * ListByReplicationProtectionContainers method.\n * @param options The options parameters.\n */\n private _listByReplicationProtectionContainersNext(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n nextLink: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n nextLink,\n options,\n },\n listByReplicationProtectionContainersNextOperationSpec,\n );\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?: ReplicationProtectionContainerMappingsListNextOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListNextResponse> {\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 listByReplicationProtectionContainersOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMappingCollection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 201: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 202: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 204: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n },\n requestBody: Parameters.creationInput1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\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 Parameters.protectionContainerName,\n Parameters.mappingName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 201: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 202: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 204: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n },\n requestBody: Parameters.updateInput,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove\",\n httpMethod: \"POST\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n requestBody: Parameters.removalInput,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\n ],\n headerParameters: [Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMappingCollection,\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 listByReplicationProtectionContainersNextOperationSpec: coreClient.OperationSpec =\n {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMappingCollection,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\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.ProtectionContainerMappingCollection,\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":"replicationProtectionContainerMappings.js","sourceRoot":"","sources":["../../../src/operations/replicationProtectionContainerMappings.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE1D,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,sBAAsB,CAAC;AAChD,OAAO,KAAK,UAAU,MAAM,yBAAyB,CAAC;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAwB9C,4CAA4C;AAC5C,0EAA0E;AAC1E,MAAM,OAAO,0CAA0C;IAGpC,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACI,qCAAqC,CAC1C,iBAAyB,EACzB,YAAoB,EACpB,UAAkB,EAClB,uBAA+B,EAC/B,OAAmG;QAEnG,MAAM,IAAI,GAAG,IAAI,CAAC,8CAA8C,CAC9D,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,uBAAuB,EACvB,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EA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GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,YAAY;QACvB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,uBAAuB;KACnC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACJ,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,oCAAoC;SACzD;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 { ReplicationProtectionContainerMappings } 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 ProtectionContainerMapping,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextOptionalParams,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse,\n ReplicationProtectionContainerMappingsListNextOptionalParams,\n ReplicationProtectionContainerMappingsListOptionalParams,\n ReplicationProtectionContainerMappingsListResponse,\n ReplicationProtectionContainerMappingsGetOptionalParams,\n ReplicationProtectionContainerMappingsGetResponse,\n CreateProtectionContainerMappingInput,\n ReplicationProtectionContainerMappingsCreateOptionalParams,\n ReplicationProtectionContainerMappingsCreateResponse,\n ReplicationProtectionContainerMappingsPurgeOptionalParams,\n UpdateProtectionContainerMappingInput,\n ReplicationProtectionContainerMappingsUpdateOptionalParams,\n ReplicationProtectionContainerMappingsUpdateResponse,\n RemoveProtectionContainerMappingInput,\n ReplicationProtectionContainerMappingsDeleteOptionalParams,\n ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse,\n ReplicationProtectionContainerMappingsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing ReplicationProtectionContainerMappings operations. */\nexport class ReplicationProtectionContainerMappingsImpl\n implements ReplicationProtectionContainerMappings\n{\n private readonly client: SiteRecoveryManagementClient;\n\n /**\n * Initialize a new instance of the class ReplicationProtectionContainerMappings class.\n * @param client Reference to the service client\n */\n constructor(client: SiteRecoveryManagementClient) {\n this.client = client;\n }\n\n /**\n * Lists the protection container mappings for a protection container.\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 protectionContainerName Protection container name.\n * @param options The options parameters.\n */\n public listByReplicationProtectionContainers(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ): PagedAsyncIterableIterator<ProtectionContainerMapping> {\n const iter = this.listByReplicationProtectionContainersPagingAll(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n );\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listByReplicationProtectionContainersPagingPage(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n settings,\n );\n },\n };\n }\n\n private async *listByReplicationProtectionContainersPagingPage(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProtectionContainerMapping[]> {\n let result: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._listByReplicationProtectionContainers(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n );\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listByReplicationProtectionContainersNext(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\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 *listByReplicationProtectionContainersPagingAll(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ): AsyncIterableIterator<ProtectionContainerMapping> {\n for await (const page of this.listByReplicationProtectionContainersPagingPage(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the protection container mappings 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?: ReplicationProtectionContainerMappingsListOptionalParams,\n ): PagedAsyncIterableIterator<ProtectionContainerMapping> {\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?: ReplicationProtectionContainerMappingsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ProtectionContainerMapping[]> {\n let result: ReplicationProtectionContainerMappingsListResponse;\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?: ReplicationProtectionContainerMappingsListOptionalParams,\n ): AsyncIterableIterator<ProtectionContainerMapping> {\n for await (const page of this.listPagingPage(\n resourceGroupName,\n resourceName,\n options,\n )) {\n yield* page;\n }\n }\n\n /**\n * Lists the protection container mappings for a protection container.\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 protectionContainerName Protection container name.\n * @param options The options parameters.\n */\n private _listByReplicationProtectionContainers(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListByReplicationProtectionContainersResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n options,\n },\n listByReplicationProtectionContainersOperationSpec,\n );\n }\n\n /**\n * Gets the details of a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection Container mapping name.\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n options?: ReplicationProtectionContainerMappingsGetOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsGetResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n options,\n },\n getOperationSpec,\n );\n }\n\n /**\n * The operation to create a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param creationInput Mapping creation input.\n * @param options The options parameters.\n */\n async beginCreate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n creationInput: CreateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsCreateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationProtectionContainerMappingsCreateResponse>,\n ReplicationProtectionContainerMappingsCreateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationProtectionContainerMappingsCreateResponse> => {\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 protectionContainerName,\n mappingName,\n creationInput,\n options,\n },\n spec: createOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationProtectionContainerMappingsCreateResponse,\n OperationState<ReplicationProtectionContainerMappingsCreateResponse>\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 a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param creationInput Mapping creation input.\n * @param options The options parameters.\n */\n async beginCreateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n creationInput: CreateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsCreateOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsCreateResponse> {\n const poller = await this.beginCreate(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n creationInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to purge(force delete) a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param options The options parameters.\n */\n async beginPurge(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n options?: ReplicationProtectionContainerMappingsPurgeOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n options,\n },\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) a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param options The options parameters.\n */\n async beginPurgeAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n options?: ReplicationProtectionContainerMappingsPurgeOptionalParams,\n ): Promise<void> {\n const poller = await this.beginPurge(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to update protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param updateInput Mapping update input.\n * @param options The options parameters.\n */\n async beginUpdate(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n updateInput: UpdateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsUpdateOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<ReplicationProtectionContainerMappingsUpdateResponse>,\n ReplicationProtectionContainerMappingsUpdateResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<ReplicationProtectionContainerMappingsUpdateResponse> => {\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 protectionContainerName,\n mappingName,\n updateInput,\n options,\n },\n spec: updateOperationSpec,\n });\n const poller = await createHttpPoller<\n ReplicationProtectionContainerMappingsUpdateResponse,\n OperationState<ReplicationProtectionContainerMappingsUpdateResponse>\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 update protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param updateInput Mapping update input.\n * @param options The options parameters.\n */\n async beginUpdateAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n updateInput: UpdateProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsUpdateOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsUpdateResponse> {\n const poller = await this.beginUpdate(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n updateInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * The operation to delete or remove a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param removalInput Removal input.\n * @param options The options parameters.\n */\n async beginDelete(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n removalInput: RemoveProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n removalInput,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * The operation to delete or remove a protection container mapping.\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 protectionContainerName Protection container name.\n * @param mappingName Protection container mapping name.\n * @param removalInput Removal input.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n mappingName: string,\n removalInput: RemoveProtectionContainerMappingInput,\n options?: ReplicationProtectionContainerMappingsDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n mappingName,\n removalInput,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Lists the protection container mappings 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?: ReplicationProtectionContainerMappingsListOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, resourceName, options },\n listOperationSpec,\n );\n }\n\n /**\n * ListByReplicationProtectionContainersNext\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 protectionContainerName Protection container name.\n * @param nextLink The nextLink from the previous successful call to the\n * ListByReplicationProtectionContainers method.\n * @param options The options parameters.\n */\n private _listByReplicationProtectionContainersNext(\n resourceGroupName: string,\n resourceName: string,\n fabricName: string,\n protectionContainerName: string,\n nextLink: string,\n options?: ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListByReplicationProtectionContainersNextResponse> {\n return this.client.sendOperationRequest(\n {\n resourceGroupName,\n resourceName,\n fabricName,\n protectionContainerName,\n nextLink,\n options,\n },\n listByReplicationProtectionContainersNextOperationSpec,\n );\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?: ReplicationProtectionContainerMappingsListNextOptionalParams,\n ): Promise<ReplicationProtectionContainerMappingsListNextResponse> {\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 listByReplicationProtectionContainersOperationSpec: coreClient.OperationSpec =\n {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMappingCollection,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 201: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 202: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 204: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n },\n requestBody: Parameters.creationInput1,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\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 Parameters.protectionContainerName,\n Parameters.mappingName,\n ],\n serializer,\n};\nconst updateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}\",\n httpMethod: \"PATCH\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 201: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 202: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n 204: {\n bodyMapper: Mappers.ProtectionContainerMapping,\n },\n },\n requestBody: Parameters.updateInput,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\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}/replicationProtectionContainers/{protectionContainerName}/replicationProtectionContainerMappings/{mappingName}/remove\",\n httpMethod: \"POST\",\n responses: { 200: {}, 201: {}, 202: {}, 204: {} },\n requestBody: Parameters.removalInput,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\n Parameters.mappingName,\n ],\n headerParameters: [Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectionContainerMappings\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMappingCollection,\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 listByReplicationProtectionContainersNextOperationSpec: coreClient.OperationSpec =\n {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ProtectionContainerMappingCollection,\n },\n },\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.nextLink,\n Parameters.resourceName,\n Parameters.fabricName,\n Parameters.protectionContainerName,\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.ProtectionContainerMappingCollection,\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"]}
|