backupawsec2instances

package
v0.16.0 Latest Latest
Warning

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

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

Documentation

Overview

Package backupawsec2instances contains methods related to BackupAwsEc2Instances

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupAwsEc2InstancesV1

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

BackupAwsEc2InstancesV1 represents a custom type struct

func (*BackupAwsEc2InstancesV1) CreateBackupAwsEc2Instance

func (b *BackupAwsEc2InstancesV1) CreateBackupAwsEc2Instance(
	embed *string,
	body models.CreateBackupAwsEc2InstanceV1Request) (
	*models.OnDemandEC2BackupResponse, *apiutils.APIError)

CreateBackupAwsEc2Instance Performs an on-demand backup for the specified EC2 instance.

func (*BackupAwsEc2InstancesV1) ListBackupAwsEc2Instances

func (b *BackupAwsEc2InstancesV1) ListBackupAwsEc2Instances(
	limit *int64,
	start *string,
	sort *string,
	filter *string) (
	*models.ListEC2BackupsResponse, *apiutils.APIError)

ListBackupAwsEc2Instances Returns a list of EC2 instances that have been backed up by Clumio. EC2 instance backups can be restored through the [POST /restores/aws/ec2-instances](#operation/restore-aws-ec2-instance) endpoint.

func (*BackupAwsEc2InstancesV1) ReadBackupAwsEc2Instance

func (b *BackupAwsEc2InstancesV1) ReadBackupAwsEc2Instance(
	backupId string) (
	*models.ReadEC2BackupResponse, *apiutils.APIError)

ReadBackupAwsEc2Instance Returns a representation of the specified EC2 instance backup.

type BackupAwsEc2InstancesV1Client

type BackupAwsEc2InstancesV1Client interface {
	// ListBackupAwsEc2Instances Returns a list of EC2 instances that have been backed up by Clumio. EC2 instance backups can be restored through the [POST /restores/aws/ec2-instances](#operation/restore-aws-ec2-instance) endpoint.
	ListBackupAwsEc2Instances(
		limit *int64,
		start *string,
		sort *string,
		filter *string) (
		*models.ListEC2BackupsResponse, *apiutils.APIError)

	// CreateBackupAwsEc2Instance Performs an on-demand backup for the specified EC2 instance.
	CreateBackupAwsEc2Instance(
		embed *string,
		body models.CreateBackupAwsEc2InstanceV1Request) (
		*models.OnDemandEC2BackupResponse, *apiutils.APIError)

	// ReadBackupAwsEc2Instance Returns a representation of the specified EC2 instance backup.
	ReadBackupAwsEc2Instance(
		backupId string) (
		*models.ReadEC2BackupResponse, *apiutils.APIError)
}

BackupAwsEc2InstancesV1Client represents a custom type interface

func NewBackupAwsEc2InstancesV1

func NewBackupAwsEc2InstancesV1(config config.Config) BackupAwsEc2InstancesV1Client

NewBackupAwsEc2InstancesV1 returns BackupAwsEc2InstancesV1Client

Jump to

Keyboard shortcuts

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