backupvmwarevms

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Overview

Package backupvmwarevms contains methods related to BackupVmwareVms

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupVmwareVmsV1

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

BackupVmwareVmsV1 represents a custom type struct

func (*BackupVmwareVmsV1) CreateBackupVmwareVm

func (b *BackupVmwareVmsV1) CreateBackupVmwareVm(
	body models.CreateBackupVmwareVmV1Request) (
	interface{}, *apiutils.APIError)

CreateBackupVmwareVm Performs an on-demand backup for the specified VM. The VM must be protected with a policy that includes a service level agreement (SLA) configured for on-demand backups.

func (*BackupVmwareVmsV1) ListBackupVmwareVms

func (b *BackupVmwareVmsV1) ListBackupVmwareVms(
	limit *int64,
	start *string,
	filter *string) (
	*models.ListVMBackupsResponse, *apiutils.APIError)

ListBackupVmwareVms Returns a list of VMware virtual machines (VMs) that have been backed up by Clumio. VM backups can be restored through the [POST /restores/vmware/vms](#operation/restore-vmware-vm) endpoint.

func (*BackupVmwareVmsV1) ReadBackupVmwareVm

func (b *BackupVmwareVmsV1) ReadBackupVmwareVm(
	backupId int64) (
	*models.ReadVMBackupResponse, *apiutils.APIError)

ReadBackupVmwareVm Returns a representation of the specified VM backup.

type BackupVmwareVmsV1Client

type BackupVmwareVmsV1Client interface {
	//  Returns a list of VMware virtual machines (VMs) that have been backed up by Clumio. VM backups can be restored through the [POST /restores/vmware/vms](#operation/restore-vmware-vm) endpoint.
	ListBackupVmwareVms(
		limit *int64,
		start *string,
		filter *string) (
		*models.ListVMBackupsResponse, *apiutils.APIError)

	//  Performs an on-demand backup for the specified VM. The VM must be protected with a policy that includes a service level agreement (SLA) configured for on-demand backups.
	CreateBackupVmwareVm(
		body models.CreateBackupVmwareVmV1Request) (
		interface{}, *apiutils.APIError)

	//  Returns a representation of the specified VM backup.
	ReadBackupVmwareVm(
		backupId int64) (
		*models.ReadVMBackupResponse, *apiutils.APIError)
}

BackupVmwareVmsV1Client represents a custom type interface

func NewBackupVmwareVmsV1

func NewBackupVmwareVmsV1(config config.Config) BackupVmwareVmsV1Client

NewBackupVmwareVmsV1 returns BackupVmwareVmsV1Client

Jump to

Keyboard shortcuts

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