@azure/arm-recoveryservices-siterecovery 0.1.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/LICENSE.txt +21 -21
- package/README.md +98 -96
- package/dist/index.js +32127 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +9867 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +382 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +722 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +19684 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +90 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +593 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +7 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +36 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/migrationRecoveryPoints.d.ts +51 -0
- package/dist-esm/src/operations/migrationRecoveryPoints.d.ts.map +1 -0
- package/dist-esm/src/operations/migrationRecoveryPoints.js +186 -0
- package/dist-esm/src/operations/migrationRecoveryPoints.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +123 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/recoveryPoints.d.ts +51 -0
- package/dist-esm/src/operations/recoveryPoints.d.ts.map +1 -0
- package/dist-esm/src/operations/recoveryPoints.js +191 -0
- package/dist-esm/src/operations/recoveryPoints.js.map +1 -0
- package/dist-esm/src/operations/replicationAlertSettings.d.ts +45 -0
- package/dist-esm/src/operations/replicationAlertSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationAlertSettings.js +182 -0
- package/dist-esm/src/operations/replicationAlertSettings.js.map +1 -0
- package/dist-esm/src/operations/replicationAppliances.d.ts +32 -0
- package/dist-esm/src/operations/replicationAppliances.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationAppliances.js +125 -0
- package/dist-esm/src/operations/replicationAppliances.js.map +1 -0
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts +25 -0
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.js +75 -0
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.js.map +1 -0
- package/dist-esm/src/operations/replicationEvents.d.ts +38 -0
- package/dist-esm/src/operations/replicationEvents.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationEvents.js +152 -0
- package/dist-esm/src/operations/replicationEvents.js.map +1 -0
- package/dist-esm/src/operations/replicationFabrics.d.ts +129 -0
- package/dist-esm/src/operations/replicationFabrics.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationFabrics.js +649 -0
- package/dist-esm/src/operations/replicationFabrics.js.map +1 -0
- package/dist-esm/src/operations/replicationJobs.d.ts +89 -0
- package/dist-esm/src/operations/replicationJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationJobs.js +459 -0
- package/dist-esm/src/operations/replicationJobs.js.map +1 -0
- package/dist-esm/src/operations/replicationLogicalNetworks.d.ts +43 -0
- package/dist-esm/src/operations/replicationLogicalNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationLogicalNetworks.js +160 -0
- package/dist-esm/src/operations/replicationLogicalNetworks.js.map +1 -0
- package/dist-esm/src/operations/replicationMigrationItems.d.ts +190 -0
- package/dist-esm/src/operations/replicationMigrationItems.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationMigrationItems.js +902 -0
- package/dist-esm/src/operations/replicationMigrationItems.js.map +1 -0
- package/dist-esm/src/operations/replicationNetworkMappings.d.ts +118 -0
- package/dist-esm/src/operations/replicationNetworkMappings.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationNetworkMappings.js +506 -0
- package/dist-esm/src/operations/replicationNetworkMappings.js.map +1 -0
- package/dist-esm/src/operations/replicationNetworks.d.ts +61 -0
- package/dist-esm/src/operations/replicationNetworks.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationNetworks.js +260 -0
- package/dist-esm/src/operations/replicationNetworks.js.map +1 -0
- package/dist-esm/src/operations/replicationPolicies.d.ts +79 -0
- package/dist-esm/src/operations/replicationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationPolicies.js +373 -0
- package/dist-esm/src/operations/replicationPolicies.js.map +1 -0
- package/dist-esm/src/operations/replicationProtectableItems.d.ts +47 -0
- package/dist-esm/src/operations/replicationProtectableItems.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationProtectableItems.js +177 -0
- package/dist-esm/src/operations/replicationProtectableItems.js.map +1 -0
- package/dist-esm/src/operations/replicationProtectedItems.d.ts +412 -0
- package/dist-esm/src/operations/replicationProtectedItems.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationProtectedItems.js +1977 -0
- package/dist-esm/src/operations/replicationProtectedItems.js.map +1 -0
- package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts +136 -0
- package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationProtectionContainerMappings.js +596 -0
- package/dist-esm/src/operations/replicationProtectionContainerMappings.js.map +1 -0
- package/dist-esm/src/operations/replicationProtectionContainers.d.ts +124 -0
- package/dist-esm/src/operations/replicationProtectionContainers.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationProtectionContainers.js +577 -0
- package/dist-esm/src/operations/replicationProtectionContainers.js.map +1 -0
- package/dist-esm/src/operations/replicationProtectionIntents.d.ts +45 -0
- package/dist-esm/src/operations/replicationProtectionIntents.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationProtectionIntents.js +190 -0
- package/dist-esm/src/operations/replicationProtectionIntents.js.map +1 -0
- package/dist-esm/src/operations/replicationRecoveryPlans.d.ts +171 -0
- package/dist-esm/src/operations/replicationRecoveryPlans.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationRecoveryPlans.js +914 -0
- package/dist-esm/src/operations/replicationRecoveryPlans.js.map +1 -0
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts +120 -0
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.js +550 -0
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.js.map +1 -0
- package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts +100 -0
- package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationStorageClassificationMappings.js +437 -0
- package/dist-esm/src/operations/replicationStorageClassificationMappings.js.map +1 -0
- package/dist-esm/src/operations/replicationStorageClassifications.d.ts +61 -0
- package/dist-esm/src/operations/replicationStorageClassifications.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationStorageClassifications.js +260 -0
- package/dist-esm/src/operations/replicationStorageClassifications.js.map +1 -0
- package/dist-esm/src/operations/replicationVaultHealth.d.ts +29 -0
- package/dist-esm/src/operations/replicationVaultHealth.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationVaultHealth.js +123 -0
- package/dist-esm/src/operations/replicationVaultHealth.js.map +1 -0
- package/dist-esm/src/operations/replicationVaultSetting.d.ts +53 -0
- package/dist-esm/src/operations/replicationVaultSetting.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationVaultSetting.js +233 -0
- package/dist-esm/src/operations/replicationVaultSetting.js.map +1 -0
- package/dist-esm/src/operations/replicationvCenters.d.ts +108 -0
- package/dist-esm/src/operations/replicationvCenters.d.ts.map +1 -0
- package/dist-esm/src/operations/replicationvCenters.js +490 -0
- package/dist-esm/src/operations/replicationvCenters.js.map +1 -0
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts +18 -0
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.js +48 -0
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.js.map +1 -0
- package/dist-esm/src/operations/targetComputeSizes.d.ts +42 -0
- package/dist-esm/src/operations/targetComputeSizes.d.ts.map +1 -0
- package/dist-esm/src/operations/targetComputeSizes.js +152 -0
- package/dist-esm/src/operations/targetComputeSizes.js.map +1 -0
- package/{esm/operations/index.js → dist-esm/src/operationsInterfaces/index.d.ts} +8 -10
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +36 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/migrationRecoveryPoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationAlertSettings.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/replicationAlertSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationAlertSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationAlertSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationAppliances.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/replicationAppliances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationAppliances.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationAppliances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationEligibilityResultsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationEvents.d.ts +17 -0
- package/dist-esm/src/operationsInterfaces/replicationEvents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationEvents.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationEvents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts +108 -0
- package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationFabrics.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationFabrics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationJobs.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/replicationJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationJobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.d.ts +19 -0
- package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationLogicalNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationMigrationItems.d.ts +151 -0
- package/dist-esm/src/operationsInterfaces/replicationMigrationItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationMigrationItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationMigrationItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.d.ts +79 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworkMappings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworks.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworks.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationNetworks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationPolicies.d.ts +58 -0
- package/dist-esm/src/operationsInterfaces/replicationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectableItems.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectableItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectableItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectableItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectedItems.d.ts +373 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectedItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectedItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectedItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.d.ts +97 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainerMappings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts +87 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationProtectionIntents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.d.ts +150 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryPlans.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts +83 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.d.ts +61 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassificationMappings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.d.ts +24 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationStorageClassifications.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultHealth.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultHealth.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultHealth.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultHealth.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultSetting.d.ts +32 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultSetting.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultSetting.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationVaultSetting.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationvCenters.d.ts +71 -0
- package/dist-esm/src/operationsInterfaces/replicationvCenters.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/replicationvCenters.js +9 -0
- package/dist-esm/src/operationsInterfaces/replicationvCenters.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.d.ts +10 -0
- package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/supportedOperatingSystemsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/targetComputeSizes.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/targetComputeSizes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/targetComputeSizes.js +9 -0
- package/dist-esm/src/operationsInterfaces/targetComputeSizes.js.map +1 -0
- package/dist-esm/src/siteRecoveryManagementClient.d.ts +50 -0
- package/dist-esm/src/siteRecoveryManagementClient.d.ts.map +1 -0
- package/dist-esm/src/siteRecoveryManagementClient.js +89 -0
- package/dist-esm/src/siteRecoveryManagementClient.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +79 -34
- package/review/arm-recoveryservices-siterecovery.api.md +7219 -0
- package/rollup.config.js +184 -27
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +11124 -0
- package/src/models/mappers.ts +21728 -0
- package/src/models/parameters.ts +736 -0
- package/{lib → src}/operations/index.ts +10 -5
- package/src/operations/migrationRecoveryPoints.ts +263 -0
- package/src/operations/operations.ts +141 -0
- package/src/operations/recoveryPoints.ts +266 -0
- package/src/operations/replicationAlertSettings.ts +222 -0
- package/src/operations/replicationAppliances.ts +143 -0
- package/src/operations/replicationEligibilityResultsOperations.ts +104 -0
- package/src/operations/replicationEvents.ts +180 -0
- package/src/operations/replicationFabrics.ts +907 -0
- package/src/operations/replicationJobs.ts +623 -0
- package/src/operations/replicationLogicalNetworks.ts +205 -0
- package/src/operations/replicationMigrationItems.ts +1292 -0
- package/src/operations/replicationNetworkMappings.ts +708 -0
- package/src/operations/replicationNetworks.ts +313 -0
- package/src/operations/replicationPolicies.ts +500 -0
- package/src/operations/replicationProtectableItems.ts +246 -0
- package/src/operations/replicationProtectedItems.ts +2903 -0
- package/src/operations/replicationProtectionContainerMappings.ts +842 -0
- package/src/operations/replicationProtectionContainers.ts +799 -0
- package/src/operations/replicationProtectionIntents.ts +231 -0
- package/src/operations/replicationRecoveryPlans.ts +1300 -0
- package/src/operations/replicationRecoveryServicesProviders.ts +750 -0
- package/src/operations/replicationStorageClassificationMappings.ts +599 -0
- package/src/operations/replicationStorageClassifications.ts +318 -0
- package/src/operations/replicationVaultHealth.ts +163 -0
- package/src/operations/replicationVaultSetting.ts +297 -0
- package/src/operations/replicationvCenters.ts +658 -0
- package/src/operations/supportedOperatingSystemsOperations.ts +63 -0
- package/src/operations/targetComputeSizes.ts +214 -0
- package/src/operationsInterfaces/index.ts +36 -0
- package/src/operationsInterfaces/migrationRecoveryPoints.ts +48 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/recoveryPoints.ts +48 -0
- package/src/operationsInterfaces/replicationAlertSettings.ts +50 -0
- package/src/operationsInterfaces/replicationAppliances.ts +25 -0
- package/src/operationsInterfaces/replicationEligibilityResultsOperations.ts +36 -0
- package/src/operationsInterfaces/replicationEvents.ts +36 -0
- package/src/operationsInterfaces/replicationFabrics.ts +209 -0
- package/src/operationsInterfaces/replicationJobs.ts +143 -0
- package/src/operationsInterfaces/replicationLogicalNetworks.ts +40 -0
- package/src/operationsInterfaces/replicationMigrationItems.ts +308 -0
- package/src/operationsInterfaces/replicationNetworkMappings.ts +156 -0
- package/src/operationsInterfaces/replicationNetworks.ts +48 -0
- package/src/operationsInterfaces/replicationPolicies.ts +116 -0
- package/src/operationsInterfaces/replicationProtectableItems.ts +44 -0
- package/src/operationsInterfaces/replicationProtectedItems.ts +757 -0
- package/src/operationsInterfaces/replicationProtectionContainerMappings.ts +188 -0
- package/src/operationsInterfaces/replicationProtectionContainers.ts +178 -0
- package/src/operationsInterfaces/replicationProtectionIntents.ts +50 -0
- package/src/operationsInterfaces/replicationRecoveryPlans.ts +311 -0
- package/src/operationsInterfaces/replicationRecoveryServicesProviders.ts +160 -0
- package/src/operationsInterfaces/replicationStorageClassificationMappings.ts +120 -0
- package/src/operationsInterfaces/replicationStorageClassifications.ts +48 -0
- package/src/operationsInterfaces/replicationVaultHealth.ts +45 -0
- package/src/operationsInterfaces/replicationVaultSetting.ts +67 -0
- package/src/operationsInterfaces/replicationvCenters.ts +140 -0
- package/src/operationsInterfaces/supportedOperatingSystemsOperations.ts +23 -0
- package/src/operationsInterfaces/targetComputeSizes.ts +31 -0
- package/src/siteRecoveryManagementClient.ts +220 -0
- package/tsconfig.json +4 -4
- package/types/arm-recoveryservices-siterecovery.d.ts +12535 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-recoveryservices-siterecovery.js +0 -21612
- package/dist/arm-recoveryservices-siterecovery.js.map +0 -1
- package/dist/arm-recoveryservices-siterecovery.min.js +0 -1
- package/dist/arm-recoveryservices-siterecovery.min.js.map +0 -1
- package/esm/models/index.d.ts +0 -12202
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -458
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js +0 -11364
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -29
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js +0 -285
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/recoveryPointsMappers.d.ts +0 -2
- package/esm/models/recoveryPointsMappers.d.ts.map +0 -1
- package/esm/models/recoveryPointsMappers.js +0 -11
- package/esm/models/recoveryPointsMappers.js.map +0 -1
- package/esm/models/replicationAlertSettingsMappers.d.ts +0 -2
- package/esm/models/replicationAlertSettingsMappers.d.ts.map +0 -1
- package/esm/models/replicationAlertSettingsMappers.js +0 -11
- package/esm/models/replicationAlertSettingsMappers.js.map +0 -1
- package/esm/models/replicationEventsMappers.d.ts +0 -2
- package/esm/models/replicationEventsMappers.d.ts.map +0 -1
- package/esm/models/replicationEventsMappers.js +0 -11
- package/esm/models/replicationEventsMappers.js.map +0 -1
- package/esm/models/replicationFabricsMappers.d.ts +0 -2
- package/esm/models/replicationFabricsMappers.d.ts.map +0 -1
- package/esm/models/replicationFabricsMappers.js +0 -11
- package/esm/models/replicationFabricsMappers.js.map +0 -1
- package/esm/models/replicationJobsMappers.d.ts +0 -2
- package/esm/models/replicationJobsMappers.d.ts.map +0 -1
- package/esm/models/replicationJobsMappers.js +0 -11
- package/esm/models/replicationJobsMappers.js.map +0 -1
- package/esm/models/replicationLogicalNetworksMappers.d.ts +0 -2
- package/esm/models/replicationLogicalNetworksMappers.d.ts.map +0 -1
- package/esm/models/replicationLogicalNetworksMappers.js +0 -11
- package/esm/models/replicationLogicalNetworksMappers.js.map +0 -1
- package/esm/models/replicationNetworkMappingsMappers.d.ts +0 -2
- package/esm/models/replicationNetworkMappingsMappers.d.ts.map +0 -1
- package/esm/models/replicationNetworkMappingsMappers.js +0 -11
- package/esm/models/replicationNetworkMappingsMappers.js.map +0 -1
- package/esm/models/replicationNetworksMappers.d.ts +0 -2
- package/esm/models/replicationNetworksMappers.d.ts.map +0 -1
- package/esm/models/replicationNetworksMappers.js +0 -11
- package/esm/models/replicationNetworksMappers.js.map +0 -1
- package/esm/models/replicationPoliciesMappers.d.ts +0 -2
- package/esm/models/replicationPoliciesMappers.d.ts.map +0 -1
- package/esm/models/replicationPoliciesMappers.js +0 -11
- package/esm/models/replicationPoliciesMappers.js.map +0 -1
- package/esm/models/replicationProtectableItemsMappers.d.ts +0 -2
- package/esm/models/replicationProtectableItemsMappers.d.ts.map +0 -1
- package/esm/models/replicationProtectableItemsMappers.js +0 -11
- package/esm/models/replicationProtectableItemsMappers.js.map +0 -1
- package/esm/models/replicationProtectedItemsMappers.d.ts +0 -2
- package/esm/models/replicationProtectedItemsMappers.d.ts.map +0 -1
- package/esm/models/replicationProtectedItemsMappers.js +0 -11
- package/esm/models/replicationProtectedItemsMappers.js.map +0 -1
- package/esm/models/replicationProtectionContainerMappingsMappers.d.ts +0 -2
- package/esm/models/replicationProtectionContainerMappingsMappers.d.ts.map +0 -1
- package/esm/models/replicationProtectionContainerMappingsMappers.js +0 -11
- package/esm/models/replicationProtectionContainerMappingsMappers.js.map +0 -1
- package/esm/models/replicationProtectionContainersMappers.d.ts +0 -2
- package/esm/models/replicationProtectionContainersMappers.d.ts.map +0 -1
- package/esm/models/replicationProtectionContainersMappers.js +0 -11
- package/esm/models/replicationProtectionContainersMappers.js.map +0 -1
- package/esm/models/replicationRecoveryPlansMappers.d.ts +0 -2
- package/esm/models/replicationRecoveryPlansMappers.d.ts.map +0 -1
- package/esm/models/replicationRecoveryPlansMappers.js +0 -11
- package/esm/models/replicationRecoveryPlansMappers.js.map +0 -1
- package/esm/models/replicationRecoveryServicesProvidersMappers.d.ts +0 -2
- package/esm/models/replicationRecoveryServicesProvidersMappers.d.ts.map +0 -1
- package/esm/models/replicationRecoveryServicesProvidersMappers.js +0 -11
- package/esm/models/replicationRecoveryServicesProvidersMappers.js.map +0 -1
- package/esm/models/replicationStorageClassificationMappingsMappers.d.ts +0 -2
- package/esm/models/replicationStorageClassificationMappingsMappers.d.ts.map +0 -1
- package/esm/models/replicationStorageClassificationMappingsMappers.js +0 -11
- package/esm/models/replicationStorageClassificationMappingsMappers.js.map +0 -1
- package/esm/models/replicationStorageClassificationsMappers.d.ts +0 -2
- package/esm/models/replicationStorageClassificationsMappers.d.ts.map +0 -1
- package/esm/models/replicationStorageClassificationsMappers.js +0 -11
- package/esm/models/replicationStorageClassificationsMappers.js.map +0 -1
- package/esm/models/replicationVaultHealthMappers.d.ts +0 -2
- package/esm/models/replicationVaultHealthMappers.d.ts.map +0 -1
- package/esm/models/replicationVaultHealthMappers.js +0 -11
- package/esm/models/replicationVaultHealthMappers.js.map +0 -1
- package/esm/models/replicationvCentersMappers.d.ts +0 -2
- package/esm/models/replicationvCentersMappers.d.ts.map +0 -1
- package/esm/models/replicationvCentersMappers.js +0 -11
- package/esm/models/replicationvCentersMappers.js.map +0 -1
- package/esm/models/targetComputeSizesMappers.d.ts +0 -2
- package/esm/models/targetComputeSizesMappers.d.ts.map +0 -1
- package/esm/models/targetComputeSizesMappers.js +0 -11
- package/esm/models/targetComputeSizesMappers.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -48
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -81
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/recoveryPoints.d.ts +0 -85
- package/esm/operations/recoveryPoints.d.ts.map +0 -1
- package/esm/operations/recoveryPoints.js +0 -125
- package/esm/operations/recoveryPoints.js.map +0 -1
- package/esm/operations/replicationAlertSettings.d.ts +0 -89
- package/esm/operations/replicationAlertSettings.d.ts.map +0 -1
- package/esm/operations/replicationAlertSettings.js +0 -150
- package/esm/operations/replicationAlertSettings.js.map +0 -1
- package/esm/operations/replicationEvents.d.ts +0 -67
- package/esm/operations/replicationEvents.d.ts.map +0 -1
- package/esm/operations/replicationEvents.js +0 -114
- package/esm/operations/replicationEvents.js.map +0 -1
- package/esm/operations/replicationFabrics.d.ts +0 -186
- package/esm/operations/replicationFabrics.d.ts.map +0 -1
- package/esm/operations/replicationFabrics.js +0 -479
- package/esm/operations/replicationFabrics.js.map +0 -1
- package/esm/operations/replicationJobs.d.ts +0 -134
- package/esm/operations/replicationJobs.d.ts.map +0 -1
- package/esm/operations/replicationJobs.js +0 -325
- package/esm/operations/replicationJobs.js.map +0 -1
- package/esm/operations/replicationLogicalNetworks.d.ts +0 -73
- package/esm/operations/replicationLogicalNetworks.d.ts.map +0 -1
- package/esm/operations/replicationLogicalNetworks.js +0 -117
- package/esm/operations/replicationLogicalNetworks.js.map +0 -1
- package/esm/operations/replicationNetworkMappings.d.ts +0 -179
- package/esm/operations/replicationNetworkMappings.d.ts.map +0 -1
- package/esm/operations/replicationNetworkMappings.js +0 -363
- package/esm/operations/replicationNetworkMappings.js.map +0 -1
- package/esm/operations/replicationNetworks.d.ts +0 -108
- package/esm/operations/replicationNetworks.d.ts.map +0 -1
- package/esm/operations/replicationNetworks.js +0 -172
- package/esm/operations/replicationNetworks.js.map +0 -1
- package/esm/operations/replicationPolicies.d.ts +0 -120
- package/esm/operations/replicationPolicies.d.ts.map +0 -1
- package/esm/operations/replicationPolicies.js +0 -276
- package/esm/operations/replicationPolicies.js.map +0 -1
- package/esm/operations/replicationProtectableItems.d.ts +0 -81
- package/esm/operations/replicationProtectableItems.d.ts.map +0 -1
- package/esm/operations/replicationProtectableItems.js +0 -122
- package/esm/operations/replicationProtectableItems.js.map +0 -1
- package/esm/operations/replicationProtectedItems.d.ts +0 -410
- package/esm/operations/replicationProtectedItems.d.ts.map +0 -1
- package/esm/operations/replicationProtectedItems.js +0 -1013
- package/esm/operations/replicationProtectedItems.js.map +0 -1
- package/esm/operations/replicationProtectionContainerMappings.d.ts +0 -203
- package/esm/operations/replicationProtectionContainerMappings.d.ts.map +0 -1
- package/esm/operations/replicationProtectionContainerMappings.js +0 -426
- package/esm/operations/replicationProtectionContainerMappings.js.map +0 -1
- package/esm/operations/replicationProtectionContainers.d.ts +0 -191
- package/esm/operations/replicationProtectionContainers.d.ts.map +0 -1
- package/esm/operations/replicationProtectionContainers.js +0 -412
- package/esm/operations/replicationProtectionContainers.js.map +0 -1
- package/esm/operations/replicationRecoveryPlans.d.ts +0 -224
- package/esm/operations/replicationRecoveryPlans.d.ts.map +0 -1
- package/esm/operations/replicationRecoveryPlans.js +0 -604
- package/esm/operations/replicationRecoveryPlans.js.map +0 -1
- package/esm/operations/replicationRecoveryServicesProviders.d.ts +0 -172
- package/esm/operations/replicationRecoveryServicesProviders.d.ts.map +0 -1
- package/esm/operations/replicationRecoveryServicesProviders.js +0 -336
- package/esm/operations/replicationRecoveryServicesProviders.js.map +0 -1
- package/esm/operations/replicationStorageClassificationMappings.d.ts +0 -159
- package/esm/operations/replicationStorageClassificationMappings.d.ts.map +0 -1
- package/esm/operations/replicationStorageClassificationMappings.js +0 -298
- package/esm/operations/replicationStorageClassificationMappings.js.map +0 -1
- package/esm/operations/replicationStorageClassifications.d.ts +0 -108
- package/esm/operations/replicationStorageClassifications.d.ts.map +0 -1
- package/esm/operations/replicationStorageClassifications.js +0 -172
- package/esm/operations/replicationStorageClassifications.js.map +0 -1
- package/esm/operations/replicationVaultHealth.d.ts +0 -42
- package/esm/operations/replicationVaultHealth.d.ts.map +0 -1
- package/esm/operations/replicationVaultHealth.js +0 -100
- package/esm/operations/replicationVaultHealth.js.map +0 -1
- package/esm/operations/replicationvCenters.d.ts +0 -167
- package/esm/operations/replicationvCenters.d.ts.map +0 -1
- package/esm/operations/replicationvCenters.js +0 -347
- package/esm/operations/replicationvCenters.js.map +0 -1
- package/esm/operations/targetComputeSizes.d.ts +0 -57
- package/esm/operations/targetComputeSizes.d.ts.map +0 -1
- package/esm/operations/targetComputeSizes.js +0 -88
- package/esm/operations/targetComputeSizes.js.map +0 -1
- package/esm/siteRecoveryManagementClient.d.ts +0 -41
- package/esm/siteRecoveryManagementClient.d.ts.map +0 -1
- package/esm/siteRecoveryManagementClient.js +0 -56
- package/esm/siteRecoveryManagementClient.js.map +0 -1
- package/esm/siteRecoveryManagementClientContext.d.ts +0 -21
- package/esm/siteRecoveryManagementClientContext.d.ts.map +0 -1
- package/esm/siteRecoveryManagementClientContext.js +0 -67
- package/esm/siteRecoveryManagementClientContext.js.map +0 -1
- package/lib/models/index.ts +0 -12736
- package/lib/models/mappers.ts +0 -12507
- package/lib/models/operationsMappers.ts +0 -18
- package/lib/models/parameters.ts +0 -287
- package/lib/models/recoveryPointsMappers.ts +0 -169
- package/lib/models/replicationAlertSettingsMappers.ts +0 -171
- package/lib/models/replicationEventsMappers.ts +0 -169
- package/lib/models/replicationFabricsMappers.ts +0 -178
- package/lib/models/replicationJobsMappers.ts +0 -172
- package/lib/models/replicationLogicalNetworksMappers.ts +0 -169
- package/lib/models/replicationNetworkMappingsMappers.ts +0 -181
- package/lib/models/replicationNetworksMappers.ts +0 -169
- package/lib/models/replicationPoliciesMappers.ts +0 -181
- package/lib/models/replicationProtectableItemsMappers.ts +0 -169
- package/lib/models/replicationProtectedItemsMappers.ts +0 -226
- package/lib/models/replicationProtectionContainerMappingsMappers.ts +0 -180
- package/lib/models/replicationProtectionContainersMappers.ts +0 -184
- package/lib/models/replicationRecoveryPlansMappers.ts +0 -187
- package/lib/models/replicationRecoveryServicesProvidersMappers.ts +0 -169
- package/lib/models/replicationStorageClassificationMappingsMappers.ts +0 -171
- package/lib/models/replicationStorageClassificationsMappers.ts +0 -169
- package/lib/models/replicationVaultHealthMappers.ts +0 -168
- package/lib/models/replicationvCentersMappers.ts +0 -173
- package/lib/models/targetComputeSizesMappers.ts +0 -19
- package/lib/operations/operations.ts +0 -129
- package/lib/operations/recoveryPoints.ts +0 -215
- package/lib/operations/replicationAlertSettings.ts +0 -251
- package/lib/operations/replicationEvents.ts +0 -186
- package/lib/operations/replicationFabrics.ts +0 -602
- package/lib/operations/replicationJobs.ts +0 -427
- package/lib/operations/replicationLogicalNetworks.ts +0 -195
- package/lib/operations/replicationNetworkMappings.ts +0 -516
- package/lib/operations/replicationNetworks.ts +0 -295
- package/lib/operations/replicationPolicies.ts +0 -372
- package/lib/operations/replicationProtectableItems.ts +0 -208
- package/lib/operations/replicationProtectedItems.ts +0 -1251
- package/lib/operations/replicationProtectionContainerMappings.ts +0 -590
- package/lib/operations/replicationProtectionContainers.ts +0 -568
- package/lib/operations/replicationRecoveryPlans.ts +0 -748
- package/lib/operations/replicationRecoveryServicesProviders.ts +0 -481
- package/lib/operations/replicationStorageClassificationMappings.ts +0 -444
- package/lib/operations/replicationStorageClassifications.ts +0 -295
- package/lib/operations/replicationVaultHealth.ts +0 -131
- package/lib/operations/replicationvCenters.ts +0 -494
- package/lib/operations/targetComputeSizes.ts +0 -145
- package/lib/siteRecoveryManagementClient.ts +0 -85
- package/lib/siteRecoveryManagementClientContext.ts +0 -75
|
@@ -1,1251 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as msRestAzure from "@azure/ms-rest-azure-js";
|
|
13
|
-
import * as Models from "../models";
|
|
14
|
-
import * as Mappers from "../models/replicationProtectedItemsMappers";
|
|
15
|
-
import * as Parameters from "../models/parameters";
|
|
16
|
-
import { SiteRecoveryManagementClientContext } from "../siteRecoveryManagementClientContext";
|
|
17
|
-
|
|
18
|
-
/** Class representing a ReplicationProtectedItems. */
|
|
19
|
-
export class ReplicationProtectedItems {
|
|
20
|
-
private readonly client: SiteRecoveryManagementClientContext;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Create a ReplicationProtectedItems.
|
|
24
|
-
* @param {SiteRecoveryManagementClientContext} client Reference to the service client.
|
|
25
|
-
*/
|
|
26
|
-
constructor(client: SiteRecoveryManagementClientContext) {
|
|
27
|
-
this.client = client;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Gets the list of ASR replication protected items in the protection container.
|
|
32
|
-
* @summary Gets the list of Replication protected items.
|
|
33
|
-
* @param fabricName Fabric name.
|
|
34
|
-
* @param protectionContainerName Protection container name.
|
|
35
|
-
* @param [options] The optional parameters
|
|
36
|
-
* @returns Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersResponse>
|
|
37
|
-
*/
|
|
38
|
-
listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersResponse>;
|
|
39
|
-
/**
|
|
40
|
-
* @param fabricName Fabric name.
|
|
41
|
-
* @param protectionContainerName Protection container name.
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
45
|
-
/**
|
|
46
|
-
* @param fabricName Fabric name.
|
|
47
|
-
* @param protectionContainerName Protection container name.
|
|
48
|
-
* @param options The optional parameters
|
|
49
|
-
* @param callback The callback
|
|
50
|
-
*/
|
|
51
|
-
listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
52
|
-
listByReplicationProtectionContainers(fabricName: string, protectionContainerName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>, callback?: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersResponse> {
|
|
53
|
-
return this.client.sendOperationRequest(
|
|
54
|
-
{
|
|
55
|
-
fabricName,
|
|
56
|
-
protectionContainerName,
|
|
57
|
-
options
|
|
58
|
-
},
|
|
59
|
-
listByReplicationProtectionContainersOperationSpec,
|
|
60
|
-
callback) as Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersResponse>;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* Gets the details of an ASR replication protected item.
|
|
65
|
-
* @summary Gets the details of a Replication protected item.
|
|
66
|
-
* @param fabricName Fabric unique name.
|
|
67
|
-
* @param protectionContainerName Protection container name.
|
|
68
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
69
|
-
* @param [options] The optional parameters
|
|
70
|
-
* @returns Promise<Models.ReplicationProtectedItemsGetResponse>
|
|
71
|
-
*/
|
|
72
|
-
get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsGetResponse>;
|
|
73
|
-
/**
|
|
74
|
-
* @param fabricName Fabric unique name.
|
|
75
|
-
* @param protectionContainerName Protection container name.
|
|
76
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
77
|
-
* @param callback The callback
|
|
78
|
-
*/
|
|
79
|
-
get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, callback: msRest.ServiceCallback<Models.ReplicationProtectedItem>): void;
|
|
80
|
-
/**
|
|
81
|
-
* @param fabricName Fabric unique name.
|
|
82
|
-
* @param protectionContainerName Protection container name.
|
|
83
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
84
|
-
* @param options The optional parameters
|
|
85
|
-
* @param callback The callback
|
|
86
|
-
*/
|
|
87
|
-
get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationProtectedItem>): void;
|
|
88
|
-
get(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationProtectedItem>, callback?: msRest.ServiceCallback<Models.ReplicationProtectedItem>): Promise<Models.ReplicationProtectedItemsGetResponse> {
|
|
89
|
-
return this.client.sendOperationRequest(
|
|
90
|
-
{
|
|
91
|
-
fabricName,
|
|
92
|
-
protectionContainerName,
|
|
93
|
-
replicatedProtectedItemName,
|
|
94
|
-
options
|
|
95
|
-
},
|
|
96
|
-
getOperationSpec,
|
|
97
|
-
callback) as Promise<Models.ReplicationProtectedItemsGetResponse>;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
/**
|
|
101
|
-
* The operation to create an ASR replication protected item (Enable replication).
|
|
102
|
-
* @summary Enables protection.
|
|
103
|
-
* @param fabricName Name of the fabric.
|
|
104
|
-
* @param protectionContainerName Protection container name.
|
|
105
|
-
* @param replicatedProtectedItemName A name for the replication protected item.
|
|
106
|
-
* @param input Enable Protection Input.
|
|
107
|
-
* @param [options] The optional parameters
|
|
108
|
-
* @returns Promise<Models.ReplicationProtectedItemsCreateResponse>
|
|
109
|
-
*/
|
|
110
|
-
create(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, input: Models.EnableProtectionInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsCreateResponse> {
|
|
111
|
-
return this.beginCreate(fabricName,protectionContainerName,replicatedProtectedItemName,input,options)
|
|
112
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsCreateResponse>;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* The operation to delete or purge a replication protected item. This operation will force delete
|
|
117
|
-
* the replication protected item. Use the remove operation on replication protected item to
|
|
118
|
-
* perform a clean disable replication for the item.
|
|
119
|
-
* @summary Purges protection.
|
|
120
|
-
* @param fabricName Fabric name.
|
|
121
|
-
* @param protectionContainerName Protection container name.
|
|
122
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
123
|
-
* @param [options] The optional parameters
|
|
124
|
-
* @returns Promise<msRest.RestResponse>
|
|
125
|
-
*/
|
|
126
|
-
purge(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
127
|
-
return this.beginPurge(fabricName,protectionContainerName,replicatedProtectedItemName,options)
|
|
128
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/**
|
|
132
|
-
* The operation to update the recovery settings of an ASR replication protected item.
|
|
133
|
-
* @summary Updates protection.
|
|
134
|
-
* @param fabricName Fabric name.
|
|
135
|
-
* @param protectionContainerName Protection container name.
|
|
136
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
137
|
-
* @param updateProtectionInput Update protection input.
|
|
138
|
-
* @param [options] The optional parameters
|
|
139
|
-
* @returns Promise<Models.ReplicationProtectedItemsUpdateResponse>
|
|
140
|
-
*/
|
|
141
|
-
update(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, updateProtectionInput: Models.UpdateReplicationProtectedItemInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsUpdateResponse> {
|
|
142
|
-
return this.beginUpdate(fabricName,protectionContainerName,replicatedProtectedItemName,updateProtectionInput,options)
|
|
143
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsUpdateResponse>;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* The operation to change the recovery point of a failed over replication protected item.
|
|
148
|
-
* @summary Change or apply recovery point.
|
|
149
|
-
* @param fabricName The ARM fabric name.
|
|
150
|
-
* @param protectionContainerName The protection container name.
|
|
151
|
-
* @param replicatedProtectedItemName The replicated protected item's name.
|
|
152
|
-
* @param applyRecoveryPointInput The ApplyRecoveryPointInput.
|
|
153
|
-
* @param [options] The optional parameters
|
|
154
|
-
* @returns Promise<Models.ReplicationProtectedItemsApplyRecoveryPointResponse>
|
|
155
|
-
*/
|
|
156
|
-
applyRecoveryPoint(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, applyRecoveryPointInput: Models.ApplyRecoveryPointInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsApplyRecoveryPointResponse> {
|
|
157
|
-
return this.beginApplyRecoveryPoint(fabricName,protectionContainerName,replicatedProtectedItemName,applyRecoveryPointInput,options)
|
|
158
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsApplyRecoveryPointResponse>;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Operation to commit the failover of the replication protected item.
|
|
163
|
-
* @summary Execute commit failover
|
|
164
|
-
* @param fabricName Unique fabric name.
|
|
165
|
-
* @param protectionContainerName Protection container name.
|
|
166
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
167
|
-
* @param [options] The optional parameters
|
|
168
|
-
* @returns Promise<Models.ReplicationProtectedItemsFailoverCommitResponse>
|
|
169
|
-
*/
|
|
170
|
-
failoverCommit(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsFailoverCommitResponse> {
|
|
171
|
-
return this.beginFailoverCommit(fabricName,protectionContainerName,replicatedProtectedItemName,options)
|
|
172
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsFailoverCommitResponse>;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/**
|
|
176
|
-
* Operation to initiate a planned failover of the replication protected item.
|
|
177
|
-
* @summary Execute planned failover
|
|
178
|
-
* @param fabricName Unique fabric name.
|
|
179
|
-
* @param protectionContainerName Protection container name.
|
|
180
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
181
|
-
* @param failoverInput Disable protection input.
|
|
182
|
-
* @param [options] The optional parameters
|
|
183
|
-
* @returns Promise<Models.ReplicationProtectedItemsPlannedFailoverResponse>
|
|
184
|
-
*/
|
|
185
|
-
plannedFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.PlannedFailoverInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsPlannedFailoverResponse> {
|
|
186
|
-
return this.beginPlannedFailover(fabricName,protectionContainerName,replicatedProtectedItemName,failoverInput,options)
|
|
187
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsPlannedFailoverResponse>;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* The operation to disable replication on a replication protected item. This will also remove the
|
|
192
|
-
* item.
|
|
193
|
-
* @summary Disables protection.
|
|
194
|
-
* @param fabricName Fabric name.
|
|
195
|
-
* @param protectionContainerName Protection container name.
|
|
196
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
197
|
-
* @param disableProtectionInput Disable protection input.
|
|
198
|
-
* @param [options] The optional parameters
|
|
199
|
-
* @returns Promise<msRest.RestResponse>
|
|
200
|
-
*/
|
|
201
|
-
deleteMethod(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, disableProtectionInput: Models.DisableProtectionInput, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse> {
|
|
202
|
-
return this.beginDeleteMethod(fabricName,protectionContainerName,replicatedProtectedItemName,disableProtectionInput,options)
|
|
203
|
-
.then(lroPoller => lroPoller.pollUntilFinished());
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* The operation to start resynchronize/repair replication for a replication protected item
|
|
208
|
-
* requiring resynchronization.
|
|
209
|
-
* @summary Resynchronize or repair replication.
|
|
210
|
-
* @param fabricName The name of the fabric.
|
|
211
|
-
* @param protectionContainerName The name of the container.
|
|
212
|
-
* @param replicatedProtectedItemName The name of the replication protected item.
|
|
213
|
-
* @param [options] The optional parameters
|
|
214
|
-
* @returns Promise<Models.ReplicationProtectedItemsRepairReplicationResponse>
|
|
215
|
-
*/
|
|
216
|
-
repairReplication(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsRepairReplicationResponse> {
|
|
217
|
-
return this.beginRepairReplication(fabricName,protectionContainerName,replicatedProtectedItemName,options)
|
|
218
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsRepairReplicationResponse>;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Operation to reprotect or reverse replicate a failed over replication protected item.
|
|
223
|
-
* @summary Execute Reverse Replication\Reprotect
|
|
224
|
-
* @param fabricName Unique fabric name.
|
|
225
|
-
* @param protectionContainerName Protection container name.
|
|
226
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
227
|
-
* @param rrInput Disable protection input.
|
|
228
|
-
* @param [options] The optional parameters
|
|
229
|
-
* @returns Promise<Models.ReplicationProtectedItemsReprotectResponse>
|
|
230
|
-
*/
|
|
231
|
-
reprotect(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, rrInput: Models.ReverseReplicationInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsReprotectResponse> {
|
|
232
|
-
return this.beginReprotect(fabricName,protectionContainerName,replicatedProtectedItemName,rrInput,options)
|
|
233
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsReprotectResponse>;
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Operation to perform a test failover of the replication protected item.
|
|
238
|
-
* @summary Execute test failover
|
|
239
|
-
* @param fabricName Unique fabric name.
|
|
240
|
-
* @param protectionContainerName Protection container name.
|
|
241
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
242
|
-
* @param failoverInput Test failover input.
|
|
243
|
-
* @param [options] The optional parameters
|
|
244
|
-
* @returns Promise<Models.ReplicationProtectedItemsTestFailoverResponse>
|
|
245
|
-
*/
|
|
246
|
-
testFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.TestFailoverInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsTestFailoverResponse> {
|
|
247
|
-
return this.beginTestFailover(fabricName,protectionContainerName,replicatedProtectedItemName,failoverInput,options)
|
|
248
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsTestFailoverResponse>;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
/**
|
|
252
|
-
* Operation to clean up the test failover of a replication protected item.
|
|
253
|
-
* @summary Execute test failover cleanup.
|
|
254
|
-
* @param fabricName Unique fabric name.
|
|
255
|
-
* @param protectionContainerName Protection container name.
|
|
256
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
257
|
-
* @param cleanupInput Test failover cleanup input.
|
|
258
|
-
* @param [options] The optional parameters
|
|
259
|
-
* @returns Promise<Models.ReplicationProtectedItemsTestFailoverCleanupResponse>
|
|
260
|
-
*/
|
|
261
|
-
testFailoverCleanup(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, cleanupInput: Models.TestFailoverCleanupInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsTestFailoverCleanupResponse> {
|
|
262
|
-
return this.beginTestFailoverCleanup(fabricName,protectionContainerName,replicatedProtectedItemName,cleanupInput,options)
|
|
263
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsTestFailoverCleanupResponse>;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
/**
|
|
267
|
-
* Operation to initiate a failover of the replication protected item.
|
|
268
|
-
* @summary Execute unplanned failover
|
|
269
|
-
* @param fabricName Unique fabric name.
|
|
270
|
-
* @param protectionContainerName Protection container name.
|
|
271
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
272
|
-
* @param failoverInput Disable protection input.
|
|
273
|
-
* @param [options] The optional parameters
|
|
274
|
-
* @returns Promise<Models.ReplicationProtectedItemsUnplannedFailoverResponse>
|
|
275
|
-
*/
|
|
276
|
-
unplannedFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.UnplannedFailoverInput, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsUnplannedFailoverResponse> {
|
|
277
|
-
return this.beginUnplannedFailover(fabricName,protectionContainerName,replicatedProtectedItemName,failoverInput,options)
|
|
278
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsUnplannedFailoverResponse>;
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
/**
|
|
282
|
-
* The operation to update(push update) the installed mobility service software on a replication
|
|
283
|
-
* protected item to the latest available version.
|
|
284
|
-
* @summary Update the mobility service on a protected item.
|
|
285
|
-
* @param fabricName The name of the fabric containing the protected item.
|
|
286
|
-
* @param protectionContainerName The name of the container containing the protected item.
|
|
287
|
-
* @param replicationProtectedItemName The name of the protected item on which the agent is to be
|
|
288
|
-
* updated.
|
|
289
|
-
* @param updateMobilityServiceRequest Request to update the mobility service on the protected
|
|
290
|
-
* item.
|
|
291
|
-
* @param [options] The optional parameters
|
|
292
|
-
* @returns Promise<Models.ReplicationProtectedItemsUpdateMobilityServiceResponse>
|
|
293
|
-
*/
|
|
294
|
-
updateMobilityService(fabricName: string, protectionContainerName: string, replicationProtectedItemName: string, updateMobilityServiceRequest: Models.UpdateMobilityServiceRequest, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsUpdateMobilityServiceResponse> {
|
|
295
|
-
return this.beginUpdateMobilityService(fabricName,protectionContainerName,replicationProtectedItemName,updateMobilityServiceRequest,options)
|
|
296
|
-
.then(lroPoller => lroPoller.pollUntilFinished()) as Promise<Models.ReplicationProtectedItemsUpdateMobilityServiceResponse>;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Gets the list of ASR replication protected items in the vault.
|
|
301
|
-
* @summary Gets the list of replication protected items.
|
|
302
|
-
* @param [options] The optional parameters
|
|
303
|
-
* @returns Promise<Models.ReplicationProtectedItemsListResponse>
|
|
304
|
-
*/
|
|
305
|
-
list(options?: Models.ReplicationProtectedItemsListOptionalParams): Promise<Models.ReplicationProtectedItemsListResponse>;
|
|
306
|
-
/**
|
|
307
|
-
* @param callback The callback
|
|
308
|
-
*/
|
|
309
|
-
list(callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
310
|
-
/**
|
|
311
|
-
* @param options The optional parameters
|
|
312
|
-
* @param callback The callback
|
|
313
|
-
*/
|
|
314
|
-
list(options: Models.ReplicationProtectedItemsListOptionalParams, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
315
|
-
list(options?: Models.ReplicationProtectedItemsListOptionalParams | msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>, callback?: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): Promise<Models.ReplicationProtectedItemsListResponse> {
|
|
316
|
-
return this.client.sendOperationRequest(
|
|
317
|
-
{
|
|
318
|
-
options
|
|
319
|
-
},
|
|
320
|
-
listOperationSpec,
|
|
321
|
-
callback) as Promise<Models.ReplicationProtectedItemsListResponse>;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* The operation to create an ASR replication protected item (Enable replication).
|
|
326
|
-
* @summary Enables protection.
|
|
327
|
-
* @param fabricName Name of the fabric.
|
|
328
|
-
* @param protectionContainerName Protection container name.
|
|
329
|
-
* @param replicatedProtectedItemName A name for the replication protected item.
|
|
330
|
-
* @param input Enable Protection Input.
|
|
331
|
-
* @param [options] The optional parameters
|
|
332
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
333
|
-
*/
|
|
334
|
-
beginCreate(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, input: Models.EnableProtectionInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
335
|
-
return this.client.sendLRORequest(
|
|
336
|
-
{
|
|
337
|
-
fabricName,
|
|
338
|
-
protectionContainerName,
|
|
339
|
-
replicatedProtectedItemName,
|
|
340
|
-
input,
|
|
341
|
-
options
|
|
342
|
-
},
|
|
343
|
-
beginCreateOperationSpec,
|
|
344
|
-
options);
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* The operation to delete or purge a replication protected item. This operation will force delete
|
|
349
|
-
* the replication protected item. Use the remove operation on replication protected item to
|
|
350
|
-
* perform a clean disable replication for the item.
|
|
351
|
-
* @summary Purges protection.
|
|
352
|
-
* @param fabricName Fabric name.
|
|
353
|
-
* @param protectionContainerName Protection container name.
|
|
354
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
355
|
-
* @param [options] The optional parameters
|
|
356
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
357
|
-
*/
|
|
358
|
-
beginPurge(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
359
|
-
return this.client.sendLRORequest(
|
|
360
|
-
{
|
|
361
|
-
fabricName,
|
|
362
|
-
protectionContainerName,
|
|
363
|
-
replicatedProtectedItemName,
|
|
364
|
-
options
|
|
365
|
-
},
|
|
366
|
-
beginPurgeOperationSpec,
|
|
367
|
-
options);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* The operation to update the recovery settings of an ASR replication protected item.
|
|
372
|
-
* @summary Updates protection.
|
|
373
|
-
* @param fabricName Fabric name.
|
|
374
|
-
* @param protectionContainerName Protection container name.
|
|
375
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
376
|
-
* @param updateProtectionInput Update protection input.
|
|
377
|
-
* @param [options] The optional parameters
|
|
378
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
379
|
-
*/
|
|
380
|
-
beginUpdate(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, updateProtectionInput: Models.UpdateReplicationProtectedItemInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
381
|
-
return this.client.sendLRORequest(
|
|
382
|
-
{
|
|
383
|
-
fabricName,
|
|
384
|
-
protectionContainerName,
|
|
385
|
-
replicatedProtectedItemName,
|
|
386
|
-
updateProtectionInput,
|
|
387
|
-
options
|
|
388
|
-
},
|
|
389
|
-
beginUpdateOperationSpec,
|
|
390
|
-
options);
|
|
391
|
-
}
|
|
392
|
-
|
|
393
|
-
/**
|
|
394
|
-
* The operation to change the recovery point of a failed over replication protected item.
|
|
395
|
-
* @summary Change or apply recovery point.
|
|
396
|
-
* @param fabricName The ARM fabric name.
|
|
397
|
-
* @param protectionContainerName The protection container name.
|
|
398
|
-
* @param replicatedProtectedItemName The replicated protected item's name.
|
|
399
|
-
* @param applyRecoveryPointInput The ApplyRecoveryPointInput.
|
|
400
|
-
* @param [options] The optional parameters
|
|
401
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
402
|
-
*/
|
|
403
|
-
beginApplyRecoveryPoint(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, applyRecoveryPointInput: Models.ApplyRecoveryPointInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
404
|
-
return this.client.sendLRORequest(
|
|
405
|
-
{
|
|
406
|
-
fabricName,
|
|
407
|
-
protectionContainerName,
|
|
408
|
-
replicatedProtectedItemName,
|
|
409
|
-
applyRecoveryPointInput,
|
|
410
|
-
options
|
|
411
|
-
},
|
|
412
|
-
beginApplyRecoveryPointOperationSpec,
|
|
413
|
-
options);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* Operation to commit the failover of the replication protected item.
|
|
418
|
-
* @summary Execute commit failover
|
|
419
|
-
* @param fabricName Unique fabric name.
|
|
420
|
-
* @param protectionContainerName Protection container name.
|
|
421
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
422
|
-
* @param [options] The optional parameters
|
|
423
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
424
|
-
*/
|
|
425
|
-
beginFailoverCommit(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
426
|
-
return this.client.sendLRORequest(
|
|
427
|
-
{
|
|
428
|
-
fabricName,
|
|
429
|
-
protectionContainerName,
|
|
430
|
-
replicatedProtectedItemName,
|
|
431
|
-
options
|
|
432
|
-
},
|
|
433
|
-
beginFailoverCommitOperationSpec,
|
|
434
|
-
options);
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
/**
|
|
438
|
-
* Operation to initiate a planned failover of the replication protected item.
|
|
439
|
-
* @summary Execute planned failover
|
|
440
|
-
* @param fabricName Unique fabric name.
|
|
441
|
-
* @param protectionContainerName Protection container name.
|
|
442
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
443
|
-
* @param failoverInput Disable protection input.
|
|
444
|
-
* @param [options] The optional parameters
|
|
445
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
446
|
-
*/
|
|
447
|
-
beginPlannedFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.PlannedFailoverInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
448
|
-
return this.client.sendLRORequest(
|
|
449
|
-
{
|
|
450
|
-
fabricName,
|
|
451
|
-
protectionContainerName,
|
|
452
|
-
replicatedProtectedItemName,
|
|
453
|
-
failoverInput,
|
|
454
|
-
options
|
|
455
|
-
},
|
|
456
|
-
beginPlannedFailoverOperationSpec,
|
|
457
|
-
options);
|
|
458
|
-
}
|
|
459
|
-
|
|
460
|
-
/**
|
|
461
|
-
* The operation to disable replication on a replication protected item. This will also remove the
|
|
462
|
-
* item.
|
|
463
|
-
* @summary Disables protection.
|
|
464
|
-
* @param fabricName Fabric name.
|
|
465
|
-
* @param protectionContainerName Protection container name.
|
|
466
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
467
|
-
* @param disableProtectionInput Disable protection input.
|
|
468
|
-
* @param [options] The optional parameters
|
|
469
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
470
|
-
*/
|
|
471
|
-
beginDeleteMethod(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, disableProtectionInput: Models.DisableProtectionInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
472
|
-
return this.client.sendLRORequest(
|
|
473
|
-
{
|
|
474
|
-
fabricName,
|
|
475
|
-
protectionContainerName,
|
|
476
|
-
replicatedProtectedItemName,
|
|
477
|
-
disableProtectionInput,
|
|
478
|
-
options
|
|
479
|
-
},
|
|
480
|
-
beginDeleteMethodOperationSpec,
|
|
481
|
-
options);
|
|
482
|
-
}
|
|
483
|
-
|
|
484
|
-
/**
|
|
485
|
-
* The operation to start resynchronize/repair replication for a replication protected item
|
|
486
|
-
* requiring resynchronization.
|
|
487
|
-
* @summary Resynchronize or repair replication.
|
|
488
|
-
* @param fabricName The name of the fabric.
|
|
489
|
-
* @param protectionContainerName The name of the container.
|
|
490
|
-
* @param replicatedProtectedItemName The name of the replication protected item.
|
|
491
|
-
* @param [options] The optional parameters
|
|
492
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
493
|
-
*/
|
|
494
|
-
beginRepairReplication(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
495
|
-
return this.client.sendLRORequest(
|
|
496
|
-
{
|
|
497
|
-
fabricName,
|
|
498
|
-
protectionContainerName,
|
|
499
|
-
replicatedProtectedItemName,
|
|
500
|
-
options
|
|
501
|
-
},
|
|
502
|
-
beginRepairReplicationOperationSpec,
|
|
503
|
-
options);
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* Operation to reprotect or reverse replicate a failed over replication protected item.
|
|
508
|
-
* @summary Execute Reverse Replication\Reprotect
|
|
509
|
-
* @param fabricName Unique fabric name.
|
|
510
|
-
* @param protectionContainerName Protection container name.
|
|
511
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
512
|
-
* @param rrInput Disable protection input.
|
|
513
|
-
* @param [options] The optional parameters
|
|
514
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
515
|
-
*/
|
|
516
|
-
beginReprotect(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, rrInput: Models.ReverseReplicationInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
517
|
-
return this.client.sendLRORequest(
|
|
518
|
-
{
|
|
519
|
-
fabricName,
|
|
520
|
-
protectionContainerName,
|
|
521
|
-
replicatedProtectedItemName,
|
|
522
|
-
rrInput,
|
|
523
|
-
options
|
|
524
|
-
},
|
|
525
|
-
beginReprotectOperationSpec,
|
|
526
|
-
options);
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
/**
|
|
530
|
-
* Operation to perform a test failover of the replication protected item.
|
|
531
|
-
* @summary Execute test failover
|
|
532
|
-
* @param fabricName Unique fabric name.
|
|
533
|
-
* @param protectionContainerName Protection container name.
|
|
534
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
535
|
-
* @param failoverInput Test failover input.
|
|
536
|
-
* @param [options] The optional parameters
|
|
537
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
538
|
-
*/
|
|
539
|
-
beginTestFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.TestFailoverInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
540
|
-
return this.client.sendLRORequest(
|
|
541
|
-
{
|
|
542
|
-
fabricName,
|
|
543
|
-
protectionContainerName,
|
|
544
|
-
replicatedProtectedItemName,
|
|
545
|
-
failoverInput,
|
|
546
|
-
options
|
|
547
|
-
},
|
|
548
|
-
beginTestFailoverOperationSpec,
|
|
549
|
-
options);
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
/**
|
|
553
|
-
* Operation to clean up the test failover of a replication protected item.
|
|
554
|
-
* @summary Execute test failover cleanup.
|
|
555
|
-
* @param fabricName Unique fabric name.
|
|
556
|
-
* @param protectionContainerName Protection container name.
|
|
557
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
558
|
-
* @param cleanupInput Test failover cleanup input.
|
|
559
|
-
* @param [options] The optional parameters
|
|
560
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
561
|
-
*/
|
|
562
|
-
beginTestFailoverCleanup(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, cleanupInput: Models.TestFailoverCleanupInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
563
|
-
return this.client.sendLRORequest(
|
|
564
|
-
{
|
|
565
|
-
fabricName,
|
|
566
|
-
protectionContainerName,
|
|
567
|
-
replicatedProtectedItemName,
|
|
568
|
-
cleanupInput,
|
|
569
|
-
options
|
|
570
|
-
},
|
|
571
|
-
beginTestFailoverCleanupOperationSpec,
|
|
572
|
-
options);
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* Operation to initiate a failover of the replication protected item.
|
|
577
|
-
* @summary Execute unplanned failover
|
|
578
|
-
* @param fabricName Unique fabric name.
|
|
579
|
-
* @param protectionContainerName Protection container name.
|
|
580
|
-
* @param replicatedProtectedItemName Replication protected item name.
|
|
581
|
-
* @param failoverInput Disable protection input.
|
|
582
|
-
* @param [options] The optional parameters
|
|
583
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
584
|
-
*/
|
|
585
|
-
beginUnplannedFailover(fabricName: string, protectionContainerName: string, replicatedProtectedItemName: string, failoverInput: Models.UnplannedFailoverInput, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
586
|
-
return this.client.sendLRORequest(
|
|
587
|
-
{
|
|
588
|
-
fabricName,
|
|
589
|
-
protectionContainerName,
|
|
590
|
-
replicatedProtectedItemName,
|
|
591
|
-
failoverInput,
|
|
592
|
-
options
|
|
593
|
-
},
|
|
594
|
-
beginUnplannedFailoverOperationSpec,
|
|
595
|
-
options);
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
* The operation to update(push update) the installed mobility service software on a replication
|
|
600
|
-
* protected item to the latest available version.
|
|
601
|
-
* @summary Update the mobility service on a protected item.
|
|
602
|
-
* @param fabricName The name of the fabric containing the protected item.
|
|
603
|
-
* @param protectionContainerName The name of the container containing the protected item.
|
|
604
|
-
* @param replicationProtectedItemName The name of the protected item on which the agent is to be
|
|
605
|
-
* updated.
|
|
606
|
-
* @param updateMobilityServiceRequest Request to update the mobility service on the protected
|
|
607
|
-
* item.
|
|
608
|
-
* @param [options] The optional parameters
|
|
609
|
-
* @returns Promise<msRestAzure.LROPoller>
|
|
610
|
-
*/
|
|
611
|
-
beginUpdateMobilityService(fabricName: string, protectionContainerName: string, replicationProtectedItemName: string, updateMobilityServiceRequest: Models.UpdateMobilityServiceRequest, options?: msRest.RequestOptionsBase): Promise<msRestAzure.LROPoller> {
|
|
612
|
-
return this.client.sendLRORequest(
|
|
613
|
-
{
|
|
614
|
-
fabricName,
|
|
615
|
-
protectionContainerName,
|
|
616
|
-
replicationProtectedItemName,
|
|
617
|
-
updateMobilityServiceRequest,
|
|
618
|
-
options
|
|
619
|
-
},
|
|
620
|
-
beginUpdateMobilityServiceOperationSpec,
|
|
621
|
-
options);
|
|
622
|
-
}
|
|
623
|
-
|
|
624
|
-
/**
|
|
625
|
-
* Gets the list of ASR replication protected items in the protection container.
|
|
626
|
-
* @summary Gets the list of Replication protected items.
|
|
627
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
628
|
-
* @param [options] The optional parameters
|
|
629
|
-
* @returns
|
|
630
|
-
* Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse>
|
|
631
|
-
*/
|
|
632
|
-
listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse>;
|
|
633
|
-
/**
|
|
634
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
635
|
-
* @param callback The callback
|
|
636
|
-
*/
|
|
637
|
-
listByReplicationProtectionContainersNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
638
|
-
/**
|
|
639
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
640
|
-
* @param options The optional parameters
|
|
641
|
-
* @param callback The callback
|
|
642
|
-
*/
|
|
643
|
-
listByReplicationProtectionContainersNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
644
|
-
listByReplicationProtectionContainersNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>, callback?: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse> {
|
|
645
|
-
return this.client.sendOperationRequest(
|
|
646
|
-
{
|
|
647
|
-
nextPageLink,
|
|
648
|
-
options
|
|
649
|
-
},
|
|
650
|
-
listByReplicationProtectionContainersNextOperationSpec,
|
|
651
|
-
callback) as Promise<Models.ReplicationProtectedItemsListByReplicationProtectionContainersNextResponse>;
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* Gets the list of ASR replication protected items in the vault.
|
|
656
|
-
* @summary Gets the list of replication protected items.
|
|
657
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
658
|
-
* @param [options] The optional parameters
|
|
659
|
-
* @returns Promise<Models.ReplicationProtectedItemsListNextResponse>
|
|
660
|
-
*/
|
|
661
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ReplicationProtectedItemsListNextResponse>;
|
|
662
|
-
/**
|
|
663
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
664
|
-
* @param callback The callback
|
|
665
|
-
*/
|
|
666
|
-
listNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
667
|
-
/**
|
|
668
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
669
|
-
* @param options The optional parameters
|
|
670
|
-
* @param callback The callback
|
|
671
|
-
*/
|
|
672
|
-
listNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): void;
|
|
673
|
-
listNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>, callback?: msRest.ServiceCallback<Models.ReplicationProtectedItemCollection>): Promise<Models.ReplicationProtectedItemsListNextResponse> {
|
|
674
|
-
return this.client.sendOperationRequest(
|
|
675
|
-
{
|
|
676
|
-
nextPageLink,
|
|
677
|
-
options
|
|
678
|
-
},
|
|
679
|
-
listNextOperationSpec,
|
|
680
|
-
callback) as Promise<Models.ReplicationProtectedItemsListNextResponse>;
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
|
|
684
|
-
// Operation Specifications
|
|
685
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
686
|
-
const listByReplicationProtectionContainersOperationSpec: msRest.OperationSpec = {
|
|
687
|
-
httpMethod: "GET",
|
|
688
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems",
|
|
689
|
-
urlParameters: [
|
|
690
|
-
Parameters.resourceName,
|
|
691
|
-
Parameters.resourceGroupName,
|
|
692
|
-
Parameters.subscriptionId,
|
|
693
|
-
Parameters.fabricName,
|
|
694
|
-
Parameters.protectionContainerName
|
|
695
|
-
],
|
|
696
|
-
queryParameters: [
|
|
697
|
-
Parameters.apiVersion
|
|
698
|
-
],
|
|
699
|
-
headerParameters: [
|
|
700
|
-
Parameters.acceptLanguage
|
|
701
|
-
],
|
|
702
|
-
responses: {
|
|
703
|
-
200: {
|
|
704
|
-
bodyMapper: Mappers.ReplicationProtectedItemCollection
|
|
705
|
-
},
|
|
706
|
-
default: {
|
|
707
|
-
bodyMapper: Mappers.CloudError
|
|
708
|
-
}
|
|
709
|
-
},
|
|
710
|
-
serializer
|
|
711
|
-
};
|
|
712
|
-
|
|
713
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
714
|
-
httpMethod: "GET",
|
|
715
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
|
|
716
|
-
urlParameters: [
|
|
717
|
-
Parameters.resourceName,
|
|
718
|
-
Parameters.resourceGroupName,
|
|
719
|
-
Parameters.subscriptionId,
|
|
720
|
-
Parameters.fabricName,
|
|
721
|
-
Parameters.protectionContainerName,
|
|
722
|
-
Parameters.replicatedProtectedItemName
|
|
723
|
-
],
|
|
724
|
-
queryParameters: [
|
|
725
|
-
Parameters.apiVersion
|
|
726
|
-
],
|
|
727
|
-
headerParameters: [
|
|
728
|
-
Parameters.acceptLanguage
|
|
729
|
-
],
|
|
730
|
-
responses: {
|
|
731
|
-
200: {
|
|
732
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
733
|
-
},
|
|
734
|
-
default: {
|
|
735
|
-
bodyMapper: Mappers.CloudError
|
|
736
|
-
}
|
|
737
|
-
},
|
|
738
|
-
serializer
|
|
739
|
-
};
|
|
740
|
-
|
|
741
|
-
const listOperationSpec: msRest.OperationSpec = {
|
|
742
|
-
httpMethod: "GET",
|
|
743
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationProtectedItems",
|
|
744
|
-
urlParameters: [
|
|
745
|
-
Parameters.resourceName,
|
|
746
|
-
Parameters.resourceGroupName,
|
|
747
|
-
Parameters.subscriptionId
|
|
748
|
-
],
|
|
749
|
-
queryParameters: [
|
|
750
|
-
Parameters.apiVersion,
|
|
751
|
-
Parameters.skipToken,
|
|
752
|
-
Parameters.filter
|
|
753
|
-
],
|
|
754
|
-
headerParameters: [
|
|
755
|
-
Parameters.acceptLanguage
|
|
756
|
-
],
|
|
757
|
-
responses: {
|
|
758
|
-
200: {
|
|
759
|
-
bodyMapper: Mappers.ReplicationProtectedItemCollection
|
|
760
|
-
},
|
|
761
|
-
default: {
|
|
762
|
-
bodyMapper: Mappers.CloudError
|
|
763
|
-
}
|
|
764
|
-
},
|
|
765
|
-
serializer
|
|
766
|
-
};
|
|
767
|
-
|
|
768
|
-
const beginCreateOperationSpec: msRest.OperationSpec = {
|
|
769
|
-
httpMethod: "PUT",
|
|
770
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
|
|
771
|
-
urlParameters: [
|
|
772
|
-
Parameters.resourceName,
|
|
773
|
-
Parameters.resourceGroupName,
|
|
774
|
-
Parameters.subscriptionId,
|
|
775
|
-
Parameters.fabricName,
|
|
776
|
-
Parameters.protectionContainerName,
|
|
777
|
-
Parameters.replicatedProtectedItemName
|
|
778
|
-
],
|
|
779
|
-
queryParameters: [
|
|
780
|
-
Parameters.apiVersion
|
|
781
|
-
],
|
|
782
|
-
headerParameters: [
|
|
783
|
-
Parameters.acceptLanguage
|
|
784
|
-
],
|
|
785
|
-
requestBody: {
|
|
786
|
-
parameterPath: "input",
|
|
787
|
-
mapper: {
|
|
788
|
-
...Mappers.EnableProtectionInput,
|
|
789
|
-
required: true
|
|
790
|
-
}
|
|
791
|
-
},
|
|
792
|
-
responses: {
|
|
793
|
-
200: {
|
|
794
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
795
|
-
},
|
|
796
|
-
202: {},
|
|
797
|
-
default: {
|
|
798
|
-
bodyMapper: Mappers.CloudError
|
|
799
|
-
}
|
|
800
|
-
},
|
|
801
|
-
serializer
|
|
802
|
-
};
|
|
803
|
-
|
|
804
|
-
const beginPurgeOperationSpec: msRest.OperationSpec = {
|
|
805
|
-
httpMethod: "DELETE",
|
|
806
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
|
|
807
|
-
urlParameters: [
|
|
808
|
-
Parameters.resourceName,
|
|
809
|
-
Parameters.resourceGroupName,
|
|
810
|
-
Parameters.subscriptionId,
|
|
811
|
-
Parameters.fabricName,
|
|
812
|
-
Parameters.protectionContainerName,
|
|
813
|
-
Parameters.replicatedProtectedItemName
|
|
814
|
-
],
|
|
815
|
-
queryParameters: [
|
|
816
|
-
Parameters.apiVersion
|
|
817
|
-
],
|
|
818
|
-
headerParameters: [
|
|
819
|
-
Parameters.acceptLanguage
|
|
820
|
-
],
|
|
821
|
-
responses: {
|
|
822
|
-
202: {},
|
|
823
|
-
204: {},
|
|
824
|
-
default: {
|
|
825
|
-
bodyMapper: Mappers.CloudError
|
|
826
|
-
}
|
|
827
|
-
},
|
|
828
|
-
serializer
|
|
829
|
-
};
|
|
830
|
-
|
|
831
|
-
const beginUpdateOperationSpec: msRest.OperationSpec = {
|
|
832
|
-
httpMethod: "PATCH",
|
|
833
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}",
|
|
834
|
-
urlParameters: [
|
|
835
|
-
Parameters.resourceName,
|
|
836
|
-
Parameters.resourceGroupName,
|
|
837
|
-
Parameters.subscriptionId,
|
|
838
|
-
Parameters.fabricName,
|
|
839
|
-
Parameters.protectionContainerName,
|
|
840
|
-
Parameters.replicatedProtectedItemName
|
|
841
|
-
],
|
|
842
|
-
queryParameters: [
|
|
843
|
-
Parameters.apiVersion
|
|
844
|
-
],
|
|
845
|
-
headerParameters: [
|
|
846
|
-
Parameters.acceptLanguage
|
|
847
|
-
],
|
|
848
|
-
requestBody: {
|
|
849
|
-
parameterPath: "updateProtectionInput",
|
|
850
|
-
mapper: {
|
|
851
|
-
...Mappers.UpdateReplicationProtectedItemInput,
|
|
852
|
-
required: true
|
|
853
|
-
}
|
|
854
|
-
},
|
|
855
|
-
responses: {
|
|
856
|
-
200: {
|
|
857
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
858
|
-
},
|
|
859
|
-
202: {},
|
|
860
|
-
default: {
|
|
861
|
-
bodyMapper: Mappers.CloudError
|
|
862
|
-
}
|
|
863
|
-
},
|
|
864
|
-
serializer
|
|
865
|
-
};
|
|
866
|
-
|
|
867
|
-
const beginApplyRecoveryPointOperationSpec: msRest.OperationSpec = {
|
|
868
|
-
httpMethod: "POST",
|
|
869
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/applyRecoveryPoint",
|
|
870
|
-
urlParameters: [
|
|
871
|
-
Parameters.resourceName,
|
|
872
|
-
Parameters.resourceGroupName,
|
|
873
|
-
Parameters.subscriptionId,
|
|
874
|
-
Parameters.fabricName,
|
|
875
|
-
Parameters.protectionContainerName,
|
|
876
|
-
Parameters.replicatedProtectedItemName
|
|
877
|
-
],
|
|
878
|
-
queryParameters: [
|
|
879
|
-
Parameters.apiVersion
|
|
880
|
-
],
|
|
881
|
-
headerParameters: [
|
|
882
|
-
Parameters.acceptLanguage
|
|
883
|
-
],
|
|
884
|
-
requestBody: {
|
|
885
|
-
parameterPath: "applyRecoveryPointInput",
|
|
886
|
-
mapper: {
|
|
887
|
-
...Mappers.ApplyRecoveryPointInput,
|
|
888
|
-
required: true
|
|
889
|
-
}
|
|
890
|
-
},
|
|
891
|
-
responses: {
|
|
892
|
-
200: {
|
|
893
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
894
|
-
},
|
|
895
|
-
202: {},
|
|
896
|
-
default: {
|
|
897
|
-
bodyMapper: Mappers.CloudError
|
|
898
|
-
}
|
|
899
|
-
},
|
|
900
|
-
serializer
|
|
901
|
-
};
|
|
902
|
-
|
|
903
|
-
const beginFailoverCommitOperationSpec: msRest.OperationSpec = {
|
|
904
|
-
httpMethod: "POST",
|
|
905
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/failoverCommit",
|
|
906
|
-
urlParameters: [
|
|
907
|
-
Parameters.resourceName,
|
|
908
|
-
Parameters.resourceGroupName,
|
|
909
|
-
Parameters.subscriptionId,
|
|
910
|
-
Parameters.fabricName,
|
|
911
|
-
Parameters.protectionContainerName,
|
|
912
|
-
Parameters.replicatedProtectedItemName
|
|
913
|
-
],
|
|
914
|
-
queryParameters: [
|
|
915
|
-
Parameters.apiVersion
|
|
916
|
-
],
|
|
917
|
-
headerParameters: [
|
|
918
|
-
Parameters.acceptLanguage
|
|
919
|
-
],
|
|
920
|
-
responses: {
|
|
921
|
-
200: {
|
|
922
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
923
|
-
},
|
|
924
|
-
202: {},
|
|
925
|
-
default: {
|
|
926
|
-
bodyMapper: Mappers.CloudError
|
|
927
|
-
}
|
|
928
|
-
},
|
|
929
|
-
serializer
|
|
930
|
-
};
|
|
931
|
-
|
|
932
|
-
const beginPlannedFailoverOperationSpec: msRest.OperationSpec = {
|
|
933
|
-
httpMethod: "POST",
|
|
934
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/plannedFailover",
|
|
935
|
-
urlParameters: [
|
|
936
|
-
Parameters.resourceName,
|
|
937
|
-
Parameters.resourceGroupName,
|
|
938
|
-
Parameters.subscriptionId,
|
|
939
|
-
Parameters.fabricName,
|
|
940
|
-
Parameters.protectionContainerName,
|
|
941
|
-
Parameters.replicatedProtectedItemName
|
|
942
|
-
],
|
|
943
|
-
queryParameters: [
|
|
944
|
-
Parameters.apiVersion
|
|
945
|
-
],
|
|
946
|
-
headerParameters: [
|
|
947
|
-
Parameters.acceptLanguage
|
|
948
|
-
],
|
|
949
|
-
requestBody: {
|
|
950
|
-
parameterPath: "failoverInput",
|
|
951
|
-
mapper: {
|
|
952
|
-
...Mappers.PlannedFailoverInput,
|
|
953
|
-
required: true
|
|
954
|
-
}
|
|
955
|
-
},
|
|
956
|
-
responses: {
|
|
957
|
-
200: {
|
|
958
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
959
|
-
},
|
|
960
|
-
202: {},
|
|
961
|
-
default: {
|
|
962
|
-
bodyMapper: Mappers.CloudError
|
|
963
|
-
}
|
|
964
|
-
},
|
|
965
|
-
serializer
|
|
966
|
-
};
|
|
967
|
-
|
|
968
|
-
const beginDeleteMethodOperationSpec: msRest.OperationSpec = {
|
|
969
|
-
httpMethod: "POST",
|
|
970
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/remove",
|
|
971
|
-
urlParameters: [
|
|
972
|
-
Parameters.resourceName,
|
|
973
|
-
Parameters.resourceGroupName,
|
|
974
|
-
Parameters.subscriptionId,
|
|
975
|
-
Parameters.fabricName,
|
|
976
|
-
Parameters.protectionContainerName,
|
|
977
|
-
Parameters.replicatedProtectedItemName
|
|
978
|
-
],
|
|
979
|
-
queryParameters: [
|
|
980
|
-
Parameters.apiVersion
|
|
981
|
-
],
|
|
982
|
-
headerParameters: [
|
|
983
|
-
Parameters.acceptLanguage
|
|
984
|
-
],
|
|
985
|
-
requestBody: {
|
|
986
|
-
parameterPath: "disableProtectionInput",
|
|
987
|
-
mapper: {
|
|
988
|
-
...Mappers.DisableProtectionInput,
|
|
989
|
-
required: true
|
|
990
|
-
}
|
|
991
|
-
},
|
|
992
|
-
responses: {
|
|
993
|
-
202: {},
|
|
994
|
-
204: {},
|
|
995
|
-
default: {
|
|
996
|
-
bodyMapper: Mappers.CloudError
|
|
997
|
-
}
|
|
998
|
-
},
|
|
999
|
-
serializer
|
|
1000
|
-
};
|
|
1001
|
-
|
|
1002
|
-
const beginRepairReplicationOperationSpec: msRest.OperationSpec = {
|
|
1003
|
-
httpMethod: "POST",
|
|
1004
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/repairReplication",
|
|
1005
|
-
urlParameters: [
|
|
1006
|
-
Parameters.resourceName,
|
|
1007
|
-
Parameters.resourceGroupName,
|
|
1008
|
-
Parameters.subscriptionId,
|
|
1009
|
-
Parameters.fabricName,
|
|
1010
|
-
Parameters.protectionContainerName,
|
|
1011
|
-
Parameters.replicatedProtectedItemName
|
|
1012
|
-
],
|
|
1013
|
-
queryParameters: [
|
|
1014
|
-
Parameters.apiVersion
|
|
1015
|
-
],
|
|
1016
|
-
headerParameters: [
|
|
1017
|
-
Parameters.acceptLanguage
|
|
1018
|
-
],
|
|
1019
|
-
responses: {
|
|
1020
|
-
200: {
|
|
1021
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
1022
|
-
},
|
|
1023
|
-
202: {},
|
|
1024
|
-
default: {
|
|
1025
|
-
bodyMapper: Mappers.CloudError
|
|
1026
|
-
}
|
|
1027
|
-
},
|
|
1028
|
-
serializer
|
|
1029
|
-
};
|
|
1030
|
-
|
|
1031
|
-
const beginReprotectOperationSpec: msRest.OperationSpec = {
|
|
1032
|
-
httpMethod: "POST",
|
|
1033
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/reProtect",
|
|
1034
|
-
urlParameters: [
|
|
1035
|
-
Parameters.resourceName,
|
|
1036
|
-
Parameters.resourceGroupName,
|
|
1037
|
-
Parameters.subscriptionId,
|
|
1038
|
-
Parameters.fabricName,
|
|
1039
|
-
Parameters.protectionContainerName,
|
|
1040
|
-
Parameters.replicatedProtectedItemName
|
|
1041
|
-
],
|
|
1042
|
-
queryParameters: [
|
|
1043
|
-
Parameters.apiVersion
|
|
1044
|
-
],
|
|
1045
|
-
headerParameters: [
|
|
1046
|
-
Parameters.acceptLanguage
|
|
1047
|
-
],
|
|
1048
|
-
requestBody: {
|
|
1049
|
-
parameterPath: "rrInput",
|
|
1050
|
-
mapper: {
|
|
1051
|
-
...Mappers.ReverseReplicationInput,
|
|
1052
|
-
required: true
|
|
1053
|
-
}
|
|
1054
|
-
},
|
|
1055
|
-
responses: {
|
|
1056
|
-
200: {
|
|
1057
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
1058
|
-
},
|
|
1059
|
-
202: {},
|
|
1060
|
-
default: {
|
|
1061
|
-
bodyMapper: Mappers.CloudError
|
|
1062
|
-
}
|
|
1063
|
-
},
|
|
1064
|
-
serializer
|
|
1065
|
-
};
|
|
1066
|
-
|
|
1067
|
-
const beginTestFailoverOperationSpec: msRest.OperationSpec = {
|
|
1068
|
-
httpMethod: "POST",
|
|
1069
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailover",
|
|
1070
|
-
urlParameters: [
|
|
1071
|
-
Parameters.resourceName,
|
|
1072
|
-
Parameters.resourceGroupName,
|
|
1073
|
-
Parameters.subscriptionId,
|
|
1074
|
-
Parameters.fabricName,
|
|
1075
|
-
Parameters.protectionContainerName,
|
|
1076
|
-
Parameters.replicatedProtectedItemName
|
|
1077
|
-
],
|
|
1078
|
-
queryParameters: [
|
|
1079
|
-
Parameters.apiVersion
|
|
1080
|
-
],
|
|
1081
|
-
headerParameters: [
|
|
1082
|
-
Parameters.acceptLanguage
|
|
1083
|
-
],
|
|
1084
|
-
requestBody: {
|
|
1085
|
-
parameterPath: "failoverInput",
|
|
1086
|
-
mapper: {
|
|
1087
|
-
...Mappers.TestFailoverInput,
|
|
1088
|
-
required: true
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1091
|
-
responses: {
|
|
1092
|
-
200: {
|
|
1093
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
1094
|
-
},
|
|
1095
|
-
202: {},
|
|
1096
|
-
default: {
|
|
1097
|
-
bodyMapper: Mappers.CloudError
|
|
1098
|
-
}
|
|
1099
|
-
},
|
|
1100
|
-
serializer
|
|
1101
|
-
};
|
|
1102
|
-
|
|
1103
|
-
const beginTestFailoverCleanupOperationSpec: msRest.OperationSpec = {
|
|
1104
|
-
httpMethod: "POST",
|
|
1105
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/testFailoverCleanup",
|
|
1106
|
-
urlParameters: [
|
|
1107
|
-
Parameters.resourceName,
|
|
1108
|
-
Parameters.resourceGroupName,
|
|
1109
|
-
Parameters.subscriptionId,
|
|
1110
|
-
Parameters.fabricName,
|
|
1111
|
-
Parameters.protectionContainerName,
|
|
1112
|
-
Parameters.replicatedProtectedItemName
|
|
1113
|
-
],
|
|
1114
|
-
queryParameters: [
|
|
1115
|
-
Parameters.apiVersion
|
|
1116
|
-
],
|
|
1117
|
-
headerParameters: [
|
|
1118
|
-
Parameters.acceptLanguage
|
|
1119
|
-
],
|
|
1120
|
-
requestBody: {
|
|
1121
|
-
parameterPath: "cleanupInput",
|
|
1122
|
-
mapper: {
|
|
1123
|
-
...Mappers.TestFailoverCleanupInput,
|
|
1124
|
-
required: true
|
|
1125
|
-
}
|
|
1126
|
-
},
|
|
1127
|
-
responses: {
|
|
1128
|
-
200: {
|
|
1129
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
1130
|
-
},
|
|
1131
|
-
202: {},
|
|
1132
|
-
default: {
|
|
1133
|
-
bodyMapper: Mappers.CloudError
|
|
1134
|
-
}
|
|
1135
|
-
},
|
|
1136
|
-
serializer
|
|
1137
|
-
};
|
|
1138
|
-
|
|
1139
|
-
const beginUnplannedFailoverOperationSpec: msRest.OperationSpec = {
|
|
1140
|
-
httpMethod: "POST",
|
|
1141
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicatedProtectedItemName}/unplannedFailover",
|
|
1142
|
-
urlParameters: [
|
|
1143
|
-
Parameters.resourceName,
|
|
1144
|
-
Parameters.resourceGroupName,
|
|
1145
|
-
Parameters.subscriptionId,
|
|
1146
|
-
Parameters.fabricName,
|
|
1147
|
-
Parameters.protectionContainerName,
|
|
1148
|
-
Parameters.replicatedProtectedItemName
|
|
1149
|
-
],
|
|
1150
|
-
queryParameters: [
|
|
1151
|
-
Parameters.apiVersion
|
|
1152
|
-
],
|
|
1153
|
-
headerParameters: [
|
|
1154
|
-
Parameters.acceptLanguage
|
|
1155
|
-
],
|
|
1156
|
-
requestBody: {
|
|
1157
|
-
parameterPath: "failoverInput",
|
|
1158
|
-
mapper: {
|
|
1159
|
-
...Mappers.UnplannedFailoverInput,
|
|
1160
|
-
required: true
|
|
1161
|
-
}
|
|
1162
|
-
},
|
|
1163
|
-
responses: {
|
|
1164
|
-
200: {
|
|
1165
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
1166
|
-
},
|
|
1167
|
-
202: {},
|
|
1168
|
-
default: {
|
|
1169
|
-
bodyMapper: Mappers.CloudError
|
|
1170
|
-
}
|
|
1171
|
-
},
|
|
1172
|
-
serializer
|
|
1173
|
-
};
|
|
1174
|
-
|
|
1175
|
-
const beginUpdateMobilityServiceOperationSpec: msRest.OperationSpec = {
|
|
1176
|
-
httpMethod: "POST",
|
|
1177
|
-
path: "Subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationProtectedItems/{replicationProtectedItemName}/updateMobilityService",
|
|
1178
|
-
urlParameters: [
|
|
1179
|
-
Parameters.resourceName,
|
|
1180
|
-
Parameters.resourceGroupName,
|
|
1181
|
-
Parameters.subscriptionId,
|
|
1182
|
-
Parameters.fabricName,
|
|
1183
|
-
Parameters.protectionContainerName,
|
|
1184
|
-
Parameters.replicationProtectedItemName
|
|
1185
|
-
],
|
|
1186
|
-
queryParameters: [
|
|
1187
|
-
Parameters.apiVersion
|
|
1188
|
-
],
|
|
1189
|
-
headerParameters: [
|
|
1190
|
-
Parameters.acceptLanguage
|
|
1191
|
-
],
|
|
1192
|
-
requestBody: {
|
|
1193
|
-
parameterPath: "updateMobilityServiceRequest",
|
|
1194
|
-
mapper: {
|
|
1195
|
-
...Mappers.UpdateMobilityServiceRequest,
|
|
1196
|
-
required: true
|
|
1197
|
-
}
|
|
1198
|
-
},
|
|
1199
|
-
responses: {
|
|
1200
|
-
200: {
|
|
1201
|
-
bodyMapper: Mappers.ReplicationProtectedItem
|
|
1202
|
-
},
|
|
1203
|
-
202: {},
|
|
1204
|
-
default: {
|
|
1205
|
-
bodyMapper: Mappers.CloudError
|
|
1206
|
-
}
|
|
1207
|
-
},
|
|
1208
|
-
serializer
|
|
1209
|
-
};
|
|
1210
|
-
|
|
1211
|
-
const listByReplicationProtectionContainersNextOperationSpec: msRest.OperationSpec = {
|
|
1212
|
-
httpMethod: "GET",
|
|
1213
|
-
baseUrl: "https://management.azure.com",
|
|
1214
|
-
path: "{nextLink}",
|
|
1215
|
-
urlParameters: [
|
|
1216
|
-
Parameters.nextPageLink
|
|
1217
|
-
],
|
|
1218
|
-
headerParameters: [
|
|
1219
|
-
Parameters.acceptLanguage
|
|
1220
|
-
],
|
|
1221
|
-
responses: {
|
|
1222
|
-
200: {
|
|
1223
|
-
bodyMapper: Mappers.ReplicationProtectedItemCollection
|
|
1224
|
-
},
|
|
1225
|
-
default: {
|
|
1226
|
-
bodyMapper: Mappers.CloudError
|
|
1227
|
-
}
|
|
1228
|
-
},
|
|
1229
|
-
serializer
|
|
1230
|
-
};
|
|
1231
|
-
|
|
1232
|
-
const listNextOperationSpec: msRest.OperationSpec = {
|
|
1233
|
-
httpMethod: "GET",
|
|
1234
|
-
baseUrl: "https://management.azure.com",
|
|
1235
|
-
path: "{nextLink}",
|
|
1236
|
-
urlParameters: [
|
|
1237
|
-
Parameters.nextPageLink
|
|
1238
|
-
],
|
|
1239
|
-
headerParameters: [
|
|
1240
|
-
Parameters.acceptLanguage
|
|
1241
|
-
],
|
|
1242
|
-
responses: {
|
|
1243
|
-
200: {
|
|
1244
|
-
bodyMapper: Mappers.ReplicationProtectedItemCollection
|
|
1245
|
-
},
|
|
1246
|
-
default: {
|
|
1247
|
-
bodyMapper: Mappers.CloudError
|
|
1248
|
-
}
|
|
1249
|
-
},
|
|
1250
|
-
serializer
|
|
1251
|
-
};
|