managementgroups

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: 6 Imported by: 0

Documentation

Overview

Package managementgroups contains methods related to ManagementGroups

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagementGroupsV1

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

ManagementGroupsV1 represents a custom type struct

func (*ManagementGroupsV1) ListManagementGroups

func (m *ManagementGroupsV1) ListManagementGroups(
	limit *int64,
	start *string) (
	*models.ListManagementGroupsResponse, *apiutils.APIError)

ListManagementGroups Returns a list of management groups.

func (*ManagementGroupsV1) ReadManagementGroup

func (m *ManagementGroupsV1) ReadManagementGroup(
	groupId string) (
	*models.ReadManagementGroupResponse, *apiutils.APIError)

ReadManagementGroup Returns a representation of the specified management group. Management groups are used to

manage the SQL hosts and cloud connectors deployed in vCenter servers.

Returns a representation of the specified management-groups.

func (*ManagementGroupsV1) UpdateManagementGroup

func (m *ManagementGroupsV1) UpdateManagementGroup(
	groupId string,
	body *models.UpdateManagementGroupV1Request) (
	*models.UpdateManagementGroupResponse, *apiutils.APIError)

UpdateManagementGroup Update the specified management group.

type ManagementGroupsV1Client

type ManagementGroupsV1Client interface {
	// ListManagementGroups Returns a list of management groups.
	ListManagementGroups(
		limit *int64,
		start *string) (
		*models.ListManagementGroupsResponse, *apiutils.APIError)

	// ReadManagementGroup Returns a representation of the specified management group. Management groups are used to
	//  manage the SQL hosts and cloud connectors deployed in vCenter servers.
	//
	//  Returns a representation of the specified management-groups.
	ReadManagementGroup(
		groupId string) (
		*models.ReadManagementGroupResponse, *apiutils.APIError)

	// UpdateManagementGroup Update the specified management group.
	UpdateManagementGroup(
		groupId string,
		body *models.UpdateManagementGroupV1Request) (
		*models.UpdateManagementGroupResponse, *apiutils.APIError)
}

ManagementGroupsV1Client represents a custom type interface

func NewManagementGroupsV1

func NewManagementGroupsV1(config config.Config) ManagementGroupsV1Client

NewManagementGroupsV1 returns ManagementGroupsV1Client

Jump to

Keyboard shortcuts

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