Documentation ¶
Overview ¶
Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/dataprotection/armdataprotection). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.
Index ¶
- type BackupInstancesClientAPI
- type BackupPoliciesClientAPI
- type BackupVaultsClientAPI
- type BaseClientAPI
- type ExportJobsClientAPI
- type ExportJobsOperationResultClientAPI
- type FindRestorableTimeRangesClientAPI
- type JobClientAPI
- type JobsClientAPI
- type OperationResultClientAPI
- type OperationsClientAPI
- type RecoveryPointClientAPI
- type RecoveryPointsClientAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupInstancesClientAPI ¶
type BackupInstancesClientAPI interface { AdhocBackup(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters dataprotection.TriggerBackupRequest) (result dataprotection.BackupInstancesAdhocBackupFuture, err error) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters dataprotection.BackupInstanceResource) (result dataprotection.BackupInstancesCreateOrUpdateFuture, err error) Delete(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string) (result dataprotection.BackupInstancesDeleteFuture, err error) Get(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string) (result dataprotection.BackupInstanceResource, err error) List(ctx context.Context, vaultName string, resourceGroupName string) (result dataprotection.BackupInstanceResourceListPage, err error) ListComplete(ctx context.Context, vaultName string, resourceGroupName string) (result dataprotection.BackupInstanceResourceListIterator, err error) TriggerRehydrate(ctx context.Context, resourceGroupName string, vaultName string, parameters dataprotection.AzureBackupRehydrationRequest, backupInstanceName string) (result dataprotection.BackupInstancesTriggerRehydrateFuture, err error) TriggerRestore(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters dataprotection.BasicAzureBackupRestoreRequest) (result dataprotection.BackupInstancesTriggerRestoreFuture, err error) ValidateForBackup(ctx context.Context, vaultName string, resourceGroupName string, parameters dataprotection.ValidateForBackupRequest) (result dataprotection.BackupInstancesValidateForBackupFuture, err error) ValidateRestore(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, parameters dataprotection.ValidateRestoreRequestObject) (result dataprotection.BackupInstancesValidateRestoreFuture, err error) }
BackupInstancesClientAPI contains the set of methods on the BackupInstancesClient type.
type BackupPoliciesClientAPI ¶
type BackupPoliciesClientAPI interface { CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string, parameters dataprotection.BaseBackupPolicyResource) (result dataprotection.BaseBackupPolicyResource, err error) Delete(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string) (result autorest.Response, err error) Get(ctx context.Context, vaultName string, resourceGroupName string, backupPolicyName string) (result dataprotection.BaseBackupPolicyResource, err error) List(ctx context.Context, vaultName string, resourceGroupName string) (result dataprotection.BaseBackupPolicyResourceListPage, err error) ListComplete(ctx context.Context, vaultName string, resourceGroupName string) (result dataprotection.BaseBackupPolicyResourceListIterator, err error) }
BackupPoliciesClientAPI contains the set of methods on the BackupPoliciesClient type.
type BackupVaultsClientAPI ¶
type BackupVaultsClientAPI interface { CheckNameAvailability(ctx context.Context, resourceGroupName string, location string, parameters dataprotection.CheckNameAvailabilityRequest) (result dataprotection.CheckNameAvailabilityResult, err error) CreateOrUpdate(ctx context.Context, vaultName string, resourceGroupName string, parameters dataprotection.BackupVaultResource) (result dataprotection.BackupVaultsCreateOrUpdateFuture, err error) Delete(ctx context.Context, vaultName string, resourceGroupName string) (result autorest.Response, err error) Get(ctx context.Context, vaultName string, resourceGroupName string) (result dataprotection.BackupVaultResource, err error) GetResourcesInResourceGroup(ctx context.Context, resourceGroupName string) (result dataprotection.BackupVaultResourceListPage, err error) GetResourcesInResourceGroupComplete(ctx context.Context, resourceGroupName string) (result dataprotection.BackupVaultResourceListIterator, err error) GetResourcesInSubscription(ctx context.Context) (result dataprotection.BackupVaultResourceListPage, err error) GetResourcesInSubscriptionComplete(ctx context.Context) (result dataprotection.BackupVaultResourceListIterator, err error) Patch(ctx context.Context, vaultName string, resourceGroupName string, parameters dataprotection.PatchResourceRequestInput) (result dataprotection.BackupVaultsPatchFuture, err error) }
BackupVaultsClientAPI contains the set of methods on the BackupVaultsClient type.
type BaseClientAPI ¶
type BaseClientAPI interface { CheckFeatureSupport(ctx context.Context, location string, parameters dataprotection.BasicFeatureValidationRequestBase) (result dataprotection.FeatureValidationResponseBaseModel, err error) GetOperationResultPatch(ctx context.Context, vaultName string, resourceGroupName string, operationID string) (result dataprotection.BackupVaultResource, err error) GetOperationStatus(ctx context.Context, location string, operationID string) (result dataprotection.OperationResource, err error) }
BaseClientAPI contains the set of methods on the BaseClient type.
type ExportJobsClientAPI ¶
type ExportJobsClientAPI interface {
Trigger(ctx context.Context, resourceGroupName string, vaultName string) (result dataprotection.ExportJobsTriggerFuture, err error)
}
ExportJobsClientAPI contains the set of methods on the ExportJobsClient type.
type ExportJobsOperationResultClientAPI ¶
type ExportJobsOperationResultClientAPI interface {
Get(ctx context.Context, resourceGroupName string, vaultName string, operationID string) (result dataprotection.ExportJobsResult, err error)
}
ExportJobsOperationResultClientAPI contains the set of methods on the ExportJobsOperationResultClient type.
type FindRestorableTimeRangesClientAPI ¶
type FindRestorableTimeRangesClientAPI interface {
Post(ctx context.Context, vaultName string, resourceGroupName string, backupInstances string, parameters dataprotection.AzureBackupFindRestorableTimeRangesRequest) (result dataprotection.AzureBackupFindRestorableTimeRangesResponseResource, err error)
}
FindRestorableTimeRangesClientAPI contains the set of methods on the FindRestorableTimeRangesClient type.
type JobClientAPI ¶
type JobClientAPI interface {
Get(ctx context.Context, resourceGroupName string, vaultName string, jobID string) (result dataprotection.AzureBackupJobResource, err error)
}
JobClientAPI contains the set of methods on the JobClient type.
type JobsClientAPI ¶
type JobsClientAPI interface { List(ctx context.Context, resourceGroupName string, vaultName string) (result dataprotection.AzureBackupJobResourceListPage, err error) ListComplete(ctx context.Context, resourceGroupName string, vaultName string) (result dataprotection.AzureBackupJobResourceListIterator, err error) }
JobsClientAPI contains the set of methods on the JobsClient type.
type OperationResultClientAPI ¶
type OperationResultClientAPI interface {
Get(ctx context.Context, operationID string, location string) (result dataprotection.OperationJobExtendedInfo, err error)
}
OperationResultClientAPI contains the set of methods on the OperationResultClient type.
type OperationsClientAPI ¶
type OperationsClientAPI interface { List(ctx context.Context) (result dataprotection.ClientDiscoveryResponsePage, err error) ListComplete(ctx context.Context) (result dataprotection.ClientDiscoveryResponseIterator, err error) }
OperationsClientAPI contains the set of methods on the OperationsClient type.
type RecoveryPointClientAPI ¶
type RecoveryPointClientAPI interface {
Get(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, recoveryPointID string) (result dataprotection.AzureBackupRecoveryPointResource, err error)
}
RecoveryPointClientAPI contains the set of methods on the RecoveryPointClient type.
type RecoveryPointsClientAPI ¶
type RecoveryPointsClientAPI interface { GetList(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (result dataprotection.AzureBackupRecoveryPointResourceListPage, err error) GetListComplete(ctx context.Context, vaultName string, resourceGroupName string, backupInstanceName string, filter string, skipToken string) (result dataprotection.AzureBackupRecoveryPointResourceListIterator, err error) }
RecoveryPointsClientAPI contains the set of methods on the RecoveryPointsClient type.