Class LowLevelObservabilityNamespace
Observability APIs.
Not intended to be instantiated directly. Use the Observability property on IOpenSearchLowLevelClient.
Inherited Members
Namespace: OpenSearch.Net.Specification.ObservabilityApi
Assembly: OpenSearch.Net.dll
Syntax
public class LowLevelObservabilityNamespace : NamespacedClientProxy
Methods
| Edit this page View SourceCreateObjectAsync<TResponse>(PostData, CreateObjectRequestParameters, CancellationToken)
POST on /_plugins/_observability/object
Declaration
public Task<TResponse> CreateObjectAsync<TResponse>(PostData body, CreateObjectRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
PostData | body | |
CreateObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
CreateObject<TResponse>(PostData, CreateObjectRequestParameters)
POST on /_plugins/_observability/object
Declaration
public TResponse CreateObject<TResponse>(PostData body, CreateObjectRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
PostData | body | |
CreateObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
DeleteObjectAsync<TResponse>(string, DeleteObjectRequestParameters, CancellationToken)
DELETE on /_plugins/_observability/object/{object_id}
Declaration
public Task<TResponse> DeleteObjectAsync<TResponse>(string objectId, DeleteObjectRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
string | objectId | The ID of the Observability Object. |
DeleteObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
DeleteObject<TResponse>(string, DeleteObjectRequestParameters)
DELETE on /_plugins/_observability/object/{object_id}
Declaration
public TResponse DeleteObject<TResponse>(string objectId, DeleteObjectRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
string | objectId | The ID of the Observability Object. |
DeleteObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
DeleteObjectsAsync<TResponse>(DeleteObjectsRequestParameters, CancellationToken)
DELETE on /_plugins/_observability/object
Declaration
public Task<TResponse> DeleteObjectsAsync<TResponse>(DeleteObjectsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
DeleteObjectsRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
DeleteObjects<TResponse>(DeleteObjectsRequestParameters)
DELETE on /_plugins/_observability/object
Declaration
public TResponse DeleteObjects<TResponse>(DeleteObjectsRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
DeleteObjectsRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
GetLocalstatsAsync<TResponse>(GetLocalstatsRequestParameters, CancellationToken)
GET on /_plugins/_observability/_local/stats
Declaration
public Task<TResponse> GetLocalstatsAsync<TResponse>(GetLocalstatsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
GetLocalstatsRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
GetLocalstats<TResponse>(GetLocalstatsRequestParameters)
GET on /_plugins/_observability/_local/stats
Declaration
public TResponse GetLocalstats<TResponse>(GetLocalstatsRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
GetLocalstatsRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
GetObjectAsync<TResponse>(string, GetObjectRequestParameters, CancellationToken)
GET on /_plugins/_observability/object/{object_id}
Declaration
public Task<TResponse> GetObjectAsync<TResponse>(string objectId, GetObjectRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
string | objectId | The ID of the Observability Object. |
GetObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
GetObject<TResponse>(string, GetObjectRequestParameters)
GET on /_plugins/_observability/object/{object_id}
Declaration
public TResponse GetObject<TResponse>(string objectId, GetObjectRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
string | objectId | The ID of the Observability Object. |
GetObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
ListObjectsAsync<TResponse>(ListObjectsRequestParameters, CancellationToken)
GET on /_plugins/_observability/object
Declaration
public Task<TResponse> ListObjectsAsync<TResponse>(ListObjectsRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
ListObjectsRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
ListObjects<TResponse>(ListObjectsRequestParameters)
GET on /_plugins/_observability/object
Declaration
public TResponse ListObjects<TResponse>(ListObjectsRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
ListObjectsRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
UpdateObjectAsync<TResponse>(string, PostData, UpdateObjectRequestParameters, CancellationToken)
PUT on /_plugins/_observability/object/{object_id}
Declaration
public Task<TResponse> UpdateObjectAsync<TResponse>(string objectId, PostData body, UpdateObjectRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
string | objectId | The ID of the Observability Object. |
PostData | body | |
UpdateObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
CancellationToken | ctx |
Returns
Type | Description |
---|---|
Task<TResponse> |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.
UpdateObject<TResponse>(string, PostData, UpdateObjectRequestParameters)
PUT on /_plugins/_observability/object/{object_id}
Declaration
public TResponse UpdateObject<TResponse>(string objectId, PostData body, UpdateObjectRequestParameters requestParameters = null) where TResponse : class, IOpenSearchResponse, new()
Parameters
Type | Name | Description |
---|---|---|
string | objectId | The ID of the Observability Object. |
PostData | body | |
UpdateObjectRequestParameters | requestParameters | Request specific configuration such as querystring parameters & request specific connection settings. |
Returns
Type | Description |
---|---|
TResponse |
Type Parameters
Name | Description |
---|---|
TResponse |
Remarks
Supported by OpenSearch servers of version 1.1.0 or greater.