1. Packages
  2. Azure Native
  3. API Docs
  4. elastic
  5. getOpenAI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

azure-native.elastic.getOpenAI

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi

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

    Other available API versions: 2024-01-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>
    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:elastic:getOpenAI
      arguments:
        # arguments dictionary

    The following arguments are supported:

    IntegrationName string
    OpenAI Integration name
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    IntegrationName string
    OpenAI Integration name
    MonitorName string
    Monitor resource name
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    integrationName String
    OpenAI Integration name
    monitorName String
    Monitor resource name
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    integrationName string
    OpenAI Integration name
    monitorName string
    Monitor resource name
    resourceGroupName string
    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_name str
    The name of the resource group. The name is case insensitive.
    integrationName String
    OpenAI Integration name
    monitorName String
    Monitor resource name
    resourceGroupName 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 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 id of Open AI resource
    LastRefreshAt 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 id of Open AI resource
    lastRefreshAt 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 id of Open AI resource
    lastRefreshAt 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 id of Open AI resource
    last_refresh_at 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 id of Open AI resource
    lastRefreshAt 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 id of Open AI resource

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.39.0 published on Monday, Apr 29, 2024 by Pulumi