1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. Automationaction
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

fortios.system.Automationaction

Explore with Pulumi AI

fortios logo
Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse

    Action for automation stitches.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as fortios from "@pulumiverse/fortios";
    
    const trname = new fortios.system.Automationaction("trname", {
        actionType: "email",
        awsDomain: "amazonaws.com",
        delay: 0,
        emailSubject: "SUBJECT1",
        method: "post",
        minimumInterval: 1,
        protocol: "http",
        required: "disable",
    });
    
    import pulumi
    import pulumiverse_fortios as fortios
    
    trname = fortios.system.Automationaction("trname",
        action_type="email",
        aws_domain="amazonaws.com",
        delay=0,
        email_subject="SUBJECT1",
        method="post",
        minimum_interval=1,
        protocol="http",
        required="disable")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-fortios/sdk/go/fortios/system"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := system.NewAutomationaction(ctx, "trname", &system.AutomationactionArgs{
    			ActionType:      pulumi.String("email"),
    			AwsDomain:       pulumi.String("amazonaws.com"),
    			Delay:           pulumi.Int(0),
    			EmailSubject:    pulumi.String("SUBJECT1"),
    			Method:          pulumi.String("post"),
    			MinimumInterval: pulumi.Int(1),
    			Protocol:        pulumi.String("http"),
    			Required:        pulumi.String("disable"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Fortios = Pulumiverse.Fortios;
    
    return await Deployment.RunAsync(() => 
    {
        var trname = new Fortios.System.Automationaction("trname", new()
        {
            ActionType = "email",
            AwsDomain = "amazonaws.com",
            Delay = 0,
            EmailSubject = "SUBJECT1",
            Method = "post",
            MinimumInterval = 1,
            Protocol = "http",
            Required = "disable",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.fortios.system.Automationaction;
    import com.pulumi.fortios.system.AutomationactionArgs;
    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 trname = new Automationaction("trname", AutomationactionArgs.builder()        
                .actionType("email")
                .awsDomain("amazonaws.com")
                .delay(0)
                .emailSubject("SUBJECT1")
                .method("post")
                .minimumInterval(1)
                .protocol("http")
                .required("disable")
                .build());
    
        }
    }
    
    resources:
      trname:
        type: fortios:system:Automationaction
        properties:
          actionType: email
          awsDomain: amazonaws.com
          delay: 0
          emailSubject: SUBJECT1
          method: post
          minimumInterval: 1
          protocol: http
          required: disable
    

    Create Automationaction Resource

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

    Constructor syntax

    new Automationaction(name: string, args?: AutomationactionArgs, opts?: CustomResourceOptions);
    @overload
    def Automationaction(resource_name: str,
                         args: Optional[AutomationactionArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def Automationaction(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         accprofile: Optional[str] = None,
                         action_type: Optional[str] = None,
                         alicloud_access_key_id: Optional[str] = None,
                         alicloud_access_key_secret: Optional[str] = None,
                         alicloud_account_id: Optional[str] = None,
                         alicloud_function: Optional[str] = None,
                         alicloud_function_authorization: Optional[str] = None,
                         alicloud_function_domain: Optional[str] = None,
                         alicloud_region: Optional[str] = None,
                         alicloud_service: Optional[str] = None,
                         alicloud_version: Optional[str] = None,
                         aws_api_id: Optional[str] = None,
                         aws_api_key: Optional[str] = None,
                         aws_api_path: Optional[str] = None,
                         aws_api_stage: Optional[str] = None,
                         aws_domain: Optional[str] = None,
                         aws_region: Optional[str] = None,
                         azure_api_key: Optional[str] = None,
                         azure_app: Optional[str] = None,
                         azure_domain: Optional[str] = None,
                         azure_function: Optional[str] = None,
                         azure_function_authorization: Optional[str] = None,
                         delay: Optional[int] = None,
                         description: Optional[str] = None,
                         dynamic_sort_subtable: Optional[str] = None,
                         email_body: Optional[str] = None,
                         email_from: Optional[str] = None,
                         email_subject: Optional[str] = None,
                         email_tos: Optional[Sequence[AutomationactionEmailToArgs]] = None,
                         execute_security_fabric: Optional[str] = None,
                         forticare_email: Optional[str] = None,
                         gcp_function: Optional[str] = None,
                         gcp_function_domain: Optional[str] = None,
                         gcp_function_region: Optional[str] = None,
                         gcp_project: Optional[str] = None,
                         get_all_tables: Optional[str] = None,
                         headers: Optional[Sequence[AutomationactionHeaderArgs]] = None,
                         http_body: Optional[str] = None,
                         http_headers: Optional[Sequence[AutomationactionHttpHeaderArgs]] = None,
                         message: Optional[str] = None,
                         message_type: Optional[str] = None,
                         method: Optional[str] = None,
                         minimum_interval: Optional[int] = None,
                         name: Optional[str] = None,
                         output_size: Optional[int] = None,
                         port: Optional[int] = None,
                         protocol: Optional[str] = None,
                         replacement_message: Optional[str] = None,
                         replacemsg_group: Optional[str] = None,
                         required: Optional[str] = None,
                         script: Optional[str] = None,
                         sdn_connectors: Optional[Sequence[AutomationactionSdnConnectorArgs]] = None,
                         security_tag: Optional[str] = None,
                         system_action: Optional[str] = None,
                         timeout: Optional[int] = None,
                         tls_certificate: Optional[str] = None,
                         uri: Optional[str] = None,
                         vdomparam: Optional[str] = None,
                         verify_host_cert: Optional[str] = None)
    func NewAutomationaction(ctx *Context, name string, args *AutomationactionArgs, opts ...ResourceOption) (*Automationaction, error)
    public Automationaction(string name, AutomationactionArgs? args = null, CustomResourceOptions? opts = null)
    public Automationaction(String name, AutomationactionArgs args)
    public Automationaction(String name, AutomationactionArgs args, CustomResourceOptions options)
    
    type: fortios:system:Automationaction
    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 AutomationactionArgs
    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 AutomationactionArgs
    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 AutomationactionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AutomationactionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AutomationactionArgs
    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 automationactionResource = new Fortios.System.Automationaction("automationactionResource", new()
    {
        Accprofile = "string",
        ActionType = "string",
        AlicloudAccessKeyId = "string",
        AlicloudAccessKeySecret = "string",
        AlicloudAccountId = "string",
        AlicloudFunction = "string",
        AlicloudFunctionAuthorization = "string",
        AlicloudFunctionDomain = "string",
        AlicloudRegion = "string",
        AlicloudService = "string",
        AlicloudVersion = "string",
        AwsApiId = "string",
        AwsApiKey = "string",
        AwsApiPath = "string",
        AwsApiStage = "string",
        AwsDomain = "string",
        AwsRegion = "string",
        AzureApiKey = "string",
        AzureApp = "string",
        AzureDomain = "string",
        AzureFunction = "string",
        AzureFunctionAuthorization = "string",
        Delay = 0,
        Description = "string",
        DynamicSortSubtable = "string",
        EmailBody = "string",
        EmailFrom = "string",
        EmailSubject = "string",
        EmailTos = new[]
        {
            new Fortios.System.Inputs.AutomationactionEmailToArgs
            {
                Name = "string",
            },
        },
        ExecuteSecurityFabric = "string",
        ForticareEmail = "string",
        GcpFunction = "string",
        GcpFunctionDomain = "string",
        GcpFunctionRegion = "string",
        GcpProject = "string",
        GetAllTables = "string",
        Headers = new[]
        {
            new Fortios.System.Inputs.AutomationactionHeaderArgs
            {
                Header = "string",
            },
        },
        HttpBody = "string",
        HttpHeaders = new[]
        {
            new Fortios.System.Inputs.AutomationactionHttpHeaderArgs
            {
                Id = 0,
                Key = "string",
                Value = "string",
            },
        },
        Message = "string",
        MessageType = "string",
        Method = "string",
        MinimumInterval = 0,
        Name = "string",
        OutputSize = 0,
        Port = 0,
        Protocol = "string",
        ReplacementMessage = "string",
        ReplacemsgGroup = "string",
        Required = "string",
        Script = "string",
        SdnConnectors = new[]
        {
            new Fortios.System.Inputs.AutomationactionSdnConnectorArgs
            {
                Name = "string",
            },
        },
        SecurityTag = "string",
        SystemAction = "string",
        Timeout = 0,
        TlsCertificate = "string",
        Uri = "string",
        Vdomparam = "string",
        VerifyHostCert = "string",
    });
    
    example, err := system.NewAutomationaction(ctx, "automationactionResource", &system.AutomationactionArgs{
    	Accprofile:                    pulumi.String("string"),
    	ActionType:                    pulumi.String("string"),
    	AlicloudAccessKeyId:           pulumi.String("string"),
    	AlicloudAccessKeySecret:       pulumi.String("string"),
    	AlicloudAccountId:             pulumi.String("string"),
    	AlicloudFunction:              pulumi.String("string"),
    	AlicloudFunctionAuthorization: pulumi.String("string"),
    	AlicloudFunctionDomain:        pulumi.String("string"),
    	AlicloudRegion:                pulumi.String("string"),
    	AlicloudService:               pulumi.String("string"),
    	AlicloudVersion:               pulumi.String("string"),
    	AwsApiId:                      pulumi.String("string"),
    	AwsApiKey:                     pulumi.String("string"),
    	AwsApiPath:                    pulumi.String("string"),
    	AwsApiStage:                   pulumi.String("string"),
    	AwsDomain:                     pulumi.String("string"),
    	AwsRegion:                     pulumi.String("string"),
    	AzureApiKey:                   pulumi.String("string"),
    	AzureApp:                      pulumi.String("string"),
    	AzureDomain:                   pulumi.String("string"),
    	AzureFunction:                 pulumi.String("string"),
    	AzureFunctionAuthorization:    pulumi.String("string"),
    	Delay:                         pulumi.Int(0),
    	Description:                   pulumi.String("string"),
    	DynamicSortSubtable:           pulumi.String("string"),
    	EmailBody:                     pulumi.String("string"),
    	EmailFrom:                     pulumi.String("string"),
    	EmailSubject:                  pulumi.String("string"),
    	EmailTos: system.AutomationactionEmailToArray{
    		&system.AutomationactionEmailToArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	ExecuteSecurityFabric: pulumi.String("string"),
    	ForticareEmail:        pulumi.String("string"),
    	GcpFunction:           pulumi.String("string"),
    	GcpFunctionDomain:     pulumi.String("string"),
    	GcpFunctionRegion:     pulumi.String("string"),
    	GcpProject:            pulumi.String("string"),
    	GetAllTables:          pulumi.String("string"),
    	Headers: system.AutomationactionHeaderArray{
    		&system.AutomationactionHeaderArgs{
    			Header: pulumi.String("string"),
    		},
    	},
    	HttpBody: pulumi.String("string"),
    	HttpHeaders: system.AutomationactionHttpHeaderArray{
    		&system.AutomationactionHttpHeaderArgs{
    			Id:    pulumi.Int(0),
    			Key:   pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    	Message:            pulumi.String("string"),
    	MessageType:        pulumi.String("string"),
    	Method:             pulumi.String("string"),
    	MinimumInterval:    pulumi.Int(0),
    	Name:               pulumi.String("string"),
    	OutputSize:         pulumi.Int(0),
    	Port:               pulumi.Int(0),
    	Protocol:           pulumi.String("string"),
    	ReplacementMessage: pulumi.String("string"),
    	ReplacemsgGroup:    pulumi.String("string"),
    	Required:           pulumi.String("string"),
    	Script:             pulumi.String("string"),
    	SdnConnectors: system.AutomationactionSdnConnectorArray{
    		&system.AutomationactionSdnConnectorArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	SecurityTag:    pulumi.String("string"),
    	SystemAction:   pulumi.String("string"),
    	Timeout:        pulumi.Int(0),
    	TlsCertificate: pulumi.String("string"),
    	Uri:            pulumi.String("string"),
    	Vdomparam:      pulumi.String("string"),
    	VerifyHostCert: pulumi.String("string"),
    })
    
    var automationactionResource = new Automationaction("automationactionResource", AutomationactionArgs.builder()
        .accprofile("string")
        .actionType("string")
        .alicloudAccessKeyId("string")
        .alicloudAccessKeySecret("string")
        .alicloudAccountId("string")
        .alicloudFunction("string")
        .alicloudFunctionAuthorization("string")
        .alicloudFunctionDomain("string")
        .alicloudRegion("string")
        .alicloudService("string")
        .alicloudVersion("string")
        .awsApiId("string")
        .awsApiKey("string")
        .awsApiPath("string")
        .awsApiStage("string")
        .awsDomain("string")
        .awsRegion("string")
        .azureApiKey("string")
        .azureApp("string")
        .azureDomain("string")
        .azureFunction("string")
        .azureFunctionAuthorization("string")
        .delay(0)
        .description("string")
        .dynamicSortSubtable("string")
        .emailBody("string")
        .emailFrom("string")
        .emailSubject("string")
        .emailTos(AutomationactionEmailToArgs.builder()
            .name("string")
            .build())
        .executeSecurityFabric("string")
        .forticareEmail("string")
        .gcpFunction("string")
        .gcpFunctionDomain("string")
        .gcpFunctionRegion("string")
        .gcpProject("string")
        .getAllTables("string")
        .headers(AutomationactionHeaderArgs.builder()
            .header("string")
            .build())
        .httpBody("string")
        .httpHeaders(AutomationactionHttpHeaderArgs.builder()
            .id(0)
            .key("string")
            .value("string")
            .build())
        .message("string")
        .messageType("string")
        .method("string")
        .minimumInterval(0)
        .name("string")
        .outputSize(0)
        .port(0)
        .protocol("string")
        .replacementMessage("string")
        .replacemsgGroup("string")
        .required("string")
        .script("string")
        .sdnConnectors(AutomationactionSdnConnectorArgs.builder()
            .name("string")
            .build())
        .securityTag("string")
        .systemAction("string")
        .timeout(0)
        .tlsCertificate("string")
        .uri("string")
        .vdomparam("string")
        .verifyHostCert("string")
        .build());
    
    automationaction_resource = fortios.system.Automationaction("automationactionResource",
        accprofile="string",
        action_type="string",
        alicloud_access_key_id="string",
        alicloud_access_key_secret="string",
        alicloud_account_id="string",
        alicloud_function="string",
        alicloud_function_authorization="string",
        alicloud_function_domain="string",
        alicloud_region="string",
        alicloud_service="string",
        alicloud_version="string",
        aws_api_id="string",
        aws_api_key="string",
        aws_api_path="string",
        aws_api_stage="string",
        aws_domain="string",
        aws_region="string",
        azure_api_key="string",
        azure_app="string",
        azure_domain="string",
        azure_function="string",
        azure_function_authorization="string",
        delay=0,
        description="string",
        dynamic_sort_subtable="string",
        email_body="string",
        email_from="string",
        email_subject="string",
        email_tos=[fortios.system.AutomationactionEmailToArgs(
            name="string",
        )],
        execute_security_fabric="string",
        forticare_email="string",
        gcp_function="string",
        gcp_function_domain="string",
        gcp_function_region="string",
        gcp_project="string",
        get_all_tables="string",
        headers=[fortios.system.AutomationactionHeaderArgs(
            header="string",
        )],
        http_body="string",
        http_headers=[fortios.system.AutomationactionHttpHeaderArgs(
            id=0,
            key="string",
            value="string",
        )],
        message="string",
        message_type="string",
        method="string",
        minimum_interval=0,
        name="string",
        output_size=0,
        port=0,
        protocol="string",
        replacement_message="string",
        replacemsg_group="string",
        required="string",
        script="string",
        sdn_connectors=[fortios.system.AutomationactionSdnConnectorArgs(
            name="string",
        )],
        security_tag="string",
        system_action="string",
        timeout=0,
        tls_certificate="string",
        uri="string",
        vdomparam="string",
        verify_host_cert="string")
    
    const automationactionResource = new fortios.system.Automationaction("automationactionResource", {
        accprofile: "string",
        actionType: "string",
        alicloudAccessKeyId: "string",
        alicloudAccessKeySecret: "string",
        alicloudAccountId: "string",
        alicloudFunction: "string",
        alicloudFunctionAuthorization: "string",
        alicloudFunctionDomain: "string",
        alicloudRegion: "string",
        alicloudService: "string",
        alicloudVersion: "string",
        awsApiId: "string",
        awsApiKey: "string",
        awsApiPath: "string",
        awsApiStage: "string",
        awsDomain: "string",
        awsRegion: "string",
        azureApiKey: "string",
        azureApp: "string",
        azureDomain: "string",
        azureFunction: "string",
        azureFunctionAuthorization: "string",
        delay: 0,
        description: "string",
        dynamicSortSubtable: "string",
        emailBody: "string",
        emailFrom: "string",
        emailSubject: "string",
        emailTos: [{
            name: "string",
        }],
        executeSecurityFabric: "string",
        forticareEmail: "string",
        gcpFunction: "string",
        gcpFunctionDomain: "string",
        gcpFunctionRegion: "string",
        gcpProject: "string",
        getAllTables: "string",
        headers: [{
            header: "string",
        }],
        httpBody: "string",
        httpHeaders: [{
            id: 0,
            key: "string",
            value: "string",
        }],
        message: "string",
        messageType: "string",
        method: "string",
        minimumInterval: 0,
        name: "string",
        outputSize: 0,
        port: 0,
        protocol: "string",
        replacementMessage: "string",
        replacemsgGroup: "string",
        required: "string",
        script: "string",
        sdnConnectors: [{
            name: "string",
        }],
        securityTag: "string",
        systemAction: "string",
        timeout: 0,
        tlsCertificate: "string",
        uri: "string",
        vdomparam: "string",
        verifyHostCert: "string",
    });
    
    type: fortios:system:Automationaction
    properties:
        accprofile: string
        actionType: string
        alicloudAccessKeyId: string
        alicloudAccessKeySecret: string
        alicloudAccountId: string
        alicloudFunction: string
        alicloudFunctionAuthorization: string
        alicloudFunctionDomain: string
        alicloudRegion: string
        alicloudService: string
        alicloudVersion: string
        awsApiId: string
        awsApiKey: string
        awsApiPath: string
        awsApiStage: string
        awsDomain: string
        awsRegion: string
        azureApiKey: string
        azureApp: string
        azureDomain: string
        azureFunction: string
        azureFunctionAuthorization: string
        delay: 0
        description: string
        dynamicSortSubtable: string
        emailBody: string
        emailFrom: string
        emailSubject: string
        emailTos:
            - name: string
        executeSecurityFabric: string
        forticareEmail: string
        gcpFunction: string
        gcpFunctionDomain: string
        gcpFunctionRegion: string
        gcpProject: string
        getAllTables: string
        headers:
            - header: string
        httpBody: string
        httpHeaders:
            - id: 0
              key: string
              value: string
        message: string
        messageType: string
        method: string
        minimumInterval: 0
        name: string
        outputSize: 0
        port: 0
        protocol: string
        replacementMessage: string
        replacemsgGroup: string
        required: string
        script: string
        sdnConnectors:
            - name: string
        securityTag: string
        systemAction: string
        timeout: 0
        tlsCertificate: string
        uri: string
        vdomparam: string
        verifyHostCert: string
    

    Automationaction Resource Properties

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

    Inputs

    The Automationaction resource accepts the following input properties:

    Accprofile string
    Access profile for CLI script action to access FortiGate features.
    ActionType string
    Action type.
    AlicloudAccessKeyId string
    AliCloud AccessKey ID.
    AlicloudAccessKeySecret string
    AliCloud AccessKey secret.
    AlicloudAccountId string
    AliCloud account ID.
    AlicloudFunction string
    AliCloud function name.
    AlicloudFunctionAuthorization string
    AliCloud function authorization type. Valid values: anonymous, function.
    AlicloudFunctionDomain string
    AliCloud function domain.
    AlicloudRegion string
    AliCloud region.
    AlicloudService string
    AliCloud service name.
    AlicloudVersion string
    AliCloud version.
    AwsApiId string
    AWS API Gateway ID.
    AwsApiKey string
    AWS API Gateway API key.
    AwsApiPath string
    AWS API Gateway path.
    AwsApiStage string
    AWS API Gateway deployment stage name.
    AwsDomain string
    AWS domain.
    AwsRegion string
    AWS region.
    AzureApiKey string
    Azure function API key.
    AzureApp string
    Azure function application name.
    AzureDomain string
    Azure function domain.
    AzureFunction string
    Azure function name.
    AzureFunctionAuthorization string
    Azure function authorization level. Valid values: anonymous, function, admin.
    Delay int
    Delay before execution (in seconds).
    Description string
    Description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EmailBody string
    Email body.
    EmailFrom string
    Email sender name.
    EmailSubject string
    Email subject.
    EmailTos List<Pulumiverse.Fortios.System.Inputs.AutomationactionEmailTo>
    Email addresses. The structure of email_to block is documented below.
    ExecuteSecurityFabric string
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    ForticareEmail string
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    GcpFunction string
    Google Cloud function name.
    GcpFunctionDomain string
    Google Cloud function domain.
    GcpFunctionRegion string
    Google Cloud function region.
    GcpProject string
    Google Cloud Platform project name.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Headers List<Pulumiverse.Fortios.System.Inputs.AutomationactionHeader>
    Request headers. The structure of headers block is documented below.
    HttpBody string
    Request body (if necessary). Should be serialized json string.
    HttpHeaders List<Pulumiverse.Fortios.System.Inputs.AutomationactionHttpHeader>
    Request headers. The structure of http_headers block is documented below.
    Message string
    Message content.
    MessageType string
    Message type. Valid values: text, json.
    Method string
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    MinimumInterval int
    Limit execution to no more than once in this interval (in seconds).
    Name string
    Name.
    OutputSize int
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    Port int
    Protocol port.
    Protocol string
    Request protocol. Valid values: http, https.
    ReplacementMessage string
    Enable/disable replacement message. Valid values: enable, disable.
    ReplacemsgGroup string
    Replacement message group.
    Required string
    Required in action chain. Valid values: enable, disable.
    Script string
    CLI script.
    SdnConnectors List<Pulumiverse.Fortios.System.Inputs.AutomationactionSdnConnector>
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    SecurityTag string
    NSX security tag.
    SystemAction string
    System action type. Valid values: reboot, shutdown, backup-config.
    Timeout int
    Maximum running time for this script in seconds (0 = no timeout).
    TlsCertificate string
    Custom TLS certificate for API request.
    Uri string
    Request API URI.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    VerifyHostCert string
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    Accprofile string
    Access profile for CLI script action to access FortiGate features.
    ActionType string
    Action type.
    AlicloudAccessKeyId string
    AliCloud AccessKey ID.
    AlicloudAccessKeySecret string
    AliCloud AccessKey secret.
    AlicloudAccountId string
    AliCloud account ID.
    AlicloudFunction string
    AliCloud function name.
    AlicloudFunctionAuthorization string
    AliCloud function authorization type. Valid values: anonymous, function.
    AlicloudFunctionDomain string
    AliCloud function domain.
    AlicloudRegion string
    AliCloud region.
    AlicloudService string
    AliCloud service name.
    AlicloudVersion string
    AliCloud version.
    AwsApiId string
    AWS API Gateway ID.
    AwsApiKey string
    AWS API Gateway API key.
    AwsApiPath string
    AWS API Gateway path.
    AwsApiStage string
    AWS API Gateway deployment stage name.
    AwsDomain string
    AWS domain.
    AwsRegion string
    AWS region.
    AzureApiKey string
    Azure function API key.
    AzureApp string
    Azure function application name.
    AzureDomain string
    Azure function domain.
    AzureFunction string
    Azure function name.
    AzureFunctionAuthorization string
    Azure function authorization level. Valid values: anonymous, function, admin.
    Delay int
    Delay before execution (in seconds).
    Description string
    Description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EmailBody string
    Email body.
    EmailFrom string
    Email sender name.
    EmailSubject string
    Email subject.
    EmailTos []AutomationactionEmailToArgs
    Email addresses. The structure of email_to block is documented below.
    ExecuteSecurityFabric string
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    ForticareEmail string
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    GcpFunction string
    Google Cloud function name.
    GcpFunctionDomain string
    Google Cloud function domain.
    GcpFunctionRegion string
    Google Cloud function region.
    GcpProject string
    Google Cloud Platform project name.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Headers []AutomationactionHeaderArgs
    Request headers. The structure of headers block is documented below.
    HttpBody string
    Request body (if necessary). Should be serialized json string.
    HttpHeaders []AutomationactionHttpHeaderArgs
    Request headers. The structure of http_headers block is documented below.
    Message string
    Message content.
    MessageType string
    Message type. Valid values: text, json.
    Method string
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    MinimumInterval int
    Limit execution to no more than once in this interval (in seconds).
    Name string
    Name.
    OutputSize int
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    Port int
    Protocol port.
    Protocol string
    Request protocol. Valid values: http, https.
    ReplacementMessage string
    Enable/disable replacement message. Valid values: enable, disable.
    ReplacemsgGroup string
    Replacement message group.
    Required string
    Required in action chain. Valid values: enable, disable.
    Script string
    CLI script.
    SdnConnectors []AutomationactionSdnConnectorArgs
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    SecurityTag string
    NSX security tag.
    SystemAction string
    System action type. Valid values: reboot, shutdown, backup-config.
    Timeout int
    Maximum running time for this script in seconds (0 = no timeout).
    TlsCertificate string
    Custom TLS certificate for API request.
    Uri string
    Request API URI.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    VerifyHostCert string
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile String
    Access profile for CLI script action to access FortiGate features.
    actionType String
    Action type.
    alicloudAccessKeyId String
    AliCloud AccessKey ID.
    alicloudAccessKeySecret String
    AliCloud AccessKey secret.
    alicloudAccountId String
    AliCloud account ID.
    alicloudFunction String
    AliCloud function name.
    alicloudFunctionAuthorization String
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloudFunctionDomain String
    AliCloud function domain.
    alicloudRegion String
    AliCloud region.
    alicloudService String
    AliCloud service name.
    alicloudVersion String
    AliCloud version.
    awsApiId String
    AWS API Gateway ID.
    awsApiKey String
    AWS API Gateway API key.
    awsApiPath String
    AWS API Gateway path.
    awsApiStage String
    AWS API Gateway deployment stage name.
    awsDomain String
    AWS domain.
    awsRegion String
    AWS region.
    azureApiKey String
    Azure function API key.
    azureApp String
    Azure function application name.
    azureDomain String
    Azure function domain.
    azureFunction String
    Azure function name.
    azureFunctionAuthorization String
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay Integer
    Delay before execution (in seconds).
    description String
    Description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    emailBody String
    Email body.
    emailFrom String
    Email sender name.
    emailSubject String
    Email subject.
    emailTos List<AutomationactionEmailTo>
    Email addresses. The structure of email_to block is documented below.
    executeSecurityFabric String
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticareEmail String
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcpFunction String
    Google Cloud function name.
    gcpFunctionDomain String
    Google Cloud function domain.
    gcpFunctionRegion String
    Google Cloud function region.
    gcpProject String
    Google Cloud Platform project name.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers List<AutomationactionHeader>
    Request headers. The structure of headers block is documented below.
    httpBody String
    Request body (if necessary). Should be serialized json string.
    httpHeaders List<AutomationactionHttpHeader>
    Request headers. The structure of http_headers block is documented below.
    message String
    Message content.
    messageType String
    Message type. Valid values: text, json.
    method String
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimumInterval Integer
    Limit execution to no more than once in this interval (in seconds).
    name String
    Name.
    outputSize Integer
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port Integer
    Protocol port.
    protocol String
    Request protocol. Valid values: http, https.
    replacementMessage String
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsgGroup String
    Replacement message group.
    required String
    Required in action chain. Valid values: enable, disable.
    script String
    CLI script.
    sdnConnectors List<AutomationactionSdnConnector>
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    securityTag String
    NSX security tag.
    systemAction String
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout Integer
    Maximum running time for this script in seconds (0 = no timeout).
    tlsCertificate String
    Custom TLS certificate for API request.
    uri String
    Request API URI.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verifyHostCert String
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile string
    Access profile for CLI script action to access FortiGate features.
    actionType string
    Action type.
    alicloudAccessKeyId string
    AliCloud AccessKey ID.
    alicloudAccessKeySecret string
    AliCloud AccessKey secret.
    alicloudAccountId string
    AliCloud account ID.
    alicloudFunction string
    AliCloud function name.
    alicloudFunctionAuthorization string
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloudFunctionDomain string
    AliCloud function domain.
    alicloudRegion string
    AliCloud region.
    alicloudService string
    AliCloud service name.
    alicloudVersion string
    AliCloud version.
    awsApiId string
    AWS API Gateway ID.
    awsApiKey string
    AWS API Gateway API key.
    awsApiPath string
    AWS API Gateway path.
    awsApiStage string
    AWS API Gateway deployment stage name.
    awsDomain string
    AWS domain.
    awsRegion string
    AWS region.
    azureApiKey string
    Azure function API key.
    azureApp string
    Azure function application name.
    azureDomain string
    Azure function domain.
    azureFunction string
    Azure function name.
    azureFunctionAuthorization string
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay number
    Delay before execution (in seconds).
    description string
    Description.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    emailBody string
    Email body.
    emailFrom string
    Email sender name.
    emailSubject string
    Email subject.
    emailTos AutomationactionEmailTo[]
    Email addresses. The structure of email_to block is documented below.
    executeSecurityFabric string
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticareEmail string
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcpFunction string
    Google Cloud function name.
    gcpFunctionDomain string
    Google Cloud function domain.
    gcpFunctionRegion string
    Google Cloud function region.
    gcpProject string
    Google Cloud Platform project name.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers AutomationactionHeader[]
    Request headers. The structure of headers block is documented below.
    httpBody string
    Request body (if necessary). Should be serialized json string.
    httpHeaders AutomationactionHttpHeader[]
    Request headers. The structure of http_headers block is documented below.
    message string
    Message content.
    messageType string
    Message type. Valid values: text, json.
    method string
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimumInterval number
    Limit execution to no more than once in this interval (in seconds).
    name string
    Name.
    outputSize number
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port number
    Protocol port.
    protocol string
    Request protocol. Valid values: http, https.
    replacementMessage string
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsgGroup string
    Replacement message group.
    required string
    Required in action chain. Valid values: enable, disable.
    script string
    CLI script.
    sdnConnectors AutomationactionSdnConnector[]
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    securityTag string
    NSX security tag.
    systemAction string
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout number
    Maximum running time for this script in seconds (0 = no timeout).
    tlsCertificate string
    Custom TLS certificate for API request.
    uri string
    Request API URI.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verifyHostCert string
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile str
    Access profile for CLI script action to access FortiGate features.
    action_type str
    Action type.
    alicloud_access_key_id str
    AliCloud AccessKey ID.
    alicloud_access_key_secret str
    AliCloud AccessKey secret.
    alicloud_account_id str
    AliCloud account ID.
    alicloud_function str
    AliCloud function name.
    alicloud_function_authorization str
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloud_function_domain str
    AliCloud function domain.
    alicloud_region str
    AliCloud region.
    alicloud_service str
    AliCloud service name.
    alicloud_version str
    AliCloud version.
    aws_api_id str
    AWS API Gateway ID.
    aws_api_key str
    AWS API Gateway API key.
    aws_api_path str
    AWS API Gateway path.
    aws_api_stage str
    AWS API Gateway deployment stage name.
    aws_domain str
    AWS domain.
    aws_region str
    AWS region.
    azure_api_key str
    Azure function API key.
    azure_app str
    Azure function application name.
    azure_domain str
    Azure function domain.
    azure_function str
    Azure function name.
    azure_function_authorization str
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay int
    Delay before execution (in seconds).
    description str
    Description.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    email_body str
    Email body.
    email_from str
    Email sender name.
    email_subject str
    Email subject.
    email_tos Sequence[AutomationactionEmailToArgs]
    Email addresses. The structure of email_to block is documented below.
    execute_security_fabric str
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticare_email str
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcp_function str
    Google Cloud function name.
    gcp_function_domain str
    Google Cloud function domain.
    gcp_function_region str
    Google Cloud function region.
    gcp_project str
    Google Cloud Platform project name.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers Sequence[AutomationactionHeaderArgs]
    Request headers. The structure of headers block is documented below.
    http_body str
    Request body (if necessary). Should be serialized json string.
    http_headers Sequence[AutomationactionHttpHeaderArgs]
    Request headers. The structure of http_headers block is documented below.
    message str
    Message content.
    message_type str
    Message type. Valid values: text, json.
    method str
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimum_interval int
    Limit execution to no more than once in this interval (in seconds).
    name str
    Name.
    output_size int
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port int
    Protocol port.
    protocol str
    Request protocol. Valid values: http, https.
    replacement_message str
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsg_group str
    Replacement message group.
    required str
    Required in action chain. Valid values: enable, disable.
    script str
    CLI script.
    sdn_connectors Sequence[AutomationactionSdnConnectorArgs]
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    security_tag str
    NSX security tag.
    system_action str
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout int
    Maximum running time for this script in seconds (0 = no timeout).
    tls_certificate str
    Custom TLS certificate for API request.
    uri str
    Request API URI.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verify_host_cert str
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile String
    Access profile for CLI script action to access FortiGate features.
    actionType String
    Action type.
    alicloudAccessKeyId String
    AliCloud AccessKey ID.
    alicloudAccessKeySecret String
    AliCloud AccessKey secret.
    alicloudAccountId String
    AliCloud account ID.
    alicloudFunction String
    AliCloud function name.
    alicloudFunctionAuthorization String
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloudFunctionDomain String
    AliCloud function domain.
    alicloudRegion String
    AliCloud region.
    alicloudService String
    AliCloud service name.
    alicloudVersion String
    AliCloud version.
    awsApiId String
    AWS API Gateway ID.
    awsApiKey String
    AWS API Gateway API key.
    awsApiPath String
    AWS API Gateway path.
    awsApiStage String
    AWS API Gateway deployment stage name.
    awsDomain String
    AWS domain.
    awsRegion String
    AWS region.
    azureApiKey String
    Azure function API key.
    azureApp String
    Azure function application name.
    azureDomain String
    Azure function domain.
    azureFunction String
    Azure function name.
    azureFunctionAuthorization String
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay Number
    Delay before execution (in seconds).
    description String
    Description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    emailBody String
    Email body.
    emailFrom String
    Email sender name.
    emailSubject String
    Email subject.
    emailTos List<Property Map>
    Email addresses. The structure of email_to block is documented below.
    executeSecurityFabric String
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticareEmail String
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcpFunction String
    Google Cloud function name.
    gcpFunctionDomain String
    Google Cloud function domain.
    gcpFunctionRegion String
    Google Cloud function region.
    gcpProject String
    Google Cloud Platform project name.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers List<Property Map>
    Request headers. The structure of headers block is documented below.
    httpBody String
    Request body (if necessary). Should be serialized json string.
    httpHeaders List<Property Map>
    Request headers. The structure of http_headers block is documented below.
    message String
    Message content.
    messageType String
    Message type. Valid values: text, json.
    method String
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimumInterval Number
    Limit execution to no more than once in this interval (in seconds).
    name String
    Name.
    outputSize Number
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port Number
    Protocol port.
    protocol String
    Request protocol. Valid values: http, https.
    replacementMessage String
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsgGroup String
    Replacement message group.
    required String
    Required in action chain. Valid values: enable, disable.
    script String
    CLI script.
    sdnConnectors List<Property Map>
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    securityTag String
    NSX security tag.
    systemAction String
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout Number
    Maximum running time for this script in seconds (0 = no timeout).
    tlsCertificate String
    Custom TLS certificate for API request.
    uri String
    Request API URI.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verifyHostCert String
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Automationaction Resource

    Get an existing Automationaction 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?: AutomationactionState, opts?: CustomResourceOptions): Automationaction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accprofile: Optional[str] = None,
            action_type: Optional[str] = None,
            alicloud_access_key_id: Optional[str] = None,
            alicloud_access_key_secret: Optional[str] = None,
            alicloud_account_id: Optional[str] = None,
            alicloud_function: Optional[str] = None,
            alicloud_function_authorization: Optional[str] = None,
            alicloud_function_domain: Optional[str] = None,
            alicloud_region: Optional[str] = None,
            alicloud_service: Optional[str] = None,
            alicloud_version: Optional[str] = None,
            aws_api_id: Optional[str] = None,
            aws_api_key: Optional[str] = None,
            aws_api_path: Optional[str] = None,
            aws_api_stage: Optional[str] = None,
            aws_domain: Optional[str] = None,
            aws_region: Optional[str] = None,
            azure_api_key: Optional[str] = None,
            azure_app: Optional[str] = None,
            azure_domain: Optional[str] = None,
            azure_function: Optional[str] = None,
            azure_function_authorization: Optional[str] = None,
            delay: Optional[int] = None,
            description: Optional[str] = None,
            dynamic_sort_subtable: Optional[str] = None,
            email_body: Optional[str] = None,
            email_from: Optional[str] = None,
            email_subject: Optional[str] = None,
            email_tos: Optional[Sequence[AutomationactionEmailToArgs]] = None,
            execute_security_fabric: Optional[str] = None,
            forticare_email: Optional[str] = None,
            gcp_function: Optional[str] = None,
            gcp_function_domain: Optional[str] = None,
            gcp_function_region: Optional[str] = None,
            gcp_project: Optional[str] = None,
            get_all_tables: Optional[str] = None,
            headers: Optional[Sequence[AutomationactionHeaderArgs]] = None,
            http_body: Optional[str] = None,
            http_headers: Optional[Sequence[AutomationactionHttpHeaderArgs]] = None,
            message: Optional[str] = None,
            message_type: Optional[str] = None,
            method: Optional[str] = None,
            minimum_interval: Optional[int] = None,
            name: Optional[str] = None,
            output_size: Optional[int] = None,
            port: Optional[int] = None,
            protocol: Optional[str] = None,
            replacement_message: Optional[str] = None,
            replacemsg_group: Optional[str] = None,
            required: Optional[str] = None,
            script: Optional[str] = None,
            sdn_connectors: Optional[Sequence[AutomationactionSdnConnectorArgs]] = None,
            security_tag: Optional[str] = None,
            system_action: Optional[str] = None,
            timeout: Optional[int] = None,
            tls_certificate: Optional[str] = None,
            uri: Optional[str] = None,
            vdomparam: Optional[str] = None,
            verify_host_cert: Optional[str] = None) -> Automationaction
    func GetAutomationaction(ctx *Context, name string, id IDInput, state *AutomationactionState, opts ...ResourceOption) (*Automationaction, error)
    public static Automationaction Get(string name, Input<string> id, AutomationactionState? state, CustomResourceOptions? opts = null)
    public static Automationaction get(String name, Output<String> id, AutomationactionState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    Accprofile string
    Access profile for CLI script action to access FortiGate features.
    ActionType string
    Action type.
    AlicloudAccessKeyId string
    AliCloud AccessKey ID.
    AlicloudAccessKeySecret string
    AliCloud AccessKey secret.
    AlicloudAccountId string
    AliCloud account ID.
    AlicloudFunction string
    AliCloud function name.
    AlicloudFunctionAuthorization string
    AliCloud function authorization type. Valid values: anonymous, function.
    AlicloudFunctionDomain string
    AliCloud function domain.
    AlicloudRegion string
    AliCloud region.
    AlicloudService string
    AliCloud service name.
    AlicloudVersion string
    AliCloud version.
    AwsApiId string
    AWS API Gateway ID.
    AwsApiKey string
    AWS API Gateway API key.
    AwsApiPath string
    AWS API Gateway path.
    AwsApiStage string
    AWS API Gateway deployment stage name.
    AwsDomain string
    AWS domain.
    AwsRegion string
    AWS region.
    AzureApiKey string
    Azure function API key.
    AzureApp string
    Azure function application name.
    AzureDomain string
    Azure function domain.
    AzureFunction string
    Azure function name.
    AzureFunctionAuthorization string
    Azure function authorization level. Valid values: anonymous, function, admin.
    Delay int
    Delay before execution (in seconds).
    Description string
    Description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EmailBody string
    Email body.
    EmailFrom string
    Email sender name.
    EmailSubject string
    Email subject.
    EmailTos List<Pulumiverse.Fortios.System.Inputs.AutomationactionEmailTo>
    Email addresses. The structure of email_to block is documented below.
    ExecuteSecurityFabric string
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    ForticareEmail string
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    GcpFunction string
    Google Cloud function name.
    GcpFunctionDomain string
    Google Cloud function domain.
    GcpFunctionRegion string
    Google Cloud function region.
    GcpProject string
    Google Cloud Platform project name.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Headers List<Pulumiverse.Fortios.System.Inputs.AutomationactionHeader>
    Request headers. The structure of headers block is documented below.
    HttpBody string
    Request body (if necessary). Should be serialized json string.
    HttpHeaders List<Pulumiverse.Fortios.System.Inputs.AutomationactionHttpHeader>
    Request headers. The structure of http_headers block is documented below.
    Message string
    Message content.
    MessageType string
    Message type. Valid values: text, json.
    Method string
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    MinimumInterval int
    Limit execution to no more than once in this interval (in seconds).
    Name string
    Name.
    OutputSize int
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    Port int
    Protocol port.
    Protocol string
    Request protocol. Valid values: http, https.
    ReplacementMessage string
    Enable/disable replacement message. Valid values: enable, disable.
    ReplacemsgGroup string
    Replacement message group.
    Required string
    Required in action chain. Valid values: enable, disable.
    Script string
    CLI script.
    SdnConnectors List<Pulumiverse.Fortios.System.Inputs.AutomationactionSdnConnector>
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    SecurityTag string
    NSX security tag.
    SystemAction string
    System action type. Valid values: reboot, shutdown, backup-config.
    Timeout int
    Maximum running time for this script in seconds (0 = no timeout).
    TlsCertificate string
    Custom TLS certificate for API request.
    Uri string
    Request API URI.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    VerifyHostCert string
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    Accprofile string
    Access profile for CLI script action to access FortiGate features.
    ActionType string
    Action type.
    AlicloudAccessKeyId string
    AliCloud AccessKey ID.
    AlicloudAccessKeySecret string
    AliCloud AccessKey secret.
    AlicloudAccountId string
    AliCloud account ID.
    AlicloudFunction string
    AliCloud function name.
    AlicloudFunctionAuthorization string
    AliCloud function authorization type. Valid values: anonymous, function.
    AlicloudFunctionDomain string
    AliCloud function domain.
    AlicloudRegion string
    AliCloud region.
    AlicloudService string
    AliCloud service name.
    AlicloudVersion string
    AliCloud version.
    AwsApiId string
    AWS API Gateway ID.
    AwsApiKey string
    AWS API Gateway API key.
    AwsApiPath string
    AWS API Gateway path.
    AwsApiStage string
    AWS API Gateway deployment stage name.
    AwsDomain string
    AWS domain.
    AwsRegion string
    AWS region.
    AzureApiKey string
    Azure function API key.
    AzureApp string
    Azure function application name.
    AzureDomain string
    Azure function domain.
    AzureFunction string
    Azure function name.
    AzureFunctionAuthorization string
    Azure function authorization level. Valid values: anonymous, function, admin.
    Delay int
    Delay before execution (in seconds).
    Description string
    Description.
    DynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    EmailBody string
    Email body.
    EmailFrom string
    Email sender name.
    EmailSubject string
    Email subject.
    EmailTos []AutomationactionEmailToArgs
    Email addresses. The structure of email_to block is documented below.
    ExecuteSecurityFabric string
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    ForticareEmail string
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    GcpFunction string
    Google Cloud function name.
    GcpFunctionDomain string
    Google Cloud function domain.
    GcpFunctionRegion string
    Google Cloud function region.
    GcpProject string
    Google Cloud Platform project name.
    GetAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    Headers []AutomationactionHeaderArgs
    Request headers. The structure of headers block is documented below.
    HttpBody string
    Request body (if necessary). Should be serialized json string.
    HttpHeaders []AutomationactionHttpHeaderArgs
    Request headers. The structure of http_headers block is documented below.
    Message string
    Message content.
    MessageType string
    Message type. Valid values: text, json.
    Method string
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    MinimumInterval int
    Limit execution to no more than once in this interval (in seconds).
    Name string
    Name.
    OutputSize int
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    Port int
    Protocol port.
    Protocol string
    Request protocol. Valid values: http, https.
    ReplacementMessage string
    Enable/disable replacement message. Valid values: enable, disable.
    ReplacemsgGroup string
    Replacement message group.
    Required string
    Required in action chain. Valid values: enable, disable.
    Script string
    CLI script.
    SdnConnectors []AutomationactionSdnConnectorArgs
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    SecurityTag string
    NSX security tag.
    SystemAction string
    System action type. Valid values: reboot, shutdown, backup-config.
    Timeout int
    Maximum running time for this script in seconds (0 = no timeout).
    TlsCertificate string
    Custom TLS certificate for API request.
    Uri string
    Request API URI.
    Vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    VerifyHostCert string
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile String
    Access profile for CLI script action to access FortiGate features.
    actionType String
    Action type.
    alicloudAccessKeyId String
    AliCloud AccessKey ID.
    alicloudAccessKeySecret String
    AliCloud AccessKey secret.
    alicloudAccountId String
    AliCloud account ID.
    alicloudFunction String
    AliCloud function name.
    alicloudFunctionAuthorization String
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloudFunctionDomain String
    AliCloud function domain.
    alicloudRegion String
    AliCloud region.
    alicloudService String
    AliCloud service name.
    alicloudVersion String
    AliCloud version.
    awsApiId String
    AWS API Gateway ID.
    awsApiKey String
    AWS API Gateway API key.
    awsApiPath String
    AWS API Gateway path.
    awsApiStage String
    AWS API Gateway deployment stage name.
    awsDomain String
    AWS domain.
    awsRegion String
    AWS region.
    azureApiKey String
    Azure function API key.
    azureApp String
    Azure function application name.
    azureDomain String
    Azure function domain.
    azureFunction String
    Azure function name.
    azureFunctionAuthorization String
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay Integer
    Delay before execution (in seconds).
    description String
    Description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    emailBody String
    Email body.
    emailFrom String
    Email sender name.
    emailSubject String
    Email subject.
    emailTos List<AutomationactionEmailTo>
    Email addresses. The structure of email_to block is documented below.
    executeSecurityFabric String
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticareEmail String
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcpFunction String
    Google Cloud function name.
    gcpFunctionDomain String
    Google Cloud function domain.
    gcpFunctionRegion String
    Google Cloud function region.
    gcpProject String
    Google Cloud Platform project name.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers List<AutomationactionHeader>
    Request headers. The structure of headers block is documented below.
    httpBody String
    Request body (if necessary). Should be serialized json string.
    httpHeaders List<AutomationactionHttpHeader>
    Request headers. The structure of http_headers block is documented below.
    message String
    Message content.
    messageType String
    Message type. Valid values: text, json.
    method String
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimumInterval Integer
    Limit execution to no more than once in this interval (in seconds).
    name String
    Name.
    outputSize Integer
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port Integer
    Protocol port.
    protocol String
    Request protocol. Valid values: http, https.
    replacementMessage String
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsgGroup String
    Replacement message group.
    required String
    Required in action chain. Valid values: enable, disable.
    script String
    CLI script.
    sdnConnectors List<AutomationactionSdnConnector>
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    securityTag String
    NSX security tag.
    systemAction String
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout Integer
    Maximum running time for this script in seconds (0 = no timeout).
    tlsCertificate String
    Custom TLS certificate for API request.
    uri String
    Request API URI.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verifyHostCert String
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile string
    Access profile for CLI script action to access FortiGate features.
    actionType string
    Action type.
    alicloudAccessKeyId string
    AliCloud AccessKey ID.
    alicloudAccessKeySecret string
    AliCloud AccessKey secret.
    alicloudAccountId string
    AliCloud account ID.
    alicloudFunction string
    AliCloud function name.
    alicloudFunctionAuthorization string
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloudFunctionDomain string
    AliCloud function domain.
    alicloudRegion string
    AliCloud region.
    alicloudService string
    AliCloud service name.
    alicloudVersion string
    AliCloud version.
    awsApiId string
    AWS API Gateway ID.
    awsApiKey string
    AWS API Gateway API key.
    awsApiPath string
    AWS API Gateway path.
    awsApiStage string
    AWS API Gateway deployment stage name.
    awsDomain string
    AWS domain.
    awsRegion string
    AWS region.
    azureApiKey string
    Azure function API key.
    azureApp string
    Azure function application name.
    azureDomain string
    Azure function domain.
    azureFunction string
    Azure function name.
    azureFunctionAuthorization string
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay number
    Delay before execution (in seconds).
    description string
    Description.
    dynamicSortSubtable string
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    emailBody string
    Email body.
    emailFrom string
    Email sender name.
    emailSubject string
    Email subject.
    emailTos AutomationactionEmailTo[]
    Email addresses. The structure of email_to block is documented below.
    executeSecurityFabric string
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticareEmail string
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcpFunction string
    Google Cloud function name.
    gcpFunctionDomain string
    Google Cloud function domain.
    gcpFunctionRegion string
    Google Cloud function region.
    gcpProject string
    Google Cloud Platform project name.
    getAllTables string
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers AutomationactionHeader[]
    Request headers. The structure of headers block is documented below.
    httpBody string
    Request body (if necessary). Should be serialized json string.
    httpHeaders AutomationactionHttpHeader[]
    Request headers. The structure of http_headers block is documented below.
    message string
    Message content.
    messageType string
    Message type. Valid values: text, json.
    method string
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimumInterval number
    Limit execution to no more than once in this interval (in seconds).
    name string
    Name.
    outputSize number
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port number
    Protocol port.
    protocol string
    Request protocol. Valid values: http, https.
    replacementMessage string
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsgGroup string
    Replacement message group.
    required string
    Required in action chain. Valid values: enable, disable.
    script string
    CLI script.
    sdnConnectors AutomationactionSdnConnector[]
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    securityTag string
    NSX security tag.
    systemAction string
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout number
    Maximum running time for this script in seconds (0 = no timeout).
    tlsCertificate string
    Custom TLS certificate for API request.
    uri string
    Request API URI.
    vdomparam string
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verifyHostCert string
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile str
    Access profile for CLI script action to access FortiGate features.
    action_type str
    Action type.
    alicloud_access_key_id str
    AliCloud AccessKey ID.
    alicloud_access_key_secret str
    AliCloud AccessKey secret.
    alicloud_account_id str
    AliCloud account ID.
    alicloud_function str
    AliCloud function name.
    alicloud_function_authorization str
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloud_function_domain str
    AliCloud function domain.
    alicloud_region str
    AliCloud region.
    alicloud_service str
    AliCloud service name.
    alicloud_version str
    AliCloud version.
    aws_api_id str
    AWS API Gateway ID.
    aws_api_key str
    AWS API Gateway API key.
    aws_api_path str
    AWS API Gateway path.
    aws_api_stage str
    AWS API Gateway deployment stage name.
    aws_domain str
    AWS domain.
    aws_region str
    AWS region.
    azure_api_key str
    Azure function API key.
    azure_app str
    Azure function application name.
    azure_domain str
    Azure function domain.
    azure_function str
    Azure function name.
    azure_function_authorization str
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay int
    Delay before execution (in seconds).
    description str
    Description.
    dynamic_sort_subtable str
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    email_body str
    Email body.
    email_from str
    Email sender name.
    email_subject str
    Email subject.
    email_tos Sequence[AutomationactionEmailToArgs]
    Email addresses. The structure of email_to block is documented below.
    execute_security_fabric str
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticare_email str
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcp_function str
    Google Cloud function name.
    gcp_function_domain str
    Google Cloud function domain.
    gcp_function_region str
    Google Cloud function region.
    gcp_project str
    Google Cloud Platform project name.
    get_all_tables str
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers Sequence[AutomationactionHeaderArgs]
    Request headers. The structure of headers block is documented below.
    http_body str
    Request body (if necessary). Should be serialized json string.
    http_headers Sequence[AutomationactionHttpHeaderArgs]
    Request headers. The structure of http_headers block is documented below.
    message str
    Message content.
    message_type str
    Message type. Valid values: text, json.
    method str
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimum_interval int
    Limit execution to no more than once in this interval (in seconds).
    name str
    Name.
    output_size int
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port int
    Protocol port.
    protocol str
    Request protocol. Valid values: http, https.
    replacement_message str
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsg_group str
    Replacement message group.
    required str
    Required in action chain. Valid values: enable, disable.
    script str
    CLI script.
    sdn_connectors Sequence[AutomationactionSdnConnectorArgs]
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    security_tag str
    NSX security tag.
    system_action str
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout int
    Maximum running time for this script in seconds (0 = no timeout).
    tls_certificate str
    Custom TLS certificate for API request.
    uri str
    Request API URI.
    vdomparam str
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verify_host_cert str
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.
    accprofile String
    Access profile for CLI script action to access FortiGate features.
    actionType String
    Action type.
    alicloudAccessKeyId String
    AliCloud AccessKey ID.
    alicloudAccessKeySecret String
    AliCloud AccessKey secret.
    alicloudAccountId String
    AliCloud account ID.
    alicloudFunction String
    AliCloud function name.
    alicloudFunctionAuthorization String
    AliCloud function authorization type. Valid values: anonymous, function.
    alicloudFunctionDomain String
    AliCloud function domain.
    alicloudRegion String
    AliCloud region.
    alicloudService String
    AliCloud service name.
    alicloudVersion String
    AliCloud version.
    awsApiId String
    AWS API Gateway ID.
    awsApiKey String
    AWS API Gateway API key.
    awsApiPath String
    AWS API Gateway path.
    awsApiStage String
    AWS API Gateway deployment stage name.
    awsDomain String
    AWS domain.
    awsRegion String
    AWS region.
    azureApiKey String
    Azure function API key.
    azureApp String
    Azure function application name.
    azureDomain String
    Azure function domain.
    azureFunction String
    Azure function name.
    azureFunctionAuthorization String
    Azure function authorization level. Valid values: anonymous, function, admin.
    delay Number
    Delay before execution (in seconds).
    description String
    Description.
    dynamicSortSubtable String
    Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
    emailBody String
    Email body.
    emailFrom String
    Email sender name.
    emailSubject String
    Email subject.
    emailTos List<Property Map>
    Email addresses. The structure of email_to block is documented below.
    executeSecurityFabric String
    Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values: enable, disable.
    forticareEmail String
    Enable/disable use of your FortiCare email address as the email-to address. Valid values: enable, disable.
    gcpFunction String
    Google Cloud function name.
    gcpFunctionDomain String
    Google Cloud function domain.
    gcpFunctionRegion String
    Google Cloud function region.
    gcpProject String
    Google Cloud Platform project name.
    getAllTables String
    Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
    headers List<Property Map>
    Request headers. The structure of headers block is documented below.
    httpBody String
    Request body (if necessary). Should be serialized json string.
    httpHeaders List<Property Map>
    Request headers. The structure of http_headers block is documented below.
    message String
    Message content.
    messageType String
    Message type. Valid values: text, json.
    method String
    Request method (POST, PUT, GET, PATCH or DELETE). Valid values: post, put, get, patch, delete.
    minimumInterval Number
    Limit execution to no more than once in this interval (in seconds).
    name String
    Name.
    outputSize Number
    Number of megabytes to limit script output to (1 - 1024, default = 10).
    port Number
    Protocol port.
    protocol String
    Request protocol. Valid values: http, https.
    replacementMessage String
    Enable/disable replacement message. Valid values: enable, disable.
    replacemsgGroup String
    Replacement message group.
    required String
    Required in action chain. Valid values: enable, disable.
    script String
    CLI script.
    sdnConnectors List<Property Map>
    NSX SDN connector names. The structure of sdn_connector block is documented below.
    securityTag String
    NSX security tag.
    systemAction String
    System action type. Valid values: reboot, shutdown, backup-config.
    timeout Number
    Maximum running time for this script in seconds (0 = no timeout).
    tlsCertificate String
    Custom TLS certificate for API request.
    uri String
    Request API URI.
    vdomparam String
    Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
    verifyHostCert String
    Enable/disable verification of the remote host certificate. Valid values: enable, disable.

    Supporting Types

    AutomationactionEmailTo, AutomationactionEmailToArgs

    Name string
    Email address.
    Name string
    Email address.
    name String
    Email address.
    name string
    Email address.
    name str
    Email address.
    name String
    Email address.

    AutomationactionHeader, AutomationactionHeaderArgs

    Header string
    Request header.
    Header string
    Request header.
    header String
    Request header.
    header string
    Request header.
    header str
    Request header.
    header String
    Request header.

    AutomationactionHttpHeader, AutomationactionHttpHeaderArgs

    Id int
    Entry ID.
    Key string
    Request header key.
    Value string
    Request header value.
    Id int
    Entry ID.
    Key string
    Request header key.
    Value string
    Request header value.
    id Integer
    Entry ID.
    key String
    Request header key.
    value String
    Request header value.
    id number
    Entry ID.
    key string
    Request header key.
    value string
    Request header value.
    id int
    Entry ID.
    key str
    Request header key.
    value str
    Request header value.
    id Number
    Entry ID.
    key String
    Request header key.
    value String
    Request header value.

    AutomationactionSdnConnector, AutomationactionSdnConnectorArgs

    Name string
    SDN connector name.
    Name string
    SDN connector name.
    name String
    SDN connector name.
    name string
    SDN connector name.
    name str
    SDN connector name.
    name String
    SDN connector name.

    Import

    System AutomationAction can be imported using any of these accepted formats:

    $ pulumi import fortios:system/automationaction:Automationaction labelname {{name}}
    

    If you do not want to import arguments of block:

    $ export “FORTIOS_IMPORT_TABLE”=“false”

    $ pulumi import fortios:system/automationaction:Automationaction labelname {{name}}
    

    $ unset “FORTIOS_IMPORT_TABLE”

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    fortios pulumiverse/pulumi-fortios
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the fortios Terraform Provider.
    fortios logo
    Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse