Share via


ElasticOpenAIIntegrationCollection Class

Definition

A class representing a collection of ElasticOpenAIIntegrationResource and their operations. Each ElasticOpenAIIntegrationResource in the collection will belong to the same instance of ElasticMonitorResource. To get an ElasticOpenAIIntegrationCollection instance call the GetElasticOpenAIIntegrations method from an instance of ElasticMonitorResource.

public class ElasticOpenAIIntegrationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Elastic.ElasticOpenAIIntegrationResource>
type ElasticOpenAIIntegrationCollection = class
    inherit ArmCollection
    interface seq<ElasticOpenAIIntegrationResource>
    interface IEnumerable
    interface IAsyncEnumerable<ElasticOpenAIIntegrationResource>
Public Class ElasticOpenAIIntegrationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of ElasticOpenAIIntegrationResource), IEnumerable(Of ElasticOpenAIIntegrationResource)
Inheritance
ElasticOpenAIIntegrationCollection
Implements

Constructors

ElasticOpenAIIntegrationCollection()

Initializes a new instance of the ElasticOpenAIIntegrationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, ElasticOpenAIIntegrationData, CancellationToken)

Create or update a OpenAI integration rule for a given monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}
  • Operation Id: OpenAI_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ElasticOpenAIIntegrationResource
CreateOrUpdateAsync(WaitUntil, String, ElasticOpenAIIntegrationData, CancellationToken)

Create or update a OpenAI integration rule for a given monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations/{integrationName}
  • Operation Id: OpenAI_CreateOrUpdate
  • Default Api Version: 2024-03-01
  • Resource: ElasticOpenAIIntegrationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • 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
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • 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
Get(String, CancellationToken)

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
GetAll(CancellationToken)

List OpenAI integration rule for a given monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations
  • Operation Id: OpenAI_List
  • Default Api Version: 2024-03-01
  • Resource: ElasticOpenAIIntegrationResource
GetAllAsync(CancellationToken)

List OpenAI integration rule for a given monitor resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/openAIIntegrations
  • Operation Id: OpenAI_List
  • Default Api Version: 2024-03-01
  • Resource: ElasticOpenAIIntegrationResource
GetAsync(String, CancellationToken)

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
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • 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
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • 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
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<ElasticOpenAIIntegrationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<ElasticOpenAIIntegrationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to