1. Packages
  2. Azure Native
  3. API Docs
  4. elastic
  5. getOpenAI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.elastic.getOpenAI

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

Capture properties of Open AI resource Integration.

Uses 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, 2025-01-15-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native elastic [ApiVersion]. See the version guide for details.

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:

AzureApiVersion string
The Azure API version of the resource.
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.
AzureApiVersion string
The Azure API version of the resource.
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.
azureApiVersion String
The Azure API version of the resource.
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.
azureApiVersion string
The Azure API version of the resource.
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.
azure_api_version str
The Azure API version of the resource.
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.
azureApiVersion String
The Azure API version of the resource.
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 pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi