Condividi tramite


OpenAIIntegrationRPModelCollection Class

Definition

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

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

Constructors

OpenAIIntegrationRPModelCollection()

Initializes a new instance of the OpenAIIntegrationRPModelCollection 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, OpenAIIntegrationRPModelData, 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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
CreateOrUpdateAsync(WaitUntil, String, OpenAIIntegrationRPModelData, 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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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-06-15-preview
  • Resource: OpenAIIntegrationRPModelResource
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<OpenAIIntegrationRPModelResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<OpenAIIntegrationRPModelResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to