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

oci.LogAnalytics.getNamespaceParserActions

Explore with Pulumi AI

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

    This data source provides the list of Namespace Parser Actions in Oracle Cloud Infrastructure Log Analytics service.

    Returns a list of parser actions. You may limit the number of results and provide sorting order.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testNamespaceParserActions = oci.LogAnalytics.getNamespaceParserActions({
        namespace: namespaceParserActionNamespace,
        actionDisplayText: namespaceParserActionActionDisplayText,
        name: namespaceParserActionName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_namespace_parser_actions = oci.LogAnalytics.get_namespace_parser_actions(namespace=namespace_parser_action_namespace,
        action_display_text=namespace_parser_action_action_display_text,
        name=namespace_parser_action_name)
    
    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.GetNamespaceParserActions(ctx, &loganalytics.GetNamespaceParserActionsArgs{
    			Namespace:         namespaceParserActionNamespace,
    			ActionDisplayText: pulumi.StringRef(namespaceParserActionActionDisplayText),
    			Name:              pulumi.StringRef(namespaceParserActionName),
    		}, 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 testNamespaceParserActions = Oci.LogAnalytics.GetNamespaceParserActions.Invoke(new()
        {
            Namespace = namespaceParserActionNamespace,
            ActionDisplayText = namespaceParserActionActionDisplayText,
            Name = namespaceParserActionName,
        });
    
    });
    
    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.GetNamespaceParserActionsArgs;
    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 testNamespaceParserActions = LogAnalyticsFunctions.getNamespaceParserActions(GetNamespaceParserActionsArgs.builder()
                .namespace(namespaceParserActionNamespace)
                .actionDisplayText(namespaceParserActionActionDisplayText)
                .name(namespaceParserActionName)
                .build());
    
        }
    }
    
    variables:
      testNamespaceParserActions:
        fn::invoke:
          function: oci:LogAnalytics:getNamespaceParserActions
          arguments:
            namespace: ${namespaceParserActionNamespace}
            actionDisplayText: ${namespaceParserActionActionDisplayText}
            name: ${namespaceParserActionName}
    

    Using getNamespaceParserActions

    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 getNamespaceParserActions(args: GetNamespaceParserActionsArgs, opts?: InvokeOptions): Promise<GetNamespaceParserActionsResult>
    function getNamespaceParserActionsOutput(args: GetNamespaceParserActionsOutputArgs, opts?: InvokeOptions): Output<GetNamespaceParserActionsResult>
    def get_namespace_parser_actions(action_display_text: Optional[str] = None,
                                     filters: Optional[Sequence[GetNamespaceParserActionsFilter]] = None,
                                     name: Optional[str] = None,
                                     namespace: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetNamespaceParserActionsResult
    def get_namespace_parser_actions_output(action_display_text: Optional[pulumi.Input[str]] = None,
                                     filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetNamespaceParserActionsFilterArgs]]]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     namespace: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceParserActionsResult]
    func GetNamespaceParserActions(ctx *Context, args *GetNamespaceParserActionsArgs, opts ...InvokeOption) (*GetNamespaceParserActionsResult, error)
    func GetNamespaceParserActionsOutput(ctx *Context, args *GetNamespaceParserActionsOutputArgs, opts ...InvokeOption) GetNamespaceParserActionsResultOutput

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

    public static class GetNamespaceParserActions 
    {
        public static Task<GetNamespaceParserActionsResult> InvokeAsync(GetNamespaceParserActionsArgs args, InvokeOptions? opts = null)
        public static Output<GetNamespaceParserActionsResult> Invoke(GetNamespaceParserActionsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNamespaceParserActionsResult> getNamespaceParserActions(GetNamespaceParserActionsArgs args, InvokeOptions options)
    public static Output<GetNamespaceParserActionsResult> getNamespaceParserActions(GetNamespaceParserActionsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:LogAnalytics/getNamespaceParserActions:getNamespaceParserActions
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Namespace string
    The Logging Analytics namespace used for the request.
    ActionDisplayText string
    The parser action display text used for filtering.
    Filters List<GetNamespaceParserActionsFilter>
    Name string
    The parser action name used for filtering.
    Namespace string
    The Logging Analytics namespace used for the request.
    ActionDisplayText string
    The parser action display text used for filtering.
    Filters []GetNamespaceParserActionsFilter
    Name string
    The parser action name used for filtering.
    namespace String
    The Logging Analytics namespace used for the request.
    actionDisplayText String
    The parser action display text used for filtering.
    filters List<GetNamespaceParserActionsFilter>
    name String
    The parser action name used for filtering.
    namespace string
    The Logging Analytics namespace used for the request.
    actionDisplayText string
    The parser action display text used for filtering.
    filters GetNamespaceParserActionsFilter[]
    name string
    The parser action name used for filtering.
    namespace str
    The Logging Analytics namespace used for the request.
    action_display_text str
    The parser action display text used for filtering.
    filters Sequence[GetNamespaceParserActionsFilter]
    name str
    The parser action name used for filtering.
    namespace String
    The Logging Analytics namespace used for the request.
    actionDisplayText String
    The parser action display text used for filtering.
    filters List<Property Map>
    name String
    The parser action name used for filtering.

    getNamespaceParserActions Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    ParserActionSummaryCollections List<GetNamespaceParserActionsParserActionSummaryCollection>
    The list of parser_action_summary_collection.
    ActionDisplayText string
    Filters List<GetNamespaceParserActionsFilter>
    Name string
    The parser action name.
    Id string
    The provider-assigned unique ID for this managed resource.
    Namespace string
    ParserActionSummaryCollections []GetNamespaceParserActionsParserActionSummaryCollection
    The list of parser_action_summary_collection.
    ActionDisplayText string
    Filters []GetNamespaceParserActionsFilter
    Name string
    The parser action name.
    id String
    The provider-assigned unique ID for this managed resource.
    namespace String
    parserActionSummaryCollections List<GetNamespaceParserActionsParserActionSummaryCollection>
    The list of parser_action_summary_collection.
    actionDisplayText String
    filters List<GetNamespaceParserActionsFilter>
    name String
    The parser action name.
    id string
    The provider-assigned unique ID for this managed resource.
    namespace string
    parserActionSummaryCollections GetNamespaceParserActionsParserActionSummaryCollection[]
    The list of parser_action_summary_collection.
    actionDisplayText string
    filters GetNamespaceParserActionsFilter[]
    name string
    The parser action name.
    id str
    The provider-assigned unique ID for this managed resource.
    namespace str
    parser_action_summary_collections Sequence[GetNamespaceParserActionsParserActionSummaryCollection]
    The list of parser_action_summary_collection.
    action_display_text str
    filters Sequence[GetNamespaceParserActionsFilter]
    name str
    The parser action name.
    id String
    The provider-assigned unique ID for this managed resource.
    namespace String
    parserActionSummaryCollections List<Property Map>
    The list of parser_action_summary_collection.
    actionDisplayText String
    filters List<Property Map>
    name String
    The parser action name.

    Supporting Types

    GetNamespaceParserActionsFilter

    Name string
    The parser action name used for filtering.
    Values List<string>
    Regex bool
    Name string
    The parser action name used for filtering.
    Values []string
    Regex bool
    name String
    The parser action name used for filtering.
    values List<String>
    regex Boolean
    name string
    The parser action name used for filtering.
    values string[]
    regex boolean
    name str
    The parser action name used for filtering.
    values Sequence[str]
    regex bool
    name String
    The parser action name used for filtering.
    values List<String>
    regex Boolean

    GetNamespaceParserActionsParserActionSummaryCollection

    items List<Property Map>
    An array of parser action summary objects.

    GetNamespaceParserActionsParserActionSummaryCollectionItem

    Description string
    The parser action description.
    DisplayName string
    The parser action display name.
    Name string
    The parser action name used for filtering.
    Description string
    The parser action description.
    DisplayName string
    The parser action display name.
    Name string
    The parser action name used for filtering.
    description String
    The parser action description.
    displayName String
    The parser action display name.
    name String
    The parser action name used for filtering.
    description string
    The parser action description.
    displayName string
    The parser action display name.
    name string
    The parser action name used for filtering.
    description str
    The parser action description.
    display_name str
    The parser action display name.
    name str
    The parser action name used for filtering.
    description String
    The parser action description.
    displayName String
    The parser action display name.
    name String
    The parser action name used for filtering.

    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