vmwarevcentervms

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package vmwarevcentervms contains methods related to VmwareVcenterVms

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VmwareVcenterVmsV1

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

VmwareVcenterVmsV1 represents a custom type struct

func (*VmwareVcenterVmsV1) ListVmwareVcenterVms

func (v *VmwareVcenterVmsV1) ListVmwareVcenterVms(
	vcenterId string,
	limit *int64,
	start *string,
	filter *string,
	embed *string) (
	*models.ListVmsResponse, *apiutils.APIError)

ListVmwareVcenterVms Returns a list of VMs in the specified vCenter server.

func (*VmwareVcenterVmsV1) ReadVmwareVcenterVm

func (v *VmwareVcenterVmsV1) ReadVmwareVcenterVm(
	vcenterId string,
	vmId string,
	embed *string) (
	*models.ReadVmResponse, *apiutils.APIError)

ReadVmwareVcenterVm Returns a representation of the specified VM.

type VmwareVcenterVmsV1Client

type VmwareVcenterVmsV1Client interface {
	// ListVmwareVcenterVms Returns a list of VMs in the specified vCenter server.
	ListVmwareVcenterVms(
		vcenterId string,
		limit *int64,
		start *string,
		filter *string,
		embed *string) (
		*models.ListVmsResponse, *apiutils.APIError)

	// ReadVmwareVcenterVm Returns a representation of the specified VM.
	ReadVmwareVcenterVm(
		vcenterId string,
		vmId string,
		embed *string) (
		*models.ReadVmResponse, *apiutils.APIError)
}

VmwareVcenterVmsV1Client represents a custom type interface

func NewVmwareVcenterVmsV1

func NewVmwareVcenterVmsV1(config config.Config) VmwareVcenterVmsV1Client

NewVmwareVcenterVmsV1 returns VmwareVcenterVmsV1Client

Jump to

Keyboard shortcuts

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