Class CloudConnectionPool
An IConnection
Read more about OpenSearch Cloud Id:
Inherited Members
Namespace: OpenSearch .Net
Assembly: OpenSearch.Net.dll
Syntax
public class CloudConnectionPool : SingleNodeConnectionPool, IConnectionPool, IDisposable
Constructors
| Edit this page View SourceCloudConnectionPool(string, ApiKeyAuthenticationCredentials, IDateTimeProvider)
An IConnection
Read more about OpenSearch Cloud Id here
Declaration
public CloudConnectionPool(string cloudId, ApiKeyAuthenticationCredentials credentials, IDateTimeProvider dateTimeProvider = null)
Parameters
Type | Name | Description |
---|---|---|
string | cloudId | The Cloud Id, this is available on your cluster's dashboard and is a string in the form of Base64 encoded string contains the following tokens in order separated by $: * Host Name (mandatory) * OpenSearch UUID (mandatory) * OpenSearchDashboards UUID * APM UUID We then use these tokens to create the URI to your OpenSearch Cloud cluster! Read more here: |
Api |
credentials | |
IDate |
dateTimeProvider |
CloudConnectionPool(string, BasicAuthenticationCredentials, IDateTimeProvider)
An IConnection
Read more about OpenSearch Cloud Id here
Declaration
public CloudConnectionPool(string cloudId, BasicAuthenticationCredentials credentials, IDateTimeProvider dateTimeProvider = null)
Parameters
Type | Name | Description |
---|---|---|
string | cloudId | The Cloud Id, this is available on your cluster's dashboard and is a string in the form of Base64 encoded string contains the following tokens in order separated by $: * Host Name (mandatory) * OpenSearch UUID (mandatory) * OpenSearchDashboards UUID * APM UUID We then use these tokens to create the URI to your OpenSearch Cloud cluster! Read more here: |
Basic |
credentials | |
IDate |
dateTimeProvider |
Properties
| Edit this page View SourceApiKeyCredentials
Declaration
public ApiKeyAuthenticationCredentials ApiKeyCredentials { get; }
Property Value
Type | Description |
---|---|
Api |
BasicCredentials
Declaration
public BasicAuthenticationCredentials BasicCredentials { get; }
Property Value
Type | Description |
---|---|
Basic |
Methods
| Edit this page View SourceDisposeManagedResources()
Declaration
protected override void DisposeManagedResources()