1. Packages
  2. Coralogix Provider
  3. API Docs
  4. getAction
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

coralogix.getAction

Explore with Pulumi AI

coralogix logo
coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix

    Coralogix action. For more info please review - https://coralogix.com/docs/coralogix-action-extension/.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as coralogix from "@pulumi/coralogix";
    
    const importedAction = coralogix.getAction({
        id: coralogix_action.action.id,
    });
    
    import pulumi
    import pulumi_coralogix as coralogix
    
    imported_action = coralogix.get_action(id=coralogix_action["action"]["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/coralogix/v2/coralogix"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := coralogix.LookupAction(ctx, &coralogix.LookupActionArgs{
    			Id: coralogix_action.Action.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Coralogix = Pulumi.Coralogix;
    
    return await Deployment.RunAsync(() => 
    {
        var importedAction = Coralogix.GetAction.Invoke(new()
        {
            Id = coralogix_action.Action.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coralogix.CoralogixFunctions;
    import com.pulumi.coralogix.inputs.GetActionArgs;
    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 importedAction = CoralogixFunctions.getAction(GetActionArgs.builder()
                .id(coralogix_action.action().id())
                .build());
    
        }
    }
    
    variables:
      importedAction:
        fn::invoke:
          function: coralogix:getAction
          arguments:
            id: ${coralogix_action.action.id}
    

    Using getAction

    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 getAction(args: GetActionArgs, opts?: InvokeOptions): Promise<GetActionResult>
    function getActionOutput(args: GetActionOutputArgs, opts?: InvokeOptions): Output<GetActionResult>
    def get_action(id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetActionResult
    def get_action_output(id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetActionResult]
    func LookupAction(ctx *Context, args *LookupActionArgs, opts ...InvokeOption) (*LookupActionResult, error)
    func LookupActionOutput(ctx *Context, args *LookupActionOutputArgs, opts ...InvokeOption) LookupActionResultOutput

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

    public static class GetAction 
    {
        public static Task<GetActionResult> InvokeAsync(GetActionArgs args, InvokeOptions? opts = null)
        public static Output<GetActionResult> Invoke(GetActionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetActionResult> getAction(GetActionArgs args, InvokeOptions options)
    public static Output<GetActionResult> getAction(GetActionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: coralogix:index/getAction:getAction
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Action ID.
    Id string
    Action ID.
    id String
    Action ID.
    id string
    Action ID.
    id str
    Action ID.
    id String
    Action ID.

    getAction Result

    The following output properties are available:

    Applications List<string>
    Applies the action for specific applications.
    CreatedBy string
    The user who created the action.
    Id string
    Action ID.
    IsHidden bool
    Determines weather the action will be shown at the action menu.
    IsPrivate bool
    Determines weather the action will be shared with the entire team. Can be set to false only by admin.
    Name string
    Action name.
    SourceType string
    By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
    Subsystems List<string>
    Applies the action for specific subsystems.
    Url string
    URL for the external tool.
    Applications []string
    Applies the action for specific applications.
    CreatedBy string
    The user who created the action.
    Id string
    Action ID.
    IsHidden bool
    Determines weather the action will be shown at the action menu.
    IsPrivate bool
    Determines weather the action will be shared with the entire team. Can be set to false only by admin.
    Name string
    Action name.
    SourceType string
    By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
    Subsystems []string
    Applies the action for specific subsystems.
    Url string
    URL for the external tool.
    applications List<String>
    Applies the action for specific applications.
    createdBy String
    The user who created the action.
    id String
    Action ID.
    isHidden Boolean
    Determines weather the action will be shown at the action menu.
    isPrivate Boolean
    Determines weather the action will be shared with the entire team. Can be set to false only by admin.
    name String
    Action name.
    sourceType String
    By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
    subsystems List<String>
    Applies the action for specific subsystems.
    url String
    URL for the external tool.
    applications string[]
    Applies the action for specific applications.
    createdBy string
    The user who created the action.
    id string
    Action ID.
    isHidden boolean
    Determines weather the action will be shown at the action menu.
    isPrivate boolean
    Determines weather the action will be shared with the entire team. Can be set to false only by admin.
    name string
    Action name.
    sourceType string
    By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
    subsystems string[]
    Applies the action for specific subsystems.
    url string
    URL for the external tool.
    applications Sequence[str]
    Applies the action for specific applications.
    created_by str
    The user who created the action.
    id str
    Action ID.
    is_hidden bool
    Determines weather the action will be shown at the action menu.
    is_private bool
    Determines weather the action will be shared with the entire team. Can be set to false only by admin.
    name str
    Action name.
    source_type str
    By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
    subsystems Sequence[str]
    Applies the action for specific subsystems.
    url str
    URL for the external tool.
    applications List<String>
    Applies the action for specific applications.
    createdBy String
    The user who created the action.
    id String
    Action ID.
    isHidden Boolean
    Determines weather the action will be shown at the action menu.
    isPrivate Boolean
    Determines weather the action will be shared with the entire team. Can be set to false only by admin.
    name String
    Action name.
    sourceType String
    By selecting the data type, you can make sure that the action will be displayed only in the relevant context. Can be one of ["DataMap" "Log"]
    subsystems List<String>
    Applies the action for specific subsystems.
    url String
    URL for the external tool.

    Package Details

    Repository
    coralogix coralogix/terraform-provider-coralogix
    License
    Notes
    This Pulumi package is based on the coralogix Terraform Provider.
    coralogix logo
    coralogix 2.0.17 published on Tuesday, Apr 22, 2025 by coralogix