ArmElasticModelFactory.OpenAIIntegrationProperties Method

Definition

Initializes a new instance of OpenAIIntegrationProperties.

public static Azure.ResourceManager.Elastic.Models.OpenAIIntegrationProperties OpenAIIntegrationProperties (string openAIResourceId = default, string openAIResourceEndpoint = default, string openAIConnectorId = default, string key = default, DateTimeOffset? lastRefreshOn = default);
static member OpenAIIntegrationProperties : string * string * string * string * Nullable<DateTimeOffset> -> Azure.ResourceManager.Elastic.Models.OpenAIIntegrationProperties
Public Shared Function OpenAIIntegrationProperties (Optional openAIResourceId As String = Nothing, Optional openAIResourceEndpoint As String = Nothing, Optional openAIConnectorId As String = Nothing, Optional key As String = Nothing, Optional lastRefreshOn As Nullable(Of DateTimeOffset) = Nothing) As OpenAIIntegrationProperties

Parameters

openAIResourceId
String

The resource name of Open AI resource.

openAIResourceEndpoint
String

The API endpoint for Open AI resource.

openAIConnectorId
String

The connector id of Open AI resource.

key
String

Value of API key for Open AI resource.

lastRefreshOn
Nullable<DateTimeOffset>

Last Update Timestamp for key updation.

Returns

A new OpenAIIntegrationProperties instance for mocking.

Applies to