Couchbase C++ SDK 1.0.1 (rev. 58d46d7)
Loading...
Searching...
No Matches
couchbase_remote_analytics_link Struct Reference

#include <couchbase/management/analytics_link.hxx>

Inheritance diagram for couchbase_remote_analytics_link:
Inheritance graph

Public Member Functions

auto link_type () const -> analytics_link_type override
 Returns the type of this analytics link.
 
 couchbase_remote_analytics_link ()=default
 Constructs an empty remote Couchbase analytics link.
 
 couchbase_remote_analytics_link (std::string name, std::string dataverse_name, std::string hostname, couchbase_analytics_encryption_settings encryption={}, std::optional< std::string > username={}, std::optional< std::string > password={})
 Constructs and initializes a remote Couchbase analytics link with the given parameters.
 

Public Attributes

std::string hostname
 
couchbase_analytics_encryption_settings encryption {}
 
std::optional< std::string > username {}
 
std::optional< std::string > password {}
 

Constructor & Destructor Documentation

◆ couchbase_remote_analytics_link() [1/2]

Constructs an empty remote Couchbase analytics link.

Since
1.0.0
Committed
Generally available API and should be preferred in production

◆ couchbase_remote_analytics_link() [2/2]

couchbase_remote_analytics_link ( std::string name,
std::string dataverse_name,
std::string hostname,
couchbase_analytics_encryption_settings encryption = {},
std::optional< std::string > username = {},
std::optional< std::string > password = {} )

Constructs and initializes a remote Couchbase analytics link with the given parameters.

A remote analytics link uses a Couchbase data service that is not part of the same cluster as the Analytics service.

Parameters
namethe name of the link
dataverse_namethe dataverse that the link belongs to. Its format can be one part dataversename or two parts bucket_name/scope_name
hostnamethe hostname of the target Couchbase cluster
encryptionthe encryption settings for the link
usernamethe username to use for authentication with the remote cluster. Optional if client certificate authentication is being used
passwordthe password to use for authentication with the remote cluster. Optional if client-certificate authentication is being used
Since
1.0.0
Committed
Generally available API and should be preferred in production

Member Function Documentation

◆ link_type()

auto link_type ( ) const -> analytics_link_type
inlineoverridevirtual

Returns the type of this analytics link.

Returns
the link type

Implements analytics_link.

Member Data Documentation

◆ encryption

◆ hostname

std::string hostname

◆ password

std::optional<std::string> password {}

◆ username

std::optional<std::string> username {}

The documentation for this struct was generated from the following file: