Oracle Cloud Infrastructure v3.9.0 published on Wednesday, Sep 24, 2025 by Pulumi
oci.LogAnalytics.getNamespaceLookup
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 dictionaryThe 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:
- ActiveEdit stringVersion 
- The active edit version.
- CanonicalLink string
- The canonical link.
- Categories
List<GetNamespace Lookup Category> 
- 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).
- DefaultMatch stringValue 
- The default match value.
- 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<GetNamespace Lookup Field> 
- The lookup fields.
- 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.
- IsBuilt stringIn 
- A flag indicating if the lookup is custom (user-defined) or built in.
- bool
- A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
- LookupDisplay stringName 
- The lookup display name.
- LookupId string
- The lookup OCID.
- LookupName string
- The lookup name.
- LookupReference string
- The lookup reference as an integer.
- LookupReference stringString 
- The lookup reference as a string.
- MaxMatches string
- Namespace string
- ReferringSources List<GetNamespace Lookup Referring Source> 
- AutoLookups
- RegisterLookup stringFile 
- StatusSummaries List<GetNamespace Lookup Status Summary> 
- StatusSummary
- TimeUpdated string
- The last updated date.
- Type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- ActiveEdit stringVersion 
- The active edit version.
- CanonicalLink string
- The canonical link.
- Categories
[]GetNamespace Lookup Category 
- 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).
- DefaultMatch stringValue 
- The default match value.
- 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
[]GetNamespace Lookup Field 
- The lookup fields.
- 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.
- IsBuilt stringIn 
- A flag indicating if the lookup is custom (user-defined) or built in.
- bool
- A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
- LookupDisplay stringName 
- The lookup display name.
- LookupId string
- The lookup OCID.
- LookupName string
- The lookup name.
- LookupReference string
- The lookup reference as an integer.
- LookupReference stringString 
- The lookup reference as a string.
- MaxMatches string
- Namespace string
- ReferringSources []GetNamespace Lookup Referring Source 
- AutoLookups
- RegisterLookup stringFile 
- StatusSummaries []GetNamespace Lookup Status Summary 
- StatusSummary
- TimeUpdated string
- The last updated date.
- Type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- activeEdit StringVersion 
- The active edit version.
- canonicalLink String
- The canonical link.
- categories
List<GetNamespace Lookup Category> 
- 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).
- defaultMatch StringValue 
- The default match value.
- 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<GetNamespace Lookup Field> 
- The lookup fields.
- 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.
- isBuilt StringIn 
- A flag indicating if the lookup is custom (user-defined) or built in.
- Boolean
- A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
- lookupDisplay StringName 
- The lookup display name.
- lookupId String
- The lookup OCID.
- lookupName String
- The lookup name.
- lookupReference String
- The lookup reference as an integer.
- lookupReference StringString 
- The lookup reference as a string.
- maxMatches String
- namespace String
- referringSources List<GetNamespace Lookup Referring Source> 
- AutoLookups
- registerLookup StringFile 
- statusSummaries List<GetNamespace Lookup Status Summary> 
- StatusSummary
- timeUpdated String
- The last updated date.
- type String
- The lookup type. Valid values are Lookup, Dictionary or Module.
- activeEdit stringVersion 
- The active edit version.
- canonicalLink string
- The canonical link.
- categories
GetNamespace Lookup Category[] 
- 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).
- defaultMatch stringValue 
- The default match value.
- {[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
GetNamespace Lookup Field[] 
- The lookup fields.
- {[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.
- isBuilt stringIn 
- A flag indicating if the lookup is custom (user-defined) or built in.
- boolean
- A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
- lookupDisplay stringName 
- The lookup display name.
- lookupId string
- The lookup OCID.
- lookupName string
- The lookup name.
- lookupReference string
- The lookup reference as an integer.
- lookupReference stringString 
- The lookup reference as a string.
- maxMatches string
- namespace string
- referringSources GetNamespace Lookup Referring Source[] 
- AutoLookups
- registerLookup stringFile 
- statusSummaries GetNamespace Lookup Status Summary[] 
- StatusSummary
- timeUpdated string
- The last updated date.
- type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- active_edit_ strversion 
- The active edit version.
- canonical_link str
- The canonical link.
- categories
Sequence[GetNamespace Lookup Category] 
- 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_ strvalue 
- The default match value.
- 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[GetNamespace Lookup Field] 
- The lookup fields.
- 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_ strin 
- A flag indicating if the lookup is custom (user-defined) or built in.
- 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_ strname 
- 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_ strstring 
- The lookup reference as a string.
- max_matches str
- namespace str
- referring_sources Sequence[GetNamespace Lookup Referring Source] 
- AutoLookups
- register_lookup_ strfile 
- status_summaries Sequence[GetNamespace Lookup Status Summary] 
- StatusSummary
- time_updated str
- The last updated date.
- type str
- The lookup type. Valid values are Lookup, Dictionary or Module.
- activeEdit StringVersion 
- 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).
- defaultMatch StringValue 
- The default match value.
- 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.
- 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.
- isBuilt StringIn 
- A flag indicating if the lookup is custom (user-defined) or built in.
- Boolean
- A flag indicating if the lookup is hidden or not. A hidden lookup will not be returned in list operations by default.
- lookupDisplay StringName 
- The lookup display name.
- lookupId String
- The lookup OCID.
- lookupName String
- The lookup name.
- lookupReference String
- The lookup reference as an integer.
- lookupReference StringString 
- The lookup reference as a string.
- maxMatches String
- namespace String
- referringSources List<Property Map>
- AutoLookups
- registerLookup StringFile 
- 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   
- CommonField stringName 
- The common field name.
- DefaultMatch stringValue 
- The default match value.
- DisplayName string
- The field display name.
- IsCommon boolField 
- 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.
- CommonField stringName 
- The common field name.
- DefaultMatch stringValue 
- The default match value.
- DisplayName string
- The field display name.
- IsCommon boolField 
- 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.
- commonField StringName 
- The common field name.
- defaultMatch StringValue 
- The default match value.
- displayName String
- The field display name.
- isCommon BooleanField 
- 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.
- commonField stringName 
- The common field name.
- defaultMatch stringValue 
- The default match value.
- displayName string
- The field display name.
- isCommon booleanField 
- 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_ strname 
- The common field name.
- default_match_ strvalue 
- The default match value.
- display_name str
- The field display name.
- is_common_ boolfield 
- 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.
- commonField StringName 
- The common field name.
- defaultMatch StringValue 
- The default match value.
- displayName String
- The field display name.
- isCommon BooleanField 
- 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 ociTerraform Provider.
