@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.53 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* 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, 2025-06-01. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOpenAI(args: GetOpenAIArgs, opts?: pulumi.InvokeOptions): Promise<GetOpenAIResult>;
export interface GetOpenAIArgs {
/**
* OpenAI Integration name
*/
integrationName: string;
/**
* Monitor resource name
*/
monitorName: string;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: string;
}
/**
* Capture properties of Open AI resource Integration.
*/
export interface GetOpenAIResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The id of the integration.
*/
readonly id: string;
/**
* Name of the integration.
*/
readonly name: string;
/**
* Open AI Integration details.
*/
readonly properties: outputs.elastic.OpenAIIntegrationPropertiesResponse;
/**
* The type of the integration.
*/
readonly type: string;
}
/**
* 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, 2025-06-01. 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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare function getOpenAIOutput(args: GetOpenAIOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOpenAIResult>;
export interface GetOpenAIOutputArgs {
/**
* OpenAI Integration name
*/
integrationName: pulumi.Input<string>;
/**
* Monitor resource name
*/
monitorName: pulumi.Input<string>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
}