vmwarevcentercomputeresources

package
v0.21.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package vmwarevcentercomputeresources contains methods related to VmwareVcenterComputeResources

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareVcenterComputeResourcesV1

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

VmwareVcenterComputeResourcesV1 represents a custom type struct

func (*VmwareVcenterComputeResourcesV1) ListVmwareVcenterComputeResources

func (v *VmwareVcenterComputeResourcesV1) ListVmwareVcenterComputeResources(
	vcenterId string,
	limit *int64,
	start *string,
	filter *string,
	embed *string) (
	*models.ListComputeResourcesResponse, *apiutils.APIError)

ListVmwareVcenterComputeResources Returns a list of VMware compute resources in the specified vCenter server.

The following table lists the supported Clumio protection statuses:

+-------------------+-------------------------------------------------------+
| Protection Status |                        Values                         |
+===================+=======================================================+
| protected         | A compute resource that is protected by a policy.     |
+-------------------+-------------------------------------------------------+
| unprotected       | A compute resource that is not protected by a policy. |
+-------------------+-------------------------------------------------------+

func (*VmwareVcenterComputeResourcesV1) ReadVmwareVcenterComputeResource

func (v *VmwareVcenterComputeResourcesV1) ReadVmwareVcenterComputeResource(
	vcenterId string,
	computeResourceId string,
	embed *string) (
	*models.ReadComputeResourceResponse, *apiutils.APIError)

ReadVmwareVcenterComputeResource Returns a representation of the specified VMware compute resource.

type VmwareVcenterComputeResourcesV1Client

type VmwareVcenterComputeResourcesV1Client interface {
	// ListVmwareVcenterComputeResources Returns a list of VMware compute resources in the specified vCenter server.
	//
	//  The following table lists the supported Clumio protection statuses:
	//
	//
	//  +-------------------+-------------------------------------------------------+
	//  | Protection Status |                        Values                         |
	//  +===================+=======================================================+
	//  | protected         | A compute resource that is protected by a policy.     |
	//  +-------------------+-------------------------------------------------------+
	//  | unprotected       | A compute resource that is not protected by a policy. |
	//  +-------------------+-------------------------------------------------------+
	//
	ListVmwareVcenterComputeResources(
		vcenterId string,
		limit *int64,
		start *string,
		filter *string,
		embed *string) (
		*models.ListComputeResourcesResponse, *apiutils.APIError)

	// ReadVmwareVcenterComputeResource Returns a representation of the specified VMware compute resource.
	ReadVmwareVcenterComputeResource(
		vcenterId string,
		computeResourceId string,
		embed *string) (
		*models.ReadComputeResourceResponse, *apiutils.APIError)
}

VmwareVcenterComputeResourcesV1Client represents a custom type interface

func NewVmwareVcenterComputeResourcesV1

func NewVmwareVcenterComputeResourcesV1(config config.Config) VmwareVcenterComputeResourcesV1Client

NewVmwareVcenterComputeResourcesV1 returns VmwareVcenterComputeResourcesV1Client

Jump to

Keyboard shortcuts

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