Class CloudConnectionPool
An IConnectionPool implementation that can be seeded with a cloud id and will signal the right defaults for the client to use for OpenSearch Cloud to IConnectionConfigurationValues.
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 IConnectionPool implementation that can be seeded with a cloud id and will signal the right defaults for the client to use for OpenSearch Cloud to IConnectionConfigurationValues.
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: |
ApiKeyAuthenticationCredentials | credentials | |
IDateTimeProvider | dateTimeProvider |
CloudConnectionPool(string, BasicAuthenticationCredentials, IDateTimeProvider)
An IConnectionPool implementation that can be seeded with a cloud id and will signal the right defaults for the client to use for OpenSearch Cloud to IConnectionConfigurationValues.
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: |
BasicAuthenticationCredentials | credentials | |
IDateTimeProvider | dateTimeProvider |
Properties
| Edit this page View SourceApiKeyCredentials
Declaration
public ApiKeyAuthenticationCredentials ApiKeyCredentials { get; }
Property Value
Type | Description |
---|---|
ApiKeyAuthenticationCredentials |
BasicCredentials
Declaration
public BasicAuthenticationCredentials BasicCredentials { get; }
Property Value
Type | Description |
---|---|
BasicAuthenticationCredentials |
Methods
| Edit this page View SourceDisposeManagedResources()
Declaration
protected override void DisposeManagedResources()