1. Packages
  2. Fortios
  3. API Docs
  4. system
  5. getAutoscript
Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

fortios.system.getAutoscript

Explore with Pulumi AI

Fortios v0.0.6 published on Tuesday, Jul 9, 2024 by pulumiverse

Use this data source to get information on an fortios system autoscript

Using getAutoscript

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 getAutoscript(args: GetAutoscriptArgs, opts?: InvokeOptions): Promise<GetAutoscriptResult>
function getAutoscriptOutput(args: GetAutoscriptOutputArgs, opts?: InvokeOptions): Output<GetAutoscriptResult>
Copy
def get_autoscript(name: Optional[str] = None,
                   vdomparam: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetAutoscriptResult
def get_autoscript_output(name: Optional[pulumi.Input[str]] = None,
                   vdomparam: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetAutoscriptResult]
Copy
func LookupAutoscript(ctx *Context, args *LookupAutoscriptArgs, opts ...InvokeOption) (*LookupAutoscriptResult, error)
func LookupAutoscriptOutput(ctx *Context, args *LookupAutoscriptOutputArgs, opts ...InvokeOption) LookupAutoscriptResultOutput
Copy

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

public static class GetAutoscript 
{
    public static Task<GetAutoscriptResult> InvokeAsync(GetAutoscriptArgs args, InvokeOptions? opts = null)
    public static Output<GetAutoscriptResult> Invoke(GetAutoscriptInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAutoscriptResult> getAutoscript(GetAutoscriptArgs args, InvokeOptions options)
public static Output<GetAutoscriptResult> getAutoscript(GetAutoscriptArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: fortios:system/getAutoscript:getAutoscript
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
Specify the name of the desired system autoscript.
Vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Specify the name of the desired system autoscript.
Vdomparam Changes to this property will trigger replacement. 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 This property is required. String
Specify the name of the desired system autoscript.
vdomparam Changes to this property will trigger replacement. 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 This property is required. string
Specify the name of the desired system autoscript.
vdomparam Changes to this property will trigger replacement. 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 This property is required. str
Specify the name of the desired system autoscript.
vdomparam Changes to this property will trigger replacement. 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 This property is required. String
Specify the name of the desired system autoscript.
vdomparam Changes to this property will trigger replacement. 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.

getAutoscript Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Interval int
Repeat interval in seconds.
Name string
Auto script name.
OutputSize int
Number of megabytes to limit script output to (10 - 1024, default = 10).
Repeat int
Number of times to repeat this script (0 = infinite).
Script string
List of FortiOS CLI commands to repeat.
Start string
Script starting mode.
Timeout int
Maximum running time for this script in seconds (0 = no timeout).
Vdomparam string
Id string
The provider-assigned unique ID for this managed resource.
Interval int
Repeat interval in seconds.
Name string
Auto script name.
OutputSize int
Number of megabytes to limit script output to (10 - 1024, default = 10).
Repeat int
Number of times to repeat this script (0 = infinite).
Script string
List of FortiOS CLI commands to repeat.
Start string
Script starting mode.
Timeout int
Maximum running time for this script in seconds (0 = no timeout).
Vdomparam string
id String
The provider-assigned unique ID for this managed resource.
interval Integer
Repeat interval in seconds.
name String
Auto script name.
outputSize Integer
Number of megabytes to limit script output to (10 - 1024, default = 10).
repeat Integer
Number of times to repeat this script (0 = infinite).
script String
List of FortiOS CLI commands to repeat.
start String
Script starting mode.
timeout Integer
Maximum running time for this script in seconds (0 = no timeout).
vdomparam String
id string
The provider-assigned unique ID for this managed resource.
interval number
Repeat interval in seconds.
name string
Auto script name.
outputSize number
Number of megabytes to limit script output to (10 - 1024, default = 10).
repeat number
Number of times to repeat this script (0 = infinite).
script string
List of FortiOS CLI commands to repeat.
start string
Script starting mode.
timeout number
Maximum running time for this script in seconds (0 = no timeout).
vdomparam string
id str
The provider-assigned unique ID for this managed resource.
interval int
Repeat interval in seconds.
name str
Auto script name.
output_size int
Number of megabytes to limit script output to (10 - 1024, default = 10).
repeat int
Number of times to repeat this script (0 = infinite).
script str
List of FortiOS CLI commands to repeat.
start str
Script starting mode.
timeout int
Maximum running time for this script in seconds (0 = no timeout).
vdomparam str
id String
The provider-assigned unique ID for this managed resource.
interval Number
Repeat interval in seconds.
name String
Auto script name.
outputSize Number
Number of megabytes to limit script output to (10 - 1024, default = 10).
repeat Number
Number of times to repeat this script (0 = infinite).
script String
List of FortiOS CLI commands to repeat.
start String
Script starting mode.
timeout Number
Maximum running time for this script in seconds (0 = no timeout).
vdomparam String

Package Details

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