92 std::optional<std::string> certificate{};
98 std::optional<std::string> client_certificate{};
104 std::optional<std::string> client_key{};
110 std::optional<std::string> username{};
111 std::optional<std::string> password{};
115 return analytics_link_type::couchbase_remote;
145 std::string dataverse_name,
146 std::string hostname,
148 std::optional<std::string> username = {},
149 std::optional<std::string> password = {});
156 std::optional<std::string> session_token{};
157 std::optional<std::string> service_endpoint{};
161 return analytics_link_type::s3_external;
187 std::string dataverse_name,
188 std::string access_key_id,
189 std::string secret_access_key,
191 std::optional<std::string> session_token = {},
192 std::optional<std::string> service_endpoint = {});
196 std::optional<std::string> connection_string{};
197 std::optional<std::string> account_name{};
198 std::optional<std::string> account_key{};
199 std::optional<std::string> shared_access_signature{};
200 std::optional<std::string> blob_endpoint{};
201 std::optional<std::string> endpoint_suffix{};
205 return analytics_link_type::azure_external;
234 std::string dataverse_name,
235 std::optional<std::string> connection_string = {},
236 std::optional<std::string> account_name = {},
237 std::optional<std::string> account_key = {},
238 std::optional<std::string> shared_access_signature = {},
239 std::optional<std::string> blob_endpoint = {},
240 std::optional<std::string> endpoint_suffix = {});
Definition analytics_dataset.hxx:23
analytics_encryption_level
Definition analytics_link.hxx:44
@ full
Connect to the remote Couchbase cluster using a channel secured by TLS.
Definition analytics_link.hxx:63
@ half
Connect to the remote Couchbase cluster using an unsecured channel.
Definition analytics_link.hxx:55
@ none
Connect to the remote Couchbase cluster using an unsecured channel.
Definition analytics_link.hxx:49
analytics_link_type
Definition analytics_link.hxx:26
@ couchbase_remote
A remote analytics link that uses a Couchbase data service that is not part of the same cluster as th...
Definition analytics_link.hxx:41
@ s3_external
S3 external analytics link.
Definition analytics_link.hxx:30
@ azure_external
Azure external analytics link.
Definition analytics_link.hxx:35
Definition analytics_link.hxx:66
std::string dataverse_name
Definition analytics_link.hxx:68
virtual ~analytics_link()=default
virtual auto link_type() const -> analytics_link_type=0
Returns the type of this analytics link.
std::string name
Definition analytics_link.hxx:67
Definition analytics_link.hxx:195
auto link_type() const -> analytics_link_type override
Returns the type of this analytics link.
Definition analytics_link.hxx:203
azure_blob_external_analytics_link(std::string name, std::string dataverse_name, std::optional< std::string > connection_string={}, std::optional< std::string > account_name={}, std::optional< std::string > account_key={}, std::optional< std::string > shared_access_signature={}, std::optional< std::string > blob_endpoint={}, std::optional< std::string > endpoint_suffix={})
Constructs and initializes an external Azure blob analytics link.
azure_blob_external_analytics_link()=default
Constructs an empty external Azure blob analytics link.
Definition analytics_link.hxx:83
Definition analytics_link.hxx:107
auto link_type() const -> analytics_link_type override
Returns the type of this analytics link.
Definition analytics_link.hxx:113
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.
std::string hostname
Definition analytics_link.hxx:108
Definition analytics_link.hxx:152
auto link_type() const -> analytics_link_type override
Returns the type of this analytics link.
Definition analytics_link.hxx:159
s3_external_analytics_link(std::string name, std::string dataverse_name, std::string access_key_id, std::string secret_access_key, std::string region, std::optional< std::string > session_token={}, std::optional< std::string > service_endpoint={})
Constructs and initializes an external S3 analytics link with the given parameters.
std::string region
Definition analytics_link.hxx:155
std::string secret_access_key
Definition analytics_link.hxx:154
std::string access_key_id
Definition analytics_link.hxx:153
s3_external_analytics_link()=default
Constructs an empty external S3 analytics link.