共用方式為


ArmElasticModelFactory.ElasticOpenAIIntegrationProperties Method

Definition

Initializes a new instance of ElasticOpenAIIntegrationProperties.

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

Parameters

openAIResourceId
ResourceIdentifier

The resource id of Open AI resource.

openAIResourceEndpoint
String

The API endpoint for 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 ElasticOpenAIIntegrationProperties instance for mocking.

Applies to