Oracle Cloud Infrastructure v3.0.0 published on Thursday, Jun 5, 2025 by Pulumi
oci.LogAnalytics.getNamespaceParserActions
Explore with Pulumi AI
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.
- Action
Display stringText - The parser action display text used for filtering.
- Filters
List<Get
Namespace Parser Actions Filter> - Name string
- The parser action name used for filtering.
- Namespace string
- The Logging Analytics namespace used for the request.
- Action
Display stringText - The parser action display text used for filtering.
- Filters
[]Get
Namespace Parser Actions Filter - Name string
- The parser action name used for filtering.
- namespace String
- The Logging Analytics namespace used for the request.
- action
Display StringText - The parser action display text used for filtering.
- filters
List<Get
Namespace Parser Actions Filter> - name String
- The parser action name used for filtering.
- namespace string
- The Logging Analytics namespace used for the request.
- action
Display stringText - The parser action display text used for filtering.
- filters
Get
Namespace Parser Actions Filter[] - name string
- The parser action name used for filtering.
- namespace str
- The Logging Analytics namespace used for the request.
- action_
display_ strtext - The parser action display text used for filtering.
- filters
Sequence[Get
Namespace Parser Actions Filter] - name str
- The parser action name used for filtering.
- namespace String
- The Logging Analytics namespace used for the request.
- action
Display StringText - 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
- Parser
Action List<GetSummary Collections Namespace Parser Actions Parser Action Summary Collection> - The list of parser_action_summary_collection.
- Action
Display stringText - Filters
List<Get
Namespace Parser Actions Filter> - Name string
- The parser action name.
- Id string
- The provider-assigned unique ID for this managed resource.
- Namespace string
- Parser
Action []GetSummary Collections Namespace Parser Actions Parser Action Summary Collection - The list of parser_action_summary_collection.
- Action
Display stringText - Filters
[]Get
Namespace Parser Actions Filter - Name string
- The parser action name.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- parser
Action List<GetSummary Collections Namespace Parser Actions Parser Action Summary Collection> - The list of parser_action_summary_collection.
- action
Display StringText - filters
List<Get
Namespace Parser Actions Filter> - name String
- The parser action name.
- id string
- The provider-assigned unique ID for this managed resource.
- namespace string
- parser
Action GetSummary Collections Namespace Parser Actions Parser Action Summary Collection[] - The list of parser_action_summary_collection.
- action
Display stringText - filters
Get
Namespace Parser Actions Filter[] - name string
- The parser action name.
- id str
- The provider-assigned unique ID for this managed resource.
- namespace str
- parser_
action_ Sequence[Getsummary_ collections Namespace Parser Actions Parser Action Summary Collection] - The list of parser_action_summary_collection.
- action_
display_ strtext - filters
Sequence[Get
Namespace Parser Actions Filter] - name str
- The parser action name.
- id String
- The provider-assigned unique ID for this managed resource.
- namespace String
- parser
Action List<Property Map>Summary Collections - The list of parser_action_summary_collection.
- action
Display StringText - filters List<Property Map>
- name String
- The parser action name.
Supporting Types
GetNamespaceParserActionsFilter
GetNamespaceParserActionsParserActionSummaryCollection
- Items
List<Get
Namespace Parser Actions Parser Action Summary Collection Item> - An array of parser action summary objects.
- Items
[]Get
Namespace Parser Actions Parser Action Summary Collection Item - An array of parser action summary objects.
- items
List<Get
Namespace Parser Actions Parser Action Summary Collection Item> - An array of parser action summary objects.
- items
Get
Namespace Parser Actions Parser Action Summary Collection Item[] - An array of parser action summary objects.
- items
Sequence[Get
Namespace Parser Actions Parser Action Summary Collection Item] - An array of parser action summary objects.
- items List<Property Map>
- An array of parser action summary objects.
GetNamespaceParserActionsParserActionSummaryCollectionItem
- Description string
- The parser action description.
- Display
Name string - The parser action display name.
- Name string
- The parser action name used for filtering.
- Description string
- The parser action description.
- Display
Name string - The parser action display name.
- Name string
- The parser action name used for filtering.
- description String
- The parser action description.
- display
Name String - The parser action display name.
- name String
- The parser action name used for filtering.
- description string
- The parser action description.
- display
Name 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.
- display
Name 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.