1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. GoldenGate
  6. getAiProviders
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi

    This data source provides the list of Ai Providers in Oracle Cloud Infrastructure Golden Gate service.

    Returns the list of AI providers along with their supported models.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAiProviders = oci.goldengate.getAiProviders({
        compartmentId: compartmentId,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_ai_providers = oci.goldengate.get_ai_providers(compartment_id=compartment_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/goldengate"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := goldengate.GetAiProviders(ctx, &goldengate.GetAiProvidersArgs{
    			CompartmentId: compartmentId,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testAiProviders = Oci.GoldenGate.GetAiProviders.Invoke(new()
        {
            CompartmentId = compartmentId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GoldenGate.GoldenGateFunctions;
    import com.pulumi.oci.GoldenGate.inputs.GetAiProvidersArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testAiProviders = GoldenGateFunctions.getAiProviders(GetAiProvidersArgs.builder()
                .compartmentId(compartmentId)
                .build());
    
        }
    }
    
    variables:
      testAiProviders:
        fn::invoke:
          function: oci:GoldenGate:getAiProviders
          arguments:
            compartmentId: ${compartmentId}
    
    pulumi {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_goldengate_getaiproviders" "testAiProviders" {
      compartment_id = compartmentId
    }
    

    Using getAiProviders

    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 getAiProviders(args: GetAiProvidersArgs, opts?: InvokeOptions): Promise<GetAiProvidersResult>
    function getAiProvidersOutput(args: GetAiProvidersOutputArgs, opts?: InvokeOutputOptions): Output<GetAiProvidersResult>
    def get_ai_providers(compartment_id: Optional[str] = None,
                         filters: Optional[Sequence[GetAiProvidersFilter]] = None,
                         opts: Optional[InvokeOptions] = None) -> GetAiProvidersResult
    def get_ai_providers_output(compartment_id: pulumi.Input[Optional[str]] = None,
                         filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetAiProvidersFilterArgs]]]] = None,
                         opts: Optional[InvokeOutputOptions] = None) -> Output[GetAiProvidersResult]
    func GetAiProviders(ctx *Context, args *GetAiProvidersArgs, opts ...InvokeOption) (*GetAiProvidersResult, error)
    func GetAiProvidersOutput(ctx *Context, args *GetAiProvidersOutputArgs, opts ...InvokeOption) GetAiProvidersResultOutput

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

    public static class GetAiProviders 
    {
        public static Task<GetAiProvidersResult> InvokeAsync(GetAiProvidersArgs args, InvokeOptions? opts = null)
        public static Output<GetAiProvidersResult> Invoke(GetAiProvidersInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAiProvidersResult> Invoke(GetAiProvidersInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAiProvidersResult> getAiProviders(GetAiProvidersArgs args, InvokeOptions options)
    public static Output<GetAiProvidersResult> getAiProviders(GetAiProvidersArgs args, InvokeOptions options)
    public static Output<GetAiProvidersResult> getAiProviders(GetAiProvidersArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:GoldenGate/getAiProviders:getAiProviders
      arguments:
        # arguments dictionary
    data "oci_golden_gate_get_ai_providers" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    Filters List<GetAiProvidersFilter>
    CompartmentId string
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    Filters []GetAiProvidersFilter
    compartment_id string
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    filters list(object)
    compartmentId String
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    filters List<GetAiProvidersFilter>
    compartmentId string
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    filters GetAiProvidersFilter[]
    compartment_id str
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    filters Sequence[GetAiProvidersFilter]
    compartmentId String
    The OCID of the compartment that contains the work request. Work requests should be scoped to the same compartment as the resource the work request affects. If the work request concerns multiple resources, and those resources are not in the same compartment, it is up to the service team to pick the primary resource whose compartment should be used.
    filters List<Property Map>

    getAiProviders Result

    The following output properties are available:

    AiProviderCollections List<GetAiProvidersAiProviderCollection>
    The list of ai_provider_collection.
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters List<GetAiProvidersFilter>
    AiProviderCollections []GetAiProvidersAiProviderCollection
    The list of ai_provider_collection.
    CompartmentId string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetAiProvidersFilter
    ai_provider_collections list(object)
    The list of ai_provider_collection.
    compartment_id string
    id string
    The provider-assigned unique ID for this managed resource.
    filters list(object)
    aiProviderCollections List<GetAiProvidersAiProviderCollection>
    The list of ai_provider_collection.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<GetAiProvidersFilter>
    aiProviderCollections GetAiProvidersAiProviderCollection[]
    The list of ai_provider_collection.
    compartmentId string
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetAiProvidersFilter[]
    ai_provider_collections Sequence[GetAiProvidersAiProviderCollection]
    The list of ai_provider_collection.
    compartment_id str
    id str
    The provider-assigned unique ID for this managed resource.
    filters Sequence[GetAiProvidersFilter]
    aiProviderCollections List<Property Map>
    The list of ai_provider_collection.
    compartmentId String
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>

    Supporting Types

    GetAiProvidersAiProviderCollection

    items list(object)
    An array of AI providers.
    items List<Property Map>
    An array of AI providers.

    GetAiProvidersAiProviderCollectionItem

    AuthTypes List<string>
    Authentication types supported by the AI provider.
    DefaultBaseUrl string
    Default base URL for the AI provider.
    Description string
    Metadata about this specific object.
    DisplayName string
    An object's Display Name.
    Models List<GetAiProvidersAiProviderCollectionItemModel>
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    ProviderType string
    AI Provider type used by the AI Model Connection.
    AuthTypes []string
    Authentication types supported by the AI provider.
    DefaultBaseUrl string
    Default base URL for the AI provider.
    Description string
    Metadata about this specific object.
    DisplayName string
    An object's Display Name.
    Models []GetAiProvidersAiProviderCollectionItemModel
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    ProviderType string
    AI Provider type used by the AI Model Connection.
    auth_types list(string)
    Authentication types supported by the AI provider.
    default_base_url string
    Default base URL for the AI provider.
    description string
    Metadata about this specific object.
    display_name string
    An object's Display Name.
    models list(object)
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    provider_type string
    AI Provider type used by the AI Model Connection.
    authTypes List<String>
    Authentication types supported by the AI provider.
    defaultBaseUrl String
    Default base URL for the AI provider.
    description String
    Metadata about this specific object.
    displayName String
    An object's Display Name.
    models List<GetAiProvidersAiProviderCollectionItemModel>
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    providerType String
    AI Provider type used by the AI Model Connection.
    authTypes string[]
    Authentication types supported by the AI provider.
    defaultBaseUrl string
    Default base URL for the AI provider.
    description string
    Metadata about this specific object.
    displayName string
    An object's Display Name.
    models GetAiProvidersAiProviderCollectionItemModel[]
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    providerType string
    AI Provider type used by the AI Model Connection.
    auth_types Sequence[str]
    Authentication types supported by the AI provider.
    default_base_url str
    Default base URL for the AI provider.
    description str
    Metadata about this specific object.
    display_name str
    An object's Display Name.
    models Sequence[GetAiProvidersAiProviderCollectionItemModel]
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    provider_type str
    AI Provider type used by the AI Model Connection.
    authTypes List<String>
    Authentication types supported by the AI provider.
    defaultBaseUrl String
    Default base URL for the AI provider.
    description String
    Metadata about this specific object.
    displayName String
    An object's Display Name.
    models List<Property Map>
    List of AI models supported by this provider, when available. This field is null when the provider's models can be retrieved only after supplying additional context. For example, OCI_GENERATIVE_AI model availability may vary by region.
    providerType String
    AI Provider type used by the AI Model Connection.

    GetAiProvidersAiProviderCollectionItemModel

    Description string
    Metadata about this specific object.
    DisplayName string
    An object's Display Name.
    Key string
    The identifier of the AI model offered by a provider.
    ProviderType string
    AI Provider type used by the AI Model Connection.
    Description string
    Metadata about this specific object.
    DisplayName string
    An object's Display Name.
    Key string
    The identifier of the AI model offered by a provider.
    ProviderType string
    AI Provider type used by the AI Model Connection.
    description string
    Metadata about this specific object.
    display_name string
    An object's Display Name.
    key string
    The identifier of the AI model offered by a provider.
    provider_type string
    AI Provider type used by the AI Model Connection.
    description String
    Metadata about this specific object.
    displayName String
    An object's Display Name.
    key String
    The identifier of the AI model offered by a provider.
    providerType String
    AI Provider type used by the AI Model Connection.
    description string
    Metadata about this specific object.
    displayName string
    An object's Display Name.
    key string
    The identifier of the AI model offered by a provider.
    providerType string
    AI Provider type used by the AI Model Connection.
    description str
    Metadata about this specific object.
    display_name str
    An object's Display Name.
    key str
    The identifier of the AI model offered by a provider.
    provider_type str
    AI Provider type used by the AI Model Connection.
    description String
    Metadata about this specific object.
    displayName String
    An object's Display Name.
    key String
    The identifier of the AI model offered by a provider.
    providerType String
    AI Provider type used by the AI Model Connection.

    GetAiProvidersFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.22.0
    published on Wednesday, Aug 26, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial