satellitelinkv1

package
v0.0.0-...-9f76aa3 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Overview

Package satellitelinkv1 : Operations and models for the SatelliteLinkV1 service

Index

Constants

View Source
const (
	CreateEndpointsOptions_ConnType_Cloud    = "cloud"
	CreateEndpointsOptions_ConnType_Location = "location"
)

Constants associated with the CreateEndpointsOptions.ConnType property. The type of the endpoint.

View Source
const (
	CreateEndpointsOptions_ClientProtocol_Http       = "http"
	CreateEndpointsOptions_ClientProtocol_HttpTunnel = "http-tunnel"
	CreateEndpointsOptions_ClientProtocol_Https      = "https"
	CreateEndpointsOptions_ClientProtocol_Tcp        = "tcp"
	CreateEndpointsOptions_ClientProtocol_Tls        = "tls"
	CreateEndpointsOptions_ClientProtocol_Udp        = "udp"
)

Constants associated with the CreateEndpointsOptions.ClientProtocol property. The protocol in the client application side.

View Source
const (
	CreateEndpointsOptions_ServerProtocol_Tcp = "tcp"
	CreateEndpointsOptions_ServerProtocol_Tls = "tls"
	CreateEndpointsOptions_ServerProtocol_Udp = "udp"
)

Constants associated with the CreateEndpointsOptions.ServerProtocol property. The protocol in the server application side. This parameter will change to default value if it is omitted even when using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http', server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.

View Source
const (
	CreateSourcesOptions_Type_Service = "service"
	CreateSourcesOptions_Type_User    = "user"
)

Constants associated with the CreateSourcesOptions.Type property. The type of the source.

View Source
const (
	Endpoint_ConnType_Cloud    = "cloud"
	Endpoint_ConnType_Location = "location"
)

Constants associated with the Endpoint.ConnType property. The type of the endpoint.

View Source
const (
	Endpoint_ClientProtocol_Http       = "http"
	Endpoint_ClientProtocol_HttpTunnel = "http-tunnel"
	Endpoint_ClientProtocol_Https      = "https"
	Endpoint_ClientProtocol_Tcp        = "tcp"
	Endpoint_ClientProtocol_Tls        = "tls"
	Endpoint_ClientProtocol_Udp        = "udp"
)

Constants associated with the Endpoint.ClientProtocol property. The protocol in the client application side.

View Source
const (
	Endpoint_ServerProtocol_Tcp = "tcp"
	Endpoint_ServerProtocol_Tls = "tls"
	Endpoint_ServerProtocol_Udp = "udp"
)

Constants associated with the Endpoint.ServerProtocol property. The protocol in the server application side. This parameter will change to default value if it is omitted even when using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http', server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.

View Source
const (
	Endpoint_Status_Disabled = "disabled"
	Endpoint_Status_Enabled  = "enabled"
)

Constants associated with the Endpoint.Status property. Whether the Endpoint is active or not.

View Source
const (
	ExportEndpointsResponse_ConnType_Cloud    = "cloud"
	ExportEndpointsResponse_ConnType_Location = "location"
)

Constants associated with the ExportEndpointsResponse.ConnType property. The type of the endpoint.

View Source
const (
	ExportEndpointsResponse_ClientProtocol_Http       = "http"
	ExportEndpointsResponse_ClientProtocol_HttpTunnel = "http-tunnel"
	ExportEndpointsResponse_ClientProtocol_Https      = "https"
	ExportEndpointsResponse_ClientProtocol_Tcp        = "tcp"
	ExportEndpointsResponse_ClientProtocol_Tls        = "tls"
	ExportEndpointsResponse_ClientProtocol_Udp        = "udp"
)

Constants associated with the ExportEndpointsResponse.ClientProtocol property. The protocol in the client application side.

View Source
const (
	ExportEndpointsResponse_ServerProtocol_Tcp = "tcp"
	ExportEndpointsResponse_ServerProtocol_Tls = "tls"
	ExportEndpointsResponse_ServerProtocol_Udp = "udp"
)

Constants associated with the ExportEndpointsResponse.ServerProtocol property. The protocol in the server application side. This parameter will change to default value if it is omitted even when using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http', server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.

View Source
const (
	ListEndpointsOptions_Type_Disabled = "disabled"
	ListEndpointsOptions_Type_Enabled  = "enabled"
)

Constants associated with the ListEndpointsOptions.Type property. Whether to only include enabled or disabled endpoint(s). If not specified all endpoint(s) will be returned.

View Source
const (
	ListSourcesOptions_Type_Service = "service"
	ListSourcesOptions_Type_User    = "user"
)

Constants associated with the ListSourcesOptions.Type property. Type of Sources to list, all if not specified.

View Source
const (
	Location_Status_Disabled = "disabled"
	Location_Status_Enabled  = "enabled"
)

Constants associated with the Location.Status property. Enabled/Disabled.

View Source
const (
	Source_Type_Service = "service"
	Source_Type_User    = "user"
)

Constants associated with the Source.Type property. The type of the source.

View Source
const (
	UpdateEndpointsOptions_ClientProtocol_Http       = "http"
	UpdateEndpointsOptions_ClientProtocol_HttpTunnel = "http-tunnel"
	UpdateEndpointsOptions_ClientProtocol_Https      = "https"
	UpdateEndpointsOptions_ClientProtocol_Tcp        = "tcp"
	UpdateEndpointsOptions_ClientProtocol_Tls        = "tls"
	UpdateEndpointsOptions_ClientProtocol_Udp        = "udp"
)

Constants associated with the UpdateEndpointsOptions.ClientProtocol property. The protocol in the client application side.

View Source
const (
	UpdateEndpointsOptions_ServerProtocol_Tcp = "tcp"
	UpdateEndpointsOptions_ServerProtocol_Tls = "tls"
	UpdateEndpointsOptions_ServerProtocol_Udp = "udp"
)

Constants associated with the UpdateEndpointsOptions.ServerProtocol property. The protocol in the server application side. This parameter will change to default value if it is omitted even when using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http', server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.

View Source
const DefaultServiceName = "satellite_link"

DefaultServiceName is the default key used to find external configuration information.

View Source
const DefaultServiceURL = "https://api.link.satellite.cloud.ibm.com"

DefaultServiceURL is the default URL to make service requests to.

Variables

This section is empty.

Functions

func GetServiceURLForRegion

func GetServiceURLForRegion(region string) (string, error)

GetServiceURLForRegion returns the service URL to be used for the specified region

func UnmarshalAdditionalNewEndpointRequestCerts

func UnmarshalAdditionalNewEndpointRequestCerts(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCerts unmarshals an instance of AdditionalNewEndpointRequestCerts from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsClient

func UnmarshalAdditionalNewEndpointRequestCertsClient(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsClient unmarshals an instance of AdditionalNewEndpointRequestCertsClient from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsClientCert

func UnmarshalAdditionalNewEndpointRequestCertsClientCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsClientCert unmarshals an instance of AdditionalNewEndpointRequestCertsClientCert from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsConnector

func UnmarshalAdditionalNewEndpointRequestCertsConnector(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsConnector unmarshals an instance of AdditionalNewEndpointRequestCertsConnector from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsConnectorCert

func UnmarshalAdditionalNewEndpointRequestCertsConnectorCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsConnectorCert unmarshals an instance of AdditionalNewEndpointRequestCertsConnectorCert from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsConnectorKey

func UnmarshalAdditionalNewEndpointRequestCertsConnectorKey(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsConnectorKey unmarshals an instance of AdditionalNewEndpointRequestCertsConnectorKey from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsServer

func UnmarshalAdditionalNewEndpointRequestCertsServer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsServer unmarshals an instance of AdditionalNewEndpointRequestCertsServer from the specified map of raw messages.

func UnmarshalAdditionalNewEndpointRequestCertsServerCert

func UnmarshalAdditionalNewEndpointRequestCertsServerCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalAdditionalNewEndpointRequestCertsServerCert unmarshals an instance of AdditionalNewEndpointRequestCertsServerCert from the specified map of raw messages.

func UnmarshalDownloadedCerts

func UnmarshalDownloadedCerts(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDownloadedCerts unmarshals an instance of DownloadedCerts from the specified map of raw messages.

func UnmarshalDownloadedCertsCertsItem

func UnmarshalDownloadedCertsCertsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalDownloadedCertsCertsItem unmarshals an instance of DownloadedCertsCertsItem from the specified map of raw messages.

func UnmarshalEndpoint

func UnmarshalEndpoint(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpoint unmarshals an instance of Endpoint from the specified map of raw messages.

func UnmarshalEndpointCerts

func UnmarshalEndpointCerts(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCerts unmarshals an instance of EndpointCerts from the specified map of raw messages.

func UnmarshalEndpointCertsClient

func UnmarshalEndpointCertsClient(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsClient unmarshals an instance of EndpointCertsClient from the specified map of raw messages.

func UnmarshalEndpointCertsClientCert

func UnmarshalEndpointCertsClientCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsClientCert unmarshals an instance of EndpointCertsClientCert from the specified map of raw messages.

func UnmarshalEndpointCertsConnector

func UnmarshalEndpointCertsConnector(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsConnector unmarshals an instance of EndpointCertsConnector from the specified map of raw messages.

func UnmarshalEndpointCertsConnectorCert

func UnmarshalEndpointCertsConnectorCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsConnectorCert unmarshals an instance of EndpointCertsConnectorCert from the specified map of raw messages.

func UnmarshalEndpointCertsConnectorKey

func UnmarshalEndpointCertsConnectorKey(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsConnectorKey unmarshals an instance of EndpointCertsConnectorKey from the specified map of raw messages.

func UnmarshalEndpointCertsServer

func UnmarshalEndpointCertsServer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsServer unmarshals an instance of EndpointCertsServer from the specified map of raw messages.

func UnmarshalEndpointCertsServerCert

func UnmarshalEndpointCertsServerCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointCertsServerCert unmarshals an instance of EndpointCertsServerCert from the specified map of raw messages.

func UnmarshalEndpointPerformance

func UnmarshalEndpointPerformance(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointPerformance unmarshals an instance of EndpointPerformance from the specified map of raw messages.

func UnmarshalEndpointPerformanceConnectorsItem

func UnmarshalEndpointPerformanceConnectorsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointPerformanceConnectorsItem unmarshals an instance of EndpointPerformanceConnectorsItem from the specified map of raw messages.

func UnmarshalEndpointSourceStatus

func UnmarshalEndpointSourceStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointSourceStatus unmarshals an instance of EndpointSourceStatus from the specified map of raw messages.

func UnmarshalEndpointSourceStatusEndpointsItem

func UnmarshalEndpointSourceStatusEndpointsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpointSourceStatusEndpointsItem unmarshals an instance of EndpointSourceStatusEndpointsItem from the specified map of raw messages.

func UnmarshalEndpoints

func UnmarshalEndpoints(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalEndpoints unmarshals an instance of Endpoints from the specified map of raw messages.

func UnmarshalExecutionResult

func UnmarshalExecutionResult(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalExecutionResult unmarshals an instance of ExecutionResult from the specified map of raw messages.

func UnmarshalExportEndpointsResponse

func UnmarshalExportEndpointsResponse(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalExportEndpointsResponse unmarshals an instance of ExportEndpointsResponse from the specified map of raw messages.

func UnmarshalLocation

func UnmarshalLocation(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLocation unmarshals an instance of Location from the specified map of raw messages.

func UnmarshalLocationPerformance

func UnmarshalLocationPerformance(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLocationPerformance unmarshals an instance of LocationPerformance from the specified map of raw messages.

func UnmarshalLocationPerformanceConnectorsItem

func UnmarshalLocationPerformanceConnectorsItem(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalLocationPerformanceConnectorsItem unmarshals an instance of LocationPerformanceConnectorsItem from the specified map of raw messages.

func UnmarshalSource

func UnmarshalSource(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSource unmarshals an instance of Source from the specified map of raw messages.

func UnmarshalSourceStatus

func UnmarshalSourceStatus(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSourceStatus unmarshals an instance of SourceStatus from the specified map of raw messages.

func UnmarshalSourceStatusObject

func UnmarshalSourceStatusObject(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSourceStatusObject unmarshals an instance of SourceStatusObject from the specified map of raw messages.

func UnmarshalSourceStatusRequestObject

func UnmarshalSourceStatusRequestObject(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSourceStatusRequestObject unmarshals an instance of SourceStatusRequestObject from the specified map of raw messages.

func UnmarshalSources

func UnmarshalSources(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalSources unmarshals an instance of Sources from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCerts

func UnmarshalUpdatedEndpointRequestCerts(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCerts unmarshals an instance of UpdatedEndpointRequestCerts from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsClient

func UnmarshalUpdatedEndpointRequestCertsClient(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsClient unmarshals an instance of UpdatedEndpointRequestCertsClient from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsClientCert

func UnmarshalUpdatedEndpointRequestCertsClientCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsClientCert unmarshals an instance of UpdatedEndpointRequestCertsClientCert from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsConnector

func UnmarshalUpdatedEndpointRequestCertsConnector(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsConnector unmarshals an instance of UpdatedEndpointRequestCertsConnector from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsConnectorCert

func UnmarshalUpdatedEndpointRequestCertsConnectorCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsConnectorCert unmarshals an instance of UpdatedEndpointRequestCertsConnectorCert from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsConnectorKey

func UnmarshalUpdatedEndpointRequestCertsConnectorKey(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsConnectorKey unmarshals an instance of UpdatedEndpointRequestCertsConnectorKey from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsServer

func UnmarshalUpdatedEndpointRequestCertsServer(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsServer unmarshals an instance of UpdatedEndpointRequestCertsServer from the specified map of raw messages.

func UnmarshalUpdatedEndpointRequestCertsServerCert

func UnmarshalUpdatedEndpointRequestCertsServerCert(m map[string]json.RawMessage, result interface{}) (err error)

UnmarshalUpdatedEndpointRequestCertsServerCert unmarshals an instance of UpdatedEndpointRequestCertsServerCert from the specified map of raw messages.

Types

type AdditionalNewEndpointRequestCerts

type AdditionalNewEndpointRequestCerts struct {
	// The CA which Satellite Link trust when receiving the connection from the client application.
	Client *AdditionalNewEndpointRequestCertsClient `json:"client,omitempty"`

	// The CA which Satellite Link trust when sending the connection to server application.
	Server *AdditionalNewEndpointRequestCertsServer `json:"server,omitempty"`

	// The cert which Satellite Link connector provide to identify itself for connecting to the client/server application.
	Connector *AdditionalNewEndpointRequestCertsConnector `json:"connector,omitempty"`
}

AdditionalNewEndpointRequestCerts : The certs.

type AdditionalNewEndpointRequestCertsClient

type AdditionalNewEndpointRequestCertsClient struct {
	// The root cert or the self-signed cert of the client application.
	Cert *AdditionalNewEndpointRequestCertsClientCert `json:"cert,omitempty"`
}

AdditionalNewEndpointRequestCertsClient : The CA which Satellite Link trust when receiving the connection from the client application.

type AdditionalNewEndpointRequestCertsClientCert

type AdditionalNewEndpointRequestCertsClientCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`

	// The content of the cert. The certificate file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

AdditionalNewEndpointRequestCertsClientCert : The root cert or the self-signed cert of the client application.

type AdditionalNewEndpointRequestCertsConnector

type AdditionalNewEndpointRequestCertsConnector struct {
	// The end-entity cert. This is required when the key is defined.
	Cert *AdditionalNewEndpointRequestCertsConnectorCert `json:"cert,omitempty"`

	// The private key of the end-entity certificate. This is required when the cert is defined.
	Key *AdditionalNewEndpointRequestCertsConnectorKey `json:"key,omitempty"`
}

AdditionalNewEndpointRequestCertsConnector : The cert which Satellite Link connector provide to identify itself for connecting to the client/server application.

type AdditionalNewEndpointRequestCertsConnectorCert

type AdditionalNewEndpointRequestCertsConnectorCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`

	// The content of the cert. The certificate file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

AdditionalNewEndpointRequestCertsConnectorCert : The end-entity cert. This is required when the key is defined.

type AdditionalNewEndpointRequestCertsConnectorKey

type AdditionalNewEndpointRequestCertsConnectorKey struct {
	// The name of the key.
	Filename *string `json:"filename,omitempty"`

	// The content of the key. The private key file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

AdditionalNewEndpointRequestCertsConnectorKey : The private key of the end-entity certificate. This is required when the cert is defined.

type AdditionalNewEndpointRequestCertsServer

type AdditionalNewEndpointRequestCertsServer struct {
	// The root cert or the self-signed cert of the server application.
	Cert *AdditionalNewEndpointRequestCertsServerCert `json:"cert,omitempty"`
}

AdditionalNewEndpointRequestCertsServer : The CA which Satellite Link trust when sending the connection to server application.

type AdditionalNewEndpointRequestCertsServerCert

type AdditionalNewEndpointRequestCertsServerCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`

	// The content of the cert. The certificate file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

AdditionalNewEndpointRequestCertsServerCert : The root cert or the self-signed cert of the server application.

type CreateEndpointsOptions

type CreateEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The type of the endpoint.
	ConnType *string

	// The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character,
	// can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	DisplayName *string

	// The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' ,
	// which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and
	// 'www.example.com'.
	ServerHost *string

	// The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such
	// as 0 is good for 80 (http) and 443 (https).
	ServerPort *int64

	// The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires
	// SNI.
	Sni *string

	// The protocol in the client application side.
	ClientProtocol *string

	// Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is
	// required.
	ClientMutualAuth *bool

	// The protocol in the server application side. This parameter will change to default value if it is omitted even when
	// using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http',
	// server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol
	// could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.
	ServerProtocol *string

	// Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required.
	ServerMutualAuth *bool

	// Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the
	// fields certs.server_cert.
	RejectUnauth *bool

	// The inactivity timeout in the Endpoint side.
	Timeout *int64

	// The service or person who created the endpoint. Must be 1000 characters or fewer.
	CreatedBy *string

	// The certs.
	Certs *AdditionalNewEndpointRequestCerts

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateEndpointsOptions : The CreateEndpoints options.

func (*CreateEndpointsOptions) SetCerts

SetCerts : Allow user to set Certs

func (*CreateEndpointsOptions) SetClientMutualAuth

func (options *CreateEndpointsOptions) SetClientMutualAuth(clientMutualAuth bool) *CreateEndpointsOptions

SetClientMutualAuth : Allow user to set ClientMutualAuth

func (*CreateEndpointsOptions) SetClientProtocol

func (options *CreateEndpointsOptions) SetClientProtocol(clientProtocol string) *CreateEndpointsOptions

SetClientProtocol : Allow user to set ClientProtocol

func (*CreateEndpointsOptions) SetConnType

func (options *CreateEndpointsOptions) SetConnType(connType string) *CreateEndpointsOptions

SetConnType : Allow user to set ConnType

func (*CreateEndpointsOptions) SetCreatedBy

func (options *CreateEndpointsOptions) SetCreatedBy(createdBy string) *CreateEndpointsOptions

SetCreatedBy : Allow user to set CreatedBy

func (*CreateEndpointsOptions) SetDisplayName

func (options *CreateEndpointsOptions) SetDisplayName(displayName string) *CreateEndpointsOptions

SetDisplayName : Allow user to set DisplayName

func (*CreateEndpointsOptions) SetHeaders

func (options *CreateEndpointsOptions) SetHeaders(param map[string]string) *CreateEndpointsOptions

SetHeaders : Allow user to set Headers

func (*CreateEndpointsOptions) SetLocationID

func (options *CreateEndpointsOptions) SetLocationID(locationID string) *CreateEndpointsOptions

SetLocationID : Allow user to set LocationID

func (*CreateEndpointsOptions) SetRejectUnauth

func (options *CreateEndpointsOptions) SetRejectUnauth(rejectUnauth bool) *CreateEndpointsOptions

SetRejectUnauth : Allow user to set RejectUnauth

func (*CreateEndpointsOptions) SetServerHost

func (options *CreateEndpointsOptions) SetServerHost(serverHost string) *CreateEndpointsOptions

SetServerHost : Allow user to set ServerHost

func (*CreateEndpointsOptions) SetServerMutualAuth

func (options *CreateEndpointsOptions) SetServerMutualAuth(serverMutualAuth bool) *CreateEndpointsOptions

SetServerMutualAuth : Allow user to set ServerMutualAuth

func (*CreateEndpointsOptions) SetServerPort

func (options *CreateEndpointsOptions) SetServerPort(serverPort int64) *CreateEndpointsOptions

SetServerPort : Allow user to set ServerPort

func (*CreateEndpointsOptions) SetServerProtocol

func (options *CreateEndpointsOptions) SetServerProtocol(serverProtocol string) *CreateEndpointsOptions

SetServerProtocol : Allow user to set ServerProtocol

func (*CreateEndpointsOptions) SetSni

SetSni : Allow user to set Sni

func (*CreateEndpointsOptions) SetTimeout

func (options *CreateEndpointsOptions) SetTimeout(timeout int64) *CreateEndpointsOptions

SetTimeout : Allow user to set Timeout

type CreateLinkOptions

type CreateLinkOptions struct {
	// CRN of the Location.
	Crn *string

	// Location ID.
	LocationID *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateLinkOptions : The CreateLink options.

func (*CreateLinkOptions) SetCrn

func (options *CreateLinkOptions) SetCrn(crn string) *CreateLinkOptions

SetCrn : Allow user to set Crn

func (*CreateLinkOptions) SetHeaders

func (options *CreateLinkOptions) SetHeaders(param map[string]string) *CreateLinkOptions

SetHeaders : Allow user to set Headers

func (*CreateLinkOptions) SetLocationID

func (options *CreateLinkOptions) SetLocationID(locationID string) *CreateLinkOptions

SetLocationID : Allow user to set LocationID

type CreateSourcesOptions

type CreateSourcesOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The type of the source.
	Type *string

	// The name of the source, should be unique under each location. Source names must start with a letter and end with an
	// alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	SourceName *string

	Addresses []string

	// Allows users to set headers on API requests
	Headers map[string]string
}

CreateSourcesOptions : The CreateSources options.

func (*CreateSourcesOptions) SetAddresses

func (options *CreateSourcesOptions) SetAddresses(addresses []string) *CreateSourcesOptions

SetAddresses : Allow user to set Addresses

func (*CreateSourcesOptions) SetHeaders

func (options *CreateSourcesOptions) SetHeaders(param map[string]string) *CreateSourcesOptions

SetHeaders : Allow user to set Headers

func (*CreateSourcesOptions) SetLocationID

func (options *CreateSourcesOptions) SetLocationID(locationID string) *CreateSourcesOptions

SetLocationID : Allow user to set LocationID

func (*CreateSourcesOptions) SetSourceName

func (options *CreateSourcesOptions) SetSourceName(sourceName string) *CreateSourcesOptions

SetSourceName : Allow user to set SourceName

func (*CreateSourcesOptions) SetType

func (options *CreateSourcesOptions) SetType(typeVar string) *CreateSourcesOptions

SetType : Allow user to set Type

type DeleteEndpointCertsOptions

type DeleteEndpointCertsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteEndpointCertsOptions : The DeleteEndpointCerts options.

func (*DeleteEndpointCertsOptions) SetEndpointID

func (options *DeleteEndpointCertsOptions) SetEndpointID(endpointID string) *DeleteEndpointCertsOptions

SetEndpointID : Allow user to set EndpointID

func (*DeleteEndpointCertsOptions) SetHeaders

func (options *DeleteEndpointCertsOptions) SetHeaders(param map[string]string) *DeleteEndpointCertsOptions

SetHeaders : Allow user to set Headers

func (*DeleteEndpointCertsOptions) SetLocationID

func (options *DeleteEndpointCertsOptions) SetLocationID(locationID string) *DeleteEndpointCertsOptions

SetLocationID : Allow user to set LocationID

type DeleteEndpointsOptions

type DeleteEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteEndpointsOptions : The DeleteEndpoints options.

func (*DeleteEndpointsOptions) SetEndpointID

func (options *DeleteEndpointsOptions) SetEndpointID(endpointID string) *DeleteEndpointsOptions

SetEndpointID : Allow user to set EndpointID

func (*DeleteEndpointsOptions) SetHeaders

func (options *DeleteEndpointsOptions) SetHeaders(param map[string]string) *DeleteEndpointsOptions

SetHeaders : Allow user to set Headers

func (*DeleteEndpointsOptions) SetLocationID

func (options *DeleteEndpointsOptions) SetLocationID(locationID string) *DeleteEndpointsOptions

SetLocationID : Allow user to set LocationID

type DeleteLinkOptions

type DeleteLinkOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteLinkOptions : The DeleteLink options.

func (*DeleteLinkOptions) SetHeaders

func (options *DeleteLinkOptions) SetHeaders(param map[string]string) *DeleteLinkOptions

SetHeaders : Allow user to set Headers

func (*DeleteLinkOptions) SetLocationID

func (options *DeleteLinkOptions) SetLocationID(locationID string) *DeleteLinkOptions

SetLocationID : Allow user to set LocationID

type DeleteSourcesOptions

type DeleteSourcesOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Source ID.
	SourceID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

DeleteSourcesOptions : The DeleteSources options.

func (*DeleteSourcesOptions) SetHeaders

func (options *DeleteSourcesOptions) SetHeaders(param map[string]string) *DeleteSourcesOptions

SetHeaders : Allow user to set Headers

func (*DeleteSourcesOptions) SetLocationID

func (options *DeleteSourcesOptions) SetLocationID(locationID string) *DeleteSourcesOptions

SetLocationID : Allow user to set LocationID

func (*DeleteSourcesOptions) SetSourceID

func (options *DeleteSourcesOptions) SetSourceID(sourceID string) *DeleteSourcesOptions

SetSourceID : Allow user to set SourceID

type DownloadedCerts

type DownloadedCerts struct {
	// The array of the cert(s) and key(s).
	Certs []DownloadedCertsCertsItem `json:"certs,omitempty"`
}

DownloadedCerts : The list of certs.

type DownloadedCertsCertsItem

type DownloadedCertsCertsItem struct {
	// The filename of the cert or key.
	Name *string `json:"name,omitempty"`

	// The content of the cert or key.
	Content *string `json:"content,omitempty"`
}

DownloadedCertsCertsItem : DownloadedCertsCertsItem struct

type Endpoint

type Endpoint struct {
	// The type of the endpoint.
	ConnType *string `json:"conn_type,omitempty"`

	// The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character,
	// can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	DisplayName *string `json:"display_name,omitempty"`

	// The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' ,
	// which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and
	// 'www.example.com'.
	ServerHost *string `json:"server_host,omitempty"`

	// The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such
	// as 0 is good for 80 (http) and 443 (https).
	ServerPort *int64 `json:"server_port,omitempty"`

	// The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires
	// SNI.
	Sni *string `json:"sni,omitempty"`

	// The protocol in the client application side.
	ClientProtocol *string `json:"client_protocol,omitempty"`

	// Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is
	// required.
	ClientMutualAuth *bool `json:"client_mutual_auth,omitempty"`

	// The protocol in the server application side. This parameter will change to default value if it is omitted even when
	// using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http',
	// server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol
	// could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.
	ServerProtocol *string `json:"server_protocol,omitempty"`

	// Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required.
	ServerMutualAuth *bool `json:"server_mutual_auth,omitempty"`

	// Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the
	// fields certs.server_cert.
	RejectUnauth *bool `json:"reject_unauth,omitempty"`

	// The inactivity timeout in the Endpoint side.
	Timeout *int64 `json:"timeout,omitempty"`

	// The service or person who created the endpoint. Must be 1000 characters or fewer.
	CreatedBy *string `json:"created_by,omitempty"`

	Sources []SourceStatusObject `json:"sources,omitempty"`

	// The connector port.
	ConnectorPort *int64 `json:"connector_port,omitempty"`

	// Service instance associated with this location.
	Crn *string `json:"crn,omitempty"`

	// Unique identifier for this endpoint.
	EndpointID *string `json:"endpoint_id,omitempty"`

	// The service name of the endpoint.
	ServiceName *string `json:"service_name,omitempty"`

	// The Location ID.
	LocationID *string `json:"location_id,omitempty"`

	// The hostname which Satellite Link server listen on for the on-location endpoint, or the hostname which the connector
	// server listen on for the on-cloud endpoint destiantion.
	ClientHost *string `json:"client_host,omitempty"`

	// The port which Satellite Link server listen on for the on-location, or the port which the connector server listen on
	// for the on-cloud endpoint destiantion.
	ClientPort *int64 `json:"client_port,omitempty"`

	// The certs. Once it is generated, this field will always be defined even it is unused until the cert/key is deleted.
	Certs *EndpointCerts `json:"certs,omitempty"`

	// Whether the Endpoint is active or not.
	Status *string `json:"status,omitempty"`

	// The time when the Endpoint is created.
	CreatedAt *string `json:"created_at,omitempty"`

	// The last time modify the Endpoint configurations.
	LastChange *string `json:"last_change,omitempty"`

	// The last performance data of the endpoint.
	Performance *EndpointPerformance `json:"performance,omitempty"`
}

Endpoint : The Source Status.

type EndpointCerts

type EndpointCerts struct {
	// The CA which Satellite Link trust when receiving the connection from the client application.
	Client *EndpointCertsClient `json:"client,omitempty"`

	// The CA which Satellite Link trust when sending the connection to server application.
	Server *EndpointCertsServer `json:"server,omitempty"`

	// The cert which Satellite Link connector provide to identify itself for connecting to the client/server application.
	Connector *EndpointCertsConnector `json:"connector,omitempty"`
}

EndpointCerts : The certs. Once it is generated, this field will always be defined even it is unused until the cert/key is deleted.

type EndpointCertsClient

type EndpointCertsClient struct {
	// The root cert or the self-signed cert of the client application.
	Cert *EndpointCertsClientCert `json:"cert,omitempty"`
}

EndpointCertsClient : The CA which Satellite Link trust when receiving the connection from the client application.

type EndpointCertsClientCert

type EndpointCertsClientCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`
}

EndpointCertsClientCert : The root cert or the self-signed cert of the client application.

type EndpointCertsConnector

type EndpointCertsConnector struct {
	// The end-entity cert of the connector.
	Cert *EndpointCertsConnectorCert `json:"cert,omitempty"`

	// The private key of the connector.
	Key *EndpointCertsConnectorKey `json:"key,omitempty"`
}

EndpointCertsConnector : The cert which Satellite Link connector provide to identify itself for connecting to the client/server application.

type EndpointCertsConnectorCert

type EndpointCertsConnectorCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`
}

EndpointCertsConnectorCert : The end-entity cert of the connector.

type EndpointCertsConnectorKey

type EndpointCertsConnectorKey struct {
	// The name of the key.
	Filename *string `json:"filename,omitempty"`
}

EndpointCertsConnectorKey : The private key of the connector.

type EndpointCertsServer

type EndpointCertsServer struct {
	// The root cert or the self-signed cert of the server application.
	Cert *EndpointCertsServerCert `json:"cert,omitempty"`
}

EndpointCertsServer : The CA which Satellite Link trust when sending the connection to server application.

type EndpointCertsServerCert

type EndpointCertsServerCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`
}

EndpointCertsServerCert : The root cert or the self-signed cert of the server application.

type EndpointPerformance

type EndpointPerformance struct {
	// Concurrent connections number of moment when probe read the data.
	Connection *int64 `json:"connection,omitempty"`

	// Average Receive (to Cloud) Bandwidth of last two minutes, unit is Byte/s.
	RxBandwidth *int64 `json:"rx_bandwidth,omitempty"`

	// Average Transmitted (to Location) Bandwidth of last two minutes, unit is Byte/s.
	TxBandwidth *int64 `json:"tx_bandwidth,omitempty"`

	// Average Tatal Bandwidth of last two minutes, unit is Byte/s.
	Bandwidth *int64 `json:"bandwidth,omitempty"`

	// The last performance data of the endpoint from each Connector.
	Connectors []EndpointPerformanceConnectorsItem `json:"connectors,omitempty"`
}

EndpointPerformance : The last performance data of the endpoint.

type EndpointPerformanceConnectorsItem

type EndpointPerformanceConnectorsItem struct {
	// The name of the connector reported the performance data.
	Connector *string `json:"connector,omitempty"`

	// Concurrent connections number of moment when probe read the data from the Connector.
	Connections *int64 `json:"connections,omitempty"`

	// Average Transmitted (to Location) Bandwidth of last two minutes read from the Connector, unit is Byte/s.
	RxBW *int64 `json:"rxBW,omitempty"`

	// Average Transmitted (to Location) Bandwidth of last two minutes read from the Connector, unit is Byte/s.
	TxBW *int64 `json:"txBW,omitempty"`
}

EndpointPerformanceConnectorsItem : EndpointPerformanceConnectorsItem struct

type EndpointSourceStatus

type EndpointSourceStatus struct {
	Endpoints []EndpointSourceStatusEndpointsItem `json:"endpoints,omitempty"`
}

EndpointSourceStatus : EndpointSourceStatus struct

type EndpointSourceStatusEndpointsItem

type EndpointSourceStatusEndpointsItem struct {
	// Unique identifier for this endpoint.
	EndpointID *string `json:"endpoint_id,omitempty"`

	// Whether the source is enabled for the endpoint.
	Enabled *bool `json:"enabled,omitempty"`
}

EndpointSourceStatusEndpointsItem : EndpointSourceStatusEndpointsItem struct

type Endpoints

type Endpoints struct {
	// The info of the endpoint.
	Endpoints []Endpoint `json:"endpoints,omitempty"`
}

Endpoints : The list of the endpoint(s).

type ExecutionResult

type ExecutionResult struct {
	// Result returned.
	Message *string `json:"message,omitempty"`
}

ExecutionResult : Result of execution.

type ExportEndpointsOptions

type ExportEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ExportEndpointsOptions : The ExportEndpoints options.

func (*ExportEndpointsOptions) SetEndpointID

func (options *ExportEndpointsOptions) SetEndpointID(endpointID string) *ExportEndpointsOptions

SetEndpointID : Allow user to set EndpointID

func (*ExportEndpointsOptions) SetHeaders

func (options *ExportEndpointsOptions) SetHeaders(param map[string]string) *ExportEndpointsOptions

SetHeaders : Allow user to set Headers

func (*ExportEndpointsOptions) SetLocationID

func (options *ExportEndpointsOptions) SetLocationID(locationID string) *ExportEndpointsOptions

SetLocationID : Allow user to set LocationID

type ExportEndpointsResponse

type ExportEndpointsResponse struct {
	// The type of the endpoint.
	ConnType *string `json:"conn_type,omitempty"`

	// The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character,
	// can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	DisplayName *string `json:"display_name,omitempty"`

	// The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' ,
	// which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and
	// 'www.example.com'.
	ServerHost *string `json:"server_host,omitempty"`

	// The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such
	// as 0 is good for 80 (http) and 443 (https).
	ServerPort *int64 `json:"server_port,omitempty"`

	// The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires
	// SNI.
	Sni *string `json:"sni,omitempty"`

	// The protocol in the client application side.
	ClientProtocol *string `json:"client_protocol,omitempty"`

	// Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is
	// required.
	ClientMutualAuth *bool `json:"client_mutual_auth,omitempty"`

	// The protocol in the server application side. This parameter will change to default value if it is omitted even when
	// using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http',
	// server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol
	// could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.
	ServerProtocol *string `json:"server_protocol,omitempty"`

	// Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required.
	ServerMutualAuth *bool `json:"server_mutual_auth,omitempty"`

	// Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the
	// fields certs.server_cert.
	RejectUnauth *bool `json:"reject_unauth,omitempty"`

	// The inactivity timeout in the Endpoint side.
	Timeout *int64 `json:"timeout,omitempty"`

	// The certs.
	Certs *AdditionalNewEndpointRequestCerts `json:"certs,omitempty"`
}

ExportEndpointsResponse : The info of the endpoint.

type GetEndpointCertsOptions

type GetEndpointCertsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// Whether the result need to be packed as zip file.
	NoZip *bool

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetEndpointCertsOptions : The GetEndpointCerts options.

func (*GetEndpointCertsOptions) SetEndpointID

func (options *GetEndpointCertsOptions) SetEndpointID(endpointID string) *GetEndpointCertsOptions

SetEndpointID : Allow user to set EndpointID

func (*GetEndpointCertsOptions) SetHeaders

func (options *GetEndpointCertsOptions) SetHeaders(param map[string]string) *GetEndpointCertsOptions

SetHeaders : Allow user to set Headers

func (*GetEndpointCertsOptions) SetLocationID

func (options *GetEndpointCertsOptions) SetLocationID(locationID string) *GetEndpointCertsOptions

SetLocationID : Allow user to set LocationID

func (*GetEndpointCertsOptions) SetNoZip

func (options *GetEndpointCertsOptions) SetNoZip(noZip bool) *GetEndpointCertsOptions

SetNoZip : Allow user to set NoZip

type GetEndpointsOptions

type GetEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetEndpointsOptions : The GetEndpoints options.

func (*GetEndpointsOptions) SetEndpointID

func (options *GetEndpointsOptions) SetEndpointID(endpointID string) *GetEndpointsOptions

SetEndpointID : Allow user to set EndpointID

func (*GetEndpointsOptions) SetHeaders

func (options *GetEndpointsOptions) SetHeaders(param map[string]string) *GetEndpointsOptions

SetHeaders : Allow user to set Headers

func (*GetEndpointsOptions) SetLocationID

func (options *GetEndpointsOptions) SetLocationID(locationID string) *GetEndpointsOptions

SetLocationID : Allow user to set LocationID

type GetLinkOptions

type GetLinkOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

GetLinkOptions : The GetLink options.

func (*GetLinkOptions) SetHeaders

func (options *GetLinkOptions) SetHeaders(param map[string]string) *GetLinkOptions

SetHeaders : Allow user to set Headers

func (*GetLinkOptions) SetLocationID

func (options *GetLinkOptions) SetLocationID(locationID string) *GetLinkOptions

SetLocationID : Allow user to set LocationID

type ImportEndpointsOptions

type ImportEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The imported .endpoint file.
	State io.ReadCloser `validate:"required"`

	// The content type of state.
	StateContentType *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

ImportEndpointsOptions : The ImportEndpoints options.

func (*ImportEndpointsOptions) SetHeaders

func (options *ImportEndpointsOptions) SetHeaders(param map[string]string) *ImportEndpointsOptions

SetHeaders : Allow user to set Headers

func (*ImportEndpointsOptions) SetLocationID

func (options *ImportEndpointsOptions) SetLocationID(locationID string) *ImportEndpointsOptions

SetLocationID : Allow user to set LocationID

func (*ImportEndpointsOptions) SetState

func (options *ImportEndpointsOptions) SetState(state io.ReadCloser) *ImportEndpointsOptions

SetState : Allow user to set State

func (*ImportEndpointsOptions) SetStateContentType

func (options *ImportEndpointsOptions) SetStateContentType(stateContentType string) *ImportEndpointsOptions

SetStateContentType : Allow user to set StateContentType

type ListEndpointSourcesOptions

type ListEndpointSourcesOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListEndpointSourcesOptions : The ListEndpointSources options.

func (*ListEndpointSourcesOptions) SetEndpointID

func (options *ListEndpointSourcesOptions) SetEndpointID(endpointID string) *ListEndpointSourcesOptions

SetEndpointID : Allow user to set EndpointID

func (*ListEndpointSourcesOptions) SetHeaders

func (options *ListEndpointSourcesOptions) SetHeaders(param map[string]string) *ListEndpointSourcesOptions

SetHeaders : Allow user to set Headers

func (*ListEndpointSourcesOptions) SetLocationID

func (options *ListEndpointSourcesOptions) SetLocationID(locationID string) *ListEndpointSourcesOptions

SetLocationID : Allow user to set LocationID

type ListEndpointsOptions

type ListEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// Whether to only include enabled or disabled endpoint(s). If not specified all endpoint(s) will be returned.
	Type *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListEndpointsOptions : The ListEndpoints options.

func (*ListEndpointsOptions) SetHeaders

func (options *ListEndpointsOptions) SetHeaders(param map[string]string) *ListEndpointsOptions

SetHeaders : Allow user to set Headers

func (*ListEndpointsOptions) SetLocationID

func (options *ListEndpointsOptions) SetLocationID(locationID string) *ListEndpointsOptions

SetLocationID : Allow user to set LocationID

func (*ListEndpointsOptions) SetType

func (options *ListEndpointsOptions) SetType(typeVar string) *ListEndpointsOptions

SetType : Allow user to set Type

type ListSourceEndpointsOptions

type ListSourceEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Source ID.
	SourceID *string `validate:"required,ne="`

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSourceEndpointsOptions : The ListSourceEndpoints options.

func (*ListSourceEndpointsOptions) SetHeaders

func (options *ListSourceEndpointsOptions) SetHeaders(param map[string]string) *ListSourceEndpointsOptions

SetHeaders : Allow user to set Headers

func (*ListSourceEndpointsOptions) SetLocationID

func (options *ListSourceEndpointsOptions) SetLocationID(locationID string) *ListSourceEndpointsOptions

SetLocationID : Allow user to set LocationID

func (*ListSourceEndpointsOptions) SetSourceID

func (options *ListSourceEndpointsOptions) SetSourceID(sourceID string) *ListSourceEndpointsOptions

SetSourceID : Allow user to set SourceID

type ListSourcesOptions

type ListSourcesOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// Type of Sources to list, all if not specified.
	Type *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

ListSourcesOptions : The ListSources options.

func (*ListSourcesOptions) SetHeaders

func (options *ListSourcesOptions) SetHeaders(param map[string]string) *ListSourcesOptions

SetHeaders : Allow user to set Headers

func (*ListSourcesOptions) SetLocationID

func (options *ListSourcesOptions) SetLocationID(locationID string) *ListSourcesOptions

SetLocationID : Allow user to set LocationID

func (*ListSourcesOptions) SetType

func (options *ListSourcesOptions) SetType(typeVar string) *ListSourcesOptions

SetType : Allow user to set Type

type Location

type Location struct {
	// The ws endpoint of the location.
	WsEndpoint *string `json:"ws_endpoint,omitempty"`

	// Unique identifier for this location.
	LocationID *string `json:"location_id,omitempty"`

	// Service instance associated with this location.
	Crn *string `json:"crn,omitempty"`

	// Description of the location.
	Desc *string `json:"desc,omitempty"`

	// Satellite Link hostname of the location.
	SatelliteLinkHost *string `json:"satellite_link_host,omitempty"`

	// Enabled/Disabled.
	Status *string `json:"status,omitempty"`

	// Timestamp of creation of location.
	CreatedAt *string `json:"created_at,omitempty"`

	// Timestamp of latest modification of location.
	LastChange *string `json:"last_change,omitempty"`

	// The last performance data of the Location.
	Performance *LocationPerformance `json:"performance,omitempty"`
}

Location : The info of the location.

type LocationPerformance

type LocationPerformance struct {
	// Tunnels number estbalished from the Location.
	Tunnels *int64 `json:"tunnels,omitempty"`

	// Tunnels health status based on the Tunnels number established. Down(0)/Critical(1)/Up(>=2).
	HealthStatus *string `json:"healthStatus,omitempty"`

	// Average latency calculated form latency of each Connector between Tunnel Server, unit is ms. -1 means no Connector
	// established Tunnel.
	AvgLatency *int64 `json:"avg_latency,omitempty"`

	// Average Receive (to Cloud) Bandwidth of last two minutes, unit is Byte/s.
	RxBandwidth *int64 `json:"rx_bandwidth,omitempty"`

	// Average Transmitted (to Location) Bandwidth of last two minutes, unit is Byte/s.
	TxBandwidth *int64 `json:"tx_bandwidth,omitempty"`

	// Average Tatal Bandwidth of last two minutes, unit is Byte/s.
	Bandwidth *int64 `json:"bandwidth,omitempty"`

	// The last performance data of the Location read from each Connector.
	Connectors []LocationPerformanceConnectorsItem `json:"connectors,omitempty"`
}

LocationPerformance : The last performance data of the Location.

type LocationPerformanceConnectorsItem

type LocationPerformanceConnectorsItem struct {
	// The name of the connector reported the performance data.
	Connector *string `json:"connector,omitempty"`

	// Latency between Connector and the Tunnel Server it connected.
	Latency *int64 `json:"latency,omitempty"`

	// Average Transmitted (to Location) Bandwidth of last two minutes read from the Connector, unit is Byte/s.
	RxBW *int64 `json:"rxBW,omitempty"`

	// Average Transmitted (to Location) Bandwidth of last two minutes read from the Connector, unit is Byte/s.
	TxBW *int64 `json:"txBW,omitempty"`
}

LocationPerformanceConnectorsItem : LocationPerformanceConnectorsItem struct

type SatelliteLinkV1

type SatelliteLinkV1 struct {
	Service *core.BaseService
}

SatelliteLinkV1 : Satellite Link is a component of IBM Cloud Satellite, it provides Secure Connections between Locations and IBM Cloud.

Version: 1.0.0

func NewSatelliteLinkV1

func NewSatelliteLinkV1(options *SatelliteLinkV1Options) (service *SatelliteLinkV1, err error)

NewSatelliteLinkV1 : constructs an instance of SatelliteLinkV1 with passed in options.

func NewSatelliteLinkV1UsingExternalConfig

func NewSatelliteLinkV1UsingExternalConfig(options *SatelliteLinkV1Options) (satelliteLink *SatelliteLinkV1, err error)

NewSatelliteLinkV1UsingExternalConfig : constructs an instance of SatelliteLinkV1 with passed in options and external configuration.

func (*SatelliteLinkV1) Clone

func (satelliteLink *SatelliteLinkV1) Clone() *SatelliteLinkV1

Clone makes a copy of "satelliteLink" suitable for processing requests.

func (*SatelliteLinkV1) CreateEndpoints

func (satelliteLink *SatelliteLinkV1) CreateEndpoints(createEndpointsOptions *CreateEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

CreateEndpoints : create endpoint [Administrator, Editor, Operator, satellite-link-administrator] Create an endpoint.

func (*SatelliteLinkV1) CreateEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) CreateEndpointsWithContext(ctx context.Context, createEndpointsOptions *CreateEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

CreateEndpointsWithContext is an alternate form of the CreateEndpoints method which supports a Context parameter

func (satelliteLink *SatelliteLinkV1) CreateLink(createLinkOptions *CreateLinkOptions) (result *Location, response *core.DetailedResponse, err error)

CreateLink : create link [Administrator] Create Link for a Location.

func (*SatelliteLinkV1) CreateLinkWithContext

func (satelliteLink *SatelliteLinkV1) CreateLinkWithContext(ctx context.Context, createLinkOptions *CreateLinkOptions) (result *Location, response *core.DetailedResponse, err error)

CreateLinkWithContext is an alternate form of the CreateLink method which supports a Context parameter

func (*SatelliteLinkV1) CreateSources

func (satelliteLink *SatelliteLinkV1) CreateSources(createSourcesOptions *CreateSourcesOptions) (result *Source, response *core.DetailedResponse, err error)

CreateSources : create source [Administrator, Editor, Operator, satellite-link-administrator] Create a Source associated with given Location.

func (*SatelliteLinkV1) CreateSourcesWithContext

func (satelliteLink *SatelliteLinkV1) CreateSourcesWithContext(ctx context.Context, createSourcesOptions *CreateSourcesOptions) (result *Source, response *core.DetailedResponse, err error)

CreateSourcesWithContext is an alternate form of the CreateSources method which supports a Context parameter

func (*SatelliteLinkV1) DeleteEndpointCerts

func (satelliteLink *SatelliteLinkV1) DeleteEndpointCerts(deleteEndpointCertsOptions *DeleteEndpointCertsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

DeleteEndpointCerts : delete endpoint certs [Administrator, Editor, Operator, satellite-link-administrator] Delete certs for the endpoint.

func (*SatelliteLinkV1) DeleteEndpointCertsWithContext

func (satelliteLink *SatelliteLinkV1) DeleteEndpointCertsWithContext(ctx context.Context, deleteEndpointCertsOptions *DeleteEndpointCertsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

DeleteEndpointCertsWithContext is an alternate form of the DeleteEndpointCerts method which supports a Context parameter

func (*SatelliteLinkV1) DeleteEndpoints

func (satelliteLink *SatelliteLinkV1) DeleteEndpoints(deleteEndpointsOptions *DeleteEndpointsOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

DeleteEndpoints : delete endpoint [Administrator, Editor, Operator, satellite-link-administrator] Delete a endpoint.

func (*SatelliteLinkV1) DeleteEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) DeleteEndpointsWithContext(ctx context.Context, deleteEndpointsOptions *DeleteEndpointsOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

DeleteEndpointsWithContext is an alternate form of the DeleteEndpoints method which supports a Context parameter

func (satelliteLink *SatelliteLinkV1) DeleteLink(deleteLinkOptions *DeleteLinkOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

DeleteLink : delete link [Administrator, Operator] Delete Link of a Location.

func (*SatelliteLinkV1) DeleteLinkWithContext

func (satelliteLink *SatelliteLinkV1) DeleteLinkWithContext(ctx context.Context, deleteLinkOptions *DeleteLinkOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

DeleteLinkWithContext is an alternate form of the DeleteLink method which supports a Context parameter

func (*SatelliteLinkV1) DeleteSources

func (satelliteLink *SatelliteLinkV1) DeleteSources(deleteSourcesOptions *DeleteSourcesOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

DeleteSources : delete source [Administrator, Editor, Operator, satellite-link-administrator] Delete a source of a location.

func (*SatelliteLinkV1) DeleteSourcesWithContext

func (satelliteLink *SatelliteLinkV1) DeleteSourcesWithContext(ctx context.Context, deleteSourcesOptions *DeleteSourcesOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

DeleteSourcesWithContext is an alternate form of the DeleteSources method which supports a Context parameter

func (*SatelliteLinkV1) DisableRetries

func (satelliteLink *SatelliteLinkV1) DisableRetries()

DisableRetries disables automatic retries for requests invoked for this service instance.

func (*SatelliteLinkV1) EnableRetries

func (satelliteLink *SatelliteLinkV1) EnableRetries(maxRetries int, maxRetryInterval time.Duration)

EnableRetries enables automatic retries for requests invoked for this service instance. If either parameter is specified as 0, then a default value is used instead.

func (*SatelliteLinkV1) ExportEndpoints

func (satelliteLink *SatelliteLinkV1) ExportEndpoints(exportEndpointsOptions *ExportEndpointsOptions) (result *ExportEndpointsResponse, response *core.DetailedResponse, err error)

ExportEndpoints : export an endpoint [Administrator, Editor, Operator, satellite-link-administrator] Export the endpoint.

func (*SatelliteLinkV1) ExportEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) ExportEndpointsWithContext(ctx context.Context, exportEndpointsOptions *ExportEndpointsOptions) (result *ExportEndpointsResponse, response *core.DetailedResponse, err error)

ExportEndpointsWithContext is an alternate form of the ExportEndpoints method which supports a Context parameter

func (*SatelliteLinkV1) GetEnableGzipCompression

func (satelliteLink *SatelliteLinkV1) GetEnableGzipCompression() bool

GetEnableGzipCompression returns the service's EnableGzipCompression field

func (*SatelliteLinkV1) GetEndpointCerts

func (satelliteLink *SatelliteLinkV1) GetEndpointCerts(getEndpointCertsOptions *GetEndpointCertsOptions) (result *DownloadedCerts, response *core.DetailedResponse, err error)

GetEndpointCerts : read endpoint certs [Administrator, Editor, Operator, satellite-link-administrator] Download certs for the endpoint.

func (*SatelliteLinkV1) GetEndpointCertsWithContext

func (satelliteLink *SatelliteLinkV1) GetEndpointCertsWithContext(ctx context.Context, getEndpointCertsOptions *GetEndpointCertsOptions) (result *DownloadedCerts, response *core.DetailedResponse, err error)

GetEndpointCertsWithContext is an alternate form of the GetEndpointCerts method which supports a Context parameter

func (*SatelliteLinkV1) GetEndpoints

func (satelliteLink *SatelliteLinkV1) GetEndpoints(getEndpointsOptions *GetEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

GetEndpoints : read endpoint [Administrator, Editor, Viewer, Operator, satellite-link-administrator] Get the Endpoint's information.

func (*SatelliteLinkV1) GetEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) GetEndpointsWithContext(ctx context.Context, getEndpointsOptions *GetEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

GetEndpointsWithContext is an alternate form of the GetEndpoints method which supports a Context parameter

func (satelliteLink *SatelliteLinkV1) GetLink(getLinkOptions *GetLinkOptions) (result *Location, response *core.DetailedResponse, err error)

GetLink : read link [Administrator, Editor, Operator, Viewer, satellite-link-administrator] Retrieve Link information of a Location.

func (*SatelliteLinkV1) GetLinkWithContext

func (satelliteLink *SatelliteLinkV1) GetLinkWithContext(ctx context.Context, getLinkOptions *GetLinkOptions) (result *Location, response *core.DetailedResponse, err error)

GetLinkWithContext is an alternate form of the GetLink method which supports a Context parameter

func (*SatelliteLinkV1) GetServiceURL

func (satelliteLink *SatelliteLinkV1) GetServiceURL() string

GetServiceURL returns the service URL

func (*SatelliteLinkV1) ImportEndpoints

func (satelliteLink *SatelliteLinkV1) ImportEndpoints(importEndpointsOptions *ImportEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

ImportEndpoints : import an endpoint [Administrator, Editor, Operator, satellite-link-administrator] Import an endpoint.

func (*SatelliteLinkV1) ImportEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) ImportEndpointsWithContext(ctx context.Context, importEndpointsOptions *ImportEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

ImportEndpointsWithContext is an alternate form of the ImportEndpoints method which supports a Context parameter

func (*SatelliteLinkV1) ListEndpointSources

func (satelliteLink *SatelliteLinkV1) ListEndpointSources(listEndpointSourcesOptions *ListEndpointSourcesOptions) (result *SourceStatus, response *core.DetailedResponse, err error)

ListEndpointSources : list endpoint sources [Administrator, Editor, Viewer, Operator, satellite-link-administrator] Get a list of Sources and operational status associated with given Endpoint.

func (*SatelliteLinkV1) ListEndpointSourcesWithContext

func (satelliteLink *SatelliteLinkV1) ListEndpointSourcesWithContext(ctx context.Context, listEndpointSourcesOptions *ListEndpointSourcesOptions) (result *SourceStatus, response *core.DetailedResponse, err error)

ListEndpointSourcesWithContext is an alternate form of the ListEndpointSources method which supports a Context parameter

func (*SatelliteLinkV1) ListEndpoints

func (satelliteLink *SatelliteLinkV1) ListEndpoints(listEndpointsOptions *ListEndpointsOptions) (result *Endpoints, response *core.DetailedResponse, err error)

ListEndpoints : list endpoints [Administrator, Editor, Viewer, Operator, satellite-link-administrator] List Endpoints of a Location.

func (*SatelliteLinkV1) ListEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) ListEndpointsWithContext(ctx context.Context, listEndpointsOptions *ListEndpointsOptions) (result *Endpoints, response *core.DetailedResponse, err error)

ListEndpointsWithContext is an alternate form of the ListEndpoints method which supports a Context parameter

func (*SatelliteLinkV1) ListSourceEndpoints

func (satelliteLink *SatelliteLinkV1) ListSourceEndpoints(listSourceEndpointsOptions *ListSourceEndpointsOptions) (result *EndpointSourceStatus, response *core.DetailedResponse, err error)

ListSourceEndpoints : list source status for all endpoints [Administrator, Editor, Viewer, Operator, satellite-link-administrator] List source status for multiple endpoints. For user source, only cloud endpoints status will be shown, for service source, only location endpoints will be shown.

func (*SatelliteLinkV1) ListSourceEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) ListSourceEndpointsWithContext(ctx context.Context, listSourceEndpointsOptions *ListSourceEndpointsOptions) (result *EndpointSourceStatus, response *core.DetailedResponse, err error)

ListSourceEndpointsWithContext is an alternate form of the ListSourceEndpoints method which supports a Context parameter

func (*SatelliteLinkV1) ListSources

func (satelliteLink *SatelliteLinkV1) ListSources(listSourcesOptions *ListSourcesOptions) (result *Sources, response *core.DetailedResponse, err error)

ListSources : list sources [Administrator, Editor, Viewer, Operator, satellite-link-administrator] List Sources associated with a Location.

func (*SatelliteLinkV1) ListSourcesWithContext

func (satelliteLink *SatelliteLinkV1) ListSourcesWithContext(ctx context.Context, listSourcesOptions *ListSourcesOptions) (result *Sources, response *core.DetailedResponse, err error)

ListSourcesWithContext is an alternate form of the ListSources method which supports a Context parameter

func (*SatelliteLinkV1) NewCreateEndpointsOptions

func (*SatelliteLinkV1) NewCreateEndpointsOptions(locationID string) *CreateEndpointsOptions

NewCreateEndpointsOptions : Instantiate CreateEndpointsOptions

func (*SatelliteLinkV1) NewCreateLinkOptions

func (*SatelliteLinkV1) NewCreateLinkOptions() *CreateLinkOptions

NewCreateLinkOptions : Instantiate CreateLinkOptions

func (*SatelliteLinkV1) NewCreateSourcesOptions

func (*SatelliteLinkV1) NewCreateSourcesOptions(locationID string) *CreateSourcesOptions

NewCreateSourcesOptions : Instantiate CreateSourcesOptions

func (*SatelliteLinkV1) NewDeleteEndpointCertsOptions

func (*SatelliteLinkV1) NewDeleteEndpointCertsOptions(locationID string, endpointID string) *DeleteEndpointCertsOptions

NewDeleteEndpointCertsOptions : Instantiate DeleteEndpointCertsOptions

func (*SatelliteLinkV1) NewDeleteEndpointsOptions

func (*SatelliteLinkV1) NewDeleteEndpointsOptions(locationID string, endpointID string) *DeleteEndpointsOptions

NewDeleteEndpointsOptions : Instantiate DeleteEndpointsOptions

func (*SatelliteLinkV1) NewDeleteLinkOptions

func (*SatelliteLinkV1) NewDeleteLinkOptions(locationID string) *DeleteLinkOptions

NewDeleteLinkOptions : Instantiate DeleteLinkOptions

func (*SatelliteLinkV1) NewDeleteSourcesOptions

func (*SatelliteLinkV1) NewDeleteSourcesOptions(locationID string, sourceID string) *DeleteSourcesOptions

NewDeleteSourcesOptions : Instantiate DeleteSourcesOptions

func (*SatelliteLinkV1) NewExportEndpointsOptions

func (*SatelliteLinkV1) NewExportEndpointsOptions(locationID string, endpointID string) *ExportEndpointsOptions

NewExportEndpointsOptions : Instantiate ExportEndpointsOptions

func (*SatelliteLinkV1) NewGetEndpointCertsOptions

func (*SatelliteLinkV1) NewGetEndpointCertsOptions(locationID string, endpointID string) *GetEndpointCertsOptions

NewGetEndpointCertsOptions : Instantiate GetEndpointCertsOptions

func (*SatelliteLinkV1) NewGetEndpointsOptions

func (*SatelliteLinkV1) NewGetEndpointsOptions(locationID string, endpointID string) *GetEndpointsOptions

NewGetEndpointsOptions : Instantiate GetEndpointsOptions

func (*SatelliteLinkV1) NewGetLinkOptions

func (*SatelliteLinkV1) NewGetLinkOptions(locationID string) *GetLinkOptions

NewGetLinkOptions : Instantiate GetLinkOptions

func (*SatelliteLinkV1) NewImportEndpointsOptions

func (*SatelliteLinkV1) NewImportEndpointsOptions(locationID string, state io.ReadCloser) *ImportEndpointsOptions

NewImportEndpointsOptions : Instantiate ImportEndpointsOptions

func (*SatelliteLinkV1) NewListEndpointSourcesOptions

func (*SatelliteLinkV1) NewListEndpointSourcesOptions(locationID string, endpointID string) *ListEndpointSourcesOptions

NewListEndpointSourcesOptions : Instantiate ListEndpointSourcesOptions

func (*SatelliteLinkV1) NewListEndpointsOptions

func (*SatelliteLinkV1) NewListEndpointsOptions(locationID string) *ListEndpointsOptions

NewListEndpointsOptions : Instantiate ListEndpointsOptions

func (*SatelliteLinkV1) NewListSourceEndpointsOptions

func (*SatelliteLinkV1) NewListSourceEndpointsOptions(locationID string, sourceID string) *ListSourceEndpointsOptions

NewListSourceEndpointsOptions : Instantiate ListSourceEndpointsOptions

func (*SatelliteLinkV1) NewListSourcesOptions

func (*SatelliteLinkV1) NewListSourcesOptions(locationID string) *ListSourcesOptions

NewListSourcesOptions : Instantiate ListSourcesOptions

func (*SatelliteLinkV1) NewUpdateEndpointSourcesOptions

func (*SatelliteLinkV1) NewUpdateEndpointSourcesOptions(locationID string, endpointID string) *UpdateEndpointSourcesOptions

NewUpdateEndpointSourcesOptions : Instantiate UpdateEndpointSourcesOptions

func (*SatelliteLinkV1) NewUpdateEndpointsOptions

func (*SatelliteLinkV1) NewUpdateEndpointsOptions(locationID string, endpointID string) *UpdateEndpointsOptions

NewUpdateEndpointsOptions : Instantiate UpdateEndpointsOptions

func (*SatelliteLinkV1) NewUpdateLinkOptions

func (*SatelliteLinkV1) NewUpdateLinkOptions(locationID string) *UpdateLinkOptions

NewUpdateLinkOptions : Instantiate UpdateLinkOptions

func (*SatelliteLinkV1) NewUpdateSourceEndpointsOptions

func (*SatelliteLinkV1) NewUpdateSourceEndpointsOptions(locationID string, sourceID string) *UpdateSourceEndpointsOptions

NewUpdateSourceEndpointsOptions : Instantiate UpdateSourceEndpointsOptions

func (*SatelliteLinkV1) NewUpdateSourcesOptions

func (*SatelliteLinkV1) NewUpdateSourcesOptions(locationID string, sourceID string) *UpdateSourcesOptions

NewUpdateSourcesOptions : Instantiate UpdateSourcesOptions

func (*SatelliteLinkV1) NewUploadEndpointCertsOptions

func (*SatelliteLinkV1) NewUploadEndpointCertsOptions(locationID string, endpointID string) *UploadEndpointCertsOptions

NewUploadEndpointCertsOptions : Instantiate UploadEndpointCertsOptions

func (*SatelliteLinkV1) SetDefaultHeaders

func (satelliteLink *SatelliteLinkV1) SetDefaultHeaders(headers http.Header)

SetDefaultHeaders sets HTTP headers to be sent in every request

func (*SatelliteLinkV1) SetEnableGzipCompression

func (satelliteLink *SatelliteLinkV1) SetEnableGzipCompression(enableGzip bool)

SetEnableGzipCompression sets the service's EnableGzipCompression field

func (*SatelliteLinkV1) SetServiceURL

func (satelliteLink *SatelliteLinkV1) SetServiceURL(url string) error

SetServiceURL sets the service URL

func (*SatelliteLinkV1) UpdateEndpointSources

func (satelliteLink *SatelliteLinkV1) UpdateEndpointSources(updateEndpointSourcesOptions *UpdateEndpointSourcesOptions) (result *SourceStatus, response *core.DetailedResponse, err error)

UpdateEndpointSources : update endpoint sources [Administrator, Editor, Operator, satellite-link-source-access-controller] Update Source status associated with given Endpoint. If one of the status failed to update, all status will not be processed as well. The response will contain all source status which has been configured to this endpoint. For on-location endpoint, only service sources can be configured. For on-cloud endpoint, only user sources can be configured.

func (*SatelliteLinkV1) UpdateEndpointSourcesWithContext

func (satelliteLink *SatelliteLinkV1) UpdateEndpointSourcesWithContext(ctx context.Context, updateEndpointSourcesOptions *UpdateEndpointSourcesOptions) (result *SourceStatus, response *core.DetailedResponse, err error)

UpdateEndpointSourcesWithContext is an alternate form of the UpdateEndpointSources method which supports a Context parameter

func (*SatelliteLinkV1) UpdateEndpoints

func (satelliteLink *SatelliteLinkV1) UpdateEndpoints(updateEndpointsOptions *UpdateEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

UpdateEndpoints : update endpoint [Administrator, Editor, Operator, satellite-link-administrator] Update the endpoint.

func (*SatelliteLinkV1) UpdateEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) UpdateEndpointsWithContext(ctx context.Context, updateEndpointsOptions *UpdateEndpointsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

UpdateEndpointsWithContext is an alternate form of the UpdateEndpoints method which supports a Context parameter

func (satelliteLink *SatelliteLinkV1) UpdateLink(updateLinkOptions *UpdateLinkOptions) (result *Location, response *core.DetailedResponse, err error)

UpdateLink : update link [Administrator, Editor, Operator, satellite-link-administrator] Update Link information of a Location.

func (*SatelliteLinkV1) UpdateLinkWithContext

func (satelliteLink *SatelliteLinkV1) UpdateLinkWithContext(ctx context.Context, updateLinkOptions *UpdateLinkOptions) (result *Location, response *core.DetailedResponse, err error)

UpdateLinkWithContext is an alternate form of the UpdateLink method which supports a Context parameter

func (*SatelliteLinkV1) UpdateSourceEndpoints

func (satelliteLink *SatelliteLinkV1) UpdateSourceEndpoints(updateSourceEndpointsOptions *UpdateSourceEndpointsOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

UpdateSourceEndpoints : update source status for listed endpoints [Administrator, Editor, Operator, satellite-link-source-access-controller] Update source status for multiple endpoints. When getting error, the source status on some of the endpoints might still be updated successfully and only the first error will be returned.

func (*SatelliteLinkV1) UpdateSourceEndpointsWithContext

func (satelliteLink *SatelliteLinkV1) UpdateSourceEndpointsWithContext(ctx context.Context, updateSourceEndpointsOptions *UpdateSourceEndpointsOptions) (result *ExecutionResult, response *core.DetailedResponse, err error)

UpdateSourceEndpointsWithContext is an alternate form of the UpdateSourceEndpoints method which supports a Context parameter

func (*SatelliteLinkV1) UpdateSources

func (satelliteLink *SatelliteLinkV1) UpdateSources(updateSourcesOptions *UpdateSourcesOptions) (result *Source, response *core.DetailedResponse, err error)

UpdateSources : update source [Administrator, Editor, Operator, satellite-link-administrator] Update a Source.

func (*SatelliteLinkV1) UpdateSourcesWithContext

func (satelliteLink *SatelliteLinkV1) UpdateSourcesWithContext(ctx context.Context, updateSourcesOptions *UpdateSourcesOptions) (result *Source, response *core.DetailedResponse, err error)

UpdateSourcesWithContext is an alternate form of the UpdateSources method which supports a Context parameter

func (*SatelliteLinkV1) UploadEndpointCerts

func (satelliteLink *SatelliteLinkV1) UploadEndpointCerts(uploadEndpointCertsOptions *UploadEndpointCertsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

UploadEndpointCerts : upload endpoint certs [Administrator, Editor, Operator, satellite-link-administrator] Upload a cert for the endpoint.

func (*SatelliteLinkV1) UploadEndpointCertsWithContext

func (satelliteLink *SatelliteLinkV1) UploadEndpointCertsWithContext(ctx context.Context, uploadEndpointCertsOptions *UploadEndpointCertsOptions) (result *Endpoint, response *core.DetailedResponse, err error)

UploadEndpointCertsWithContext is an alternate form of the UploadEndpointCerts method which supports a Context parameter

type SatelliteLinkV1Options

type SatelliteLinkV1Options struct {
	ServiceName   string
	URL           string
	Authenticator core.Authenticator
}

SatelliteLinkV1Options : Service options

type Source

type Source struct {
	// The type of the source.
	Type *string `json:"type,omitempty"`

	// The name of the source, should be unique under each location. Source names must start with a letter and end with an
	// alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	SourceName *string `json:"source_name,omitempty"`

	Addresses []string `json:"addresses,omitempty"`

	// The Source ID.
	SourceID *string `json:"source_id,omitempty"`

	// The Location ID.
	LocationID *string `json:"location_id,omitempty"`

	// Timestamp of creation of location.
	CreatedAt *string `json:"created_at,omitempty"`

	// Timestamp of creation of location.
	LastChange *string `json:"last_change,omitempty"`
}

Source : The Source.

type SourceStatus

type SourceStatus struct {
	Sources []SourceStatusObject `json:"sources,omitempty"`
}

SourceStatus : The Source Status.

type SourceStatusObject

type SourceStatusObject struct {
	// The Source ID.
	SourceID *string `json:"source_id,omitempty"`

	// Whether the source is enabled for the endpoint.
	Enabled *bool `json:"enabled,omitempty"`

	// The last time modify the Endpoint configurations.
	LastChange *string `json:"last_change,omitempty"`

	// Whether the source has been enabled on this endpoint.
	Pending *bool `json:"pending,omitempty"`
}

SourceStatusObject : The Source Status.

type SourceStatusRequestObject

type SourceStatusRequestObject struct {
	// The Source ID.
	SourceID *string `json:"source_id,omitempty"`

	// Whether the source is enabled for the endpoint.
	Enabled *bool `json:"enabled,omitempty"`
}

SourceStatusRequestObject : The Source Status.

type Sources

type Sources struct {
	Sources []Source `json:"sources,omitempty"`
}

Sources : Sources struct

type UpdateEndpointSourcesOptions

type UpdateEndpointSourcesOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	Sources []SourceStatusRequestObject

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateEndpointSourcesOptions : The UpdateEndpointSources options.

func (*UpdateEndpointSourcesOptions) SetEndpointID

func (options *UpdateEndpointSourcesOptions) SetEndpointID(endpointID string) *UpdateEndpointSourcesOptions

SetEndpointID : Allow user to set EndpointID

func (*UpdateEndpointSourcesOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateEndpointSourcesOptions) SetLocationID

func (options *UpdateEndpointSourcesOptions) SetLocationID(locationID string) *UpdateEndpointSourcesOptions

SetLocationID : Allow user to set LocationID

func (*UpdateEndpointSourcesOptions) SetSources

SetSources : Allow user to set Sources

type UpdateEndpointsOptions

type UpdateEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// The display name of the endpoint. Endpoint names must start with a letter and end with an alphanumeric character,
	// can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	DisplayName *string

	// The host name or IP address of the server endpoint. For 'http-tunnel' protocol, server_host can start with '*.' ,
	// which means a wildcard to it's sub domains. Such as '*.example.com' can accept request to 'api.example.com' and
	// 'www.example.com'.
	ServerHost *string

	// The port number of the server endpoint. For 'http-tunnel' protocol, server_port can be 0, which means any port. Such
	// as 0 is good for 80 (http) and 443 (https).
	ServerPort *int64

	// The server name indicator (SNI) which used to connect to the server endpoint. Only useful if server side requires
	// SNI.
	Sni *string

	// The protocol in the client application side.
	ClientProtocol *string

	// Whether enable mutual auth in the client application side, when client_protocol is 'tls' or 'https', this field is
	// required.
	ClientMutualAuth *bool

	// The protocol in the server application side. This parameter will change to default value if it is omitted even when
	// using PATCH API. If client_protocol is 'udp', server_protocol must be 'udp'. If client_protocol is 'tcp'/'http',
	// server_protocol could be 'tcp'/'tls' and default to 'tcp'. If client_protocol is 'tls'/'https', server_protocol
	// could be 'tcp'/'tls' and default to 'tls'. If client_protocol is 'http-tunnel', server_protocol must be 'tcp'.
	ServerProtocol *string

	// Whether enable mutual auth in the server application side, when client_protocol is 'tls', this field is required.
	ServerMutualAuth *bool

	// Whether reject any connection to the server application which is not authorized with the list of supplied CAs in the
	// fields certs.server_cert.
	RejectUnauth *bool

	// The inactivity timeout in the Endpoint side.
	Timeout *int64

	// The service or person who created the endpoint. Must be 1000 characters or fewer.
	CreatedBy *string

	// The certs.
	Certs *UpdatedEndpointRequestCerts

	// Enable or disable the endpoint.
	Enabled *bool

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateEndpointsOptions : The UpdateEndpoints options.

func (*UpdateEndpointsOptions) SetCerts

SetCerts : Allow user to set Certs

func (*UpdateEndpointsOptions) SetClientMutualAuth

func (options *UpdateEndpointsOptions) SetClientMutualAuth(clientMutualAuth bool) *UpdateEndpointsOptions

SetClientMutualAuth : Allow user to set ClientMutualAuth

func (*UpdateEndpointsOptions) SetClientProtocol

func (options *UpdateEndpointsOptions) SetClientProtocol(clientProtocol string) *UpdateEndpointsOptions

SetClientProtocol : Allow user to set ClientProtocol

func (*UpdateEndpointsOptions) SetCreatedBy

func (options *UpdateEndpointsOptions) SetCreatedBy(createdBy string) *UpdateEndpointsOptions

SetCreatedBy : Allow user to set CreatedBy

func (*UpdateEndpointsOptions) SetDisplayName

func (options *UpdateEndpointsOptions) SetDisplayName(displayName string) *UpdateEndpointsOptions

SetDisplayName : Allow user to set DisplayName

func (*UpdateEndpointsOptions) SetEnabled

func (options *UpdateEndpointsOptions) SetEnabled(enabled bool) *UpdateEndpointsOptions

SetEnabled : Allow user to set Enabled

func (*UpdateEndpointsOptions) SetEndpointID

func (options *UpdateEndpointsOptions) SetEndpointID(endpointID string) *UpdateEndpointsOptions

SetEndpointID : Allow user to set EndpointID

func (*UpdateEndpointsOptions) SetHeaders

func (options *UpdateEndpointsOptions) SetHeaders(param map[string]string) *UpdateEndpointsOptions

SetHeaders : Allow user to set Headers

func (*UpdateEndpointsOptions) SetLocationID

func (options *UpdateEndpointsOptions) SetLocationID(locationID string) *UpdateEndpointsOptions

SetLocationID : Allow user to set LocationID

func (*UpdateEndpointsOptions) SetRejectUnauth

func (options *UpdateEndpointsOptions) SetRejectUnauth(rejectUnauth bool) *UpdateEndpointsOptions

SetRejectUnauth : Allow user to set RejectUnauth

func (*UpdateEndpointsOptions) SetServerHost

func (options *UpdateEndpointsOptions) SetServerHost(serverHost string) *UpdateEndpointsOptions

SetServerHost : Allow user to set ServerHost

func (*UpdateEndpointsOptions) SetServerMutualAuth

func (options *UpdateEndpointsOptions) SetServerMutualAuth(serverMutualAuth bool) *UpdateEndpointsOptions

SetServerMutualAuth : Allow user to set ServerMutualAuth

func (*UpdateEndpointsOptions) SetServerPort

func (options *UpdateEndpointsOptions) SetServerPort(serverPort int64) *UpdateEndpointsOptions

SetServerPort : Allow user to set ServerPort

func (*UpdateEndpointsOptions) SetServerProtocol

func (options *UpdateEndpointsOptions) SetServerProtocol(serverProtocol string) *UpdateEndpointsOptions

SetServerProtocol : Allow user to set ServerProtocol

func (*UpdateEndpointsOptions) SetSni

SetSni : Allow user to set Sni

func (*UpdateEndpointsOptions) SetTimeout

func (options *UpdateEndpointsOptions) SetTimeout(timeout int64) *UpdateEndpointsOptions

SetTimeout : Allow user to set Timeout

type UpdateLinkOptions

type UpdateLinkOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The ws endpoint of the location.
	WsEndpoint *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateLinkOptions : The UpdateLink options.

func (*UpdateLinkOptions) SetHeaders

func (options *UpdateLinkOptions) SetHeaders(param map[string]string) *UpdateLinkOptions

SetHeaders : Allow user to set Headers

func (*UpdateLinkOptions) SetLocationID

func (options *UpdateLinkOptions) SetLocationID(locationID string) *UpdateLinkOptions

SetLocationID : Allow user to set LocationID

func (*UpdateLinkOptions) SetWsEndpoint

func (options *UpdateLinkOptions) SetWsEndpoint(wsEndpoint string) *UpdateLinkOptions

SetWsEndpoint : Allow user to set WsEndpoint

type UpdateSourceEndpointsOptions

type UpdateSourceEndpointsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Source ID.
	SourceID *string `validate:"required,ne="`

	Endpoints []EndpointSourceStatusEndpointsItem

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSourceEndpointsOptions : The UpdateSourceEndpoints options.

func (*UpdateSourceEndpointsOptions) SetEndpoints

SetEndpoints : Allow user to set Endpoints

func (*UpdateSourceEndpointsOptions) SetHeaders

SetHeaders : Allow user to set Headers

func (*UpdateSourceEndpointsOptions) SetLocationID

func (options *UpdateSourceEndpointsOptions) SetLocationID(locationID string) *UpdateSourceEndpointsOptions

SetLocationID : Allow user to set LocationID

func (*UpdateSourceEndpointsOptions) SetSourceID

func (options *UpdateSourceEndpointsOptions) SetSourceID(sourceID string) *UpdateSourceEndpointsOptions

SetSourceID : Allow user to set SourceID

type UpdateSourcesOptions

type UpdateSourcesOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Source ID.
	SourceID *string `validate:"required,ne="`

	// The name of the source, should be unique under each location. Source names must start with a letter and end with an
	// alphanumeric character, can contain letters, numbers, and hyphen (-), and must be 63 characters or fewer.
	SourceName *string

	Addresses []string

	// Allows users to set headers on API requests
	Headers map[string]string
}

UpdateSourcesOptions : The UpdateSources options.

func (*UpdateSourcesOptions) SetAddresses

func (options *UpdateSourcesOptions) SetAddresses(addresses []string) *UpdateSourcesOptions

SetAddresses : Allow user to set Addresses

func (*UpdateSourcesOptions) SetHeaders

func (options *UpdateSourcesOptions) SetHeaders(param map[string]string) *UpdateSourcesOptions

SetHeaders : Allow user to set Headers

func (*UpdateSourcesOptions) SetLocationID

func (options *UpdateSourcesOptions) SetLocationID(locationID string) *UpdateSourcesOptions

SetLocationID : Allow user to set LocationID

func (*UpdateSourcesOptions) SetSourceID

func (options *UpdateSourcesOptions) SetSourceID(sourceID string) *UpdateSourcesOptions

SetSourceID : Allow user to set SourceID

func (*UpdateSourcesOptions) SetSourceName

func (options *UpdateSourcesOptions) SetSourceName(sourceName string) *UpdateSourcesOptions

SetSourceName : Allow user to set SourceName

type UpdatedEndpointRequestCerts

type UpdatedEndpointRequestCerts struct {
	// The CA which Satellite Link trust when receiving the connection from the client application.
	Client *UpdatedEndpointRequestCertsClient `json:"client,omitempty"`

	// The CA which Satellite Link trust when sending the connection to server application.
	Server *UpdatedEndpointRequestCertsServer `json:"server,omitempty"`

	// The cert which Satellite Link connector provide to identify itself for connecting to the client/server application.
	Connector *UpdatedEndpointRequestCertsConnector `json:"connector,omitempty"`
}

UpdatedEndpointRequestCerts : The certs.

type UpdatedEndpointRequestCertsClient

type UpdatedEndpointRequestCertsClient struct {
	// The root cert or the self-signed cert of the client application.
	Cert *UpdatedEndpointRequestCertsClientCert `json:"cert,omitempty"`
}

UpdatedEndpointRequestCertsClient : The CA which Satellite Link trust when receiving the connection from the client application.

type UpdatedEndpointRequestCertsClientCert

type UpdatedEndpointRequestCertsClientCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`

	// The content of the cert. The certificate file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

UpdatedEndpointRequestCertsClientCert : The root cert or the self-signed cert of the client application.

type UpdatedEndpointRequestCertsConnector

type UpdatedEndpointRequestCertsConnector struct {
	// The end-entity cert. This is required when the key is defined.
	Cert *UpdatedEndpointRequestCertsConnectorCert `json:"cert,omitempty"`

	// The private key of the end-entity certificate. This is required when the cert is defined.
	Key *UpdatedEndpointRequestCertsConnectorKey `json:"key,omitempty"`
}

UpdatedEndpointRequestCertsConnector : The cert which Satellite Link connector provide to identify itself for connecting to the client/server application.

type UpdatedEndpointRequestCertsConnectorCert

type UpdatedEndpointRequestCertsConnectorCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`

	// The content of the cert. The certificate file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

UpdatedEndpointRequestCertsConnectorCert : The end-entity cert. This is required when the key is defined.

type UpdatedEndpointRequestCertsConnectorKey

type UpdatedEndpointRequestCertsConnectorKey struct {
	// The name of the key.
	Filename *string `json:"filename,omitempty"`

	// The content of the key. The private key file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

UpdatedEndpointRequestCertsConnectorKey : The private key of the end-entity certificate. This is required when the cert is defined.

type UpdatedEndpointRequestCertsServer

type UpdatedEndpointRequestCertsServer struct {
	// The root cert or the self-signed cert of the server application.
	Cert *UpdatedEndpointRequestCertsServerCert `json:"cert,omitempty"`
}

UpdatedEndpointRequestCertsServer : The CA which Satellite Link trust when sending the connection to server application.

type UpdatedEndpointRequestCertsServerCert

type UpdatedEndpointRequestCertsServerCert struct {
	// The filename of the cert.
	Filename *string `json:"filename,omitempty"`

	// The content of the cert. The certificate file must be in Privacy-enhanced Electronic Mail (PEM) format.
	FileContents *string `json:"file_contents,omitempty"`
}

UpdatedEndpointRequestCertsServerCert : The root cert or the self-signed cert of the server application.

type UploadEndpointCertsOptions

type UploadEndpointCertsOptions struct {
	// The Location ID.
	LocationID *string `validate:"required,ne="`

	// The Endpoint ID.
	EndpointID *string `validate:"required,ne="`

	// The cert which Satellite Link trust when receiving the connection from the client application. Up to one cert could
	// be uploaded.
	ClientCert io.ReadCloser

	// The content type of clientCert.
	ClientCertContentType *string

	// The cert which Satellite Link trust when sending the connection to server application. Up to one cert could be
	// uploaded.
	ServerCert io.ReadCloser

	// The content type of serverCert.
	ServerCertContentType *string

	// The end-entity cert which Satellite Link connector provide to identify itself for connecting to the client/server
	// application. If uploading destKey as well, this field is required. Up to one cert could be uploaded.
	ConnectorCert io.ReadCloser

	// The content type of connectorCert.
	ConnectorCertContentType *string

	// The key for the connector_cert. If uploading connector_cert as well, this field is required. Up to one key could be
	// uploaded.
	ConnectorKey io.ReadCloser

	// The content type of connectorKey.
	ConnectorKeyContentType *string

	// Allows users to set headers on API requests
	Headers map[string]string
}

UploadEndpointCertsOptions : The UploadEndpointCerts options.

func (*UploadEndpointCertsOptions) SetClientCert

func (options *UploadEndpointCertsOptions) SetClientCert(clientCert io.ReadCloser) *UploadEndpointCertsOptions

SetClientCert : Allow user to set ClientCert

func (*UploadEndpointCertsOptions) SetClientCertContentType

func (options *UploadEndpointCertsOptions) SetClientCertContentType(clientCertContentType string) *UploadEndpointCertsOptions

SetClientCertContentType : Allow user to set ClientCertContentType

func (*UploadEndpointCertsOptions) SetConnectorCert

func (options *UploadEndpointCertsOptions) SetConnectorCert(connectorCert io.ReadCloser) *UploadEndpointCertsOptions

SetConnectorCert : Allow user to set ConnectorCert

func (*UploadEndpointCertsOptions) SetConnectorCertContentType

func (options *UploadEndpointCertsOptions) SetConnectorCertContentType(connectorCertContentType string) *UploadEndpointCertsOptions

SetConnectorCertContentType : Allow user to set ConnectorCertContentType

func (*UploadEndpointCertsOptions) SetConnectorKey

func (options *UploadEndpointCertsOptions) SetConnectorKey(connectorKey io.ReadCloser) *UploadEndpointCertsOptions

SetConnectorKey : Allow user to set ConnectorKey

func (*UploadEndpointCertsOptions) SetConnectorKeyContentType

func (options *UploadEndpointCertsOptions) SetConnectorKeyContentType(connectorKeyContentType string) *UploadEndpointCertsOptions

SetConnectorKeyContentType : Allow user to set ConnectorKeyContentType

func (*UploadEndpointCertsOptions) SetEndpointID

func (options *UploadEndpointCertsOptions) SetEndpointID(endpointID string) *UploadEndpointCertsOptions

SetEndpointID : Allow user to set EndpointID

func (*UploadEndpointCertsOptions) SetHeaders

func (options *UploadEndpointCertsOptions) SetHeaders(param map[string]string) *UploadEndpointCertsOptions

SetHeaders : Allow user to set Headers

func (*UploadEndpointCertsOptions) SetLocationID

func (options *UploadEndpointCertsOptions) SetLocationID(locationID string) *UploadEndpointCertsOptions

SetLocationID : Allow user to set LocationID

func (*UploadEndpointCertsOptions) SetServerCert

func (options *UploadEndpointCertsOptions) SetServerCert(serverCert io.ReadCloser) *UploadEndpointCertsOptions

SetServerCert : Allow user to set ServerCert

func (*UploadEndpointCertsOptions) SetServerCertContentType

func (options *UploadEndpointCertsOptions) SetServerCertContentType(serverCertContentType string) *UploadEndpointCertsOptions

SetServerCertContentType : Allow user to set ServerCertContentType

Jump to

Keyboard shortcuts

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