Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi
oci.LogAnalytics.getNamespaceFieldUsage
Explore with Pulumi AI
This data source provides details about a specific Namespace Field Usage resource in Oracle Cloud Infrastructure Log Analytics service.
Gets usage information about the field with the specified name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testNamespaceFieldUsage = oci.LogAnalytics.getNamespaceFieldUsage({
fieldName: namespaceFieldUsageFieldName,
namespace: namespaceFieldUsageNamespace,
});
import pulumi
import pulumi_oci as oci
test_namespace_field_usage = oci.LogAnalytics.get_namespace_field_usage(field_name=namespace_field_usage_field_name,
namespace=namespace_field_usage_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.GetNamespaceFieldUsage(ctx, &loganalytics.GetNamespaceFieldUsageArgs{
FieldName: namespaceFieldUsageFieldName,
Namespace: namespaceFieldUsageNamespace,
}, 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 testNamespaceFieldUsage = Oci.LogAnalytics.GetNamespaceFieldUsage.Invoke(new()
{
FieldName = namespaceFieldUsageFieldName,
Namespace = namespaceFieldUsageNamespace,
});
});
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.GetNamespaceFieldUsageArgs;
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 testNamespaceFieldUsage = LogAnalyticsFunctions.getNamespaceFieldUsage(GetNamespaceFieldUsageArgs.builder()
.fieldName(namespaceFieldUsageFieldName)
.namespace(namespaceFieldUsageNamespace)
.build());
}
}
variables:
testNamespaceFieldUsage:
fn::invoke:
function: oci:LogAnalytics:getNamespaceFieldUsage
arguments:
fieldName: ${namespaceFieldUsageFieldName}
namespace: ${namespaceFieldUsageNamespace}
Using getNamespaceFieldUsage
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 getNamespaceFieldUsage(args: GetNamespaceFieldUsageArgs, opts?: InvokeOptions): Promise<GetNamespaceFieldUsageResult>
function getNamespaceFieldUsageOutput(args: GetNamespaceFieldUsageOutputArgs, opts?: InvokeOptions): Output<GetNamespaceFieldUsageResult>
def get_namespace_field_usage(field_name: Optional[str] = None,
namespace: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNamespaceFieldUsageResult
def get_namespace_field_usage_output(field_name: Optional[pulumi.Input[str]] = None,
namespace: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceFieldUsageResult]
func GetNamespaceFieldUsage(ctx *Context, args *GetNamespaceFieldUsageArgs, opts ...InvokeOption) (*GetNamespaceFieldUsageResult, error)
func GetNamespaceFieldUsageOutput(ctx *Context, args *GetNamespaceFieldUsageOutputArgs, opts ...InvokeOption) GetNamespaceFieldUsageResultOutput
> Note: This function is named GetNamespaceFieldUsage
in the Go SDK.
public static class GetNamespaceFieldUsage
{
public static Task<GetNamespaceFieldUsageResult> InvokeAsync(GetNamespaceFieldUsageArgs args, InvokeOptions? opts = null)
public static Output<GetNamespaceFieldUsageResult> Invoke(GetNamespaceFieldUsageInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetNamespaceFieldUsageResult> getNamespaceFieldUsage(GetNamespaceFieldUsageArgs args, InvokeOptions options)
public static Output<GetNamespaceFieldUsageResult> getNamespaceFieldUsage(GetNamespaceFieldUsageArgs args, InvokeOptions options)
fn::invoke:
function: oci:LogAnalytics/getNamespaceFieldUsage:getNamespaceFieldUsage
arguments:
# arguments dictionary
The following arguments are supported:
- field_
name str - The field name.
- namespace str
- The Logging Analytics namespace used for the request.
getNamespaceFieldUsage Result
The following output properties are available:
- Dependent
Parsers List<GetNamespace Field Usage Dependent Parser> - Parsers that depend on or use the field.
- Dependent
Sources List<GetNamespace Field Usage Dependent Source> - Sources that depend on or use the field.
- Field
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Dependent
Parsers []GetNamespace Field Usage Dependent Parser - Parsers that depend on or use the field.
- Dependent
Sources []GetNamespace Field Usage Dependent Source - Sources that depend on or use the field.
- Field
Name string - Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- dependent
Parsers List<GetNamespace Field Usage Dependent Parser> - Parsers that depend on or use the field.
- dependent
Sources List<GetNamespace Field Usage Dependent Source> - Sources that depend on or use the field.
- field
Name String - id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- dependent
Parsers GetNamespace Field Usage Dependent Parser[] - Parsers that depend on or use the field.
- dependent
Sources GetNamespace Field Usage Dependent Source[] - Sources that depend on or use the field.
- field
Name string - id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- dependent_
parsers Sequence[GetNamespace Field Usage Dependent Parser] - Parsers that depend on or use the field.
- dependent_
sources Sequence[GetNamespace Field Usage Dependent Source] - Sources that depend on or use the field.
- field_
name str - id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- dependent
Parsers List<Property Map> - Parsers that depend on or use the field.
- dependent
Sources List<Property Map> - Sources that depend on or use the field.
- field
Name String - id String
- The provider-assigned unique ID for this managed resource.
- namespace String
Supporting Types
GetNamespaceFieldUsageDependentParser
- Dependencies
List<Get
Namespace Field Usage Dependent Parser Dependency> - The list of dependencies defined by the source.
- Is
System bool - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Parser
Display stringName - The parser display name.
- Parser
Id string - The parser unique identifier.
- Parser
Name string - The parser name.
- Parser
Type string - The parser type
- Dependencies
[]Get
Namespace Field Usage Dependent Parser Dependency - The list of dependencies defined by the source.
- Is
System bool - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Parser
Display stringName - The parser display name.
- Parser
Id string - The parser unique identifier.
- Parser
Name string - The parser name.
- Parser
Type string - The parser type
- dependencies
List<Get
Namespace Field Usage Dependent Parser Dependency> - The list of dependencies defined by the source.
- is
System Boolean - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- parser
Display StringName - The parser display name.
- parser
Id String - The parser unique identifier.
- parser
Name String - The parser name.
- parser
Type String - The parser type
- dependencies
Get
Namespace Field Usage Dependent Parser Dependency[] - The list of dependencies defined by the source.
- is
System boolean - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- parser
Display stringName - The parser display name.
- parser
Id string - The parser unique identifier.
- parser
Name string - The parser name.
- parser
Type string - The parser type
- dependencies
Sequence[Get
Namespace Field Usage Dependent Parser Dependency] - The list of dependencies defined by the source.
- is_
system bool - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- parser_
display_ strname - The parser display name.
- parser_
id str - The parser unique identifier.
- parser_
name str - The parser name.
- parser_
type str - The parser type
- dependencies List<Property Map>
- The list of dependencies defined by the source.
- is
System Boolean - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- parser
Display StringName - The parser display name.
- parser
Id String - The parser unique identifier.
- parser
Name String - The parser name.
- parser
Type String - The parser type
GetNamespaceFieldUsageDependentParserDependency
- Reference
Display stringName - The display name of the dependency object
- Reference
Id string - The unique identifier of the reference, if available.
- Reference
Name string - The name of the dependency object
- Reference
Type string - The type of reference that defines the dependency.
- Type string
- The dependency type.
- Reference
Display stringName - The display name of the dependency object
- Reference
Id string - The unique identifier of the reference, if available.
- Reference
Name string - The name of the dependency object
- Reference
Type string - The type of reference that defines the dependency.
- Type string
- The dependency type.
- reference
Display StringName - The display name of the dependency object
- reference
Id String - The unique identifier of the reference, if available.
- reference
Name String - The name of the dependency object
- reference
Type String - The type of reference that defines the dependency.
- type String
- The dependency type.
- reference
Display stringName - The display name of the dependency object
- reference
Id string - The unique identifier of the reference, if available.
- reference
Name string - The name of the dependency object
- reference
Type string - The type of reference that defines the dependency.
- type string
- The dependency type.
- reference_
display_ strname - The display name of the dependency object
- reference_
id str - The unique identifier of the reference, if available.
- reference_
name str - The name of the dependency object
- reference_
type str - The type of reference that defines the dependency.
- type str
- The dependency type.
- reference
Display StringName - The display name of the dependency object
- reference
Id String - The unique identifier of the reference, if available.
- reference
Name String - The name of the dependency object
- reference
Type String - The type of reference that defines the dependency.
- type String
- The dependency type.
GetNamespaceFieldUsageDependentSource
- Dependencies
List<Get
Namespace Field Usage Dependent Source Dependency> - The list of dependencies defined by the source.
- Entity
Types List<GetNamespace Field Usage Dependent Source Entity Type> - The entity types.
- Is
Auto boolAssociation Enabled - A flag indicating whether or not the source is marked for auto association.
- Is
System bool - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Source
Display stringName - The source display name.
- Source
Id string - The source unique identifier.
- Source
Name string - The source name.
- Source
Type string - The source type.
- Dependencies
[]Get
Namespace Field Usage Dependent Source Dependency - The list of dependencies defined by the source.
- Entity
Types []GetNamespace Field Usage Dependent Source Entity Type - The entity types.
- Is
Auto boolAssociation Enabled - A flag indicating whether or not the source is marked for auto association.
- Is
System bool - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- Source
Display stringName - The source display name.
- Source
Id string - The source unique identifier.
- Source
Name string - The source name.
- Source
Type string - The source type.
- dependencies
List<Get
Namespace Field Usage Dependent Source Dependency> - The list of dependencies defined by the source.
- entity
Types List<GetNamespace Field Usage Dependent Source Entity Type> - The entity types.
- is
Auto BooleanAssociation Enabled - A flag indicating whether or not the source is marked for auto association.
- is
System Boolean - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- source
Display StringName - The source display name.
- source
Id String - The source unique identifier.
- source
Name String - The source name.
- source
Type String - The source type.
- dependencies
Get
Namespace Field Usage Dependent Source Dependency[] - The list of dependencies defined by the source.
- entity
Types GetNamespace Field Usage Dependent Source Entity Type[] - The entity types.
- is
Auto booleanAssociation Enabled - A flag indicating whether or not the source is marked for auto association.
- is
System boolean - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- source
Display stringName - The source display name.
- source
Id string - The source unique identifier.
- source
Name string - The source name.
- source
Type string - The source type.
- dependencies
Sequence[Get
Namespace Field Usage Dependent Source Dependency] - The list of dependencies defined by the source.
- entity_
types Sequence[GetNamespace Field Usage Dependent Source Entity Type] - The entity types.
- is_
auto_ boolassociation_ enabled - A flag indicating whether or not the source is marked for auto association.
- is_
system bool - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- source_
display_ strname - The source display name.
- source_
id str - The source unique identifier.
- source_
name str - The source name.
- source_
type str - The source type.
- dependencies List<Property Map>
- The list of dependencies defined by the source.
- entity
Types List<Property Map> - The entity types.
- is
Auto BooleanAssociation Enabled - A flag indicating whether or not the source is marked for auto association.
- is
System Boolean - The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.
- source
Display StringName - The source display name.
- source
Id String - The source unique identifier.
- source
Name String - The source name.
- source
Type String - The source type.
GetNamespaceFieldUsageDependentSourceDependency
- Reference
Display stringName - The display name of the dependency object
- Reference
Id string - The unique identifier of the reference, if available.
- Reference
Name string - The name of the dependency object
- Reference
Type string - The type of reference that defines the dependency.
- Type string
- The dependency type.
- Reference
Display stringName - The display name of the dependency object
- Reference
Id string - The unique identifier of the reference, if available.
- Reference
Name string - The name of the dependency object
- Reference
Type string - The type of reference that defines the dependency.
- Type string
- The dependency type.
- reference
Display StringName - The display name of the dependency object
- reference
Id String - The unique identifier of the reference, if available.
- reference
Name String - The name of the dependency object
- reference
Type String - The type of reference that defines the dependency.
- type String
- The dependency type.
- reference
Display stringName - The display name of the dependency object
- reference
Id string - The unique identifier of the reference, if available.
- reference
Name string - The name of the dependency object
- reference
Type string - The type of reference that defines the dependency.
- type string
- The dependency type.
- reference_
display_ strname - The display name of the dependency object
- reference_
id str - The unique identifier of the reference, if available.
- reference_
name str - The name of the dependency object
- reference_
type str - The type of reference that defines the dependency.
- type str
- The dependency type.
- reference
Display StringName - The display name of the dependency object
- reference
Id String - The unique identifier of the reference, if available.
- reference
Name String - The name of the dependency object
- reference
Type String - The type of reference that defines the dependency.
- type String
- The dependency type.
GetNamespaceFieldUsageDependentSourceEntityType
- Entity
Type string - The entity type.
- Entity
Type stringCategory - The type category.
- Entity
Type stringDisplay Name - The entity type display name.
- Source
Id string - The source unique identifier.
- Entity
Type string - The entity type.
- Entity
Type stringCategory - The type category.
- Entity
Type stringDisplay Name - The entity type display name.
- Source
Id string - The source unique identifier.
- entity
Type String - The entity type.
- entity
Type StringCategory - The type category.
- entity
Type StringDisplay Name - The entity type display name.
- source
Id String - The source unique identifier.
- entity
Type string - The entity type.
- entity
Type stringCategory - The type category.
- entity
Type stringDisplay Name - The entity type display name.
- source
Id string - The source unique identifier.
- entity_
type str - The entity type.
- entity_
type_ strcategory - The type category.
- entity_
type_ strdisplay_ name - The entity type display name.
- source_
id str - The source unique identifier.
- entity
Type String - The entity type.
- entity
Type StringCategory - The type category.
- entity
Type StringDisplay Name - The entity type display name.
- source
Id String - The source unique identifier.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.