Fortios v0.0.5 published on Tuesday, Apr 9, 2024 by pulumiverse
fortios.system.getAutoscript
Explore with Pulumi AI
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>
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]
func LookupAutoscript(ctx *Context, args *LookupAutoscriptArgs, opts ...InvokeOption) (*LookupAutoscriptResult, error)
func LookupAutoscriptOutput(ctx *Context, args *LookupAutoscriptOutputArgs, opts ...InvokeOption) LookupAutoscriptResultOutput
> 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)
}
public static CompletableFuture<GetAutoscriptResult> getAutoscript(GetAutoscriptArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: fortios:system/getAutoscript:getAutoscript
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Specify the name of the desired system autoscript.
- 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 autoscript.
- 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 autoscript.
- 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 autoscript.
- 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 autoscript.
- 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 autoscript.
- 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.
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.
- 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 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.
- 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 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.
- output
Size 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.
- output
Size 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.
- output
Size 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.