Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi
oci.LogAnalytics.getNamespaceLookup
Explore with Pulumi AI
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:
- Lookup
Name string - The name of the lookup to operate on.
- Namespace string
- The Logging Analytics namespace used for the request.
- Lookup
Name string - The name of the lookup to operate on.
- Namespace string
- The Logging Analytics namespace used for the request.
- lookup
Name String - The name of the lookup to operate on.
- namespace String
- The Logging Analytics namespace used for the request.
- lookup
Name 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.
- lookup
Name 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:
- Active
Edit stringVersion - The active edit version.
- Canonical
Link string - The canonical link.
- Categories
List<Get
Namespace 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 string - Compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Default
Match 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.
- Edit
Version string - The edit version.
- Fields
List<Get
Namespace 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.
- Is
Built 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.
- Lookup
Display stringName - The lookup display name.
- Lookup
Id string - The lookup OCID.
- Lookup
Name string - The lookup name.
- Lookup
Reference string - The lookup reference as an integer.
- Lookup
Reference stringString - The lookup reference as a string.
- Max
Matches string - Namespace string
- Referring
Sources List<GetNamespace Lookup Referring Source> - AutoLookups
- Register
Lookup stringFile - Status
Summaries List<GetNamespace Lookup Status Summary> - StatusSummary
- Time
Updated string - The last updated date.
- Type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- Active
Edit stringVersion - The active edit version.
- Canonical
Link string - The canonical link.
- Categories
[]Get
Namespace 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 string - Compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- Default
Match 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.
- Edit
Version string - The edit version.
- Fields
[]Get
Namespace 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.
- Is
Built 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.
- Lookup
Display stringName - The lookup display name.
- Lookup
Id string - The lookup OCID.
- Lookup
Name string - The lookup name.
- Lookup
Reference string - The lookup reference as an integer.
- Lookup
Reference stringString - The lookup reference as a string.
- Max
Matches string - Namespace string
- Referring
Sources []GetNamespace Lookup Referring Source - AutoLookups
- Register
Lookup stringFile - Status
Summaries []GetNamespace Lookup Status Summary - StatusSummary
- Time
Updated string - The last updated date.
- Type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- active
Edit StringVersion - The active edit version.
- canonical
Link String - The canonical link.
- categories
List<Get
Namespace 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 String - compartment
Id String - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- default
Match 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.
- edit
Version String - The edit version.
- fields
List<Get
Namespace 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.
- is
Built 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.
- lookup
Display StringName - The lookup display name.
- lookup
Id String - The lookup OCID.
- lookup
Name String - The lookup name.
- lookup
Reference String - The lookup reference as an integer.
- lookup
Reference StringString - The lookup reference as a string.
- max
Matches String - namespace String
- referring
Sources List<GetNamespace Lookup Referring Source> - AutoLookups
- register
Lookup StringFile - status
Summaries List<GetNamespace Lookup Status Summary> - StatusSummary
- time
Updated String - The last updated date.
- type String
- The lookup type. Valid values are Lookup, Dictionary or Module.
- active
Edit stringVersion - The active edit version.
- canonical
Link string - The canonical link.
- categories
Get
Namespace 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 string - compartment
Id string - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- default
Match 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.
- edit
Version string - The edit version.
- fields
Get
Namespace 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.
- is
Built 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.
- lookup
Display stringName - The lookup display name.
- lookup
Id string - The lookup OCID.
- lookup
Name string - The lookup name.
- lookup
Reference string - The lookup reference as an integer.
- lookup
Reference stringString - The lookup reference as a string.
- max
Matches string - namespace string
- referring
Sources GetNamespace Lookup Referring Source[] - AutoLookups
- register
Lookup stringFile - status
Summaries GetNamespace Lookup Status Summary[] - StatusSummary
- time
Updated 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[Get
Namespace 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[Get
Namespace 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.
- active
Edit StringVersion - The active edit version.
- canonical
Link 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.
- char
Encoding String - compartment
Id String - Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
- default
Match 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.
- edit
Version 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.
- is
Built 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.
- lookup
Display StringName - The lookup display name.
- lookup
Id String - The lookup OCID.
- lookup
Name String - The lookup name.
- lookup
Reference String - The lookup reference as an integer.
- lookup
Reference StringString - The lookup reference as a string.
- max
Matches String - namespace String
- referring
Sources List<Property Map> - AutoLookups
- register
Lookup StringFile - status
Summaries List<Property Map> - StatusSummary
- time
Updated 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.
- Display
Name string - 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 string
- The field name.
- Type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- Description string
- The lookup description.
- Display
Name string - 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 string
- The field name.
- Type string
- The lookup type. Valid values are Lookup, Dictionary or Module.
- description String
- The lookup description.
- display
Name String - The field display name.
- is
System 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.
- display
Name string - The field display name.
- is
System 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.
- display
Name String - The field display name.
- is
System 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
- Common
Field stringName - The common field name.
- Default
Match stringValue - The default match value.
- Display
Name string - The field display name.
- Is
Common boolField - A flag indicating whether or not the lookup field is a common field.
- Match
Operator string - The match operator.
- Name string
- The field name.
- Position string
- THe field position.
- Common
Field stringName - The common field name.
- Default
Match stringValue - The default match value.
- Display
Name string - The field display name.
- Is
Common boolField - A flag indicating whether or not the lookup field is a common field.
- Match
Operator string - The match operator.
- Name string
- The field name.
- Position string
- THe field position.
- common
Field StringName - The common field name.
- default
Match StringValue - The default match value.
- display
Name String - The field display name.
- is
Common BooleanField - A flag indicating whether or not the lookup field is a common field.
- match
Operator String - The match operator.
- name String
- The field name.
- position String
- THe field position.
- common
Field stringName - The common field name.
- default
Match stringValue - The default match value.
- display
Name string - The field display name.
- is
Common booleanField - A flag indicating whether or not the lookup field is a common field.
- match
Operator 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.
- common
Field StringName - The common field name.
- default
Match StringValue - The default match value.
- display
Name String - The field display name.
- is
Common BooleanField - A flag indicating whether or not the lookup field is a common field.
- match
Operator String - The match operator.
- name String
- The field name.
- position String
- THe field position.
GetNamespaceLookupReferringSource
- Canonical
Link string - The canonical link.
- Total
Count string - The total count.
- Canonical
Link string - The canonical link.
- Total
Count string - The total count.
- canonical
Link String - The canonical link.
- total
Count String - The total count.
- canonical
Link string - The canonical link.
- total
Count string - The total count.
- canonical_
link str - The canonical link.
- total_
count str - The total count.
- canonical
Link String - The canonical link.
- total
Count String - The total count.
GetNamespaceLookupStatusSummary
- Chunks
Processed string - The number of chunks processed.
- Failure
Details string - The failure details, if any.
- Filename string
- The filename.
- Status string
- The status.
- Total
Chunks string - The total number of chunks.
- Chunks
Processed string - The number of chunks processed.
- Failure
Details string - The failure details, if any.
- Filename string
- The filename.
- Status string
- The status.
- Total
Chunks string - The total number of chunks.
- chunks
Processed String - The number of chunks processed.
- failure
Details String - The failure details, if any.
- filename String
- The filename.
- status String
- The status.
- total
Chunks String - The total number of chunks.
- chunks
Processed string - The number of chunks processed.
- failure
Details string - The failure details, if any.
- filename string
- The filename.
- status string
- The status.
- total
Chunks 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.
- chunks
Processed String - The number of chunks processed.
- failure
Details String - The failure details, if any.
- filename String
- The filename.
- status String
- The status.
- total
Chunks 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.