@azure/arm-dataprotection 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +109 -0
- package/dist/index.js +10451 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesAdhocBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesAdhocBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesAdhocBackupSample.js +46 -0
- package/dist-esm/samples-dev/backupInstancesAdhocBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.js +85 -0
- package/dist-esm/samples-dev/backupInstancesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/backupInstancesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js +52 -0
- package/dist-esm/samples-dev/backupInstancesExtensionRoutingListSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.js +41 -0
- package/dist-esm/samples-dev/backupInstancesGetBackupInstanceOperationResultSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesGetSample.js +40 -0
- package/dist-esm/samples-dev/backupInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesListSample.js +53 -0
- package/dist-esm/samples-dev/backupInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.js +40 -0
- package/dist-esm/samples-dev/backupInstancesResumeBackupsSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.js +40 -0
- package/dist-esm/samples-dev/backupInstancesResumeProtectionSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesStopProtectionSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesStopProtectionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesStopProtectionSample.js +40 -0
- package/dist-esm/samples-dev/backupInstancesStopProtectionSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.js +40 -0
- package/dist-esm/samples-dev/backupInstancesSuspendBackupsSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.js +43 -0
- package/dist-esm/samples-dev/backupInstancesSyncBackupInstanceSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.js +45 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRehydrateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.js +163 -0
- package/dist-esm/samples-dev/backupInstancesTriggerRestoreSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.js +73 -0
- package/dist-esm/samples-dev/backupInstancesValidateForBackupSample.js.map +1 -0
- package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.js +78 -0
- package/dist-esm/samples-dev/backupInstancesValidateForRestoreSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.js +119 -0
- package/dist-esm/samples-dev/backupPoliciesCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js +40 -0
- package/dist-esm/samples-dev/backupPoliciesDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.js +40 -0
- package/dist-esm/samples-dev/backupPoliciesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.js +53 -0
- package/dist-esm/samples-dev/backupPoliciesListSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.js +40 -0
- package/dist-esm/samples-dev/backupVaultOperationResultsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.js +43 -0
- package/dist-esm/samples-dev/backupVaultsCheckNameAvailabilitySample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.js +84 -0
- package/dist-esm/samples-dev/backupVaultsCreateOrUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/backupVaultsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.js +52 -0
- package/dist-esm/samples-dev/backupVaultsGetInResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.js +51 -0
- package/dist-esm/samples-dev/backupVaultsGetInSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsGetSample.js +58 -0
- package/dist-esm/samples-dev/backupVaultsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/backupVaultsUpdateSample.d.ts +2 -0
- package/dist-esm/samples-dev/backupVaultsUpdateSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/backupVaultsUpdateSample.js +47 -0
- package/dist-esm/samples-dev/backupVaultsUpdateSample.js.map +1 -0
- package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.js +42 -0
- package/dist-esm/samples-dev/dataProtectionCheckFeatureSupportSample.js.map +1 -0
- package/dist-esm/samples-dev/dataProtectionOperationsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/dataProtectionOperationsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dataProtectionOperationsListSample.js +51 -0
- package/dist-esm/samples-dev/dataProtectionOperationsListSample.js.map +1 -0
- package/dist-esm/samples-dev/deletedBackupInstancesGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/deletedBackupInstancesGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deletedBackupInstancesGetSample.js +40 -0
- package/dist-esm/samples-dev/deletedBackupInstancesGetSample.js.map +1 -0
- package/dist-esm/samples-dev/deletedBackupInstancesListSample.d.ts +2 -0
- package/dist-esm/samples-dev/deletedBackupInstancesListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deletedBackupInstancesListSample.js +53 -0
- package/dist-esm/samples-dev/deletedBackupInstancesListSample.js.map +1 -0
- package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.js +40 -0
- package/dist-esm/samples-dev/deletedBackupInstancesUndeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js +40 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js +40 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyGetSample.js.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts +2 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js +53 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyListSample.js.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts +2 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js +45 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyPutSample.js.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js +46 -0
- package/dist-esm/samples-dev/dppResourceGuardProxyUnlockDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/exportJobsOperationResultGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportJobsOperationResultGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportJobsOperationResultGetSample.js +40 -0
- package/dist-esm/samples-dev/exportJobsOperationResultGetSample.js.map +1 -0
- package/dist-esm/samples-dev/exportJobsTriggerSample.d.ts +2 -0
- package/dist-esm/samples-dev/exportJobsTriggerSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/exportJobsTriggerSample.js +39 -0
- package/dist-esm/samples-dev/exportJobsTriggerSample.js.map +1 -0
- package/dist-esm/samples-dev/jobsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobsGetSample.js +40 -0
- package/dist-esm/samples-dev/jobsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/jobsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/jobsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/jobsListSample.js +53 -0
- package/dist-esm/samples-dev/jobsListSample.js.map +1 -0
- package/dist-esm/samples-dev/operationResultGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationResultGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationResultGetSample.js +39 -0
- package/dist-esm/samples-dev/operationResultGetSample.js.map +1 -0
- package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.js +40 -0
- package/dist-esm/samples-dev/operationStatusBackupVaultContextGetSample.js.map +1 -0
- package/dist-esm/samples-dev/operationStatusGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationStatusGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationStatusGetSample.js +39 -0
- package/dist-esm/samples-dev/operationStatusGetSample.js.map +1 -0
- package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.js +39 -0
- package/dist-esm/samples-dev/operationStatusResourceGroupContextGetSample.js.map +1 -0
- package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/recoveryPointsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/recoveryPointsGetSample.js +41 -0
- package/dist-esm/samples-dev/recoveryPointsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/recoveryPointsListSample.d.ts +2 -0
- package/dist-esm/samples-dev/recoveryPointsListSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/recoveryPointsListSample.js +54 -0
- package/dist-esm/samples-dev/recoveryPointsListSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsDeleteSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsDeleteSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsDeleteSample.js +39 -0
- package/dist-esm/samples-dev/resourceGuardsDeleteSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.js +53 -0
- package/dist-esm/samples-dev/resourceGuardsGetBackupSecurityPinRequestsObjectsSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultBackupSecurityPinRequestsObjectSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteProtectedItemRequestsObjectSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultDisableSoftDeleteRequestsObjectSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectedItemRequestsObjectSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.js +53 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteProtectedItemRequestsObjectsSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.js +53 -0
- package/dist-esm/samples-dev/resourceGuardsGetDeleteResourceGuardProxyRequestsObjectsSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.js +53 -0
- package/dist-esm/samples-dev/resourceGuardsGetDisableSoftDeleteRequestsObjectsSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.js +52 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInResourceGroupSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.js +51 -0
- package/dist-esm/samples-dev/resourceGuardsGetResourcesInSubscriptionSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetSample.js +39 -0
- package/dist-esm/samples-dev/resourceGuardsGetSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.js +53 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectedItemRequestsObjectsSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.js +53 -0
- package/dist-esm/samples-dev/resourceGuardsGetUpdateProtectionPolicyRequestsObjectsSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsPatchSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsPatchSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsPatchSample.js +40 -0
- package/dist-esm/samples-dev/resourceGuardsPatchSample.js.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsPutSample.d.ts +2 -0
- package/dist-esm/samples-dev/resourceGuardsPutSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/resourceGuardsPutSample.js +43 -0
- package/dist-esm/samples-dev/resourceGuardsPutSample.js.map +1 -0
- package/dist-esm/samples-dev/restorableTimeRangesFindSample.d.ts +2 -0
- package/dist-esm/samples-dev/restorableTimeRangesFindSample.d.ts.map +1 -0
- package/dist-esm/samples-dev/restorableTimeRangesFindSample.js +45 -0
- package/dist-esm/samples-dev/restorableTimeRangesFindSample.js.map +1 -0
- package/dist-esm/src/dataProtectionClient.d.ts +38 -0
- package/dist-esm/src/dataProtectionClient.d.ts.map +1 -0
- package/dist-esm/src/dataProtectionClient.js +118 -0
- package/dist-esm/src/dataProtectionClient.js.map +1 -0
- package/dist-esm/src/index.d.ts +6 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +13 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2716 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +372 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +207 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +4480 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +38 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +276 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/backupInstances.d.ts +264 -0
- package/dist-esm/src/operations/backupInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/backupInstances.js +1212 -0
- package/dist-esm/src/operations/backupInstances.js.map +1 -0
- package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts +35 -0
- package/dist-esm/src/operations/backupInstancesExtensionRouting.d.ts.map +1 -0
- package/dist-esm/src/operations/backupInstancesExtensionRouting.js +134 -0
- package/dist-esm/src/operations/backupInstancesExtensionRouting.js.map +1 -0
- package/dist-esm/src/operations/backupPolicies.d.ts +63 -0
- package/dist-esm/src/operations/backupPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/backupPolicies.js +246 -0
- package/dist-esm/src/operations/backupPolicies.js.map +1 -0
- package/dist-esm/src/operations/backupVaultOperationResults.d.ts +20 -0
- package/dist-esm/src/operations/backupVaultOperationResults.d.ts.map +1 -0
- package/dist-esm/src/operations/backupVaultOperationResults.js +57 -0
- package/dist-esm/src/operations/backupVaultOperationResults.js.map +1 -0
- package/dist-esm/src/operations/backupVaults.d.ts +110 -0
- package/dist-esm/src/operations/backupVaults.d.ts.map +1 -0
- package/dist-esm/src/operations/backupVaults.js +519 -0
- package/dist-esm/src/operations/backupVaults.js.map +1 -0
- package/dist-esm/src/operations/dataProtection.d.ts +20 -0
- package/dist-esm/src/operations/dataProtection.d.ts.map +1 -0
- package/dist-esm/src/operations/dataProtection.js +54 -0
- package/dist-esm/src/operations/dataProtection.js.map +1 -0
- package/dist-esm/src/operations/dataProtectionOperations.d.ts +32 -0
- package/dist-esm/src/operations/dataProtectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dataProtectionOperations.js +131 -0
- package/dist-esm/src/operations/dataProtectionOperations.js.map +1 -0
- package/dist-esm/src/operations/deletedBackupInstances.d.ts +61 -0
- package/dist-esm/src/operations/deletedBackupInstances.d.ts.map +1 -0
- package/dist-esm/src/operations/deletedBackupInstances.js +256 -0
- package/dist-esm/src/operations/deletedBackupInstances.js.map +1 -0
- package/dist-esm/src/operations/dppResourceGuardProxy.d.ts +66 -0
- package/dist-esm/src/operations/dppResourceGuardProxy.d.ts.map +1 -0
- package/dist-esm/src/operations/dppResourceGuardProxy.js +287 -0
- package/dist-esm/src/operations/dppResourceGuardProxy.js.map +1 -0
- package/dist-esm/src/operations/exportJobs.d.ts +28 -0
- package/dist-esm/src/operations/exportJobs.d.ts.map +1 -0
- package/dist-esm/src/operations/exportJobs.js +108 -0
- package/dist-esm/src/operations/exportJobs.js.map +1 -0
- package/dist-esm/src/operations/exportJobsOperationResult.d.ts +23 -0
- package/dist-esm/src/operations/exportJobsOperationResult.d.ts.map +1 -0
- package/dist-esm/src/operations/exportJobsOperationResult.js +58 -0
- package/dist-esm/src/operations/exportJobsOperationResult.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +20 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +27 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/jobs.d.ts +47 -0
- package/dist-esm/src/operations/jobs.d.ts.map +1 -0
- package/dist-esm/src/operations/jobs.js +181 -0
- package/dist-esm/src/operations/jobs.js.map +1 -0
- package/dist-esm/src/operations/operationResult.d.ts +20 -0
- package/dist-esm/src/operations/operationResult.d.ts.map +1 -0
- package/dist-esm/src/operations/operationResult.js +56 -0
- package/dist-esm/src/operations/operationResult.js.map +1 -0
- package/dist-esm/src/operations/operationStatus.d.ts +20 -0
- package/dist-esm/src/operations/operationStatus.d.ts.map +1 -0
- package/dist-esm/src/operations/operationStatus.js +53 -0
- package/dist-esm/src/operations/operationStatus.js.map +1 -0
- package/dist-esm/src/operations/operationStatusBackupVaultContext.d.ts +21 -0
- package/dist-esm/src/operations/operationStatusBackupVaultContext.d.ts.map +1 -0
- package/dist-esm/src/operations/operationStatusBackupVaultContext.js +55 -0
- package/dist-esm/src/operations/operationStatusBackupVaultContext.js.map +1 -0
- package/dist-esm/src/operations/operationStatusResourceGroupContext.d.ts +20 -0
- package/dist-esm/src/operations/operationStatusResourceGroupContext.d.ts.map +1 -0
- package/dist-esm/src/operations/operationStatusResourceGroupContext.js +53 -0
- package/dist-esm/src/operations/operationStatusResourceGroupContext.js.map +1 -0
- package/dist-esm/src/operations/recoveryPoints.d.ts +50 -0
- package/dist-esm/src/operations/recoveryPoints.d.ts.map +1 -0
- package/dist-esm/src/operations/recoveryPoints.js +197 -0
- package/dist-esm/src/operations/recoveryPoints.js.map +1 -0
- package/dist-esm/src/operations/resourceGuards.d.ts +302 -0
- package/dist-esm/src/operations/resourceGuards.d.ts.map +1 -0
- package/dist-esm/src/operations/resourceGuards.js +1328 -0
- package/dist-esm/src/operations/resourceGuards.js.map +1 -0
- package/dist-esm/src/operations/restorableTimeRanges.d.ts +21 -0
- package/dist-esm/src/operations/restorableTimeRanges.d.ts.map +1 -0
- package/dist-esm/src/operations/restorableTimeRanges.js +57 -0
- package/dist-esm/src/operations/restorableTimeRanges.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupInstances.d.ts +239 -0
- package/dist-esm/src/operationsInterfaces/backupInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupInstancesExtensionRouting.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupVaultOperationResults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts +74 -0
- package/dist-esm/src/operationsInterfaces/backupVaults.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/backupVaults.js +9 -0
- package/dist-esm/src/operationsInterfaces/backupVaults.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataProtection.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/dataProtection.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataProtection.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataProtection.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataProtectionOperations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/dataProtectionOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataProtectionOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataProtectionOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.js +9 -0
- package/dist-esm/src/operationsInterfaces/deletedBackupInstances.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js +9 -0
- package/dist-esm/src/operationsInterfaces/dppResourceGuardProxy.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/exportJobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportJobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportJobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.d.ts +15 -0
- package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.js +9 -0
- package/dist-esm/src/operationsInterfaces/exportJobsOperationResult.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +20 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +27 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobs.d.ts +22 -0
- package/dist-esm/src/operationsInterfaces/jobs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/jobs.js +9 -0
- package/dist-esm/src/operationsInterfaces/jobs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationResult.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationResult.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationResult.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationResult.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatus.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationStatus.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatus.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationStatus.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationStatusBackupVaultContext.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.js +9 -0
- package/dist-esm/src/operationsInterfaces/operationStatusResourceGroupContext.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts +23 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.js +9 -0
- package/dist-esm/src/operationsInterfaces/recoveryPoints.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts +150 -0
- package/dist-esm/src/operationsInterfaces/resourceGuards.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/resourceGuards.js +9 -0
- package/dist-esm/src/operationsInterfaces/resourceGuards.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/restorableTimeRanges.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/restorableTimeRanges.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/restorableTimeRanges.js +9 -0
- package/dist-esm/src/operationsInterfaces/restorableTimeRanges.js.map +1 -0
- package/dist-esm/src/pagingHelper.d.ts +13 -0
- package/dist-esm/src/pagingHelper.d.ts.map +1 -0
- package/dist-esm/src/pagingHelper.js +32 -0
- package/dist-esm/src/pagingHelper.js.map +1 -0
- package/dist-esm/test/dataprotection_operations_test.spec.d.ts +4 -0
- package/dist-esm/test/dataprotection_operations_test.spec.d.ts.map +1 -0
- package/dist-esm/test/dataprotection_operations_test.spec.js +116 -0
- package/dist-esm/test/dataprotection_operations_test.spec.js.map +1 -0
- package/package.json +123 -0
- package/review/arm-dataprotection.api.md +2381 -0
- package/rollup.config.js +122 -0
- package/src/dataProtectionClient.ts +224 -0
- package/src/index.ts +13 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +3161 -0
- package/src/models/mappers.ts +4839 -0
- package/src/models/parameters.ts +334 -0
- package/src/operations/backupInstances.ts +1775 -0
- package/src/operations/backupInstancesExtensionRouting.ts +161 -0
- package/src/operations/backupPolicies.ts +328 -0
- package/src/operations/backupVaultOperationResults.ts +78 -0
- package/src/operations/backupVaults.ts +689 -0
- package/src/operations/dataProtection.ts +74 -0
- package/src/operations/dataProtectionOperations.ts +149 -0
- package/src/operations/deletedBackupInstances.ts +350 -0
- package/src/operations/dppResourceGuardProxy.ts +383 -0
- package/src/operations/exportJobs.ts +154 -0
- package/src/operations/exportJobsOperationResult.ts +79 -0
- package/src/operations/index.ts +27 -0
- package/src/operations/jobs.ts +239 -0
- package/src/operations/operationResult.ts +75 -0
- package/src/operations/operationStatus.ts +72 -0
- package/src/operations/operationStatusBackupVaultContext.ts +76 -0
- package/src/operations/operationStatusResourceGroupContext.ts +73 -0
- package/src/operations/recoveryPoints.ts +274 -0
- package/src/operations/resourceGuards.ts +1791 -0
- package/src/operations/restorableTimeRanges.ts +79 -0
- package/src/operationsInterfaces/backupInstances.ts +456 -0
- package/src/operationsInterfaces/backupInstancesExtensionRouting.ts +27 -0
- package/src/operationsInterfaces/backupPolicies.ts +75 -0
- package/src/operationsInterfaces/backupVaultOperationResults.ts +28 -0
- package/src/operationsInterfaces/backupVaults.ts +146 -0
- package/src/operationsInterfaces/dataProtection.ts +28 -0
- package/src/operationsInterfaces/dataProtectionOperations.ts +25 -0
- package/src/operationsInterfaces/deletedBackupInstances.ts +70 -0
- package/src/operationsInterfaces/dppResourceGuardProxy.ts +88 -0
- package/src/operationsInterfaces/exportJobs.ts +44 -0
- package/src/operationsInterfaces/exportJobsOperationResult.ts +31 -0
- package/src/operationsInterfaces/index.ts +27 -0
- package/src/operationsInterfaces/jobs.ts +45 -0
- package/src/operationsInterfaces/operationResult.ts +27 -0
- package/src/operationsInterfaces/operationStatus.ts +27 -0
- package/src/operationsInterfaces/operationStatusBackupVaultContext.ts +29 -0
- package/src/operationsInterfaces/operationStatusResourceGroupContext.ts +27 -0
- package/src/operationsInterfaces/recoveryPoints.ts +48 -0
- package/src/operationsInterfaces/resourceGuards.ts +271 -0
- package/src/operationsInterfaces/restorableTimeRanges.ts +31 -0
- package/src/pagingHelper.ts +39 -0
- package/tsconfig.json +33 -0
- package/types/arm-dataprotection.d.ts +3891 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,1791 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator, PageSettings } from "@azure/core-paging";
|
|
10
|
+
import { setContinuationToken } from "../pagingHelper";
|
|
11
|
+
import { ResourceGuards } from "../operationsInterfaces";
|
|
12
|
+
import * as coreClient from "@azure/core-client";
|
|
13
|
+
import * as Mappers from "../models/mappers";
|
|
14
|
+
import * as Parameters from "../models/parameters";
|
|
15
|
+
import { DataProtectionClient } from "../dataProtectionClient";
|
|
16
|
+
import {
|
|
17
|
+
ResourceGuardResource,
|
|
18
|
+
ResourceGuardsGetResourcesInSubscriptionNextOptionalParams,
|
|
19
|
+
ResourceGuardsGetResourcesInSubscriptionOptionalParams,
|
|
20
|
+
ResourceGuardsGetResourcesInSubscriptionResponse,
|
|
21
|
+
ResourceGuardsGetResourcesInResourceGroupNextOptionalParams,
|
|
22
|
+
ResourceGuardsGetResourcesInResourceGroupOptionalParams,
|
|
23
|
+
ResourceGuardsGetResourcesInResourceGroupResponse,
|
|
24
|
+
DppBaseResource,
|
|
25
|
+
ResourceGuardsGetDisableSoftDeleteRequestsObjectsNextOptionalParams,
|
|
26
|
+
ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams,
|
|
27
|
+
ResourceGuardsGetDisableSoftDeleteRequestsObjectsResponse,
|
|
28
|
+
ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsNextOptionalParams,
|
|
29
|
+
ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams,
|
|
30
|
+
ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsResponse,
|
|
31
|
+
ResourceGuardsGetBackupSecurityPINRequestsObjectsNextOptionalParams,
|
|
32
|
+
ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams,
|
|
33
|
+
ResourceGuardsGetBackupSecurityPINRequestsObjectsResponse,
|
|
34
|
+
ResourceGuardsGetDeleteProtectedItemRequestsObjectsNextOptionalParams,
|
|
35
|
+
ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams,
|
|
36
|
+
ResourceGuardsGetDeleteProtectedItemRequestsObjectsResponse,
|
|
37
|
+
ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsNextOptionalParams,
|
|
38
|
+
ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams,
|
|
39
|
+
ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsResponse,
|
|
40
|
+
ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextOptionalParams,
|
|
41
|
+
ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams,
|
|
42
|
+
ResourceGuardsGetUpdateProtectedItemRequestsObjectsResponse,
|
|
43
|
+
ResourceGuardsPutOptionalParams,
|
|
44
|
+
ResourceGuardsPutResponse,
|
|
45
|
+
ResourceGuardsGetOptionalParams,
|
|
46
|
+
ResourceGuardsGetResponse,
|
|
47
|
+
ResourceGuardsDeleteOptionalParams,
|
|
48
|
+
PatchResourceRequestInput,
|
|
49
|
+
ResourceGuardsPatchOptionalParams,
|
|
50
|
+
ResourceGuardsPatchResponse,
|
|
51
|
+
ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams,
|
|
52
|
+
ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectResponse,
|
|
53
|
+
ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams,
|
|
54
|
+
ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectResponse,
|
|
55
|
+
ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams,
|
|
56
|
+
ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectResponse,
|
|
57
|
+
ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams,
|
|
58
|
+
ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectResponse,
|
|
59
|
+
ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams,
|
|
60
|
+
ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectResponse,
|
|
61
|
+
ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams,
|
|
62
|
+
ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectResponse,
|
|
63
|
+
ResourceGuardsGetResourcesInSubscriptionNextResponse,
|
|
64
|
+
ResourceGuardsGetResourcesInResourceGroupNextResponse,
|
|
65
|
+
ResourceGuardsGetDisableSoftDeleteRequestsObjectsNextResponse,
|
|
66
|
+
ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsNextResponse,
|
|
67
|
+
ResourceGuardsGetBackupSecurityPINRequestsObjectsNextResponse,
|
|
68
|
+
ResourceGuardsGetDeleteProtectedItemRequestsObjectsNextResponse,
|
|
69
|
+
ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsNextResponse,
|
|
70
|
+
ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextResponse
|
|
71
|
+
} from "../models";
|
|
72
|
+
|
|
73
|
+
/// <reference lib="esnext.asynciterable" />
|
|
74
|
+
/** Class containing ResourceGuards operations. */
|
|
75
|
+
export class ResourceGuardsImpl implements ResourceGuards {
|
|
76
|
+
private readonly client: DataProtectionClient;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Initialize a new instance of the class ResourceGuards class.
|
|
80
|
+
* @param client Reference to the service client
|
|
81
|
+
*/
|
|
82
|
+
constructor(client: DataProtectionClient) {
|
|
83
|
+
this.client = client;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Returns ResourceGuards collection belonging to a subscription.
|
|
88
|
+
* @param options The options parameters.
|
|
89
|
+
*/
|
|
90
|
+
public listResourcesInSubscription(
|
|
91
|
+
options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams
|
|
92
|
+
): PagedAsyncIterableIterator<ResourceGuardResource> {
|
|
93
|
+
const iter = this.getResourcesInSubscriptionPagingAll(options);
|
|
94
|
+
return {
|
|
95
|
+
next() {
|
|
96
|
+
return iter.next();
|
|
97
|
+
},
|
|
98
|
+
[Symbol.asyncIterator]() {
|
|
99
|
+
return this;
|
|
100
|
+
},
|
|
101
|
+
byPage: (settings?: PageSettings) => {
|
|
102
|
+
if (settings?.maxPageSize) {
|
|
103
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
104
|
+
}
|
|
105
|
+
return this.getResourcesInSubscriptionPagingPage(options, settings);
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
private async *getResourcesInSubscriptionPagingPage(
|
|
111
|
+
options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams,
|
|
112
|
+
settings?: PageSettings
|
|
113
|
+
): AsyncIterableIterator<ResourceGuardResource[]> {
|
|
114
|
+
let result: ResourceGuardsGetResourcesInSubscriptionResponse;
|
|
115
|
+
let continuationToken = settings?.continuationToken;
|
|
116
|
+
if (!continuationToken) {
|
|
117
|
+
result = await this._getResourcesInSubscription(options);
|
|
118
|
+
let page = result.value || [];
|
|
119
|
+
continuationToken = result.nextLink;
|
|
120
|
+
setContinuationToken(page, continuationToken);
|
|
121
|
+
yield page;
|
|
122
|
+
}
|
|
123
|
+
while (continuationToken) {
|
|
124
|
+
result = await this._getResourcesInSubscriptionNext(
|
|
125
|
+
continuationToken,
|
|
126
|
+
options
|
|
127
|
+
);
|
|
128
|
+
continuationToken = result.nextLink;
|
|
129
|
+
let page = result.value || [];
|
|
130
|
+
setContinuationToken(page, continuationToken);
|
|
131
|
+
yield page;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
private async *getResourcesInSubscriptionPagingAll(
|
|
136
|
+
options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams
|
|
137
|
+
): AsyncIterableIterator<ResourceGuardResource> {
|
|
138
|
+
for await (const page of this.getResourcesInSubscriptionPagingPage(
|
|
139
|
+
options
|
|
140
|
+
)) {
|
|
141
|
+
yield* page;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Returns ResourceGuards collection belonging to a ResourceGroup.
|
|
147
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
148
|
+
* @param options The options parameters.
|
|
149
|
+
*/
|
|
150
|
+
public listResourcesInResourceGroup(
|
|
151
|
+
resourceGroupName: string,
|
|
152
|
+
options?: ResourceGuardsGetResourcesInResourceGroupOptionalParams
|
|
153
|
+
): PagedAsyncIterableIterator<ResourceGuardResource> {
|
|
154
|
+
const iter = this.getResourcesInResourceGroupPagingAll(
|
|
155
|
+
resourceGroupName,
|
|
156
|
+
options
|
|
157
|
+
);
|
|
158
|
+
return {
|
|
159
|
+
next() {
|
|
160
|
+
return iter.next();
|
|
161
|
+
},
|
|
162
|
+
[Symbol.asyncIterator]() {
|
|
163
|
+
return this;
|
|
164
|
+
},
|
|
165
|
+
byPage: (settings?: PageSettings) => {
|
|
166
|
+
if (settings?.maxPageSize) {
|
|
167
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
168
|
+
}
|
|
169
|
+
return this.getResourcesInResourceGroupPagingPage(
|
|
170
|
+
resourceGroupName,
|
|
171
|
+
options,
|
|
172
|
+
settings
|
|
173
|
+
);
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
private async *getResourcesInResourceGroupPagingPage(
|
|
179
|
+
resourceGroupName: string,
|
|
180
|
+
options?: ResourceGuardsGetResourcesInResourceGroupOptionalParams,
|
|
181
|
+
settings?: PageSettings
|
|
182
|
+
): AsyncIterableIterator<ResourceGuardResource[]> {
|
|
183
|
+
let result: ResourceGuardsGetResourcesInResourceGroupResponse;
|
|
184
|
+
let continuationToken = settings?.continuationToken;
|
|
185
|
+
if (!continuationToken) {
|
|
186
|
+
result = await this._getResourcesInResourceGroup(
|
|
187
|
+
resourceGroupName,
|
|
188
|
+
options
|
|
189
|
+
);
|
|
190
|
+
let page = result.value || [];
|
|
191
|
+
continuationToken = result.nextLink;
|
|
192
|
+
setContinuationToken(page, continuationToken);
|
|
193
|
+
yield page;
|
|
194
|
+
}
|
|
195
|
+
while (continuationToken) {
|
|
196
|
+
result = await this._getResourcesInResourceGroupNext(
|
|
197
|
+
resourceGroupName,
|
|
198
|
+
continuationToken,
|
|
199
|
+
options
|
|
200
|
+
);
|
|
201
|
+
continuationToken = result.nextLink;
|
|
202
|
+
let page = result.value || [];
|
|
203
|
+
setContinuationToken(page, continuationToken);
|
|
204
|
+
yield page;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
private async *getResourcesInResourceGroupPagingAll(
|
|
209
|
+
resourceGroupName: string,
|
|
210
|
+
options?: ResourceGuardsGetResourcesInResourceGroupOptionalParams
|
|
211
|
+
): AsyncIterableIterator<ResourceGuardResource> {
|
|
212
|
+
for await (const page of this.getResourcesInResourceGroupPagingPage(
|
|
213
|
+
resourceGroupName,
|
|
214
|
+
options
|
|
215
|
+
)) {
|
|
216
|
+
yield* page;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
222
|
+
* ResourceGuard resource.
|
|
223
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
224
|
+
* @param resourceGuardsName
|
|
225
|
+
* @param options The options parameters.
|
|
226
|
+
*/
|
|
227
|
+
public listDisableSoftDeleteRequestsObjects(
|
|
228
|
+
resourceGroupName: string,
|
|
229
|
+
resourceGuardsName: string,
|
|
230
|
+
options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams
|
|
231
|
+
): PagedAsyncIterableIterator<DppBaseResource> {
|
|
232
|
+
const iter = this.getDisableSoftDeleteRequestsObjectsPagingAll(
|
|
233
|
+
resourceGroupName,
|
|
234
|
+
resourceGuardsName,
|
|
235
|
+
options
|
|
236
|
+
);
|
|
237
|
+
return {
|
|
238
|
+
next() {
|
|
239
|
+
return iter.next();
|
|
240
|
+
},
|
|
241
|
+
[Symbol.asyncIterator]() {
|
|
242
|
+
return this;
|
|
243
|
+
},
|
|
244
|
+
byPage: (settings?: PageSettings) => {
|
|
245
|
+
if (settings?.maxPageSize) {
|
|
246
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
247
|
+
}
|
|
248
|
+
return this.getDisableSoftDeleteRequestsObjectsPagingPage(
|
|
249
|
+
resourceGroupName,
|
|
250
|
+
resourceGuardsName,
|
|
251
|
+
options,
|
|
252
|
+
settings
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
private async *getDisableSoftDeleteRequestsObjectsPagingPage(
|
|
259
|
+
resourceGroupName: string,
|
|
260
|
+
resourceGuardsName: string,
|
|
261
|
+
options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams,
|
|
262
|
+
settings?: PageSettings
|
|
263
|
+
): AsyncIterableIterator<DppBaseResource[]> {
|
|
264
|
+
let result: ResourceGuardsGetDisableSoftDeleteRequestsObjectsResponse;
|
|
265
|
+
let continuationToken = settings?.continuationToken;
|
|
266
|
+
if (!continuationToken) {
|
|
267
|
+
result = await this._getDisableSoftDeleteRequestsObjects(
|
|
268
|
+
resourceGroupName,
|
|
269
|
+
resourceGuardsName,
|
|
270
|
+
options
|
|
271
|
+
);
|
|
272
|
+
let page = result.value || [];
|
|
273
|
+
continuationToken = result.nextLink;
|
|
274
|
+
setContinuationToken(page, continuationToken);
|
|
275
|
+
yield page;
|
|
276
|
+
}
|
|
277
|
+
while (continuationToken) {
|
|
278
|
+
result = await this._getDisableSoftDeleteRequestsObjectsNext(
|
|
279
|
+
resourceGroupName,
|
|
280
|
+
resourceGuardsName,
|
|
281
|
+
continuationToken,
|
|
282
|
+
options
|
|
283
|
+
);
|
|
284
|
+
continuationToken = result.nextLink;
|
|
285
|
+
let page = result.value || [];
|
|
286
|
+
setContinuationToken(page, continuationToken);
|
|
287
|
+
yield page;
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
private async *getDisableSoftDeleteRequestsObjectsPagingAll(
|
|
292
|
+
resourceGroupName: string,
|
|
293
|
+
resourceGuardsName: string,
|
|
294
|
+
options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams
|
|
295
|
+
): AsyncIterableIterator<DppBaseResource> {
|
|
296
|
+
for await (const page of this.getDisableSoftDeleteRequestsObjectsPagingPage(
|
|
297
|
+
resourceGroupName,
|
|
298
|
+
resourceGuardsName,
|
|
299
|
+
options
|
|
300
|
+
)) {
|
|
301
|
+
yield* page;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
307
|
+
* ResourceGuard resource.
|
|
308
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
309
|
+
* @param resourceGuardsName
|
|
310
|
+
* @param options The options parameters.
|
|
311
|
+
*/
|
|
312
|
+
public listDeleteResourceGuardProxyRequestsObjects(
|
|
313
|
+
resourceGroupName: string,
|
|
314
|
+
resourceGuardsName: string,
|
|
315
|
+
options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams
|
|
316
|
+
): PagedAsyncIterableIterator<DppBaseResource> {
|
|
317
|
+
const iter = this.getDeleteResourceGuardProxyRequestsObjectsPagingAll(
|
|
318
|
+
resourceGroupName,
|
|
319
|
+
resourceGuardsName,
|
|
320
|
+
options
|
|
321
|
+
);
|
|
322
|
+
return {
|
|
323
|
+
next() {
|
|
324
|
+
return iter.next();
|
|
325
|
+
},
|
|
326
|
+
[Symbol.asyncIterator]() {
|
|
327
|
+
return this;
|
|
328
|
+
},
|
|
329
|
+
byPage: (settings?: PageSettings) => {
|
|
330
|
+
if (settings?.maxPageSize) {
|
|
331
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
332
|
+
}
|
|
333
|
+
return this.getDeleteResourceGuardProxyRequestsObjectsPagingPage(
|
|
334
|
+
resourceGroupName,
|
|
335
|
+
resourceGuardsName,
|
|
336
|
+
options,
|
|
337
|
+
settings
|
|
338
|
+
);
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
private async *getDeleteResourceGuardProxyRequestsObjectsPagingPage(
|
|
344
|
+
resourceGroupName: string,
|
|
345
|
+
resourceGuardsName: string,
|
|
346
|
+
options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams,
|
|
347
|
+
settings?: PageSettings
|
|
348
|
+
): AsyncIterableIterator<DppBaseResource[]> {
|
|
349
|
+
let result: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsResponse;
|
|
350
|
+
let continuationToken = settings?.continuationToken;
|
|
351
|
+
if (!continuationToken) {
|
|
352
|
+
result = await this._getDeleteResourceGuardProxyRequestsObjects(
|
|
353
|
+
resourceGroupName,
|
|
354
|
+
resourceGuardsName,
|
|
355
|
+
options
|
|
356
|
+
);
|
|
357
|
+
let page = result.value || [];
|
|
358
|
+
continuationToken = result.nextLink;
|
|
359
|
+
setContinuationToken(page, continuationToken);
|
|
360
|
+
yield page;
|
|
361
|
+
}
|
|
362
|
+
while (continuationToken) {
|
|
363
|
+
result = await this._getDeleteResourceGuardProxyRequestsObjectsNext(
|
|
364
|
+
resourceGroupName,
|
|
365
|
+
resourceGuardsName,
|
|
366
|
+
continuationToken,
|
|
367
|
+
options
|
|
368
|
+
);
|
|
369
|
+
continuationToken = result.nextLink;
|
|
370
|
+
let page = result.value || [];
|
|
371
|
+
setContinuationToken(page, continuationToken);
|
|
372
|
+
yield page;
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
private async *getDeleteResourceGuardProxyRequestsObjectsPagingAll(
|
|
377
|
+
resourceGroupName: string,
|
|
378
|
+
resourceGuardsName: string,
|
|
379
|
+
options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams
|
|
380
|
+
): AsyncIterableIterator<DppBaseResource> {
|
|
381
|
+
for await (const page of this.getDeleteResourceGuardProxyRequestsObjectsPagingPage(
|
|
382
|
+
resourceGroupName,
|
|
383
|
+
resourceGuardsName,
|
|
384
|
+
options
|
|
385
|
+
)) {
|
|
386
|
+
yield* page;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
392
|
+
* ResourceGuard resource.
|
|
393
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
394
|
+
* @param resourceGuardsName
|
|
395
|
+
* @param options The options parameters.
|
|
396
|
+
*/
|
|
397
|
+
public listBackupSecurityPINRequestsObjects(
|
|
398
|
+
resourceGroupName: string,
|
|
399
|
+
resourceGuardsName: string,
|
|
400
|
+
options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams
|
|
401
|
+
): PagedAsyncIterableIterator<DppBaseResource> {
|
|
402
|
+
const iter = this.getBackupSecurityPINRequestsObjectsPagingAll(
|
|
403
|
+
resourceGroupName,
|
|
404
|
+
resourceGuardsName,
|
|
405
|
+
options
|
|
406
|
+
);
|
|
407
|
+
return {
|
|
408
|
+
next() {
|
|
409
|
+
return iter.next();
|
|
410
|
+
},
|
|
411
|
+
[Symbol.asyncIterator]() {
|
|
412
|
+
return this;
|
|
413
|
+
},
|
|
414
|
+
byPage: (settings?: PageSettings) => {
|
|
415
|
+
if (settings?.maxPageSize) {
|
|
416
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
417
|
+
}
|
|
418
|
+
return this.getBackupSecurityPINRequestsObjectsPagingPage(
|
|
419
|
+
resourceGroupName,
|
|
420
|
+
resourceGuardsName,
|
|
421
|
+
options,
|
|
422
|
+
settings
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
private async *getBackupSecurityPINRequestsObjectsPagingPage(
|
|
429
|
+
resourceGroupName: string,
|
|
430
|
+
resourceGuardsName: string,
|
|
431
|
+
options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams,
|
|
432
|
+
settings?: PageSettings
|
|
433
|
+
): AsyncIterableIterator<DppBaseResource[]> {
|
|
434
|
+
let result: ResourceGuardsGetBackupSecurityPINRequestsObjectsResponse;
|
|
435
|
+
let continuationToken = settings?.continuationToken;
|
|
436
|
+
if (!continuationToken) {
|
|
437
|
+
result = await this._getBackupSecurityPINRequestsObjects(
|
|
438
|
+
resourceGroupName,
|
|
439
|
+
resourceGuardsName,
|
|
440
|
+
options
|
|
441
|
+
);
|
|
442
|
+
let page = result.value || [];
|
|
443
|
+
continuationToken = result.nextLink;
|
|
444
|
+
setContinuationToken(page, continuationToken);
|
|
445
|
+
yield page;
|
|
446
|
+
}
|
|
447
|
+
while (continuationToken) {
|
|
448
|
+
result = await this._getBackupSecurityPINRequestsObjectsNext(
|
|
449
|
+
resourceGroupName,
|
|
450
|
+
resourceGuardsName,
|
|
451
|
+
continuationToken,
|
|
452
|
+
options
|
|
453
|
+
);
|
|
454
|
+
continuationToken = result.nextLink;
|
|
455
|
+
let page = result.value || [];
|
|
456
|
+
setContinuationToken(page, continuationToken);
|
|
457
|
+
yield page;
|
|
458
|
+
}
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
private async *getBackupSecurityPINRequestsObjectsPagingAll(
|
|
462
|
+
resourceGroupName: string,
|
|
463
|
+
resourceGuardsName: string,
|
|
464
|
+
options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams
|
|
465
|
+
): AsyncIterableIterator<DppBaseResource> {
|
|
466
|
+
for await (const page of this.getBackupSecurityPINRequestsObjectsPagingPage(
|
|
467
|
+
resourceGroupName,
|
|
468
|
+
resourceGuardsName,
|
|
469
|
+
options
|
|
470
|
+
)) {
|
|
471
|
+
yield* page;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
477
|
+
* ResourceGuard resource.
|
|
478
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
479
|
+
* @param resourceGuardsName
|
|
480
|
+
* @param options The options parameters.
|
|
481
|
+
*/
|
|
482
|
+
public listDeleteProtectedItemRequestsObjects(
|
|
483
|
+
resourceGroupName: string,
|
|
484
|
+
resourceGuardsName: string,
|
|
485
|
+
options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams
|
|
486
|
+
): PagedAsyncIterableIterator<DppBaseResource> {
|
|
487
|
+
const iter = this.getDeleteProtectedItemRequestsObjectsPagingAll(
|
|
488
|
+
resourceGroupName,
|
|
489
|
+
resourceGuardsName,
|
|
490
|
+
options
|
|
491
|
+
);
|
|
492
|
+
return {
|
|
493
|
+
next() {
|
|
494
|
+
return iter.next();
|
|
495
|
+
},
|
|
496
|
+
[Symbol.asyncIterator]() {
|
|
497
|
+
return this;
|
|
498
|
+
},
|
|
499
|
+
byPage: (settings?: PageSettings) => {
|
|
500
|
+
if (settings?.maxPageSize) {
|
|
501
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
502
|
+
}
|
|
503
|
+
return this.getDeleteProtectedItemRequestsObjectsPagingPage(
|
|
504
|
+
resourceGroupName,
|
|
505
|
+
resourceGuardsName,
|
|
506
|
+
options,
|
|
507
|
+
settings
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
private async *getDeleteProtectedItemRequestsObjectsPagingPage(
|
|
514
|
+
resourceGroupName: string,
|
|
515
|
+
resourceGuardsName: string,
|
|
516
|
+
options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams,
|
|
517
|
+
settings?: PageSettings
|
|
518
|
+
): AsyncIterableIterator<DppBaseResource[]> {
|
|
519
|
+
let result: ResourceGuardsGetDeleteProtectedItemRequestsObjectsResponse;
|
|
520
|
+
let continuationToken = settings?.continuationToken;
|
|
521
|
+
if (!continuationToken) {
|
|
522
|
+
result = await this._getDeleteProtectedItemRequestsObjects(
|
|
523
|
+
resourceGroupName,
|
|
524
|
+
resourceGuardsName,
|
|
525
|
+
options
|
|
526
|
+
);
|
|
527
|
+
let page = result.value || [];
|
|
528
|
+
continuationToken = result.nextLink;
|
|
529
|
+
setContinuationToken(page, continuationToken);
|
|
530
|
+
yield page;
|
|
531
|
+
}
|
|
532
|
+
while (continuationToken) {
|
|
533
|
+
result = await this._getDeleteProtectedItemRequestsObjectsNext(
|
|
534
|
+
resourceGroupName,
|
|
535
|
+
resourceGuardsName,
|
|
536
|
+
continuationToken,
|
|
537
|
+
options
|
|
538
|
+
);
|
|
539
|
+
continuationToken = result.nextLink;
|
|
540
|
+
let page = result.value || [];
|
|
541
|
+
setContinuationToken(page, continuationToken);
|
|
542
|
+
yield page;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
private async *getDeleteProtectedItemRequestsObjectsPagingAll(
|
|
547
|
+
resourceGroupName: string,
|
|
548
|
+
resourceGuardsName: string,
|
|
549
|
+
options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams
|
|
550
|
+
): AsyncIterableIterator<DppBaseResource> {
|
|
551
|
+
for await (const page of this.getDeleteProtectedItemRequestsObjectsPagingPage(
|
|
552
|
+
resourceGroupName,
|
|
553
|
+
resourceGuardsName,
|
|
554
|
+
options
|
|
555
|
+
)) {
|
|
556
|
+
yield* page;
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
562
|
+
* ResourceGuard resource.
|
|
563
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
564
|
+
* @param resourceGuardsName
|
|
565
|
+
* @param options The options parameters.
|
|
566
|
+
*/
|
|
567
|
+
public listUpdateProtectionPolicyRequestsObjects(
|
|
568
|
+
resourceGroupName: string,
|
|
569
|
+
resourceGuardsName: string,
|
|
570
|
+
options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams
|
|
571
|
+
): PagedAsyncIterableIterator<DppBaseResource> {
|
|
572
|
+
const iter = this.getUpdateProtectionPolicyRequestsObjectsPagingAll(
|
|
573
|
+
resourceGroupName,
|
|
574
|
+
resourceGuardsName,
|
|
575
|
+
options
|
|
576
|
+
);
|
|
577
|
+
return {
|
|
578
|
+
next() {
|
|
579
|
+
return iter.next();
|
|
580
|
+
},
|
|
581
|
+
[Symbol.asyncIterator]() {
|
|
582
|
+
return this;
|
|
583
|
+
},
|
|
584
|
+
byPage: (settings?: PageSettings) => {
|
|
585
|
+
if (settings?.maxPageSize) {
|
|
586
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
587
|
+
}
|
|
588
|
+
return this.getUpdateProtectionPolicyRequestsObjectsPagingPage(
|
|
589
|
+
resourceGroupName,
|
|
590
|
+
resourceGuardsName,
|
|
591
|
+
options,
|
|
592
|
+
settings
|
|
593
|
+
);
|
|
594
|
+
}
|
|
595
|
+
};
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
private async *getUpdateProtectionPolicyRequestsObjectsPagingPage(
|
|
599
|
+
resourceGroupName: string,
|
|
600
|
+
resourceGuardsName: string,
|
|
601
|
+
options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams,
|
|
602
|
+
settings?: PageSettings
|
|
603
|
+
): AsyncIterableIterator<DppBaseResource[]> {
|
|
604
|
+
let result: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsResponse;
|
|
605
|
+
let continuationToken = settings?.continuationToken;
|
|
606
|
+
if (!continuationToken) {
|
|
607
|
+
result = await this._getUpdateProtectionPolicyRequestsObjects(
|
|
608
|
+
resourceGroupName,
|
|
609
|
+
resourceGuardsName,
|
|
610
|
+
options
|
|
611
|
+
);
|
|
612
|
+
let page = result.value || [];
|
|
613
|
+
continuationToken = result.nextLink;
|
|
614
|
+
setContinuationToken(page, continuationToken);
|
|
615
|
+
yield page;
|
|
616
|
+
}
|
|
617
|
+
while (continuationToken) {
|
|
618
|
+
result = await this._getUpdateProtectionPolicyRequestsObjectsNext(
|
|
619
|
+
resourceGroupName,
|
|
620
|
+
resourceGuardsName,
|
|
621
|
+
continuationToken,
|
|
622
|
+
options
|
|
623
|
+
);
|
|
624
|
+
continuationToken = result.nextLink;
|
|
625
|
+
let page = result.value || [];
|
|
626
|
+
setContinuationToken(page, continuationToken);
|
|
627
|
+
yield page;
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
private async *getUpdateProtectionPolicyRequestsObjectsPagingAll(
|
|
632
|
+
resourceGroupName: string,
|
|
633
|
+
resourceGuardsName: string,
|
|
634
|
+
options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams
|
|
635
|
+
): AsyncIterableIterator<DppBaseResource> {
|
|
636
|
+
for await (const page of this.getUpdateProtectionPolicyRequestsObjectsPagingPage(
|
|
637
|
+
resourceGroupName,
|
|
638
|
+
resourceGuardsName,
|
|
639
|
+
options
|
|
640
|
+
)) {
|
|
641
|
+
yield* page;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/**
|
|
646
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
647
|
+
* ResourceGuard resource.
|
|
648
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
649
|
+
* @param resourceGuardsName
|
|
650
|
+
* @param options The options parameters.
|
|
651
|
+
*/
|
|
652
|
+
public listUpdateProtectedItemRequestsObjects(
|
|
653
|
+
resourceGroupName: string,
|
|
654
|
+
resourceGuardsName: string,
|
|
655
|
+
options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams
|
|
656
|
+
): PagedAsyncIterableIterator<DppBaseResource> {
|
|
657
|
+
const iter = this.getUpdateProtectedItemRequestsObjectsPagingAll(
|
|
658
|
+
resourceGroupName,
|
|
659
|
+
resourceGuardsName,
|
|
660
|
+
options
|
|
661
|
+
);
|
|
662
|
+
return {
|
|
663
|
+
next() {
|
|
664
|
+
return iter.next();
|
|
665
|
+
},
|
|
666
|
+
[Symbol.asyncIterator]() {
|
|
667
|
+
return this;
|
|
668
|
+
},
|
|
669
|
+
byPage: (settings?: PageSettings) => {
|
|
670
|
+
if (settings?.maxPageSize) {
|
|
671
|
+
throw new Error("maxPageSize is not supported by this operation.");
|
|
672
|
+
}
|
|
673
|
+
return this.getUpdateProtectedItemRequestsObjectsPagingPage(
|
|
674
|
+
resourceGroupName,
|
|
675
|
+
resourceGuardsName,
|
|
676
|
+
options,
|
|
677
|
+
settings
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
};
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
private async *getUpdateProtectedItemRequestsObjectsPagingPage(
|
|
684
|
+
resourceGroupName: string,
|
|
685
|
+
resourceGuardsName: string,
|
|
686
|
+
options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams,
|
|
687
|
+
settings?: PageSettings
|
|
688
|
+
): AsyncIterableIterator<DppBaseResource[]> {
|
|
689
|
+
let result: ResourceGuardsGetUpdateProtectedItemRequestsObjectsResponse;
|
|
690
|
+
let continuationToken = settings?.continuationToken;
|
|
691
|
+
if (!continuationToken) {
|
|
692
|
+
result = await this._getUpdateProtectedItemRequestsObjects(
|
|
693
|
+
resourceGroupName,
|
|
694
|
+
resourceGuardsName,
|
|
695
|
+
options
|
|
696
|
+
);
|
|
697
|
+
let page = result.value || [];
|
|
698
|
+
continuationToken = result.nextLink;
|
|
699
|
+
setContinuationToken(page, continuationToken);
|
|
700
|
+
yield page;
|
|
701
|
+
}
|
|
702
|
+
while (continuationToken) {
|
|
703
|
+
result = await this._getUpdateProtectedItemRequestsObjectsNext(
|
|
704
|
+
resourceGroupName,
|
|
705
|
+
resourceGuardsName,
|
|
706
|
+
continuationToken,
|
|
707
|
+
options
|
|
708
|
+
);
|
|
709
|
+
continuationToken = result.nextLink;
|
|
710
|
+
let page = result.value || [];
|
|
711
|
+
setContinuationToken(page, continuationToken);
|
|
712
|
+
yield page;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
private async *getUpdateProtectedItemRequestsObjectsPagingAll(
|
|
717
|
+
resourceGroupName: string,
|
|
718
|
+
resourceGuardsName: string,
|
|
719
|
+
options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams
|
|
720
|
+
): AsyncIterableIterator<DppBaseResource> {
|
|
721
|
+
for await (const page of this.getUpdateProtectedItemRequestsObjectsPagingPage(
|
|
722
|
+
resourceGroupName,
|
|
723
|
+
resourceGuardsName,
|
|
724
|
+
options
|
|
725
|
+
)) {
|
|
726
|
+
yield* page;
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
/**
|
|
731
|
+
* Returns ResourceGuards collection belonging to a subscription.
|
|
732
|
+
* @param options The options parameters.
|
|
733
|
+
*/
|
|
734
|
+
private _getResourcesInSubscription(
|
|
735
|
+
options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams
|
|
736
|
+
): Promise<ResourceGuardsGetResourcesInSubscriptionResponse> {
|
|
737
|
+
return this.client.sendOperationRequest(
|
|
738
|
+
{ options },
|
|
739
|
+
getResourcesInSubscriptionOperationSpec
|
|
740
|
+
);
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Returns ResourceGuards collection belonging to a ResourceGroup.
|
|
745
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
746
|
+
* @param options The options parameters.
|
|
747
|
+
*/
|
|
748
|
+
private _getResourcesInResourceGroup(
|
|
749
|
+
resourceGroupName: string,
|
|
750
|
+
options?: ResourceGuardsGetResourcesInResourceGroupOptionalParams
|
|
751
|
+
): Promise<ResourceGuardsGetResourcesInResourceGroupResponse> {
|
|
752
|
+
return this.client.sendOperationRequest(
|
|
753
|
+
{ resourceGroupName, options },
|
|
754
|
+
getResourcesInResourceGroupOperationSpec
|
|
755
|
+
);
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* Creates or updates a ResourceGuard resource belonging to a resource group.
|
|
760
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
761
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
762
|
+
* @param parameters Request body for operation
|
|
763
|
+
* @param options The options parameters.
|
|
764
|
+
*/
|
|
765
|
+
put(
|
|
766
|
+
resourceGroupName: string,
|
|
767
|
+
resourceGuardsName: string,
|
|
768
|
+
parameters: ResourceGuardResource,
|
|
769
|
+
options?: ResourceGuardsPutOptionalParams
|
|
770
|
+
): Promise<ResourceGuardsPutResponse> {
|
|
771
|
+
return this.client.sendOperationRequest(
|
|
772
|
+
{ resourceGroupName, resourceGuardsName, parameters, options },
|
|
773
|
+
putOperationSpec
|
|
774
|
+
);
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Returns a ResourceGuard belonging to a resource group.
|
|
779
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
780
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
781
|
+
* @param options The options parameters.
|
|
782
|
+
*/
|
|
783
|
+
get(
|
|
784
|
+
resourceGroupName: string,
|
|
785
|
+
resourceGuardsName: string,
|
|
786
|
+
options?: ResourceGuardsGetOptionalParams
|
|
787
|
+
): Promise<ResourceGuardsGetResponse> {
|
|
788
|
+
return this.client.sendOperationRequest(
|
|
789
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
790
|
+
getOperationSpec
|
|
791
|
+
);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/**
|
|
795
|
+
* Deletes a ResourceGuard resource from the resource group.
|
|
796
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
797
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
798
|
+
* @param options The options parameters.
|
|
799
|
+
*/
|
|
800
|
+
delete(
|
|
801
|
+
resourceGroupName: string,
|
|
802
|
+
resourceGuardsName: string,
|
|
803
|
+
options?: ResourceGuardsDeleteOptionalParams
|
|
804
|
+
): Promise<void> {
|
|
805
|
+
return this.client.sendOperationRequest(
|
|
806
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
807
|
+
deleteOperationSpec
|
|
808
|
+
);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a
|
|
813
|
+
* resource.
|
|
814
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
815
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
816
|
+
* @param parameters Request body for operation
|
|
817
|
+
* @param options The options parameters.
|
|
818
|
+
*/
|
|
819
|
+
patch(
|
|
820
|
+
resourceGroupName: string,
|
|
821
|
+
resourceGuardsName: string,
|
|
822
|
+
parameters: PatchResourceRequestInput,
|
|
823
|
+
options?: ResourceGuardsPatchOptionalParams
|
|
824
|
+
): Promise<ResourceGuardsPatchResponse> {
|
|
825
|
+
return this.client.sendOperationRequest(
|
|
826
|
+
{ resourceGroupName, resourceGuardsName, parameters, options },
|
|
827
|
+
patchOperationSpec
|
|
828
|
+
);
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
833
|
+
* ResourceGuard resource.
|
|
834
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
835
|
+
* @param resourceGuardsName
|
|
836
|
+
* @param options The options parameters.
|
|
837
|
+
*/
|
|
838
|
+
private _getDisableSoftDeleteRequestsObjects(
|
|
839
|
+
resourceGroupName: string,
|
|
840
|
+
resourceGuardsName: string,
|
|
841
|
+
options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams
|
|
842
|
+
): Promise<ResourceGuardsGetDisableSoftDeleteRequestsObjectsResponse> {
|
|
843
|
+
return this.client.sendOperationRequest(
|
|
844
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
845
|
+
getDisableSoftDeleteRequestsObjectsOperationSpec
|
|
846
|
+
);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
851
|
+
* ResourceGuard resource.
|
|
852
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
853
|
+
* @param resourceGuardsName
|
|
854
|
+
* @param options The options parameters.
|
|
855
|
+
*/
|
|
856
|
+
private _getDeleteResourceGuardProxyRequestsObjects(
|
|
857
|
+
resourceGroupName: string,
|
|
858
|
+
resourceGuardsName: string,
|
|
859
|
+
options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams
|
|
860
|
+
): Promise<ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsResponse> {
|
|
861
|
+
return this.client.sendOperationRequest(
|
|
862
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
863
|
+
getDeleteResourceGuardProxyRequestsObjectsOperationSpec
|
|
864
|
+
);
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
869
|
+
* ResourceGuard resource.
|
|
870
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
871
|
+
* @param resourceGuardsName
|
|
872
|
+
* @param options The options parameters.
|
|
873
|
+
*/
|
|
874
|
+
private _getBackupSecurityPINRequestsObjects(
|
|
875
|
+
resourceGroupName: string,
|
|
876
|
+
resourceGuardsName: string,
|
|
877
|
+
options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams
|
|
878
|
+
): Promise<ResourceGuardsGetBackupSecurityPINRequestsObjectsResponse> {
|
|
879
|
+
return this.client.sendOperationRequest(
|
|
880
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
881
|
+
getBackupSecurityPINRequestsObjectsOperationSpec
|
|
882
|
+
);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
887
|
+
* ResourceGuard resource.
|
|
888
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
889
|
+
* @param resourceGuardsName
|
|
890
|
+
* @param options The options parameters.
|
|
891
|
+
*/
|
|
892
|
+
private _getDeleteProtectedItemRequestsObjects(
|
|
893
|
+
resourceGroupName: string,
|
|
894
|
+
resourceGuardsName: string,
|
|
895
|
+
options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams
|
|
896
|
+
): Promise<ResourceGuardsGetDeleteProtectedItemRequestsObjectsResponse> {
|
|
897
|
+
return this.client.sendOperationRequest(
|
|
898
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
899
|
+
getDeleteProtectedItemRequestsObjectsOperationSpec
|
|
900
|
+
);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
905
|
+
* ResourceGuard resource.
|
|
906
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
907
|
+
* @param resourceGuardsName
|
|
908
|
+
* @param options The options parameters.
|
|
909
|
+
*/
|
|
910
|
+
private _getUpdateProtectionPolicyRequestsObjects(
|
|
911
|
+
resourceGroupName: string,
|
|
912
|
+
resourceGuardsName: string,
|
|
913
|
+
options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams
|
|
914
|
+
): Promise<ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsResponse> {
|
|
915
|
+
return this.client.sendOperationRequest(
|
|
916
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
917
|
+
getUpdateProtectionPolicyRequestsObjectsOperationSpec
|
|
918
|
+
);
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
923
|
+
* ResourceGuard resource.
|
|
924
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
925
|
+
* @param resourceGuardsName
|
|
926
|
+
* @param options The options parameters.
|
|
927
|
+
*/
|
|
928
|
+
private _getUpdateProtectedItemRequestsObjects(
|
|
929
|
+
resourceGroupName: string,
|
|
930
|
+
resourceGuardsName: string,
|
|
931
|
+
options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams
|
|
932
|
+
): Promise<ResourceGuardsGetUpdateProtectedItemRequestsObjectsResponse> {
|
|
933
|
+
return this.client.sendOperationRequest(
|
|
934
|
+
{ resourceGroupName, resourceGuardsName, options },
|
|
935
|
+
getUpdateProtectedItemRequestsObjectsOperationSpec
|
|
936
|
+
);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
941
|
+
* ResourceGuard resource.
|
|
942
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
943
|
+
* @param resourceGuardsName
|
|
944
|
+
* @param requestName
|
|
945
|
+
* @param options The options parameters.
|
|
946
|
+
*/
|
|
947
|
+
getDefaultDisableSoftDeleteRequestsObject(
|
|
948
|
+
resourceGroupName: string,
|
|
949
|
+
resourceGuardsName: string,
|
|
950
|
+
requestName: string,
|
|
951
|
+
options?: ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams
|
|
952
|
+
): Promise<ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectResponse> {
|
|
953
|
+
return this.client.sendOperationRequest(
|
|
954
|
+
{ resourceGroupName, resourceGuardsName, requestName, options },
|
|
955
|
+
getDefaultDisableSoftDeleteRequestsObjectOperationSpec
|
|
956
|
+
);
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
961
|
+
* ResourceGuard resource.
|
|
962
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
963
|
+
* @param resourceGuardsName
|
|
964
|
+
* @param requestName
|
|
965
|
+
* @param options The options parameters.
|
|
966
|
+
*/
|
|
967
|
+
getDefaultDeleteResourceGuardProxyRequestsObject(
|
|
968
|
+
resourceGroupName: string,
|
|
969
|
+
resourceGuardsName: string,
|
|
970
|
+
requestName: string,
|
|
971
|
+
options?: ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams
|
|
972
|
+
): Promise<
|
|
973
|
+
ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectResponse
|
|
974
|
+
> {
|
|
975
|
+
return this.client.sendOperationRequest(
|
|
976
|
+
{ resourceGroupName, resourceGuardsName, requestName, options },
|
|
977
|
+
getDefaultDeleteResourceGuardProxyRequestsObjectOperationSpec
|
|
978
|
+
);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
983
|
+
* ResourceGuard resource.
|
|
984
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
985
|
+
* @param resourceGuardsName
|
|
986
|
+
* @param requestName
|
|
987
|
+
* @param options The options parameters.
|
|
988
|
+
*/
|
|
989
|
+
getDefaultBackupSecurityPINRequestsObject(
|
|
990
|
+
resourceGroupName: string,
|
|
991
|
+
resourceGuardsName: string,
|
|
992
|
+
requestName: string,
|
|
993
|
+
options?: ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams
|
|
994
|
+
): Promise<ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectResponse> {
|
|
995
|
+
return this.client.sendOperationRequest(
|
|
996
|
+
{ resourceGroupName, resourceGuardsName, requestName, options },
|
|
997
|
+
getDefaultBackupSecurityPINRequestsObjectOperationSpec
|
|
998
|
+
);
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
/**
|
|
1002
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
1003
|
+
* ResourceGuard resource.
|
|
1004
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1005
|
+
* @param resourceGuardsName
|
|
1006
|
+
* @param requestName
|
|
1007
|
+
* @param options The options parameters.
|
|
1008
|
+
*/
|
|
1009
|
+
getDefaultDeleteProtectedItemRequestsObject(
|
|
1010
|
+
resourceGroupName: string,
|
|
1011
|
+
resourceGuardsName: string,
|
|
1012
|
+
requestName: string,
|
|
1013
|
+
options?: ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams
|
|
1014
|
+
): Promise<
|
|
1015
|
+
ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectResponse
|
|
1016
|
+
> {
|
|
1017
|
+
return this.client.sendOperationRequest(
|
|
1018
|
+
{ resourceGroupName, resourceGuardsName, requestName, options },
|
|
1019
|
+
getDefaultDeleteProtectedItemRequestsObjectOperationSpec
|
|
1020
|
+
);
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
1025
|
+
* ResourceGuard resource.
|
|
1026
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1027
|
+
* @param resourceGuardsName
|
|
1028
|
+
* @param requestName
|
|
1029
|
+
* @param options The options parameters.
|
|
1030
|
+
*/
|
|
1031
|
+
getDefaultUpdateProtectionPolicyRequestsObject(
|
|
1032
|
+
resourceGroupName: string,
|
|
1033
|
+
resourceGuardsName: string,
|
|
1034
|
+
requestName: string,
|
|
1035
|
+
options?: ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams
|
|
1036
|
+
): Promise<
|
|
1037
|
+
ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectResponse
|
|
1038
|
+
> {
|
|
1039
|
+
return this.client.sendOperationRequest(
|
|
1040
|
+
{ resourceGroupName, resourceGuardsName, requestName, options },
|
|
1041
|
+
getDefaultUpdateProtectionPolicyRequestsObjectOperationSpec
|
|
1042
|
+
);
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
1047
|
+
* ResourceGuard resource.
|
|
1048
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1049
|
+
* @param resourceGuardsName
|
|
1050
|
+
* @param requestName
|
|
1051
|
+
* @param options The options parameters.
|
|
1052
|
+
*/
|
|
1053
|
+
getDefaultUpdateProtectedItemRequestsObject(
|
|
1054
|
+
resourceGroupName: string,
|
|
1055
|
+
resourceGuardsName: string,
|
|
1056
|
+
requestName: string,
|
|
1057
|
+
options?: ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams
|
|
1058
|
+
): Promise<
|
|
1059
|
+
ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectResponse
|
|
1060
|
+
> {
|
|
1061
|
+
return this.client.sendOperationRequest(
|
|
1062
|
+
{ resourceGroupName, resourceGuardsName, requestName, options },
|
|
1063
|
+
getDefaultUpdateProtectedItemRequestsObjectOperationSpec
|
|
1064
|
+
);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* GetResourcesInSubscriptionNext
|
|
1069
|
+
* @param nextLink The nextLink from the previous successful call to the GetResourcesInSubscription
|
|
1070
|
+
* method.
|
|
1071
|
+
* @param options The options parameters.
|
|
1072
|
+
*/
|
|
1073
|
+
private _getResourcesInSubscriptionNext(
|
|
1074
|
+
nextLink: string,
|
|
1075
|
+
options?: ResourceGuardsGetResourcesInSubscriptionNextOptionalParams
|
|
1076
|
+
): Promise<ResourceGuardsGetResourcesInSubscriptionNextResponse> {
|
|
1077
|
+
return this.client.sendOperationRequest(
|
|
1078
|
+
{ nextLink, options },
|
|
1079
|
+
getResourcesInSubscriptionNextOperationSpec
|
|
1080
|
+
);
|
|
1081
|
+
}
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* GetResourcesInResourceGroupNext
|
|
1085
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1086
|
+
* @param nextLink The nextLink from the previous successful call to the GetResourcesInResourceGroup
|
|
1087
|
+
* method.
|
|
1088
|
+
* @param options The options parameters.
|
|
1089
|
+
*/
|
|
1090
|
+
private _getResourcesInResourceGroupNext(
|
|
1091
|
+
resourceGroupName: string,
|
|
1092
|
+
nextLink: string,
|
|
1093
|
+
options?: ResourceGuardsGetResourcesInResourceGroupNextOptionalParams
|
|
1094
|
+
): Promise<ResourceGuardsGetResourcesInResourceGroupNextResponse> {
|
|
1095
|
+
return this.client.sendOperationRequest(
|
|
1096
|
+
{ resourceGroupName, nextLink, options },
|
|
1097
|
+
getResourcesInResourceGroupNextOperationSpec
|
|
1098
|
+
);
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
/**
|
|
1102
|
+
* GetDisableSoftDeleteRequestsObjectsNext
|
|
1103
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1104
|
+
* @param resourceGuardsName
|
|
1105
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1106
|
+
* GetDisableSoftDeleteRequestsObjects method.
|
|
1107
|
+
* @param options The options parameters.
|
|
1108
|
+
*/
|
|
1109
|
+
private _getDisableSoftDeleteRequestsObjectsNext(
|
|
1110
|
+
resourceGroupName: string,
|
|
1111
|
+
resourceGuardsName: string,
|
|
1112
|
+
nextLink: string,
|
|
1113
|
+
options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsNextOptionalParams
|
|
1114
|
+
): Promise<ResourceGuardsGetDisableSoftDeleteRequestsObjectsNextResponse> {
|
|
1115
|
+
return this.client.sendOperationRequest(
|
|
1116
|
+
{ resourceGroupName, resourceGuardsName, nextLink, options },
|
|
1117
|
+
getDisableSoftDeleteRequestsObjectsNextOperationSpec
|
|
1118
|
+
);
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* GetDeleteResourceGuardProxyRequestsObjectsNext
|
|
1123
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1124
|
+
* @param resourceGuardsName
|
|
1125
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1126
|
+
* GetDeleteResourceGuardProxyRequestsObjects method.
|
|
1127
|
+
* @param options The options parameters.
|
|
1128
|
+
*/
|
|
1129
|
+
private _getDeleteResourceGuardProxyRequestsObjectsNext(
|
|
1130
|
+
resourceGroupName: string,
|
|
1131
|
+
resourceGuardsName: string,
|
|
1132
|
+
nextLink: string,
|
|
1133
|
+
options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsNextOptionalParams
|
|
1134
|
+
): Promise<
|
|
1135
|
+
ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsNextResponse
|
|
1136
|
+
> {
|
|
1137
|
+
return this.client.sendOperationRequest(
|
|
1138
|
+
{ resourceGroupName, resourceGuardsName, nextLink, options },
|
|
1139
|
+
getDeleteResourceGuardProxyRequestsObjectsNextOperationSpec
|
|
1140
|
+
);
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* GetBackupSecurityPINRequestsObjectsNext
|
|
1145
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1146
|
+
* @param resourceGuardsName
|
|
1147
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1148
|
+
* GetBackupSecurityPINRequestsObjects method.
|
|
1149
|
+
* @param options The options parameters.
|
|
1150
|
+
*/
|
|
1151
|
+
private _getBackupSecurityPINRequestsObjectsNext(
|
|
1152
|
+
resourceGroupName: string,
|
|
1153
|
+
resourceGuardsName: string,
|
|
1154
|
+
nextLink: string,
|
|
1155
|
+
options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsNextOptionalParams
|
|
1156
|
+
): Promise<ResourceGuardsGetBackupSecurityPINRequestsObjectsNextResponse> {
|
|
1157
|
+
return this.client.sendOperationRequest(
|
|
1158
|
+
{ resourceGroupName, resourceGuardsName, nextLink, options },
|
|
1159
|
+
getBackupSecurityPINRequestsObjectsNextOperationSpec
|
|
1160
|
+
);
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* GetDeleteProtectedItemRequestsObjectsNext
|
|
1165
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1166
|
+
* @param resourceGuardsName
|
|
1167
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1168
|
+
* GetDeleteProtectedItemRequestsObjects method.
|
|
1169
|
+
* @param options The options parameters.
|
|
1170
|
+
*/
|
|
1171
|
+
private _getDeleteProtectedItemRequestsObjectsNext(
|
|
1172
|
+
resourceGroupName: string,
|
|
1173
|
+
resourceGuardsName: string,
|
|
1174
|
+
nextLink: string,
|
|
1175
|
+
options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsNextOptionalParams
|
|
1176
|
+
): Promise<ResourceGuardsGetDeleteProtectedItemRequestsObjectsNextResponse> {
|
|
1177
|
+
return this.client.sendOperationRequest(
|
|
1178
|
+
{ resourceGroupName, resourceGuardsName, nextLink, options },
|
|
1179
|
+
getDeleteProtectedItemRequestsObjectsNextOperationSpec
|
|
1180
|
+
);
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* GetUpdateProtectionPolicyRequestsObjectsNext
|
|
1185
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1186
|
+
* @param resourceGuardsName
|
|
1187
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1188
|
+
* GetUpdateProtectionPolicyRequestsObjects method.
|
|
1189
|
+
* @param options The options parameters.
|
|
1190
|
+
*/
|
|
1191
|
+
private _getUpdateProtectionPolicyRequestsObjectsNext(
|
|
1192
|
+
resourceGroupName: string,
|
|
1193
|
+
resourceGuardsName: string,
|
|
1194
|
+
nextLink: string,
|
|
1195
|
+
options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsNextOptionalParams
|
|
1196
|
+
): Promise<
|
|
1197
|
+
ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsNextResponse
|
|
1198
|
+
> {
|
|
1199
|
+
return this.client.sendOperationRequest(
|
|
1200
|
+
{ resourceGroupName, resourceGuardsName, nextLink, options },
|
|
1201
|
+
getUpdateProtectionPolicyRequestsObjectsNextOperationSpec
|
|
1202
|
+
);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* GetUpdateProtectedItemRequestsObjectsNext
|
|
1207
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1208
|
+
* @param resourceGuardsName
|
|
1209
|
+
* @param nextLink The nextLink from the previous successful call to the
|
|
1210
|
+
* GetUpdateProtectedItemRequestsObjects method.
|
|
1211
|
+
* @param options The options parameters.
|
|
1212
|
+
*/
|
|
1213
|
+
private _getUpdateProtectedItemRequestsObjectsNext(
|
|
1214
|
+
resourceGroupName: string,
|
|
1215
|
+
resourceGuardsName: string,
|
|
1216
|
+
nextLink: string,
|
|
1217
|
+
options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextOptionalParams
|
|
1218
|
+
): Promise<ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextResponse> {
|
|
1219
|
+
return this.client.sendOperationRequest(
|
|
1220
|
+
{ resourceGroupName, resourceGuardsName, nextLink, options },
|
|
1221
|
+
getUpdateProtectedItemRequestsObjectsNextOperationSpec
|
|
1222
|
+
);
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
// Operation Specifications
|
|
1226
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
1227
|
+
|
|
1228
|
+
const getResourcesInSubscriptionOperationSpec: coreClient.OperationSpec = {
|
|
1229
|
+
path:
|
|
1230
|
+
"/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/resourceGuards",
|
|
1231
|
+
httpMethod: "GET",
|
|
1232
|
+
responses: {
|
|
1233
|
+
200: {
|
|
1234
|
+
bodyMapper: Mappers.ResourceGuardResourceList
|
|
1235
|
+
},
|
|
1236
|
+
default: {
|
|
1237
|
+
bodyMapper: Mappers.CloudError
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
queryParameters: [Parameters.apiVersion],
|
|
1241
|
+
urlParameters: [Parameters.$host, Parameters.subscriptionId],
|
|
1242
|
+
headerParameters: [Parameters.accept],
|
|
1243
|
+
serializer
|
|
1244
|
+
};
|
|
1245
|
+
const getResourcesInResourceGroupOperationSpec: coreClient.OperationSpec = {
|
|
1246
|
+
path:
|
|
1247
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards",
|
|
1248
|
+
httpMethod: "GET",
|
|
1249
|
+
responses: {
|
|
1250
|
+
200: {
|
|
1251
|
+
bodyMapper: Mappers.ResourceGuardResourceList
|
|
1252
|
+
},
|
|
1253
|
+
default: {
|
|
1254
|
+
bodyMapper: Mappers.CloudError
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
|
+
queryParameters: [Parameters.apiVersion],
|
|
1258
|
+
urlParameters: [
|
|
1259
|
+
Parameters.$host,
|
|
1260
|
+
Parameters.subscriptionId,
|
|
1261
|
+
Parameters.resourceGroupName
|
|
1262
|
+
],
|
|
1263
|
+
headerParameters: [Parameters.accept],
|
|
1264
|
+
serializer
|
|
1265
|
+
};
|
|
1266
|
+
const putOperationSpec: coreClient.OperationSpec = {
|
|
1267
|
+
path:
|
|
1268
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}",
|
|
1269
|
+
httpMethod: "PUT",
|
|
1270
|
+
responses: {
|
|
1271
|
+
200: {
|
|
1272
|
+
bodyMapper: Mappers.ResourceGuardResource
|
|
1273
|
+
},
|
|
1274
|
+
default: {
|
|
1275
|
+
bodyMapper: Mappers.CloudError
|
|
1276
|
+
}
|
|
1277
|
+
},
|
|
1278
|
+
requestBody: Parameters.parameters13,
|
|
1279
|
+
queryParameters: [Parameters.apiVersion],
|
|
1280
|
+
urlParameters: [
|
|
1281
|
+
Parameters.$host,
|
|
1282
|
+
Parameters.subscriptionId,
|
|
1283
|
+
Parameters.resourceGroupName,
|
|
1284
|
+
Parameters.resourceGuardsName
|
|
1285
|
+
],
|
|
1286
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1287
|
+
mediaType: "json",
|
|
1288
|
+
serializer
|
|
1289
|
+
};
|
|
1290
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
1291
|
+
path:
|
|
1292
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}",
|
|
1293
|
+
httpMethod: "GET",
|
|
1294
|
+
responses: {
|
|
1295
|
+
200: {
|
|
1296
|
+
bodyMapper: Mappers.ResourceGuardResource
|
|
1297
|
+
},
|
|
1298
|
+
default: {
|
|
1299
|
+
bodyMapper: Mappers.CloudError
|
|
1300
|
+
}
|
|
1301
|
+
},
|
|
1302
|
+
queryParameters: [Parameters.apiVersion],
|
|
1303
|
+
urlParameters: [
|
|
1304
|
+
Parameters.$host,
|
|
1305
|
+
Parameters.subscriptionId,
|
|
1306
|
+
Parameters.resourceGroupName,
|
|
1307
|
+
Parameters.resourceGuardsName
|
|
1308
|
+
],
|
|
1309
|
+
headerParameters: [Parameters.accept],
|
|
1310
|
+
serializer
|
|
1311
|
+
};
|
|
1312
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
1313
|
+
path:
|
|
1314
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}",
|
|
1315
|
+
httpMethod: "DELETE",
|
|
1316
|
+
responses: {
|
|
1317
|
+
200: {},
|
|
1318
|
+
204: {},
|
|
1319
|
+
default: {
|
|
1320
|
+
bodyMapper: Mappers.CloudError
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
queryParameters: [Parameters.apiVersion],
|
|
1324
|
+
urlParameters: [
|
|
1325
|
+
Parameters.$host,
|
|
1326
|
+
Parameters.subscriptionId,
|
|
1327
|
+
Parameters.resourceGroupName,
|
|
1328
|
+
Parameters.resourceGuardsName
|
|
1329
|
+
],
|
|
1330
|
+
headerParameters: [Parameters.accept],
|
|
1331
|
+
serializer
|
|
1332
|
+
};
|
|
1333
|
+
const patchOperationSpec: coreClient.OperationSpec = {
|
|
1334
|
+
path:
|
|
1335
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}",
|
|
1336
|
+
httpMethod: "PATCH",
|
|
1337
|
+
responses: {
|
|
1338
|
+
200: {
|
|
1339
|
+
bodyMapper: Mappers.ResourceGuardResource
|
|
1340
|
+
},
|
|
1341
|
+
default: {
|
|
1342
|
+
bodyMapper: Mappers.CloudError
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
requestBody: Parameters.parameters1,
|
|
1346
|
+
queryParameters: [Parameters.apiVersion],
|
|
1347
|
+
urlParameters: [
|
|
1348
|
+
Parameters.$host,
|
|
1349
|
+
Parameters.subscriptionId,
|
|
1350
|
+
Parameters.resourceGroupName,
|
|
1351
|
+
Parameters.resourceGuardsName
|
|
1352
|
+
],
|
|
1353
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
1354
|
+
mediaType: "json",
|
|
1355
|
+
serializer
|
|
1356
|
+
};
|
|
1357
|
+
const getDisableSoftDeleteRequestsObjectsOperationSpec: coreClient.OperationSpec = {
|
|
1358
|
+
path:
|
|
1359
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/disableSoftDeleteRequests",
|
|
1360
|
+
httpMethod: "GET",
|
|
1361
|
+
responses: {
|
|
1362
|
+
200: {
|
|
1363
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1364
|
+
},
|
|
1365
|
+
default: {
|
|
1366
|
+
bodyMapper: Mappers.CloudError
|
|
1367
|
+
}
|
|
1368
|
+
},
|
|
1369
|
+
queryParameters: [Parameters.apiVersion],
|
|
1370
|
+
urlParameters: [
|
|
1371
|
+
Parameters.$host,
|
|
1372
|
+
Parameters.subscriptionId,
|
|
1373
|
+
Parameters.resourceGroupName,
|
|
1374
|
+
Parameters.resourceGuardsName
|
|
1375
|
+
],
|
|
1376
|
+
headerParameters: [Parameters.accept],
|
|
1377
|
+
serializer
|
|
1378
|
+
};
|
|
1379
|
+
const getDeleteResourceGuardProxyRequestsObjectsOperationSpec: coreClient.OperationSpec = {
|
|
1380
|
+
path:
|
|
1381
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteResourceGuardProxyRequests",
|
|
1382
|
+
httpMethod: "GET",
|
|
1383
|
+
responses: {
|
|
1384
|
+
200: {
|
|
1385
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1386
|
+
},
|
|
1387
|
+
default: {
|
|
1388
|
+
bodyMapper: Mappers.CloudError
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
queryParameters: [Parameters.apiVersion],
|
|
1392
|
+
urlParameters: [
|
|
1393
|
+
Parameters.$host,
|
|
1394
|
+
Parameters.subscriptionId,
|
|
1395
|
+
Parameters.resourceGroupName,
|
|
1396
|
+
Parameters.resourceGuardsName
|
|
1397
|
+
],
|
|
1398
|
+
headerParameters: [Parameters.accept],
|
|
1399
|
+
serializer
|
|
1400
|
+
};
|
|
1401
|
+
const getBackupSecurityPINRequestsObjectsOperationSpec: coreClient.OperationSpec = {
|
|
1402
|
+
path:
|
|
1403
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/getBackupSecurityPINRequests",
|
|
1404
|
+
httpMethod: "GET",
|
|
1405
|
+
responses: {
|
|
1406
|
+
200: {
|
|
1407
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1408
|
+
},
|
|
1409
|
+
default: {
|
|
1410
|
+
bodyMapper: Mappers.CloudError
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
queryParameters: [Parameters.apiVersion],
|
|
1414
|
+
urlParameters: [
|
|
1415
|
+
Parameters.$host,
|
|
1416
|
+
Parameters.subscriptionId,
|
|
1417
|
+
Parameters.resourceGroupName,
|
|
1418
|
+
Parameters.resourceGuardsName
|
|
1419
|
+
],
|
|
1420
|
+
headerParameters: [Parameters.accept],
|
|
1421
|
+
serializer
|
|
1422
|
+
};
|
|
1423
|
+
const getDeleteProtectedItemRequestsObjectsOperationSpec: coreClient.OperationSpec = {
|
|
1424
|
+
path:
|
|
1425
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteProtectedItemRequests",
|
|
1426
|
+
httpMethod: "GET",
|
|
1427
|
+
responses: {
|
|
1428
|
+
200: {
|
|
1429
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1430
|
+
},
|
|
1431
|
+
default: {
|
|
1432
|
+
bodyMapper: Mappers.CloudError
|
|
1433
|
+
}
|
|
1434
|
+
},
|
|
1435
|
+
queryParameters: [Parameters.apiVersion],
|
|
1436
|
+
urlParameters: [
|
|
1437
|
+
Parameters.$host,
|
|
1438
|
+
Parameters.subscriptionId,
|
|
1439
|
+
Parameters.resourceGroupName,
|
|
1440
|
+
Parameters.resourceGuardsName
|
|
1441
|
+
],
|
|
1442
|
+
headerParameters: [Parameters.accept],
|
|
1443
|
+
serializer
|
|
1444
|
+
};
|
|
1445
|
+
const getUpdateProtectionPolicyRequestsObjectsOperationSpec: coreClient.OperationSpec = {
|
|
1446
|
+
path:
|
|
1447
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectionPolicyRequests",
|
|
1448
|
+
httpMethod: "GET",
|
|
1449
|
+
responses: {
|
|
1450
|
+
200: {
|
|
1451
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1452
|
+
},
|
|
1453
|
+
default: {
|
|
1454
|
+
bodyMapper: Mappers.CloudError
|
|
1455
|
+
}
|
|
1456
|
+
},
|
|
1457
|
+
queryParameters: [Parameters.apiVersion],
|
|
1458
|
+
urlParameters: [
|
|
1459
|
+
Parameters.$host,
|
|
1460
|
+
Parameters.subscriptionId,
|
|
1461
|
+
Parameters.resourceGroupName,
|
|
1462
|
+
Parameters.resourceGuardsName
|
|
1463
|
+
],
|
|
1464
|
+
headerParameters: [Parameters.accept],
|
|
1465
|
+
serializer
|
|
1466
|
+
};
|
|
1467
|
+
const getUpdateProtectedItemRequestsObjectsOperationSpec: coreClient.OperationSpec = {
|
|
1468
|
+
path:
|
|
1469
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectedItemRequests",
|
|
1470
|
+
httpMethod: "GET",
|
|
1471
|
+
responses: {
|
|
1472
|
+
200: {
|
|
1473
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1474
|
+
},
|
|
1475
|
+
default: {
|
|
1476
|
+
bodyMapper: Mappers.CloudError
|
|
1477
|
+
}
|
|
1478
|
+
},
|
|
1479
|
+
queryParameters: [Parameters.apiVersion],
|
|
1480
|
+
urlParameters: [
|
|
1481
|
+
Parameters.$host,
|
|
1482
|
+
Parameters.subscriptionId,
|
|
1483
|
+
Parameters.resourceGroupName,
|
|
1484
|
+
Parameters.resourceGuardsName
|
|
1485
|
+
],
|
|
1486
|
+
headerParameters: [Parameters.accept],
|
|
1487
|
+
serializer
|
|
1488
|
+
};
|
|
1489
|
+
const getDefaultDisableSoftDeleteRequestsObjectOperationSpec: coreClient.OperationSpec = {
|
|
1490
|
+
path:
|
|
1491
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/disableSoftDeleteRequests/{requestName}",
|
|
1492
|
+
httpMethod: "GET",
|
|
1493
|
+
responses: {
|
|
1494
|
+
200: {
|
|
1495
|
+
bodyMapper: Mappers.DppBaseResource
|
|
1496
|
+
},
|
|
1497
|
+
default: {
|
|
1498
|
+
bodyMapper: Mappers.CloudError
|
|
1499
|
+
}
|
|
1500
|
+
},
|
|
1501
|
+
queryParameters: [Parameters.apiVersion],
|
|
1502
|
+
urlParameters: [
|
|
1503
|
+
Parameters.$host,
|
|
1504
|
+
Parameters.subscriptionId,
|
|
1505
|
+
Parameters.resourceGroupName,
|
|
1506
|
+
Parameters.resourceGuardsName,
|
|
1507
|
+
Parameters.requestName
|
|
1508
|
+
],
|
|
1509
|
+
headerParameters: [Parameters.accept],
|
|
1510
|
+
serializer
|
|
1511
|
+
};
|
|
1512
|
+
const getDefaultDeleteResourceGuardProxyRequestsObjectOperationSpec: coreClient.OperationSpec = {
|
|
1513
|
+
path:
|
|
1514
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteResourceGuardProxyRequests/{requestName}",
|
|
1515
|
+
httpMethod: "GET",
|
|
1516
|
+
responses: {
|
|
1517
|
+
200: {
|
|
1518
|
+
bodyMapper: Mappers.DppBaseResource
|
|
1519
|
+
},
|
|
1520
|
+
default: {
|
|
1521
|
+
bodyMapper: Mappers.CloudError
|
|
1522
|
+
}
|
|
1523
|
+
},
|
|
1524
|
+
queryParameters: [Parameters.apiVersion],
|
|
1525
|
+
urlParameters: [
|
|
1526
|
+
Parameters.$host,
|
|
1527
|
+
Parameters.subscriptionId,
|
|
1528
|
+
Parameters.resourceGroupName,
|
|
1529
|
+
Parameters.resourceGuardsName,
|
|
1530
|
+
Parameters.requestName
|
|
1531
|
+
],
|
|
1532
|
+
headerParameters: [Parameters.accept],
|
|
1533
|
+
serializer
|
|
1534
|
+
};
|
|
1535
|
+
const getDefaultBackupSecurityPINRequestsObjectOperationSpec: coreClient.OperationSpec = {
|
|
1536
|
+
path:
|
|
1537
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/getBackupSecurityPINRequests/{requestName}",
|
|
1538
|
+
httpMethod: "GET",
|
|
1539
|
+
responses: {
|
|
1540
|
+
200: {
|
|
1541
|
+
bodyMapper: Mappers.DppBaseResource
|
|
1542
|
+
},
|
|
1543
|
+
default: {
|
|
1544
|
+
bodyMapper: Mappers.CloudError
|
|
1545
|
+
}
|
|
1546
|
+
},
|
|
1547
|
+
queryParameters: [Parameters.apiVersion],
|
|
1548
|
+
urlParameters: [
|
|
1549
|
+
Parameters.$host,
|
|
1550
|
+
Parameters.subscriptionId,
|
|
1551
|
+
Parameters.resourceGroupName,
|
|
1552
|
+
Parameters.resourceGuardsName,
|
|
1553
|
+
Parameters.requestName
|
|
1554
|
+
],
|
|
1555
|
+
headerParameters: [Parameters.accept],
|
|
1556
|
+
serializer
|
|
1557
|
+
};
|
|
1558
|
+
const getDefaultDeleteProtectedItemRequestsObjectOperationSpec: coreClient.OperationSpec = {
|
|
1559
|
+
path:
|
|
1560
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/deleteProtectedItemRequests/{requestName}",
|
|
1561
|
+
httpMethod: "GET",
|
|
1562
|
+
responses: {
|
|
1563
|
+
200: {
|
|
1564
|
+
bodyMapper: Mappers.DppBaseResource
|
|
1565
|
+
},
|
|
1566
|
+
default: {
|
|
1567
|
+
bodyMapper: Mappers.CloudError
|
|
1568
|
+
}
|
|
1569
|
+
},
|
|
1570
|
+
queryParameters: [Parameters.apiVersion],
|
|
1571
|
+
urlParameters: [
|
|
1572
|
+
Parameters.$host,
|
|
1573
|
+
Parameters.subscriptionId,
|
|
1574
|
+
Parameters.resourceGroupName,
|
|
1575
|
+
Parameters.resourceGuardsName,
|
|
1576
|
+
Parameters.requestName
|
|
1577
|
+
],
|
|
1578
|
+
headerParameters: [Parameters.accept],
|
|
1579
|
+
serializer
|
|
1580
|
+
};
|
|
1581
|
+
const getDefaultUpdateProtectionPolicyRequestsObjectOperationSpec: coreClient.OperationSpec = {
|
|
1582
|
+
path:
|
|
1583
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectionPolicyRequests/{requestName}",
|
|
1584
|
+
httpMethod: "GET",
|
|
1585
|
+
responses: {
|
|
1586
|
+
200: {
|
|
1587
|
+
bodyMapper: Mappers.DppBaseResource
|
|
1588
|
+
},
|
|
1589
|
+
default: {
|
|
1590
|
+
bodyMapper: Mappers.CloudError
|
|
1591
|
+
}
|
|
1592
|
+
},
|
|
1593
|
+
queryParameters: [Parameters.apiVersion],
|
|
1594
|
+
urlParameters: [
|
|
1595
|
+
Parameters.$host,
|
|
1596
|
+
Parameters.subscriptionId,
|
|
1597
|
+
Parameters.resourceGroupName,
|
|
1598
|
+
Parameters.resourceGuardsName,
|
|
1599
|
+
Parameters.requestName
|
|
1600
|
+
],
|
|
1601
|
+
headerParameters: [Parameters.accept],
|
|
1602
|
+
serializer
|
|
1603
|
+
};
|
|
1604
|
+
const getDefaultUpdateProtectedItemRequestsObjectOperationSpec: coreClient.OperationSpec = {
|
|
1605
|
+
path:
|
|
1606
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}/updateProtectedItemRequests/{requestName}",
|
|
1607
|
+
httpMethod: "GET",
|
|
1608
|
+
responses: {
|
|
1609
|
+
200: {
|
|
1610
|
+
bodyMapper: Mappers.DppBaseResource
|
|
1611
|
+
},
|
|
1612
|
+
default: {
|
|
1613
|
+
bodyMapper: Mappers.CloudError
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
queryParameters: [Parameters.apiVersion],
|
|
1617
|
+
urlParameters: [
|
|
1618
|
+
Parameters.$host,
|
|
1619
|
+
Parameters.subscriptionId,
|
|
1620
|
+
Parameters.resourceGroupName,
|
|
1621
|
+
Parameters.resourceGuardsName,
|
|
1622
|
+
Parameters.requestName
|
|
1623
|
+
],
|
|
1624
|
+
headerParameters: [Parameters.accept],
|
|
1625
|
+
serializer
|
|
1626
|
+
};
|
|
1627
|
+
const getResourcesInSubscriptionNextOperationSpec: coreClient.OperationSpec = {
|
|
1628
|
+
path: "{nextLink}",
|
|
1629
|
+
httpMethod: "GET",
|
|
1630
|
+
responses: {
|
|
1631
|
+
200: {
|
|
1632
|
+
bodyMapper: Mappers.ResourceGuardResourceList
|
|
1633
|
+
},
|
|
1634
|
+
default: {
|
|
1635
|
+
bodyMapper: Mappers.CloudError
|
|
1636
|
+
}
|
|
1637
|
+
},
|
|
1638
|
+
urlParameters: [
|
|
1639
|
+
Parameters.$host,
|
|
1640
|
+
Parameters.subscriptionId,
|
|
1641
|
+
Parameters.nextLink
|
|
1642
|
+
],
|
|
1643
|
+
headerParameters: [Parameters.accept],
|
|
1644
|
+
serializer
|
|
1645
|
+
};
|
|
1646
|
+
const getResourcesInResourceGroupNextOperationSpec: coreClient.OperationSpec = {
|
|
1647
|
+
path: "{nextLink}",
|
|
1648
|
+
httpMethod: "GET",
|
|
1649
|
+
responses: {
|
|
1650
|
+
200: {
|
|
1651
|
+
bodyMapper: Mappers.ResourceGuardResourceList
|
|
1652
|
+
},
|
|
1653
|
+
default: {
|
|
1654
|
+
bodyMapper: Mappers.CloudError
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
urlParameters: [
|
|
1658
|
+
Parameters.$host,
|
|
1659
|
+
Parameters.subscriptionId,
|
|
1660
|
+
Parameters.resourceGroupName,
|
|
1661
|
+
Parameters.nextLink
|
|
1662
|
+
],
|
|
1663
|
+
headerParameters: [Parameters.accept],
|
|
1664
|
+
serializer
|
|
1665
|
+
};
|
|
1666
|
+
const getDisableSoftDeleteRequestsObjectsNextOperationSpec: coreClient.OperationSpec = {
|
|
1667
|
+
path: "{nextLink}",
|
|
1668
|
+
httpMethod: "GET",
|
|
1669
|
+
responses: {
|
|
1670
|
+
200: {
|
|
1671
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1672
|
+
},
|
|
1673
|
+
default: {
|
|
1674
|
+
bodyMapper: Mappers.CloudError
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1677
|
+
urlParameters: [
|
|
1678
|
+
Parameters.$host,
|
|
1679
|
+
Parameters.subscriptionId,
|
|
1680
|
+
Parameters.resourceGroupName,
|
|
1681
|
+
Parameters.nextLink,
|
|
1682
|
+
Parameters.resourceGuardsName
|
|
1683
|
+
],
|
|
1684
|
+
headerParameters: [Parameters.accept],
|
|
1685
|
+
serializer
|
|
1686
|
+
};
|
|
1687
|
+
const getDeleteResourceGuardProxyRequestsObjectsNextOperationSpec: coreClient.OperationSpec = {
|
|
1688
|
+
path: "{nextLink}",
|
|
1689
|
+
httpMethod: "GET",
|
|
1690
|
+
responses: {
|
|
1691
|
+
200: {
|
|
1692
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1693
|
+
},
|
|
1694
|
+
default: {
|
|
1695
|
+
bodyMapper: Mappers.CloudError
|
|
1696
|
+
}
|
|
1697
|
+
},
|
|
1698
|
+
urlParameters: [
|
|
1699
|
+
Parameters.$host,
|
|
1700
|
+
Parameters.subscriptionId,
|
|
1701
|
+
Parameters.resourceGroupName,
|
|
1702
|
+
Parameters.nextLink,
|
|
1703
|
+
Parameters.resourceGuardsName
|
|
1704
|
+
],
|
|
1705
|
+
headerParameters: [Parameters.accept],
|
|
1706
|
+
serializer
|
|
1707
|
+
};
|
|
1708
|
+
const getBackupSecurityPINRequestsObjectsNextOperationSpec: coreClient.OperationSpec = {
|
|
1709
|
+
path: "{nextLink}",
|
|
1710
|
+
httpMethod: "GET",
|
|
1711
|
+
responses: {
|
|
1712
|
+
200: {
|
|
1713
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1714
|
+
},
|
|
1715
|
+
default: {
|
|
1716
|
+
bodyMapper: Mappers.CloudError
|
|
1717
|
+
}
|
|
1718
|
+
},
|
|
1719
|
+
urlParameters: [
|
|
1720
|
+
Parameters.$host,
|
|
1721
|
+
Parameters.subscriptionId,
|
|
1722
|
+
Parameters.resourceGroupName,
|
|
1723
|
+
Parameters.nextLink,
|
|
1724
|
+
Parameters.resourceGuardsName
|
|
1725
|
+
],
|
|
1726
|
+
headerParameters: [Parameters.accept],
|
|
1727
|
+
serializer
|
|
1728
|
+
};
|
|
1729
|
+
const getDeleteProtectedItemRequestsObjectsNextOperationSpec: coreClient.OperationSpec = {
|
|
1730
|
+
path: "{nextLink}",
|
|
1731
|
+
httpMethod: "GET",
|
|
1732
|
+
responses: {
|
|
1733
|
+
200: {
|
|
1734
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1735
|
+
},
|
|
1736
|
+
default: {
|
|
1737
|
+
bodyMapper: Mappers.CloudError
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
urlParameters: [
|
|
1741
|
+
Parameters.$host,
|
|
1742
|
+
Parameters.subscriptionId,
|
|
1743
|
+
Parameters.resourceGroupName,
|
|
1744
|
+
Parameters.nextLink,
|
|
1745
|
+
Parameters.resourceGuardsName
|
|
1746
|
+
],
|
|
1747
|
+
headerParameters: [Parameters.accept],
|
|
1748
|
+
serializer
|
|
1749
|
+
};
|
|
1750
|
+
const getUpdateProtectionPolicyRequestsObjectsNextOperationSpec: coreClient.OperationSpec = {
|
|
1751
|
+
path: "{nextLink}",
|
|
1752
|
+
httpMethod: "GET",
|
|
1753
|
+
responses: {
|
|
1754
|
+
200: {
|
|
1755
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1756
|
+
},
|
|
1757
|
+
default: {
|
|
1758
|
+
bodyMapper: Mappers.CloudError
|
|
1759
|
+
}
|
|
1760
|
+
},
|
|
1761
|
+
urlParameters: [
|
|
1762
|
+
Parameters.$host,
|
|
1763
|
+
Parameters.subscriptionId,
|
|
1764
|
+
Parameters.resourceGroupName,
|
|
1765
|
+
Parameters.nextLink,
|
|
1766
|
+
Parameters.resourceGuardsName
|
|
1767
|
+
],
|
|
1768
|
+
headerParameters: [Parameters.accept],
|
|
1769
|
+
serializer
|
|
1770
|
+
};
|
|
1771
|
+
const getUpdateProtectedItemRequestsObjectsNextOperationSpec: coreClient.OperationSpec = {
|
|
1772
|
+
path: "{nextLink}",
|
|
1773
|
+
httpMethod: "GET",
|
|
1774
|
+
responses: {
|
|
1775
|
+
200: {
|
|
1776
|
+
bodyMapper: Mappers.DppBaseResourceList
|
|
1777
|
+
},
|
|
1778
|
+
default: {
|
|
1779
|
+
bodyMapper: Mappers.CloudError
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
urlParameters: [
|
|
1783
|
+
Parameters.$host,
|
|
1784
|
+
Parameters.subscriptionId,
|
|
1785
|
+
Parameters.resourceGroupName,
|
|
1786
|
+
Parameters.nextLink,
|
|
1787
|
+
Parameters.resourceGuardsName
|
|
1788
|
+
],
|
|
1789
|
+
headerParameters: [Parameters.accept],
|
|
1790
|
+
serializer
|
|
1791
|
+
};
|