ArmElasticModelFactory.ElasticOpenAIIntegrationProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.