@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,3891 @@
|
|
|
1
|
+
import * as coreAuth from '@azure/core-auth';
|
|
2
|
+
import * as coreClient from '@azure/core-client';
|
|
3
|
+
import { PagedAsyncIterableIterator } from '@azure/core-paging';
|
|
4
|
+
import { PollerLike } from '@azure/core-lro';
|
|
5
|
+
import { PollOperationState } from '@azure/core-lro';
|
|
6
|
+
|
|
7
|
+
/** Delete option with duration */
|
|
8
|
+
export declare interface AbsoluteDeleteOption extends DeleteOption {
|
|
9
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
10
|
+
objectType: "AbsoluteDeleteOption";
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Defines values for AbsoluteMarker. \
|
|
15
|
+
* {@link KnownAbsoluteMarker} can be used interchangeably with AbsoluteMarker,
|
|
16
|
+
* this enum contains the known values that the service supports.
|
|
17
|
+
* ### Known values supported by the service
|
|
18
|
+
* **AllBackup** \
|
|
19
|
+
* **FirstOfDay** \
|
|
20
|
+
* **FirstOfMonth** \
|
|
21
|
+
* **FirstOfWeek** \
|
|
22
|
+
* **FirstOfYear**
|
|
23
|
+
*/
|
|
24
|
+
export declare type AbsoluteMarker = string;
|
|
25
|
+
|
|
26
|
+
/** Adhoc backup rules */
|
|
27
|
+
export declare interface AdHocBackupRuleOptions {
|
|
28
|
+
ruleName: string;
|
|
29
|
+
/** Adhoc backup trigger option */
|
|
30
|
+
triggerOption: AdhocBackupTriggerOption;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/** Adhoc backup trigger option */
|
|
34
|
+
export declare interface AdhocBackupTriggerOption {
|
|
35
|
+
retentionTagOverride?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/** Adhoc backup tagging criteria */
|
|
39
|
+
export declare interface AdhocBasedTaggingCriteria {
|
|
40
|
+
/** Retention tag information */
|
|
41
|
+
tagInfo?: RetentionTag;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/** Adhoc trigger context */
|
|
45
|
+
export declare interface AdhocBasedTriggerContext extends TriggerContext {
|
|
46
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
47
|
+
objectType: "AdhocBasedTriggerContext";
|
|
48
|
+
/** Tagging Criteria containing retention tag for adhoc backup. */
|
|
49
|
+
taggingCriteria: AdhocBasedTaggingCriteria;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Defines values for AlertsState. \
|
|
54
|
+
* {@link KnownAlertsState} can be used interchangeably with AlertsState,
|
|
55
|
+
* this enum contains the known values that the service supports.
|
|
56
|
+
* ### Known values supported by the service
|
|
57
|
+
* **Enabled** \
|
|
58
|
+
* **Disabled**
|
|
59
|
+
*/
|
|
60
|
+
export declare type AlertsState = string;
|
|
61
|
+
|
|
62
|
+
/** Base class for different types of authentication credentials. */
|
|
63
|
+
export declare interface AuthCredentials {
|
|
64
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
65
|
+
objectType: "SecretStoreBasedAuthCredentials";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export declare type AuthCredentialsUnion = AuthCredentials | SecretStoreBasedAuthCredentials;
|
|
69
|
+
|
|
70
|
+
/** Azure backup discrete RecoveryPoint */
|
|
71
|
+
export declare interface AzureBackupDiscreteRecoveryPoint extends AzureBackupRecoveryPoint {
|
|
72
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
73
|
+
objectType: "AzureBackupDiscreteRecoveryPoint";
|
|
74
|
+
friendlyName?: string;
|
|
75
|
+
recoveryPointDataStoresDetails?: RecoveryPointDataStoreDetails[];
|
|
76
|
+
recoveryPointTime: Date;
|
|
77
|
+
policyName?: string;
|
|
78
|
+
policyVersion?: string;
|
|
79
|
+
recoveryPointId?: string;
|
|
80
|
+
recoveryPointType?: string;
|
|
81
|
+
retentionTagName?: string;
|
|
82
|
+
retentionTagVersion?: string;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/** List Restore Ranges Request */
|
|
86
|
+
export declare interface AzureBackupFindRestorableTimeRangesRequest {
|
|
87
|
+
/** Gets or sets the type of the source data store. */
|
|
88
|
+
sourceDataStoreType: RestoreSourceDataStoreType;
|
|
89
|
+
/** Start time for the List Restore Ranges request. ISO 8601 format. */
|
|
90
|
+
startTime?: string;
|
|
91
|
+
/** End time for the List Restore Ranges request. ISO 8601 format. */
|
|
92
|
+
endTime?: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/** List Restore Ranges Request */
|
|
96
|
+
export declare interface AzureBackupFindRestorableTimeRangesRequestResource extends DppWorkerRequest {
|
|
97
|
+
/** AzureBackupFindRestorableTimeRangesRequestResource content */
|
|
98
|
+
content?: AzureBackupFindRestorableTimeRangesRequest;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** List Restore Ranges Response */
|
|
102
|
+
export declare interface AzureBackupFindRestorableTimeRangesResponse {
|
|
103
|
+
/** Returns the Restore Ranges available on the Backup Instance. */
|
|
104
|
+
restorableTimeRanges?: RestorableTimeRange[];
|
|
105
|
+
objectType?: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/** List Restore Ranges Response */
|
|
109
|
+
export declare interface AzureBackupFindRestorableTimeRangesResponseResource extends DppResource {
|
|
110
|
+
/** AzureBackupFindRestorableTimeRangesResponseResource properties */
|
|
111
|
+
properties?: AzureBackupFindRestorableTimeRangesResponse;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** AzureBackup Job Class */
|
|
115
|
+
export declare interface AzureBackupJob {
|
|
116
|
+
/** Job Activity Id */
|
|
117
|
+
activityID: string;
|
|
118
|
+
/** Name of the Backup Instance */
|
|
119
|
+
backupInstanceFriendlyName: string;
|
|
120
|
+
/**
|
|
121
|
+
* ARM ID of the Backup Instance
|
|
122
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
123
|
+
*/
|
|
124
|
+
readonly backupInstanceId?: string;
|
|
125
|
+
/** ARM ID of the DataSource */
|
|
126
|
+
dataSourceId: string;
|
|
127
|
+
/** Location of the DataSource */
|
|
128
|
+
dataSourceLocation: string;
|
|
129
|
+
/** User Friendly Name of the DataSource */
|
|
130
|
+
dataSourceName: string;
|
|
131
|
+
/** Data Source Set Name of the DataSource */
|
|
132
|
+
dataSourceSetName?: string;
|
|
133
|
+
/** Type of DataSource */
|
|
134
|
+
dataSourceType: string;
|
|
135
|
+
/** Total run time of the job. ISO 8601 format. */
|
|
136
|
+
duration?: string;
|
|
137
|
+
/**
|
|
138
|
+
* EndTime of the job(in UTC)
|
|
139
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
140
|
+
*/
|
|
141
|
+
readonly endTime?: Date;
|
|
142
|
+
/**
|
|
143
|
+
* A List, detailing the errors related to the job
|
|
144
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
145
|
+
*/
|
|
146
|
+
readonly errorDetails?: UserFacingError[];
|
|
147
|
+
/**
|
|
148
|
+
* Extended Information about the job
|
|
149
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
150
|
+
*/
|
|
151
|
+
readonly extendedInfo?: JobExtendedInfo;
|
|
152
|
+
/** Indicated that whether the job is adhoc(true) or scheduled(false) */
|
|
153
|
+
isUserTriggered: boolean;
|
|
154
|
+
/** It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure */
|
|
155
|
+
operation: string;
|
|
156
|
+
/** It indicates the type of Job i.e. Backup/Restore/Tiering/Management */
|
|
157
|
+
operationCategory: string;
|
|
158
|
+
/**
|
|
159
|
+
* ARM ID of the policy
|
|
160
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
161
|
+
*/
|
|
162
|
+
readonly policyId?: string;
|
|
163
|
+
/**
|
|
164
|
+
* Name of the policy
|
|
165
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
166
|
+
*/
|
|
167
|
+
readonly policyName?: string;
|
|
168
|
+
/** Indicated whether progress is enabled for the job */
|
|
169
|
+
progressEnabled: boolean;
|
|
170
|
+
/**
|
|
171
|
+
* Url which contains job's progress
|
|
172
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
173
|
+
*/
|
|
174
|
+
readonly progressUrl?: string;
|
|
175
|
+
/**
|
|
176
|
+
* It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR
|
|
177
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
178
|
+
*/
|
|
179
|
+
readonly restoreType?: string;
|
|
180
|
+
/** Resource Group Name of the Datasource */
|
|
181
|
+
sourceResourceGroup: string;
|
|
182
|
+
/** SubscriptionId corresponding to the DataSource */
|
|
183
|
+
sourceSubscriptionID: string;
|
|
184
|
+
/** StartTime of the job(in UTC) */
|
|
185
|
+
startTime: Date;
|
|
186
|
+
/** Status of the job like InProgress/Success/Failed/Cancelled/SuccessWithWarning */
|
|
187
|
+
status: string;
|
|
188
|
+
/** Subscription Id of the corresponding backup vault */
|
|
189
|
+
subscriptionId: string;
|
|
190
|
+
/** List of supported actions */
|
|
191
|
+
supportedActions: string[];
|
|
192
|
+
/** Name of the vault */
|
|
193
|
+
vaultName: string;
|
|
194
|
+
etag?: string;
|
|
195
|
+
sourceDataStoreName?: string;
|
|
196
|
+
destinationDataStoreName?: string;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/** AzureBackup Job Resource Class */
|
|
200
|
+
export declare interface AzureBackupJobResource extends DppResource {
|
|
201
|
+
/** AzureBackupJobResource properties */
|
|
202
|
+
properties?: AzureBackupJob;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/** List of AzureBackup Job resources */
|
|
206
|
+
export declare interface AzureBackupJobResourceList extends DppResourceList {
|
|
207
|
+
/** List of resources. */
|
|
208
|
+
value?: AzureBackupJobResource[];
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/** Azure backup parameters */
|
|
212
|
+
export declare interface AzureBackupParams extends BackupParameters {
|
|
213
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
214
|
+
objectType: "AzureBackupParams";
|
|
215
|
+
/** BackupType ; Full/Incremental etc */
|
|
216
|
+
backupType: string;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
/** Azure backup recoveryPoint */
|
|
220
|
+
export declare interface AzureBackupRecoveryPoint {
|
|
221
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
222
|
+
objectType: "AzureBackupDiscreteRecoveryPoint";
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/** Azure backup recoveryPoint based restore request */
|
|
226
|
+
export declare interface AzureBackupRecoveryPointBasedRestoreRequest extends AzureBackupRestoreRequest {
|
|
227
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
228
|
+
objectType: "AzureBackupRecoveryPointBasedRestoreRequest" | "AzureBackupRestoreWithRehydrationRequest";
|
|
229
|
+
recoveryPointId: string;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export declare type AzureBackupRecoveryPointBasedRestoreRequestUnion = AzureBackupRecoveryPointBasedRestoreRequest | AzureBackupRestoreWithRehydrationRequest;
|
|
233
|
+
|
|
234
|
+
/** Azure backup recoveryPoint resource */
|
|
235
|
+
export declare interface AzureBackupRecoveryPointResource extends DppResource {
|
|
236
|
+
/** AzureBackupRecoveryPointResource properties */
|
|
237
|
+
properties?: AzureBackupRecoveryPointUnion;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
/** Azure backup recoveryPoint resource list */
|
|
241
|
+
export declare interface AzureBackupRecoveryPointResourceList extends DppResourceList {
|
|
242
|
+
/** List of resources. */
|
|
243
|
+
value?: AzureBackupRecoveryPointResource[];
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export declare type AzureBackupRecoveryPointUnion = AzureBackupRecoveryPoint | AzureBackupDiscreteRecoveryPoint;
|
|
247
|
+
|
|
248
|
+
/** AzureBackup RecoveryPointTime Based Restore Request */
|
|
249
|
+
export declare interface AzureBackupRecoveryTimeBasedRestoreRequest extends AzureBackupRestoreRequest {
|
|
250
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
251
|
+
objectType: "AzureBackupRecoveryTimeBasedRestoreRequest";
|
|
252
|
+
/** The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z. */
|
|
253
|
+
recoveryPointTime: string;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/** Azure Backup Rehydrate Request */
|
|
257
|
+
export declare interface AzureBackupRehydrationRequest {
|
|
258
|
+
/** Id of the recovery point to be recovered */
|
|
259
|
+
recoveryPointId: string;
|
|
260
|
+
/** Priority to be used for rehydration. Values High or Standard */
|
|
261
|
+
rehydrationPriority?: RehydrationPriority;
|
|
262
|
+
/** Retention duration in ISO 8601 format i.e P10D . */
|
|
263
|
+
rehydrationRetentionDuration: string;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
/** Azure backup restore request */
|
|
267
|
+
export declare interface AzureBackupRestoreRequest {
|
|
268
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
269
|
+
objectType: "AzureBackupRecoveryPointBasedRestoreRequest" | "AzureBackupRestoreWithRehydrationRequest" | "AzureBackupRecoveryTimeBasedRestoreRequest";
|
|
270
|
+
/** Gets or sets the restore target information. */
|
|
271
|
+
restoreTargetInfo: RestoreTargetInfoBaseUnion;
|
|
272
|
+
/** Gets or sets the type of the source data store. */
|
|
273
|
+
sourceDataStoreType: SourceDataStoreType;
|
|
274
|
+
/** Fully qualified Azure Resource Manager ID of the datasource which is being recovered. */
|
|
275
|
+
sourceResourceId?: string;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
export declare type AzureBackupRestoreRequestUnion = AzureBackupRestoreRequest | AzureBackupRecoveryPointBasedRestoreRequestUnion | AzureBackupRecoveryTimeBasedRestoreRequest;
|
|
279
|
+
|
|
280
|
+
/** AzureBackup Restore with Rehydration Request */
|
|
281
|
+
export declare interface AzureBackupRestoreWithRehydrationRequest extends AzureBackupRecoveryPointBasedRestoreRequest {
|
|
282
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
283
|
+
objectType: "AzureBackupRestoreWithRehydrationRequest";
|
|
284
|
+
/** Priority to be used for rehydration. Values High or Standard */
|
|
285
|
+
rehydrationPriority: RehydrationPriority;
|
|
286
|
+
/** Retention duration in ISO 8601 format i.e P10D . */
|
|
287
|
+
rehydrationRetentionDuration: string;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/** Azure backup rule */
|
|
291
|
+
export declare interface AzureBackupRule extends BasePolicyRule {
|
|
292
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
293
|
+
objectType: "AzureBackupRule";
|
|
294
|
+
/** BackupParameters base */
|
|
295
|
+
backupParameters?: BackupParametersUnion;
|
|
296
|
+
/** DataStoreInfo base */
|
|
297
|
+
dataStore: DataStoreInfoBase;
|
|
298
|
+
/** Trigger context */
|
|
299
|
+
trigger: TriggerContextUnion;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/** Settings for Azure Monitor based alerts */
|
|
303
|
+
export declare interface AzureMonitorAlertSettings {
|
|
304
|
+
alertsForAllJobFailures?: AlertsState;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/** Parameters for Operational-Tier DataStore */
|
|
308
|
+
export declare interface AzureOperationalStoreParameters extends DataStoreParameters {
|
|
309
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
310
|
+
objectType: "AzureOperationalStoreParameters";
|
|
311
|
+
/** Gets or sets the Snapshot Resource Group Uri. */
|
|
312
|
+
resourceGroupId?: string;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
/** Azure retention rule */
|
|
316
|
+
export declare interface AzureRetentionRule extends BasePolicyRule {
|
|
317
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
318
|
+
objectType: "AzureRetentionRule";
|
|
319
|
+
isDefault?: boolean;
|
|
320
|
+
lifecycles: SourceLifeCycle[];
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
/** BackupCriteria base class */
|
|
324
|
+
export declare interface BackupCriteria {
|
|
325
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
326
|
+
objectType: "ScheduleBasedBackupCriteria";
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export declare type BackupCriteriaUnion = BackupCriteria | ScheduleBasedBackupCriteria;
|
|
330
|
+
|
|
331
|
+
/** Parameters for Backup Datasource */
|
|
332
|
+
export declare interface BackupDatasourceParameters {
|
|
333
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
334
|
+
objectType: "KubernetesClusterBackupDatasourceParameters" | "BlobBackupDatasourceParameters";
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
export declare type BackupDatasourceParametersUnion = BackupDatasourceParameters | KubernetesClusterBackupDatasourceParameters | BlobBackupDatasourceParameters;
|
|
338
|
+
|
|
339
|
+
/** Backup Instance */
|
|
340
|
+
export declare interface BackupInstance {
|
|
341
|
+
/** Gets or sets the Backup Instance friendly name. */
|
|
342
|
+
friendlyName?: string;
|
|
343
|
+
/** Gets or sets the data source information. */
|
|
344
|
+
dataSourceInfo: Datasource;
|
|
345
|
+
/** Gets or sets the data source set information. */
|
|
346
|
+
dataSourceSetInfo?: DatasourceSet;
|
|
347
|
+
/** Gets or sets the policy information. */
|
|
348
|
+
policyInfo: PolicyInfo;
|
|
349
|
+
/**
|
|
350
|
+
* Specifies the protection status of the resource
|
|
351
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
352
|
+
*/
|
|
353
|
+
readonly protectionStatus?: ProtectionStatusDetails;
|
|
354
|
+
/**
|
|
355
|
+
* Specifies the current protection state of the resource
|
|
356
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
357
|
+
*/
|
|
358
|
+
readonly currentProtectionState?: CurrentProtectionState;
|
|
359
|
+
/**
|
|
360
|
+
* Specifies the protection error of the resource
|
|
361
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
362
|
+
*/
|
|
363
|
+
readonly protectionErrorDetails?: UserFacingError;
|
|
364
|
+
/**
|
|
365
|
+
* Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed
|
|
366
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
367
|
+
*/
|
|
368
|
+
readonly provisioningState?: string;
|
|
369
|
+
/** Credentials to use to authenticate with data source provider. */
|
|
370
|
+
datasourceAuthCredentials?: AuthCredentialsUnion;
|
|
371
|
+
/** Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. */
|
|
372
|
+
validationType?: ValidationType;
|
|
373
|
+
objectType: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/** BackupInstance Resource */
|
|
377
|
+
export declare interface BackupInstanceResource extends DppProxyResource {
|
|
378
|
+
/** BackupInstanceResource properties */
|
|
379
|
+
properties?: BackupInstance;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/** BackupInstance Resource list response */
|
|
383
|
+
export declare interface BackupInstanceResourceList extends DppResourceList {
|
|
384
|
+
/** List of resources. */
|
|
385
|
+
value?: BackupInstanceResource[];
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/** Interface representing a BackupInstances. */
|
|
389
|
+
export declare interface BackupInstances {
|
|
390
|
+
/**
|
|
391
|
+
* Gets a backup instances belonging to a backup vault
|
|
392
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
393
|
+
* @param vaultName The name of the backup vault.
|
|
394
|
+
* @param options The options parameters.
|
|
395
|
+
*/
|
|
396
|
+
list(resourceGroupName: string, vaultName: string, options?: BackupInstancesListOptionalParams): PagedAsyncIterableIterator<BackupInstanceResource>;
|
|
397
|
+
/**
|
|
398
|
+
* Gets a backup instance with name in a backup vault
|
|
399
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
400
|
+
* @param vaultName The name of the backup vault.
|
|
401
|
+
* @param backupInstanceName The name of the backup instance
|
|
402
|
+
* @param options The options parameters.
|
|
403
|
+
*/
|
|
404
|
+
get(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesGetOptionalParams): Promise<BackupInstancesGetResponse>;
|
|
405
|
+
/**
|
|
406
|
+
* Create or update a backup instance in a backup vault
|
|
407
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
408
|
+
* @param vaultName The name of the backup vault.
|
|
409
|
+
* @param backupInstanceName The name of the backup instance
|
|
410
|
+
* @param parameters Request body for operation
|
|
411
|
+
* @param options The options parameters.
|
|
412
|
+
*/
|
|
413
|
+
beginCreateOrUpdate(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: BackupInstanceResource, options?: BackupInstancesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BackupInstancesCreateOrUpdateResponse>, BackupInstancesCreateOrUpdateResponse>>;
|
|
414
|
+
/**
|
|
415
|
+
* Create or update a backup instance in a backup vault
|
|
416
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
417
|
+
* @param vaultName The name of the backup vault.
|
|
418
|
+
* @param backupInstanceName The name of the backup instance
|
|
419
|
+
* @param parameters Request body for operation
|
|
420
|
+
* @param options The options parameters.
|
|
421
|
+
*/
|
|
422
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: BackupInstanceResource, options?: BackupInstancesCreateOrUpdateOptionalParams): Promise<BackupInstancesCreateOrUpdateResponse>;
|
|
423
|
+
/**
|
|
424
|
+
* Delete a backup instance in a backup vault
|
|
425
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
426
|
+
* @param vaultName The name of the backup vault.
|
|
427
|
+
* @param backupInstanceName The name of the backup instance
|
|
428
|
+
* @param options The options parameters.
|
|
429
|
+
*/
|
|
430
|
+
beginDelete(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
431
|
+
/**
|
|
432
|
+
* Delete a backup instance in a backup vault
|
|
433
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
434
|
+
* @param vaultName The name of the backup vault.
|
|
435
|
+
* @param backupInstanceName The name of the backup instance
|
|
436
|
+
* @param options The options parameters.
|
|
437
|
+
*/
|
|
438
|
+
beginDeleteAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesDeleteOptionalParams): Promise<void>;
|
|
439
|
+
/**
|
|
440
|
+
* Trigger adhoc backup
|
|
441
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
442
|
+
* @param vaultName The name of the backup vault.
|
|
443
|
+
* @param backupInstanceName The name of the backup instance
|
|
444
|
+
* @param parameters Request body for operation
|
|
445
|
+
* @param options The options parameters.
|
|
446
|
+
*/
|
|
447
|
+
beginAdhocBackup(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: TriggerBackupRequest, options?: BackupInstancesAdhocBackupOptionalParams): Promise<PollerLike<PollOperationState<BackupInstancesAdhocBackupResponse>, BackupInstancesAdhocBackupResponse>>;
|
|
448
|
+
/**
|
|
449
|
+
* Trigger adhoc backup
|
|
450
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
451
|
+
* @param vaultName The name of the backup vault.
|
|
452
|
+
* @param backupInstanceName The name of the backup instance
|
|
453
|
+
* @param parameters Request body for operation
|
|
454
|
+
* @param options The options parameters.
|
|
455
|
+
*/
|
|
456
|
+
beginAdhocBackupAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: TriggerBackupRequest, options?: BackupInstancesAdhocBackupOptionalParams): Promise<BackupInstancesAdhocBackupResponse>;
|
|
457
|
+
/**
|
|
458
|
+
* Validate whether adhoc backup will be successful or not
|
|
459
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
460
|
+
* @param vaultName The name of the backup vault.
|
|
461
|
+
* @param parameters Request body for operation
|
|
462
|
+
* @param options The options parameters.
|
|
463
|
+
*/
|
|
464
|
+
beginValidateForBackup(resourceGroupName: string, vaultName: string, parameters: ValidateForBackupRequest, options?: BackupInstancesValidateForBackupOptionalParams): Promise<PollerLike<PollOperationState<BackupInstancesValidateForBackupResponse>, BackupInstancesValidateForBackupResponse>>;
|
|
465
|
+
/**
|
|
466
|
+
* Validate whether adhoc backup will be successful or not
|
|
467
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
468
|
+
* @param vaultName The name of the backup vault.
|
|
469
|
+
* @param parameters Request body for operation
|
|
470
|
+
* @param options The options parameters.
|
|
471
|
+
*/
|
|
472
|
+
beginValidateForBackupAndWait(resourceGroupName: string, vaultName: string, parameters: ValidateForBackupRequest, options?: BackupInstancesValidateForBackupOptionalParams): Promise<BackupInstancesValidateForBackupResponse>;
|
|
473
|
+
/**
|
|
474
|
+
* Get result of backup instance creation operation
|
|
475
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
476
|
+
* @param vaultName The name of the backup vault.
|
|
477
|
+
* @param backupInstanceName
|
|
478
|
+
* @param operationId
|
|
479
|
+
* @param options The options parameters.
|
|
480
|
+
*/
|
|
481
|
+
getBackupInstanceOperationResult(resourceGroupName: string, vaultName: string, backupInstanceName: string, operationId: string, options?: BackupInstancesGetBackupInstanceOperationResultOptionalParams): Promise<BackupInstancesGetBackupInstanceOperationResultResponse>;
|
|
482
|
+
/**
|
|
483
|
+
* rehydrate recovery point for restore for a BackupInstance
|
|
484
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
485
|
+
* @param vaultName The name of the backup vault.
|
|
486
|
+
* @param backupInstanceName
|
|
487
|
+
* @param parameters Request body for operation
|
|
488
|
+
* @param options The options parameters.
|
|
489
|
+
*/
|
|
490
|
+
beginTriggerRehydrate(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: AzureBackupRehydrationRequest, options?: BackupInstancesTriggerRehydrateOptionalParams): Promise<PollerLike<PollOperationState<BackupInstancesTriggerRehydrateResponse>, BackupInstancesTriggerRehydrateResponse>>;
|
|
491
|
+
/**
|
|
492
|
+
* rehydrate recovery point for restore for a BackupInstance
|
|
493
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
494
|
+
* @param vaultName The name of the backup vault.
|
|
495
|
+
* @param backupInstanceName
|
|
496
|
+
* @param parameters Request body for operation
|
|
497
|
+
* @param options The options parameters.
|
|
498
|
+
*/
|
|
499
|
+
beginTriggerRehydrateAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: AzureBackupRehydrationRequest, options?: BackupInstancesTriggerRehydrateOptionalParams): Promise<BackupInstancesTriggerRehydrateResponse>;
|
|
500
|
+
/**
|
|
501
|
+
* Triggers restore for a BackupInstance
|
|
502
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
503
|
+
* @param vaultName The name of the backup vault.
|
|
504
|
+
* @param backupInstanceName The name of the backup instance
|
|
505
|
+
* @param parameters Request body for operation
|
|
506
|
+
* @param options The options parameters.
|
|
507
|
+
*/
|
|
508
|
+
beginTriggerRestore(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: AzureBackupRestoreRequestUnion, options?: BackupInstancesTriggerRestoreOptionalParams): Promise<PollerLike<PollOperationState<BackupInstancesTriggerRestoreResponse>, BackupInstancesTriggerRestoreResponse>>;
|
|
509
|
+
/**
|
|
510
|
+
* Triggers restore for a BackupInstance
|
|
511
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
512
|
+
* @param vaultName The name of the backup vault.
|
|
513
|
+
* @param backupInstanceName The name of the backup instance
|
|
514
|
+
* @param parameters Request body for operation
|
|
515
|
+
* @param options The options parameters.
|
|
516
|
+
*/
|
|
517
|
+
beginTriggerRestoreAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: AzureBackupRestoreRequestUnion, options?: BackupInstancesTriggerRestoreOptionalParams): Promise<BackupInstancesTriggerRestoreResponse>;
|
|
518
|
+
/**
|
|
519
|
+
* This operation will resume backups for backup instance
|
|
520
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
521
|
+
* @param vaultName The name of the backup vault.
|
|
522
|
+
* @param backupInstanceName
|
|
523
|
+
* @param options The options parameters.
|
|
524
|
+
*/
|
|
525
|
+
beginResumeBackups(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesResumeBackupsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
526
|
+
/**
|
|
527
|
+
* This operation will resume backups for backup instance
|
|
528
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
529
|
+
* @param vaultName The name of the backup vault.
|
|
530
|
+
* @param backupInstanceName
|
|
531
|
+
* @param options The options parameters.
|
|
532
|
+
*/
|
|
533
|
+
beginResumeBackupsAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesResumeBackupsOptionalParams): Promise<void>;
|
|
534
|
+
/**
|
|
535
|
+
* This operation will resume protection for a stopped backup instance
|
|
536
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
537
|
+
* @param vaultName The name of the backup vault.
|
|
538
|
+
* @param backupInstanceName
|
|
539
|
+
* @param options The options parameters.
|
|
540
|
+
*/
|
|
541
|
+
beginResumeProtection(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesResumeProtectionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
542
|
+
/**
|
|
543
|
+
* This operation will resume protection for a stopped backup instance
|
|
544
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
545
|
+
* @param vaultName The name of the backup vault.
|
|
546
|
+
* @param backupInstanceName
|
|
547
|
+
* @param options The options parameters.
|
|
548
|
+
*/
|
|
549
|
+
beginResumeProtectionAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesResumeProtectionOptionalParams): Promise<void>;
|
|
550
|
+
/**
|
|
551
|
+
* This operation will stop protection of a backup instance and data will be held forever
|
|
552
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
553
|
+
* @param vaultName The name of the backup vault.
|
|
554
|
+
* @param backupInstanceName
|
|
555
|
+
* @param options The options parameters.
|
|
556
|
+
*/
|
|
557
|
+
beginStopProtection(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesStopProtectionOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
558
|
+
/**
|
|
559
|
+
* This operation will stop protection of a backup instance and data will be held forever
|
|
560
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
561
|
+
* @param vaultName The name of the backup vault.
|
|
562
|
+
* @param backupInstanceName
|
|
563
|
+
* @param options The options parameters.
|
|
564
|
+
*/
|
|
565
|
+
beginStopProtectionAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesStopProtectionOptionalParams): Promise<void>;
|
|
566
|
+
/**
|
|
567
|
+
* This operation will stop backup for a backup instance and retains the backup data as per the policy
|
|
568
|
+
* (except latest Recovery point, which will be retained forever)
|
|
569
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
570
|
+
* @param vaultName The name of the backup vault.
|
|
571
|
+
* @param backupInstanceName
|
|
572
|
+
* @param options The options parameters.
|
|
573
|
+
*/
|
|
574
|
+
beginSuspendBackups(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesSuspendBackupsOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
575
|
+
/**
|
|
576
|
+
* This operation will stop backup for a backup instance and retains the backup data as per the policy
|
|
577
|
+
* (except latest Recovery point, which will be retained forever)
|
|
578
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
579
|
+
* @param vaultName The name of the backup vault.
|
|
580
|
+
* @param backupInstanceName
|
|
581
|
+
* @param options The options parameters.
|
|
582
|
+
*/
|
|
583
|
+
beginSuspendBackupsAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: BackupInstancesSuspendBackupsOptionalParams): Promise<void>;
|
|
584
|
+
/**
|
|
585
|
+
* Sync backup instance again in case of failure
|
|
586
|
+
* This action will retry last failed operation and will bring backup instance to valid state
|
|
587
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
588
|
+
* @param vaultName The name of the backup vault.
|
|
589
|
+
* @param backupInstanceName
|
|
590
|
+
* @param parameters Request body for operation
|
|
591
|
+
* @param options The options parameters.
|
|
592
|
+
*/
|
|
593
|
+
beginSyncBackupInstance(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: SyncBackupInstanceRequest, options?: BackupInstancesSyncBackupInstanceOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
594
|
+
/**
|
|
595
|
+
* Sync backup instance again in case of failure
|
|
596
|
+
* This action will retry last failed operation and will bring backup instance to valid state
|
|
597
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
598
|
+
* @param vaultName The name of the backup vault.
|
|
599
|
+
* @param backupInstanceName
|
|
600
|
+
* @param parameters Request body for operation
|
|
601
|
+
* @param options The options parameters.
|
|
602
|
+
*/
|
|
603
|
+
beginSyncBackupInstanceAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: SyncBackupInstanceRequest, options?: BackupInstancesSyncBackupInstanceOptionalParams): Promise<void>;
|
|
604
|
+
/**
|
|
605
|
+
* Validates if Restore can be triggered for a DataSource
|
|
606
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
607
|
+
* @param vaultName The name of the backup vault.
|
|
608
|
+
* @param backupInstanceName The name of the backup instance
|
|
609
|
+
* @param parameters Request body for operation
|
|
610
|
+
* @param options The options parameters.
|
|
611
|
+
*/
|
|
612
|
+
beginValidateForRestore(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: ValidateRestoreRequestObject, options?: BackupInstancesValidateForRestoreOptionalParams): Promise<PollerLike<PollOperationState<BackupInstancesValidateForRestoreResponse>, BackupInstancesValidateForRestoreResponse>>;
|
|
613
|
+
/**
|
|
614
|
+
* Validates if Restore can be triggered for a DataSource
|
|
615
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
616
|
+
* @param vaultName The name of the backup vault.
|
|
617
|
+
* @param backupInstanceName The name of the backup instance
|
|
618
|
+
* @param parameters Request body for operation
|
|
619
|
+
* @param options The options parameters.
|
|
620
|
+
*/
|
|
621
|
+
beginValidateForRestoreAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: ValidateRestoreRequestObject, options?: BackupInstancesValidateForRestoreOptionalParams): Promise<BackupInstancesValidateForRestoreResponse>;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
/** Defines headers for BackupInstances_adhocBackup operation. */
|
|
625
|
+
export declare interface BackupInstancesAdhocBackupHeaders {
|
|
626
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
627
|
+
location?: string;
|
|
628
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
629
|
+
azureAsyncOperation?: string;
|
|
630
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
631
|
+
retryAfter?: number;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/** Optional parameters. */
|
|
635
|
+
export declare interface BackupInstancesAdhocBackupOptionalParams extends coreClient.OperationOptions {
|
|
636
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
637
|
+
updateIntervalInMs?: number;
|
|
638
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
639
|
+
resumeFrom?: string;
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
/** Contains response data for the adhocBackup operation. */
|
|
643
|
+
export declare type BackupInstancesAdhocBackupResponse = OperationJobExtendedInfo;
|
|
644
|
+
|
|
645
|
+
/** Defines headers for BackupInstances_createOrUpdate operation. */
|
|
646
|
+
export declare interface BackupInstancesCreateOrUpdateHeaders {
|
|
647
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
648
|
+
location?: string;
|
|
649
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
650
|
+
azureAsyncOperation?: string;
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
/** Optional parameters. */
|
|
654
|
+
export declare interface BackupInstancesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
655
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
656
|
+
updateIntervalInMs?: number;
|
|
657
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
658
|
+
resumeFrom?: string;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
662
|
+
export declare type BackupInstancesCreateOrUpdateResponse = BackupInstanceResource;
|
|
663
|
+
|
|
664
|
+
/** Defines headers for BackupInstances_delete operation. */
|
|
665
|
+
export declare interface BackupInstancesDeleteHeaders {
|
|
666
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
667
|
+
location?: string;
|
|
668
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
669
|
+
azureAsyncOperation?: string;
|
|
670
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
671
|
+
retryAfter?: number;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
/** Optional parameters. */
|
|
675
|
+
export declare interface BackupInstancesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
676
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
677
|
+
updateIntervalInMs?: number;
|
|
678
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
679
|
+
resumeFrom?: string;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/** Interface representing a BackupInstancesExtensionRouting. */
|
|
683
|
+
export declare interface BackupInstancesExtensionRouting {
|
|
684
|
+
/**
|
|
685
|
+
* Gets a list backup instances associated with a tracked resource
|
|
686
|
+
* @param resourceId ARM path of the resource to be protected using Microsoft.DataProtection
|
|
687
|
+
* @param options The options parameters.
|
|
688
|
+
*/
|
|
689
|
+
list(resourceId: string, options?: BackupInstancesExtensionRoutingListOptionalParams): PagedAsyncIterableIterator<BackupInstanceResource>;
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/** Optional parameters. */
|
|
693
|
+
export declare interface BackupInstancesExtensionRoutingListNextOptionalParams extends coreClient.OperationOptions {
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
/** Contains response data for the listNext operation. */
|
|
697
|
+
export declare type BackupInstancesExtensionRoutingListNextResponse = BackupInstanceResourceList;
|
|
698
|
+
|
|
699
|
+
/** Optional parameters. */
|
|
700
|
+
export declare interface BackupInstancesExtensionRoutingListOptionalParams extends coreClient.OperationOptions {
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/** Contains response data for the list operation. */
|
|
704
|
+
export declare type BackupInstancesExtensionRoutingListResponse = BackupInstanceResourceList;
|
|
705
|
+
|
|
706
|
+
/** Optional parameters. */
|
|
707
|
+
export declare interface BackupInstancesGetBackupInstanceOperationResultOptionalParams extends coreClient.OperationOptions {
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/** Contains response data for the getBackupInstanceOperationResult operation. */
|
|
711
|
+
export declare type BackupInstancesGetBackupInstanceOperationResultResponse = BackupInstanceResource;
|
|
712
|
+
|
|
713
|
+
/** Optional parameters. */
|
|
714
|
+
export declare interface BackupInstancesGetOptionalParams extends coreClient.OperationOptions {
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/** Contains response data for the get operation. */
|
|
718
|
+
export declare type BackupInstancesGetResponse = BackupInstanceResource;
|
|
719
|
+
|
|
720
|
+
/** Optional parameters. */
|
|
721
|
+
export declare interface BackupInstancesListNextOptionalParams extends coreClient.OperationOptions {
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/** Contains response data for the listNext operation. */
|
|
725
|
+
export declare type BackupInstancesListNextResponse = BackupInstanceResourceList;
|
|
726
|
+
|
|
727
|
+
/** Optional parameters. */
|
|
728
|
+
export declare interface BackupInstancesListOptionalParams extends coreClient.OperationOptions {
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
/** Contains response data for the list operation. */
|
|
732
|
+
export declare type BackupInstancesListResponse = BackupInstanceResourceList;
|
|
733
|
+
|
|
734
|
+
/** Defines headers for BackupInstances_resumeBackups operation. */
|
|
735
|
+
export declare interface BackupInstancesResumeBackupsHeaders {
|
|
736
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
737
|
+
location?: string;
|
|
738
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
739
|
+
azureAsyncOperation?: string;
|
|
740
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
741
|
+
retryAfter?: number;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
/** Optional parameters. */
|
|
745
|
+
export declare interface BackupInstancesResumeBackupsOptionalParams extends coreClient.OperationOptions {
|
|
746
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
747
|
+
updateIntervalInMs?: number;
|
|
748
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
749
|
+
resumeFrom?: string;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/** Defines headers for BackupInstances_resumeProtection operation. */
|
|
753
|
+
export declare interface BackupInstancesResumeProtectionHeaders {
|
|
754
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
755
|
+
location?: string;
|
|
756
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
757
|
+
azureAsyncOperation?: string;
|
|
758
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
759
|
+
retryAfter?: number;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/** Optional parameters. */
|
|
763
|
+
export declare interface BackupInstancesResumeProtectionOptionalParams extends coreClient.OperationOptions {
|
|
764
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
765
|
+
updateIntervalInMs?: number;
|
|
766
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
767
|
+
resumeFrom?: string;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
/** Defines headers for BackupInstances_stopProtection operation. */
|
|
771
|
+
export declare interface BackupInstancesStopProtectionHeaders {
|
|
772
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
773
|
+
location?: string;
|
|
774
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
775
|
+
azureAsyncOperation?: string;
|
|
776
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
777
|
+
retryAfter?: number;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
/** Optional parameters. */
|
|
781
|
+
export declare interface BackupInstancesStopProtectionOptionalParams extends coreClient.OperationOptions {
|
|
782
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
783
|
+
updateIntervalInMs?: number;
|
|
784
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
785
|
+
resumeFrom?: string;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
/** Defines headers for BackupInstances_suspendBackups operation. */
|
|
789
|
+
export declare interface BackupInstancesSuspendBackupsHeaders {
|
|
790
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
791
|
+
location?: string;
|
|
792
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
793
|
+
azureAsyncOperation?: string;
|
|
794
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
795
|
+
retryAfter?: number;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
/** Optional parameters. */
|
|
799
|
+
export declare interface BackupInstancesSuspendBackupsOptionalParams extends coreClient.OperationOptions {
|
|
800
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
801
|
+
updateIntervalInMs?: number;
|
|
802
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
803
|
+
resumeFrom?: string;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/** Defines headers for BackupInstances_syncBackupInstance operation. */
|
|
807
|
+
export declare interface BackupInstancesSyncBackupInstanceHeaders {
|
|
808
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
809
|
+
location?: string;
|
|
810
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
811
|
+
azureAsyncOperation?: string;
|
|
812
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
813
|
+
retryAfter?: number;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/** Optional parameters. */
|
|
817
|
+
export declare interface BackupInstancesSyncBackupInstanceOptionalParams extends coreClient.OperationOptions {
|
|
818
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
819
|
+
updateIntervalInMs?: number;
|
|
820
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
821
|
+
resumeFrom?: string;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/** Defines headers for BackupInstances_triggerRehydrate operation. */
|
|
825
|
+
export declare interface BackupInstancesTriggerRehydrateHeaders {
|
|
826
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
827
|
+
location?: string;
|
|
828
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
829
|
+
azureAsyncOperation?: string;
|
|
830
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
831
|
+
retryAfter?: number;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
/** Optional parameters. */
|
|
835
|
+
export declare interface BackupInstancesTriggerRehydrateOptionalParams extends coreClient.OperationOptions {
|
|
836
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
837
|
+
updateIntervalInMs?: number;
|
|
838
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
839
|
+
resumeFrom?: string;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/** Contains response data for the triggerRehydrate operation. */
|
|
843
|
+
export declare type BackupInstancesTriggerRehydrateResponse = BackupInstancesTriggerRehydrateHeaders;
|
|
844
|
+
|
|
845
|
+
/** Defines headers for BackupInstances_triggerRestore operation. */
|
|
846
|
+
export declare interface BackupInstancesTriggerRestoreHeaders {
|
|
847
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
848
|
+
location?: string;
|
|
849
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
850
|
+
azureAsyncOperation?: string;
|
|
851
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
852
|
+
retryAfter?: number;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
/** Optional parameters. */
|
|
856
|
+
export declare interface BackupInstancesTriggerRestoreOptionalParams extends coreClient.OperationOptions {
|
|
857
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
858
|
+
updateIntervalInMs?: number;
|
|
859
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
860
|
+
resumeFrom?: string;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
/** Contains response data for the triggerRestore operation. */
|
|
864
|
+
export declare type BackupInstancesTriggerRestoreResponse = OperationJobExtendedInfo;
|
|
865
|
+
|
|
866
|
+
/** Defines headers for BackupInstances_validateForBackup operation. */
|
|
867
|
+
export declare interface BackupInstancesValidateForBackupHeaders {
|
|
868
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
869
|
+
location?: string;
|
|
870
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
871
|
+
azureAsyncOperation?: string;
|
|
872
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
873
|
+
retryAfter?: number;
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/** Optional parameters. */
|
|
877
|
+
export declare interface BackupInstancesValidateForBackupOptionalParams extends coreClient.OperationOptions {
|
|
878
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
879
|
+
updateIntervalInMs?: number;
|
|
880
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
881
|
+
resumeFrom?: string;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/** Contains response data for the validateForBackup operation. */
|
|
885
|
+
export declare type BackupInstancesValidateForBackupResponse = OperationJobExtendedInfo;
|
|
886
|
+
|
|
887
|
+
/** Defines headers for BackupInstances_validateForRestore operation. */
|
|
888
|
+
export declare interface BackupInstancesValidateForRestoreHeaders {
|
|
889
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
890
|
+
location?: string;
|
|
891
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
892
|
+
azureAsyncOperation?: string;
|
|
893
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
894
|
+
retryAfter?: number;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
/** Optional parameters. */
|
|
898
|
+
export declare interface BackupInstancesValidateForRestoreOptionalParams extends coreClient.OperationOptions {
|
|
899
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
900
|
+
updateIntervalInMs?: number;
|
|
901
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
902
|
+
resumeFrom?: string;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
/** Contains response data for the validateForRestore operation. */
|
|
906
|
+
export declare type BackupInstancesValidateForRestoreResponse = OperationJobExtendedInfo;
|
|
907
|
+
|
|
908
|
+
/** BackupParameters base */
|
|
909
|
+
export declare interface BackupParameters {
|
|
910
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
911
|
+
objectType: "AzureBackupParams";
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
export declare type BackupParametersUnion = BackupParameters | AzureBackupParams;
|
|
915
|
+
|
|
916
|
+
/** Interface representing a BackupPolicies. */
|
|
917
|
+
export declare interface BackupPolicies {
|
|
918
|
+
/**
|
|
919
|
+
* Returns list of backup policies belonging to a backup vault
|
|
920
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
921
|
+
* @param vaultName The name of the backup vault.
|
|
922
|
+
* @param options The options parameters.
|
|
923
|
+
*/
|
|
924
|
+
list(resourceGroupName: string, vaultName: string, options?: BackupPoliciesListOptionalParams): PagedAsyncIterableIterator<BaseBackupPolicyResource>;
|
|
925
|
+
/**
|
|
926
|
+
* Gets a backup policy belonging to a backup vault
|
|
927
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
928
|
+
* @param vaultName The name of the backup vault.
|
|
929
|
+
* @param backupPolicyName
|
|
930
|
+
* @param options The options parameters.
|
|
931
|
+
*/
|
|
932
|
+
get(resourceGroupName: string, vaultName: string, backupPolicyName: string, options?: BackupPoliciesGetOptionalParams): Promise<BackupPoliciesGetResponse>;
|
|
933
|
+
/**
|
|
934
|
+
* Creates or Updates a backup policy belonging to a backup vault
|
|
935
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
936
|
+
* @param vaultName The name of the backup vault.
|
|
937
|
+
* @param backupPolicyName Name of the policy
|
|
938
|
+
* @param parameters Request body for operation
|
|
939
|
+
* @param options The options parameters.
|
|
940
|
+
*/
|
|
941
|
+
createOrUpdate(resourceGroupName: string, vaultName: string, backupPolicyName: string, parameters: BaseBackupPolicyResource, options?: BackupPoliciesCreateOrUpdateOptionalParams): Promise<BackupPoliciesCreateOrUpdateResponse>;
|
|
942
|
+
/**
|
|
943
|
+
* Deletes a backup policy belonging to a backup vault
|
|
944
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
945
|
+
* @param vaultName The name of the backup vault.
|
|
946
|
+
* @param backupPolicyName
|
|
947
|
+
* @param options The options parameters.
|
|
948
|
+
*/
|
|
949
|
+
delete(resourceGroupName: string, vaultName: string, backupPolicyName: string, options?: BackupPoliciesDeleteOptionalParams): Promise<void>;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/** Optional parameters. */
|
|
953
|
+
export declare interface BackupPoliciesCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
957
|
+
export declare type BackupPoliciesCreateOrUpdateResponse = BaseBackupPolicyResource;
|
|
958
|
+
|
|
959
|
+
/** Optional parameters. */
|
|
960
|
+
export declare interface BackupPoliciesDeleteOptionalParams extends coreClient.OperationOptions {
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
/** Optional parameters. */
|
|
964
|
+
export declare interface BackupPoliciesGetOptionalParams extends coreClient.OperationOptions {
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/** Contains response data for the get operation. */
|
|
968
|
+
export declare type BackupPoliciesGetResponse = BaseBackupPolicyResource;
|
|
969
|
+
|
|
970
|
+
/** Optional parameters. */
|
|
971
|
+
export declare interface BackupPoliciesListNextOptionalParams extends coreClient.OperationOptions {
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
/** Contains response data for the listNext operation. */
|
|
975
|
+
export declare type BackupPoliciesListNextResponse = BaseBackupPolicyResourceList;
|
|
976
|
+
|
|
977
|
+
/** Optional parameters. */
|
|
978
|
+
export declare interface BackupPoliciesListOptionalParams extends coreClient.OperationOptions {
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/** Contains response data for the list operation. */
|
|
982
|
+
export declare type BackupPoliciesListResponse = BaseBackupPolicyResourceList;
|
|
983
|
+
|
|
984
|
+
/** Rule based backup policy */
|
|
985
|
+
export declare interface BackupPolicy extends BaseBackupPolicy {
|
|
986
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
987
|
+
objectType: "BackupPolicy";
|
|
988
|
+
/** Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc */
|
|
989
|
+
policyRules: BasePolicyRuleUnion[];
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
/** Schedule for backup */
|
|
993
|
+
export declare interface BackupSchedule {
|
|
994
|
+
/** ISO 8601 repeating time interval format */
|
|
995
|
+
repeatingTimeIntervals: string[];
|
|
996
|
+
/** Time zone for a schedule. Example: Pacific Standard Time */
|
|
997
|
+
timeZone?: string;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
/** Backup Vault */
|
|
1001
|
+
export declare interface BackupVault {
|
|
1002
|
+
/** Monitoring Settings */
|
|
1003
|
+
monitoringSettings?: MonitoringSettings;
|
|
1004
|
+
/**
|
|
1005
|
+
* Provisioning state of the BackupVault resource
|
|
1006
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1007
|
+
*/
|
|
1008
|
+
readonly provisioningState?: ProvisioningState;
|
|
1009
|
+
/**
|
|
1010
|
+
* Resource move state for backup vault
|
|
1011
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1012
|
+
*/
|
|
1013
|
+
readonly resourceMoveState?: ResourceMoveState;
|
|
1014
|
+
/**
|
|
1015
|
+
* Resource move details for backup vault
|
|
1016
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1017
|
+
*/
|
|
1018
|
+
readonly resourceMoveDetails?: ResourceMoveDetails;
|
|
1019
|
+
/** Security Settings */
|
|
1020
|
+
securitySettings?: SecuritySettings;
|
|
1021
|
+
/** Storage Settings */
|
|
1022
|
+
storageSettings: StorageSetting[];
|
|
1023
|
+
/**
|
|
1024
|
+
* Is vault protected by resource guard
|
|
1025
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1026
|
+
*/
|
|
1027
|
+
readonly isVaultProtectedByResourceGuard?: boolean;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/** Interface representing a BackupVaultOperationResults. */
|
|
1031
|
+
export declare interface BackupVaultOperationResults {
|
|
1032
|
+
/**
|
|
1033
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1034
|
+
* @param vaultName The name of the backup vault.
|
|
1035
|
+
* @param operationId
|
|
1036
|
+
* @param options The options parameters.
|
|
1037
|
+
*/
|
|
1038
|
+
get(resourceGroupName: string, vaultName: string, operationId: string, options?: BackupVaultOperationResultsGetOptionalParams): Promise<BackupVaultOperationResultsGetResponse>;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/** Defines headers for BackupVaultOperationResults_get operation. */
|
|
1042
|
+
export declare interface BackupVaultOperationResultsGetHeaders {
|
|
1043
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
1044
|
+
location?: string;
|
|
1045
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
1046
|
+
azureAsyncOperation?: string;
|
|
1047
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
1048
|
+
retryAfter?: number;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/** Optional parameters. */
|
|
1052
|
+
export declare interface BackupVaultOperationResultsGetOptionalParams extends coreClient.OperationOptions {
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
/** Contains response data for the get operation. */
|
|
1056
|
+
export declare type BackupVaultOperationResultsGetResponse = BackupVaultResource;
|
|
1057
|
+
|
|
1058
|
+
/** Backup Vault Resource */
|
|
1059
|
+
export declare interface BackupVaultResource extends DppTrackedResource {
|
|
1060
|
+
/** BackupVaultResource properties */
|
|
1061
|
+
properties: BackupVault;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
/** List of BackupVault resources */
|
|
1065
|
+
export declare interface BackupVaultResourceList extends DppResourceList {
|
|
1066
|
+
/** List of resources. */
|
|
1067
|
+
value?: BackupVaultResource[];
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
/** Interface representing a BackupVaults. */
|
|
1071
|
+
export declare interface BackupVaults {
|
|
1072
|
+
/**
|
|
1073
|
+
* Returns resource collection belonging to a subscription.
|
|
1074
|
+
* @param options The options parameters.
|
|
1075
|
+
*/
|
|
1076
|
+
listInSubscription(options?: BackupVaultsGetInSubscriptionOptionalParams): PagedAsyncIterableIterator<BackupVaultResource>;
|
|
1077
|
+
/**
|
|
1078
|
+
* Returns resource collection belonging to a resource group.
|
|
1079
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1080
|
+
* @param options The options parameters.
|
|
1081
|
+
*/
|
|
1082
|
+
listInResourceGroup(resourceGroupName: string, options?: BackupVaultsGetInResourceGroupOptionalParams): PagedAsyncIterableIterator<BackupVaultResource>;
|
|
1083
|
+
/**
|
|
1084
|
+
* Returns a resource belonging to a resource group.
|
|
1085
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1086
|
+
* @param vaultName The name of the backup vault.
|
|
1087
|
+
* @param options The options parameters.
|
|
1088
|
+
*/
|
|
1089
|
+
get(resourceGroupName: string, vaultName: string, options?: BackupVaultsGetOptionalParams): Promise<BackupVaultsGetResponse>;
|
|
1090
|
+
/**
|
|
1091
|
+
* Creates or updates a BackupVault resource belonging to a resource group.
|
|
1092
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1093
|
+
* @param vaultName The name of the backup vault.
|
|
1094
|
+
* @param parameters Request body for operation
|
|
1095
|
+
* @param options The options parameters.
|
|
1096
|
+
*/
|
|
1097
|
+
beginCreateOrUpdate(resourceGroupName: string, vaultName: string, parameters: BackupVaultResource, options?: BackupVaultsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<BackupVaultsCreateOrUpdateResponse>, BackupVaultsCreateOrUpdateResponse>>;
|
|
1098
|
+
/**
|
|
1099
|
+
* Creates or updates a BackupVault resource belonging to a resource group.
|
|
1100
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1101
|
+
* @param vaultName The name of the backup vault.
|
|
1102
|
+
* @param parameters Request body for operation
|
|
1103
|
+
* @param options The options parameters.
|
|
1104
|
+
*/
|
|
1105
|
+
beginCreateOrUpdateAndWait(resourceGroupName: string, vaultName: string, parameters: BackupVaultResource, options?: BackupVaultsCreateOrUpdateOptionalParams): Promise<BackupVaultsCreateOrUpdateResponse>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Deletes a BackupVault resource from the resource group.
|
|
1108
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1109
|
+
* @param vaultName The name of the backup vault.
|
|
1110
|
+
* @param options The options parameters.
|
|
1111
|
+
*/
|
|
1112
|
+
delete(resourceGroupName: string, vaultName: string, options?: BackupVaultsDeleteOptionalParams): Promise<void>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a
|
|
1115
|
+
* resource.
|
|
1116
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1117
|
+
* @param vaultName The name of the backup vault.
|
|
1118
|
+
* @param parameters Request body for operation
|
|
1119
|
+
* @param options The options parameters.
|
|
1120
|
+
*/
|
|
1121
|
+
beginUpdate(resourceGroupName: string, vaultName: string, parameters: PatchResourceRequestInput, options?: BackupVaultsUpdateOptionalParams): Promise<PollerLike<PollOperationState<BackupVaultsUpdateResponse>, BackupVaultsUpdateResponse>>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Updates a BackupVault resource belonging to a resource group. For example, updating tags for a
|
|
1124
|
+
* resource.
|
|
1125
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1126
|
+
* @param vaultName The name of the backup vault.
|
|
1127
|
+
* @param parameters Request body for operation
|
|
1128
|
+
* @param options The options parameters.
|
|
1129
|
+
*/
|
|
1130
|
+
beginUpdateAndWait(resourceGroupName: string, vaultName: string, parameters: PatchResourceRequestInput, options?: BackupVaultsUpdateOptionalParams): Promise<BackupVaultsUpdateResponse>;
|
|
1131
|
+
/**
|
|
1132
|
+
* API to check for resource name availability
|
|
1133
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1134
|
+
* @param location The location in which uniqueness will be verified.
|
|
1135
|
+
* @param parameters Check name availability request
|
|
1136
|
+
* @param options The options parameters.
|
|
1137
|
+
*/
|
|
1138
|
+
checkNameAvailability(resourceGroupName: string, location: string, parameters: CheckNameAvailabilityRequest, options?: BackupVaultsCheckNameAvailabilityOptionalParams): Promise<BackupVaultsCheckNameAvailabilityResponse>;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/** Optional parameters. */
|
|
1142
|
+
export declare interface BackupVaultsCheckNameAvailabilityOptionalParams extends coreClient.OperationOptions {
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
/** Contains response data for the checkNameAvailability operation. */
|
|
1146
|
+
export declare type BackupVaultsCheckNameAvailabilityResponse = CheckNameAvailabilityResult;
|
|
1147
|
+
|
|
1148
|
+
/** Optional parameters. */
|
|
1149
|
+
export declare interface BackupVaultsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1150
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1151
|
+
updateIntervalInMs?: number;
|
|
1152
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1153
|
+
resumeFrom?: string;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
/** Contains response data for the createOrUpdate operation. */
|
|
1157
|
+
export declare type BackupVaultsCreateOrUpdateResponse = BackupVaultResource;
|
|
1158
|
+
|
|
1159
|
+
/** Optional parameters. */
|
|
1160
|
+
export declare interface BackupVaultsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/** Optional parameters. */
|
|
1164
|
+
export declare interface BackupVaultsGetInResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
/** Contains response data for the getInResourceGroupNext operation. */
|
|
1168
|
+
export declare type BackupVaultsGetInResourceGroupNextResponse = BackupVaultResourceList;
|
|
1169
|
+
|
|
1170
|
+
/** Optional parameters. */
|
|
1171
|
+
export declare interface BackupVaultsGetInResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
/** Contains response data for the getInResourceGroup operation. */
|
|
1175
|
+
export declare type BackupVaultsGetInResourceGroupResponse = BackupVaultResourceList;
|
|
1176
|
+
|
|
1177
|
+
/** Optional parameters. */
|
|
1178
|
+
export declare interface BackupVaultsGetInSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/** Contains response data for the getInSubscriptionNext operation. */
|
|
1182
|
+
export declare type BackupVaultsGetInSubscriptionNextResponse = BackupVaultResourceList;
|
|
1183
|
+
|
|
1184
|
+
/** Optional parameters. */
|
|
1185
|
+
export declare interface BackupVaultsGetInSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
/** Contains response data for the getInSubscription operation. */
|
|
1189
|
+
export declare type BackupVaultsGetInSubscriptionResponse = BackupVaultResourceList;
|
|
1190
|
+
|
|
1191
|
+
/** Optional parameters. */
|
|
1192
|
+
export declare interface BackupVaultsGetOptionalParams extends coreClient.OperationOptions {
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
/** Contains response data for the get operation. */
|
|
1196
|
+
export declare type BackupVaultsGetResponse = BackupVaultResource;
|
|
1197
|
+
|
|
1198
|
+
/** Optional parameters. */
|
|
1199
|
+
export declare interface BackupVaultsUpdateOptionalParams extends coreClient.OperationOptions {
|
|
1200
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1201
|
+
updateIntervalInMs?: number;
|
|
1202
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1203
|
+
resumeFrom?: string;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
/** Contains response data for the update operation. */
|
|
1207
|
+
export declare type BackupVaultsUpdateResponse = BackupVaultResource;
|
|
1208
|
+
|
|
1209
|
+
/** BackupPolicy base */
|
|
1210
|
+
export declare interface BaseBackupPolicy {
|
|
1211
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1212
|
+
objectType: "BackupPolicy";
|
|
1213
|
+
/** Type of datasource for the backup management */
|
|
1214
|
+
datasourceTypes: string[];
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/** BaseBackupPolicy resource */
|
|
1218
|
+
export declare interface BaseBackupPolicyResource extends DppResource {
|
|
1219
|
+
/** BaseBackupPolicyResource properties */
|
|
1220
|
+
properties?: BaseBackupPolicyUnion;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
/** List of BaseBackupPolicy resources */
|
|
1224
|
+
export declare interface BaseBackupPolicyResourceList extends DppResourceList {
|
|
1225
|
+
/** List of resources. */
|
|
1226
|
+
value?: BaseBackupPolicyResource[];
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
export declare type BaseBackupPolicyUnion = BaseBackupPolicy | BackupPolicy;
|
|
1230
|
+
|
|
1231
|
+
/** BasePolicy Rule */
|
|
1232
|
+
export declare interface BasePolicyRule {
|
|
1233
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1234
|
+
objectType: "AzureBackupRule" | "AzureRetentionRule";
|
|
1235
|
+
name: string;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
export declare type BasePolicyRuleUnion = BasePolicyRule | AzureBackupRule | AzureRetentionRule;
|
|
1239
|
+
|
|
1240
|
+
/** Parameters to be used during configuration of backup of blobs */
|
|
1241
|
+
export declare interface BlobBackupDatasourceParameters extends BackupDatasourceParameters {
|
|
1242
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1243
|
+
objectType: "BlobBackupDatasourceParameters";
|
|
1244
|
+
/** List of containers to be backed up during configuration of backup of blobs */
|
|
1245
|
+
containersList: string[];
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/** CheckNameAvailability Request */
|
|
1249
|
+
export declare interface CheckNameAvailabilityRequest {
|
|
1250
|
+
/** Resource name for which availability needs to be checked */
|
|
1251
|
+
name?: string;
|
|
1252
|
+
/** Describes the Resource type: Microsoft.DataProtection/BackupVaults */
|
|
1253
|
+
type?: string;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
/** CheckNameAvailability Result */
|
|
1257
|
+
export declare interface CheckNameAvailabilityResult {
|
|
1258
|
+
/** Gets or sets the message. */
|
|
1259
|
+
message?: string;
|
|
1260
|
+
/** Gets or sets a value indicating whether [name available]. */
|
|
1261
|
+
nameAvailable?: boolean;
|
|
1262
|
+
/** Gets or sets the reason. */
|
|
1263
|
+
reason?: string;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/** Localized display information of an operation. */
|
|
1267
|
+
export declare interface ClientDiscoveryDisplay {
|
|
1268
|
+
/** Description of the operation having details of what operation is about. */
|
|
1269
|
+
description?: string;
|
|
1270
|
+
/** Operations Name itself. */
|
|
1271
|
+
operation?: string;
|
|
1272
|
+
/** Name of the provider for display purposes */
|
|
1273
|
+
provider?: string;
|
|
1274
|
+
/** ResourceType for which this Operation can be performed. */
|
|
1275
|
+
resource?: string;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/** Class to represent shoebox log specification in json client discovery. */
|
|
1279
|
+
export declare interface ClientDiscoveryForLogSpecification {
|
|
1280
|
+
/** blob duration of shoebox log specification */
|
|
1281
|
+
blobDuration?: string;
|
|
1282
|
+
/** Localized display name */
|
|
1283
|
+
displayName?: string;
|
|
1284
|
+
/** Name for shoebox log specification. */
|
|
1285
|
+
name?: string;
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
/** Class to represent shoebox properties in json client discovery. */
|
|
1289
|
+
export declare interface ClientDiscoveryForProperties {
|
|
1290
|
+
/** Operation properties. */
|
|
1291
|
+
serviceSpecification?: ClientDiscoveryForServiceSpecification;
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
/** Class to represent shoebox service specification in json client discovery. */
|
|
1295
|
+
export declare interface ClientDiscoveryForServiceSpecification {
|
|
1296
|
+
/** List of log specifications of this operation. */
|
|
1297
|
+
logSpecifications?: ClientDiscoveryForLogSpecification[];
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/** Operations List response which contains list of available APIs. */
|
|
1301
|
+
export declare interface ClientDiscoveryResponse {
|
|
1302
|
+
/** Link to the next chunk of Response. */
|
|
1303
|
+
nextLink?: string;
|
|
1304
|
+
/** List of available operations. */
|
|
1305
|
+
value?: ClientDiscoveryValueForSingleApi[];
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
/** Available operation details. */
|
|
1309
|
+
export declare interface ClientDiscoveryValueForSingleApi {
|
|
1310
|
+
/** Contains the localized display information for this particular operation */
|
|
1311
|
+
display?: ClientDiscoveryDisplay;
|
|
1312
|
+
/** Name of the Operation. */
|
|
1313
|
+
name?: string;
|
|
1314
|
+
/** Indicates whether the operation is a data action */
|
|
1315
|
+
isDataAction?: boolean;
|
|
1316
|
+
/** The intended executor of the operation;governs the display of the operation in the RBAC UX and the audit logs UX */
|
|
1317
|
+
origin?: string;
|
|
1318
|
+
/** Properties for the given operation. */
|
|
1319
|
+
properties?: ClientDiscoveryForProperties;
|
|
1320
|
+
}
|
|
1321
|
+
|
|
1322
|
+
/** An error response from Azure Backup. */
|
|
1323
|
+
export declare interface CloudError {
|
|
1324
|
+
/** The resource management error response. */
|
|
1325
|
+
error?: ErrorModel;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
/** Copy on Expiry Option */
|
|
1329
|
+
export declare interface CopyOnExpiryOption extends CopyOption {
|
|
1330
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1331
|
+
objectType: "CopyOnExpiryOption";
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/** Options to copy */
|
|
1335
|
+
export declare interface CopyOption {
|
|
1336
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1337
|
+
objectType: "CopyOnExpiryOption" | "CustomCopyOption" | "ImmediateCopyOption";
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
export declare type CopyOptionUnion = CopyOption | CopyOnExpiryOption | CustomCopyOption | ImmediateCopyOption;
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* Defines values for CreatedByType. \
|
|
1344
|
+
* {@link KnownCreatedByType} can be used interchangeably with CreatedByType,
|
|
1345
|
+
* this enum contains the known values that the service supports.
|
|
1346
|
+
* ### Known values supported by the service
|
|
1347
|
+
* **User** \
|
|
1348
|
+
* **Application** \
|
|
1349
|
+
* **ManagedIdentity** \
|
|
1350
|
+
* **Key**
|
|
1351
|
+
*/
|
|
1352
|
+
export declare type CreatedByType = string;
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* Defines values for CurrentProtectionState. \
|
|
1356
|
+
* {@link KnownCurrentProtectionState} can be used interchangeably with CurrentProtectionState,
|
|
1357
|
+
* this enum contains the known values that the service supports.
|
|
1358
|
+
* ### Known values supported by the service
|
|
1359
|
+
* **Invalid** \
|
|
1360
|
+
* **NotProtected** \
|
|
1361
|
+
* **ConfiguringProtection** \
|
|
1362
|
+
* **ProtectionConfigured** \
|
|
1363
|
+
* **BackupSchedulesSuspended** \
|
|
1364
|
+
* **RetentionSchedulesSuspended** \
|
|
1365
|
+
* **ProtectionStopped** \
|
|
1366
|
+
* **ProtectionError** \
|
|
1367
|
+
* **ConfiguringProtectionFailed** \
|
|
1368
|
+
* **SoftDeleting** \
|
|
1369
|
+
* **SoftDeleted** \
|
|
1370
|
+
* **UpdatingProtection**
|
|
1371
|
+
*/
|
|
1372
|
+
export declare type CurrentProtectionState = string;
|
|
1373
|
+
|
|
1374
|
+
/** Duration based custom options to copy */
|
|
1375
|
+
export declare interface CustomCopyOption extends CopyOption {
|
|
1376
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1377
|
+
objectType: "CustomCopyOption";
|
|
1378
|
+
/** Data copied after given timespan */
|
|
1379
|
+
duration?: string;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
/** Interface representing a DataProtection. */
|
|
1383
|
+
export declare interface DataProtection {
|
|
1384
|
+
/**
|
|
1385
|
+
* Validates if a feature is supported
|
|
1386
|
+
* @param location
|
|
1387
|
+
* @param parameters Feature support request object
|
|
1388
|
+
* @param options The options parameters.
|
|
1389
|
+
*/
|
|
1390
|
+
checkFeatureSupport(location: string, parameters: FeatureValidationRequestBaseUnion, options?: DataProtectionCheckFeatureSupportOptionalParams): Promise<DataProtectionCheckFeatureSupportResponse>;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
/** Optional parameters. */
|
|
1394
|
+
export declare interface DataProtectionCheckFeatureSupportOptionalParams extends coreClient.OperationOptions {
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/** Contains response data for the checkFeatureSupport operation. */
|
|
1398
|
+
export declare type DataProtectionCheckFeatureSupportResponse = FeatureValidationResponseBaseUnion;
|
|
1399
|
+
|
|
1400
|
+
export declare class DataProtectionClient extends coreClient.ServiceClient {
|
|
1401
|
+
$host: string;
|
|
1402
|
+
apiVersion: string;
|
|
1403
|
+
subscriptionId: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Initializes a new instance of the DataProtectionClient class.
|
|
1406
|
+
* @param credentials Subscription credentials which uniquely identify client subscription.
|
|
1407
|
+
* @param subscriptionId The subscription Id.
|
|
1408
|
+
* @param options The parameter options
|
|
1409
|
+
*/
|
|
1410
|
+
constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DataProtectionClientOptionalParams);
|
|
1411
|
+
/** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */
|
|
1412
|
+
private addCustomApiVersionPolicy;
|
|
1413
|
+
backupVaults: BackupVaults;
|
|
1414
|
+
operationResult: OperationResult;
|
|
1415
|
+
operationStatus: OperationStatus;
|
|
1416
|
+
operationStatusBackupVaultContext: OperationStatusBackupVaultContext;
|
|
1417
|
+
operationStatusResourceGroupContext: OperationStatusResourceGroupContext;
|
|
1418
|
+
backupVaultOperationResults: BackupVaultOperationResults;
|
|
1419
|
+
dataProtection: DataProtection;
|
|
1420
|
+
dataProtectionOperations: DataProtectionOperations;
|
|
1421
|
+
backupPolicies: BackupPolicies;
|
|
1422
|
+
backupInstances: BackupInstances;
|
|
1423
|
+
backupInstancesExtensionRouting: BackupInstancesExtensionRouting;
|
|
1424
|
+
recoveryPoints: RecoveryPoints;
|
|
1425
|
+
jobs: Jobs;
|
|
1426
|
+
restorableTimeRanges: RestorableTimeRanges;
|
|
1427
|
+
exportJobs: ExportJobs;
|
|
1428
|
+
exportJobsOperationResult: ExportJobsOperationResult;
|
|
1429
|
+
deletedBackupInstances: DeletedBackupInstances;
|
|
1430
|
+
resourceGuards: ResourceGuards;
|
|
1431
|
+
dppResourceGuardProxy: DppResourceGuardProxy;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
/** Optional parameters. */
|
|
1435
|
+
export declare interface DataProtectionClientOptionalParams extends coreClient.ServiceClientOptions {
|
|
1436
|
+
/** server parameter */
|
|
1437
|
+
$host?: string;
|
|
1438
|
+
/** Api Version */
|
|
1439
|
+
apiVersion?: string;
|
|
1440
|
+
/** Overrides client endpoint. */
|
|
1441
|
+
endpoint?: string;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/** Interface representing a DataProtectionOperations. */
|
|
1445
|
+
export declare interface DataProtectionOperations {
|
|
1446
|
+
/**
|
|
1447
|
+
* Returns the list of available operations.
|
|
1448
|
+
* @param options The options parameters.
|
|
1449
|
+
*/
|
|
1450
|
+
list(options?: DataProtectionOperationsListOptionalParams): PagedAsyncIterableIterator<ClientDiscoveryValueForSingleApi>;
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
/** Optional parameters. */
|
|
1454
|
+
export declare interface DataProtectionOperationsListNextOptionalParams extends coreClient.OperationOptions {
|
|
1455
|
+
}
|
|
1456
|
+
|
|
1457
|
+
/** Contains response data for the listNext operation. */
|
|
1458
|
+
export declare type DataProtectionOperationsListNextResponse = ClientDiscoveryResponse;
|
|
1459
|
+
|
|
1460
|
+
/** Optional parameters. */
|
|
1461
|
+
export declare interface DataProtectionOperationsListOptionalParams extends coreClient.OperationOptions {
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
/** Contains response data for the list operation. */
|
|
1465
|
+
export declare type DataProtectionOperationsListResponse = ClientDiscoveryResponse;
|
|
1466
|
+
|
|
1467
|
+
/** Datasource to be backed up */
|
|
1468
|
+
export declare interface Datasource {
|
|
1469
|
+
/** DatasourceType of the resource. */
|
|
1470
|
+
datasourceType?: string;
|
|
1471
|
+
/** Type of Datasource object, used to initialize the right inherited type */
|
|
1472
|
+
objectType?: string;
|
|
1473
|
+
/** Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. */
|
|
1474
|
+
resourceID: string;
|
|
1475
|
+
/** Location of datasource. */
|
|
1476
|
+
resourceLocation?: string;
|
|
1477
|
+
/** Unique identifier of the resource in the context of parent. */
|
|
1478
|
+
resourceName?: string;
|
|
1479
|
+
/** Resource Type of Datasource. */
|
|
1480
|
+
resourceType?: string;
|
|
1481
|
+
/** Uri of the resource. */
|
|
1482
|
+
resourceUri?: string;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/** DatasourceSet details of datasource to be backed up */
|
|
1486
|
+
export declare interface DatasourceSet {
|
|
1487
|
+
/** DatasourceType of the resource. */
|
|
1488
|
+
datasourceType?: string;
|
|
1489
|
+
/** Type of Datasource object, used to initialize the right inherited type */
|
|
1490
|
+
objectType?: string;
|
|
1491
|
+
/** Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. */
|
|
1492
|
+
resourceID: string;
|
|
1493
|
+
/** Location of datasource. */
|
|
1494
|
+
resourceLocation?: string;
|
|
1495
|
+
/** Unique identifier of the resource in the context of parent. */
|
|
1496
|
+
resourceName?: string;
|
|
1497
|
+
/** Resource Type of Datasource. */
|
|
1498
|
+
resourceType?: string;
|
|
1499
|
+
/** Uri of the resource. */
|
|
1500
|
+
resourceUri?: string;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
/** DataStoreInfo base */
|
|
1504
|
+
export declare interface DataStoreInfoBase {
|
|
1505
|
+
/** type of datastore; Operational/Vault/Archive */
|
|
1506
|
+
dataStoreType: DataStoreTypes;
|
|
1507
|
+
/** Type of Datasource object, used to initialize the right inherited type */
|
|
1508
|
+
objectType: string;
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/** Parameters for DataStore */
|
|
1512
|
+
export declare interface DataStoreParameters {
|
|
1513
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1514
|
+
objectType: "AzureOperationalStoreParameters";
|
|
1515
|
+
/** type of datastore; Operational/Vault/Archive */
|
|
1516
|
+
dataStoreType: DataStoreTypes;
|
|
1517
|
+
}
|
|
1518
|
+
|
|
1519
|
+
export declare type DataStoreParametersUnion = DataStoreParameters | AzureOperationalStoreParameters;
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Defines values for DataStoreTypes. \
|
|
1523
|
+
* {@link KnownDataStoreTypes} can be used interchangeably with DataStoreTypes,
|
|
1524
|
+
* this enum contains the known values that the service supports.
|
|
1525
|
+
* ### Known values supported by the service
|
|
1526
|
+
* **OperationalStore** \
|
|
1527
|
+
* **VaultStore** \
|
|
1528
|
+
* **ArchiveStore**
|
|
1529
|
+
*/
|
|
1530
|
+
export declare type DataStoreTypes = string;
|
|
1531
|
+
|
|
1532
|
+
/** Day of the week */
|
|
1533
|
+
export declare interface Day {
|
|
1534
|
+
/** Date of the month */
|
|
1535
|
+
date?: number;
|
|
1536
|
+
/** Whether Date is last date of month */
|
|
1537
|
+
isLast?: boolean;
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
/**
|
|
1541
|
+
* Defines values for DayOfWeek. \
|
|
1542
|
+
* {@link KnownDayOfWeek} can be used interchangeably with DayOfWeek,
|
|
1543
|
+
* this enum contains the known values that the service supports.
|
|
1544
|
+
* ### Known values supported by the service
|
|
1545
|
+
* **Friday** \
|
|
1546
|
+
* **Monday** \
|
|
1547
|
+
* **Saturday** \
|
|
1548
|
+
* **Sunday** \
|
|
1549
|
+
* **Thursday** \
|
|
1550
|
+
* **Tuesday** \
|
|
1551
|
+
* **Wednesday**
|
|
1552
|
+
*/
|
|
1553
|
+
export declare type DayOfWeek = string;
|
|
1554
|
+
|
|
1555
|
+
/** Deleted Backup Instance */
|
|
1556
|
+
export declare interface DeletedBackupInstance extends BackupInstance {
|
|
1557
|
+
/**
|
|
1558
|
+
* Deletion info of Backup Instance
|
|
1559
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1560
|
+
*/
|
|
1561
|
+
readonly deletionInfo?: DeletionInfo;
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
/** Deleted Backup Instance */
|
|
1565
|
+
export declare interface DeletedBackupInstanceResource extends DppResource {
|
|
1566
|
+
/** DeletedBackupInstanceResource properties */
|
|
1567
|
+
properties?: DeletedBackupInstance;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
/** List of DeletedBackupInstance resources */
|
|
1571
|
+
export declare interface DeletedBackupInstanceResourceList extends DppResourceList {
|
|
1572
|
+
/** List of resources. */
|
|
1573
|
+
value?: DeletedBackupInstanceResource[];
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
/** Interface representing a DeletedBackupInstances. */
|
|
1577
|
+
export declare interface DeletedBackupInstances {
|
|
1578
|
+
/**
|
|
1579
|
+
* Gets deleted backup instances belonging to a backup vault
|
|
1580
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1581
|
+
* @param vaultName The name of the backup vault.
|
|
1582
|
+
* @param options The options parameters.
|
|
1583
|
+
*/
|
|
1584
|
+
list(resourceGroupName: string, vaultName: string, options?: DeletedBackupInstancesListOptionalParams): PagedAsyncIterableIterator<DeletedBackupInstanceResource>;
|
|
1585
|
+
/**
|
|
1586
|
+
* Gets a deleted backup instance with name in a backup vault
|
|
1587
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1588
|
+
* @param vaultName The name of the backup vault.
|
|
1589
|
+
* @param backupInstanceName The name of the deleted backup instance
|
|
1590
|
+
* @param options The options parameters.
|
|
1591
|
+
*/
|
|
1592
|
+
get(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: DeletedBackupInstancesGetOptionalParams): Promise<DeletedBackupInstancesGetResponse>;
|
|
1593
|
+
/**
|
|
1594
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1595
|
+
* @param vaultName The name of the backup vault.
|
|
1596
|
+
* @param backupInstanceName The name of the deleted backup instance
|
|
1597
|
+
* @param options The options parameters.
|
|
1598
|
+
*/
|
|
1599
|
+
beginUndelete(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: DeletedBackupInstancesUndeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
|
|
1600
|
+
/**
|
|
1601
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1602
|
+
* @param vaultName The name of the backup vault.
|
|
1603
|
+
* @param backupInstanceName The name of the deleted backup instance
|
|
1604
|
+
* @param options The options parameters.
|
|
1605
|
+
*/
|
|
1606
|
+
beginUndeleteAndWait(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: DeletedBackupInstancesUndeleteOptionalParams): Promise<void>;
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/** Optional parameters. */
|
|
1610
|
+
export declare interface DeletedBackupInstancesGetOptionalParams extends coreClient.OperationOptions {
|
|
1611
|
+
}
|
|
1612
|
+
|
|
1613
|
+
/** Contains response data for the get operation. */
|
|
1614
|
+
export declare type DeletedBackupInstancesGetResponse = DeletedBackupInstanceResource;
|
|
1615
|
+
|
|
1616
|
+
/** Optional parameters. */
|
|
1617
|
+
export declare interface DeletedBackupInstancesListNextOptionalParams extends coreClient.OperationOptions {
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/** Contains response data for the listNext operation. */
|
|
1621
|
+
export declare type DeletedBackupInstancesListNextResponse = DeletedBackupInstanceResourceList;
|
|
1622
|
+
|
|
1623
|
+
/** Optional parameters. */
|
|
1624
|
+
export declare interface DeletedBackupInstancesListOptionalParams extends coreClient.OperationOptions {
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
/** Contains response data for the list operation. */
|
|
1628
|
+
export declare type DeletedBackupInstancesListResponse = DeletedBackupInstanceResourceList;
|
|
1629
|
+
|
|
1630
|
+
/** Optional parameters. */
|
|
1631
|
+
export declare interface DeletedBackupInstancesUndeleteOptionalParams extends coreClient.OperationOptions {
|
|
1632
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
1633
|
+
updateIntervalInMs?: number;
|
|
1634
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
1635
|
+
resumeFrom?: string;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
/** Delete Option */
|
|
1639
|
+
export declare interface DeleteOption {
|
|
1640
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
1641
|
+
objectType: "AbsoluteDeleteOption";
|
|
1642
|
+
/** Duration of deletion after given timespan */
|
|
1643
|
+
duration: string;
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
export declare type DeleteOptionUnion = DeleteOption | AbsoluteDeleteOption;
|
|
1647
|
+
|
|
1648
|
+
/** Deletion Info */
|
|
1649
|
+
export declare interface DeletionInfo {
|
|
1650
|
+
/**
|
|
1651
|
+
* Specifies time of deletion
|
|
1652
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1653
|
+
*/
|
|
1654
|
+
readonly deletionTime?: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* Specifies billing end date
|
|
1657
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1658
|
+
*/
|
|
1659
|
+
readonly billingEndDate?: string;
|
|
1660
|
+
/**
|
|
1661
|
+
* Specifies purge time
|
|
1662
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1663
|
+
*/
|
|
1664
|
+
readonly scheduledPurgeTime?: string;
|
|
1665
|
+
/**
|
|
1666
|
+
* Delete activity ID for troubleshooting purpose
|
|
1667
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1668
|
+
*/
|
|
1669
|
+
readonly deleteActivityID?: string;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
/** Base resource under Microsoft.DataProtection provider namespace */
|
|
1673
|
+
export declare interface DppBaseResource {
|
|
1674
|
+
/**
|
|
1675
|
+
* Resource Id represents the complete path to the resource.
|
|
1676
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1677
|
+
*/
|
|
1678
|
+
readonly id?: string;
|
|
1679
|
+
/**
|
|
1680
|
+
* Resource name associated with the resource.
|
|
1681
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1682
|
+
*/
|
|
1683
|
+
readonly name?: string;
|
|
1684
|
+
/**
|
|
1685
|
+
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
1686
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1687
|
+
*/
|
|
1688
|
+
readonly type?: string;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
/** Base for all lists of V2 resources. */
|
|
1692
|
+
export declare interface DppBaseResourceList {
|
|
1693
|
+
/** List of Dpp resources. */
|
|
1694
|
+
value?: DppBaseResource[];
|
|
1695
|
+
/** The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. */
|
|
1696
|
+
nextLink?: string;
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
/** Identity details */
|
|
1700
|
+
export declare interface DppIdentityDetails {
|
|
1701
|
+
/**
|
|
1702
|
+
* The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure resource.
|
|
1703
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1704
|
+
*/
|
|
1705
|
+
readonly principalId?: string;
|
|
1706
|
+
/**
|
|
1707
|
+
* A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member.
|
|
1708
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1709
|
+
*/
|
|
1710
|
+
readonly tenantId?: string;
|
|
1711
|
+
/** The identityType which can be either SystemAssigned or None */
|
|
1712
|
+
type?: string;
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
export declare interface DppProxyResource {
|
|
1716
|
+
/**
|
|
1717
|
+
* Proxy Resource Id represents the complete path to the resource.
|
|
1718
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1719
|
+
*/
|
|
1720
|
+
readonly id?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* Proxy Resource name associated with the resource.
|
|
1723
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1724
|
+
*/
|
|
1725
|
+
readonly name?: string;
|
|
1726
|
+
/**
|
|
1727
|
+
* Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
1728
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1729
|
+
*/
|
|
1730
|
+
readonly type?: string;
|
|
1731
|
+
/** Proxy Resource tags. */
|
|
1732
|
+
tags?: {
|
|
1733
|
+
[propertyName: string]: string;
|
|
1734
|
+
};
|
|
1735
|
+
/**
|
|
1736
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1737
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1738
|
+
*/
|
|
1739
|
+
readonly systemData?: SystemData;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
/** Resource class */
|
|
1743
|
+
export declare interface DppResource {
|
|
1744
|
+
/**
|
|
1745
|
+
* Resource Id represents the complete path to the resource.
|
|
1746
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1747
|
+
*/
|
|
1748
|
+
readonly id?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* Resource name associated with the resource.
|
|
1751
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1752
|
+
*/
|
|
1753
|
+
readonly name?: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
1756
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1757
|
+
*/
|
|
1758
|
+
readonly type?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1761
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1762
|
+
*/
|
|
1763
|
+
readonly systemData?: SystemData;
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
/** Interface representing a DppResourceGuardProxy. */
|
|
1767
|
+
export declare interface DppResourceGuardProxy {
|
|
1768
|
+
/**
|
|
1769
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1770
|
+
* @param vaultName The name of the backup vault.
|
|
1771
|
+
* @param options The options parameters.
|
|
1772
|
+
*/
|
|
1773
|
+
list(resourceGroupName: string, vaultName: string, options?: DppResourceGuardProxyListOptionalParams): PagedAsyncIterableIterator<ResourceGuardProxyBaseResource>;
|
|
1774
|
+
/**
|
|
1775
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1776
|
+
* @param vaultName The name of the backup vault.
|
|
1777
|
+
* @param resourceGuardProxyName
|
|
1778
|
+
* @param options The options parameters.
|
|
1779
|
+
*/
|
|
1780
|
+
get(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, options?: DppResourceGuardProxyGetOptionalParams): Promise<DppResourceGuardProxyGetResponse>;
|
|
1781
|
+
/**
|
|
1782
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1783
|
+
* @param vaultName The name of the backup vault.
|
|
1784
|
+
* @param resourceGuardProxyName
|
|
1785
|
+
* @param parameters Request body for operation
|
|
1786
|
+
* @param options The options parameters.
|
|
1787
|
+
*/
|
|
1788
|
+
put(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, parameters: ResourceGuardProxyBaseResource, options?: DppResourceGuardProxyPutOptionalParams): Promise<DppResourceGuardProxyPutResponse>;
|
|
1789
|
+
/**
|
|
1790
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1791
|
+
* @param vaultName The name of the backup vault.
|
|
1792
|
+
* @param resourceGuardProxyName
|
|
1793
|
+
* @param options The options parameters.
|
|
1794
|
+
*/
|
|
1795
|
+
delete(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, options?: DppResourceGuardProxyDeleteOptionalParams): Promise<void>;
|
|
1796
|
+
/**
|
|
1797
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1798
|
+
* @param vaultName The name of the backup vault.
|
|
1799
|
+
* @param resourceGuardProxyName
|
|
1800
|
+
* @param parameters Request body for operation
|
|
1801
|
+
* @param options The options parameters.
|
|
1802
|
+
*/
|
|
1803
|
+
unlockDelete(resourceGroupName: string, vaultName: string, resourceGuardProxyName: string, parameters: UnlockDeleteRequest, options?: DppResourceGuardProxyUnlockDeleteOptionalParams): Promise<DppResourceGuardProxyUnlockDeleteResponse>;
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
/** Optional parameters. */
|
|
1807
|
+
export declare interface DppResourceGuardProxyDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
/** Optional parameters. */
|
|
1811
|
+
export declare interface DppResourceGuardProxyGetOptionalParams extends coreClient.OperationOptions {
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
/** Contains response data for the get operation. */
|
|
1815
|
+
export declare type DppResourceGuardProxyGetResponse = ResourceGuardProxyBaseResource;
|
|
1816
|
+
|
|
1817
|
+
/** Optional parameters. */
|
|
1818
|
+
export declare interface DppResourceGuardProxyListNextOptionalParams extends coreClient.OperationOptions {
|
|
1819
|
+
}
|
|
1820
|
+
|
|
1821
|
+
/** Contains response data for the listNext operation. */
|
|
1822
|
+
export declare type DppResourceGuardProxyListNextResponse = ResourceGuardProxyBaseResourceList;
|
|
1823
|
+
|
|
1824
|
+
/** Optional parameters. */
|
|
1825
|
+
export declare interface DppResourceGuardProxyListOptionalParams extends coreClient.OperationOptions {
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
/** Contains response data for the list operation. */
|
|
1829
|
+
export declare type DppResourceGuardProxyListResponse = ResourceGuardProxyBaseResourceList;
|
|
1830
|
+
|
|
1831
|
+
/** Optional parameters. */
|
|
1832
|
+
export declare interface DppResourceGuardProxyPutOptionalParams extends coreClient.OperationOptions {
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
/** Contains response data for the put operation. */
|
|
1836
|
+
export declare type DppResourceGuardProxyPutResponse = ResourceGuardProxyBaseResource;
|
|
1837
|
+
|
|
1838
|
+
/** Optional parameters. */
|
|
1839
|
+
export declare interface DppResourceGuardProxyUnlockDeleteOptionalParams extends coreClient.OperationOptions {
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
/** Contains response data for the unlockDelete operation. */
|
|
1843
|
+
export declare type DppResourceGuardProxyUnlockDeleteResponse = UnlockDeleteResponse;
|
|
1844
|
+
|
|
1845
|
+
/** ListResource */
|
|
1846
|
+
export declare interface DppResourceList {
|
|
1847
|
+
/** The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. */
|
|
1848
|
+
nextLink?: string;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
export declare interface DppTrackedResource {
|
|
1852
|
+
/** Optional ETag. */
|
|
1853
|
+
eTag?: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Resource Id represents the complete path to the resource.
|
|
1856
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1857
|
+
*/
|
|
1858
|
+
readonly id?: string;
|
|
1859
|
+
/** Input Managed Identity Details */
|
|
1860
|
+
identity?: DppIdentityDetails;
|
|
1861
|
+
/** Resource location. */
|
|
1862
|
+
location?: string;
|
|
1863
|
+
/**
|
|
1864
|
+
* Resource name associated with the resource.
|
|
1865
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1866
|
+
*/
|
|
1867
|
+
readonly name?: string;
|
|
1868
|
+
/** Resource tags. */
|
|
1869
|
+
tags?: {
|
|
1870
|
+
[propertyName: string]: string;
|
|
1871
|
+
};
|
|
1872
|
+
/**
|
|
1873
|
+
* Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
|
|
1874
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1875
|
+
*/
|
|
1876
|
+
readonly type?: string;
|
|
1877
|
+
/**
|
|
1878
|
+
* Metadata pertaining to creation and last modification of the resource.
|
|
1879
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1880
|
+
*/
|
|
1881
|
+
readonly systemData?: SystemData;
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
export declare interface DppTrackedResourceList {
|
|
1885
|
+
/** The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. */
|
|
1886
|
+
nextLink?: string;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
export declare interface DppWorkerRequest {
|
|
1890
|
+
subscriptionId?: string;
|
|
1891
|
+
uri?: string;
|
|
1892
|
+
/** Dictionary of <components·ikn5y4·schemas·dppworkerrequest·properties·headers·additionalproperties> */
|
|
1893
|
+
headers?: {
|
|
1894
|
+
[propertyName: string]: string[];
|
|
1895
|
+
};
|
|
1896
|
+
supportedGroupVersions?: string[];
|
|
1897
|
+
cultureInfo?: string;
|
|
1898
|
+
/** Dictionary of <string> */
|
|
1899
|
+
parameters?: {
|
|
1900
|
+
[propertyName: string]: string;
|
|
1901
|
+
};
|
|
1902
|
+
httpMethod?: string;
|
|
1903
|
+
}
|
|
1904
|
+
|
|
1905
|
+
/** The resource management error additional info. */
|
|
1906
|
+
export declare interface ErrorAdditionalInfo {
|
|
1907
|
+
/**
|
|
1908
|
+
* The additional info.
|
|
1909
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1910
|
+
*/
|
|
1911
|
+
readonly info?: Record<string, unknown>;
|
|
1912
|
+
/**
|
|
1913
|
+
* The additional info type.
|
|
1914
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1915
|
+
*/
|
|
1916
|
+
readonly type?: string;
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
/** The resource management error response. */
|
|
1920
|
+
export declare interface ErrorModel {
|
|
1921
|
+
/**
|
|
1922
|
+
* The error additional info.
|
|
1923
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1924
|
+
*/
|
|
1925
|
+
readonly additionalInfo?: ErrorAdditionalInfo[];
|
|
1926
|
+
/**
|
|
1927
|
+
* The error code.
|
|
1928
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1929
|
+
*/
|
|
1930
|
+
readonly code?: string;
|
|
1931
|
+
/**
|
|
1932
|
+
* The error details.
|
|
1933
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1934
|
+
*/
|
|
1935
|
+
readonly details?: ErrorModel[];
|
|
1936
|
+
/**
|
|
1937
|
+
* The error message.
|
|
1938
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1939
|
+
*/
|
|
1940
|
+
readonly message?: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* The error target.
|
|
1943
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
1944
|
+
*/
|
|
1945
|
+
readonly target?: string;
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* Defines values for ExistingResourcePolicy. \
|
|
1950
|
+
* {@link KnownExistingResourcePolicy} can be used interchangeably with ExistingResourcePolicy,
|
|
1951
|
+
* this enum contains the known values that the service supports.
|
|
1952
|
+
* ### Known values supported by the service
|
|
1953
|
+
* **Skip** \
|
|
1954
|
+
* **Patch**
|
|
1955
|
+
*/
|
|
1956
|
+
export declare type ExistingResourcePolicy = string;
|
|
1957
|
+
|
|
1958
|
+
/** Interface representing a ExportJobs. */
|
|
1959
|
+
export declare interface ExportJobs {
|
|
1960
|
+
/**
|
|
1961
|
+
* Triggers export of jobs and returns an OperationID to track.
|
|
1962
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1963
|
+
* @param vaultName The name of the backup vault.
|
|
1964
|
+
* @param options The options parameters.
|
|
1965
|
+
*/
|
|
1966
|
+
beginTrigger(resourceGroupName: string, vaultName: string, options?: ExportJobsTriggerOptionalParams): Promise<PollerLike<PollOperationState<ExportJobsTriggerResponse>, ExportJobsTriggerResponse>>;
|
|
1967
|
+
/**
|
|
1968
|
+
* Triggers export of jobs and returns an OperationID to track.
|
|
1969
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1970
|
+
* @param vaultName The name of the backup vault.
|
|
1971
|
+
* @param options The options parameters.
|
|
1972
|
+
*/
|
|
1973
|
+
beginTriggerAndWait(resourceGroupName: string, vaultName: string, options?: ExportJobsTriggerOptionalParams): Promise<ExportJobsTriggerResponse>;
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
/** Interface representing a ExportJobsOperationResult. */
|
|
1977
|
+
export declare interface ExportJobsOperationResult {
|
|
1978
|
+
/**
|
|
1979
|
+
* Gets the operation result of operation triggered by Export Jobs API. If the operation is successful,
|
|
1980
|
+
* then it also contains URL of a Blob and a SAS key to access the same. The blob contains exported
|
|
1981
|
+
* jobs in JSON serialized format.
|
|
1982
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
1983
|
+
* @param vaultName The name of the backup vault.
|
|
1984
|
+
* @param operationId OperationID which represents the export job.
|
|
1985
|
+
* @param options The options parameters.
|
|
1986
|
+
*/
|
|
1987
|
+
get(resourceGroupName: string, vaultName: string, operationId: string, options?: ExportJobsOperationResultGetOptionalParams): Promise<ExportJobsOperationResultGetResponse>;
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/** Optional parameters. */
|
|
1991
|
+
export declare interface ExportJobsOperationResultGetOptionalParams extends coreClient.OperationOptions {
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
/** Contains response data for the get operation. */
|
|
1995
|
+
export declare type ExportJobsOperationResultGetResponse = ExportJobsResult;
|
|
1996
|
+
|
|
1997
|
+
/** The result for export jobs containing blob details. */
|
|
1998
|
+
export declare interface ExportJobsResult {
|
|
1999
|
+
/**
|
|
2000
|
+
* URL of the blob into which the serialized string of list of jobs is exported.
|
|
2001
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2002
|
+
*/
|
|
2003
|
+
readonly blobUrl?: string;
|
|
2004
|
+
/**
|
|
2005
|
+
* SAS key to access the blob.
|
|
2006
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2007
|
+
*/
|
|
2008
|
+
readonly blobSasKey?: string;
|
|
2009
|
+
/**
|
|
2010
|
+
* URL of the blob into which the ExcelFile is uploaded.
|
|
2011
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2012
|
+
*/
|
|
2013
|
+
readonly excelFileBlobUrl?: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* SAS key to access the ExcelFile blob.
|
|
2016
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2017
|
+
*/
|
|
2018
|
+
readonly excelFileBlobSasKey?: string;
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
/** Defines headers for ExportJobs_trigger operation. */
|
|
2022
|
+
export declare interface ExportJobsTriggerHeaders {
|
|
2023
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
2024
|
+
location?: string;
|
|
2025
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
2026
|
+
retryAfter?: number;
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/** Optional parameters. */
|
|
2030
|
+
export declare interface ExportJobsTriggerOptionalParams extends coreClient.OperationOptions {
|
|
2031
|
+
/** Delay to wait until next poll, in milliseconds. */
|
|
2032
|
+
updateIntervalInMs?: number;
|
|
2033
|
+
/** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
|
|
2034
|
+
resumeFrom?: string;
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
/** Contains response data for the trigger operation. */
|
|
2038
|
+
export declare type ExportJobsTriggerResponse = ExportJobsTriggerHeaders;
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* Defines values for FeatureSupportStatus. \
|
|
2042
|
+
* {@link KnownFeatureSupportStatus} can be used interchangeably with FeatureSupportStatus,
|
|
2043
|
+
* this enum contains the known values that the service supports.
|
|
2044
|
+
* ### Known values supported by the service
|
|
2045
|
+
* **Invalid** \
|
|
2046
|
+
* **NotSupported** \
|
|
2047
|
+
* **AlphaPreview** \
|
|
2048
|
+
* **PrivatePreview** \
|
|
2049
|
+
* **PublicPreview** \
|
|
2050
|
+
* **GenerallyAvailable**
|
|
2051
|
+
*/
|
|
2052
|
+
export declare type FeatureSupportStatus = string;
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* Defines values for FeatureType. \
|
|
2056
|
+
* {@link KnownFeatureType} can be used interchangeably with FeatureType,
|
|
2057
|
+
* this enum contains the known values that the service supports.
|
|
2058
|
+
* ### Known values supported by the service
|
|
2059
|
+
* **Invalid** \
|
|
2060
|
+
* **DataSourceType**
|
|
2061
|
+
*/
|
|
2062
|
+
export declare type FeatureType = string;
|
|
2063
|
+
|
|
2064
|
+
/** Base class for feature object */
|
|
2065
|
+
export declare interface FeatureValidationRequest extends FeatureValidationRequestBase {
|
|
2066
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2067
|
+
objectType: "FeatureValidationRequest";
|
|
2068
|
+
/** backup support feature type. */
|
|
2069
|
+
featureType?: FeatureType;
|
|
2070
|
+
/** backup support feature name. */
|
|
2071
|
+
featureName?: string;
|
|
2072
|
+
}
|
|
2073
|
+
|
|
2074
|
+
/** Base class for Backup Feature support */
|
|
2075
|
+
export declare interface FeatureValidationRequestBase {
|
|
2076
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2077
|
+
objectType: "FeatureValidationRequest";
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
export declare type FeatureValidationRequestBaseUnion = FeatureValidationRequestBase | FeatureValidationRequest;
|
|
2081
|
+
|
|
2082
|
+
/** Feature Validation Response */
|
|
2083
|
+
export declare interface FeatureValidationResponse extends FeatureValidationResponseBase {
|
|
2084
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2085
|
+
objectType: "FeatureValidationResponse";
|
|
2086
|
+
/** backup support feature type. */
|
|
2087
|
+
featureType?: FeatureType;
|
|
2088
|
+
/** Response features */
|
|
2089
|
+
features?: SupportedFeature[];
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
/** Base class for Backup Feature support */
|
|
2093
|
+
export declare interface FeatureValidationResponseBase {
|
|
2094
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2095
|
+
objectType: "FeatureValidationResponse";
|
|
2096
|
+
}
|
|
2097
|
+
|
|
2098
|
+
export declare type FeatureValidationResponseBaseUnion = FeatureValidationResponseBase | FeatureValidationResponse;
|
|
2099
|
+
|
|
2100
|
+
/**
|
|
2101
|
+
* Given the last `.value` produced by the `byPage` iterator,
|
|
2102
|
+
* returns a continuation token that can be used to begin paging from
|
|
2103
|
+
* that point later.
|
|
2104
|
+
* @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator.
|
|
2105
|
+
* @returns The continuation token that can be passed into byPage() during future calls.
|
|
2106
|
+
*/
|
|
2107
|
+
export declare function getContinuationToken(page: unknown): string | undefined;
|
|
2108
|
+
|
|
2109
|
+
/** Immediate copy Option */
|
|
2110
|
+
export declare interface ImmediateCopyOption extends CopyOption {
|
|
2111
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2112
|
+
objectType: "ImmediateCopyOption";
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
/** Immutability Settings at vault level */
|
|
2116
|
+
export declare interface ImmutabilitySettings {
|
|
2117
|
+
/** Immutability state */
|
|
2118
|
+
state?: ImmutabilityState;
|
|
2119
|
+
}
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* Defines values for ImmutabilityState. \
|
|
2123
|
+
* {@link KnownImmutabilityState} can be used interchangeably with ImmutabilityState,
|
|
2124
|
+
* this enum contains the known values that the service supports.
|
|
2125
|
+
* ### Known values supported by the service
|
|
2126
|
+
* **Disabled** \
|
|
2127
|
+
* **Unlocked** \
|
|
2128
|
+
* **Locked**
|
|
2129
|
+
*/
|
|
2130
|
+
export declare type ImmutabilityState = string;
|
|
2131
|
+
|
|
2132
|
+
/** Inner Error */
|
|
2133
|
+
export declare interface InnerError {
|
|
2134
|
+
/** Any Key value pairs that can be provided to the client for additional verbose information. */
|
|
2135
|
+
additionalInfo?: {
|
|
2136
|
+
[propertyName: string]: string;
|
|
2137
|
+
};
|
|
2138
|
+
/** Unique code for this error */
|
|
2139
|
+
code?: string;
|
|
2140
|
+
/** Child Inner Error, to allow Nesting. */
|
|
2141
|
+
embeddedInnerError?: InnerError;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
/** Class to contain criteria for item level restore */
|
|
2145
|
+
export declare interface ItemLevelRestoreCriteria {
|
|
2146
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2147
|
+
objectType: "ItemPathBasedRestoreCriteria" | "RangeBasedItemLevelRestoreCriteria" | "KubernetesStorageClassRestoreCriteria" | "KubernetesPVRestoreCriteria" | "KubernetesClusterRestoreCriteria";
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2150
|
+
export declare type ItemLevelRestoreCriteriaUnion = ItemLevelRestoreCriteria | ItemPathBasedRestoreCriteria | RangeBasedItemLevelRestoreCriteria | KubernetesStorageClassRestoreCriteria | KubernetesPVRestoreCriteria | KubernetesClusterRestoreCriteria;
|
|
2151
|
+
|
|
2152
|
+
/** Restore target info for Item level restore operation */
|
|
2153
|
+
export declare interface ItemLevelRestoreTargetInfo extends RestoreTargetInfoBase {
|
|
2154
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2155
|
+
objectType: "ItemLevelRestoreTargetInfo";
|
|
2156
|
+
/** Restore Criteria */
|
|
2157
|
+
restoreCriteria: ItemLevelRestoreCriteriaUnion[];
|
|
2158
|
+
/** Information of target DS */
|
|
2159
|
+
datasourceInfo: Datasource;
|
|
2160
|
+
/** Information of target DS Set */
|
|
2161
|
+
datasourceSetInfo?: DatasourceSet;
|
|
2162
|
+
/** Credentials to use to authenticate with data source provider. */
|
|
2163
|
+
datasourceAuthCredentials?: AuthCredentialsUnion;
|
|
2164
|
+
}
|
|
2165
|
+
|
|
2166
|
+
/** Prefix criteria to be used to during restore */
|
|
2167
|
+
export declare interface ItemPathBasedRestoreCriteria extends ItemLevelRestoreCriteria {
|
|
2168
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2169
|
+
objectType: "ItemPathBasedRestoreCriteria";
|
|
2170
|
+
/** The path of the item to be restored. It could be the full path of the item or the path relative to the backup item */
|
|
2171
|
+
itemPath: string;
|
|
2172
|
+
/** Flag to specify if the path is relative to backup item or full path */
|
|
2173
|
+
isPathRelativeToBackupItem: boolean;
|
|
2174
|
+
/** The list of prefix strings to be used as filter criteria during restore. These are relative to the item path specified. */
|
|
2175
|
+
subItemPathPrefix?: string[];
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
/** Extended Information about the job */
|
|
2179
|
+
export declare interface JobExtendedInfo {
|
|
2180
|
+
/** Job's Additional Details */
|
|
2181
|
+
additionalDetails?: {
|
|
2182
|
+
[propertyName: string]: string;
|
|
2183
|
+
};
|
|
2184
|
+
/**
|
|
2185
|
+
* State of the Backup Instance
|
|
2186
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2187
|
+
*/
|
|
2188
|
+
readonly backupInstanceState?: string;
|
|
2189
|
+
/**
|
|
2190
|
+
* Number of bytes transferred
|
|
2191
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2192
|
+
*/
|
|
2193
|
+
readonly dataTransferredInBytes?: number;
|
|
2194
|
+
/**
|
|
2195
|
+
* Destination where restore is done
|
|
2196
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2197
|
+
*/
|
|
2198
|
+
readonly recoveryDestination?: string;
|
|
2199
|
+
/**
|
|
2200
|
+
* Details of the Source Recovery Point
|
|
2201
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2202
|
+
*/
|
|
2203
|
+
readonly sourceRecoverPoint?: RestoreJobRecoveryPointDetails;
|
|
2204
|
+
/**
|
|
2205
|
+
* List of Sub Tasks of the job
|
|
2206
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2207
|
+
*/
|
|
2208
|
+
readonly subTasks?: JobSubTask[];
|
|
2209
|
+
/**
|
|
2210
|
+
* Details of the Target Recovery Point
|
|
2211
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2212
|
+
*/
|
|
2213
|
+
readonly targetRecoverPoint?: RestoreJobRecoveryPointDetails;
|
|
2214
|
+
}
|
|
2215
|
+
|
|
2216
|
+
/** Interface representing a Jobs. */
|
|
2217
|
+
export declare interface Jobs {
|
|
2218
|
+
/**
|
|
2219
|
+
* Returns list of jobs belonging to a backup vault
|
|
2220
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
2221
|
+
* @param vaultName The name of the backup vault.
|
|
2222
|
+
* @param options The options parameters.
|
|
2223
|
+
*/
|
|
2224
|
+
list(resourceGroupName: string, vaultName: string, options?: JobsListOptionalParams): PagedAsyncIterableIterator<AzureBackupJobResource>;
|
|
2225
|
+
/**
|
|
2226
|
+
* Gets a job with id in a backup vault
|
|
2227
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
2228
|
+
* @param vaultName The name of the backup vault.
|
|
2229
|
+
* @param jobId The Job ID. This is a GUID-formatted string (e.g.
|
|
2230
|
+
* 00000000-0000-0000-0000-000000000000).
|
|
2231
|
+
* @param options The options parameters.
|
|
2232
|
+
*/
|
|
2233
|
+
get(resourceGroupName: string, vaultName: string, jobId: string, options?: JobsGetOptionalParams): Promise<JobsGetResponse>;
|
|
2234
|
+
}
|
|
2235
|
+
|
|
2236
|
+
/** Optional parameters. */
|
|
2237
|
+
export declare interface JobsGetOptionalParams extends coreClient.OperationOptions {
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
/** Contains response data for the get operation. */
|
|
2241
|
+
export declare type JobsGetResponse = AzureBackupJobResource;
|
|
2242
|
+
|
|
2243
|
+
/** Optional parameters. */
|
|
2244
|
+
export declare interface JobsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2245
|
+
}
|
|
2246
|
+
|
|
2247
|
+
/** Contains response data for the listNext operation. */
|
|
2248
|
+
export declare type JobsListNextResponse = AzureBackupJobResourceList;
|
|
2249
|
+
|
|
2250
|
+
/** Optional parameters. */
|
|
2251
|
+
export declare interface JobsListOptionalParams extends coreClient.OperationOptions {
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
/** Contains response data for the list operation. */
|
|
2255
|
+
export declare type JobsListResponse = AzureBackupJobResourceList;
|
|
2256
|
+
|
|
2257
|
+
/** Details of Job's Sub Task */
|
|
2258
|
+
export declare interface JobSubTask {
|
|
2259
|
+
/** Additional details of Sub Tasks */
|
|
2260
|
+
additionalDetails?: {
|
|
2261
|
+
[propertyName: string]: string;
|
|
2262
|
+
};
|
|
2263
|
+
/** Task Id of the Sub Task */
|
|
2264
|
+
taskId: number;
|
|
2265
|
+
/** Name of the Sub Task */
|
|
2266
|
+
taskName: string;
|
|
2267
|
+
/**
|
|
2268
|
+
* Progress of the Sub Task
|
|
2269
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
2270
|
+
*/
|
|
2271
|
+
readonly taskProgress?: string;
|
|
2272
|
+
/** Status of the Sub Task */
|
|
2273
|
+
taskStatus: string;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
/** Known values of {@link AbsoluteMarker} that the service accepts. */
|
|
2277
|
+
export declare enum KnownAbsoluteMarker {
|
|
2278
|
+
/** AllBackup */
|
|
2279
|
+
AllBackup = "AllBackup",
|
|
2280
|
+
/** FirstOfDay */
|
|
2281
|
+
FirstOfDay = "FirstOfDay",
|
|
2282
|
+
/** FirstOfMonth */
|
|
2283
|
+
FirstOfMonth = "FirstOfMonth",
|
|
2284
|
+
/** FirstOfWeek */
|
|
2285
|
+
FirstOfWeek = "FirstOfWeek",
|
|
2286
|
+
/** FirstOfYear */
|
|
2287
|
+
FirstOfYear = "FirstOfYear"
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
/** Known values of {@link AlertsState} that the service accepts. */
|
|
2291
|
+
export declare enum KnownAlertsState {
|
|
2292
|
+
/** Enabled */
|
|
2293
|
+
Enabled = "Enabled",
|
|
2294
|
+
/** Disabled */
|
|
2295
|
+
Disabled = "Disabled"
|
|
2296
|
+
}
|
|
2297
|
+
|
|
2298
|
+
/** Known values of {@link CreatedByType} that the service accepts. */
|
|
2299
|
+
export declare enum KnownCreatedByType {
|
|
2300
|
+
/** User */
|
|
2301
|
+
User = "User",
|
|
2302
|
+
/** Application */
|
|
2303
|
+
Application = "Application",
|
|
2304
|
+
/** ManagedIdentity */
|
|
2305
|
+
ManagedIdentity = "ManagedIdentity",
|
|
2306
|
+
/** Key */
|
|
2307
|
+
Key = "Key"
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
/** Known values of {@link CurrentProtectionState} that the service accepts. */
|
|
2311
|
+
export declare enum KnownCurrentProtectionState {
|
|
2312
|
+
/** Invalid */
|
|
2313
|
+
Invalid = "Invalid",
|
|
2314
|
+
/** NotProtected */
|
|
2315
|
+
NotProtected = "NotProtected",
|
|
2316
|
+
/** ConfiguringProtection */
|
|
2317
|
+
ConfiguringProtection = "ConfiguringProtection",
|
|
2318
|
+
/** ProtectionConfigured */
|
|
2319
|
+
ProtectionConfigured = "ProtectionConfigured",
|
|
2320
|
+
/** BackupSchedulesSuspended */
|
|
2321
|
+
BackupSchedulesSuspended = "BackupSchedulesSuspended",
|
|
2322
|
+
/** RetentionSchedulesSuspended */
|
|
2323
|
+
RetentionSchedulesSuspended = "RetentionSchedulesSuspended",
|
|
2324
|
+
/** ProtectionStopped */
|
|
2325
|
+
ProtectionStopped = "ProtectionStopped",
|
|
2326
|
+
/** ProtectionError */
|
|
2327
|
+
ProtectionError = "ProtectionError",
|
|
2328
|
+
/** ConfiguringProtectionFailed */
|
|
2329
|
+
ConfiguringProtectionFailed = "ConfiguringProtectionFailed",
|
|
2330
|
+
/** SoftDeleting */
|
|
2331
|
+
SoftDeleting = "SoftDeleting",
|
|
2332
|
+
/** SoftDeleted */
|
|
2333
|
+
SoftDeleted = "SoftDeleted",
|
|
2334
|
+
/** UpdatingProtection */
|
|
2335
|
+
UpdatingProtection = "UpdatingProtection"
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
/** Known values of {@link DataStoreTypes} that the service accepts. */
|
|
2339
|
+
export declare enum KnownDataStoreTypes {
|
|
2340
|
+
/** OperationalStore */
|
|
2341
|
+
OperationalStore = "OperationalStore",
|
|
2342
|
+
/** VaultStore */
|
|
2343
|
+
VaultStore = "VaultStore",
|
|
2344
|
+
/** ArchiveStore */
|
|
2345
|
+
ArchiveStore = "ArchiveStore"
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/** Known values of {@link DayOfWeek} that the service accepts. */
|
|
2349
|
+
export declare enum KnownDayOfWeek {
|
|
2350
|
+
/** Friday */
|
|
2351
|
+
Friday = "Friday",
|
|
2352
|
+
/** Monday */
|
|
2353
|
+
Monday = "Monday",
|
|
2354
|
+
/** Saturday */
|
|
2355
|
+
Saturday = "Saturday",
|
|
2356
|
+
/** Sunday */
|
|
2357
|
+
Sunday = "Sunday",
|
|
2358
|
+
/** Thursday */
|
|
2359
|
+
Thursday = "Thursday",
|
|
2360
|
+
/** Tuesday */
|
|
2361
|
+
Tuesday = "Tuesday",
|
|
2362
|
+
/** Wednesday */
|
|
2363
|
+
Wednesday = "Wednesday"
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
/** Known values of {@link ExistingResourcePolicy} that the service accepts. */
|
|
2367
|
+
export declare enum KnownExistingResourcePolicy {
|
|
2368
|
+
/** Skip */
|
|
2369
|
+
Skip = "Skip",
|
|
2370
|
+
/** Patch */
|
|
2371
|
+
Patch = "Patch"
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
/** Known values of {@link FeatureSupportStatus} that the service accepts. */
|
|
2375
|
+
export declare enum KnownFeatureSupportStatus {
|
|
2376
|
+
/** Invalid */
|
|
2377
|
+
Invalid = "Invalid",
|
|
2378
|
+
/** NotSupported */
|
|
2379
|
+
NotSupported = "NotSupported",
|
|
2380
|
+
/** AlphaPreview */
|
|
2381
|
+
AlphaPreview = "AlphaPreview",
|
|
2382
|
+
/** PrivatePreview */
|
|
2383
|
+
PrivatePreview = "PrivatePreview",
|
|
2384
|
+
/** PublicPreview */
|
|
2385
|
+
PublicPreview = "PublicPreview",
|
|
2386
|
+
/** GenerallyAvailable */
|
|
2387
|
+
GenerallyAvailable = "GenerallyAvailable"
|
|
2388
|
+
}
|
|
2389
|
+
|
|
2390
|
+
/** Known values of {@link FeatureType} that the service accepts. */
|
|
2391
|
+
export declare enum KnownFeatureType {
|
|
2392
|
+
/** Invalid */
|
|
2393
|
+
Invalid = "Invalid",
|
|
2394
|
+
/** DataSourceType */
|
|
2395
|
+
DataSourceType = "DataSourceType"
|
|
2396
|
+
}
|
|
2397
|
+
|
|
2398
|
+
/** Known values of {@link ImmutabilityState} that the service accepts. */
|
|
2399
|
+
export declare enum KnownImmutabilityState {
|
|
2400
|
+
/** Disabled */
|
|
2401
|
+
Disabled = "Disabled",
|
|
2402
|
+
/** Unlocked */
|
|
2403
|
+
Unlocked = "Unlocked",
|
|
2404
|
+
/** Locked */
|
|
2405
|
+
Locked = "Locked"
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2408
|
+
/** Known values of {@link Month} that the service accepts. */
|
|
2409
|
+
export declare enum KnownMonth {
|
|
2410
|
+
/** April */
|
|
2411
|
+
April = "April",
|
|
2412
|
+
/** August */
|
|
2413
|
+
August = "August",
|
|
2414
|
+
/** December */
|
|
2415
|
+
December = "December",
|
|
2416
|
+
/** February */
|
|
2417
|
+
February = "February",
|
|
2418
|
+
/** January */
|
|
2419
|
+
January = "January",
|
|
2420
|
+
/** July */
|
|
2421
|
+
July = "July",
|
|
2422
|
+
/** June */
|
|
2423
|
+
June = "June",
|
|
2424
|
+
/** March */
|
|
2425
|
+
March = "March",
|
|
2426
|
+
/** May */
|
|
2427
|
+
May = "May",
|
|
2428
|
+
/** November */
|
|
2429
|
+
November = "November",
|
|
2430
|
+
/** October */
|
|
2431
|
+
October = "October",
|
|
2432
|
+
/** September */
|
|
2433
|
+
September = "September"
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
/** Known values of {@link PersistentVolumeRestoreMode} that the service accepts. */
|
|
2437
|
+
export declare enum KnownPersistentVolumeRestoreMode {
|
|
2438
|
+
/** RestoreWithVolumeData */
|
|
2439
|
+
RestoreWithVolumeData = "RestoreWithVolumeData",
|
|
2440
|
+
/** RestoreWithoutVolumeData */
|
|
2441
|
+
RestoreWithoutVolumeData = "RestoreWithoutVolumeData"
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2444
|
+
/** Known values of {@link ProvisioningState} that the service accepts. */
|
|
2445
|
+
export declare enum KnownProvisioningState {
|
|
2446
|
+
/** Failed */
|
|
2447
|
+
Failed = "Failed",
|
|
2448
|
+
/** Provisioning */
|
|
2449
|
+
Provisioning = "Provisioning",
|
|
2450
|
+
/** Succeeded */
|
|
2451
|
+
Succeeded = "Succeeded",
|
|
2452
|
+
/** Unknown */
|
|
2453
|
+
Unknown = "Unknown",
|
|
2454
|
+
/** Updating */
|
|
2455
|
+
Updating = "Updating"
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/** Known values of {@link RecoveryOption} that the service accepts. */
|
|
2459
|
+
export declare enum KnownRecoveryOption {
|
|
2460
|
+
/** FailIfExists */
|
|
2461
|
+
FailIfExists = "FailIfExists"
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
/** Known values of {@link RehydrationPriority} that the service accepts. */
|
|
2465
|
+
export declare enum KnownRehydrationPriority {
|
|
2466
|
+
/** Invalid */
|
|
2467
|
+
Invalid = "Invalid",
|
|
2468
|
+
/** High */
|
|
2469
|
+
High = "High",
|
|
2470
|
+
/** Standard */
|
|
2471
|
+
Standard = "Standard"
|
|
2472
|
+
}
|
|
2473
|
+
|
|
2474
|
+
/** Known values of {@link RehydrationStatus} that the service accepts. */
|
|
2475
|
+
export declare enum KnownRehydrationStatus {
|
|
2476
|
+
/** CreateINProgress */
|
|
2477
|
+
CreateINProgress = "CREATE_IN_PROGRESS",
|
|
2478
|
+
/** Completed */
|
|
2479
|
+
Completed = "COMPLETED",
|
|
2480
|
+
/** DeleteINProgress */
|
|
2481
|
+
DeleteINProgress = "DELETE_IN_PROGRESS",
|
|
2482
|
+
/** Deleted */
|
|
2483
|
+
Deleted = "DELETED",
|
|
2484
|
+
/** Failed */
|
|
2485
|
+
Failed = "FAILED"
|
|
2486
|
+
}
|
|
2487
|
+
|
|
2488
|
+
/** Known values of {@link ResourceGuardProvisioningState} that the service accepts. */
|
|
2489
|
+
export declare enum KnownResourceGuardProvisioningState {
|
|
2490
|
+
/** Failed */
|
|
2491
|
+
Failed = "Failed",
|
|
2492
|
+
/** Provisioning */
|
|
2493
|
+
Provisioning = "Provisioning",
|
|
2494
|
+
/** Succeeded */
|
|
2495
|
+
Succeeded = "Succeeded",
|
|
2496
|
+
/** Unknown */
|
|
2497
|
+
Unknown = "Unknown",
|
|
2498
|
+
/** Updating */
|
|
2499
|
+
Updating = "Updating"
|
|
2500
|
+
}
|
|
2501
|
+
|
|
2502
|
+
/** Known values of {@link ResourceMoveState} that the service accepts. */
|
|
2503
|
+
export declare enum KnownResourceMoveState {
|
|
2504
|
+
/** Unknown */
|
|
2505
|
+
Unknown = "Unknown",
|
|
2506
|
+
/** InProgress */
|
|
2507
|
+
InProgress = "InProgress",
|
|
2508
|
+
/** PrepareFailed */
|
|
2509
|
+
PrepareFailed = "PrepareFailed",
|
|
2510
|
+
/** CommitFailed */
|
|
2511
|
+
CommitFailed = "CommitFailed",
|
|
2512
|
+
/** Failed */
|
|
2513
|
+
Failed = "Failed",
|
|
2514
|
+
/** PrepareTimedout */
|
|
2515
|
+
PrepareTimedout = "PrepareTimedout",
|
|
2516
|
+
/** CommitTimedout */
|
|
2517
|
+
CommitTimedout = "CommitTimedout",
|
|
2518
|
+
/** CriticalFailure */
|
|
2519
|
+
CriticalFailure = "CriticalFailure",
|
|
2520
|
+
/** PartialSuccess */
|
|
2521
|
+
PartialSuccess = "PartialSuccess",
|
|
2522
|
+
/** MoveSucceeded */
|
|
2523
|
+
MoveSucceeded = "MoveSucceeded"
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
/** Known values of {@link RestoreSourceDataStoreType} that the service accepts. */
|
|
2527
|
+
export declare enum KnownRestoreSourceDataStoreType {
|
|
2528
|
+
/** OperationalStore */
|
|
2529
|
+
OperationalStore = "OperationalStore",
|
|
2530
|
+
/** VaultStore */
|
|
2531
|
+
VaultStore = "VaultStore",
|
|
2532
|
+
/** ArchiveStore */
|
|
2533
|
+
ArchiveStore = "ArchiveStore"
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
/** Known values of {@link RestoreTargetLocationType} that the service accepts. */
|
|
2537
|
+
export declare enum KnownRestoreTargetLocationType {
|
|
2538
|
+
/** Invalid */
|
|
2539
|
+
Invalid = "Invalid",
|
|
2540
|
+
/** AzureBlobs */
|
|
2541
|
+
AzureBlobs = "AzureBlobs",
|
|
2542
|
+
/** AzureFiles */
|
|
2543
|
+
AzureFiles = "AzureFiles"
|
|
2544
|
+
}
|
|
2545
|
+
|
|
2546
|
+
/** Known values of {@link SecretStoreType} that the service accepts. */
|
|
2547
|
+
export declare enum KnownSecretStoreType {
|
|
2548
|
+
/** Invalid */
|
|
2549
|
+
Invalid = "Invalid",
|
|
2550
|
+
/** AzureKeyVault */
|
|
2551
|
+
AzureKeyVault = "AzureKeyVault"
|
|
2552
|
+
}
|
|
2553
|
+
|
|
2554
|
+
/** Known values of {@link SoftDeleteState} that the service accepts. */
|
|
2555
|
+
export declare enum KnownSoftDeleteState {
|
|
2556
|
+
/** Soft Delete is turned off for the BackupVault */
|
|
2557
|
+
Off = "Off",
|
|
2558
|
+
/** Soft Delete is enabled for the BackupVault but can be turned off */
|
|
2559
|
+
On = "On",
|
|
2560
|
+
/** Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed */
|
|
2561
|
+
AlwaysOn = "AlwaysOn"
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
/** Known values of {@link SourceDataStoreType} that the service accepts. */
|
|
2565
|
+
export declare enum KnownSourceDataStoreType {
|
|
2566
|
+
/** ArchiveStore */
|
|
2567
|
+
ArchiveStore = "ArchiveStore",
|
|
2568
|
+
/** SnapshotStore */
|
|
2569
|
+
SnapshotStore = "SnapshotStore",
|
|
2570
|
+
/** VaultStore */
|
|
2571
|
+
VaultStore = "VaultStore"
|
|
2572
|
+
}
|
|
2573
|
+
|
|
2574
|
+
/** Known values of {@link Status} that the service accepts. */
|
|
2575
|
+
export declare enum KnownStatus {
|
|
2576
|
+
/** ConfiguringProtection */
|
|
2577
|
+
ConfiguringProtection = "ConfiguringProtection",
|
|
2578
|
+
/** ConfiguringProtectionFailed */
|
|
2579
|
+
ConfiguringProtectionFailed = "ConfiguringProtectionFailed",
|
|
2580
|
+
/** ProtectionConfigured */
|
|
2581
|
+
ProtectionConfigured = "ProtectionConfigured",
|
|
2582
|
+
/** ProtectionStopped */
|
|
2583
|
+
ProtectionStopped = "ProtectionStopped",
|
|
2584
|
+
/** SoftDeleted */
|
|
2585
|
+
SoftDeleted = "SoftDeleted",
|
|
2586
|
+
/** SoftDeleting */
|
|
2587
|
+
SoftDeleting = "SoftDeleting"
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2590
|
+
/** Known values of {@link StorageSettingStoreTypes} that the service accepts. */
|
|
2591
|
+
export declare enum KnownStorageSettingStoreTypes {
|
|
2592
|
+
/** ArchiveStore */
|
|
2593
|
+
ArchiveStore = "ArchiveStore",
|
|
2594
|
+
/** SnapshotStore */
|
|
2595
|
+
SnapshotStore = "SnapshotStore",
|
|
2596
|
+
/** VaultStore */
|
|
2597
|
+
VaultStore = "VaultStore"
|
|
2598
|
+
}
|
|
2599
|
+
|
|
2600
|
+
/** Known values of {@link StorageSettingTypes} that the service accepts. */
|
|
2601
|
+
export declare enum KnownStorageSettingTypes {
|
|
2602
|
+
/** GeoRedundant */
|
|
2603
|
+
GeoRedundant = "GeoRedundant",
|
|
2604
|
+
/** LocallyRedundant */
|
|
2605
|
+
LocallyRedundant = "LocallyRedundant",
|
|
2606
|
+
/** ZoneRedundant */
|
|
2607
|
+
ZoneRedundant = "ZoneRedundant"
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2610
|
+
/** Known values of {@link SyncType} that the service accepts. */
|
|
2611
|
+
export declare enum KnownSyncType {
|
|
2612
|
+
/** Default */
|
|
2613
|
+
Default = "Default",
|
|
2614
|
+
/** ForceResync */
|
|
2615
|
+
ForceResync = "ForceResync"
|
|
2616
|
+
}
|
|
2617
|
+
|
|
2618
|
+
/** Known values of {@link ValidationType} that the service accepts. */
|
|
2619
|
+
export declare enum KnownValidationType {
|
|
2620
|
+
/** ShallowValidation */
|
|
2621
|
+
ShallowValidation = "ShallowValidation",
|
|
2622
|
+
/** DeepValidation */
|
|
2623
|
+
DeepValidation = "DeepValidation"
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
/** Known values of {@link WeekNumber} that the service accepts. */
|
|
2627
|
+
export declare enum KnownWeekNumber {
|
|
2628
|
+
/** First */
|
|
2629
|
+
First = "First",
|
|
2630
|
+
/** Fourth */
|
|
2631
|
+
Fourth = "Fourth",
|
|
2632
|
+
/** Last */
|
|
2633
|
+
Last = "Last",
|
|
2634
|
+
/** Second */
|
|
2635
|
+
Second = "Second",
|
|
2636
|
+
/** Third */
|
|
2637
|
+
Third = "Third"
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
/** Parameters for Kubernetes Cluster Backup Datasource */
|
|
2641
|
+
export declare interface KubernetesClusterBackupDatasourceParameters extends BackupDatasourceParameters {
|
|
2642
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2643
|
+
objectType: "KubernetesClusterBackupDatasourceParameters";
|
|
2644
|
+
/** Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore. */
|
|
2645
|
+
snapshotVolumes: boolean;
|
|
2646
|
+
/** Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore. */
|
|
2647
|
+
includeClusterScopeResources: boolean;
|
|
2648
|
+
/** Gets or sets the include namespaces property. This property sets the namespaces to be included during restore. */
|
|
2649
|
+
includedNamespaces?: string[];
|
|
2650
|
+
/** Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. */
|
|
2651
|
+
excludedNamespaces?: string[];
|
|
2652
|
+
/** Gets or sets the include resource types property. This property sets the resource types to be included during restore. */
|
|
2653
|
+
includedResourceTypes?: string[];
|
|
2654
|
+
/** Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore. */
|
|
2655
|
+
excludedResourceTypes?: string[];
|
|
2656
|
+
/** Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. */
|
|
2657
|
+
labelSelectors?: string[];
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
/** kubernetes Cluster Backup target info for restore operation */
|
|
2661
|
+
export declare interface KubernetesClusterRestoreCriteria extends ItemLevelRestoreCriteria {
|
|
2662
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2663
|
+
objectType: "KubernetesClusterRestoreCriteria";
|
|
2664
|
+
/** Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore. */
|
|
2665
|
+
includeClusterScopeResources: boolean;
|
|
2666
|
+
/** Gets or sets the include namespaces property. This property sets the namespaces to be included during restore. */
|
|
2667
|
+
includedNamespaces?: string[];
|
|
2668
|
+
/** Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore. */
|
|
2669
|
+
excludedNamespaces?: string[];
|
|
2670
|
+
/** Gets or sets the include resource types property. This property sets the resource types to be included during restore. */
|
|
2671
|
+
includedResourceTypes?: string[];
|
|
2672
|
+
/** Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore. */
|
|
2673
|
+
excludedResourceTypes?: string[];
|
|
2674
|
+
/** Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore. */
|
|
2675
|
+
labelSelectors?: string[];
|
|
2676
|
+
/** Gets or sets the PV Restore Mode property. This property sets whether volumes needs to be restored. */
|
|
2677
|
+
persistentVolumeRestoreMode?: PersistentVolumeRestoreMode;
|
|
2678
|
+
/** Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. */
|
|
2679
|
+
conflictPolicy?: ExistingResourcePolicy;
|
|
2680
|
+
/** Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore. */
|
|
2681
|
+
namespaceMappings?: {
|
|
2682
|
+
[propertyName: string]: string;
|
|
2683
|
+
};
|
|
2684
|
+
}
|
|
2685
|
+
|
|
2686
|
+
/** Item Level kubernetes persistent volume target info for restore operation */
|
|
2687
|
+
export declare interface KubernetesPVRestoreCriteria extends ItemLevelRestoreCriteria {
|
|
2688
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2689
|
+
objectType: "KubernetesPVRestoreCriteria";
|
|
2690
|
+
/** Selected persistent volume claim name */
|
|
2691
|
+
name?: string;
|
|
2692
|
+
/** Selected storage class name for restore operation */
|
|
2693
|
+
storageClassName?: string;
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2696
|
+
/** Item Level kubernetes storage class target info for restore operation */
|
|
2697
|
+
export declare interface KubernetesStorageClassRestoreCriteria extends ItemLevelRestoreCriteria {
|
|
2698
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2699
|
+
objectType: "KubernetesStorageClassRestoreCriteria";
|
|
2700
|
+
/** Selected storage class name */
|
|
2701
|
+
selectedStorageClassName?: string;
|
|
2702
|
+
/** Provisioner of the storage class */
|
|
2703
|
+
provisioner?: string;
|
|
2704
|
+
}
|
|
2705
|
+
|
|
2706
|
+
/** Monitoring Settings */
|
|
2707
|
+
export declare interface MonitoringSettings {
|
|
2708
|
+
/** Settings for Azure Monitor based alerts */
|
|
2709
|
+
azureMonitorAlertSettings?: AzureMonitorAlertSettings;
|
|
2710
|
+
}
|
|
2711
|
+
|
|
2712
|
+
/**
|
|
2713
|
+
* Defines values for Month. \
|
|
2714
|
+
* {@link KnownMonth} can be used interchangeably with Month,
|
|
2715
|
+
* this enum contains the known values that the service supports.
|
|
2716
|
+
* ### Known values supported by the service
|
|
2717
|
+
* **April** \
|
|
2718
|
+
* **August** \
|
|
2719
|
+
* **December** \
|
|
2720
|
+
* **February** \
|
|
2721
|
+
* **January** \
|
|
2722
|
+
* **July** \
|
|
2723
|
+
* **June** \
|
|
2724
|
+
* **March** \
|
|
2725
|
+
* **May** \
|
|
2726
|
+
* **November** \
|
|
2727
|
+
* **October** \
|
|
2728
|
+
* **September**
|
|
2729
|
+
*/
|
|
2730
|
+
export declare type Month = string;
|
|
2731
|
+
|
|
2732
|
+
/** Operation Extended Info */
|
|
2733
|
+
export declare interface OperationExtendedInfo {
|
|
2734
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2735
|
+
objectType: "OperationJobExtendedInfo";
|
|
2736
|
+
}
|
|
2737
|
+
|
|
2738
|
+
export declare type OperationExtendedInfoUnion = OperationExtendedInfo | OperationJobExtendedInfo;
|
|
2739
|
+
|
|
2740
|
+
/** Operation Job Extended Info */
|
|
2741
|
+
export declare interface OperationJobExtendedInfo extends OperationExtendedInfo {
|
|
2742
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2743
|
+
objectType: "OperationJobExtendedInfo";
|
|
2744
|
+
/** Arm Id of the job created for this operation. */
|
|
2745
|
+
jobId?: string;
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
/** Operation Resource */
|
|
2749
|
+
export declare interface OperationResource {
|
|
2750
|
+
/** End time of the operation */
|
|
2751
|
+
endTime?: Date;
|
|
2752
|
+
/**
|
|
2753
|
+
* Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into the v2.2 Azure REST API guidelines.
|
|
2754
|
+
* The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section.
|
|
2755
|
+
*/
|
|
2756
|
+
error?: ErrorModel;
|
|
2757
|
+
/** It should match what is used to GET the operation result */
|
|
2758
|
+
id?: string;
|
|
2759
|
+
/** It must match the last segment of the "id" field, and will typically be a GUID / system generated value */
|
|
2760
|
+
name?: string;
|
|
2761
|
+
/** End time of the operation */
|
|
2762
|
+
properties?: OperationExtendedInfoUnion;
|
|
2763
|
+
/** Start time of the operation */
|
|
2764
|
+
startTime?: Date;
|
|
2765
|
+
status?: string;
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
/** Interface representing a OperationResult. */
|
|
2769
|
+
export declare interface OperationResult {
|
|
2770
|
+
/**
|
|
2771
|
+
* Gets the operation result for a resource
|
|
2772
|
+
* @param operationId
|
|
2773
|
+
* @param location
|
|
2774
|
+
* @param options The options parameters.
|
|
2775
|
+
*/
|
|
2776
|
+
get(operationId: string, location: string, options?: OperationResultGetOptionalParams): Promise<OperationResultGetResponse>;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
/** Defines headers for OperationResult_get operation. */
|
|
2780
|
+
export declare interface OperationResultGetHeaders {
|
|
2781
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
2782
|
+
location?: string;
|
|
2783
|
+
/** The URL of the resource used to check the status of the asynchronous operation. */
|
|
2784
|
+
azureAsyncOperation?: string;
|
|
2785
|
+
/** Suggested delay to check the status of the asynchronous operation. The value is an integer that represents the seconds. */
|
|
2786
|
+
retryAfter?: number;
|
|
2787
|
+
}
|
|
2788
|
+
|
|
2789
|
+
/** Optional parameters. */
|
|
2790
|
+
export declare interface OperationResultGetOptionalParams extends coreClient.OperationOptions {
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
/** Contains response data for the get operation. */
|
|
2794
|
+
export declare type OperationResultGetResponse = OperationJobExtendedInfo;
|
|
2795
|
+
|
|
2796
|
+
/** Interface representing a OperationStatus. */
|
|
2797
|
+
export declare interface OperationStatus {
|
|
2798
|
+
/**
|
|
2799
|
+
* Gets the operation status for a resource.
|
|
2800
|
+
* @param location
|
|
2801
|
+
* @param operationId
|
|
2802
|
+
* @param options The options parameters.
|
|
2803
|
+
*/
|
|
2804
|
+
get(location: string, operationId: string, options?: OperationStatusGetOptionalParams): Promise<OperationStatusGetResponse>;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
/** Interface representing a OperationStatusBackupVaultContext. */
|
|
2808
|
+
export declare interface OperationStatusBackupVaultContext {
|
|
2809
|
+
/**
|
|
2810
|
+
* Gets the operation status for an operation over a BackupVault's context.
|
|
2811
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
2812
|
+
* @param vaultName The name of the backup vault.
|
|
2813
|
+
* @param operationId
|
|
2814
|
+
* @param options The options parameters.
|
|
2815
|
+
*/
|
|
2816
|
+
get(resourceGroupName: string, vaultName: string, operationId: string, options?: OperationStatusBackupVaultContextGetOptionalParams): Promise<OperationStatusBackupVaultContextGetResponse>;
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
/** Optional parameters. */
|
|
2820
|
+
export declare interface OperationStatusBackupVaultContextGetOptionalParams extends coreClient.OperationOptions {
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
/** Contains response data for the get operation. */
|
|
2824
|
+
export declare type OperationStatusBackupVaultContextGetResponse = OperationResource;
|
|
2825
|
+
|
|
2826
|
+
/** Optional parameters. */
|
|
2827
|
+
export declare interface OperationStatusGetOptionalParams extends coreClient.OperationOptions {
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
/** Contains response data for the get operation. */
|
|
2831
|
+
export declare type OperationStatusGetResponse = OperationResource;
|
|
2832
|
+
|
|
2833
|
+
/** Interface representing a OperationStatusResourceGroupContext. */
|
|
2834
|
+
export declare interface OperationStatusResourceGroupContext {
|
|
2835
|
+
/**
|
|
2836
|
+
* Gets the operation status for an operation over a ResourceGroup's context.
|
|
2837
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
2838
|
+
* @param operationId
|
|
2839
|
+
* @param options The options parameters.
|
|
2840
|
+
*/
|
|
2841
|
+
get(resourceGroupName: string, operationId: string, options?: OperationStatusResourceGroupContextGetOptionalParams): Promise<OperationStatusResourceGroupContextGetResponse>;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
/** Optional parameters. */
|
|
2845
|
+
export declare interface OperationStatusResourceGroupContextGetOptionalParams extends coreClient.OperationOptions {
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
/** Contains response data for the get operation. */
|
|
2849
|
+
export declare type OperationStatusResourceGroupContextGetResponse = OperationResource;
|
|
2850
|
+
|
|
2851
|
+
/** Backup Vault Contract for Patch Backup Vault API. */
|
|
2852
|
+
export declare interface PatchBackupVaultInput {
|
|
2853
|
+
/** Monitoring Settings */
|
|
2854
|
+
monitoringSettings?: MonitoringSettings;
|
|
2855
|
+
/** Security Settings */
|
|
2856
|
+
securitySettings?: SecuritySettings;
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
/** Patch Request content for Microsoft.DataProtection resources */
|
|
2860
|
+
export declare interface PatchResourceRequestInput {
|
|
2861
|
+
/** Input Managed Identity Details */
|
|
2862
|
+
identity?: DppIdentityDetails;
|
|
2863
|
+
/** Resource properties. */
|
|
2864
|
+
properties?: PatchBackupVaultInput;
|
|
2865
|
+
/** Resource tags. */
|
|
2866
|
+
tags?: {
|
|
2867
|
+
[propertyName: string]: string;
|
|
2868
|
+
};
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
/**
|
|
2872
|
+
* Defines values for PersistentVolumeRestoreMode. \
|
|
2873
|
+
* {@link KnownPersistentVolumeRestoreMode} can be used interchangeably with PersistentVolumeRestoreMode,
|
|
2874
|
+
* this enum contains the known values that the service supports.
|
|
2875
|
+
* ### Known values supported by the service
|
|
2876
|
+
* **RestoreWithVolumeData** \
|
|
2877
|
+
* **RestoreWithoutVolumeData**
|
|
2878
|
+
*/
|
|
2879
|
+
export declare type PersistentVolumeRestoreMode = string;
|
|
2880
|
+
|
|
2881
|
+
/** Policy Info in backupInstance */
|
|
2882
|
+
export declare interface PolicyInfo {
|
|
2883
|
+
policyId: string;
|
|
2884
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
2885
|
+
readonly policyVersion?: string;
|
|
2886
|
+
/** Policy parameters for the backup instance */
|
|
2887
|
+
policyParameters?: PolicyParameters;
|
|
2888
|
+
}
|
|
2889
|
+
|
|
2890
|
+
/** Parameters in Policy */
|
|
2891
|
+
export declare interface PolicyParameters {
|
|
2892
|
+
/** Gets or sets the DataStore Parameters */
|
|
2893
|
+
dataStoreParametersList?: DataStoreParametersUnion[];
|
|
2894
|
+
/** Gets or sets the Backup Data Source Parameters */
|
|
2895
|
+
backupDatasourceParametersList?: BackupDatasourceParametersUnion[];
|
|
2896
|
+
}
|
|
2897
|
+
|
|
2898
|
+
/** Protection status details */
|
|
2899
|
+
export declare interface ProtectionStatusDetails {
|
|
2900
|
+
/** Specifies the protection status error of the resource */
|
|
2901
|
+
errorDetails?: UserFacingError;
|
|
2902
|
+
/** Specifies the protection status of the resource */
|
|
2903
|
+
status?: Status;
|
|
2904
|
+
}
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* Defines values for ProvisioningState. \
|
|
2908
|
+
* {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
|
|
2909
|
+
* this enum contains the known values that the service supports.
|
|
2910
|
+
* ### Known values supported by the service
|
|
2911
|
+
* **Failed** \
|
|
2912
|
+
* **Provisioning** \
|
|
2913
|
+
* **Succeeded** \
|
|
2914
|
+
* **Unknown** \
|
|
2915
|
+
* **Updating**
|
|
2916
|
+
*/
|
|
2917
|
+
export declare type ProvisioningState = string;
|
|
2918
|
+
|
|
2919
|
+
/** Item Level target info for restore operation */
|
|
2920
|
+
export declare interface RangeBasedItemLevelRestoreCriteria extends ItemLevelRestoreCriteria {
|
|
2921
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
2922
|
+
objectType: "RangeBasedItemLevelRestoreCriteria";
|
|
2923
|
+
/** minimum value for range prefix match */
|
|
2924
|
+
minMatchingValue?: string;
|
|
2925
|
+
/** maximum value for range prefix match */
|
|
2926
|
+
maxMatchingValue?: string;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
/**
|
|
2930
|
+
* Defines values for RecoveryOption. \
|
|
2931
|
+
* {@link KnownRecoveryOption} can be used interchangeably with RecoveryOption,
|
|
2932
|
+
* this enum contains the known values that the service supports.
|
|
2933
|
+
* ### Known values supported by the service
|
|
2934
|
+
* **FailIfExists**
|
|
2935
|
+
*/
|
|
2936
|
+
export declare type RecoveryOption = string;
|
|
2937
|
+
|
|
2938
|
+
/** RecoveryPoint datastore details */
|
|
2939
|
+
export declare interface RecoveryPointDataStoreDetails {
|
|
2940
|
+
creationTime?: Date;
|
|
2941
|
+
expiryTime?: Date;
|
|
2942
|
+
id?: string;
|
|
2943
|
+
metaData?: string;
|
|
2944
|
+
state?: string;
|
|
2945
|
+
type?: string;
|
|
2946
|
+
visible?: boolean;
|
|
2947
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
2948
|
+
readonly rehydrationExpiryTime?: Date;
|
|
2949
|
+
/** NOTE: This property will not be serialized. It can only be populated by the server. */
|
|
2950
|
+
readonly rehydrationStatus?: RehydrationStatus;
|
|
2951
|
+
}
|
|
2952
|
+
|
|
2953
|
+
/** Interface representing a RecoveryPoints. */
|
|
2954
|
+
export declare interface RecoveryPoints {
|
|
2955
|
+
/**
|
|
2956
|
+
* Returns a list of Recovery Points for a DataSource in a vault.
|
|
2957
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
2958
|
+
* @param vaultName The name of the backup vault.
|
|
2959
|
+
* @param backupInstanceName The name of the backup instance
|
|
2960
|
+
* @param options The options parameters.
|
|
2961
|
+
*/
|
|
2962
|
+
list(resourceGroupName: string, vaultName: string, backupInstanceName: string, options?: RecoveryPointsListOptionalParams): PagedAsyncIterableIterator<AzureBackupRecoveryPointResource>;
|
|
2963
|
+
/**
|
|
2964
|
+
* Gets a Recovery Point using recoveryPointId for a Datasource.
|
|
2965
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
2966
|
+
* @param vaultName The name of the backup vault.
|
|
2967
|
+
* @param backupInstanceName The name of the backup instance
|
|
2968
|
+
* @param recoveryPointId
|
|
2969
|
+
* @param options The options parameters.
|
|
2970
|
+
*/
|
|
2971
|
+
get(resourceGroupName: string, vaultName: string, backupInstanceName: string, recoveryPointId: string, options?: RecoveryPointsGetOptionalParams): Promise<RecoveryPointsGetResponse>;
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
export declare interface RecoveryPointsFilters {
|
|
2975
|
+
restorePointDataStoreId?: string;
|
|
2976
|
+
isVisible?: boolean;
|
|
2977
|
+
startDate?: string;
|
|
2978
|
+
endDate?: string;
|
|
2979
|
+
extendedInfo?: boolean;
|
|
2980
|
+
restorePointState?: string;
|
|
2981
|
+
}
|
|
2982
|
+
|
|
2983
|
+
/** Optional parameters. */
|
|
2984
|
+
export declare interface RecoveryPointsGetOptionalParams extends coreClient.OperationOptions {
|
|
2985
|
+
}
|
|
2986
|
+
|
|
2987
|
+
/** Contains response data for the get operation. */
|
|
2988
|
+
export declare type RecoveryPointsGetResponse = AzureBackupRecoveryPointResource;
|
|
2989
|
+
|
|
2990
|
+
/** Optional parameters. */
|
|
2991
|
+
export declare interface RecoveryPointsListNextOptionalParams extends coreClient.OperationOptions {
|
|
2992
|
+
}
|
|
2993
|
+
|
|
2994
|
+
/** Contains response data for the listNext operation. */
|
|
2995
|
+
export declare type RecoveryPointsListNextResponse = AzureBackupRecoveryPointResourceList;
|
|
2996
|
+
|
|
2997
|
+
/** Optional parameters. */
|
|
2998
|
+
export declare interface RecoveryPointsListOptionalParams extends coreClient.OperationOptions {
|
|
2999
|
+
/** OData filter options. */
|
|
3000
|
+
filter?: string;
|
|
3001
|
+
/** skipToken Filter. */
|
|
3002
|
+
skipToken?: string;
|
|
3003
|
+
}
|
|
3004
|
+
|
|
3005
|
+
/** Contains response data for the list operation. */
|
|
3006
|
+
export declare type RecoveryPointsListResponse = AzureBackupRecoveryPointResourceList;
|
|
3007
|
+
|
|
3008
|
+
/**
|
|
3009
|
+
* Defines values for RehydrationPriority. \
|
|
3010
|
+
* {@link KnownRehydrationPriority} can be used interchangeably with RehydrationPriority,
|
|
3011
|
+
* this enum contains the known values that the service supports.
|
|
3012
|
+
* ### Known values supported by the service
|
|
3013
|
+
* **Invalid** \
|
|
3014
|
+
* **High** \
|
|
3015
|
+
* **Standard**
|
|
3016
|
+
*/
|
|
3017
|
+
export declare type RehydrationPriority = string;
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* Defines values for RehydrationStatus. \
|
|
3021
|
+
* {@link KnownRehydrationStatus} can be used interchangeably with RehydrationStatus,
|
|
3022
|
+
* this enum contains the known values that the service supports.
|
|
3023
|
+
* ### Known values supported by the service
|
|
3024
|
+
* **CREATE_IN_PROGRESS** \
|
|
3025
|
+
* **COMPLETED** \
|
|
3026
|
+
* **DELETE_IN_PROGRESS** \
|
|
3027
|
+
* **DELETED** \
|
|
3028
|
+
* **FAILED**
|
|
3029
|
+
*/
|
|
3030
|
+
export declare type RehydrationStatus = string;
|
|
3031
|
+
|
|
3032
|
+
export declare interface ResourceGuard {
|
|
3033
|
+
/**
|
|
3034
|
+
* Provisioning state of the BackupVault resource
|
|
3035
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3036
|
+
*/
|
|
3037
|
+
readonly provisioningState?: ResourceGuardProvisioningState;
|
|
3038
|
+
/**
|
|
3039
|
+
* This flag indicates whether auto approval is allowed or not.
|
|
3040
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3041
|
+
*/
|
|
3042
|
+
readonly allowAutoApprovals?: boolean;
|
|
3043
|
+
/**
|
|
3044
|
+
* {readonly} List of operation details those are protected by the ResourceGuard resource
|
|
3045
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3046
|
+
*/
|
|
3047
|
+
readonly resourceGuardOperations?: ResourceGuardOperation[];
|
|
3048
|
+
/** List of critical operations which are not protected by this resourceGuard */
|
|
3049
|
+
vaultCriticalOperationExclusionList?: string[];
|
|
3050
|
+
/**
|
|
3051
|
+
* Description about the pre-req steps to perform all the critical operations.
|
|
3052
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3053
|
+
*/
|
|
3054
|
+
readonly description?: string;
|
|
3055
|
+
}
|
|
3056
|
+
|
|
3057
|
+
/** This class contains all the details about a critical operation. */
|
|
3058
|
+
export declare interface ResourceGuardOperation {
|
|
3059
|
+
/**
|
|
3060
|
+
* Name of the critical operation.
|
|
3061
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3062
|
+
*/
|
|
3063
|
+
readonly vaultCriticalOperation?: string;
|
|
3064
|
+
/**
|
|
3065
|
+
* Type of resource request.
|
|
3066
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3067
|
+
*/
|
|
3068
|
+
readonly requestResourceType?: string;
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
export declare interface ResourceGuardOperationDetail {
|
|
3072
|
+
vaultCriticalOperation?: string;
|
|
3073
|
+
defaultResourceRequest?: string;
|
|
3074
|
+
}
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* Defines values for ResourceGuardProvisioningState. \
|
|
3078
|
+
* {@link KnownResourceGuardProvisioningState} can be used interchangeably with ResourceGuardProvisioningState,
|
|
3079
|
+
* this enum contains the known values that the service supports.
|
|
3080
|
+
* ### Known values supported by the service
|
|
3081
|
+
* **Failed** \
|
|
3082
|
+
* **Provisioning** \
|
|
3083
|
+
* **Succeeded** \
|
|
3084
|
+
* **Unknown** \
|
|
3085
|
+
* **Updating**
|
|
3086
|
+
*/
|
|
3087
|
+
export declare type ResourceGuardProvisioningState = string;
|
|
3088
|
+
|
|
3089
|
+
export declare interface ResourceGuardProxyBase {
|
|
3090
|
+
resourceGuardResourceId?: string;
|
|
3091
|
+
resourceGuardOperationDetails?: ResourceGuardOperationDetail[];
|
|
3092
|
+
lastUpdatedTime?: string;
|
|
3093
|
+
description?: string;
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
export declare interface ResourceGuardProxyBaseResource extends DppResource {
|
|
3097
|
+
/** ResourceGuardProxyBaseResource properties */
|
|
3098
|
+
properties?: ResourceGuardProxyBase;
|
|
3099
|
+
}
|
|
3100
|
+
|
|
3101
|
+
/** List of ResourceGuardProxyBase resources */
|
|
3102
|
+
export declare interface ResourceGuardProxyBaseResourceList extends DppResourceList {
|
|
3103
|
+
/** List of resources. */
|
|
3104
|
+
value?: ResourceGuardProxyBaseResource[];
|
|
3105
|
+
}
|
|
3106
|
+
|
|
3107
|
+
export declare interface ResourceGuardResource extends DppTrackedResource {
|
|
3108
|
+
/** ResourceGuardResource properties */
|
|
3109
|
+
properties?: ResourceGuard;
|
|
3110
|
+
}
|
|
3111
|
+
|
|
3112
|
+
/** List of ResourceGuard resources */
|
|
3113
|
+
export declare interface ResourceGuardResourceList extends DppTrackedResourceList {
|
|
3114
|
+
/** List of resources. */
|
|
3115
|
+
value?: ResourceGuardResource[];
|
|
3116
|
+
}
|
|
3117
|
+
|
|
3118
|
+
/** Interface representing a ResourceGuards. */
|
|
3119
|
+
export declare interface ResourceGuards {
|
|
3120
|
+
/**
|
|
3121
|
+
* Returns ResourceGuards collection belonging to a subscription.
|
|
3122
|
+
* @param options The options parameters.
|
|
3123
|
+
*/
|
|
3124
|
+
listResourcesInSubscription(options?: ResourceGuardsGetResourcesInSubscriptionOptionalParams): PagedAsyncIterableIterator<ResourceGuardResource>;
|
|
3125
|
+
/**
|
|
3126
|
+
* Returns ResourceGuards collection belonging to a ResourceGroup.
|
|
3127
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3128
|
+
* @param options The options parameters.
|
|
3129
|
+
*/
|
|
3130
|
+
listResourcesInResourceGroup(resourceGroupName: string, options?: ResourceGuardsGetResourcesInResourceGroupOptionalParams): PagedAsyncIterableIterator<ResourceGuardResource>;
|
|
3131
|
+
/**
|
|
3132
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3133
|
+
* ResourceGuard resource.
|
|
3134
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3135
|
+
* @param resourceGuardsName
|
|
3136
|
+
* @param options The options parameters.
|
|
3137
|
+
*/
|
|
3138
|
+
listDisableSoftDeleteRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource>;
|
|
3139
|
+
/**
|
|
3140
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3141
|
+
* ResourceGuard resource.
|
|
3142
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3143
|
+
* @param resourceGuardsName
|
|
3144
|
+
* @param options The options parameters.
|
|
3145
|
+
*/
|
|
3146
|
+
listDeleteResourceGuardProxyRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource>;
|
|
3147
|
+
/**
|
|
3148
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3149
|
+
* ResourceGuard resource.
|
|
3150
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3151
|
+
* @param resourceGuardsName
|
|
3152
|
+
* @param options The options parameters.
|
|
3153
|
+
*/
|
|
3154
|
+
listBackupSecurityPINRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource>;
|
|
3155
|
+
/**
|
|
3156
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3157
|
+
* ResourceGuard resource.
|
|
3158
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3159
|
+
* @param resourceGuardsName
|
|
3160
|
+
* @param options The options parameters.
|
|
3161
|
+
*/
|
|
3162
|
+
listDeleteProtectedItemRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource>;
|
|
3163
|
+
/**
|
|
3164
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3165
|
+
* ResourceGuard resource.
|
|
3166
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3167
|
+
* @param resourceGuardsName
|
|
3168
|
+
* @param options The options parameters.
|
|
3169
|
+
*/
|
|
3170
|
+
listUpdateProtectionPolicyRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource>;
|
|
3171
|
+
/**
|
|
3172
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3173
|
+
* ResourceGuard resource.
|
|
3174
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3175
|
+
* @param resourceGuardsName
|
|
3176
|
+
* @param options The options parameters.
|
|
3177
|
+
*/
|
|
3178
|
+
listUpdateProtectedItemRequestsObjects(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams): PagedAsyncIterableIterator<DppBaseResource>;
|
|
3179
|
+
/**
|
|
3180
|
+
* Creates or updates a ResourceGuard resource belonging to a resource group.
|
|
3181
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3182
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
3183
|
+
* @param parameters Request body for operation
|
|
3184
|
+
* @param options The options parameters.
|
|
3185
|
+
*/
|
|
3186
|
+
put(resourceGroupName: string, resourceGuardsName: string, parameters: ResourceGuardResource, options?: ResourceGuardsPutOptionalParams): Promise<ResourceGuardsPutResponse>;
|
|
3187
|
+
/**
|
|
3188
|
+
* Returns a ResourceGuard belonging to a resource group.
|
|
3189
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3190
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
3191
|
+
* @param options The options parameters.
|
|
3192
|
+
*/
|
|
3193
|
+
get(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsGetOptionalParams): Promise<ResourceGuardsGetResponse>;
|
|
3194
|
+
/**
|
|
3195
|
+
* Deletes a ResourceGuard resource from the resource group.
|
|
3196
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3197
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
3198
|
+
* @param options The options parameters.
|
|
3199
|
+
*/
|
|
3200
|
+
delete(resourceGroupName: string, resourceGuardsName: string, options?: ResourceGuardsDeleteOptionalParams): Promise<void>;
|
|
3201
|
+
/**
|
|
3202
|
+
* Updates a ResourceGuard resource belonging to a resource group. For example, updating tags for a
|
|
3203
|
+
* resource.
|
|
3204
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3205
|
+
* @param resourceGuardsName The name of ResourceGuard
|
|
3206
|
+
* @param parameters Request body for operation
|
|
3207
|
+
* @param options The options parameters.
|
|
3208
|
+
*/
|
|
3209
|
+
patch(resourceGroupName: string, resourceGuardsName: string, parameters: PatchResourceRequestInput, options?: ResourceGuardsPatchOptionalParams): Promise<ResourceGuardsPatchResponse>;
|
|
3210
|
+
/**
|
|
3211
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3212
|
+
* ResourceGuard resource.
|
|
3213
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3214
|
+
* @param resourceGuardsName
|
|
3215
|
+
* @param requestName
|
|
3216
|
+
* @param options The options parameters.
|
|
3217
|
+
*/
|
|
3218
|
+
getDefaultDisableSoftDeleteRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams): Promise<ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectResponse>;
|
|
3219
|
+
/**
|
|
3220
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3221
|
+
* ResourceGuard resource.
|
|
3222
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3223
|
+
* @param resourceGuardsName
|
|
3224
|
+
* @param requestName
|
|
3225
|
+
* @param options The options parameters.
|
|
3226
|
+
*/
|
|
3227
|
+
getDefaultDeleteResourceGuardProxyRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams): Promise<ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectResponse>;
|
|
3228
|
+
/**
|
|
3229
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3230
|
+
* ResourceGuard resource.
|
|
3231
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3232
|
+
* @param resourceGuardsName
|
|
3233
|
+
* @param requestName
|
|
3234
|
+
* @param options The options parameters.
|
|
3235
|
+
*/
|
|
3236
|
+
getDefaultBackupSecurityPINRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams): Promise<ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectResponse>;
|
|
3237
|
+
/**
|
|
3238
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3239
|
+
* ResourceGuard resource.
|
|
3240
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3241
|
+
* @param resourceGuardsName
|
|
3242
|
+
* @param requestName
|
|
3243
|
+
* @param options The options parameters.
|
|
3244
|
+
*/
|
|
3245
|
+
getDefaultDeleteProtectedItemRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams): Promise<ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectResponse>;
|
|
3246
|
+
/**
|
|
3247
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3248
|
+
* ResourceGuard resource.
|
|
3249
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3250
|
+
* @param resourceGuardsName
|
|
3251
|
+
* @param requestName
|
|
3252
|
+
* @param options The options parameters.
|
|
3253
|
+
*/
|
|
3254
|
+
getDefaultUpdateProtectionPolicyRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams): Promise<ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectResponse>;
|
|
3255
|
+
/**
|
|
3256
|
+
* Returns collection of operation request objects for a critical operation protected by the given
|
|
3257
|
+
* ResourceGuard resource.
|
|
3258
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3259
|
+
* @param resourceGuardsName
|
|
3260
|
+
* @param requestName
|
|
3261
|
+
* @param options The options parameters.
|
|
3262
|
+
*/
|
|
3263
|
+
getDefaultUpdateProtectedItemRequestsObject(resourceGroupName: string, resourceGuardsName: string, requestName: string, options?: ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams): Promise<ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectResponse>;
|
|
3264
|
+
}
|
|
3265
|
+
|
|
3266
|
+
/** Optional parameters. */
|
|
3267
|
+
export declare interface ResourceGuardsDeleteOptionalParams extends coreClient.OperationOptions {
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
/** Optional parameters. */
|
|
3271
|
+
export declare interface ResourceGuardsGetBackupSecurityPINRequestsObjectsNextOptionalParams extends coreClient.OperationOptions {
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
/** Contains response data for the getBackupSecurityPINRequestsObjectsNext operation. */
|
|
3275
|
+
export declare type ResourceGuardsGetBackupSecurityPINRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3276
|
+
|
|
3277
|
+
/** Optional parameters. */
|
|
3278
|
+
export declare interface ResourceGuardsGetBackupSecurityPINRequestsObjectsOptionalParams extends coreClient.OperationOptions {
|
|
3279
|
+
}
|
|
3280
|
+
|
|
3281
|
+
/** Contains response data for the getBackupSecurityPINRequestsObjects operation. */
|
|
3282
|
+
export declare type ResourceGuardsGetBackupSecurityPINRequestsObjectsResponse = DppBaseResourceList;
|
|
3283
|
+
|
|
3284
|
+
/** Optional parameters. */
|
|
3285
|
+
export declare interface ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectOptionalParams extends coreClient.OperationOptions {
|
|
3286
|
+
}
|
|
3287
|
+
|
|
3288
|
+
/** Contains response data for the getDefaultBackupSecurityPINRequestsObject operation. */
|
|
3289
|
+
export declare type ResourceGuardsGetDefaultBackupSecurityPINRequestsObjectResponse = DppBaseResource;
|
|
3290
|
+
|
|
3291
|
+
/** Optional parameters. */
|
|
3292
|
+
export declare interface ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectOptionalParams extends coreClient.OperationOptions {
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
/** Contains response data for the getDefaultDeleteProtectedItemRequestsObject operation. */
|
|
3296
|
+
export declare type ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectResponse = DppBaseResource;
|
|
3297
|
+
|
|
3298
|
+
/** Optional parameters. */
|
|
3299
|
+
export declare interface ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectOptionalParams extends coreClient.OperationOptions {
|
|
3300
|
+
}
|
|
3301
|
+
|
|
3302
|
+
/** Contains response data for the getDefaultDeleteResourceGuardProxyRequestsObject operation. */
|
|
3303
|
+
export declare type ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectResponse = DppBaseResource;
|
|
3304
|
+
|
|
3305
|
+
/** Optional parameters. */
|
|
3306
|
+
export declare interface ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectOptionalParams extends coreClient.OperationOptions {
|
|
3307
|
+
}
|
|
3308
|
+
|
|
3309
|
+
/** Contains response data for the getDefaultDisableSoftDeleteRequestsObject operation. */
|
|
3310
|
+
export declare type ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectResponse = DppBaseResource;
|
|
3311
|
+
|
|
3312
|
+
/** Optional parameters. */
|
|
3313
|
+
export declare interface ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectOptionalParams extends coreClient.OperationOptions {
|
|
3314
|
+
}
|
|
3315
|
+
|
|
3316
|
+
/** Contains response data for the getDefaultUpdateProtectedItemRequestsObject operation. */
|
|
3317
|
+
export declare type ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectResponse = DppBaseResource;
|
|
3318
|
+
|
|
3319
|
+
/** Optional parameters. */
|
|
3320
|
+
export declare interface ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectOptionalParams extends coreClient.OperationOptions {
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
/** Contains response data for the getDefaultUpdateProtectionPolicyRequestsObject operation. */
|
|
3324
|
+
export declare type ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectResponse = DppBaseResource;
|
|
3325
|
+
|
|
3326
|
+
/** Optional parameters. */
|
|
3327
|
+
export declare interface ResourceGuardsGetDeleteProtectedItemRequestsObjectsNextOptionalParams extends coreClient.OperationOptions {
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
/** Contains response data for the getDeleteProtectedItemRequestsObjectsNext operation. */
|
|
3331
|
+
export declare type ResourceGuardsGetDeleteProtectedItemRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3332
|
+
|
|
3333
|
+
/** Optional parameters. */
|
|
3334
|
+
export declare interface ResourceGuardsGetDeleteProtectedItemRequestsObjectsOptionalParams extends coreClient.OperationOptions {
|
|
3335
|
+
}
|
|
3336
|
+
|
|
3337
|
+
/** Contains response data for the getDeleteProtectedItemRequestsObjects operation. */
|
|
3338
|
+
export declare type ResourceGuardsGetDeleteProtectedItemRequestsObjectsResponse = DppBaseResourceList;
|
|
3339
|
+
|
|
3340
|
+
/** Optional parameters. */
|
|
3341
|
+
export declare interface ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsNextOptionalParams extends coreClient.OperationOptions {
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
/** Contains response data for the getDeleteResourceGuardProxyRequestsObjectsNext operation. */
|
|
3345
|
+
export declare type ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3346
|
+
|
|
3347
|
+
/** Optional parameters. */
|
|
3348
|
+
export declare interface ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsOptionalParams extends coreClient.OperationOptions {
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
/** Contains response data for the getDeleteResourceGuardProxyRequestsObjects operation. */
|
|
3352
|
+
export declare type ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsResponse = DppBaseResourceList;
|
|
3353
|
+
|
|
3354
|
+
/** Optional parameters. */
|
|
3355
|
+
export declare interface ResourceGuardsGetDisableSoftDeleteRequestsObjectsNextOptionalParams extends coreClient.OperationOptions {
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
/** Contains response data for the getDisableSoftDeleteRequestsObjectsNext operation. */
|
|
3359
|
+
export declare type ResourceGuardsGetDisableSoftDeleteRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3360
|
+
|
|
3361
|
+
/** Optional parameters. */
|
|
3362
|
+
export declare interface ResourceGuardsGetDisableSoftDeleteRequestsObjectsOptionalParams extends coreClient.OperationOptions {
|
|
3363
|
+
}
|
|
3364
|
+
|
|
3365
|
+
/** Contains response data for the getDisableSoftDeleteRequestsObjects operation. */
|
|
3366
|
+
export declare type ResourceGuardsGetDisableSoftDeleteRequestsObjectsResponse = DppBaseResourceList;
|
|
3367
|
+
|
|
3368
|
+
/** Optional parameters. */
|
|
3369
|
+
export declare interface ResourceGuardsGetOptionalParams extends coreClient.OperationOptions {
|
|
3370
|
+
}
|
|
3371
|
+
|
|
3372
|
+
/** Optional parameters. */
|
|
3373
|
+
export declare interface ResourceGuardsGetResourcesInResourceGroupNextOptionalParams extends coreClient.OperationOptions {
|
|
3374
|
+
}
|
|
3375
|
+
|
|
3376
|
+
/** Contains response data for the getResourcesInResourceGroupNext operation. */
|
|
3377
|
+
export declare type ResourceGuardsGetResourcesInResourceGroupNextResponse = ResourceGuardResourceList;
|
|
3378
|
+
|
|
3379
|
+
/** Optional parameters. */
|
|
3380
|
+
export declare interface ResourceGuardsGetResourcesInResourceGroupOptionalParams extends coreClient.OperationOptions {
|
|
3381
|
+
}
|
|
3382
|
+
|
|
3383
|
+
/** Contains response data for the getResourcesInResourceGroup operation. */
|
|
3384
|
+
export declare type ResourceGuardsGetResourcesInResourceGroupResponse = ResourceGuardResourceList;
|
|
3385
|
+
|
|
3386
|
+
/** Optional parameters. */
|
|
3387
|
+
export declare interface ResourceGuardsGetResourcesInSubscriptionNextOptionalParams extends coreClient.OperationOptions {
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
/** Contains response data for the getResourcesInSubscriptionNext operation. */
|
|
3391
|
+
export declare type ResourceGuardsGetResourcesInSubscriptionNextResponse = ResourceGuardResourceList;
|
|
3392
|
+
|
|
3393
|
+
/** Optional parameters. */
|
|
3394
|
+
export declare interface ResourceGuardsGetResourcesInSubscriptionOptionalParams extends coreClient.OperationOptions {
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
/** Contains response data for the getResourcesInSubscription operation. */
|
|
3398
|
+
export declare type ResourceGuardsGetResourcesInSubscriptionResponse = ResourceGuardResourceList;
|
|
3399
|
+
|
|
3400
|
+
/** Contains response data for the get operation. */
|
|
3401
|
+
export declare type ResourceGuardsGetResponse = ResourceGuardResource;
|
|
3402
|
+
|
|
3403
|
+
/** Optional parameters. */
|
|
3404
|
+
export declare interface ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextOptionalParams extends coreClient.OperationOptions {
|
|
3405
|
+
}
|
|
3406
|
+
|
|
3407
|
+
/** Contains response data for the getUpdateProtectedItemRequestsObjectsNext operation. */
|
|
3408
|
+
export declare type ResourceGuardsGetUpdateProtectedItemRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3409
|
+
|
|
3410
|
+
/** Optional parameters. */
|
|
3411
|
+
export declare interface ResourceGuardsGetUpdateProtectedItemRequestsObjectsOptionalParams extends coreClient.OperationOptions {
|
|
3412
|
+
}
|
|
3413
|
+
|
|
3414
|
+
/** Contains response data for the getUpdateProtectedItemRequestsObjects operation. */
|
|
3415
|
+
export declare type ResourceGuardsGetUpdateProtectedItemRequestsObjectsResponse = DppBaseResourceList;
|
|
3416
|
+
|
|
3417
|
+
/** Optional parameters. */
|
|
3418
|
+
export declare interface ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsNextOptionalParams extends coreClient.OperationOptions {
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
/** Contains response data for the getUpdateProtectionPolicyRequestsObjectsNext operation. */
|
|
3422
|
+
export declare type ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsNextResponse = DppBaseResourceList;
|
|
3423
|
+
|
|
3424
|
+
/** Optional parameters. */
|
|
3425
|
+
export declare interface ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsOptionalParams extends coreClient.OperationOptions {
|
|
3426
|
+
}
|
|
3427
|
+
|
|
3428
|
+
/** Contains response data for the getUpdateProtectionPolicyRequestsObjects operation. */
|
|
3429
|
+
export declare type ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsResponse = DppBaseResourceList;
|
|
3430
|
+
|
|
3431
|
+
/** Optional parameters. */
|
|
3432
|
+
export declare interface ResourceGuardsPatchOptionalParams extends coreClient.OperationOptions {
|
|
3433
|
+
}
|
|
3434
|
+
|
|
3435
|
+
/** Contains response data for the patch operation. */
|
|
3436
|
+
export declare type ResourceGuardsPatchResponse = ResourceGuardResource;
|
|
3437
|
+
|
|
3438
|
+
/** Optional parameters. */
|
|
3439
|
+
export declare interface ResourceGuardsPutOptionalParams extends coreClient.OperationOptions {
|
|
3440
|
+
}
|
|
3441
|
+
|
|
3442
|
+
/** Contains response data for the put operation. */
|
|
3443
|
+
export declare type ResourceGuardsPutResponse = ResourceGuardResource;
|
|
3444
|
+
|
|
3445
|
+
/** ResourceMoveDetails will be returned in response to GetResource call from ARM */
|
|
3446
|
+
export declare interface ResourceMoveDetails {
|
|
3447
|
+
/** CorrelationId of latest ResourceMove operation attempted */
|
|
3448
|
+
operationId?: string;
|
|
3449
|
+
/** Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. */
|
|
3450
|
+
startTimeUtc?: string;
|
|
3451
|
+
/** Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. */
|
|
3452
|
+
completionTimeUtc?: string;
|
|
3453
|
+
/** ARM resource path of source resource */
|
|
3454
|
+
sourceResourcePath?: string;
|
|
3455
|
+
/** ARM resource path of target resource used in latest ResourceMove operation */
|
|
3456
|
+
targetResourcePath?: string;
|
|
3457
|
+
}
|
|
3458
|
+
|
|
3459
|
+
/**
|
|
3460
|
+
* Defines values for ResourceMoveState. \
|
|
3461
|
+
* {@link KnownResourceMoveState} can be used interchangeably with ResourceMoveState,
|
|
3462
|
+
* this enum contains the known values that the service supports.
|
|
3463
|
+
* ### Known values supported by the service
|
|
3464
|
+
* **Unknown** \
|
|
3465
|
+
* **InProgress** \
|
|
3466
|
+
* **PrepareFailed** \
|
|
3467
|
+
* **CommitFailed** \
|
|
3468
|
+
* **Failed** \
|
|
3469
|
+
* **PrepareTimedout** \
|
|
3470
|
+
* **CommitTimedout** \
|
|
3471
|
+
* **CriticalFailure** \
|
|
3472
|
+
* **PartialSuccess** \
|
|
3473
|
+
* **MoveSucceeded**
|
|
3474
|
+
*/
|
|
3475
|
+
export declare type ResourceMoveState = string;
|
|
3476
|
+
|
|
3477
|
+
export declare interface RestorableTimeRange {
|
|
3478
|
+
/** Start time for the available restore range */
|
|
3479
|
+
startTime: string;
|
|
3480
|
+
/** End time for the available restore range */
|
|
3481
|
+
endTime: string;
|
|
3482
|
+
objectType?: string;
|
|
3483
|
+
}
|
|
3484
|
+
|
|
3485
|
+
/** Interface representing a RestorableTimeRanges. */
|
|
3486
|
+
export declare interface RestorableTimeRanges {
|
|
3487
|
+
/**
|
|
3488
|
+
* @param resourceGroupName The name of the resource group where the backup vault is present.
|
|
3489
|
+
* @param vaultName The name of the backup vault.
|
|
3490
|
+
* @param backupInstanceName The name of the backup instance
|
|
3491
|
+
* @param parameters Request body for operation
|
|
3492
|
+
* @param options The options parameters.
|
|
3493
|
+
*/
|
|
3494
|
+
find(resourceGroupName: string, vaultName: string, backupInstanceName: string, parameters: AzureBackupFindRestorableTimeRangesRequest, options?: RestorableTimeRangesFindOptionalParams): Promise<RestorableTimeRangesFindResponse>;
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
/** Optional parameters. */
|
|
3498
|
+
export declare interface RestorableTimeRangesFindOptionalParams extends coreClient.OperationOptions {
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
/** Contains response data for the find operation. */
|
|
3502
|
+
export declare type RestorableTimeRangesFindResponse = AzureBackupFindRestorableTimeRangesResponseResource;
|
|
3503
|
+
|
|
3504
|
+
/** Class encapsulating restore as files target parameters */
|
|
3505
|
+
export declare interface RestoreFilesTargetInfo extends RestoreTargetInfoBase {
|
|
3506
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3507
|
+
objectType: "RestoreFilesTargetInfo";
|
|
3508
|
+
/** Destination of RestoreAsFiles operation, when destination is not a datasource */
|
|
3509
|
+
targetDetails: TargetDetails;
|
|
3510
|
+
}
|
|
3511
|
+
|
|
3512
|
+
export declare interface RestoreJobRecoveryPointDetails {
|
|
3513
|
+
recoveryPointID?: string;
|
|
3514
|
+
recoveryPointTime?: Date;
|
|
3515
|
+
}
|
|
3516
|
+
|
|
3517
|
+
/**
|
|
3518
|
+
* Defines values for RestoreSourceDataStoreType. \
|
|
3519
|
+
* {@link KnownRestoreSourceDataStoreType} can be used interchangeably with RestoreSourceDataStoreType,
|
|
3520
|
+
* this enum contains the known values that the service supports.
|
|
3521
|
+
* ### Known values supported by the service
|
|
3522
|
+
* **OperationalStore** \
|
|
3523
|
+
* **VaultStore** \
|
|
3524
|
+
* **ArchiveStore**
|
|
3525
|
+
*/
|
|
3526
|
+
export declare type RestoreSourceDataStoreType = string;
|
|
3527
|
+
|
|
3528
|
+
/** Class encapsulating restore target parameters */
|
|
3529
|
+
export declare interface RestoreTargetInfo extends RestoreTargetInfoBase {
|
|
3530
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3531
|
+
objectType: "RestoreTargetInfo";
|
|
3532
|
+
/** Information of target DS */
|
|
3533
|
+
datasourceInfo: Datasource;
|
|
3534
|
+
/** Information of target DS Set */
|
|
3535
|
+
datasourceSetInfo?: DatasourceSet;
|
|
3536
|
+
/** Credentials to use to authenticate with data source provider. */
|
|
3537
|
+
datasourceAuthCredentials?: AuthCredentialsUnion;
|
|
3538
|
+
}
|
|
3539
|
+
|
|
3540
|
+
/** Base class common to RestoreTargetInfo and RestoreFilesTargetInfo */
|
|
3541
|
+
export declare interface RestoreTargetInfoBase {
|
|
3542
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3543
|
+
objectType: "ItemLevelRestoreTargetInfo" | "RestoreFilesTargetInfo" | "RestoreTargetInfo";
|
|
3544
|
+
/** Recovery Option */
|
|
3545
|
+
recoveryOption: RecoveryOption;
|
|
3546
|
+
/** Target Restore region */
|
|
3547
|
+
restoreLocation?: string;
|
|
3548
|
+
}
|
|
3549
|
+
|
|
3550
|
+
export declare type RestoreTargetInfoBaseUnion = RestoreTargetInfoBase | ItemLevelRestoreTargetInfo | RestoreFilesTargetInfo | RestoreTargetInfo;
|
|
3551
|
+
|
|
3552
|
+
/**
|
|
3553
|
+
* Defines values for RestoreTargetLocationType. \
|
|
3554
|
+
* {@link KnownRestoreTargetLocationType} can be used interchangeably with RestoreTargetLocationType,
|
|
3555
|
+
* this enum contains the known values that the service supports.
|
|
3556
|
+
* ### Known values supported by the service
|
|
3557
|
+
* **Invalid** \
|
|
3558
|
+
* **AzureBlobs** \
|
|
3559
|
+
* **AzureFiles**
|
|
3560
|
+
*/
|
|
3561
|
+
export declare type RestoreTargetLocationType = string;
|
|
3562
|
+
|
|
3563
|
+
/** Retention tag */
|
|
3564
|
+
export declare interface RetentionTag {
|
|
3565
|
+
/**
|
|
3566
|
+
* Retention Tag version.
|
|
3567
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3568
|
+
*/
|
|
3569
|
+
readonly eTag?: string;
|
|
3570
|
+
/**
|
|
3571
|
+
* Retention Tag version.
|
|
3572
|
+
* NOTE: This property will not be serialized. It can only be populated by the server.
|
|
3573
|
+
*/
|
|
3574
|
+
readonly id?: string;
|
|
3575
|
+
/** Retention Tag Name to relate it to retention rule. */
|
|
3576
|
+
tagName: string;
|
|
3577
|
+
}
|
|
3578
|
+
|
|
3579
|
+
/** Schedule based backup criteria */
|
|
3580
|
+
export declare interface ScheduleBasedBackupCriteria extends BackupCriteria {
|
|
3581
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3582
|
+
objectType: "ScheduleBasedBackupCriteria";
|
|
3583
|
+
/**
|
|
3584
|
+
* it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth"
|
|
3585
|
+
* and should be part of AbsoluteMarker enum
|
|
3586
|
+
*/
|
|
3587
|
+
absoluteCriteria?: AbsoluteMarker[];
|
|
3588
|
+
/** This is day of the month from 1 to 28 other wise last of month */
|
|
3589
|
+
daysOfMonth?: Day[];
|
|
3590
|
+
/** It should be Sunday/Monday/T..../Saturday */
|
|
3591
|
+
daysOfTheWeek?: DayOfWeek[];
|
|
3592
|
+
/** It should be January/February/....../December */
|
|
3593
|
+
monthsOfYear?: Month[];
|
|
3594
|
+
/** List of schedule times for backup */
|
|
3595
|
+
scheduleTimes?: Date[];
|
|
3596
|
+
/** It should be First/Second/Third/Fourth/Last */
|
|
3597
|
+
weeksOfTheMonth?: WeekNumber[];
|
|
3598
|
+
}
|
|
3599
|
+
|
|
3600
|
+
/** Schedule based trigger context */
|
|
3601
|
+
export declare interface ScheduleBasedTriggerContext extends TriggerContext {
|
|
3602
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3603
|
+
objectType: "ScheduleBasedTriggerContext";
|
|
3604
|
+
/** Schedule for this backup */
|
|
3605
|
+
schedule: BackupSchedule;
|
|
3606
|
+
/** List of tags that can be applicable for given schedule. */
|
|
3607
|
+
taggingCriteria: TaggingCriteria[];
|
|
3608
|
+
}
|
|
3609
|
+
|
|
3610
|
+
/** Secret store based authentication credentials. */
|
|
3611
|
+
export declare interface SecretStoreBasedAuthCredentials extends AuthCredentials {
|
|
3612
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3613
|
+
objectType: "SecretStoreBasedAuthCredentials";
|
|
3614
|
+
/** Secret store resource */
|
|
3615
|
+
secretStoreResource?: SecretStoreResource;
|
|
3616
|
+
}
|
|
3617
|
+
|
|
3618
|
+
/** Class representing a secret store resource. */
|
|
3619
|
+
export declare interface SecretStoreResource {
|
|
3620
|
+
/** Uri to get to the resource */
|
|
3621
|
+
uri?: string;
|
|
3622
|
+
/** Gets or sets the type of secret store */
|
|
3623
|
+
secretStoreType: SecretStoreType;
|
|
3624
|
+
/** Gets or sets value stored in secret store resource */
|
|
3625
|
+
value?: string;
|
|
3626
|
+
}
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* Defines values for SecretStoreType. \
|
|
3630
|
+
* {@link KnownSecretStoreType} can be used interchangeably with SecretStoreType,
|
|
3631
|
+
* this enum contains the known values that the service supports.
|
|
3632
|
+
* ### Known values supported by the service
|
|
3633
|
+
* **Invalid** \
|
|
3634
|
+
* **AzureKeyVault**
|
|
3635
|
+
*/
|
|
3636
|
+
export declare type SecretStoreType = string;
|
|
3637
|
+
|
|
3638
|
+
/** Class containing security settings of vault */
|
|
3639
|
+
export declare interface SecuritySettings {
|
|
3640
|
+
/** Soft delete related settings */
|
|
3641
|
+
softDeleteSettings?: SoftDeleteSettings;
|
|
3642
|
+
/** Immutability Settings at vault level */
|
|
3643
|
+
immutabilitySettings?: ImmutabilitySettings;
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
/** Soft delete related settings */
|
|
3647
|
+
export declare interface SoftDeleteSettings {
|
|
3648
|
+
/** State of soft delete */
|
|
3649
|
+
state?: SoftDeleteState;
|
|
3650
|
+
/** Soft delete retention duration */
|
|
3651
|
+
retentionDurationInDays?: number;
|
|
3652
|
+
}
|
|
3653
|
+
|
|
3654
|
+
/**
|
|
3655
|
+
* Defines values for SoftDeleteState. \
|
|
3656
|
+
* {@link KnownSoftDeleteState} can be used interchangeably with SoftDeleteState,
|
|
3657
|
+
* this enum contains the known values that the service supports.
|
|
3658
|
+
* ### Known values supported by the service
|
|
3659
|
+
* **Off**: Soft Delete is turned off for the BackupVault \
|
|
3660
|
+
* **On**: Soft Delete is enabled for the BackupVault but can be turned off \
|
|
3661
|
+
* **AlwaysOn**: Soft Delete is permanently enabled for the BackupVault and the setting cannot be changed
|
|
3662
|
+
*/
|
|
3663
|
+
export declare type SoftDeleteState = string;
|
|
3664
|
+
|
|
3665
|
+
/**
|
|
3666
|
+
* Defines values for SourceDataStoreType. \
|
|
3667
|
+
* {@link KnownSourceDataStoreType} can be used interchangeably with SourceDataStoreType,
|
|
3668
|
+
* this enum contains the known values that the service supports.
|
|
3669
|
+
* ### Known values supported by the service
|
|
3670
|
+
* **ArchiveStore** \
|
|
3671
|
+
* **SnapshotStore** \
|
|
3672
|
+
* **VaultStore**
|
|
3673
|
+
*/
|
|
3674
|
+
export declare type SourceDataStoreType = string;
|
|
3675
|
+
|
|
3676
|
+
/** Source LifeCycle */
|
|
3677
|
+
export declare interface SourceLifeCycle {
|
|
3678
|
+
/** Delete Option */
|
|
3679
|
+
deleteAfter: DeleteOptionUnion;
|
|
3680
|
+
/** DataStoreInfo base */
|
|
3681
|
+
sourceDataStore: DataStoreInfoBase;
|
|
3682
|
+
targetDataStoreCopySettings?: TargetCopySetting[];
|
|
3683
|
+
}
|
|
3684
|
+
|
|
3685
|
+
/**
|
|
3686
|
+
* Defines values for Status. \
|
|
3687
|
+
* {@link KnownStatus} can be used interchangeably with Status,
|
|
3688
|
+
* this enum contains the known values that the service supports.
|
|
3689
|
+
* ### Known values supported by the service
|
|
3690
|
+
* **ConfiguringProtection** \
|
|
3691
|
+
* **ConfiguringProtectionFailed** \
|
|
3692
|
+
* **ProtectionConfigured** \
|
|
3693
|
+
* **ProtectionStopped** \
|
|
3694
|
+
* **SoftDeleted** \
|
|
3695
|
+
* **SoftDeleting**
|
|
3696
|
+
*/
|
|
3697
|
+
export declare type Status = string;
|
|
3698
|
+
|
|
3699
|
+
/** Storage setting */
|
|
3700
|
+
export declare interface StorageSetting {
|
|
3701
|
+
/** Gets or sets the type of the datastore. */
|
|
3702
|
+
datastoreType?: StorageSettingStoreTypes;
|
|
3703
|
+
/** Gets or sets the type. */
|
|
3704
|
+
type?: StorageSettingTypes;
|
|
3705
|
+
}
|
|
3706
|
+
|
|
3707
|
+
/**
|
|
3708
|
+
* Defines values for StorageSettingStoreTypes. \
|
|
3709
|
+
* {@link KnownStorageSettingStoreTypes} can be used interchangeably with StorageSettingStoreTypes,
|
|
3710
|
+
* this enum contains the known values that the service supports.
|
|
3711
|
+
* ### Known values supported by the service
|
|
3712
|
+
* **ArchiveStore** \
|
|
3713
|
+
* **SnapshotStore** \
|
|
3714
|
+
* **VaultStore**
|
|
3715
|
+
*/
|
|
3716
|
+
export declare type StorageSettingStoreTypes = string;
|
|
3717
|
+
|
|
3718
|
+
/**
|
|
3719
|
+
* Defines values for StorageSettingTypes. \
|
|
3720
|
+
* {@link KnownStorageSettingTypes} can be used interchangeably with StorageSettingTypes,
|
|
3721
|
+
* this enum contains the known values that the service supports.
|
|
3722
|
+
* ### Known values supported by the service
|
|
3723
|
+
* **GeoRedundant** \
|
|
3724
|
+
* **LocallyRedundant** \
|
|
3725
|
+
* **ZoneRedundant**
|
|
3726
|
+
*/
|
|
3727
|
+
export declare type StorageSettingTypes = string;
|
|
3728
|
+
|
|
3729
|
+
/** Elements class for feature request */
|
|
3730
|
+
export declare interface SupportedFeature {
|
|
3731
|
+
/** support feature type. */
|
|
3732
|
+
featureName?: string;
|
|
3733
|
+
/** feature support status */
|
|
3734
|
+
supportStatus?: FeatureSupportStatus;
|
|
3735
|
+
/** support feature type. */
|
|
3736
|
+
exposureControlledFeatures?: string[];
|
|
3737
|
+
}
|
|
3738
|
+
|
|
3739
|
+
/** Sync BackupInstance Request */
|
|
3740
|
+
export declare interface SyncBackupInstanceRequest {
|
|
3741
|
+
/** Field indicating sync type e.g. to sync only in case of failure or in all cases */
|
|
3742
|
+
syncType?: SyncType;
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* Defines values for SyncType. \
|
|
3747
|
+
* {@link KnownSyncType} can be used interchangeably with SyncType,
|
|
3748
|
+
* this enum contains the known values that the service supports.
|
|
3749
|
+
* ### Known values supported by the service
|
|
3750
|
+
* **Default** \
|
|
3751
|
+
* **ForceResync**
|
|
3752
|
+
*/
|
|
3753
|
+
export declare type SyncType = string;
|
|
3754
|
+
|
|
3755
|
+
/** Metadata pertaining to creation and last modification of the resource. */
|
|
3756
|
+
export declare interface SystemData {
|
|
3757
|
+
/** The identity that created the resource. */
|
|
3758
|
+
createdBy?: string;
|
|
3759
|
+
/** The type of identity that created the resource. */
|
|
3760
|
+
createdByType?: CreatedByType;
|
|
3761
|
+
/** The timestamp of resource creation (UTC). */
|
|
3762
|
+
createdAt?: Date;
|
|
3763
|
+
/** The identity that last modified the resource. */
|
|
3764
|
+
lastModifiedBy?: string;
|
|
3765
|
+
/** The type of identity that last modified the resource. */
|
|
3766
|
+
lastModifiedByType?: CreatedByType;
|
|
3767
|
+
/** The type of identity that last modified the resource. */
|
|
3768
|
+
lastModifiedAt?: Date;
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
/** Tagging criteria */
|
|
3772
|
+
export declare interface TaggingCriteria {
|
|
3773
|
+
/** Criteria which decides whether the tag can be applied to a triggered backup. */
|
|
3774
|
+
criteria?: BackupCriteriaUnion[];
|
|
3775
|
+
/** Specifies if tag is default. */
|
|
3776
|
+
isDefault: boolean;
|
|
3777
|
+
/** Retention Tag priority. */
|
|
3778
|
+
taggingPriority: number;
|
|
3779
|
+
/** Retention tag information */
|
|
3780
|
+
tagInfo: RetentionTag;
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
/** Target copy settings */
|
|
3784
|
+
export declare interface TargetCopySetting {
|
|
3785
|
+
/** It can be CustomCopyOption or ImmediateCopyOption. */
|
|
3786
|
+
copyAfter: CopyOptionUnion;
|
|
3787
|
+
/** Info of target datastore */
|
|
3788
|
+
dataStore: DataStoreInfoBase;
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
/** Class encapsulating target details, used where the destination is not a datasource */
|
|
3792
|
+
export declare interface TargetDetails {
|
|
3793
|
+
/**
|
|
3794
|
+
* Restore operation may create multiple files inside location pointed by Url
|
|
3795
|
+
* Below will be the common prefix for all of them
|
|
3796
|
+
*/
|
|
3797
|
+
filePrefix: string;
|
|
3798
|
+
/**
|
|
3799
|
+
* Denotes the target location where the data will be restored,
|
|
3800
|
+
* string value for the enum {Microsoft.Internal.AzureBackup.DataProtection.Common.Interface.RestoreTargetLocationType}
|
|
3801
|
+
*/
|
|
3802
|
+
restoreTargetLocationType: RestoreTargetLocationType;
|
|
3803
|
+
/** Url denoting the restore destination. It can point to container / file share etc */
|
|
3804
|
+
url: string;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
/** Trigger backup request */
|
|
3808
|
+
export declare interface TriggerBackupRequest {
|
|
3809
|
+
/** Name for the Rule of the Policy which needs to be applied for this backup */
|
|
3810
|
+
backupRuleOptions: AdHocBackupRuleOptions;
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3813
|
+
/** Trigger context */
|
|
3814
|
+
export declare interface TriggerContext {
|
|
3815
|
+
/** Polymorphic discriminator, which specifies the different types this object can be */
|
|
3816
|
+
objectType: "AdhocBasedTriggerContext" | "ScheduleBasedTriggerContext";
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
export declare type TriggerContextUnion = TriggerContext | AdhocBasedTriggerContext | ScheduleBasedTriggerContext;
|
|
3820
|
+
|
|
3821
|
+
/** Request body of unlock delete API. */
|
|
3822
|
+
export declare interface UnlockDeleteRequest {
|
|
3823
|
+
resourceGuardOperationRequests?: string[];
|
|
3824
|
+
resourceToBeDeleted?: string;
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
/** Response of Unlock Delete API. */
|
|
3828
|
+
export declare interface UnlockDeleteResponse {
|
|
3829
|
+
/** This is the time when unlock delete privileges will get expired. */
|
|
3830
|
+
unlockDeleteExpiryTime?: string;
|
|
3831
|
+
}
|
|
3832
|
+
|
|
3833
|
+
/** Error object used by layers that have access to localized content, and propagate that to user */
|
|
3834
|
+
export declare interface UserFacingError {
|
|
3835
|
+
/** Unique code for this error */
|
|
3836
|
+
code?: string;
|
|
3837
|
+
/** Additional related Errors */
|
|
3838
|
+
details?: UserFacingError[];
|
|
3839
|
+
/** Inner Error */
|
|
3840
|
+
innerError?: InnerError;
|
|
3841
|
+
/** Whether the operation will be retryable or not */
|
|
3842
|
+
isRetryable?: boolean;
|
|
3843
|
+
/** Whether the operation is due to a user error or service error */
|
|
3844
|
+
isUserError?: boolean;
|
|
3845
|
+
/** Any key value pairs that can be injected inside error object */
|
|
3846
|
+
properties?: {
|
|
3847
|
+
[propertyName: string]: string;
|
|
3848
|
+
};
|
|
3849
|
+
message?: string;
|
|
3850
|
+
/** RecommendedAction � localized. */
|
|
3851
|
+
recommendedAction?: string[];
|
|
3852
|
+
/** Target of the error. */
|
|
3853
|
+
target?: string;
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
/** Validate for backup request */
|
|
3857
|
+
export declare interface ValidateForBackupRequest {
|
|
3858
|
+
/** Backup Instance */
|
|
3859
|
+
backupInstance: BackupInstance;
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
/** Validate restore request object */
|
|
3863
|
+
export declare interface ValidateRestoreRequestObject {
|
|
3864
|
+
/** Gets or sets the restore request object. */
|
|
3865
|
+
restoreRequestObject: AzureBackupRestoreRequestUnion;
|
|
3866
|
+
}
|
|
3867
|
+
|
|
3868
|
+
/**
|
|
3869
|
+
* Defines values for ValidationType. \
|
|
3870
|
+
* {@link KnownValidationType} can be used interchangeably with ValidationType,
|
|
3871
|
+
* this enum contains the known values that the service supports.
|
|
3872
|
+
* ### Known values supported by the service
|
|
3873
|
+
* **ShallowValidation** \
|
|
3874
|
+
* **DeepValidation**
|
|
3875
|
+
*/
|
|
3876
|
+
export declare type ValidationType = string;
|
|
3877
|
+
|
|
3878
|
+
/**
|
|
3879
|
+
* Defines values for WeekNumber. \
|
|
3880
|
+
* {@link KnownWeekNumber} can be used interchangeably with WeekNumber,
|
|
3881
|
+
* this enum contains the known values that the service supports.
|
|
3882
|
+
* ### Known values supported by the service
|
|
3883
|
+
* **First** \
|
|
3884
|
+
* **Fourth** \
|
|
3885
|
+
* **Last** \
|
|
3886
|
+
* **Second** \
|
|
3887
|
+
* **Third**
|
|
3888
|
+
*/
|
|
3889
|
+
export declare type WeekNumber = string;
|
|
3890
|
+
|
|
3891
|
+
export { }
|