fortios.system.Automationaction
Explore with Pulumi AI
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.
- Action
Type string - Action type.
- Alicloud
Access stringKey Id - AliCloud AccessKey ID.
- Alicloud
Access stringKey Secret - AliCloud AccessKey secret.
- Alicloud
Account stringId - AliCloud account ID.
- Alicloud
Function string - AliCloud function name.
- string
- AliCloud function authorization type. Valid values:
anonymous
,function
. - Alicloud
Function stringDomain - AliCloud function domain.
- Alicloud
Region string - AliCloud region.
- Alicloud
Service string - AliCloud service name.
- Alicloud
Version string - AliCloud version.
- Aws
Api stringId - AWS API Gateway ID.
- Aws
Api stringKey - AWS API Gateway API key.
- Aws
Api stringPath - AWS API Gateway path.
- Aws
Api stringStage - AWS API Gateway deployment stage name.
- Aws
Domain string - AWS domain.
- Aws
Region string - AWS region.
- Azure
Api stringKey - Azure function API key.
- Azure
App string - Azure function application name.
- Azure
Domain string - Azure function domain.
- Azure
Function string - Azure function name.
- string
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - Delay int
- Delay before execution (in seconds).
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Email body.
- Email
From string - Email sender name.
- Email
Subject string - Email subject.
- Email
Tos List<Pulumiverse.Fortios. System. Inputs. Automationaction Email To> - Email addresses. The structure of
email_to
block is documented below. - Execute
Security stringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - Forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - Gcp
Function string - Google Cloud function name.
- Gcp
Function stringDomain - Google Cloud function domain.
- Gcp
Function stringRegion - Google Cloud function region.
- Gcp
Project string - Google Cloud Platform project name.
- Get
All stringTables - 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. Automationaction Header> - Request headers. The structure of
headers
block is documented below. - Http
Body string - Request body (if necessary). Should be serialized json string.
- Http
Headers List<Pulumiverse.Fortios. System. Inputs. Automationaction Http Header> - Request headers. The structure of
http_headers
block is documented below. - Message string
- Message content.
- Message
Type string - Message type. Valid values:
text
,json
. - Method string
- 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 string
- Name.
- Output
Size 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
. - Replacement
Message string - Enable/disable replacement message. Valid values:
enable
,disable
. - Replacemsg
Group string - Replacement message group.
- Required string
- Required in action chain. Valid values:
enable
,disable
. - Script string
- CLI script.
- Sdn
Connectors List<Pulumiverse.Fortios. System. Inputs. Automationaction Sdn Connector> - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - Security
Tag string - NSX security tag.
- System
Action string - System action type. Valid values:
reboot
,shutdown
,backup-config
. - Timeout int
- Maximum running time for this script in seconds (0 = no timeout).
- Tls
Certificate 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.
- Verify
Host stringCert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- Accprofile string
- Access profile for CLI script action to access FortiGate features.
- Action
Type string - Action type.
- Alicloud
Access stringKey Id - AliCloud AccessKey ID.
- Alicloud
Access stringKey Secret - AliCloud AccessKey secret.
- Alicloud
Account stringId - AliCloud account ID.
- Alicloud
Function string - AliCloud function name.
- string
- AliCloud function authorization type. Valid values:
anonymous
,function
. - Alicloud
Function stringDomain - AliCloud function domain.
- Alicloud
Region string - AliCloud region.
- Alicloud
Service string - AliCloud service name.
- Alicloud
Version string - AliCloud version.
- Aws
Api stringId - AWS API Gateway ID.
- Aws
Api stringKey - AWS API Gateway API key.
- Aws
Api stringPath - AWS API Gateway path.
- Aws
Api stringStage - AWS API Gateway deployment stage name.
- Aws
Domain string - AWS domain.
- Aws
Region string - AWS region.
- Azure
Api stringKey - Azure function API key.
- Azure
App string - Azure function application name.
- Azure
Domain string - Azure function domain.
- Azure
Function string - Azure function name.
- string
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - Delay int
- Delay before execution (in seconds).
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Email body.
- Email
From string - Email sender name.
- Email
Subject string - Email subject.
- Email
Tos []AutomationactionEmail To Args - Email addresses. The structure of
email_to
block is documented below. - Execute
Security stringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - Forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - Gcp
Function string - Google Cloud function name.
- Gcp
Function stringDomain - Google Cloud function domain.
- Gcp
Function stringRegion - Google Cloud function region.
- Gcp
Project string - Google Cloud Platform project name.
- Get
All stringTables - 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
[]Automationaction
Header Args - Request headers. The structure of
headers
block is documented below. - Http
Body string - Request body (if necessary). Should be serialized json string.
- Http
Headers []AutomationactionHttp Header Args - Request headers. The structure of
http_headers
block is documented below. - Message string
- Message content.
- Message
Type string - Message type. Valid values:
text
,json
. - Method string
- 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 string
- Name.
- Output
Size 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
. - Replacement
Message string - Enable/disable replacement message. Valid values:
enable
,disable
. - Replacemsg
Group string - Replacement message group.
- Required string
- Required in action chain. Valid values:
enable
,disable
. - Script string
- CLI script.
- Sdn
Connectors []AutomationactionSdn Connector Args - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - Security
Tag string - NSX security tag.
- System
Action string - System action type. Valid values:
reboot
,shutdown
,backup-config
. - Timeout int
- Maximum running time for this script in seconds (0 = no timeout).
- Tls
Certificate 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.
- Verify
Host stringCert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- accprofile String
- Access profile for CLI script action to access FortiGate features.
- action
Type String - Action type.
- alicloud
Access StringKey Id - AliCloud AccessKey ID.
- alicloud
Access StringKey Secret - AliCloud AccessKey secret.
- alicloud
Account StringId - AliCloud account ID.
- alicloud
Function String - AliCloud function name.
- String
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud
Function StringDomain - AliCloud function domain.
- alicloud
Region String - AliCloud region.
- alicloud
Service String - AliCloud service name.
- alicloud
Version String - AliCloud version.
- aws
Api StringId - AWS API Gateway ID.
- aws
Api StringKey - AWS API Gateway API key.
- aws
Api StringPath - AWS API Gateway path.
- aws
Api StringStage - AWS API Gateway deployment stage name.
- aws
Domain String - AWS domain.
- aws
Region String - AWS region.
- azure
Api StringKey - Azure function API key.
- azure
App String - Azure function application name.
- azure
Domain String - Azure function domain.
- azure
Function String - Azure function name.
- String
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay Integer
- Delay before execution (in seconds).
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Email body.
- email
From String - Email sender name.
- email
Subject String - Email subject.
- email
Tos List<AutomationactionEmail To> - Email addresses. The structure of
email_to
block is documented below. - execute
Security StringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - forticare
Email String - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - gcp
Function String - Google Cloud function name.
- gcp
Function StringDomain - Google Cloud function domain.
- gcp
Function StringRegion - Google Cloud function region.
- gcp
Project String - Google Cloud Platform project name.
- get
All StringTables - 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<Automationaction
Header> - Request headers. The structure of
headers
block is documented below. - http
Body String - Request body (if necessary). Should be serialized json string.
- http
Headers List<AutomationactionHttp Header> - Request headers. The structure of
http_headers
block is documented below. - message String
- Message content.
- message
Type String - Message type. Valid values:
text
,json
. - method String
- Request method (POST, PUT, GET, PATCH or DELETE). Valid values:
post
,put
,get
,patch
,delete
. - minimum
Interval Integer - Limit execution to no more than once in this interval (in seconds).
- name String
- Name.
- output
Size 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
. - replacement
Message String - Enable/disable replacement message. Valid values:
enable
,disable
. - replacemsg
Group String - Replacement message group.
- required String
- Required in action chain. Valid values:
enable
,disable
. - script String
- CLI script.
- sdn
Connectors List<AutomationactionSdn Connector> - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - security
Tag String - NSX security tag.
- system
Action String - System action type. Valid values:
reboot
,shutdown
,backup-config
. - timeout Integer
- Maximum running time for this script in seconds (0 = no timeout).
- tls
Certificate 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.
- verify
Host StringCert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- accprofile string
- Access profile for CLI script action to access FortiGate features.
- action
Type string - Action type.
- alicloud
Access stringKey Id - AliCloud AccessKey ID.
- alicloud
Access stringKey Secret - AliCloud AccessKey secret.
- alicloud
Account stringId - AliCloud account ID.
- alicloud
Function string - AliCloud function name.
- string
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud
Function stringDomain - AliCloud function domain.
- alicloud
Region string - AliCloud region.
- alicloud
Service string - AliCloud service name.
- alicloud
Version string - AliCloud version.
- aws
Api stringId - AWS API Gateway ID.
- aws
Api stringKey - AWS API Gateway API key.
- aws
Api stringPath - AWS API Gateway path.
- aws
Api stringStage - AWS API Gateway deployment stage name.
- aws
Domain string - AWS domain.
- aws
Region string - AWS region.
- azure
Api stringKey - Azure function API key.
- azure
App string - Azure function application name.
- azure
Domain string - Azure function domain.
- azure
Function string - Azure function name.
- string
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay number
- Delay before execution (in seconds).
- description string
- Description.
- dynamic
Sort stringSubtable - 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 string - Email body.
- email
From string - Email sender name.
- email
Subject string - Email subject.
- email
Tos AutomationactionEmail To[] - Email addresses. The structure of
email_to
block is documented below. - execute
Security stringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - gcp
Function string - Google Cloud function name.
- gcp
Function stringDomain - Google Cloud function domain.
- gcp
Function stringRegion - Google Cloud function region.
- gcp
Project string - Google Cloud Platform project name.
- get
All stringTables - 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
Automationaction
Header[] - Request headers. The structure of
headers
block is documented below. - http
Body string - Request body (if necessary). Should be serialized json string.
- http
Headers AutomationactionHttp Header[] - Request headers. The structure of
http_headers
block is documented below. - message string
- Message content.
- message
Type string - Message type. Valid values:
text
,json
. - method string
- Request method (POST, PUT, GET, PATCH or DELETE). Valid values:
post
,put
,get
,patch
,delete
. - minimum
Interval number - Limit execution to no more than once in this interval (in seconds).
- name string
- Name.
- output
Size 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
. - replacement
Message string - Enable/disable replacement message. Valid values:
enable
,disable
. - replacemsg
Group string - Replacement message group.
- required string
- Required in action chain. Valid values:
enable
,disable
. - script string
- CLI script.
- sdn
Connectors AutomationactionSdn Connector[] - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - security
Tag string - NSX security tag.
- system
Action string - System action type. Valid values:
reboot
,shutdown
,backup-config
. - timeout number
- Maximum running time for this script in seconds (0 = no timeout).
- tls
Certificate 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.
- verify
Host stringCert - 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_ strkey_ id - AliCloud AccessKey ID.
- alicloud_
access_ strkey_ secret - AliCloud AccessKey secret.
- alicloud_
account_ strid - AliCloud account ID.
- alicloud_
function str - AliCloud function name.
- str
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud_
function_ strdomain - AliCloud function domain.
- alicloud_
region str - AliCloud region.
- alicloud_
service str - AliCloud service name.
- alicloud_
version str - AliCloud version.
- aws_
api_ strid - AWS API Gateway ID.
- aws_
api_ strkey - AWS API Gateway API key.
- aws_
api_ strpath - AWS API Gateway path.
- aws_
api_ strstage - AWS API Gateway deployment stage name.
- aws_
domain str - AWS domain.
- aws_
region str - AWS region.
- azure_
api_ strkey - Azure function API key.
- azure_
app str - Azure function application name.
- azure_
domain str - Azure function domain.
- azure_
function str - Azure function name.
- str
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay int
- Delay before execution (in seconds).
- description str
- Description.
- dynamic_
sort_ strsubtable - 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[AutomationactionEmail To Args] - Email addresses. The structure of
email_to
block is documented below. - execute_
security_ strfabric - 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_ strdomain - Google Cloud function domain.
- gcp_
function_ strregion - Google Cloud function region.
- gcp_
project str - Google Cloud Platform project name.
- get_
all_ strtables - 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[Automationaction
Header Args] - 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[AutomationactionHttp Header Args] - 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[AutomationactionSdn Connector Args] - 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_ strcert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- accprofile String
- Access profile for CLI script action to access FortiGate features.
- action
Type String - Action type.
- alicloud
Access StringKey Id - AliCloud AccessKey ID.
- alicloud
Access StringKey Secret - AliCloud AccessKey secret.
- alicloud
Account StringId - AliCloud account ID.
- alicloud
Function String - AliCloud function name.
- String
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud
Function StringDomain - AliCloud function domain.
- alicloud
Region String - AliCloud region.
- alicloud
Service String - AliCloud service name.
- alicloud
Version String - AliCloud version.
- aws
Api StringId - AWS API Gateway ID.
- aws
Api StringKey - AWS API Gateway API key.
- aws
Api StringPath - AWS API Gateway path.
- aws
Api StringStage - AWS API Gateway deployment stage name.
- aws
Domain String - AWS domain.
- aws
Region String - AWS region.
- azure
Api StringKey - Azure function API key.
- azure
App String - Azure function application name.
- azure
Domain String - Azure function domain.
- azure
Function String - Azure function name.
- String
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay Number
- Delay before execution (in seconds).
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Email body.
- email
From String - Email sender name.
- email
Subject String - Email subject.
- email
Tos List<Property Map> - Email addresses. The structure of
email_to
block is documented below. - execute
Security StringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - forticare
Email String - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - gcp
Function String - Google Cloud function name.
- gcp
Function StringDomain - Google Cloud function domain.
- gcp
Function StringRegion - Google Cloud function region.
- gcp
Project String - Google Cloud Platform project name.
- get
All StringTables - 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. - http
Body String - Request body (if necessary). Should be serialized json string.
- http
Headers List<Property Map> - Request headers. The structure of
http_headers
block is documented below. - message String
- Message content.
- message
Type String - Message type. Valid values:
text
,json
. - method String
- Request method (POST, PUT, GET, PATCH or DELETE). Valid values:
post
,put
,get
,patch
,delete
. - minimum
Interval Number - Limit execution to no more than once in this interval (in seconds).
- name String
- Name.
- output
Size 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
. - replacement
Message String - Enable/disable replacement message. Valid values:
enable
,disable
. - replacemsg
Group String - Replacement message group.
- required String
- Required in action chain. Valid values:
enable
,disable
. - script String
- CLI script.
- sdn
Connectors List<Property Map> - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - security
Tag String - NSX security tag.
- system
Action String - System action type. Valid values:
reboot
,shutdown
,backup-config
. - timeout Number
- Maximum running time for this script in seconds (0 = no timeout).
- tls
Certificate 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.
- verify
Host StringCert - 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.
- Accprofile string
- Access profile for CLI script action to access FortiGate features.
- Action
Type string - Action type.
- Alicloud
Access stringKey Id - AliCloud AccessKey ID.
- Alicloud
Access stringKey Secret - AliCloud AccessKey secret.
- Alicloud
Account stringId - AliCloud account ID.
- Alicloud
Function string - AliCloud function name.
- string
- AliCloud function authorization type. Valid values:
anonymous
,function
. - Alicloud
Function stringDomain - AliCloud function domain.
- Alicloud
Region string - AliCloud region.
- Alicloud
Service string - AliCloud service name.
- Alicloud
Version string - AliCloud version.
- Aws
Api stringId - AWS API Gateway ID.
- Aws
Api stringKey - AWS API Gateway API key.
- Aws
Api stringPath - AWS API Gateway path.
- Aws
Api stringStage - AWS API Gateway deployment stage name.
- Aws
Domain string - AWS domain.
- Aws
Region string - AWS region.
- Azure
Api stringKey - Azure function API key.
- Azure
App string - Azure function application name.
- Azure
Domain string - Azure function domain.
- Azure
Function string - Azure function name.
- string
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - Delay int
- Delay before execution (in seconds).
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Email body.
- Email
From string - Email sender name.
- Email
Subject string - Email subject.
- Email
Tos List<Pulumiverse.Fortios. System. Inputs. Automationaction Email To> - Email addresses. The structure of
email_to
block is documented below. - Execute
Security stringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - Forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - Gcp
Function string - Google Cloud function name.
- Gcp
Function stringDomain - Google Cloud function domain.
- Gcp
Function stringRegion - Google Cloud function region.
- Gcp
Project string - Google Cloud Platform project name.
- Get
All stringTables - 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. Automationaction Header> - Request headers. The structure of
headers
block is documented below. - Http
Body string - Request body (if necessary). Should be serialized json string.
- Http
Headers List<Pulumiverse.Fortios. System. Inputs. Automationaction Http Header> - Request headers. The structure of
http_headers
block is documented below. - Message string
- Message content.
- Message
Type string - Message type. Valid values:
text
,json
. - Method string
- 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 string
- Name.
- Output
Size 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
. - Replacement
Message string - Enable/disable replacement message. Valid values:
enable
,disable
. - Replacemsg
Group string - Replacement message group.
- Required string
- Required in action chain. Valid values:
enable
,disable
. - Script string
- CLI script.
- Sdn
Connectors List<Pulumiverse.Fortios. System. Inputs. Automationaction Sdn Connector> - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - Security
Tag string - NSX security tag.
- System
Action string - System action type. Valid values:
reboot
,shutdown
,backup-config
. - Timeout int
- Maximum running time for this script in seconds (0 = no timeout).
- Tls
Certificate 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.
- Verify
Host stringCert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- Accprofile string
- Access profile for CLI script action to access FortiGate features.
- Action
Type string - Action type.
- Alicloud
Access stringKey Id - AliCloud AccessKey ID.
- Alicloud
Access stringKey Secret - AliCloud AccessKey secret.
- Alicloud
Account stringId - AliCloud account ID.
- Alicloud
Function string - AliCloud function name.
- string
- AliCloud function authorization type. Valid values:
anonymous
,function
. - Alicloud
Function stringDomain - AliCloud function domain.
- Alicloud
Region string - AliCloud region.
- Alicloud
Service string - AliCloud service name.
- Alicloud
Version string - AliCloud version.
- Aws
Api stringId - AWS API Gateway ID.
- Aws
Api stringKey - AWS API Gateway API key.
- Aws
Api stringPath - AWS API Gateway path.
- Aws
Api stringStage - AWS API Gateway deployment stage name.
- Aws
Domain string - AWS domain.
- Aws
Region string - AWS region.
- Azure
Api stringKey - Azure function API key.
- Azure
App string - Azure function application name.
- Azure
Domain string - Azure function domain.
- Azure
Function string - Azure function name.
- string
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - Delay int
- Delay before execution (in seconds).
- Description string
- Description.
- Dynamic
Sort stringSubtable - 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 string - Email body.
- Email
From string - Email sender name.
- Email
Subject string - Email subject.
- Email
Tos []AutomationactionEmail To Args - Email addresses. The structure of
email_to
block is documented below. - Execute
Security stringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - Forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - Gcp
Function string - Google Cloud function name.
- Gcp
Function stringDomain - Google Cloud function domain.
- Gcp
Function stringRegion - Google Cloud function region.
- Gcp
Project string - Google Cloud Platform project name.
- Get
All stringTables - 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
[]Automationaction
Header Args - Request headers. The structure of
headers
block is documented below. - Http
Body string - Request body (if necessary). Should be serialized json string.
- Http
Headers []AutomationactionHttp Header Args - Request headers. The structure of
http_headers
block is documented below. - Message string
- Message content.
- Message
Type string - Message type. Valid values:
text
,json
. - Method string
- 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 string
- Name.
- Output
Size 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
. - Replacement
Message string - Enable/disable replacement message. Valid values:
enable
,disable
. - Replacemsg
Group string - Replacement message group.
- Required string
- Required in action chain. Valid values:
enable
,disable
. - Script string
- CLI script.
- Sdn
Connectors []AutomationactionSdn Connector Args - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - Security
Tag string - NSX security tag.
- System
Action string - System action type. Valid values:
reboot
,shutdown
,backup-config
. - Timeout int
- Maximum running time for this script in seconds (0 = no timeout).
- Tls
Certificate 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.
- Verify
Host stringCert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- accprofile String
- Access profile for CLI script action to access FortiGate features.
- action
Type String - Action type.
- alicloud
Access StringKey Id - AliCloud AccessKey ID.
- alicloud
Access StringKey Secret - AliCloud AccessKey secret.
- alicloud
Account StringId - AliCloud account ID.
- alicloud
Function String - AliCloud function name.
- String
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud
Function StringDomain - AliCloud function domain.
- alicloud
Region String - AliCloud region.
- alicloud
Service String - AliCloud service name.
- alicloud
Version String - AliCloud version.
- aws
Api StringId - AWS API Gateway ID.
- aws
Api StringKey - AWS API Gateway API key.
- aws
Api StringPath - AWS API Gateway path.
- aws
Api StringStage - AWS API Gateway deployment stage name.
- aws
Domain String - AWS domain.
- aws
Region String - AWS region.
- azure
Api StringKey - Azure function API key.
- azure
App String - Azure function application name.
- azure
Domain String - Azure function domain.
- azure
Function String - Azure function name.
- String
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay Integer
- Delay before execution (in seconds).
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Email body.
- email
From String - Email sender name.
- email
Subject String - Email subject.
- email
Tos List<AutomationactionEmail To> - Email addresses. The structure of
email_to
block is documented below. - execute
Security StringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - forticare
Email String - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - gcp
Function String - Google Cloud function name.
- gcp
Function StringDomain - Google Cloud function domain.
- gcp
Function StringRegion - Google Cloud function region.
- gcp
Project String - Google Cloud Platform project name.
- get
All StringTables - 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<Automationaction
Header> - Request headers. The structure of
headers
block is documented below. - http
Body String - Request body (if necessary). Should be serialized json string.
- http
Headers List<AutomationactionHttp Header> - Request headers. The structure of
http_headers
block is documented below. - message String
- Message content.
- message
Type String - Message type. Valid values:
text
,json
. - method String
- Request method (POST, PUT, GET, PATCH or DELETE). Valid values:
post
,put
,get
,patch
,delete
. - minimum
Interval Integer - Limit execution to no more than once in this interval (in seconds).
- name String
- Name.
- output
Size 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
. - replacement
Message String - Enable/disable replacement message. Valid values:
enable
,disable
. - replacemsg
Group String - Replacement message group.
- required String
- Required in action chain. Valid values:
enable
,disable
. - script String
- CLI script.
- sdn
Connectors List<AutomationactionSdn Connector> - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - security
Tag String - NSX security tag.
- system
Action String - System action type. Valid values:
reboot
,shutdown
,backup-config
. - timeout Integer
- Maximum running time for this script in seconds (0 = no timeout).
- tls
Certificate 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.
- verify
Host StringCert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- accprofile string
- Access profile for CLI script action to access FortiGate features.
- action
Type string - Action type.
- alicloud
Access stringKey Id - AliCloud AccessKey ID.
- alicloud
Access stringKey Secret - AliCloud AccessKey secret.
- alicloud
Account stringId - AliCloud account ID.
- alicloud
Function string - AliCloud function name.
- string
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud
Function stringDomain - AliCloud function domain.
- alicloud
Region string - AliCloud region.
- alicloud
Service string - AliCloud service name.
- alicloud
Version string - AliCloud version.
- aws
Api stringId - AWS API Gateway ID.
- aws
Api stringKey - AWS API Gateway API key.
- aws
Api stringPath - AWS API Gateway path.
- aws
Api stringStage - AWS API Gateway deployment stage name.
- aws
Domain string - AWS domain.
- aws
Region string - AWS region.
- azure
Api stringKey - Azure function API key.
- azure
App string - Azure function application name.
- azure
Domain string - Azure function domain.
- azure
Function string - Azure function name.
- string
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay number
- Delay before execution (in seconds).
- description string
- Description.
- dynamic
Sort stringSubtable - 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 string - Email body.
- email
From string - Email sender name.
- email
Subject string - Email subject.
- email
Tos AutomationactionEmail To[] - Email addresses. The structure of
email_to
block is documented below. - execute
Security stringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - gcp
Function string - Google Cloud function name.
- gcp
Function stringDomain - Google Cloud function domain.
- gcp
Function stringRegion - Google Cloud function region.
- gcp
Project string - Google Cloud Platform project name.
- get
All stringTables - 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
Automationaction
Header[] - Request headers. The structure of
headers
block is documented below. - http
Body string - Request body (if necessary). Should be serialized json string.
- http
Headers AutomationactionHttp Header[] - Request headers. The structure of
http_headers
block is documented below. - message string
- Message content.
- message
Type string - Message type. Valid values:
text
,json
. - method string
- Request method (POST, PUT, GET, PATCH or DELETE). Valid values:
post
,put
,get
,patch
,delete
. - minimum
Interval number - Limit execution to no more than once in this interval (in seconds).
- name string
- Name.
- output
Size 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
. - replacement
Message string - Enable/disable replacement message. Valid values:
enable
,disable
. - replacemsg
Group string - Replacement message group.
- required string
- Required in action chain. Valid values:
enable
,disable
. - script string
- CLI script.
- sdn
Connectors AutomationactionSdn Connector[] - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - security
Tag string - NSX security tag.
- system
Action string - System action type. Valid values:
reboot
,shutdown
,backup-config
. - timeout number
- Maximum running time for this script in seconds (0 = no timeout).
- tls
Certificate 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.
- verify
Host stringCert - 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_ strkey_ id - AliCloud AccessKey ID.
- alicloud_
access_ strkey_ secret - AliCloud AccessKey secret.
- alicloud_
account_ strid - AliCloud account ID.
- alicloud_
function str - AliCloud function name.
- str
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud_
function_ strdomain - AliCloud function domain.
- alicloud_
region str - AliCloud region.
- alicloud_
service str - AliCloud service name.
- alicloud_
version str - AliCloud version.
- aws_
api_ strid - AWS API Gateway ID.
- aws_
api_ strkey - AWS API Gateway API key.
- aws_
api_ strpath - AWS API Gateway path.
- aws_
api_ strstage - AWS API Gateway deployment stage name.
- aws_
domain str - AWS domain.
- aws_
region str - AWS region.
- azure_
api_ strkey - Azure function API key.
- azure_
app str - Azure function application name.
- azure_
domain str - Azure function domain.
- azure_
function str - Azure function name.
- str
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay int
- Delay before execution (in seconds).
- description str
- Description.
- dynamic_
sort_ strsubtable - 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[AutomationactionEmail To Args] - Email addresses. The structure of
email_to
block is documented below. - execute_
security_ strfabric - 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_ strdomain - Google Cloud function domain.
- gcp_
function_ strregion - Google Cloud function region.
- gcp_
project str - Google Cloud Platform project name.
- get_
all_ strtables - 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[Automationaction
Header Args] - 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[AutomationactionHttp Header Args] - 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[AutomationactionSdn Connector Args] - 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_ strcert - Enable/disable verification of the remote host certificate. Valid values:
enable
,disable
.
- accprofile String
- Access profile for CLI script action to access FortiGate features.
- action
Type String - Action type.
- alicloud
Access StringKey Id - AliCloud AccessKey ID.
- alicloud
Access StringKey Secret - AliCloud AccessKey secret.
- alicloud
Account StringId - AliCloud account ID.
- alicloud
Function String - AliCloud function name.
- String
- AliCloud function authorization type. Valid values:
anonymous
,function
. - alicloud
Function StringDomain - AliCloud function domain.
- alicloud
Region String - AliCloud region.
- alicloud
Service String - AliCloud service name.
- alicloud
Version String - AliCloud version.
- aws
Api StringId - AWS API Gateway ID.
- aws
Api StringKey - AWS API Gateway API key.
- aws
Api StringPath - AWS API Gateway path.
- aws
Api StringStage - AWS API Gateway deployment stage name.
- aws
Domain String - AWS domain.
- aws
Region String - AWS region.
- azure
Api StringKey - Azure function API key.
- azure
App String - Azure function application name.
- azure
Domain String - Azure function domain.
- azure
Function String - Azure function name.
- String
- Azure function authorization level. Valid values:
anonymous
,function
,admin
. - delay Number
- Delay before execution (in seconds).
- description String
- Description.
- dynamic
Sort StringSubtable - 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 String - Email body.
- email
From String - Email sender name.
- email
Subject String - Email subject.
- email
Tos List<Property Map> - Email addresses. The structure of
email_to
block is documented below. - execute
Security StringFabric - Enable/disable execution of CLI script on all or only one FortiGate unit in the Security Fabric. Valid values:
enable
,disable
. - forticare
Email String - Enable/disable use of your FortiCare email address as the email-to address. Valid values:
enable
,disable
. - gcp
Function String - Google Cloud function name.
- gcp
Function StringDomain - Google Cloud function domain.
- gcp
Function StringRegion - Google Cloud function region.
- gcp
Project String - Google Cloud Platform project name.
- get
All StringTables - 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. - http
Body String - Request body (if necessary). Should be serialized json string.
- http
Headers List<Property Map> - Request headers. The structure of
http_headers
block is documented below. - message String
- Message content.
- message
Type String - Message type. Valid values:
text
,json
. - method String
- Request method (POST, PUT, GET, PATCH or DELETE). Valid values:
post
,put
,get
,patch
,delete
. - minimum
Interval Number - Limit execution to no more than once in this interval (in seconds).
- name String
- Name.
- output
Size 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
. - replacement
Message String - Enable/disable replacement message. Valid values:
enable
,disable
. - replacemsg
Group String - Replacement message group.
- required String
- Required in action chain. Valid values:
enable
,disable
. - script String
- CLI script.
- sdn
Connectors List<Property Map> - NSX SDN connector names. The structure of
sdn_connector
block is documented below. - security
Tag String - NSX security tag.
- system
Action String - System action type. Valid values:
reboot
,shutdown
,backup-config
. - timeout Number
- Maximum running time for this script in seconds (0 = no timeout).
- tls
Certificate 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.
- verify
Host StringCert - 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
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.