restoredprotectiongroups

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package restoredprotectiongroups contains methods related to RestoredProtectionGroups

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RestoredProtectionGroupsV1

type RestoredProtectionGroupsV1 struct {
	// contains filtered or unexported fields
}

RestoredProtectionGroupsV1 represents a custom type struct

func (*RestoredProtectionGroupsV1) PreviewDetailsProtectionGroup added in v0.6.0

func (r *RestoredProtectionGroupsV1) PreviewDetailsProtectionGroup(
	protectionGroupId string,
	previewId string) (
	*models.PreviewDetailsProtectionGroupResponse, *apiutils.APIError)

PreviewDetailsProtectionGroup Details for protection group bucket restore preview

func (*RestoredProtectionGroupsV1) PreviewProtectionGroup added in v0.6.0

func (r *RestoredProtectionGroupsV1) PreviewProtectionGroup(
	protectionGroupId string,
	body models.PreviewProtectionGroupV1Request) (
	*models.PreviewProtectionGroupResponseWrapper, *apiutils.APIError)

PreviewProtectionGroup Preview a protection group restore.

func (*RestoredProtectionGroupsV1) RestoreProtectionGroup

func (r *RestoredProtectionGroupsV1) RestoreProtectionGroup(
	embed *string,
	body models.RestoreProtectionGroupV1Request) (
	*models.RestoreProtectionGroupResponse, *apiutils.APIError)

RestoreProtectionGroup Restores the specified protection group backup to the specified target destination.

func (*RestoredProtectionGroupsV1) RestoreProtectionGroupS3Objects added in v0.6.0

func (r *RestoredProtectionGroupsV1) RestoreProtectionGroupS3Objects(
	protectionGroupId string,
	embed *string,
	body models.RestoreProtectionGroupS3ObjectsV1Request) (
	*models.RestoreObjectsResponse, *apiutils.APIError)

RestoreProtectionGroupS3Objects Restores the specified list of S3 objects to the specified target destination.

type RestoredProtectionGroupsV1Client

type RestoredProtectionGroupsV1Client interface {
	// RestoreProtectionGroup Restores the specified protection group backup to the specified target destination.
	RestoreProtectionGroup(
		embed *string,
		body models.RestoreProtectionGroupV1Request) (
		*models.RestoreProtectionGroupResponse, *apiutils.APIError)

	// PreviewProtectionGroup Preview a protection group restore.
	PreviewProtectionGroup(
		protectionGroupId string,
		body models.PreviewProtectionGroupV1Request) (
		*models.PreviewProtectionGroupResponseWrapper, *apiutils.APIError)

	// PreviewDetailsProtectionGroup Details for protection group bucket restore preview
	PreviewDetailsProtectionGroup(
		protectionGroupId string,
		previewId string) (
		*models.PreviewDetailsProtectionGroupResponse, *apiutils.APIError)

	// RestoreProtectionGroupS3Objects Restores the specified list of S3 objects to the specified target destination.
	RestoreProtectionGroupS3Objects(
		protectionGroupId string,
		embed *string,
		body models.RestoreProtectionGroupS3ObjectsV1Request) (
		*models.RestoreObjectsResponse, *apiutils.APIError)
}

RestoredProtectionGroupsV1Client represents a custom type interface

func NewRestoredProtectionGroupsV1

func NewRestoredProtectionGroupsV1(config config.Config) RestoredProtectionGroupsV1Client

NewRestoredProtectionGroupsV1 returns RestoredProtectionGroupsV1Client

Jump to

Keyboard shortcuts

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