dataprotectionapi

package
v0.0.0-...-1f7e97a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL