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

coralogix.Action

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 action = new coralogix.Action("action", {
        isPrivate: false,
        sourceType: "Log",
        url: "https://www.google.com/search?q={{$p.selected_value}}",
    });
    
    import pulumi
    import pulumi_coralogix as coralogix
    
    action = coralogix.Action("action",
        is_private=False,
        source_type="Log",
        url="https://www.google.com/search?q={{$p.selected_value}}")
    
    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.NewAction(ctx, "action", &coralogix.ActionArgs{
    			IsPrivate:  pulumi.Bool(false),
    			SourceType: pulumi.String("Log"),
    			Url:        pulumi.String("https://www.google.com/search?q={{$p.selected_value}}"),
    		})
    		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 action = new Coralogix.Action("action", new()
        {
            IsPrivate = false,
            SourceType = "Log",
            Url = "https://www.google.com/search?q={{$p.selected_value}}",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.coralogix.Action;
    import com.pulumi.coralogix.ActionArgs;
    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) {
            var action = new Action("action", ActionArgs.builder()
                .isPrivate(false)
                .sourceType("Log")
                .url("https://www.google.com/search?q={{$p.selected_value}}")
                .build());
    
        }
    }
    
    resources:
      action:
        type: coralogix:Action
        properties:
          isPrivate: false
          sourceType: Log
          url: https://www.google.com/search?q={{$p.selected_value}}
    

    Create Action Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Action(name: string, args: ActionArgs, opts?: CustomResourceOptions);
    @overload
    def Action(resource_name: str,
               args: ActionArgs,
               opts: Optional[ResourceOptions] = None)
    
    @overload
    def Action(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               source_type: Optional[str] = None,
               url: Optional[str] = None,
               applications: Optional[Sequence[str]] = None,
               is_hidden: Optional[bool] = None,
               is_private: Optional[bool] = None,
               name: Optional[str] = None,
               subsystems: Optional[Sequence[str]] = None)
    func NewAction(ctx *Context, name string, args ActionArgs, opts ...ResourceOption) (*Action, error)
    public Action(string name, ActionArgs args, CustomResourceOptions? opts = null)
    public Action(String name, ActionArgs args)
    public Action(String name, ActionArgs args, CustomResourceOptions options)
    
    type: coralogix:Action
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ActionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var actionResource = new Coralogix.Action("actionResource", new()
    {
        SourceType = "string",
        Url = "string",
        Applications = new[]
        {
            "string",
        },
        IsHidden = false,
        IsPrivate = false,
        Name = "string",
        Subsystems = new[]
        {
            "string",
        },
    });
    
    example, err := coralogix.NewAction(ctx, "actionResource", &coralogix.ActionArgs{
    	SourceType: pulumi.String("string"),
    	Url:        pulumi.String("string"),
    	Applications: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	IsHidden:  pulumi.Bool(false),
    	IsPrivate: pulumi.Bool(false),
    	Name:      pulumi.String("string"),
    	Subsystems: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var actionResource = new Action("actionResource", ActionArgs.builder()
        .sourceType("string")
        .url("string")
        .applications("string")
        .isHidden(false)
        .isPrivate(false)
        .name("string")
        .subsystems("string")
        .build());
    
    action_resource = coralogix.Action("actionResource",
        source_type="string",
        url="string",
        applications=["string"],
        is_hidden=False,
        is_private=False,
        name="string",
        subsystems=["string"])
    
    const actionResource = new coralogix.Action("actionResource", {
        sourceType: "string",
        url: "string",
        applications: ["string"],
        isHidden: false,
        isPrivate: false,
        name: "string",
        subsystems: ["string"],
    });
    
    type: coralogix:Action
    properties:
        applications:
            - string
        isHidden: false
        isPrivate: false
        name: string
        sourceType: string
        subsystems:
            - string
        url: string
    

    Action Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Action resource accepts the following input properties:

    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"]
    Url string
    URL for the external tool.
    Applications List<string>
    Applies the action for specific applications.
    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.
    Subsystems List<string>
    Applies the action for specific subsystems.
    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"]
    Url string
    URL for the external tool.
    Applications []string
    Applies the action for specific applications.
    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.
    Subsystems []string
    Applies the action for specific subsystems.
    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"]
    url String
    URL for the external tool.
    applications List<String>
    Applies the action for specific applications.
    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.
    subsystems List<String>
    Applies the action for specific subsystems.
    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"]
    url string
    URL for the external tool.
    applications string[]
    Applies the action for specific applications.
    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.
    subsystems string[]
    Applies the action for specific subsystems.
    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"]
    url str
    URL for the external tool.
    applications Sequence[str]
    Applies the action for specific applications.
    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.
    subsystems Sequence[str]
    Applies the action for specific subsystems.
    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"]
    url String
    URL for the external tool.
    applications List<String>
    Applies the action for specific applications.
    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.
    subsystems List<String>
    Applies the action for specific subsystems.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Action resource produces the following output properties:

    CreatedBy string
    The user who created the action.
    Id string
    The provider-assigned unique ID for this managed resource.
    CreatedBy string
    The user who created the action.
    Id string
    The provider-assigned unique ID for this managed resource.
    createdBy String
    The user who created the action.
    id String
    The provider-assigned unique ID for this managed resource.
    createdBy string
    The user who created the action.
    id string
    The provider-assigned unique ID for this managed resource.
    created_by str
    The user who created the action.
    id str
    The provider-assigned unique ID for this managed resource.
    createdBy String
    The user who created the action.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Action Resource

    Get an existing Action resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ActionState, opts?: CustomResourceOptions): Action
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            applications: Optional[Sequence[str]] = None,
            created_by: Optional[str] = None,
            is_hidden: Optional[bool] = None,
            is_private: Optional[bool] = None,
            name: Optional[str] = None,
            source_type: Optional[str] = None,
            subsystems: Optional[Sequence[str]] = None,
            url: Optional[str] = None) -> Action
    func GetAction(ctx *Context, name string, id IDInput, state *ActionState, opts ...ResourceOption) (*Action, error)
    public static Action Get(string name, Input<string> id, ActionState? state, CustomResourceOptions? opts = null)
    public static Action get(String name, Output<String> id, ActionState state, CustomResourceOptions options)
    resources:  _:    type: coralogix:Action    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Applications List<string>
    Applies the action for specific applications.
    CreatedBy string
    The user who created the action.
    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.
    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.
    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.
    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.
    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.
    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