@azure/arm-recoveryservices-siterecovery 5.1.0 → 5.2.0-alpha.20240226.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/LICENSE +1 -1
- package/dist/index.js +8977 -8906
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist-esm/samples-dev/migrationRecoveryPointsGetSample.js +1 -1
- package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js +4 -9
- package/dist-esm/samples-dev/migrationRecoveryPointsListByReplicationMigrationItemsSample.js.map +1 -1
- package/dist-esm/samples-dev/operationsListSample.js +4 -9
- package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +1 -1
- package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js +4 -9
- package/dist-esm/samples-dev/recoveryPointsListByReplicationProtectedItemsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationAlertSettingsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationAlertSettingsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationAlertSettingsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationAlertSettingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationAppliancesListSample.js +4 -9
- package/dist-esm/samples-dev/replicationAppliancesListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationEligibilityResultsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationEligibilityResultsListSample.js +1 -1
- package/dist-esm/samples-dev/replicationEventsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationEventsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationEventsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationFabricsCheckConsistencySample.js +1 -1
- package/dist-esm/samples-dev/replicationFabricsCreateSample.js +2 -2
- package/dist-esm/samples-dev/replicationFabricsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationFabricsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationFabricsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationFabricsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationFabricsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationFabricsMigrateToAadSample.js +1 -1
- package/dist-esm/samples-dev/replicationFabricsPurgeSample.js +1 -1
- package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js +4 -4
- package/dist-esm/samples-dev/replicationFabricsReassociateGatewaySample.js.map +1 -1
- package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.d.ts +2 -0
- package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.js +41 -0
- package/dist-esm/samples-dev/replicationFabricsRemoveInfraSample.js.map +1 -0
- package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js +3 -3
- package/dist-esm/samples-dev/replicationFabricsRenewCertificateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationJobsCancelSample.js +1 -1
- package/dist-esm/samples-dev/replicationJobsExportSample.js +3 -3
- package/dist-esm/samples-dev/replicationJobsExportSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationJobsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationJobsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationJobsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationJobsRestartSample.js +1 -1
- package/dist-esm/samples-dev/replicationJobsResumeSample.js +2 -2
- package/dist-esm/samples-dev/replicationJobsResumeSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationLogicalNetworksGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js +4 -9
- package/dist-esm/samples-dev/replicationLogicalNetworksListByReplicationFabricsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js +7 -7
- package/dist-esm/samples-dev/replicationMigrationItemsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js +4 -9
- package/dist-esm/samples-dev/replicationMigrationItemsListByReplicationProtectionContainersSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationMigrationItemsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js +5 -5
- package/dist-esm/samples-dev/replicationMigrationItemsMigrateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js +3 -3
- package/dist-esm/samples-dev/replicationMigrationItemsPauseReplicationSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js +5 -5
- package/dist-esm/samples-dev/replicationMigrationItemsResumeReplicationSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js +5 -5
- package/dist-esm/samples-dev/replicationMigrationItemsResyncSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js +3 -3
- package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateCleanupSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js +5 -5
- package/dist-esm/samples-dev/replicationMigrationItemsTestMigrateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js +3 -3
- package/dist-esm/samples-dev/replicationMigrationItemsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationNetworkMappingsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationNetworkMappingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationNetworkMappingsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js +4 -9
- package/dist-esm/samples-dev/replicationNetworkMappingsListByReplicationNetworksSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationNetworkMappingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js +4 -4
- package/dist-esm/samples-dev/replicationNetworkMappingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationNetworksGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js +4 -9
- package/dist-esm/samples-dev/replicationNetworksListByReplicationFabricsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationNetworksListSample.js +4 -9
- package/dist-esm/samples-dev/replicationNetworksListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationPoliciesCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationPoliciesCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationPoliciesDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationPoliciesGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationPoliciesListSample.js +4 -9
- package/dist-esm/samples-dev/replicationPoliciesListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js +4 -4
- package/dist-esm/samples-dev/replicationPoliciesUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectableItemsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectableItemsListByReplicationProtectionContainersSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js +7 -7
- package/dist-esm/samples-dev/replicationProtectedItemsAddDisksSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectedItemsApplyRecoveryPointSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectedItemsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js +2 -2
- package/dist-esm/samples-dev/replicationProtectedItemsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsFailoverCancelSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsFailoverCommitSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectedItemsListByReplicationProtectionContainersSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectedItemsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectedItemsPlannedFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsPurgeSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js +6 -6
- package/dist-esm/samples-dev/replicationProtectedItemsRemoveDisksSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsRepairReplicationSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectedItemsReprotectSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js +3 -3
- package/dist-esm/samples-dev/replicationProtectedItemsResolveHealthErrorsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js +5 -5
- package/dist-esm/samples-dev/replicationProtectedItemsSwitchProviderSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js +3 -3
- package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverCleanupSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectedItemsTestFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectedItemsUnplannedFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js +5 -5
- package/dist-esm/samples-dev/replicationProtectedItemsUpdateApplianceSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js +3 -3
- package/dist-esm/samples-dev/replicationProtectedItemsUpdateMobilityServiceSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js +8 -8
- package/dist-esm/samples-dev/replicationProtectedItemsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js +3 -3
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsListByReplicationProtectionContainersSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsPurgeSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js +5 -5
- package/dist-esm/samples-dev/replicationProtectionContainerMappingsUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js +2 -2
- package/dist-esm/samples-dev/replicationProtectionContainersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectionContainersDiscoverProtectableItemSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectionContainersListByReplicationFabricsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersListSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectionContainersListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js +4 -4
- package/dist-esm/samples-dev/replicationProtectionContainersSwitchProtectionSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js +5 -5
- package/dist-esm/samples-dev/replicationProtectionIntentsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationProtectionIntentsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationProtectionIntentsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js +8 -8
- package/dist-esm/samples-dev/replicationRecoveryPlansCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCancelSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansFailoverCommitSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js +4 -9
- package/dist-esm/samples-dev/replicationRecoveryPlansListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js +4 -4
- package/dist-esm/samples-dev/replicationRecoveryPlansPlannedFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansReprotectSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js +3 -3
- package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverCleanupSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js +4 -4
- package/dist-esm/samples-dev/replicationRecoveryPlansTestFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js +4 -4
- package/dist-esm/samples-dev/replicationRecoveryPlansUnplannedFailoverSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js +13 -13
- package/dist-esm/samples-dev/replicationRecoveryPlansUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js +6 -6
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js +4 -9
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListByReplicationFabricsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js +4 -9
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersPurgeSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js +1 -1
- package/dist-esm/samples-dev/replicationRecoveryServicesProvidersRefreshProviderSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsDeleteSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js +4 -9
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsListByReplicationStorageClassificationsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationStorageClassificationMappingsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationsGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js +4 -9
- package/dist-esm/samples-dev/replicationStorageClassificationsListByReplicationFabricsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js +4 -9
- package/dist-esm/samples-dev/replicationStorageClassificationsListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationVaultHealthGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationVaultHealthRefreshSample.js +1 -1
- package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationVaultSettingCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationVaultSettingGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationVaultSettingListSample.js +4 -9
- package/dist-esm/samples-dev/replicationVaultSettingListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationvCentersCreateSample.js +4 -4
- package/dist-esm/samples-dev/replicationvCentersCreateSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationvCentersDeleteSample.js +1 -1
- package/dist-esm/samples-dev/replicationvCentersGetSample.js +1 -1
- package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js +4 -9
- package/dist-esm/samples-dev/replicationvCentersListByReplicationFabricsSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationvCentersListSample.js +4 -9
- package/dist-esm/samples-dev/replicationvCentersListSample.js.map +1 -1
- package/dist-esm/samples-dev/replicationvCentersUpdateSample.js +3 -3
- package/dist-esm/samples-dev/replicationvCentersUpdateSample.js.map +1 -1
- package/dist-esm/samples-dev/supportedOperatingSystemsGetSample.js +1 -1
- package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js +4 -9
- package/dist-esm/samples-dev/targetComputeSizesListByReplicationProtectedItemsSample.js.map +1 -1
- package/dist-esm/src/lroImpl.js +1 -1
- package/dist-esm/src/models/index.d.ts +61 -0
- package/dist-esm/src/models/index.d.ts.map +1 -1
- package/dist-esm/src/models/index.js.map +1 -1
- package/dist-esm/src/models/mappers.d.ts +4 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -1
- package/dist-esm/src/models/mappers.js +6827 -6707
- package/dist-esm/src/models/mappers.js.map +1 -1
- package/dist-esm/src/models/parameters.d.ts +2 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -1
- package/dist-esm/src/models/parameters.js +193 -167
- package/dist-esm/src/models/parameters.js.map +1 -1
- package/dist-esm/src/operations/migrationRecoveryPoints.d.ts.map +1 -1
- package/dist-esm/src/operations/migrationRecoveryPoints.js +19 -24
- package/dist-esm/src/operations/migrationRecoveryPoints.js.map +1 -1
- package/dist-esm/src/operations/operations.js +12 -17
- package/dist-esm/src/operations/operations.js.map +1 -1
- package/dist-esm/src/operations/recoveryPoints.js +19 -24
- package/dist-esm/src/operations/recoveryPoints.js.map +1 -1
- package/dist-esm/src/operations/replicationAlertSettings.js +20 -25
- package/dist-esm/src/operations/replicationAlertSettings.js.map +1 -1
- package/dist-esm/src/operations/replicationAppliances.js +12 -17
- package/dist-esm/src/operations/replicationAppliances.js.map +1 -1
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.js +8 -8
- package/dist-esm/src/operations/replicationEligibilityResultsOperations.js.map +1 -1
- package/dist-esm/src/operations/replicationEvents.js +16 -21
- package/dist-esm/src/operations/replicationEvents.js.map +1 -1
- package/dist-esm/src/operations/replicationFabrics.d.ts +19 -1
- package/dist-esm/src/operations/replicationFabrics.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationFabrics.js +171 -86
- package/dist-esm/src/operations/replicationFabrics.js.map +1 -1
- package/dist-esm/src/operations/replicationJobs.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationJobs.js +62 -67
- package/dist-esm/src/operations/replicationJobs.js.map +1 -1
- package/dist-esm/src/operations/replicationLogicalNetworks.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationLogicalNetworks.js +17 -22
- package/dist-esm/src/operations/replicationLogicalNetworks.js.map +1 -1
- package/dist-esm/src/operations/replicationMigrationItems.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationMigrationItems.js +137 -147
- package/dist-esm/src/operations/replicationMigrationItems.js.map +1 -1
- package/dist-esm/src/operations/replicationNetworkMappings.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationNetworkMappings.js +62 -72
- package/dist-esm/src/operations/replicationNetworkMappings.js.map +1 -1
- package/dist-esm/src/operations/replicationNetworks.js +28 -38
- package/dist-esm/src/operations/replicationNetworks.js.map +1 -1
- package/dist-esm/src/operations/replicationPolicies.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationPolicies.js +45 -50
- package/dist-esm/src/operations/replicationPolicies.js.map +1 -1
- package/dist-esm/src/operations/replicationProtectableItems.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationProtectableItems.js +20 -25
- package/dist-esm/src/operations/replicationProtectableItems.js.map +1 -1
- package/dist-esm/src/operations/replicationProtectedItems.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationProtectedItems.js +251 -261
- package/dist-esm/src/operations/replicationProtectedItems.js.map +1 -1
- package/dist-esm/src/operations/replicationProtectionContainerMappings.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationProtectionContainerMappings.js +70 -80
- package/dist-esm/src/operations/replicationProtectionContainerMappings.js.map +1 -1
- package/dist-esm/src/operations/replicationProtectionContainers.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationProtectionContainers.js +73 -83
- package/dist-esm/src/operations/replicationProtectionContainers.js.map +1 -1
- package/dist-esm/src/operations/replicationProtectionIntents.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationProtectionIntents.js +21 -26
- package/dist-esm/src/operations/replicationProtectionIntents.js.map +1 -1
- package/dist-esm/src/operations/replicationRecoveryPlans.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationRecoveryPlans.js +128 -133
- package/dist-esm/src/operations/replicationRecoveryPlans.js.map +1 -1
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.js +67 -77
- package/dist-esm/src/operations/replicationRecoveryServicesProviders.js.map +1 -1
- package/dist-esm/src/operations/replicationStorageClassificationMappings.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationStorageClassificationMappings.js +51 -61
- package/dist-esm/src/operations/replicationStorageClassificationMappings.js.map +1 -1
- package/dist-esm/src/operations/replicationStorageClassifications.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationStorageClassifications.js +29 -39
- package/dist-esm/src/operations/replicationStorageClassifications.js.map +1 -1
- package/dist-esm/src/operations/replicationVaultHealth.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationVaultHealth.js +16 -16
- package/dist-esm/src/operations/replicationVaultHealth.js.map +1 -1
- package/dist-esm/src/operations/replicationVaultSetting.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationVaultSetting.js +29 -34
- package/dist-esm/src/operations/replicationVaultSetting.js.map +1 -1
- package/dist-esm/src/operations/replicationvCenters.d.ts.map +1 -1
- package/dist-esm/src/operations/replicationvCenters.js +60 -70
- package/dist-esm/src/operations/replicationvCenters.js.map +1 -1
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.d.ts.map +1 -1
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.js +4 -4
- package/dist-esm/src/operations/supportedOperatingSystemsOperations.js.map +1 -1
- package/dist-esm/src/operations/targetComputeSizes.js +14 -19
- package/dist-esm/src/operations/targetComputeSizes.js.map +1 -1
- package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts +19 -1
- package/dist-esm/src/operationsInterfaces/replicationFabrics.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/replicationProtectionContainers.d.ts.map +1 -1
- package/dist-esm/src/operationsInterfaces/replicationRecoveryServicesProviders.d.ts.map +1 -1
- package/dist-esm/src/pagingHelper.js.map +1 -1
- package/dist-esm/src/siteRecoveryManagementClient.d.ts.map +1 -1
- package/dist-esm/src/siteRecoveryManagementClient.js +23 -16
- package/dist-esm/src/siteRecoveryManagementClient.js.map +1 -1
- package/dist-esm/test/recoveryservicessiterecovery_examples.spec.js +3 -8
- package/dist-esm/test/recoveryservicessiterecovery_examples.spec.js.map +1 -1
- package/package.json +16 -22
- package/review/arm-recoveryservices-siterecovery.api.md +38 -0
- package/src/lroImpl.ts +3 -3
- package/src/models/index.ts +272 -127
- package/src/models/mappers.ts +10025 -9693
- package/src/models/parameters.ts +196 -168
- package/src/operations/migrationRecoveryPoints.ts +52 -55
- package/src/operations/operations.ts +19 -20
- package/src/operations/recoveryPoints.ts +51 -52
- package/src/operations/replicationAlertSettings.ts +35 -38
- package/src/operations/replicationAppliances.ts +21 -22
- package/src/operations/replicationEligibilityResultsOperations.ts +17 -18
- package/src/operations/replicationEvents.ts +28 -30
- package/src/operations/replicationFabrics.ts +299 -186
- package/src/operations/replicationJobs.ts +118 -128
- package/src/operations/replicationLogicalNetworks.ts +33 -34
- package/src/operations/replicationMigrationItems.ts +298 -320
- package/src/operations/replicationNetworkMappings.ts +119 -127
- package/src/operations/replicationNetworks.ts +50 -53
- package/src/operations/replicationPolicies.ts +90 -98
- package/src/operations/replicationProtectableItems.ts +75 -78
- package/src/operations/replicationProtectedItems.ts +518 -560
- package/src/operations/replicationProtectionContainerMappings.ts +172 -184
- package/src/operations/replicationProtectionContainers.ts +144 -160
- package/src/operations/replicationProtectionIntents.ts +38 -40
- package/src/operations/replicationRecoveryPlans.ts +250 -272
- package/src/operations/replicationRecoveryServicesProviders.ts +139 -157
- package/src/operations/replicationStorageClassificationMappings.ts +131 -139
- package/src/operations/replicationStorageClassifications.ts +55 -61
- package/src/operations/replicationVaultHealth.ts +31 -34
- package/src/operations/replicationVaultSetting.ts +52 -56
- package/src/operations/replicationvCenters.ts +115 -124
- package/src/operations/supportedOperatingSystemsOperations.ts +10 -10
- package/src/operations/targetComputeSizes.ts +43 -43
- package/src/operationsInterfaces/migrationRecoveryPoints.ts +3 -3
- package/src/operationsInterfaces/operations.ts +1 -1
- package/src/operationsInterfaces/recoveryPoints.ts +3 -3
- package/src/operationsInterfaces/replicationAlertSettings.ts +4 -4
- package/src/operationsInterfaces/replicationAppliances.ts +2 -2
- package/src/operationsInterfaces/replicationEligibilityResultsOperations.ts +3 -3
- package/src/operationsInterfaces/replicationEvents.ts +3 -3
- package/src/operationsInterfaces/replicationFabrics.ts +52 -17
- package/src/operationsInterfaces/replicationJobs.ts +11 -11
- package/src/operationsInterfaces/replicationLogicalNetworks.ts +3 -3
- package/src/operationsInterfaces/replicationMigrationItems.ts +22 -22
- package/src/operationsInterfaces/replicationNetworkMappings.ts +10 -10
- package/src/operationsInterfaces/replicationNetworks.ts +4 -4
- package/src/operationsInterfaces/replicationPolicies.ts +9 -9
- package/src/operationsInterfaces/replicationProtectableItems.ts +3 -3
- package/src/operationsInterfaces/replicationProtectedItems.ts +42 -42
- package/src/operationsInterfaces/replicationProtectionContainerMappings.ts +12 -12
- package/src/operationsInterfaces/replicationProtectionContainers.ts +13 -15
- package/src/operationsInterfaces/replicationProtectionIntents.ts +4 -4
- package/src/operationsInterfaces/replicationRecoveryPlans.ts +23 -23
- package/src/operationsInterfaces/replicationRecoveryServicesProviders.ts +13 -15
- package/src/operationsInterfaces/replicationStorageClassificationMappings.ts +8 -8
- package/src/operationsInterfaces/replicationStorageClassifications.ts +4 -4
- package/src/operationsInterfaces/replicationVaultHealth.ts +4 -4
- package/src/operationsInterfaces/replicationVaultSetting.ts +5 -5
- package/src/operationsInterfaces/replicationvCenters.ts +10 -10
- package/src/operationsInterfaces/supportedOperatingSystemsOperations.ts +2 -2
- package/src/operationsInterfaces/targetComputeSizes.ts +2 -2
- package/src/pagingHelper.ts +1 -1
- package/src/siteRecoveryManagementClient.ts +34 -40
- package/types/arm-recoveryservices-siterecovery.d.ts +85 -0
- package/types/tsdoc-metadata.json +1 -1
- package/rollup.config.js +0 -122
|
@@ -16,7 +16,7 @@ import { SiteRecoveryManagementClient } from "../siteRecoveryManagementClient";
|
|
|
16
16
|
import {
|
|
17
17
|
SimplePollerLike,
|
|
18
18
|
OperationState,
|
|
19
|
-
createHttpPoller
|
|
19
|
+
createHttpPoller,
|
|
20
20
|
} from "@azure/core-lro";
|
|
21
21
|
import { createLroSpec } from "../lroImpl";
|
|
22
22
|
import {
|
|
@@ -55,13 +55,14 @@ import {
|
|
|
55
55
|
ReplicationMigrationItemsTestMigrateCleanupOptionalParams,
|
|
56
56
|
ReplicationMigrationItemsTestMigrateCleanupResponse,
|
|
57
57
|
ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse,
|
|
58
|
-
ReplicationMigrationItemsListNextResponse
|
|
58
|
+
ReplicationMigrationItemsListNextResponse,
|
|
59
59
|
} from "../models";
|
|
60
60
|
|
|
61
61
|
/// <reference lib="esnext.asynciterable" />
|
|
62
62
|
/** Class containing ReplicationMigrationItems operations. */
|
|
63
63
|
export class ReplicationMigrationItemsImpl
|
|
64
|
-
implements ReplicationMigrationItems
|
|
64
|
+
implements ReplicationMigrationItems
|
|
65
|
+
{
|
|
65
66
|
private readonly client: SiteRecoveryManagementClient;
|
|
66
67
|
|
|
67
68
|
/**
|
|
@@ -86,14 +87,14 @@ export class ReplicationMigrationItemsImpl
|
|
|
86
87
|
resourceGroupName: string,
|
|
87
88
|
fabricName: string,
|
|
88
89
|
protectionContainerName: string,
|
|
89
|
-
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams
|
|
90
|
+
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams,
|
|
90
91
|
): PagedAsyncIterableIterator<MigrationItem> {
|
|
91
92
|
const iter = this.listByReplicationProtectionContainersPagingAll(
|
|
92
93
|
resourceName,
|
|
93
94
|
resourceGroupName,
|
|
94
95
|
fabricName,
|
|
95
96
|
protectionContainerName,
|
|
96
|
-
options
|
|
97
|
+
options,
|
|
97
98
|
);
|
|
98
99
|
return {
|
|
99
100
|
next() {
|
|
@@ -112,9 +113,9 @@ export class ReplicationMigrationItemsImpl
|
|
|
112
113
|
fabricName,
|
|
113
114
|
protectionContainerName,
|
|
114
115
|
options,
|
|
115
|
-
settings
|
|
116
|
+
settings,
|
|
116
117
|
);
|
|
117
|
-
}
|
|
118
|
+
},
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
121
|
|
|
@@ -124,7 +125,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
124
125
|
fabricName: string,
|
|
125
126
|
protectionContainerName: string,
|
|
126
127
|
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams,
|
|
127
|
-
settings?: PageSettings
|
|
128
|
+
settings?: PageSettings,
|
|
128
129
|
): AsyncIterableIterator<MigrationItem[]> {
|
|
129
130
|
let result: ReplicationMigrationItemsListByReplicationProtectionContainersResponse;
|
|
130
131
|
let continuationToken = settings?.continuationToken;
|
|
@@ -134,7 +135,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
134
135
|
resourceGroupName,
|
|
135
136
|
fabricName,
|
|
136
137
|
protectionContainerName,
|
|
137
|
-
options
|
|
138
|
+
options,
|
|
138
139
|
);
|
|
139
140
|
let page = result.value || [];
|
|
140
141
|
continuationToken = result.nextLink;
|
|
@@ -148,7 +149,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
148
149
|
fabricName,
|
|
149
150
|
protectionContainerName,
|
|
150
151
|
continuationToken,
|
|
151
|
-
options
|
|
152
|
+
options,
|
|
152
153
|
);
|
|
153
154
|
continuationToken = result.nextLink;
|
|
154
155
|
let page = result.value || [];
|
|
@@ -162,14 +163,14 @@ export class ReplicationMigrationItemsImpl
|
|
|
162
163
|
resourceGroupName: string,
|
|
163
164
|
fabricName: string,
|
|
164
165
|
protectionContainerName: string,
|
|
165
|
-
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams
|
|
166
|
+
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams,
|
|
166
167
|
): AsyncIterableIterator<MigrationItem> {
|
|
167
168
|
for await (const page of this.listByReplicationProtectionContainersPagingPage(
|
|
168
169
|
resourceName,
|
|
169
170
|
resourceGroupName,
|
|
170
171
|
fabricName,
|
|
171
172
|
protectionContainerName,
|
|
172
|
-
options
|
|
173
|
+
options,
|
|
173
174
|
)) {
|
|
174
175
|
yield* page;
|
|
175
176
|
}
|
|
@@ -185,7 +186,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
185
186
|
public list(
|
|
186
187
|
resourceName: string,
|
|
187
188
|
resourceGroupName: string,
|
|
188
|
-
options?: ReplicationMigrationItemsListOptionalParams
|
|
189
|
+
options?: ReplicationMigrationItemsListOptionalParams,
|
|
189
190
|
): PagedAsyncIterableIterator<MigrationItem> {
|
|
190
191
|
const iter = this.listPagingAll(resourceName, resourceGroupName, options);
|
|
191
192
|
return {
|
|
@@ -203,9 +204,9 @@ export class ReplicationMigrationItemsImpl
|
|
|
203
204
|
resourceName,
|
|
204
205
|
resourceGroupName,
|
|
205
206
|
options,
|
|
206
|
-
settings
|
|
207
|
+
settings,
|
|
207
208
|
);
|
|
208
|
-
}
|
|
209
|
+
},
|
|
209
210
|
};
|
|
210
211
|
}
|
|
211
212
|
|
|
@@ -213,7 +214,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
213
214
|
resourceName: string,
|
|
214
215
|
resourceGroupName: string,
|
|
215
216
|
options?: ReplicationMigrationItemsListOptionalParams,
|
|
216
|
-
settings?: PageSettings
|
|
217
|
+
settings?: PageSettings,
|
|
217
218
|
): AsyncIterableIterator<MigrationItem[]> {
|
|
218
219
|
let result: ReplicationMigrationItemsListResponse;
|
|
219
220
|
let continuationToken = settings?.continuationToken;
|
|
@@ -229,7 +230,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
229
230
|
resourceName,
|
|
230
231
|
resourceGroupName,
|
|
231
232
|
continuationToken,
|
|
232
|
-
options
|
|
233
|
+
options,
|
|
233
234
|
);
|
|
234
235
|
continuationToken = result.nextLink;
|
|
235
236
|
let page = result.value || [];
|
|
@@ -241,12 +242,12 @@ export class ReplicationMigrationItemsImpl
|
|
|
241
242
|
private async *listPagingAll(
|
|
242
243
|
resourceName: string,
|
|
243
244
|
resourceGroupName: string,
|
|
244
|
-
options?: ReplicationMigrationItemsListOptionalParams
|
|
245
|
+
options?: ReplicationMigrationItemsListOptionalParams,
|
|
245
246
|
): AsyncIterableIterator<MigrationItem> {
|
|
246
247
|
for await (const page of this.listPagingPage(
|
|
247
248
|
resourceName,
|
|
248
249
|
resourceGroupName,
|
|
249
|
-
options
|
|
250
|
+
options,
|
|
250
251
|
)) {
|
|
251
252
|
yield* page;
|
|
252
253
|
}
|
|
@@ -266,19 +267,17 @@ export class ReplicationMigrationItemsImpl
|
|
|
266
267
|
resourceGroupName: string,
|
|
267
268
|
fabricName: string,
|
|
268
269
|
protectionContainerName: string,
|
|
269
|
-
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams
|
|
270
|
-
): Promise<
|
|
271
|
-
ReplicationMigrationItemsListByReplicationProtectionContainersResponse
|
|
272
|
-
> {
|
|
270
|
+
options?: ReplicationMigrationItemsListByReplicationProtectionContainersOptionalParams,
|
|
271
|
+
): Promise<ReplicationMigrationItemsListByReplicationProtectionContainersResponse> {
|
|
273
272
|
return this.client.sendOperationRequest(
|
|
274
273
|
{
|
|
275
274
|
resourceName,
|
|
276
275
|
resourceGroupName,
|
|
277
276
|
fabricName,
|
|
278
277
|
protectionContainerName,
|
|
279
|
-
options
|
|
278
|
+
options,
|
|
280
279
|
},
|
|
281
|
-
listByReplicationProtectionContainersOperationSpec
|
|
280
|
+
listByReplicationProtectionContainersOperationSpec,
|
|
282
281
|
);
|
|
283
282
|
}
|
|
284
283
|
|
|
@@ -298,7 +297,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
298
297
|
fabricName: string,
|
|
299
298
|
protectionContainerName: string,
|
|
300
299
|
migrationItemName: string,
|
|
301
|
-
options?: ReplicationMigrationItemsGetOptionalParams
|
|
300
|
+
options?: ReplicationMigrationItemsGetOptionalParams,
|
|
302
301
|
): Promise<ReplicationMigrationItemsGetResponse> {
|
|
303
302
|
return this.client.sendOperationRequest(
|
|
304
303
|
{
|
|
@@ -307,9 +306,9 @@ export class ReplicationMigrationItemsImpl
|
|
|
307
306
|
fabricName,
|
|
308
307
|
protectionContainerName,
|
|
309
308
|
migrationItemName,
|
|
310
|
-
options
|
|
309
|
+
options,
|
|
311
310
|
},
|
|
312
|
-
getOperationSpec
|
|
311
|
+
getOperationSpec,
|
|
313
312
|
);
|
|
314
313
|
}
|
|
315
314
|
|
|
@@ -331,7 +330,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
331
330
|
protectionContainerName: string,
|
|
332
331
|
migrationItemName: string,
|
|
333
332
|
input: EnableMigrationInput,
|
|
334
|
-
options?: ReplicationMigrationItemsCreateOptionalParams
|
|
333
|
+
options?: ReplicationMigrationItemsCreateOptionalParams,
|
|
335
334
|
): Promise<
|
|
336
335
|
SimplePollerLike<
|
|
337
336
|
OperationState<ReplicationMigrationItemsCreateResponse>,
|
|
@@ -340,21 +339,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
340
339
|
> {
|
|
341
340
|
const directSendOperation = async (
|
|
342
341
|
args: coreClient.OperationArguments,
|
|
343
|
-
spec: coreClient.OperationSpec
|
|
342
|
+
spec: coreClient.OperationSpec,
|
|
344
343
|
): Promise<ReplicationMigrationItemsCreateResponse> => {
|
|
345
344
|
return this.client.sendOperationRequest(args, spec);
|
|
346
345
|
};
|
|
347
346
|
const sendOperationFn = async (
|
|
348
347
|
args: coreClient.OperationArguments,
|
|
349
|
-
spec: coreClient.OperationSpec
|
|
348
|
+
spec: coreClient.OperationSpec,
|
|
350
349
|
) => {
|
|
351
|
-
let currentRawResponse:
|
|
352
|
-
|
|
353
|
-
| undefined = undefined;
|
|
350
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
351
|
+
undefined;
|
|
354
352
|
const providedCallback = args.options?.onResponse;
|
|
355
353
|
const callback: coreClient.RawResponseCallback = (
|
|
356
354
|
rawResponse: coreClient.FullOperationResponse,
|
|
357
|
-
flatResponse: unknown
|
|
355
|
+
flatResponse: unknown,
|
|
358
356
|
) => {
|
|
359
357
|
currentRawResponse = rawResponse;
|
|
360
358
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -363,8 +361,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
363
361
|
...args,
|
|
364
362
|
options: {
|
|
365
363
|
...args.options,
|
|
366
|
-
onResponse: callback
|
|
367
|
-
}
|
|
364
|
+
onResponse: callback,
|
|
365
|
+
},
|
|
368
366
|
};
|
|
369
367
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
370
368
|
return {
|
|
@@ -372,8 +370,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
372
370
|
rawResponse: {
|
|
373
371
|
statusCode: currentRawResponse!.status,
|
|
374
372
|
body: currentRawResponse!.parsedBody,
|
|
375
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
376
|
-
}
|
|
373
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
374
|
+
},
|
|
377
375
|
};
|
|
378
376
|
};
|
|
379
377
|
|
|
@@ -386,16 +384,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
386
384
|
protectionContainerName,
|
|
387
385
|
migrationItemName,
|
|
388
386
|
input,
|
|
389
|
-
options
|
|
387
|
+
options,
|
|
390
388
|
},
|
|
391
|
-
spec: createOperationSpec
|
|
389
|
+
spec: createOperationSpec,
|
|
392
390
|
});
|
|
393
391
|
const poller = await createHttpPoller<
|
|
394
392
|
ReplicationMigrationItemsCreateResponse,
|
|
395
393
|
OperationState<ReplicationMigrationItemsCreateResponse>
|
|
396
394
|
>(lro, {
|
|
397
395
|
restoreFrom: options?.resumeFrom,
|
|
398
|
-
intervalInMs: options?.updateIntervalInMs
|
|
396
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
399
397
|
});
|
|
400
398
|
await poller.poll();
|
|
401
399
|
return poller;
|
|
@@ -419,7 +417,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
419
417
|
protectionContainerName: string,
|
|
420
418
|
migrationItemName: string,
|
|
421
419
|
input: EnableMigrationInput,
|
|
422
|
-
options?: ReplicationMigrationItemsCreateOptionalParams
|
|
420
|
+
options?: ReplicationMigrationItemsCreateOptionalParams,
|
|
423
421
|
): Promise<ReplicationMigrationItemsCreateResponse> {
|
|
424
422
|
const poller = await this.beginCreate(
|
|
425
423
|
resourceName,
|
|
@@ -428,7 +426,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
428
426
|
protectionContainerName,
|
|
429
427
|
migrationItemName,
|
|
430
428
|
input,
|
|
431
|
-
options
|
|
429
|
+
options,
|
|
432
430
|
);
|
|
433
431
|
return poller.pollUntilDone();
|
|
434
432
|
}
|
|
@@ -449,25 +447,24 @@ export class ReplicationMigrationItemsImpl
|
|
|
449
447
|
fabricName: string,
|
|
450
448
|
protectionContainerName: string,
|
|
451
449
|
migrationItemName: string,
|
|
452
|
-
options?: ReplicationMigrationItemsDeleteOptionalParams
|
|
450
|
+
options?: ReplicationMigrationItemsDeleteOptionalParams,
|
|
453
451
|
): Promise<SimplePollerLike<OperationState<void>, void>> {
|
|
454
452
|
const directSendOperation = async (
|
|
455
453
|
args: coreClient.OperationArguments,
|
|
456
|
-
spec: coreClient.OperationSpec
|
|
454
|
+
spec: coreClient.OperationSpec,
|
|
457
455
|
): Promise<void> => {
|
|
458
456
|
return this.client.sendOperationRequest(args, spec);
|
|
459
457
|
};
|
|
460
458
|
const sendOperationFn = async (
|
|
461
459
|
args: coreClient.OperationArguments,
|
|
462
|
-
spec: coreClient.OperationSpec
|
|
460
|
+
spec: coreClient.OperationSpec,
|
|
463
461
|
) => {
|
|
464
|
-
let currentRawResponse:
|
|
465
|
-
|
|
466
|
-
| undefined = undefined;
|
|
462
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
463
|
+
undefined;
|
|
467
464
|
const providedCallback = args.options?.onResponse;
|
|
468
465
|
const callback: coreClient.RawResponseCallback = (
|
|
469
466
|
rawResponse: coreClient.FullOperationResponse,
|
|
470
|
-
flatResponse: unknown
|
|
467
|
+
flatResponse: unknown,
|
|
471
468
|
) => {
|
|
472
469
|
currentRawResponse = rawResponse;
|
|
473
470
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -476,8 +473,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
476
473
|
...args,
|
|
477
474
|
options: {
|
|
478
475
|
...args.options,
|
|
479
|
-
onResponse: callback
|
|
480
|
-
}
|
|
476
|
+
onResponse: callback,
|
|
477
|
+
},
|
|
481
478
|
};
|
|
482
479
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
483
480
|
return {
|
|
@@ -485,8 +482,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
485
482
|
rawResponse: {
|
|
486
483
|
statusCode: currentRawResponse!.status,
|
|
487
484
|
body: currentRawResponse!.parsedBody,
|
|
488
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
489
|
-
}
|
|
485
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
486
|
+
},
|
|
490
487
|
};
|
|
491
488
|
};
|
|
492
489
|
|
|
@@ -498,13 +495,13 @@ export class ReplicationMigrationItemsImpl
|
|
|
498
495
|
fabricName,
|
|
499
496
|
protectionContainerName,
|
|
500
497
|
migrationItemName,
|
|
501
|
-
options
|
|
498
|
+
options,
|
|
502
499
|
},
|
|
503
|
-
spec: deleteOperationSpec
|
|
500
|
+
spec: deleteOperationSpec,
|
|
504
501
|
});
|
|
505
502
|
const poller = await createHttpPoller<void, OperationState<void>>(lro, {
|
|
506
503
|
restoreFrom: options?.resumeFrom,
|
|
507
|
-
intervalInMs: options?.updateIntervalInMs
|
|
504
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
508
505
|
});
|
|
509
506
|
await poller.poll();
|
|
510
507
|
return poller;
|
|
@@ -526,7 +523,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
526
523
|
fabricName: string,
|
|
527
524
|
protectionContainerName: string,
|
|
528
525
|
migrationItemName: string,
|
|
529
|
-
options?: ReplicationMigrationItemsDeleteOptionalParams
|
|
526
|
+
options?: ReplicationMigrationItemsDeleteOptionalParams,
|
|
530
527
|
): Promise<void> {
|
|
531
528
|
const poller = await this.beginDelete(
|
|
532
529
|
resourceName,
|
|
@@ -534,7 +531,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
534
531
|
fabricName,
|
|
535
532
|
protectionContainerName,
|
|
536
533
|
migrationItemName,
|
|
537
|
-
options
|
|
534
|
+
options,
|
|
538
535
|
);
|
|
539
536
|
return poller.pollUntilDone();
|
|
540
537
|
}
|
|
@@ -557,7 +554,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
557
554
|
protectionContainerName: string,
|
|
558
555
|
migrationItemName: string,
|
|
559
556
|
input: UpdateMigrationItemInput,
|
|
560
|
-
options?: ReplicationMigrationItemsUpdateOptionalParams
|
|
557
|
+
options?: ReplicationMigrationItemsUpdateOptionalParams,
|
|
561
558
|
): Promise<
|
|
562
559
|
SimplePollerLike<
|
|
563
560
|
OperationState<ReplicationMigrationItemsUpdateResponse>,
|
|
@@ -566,21 +563,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
566
563
|
> {
|
|
567
564
|
const directSendOperation = async (
|
|
568
565
|
args: coreClient.OperationArguments,
|
|
569
|
-
spec: coreClient.OperationSpec
|
|
566
|
+
spec: coreClient.OperationSpec,
|
|
570
567
|
): Promise<ReplicationMigrationItemsUpdateResponse> => {
|
|
571
568
|
return this.client.sendOperationRequest(args, spec);
|
|
572
569
|
};
|
|
573
570
|
const sendOperationFn = async (
|
|
574
571
|
args: coreClient.OperationArguments,
|
|
575
|
-
spec: coreClient.OperationSpec
|
|
572
|
+
spec: coreClient.OperationSpec,
|
|
576
573
|
) => {
|
|
577
|
-
let currentRawResponse:
|
|
578
|
-
|
|
579
|
-
| undefined = undefined;
|
|
574
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
575
|
+
undefined;
|
|
580
576
|
const providedCallback = args.options?.onResponse;
|
|
581
577
|
const callback: coreClient.RawResponseCallback = (
|
|
582
578
|
rawResponse: coreClient.FullOperationResponse,
|
|
583
|
-
flatResponse: unknown
|
|
579
|
+
flatResponse: unknown,
|
|
584
580
|
) => {
|
|
585
581
|
currentRawResponse = rawResponse;
|
|
586
582
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -589,8 +585,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
589
585
|
...args,
|
|
590
586
|
options: {
|
|
591
587
|
...args.options,
|
|
592
|
-
onResponse: callback
|
|
593
|
-
}
|
|
588
|
+
onResponse: callback,
|
|
589
|
+
},
|
|
594
590
|
};
|
|
595
591
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
596
592
|
return {
|
|
@@ -598,8 +594,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
598
594
|
rawResponse: {
|
|
599
595
|
statusCode: currentRawResponse!.status,
|
|
600
596
|
body: currentRawResponse!.parsedBody,
|
|
601
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
602
|
-
}
|
|
597
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
598
|
+
},
|
|
603
599
|
};
|
|
604
600
|
};
|
|
605
601
|
|
|
@@ -612,16 +608,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
612
608
|
protectionContainerName,
|
|
613
609
|
migrationItemName,
|
|
614
610
|
input,
|
|
615
|
-
options
|
|
611
|
+
options,
|
|
616
612
|
},
|
|
617
|
-
spec: updateOperationSpec
|
|
613
|
+
spec: updateOperationSpec,
|
|
618
614
|
});
|
|
619
615
|
const poller = await createHttpPoller<
|
|
620
616
|
ReplicationMigrationItemsUpdateResponse,
|
|
621
617
|
OperationState<ReplicationMigrationItemsUpdateResponse>
|
|
622
618
|
>(lro, {
|
|
623
619
|
restoreFrom: options?.resumeFrom,
|
|
624
|
-
intervalInMs: options?.updateIntervalInMs
|
|
620
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
625
621
|
});
|
|
626
622
|
await poller.poll();
|
|
627
623
|
return poller;
|
|
@@ -645,7 +641,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
645
641
|
protectionContainerName: string,
|
|
646
642
|
migrationItemName: string,
|
|
647
643
|
input: UpdateMigrationItemInput,
|
|
648
|
-
options?: ReplicationMigrationItemsUpdateOptionalParams
|
|
644
|
+
options?: ReplicationMigrationItemsUpdateOptionalParams,
|
|
649
645
|
): Promise<ReplicationMigrationItemsUpdateResponse> {
|
|
650
646
|
const poller = await this.beginUpdate(
|
|
651
647
|
resourceName,
|
|
@@ -654,7 +650,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
654
650
|
protectionContainerName,
|
|
655
651
|
migrationItemName,
|
|
656
652
|
input,
|
|
657
|
-
options
|
|
653
|
+
options,
|
|
658
654
|
);
|
|
659
655
|
return poller.pollUntilDone();
|
|
660
656
|
}
|
|
@@ -677,7 +673,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
677
673
|
protectionContainerName: string,
|
|
678
674
|
migrationItemName: string,
|
|
679
675
|
migrateInput: MigrateInput,
|
|
680
|
-
options?: ReplicationMigrationItemsMigrateOptionalParams
|
|
676
|
+
options?: ReplicationMigrationItemsMigrateOptionalParams,
|
|
681
677
|
): Promise<
|
|
682
678
|
SimplePollerLike<
|
|
683
679
|
OperationState<ReplicationMigrationItemsMigrateResponse>,
|
|
@@ -686,21 +682,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
686
682
|
> {
|
|
687
683
|
const directSendOperation = async (
|
|
688
684
|
args: coreClient.OperationArguments,
|
|
689
|
-
spec: coreClient.OperationSpec
|
|
685
|
+
spec: coreClient.OperationSpec,
|
|
690
686
|
): Promise<ReplicationMigrationItemsMigrateResponse> => {
|
|
691
687
|
return this.client.sendOperationRequest(args, spec);
|
|
692
688
|
};
|
|
693
689
|
const sendOperationFn = async (
|
|
694
690
|
args: coreClient.OperationArguments,
|
|
695
|
-
spec: coreClient.OperationSpec
|
|
691
|
+
spec: coreClient.OperationSpec,
|
|
696
692
|
) => {
|
|
697
|
-
let currentRawResponse:
|
|
698
|
-
|
|
699
|
-
| undefined = undefined;
|
|
693
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
694
|
+
undefined;
|
|
700
695
|
const providedCallback = args.options?.onResponse;
|
|
701
696
|
const callback: coreClient.RawResponseCallback = (
|
|
702
697
|
rawResponse: coreClient.FullOperationResponse,
|
|
703
|
-
flatResponse: unknown
|
|
698
|
+
flatResponse: unknown,
|
|
704
699
|
) => {
|
|
705
700
|
currentRawResponse = rawResponse;
|
|
706
701
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -709,8 +704,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
709
704
|
...args,
|
|
710
705
|
options: {
|
|
711
706
|
...args.options,
|
|
712
|
-
onResponse: callback
|
|
713
|
-
}
|
|
707
|
+
onResponse: callback,
|
|
708
|
+
},
|
|
714
709
|
};
|
|
715
710
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
716
711
|
return {
|
|
@@ -718,8 +713,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
718
713
|
rawResponse: {
|
|
719
714
|
statusCode: currentRawResponse!.status,
|
|
720
715
|
body: currentRawResponse!.parsedBody,
|
|
721
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
722
|
-
}
|
|
716
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
717
|
+
},
|
|
723
718
|
};
|
|
724
719
|
};
|
|
725
720
|
|
|
@@ -732,16 +727,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
732
727
|
protectionContainerName,
|
|
733
728
|
migrationItemName,
|
|
734
729
|
migrateInput,
|
|
735
|
-
options
|
|
730
|
+
options,
|
|
736
731
|
},
|
|
737
|
-
spec: migrateOperationSpec
|
|
732
|
+
spec: migrateOperationSpec,
|
|
738
733
|
});
|
|
739
734
|
const poller = await createHttpPoller<
|
|
740
735
|
ReplicationMigrationItemsMigrateResponse,
|
|
741
736
|
OperationState<ReplicationMigrationItemsMigrateResponse>
|
|
742
737
|
>(lro, {
|
|
743
738
|
restoreFrom: options?.resumeFrom,
|
|
744
|
-
intervalInMs: options?.updateIntervalInMs
|
|
739
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
745
740
|
});
|
|
746
741
|
await poller.poll();
|
|
747
742
|
return poller;
|
|
@@ -765,7 +760,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
765
760
|
protectionContainerName: string,
|
|
766
761
|
migrationItemName: string,
|
|
767
762
|
migrateInput: MigrateInput,
|
|
768
|
-
options?: ReplicationMigrationItemsMigrateOptionalParams
|
|
763
|
+
options?: ReplicationMigrationItemsMigrateOptionalParams,
|
|
769
764
|
): Promise<ReplicationMigrationItemsMigrateResponse> {
|
|
770
765
|
const poller = await this.beginMigrate(
|
|
771
766
|
resourceName,
|
|
@@ -774,7 +769,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
774
769
|
protectionContainerName,
|
|
775
770
|
migrationItemName,
|
|
776
771
|
migrateInput,
|
|
777
|
-
options
|
|
772
|
+
options,
|
|
778
773
|
);
|
|
779
774
|
return poller.pollUntilDone();
|
|
780
775
|
}
|
|
@@ -797,7 +792,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
797
792
|
protectionContainerName: string,
|
|
798
793
|
migrationItemName: string,
|
|
799
794
|
pauseReplicationInput: PauseReplicationInput,
|
|
800
|
-
options?: ReplicationMigrationItemsPauseReplicationOptionalParams
|
|
795
|
+
options?: ReplicationMigrationItemsPauseReplicationOptionalParams,
|
|
801
796
|
): Promise<
|
|
802
797
|
SimplePollerLike<
|
|
803
798
|
OperationState<ReplicationMigrationItemsPauseReplicationResponse>,
|
|
@@ -806,21 +801,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
806
801
|
> {
|
|
807
802
|
const directSendOperation = async (
|
|
808
803
|
args: coreClient.OperationArguments,
|
|
809
|
-
spec: coreClient.OperationSpec
|
|
804
|
+
spec: coreClient.OperationSpec,
|
|
810
805
|
): Promise<ReplicationMigrationItemsPauseReplicationResponse> => {
|
|
811
806
|
return this.client.sendOperationRequest(args, spec);
|
|
812
807
|
};
|
|
813
808
|
const sendOperationFn = async (
|
|
814
809
|
args: coreClient.OperationArguments,
|
|
815
|
-
spec: coreClient.OperationSpec
|
|
810
|
+
spec: coreClient.OperationSpec,
|
|
816
811
|
) => {
|
|
817
|
-
let currentRawResponse:
|
|
818
|
-
|
|
819
|
-
| undefined = undefined;
|
|
812
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
813
|
+
undefined;
|
|
820
814
|
const providedCallback = args.options?.onResponse;
|
|
821
815
|
const callback: coreClient.RawResponseCallback = (
|
|
822
816
|
rawResponse: coreClient.FullOperationResponse,
|
|
823
|
-
flatResponse: unknown
|
|
817
|
+
flatResponse: unknown,
|
|
824
818
|
) => {
|
|
825
819
|
currentRawResponse = rawResponse;
|
|
826
820
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -829,8 +823,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
829
823
|
...args,
|
|
830
824
|
options: {
|
|
831
825
|
...args.options,
|
|
832
|
-
onResponse: callback
|
|
833
|
-
}
|
|
826
|
+
onResponse: callback,
|
|
827
|
+
},
|
|
834
828
|
};
|
|
835
829
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
836
830
|
return {
|
|
@@ -838,8 +832,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
838
832
|
rawResponse: {
|
|
839
833
|
statusCode: currentRawResponse!.status,
|
|
840
834
|
body: currentRawResponse!.parsedBody,
|
|
841
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
842
|
-
}
|
|
835
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
836
|
+
},
|
|
843
837
|
};
|
|
844
838
|
};
|
|
845
839
|
|
|
@@ -852,16 +846,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
852
846
|
protectionContainerName,
|
|
853
847
|
migrationItemName,
|
|
854
848
|
pauseReplicationInput,
|
|
855
|
-
options
|
|
849
|
+
options,
|
|
856
850
|
},
|
|
857
|
-
spec: pauseReplicationOperationSpec
|
|
851
|
+
spec: pauseReplicationOperationSpec,
|
|
858
852
|
});
|
|
859
853
|
const poller = await createHttpPoller<
|
|
860
854
|
ReplicationMigrationItemsPauseReplicationResponse,
|
|
861
855
|
OperationState<ReplicationMigrationItemsPauseReplicationResponse>
|
|
862
856
|
>(lro, {
|
|
863
857
|
restoreFrom: options?.resumeFrom,
|
|
864
|
-
intervalInMs: options?.updateIntervalInMs
|
|
858
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
865
859
|
});
|
|
866
860
|
await poller.poll();
|
|
867
861
|
return poller;
|
|
@@ -885,7 +879,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
885
879
|
protectionContainerName: string,
|
|
886
880
|
migrationItemName: string,
|
|
887
881
|
pauseReplicationInput: PauseReplicationInput,
|
|
888
|
-
options?: ReplicationMigrationItemsPauseReplicationOptionalParams
|
|
882
|
+
options?: ReplicationMigrationItemsPauseReplicationOptionalParams,
|
|
889
883
|
): Promise<ReplicationMigrationItemsPauseReplicationResponse> {
|
|
890
884
|
const poller = await this.beginPauseReplication(
|
|
891
885
|
resourceName,
|
|
@@ -894,7 +888,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
894
888
|
protectionContainerName,
|
|
895
889
|
migrationItemName,
|
|
896
890
|
pauseReplicationInput,
|
|
897
|
-
options
|
|
891
|
+
options,
|
|
898
892
|
);
|
|
899
893
|
return poller.pollUntilDone();
|
|
900
894
|
}
|
|
@@ -917,7 +911,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
917
911
|
protectionContainerName: string,
|
|
918
912
|
migrationItemName: string,
|
|
919
913
|
resumeReplicationInput: ResumeReplicationInput,
|
|
920
|
-
options?: ReplicationMigrationItemsResumeReplicationOptionalParams
|
|
914
|
+
options?: ReplicationMigrationItemsResumeReplicationOptionalParams,
|
|
921
915
|
): Promise<
|
|
922
916
|
SimplePollerLike<
|
|
923
917
|
OperationState<ReplicationMigrationItemsResumeReplicationResponse>,
|
|
@@ -926,21 +920,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
926
920
|
> {
|
|
927
921
|
const directSendOperation = async (
|
|
928
922
|
args: coreClient.OperationArguments,
|
|
929
|
-
spec: coreClient.OperationSpec
|
|
923
|
+
spec: coreClient.OperationSpec,
|
|
930
924
|
): Promise<ReplicationMigrationItemsResumeReplicationResponse> => {
|
|
931
925
|
return this.client.sendOperationRequest(args, spec);
|
|
932
926
|
};
|
|
933
927
|
const sendOperationFn = async (
|
|
934
928
|
args: coreClient.OperationArguments,
|
|
935
|
-
spec: coreClient.OperationSpec
|
|
929
|
+
spec: coreClient.OperationSpec,
|
|
936
930
|
) => {
|
|
937
|
-
let currentRawResponse:
|
|
938
|
-
|
|
939
|
-
| undefined = undefined;
|
|
931
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
932
|
+
undefined;
|
|
940
933
|
const providedCallback = args.options?.onResponse;
|
|
941
934
|
const callback: coreClient.RawResponseCallback = (
|
|
942
935
|
rawResponse: coreClient.FullOperationResponse,
|
|
943
|
-
flatResponse: unknown
|
|
936
|
+
flatResponse: unknown,
|
|
944
937
|
) => {
|
|
945
938
|
currentRawResponse = rawResponse;
|
|
946
939
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -949,8 +942,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
949
942
|
...args,
|
|
950
943
|
options: {
|
|
951
944
|
...args.options,
|
|
952
|
-
onResponse: callback
|
|
953
|
-
}
|
|
945
|
+
onResponse: callback,
|
|
946
|
+
},
|
|
954
947
|
};
|
|
955
948
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
956
949
|
return {
|
|
@@ -958,8 +951,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
958
951
|
rawResponse: {
|
|
959
952
|
statusCode: currentRawResponse!.status,
|
|
960
953
|
body: currentRawResponse!.parsedBody,
|
|
961
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
962
|
-
}
|
|
954
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
955
|
+
},
|
|
963
956
|
};
|
|
964
957
|
};
|
|
965
958
|
|
|
@@ -972,16 +965,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
972
965
|
protectionContainerName,
|
|
973
966
|
migrationItemName,
|
|
974
967
|
resumeReplicationInput,
|
|
975
|
-
options
|
|
968
|
+
options,
|
|
976
969
|
},
|
|
977
|
-
spec: resumeReplicationOperationSpec
|
|
970
|
+
spec: resumeReplicationOperationSpec,
|
|
978
971
|
});
|
|
979
972
|
const poller = await createHttpPoller<
|
|
980
973
|
ReplicationMigrationItemsResumeReplicationResponse,
|
|
981
974
|
OperationState<ReplicationMigrationItemsResumeReplicationResponse>
|
|
982
975
|
>(lro, {
|
|
983
976
|
restoreFrom: options?.resumeFrom,
|
|
984
|
-
intervalInMs: options?.updateIntervalInMs
|
|
977
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
985
978
|
});
|
|
986
979
|
await poller.poll();
|
|
987
980
|
return poller;
|
|
@@ -1005,7 +998,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1005
998
|
protectionContainerName: string,
|
|
1006
999
|
migrationItemName: string,
|
|
1007
1000
|
resumeReplicationInput: ResumeReplicationInput,
|
|
1008
|
-
options?: ReplicationMigrationItemsResumeReplicationOptionalParams
|
|
1001
|
+
options?: ReplicationMigrationItemsResumeReplicationOptionalParams,
|
|
1009
1002
|
): Promise<ReplicationMigrationItemsResumeReplicationResponse> {
|
|
1010
1003
|
const poller = await this.beginResumeReplication(
|
|
1011
1004
|
resourceName,
|
|
@@ -1014,7 +1007,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1014
1007
|
protectionContainerName,
|
|
1015
1008
|
migrationItemName,
|
|
1016
1009
|
resumeReplicationInput,
|
|
1017
|
-
options
|
|
1010
|
+
options,
|
|
1018
1011
|
);
|
|
1019
1012
|
return poller.pollUntilDone();
|
|
1020
1013
|
}
|
|
@@ -1037,7 +1030,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1037
1030
|
protectionContainerName: string,
|
|
1038
1031
|
migrationItemName: string,
|
|
1039
1032
|
input: ResyncInput,
|
|
1040
|
-
options?: ReplicationMigrationItemsResyncOptionalParams
|
|
1033
|
+
options?: ReplicationMigrationItemsResyncOptionalParams,
|
|
1041
1034
|
): Promise<
|
|
1042
1035
|
SimplePollerLike<
|
|
1043
1036
|
OperationState<ReplicationMigrationItemsResyncResponse>,
|
|
@@ -1046,21 +1039,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
1046
1039
|
> {
|
|
1047
1040
|
const directSendOperation = async (
|
|
1048
1041
|
args: coreClient.OperationArguments,
|
|
1049
|
-
spec: coreClient.OperationSpec
|
|
1042
|
+
spec: coreClient.OperationSpec,
|
|
1050
1043
|
): Promise<ReplicationMigrationItemsResyncResponse> => {
|
|
1051
1044
|
return this.client.sendOperationRequest(args, spec);
|
|
1052
1045
|
};
|
|
1053
1046
|
const sendOperationFn = async (
|
|
1054
1047
|
args: coreClient.OperationArguments,
|
|
1055
|
-
spec: coreClient.OperationSpec
|
|
1048
|
+
spec: coreClient.OperationSpec,
|
|
1056
1049
|
) => {
|
|
1057
|
-
let currentRawResponse:
|
|
1058
|
-
|
|
1059
|
-
| undefined = undefined;
|
|
1050
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
1051
|
+
undefined;
|
|
1060
1052
|
const providedCallback = args.options?.onResponse;
|
|
1061
1053
|
const callback: coreClient.RawResponseCallback = (
|
|
1062
1054
|
rawResponse: coreClient.FullOperationResponse,
|
|
1063
|
-
flatResponse: unknown
|
|
1055
|
+
flatResponse: unknown,
|
|
1064
1056
|
) => {
|
|
1065
1057
|
currentRawResponse = rawResponse;
|
|
1066
1058
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -1069,8 +1061,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1069
1061
|
...args,
|
|
1070
1062
|
options: {
|
|
1071
1063
|
...args.options,
|
|
1072
|
-
onResponse: callback
|
|
1073
|
-
}
|
|
1064
|
+
onResponse: callback,
|
|
1065
|
+
},
|
|
1074
1066
|
};
|
|
1075
1067
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1076
1068
|
return {
|
|
@@ -1078,8 +1070,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1078
1070
|
rawResponse: {
|
|
1079
1071
|
statusCode: currentRawResponse!.status,
|
|
1080
1072
|
body: currentRawResponse!.parsedBody,
|
|
1081
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
1082
|
-
}
|
|
1073
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
1074
|
+
},
|
|
1083
1075
|
};
|
|
1084
1076
|
};
|
|
1085
1077
|
|
|
@@ -1092,16 +1084,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
1092
1084
|
protectionContainerName,
|
|
1093
1085
|
migrationItemName,
|
|
1094
1086
|
input,
|
|
1095
|
-
options
|
|
1087
|
+
options,
|
|
1096
1088
|
},
|
|
1097
|
-
spec: resyncOperationSpec
|
|
1089
|
+
spec: resyncOperationSpec,
|
|
1098
1090
|
});
|
|
1099
1091
|
const poller = await createHttpPoller<
|
|
1100
1092
|
ReplicationMigrationItemsResyncResponse,
|
|
1101
1093
|
OperationState<ReplicationMigrationItemsResyncResponse>
|
|
1102
1094
|
>(lro, {
|
|
1103
1095
|
restoreFrom: options?.resumeFrom,
|
|
1104
|
-
intervalInMs: options?.updateIntervalInMs
|
|
1096
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
1105
1097
|
});
|
|
1106
1098
|
await poller.poll();
|
|
1107
1099
|
return poller;
|
|
@@ -1125,7 +1117,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1125
1117
|
protectionContainerName: string,
|
|
1126
1118
|
migrationItemName: string,
|
|
1127
1119
|
input: ResyncInput,
|
|
1128
|
-
options?: ReplicationMigrationItemsResyncOptionalParams
|
|
1120
|
+
options?: ReplicationMigrationItemsResyncOptionalParams,
|
|
1129
1121
|
): Promise<ReplicationMigrationItemsResyncResponse> {
|
|
1130
1122
|
const poller = await this.beginResync(
|
|
1131
1123
|
resourceName,
|
|
@@ -1134,7 +1126,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1134
1126
|
protectionContainerName,
|
|
1135
1127
|
migrationItemName,
|
|
1136
1128
|
input,
|
|
1137
|
-
options
|
|
1129
|
+
options,
|
|
1138
1130
|
);
|
|
1139
1131
|
return poller.pollUntilDone();
|
|
1140
1132
|
}
|
|
@@ -1157,7 +1149,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1157
1149
|
protectionContainerName: string,
|
|
1158
1150
|
migrationItemName: string,
|
|
1159
1151
|
testMigrateInput: TestMigrateInput,
|
|
1160
|
-
options?: ReplicationMigrationItemsTestMigrateOptionalParams
|
|
1152
|
+
options?: ReplicationMigrationItemsTestMigrateOptionalParams,
|
|
1161
1153
|
): Promise<
|
|
1162
1154
|
SimplePollerLike<
|
|
1163
1155
|
OperationState<ReplicationMigrationItemsTestMigrateResponse>,
|
|
@@ -1166,21 +1158,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
1166
1158
|
> {
|
|
1167
1159
|
const directSendOperation = async (
|
|
1168
1160
|
args: coreClient.OperationArguments,
|
|
1169
|
-
spec: coreClient.OperationSpec
|
|
1161
|
+
spec: coreClient.OperationSpec,
|
|
1170
1162
|
): Promise<ReplicationMigrationItemsTestMigrateResponse> => {
|
|
1171
1163
|
return this.client.sendOperationRequest(args, spec);
|
|
1172
1164
|
};
|
|
1173
1165
|
const sendOperationFn = async (
|
|
1174
1166
|
args: coreClient.OperationArguments,
|
|
1175
|
-
spec: coreClient.OperationSpec
|
|
1167
|
+
spec: coreClient.OperationSpec,
|
|
1176
1168
|
) => {
|
|
1177
|
-
let currentRawResponse:
|
|
1178
|
-
|
|
1179
|
-
| undefined = undefined;
|
|
1169
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
1170
|
+
undefined;
|
|
1180
1171
|
const providedCallback = args.options?.onResponse;
|
|
1181
1172
|
const callback: coreClient.RawResponseCallback = (
|
|
1182
1173
|
rawResponse: coreClient.FullOperationResponse,
|
|
1183
|
-
flatResponse: unknown
|
|
1174
|
+
flatResponse: unknown,
|
|
1184
1175
|
) => {
|
|
1185
1176
|
currentRawResponse = rawResponse;
|
|
1186
1177
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -1189,8 +1180,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1189
1180
|
...args,
|
|
1190
1181
|
options: {
|
|
1191
1182
|
...args.options,
|
|
1192
|
-
onResponse: callback
|
|
1193
|
-
}
|
|
1183
|
+
onResponse: callback,
|
|
1184
|
+
},
|
|
1194
1185
|
};
|
|
1195
1186
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1196
1187
|
return {
|
|
@@ -1198,8 +1189,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1198
1189
|
rawResponse: {
|
|
1199
1190
|
statusCode: currentRawResponse!.status,
|
|
1200
1191
|
body: currentRawResponse!.parsedBody,
|
|
1201
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
1202
|
-
}
|
|
1192
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
1193
|
+
},
|
|
1203
1194
|
};
|
|
1204
1195
|
};
|
|
1205
1196
|
|
|
@@ -1212,16 +1203,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
1212
1203
|
protectionContainerName,
|
|
1213
1204
|
migrationItemName,
|
|
1214
1205
|
testMigrateInput,
|
|
1215
|
-
options
|
|
1206
|
+
options,
|
|
1216
1207
|
},
|
|
1217
|
-
spec: testMigrateOperationSpec
|
|
1208
|
+
spec: testMigrateOperationSpec,
|
|
1218
1209
|
});
|
|
1219
1210
|
const poller = await createHttpPoller<
|
|
1220
1211
|
ReplicationMigrationItemsTestMigrateResponse,
|
|
1221
1212
|
OperationState<ReplicationMigrationItemsTestMigrateResponse>
|
|
1222
1213
|
>(lro, {
|
|
1223
1214
|
restoreFrom: options?.resumeFrom,
|
|
1224
|
-
intervalInMs: options?.updateIntervalInMs
|
|
1215
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
1225
1216
|
});
|
|
1226
1217
|
await poller.poll();
|
|
1227
1218
|
return poller;
|
|
@@ -1245,7 +1236,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1245
1236
|
protectionContainerName: string,
|
|
1246
1237
|
migrationItemName: string,
|
|
1247
1238
|
testMigrateInput: TestMigrateInput,
|
|
1248
|
-
options?: ReplicationMigrationItemsTestMigrateOptionalParams
|
|
1239
|
+
options?: ReplicationMigrationItemsTestMigrateOptionalParams,
|
|
1249
1240
|
): Promise<ReplicationMigrationItemsTestMigrateResponse> {
|
|
1250
1241
|
const poller = await this.beginTestMigrate(
|
|
1251
1242
|
resourceName,
|
|
@@ -1254,7 +1245,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1254
1245
|
protectionContainerName,
|
|
1255
1246
|
migrationItemName,
|
|
1256
1247
|
testMigrateInput,
|
|
1257
|
-
options
|
|
1248
|
+
options,
|
|
1258
1249
|
);
|
|
1259
1250
|
return poller.pollUntilDone();
|
|
1260
1251
|
}
|
|
@@ -1277,7 +1268,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1277
1268
|
protectionContainerName: string,
|
|
1278
1269
|
migrationItemName: string,
|
|
1279
1270
|
testMigrateCleanupInput: TestMigrateCleanupInput,
|
|
1280
|
-
options?: ReplicationMigrationItemsTestMigrateCleanupOptionalParams
|
|
1271
|
+
options?: ReplicationMigrationItemsTestMigrateCleanupOptionalParams,
|
|
1281
1272
|
): Promise<
|
|
1282
1273
|
SimplePollerLike<
|
|
1283
1274
|
OperationState<ReplicationMigrationItemsTestMigrateCleanupResponse>,
|
|
@@ -1286,21 +1277,20 @@ export class ReplicationMigrationItemsImpl
|
|
|
1286
1277
|
> {
|
|
1287
1278
|
const directSendOperation = async (
|
|
1288
1279
|
args: coreClient.OperationArguments,
|
|
1289
|
-
spec: coreClient.OperationSpec
|
|
1280
|
+
spec: coreClient.OperationSpec,
|
|
1290
1281
|
): Promise<ReplicationMigrationItemsTestMigrateCleanupResponse> => {
|
|
1291
1282
|
return this.client.sendOperationRequest(args, spec);
|
|
1292
1283
|
};
|
|
1293
1284
|
const sendOperationFn = async (
|
|
1294
1285
|
args: coreClient.OperationArguments,
|
|
1295
|
-
spec: coreClient.OperationSpec
|
|
1286
|
+
spec: coreClient.OperationSpec,
|
|
1296
1287
|
) => {
|
|
1297
|
-
let currentRawResponse:
|
|
1298
|
-
|
|
1299
|
-
| undefined = undefined;
|
|
1288
|
+
let currentRawResponse: coreClient.FullOperationResponse | undefined =
|
|
1289
|
+
undefined;
|
|
1300
1290
|
const providedCallback = args.options?.onResponse;
|
|
1301
1291
|
const callback: coreClient.RawResponseCallback = (
|
|
1302
1292
|
rawResponse: coreClient.FullOperationResponse,
|
|
1303
|
-
flatResponse: unknown
|
|
1293
|
+
flatResponse: unknown,
|
|
1304
1294
|
) => {
|
|
1305
1295
|
currentRawResponse = rawResponse;
|
|
1306
1296
|
providedCallback?.(rawResponse, flatResponse);
|
|
@@ -1309,8 +1299,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1309
1299
|
...args,
|
|
1310
1300
|
options: {
|
|
1311
1301
|
...args.options,
|
|
1312
|
-
onResponse: callback
|
|
1313
|
-
}
|
|
1302
|
+
onResponse: callback,
|
|
1303
|
+
},
|
|
1314
1304
|
};
|
|
1315
1305
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
1316
1306
|
return {
|
|
@@ -1318,8 +1308,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1318
1308
|
rawResponse: {
|
|
1319
1309
|
statusCode: currentRawResponse!.status,
|
|
1320
1310
|
body: currentRawResponse!.parsedBody,
|
|
1321
|
-
headers: currentRawResponse!.headers.toJSON()
|
|
1322
|
-
}
|
|
1311
|
+
headers: currentRawResponse!.headers.toJSON(),
|
|
1312
|
+
},
|
|
1323
1313
|
};
|
|
1324
1314
|
};
|
|
1325
1315
|
|
|
@@ -1332,16 +1322,16 @@ export class ReplicationMigrationItemsImpl
|
|
|
1332
1322
|
protectionContainerName,
|
|
1333
1323
|
migrationItemName,
|
|
1334
1324
|
testMigrateCleanupInput,
|
|
1335
|
-
options
|
|
1325
|
+
options,
|
|
1336
1326
|
},
|
|
1337
|
-
spec: testMigrateCleanupOperationSpec
|
|
1327
|
+
spec: testMigrateCleanupOperationSpec,
|
|
1338
1328
|
});
|
|
1339
1329
|
const poller = await createHttpPoller<
|
|
1340
1330
|
ReplicationMigrationItemsTestMigrateCleanupResponse,
|
|
1341
1331
|
OperationState<ReplicationMigrationItemsTestMigrateCleanupResponse>
|
|
1342
1332
|
>(lro, {
|
|
1343
1333
|
restoreFrom: options?.resumeFrom,
|
|
1344
|
-
intervalInMs: options?.updateIntervalInMs
|
|
1334
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
1345
1335
|
});
|
|
1346
1336
|
await poller.poll();
|
|
1347
1337
|
return poller;
|
|
@@ -1365,7 +1355,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1365
1355
|
protectionContainerName: string,
|
|
1366
1356
|
migrationItemName: string,
|
|
1367
1357
|
testMigrateCleanupInput: TestMigrateCleanupInput,
|
|
1368
|
-
options?: ReplicationMigrationItemsTestMigrateCleanupOptionalParams
|
|
1358
|
+
options?: ReplicationMigrationItemsTestMigrateCleanupOptionalParams,
|
|
1369
1359
|
): Promise<ReplicationMigrationItemsTestMigrateCleanupResponse> {
|
|
1370
1360
|
const poller = await this.beginTestMigrateCleanup(
|
|
1371
1361
|
resourceName,
|
|
@@ -1374,7 +1364,7 @@ export class ReplicationMigrationItemsImpl
|
|
|
1374
1364
|
protectionContainerName,
|
|
1375
1365
|
migrationItemName,
|
|
1376
1366
|
testMigrateCleanupInput,
|
|
1377
|
-
options
|
|
1367
|
+
options,
|
|
1378
1368
|
);
|
|
1379
1369
|
return poller.pollUntilDone();
|
|
1380
1370
|
}
|
|
@@ -1389,11 +1379,11 @@ export class ReplicationMigrationItemsImpl
|
|
|
1389
1379
|
private _list(
|
|
1390
1380
|
resourceName: string,
|
|
1391
1381
|
resourceGroupName: string,
|
|
1392
|
-
options?: ReplicationMigrationItemsListOptionalParams
|
|
1382
|
+
options?: ReplicationMigrationItemsListOptionalParams,
|
|
1393
1383
|
): Promise<ReplicationMigrationItemsListResponse> {
|
|
1394
1384
|
return this.client.sendOperationRequest(
|
|
1395
1385
|
{ resourceName, resourceGroupName, options },
|
|
1396
|
-
listOperationSpec
|
|
1386
|
+
listOperationSpec,
|
|
1397
1387
|
);
|
|
1398
1388
|
}
|
|
1399
1389
|
|
|
@@ -1414,10 +1404,8 @@ export class ReplicationMigrationItemsImpl
|
|
|
1414
1404
|
fabricName: string,
|
|
1415
1405
|
protectionContainerName: string,
|
|
1416
1406
|
nextLink: string,
|
|
1417
|
-
options?: ReplicationMigrationItemsListByReplicationProtectionContainersNextOptionalParams
|
|
1418
|
-
): Promise<
|
|
1419
|
-
ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse
|
|
1420
|
-
> {
|
|
1407
|
+
options?: ReplicationMigrationItemsListByReplicationProtectionContainersNextOptionalParams,
|
|
1408
|
+
): Promise<ReplicationMigrationItemsListByReplicationProtectionContainersNextResponse> {
|
|
1421
1409
|
return this.client.sendOperationRequest(
|
|
1422
1410
|
{
|
|
1423
1411
|
resourceName,
|
|
@@ -1425,9 +1413,9 @@ export class ReplicationMigrationItemsImpl
|
|
|
1425
1413
|
fabricName,
|
|
1426
1414
|
protectionContainerName,
|
|
1427
1415
|
nextLink,
|
|
1428
|
-
options
|
|
1416
|
+
options,
|
|
1429
1417
|
},
|
|
1430
|
-
listByReplicationProtectionContainersNextOperationSpec
|
|
1418
|
+
listByReplicationProtectionContainersNextOperationSpec,
|
|
1431
1419
|
);
|
|
1432
1420
|
}
|
|
1433
1421
|
|
|
@@ -1443,51 +1431,50 @@ export class ReplicationMigrationItemsImpl
|
|
|
1443
1431
|
resourceName: string,
|
|
1444
1432
|
resourceGroupName: string,
|
|
1445
1433
|
nextLink: string,
|
|
1446
|
-
options?: ReplicationMigrationItemsListNextOptionalParams
|
|
1434
|
+
options?: ReplicationMigrationItemsListNextOptionalParams,
|
|
1447
1435
|
): Promise<ReplicationMigrationItemsListNextResponse> {
|
|
1448
1436
|
return this.client.sendOperationRequest(
|
|
1449
1437
|
{ resourceName, resourceGroupName, nextLink, options },
|
|
1450
|
-
listNextOperationSpec
|
|
1438
|
+
listNextOperationSpec,
|
|
1451
1439
|
);
|
|
1452
1440
|
}
|
|
1453
1441
|
}
|
|
1454
1442
|
// Operation Specifications
|
|
1455
1443
|
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1456
1444
|
|
|
1457
|
-
const listByReplicationProtectionContainersOperationSpec: coreClient.OperationSpec =
|
|
1458
|
-
|
|
1459
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems",
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
};
|
|
1445
|
+
const listByReplicationProtectionContainersOperationSpec: coreClient.OperationSpec =
|
|
1446
|
+
{
|
|
1447
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems",
|
|
1448
|
+
httpMethod: "GET",
|
|
1449
|
+
responses: {
|
|
1450
|
+
200: {
|
|
1451
|
+
bodyMapper: Mappers.MigrationItemCollection,
|
|
1452
|
+
},
|
|
1453
|
+
},
|
|
1454
|
+
queryParameters: [
|
|
1455
|
+
Parameters.apiVersion,
|
|
1456
|
+
Parameters.filter,
|
|
1457
|
+
Parameters.skipToken,
|
|
1458
|
+
Parameters.takeToken,
|
|
1459
|
+
],
|
|
1460
|
+
urlParameters: [
|
|
1461
|
+
Parameters.$host,
|
|
1462
|
+
Parameters.resourceGroupName,
|
|
1463
|
+
Parameters.subscriptionId,
|
|
1464
|
+
Parameters.resourceName,
|
|
1465
|
+
Parameters.fabricName,
|
|
1466
|
+
Parameters.protectionContainerName,
|
|
1467
|
+
],
|
|
1468
|
+
headerParameters: [Parameters.accept],
|
|
1469
|
+
serializer,
|
|
1470
|
+
};
|
|
1483
1471
|
const getOperationSpec: coreClient.OperationSpec = {
|
|
1484
|
-
path:
|
|
1485
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1472
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1486
1473
|
httpMethod: "GET",
|
|
1487
1474
|
responses: {
|
|
1488
1475
|
200: {
|
|
1489
|
-
bodyMapper: Mappers.MigrationItem
|
|
1490
|
-
}
|
|
1476
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1477
|
+
},
|
|
1491
1478
|
},
|
|
1492
1479
|
queryParameters: [Parameters.apiVersion],
|
|
1493
1480
|
urlParameters: [
|
|
@@ -1497,28 +1484,27 @@ const getOperationSpec: coreClient.OperationSpec = {
|
|
|
1497
1484
|
Parameters.resourceName,
|
|
1498
1485
|
Parameters.fabricName,
|
|
1499
1486
|
Parameters.protectionContainerName,
|
|
1500
|
-
Parameters.migrationItemName
|
|
1487
|
+
Parameters.migrationItemName,
|
|
1501
1488
|
],
|
|
1502
1489
|
headerParameters: [Parameters.accept],
|
|
1503
|
-
serializer
|
|
1490
|
+
serializer,
|
|
1504
1491
|
};
|
|
1505
1492
|
const createOperationSpec: coreClient.OperationSpec = {
|
|
1506
|
-
path:
|
|
1507
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1493
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1508
1494
|
httpMethod: "PUT",
|
|
1509
1495
|
responses: {
|
|
1510
1496
|
200: {
|
|
1511
|
-
bodyMapper: Mappers.MigrationItem
|
|
1497
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1512
1498
|
},
|
|
1513
1499
|
201: {
|
|
1514
|
-
bodyMapper: Mappers.MigrationItem
|
|
1500
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1515
1501
|
},
|
|
1516
1502
|
202: {
|
|
1517
|
-
bodyMapper: Mappers.MigrationItem
|
|
1503
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1518
1504
|
},
|
|
1519
1505
|
204: {
|
|
1520
|
-
bodyMapper: Mappers.MigrationItem
|
|
1521
|
-
}
|
|
1506
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1507
|
+
},
|
|
1522
1508
|
},
|
|
1523
1509
|
requestBody: Parameters.input3,
|
|
1524
1510
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1529,15 +1515,14 @@ const createOperationSpec: coreClient.OperationSpec = {
|
|
|
1529
1515
|
Parameters.resourceName,
|
|
1530
1516
|
Parameters.fabricName,
|
|
1531
1517
|
Parameters.protectionContainerName,
|
|
1532
|
-
Parameters.migrationItemName
|
|
1518
|
+
Parameters.migrationItemName,
|
|
1533
1519
|
],
|
|
1534
1520
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1535
1521
|
mediaType: "json",
|
|
1536
|
-
serializer
|
|
1522
|
+
serializer,
|
|
1537
1523
|
};
|
|
1538
1524
|
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1539
|
-
path:
|
|
1540
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1525
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1541
1526
|
httpMethod: "DELETE",
|
|
1542
1527
|
responses: { 200: {}, 201: {}, 202: {}, 204: {} },
|
|
1543
1528
|
queryParameters: [Parameters.apiVersion, Parameters.deleteOption],
|
|
@@ -1548,27 +1533,26 @@ const deleteOperationSpec: coreClient.OperationSpec = {
|
|
|
1548
1533
|
Parameters.resourceName,
|
|
1549
1534
|
Parameters.fabricName,
|
|
1550
1535
|
Parameters.protectionContainerName,
|
|
1551
|
-
Parameters.migrationItemName
|
|
1536
|
+
Parameters.migrationItemName,
|
|
1552
1537
|
],
|
|
1553
|
-
serializer
|
|
1538
|
+
serializer,
|
|
1554
1539
|
};
|
|
1555
1540
|
const updateOperationSpec: coreClient.OperationSpec = {
|
|
1556
|
-
path:
|
|
1557
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1541
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}",
|
|
1558
1542
|
httpMethod: "PATCH",
|
|
1559
1543
|
responses: {
|
|
1560
1544
|
200: {
|
|
1561
|
-
bodyMapper: Mappers.MigrationItem
|
|
1545
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1562
1546
|
},
|
|
1563
1547
|
201: {
|
|
1564
|
-
bodyMapper: Mappers.MigrationItem
|
|
1548
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1565
1549
|
},
|
|
1566
1550
|
202: {
|
|
1567
|
-
bodyMapper: Mappers.MigrationItem
|
|
1551
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1568
1552
|
},
|
|
1569
1553
|
204: {
|
|
1570
|
-
bodyMapper: Mappers.MigrationItem
|
|
1571
|
-
}
|
|
1554
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1555
|
+
},
|
|
1572
1556
|
},
|
|
1573
1557
|
requestBody: Parameters.input4,
|
|
1574
1558
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1579,29 +1563,28 @@ const updateOperationSpec: coreClient.OperationSpec = {
|
|
|
1579
1563
|
Parameters.resourceName,
|
|
1580
1564
|
Parameters.fabricName,
|
|
1581
1565
|
Parameters.protectionContainerName,
|
|
1582
|
-
Parameters.migrationItemName
|
|
1566
|
+
Parameters.migrationItemName,
|
|
1583
1567
|
],
|
|
1584
1568
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1585
1569
|
mediaType: "json",
|
|
1586
|
-
serializer
|
|
1570
|
+
serializer,
|
|
1587
1571
|
};
|
|
1588
1572
|
const migrateOperationSpec: coreClient.OperationSpec = {
|
|
1589
|
-
path:
|
|
1590
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate",
|
|
1573
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/migrate",
|
|
1591
1574
|
httpMethod: "POST",
|
|
1592
1575
|
responses: {
|
|
1593
1576
|
200: {
|
|
1594
|
-
bodyMapper: Mappers.MigrationItem
|
|
1577
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1595
1578
|
},
|
|
1596
1579
|
201: {
|
|
1597
|
-
bodyMapper: Mappers.MigrationItem
|
|
1580
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1598
1581
|
},
|
|
1599
1582
|
202: {
|
|
1600
|
-
bodyMapper: Mappers.MigrationItem
|
|
1583
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1601
1584
|
},
|
|
1602
1585
|
204: {
|
|
1603
|
-
bodyMapper: Mappers.MigrationItem
|
|
1604
|
-
}
|
|
1586
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1587
|
+
},
|
|
1605
1588
|
},
|
|
1606
1589
|
requestBody: Parameters.migrateInput,
|
|
1607
1590
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1612,29 +1595,28 @@ const migrateOperationSpec: coreClient.OperationSpec = {
|
|
|
1612
1595
|
Parameters.resourceName,
|
|
1613
1596
|
Parameters.fabricName,
|
|
1614
1597
|
Parameters.protectionContainerName,
|
|
1615
|
-
Parameters.migrationItemName
|
|
1598
|
+
Parameters.migrationItemName,
|
|
1616
1599
|
],
|
|
1617
1600
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1618
1601
|
mediaType: "json",
|
|
1619
|
-
serializer
|
|
1602
|
+
serializer,
|
|
1620
1603
|
};
|
|
1621
1604
|
const pauseReplicationOperationSpec: coreClient.OperationSpec = {
|
|
1622
|
-
path:
|
|
1623
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/pauseReplication",
|
|
1605
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/pauseReplication",
|
|
1624
1606
|
httpMethod: "POST",
|
|
1625
1607
|
responses: {
|
|
1626
1608
|
200: {
|
|
1627
|
-
bodyMapper: Mappers.MigrationItem
|
|
1609
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1628
1610
|
},
|
|
1629
1611
|
201: {
|
|
1630
|
-
bodyMapper: Mappers.MigrationItem
|
|
1612
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1631
1613
|
},
|
|
1632
1614
|
202: {
|
|
1633
|
-
bodyMapper: Mappers.MigrationItem
|
|
1615
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1634
1616
|
},
|
|
1635
1617
|
204: {
|
|
1636
|
-
bodyMapper: Mappers.MigrationItem
|
|
1637
|
-
}
|
|
1618
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1619
|
+
},
|
|
1638
1620
|
},
|
|
1639
1621
|
requestBody: Parameters.pauseReplicationInput,
|
|
1640
1622
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1645,29 +1627,28 @@ const pauseReplicationOperationSpec: coreClient.OperationSpec = {
|
|
|
1645
1627
|
Parameters.resourceName,
|
|
1646
1628
|
Parameters.fabricName,
|
|
1647
1629
|
Parameters.protectionContainerName,
|
|
1648
|
-
Parameters.migrationItemName
|
|
1630
|
+
Parameters.migrationItemName,
|
|
1649
1631
|
],
|
|
1650
1632
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1651
1633
|
mediaType: "json",
|
|
1652
|
-
serializer
|
|
1634
|
+
serializer,
|
|
1653
1635
|
};
|
|
1654
1636
|
const resumeReplicationOperationSpec: coreClient.OperationSpec = {
|
|
1655
|
-
path:
|
|
1656
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resumeReplication",
|
|
1637
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resumeReplication",
|
|
1657
1638
|
httpMethod: "POST",
|
|
1658
1639
|
responses: {
|
|
1659
1640
|
200: {
|
|
1660
|
-
bodyMapper: Mappers.MigrationItem
|
|
1641
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1661
1642
|
},
|
|
1662
1643
|
201: {
|
|
1663
|
-
bodyMapper: Mappers.MigrationItem
|
|
1644
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1664
1645
|
},
|
|
1665
1646
|
202: {
|
|
1666
|
-
bodyMapper: Mappers.MigrationItem
|
|
1647
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1667
1648
|
},
|
|
1668
1649
|
204: {
|
|
1669
|
-
bodyMapper: Mappers.MigrationItem
|
|
1670
|
-
}
|
|
1650
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1651
|
+
},
|
|
1671
1652
|
},
|
|
1672
1653
|
requestBody: Parameters.resumeReplicationInput,
|
|
1673
1654
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1678,29 +1659,28 @@ const resumeReplicationOperationSpec: coreClient.OperationSpec = {
|
|
|
1678
1659
|
Parameters.resourceName,
|
|
1679
1660
|
Parameters.fabricName,
|
|
1680
1661
|
Parameters.protectionContainerName,
|
|
1681
|
-
Parameters.migrationItemName
|
|
1662
|
+
Parameters.migrationItemName,
|
|
1682
1663
|
],
|
|
1683
1664
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1684
1665
|
mediaType: "json",
|
|
1685
|
-
serializer
|
|
1666
|
+
serializer,
|
|
1686
1667
|
};
|
|
1687
1668
|
const resyncOperationSpec: coreClient.OperationSpec = {
|
|
1688
|
-
path:
|
|
1689
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resync",
|
|
1669
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/resync",
|
|
1690
1670
|
httpMethod: "POST",
|
|
1691
1671
|
responses: {
|
|
1692
1672
|
200: {
|
|
1693
|
-
bodyMapper: Mappers.MigrationItem
|
|
1673
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1694
1674
|
},
|
|
1695
1675
|
201: {
|
|
1696
|
-
bodyMapper: Mappers.MigrationItem
|
|
1676
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1697
1677
|
},
|
|
1698
1678
|
202: {
|
|
1699
|
-
bodyMapper: Mappers.MigrationItem
|
|
1679
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1700
1680
|
},
|
|
1701
1681
|
204: {
|
|
1702
|
-
bodyMapper: Mappers.MigrationItem
|
|
1703
|
-
}
|
|
1682
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1683
|
+
},
|
|
1704
1684
|
},
|
|
1705
1685
|
requestBody: Parameters.input5,
|
|
1706
1686
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1711,29 +1691,28 @@ const resyncOperationSpec: coreClient.OperationSpec = {
|
|
|
1711
1691
|
Parameters.resourceName,
|
|
1712
1692
|
Parameters.fabricName,
|
|
1713
1693
|
Parameters.protectionContainerName,
|
|
1714
|
-
Parameters.migrationItemName
|
|
1694
|
+
Parameters.migrationItemName,
|
|
1715
1695
|
],
|
|
1716
1696
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1717
1697
|
mediaType: "json",
|
|
1718
|
-
serializer
|
|
1698
|
+
serializer,
|
|
1719
1699
|
};
|
|
1720
1700
|
const testMigrateOperationSpec: coreClient.OperationSpec = {
|
|
1721
|
-
path:
|
|
1722
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate",
|
|
1701
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrate",
|
|
1723
1702
|
httpMethod: "POST",
|
|
1724
1703
|
responses: {
|
|
1725
1704
|
200: {
|
|
1726
|
-
bodyMapper: Mappers.MigrationItem
|
|
1705
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1727
1706
|
},
|
|
1728
1707
|
201: {
|
|
1729
|
-
bodyMapper: Mappers.MigrationItem
|
|
1708
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1730
1709
|
},
|
|
1731
1710
|
202: {
|
|
1732
|
-
bodyMapper: Mappers.MigrationItem
|
|
1711
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1733
1712
|
},
|
|
1734
1713
|
204: {
|
|
1735
|
-
bodyMapper: Mappers.MigrationItem
|
|
1736
|
-
}
|
|
1714
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1715
|
+
},
|
|
1737
1716
|
},
|
|
1738
1717
|
requestBody: Parameters.testMigrateInput,
|
|
1739
1718
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1744,29 +1723,28 @@ const testMigrateOperationSpec: coreClient.OperationSpec = {
|
|
|
1744
1723
|
Parameters.resourceName,
|
|
1745
1724
|
Parameters.fabricName,
|
|
1746
1725
|
Parameters.protectionContainerName,
|
|
1747
|
-
Parameters.migrationItemName
|
|
1726
|
+
Parameters.migrationItemName,
|
|
1748
1727
|
],
|
|
1749
1728
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1750
1729
|
mediaType: "json",
|
|
1751
|
-
serializer
|
|
1730
|
+
serializer,
|
|
1752
1731
|
};
|
|
1753
1732
|
const testMigrateCleanupOperationSpec: coreClient.OperationSpec = {
|
|
1754
|
-
path:
|
|
1755
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup",
|
|
1733
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationProtectionContainers/{protectionContainerName}/replicationMigrationItems/{migrationItemName}/testMigrateCleanup",
|
|
1756
1734
|
httpMethod: "POST",
|
|
1757
1735
|
responses: {
|
|
1758
1736
|
200: {
|
|
1759
|
-
bodyMapper: Mappers.MigrationItem
|
|
1737
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1760
1738
|
},
|
|
1761
1739
|
201: {
|
|
1762
|
-
bodyMapper: Mappers.MigrationItem
|
|
1740
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1763
1741
|
},
|
|
1764
1742
|
202: {
|
|
1765
|
-
bodyMapper: Mappers.MigrationItem
|
|
1743
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1766
1744
|
},
|
|
1767
1745
|
204: {
|
|
1768
|
-
bodyMapper: Mappers.MigrationItem
|
|
1769
|
-
}
|
|
1746
|
+
bodyMapper: Mappers.MigrationItem,
|
|
1747
|
+
},
|
|
1770
1748
|
},
|
|
1771
1749
|
requestBody: Parameters.testMigrateCleanupInput,
|
|
1772
1750
|
queryParameters: [Parameters.apiVersion],
|
|
@@ -1777,71 +1755,71 @@ const testMigrateCleanupOperationSpec: coreClient.OperationSpec = {
|
|
|
1777
1755
|
Parameters.resourceName,
|
|
1778
1756
|
Parameters.fabricName,
|
|
1779
1757
|
Parameters.protectionContainerName,
|
|
1780
|
-
Parameters.migrationItemName
|
|
1758
|
+
Parameters.migrationItemName,
|
|
1781
1759
|
],
|
|
1782
1760
|
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1783
1761
|
mediaType: "json",
|
|
1784
|
-
serializer
|
|
1762
|
+
serializer,
|
|
1785
1763
|
};
|
|
1786
1764
|
const listOperationSpec: coreClient.OperationSpec = {
|
|
1787
|
-
path:
|
|
1788
|
-
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems",
|
|
1765
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationMigrationItems",
|
|
1789
1766
|
httpMethod: "GET",
|
|
1790
1767
|
responses: {
|
|
1791
1768
|
200: {
|
|
1792
|
-
bodyMapper: Mappers.MigrationItemCollection
|
|
1793
|
-
}
|
|
1769
|
+
bodyMapper: Mappers.MigrationItemCollection,
|
|
1770
|
+
},
|
|
1794
1771
|
},
|
|
1795
1772
|
queryParameters: [
|
|
1796
1773
|
Parameters.apiVersion,
|
|
1797
1774
|
Parameters.filter,
|
|
1798
1775
|
Parameters.skipToken,
|
|
1799
|
-
Parameters.takeToken
|
|
1776
|
+
Parameters.takeToken,
|
|
1800
1777
|
],
|
|
1801
1778
|
urlParameters: [
|
|
1802
1779
|
Parameters.$host,
|
|
1803
1780
|
Parameters.resourceGroupName,
|
|
1804
1781
|
Parameters.subscriptionId,
|
|
1805
|
-
Parameters.resourceName
|
|
1806
|
-
],
|
|
1807
|
-
headerParameters: [Parameters.accept],
|
|
1808
|
-
serializer
|
|
1809
|
-
};
|
|
1810
|
-
const listByReplicationProtectionContainersNextOperationSpec: coreClient.OperationSpec = {
|
|
1811
|
-
path: "{nextLink}",
|
|
1812
|
-
httpMethod: "GET",
|
|
1813
|
-
responses: {
|
|
1814
|
-
200: {
|
|
1815
|
-
bodyMapper: Mappers.MigrationItemCollection
|
|
1816
|
-
}
|
|
1817
|
-
},
|
|
1818
|
-
urlParameters: [
|
|
1819
|
-
Parameters.$host,
|
|
1820
|
-
Parameters.resourceGroupName,
|
|
1821
|
-
Parameters.subscriptionId,
|
|
1822
|
-
Parameters.nextLink,
|
|
1823
1782
|
Parameters.resourceName,
|
|
1824
|
-
Parameters.fabricName,
|
|
1825
|
-
Parameters.protectionContainerName
|
|
1826
1783
|
],
|
|
1827
1784
|
headerParameters: [Parameters.accept],
|
|
1828
|
-
serializer
|
|
1785
|
+
serializer,
|
|
1829
1786
|
};
|
|
1787
|
+
const listByReplicationProtectionContainersNextOperationSpec: coreClient.OperationSpec =
|
|
1788
|
+
{
|
|
1789
|
+
path: "{nextLink}",
|
|
1790
|
+
httpMethod: "GET",
|
|
1791
|
+
responses: {
|
|
1792
|
+
200: {
|
|
1793
|
+
bodyMapper: Mappers.MigrationItemCollection,
|
|
1794
|
+
},
|
|
1795
|
+
},
|
|
1796
|
+
urlParameters: [
|
|
1797
|
+
Parameters.$host,
|
|
1798
|
+
Parameters.resourceGroupName,
|
|
1799
|
+
Parameters.subscriptionId,
|
|
1800
|
+
Parameters.nextLink,
|
|
1801
|
+
Parameters.resourceName,
|
|
1802
|
+
Parameters.fabricName,
|
|
1803
|
+
Parameters.protectionContainerName,
|
|
1804
|
+
],
|
|
1805
|
+
headerParameters: [Parameters.accept],
|
|
1806
|
+
serializer,
|
|
1807
|
+
};
|
|
1830
1808
|
const listNextOperationSpec: coreClient.OperationSpec = {
|
|
1831
1809
|
path: "{nextLink}",
|
|
1832
1810
|
httpMethod: "GET",
|
|
1833
1811
|
responses: {
|
|
1834
1812
|
200: {
|
|
1835
|
-
bodyMapper: Mappers.MigrationItemCollection
|
|
1836
|
-
}
|
|
1813
|
+
bodyMapper: Mappers.MigrationItemCollection,
|
|
1814
|
+
},
|
|
1837
1815
|
},
|
|
1838
1816
|
urlParameters: [
|
|
1839
1817
|
Parameters.$host,
|
|
1840
1818
|
Parameters.resourceGroupName,
|
|
1841
1819
|
Parameters.subscriptionId,
|
|
1842
1820
|
Parameters.nextLink,
|
|
1843
|
-
Parameters.resourceName
|
|
1821
|
+
Parameters.resourceName,
|
|
1844
1822
|
],
|
|
1845
1823
|
headerParameters: [Parameters.accept],
|
|
1846
|
-
serializer
|
|
1824
|
+
serializer,
|
|
1847
1825
|
};
|