ElasticMonitorResource.GetElasticOpenAIIntegration Method

Definition

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

public virtual Azure.Response<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource> GetElasticOpenAIIntegration(string integrationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetElasticOpenAIIntegration : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>
override this.GetElasticOpenAIIntegration : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>
Public Overridable Function GetElasticOpenAIIntegration (integrationName As String, Optional cancellationToken As CancellationToken = Nothing) As 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