Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse
fortios.system.getAutomationaction
Explore with Pulumi AI
Use this data source to get information on an fortios system automationaction
Using getAutomationaction
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getAutomationaction(args: GetAutomationactionArgs, opts?: InvokeOptions): Promise<GetAutomationactionResult>
function getAutomationactionOutput(args: GetAutomationactionOutputArgs, opts?: InvokeOptions): Output<GetAutomationactionResult>
def get_automationaction(name: Optional[str] = None,
vdomparam: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAutomationactionResult
def get_automationaction_output(name: Optional[pulumi.Input[str]] = None,
vdomparam: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAutomationactionResult]
func LookupAutomationaction(ctx *Context, args *LookupAutomationactionArgs, opts ...InvokeOption) (*LookupAutomationactionResult, error)
func LookupAutomationactionOutput(ctx *Context, args *LookupAutomationactionOutputArgs, opts ...InvokeOption) LookupAutomationactionResultOutput
> Note: This function is named LookupAutomationaction
in the Go SDK.
public static class GetAutomationaction
{
public static Task<GetAutomationactionResult> InvokeAsync(GetAutomationactionArgs args, InvokeOptions? opts = null)
public static Output<GetAutomationactionResult> Invoke(GetAutomationactionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAutomationactionResult> getAutomationaction(GetAutomationactionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getAutomationaction:getAutomationaction
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired system automationaction.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- Name string
- Specify the name of the desired system automationaction.
- Vdomparam string
- Specifies the vdom to which the data source 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.
- name String
- Specify the name of the desired system automationaction.
- vdomparam String
- Specifies the vdom to which the data source 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.
- name string
- Specify the name of the desired system automationaction.
- vdomparam string
- Specifies the vdom to which the data source 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.
- name str
- Specify the name of the desired system automationaction.
- vdomparam str
- Specifies the vdom to which the data source 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.
- name String
- Specify the name of the desired system automationaction.
- vdomparam String
- Specifies the vdom to which the data source 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.
getAutomationaction Result
The following output properties are available:
- 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.
- 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.
- Delay int
- Delay before execution (in seconds).
- Description string
- Description.
- Email
Body string - Email body.
- Email
From string - Email sender name.
- Email
Subject string - Email subject.
- Email
Tos List<Pulumiverse.Fortios. System. Outputs. Get 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.
- Forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address.
- 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.
- Headers
List<Pulumiverse.
Fortios. System. Outputs. Get 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. Outputs. Get Automationaction Http Header> - Request headers. The structure of
http_headers
block is documented below. - Id string
- The provider-assigned unique ID for this managed resource.
- Message string
- Message content.
- Message
Type string - Message type.
- Method string
- Request method (POST, PUT, GET, PATCH or DELETE).
- Minimum
Interval int - Limit execution to no more than once in this interval (in seconds).
- Name string
- SDN connector name.
- Output
Size int - Number of megabytes to limit script output to (1 - 1024, default = 10).
- Port int
- Protocol port.
- Protocol string
- Request protocol.
- Replacement
Message string - Enable/disable replacement message.
- Replacemsg
Group string - Replacement message group.
- Required string
- Required in action chain.
- Script string
- CLI script.
- Sdn
Connectors List<Pulumiverse.Fortios. System. Outputs. Get 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.
- 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.
- Verify
Host stringCert - Enable/disable verification of the remote host certificate.
- Vdomparam string
- 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.
- 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.
- Delay int
- Delay before execution (in seconds).
- Description string
- Description.
- Email
Body string - Email body.
- Email
From string - Email sender name.
- Email
Subject string - Email subject.
- Email
Tos []GetAutomationaction 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.
- Forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address.
- 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.
- Headers
[]Get
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 []GetAutomationaction Http Header - Request headers. The structure of
http_headers
block is documented below. - Id string
- The provider-assigned unique ID for this managed resource.
- Message string
- Message content.
- Message
Type string - Message type.
- Method string
- Request method (POST, PUT, GET, PATCH or DELETE).
- Minimum
Interval int - Limit execution to no more than once in this interval (in seconds).
- Name string
- SDN connector name.
- Output
Size int - Number of megabytes to limit script output to (1 - 1024, default = 10).
- Port int
- Protocol port.
- Protocol string
- Request protocol.
- Replacement
Message string - Enable/disable replacement message.
- Replacemsg
Group string - Replacement message group.
- Required string
- Required in action chain.
- Script string
- CLI script.
- Sdn
Connectors []GetAutomationaction 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.
- 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.
- Verify
Host stringCert - Enable/disable verification of the remote host certificate.
- Vdomparam string
- 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.
- 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.
- delay Integer
- Delay before execution (in seconds).
- description String
- Description.
- email
Body String - Email body.
- email
From String - Email sender name.
- email
Subject String - Email subject.
- email
Tos List<GetAutomationaction 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.
- forticare
Email String - Enable/disable use of your FortiCare email address as the email-to address.
- 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.
- headers
List<Get
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<GetAutomationaction Http Header> - Request headers. The structure of
http_headers
block is documented below. - id String
- The provider-assigned unique ID for this managed resource.
- message String
- Message content.
- message
Type String - Message type.
- method String
- Request method (POST, PUT, GET, PATCH or DELETE).
- minimum
Interval Integer - Limit execution to no more than once in this interval (in seconds).
- name String
- SDN connector name.
- output
Size Integer - Number of megabytes to limit script output to (1 - 1024, default = 10).
- port Integer
- Protocol port.
- protocol String
- Request protocol.
- replacement
Message String - Enable/disable replacement message.
- replacemsg
Group String - Replacement message group.
- required String
- Required in action chain.
- script String
- CLI script.
- sdn
Connectors List<GetAutomationaction 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.
- 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.
- verify
Host StringCert - Enable/disable verification of the remote host certificate.
- vdomparam String
- 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.
- 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.
- delay number
- Delay before execution (in seconds).
- description string
- Description.
- email
Body string - Email body.
- email
From string - Email sender name.
- email
Subject string - Email subject.
- email
Tos GetAutomationaction 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.
- forticare
Email string - Enable/disable use of your FortiCare email address as the email-to address.
- 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.
- headers
Get
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 GetAutomationaction Http Header[] - Request headers. The structure of
http_headers
block is documented below. - id string
- The provider-assigned unique ID for this managed resource.
- message string
- Message content.
- message
Type string - Message type.
- method string
- Request method (POST, PUT, GET, PATCH or DELETE).
- minimum
Interval number - Limit execution to no more than once in this interval (in seconds).
- name string
- SDN connector name.
- output
Size number - Number of megabytes to limit script output to (1 - 1024, default = 10).
- port number
- Protocol port.
- protocol string
- Request protocol.
- replacement
Message string - Enable/disable replacement message.
- replacemsg
Group string - Replacement message group.
- required string
- Required in action chain.
- script string
- CLI script.
- sdn
Connectors GetAutomationaction 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.
- 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.
- verify
Host stringCert - Enable/disable verification of the remote host certificate.
- vdomparam string
- 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.
- 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.
- delay int
- Delay before execution (in seconds).
- description str
- Description.
- email_
body str - Email body.
- email_
from str - Email sender name.
- email_
subject str - Email subject.
- email_
tos Sequence[GetAutomationaction Email To] - 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.
- forticare_
email str - Enable/disable use of your FortiCare email address as the email-to address.
- 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.
- headers
Sequence[Get
Automationaction Header] - 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[GetAutomationaction Http Header] - Request headers. The structure of
http_headers
block is documented below. - id str
- The provider-assigned unique ID for this managed resource.
- message str
- Message content.
- message_
type str - Message type.
- method str
- Request method (POST, PUT, GET, PATCH or DELETE).
- minimum_
interval int - Limit execution to no more than once in this interval (in seconds).
- name str
- SDN connector name.
- output_
size int - Number of megabytes to limit script output to (1 - 1024, default = 10).
- port int
- Protocol port.
- protocol str
- Request protocol.
- replacement_
message str - Enable/disable replacement message.
- replacemsg_
group str - Replacement message group.
- required str
- Required in action chain.
- script str
- CLI script.
- sdn_
connectors Sequence[GetAutomationaction Sdn Connector] - 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.
- 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.
- verify_
host_ strcert - Enable/disable verification of the remote host certificate.
- vdomparam str
- 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.
- 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.
- delay Number
- Delay before execution (in seconds).
- description String
- Description.
- 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.
- forticare
Email String - Enable/disable use of your FortiCare email address as the email-to address.
- 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.
- 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. - id String
- The provider-assigned unique ID for this managed resource.
- message String
- Message content.
- message
Type String - Message type.
- method String
- Request method (POST, PUT, GET, PATCH or DELETE).
- minimum
Interval Number - Limit execution to no more than once in this interval (in seconds).
- name String
- SDN connector name.
- output
Size Number - Number of megabytes to limit script output to (1 - 1024, default = 10).
- port Number
- Protocol port.
- protocol String
- Request protocol.
- replacement
Message String - Enable/disable replacement message.
- replacemsg
Group String - Replacement message group.
- required String
- Required in action chain.
- 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.
- 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.
- verify
Host StringCert - Enable/disable verification of the remote host certificate.
- vdomparam String
Supporting Types
GetAutomationactionEmailTo
- Name string
- Specify the name of the desired system automationaction.
- Name string
- Specify the name of the desired system automationaction.
- name String
- Specify the name of the desired system automationaction.
- name string
- Specify the name of the desired system automationaction.
- name str
- Specify the name of the desired system automationaction.
- name String
- Specify the name of the desired system automationaction.
GetAutomationactionHeader
- Header string
- Request header.
- Header string
- Request header.
- header String
- Request header.
- header string
- Request header.
- header str
- Request header.
- header String
- Request header.
GetAutomationactionHttpHeader
GetAutomationactionSdnConnector
- Name string
- Specify the name of the desired system automationaction.
- Name string
- Specify the name of the desired system automationaction.
- name String
- Specify the name of the desired system automationaction.
- name string
- Specify the name of the desired system automationaction.
- name str
- Specify the name of the desired system automationaction.
- name String
- Specify the name of the desired system automationaction.
Package Details
- Repository
- fortios pulumiverse/pulumi-fortios
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
fortios
Terraform Provider.