1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. LogAnalytics
  5. getNamespaceLookup
Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi

oci.LogAnalytics.getNamespaceLookup

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi

    This data source provides details about a specific Namespace Lookup resource in Oracle Cloud Infrastructure Log Analytics service.

    Gets detailed information about the lookup with the specified name.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNamespaceLookup = oci.LogAnalytics.getNamespaceLookup({
        lookupName: namespaceLookupLookupName,
        namespace: namespaceLookupNamespace,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_namespace_lookup = oci.LogAnalytics.get_namespace_lookup(lookup_name=namespace_lookup_lookup_name,
        namespace=namespace_lookup_namespace)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/loganalytics"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := loganalytics.GetNamespaceLookup(ctx, &loganalytics.GetNamespaceLookupArgs{
    			LookupName: namespaceLookupLookupName,
    			Namespace:  namespaceLookupNamespace,
    		}, 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 testNamespaceLookup = Oci.LogAnalytics.GetNamespaceLookup.Invoke(new()
        {
            LookupName = namespaceLookupLookupName,
            Namespace = namespaceLookupNamespace,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.LogAnalytics.LogAnalyticsFunctions;
    import com.pulumi.oci.LogAnalytics.inputs.GetNamespaceLookupArgs;
    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 testNamespaceLookup = LogAnalyticsFunctions.getNamespaceLookup(GetNamespaceLookupArgs.builder()
                .lookupName(namespaceLookupLookupName)
                .namespace(namespaceLookupNamespace)
                .build());
    
        }
    }
    
    variables:
      testNamespaceLookup:
        fn::invoke:
          function: oci:LogAnalytics:getNamespaceLookup
          arguments:
            lookupName: ${namespaceLookupLookupName}
            namespace: ${namespaceLookupNamespace}
    

    Using getNamespaceLookup

    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 getNamespaceLookup(args: GetNamespaceLookupArgs, opts?: InvokeOptions): Promise<GetNamespaceLookupResult>
    function getNamespaceLookupOutput(args: GetNamespaceLookupOutputArgs, opts?: InvokeOptions): Output<GetNamespaceLookupResult>
    def get_namespace_lookup(lookup_name: Optional[str] = None,
                             namespace: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetNamespaceLookupResult
    def get_namespace_lookup_output(lookup_name: Optional[pulumi.Input[str]] = None,
                             namespace: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceLookupResult]
    func LookupNamespaceLookup(ctx *Context, args *LookupNamespaceLookupArgs, opts ...InvokeOption) (*LookupNamespaceLookupResult, error)
    func LookupNamespaceLookupOutput(ctx *Context, args *LookupNamespaceLookupOutputArgs, opts ...InvokeOption) LookupNamespaceLookupResultOutput

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

    public static class GetNamespaceLookup 
    {
        public static Task<GetNamespaceLookupResult> InvokeAsync(GetNamespaceLookupArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceLookupResult> Invoke(GetNamespaceLookupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceLookupResult> getNamespaceLookup(GetNamespaceLookupArgs args, InvokeOptions options)
    public static Output<GetNamespaceLookupResult> getNamespaceLookup(GetNamespaceLookupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:LogAnalytics/getNamespaceLookup:getNamespaceLookup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    LookupName string
    The name of the lookup to operate on.
    Namespace string
    The Logging Analytics namespace used for the request.
    LookupName string
    The name of the lookup to operate on.
    Namespace string
    The Logging Analytics namespace used for the request.
    lookupName String
    The name of the lookup to operate on.
    namespace String
    The Logging Analytics namespace used for the request.
    lookupName string
    The name of the lookup to operate on.
    namespace string
    The Logging Analytics namespace used for the request.
    lookup_name str
    The name of the lookup to operate on.
    namespace str
    The Logging Analytics namespace used for the request.
    lookupName String
    The name of the lookup to operate on.
    namespace String
    The Logging Analytics namespace used for the request.

    getNamespaceLookup Result

    The following output properties are available:

    ActiveEditVersion string
    The active edit version.
    CanonicalLink string
    The canonical link.
    Categories List<GetNamespaceLookupCategory>
    An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
    CharEncoding string
    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DefaultMatchValue string
    The default match value.
    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    The lookup description.
    EditVersion string
    The edit version.
    Fields List<GetNamespaceLookupField>
    The lookup fields.
    FreeformTags Dictionary<string, string>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    IsBuiltIn string
    A flag indicating if the lookup is custom (user-defined) or built in.
    IsHidden bool
    A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
    LookupDisplayName string
    The lookup display name.
    LookupId string
    The lookup OCID.
    LookupName string
    The lookup name.
    LookupReference string
    The lookup reference as an integer.
    LookupReferenceString string
    The lookup reference as a string.
    MaxMatches string
    Namespace string
    ReferringSources List<GetNamespaceLookupReferringSource>
    AutoLookups
    RegisterLookupFile string
    StatusSummaries List<GetNamespaceLookupStatusSummary>
    StatusSummary
    TimeUpdated string
    The last updated date.
    Type string
    The lookup type. Valid values are Lookup, Dictionary or Module.
    ActiveEditVersion string
    The active edit version.
    CanonicalLink string
    The canonical link.
    Categories []GetNamespaceLookupCategory
    An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
    CharEncoding string
    CompartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    DefaultMatchValue string
    The default match value.
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Description string
    The lookup description.
    EditVersion string
    The edit version.
    Fields []GetNamespaceLookupField
    The lookup fields.
    FreeformTags map[string]string
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    Id string
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    IsBuiltIn string
    A flag indicating if the lookup is custom (user-defined) or built in.
    IsHidden bool
    A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
    LookupDisplayName string
    The lookup display name.
    LookupId string
    The lookup OCID.
    LookupName string
    The lookup name.
    LookupReference string
    The lookup reference as an integer.
    LookupReferenceString string
    The lookup reference as a string.
    MaxMatches string
    Namespace string
    ReferringSources []GetNamespaceLookupReferringSource
    AutoLookups
    RegisterLookupFile string
    StatusSummaries []GetNamespaceLookupStatusSummary
    StatusSummary
    TimeUpdated string
    The last updated date.
    Type string
    The lookup type. Valid values are Lookup, Dictionary or Module.
    activeEditVersion String
    The active edit version.
    canonicalLink String
    The canonical link.
    categories List<GetNamespaceLookupCategory>
    An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
    charEncoding String
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    defaultMatchValue String
    The default match value.
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    The lookup description.
    editVersion String
    The edit version.
    fields List<GetNamespaceLookupField>
    The lookup fields.
    freeformTags Map<String,String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    isBuiltIn String
    A flag indicating if the lookup is custom (user-defined) or built in.
    isHidden Boolean
    A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
    lookupDisplayName String
    The lookup display name.
    lookupId String
    The lookup OCID.
    lookupName String
    The lookup name.
    lookupReference String
    The lookup reference as an integer.
    lookupReferenceString String
    The lookup reference as a string.
    maxMatches String
    namespace String
    referringSources List<GetNamespaceLookupReferringSource>
    AutoLookups
    registerLookupFile String
    statusSummaries List<GetNamespaceLookupStatusSummary>
    StatusSummary
    timeUpdated String
    The last updated date.
    type String
    The lookup type. Valid values are Lookup, Dictionary or Module.
    activeEditVersion string
    The active edit version.
    canonicalLink string
    The canonical link.
    categories GetNamespaceLookupCategory[]
    An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
    charEncoding string
    compartmentId string
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    defaultMatchValue string
    The default match value.
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description string
    The lookup description.
    editVersion string
    The edit version.
    fields GetNamespaceLookupField[]
    The lookup fields.
    freeformTags {[key: string]: string}
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id string
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    isBuiltIn string
    A flag indicating if the lookup is custom (user-defined) or built in.
    isHidden boolean
    A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
    lookupDisplayName string
    The lookup display name.
    lookupId string
    The lookup OCID.
    lookupName string
    The lookup name.
    lookupReference string
    The lookup reference as an integer.
    lookupReferenceString string
    The lookup reference as a string.
    maxMatches string
    namespace string
    referringSources GetNamespaceLookupReferringSource[]
    AutoLookups
    registerLookupFile string
    statusSummaries GetNamespaceLookupStatusSummary[]
    StatusSummary
    timeUpdated string
    The last updated date.
    type string
    The lookup type. Valid values are Lookup, Dictionary or Module.
    active_edit_version str
    The active edit version.
    canonical_link str
    The canonical link.
    categories Sequence[GetNamespaceLookupCategory]
    An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
    char_encoding str
    compartment_id str
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    default_match_value str
    The default match value.
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description str
    The lookup description.
    edit_version str
    The edit version.
    fields Sequence[GetNamespaceLookupField]
    The lookup fields.
    freeform_tags Mapping[str, str]
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id str
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    is_built_in str
    A flag indicating if the lookup is custom (user-defined) or built in.
    is_hidden bool
    A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
    lookup_display_name str
    The lookup display name.
    lookup_id str
    The lookup OCID.
    lookup_name str
    The lookup name.
    lookup_reference str
    The lookup reference as an integer.
    lookup_reference_string str
    The lookup reference as a string.
    max_matches str
    namespace str
    referring_sources Sequence[GetNamespaceLookupReferringSource]
    AutoLookups
    register_lookup_file str
    status_summaries Sequence[GetNamespaceLookupStatusSummary]
    StatusSummary
    time_updated str
    The last updated date.
    type str
    The lookup type. Valid values are Lookup, Dictionary or Module.
    activeEditVersion String
    The active edit version.
    canonicalLink String
    The canonical link.
    categories List<Property Map>
    An array of categories assigned to this lookup. The isSystem flag denotes if each category assignment is user-created or Oracle-defined.
    charEncoding String
    compartmentId String
    Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
    defaultMatchValue String
    The default match value.
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    description String
    The lookup description.
    editVersion String
    The edit version.
    fields List<Property Map>
    The lookup fields.
    freeformTags Map<String>
    Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
    id String
    The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud.
    isBuiltIn String
    A flag indicating if the lookup is custom (user-defined) or built in.
    isHidden Boolean
    A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
    lookupDisplayName String
    The lookup display name.
    lookupId String
    The lookup OCID.
    lookupName String
    The lookup name.
    lookupReference String
    The lookup reference as an integer.
    lookupReferenceString String
    The lookup reference as a string.
    maxMatches String
    namespace String
    referringSources List<Property Map>
    AutoLookups
    registerLookupFile String
    statusSummaries List<Property Map>
    StatusSummary
    timeUpdated String
    The last updated date.
    type String
    The lookup type. Valid values are Lookup, Dictionary or Module.

    Supporting Types

    GetNamespaceLookupCategory

    Description string
    The lookup description.
    DisplayName string
    The field display name.
    IsSystem bool
    The system flag. A value of false denotes a user-created category. A value of true denotes an Oracle-defined category.
    Name string
    The field name.
    Type string
    The lookup type. Valid values are Lookup, Dictionary or Module.
    Description string
    The lookup description.
    DisplayName string
    The field display name.
    IsSystem bool
    The system flag. A value of false denotes a user-created category. A value of true denotes an Oracle-defined category.
    Name string
    The field name.
    Type string
    The lookup type. Valid values are Lookup, Dictionary or Module.
    description String
    The lookup description.
    displayName String
    The field display name.
    isSystem Boolean
    The system flag. A value of false denotes a user-created category. A value of true denotes an Oracle-defined category.
    name String
    The field name.
    type String
    The lookup type. Valid values are Lookup, Dictionary or Module.
    description string
    The lookup description.
    displayName string
    The field display name.
    isSystem boolean
    The system flag. A value of false denotes a user-created category. A value of true denotes an Oracle-defined category.
    name string
    The field name.
    type string
    The lookup type. Valid values are Lookup, Dictionary or Module.
    description str
    The lookup description.
    display_name str
    The field display name.
    is_system bool
    The system flag. A value of false denotes a user-created category. A value of true denotes an Oracle-defined category.
    name str
    The field name.
    type str
    The lookup type. Valid values are Lookup, Dictionary or Module.
    description String
    The lookup description.
    displayName String
    The field display name.
    isSystem Boolean
    The system flag. A value of false denotes a user-created category. A value of true denotes an Oracle-defined category.
    name String
    The field name.
    type String
    The lookup type. Valid values are Lookup, Dictionary or Module.

    GetNamespaceLookupField

    CommonFieldName string
    The common field name.
    DefaultMatchValue string
    The default match value.
    DisplayName string
    The field display name.
    IsCommonField bool
    A flag indicating whether or not the lookup field is a common field.
    MatchOperator string
    The match operator.
    Name string
    The field name.
    Position string
    THe field position.
    CommonFieldName string
    The common field name.
    DefaultMatchValue string
    The default match value.
    DisplayName string
    The field display name.
    IsCommonField bool
    A flag indicating whether or not the lookup field is a common field.
    MatchOperator string
    The match operator.
    Name string
    The field name.
    Position string
    THe field position.
    commonFieldName String
    The common field name.
    defaultMatchValue String
    The default match value.
    displayName String
    The field display name.
    isCommonField Boolean
    A flag indicating whether or not the lookup field is a common field.
    matchOperator String
    The match operator.
    name String
    The field name.
    position String
    THe field position.
    commonFieldName string
    The common field name.
    defaultMatchValue string
    The default match value.
    displayName string
    The field display name.
    isCommonField boolean
    A flag indicating whether or not the lookup field is a common field.
    matchOperator string
    The match operator.
    name string
    The field name.
    position string
    THe field position.
    common_field_name str
    The common field name.
    default_match_value str
    The default match value.
    display_name str
    The field display name.
    is_common_field bool
    A flag indicating whether or not the lookup field is a common field.
    match_operator str
    The match operator.
    name str
    The field name.
    position str
    THe field position.
    commonFieldName String
    The common field name.
    defaultMatchValue String
    The default match value.
    displayName String
    The field display name.
    isCommonField Boolean
    A flag indicating whether or not the lookup field is a common field.
    matchOperator String
    The match operator.
    name String
    The field name.
    position String
    THe field position.

    GetNamespaceLookupReferringSource

    CanonicalLink string
    The canonical link.
    TotalCount string
    The total count.
    CanonicalLink string
    The canonical link.
    TotalCount string
    The total count.
    canonicalLink String
    The canonical link.
    totalCount String
    The total count.
    canonicalLink string
    The canonical link.
    totalCount string
    The total count.
    canonical_link str
    The canonical link.
    total_count str
    The total count.
    canonicalLink String
    The canonical link.
    totalCount String
    The total count.

    GetNamespaceLookupStatusSummary

    ChunksProcessed string
    The number of chunks processed.
    FailureDetails string
    The failure details, if any.
    Filename string
    The filename.
    Status string
    The status.
    TotalChunks string
    The total number of chunks.
    ChunksProcessed string
    The number of chunks processed.
    FailureDetails string
    The failure details, if any.
    Filename string
    The filename.
    Status string
    The status.
    TotalChunks string
    The total number of chunks.
    chunksProcessed String
    The number of chunks processed.
    failureDetails String
    The failure details, if any.
    filename String
    The filename.
    status String
    The status.
    totalChunks String
    The total number of chunks.
    chunksProcessed string
    The number of chunks processed.
    failureDetails string
    The failure details, if any.
    filename string
    The filename.
    status string
    The status.
    totalChunks string
    The total number of chunks.
    chunks_processed str
    The number of chunks processed.
    failure_details str
    The failure details, if any.
    filename str
    The filename.
    status str
    The status.
    total_chunks str
    The total number of chunks.
    chunksProcessed String
    The number of chunks processed.
    failureDetails String
    The failure details, if any.
    filename String
    The filename.
    status String
    The status.
    totalChunks String
    The total number of chunks.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi