@azure/arm-recoveryservicesbackup 13.2.0-alpha.20250619.1 → 13.2.0-alpha.20250730.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/dist/browser/lroImpl.js +7 -3
- package/dist/browser/lroImpl.js.map +1 -1
- package/dist/browser/models/mappers.js +1192 -518
- package/dist/browser/models/mappers.js.map +1 -1
- package/dist/browser/operations/bMSPrepareDataMoveOperationResult.js +1 -0
- package/dist/browser/operations/bMSPrepareDataMoveOperationResult.js.map +1 -1
- package/dist/browser/operations/backupEngines.js +23 -40
- package/dist/browser/operations/backupEngines.js.map +1 -1
- package/dist/browser/operations/backupJobs.js +23 -40
- package/dist/browser/operations/backupJobs.js.map +1 -1
- package/dist/browser/operations/backupOperationResults.js +1 -0
- package/dist/browser/operations/backupOperationResults.js.map +1 -1
- package/dist/browser/operations/backupOperationStatuses.js +1 -0
- package/dist/browser/operations/backupOperationStatuses.js.map +1 -1
- package/dist/browser/operations/backupPolicies.js +23 -40
- package/dist/browser/operations/backupPolicies.js.map +1 -1
- package/dist/browser/operations/backupProtectableItems.js +23 -40
- package/dist/browser/operations/backupProtectableItems.js.map +1 -1
- package/dist/browser/operations/backupProtectedItems.js +23 -40
- package/dist/browser/operations/backupProtectedItems.js.map +1 -1
- package/dist/browser/operations/backupProtectionContainers.js +23 -40
- package/dist/browser/operations/backupProtectionContainers.js.map +1 -1
- package/dist/browser/operations/backupProtectionIntent.js +23 -40
- package/dist/browser/operations/backupProtectionIntent.js.map +1 -1
- package/dist/browser/operations/backupResourceEncryptionConfigs.js +1 -0
- package/dist/browser/operations/backupResourceEncryptionConfigs.js.map +1 -1
- package/dist/browser/operations/backupResourceStorageConfigsNonCRR.js +1 -0
- package/dist/browser/operations/backupResourceStorageConfigsNonCRR.js.map +1 -1
- package/dist/browser/operations/backupResourceVaultConfigs.js +1 -0
- package/dist/browser/operations/backupResourceVaultConfigs.js.map +1 -1
- package/dist/browser/operations/backupStatus.js +1 -0
- package/dist/browser/operations/backupStatus.js.map +1 -1
- package/dist/browser/operations/backupUsageSummaries.js +10 -27
- package/dist/browser/operations/backupUsageSummaries.js.map +1 -1
- package/dist/browser/operations/backupWorkloadItems.js +23 -40
- package/dist/browser/operations/backupWorkloadItems.js.map +1 -1
- package/dist/browser/operations/backups.js +1 -0
- package/dist/browser/operations/backups.js.map +1 -1
- package/dist/browser/operations/deletedProtectionContainers.js +23 -40
- package/dist/browser/operations/deletedProtectionContainers.js.map +1 -1
- package/dist/browser/operations/exportJobsOperationResults.js +1 -0
- package/dist/browser/operations/exportJobsOperationResults.js.map +1 -1
- package/dist/browser/operations/featureSupport.js +1 -0
- package/dist/browser/operations/featureSupport.js.map +1 -1
- package/dist/browser/operations/fetchTieringCost.js +12 -6
- package/dist/browser/operations/fetchTieringCost.js.map +1 -1
- package/dist/browser/operations/getTieringCostOperationResult.js +1 -0
- package/dist/browser/operations/getTieringCostOperationResult.js.map +1 -1
- package/dist/browser/operations/itemLevelRecoveryConnections.js +1 -0
- package/dist/browser/operations/itemLevelRecoveryConnections.js.map +1 -1
- package/dist/browser/operations/jobCancellations.js +1 -0
- package/dist/browser/operations/jobCancellations.js.map +1 -1
- package/dist/browser/operations/jobDetails.js +1 -0
- package/dist/browser/operations/jobDetails.js.map +1 -1
- package/dist/browser/operations/jobOperationResults.js +1 -0
- package/dist/browser/operations/jobOperationResults.js.map +1 -1
- package/dist/browser/operations/jobs.js +1 -0
- package/dist/browser/operations/jobs.js.map +1 -1
- package/dist/browser/operations/operation.js +1 -0
- package/dist/browser/operations/operation.js.map +1 -1
- package/dist/browser/operations/operations.js +23 -40
- package/dist/browser/operations/operations.js.map +1 -1
- package/dist/browser/operations/privateEndpointConnectionOperations.js +23 -12
- package/dist/browser/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/browser/operations/privateEndpointOperations.js +1 -0
- package/dist/browser/operations/privateEndpointOperations.js.map +1 -1
- package/dist/browser/operations/protectableContainers.js +23 -40
- package/dist/browser/operations/protectableContainers.js.map +1 -1
- package/dist/browser/operations/protectedItemOperationResults.js +1 -0
- package/dist/browser/operations/protectedItemOperationResults.js.map +1 -1
- package/dist/browser/operations/protectedItemOperationStatuses.js +1 -0
- package/dist/browser/operations/protectedItemOperationStatuses.js.map +1 -1
- package/dist/browser/operations/protectedItems.js +1 -0
- package/dist/browser/operations/protectedItems.js.map +1 -1
- package/dist/browser/operations/protectionContainerOperationResults.js +1 -0
- package/dist/browser/operations/protectionContainerOperationResults.js.map +1 -1
- package/dist/browser/operations/protectionContainerRefreshOperationResults.js +1 -0
- package/dist/browser/operations/protectionContainerRefreshOperationResults.js.map +1 -1
- package/dist/browser/operations/protectionContainers.js +12 -6
- package/dist/browser/operations/protectionContainers.js.map +1 -1
- package/dist/browser/operations/protectionIntentOperations.js +1 -0
- package/dist/browser/operations/protectionIntentOperations.js.map +1 -1
- package/dist/browser/operations/protectionPolicies.js +12 -6
- package/dist/browser/operations/protectionPolicies.js.map +1 -1
- package/dist/browser/operations/protectionPolicyOperationResults.js +1 -0
- package/dist/browser/operations/protectionPolicyOperationResults.js.map +1 -1
- package/dist/browser/operations/protectionPolicyOperationStatuses.js +1 -0
- package/dist/browser/operations/protectionPolicyOperationStatuses.js.map +1 -1
- package/dist/browser/operations/recoveryPoints.js +23 -40
- package/dist/browser/operations/recoveryPoints.js.map +1 -1
- package/dist/browser/operations/recoveryPointsRecommendedForMove.js +23 -40
- package/dist/browser/operations/recoveryPointsRecommendedForMove.js.map +1 -1
- package/dist/browser/operations/resourceGuardProxies.js +23 -40
- package/dist/browser/operations/resourceGuardProxies.js.map +1 -1
- package/dist/browser/operations/resourceGuardProxy.js +1 -0
- package/dist/browser/operations/resourceGuardProxy.js.map +1 -1
- package/dist/browser/operations/restores.js +12 -6
- package/dist/browser/operations/restores.js.map +1 -1
- package/dist/browser/operations/securityPINs.js +1 -0
- package/dist/browser/operations/securityPINs.js.map +1 -1
- package/dist/browser/operations/tieringCostOperationStatus.js +1 -0
- package/dist/browser/operations/tieringCostOperationStatus.js.map +1 -1
- package/dist/browser/operations/validateOperation.js +12 -6
- package/dist/browser/operations/validateOperation.js.map +1 -1
- package/dist/browser/operations/validateOperationResults.js +1 -0
- package/dist/browser/operations/validateOperationResults.js.map +1 -1
- package/dist/browser/operations/validateOperationStatuses.js +1 -0
- package/dist/browser/operations/validateOperationStatuses.js.map +1 -1
- package/dist/browser/pagingHelper.js +2 -4
- package/dist/browser/pagingHelper.js.map +1 -1
- package/dist/browser/recoveryServicesBackupClient.js +98 -23
- package/dist/browser/recoveryServicesBackupClient.js.map +1 -1
- package/dist/commonjs/lroImpl.js +7 -3
- package/dist/commonjs/lroImpl.js.map +1 -1
- package/dist/commonjs/models/mappers.js +1192 -518
- package/dist/commonjs/models/mappers.js.map +1 -1
- package/dist/commonjs/operations/bMSPrepareDataMoveOperationResult.js +1 -0
- package/dist/commonjs/operations/bMSPrepareDataMoveOperationResult.js.map +1 -1
- package/dist/commonjs/operations/backupEngines.js +23 -39
- package/dist/commonjs/operations/backupEngines.js.map +1 -1
- package/dist/commonjs/operations/backupJobs.js +23 -39
- package/dist/commonjs/operations/backupJobs.js.map +1 -1
- package/dist/commonjs/operations/backupOperationResults.js +1 -0
- package/dist/commonjs/operations/backupOperationResults.js.map +1 -1
- package/dist/commonjs/operations/backupOperationStatuses.js +1 -0
- package/dist/commonjs/operations/backupOperationStatuses.js.map +1 -1
- package/dist/commonjs/operations/backupPolicies.js +23 -39
- package/dist/commonjs/operations/backupPolicies.js.map +1 -1
- package/dist/commonjs/operations/backupProtectableItems.js +23 -39
- package/dist/commonjs/operations/backupProtectableItems.js.map +1 -1
- package/dist/commonjs/operations/backupProtectedItems.js +23 -39
- package/dist/commonjs/operations/backupProtectedItems.js.map +1 -1
- package/dist/commonjs/operations/backupProtectionContainers.js +23 -39
- package/dist/commonjs/operations/backupProtectionContainers.js.map +1 -1
- package/dist/commonjs/operations/backupProtectionIntent.js +23 -39
- package/dist/commonjs/operations/backupProtectionIntent.js.map +1 -1
- package/dist/commonjs/operations/backupResourceEncryptionConfigs.js +1 -0
- package/dist/commonjs/operations/backupResourceEncryptionConfigs.js.map +1 -1
- package/dist/commonjs/operations/backupResourceStorageConfigsNonCRR.js +1 -0
- package/dist/commonjs/operations/backupResourceStorageConfigsNonCRR.js.map +1 -1
- package/dist/commonjs/operations/backupResourceVaultConfigs.js +1 -0
- package/dist/commonjs/operations/backupResourceVaultConfigs.js.map +1 -1
- package/dist/commonjs/operations/backupStatus.js +1 -0
- package/dist/commonjs/operations/backupStatus.js.map +1 -1
- package/dist/commonjs/operations/backupUsageSummaries.js +10 -26
- package/dist/commonjs/operations/backupUsageSummaries.js.map +1 -1
- package/dist/commonjs/operations/backupWorkloadItems.js +23 -39
- package/dist/commonjs/operations/backupWorkloadItems.js.map +1 -1
- package/dist/commonjs/operations/backups.js +1 -0
- package/dist/commonjs/operations/backups.js.map +1 -1
- package/dist/commonjs/operations/deletedProtectionContainers.js +23 -39
- package/dist/commonjs/operations/deletedProtectionContainers.js.map +1 -1
- package/dist/commonjs/operations/exportJobsOperationResults.js +1 -0
- package/dist/commonjs/operations/exportJobsOperationResults.js.map +1 -1
- package/dist/commonjs/operations/featureSupport.js +1 -0
- package/dist/commonjs/operations/featureSupport.js.map +1 -1
- package/dist/commonjs/operations/fetchTieringCost.js +12 -6
- package/dist/commonjs/operations/fetchTieringCost.js.map +1 -1
- package/dist/commonjs/operations/getTieringCostOperationResult.js +1 -0
- package/dist/commonjs/operations/getTieringCostOperationResult.js.map +1 -1
- package/dist/commonjs/operations/itemLevelRecoveryConnections.js +1 -0
- package/dist/commonjs/operations/itemLevelRecoveryConnections.js.map +1 -1
- package/dist/commonjs/operations/jobCancellations.js +1 -0
- package/dist/commonjs/operations/jobCancellations.js.map +1 -1
- package/dist/commonjs/operations/jobDetails.js +1 -0
- package/dist/commonjs/operations/jobDetails.js.map +1 -1
- package/dist/commonjs/operations/jobOperationResults.js +1 -0
- package/dist/commonjs/operations/jobOperationResults.js.map +1 -1
- package/dist/commonjs/operations/jobs.js +1 -0
- package/dist/commonjs/operations/jobs.js.map +1 -1
- package/dist/commonjs/operations/operation.js +1 -0
- package/dist/commonjs/operations/operation.js.map +1 -1
- package/dist/commonjs/operations/operations.js +23 -39
- package/dist/commonjs/operations/operations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js +23 -12
- package/dist/commonjs/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/commonjs/operations/privateEndpointOperations.js +1 -0
- package/dist/commonjs/operations/privateEndpointOperations.js.map +1 -1
- package/dist/commonjs/operations/protectableContainers.js +23 -39
- package/dist/commonjs/operations/protectableContainers.js.map +1 -1
- package/dist/commonjs/operations/protectedItemOperationResults.js +1 -0
- package/dist/commonjs/operations/protectedItemOperationResults.js.map +1 -1
- package/dist/commonjs/operations/protectedItemOperationStatuses.js +1 -0
- package/dist/commonjs/operations/protectedItemOperationStatuses.js.map +1 -1
- package/dist/commonjs/operations/protectedItems.js +1 -0
- package/dist/commonjs/operations/protectedItems.js.map +1 -1
- package/dist/commonjs/operations/protectionContainerOperationResults.js +1 -0
- package/dist/commonjs/operations/protectionContainerOperationResults.js.map +1 -1
- package/dist/commonjs/operations/protectionContainerRefreshOperationResults.js +1 -0
- package/dist/commonjs/operations/protectionContainerRefreshOperationResults.js.map +1 -1
- package/dist/commonjs/operations/protectionContainers.js +12 -6
- package/dist/commonjs/operations/protectionContainers.js.map +1 -1
- package/dist/commonjs/operations/protectionIntentOperations.js +1 -0
- package/dist/commonjs/operations/protectionIntentOperations.js.map +1 -1
- package/dist/commonjs/operations/protectionPolicies.js +12 -6
- package/dist/commonjs/operations/protectionPolicies.js.map +1 -1
- package/dist/commonjs/operations/protectionPolicyOperationResults.js +1 -0
- package/dist/commonjs/operations/protectionPolicyOperationResults.js.map +1 -1
- package/dist/commonjs/operations/protectionPolicyOperationStatuses.js +1 -0
- package/dist/commonjs/operations/protectionPolicyOperationStatuses.js.map +1 -1
- package/dist/commonjs/operations/recoveryPoints.js +23 -39
- package/dist/commonjs/operations/recoveryPoints.js.map +1 -1
- package/dist/commonjs/operations/recoveryPointsRecommendedForMove.js +23 -39
- package/dist/commonjs/operations/recoveryPointsRecommendedForMove.js.map +1 -1
- package/dist/commonjs/operations/resourceGuardProxies.js +23 -39
- package/dist/commonjs/operations/resourceGuardProxies.js.map +1 -1
- package/dist/commonjs/operations/resourceGuardProxy.js +1 -0
- package/dist/commonjs/operations/resourceGuardProxy.js.map +1 -1
- package/dist/commonjs/operations/restores.js +12 -6
- package/dist/commonjs/operations/restores.js.map +1 -1
- package/dist/commonjs/operations/securityPINs.js +1 -0
- package/dist/commonjs/operations/securityPINs.js.map +1 -1
- package/dist/commonjs/operations/tieringCostOperationStatus.js +1 -0
- package/dist/commonjs/operations/tieringCostOperationStatus.js.map +1 -1
- package/dist/commonjs/operations/validateOperation.js +12 -6
- package/dist/commonjs/operations/validateOperation.js.map +1 -1
- package/dist/commonjs/operations/validateOperationResults.js +1 -0
- package/dist/commonjs/operations/validateOperationResults.js.map +1 -1
- package/dist/commonjs/operations/validateOperationStatuses.js +1 -0
- package/dist/commonjs/operations/validateOperationStatuses.js.map +1 -1
- package/dist/commonjs/pagingHelper.js +2 -4
- package/dist/commonjs/pagingHelper.js.map +1 -1
- package/dist/commonjs/recoveryServicesBackupClient.js +98 -23
- package/dist/commonjs/recoveryServicesBackupClient.js.map +1 -1
- package/dist/commonjs/tsdoc-metadata.json +11 -11
- package/dist/esm/lroImpl.js +7 -3
- package/dist/esm/lroImpl.js.map +1 -1
- package/dist/esm/models/mappers.js +1192 -518
- package/dist/esm/models/mappers.js.map +1 -1
- package/dist/esm/operations/bMSPrepareDataMoveOperationResult.js +1 -0
- package/dist/esm/operations/bMSPrepareDataMoveOperationResult.js.map +1 -1
- package/dist/esm/operations/backupEngines.js +23 -40
- package/dist/esm/operations/backupEngines.js.map +1 -1
- package/dist/esm/operations/backupJobs.js +23 -40
- package/dist/esm/operations/backupJobs.js.map +1 -1
- package/dist/esm/operations/backupOperationResults.js +1 -0
- package/dist/esm/operations/backupOperationResults.js.map +1 -1
- package/dist/esm/operations/backupOperationStatuses.js +1 -0
- package/dist/esm/operations/backupOperationStatuses.js.map +1 -1
- package/dist/esm/operations/backupPolicies.js +23 -40
- package/dist/esm/operations/backupPolicies.js.map +1 -1
- package/dist/esm/operations/backupProtectableItems.js +23 -40
- package/dist/esm/operations/backupProtectableItems.js.map +1 -1
- package/dist/esm/operations/backupProtectedItems.js +23 -40
- package/dist/esm/operations/backupProtectedItems.js.map +1 -1
- package/dist/esm/operations/backupProtectionContainers.js +23 -40
- package/dist/esm/operations/backupProtectionContainers.js.map +1 -1
- package/dist/esm/operations/backupProtectionIntent.js +23 -40
- package/dist/esm/operations/backupProtectionIntent.js.map +1 -1
- package/dist/esm/operations/backupResourceEncryptionConfigs.js +1 -0
- package/dist/esm/operations/backupResourceEncryptionConfigs.js.map +1 -1
- package/dist/esm/operations/backupResourceStorageConfigsNonCRR.js +1 -0
- package/dist/esm/operations/backupResourceStorageConfigsNonCRR.js.map +1 -1
- package/dist/esm/operations/backupResourceVaultConfigs.js +1 -0
- package/dist/esm/operations/backupResourceVaultConfigs.js.map +1 -1
- package/dist/esm/operations/backupStatus.js +1 -0
- package/dist/esm/operations/backupStatus.js.map +1 -1
- package/dist/esm/operations/backupUsageSummaries.js +10 -27
- package/dist/esm/operations/backupUsageSummaries.js.map +1 -1
- package/dist/esm/operations/backupWorkloadItems.js +23 -40
- package/dist/esm/operations/backupWorkloadItems.js.map +1 -1
- package/dist/esm/operations/backups.js +1 -0
- package/dist/esm/operations/backups.js.map +1 -1
- package/dist/esm/operations/deletedProtectionContainers.js +23 -40
- package/dist/esm/operations/deletedProtectionContainers.js.map +1 -1
- package/dist/esm/operations/exportJobsOperationResults.js +1 -0
- package/dist/esm/operations/exportJobsOperationResults.js.map +1 -1
- package/dist/esm/operations/featureSupport.js +1 -0
- package/dist/esm/operations/featureSupport.js.map +1 -1
- package/dist/esm/operations/fetchTieringCost.js +12 -6
- package/dist/esm/operations/fetchTieringCost.js.map +1 -1
- package/dist/esm/operations/getTieringCostOperationResult.js +1 -0
- package/dist/esm/operations/getTieringCostOperationResult.js.map +1 -1
- package/dist/esm/operations/itemLevelRecoveryConnections.js +1 -0
- package/dist/esm/operations/itemLevelRecoveryConnections.js.map +1 -1
- package/dist/esm/operations/jobCancellations.js +1 -0
- package/dist/esm/operations/jobCancellations.js.map +1 -1
- package/dist/esm/operations/jobDetails.js +1 -0
- package/dist/esm/operations/jobDetails.js.map +1 -1
- package/dist/esm/operations/jobOperationResults.js +1 -0
- package/dist/esm/operations/jobOperationResults.js.map +1 -1
- package/dist/esm/operations/jobs.js +1 -0
- package/dist/esm/operations/jobs.js.map +1 -1
- package/dist/esm/operations/operation.js +1 -0
- package/dist/esm/operations/operation.js.map +1 -1
- package/dist/esm/operations/operations.js +23 -40
- package/dist/esm/operations/operations.js.map +1 -1
- package/dist/esm/operations/privateEndpointConnectionOperations.js +23 -12
- package/dist/esm/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/esm/operations/privateEndpointOperations.js +1 -0
- package/dist/esm/operations/privateEndpointOperations.js.map +1 -1
- package/dist/esm/operations/protectableContainers.js +23 -40
- package/dist/esm/operations/protectableContainers.js.map +1 -1
- package/dist/esm/operations/protectedItemOperationResults.js +1 -0
- package/dist/esm/operations/protectedItemOperationResults.js.map +1 -1
- package/dist/esm/operations/protectedItemOperationStatuses.js +1 -0
- package/dist/esm/operations/protectedItemOperationStatuses.js.map +1 -1
- package/dist/esm/operations/protectedItems.js +1 -0
- package/dist/esm/operations/protectedItems.js.map +1 -1
- package/dist/esm/operations/protectionContainerOperationResults.js +1 -0
- package/dist/esm/operations/protectionContainerOperationResults.js.map +1 -1
- package/dist/esm/operations/protectionContainerRefreshOperationResults.js +1 -0
- package/dist/esm/operations/protectionContainerRefreshOperationResults.js.map +1 -1
- package/dist/esm/operations/protectionContainers.js +12 -6
- package/dist/esm/operations/protectionContainers.js.map +1 -1
- package/dist/esm/operations/protectionIntentOperations.js +1 -0
- package/dist/esm/operations/protectionIntentOperations.js.map +1 -1
- package/dist/esm/operations/protectionPolicies.js +12 -6
- package/dist/esm/operations/protectionPolicies.js.map +1 -1
- package/dist/esm/operations/protectionPolicyOperationResults.js +1 -0
- package/dist/esm/operations/protectionPolicyOperationResults.js.map +1 -1
- package/dist/esm/operations/protectionPolicyOperationStatuses.js +1 -0
- package/dist/esm/operations/protectionPolicyOperationStatuses.js.map +1 -1
- package/dist/esm/operations/recoveryPoints.js +23 -40
- package/dist/esm/operations/recoveryPoints.js.map +1 -1
- package/dist/esm/operations/recoveryPointsRecommendedForMove.js +23 -40
- package/dist/esm/operations/recoveryPointsRecommendedForMove.js.map +1 -1
- package/dist/esm/operations/resourceGuardProxies.js +23 -40
- package/dist/esm/operations/resourceGuardProxies.js.map +1 -1
- package/dist/esm/operations/resourceGuardProxy.js +1 -0
- package/dist/esm/operations/resourceGuardProxy.js.map +1 -1
- package/dist/esm/operations/restores.js +12 -6
- package/dist/esm/operations/restores.js.map +1 -1
- package/dist/esm/operations/securityPINs.js +1 -0
- package/dist/esm/operations/securityPINs.js.map +1 -1
- package/dist/esm/operations/tieringCostOperationStatus.js +1 -0
- package/dist/esm/operations/tieringCostOperationStatus.js.map +1 -1
- package/dist/esm/operations/validateOperation.js +12 -6
- package/dist/esm/operations/validateOperation.js.map +1 -1
- package/dist/esm/operations/validateOperationResults.js +1 -0
- package/dist/esm/operations/validateOperationResults.js.map +1 -1
- package/dist/esm/operations/validateOperationStatuses.js +1 -0
- package/dist/esm/operations/validateOperationStatuses.js.map +1 -1
- package/dist/esm/pagingHelper.js +2 -4
- package/dist/esm/pagingHelper.js.map +1 -1
- package/dist/esm/recoveryServicesBackupClient.js +98 -23
- package/dist/esm/recoveryServicesBackupClient.js.map +1 -1
- package/dist/react-native/lroImpl.js +7 -3
- package/dist/react-native/lroImpl.js.map +1 -1
- package/dist/react-native/models/mappers.js +1192 -518
- package/dist/react-native/models/mappers.js.map +1 -1
- package/dist/react-native/operations/bMSPrepareDataMoveOperationResult.js +1 -0
- package/dist/react-native/operations/bMSPrepareDataMoveOperationResult.js.map +1 -1
- package/dist/react-native/operations/backupEngines.js +23 -40
- package/dist/react-native/operations/backupEngines.js.map +1 -1
- package/dist/react-native/operations/backupJobs.js +23 -40
- package/dist/react-native/operations/backupJobs.js.map +1 -1
- package/dist/react-native/operations/backupOperationResults.js +1 -0
- package/dist/react-native/operations/backupOperationResults.js.map +1 -1
- package/dist/react-native/operations/backupOperationStatuses.js +1 -0
- package/dist/react-native/operations/backupOperationStatuses.js.map +1 -1
- package/dist/react-native/operations/backupPolicies.js +23 -40
- package/dist/react-native/operations/backupPolicies.js.map +1 -1
- package/dist/react-native/operations/backupProtectableItems.js +23 -40
- package/dist/react-native/operations/backupProtectableItems.js.map +1 -1
- package/dist/react-native/operations/backupProtectedItems.js +23 -40
- package/dist/react-native/operations/backupProtectedItems.js.map +1 -1
- package/dist/react-native/operations/backupProtectionContainers.js +23 -40
- package/dist/react-native/operations/backupProtectionContainers.js.map +1 -1
- package/dist/react-native/operations/backupProtectionIntent.js +23 -40
- package/dist/react-native/operations/backupProtectionIntent.js.map +1 -1
- package/dist/react-native/operations/backupResourceEncryptionConfigs.js +1 -0
- package/dist/react-native/operations/backupResourceEncryptionConfigs.js.map +1 -1
- package/dist/react-native/operations/backupResourceStorageConfigsNonCRR.js +1 -0
- package/dist/react-native/operations/backupResourceStorageConfigsNonCRR.js.map +1 -1
- package/dist/react-native/operations/backupResourceVaultConfigs.js +1 -0
- package/dist/react-native/operations/backupResourceVaultConfigs.js.map +1 -1
- package/dist/react-native/operations/backupStatus.js +1 -0
- package/dist/react-native/operations/backupStatus.js.map +1 -1
- package/dist/react-native/operations/backupUsageSummaries.js +10 -27
- package/dist/react-native/operations/backupUsageSummaries.js.map +1 -1
- package/dist/react-native/operations/backupWorkloadItems.js +23 -40
- package/dist/react-native/operations/backupWorkloadItems.js.map +1 -1
- package/dist/react-native/operations/backups.js +1 -0
- package/dist/react-native/operations/backups.js.map +1 -1
- package/dist/react-native/operations/deletedProtectionContainers.js +23 -40
- package/dist/react-native/operations/deletedProtectionContainers.js.map +1 -1
- package/dist/react-native/operations/exportJobsOperationResults.js +1 -0
- package/dist/react-native/operations/exportJobsOperationResults.js.map +1 -1
- package/dist/react-native/operations/featureSupport.js +1 -0
- package/dist/react-native/operations/featureSupport.js.map +1 -1
- package/dist/react-native/operations/fetchTieringCost.js +12 -6
- package/dist/react-native/operations/fetchTieringCost.js.map +1 -1
- package/dist/react-native/operations/getTieringCostOperationResult.js +1 -0
- package/dist/react-native/operations/getTieringCostOperationResult.js.map +1 -1
- package/dist/react-native/operations/itemLevelRecoveryConnections.js +1 -0
- package/dist/react-native/operations/itemLevelRecoveryConnections.js.map +1 -1
- package/dist/react-native/operations/jobCancellations.js +1 -0
- package/dist/react-native/operations/jobCancellations.js.map +1 -1
- package/dist/react-native/operations/jobDetails.js +1 -0
- package/dist/react-native/operations/jobDetails.js.map +1 -1
- package/dist/react-native/operations/jobOperationResults.js +1 -0
- package/dist/react-native/operations/jobOperationResults.js.map +1 -1
- package/dist/react-native/operations/jobs.js +1 -0
- package/dist/react-native/operations/jobs.js.map +1 -1
- package/dist/react-native/operations/operation.js +1 -0
- package/dist/react-native/operations/operation.js.map +1 -1
- package/dist/react-native/operations/operations.js +23 -40
- package/dist/react-native/operations/operations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointConnectionOperations.js +23 -12
- package/dist/react-native/operations/privateEndpointConnectionOperations.js.map +1 -1
- package/dist/react-native/operations/privateEndpointOperations.js +1 -0
- package/dist/react-native/operations/privateEndpointOperations.js.map +1 -1
- package/dist/react-native/operations/protectableContainers.js +23 -40
- package/dist/react-native/operations/protectableContainers.js.map +1 -1
- package/dist/react-native/operations/protectedItemOperationResults.js +1 -0
- package/dist/react-native/operations/protectedItemOperationResults.js.map +1 -1
- package/dist/react-native/operations/protectedItemOperationStatuses.js +1 -0
- package/dist/react-native/operations/protectedItemOperationStatuses.js.map +1 -1
- package/dist/react-native/operations/protectedItems.js +1 -0
- package/dist/react-native/operations/protectedItems.js.map +1 -1
- package/dist/react-native/operations/protectionContainerOperationResults.js +1 -0
- package/dist/react-native/operations/protectionContainerOperationResults.js.map +1 -1
- package/dist/react-native/operations/protectionContainerRefreshOperationResults.js +1 -0
- package/dist/react-native/operations/protectionContainerRefreshOperationResults.js.map +1 -1
- package/dist/react-native/operations/protectionContainers.js +12 -6
- package/dist/react-native/operations/protectionContainers.js.map +1 -1
- package/dist/react-native/operations/protectionIntentOperations.js +1 -0
- package/dist/react-native/operations/protectionIntentOperations.js.map +1 -1
- package/dist/react-native/operations/protectionPolicies.js +12 -6
- package/dist/react-native/operations/protectionPolicies.js.map +1 -1
- package/dist/react-native/operations/protectionPolicyOperationResults.js +1 -0
- package/dist/react-native/operations/protectionPolicyOperationResults.js.map +1 -1
- package/dist/react-native/operations/protectionPolicyOperationStatuses.js +1 -0
- package/dist/react-native/operations/protectionPolicyOperationStatuses.js.map +1 -1
- package/dist/react-native/operations/recoveryPoints.js +23 -40
- package/dist/react-native/operations/recoveryPoints.js.map +1 -1
- package/dist/react-native/operations/recoveryPointsRecommendedForMove.js +23 -40
- package/dist/react-native/operations/recoveryPointsRecommendedForMove.js.map +1 -1
- package/dist/react-native/operations/resourceGuardProxies.js +23 -40
- package/dist/react-native/operations/resourceGuardProxies.js.map +1 -1
- package/dist/react-native/operations/resourceGuardProxy.js +1 -0
- package/dist/react-native/operations/resourceGuardProxy.js.map +1 -1
- package/dist/react-native/operations/restores.js +12 -6
- package/dist/react-native/operations/restores.js.map +1 -1
- package/dist/react-native/operations/securityPINs.js +1 -0
- package/dist/react-native/operations/securityPINs.js.map +1 -1
- package/dist/react-native/operations/tieringCostOperationStatus.js +1 -0
- package/dist/react-native/operations/tieringCostOperationStatus.js.map +1 -1
- package/dist/react-native/operations/validateOperation.js +12 -6
- package/dist/react-native/operations/validateOperation.js.map +1 -1
- package/dist/react-native/operations/validateOperationResults.js +1 -0
- package/dist/react-native/operations/validateOperationResults.js.map +1 -1
- package/dist/react-native/operations/validateOperationStatuses.js +1 -0
- package/dist/react-native/operations/validateOperationStatuses.js.map +1 -1
- package/dist/react-native/pagingHelper.js +2 -4
- package/dist/react-native/pagingHelper.js.map +1 -1
- package/dist/react-native/recoveryServicesBackupClient.js +98 -23
- package/dist/react-native/recoveryServicesBackupClient.js.map +1 -1
- package/package.json +2 -2
- /package/review/{arm-recoveryservicesbackup.api.md → arm-recoveryservicesbackup-node.api.md} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTieringCostOperationResult.js","sourceRoot":"","sources":["../../../src/operations/getTieringCostOperationResult.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,iEAAiE;AACjE,MAAa,iCAAiC;
|
|
1
|
+
{"version":3,"file":"getTieringCostOperationResult.js","sourceRoot":"","sources":["../../../src/operations/getTieringCostOperationResult.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,iEAAiE;AACjE,MAAa,iCAAiC;IAG3B,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,iBAAyB,EACzB,SAAiB,EACjB,WAAmB,EACnB,OAAwD;QAExD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,iBAAiB,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,EACtD,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AAhCD,8EAgCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,qLAAqL;IAC3L,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { GetTieringCostOperationResult } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n GetTieringCostOperationResultGetOptionalParams,\n GetTieringCostOperationResultGetResponse,\n} from \"../models/index.js\";\n\n/** Class containing GetTieringCostOperationResult operations. */\nexport class GetTieringCostOperationResultImpl\n implements GetTieringCostOperationResult\n{\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class GetTieringCostOperationResult class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Gets the result of async operation for tiering cost\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param vaultName The name of the recovery services vault.\n * @param operationId\n * @param options The options parameters.\n */\n get(\n resourceGroupName: string,\n vaultName: string,\n operationId: string,\n options?: GetTieringCostOperationResultGetOptionalParams,\n ): Promise<GetTieringCostOperationResultGetResponse> {\n return this.client.sendOperationRequest(\n { resourceGroupName, vaultName, operationId, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupTieringCost/default/operationResults/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.TieringCostInfo,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.operationId,\n Parameters.vaultName1,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing ItemLevelRecoveryConnections operations. */
|
|
16
16
|
class ItemLevelRecoveryConnectionsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class ItemLevelRecoveryConnections class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"itemLevelRecoveryConnections.js","sourceRoot":"","sources":["../../../src/operations/itemLevelRecoveryConnections.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,gEAAgE;AAChE,MAAa,gCAAgC;
|
|
1
|
+
{"version":3,"file":"itemLevelRecoveryConnections.js","sourceRoot":"","sources":["../../../src/operations/itemLevelRecoveryConnections.ts"],"names":[],"mappings":";AAAA;;;;;;G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,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,0RAA0R;IAChS,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { ItemLevelRecoveryConnections } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n ILRRequestResource,\n ItemLevelRecoveryConnectionsProvisionOptionalParams,\n ItemLevelRecoveryConnectionsRevokeOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing ItemLevelRecoveryConnections operations. */\nexport class ItemLevelRecoveryConnectionsImpl\n implements ItemLevelRecoveryConnections\n{\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class ItemLevelRecoveryConnections class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Provisions a script which invokes an iSCSI connection to the backup data. Executing this script\n * opens a file\n * explorer displaying all the recoverable files and folders. This is an asynchronous operation. To\n * know the status of\n * provisioning, call GetProtectedItemOperationResult API.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param fabricName Fabric name associated with the backed up items.\n * @param containerName Container name associated with the backed up items.\n * @param protectedItemName Backed up item name whose files/folders are to be restored.\n * @param recoveryPointId Recovery point ID which represents backed up data. iSCSI connection will be\n * provisioned\n * for this backed up data.\n * @param parameters resource ILR request\n * @param options The options parameters.\n */\n provision(\n vaultName: string,\n resourceGroupName: string,\n fabricName: string,\n containerName: string,\n protectedItemName: string,\n recoveryPointId: string,\n parameters: ILRRequestResource,\n options?: ItemLevelRecoveryConnectionsProvisionOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n vaultName,\n resourceGroupName,\n fabricName,\n containerName,\n protectedItemName,\n recoveryPointId,\n parameters,\n options,\n },\n provisionOperationSpec,\n );\n }\n\n /**\n * Revokes an iSCSI connection which can be used to download a script. Executing this script opens a\n * file explorer\n * displaying all recoverable files and folders. This is an asynchronous operation.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param fabricName Fabric name associated with the backed up items.\n * @param containerName Container name associated with the backed up items.\n * @param protectedItemName Backed up item name whose files/folders are to be restored.\n * @param recoveryPointId Recovery point ID which represents backed up data. iSCSI connection will be\n * revoked for\n * this backed up data.\n * @param options The options parameters.\n */\n revoke(\n vaultName: string,\n resourceGroupName: string,\n fabricName: string,\n containerName: string,\n protectedItemName: string,\n recoveryPointId: string,\n options?: ItemLevelRecoveryConnectionsRevokeOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n {\n vaultName,\n resourceGroupName,\n fabricName,\n containerName,\n protectedItemName,\n recoveryPointId,\n options,\n },\n revokeOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst provisionOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/provisionInstantItemRecovery\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters17,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.fabricName,\n Parameters.containerName,\n Parameters.protectedItemName,\n Parameters.recoveryPointId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst revokeOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupFabrics/{fabricName}/protectionContainers/{containerName}/protectedItems/{protectedItemName}/recoveryPoints/{recoveryPointId}/revokeInstantItemRecovery\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.fabricName,\n Parameters.containerName,\n Parameters.protectedItemName,\n Parameters.recoveryPointId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing JobCancellations operations. */
|
|
16
16
|
class JobCancellationsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class JobCancellations class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobCancellations.js","sourceRoot":"","sources":["../../../src/operations/jobCancellations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,oDAAoD;AACpD,MAAa,oBAAoB;
|
|
1
|
+
{"version":3,"file":"jobCancellations.js","sourceRoot":"","sources":["../../../src/operations/jobCancellations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,oDAAoD;AACpD,MAAa,oBAAoB;IACd,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,OAAO,CACL,SAAiB,EACjB,iBAAyB,EACzB,OAAe,EACf,OAA+C;QAE/C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE,EAClD,oBAAoB,CACrB,CAAC;IACJ,CAAC;CACF;AA/BD,oDA+BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,oBAAoB,GAA6B;IACrD,IAAI,EAAE,wJAAwJ;IAC9J,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { JobCancellations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport { JobCancellationsTriggerOptionalParams } from \"../models/index.js\";\n\n/** Class containing JobCancellations operations. */\nexport class JobCancellationsImpl implements JobCancellations {\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class JobCancellations class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Cancels a job. This is an asynchronous operation. To know the status of the cancellation, call\n * GetCancelOperationResult API.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param jobName Name of the job to cancel.\n * @param options The options parameters.\n */\n trigger(\n vaultName: string,\n resourceGroupName: string,\n jobName: string,\n options?: JobCancellationsTriggerOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, jobName, options },\n triggerOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst triggerOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/cancel\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.jobName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing JobDetails operations. */
|
|
16
16
|
class JobDetailsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class JobDetails class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobDetails.js","sourceRoot":"","sources":["../../../src/operations/jobDetails.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,8CAA8C;AAC9C,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"jobDetails.js","sourceRoot":"","sources":["../../../src/operations/jobDetails.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,SAAiB,EACjB,iBAAyB,EACzB,OAAe,EACf,OAAqC;QAErC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,EAAE,EAClD,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AA9BD,wCA8BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,iJAAiJ;IACvJ,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,WAAW;SAChC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { JobDetails } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport { JobDetailsGetOptionalParams, JobDetailsGetResponse } from \"../models/index.js\";\n\n/** Class containing JobDetails operations. */\nexport class JobDetailsImpl implements JobDetails {\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class JobDetails class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Gets extended information associated with the job.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param jobName Name of the job whose details are to be fetched.\n * @param options The options parameters.\n */\n get(\n vaultName: string,\n resourceGroupName: string,\n jobName: string,\n options?: JobDetailsGetOptionalParams,\n ): Promise<JobDetailsGetResponse> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, jobName, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.JobResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.jobName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing JobOperationResults operations. */
|
|
16
16
|
class JobOperationResultsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class JobOperationResults class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobOperationResults.js","sourceRoot":"","sources":["../../../src/operations/jobOperationResults.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,uDAAuD;AACvD,MAAa,uBAAuB;
|
|
1
|
+
{"version":3,"file":"jobOperationResults.js","sourceRoot":"","sources":["../../../src/operations/jobOperationResults.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,uDAAuD;AACvD,MAAa,uBAAuB;IACjB,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,GAAG,CACD,SAAiB,EACjB,iBAAyB,EACzB,OAAe,EACf,WAAmB,EACnB,OAA8C;QAE9C,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,EAC/D,gBAAgB,CACjB,CAAC;IACJ,CAAC;CACF;AAhCD,0DAgCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,gBAAgB,GAA6B;IACjD,IAAI,EAAE,gLAAgL;IACtL,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,OAAO;KACnB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { JobOperationResults } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport { JobOperationResultsGetOptionalParams } from \"../models/index.js\";\n\n/** Class containing JobOperationResults operations. */\nexport class JobOperationResultsImpl implements JobOperationResults {\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class JobOperationResults class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Fetches the result of any operation.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param jobName Job name whose operation result has to be fetched.\n * @param operationId OperationID which represents the operation whose result has to be fetched.\n * @param options The options parameters.\n */\n get(\n vaultName: string,\n resourceGroupName: string,\n jobName: string,\n operationId: string,\n options?: JobOperationResultsGetOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, jobName, operationId, options },\n getOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobs/{jobName}/operationResults/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.operationId,\n Parameters.jobName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing Jobs operations. */
|
|
16
16
|
class JobsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class Jobs class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/operations/jobs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,wCAAwC;AACxC,MAAa,QAAQ;
|
|
1
|
+
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../../src/operations/jobs.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAItD,wCAAwC;AACxC,MAAa,QAAQ;IACF,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CACJ,SAAiB,EACjB,iBAAyB,EACzB,OAAkC;QAElC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,SAAS,EAAE,iBAAiB,EAAE,OAAO,EAAE,EACzC,mBAAmB,CACpB,CAAC;IACJ,CAAC;CACF;AA5BD,4BA4BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,6IAA6I;IACnJ,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,EAAE,UAAU,CAAC,MAAM,CAAC;IAC3D,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Jobs } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport { JobsExportOptionalParams } from \"../models/index.js\";\n\n/** Class containing Jobs operations. */\nexport class JobsImpl implements Jobs {\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class Jobs class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Triggers export of jobs specified by filters and returns an OperationID to track.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param options The options parameters.\n */\n export(\n vaultName: string,\n resourceGroupName: string,\n options?: JobsExportOptionalParams,\n ): Promise<void> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, options },\n exportOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst exportOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupJobsExport\",\n httpMethod: \"POST\",\n responses: {\n 202: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion, Parameters.filter],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing Operation operations. */
|
|
16
16
|
class OperationImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class Operation class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../src/operations/operation.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,6CAA6C;AAC7C,MAAa,aAAa;
|
|
1
|
+
{"version":3,"file":"operation.js","sourceRoot":"","sources":["../../../src/operations/operation.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAQtD,6CAA6C;AAC7C,MAAa,aAAa;IACP,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CACN,SAAiB,EACjB,iBAAyB,EACzB,UAA4C,EAC5C,OAAyC;QAEzC,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO,EAAE,EACrD,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AA9BD,sCA8BC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,oJAAoJ;IAC1J,UAAU,EAAE,MAAM;IAClB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,0BAA0B;SAC/C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,WAAW,EAAE,UAAU,CAAC,YAAY;IACpC,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { Operation } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n ValidateOperationRequestResource,\n OperationValidateOptionalParams,\n OperationValidateResponse,\n} from \"../models/index.js\";\n\n/** Class containing Operation operations. */\nexport class OperationImpl implements Operation {\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class Operation class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Validate operation for specified backed up item. This is a synchronous operation.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param parameters resource validate operation request\n * @param options The options parameters.\n */\n validate(\n vaultName: string,\n resourceGroupName: string,\n parameters: ValidateOperationRequestResource,\n options?: OperationValidateOptionalParams,\n ): Promise<OperationValidateResponse> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, parameters, options },\n validateOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst validateOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/backupValidateOperation\",\n httpMethod: \"POST\",\n responses: {\n 200: {\n bodyMapper: Mappers.ValidateOperationsResponse,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters14,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\n"]}
|
|
@@ -16,6 +16,7 @@ const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
|
16
16
|
/// <reference lib="esnext.asynciterable" />
|
|
17
17
|
/** Class containing Operations operations. */
|
|
18
18
|
class OperationsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class Operations class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -37,52 +38,35 @@ class OperationsImpl {
|
|
|
37
38
|
return this;
|
|
38
39
|
},
|
|
39
40
|
byPage: (settings) => {
|
|
40
|
-
if (settings
|
|
41
|
+
if (settings?.maxPageSize) {
|
|
41
42
|
throw new Error("maxPageSize is not supported by this operation.");
|
|
42
43
|
}
|
|
43
44
|
return this.listPagingPage(options, settings);
|
|
44
45
|
},
|
|
45
46
|
};
|
|
46
47
|
}
|
|
47
|
-
listPagingPage(options, settings) {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
}
|
|
65
|
-
});
|
|
48
|
+
async *listPagingPage(options, settings) {
|
|
49
|
+
let result;
|
|
50
|
+
let continuationToken = settings?.continuationToken;
|
|
51
|
+
if (!continuationToken) {
|
|
52
|
+
result = await this._list(options);
|
|
53
|
+
let page = result.value || [];
|
|
54
|
+
continuationToken = result.nextLink;
|
|
55
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
56
|
+
yield page;
|
|
57
|
+
}
|
|
58
|
+
while (continuationToken) {
|
|
59
|
+
result = await this._listNext(continuationToken, options);
|
|
60
|
+
continuationToken = result.nextLink;
|
|
61
|
+
let page = result.value || [];
|
|
62
|
+
(0, pagingHelper_js_1.setContinuationToken)(page, continuationToken);
|
|
63
|
+
yield page;
|
|
64
|
+
}
|
|
66
65
|
}
|
|
67
|
-
listPagingAll(options) {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
for (var _d = true, _e = tslib_1.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib_1.__await(_e.next()), _a = _f.done, !_a; _d = true) {
|
|
72
|
-
_c = _f.value;
|
|
73
|
-
_d = false;
|
|
74
|
-
const page = _c;
|
|
75
|
-
yield tslib_1.__await(yield* tslib_1.__asyncDelegator(tslib_1.__asyncValues(page)));
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
79
|
-
finally {
|
|
80
|
-
try {
|
|
81
|
-
if (!_d && !_a && (_b = _e.return)) yield tslib_1.__await(_b.call(_e));
|
|
82
|
-
}
|
|
83
|
-
finally { if (e_1) throw e_1.error; }
|
|
84
|
-
}
|
|
85
|
-
});
|
|
66
|
+
async *listPagingAll(options) {
|
|
67
|
+
for await (const page of this.listPagingPage(options)) {
|
|
68
|
+
yield* page;
|
|
69
|
+
}
|
|
86
70
|
}
|
|
87
71
|
/**
|
|
88
72
|
* Returns the list of available operations.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;
|
|
1
|
+
{"version":3,"file":"operations.js","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,wDAA0D;AAE1D,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAUtD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAa,cAAc;IACR,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;OAGG;IACI,IAAI,CACT,OAAsC;QAEtC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,EAAE,WAAW,EAAE,CAAC;oBAC1B,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;gBACrE,CAAC;gBACD,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YAChD,C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B,CACrC,EAAE,QAAQ,EAAE,OAAO,EAAE,EACrB,qBAAqB,CACtB,CAAC;IACJ,CAAC;CACF;AAzFD,wCAyFC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,iBAAiB,GAA6B;IAClD,IAAI,EAAE,kDAAkD;IACxD,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,uBAAuB;SAC5C;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PagedAsyncIterableIterator, PageSettings } from \"@azure/core-paging\";\nimport { setContinuationToken } from \"../pagingHelper.js\";\nimport { Operations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n ClientDiscoveryValueForSingleApi,\n OperationsListNextOptionalParams,\n OperationsListOptionalParams,\n OperationsListResponse,\n OperationsListNextResponse,\n} from \"../models/index.js\";\n\n/// <reference lib=\"esnext.asynciterable\" />\n/** Class containing Operations operations. */\nexport class OperationsImpl implements Operations {\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class Operations class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Returns the list of available operations.\n * @param options The options parameters.\n */\n public list(\n options?: OperationsListOptionalParams,\n ): PagedAsyncIterableIterator<ClientDiscoveryValueForSingleApi> {\n const iter = this.listPagingAll(options);\n return {\n next() {\n return iter.next();\n },\n [Symbol.asyncIterator]() {\n return this;\n },\n byPage: (settings?: PageSettings) => {\n if (settings?.maxPageSize) {\n throw new Error(\"maxPageSize is not supported by this operation.\");\n }\n return this.listPagingPage(options, settings);\n },\n };\n }\n\n private async *listPagingPage(\n options?: OperationsListOptionalParams,\n settings?: PageSettings,\n ): AsyncIterableIterator<ClientDiscoveryValueForSingleApi[]> {\n let result: OperationsListResponse;\n let continuationToken = settings?.continuationToken;\n if (!continuationToken) {\n result = await this._list(options);\n let page = result.value || [];\n continuationToken = result.nextLink;\n setContinuationToken(page, continuationToken);\n yield page;\n }\n while (continuationToken) {\n result = await this._listNext(continuationToken, options);\n continuationToken = result.nextLink;\n let page = result.value || [];\n setContinuationToken(page, continuationToken);\n yield page;\n }\n }\n\n private async *listPagingAll(\n options?: OperationsListOptionalParams,\n ): AsyncIterableIterator<ClientDiscoveryValueForSingleApi> {\n for await (const page of this.listPagingPage(options)) {\n yield* page;\n }\n }\n\n /**\n * Returns the list of available operations.\n * @param options The options parameters.\n */\n private _list(\n options?: OperationsListOptionalParams,\n ): Promise<OperationsListResponse> {\n return this.client.sendOperationRequest({ options }, listOperationSpec);\n }\n\n /**\n * ListNext\n * @param nextLink The nextLink from the previous successful call to the List method.\n * @param options The options parameters.\n */\n private _listNext(\n nextLink: string,\n options?: OperationsListNextOptionalParams,\n ): Promise<OperationsListNextResponse> {\n return this.client.sendOperationRequest(\n { nextLink, options },\n listNextOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst listOperationSpec: coreClient.OperationSpec = {\n path: \"/providers/Microsoft.RecoveryServices/operations\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClientDiscoveryResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [Parameters.$host],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst listNextOperationSpec: coreClient.OperationSpec = {\n path: \"{nextLink}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.ClientDiscoveryResponse,\n },\n },\n urlParameters: [Parameters.$host, Parameters.nextLink],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -16,6 +16,7 @@ const core_lro_1 = require("@azure/core-lro");
|
|
|
16
16
|
const lroImpl_js_1 = require("../lroImpl.js");
|
|
17
17
|
/** Class containing PrivateEndpointConnectionOperations operations. */
|
|
18
18
|
class PrivateEndpointConnectionOperationsImpl {
|
|
19
|
+
client;
|
|
19
20
|
/**
|
|
20
21
|
* Initialize a new instance of the class PrivateEndpointConnectionOperations class.
|
|
21
22
|
* @param client Reference to the service client
|
|
@@ -48,14 +49,19 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
48
49
|
return this.client.sendOperationRequest(args, spec);
|
|
49
50
|
};
|
|
50
51
|
const sendOperationFn = async (args, spec) => {
|
|
51
|
-
var _a;
|
|
52
52
|
let currentRawResponse = undefined;
|
|
53
|
-
const providedCallback =
|
|
53
|
+
const providedCallback = args.options?.onResponse;
|
|
54
54
|
const callback = (rawResponse, flatResponse) => {
|
|
55
55
|
currentRawResponse = rawResponse;
|
|
56
|
-
providedCallback
|
|
56
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
57
|
+
};
|
|
58
|
+
const updatedArgs = {
|
|
59
|
+
...args,
|
|
60
|
+
options: {
|
|
61
|
+
...args.options,
|
|
62
|
+
onResponse: callback,
|
|
63
|
+
},
|
|
57
64
|
};
|
|
58
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
59
65
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
60
66
|
return {
|
|
61
67
|
flatResponse,
|
|
@@ -78,8 +84,8 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
78
84
|
spec: putOperationSpec,
|
|
79
85
|
});
|
|
80
86
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
81
|
-
restoreFrom: options
|
|
82
|
-
intervalInMs: options
|
|
87
|
+
restoreFrom: options?.resumeFrom,
|
|
88
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
83
89
|
});
|
|
84
90
|
await poller.poll();
|
|
85
91
|
return poller;
|
|
@@ -110,14 +116,19 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
110
116
|
return this.client.sendOperationRequest(args, spec);
|
|
111
117
|
};
|
|
112
118
|
const sendOperationFn = async (args, spec) => {
|
|
113
|
-
var _a;
|
|
114
119
|
let currentRawResponse = undefined;
|
|
115
|
-
const providedCallback =
|
|
120
|
+
const providedCallback = args.options?.onResponse;
|
|
116
121
|
const callback = (rawResponse, flatResponse) => {
|
|
117
122
|
currentRawResponse = rawResponse;
|
|
118
|
-
providedCallback
|
|
123
|
+
providedCallback?.(rawResponse, flatResponse);
|
|
124
|
+
};
|
|
125
|
+
const updatedArgs = {
|
|
126
|
+
...args,
|
|
127
|
+
options: {
|
|
128
|
+
...args.options,
|
|
129
|
+
onResponse: callback,
|
|
130
|
+
},
|
|
119
131
|
};
|
|
120
|
-
const updatedArgs = Object.assign(Object.assign({}, args), { options: Object.assign(Object.assign({}, args.options), { onResponse: callback }) });
|
|
121
132
|
const flatResponse = await directSendOperation(updatedArgs, spec);
|
|
122
133
|
return {
|
|
123
134
|
flatResponse,
|
|
@@ -139,8 +150,8 @@ class PrivateEndpointConnectionOperationsImpl {
|
|
|
139
150
|
spec: deleteOperationSpec,
|
|
140
151
|
});
|
|
141
152
|
const poller = await (0, core_lro_1.createHttpPoller)(lro, {
|
|
142
|
-
restoreFrom: options
|
|
143
|
-
intervalInMs: options
|
|
153
|
+
restoreFrom: options?.resumeFrom,
|
|
154
|
+
intervalInMs: options?.updateIntervalInMs,
|
|
144
155
|
});
|
|
145
156
|
await poller.poll();
|
|
146
157
|
return poller;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnectionOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAU9C,uEAAuE;AACvE,MAAa,uCAAuC;IAKlD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;OAOG;IACH,GAAG,CACD,SAAiB,EACjB,iBAAyB,EACzB,6BAAqC,EACrC,OAAoD;QAEpD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC,EAAE,SAAS,EAAE,iBAAiB,EAAE,6BAA6B,EAAE,OAAO,EAAE,EACxE,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED;;;;;;;;OAQG;IACH,KAAK,CAAC,QAAQ,CACZ,SAAiB,EACjB,iBAAyB,EACzB,6BAAqC,EACrC,UAA6C,EAC7C,OAAoD;QAOpD,MAAM,mBAAmB,GAAG,KAAK,EAC/B,IAAmC,EACnC,IAA8B,EACiB,EAAE;YACjD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QACtD,CAAC,CAAC;QACF,MAAM,eAAe,GAAG,KAAK,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CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PrivateEndpointConnectionOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnectionGetOptionalParams,\n PrivateEndpointConnectionGetResponse,\n PrivateEndpointConnectionResource,\n PrivateEndpointConnectionPutOptionalParams,\n PrivateEndpointConnectionPutResponse,\n PrivateEndpointConnectionDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnectionOperations operations. */\nexport class PrivateEndpointConnectionOperationsImpl\n implements PrivateEndpointConnectionOperations\n{\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnectionOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Get Private Endpoint Connection. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionGetOptionalParams,\n ): Promise<PrivateEndpointConnectionGetResponse> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, privateEndpointConnectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Approve or Reject Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters Request body for operation\n * @param options The options parameters.\n */\n async beginPut(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionPutOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionPutResponse>,\n PrivateEndpointConnectionPutResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionPutResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n spec: putOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionPutResponse,\n OperationState<PrivateEndpointConnectionPutResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Approve or Reject Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters Request body for operation\n * @param options The options parameters.\n */\n async beginPutAndWait(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionPutOptionalParams,\n ): Promise<PrivateEndpointConnectionPutResponse> {\n const poller = await this.beginPut(\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"privateEndpointConnectionOperations.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointConnectionOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAEtD,8CAIyB;AACzB,8CAA8C;AAU9C,uEAAuE;AACvE,MAAa,uCAAuC;IAGjC,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM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5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,UAAU,CAAC,WAAW,CAAC;IAC7D,SAAS,EAAE,MAAM;IACjB,UAAU;CACX,CAAC;AACF,MAAM,mBAAmB,GAA6B;IACpD,IAAI,EAAE,uLAAuL;IAC7L,UAAU,EAAE,QAAQ;IACpB,SAAS,EAAE;QACT,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,GAAG,EAAE,EAAE;QACP,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;KACzC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PrivateEndpointConnectionOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n SimplePollerLike,\n OperationState,\n createHttpPoller,\n} from \"@azure/core-lro\";\nimport { createLroSpec } from \"../lroImpl.js\";\nimport {\n PrivateEndpointConnectionGetOptionalParams,\n PrivateEndpointConnectionGetResponse,\n PrivateEndpointConnectionResource,\n PrivateEndpointConnectionPutOptionalParams,\n PrivateEndpointConnectionPutResponse,\n PrivateEndpointConnectionDeleteOptionalParams,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointConnectionOperations operations. */\nexport class PrivateEndpointConnectionOperationsImpl\n implements PrivateEndpointConnectionOperations\n{\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointConnectionOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Get Private Endpoint Connection. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n get(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionGetOptionalParams,\n ): Promise<PrivateEndpointConnectionGetResponse> {\n return this.client.sendOperationRequest(\n { vaultName, resourceGroupName, privateEndpointConnectionName, options },\n getOperationSpec,\n );\n }\n\n /**\n * Approve or Reject Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters Request body for operation\n * @param options The options parameters.\n */\n async beginPut(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionPutOptionalParams,\n ): Promise<\n SimplePollerLike<\n OperationState<PrivateEndpointConnectionPutResponse>,\n PrivateEndpointConnectionPutResponse\n >\n > {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<PrivateEndpointConnectionPutResponse> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n parameters,\n options,\n },\n spec: putOperationSpec,\n });\n const poller = await createHttpPoller<\n PrivateEndpointConnectionPutResponse,\n OperationState<PrivateEndpointConnectionPutResponse>\n >(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Approve or Reject Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param parameters Request body for operation\n * @param options The options parameters.\n */\n async beginPutAndWait(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n parameters: PrivateEndpointConnectionResource,\n options?: PrivateEndpointConnectionPutOptionalParams,\n ): Promise<PrivateEndpointConnectionPutResponse> {\n const poller = await this.beginPut(\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n parameters,\n options,\n );\n return poller.pollUntilDone();\n }\n\n /**\n * Delete Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDelete(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionDeleteOptionalParams,\n ): Promise<SimplePollerLike<OperationState<void>, void>> {\n const directSendOperation = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ): Promise<void> => {\n return this.client.sendOperationRequest(args, spec);\n };\n const sendOperationFn = async (\n args: coreClient.OperationArguments,\n spec: coreClient.OperationSpec,\n ) => {\n let currentRawResponse: coreClient.FullOperationResponse | undefined =\n undefined;\n const providedCallback = args.options?.onResponse;\n const callback: coreClient.RawResponseCallback = (\n rawResponse: coreClient.FullOperationResponse,\n flatResponse: unknown,\n ) => {\n currentRawResponse = rawResponse;\n providedCallback?.(rawResponse, flatResponse);\n };\n const updatedArgs = {\n ...args,\n options: {\n ...args.options,\n onResponse: callback,\n },\n };\n const flatResponse = await directSendOperation(updatedArgs, spec);\n return {\n flatResponse,\n rawResponse: {\n statusCode: currentRawResponse!.status,\n body: currentRawResponse!.parsedBody,\n headers: currentRawResponse!.headers.toJSON(),\n },\n };\n };\n\n const lro = createLroSpec({\n sendOperationFn,\n args: {\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n options,\n },\n spec: deleteOperationSpec,\n });\n const poller = await createHttpPoller<void, OperationState<void>>(lro, {\n restoreFrom: options?.resumeFrom,\n intervalInMs: options?.updateIntervalInMs,\n });\n await poller.poll();\n return poller;\n }\n\n /**\n * Delete Private Endpoint requests. This call is made by Backup Admin.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param options The options parameters.\n */\n async beginDeleteAndWait(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n options?: PrivateEndpointConnectionDeleteOptionalParams,\n ): Promise<void> {\n const poller = await this.beginDelete(\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n options,\n );\n return poller.pollUntilDone();\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\nconst putOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"PUT\",\n responses: {\n 200: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 201: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 202: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n 204: {\n bodyMapper: Mappers.PrivateEndpointConnectionResource,\n },\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n requestBody: Parameters.parameters7,\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept, Parameters.contentType],\n mediaType: \"json\",\n serializer,\n};\nconst deleteOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}\",\n httpMethod: \"DELETE\",\n responses: {\n 200: {},\n 201: {},\n 202: {},\n 204: {},\n default: {\n bodyMapper: Mappers.CloudError,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|
|
@@ -14,6 +14,7 @@ const Mappers = tslib_1.__importStar(require("../models/mappers.js"));
|
|
|
14
14
|
const Parameters = tslib_1.__importStar(require("../models/parameters.js"));
|
|
15
15
|
/** Class containing PrivateEndpointOperations operations. */
|
|
16
16
|
class PrivateEndpointOperationsImpl {
|
|
17
|
+
client;
|
|
17
18
|
/**
|
|
18
19
|
* Initialize a new instance of the class PrivateEndpointOperations class.
|
|
19
20
|
* @param client Reference to the service client
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateEndpointOperations.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,6DAA6D;AAC7D,MAAa,6BAA6B;
|
|
1
|
+
{"version":3,"file":"privateEndpointOperations.js","sourceRoot":"","sources":["../../../src/operations/privateEndpointOperations.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;;;AAGH,uEAAiD;AACjD,sEAAgD;AAChD,4EAAsD;AAOtD,6DAA6D;AAC7D,MAAa,6BAA6B;IAGvB,MAAM,CAA+B;IAEtD;;;OAGG;IACH,YAAY,MAAoC;QAC9C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;;;OAQG;IACH,kBAAkB,CAChB,SAAiB,EACjB,iBAAyB,EACzB,6BAAqC,EACrC,WAAmB,EACnB,OAAyD;QAEzD,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,SAAS;YACT,iBAAiB;YACjB,6BAA6B;YAC7B,WAAW;YACX,OAAO;SACR,EACD,+BAA+B,CAChC,CAAC;IACJ,CAAC;CACF;AAxCD,sEAwCC;AACD,2BAA2B;AAC3B,MAAM,UAAU,GAAG,UAAU,CAAC,gBAAgB,CAAC,OAAO,EAAE,WAAW,CAAC,KAAK,CAAC,CAAC;AAE3E,MAAM,+BAA+B,GAA6B;IAChE,IAAI,EAAE,sNAAsN;IAC5N,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,eAAe;SACpC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,gBAAgB;SACrC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,SAAS;QACpB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,6BAA6B;QACxC,UAAU,CAAC,WAAW;KACvB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC","sourcesContent":["/*\n * Copyright (c) Microsoft Corporation.\n * Licensed under the MIT License.\n *\n * Code generated by Microsoft (R) AutoRest Code Generator.\n * Changes may cause incorrect behavior and will be lost if the code is regenerated.\n */\n\nimport { PrivateEndpointOperations } from \"../operationsInterfaces/index.js\";\nimport * as coreClient from \"@azure/core-client\";\nimport * as Mappers from \"../models/mappers.js\";\nimport * as Parameters from \"../models/parameters.js\";\nimport { RecoveryServicesBackupClient } from \"../recoveryServicesBackupClient.js\";\nimport {\n PrivateEndpointGetOperationStatusOptionalParams,\n PrivateEndpointGetOperationStatusResponse,\n} from \"../models/index.js\";\n\n/** Class containing PrivateEndpointOperations operations. */\nexport class PrivateEndpointOperationsImpl\n implements PrivateEndpointOperations\n{\n private readonly client: RecoveryServicesBackupClient;\n\n /**\n * Initialize a new instance of the class PrivateEndpointOperations class.\n * @param client Reference to the service client\n */\n constructor(client: RecoveryServicesBackupClient) {\n this.client = client;\n }\n\n /**\n * Gets the operation status for a private endpoint connection.\n * @param vaultName The name of the recovery services vault.\n * @param resourceGroupName The name of the resource group where the recovery services vault is\n * present.\n * @param privateEndpointConnectionName The name of the private endpoint connection.\n * @param operationId Operation id\n * @param options The options parameters.\n */\n getOperationStatus(\n vaultName: string,\n resourceGroupName: string,\n privateEndpointConnectionName: string,\n operationId: string,\n options?: PrivateEndpointGetOperationStatusOptionalParams,\n ): Promise<PrivateEndpointGetOperationStatusResponse> {\n return this.client.sendOperationRequest(\n {\n vaultName,\n resourceGroupName,\n privateEndpointConnectionName,\n operationId,\n options,\n },\n getOperationStatusOperationSpec,\n );\n }\n}\n// Operation Specifications\nconst serializer = coreClient.createSerializer(Mappers, /* isXml */ false);\n\nconst getOperationStatusOperationSpec: coreClient.OperationSpec = {\n path: \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{vaultName}/privateEndpointConnections/{privateEndpointConnectionName}/operationsStatus/{operationId}\",\n httpMethod: \"GET\",\n responses: {\n 200: {\n bodyMapper: Mappers.OperationStatus,\n },\n default: {\n bodyMapper: Mappers.NewErrorResponse,\n },\n },\n queryParameters: [Parameters.apiVersion],\n urlParameters: [\n Parameters.$host,\n Parameters.vaultName,\n Parameters.resourceGroupName,\n Parameters.subscriptionId,\n Parameters.privateEndpointConnectionName,\n Parameters.operationId,\n ],\n headerParameters: [Parameters.accept],\n serializer,\n};\n"]}
|