次の方法で共有


ElasticMonitorResource.GetElasticOpenAIIntegration Method

Definition

Get OpenAI integration rule for a given monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}
  • Operation Id: OpenAI_Get
  • Default Api Version: 2024-03-01
  • Resource: ElasticOpenAIIntegrationResource
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