ElasticMonitorResource.GetElasticOpenAIIntegrationAsync Method

Definition

Get detailed information about OpenAI integration rules for a given Elastic monitor resource.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>> GetElasticOpenAIIntegrationAsync(string integrationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetElasticOpenAIIntegrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>>
override this.GetElasticOpenAIIntegrationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>>
Public Overridable Function GetElasticOpenAIIntegrationAsync (integrationName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ElasticOpenAIIntegrationResource))

Parameters

integrationName
String

OpenAI Integration name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

integrationName is null.

integrationName is an empty string, and was expected to be non-empty.

Applies to