azure-native.elastic.getOpenAI
Explore with Pulumi AI
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>
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]
func LookupOpenAI(ctx *Context, args *LookupOpenAIArgs, opts ...InvokeOption) (*LookupOpenAIResult, error)
func LookupOpenAIOutput(ctx *Context, args *LookupOpenAIOutputArgs, opts ...InvokeOption) LookupOpenAIResultOutput
> 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)
}
public static CompletableFuture<GetOpenAIResult> getOpenAI(GetOpenAIArgs args, InvokeOptions options)
public static Output<GetOpenAIResult> getOpenAI(GetOpenAIArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:elastic:getOpenAI
arguments:
# arguments dictionary
The following arguments are supported:
- Integration
Name string - OpenAI Integration name
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Integration
Name string - OpenAI Integration name
- Monitor
Name string - Monitor resource name
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- integration
Name String - OpenAI Integration name
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- integration
Name string - OpenAI Integration name
- monitor
Name string - Monitor resource name
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- integration_
name str - OpenAI Integration name
- monitor_
name str - Monitor resource name
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- integration
Name String - OpenAI Integration name
- monitor
Name String - Monitor resource name
- resource
Group StringName - The name of the resource group. The name is case insensitive.
getOpenAI Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The id of the integration.
- Name string
- Name of the integration.
- Properties
Pulumi.
Azure Native. Elastic. Outputs. Open AIIntegration Properties Response - Open AI Integration details.
- Type string
- The type of the integration.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The id of the integration.
- Name string
- Name of the integration.
- Properties
Open
AIIntegration Properties Response - Open AI Integration details.
- Type string
- The type of the integration.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The id of the integration.
- name String
- Name of the integration.
- properties
Open
AIIntegration Properties Response - Open AI Integration details.
- type String
- The type of the integration.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The id of the integration.
- name string
- Name of the integration.
- properties
Open
AIIntegration Properties Response - Open AI Integration details.
- type string
- The type of the integration.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The id of the integration.
- name str
- Name of the integration.
- properties
Open
AIIntegration Properties Response - Open AI Integration details.
- type str
- The type of the integration.
- azure
Api StringVersion - 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
- Last
Refresh stringAt - Last Update Timestamp for key updation
- Key string
- Value of API key for Open AI resource
- Open
AIResource stringEndpoint - The API endpoint for Open AI resource
- Open
AIResource stringId - The resource name of Open AI resource
- Last
Refresh stringAt - Last Update Timestamp for key updation
- Key string
- Value of API key for Open AI resource
- Open
AIResource stringEndpoint - The API endpoint for Open AI resource
- Open
AIResource stringId - The resource name of Open AI resource
- last
Refresh StringAt - Last Update Timestamp for key updation
- key String
- Value of API key for Open AI resource
- open
AIResource StringEndpoint - The API endpoint for Open AI resource
- open
AIResource StringId - The resource name of Open AI resource
- last
Refresh stringAt - Last Update Timestamp for key updation
- key string
- Value of API key for Open AI resource
- open
AIResource stringEndpoint - The API endpoint for Open AI resource
- open
AIResource stringId - The resource name of Open AI resource
- last_
refresh_ strat - Last Update Timestamp for key updation
- key str
- Value of API key for Open AI resource
- open_
ai_ strresource_ endpoint - The API endpoint for Open AI resource
- open_
ai_ strresource_ id - The resource name of Open AI resource
- last
Refresh StringAt - Last Update Timestamp for key updation
- key String
- Value of API key for Open AI resource
- open
AIResource StringEndpoint - The API endpoint for Open AI resource
- open
AIResource StringId - The resource name of Open AI resource
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0