1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. GenerativeAi
  5. getSemanticStore
Viewing docs for Oracle Cloud Infrastructure v4.7.0
published on Thursday, Apr 16, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.7.0
published on Thursday, Apr 16, 2026 by Pulumi

    This data source provides details about a specific Semantic Store resource in Oracle Cloud Infrastructure Generative AI service.

    Gets information about a semanticStore.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSemanticStore = oci.GenerativeAi.getSemanticStore({
        semanticStoreId: testSemanticStoreOciGenerativeAiSemanticStore.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_semantic_store = oci.GenerativeAi.get_semantic_store(semantic_store_id=test_semantic_store_oci_generative_ai_semantic_store["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/generativeai"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := generativeai.GetSemanticStore(ctx, &generativeai.GetSemanticStoreArgs{
    			SemanticStoreId: testSemanticStoreOciGenerativeAiSemanticStore.Id,
    		}, 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 testSemanticStore = Oci.GenerativeAi.GetSemanticStore.Invoke(new()
        {
            SemanticStoreId = testSemanticStoreOciGenerativeAiSemanticStore.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.GenerativeAi.GenerativeAiFunctions;
    import com.pulumi.oci.GenerativeAi.inputs.GetSemanticStoreArgs;
    import java.util.List;
    import java.util.ArrayList;
    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 testSemanticStore = GenerativeAiFunctions.getSemanticStore(GetSemanticStoreArgs.builder()
                .semanticStoreId(testSemanticStoreOciGenerativeAiSemanticStore.id())
                .build());
    
        }
    }
    
    variables:
      testSemanticStore:
        fn::invoke:
          function: oci:GenerativeAi:getSemanticStore
          arguments:
            semanticStoreId: ${testSemanticStoreOciGenerativeAiSemanticStore.id}
    

    Using getSemanticStore

    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 getSemanticStore(args: GetSemanticStoreArgs, opts?: InvokeOptions): Promise<GetSemanticStoreResult>
    function getSemanticStoreOutput(args: GetSemanticStoreOutputArgs, opts?: InvokeOptions): Output<GetSemanticStoreResult>
    def get_semantic_store(semantic_store_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSemanticStoreResult
    def get_semantic_store_output(semantic_store_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSemanticStoreResult]
    func LookupSemanticStore(ctx *Context, args *LookupSemanticStoreArgs, opts ...InvokeOption) (*LookupSemanticStoreResult, error)
    func LookupSemanticStoreOutput(ctx *Context, args *LookupSemanticStoreOutputArgs, opts ...InvokeOption) LookupSemanticStoreResultOutput

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

    public static class GetSemanticStore 
    {
        public static Task<GetSemanticStoreResult> InvokeAsync(GetSemanticStoreArgs args, InvokeOptions? opts = null)
        public static Output<GetSemanticStoreResult> Invoke(GetSemanticStoreInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSemanticStoreResult> getSemanticStore(GetSemanticStoreArgs args, InvokeOptions options)
    public static Output<GetSemanticStoreResult> getSemanticStore(GetSemanticStoreArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:GenerativeAi/getSemanticStore:getSemanticStore
      arguments:
        # arguments dictionary

    The following arguments are supported:

    SemanticStoreId string
    The OCID of the SemanticStore.
    SemanticStoreId string
    The OCID of the SemanticStore.
    semanticStoreId String
    The OCID of the SemanticStore.
    semanticStoreId string
    The OCID of the SemanticStore.
    semantic_store_id str
    The OCID of the SemanticStore.
    semanticStoreId String
    The OCID of the SemanticStore.

    getSemanticStore Result

    The following output properties are available:

    CompartmentId string
    Owning compartment OCID for a SemanticStore.
    DataSources List<GetSemanticStoreDataSource>
    Defines the data source that the semantic model connects to.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    An optional description of the SemanticStore.
    DisplayName string
    A user-friendly name.
    FreeformTags Dictionary<string, string>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    An OCID that uniquely identifies a SemanticStore.
    LifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    RefreshSchedules List<GetSemanticStoreRefreshSchedule>
    Specifies a refresh schedule. Null represents no automated synchronization schedule.
    Schemas List<GetSemanticStoreSchema>
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    SemanticStoreId string
    State string
    The lifecycle state of a SemanticStore.
    SystemTags Dictionary<string, string>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the SemanticStore was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the SemanticStore was updated in the format of an RFC3339 datetime string.
    CompartmentId string
    Owning compartment OCID for a SemanticStore.
    DataSources []GetSemanticStoreDataSource
    Defines the data source that the semantic model connects to.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    An optional description of the SemanticStore.
    DisplayName string
    A user-friendly name.
    FreeformTags map[string]string
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    Id string
    An OCID that uniquely identifies a SemanticStore.
    LifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    RefreshSchedules []GetSemanticStoreRefreshSchedule
    Specifies a refresh schedule. Null represents no automated synchronization schedule.
    Schemas []GetSemanticStoreSchema
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    SemanticStoreId string
    State string
    The lifecycle state of a SemanticStore.
    SystemTags map[string]string
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TimeCreated string
    The date and time that the SemanticStore was created in the format of an RFC3339 datetime string.
    TimeUpdated string
    The date and time that the SemanticStore was updated in the format of an RFC3339 datetime string.
    compartmentId String
    Owning compartment OCID for a SemanticStore.
    dataSources List<GetSemanticStoreDataSource>
    Defines the data source that the semantic model connects to.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    An optional description of the SemanticStore.
    displayName String
    A user-friendly name.
    freeformTags Map<String,String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    An OCID that uniquely identifies a SemanticStore.
    lifecycleDetails String
    A message describing the current state in more detail that can provide actionable information.
    refreshSchedules List<GetSemanticStoreRefreshSchedule>
    Specifies a refresh schedule. Null represents no automated synchronization schedule.
    schemas List<GetSemanticStoreSchema>
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    semanticStoreId String
    state String
    The lifecycle state of a SemanticStore.
    systemTags Map<String,String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the SemanticStore was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the SemanticStore was updated in the format of an RFC3339 datetime string.
    compartmentId string
    Owning compartment OCID for a SemanticStore.
    dataSources GetSemanticStoreDataSource[]
    Defines the data source that the semantic model connects to.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    An optional description of the SemanticStore.
    displayName string
    A user-friendly name.
    freeformTags {[key: string]: string}
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id string
    An OCID that uniquely identifies a SemanticStore.
    lifecycleDetails string
    A message describing the current state in more detail that can provide actionable information.
    refreshSchedules GetSemanticStoreRefreshSchedule[]
    Specifies a refresh schedule. Null represents no automated synchronization schedule.
    schemas GetSemanticStoreSchema[]
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    semanticStoreId string
    state string
    The lifecycle state of a SemanticStore.
    systemTags {[key: string]: string}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated string
    The date and time that the SemanticStore was created in the format of an RFC3339 datetime string.
    timeUpdated string
    The date and time that the SemanticStore was updated in the format of an RFC3339 datetime string.
    compartment_id str
    Owning compartment OCID for a SemanticStore.
    data_sources Sequence[GetSemanticStoreDataSource]
    Defines the data source that the semantic model connects to.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    An optional description of the SemanticStore.
    display_name str
    A user-friendly name.
    freeform_tags Mapping[str, str]
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id str
    An OCID that uniquely identifies a SemanticStore.
    lifecycle_details str
    A message describing the current state in more detail that can provide actionable information.
    refresh_schedules Sequence[GetSemanticStoreRefreshSchedule]
    Specifies a refresh schedule. Null represents no automated synchronization schedule.
    schemas Sequence[GetSemanticStoreSchema]
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    semantic_store_id str
    state str
    The lifecycle state of a SemanticStore.
    system_tags Mapping[str, str]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    time_created str
    The date and time that the SemanticStore was created in the format of an RFC3339 datetime string.
    time_updated str
    The date and time that the SemanticStore was updated in the format of an RFC3339 datetime string.
    compartmentId String
    Owning compartment OCID for a SemanticStore.
    dataSources List<Property Map>
    Defines the data source that the semantic model connects to.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    An optional description of the SemanticStore.
    displayName String
    A user-friendly name.
    freeformTags Map<String>
    Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
    id String
    An OCID that uniquely identifies a SemanticStore.
    lifecycleDetails String
    A message describing the current state in more detail that can provide actionable information.
    refreshSchedules List<Property Map>
    Specifies a refresh schedule. Null represents no automated synchronization schedule.
    schemas List<Property Map>
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    semanticStoreId String
    state String
    The lifecycle state of a SemanticStore.
    systemTags Map<String>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    timeCreated String
    The date and time that the SemanticStore was created in the format of an RFC3339 datetime string.
    timeUpdated String
    The date and time that the SemanticStore was updated in the format of an RFC3339 datetime string.

    Supporting Types

    GetSemanticStoreDataSource

    ConnectionType string
    Specifies the type of underlying connection.
    EnrichmentConnectionId string
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for enrichment.
    QueryingConnectionId string
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for querying.
    ConnectionType string
    Specifies the type of underlying connection.
    EnrichmentConnectionId string
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for enrichment.
    QueryingConnectionId string
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for querying.
    connectionType String
    Specifies the type of underlying connection.
    enrichmentConnectionId String
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for enrichment.
    queryingConnectionId String
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for querying.
    connectionType string
    Specifies the type of underlying connection.
    enrichmentConnectionId string
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for enrichment.
    queryingConnectionId string
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for querying.
    connection_type str
    Specifies the type of underlying connection.
    enrichment_connection_id str
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for enrichment.
    querying_connection_id str
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for querying.
    connectionType String
    Specifies the type of underlying connection.
    enrichmentConnectionId String
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for enrichment.
    queryingConnectionId String
    The OCID of the Oracle Cloud Infrastructure Database Tools Connection for querying.

    GetSemanticStoreRefreshSchedule

    Type string
    Specifies the type of refresh schedule.
    Value string
    Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where 'P' is always required, 'T' precedes any time components less than one day, and each included component is properly suffixed. For example, "P1DT6H" represents a duration of 1 day and 6 hours.
    Type string
    Specifies the type of refresh schedule.
    Value string
    Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where 'P' is always required, 'T' precedes any time components less than one day, and each included component is properly suffixed. For example, "P1DT6H" represents a duration of 1 day and 6 hours.
    type String
    Specifies the type of refresh schedule.
    value String
    Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where 'P' is always required, 'T' precedes any time components less than one day, and each included component is properly suffixed. For example, "P1DT6H" represents a duration of 1 day and 6 hours.
    type string
    Specifies the type of refresh schedule.
    value string
    Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where 'P' is always required, 'T' precedes any time components less than one day, and each included component is properly suffixed. For example, "P1DT6H" represents a duration of 1 day and 6 hours.
    type str
    Specifies the type of refresh schedule.
    value str
    Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where 'P' is always required, 'T' precedes any time components less than one day, and each included component is properly suffixed. For example, "P1DT6H" represents a duration of 1 day and 6 hours.
    type String
    Specifies the type of refresh schedule.
    value String
    Specifies the refresh interval value. The interval must be provided using the ISO 8601 extended format, either as PnW or PnYnMnDTnHnMnS, where 'P' is always required, 'T' precedes any time components less than one day, and each included component is properly suffixed. For example, "P1DT6H" represents a duration of 1 day and 6 hours.

    GetSemanticStoreSchema

    ConnectionType string
    Specifies the type of underlying connection.
    Schemas List<GetSemanticStoreSchemaSchema>
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    ConnectionType string
    Specifies the type of underlying connection.
    Schemas []GetSemanticStoreSchemaSchema
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    connectionType String
    Specifies the type of underlying connection.
    schemas List<GetSemanticStoreSchemaSchema>
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    connectionType string
    Specifies the type of underlying connection.
    schemas GetSemanticStoreSchemaSchema[]
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    connection_type str
    Specifies the type of underlying connection.
    schemas Sequence[GetSemanticStoreSchemaSchema]
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.
    connectionType String
    Specifies the type of underlying connection.
    schemas List<Property Map>
    Array of database schemas to be included in the connection. Each schema must define a name. A simple schema definition includes only the name, for example: { "schemas": [ { "name": "HR" } ] } Only one schema name is allowed now. Additional configuration options may be supported in extended forms later.

    GetSemanticStoreSchemaSchema

    Name string
    Name string
    name String
    name string
    name str
    name String

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Viewing docs for Oracle Cloud Infrastructure v4.7.0
    published on Thursday, Apr 16, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.