mssqlhosts

package
v0.19.0 Latest Latest
Warning

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

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

Documentation

Overview

Package mssqlhosts contains methods related to MssqlHosts

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MssqlHostsV1

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

MssqlHostsV1 represents a custom type struct

func (*MssqlHostsV1) CreateMssqlHostConnectionCredentials

func (m *MssqlHostsV1) CreateMssqlHostConnectionCredentials(
	body *models.CreateMssqlHostConnectionCredentialsV1Request) (
	*models.CreateHostECCredentialsResponse, *apiutils.APIError)

CreateMssqlHostConnectionCredentials Create Edge Connector Credentials for the specified MSSQL host.

func (*MssqlHostsV1) CreateMssqlHostConnections

func (m *MssqlHostsV1) CreateMssqlHostConnections(
	body *models.CreateMssqlHostConnectionsV1Request) (
	*models.CreateHcmHostResponse, *apiutils.APIError)

CreateMssqlHostConnections Create a MSSQL Connection.

func (*MssqlHostsV1) DeleteMssqlHostConnections

func (m *MssqlHostsV1) DeleteMssqlHostConnections(
	embed *string,
	body *models.DeleteMssqlHostConnectionsV1Request) (
	*models.DeleteHcmHostResponse, *apiutils.APIError)

DeleteMssqlHostConnections Delete the specified MSSQL host.

func (*MssqlHostsV1) ListMssqlHostConnections

func (m *MssqlHostsV1) ListMssqlHostConnections(
	currentCount *int64,
	filter *string,
	limit *int64,
	start *string) (
	*models.ListHcmHostsResponse, *apiutils.APIError)

ListMssqlHostConnections Returns a list of hosts

func (*MssqlHostsV1) ListMssqlHosts

func (m *MssqlHostsV1) ListMssqlHosts(
	limit *int64,
	start *string,
	filter *string,
	embed *string) (
	*models.ListMssqlHostsResponse, *apiutils.APIError)

ListMssqlHosts Returns a list of hosts

func (*MssqlHostsV1) MoveMssqlHostConnections

func (m *MssqlHostsV1) MoveMssqlHostConnections(
	embed *string,
	body *models.MoveMssqlHostConnectionsV1Request) (
	*models.MoveHcmHostsResponse, *apiutils.APIError)

MoveMssqlHostConnections Move the specified MSSQL hosts from a source Sub-Group to a destination Sub-Group.

func (*MssqlHostsV1) ReadMssqlHostConnections

func (m *MssqlHostsV1) ReadMssqlHostConnections(
	hostId string) (
	*models.ReadHcmHostResponse, *apiutils.APIError)

ReadMssqlHostConnections Returns a representation of the specified host.

func (*MssqlHostsV1) ReadMssqlHosts

func (m *MssqlHostsV1) ReadMssqlHosts(
	hostId string) (
	*models.ReadMssqlHostResponse, *apiutils.APIError)

ReadMssqlHosts Returns a representation of the specified host.

type MssqlHostsV1Client

type MssqlHostsV1Client interface {
	// ListMssqlHostConnections Returns a list of hosts
	ListMssqlHostConnections(
		currentCount *int64,
		filter *string,
		limit *int64,
		start *string) (
		*models.ListHcmHostsResponse, *apiutils.APIError)

	// CreateMssqlHostConnections Create a MSSQL Connection.
	CreateMssqlHostConnections(
		body *models.CreateMssqlHostConnectionsV1Request) (
		*models.CreateHcmHostResponse, *apiutils.APIError)

	// DeleteMssqlHostConnections Delete the specified MSSQL host.
	DeleteMssqlHostConnections(
		embed *string,
		body *models.DeleteMssqlHostConnectionsV1Request) (
		*models.DeleteHcmHostResponse, *apiutils.APIError)

	// MoveMssqlHostConnections Move the specified MSSQL hosts from a source Sub-Group to a destination Sub-Group.
	MoveMssqlHostConnections(
		embed *string,
		body *models.MoveMssqlHostConnectionsV1Request) (
		*models.MoveHcmHostsResponse, *apiutils.APIError)

	// CreateMssqlHostConnectionCredentials Create Edge Connector Credentials for the specified MSSQL host.
	CreateMssqlHostConnectionCredentials(
		body *models.CreateMssqlHostConnectionCredentialsV1Request) (
		*models.CreateHostECCredentialsResponse, *apiutils.APIError)

	// ReadMssqlHostConnections Returns a representation of the specified host.
	ReadMssqlHostConnections(
		hostId string) (
		*models.ReadHcmHostResponse, *apiutils.APIError)

	// ListMssqlHosts Returns a list of hosts
	ListMssqlHosts(
		limit *int64,
		start *string,
		filter *string,
		embed *string) (
		*models.ListMssqlHostsResponse, *apiutils.APIError)

	// ReadMssqlHosts Returns a representation of the specified host.
	ReadMssqlHosts(
		hostId string) (
		*models.ReadMssqlHostResponse, *apiutils.APIError)
}

MssqlHostsV1Client represents a custom type interface

func NewMssqlHostsV1

func NewMssqlHostsV1(config config.Config) MssqlHostsV1Client

NewMssqlHostsV1 returns MssqlHostsV1Client

Jump to

Keyboard shortcuts

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