Documentation
¶
Overview ¶
Package managementgroups contains methods related to ManagementGroups
Index ¶
- type ManagementGroupsV1
- func (m *ManagementGroupsV1) ListManagementGroups(limit *int64, start *string) (*models.ListManagementGroupsResponse, *apiutils.APIError)
- func (m *ManagementGroupsV1) ReadManagementGroup(groupId string) (*models.ReadManagementGroupResponse, *apiutils.APIError)
- func (m *ManagementGroupsV1) UpdateManagementGroup(groupId string, body *models.UpdateManagementGroupV1Request) (*models.UpdateManagementGroupResponse, *apiutils.APIError)
- type ManagementGroupsV1Client
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
Click to show internal directories.
Click to hide internal directories.