Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
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 dictionarydata "oci_golden_gate_get_ai_providers" "name" {
# arguments
}The following arguments are supported:
- 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<Get
Ai Providers Filter>
- 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
[]Get
Ai Providers Filter
- 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)
- 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<Get
Ai Providers Filter>
- 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
Get
Ai Providers Filter[]
- 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[Get
Ai Providers Filter]
- 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<Property Map>
getAiProviders Result
The following output properties are available:
- Ai
Provider List<GetCollections Ai Providers Ai Provider Collection> - The list of ai_provider_collection.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
List<Get
Ai Providers Filter>
- Ai
Provider []GetCollections Ai Providers Ai Provider Collection - The list of ai_provider_collection.
- Compartment
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Filters
[]Get
Ai Providers Filter
- ai_
provider_ list(object)collections - The list of ai_provider_collection.
- compartment_
id string - id string
- The provider-assigned unique ID for this managed resource.
- filters list(object)
- ai
Provider List<GetCollections Ai Providers Ai Provider Collection> - The list of ai_provider_collection.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filters
List<Get
Ai Providers Filter>
- ai
Provider GetCollections Ai Providers Ai Provider Collection[] - The list of ai_provider_collection.
- compartment
Id string - id string
- The provider-assigned unique ID for this managed resource.
- filters
Get
Ai Providers Filter[]
- ai_
provider_ Sequence[Getcollections Ai Providers Ai Provider Collection] - The list of ai_provider_collection.
- compartment_
id str - id str
- The provider-assigned unique ID for this managed resource.
- filters
Sequence[Get
Ai Providers Filter]
- ai
Provider List<Property Map>Collections - The list of ai_provider_collection.
- compartment
Id String - id String
- The provider-assigned unique ID for this managed resource.
- filters List<Property Map>
Supporting Types
GetAiProvidersAiProviderCollection
- Items
List<Get
Ai Providers Ai Provider Collection Item> - An array of AI providers.
- Items
[]Get
Ai Providers Ai Provider Collection Item - An array of AI providers.
- items list(object)
- An array of AI providers.
- items
List<Get
Ai Providers Ai Provider Collection Item> - An array of AI providers.
- items
Get
Ai Providers Ai Provider Collection Item[] - An array of AI providers.
- items
Sequence[Get
Ai Providers Ai Provider Collection Item] - An array of AI providers.
- items List<Property Map>
- An array of AI providers.
GetAiProvidersAiProviderCollectionItem
- Auth
Types List<string> - Authentication types supported by the AI provider.
- Default
Base stringUrl - Default base URL for the AI provider.
- Description string
- Metadata about this specific object.
- Display
Name string - An object's Display Name.
- Models
List<Get
Ai Providers Ai Provider Collection Item Model> - 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.
- Auth
Types []string - Authentication types supported by the AI provider.
- Default
Base stringUrl - Default base URL for the AI provider.
- Description string
- Metadata about this specific object.
- Display
Name string - An object's Display Name.
- Models
[]Get
Ai Providers Ai Provider Collection Item Model - 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.
- auth_
types list(string) - Authentication types supported by the AI provider.
- default_
base_ stringurl - 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.
- auth
Types List<String> - Authentication types supported by the AI provider.
- default
Base StringUrl - Default base URL for the AI provider.
- description String
- Metadata about this specific object.
- display
Name String - An object's Display Name.
- models
List<Get
Ai Providers Ai Provider Collection Item Model> - 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.
- auth
Types string[] - Authentication types supported by the AI provider.
- default
Base stringUrl - Default base URL for the AI provider.
- description string
- Metadata about this specific object.
- display
Name string - An object's Display Name.
- models
Get
Ai Providers Ai Provider Collection Item Model[] - 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.
- auth_
types Sequence[str] - Authentication types supported by the AI provider.
- default_
base_ strurl - Default base URL for the AI provider.
- description str
- Metadata about this specific object.
- display_
name str - An object's Display Name.
- models
Sequence[Get
Ai Providers Ai Provider Collection Item Model] - 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.
- auth
Types List<String> - Authentication types supported by the AI provider.
- default
Base StringUrl - Default base URL for the AI provider.
- description String
- Metadata about this specific object.
- display
Name 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.
- provider
Type String - AI Provider type used by the AI Model Connection.
GetAiProvidersAiProviderCollectionItemModel
- 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.
- 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.
- 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.
- 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.
- 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 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.
- 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.
GetAiProvidersFilter
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v4.22.0
published on Wednesday, Aug 26, 2026 by Pulumi
published on Wednesday, Aug 26, 2026 by Pulumi