1. Packages
  2. Azure Native v2
  3. API Docs
  4. elastic
  5. getOpenAI
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.elastic.getOpenAI

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Capture properties of Open AI resource Integration. Azure REST API version: 2024-03-01.

Other available API versions: 2024-01-01-preview, 2024-05-01-preview, 2024-06-15-preview, 2024-10-01-preview.

Using getOpenAI

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getOpenAI(args: GetOpenAIArgs, opts?: InvokeOptions): Promise<GetOpenAIResult>
function getOpenAIOutput(args: GetOpenAIOutputArgs, opts?: InvokeOptions): Output<GetOpenAIResult>
Copy
def get_open_ai(integration_name: Optional[str] = None,
                monitor_name: Optional[str] = None,
                resource_group_name: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetOpenAIResult
def get_open_ai_output(integration_name: Optional[pulumi.Input[str]] = None,
                monitor_name: Optional[pulumi.Input[str]] = None,
                resource_group_name: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetOpenAIResult]
Copy
func LookupOpenAI(ctx *Context, args *LookupOpenAIArgs, opts ...InvokeOption) (*LookupOpenAIResult, error)
func LookupOpenAIOutput(ctx *Context, args *LookupOpenAIOutputArgs, opts ...InvokeOption) LookupOpenAIResultOutput
Copy

> Note: This function is named LookupOpenAI in the Go SDK.

public static class GetOpenAI 
{
    public static Task<GetOpenAIResult> InvokeAsync(GetOpenAIArgs args, InvokeOptions? opts = null)
    public static Output<GetOpenAIResult> Invoke(GetOpenAIInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetOpenAIResult> getOpenAI(GetOpenAIArgs args, InvokeOptions options)
public static Output<GetOpenAIResult> getOpenAI(GetOpenAIArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:elastic:getOpenAI
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

IntegrationName
This property is required.
Changes to this property will trigger replacement.
string
OpenAI Integration name
MonitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
IntegrationName
This property is required.
Changes to this property will trigger replacement.
string
OpenAI Integration name
MonitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
integrationName
This property is required.
Changes to this property will trigger replacement.
String
OpenAI Integration name
monitorName
This property is required.
Changes to this property will trigger replacement.
String
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
integrationName
This property is required.
Changes to this property will trigger replacement.
string
OpenAI Integration name
monitorName
This property is required.
Changes to this property will trigger replacement.
string
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
integration_name
This property is required.
Changes to this property will trigger replacement.
str
OpenAI Integration name
monitor_name
This property is required.
Changes to this property will trigger replacement.
str
Monitor resource name
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
integrationName
This property is required.
Changes to this property will trigger replacement.
String
OpenAI Integration name
monitorName
This property is required.
Changes to this property will trigger replacement.
String
Monitor resource name
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.

getOpenAI Result

The following output properties are available:

Id string
The id of the integration.
Name string
Name of the integration.
Properties Pulumi.AzureNative.Elastic.Outputs.OpenAIIntegrationPropertiesResponse
Open AI Integration details.
Type string
The type of the integration.
Id string
The id of the integration.
Name string
Name of the integration.
Properties OpenAIIntegrationPropertiesResponse
Open AI Integration details.
Type string
The type of the integration.
id String
The id of the integration.
name String
Name of the integration.
properties OpenAIIntegrationPropertiesResponse
Open AI Integration details.
type String
The type of the integration.
id string
The id of the integration.
name string
Name of the integration.
properties OpenAIIntegrationPropertiesResponse
Open AI Integration details.
type string
The type of the integration.
id str
The id of the integration.
name str
Name of the integration.
properties OpenAIIntegrationPropertiesResponse
Open AI Integration details.
type str
The type of the integration.
id String
The id of the integration.
name String
Name of the integration.
properties Property Map
Open AI Integration details.
type String
The type of the integration.

Supporting Types

OpenAIIntegrationPropertiesResponse

LastRefreshAt This property is required. string
Last Update Timestamp for key updation
Key string
Value of API key for Open AI resource
OpenAIResourceEndpoint string
The API endpoint for Open AI resource
OpenAIResourceId string
The resource name of Open AI resource
LastRefreshAt This property is required. string
Last Update Timestamp for key updation
Key string
Value of API key for Open AI resource
OpenAIResourceEndpoint string
The API endpoint for Open AI resource
OpenAIResourceId string
The resource name of Open AI resource
lastRefreshAt This property is required. String
Last Update Timestamp for key updation
key String
Value of API key for Open AI resource
openAIResourceEndpoint String
The API endpoint for Open AI resource
openAIResourceId String
The resource name of Open AI resource
lastRefreshAt This property is required. string
Last Update Timestamp for key updation
key string
Value of API key for Open AI resource
openAIResourceEndpoint string
The API endpoint for Open AI resource
openAIResourceId string
The resource name of Open AI resource
last_refresh_at This property is required. str
Last Update Timestamp for key updation
key str
Value of API key for Open AI resource
open_ai_resource_endpoint str
The API endpoint for Open AI resource
open_ai_resource_id str
The resource name of Open AI resource
lastRefreshAt This property is required. String
Last Update Timestamp for key updation
key String
Value of API key for Open AI resource
openAIResourceEndpoint String
The API endpoint for Open AI resource
openAIResourceId String
The resource name of Open AI resource

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi