managementsubgroups

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Overview

Package managementsubgroups contains methods related to ManagementSubgroups

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagementSubgroupsV1

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

ManagementSubgroupsV1 represents a custom type struct

func (*ManagementSubgroupsV1) ListManagementSubgroups

func (m *ManagementSubgroupsV1) ListManagementSubgroups(
	groupId string,
	limit *int64,
	start *string) (
	*models.ListSubgroupsResponse, *apiutils.APIError)

ListManagementSubgroups Returns a list of subgroups.

func (*ManagementSubgroupsV1) ReadManagementSubgroup

func (m *ManagementSubgroupsV1) ReadManagementSubgroup(
	subgroupId string,
	groupId string) (
	*models.ReadSubgroupResponse, *apiutils.APIError)

ReadManagementSubgroup Subgroups are used to manage cloud connectors and SQL hosts residing in the same vCenter server.

Returns a representation of the specified subgroups.

func (*ManagementSubgroupsV1) UpdateManagementSubgroup

func (m *ManagementSubgroupsV1) UpdateManagementSubgroup(
	subgroupId string,
	groupId string,
	body *models.UpdateManagementSubgroupV1Request) (
	*models.UpdateSubgroupResponse, *apiutils.APIError)

UpdateManagementSubgroup Update the specified subgroup.

type ManagementSubgroupsV1Client

type ManagementSubgroupsV1Client interface {
	//  Returns a list of subgroups.
	ListManagementSubgroups(
		groupId string,
		limit *int64,
		start *string) (
		*models.ListSubgroupsResponse, *apiutils.APIError)

	//  Subgroups are used to manage cloud connectors and SQL hosts residing in the same vCenter server.
	//
	//  Returns a representation of the specified subgroups.
	ReadManagementSubgroup(
		subgroupId string,
		groupId string) (
		*models.ReadSubgroupResponse, *apiutils.APIError)

	//  Update the specified subgroup.
	UpdateManagementSubgroup(
		subgroupId string,
		groupId string,
		body *models.UpdateManagementSubgroupV1Request) (
		*models.UpdateSubgroupResponse, *apiutils.APIError)
}

ManagementSubgroupsV1Client represents a custom type interface

func NewManagementSubgroupsV1

func NewManagementSubgroupsV1(config config.Config) ManagementSubgroupsV1Client

NewManagementSubgroupsV1 returns ManagementSubgroupsV1Client

Jump to

Keyboard shortcuts

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