@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
74 lines (73 loc) • 2.38 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to get information on an fortios system autoscript
*/
export declare function getAutoscript(args: GetAutoscriptArgs, opts?: pulumi.InvokeOptions): Promise<GetAutoscriptResult>;
/**
* A collection of arguments for invoking getAutoscript.
*/
export interface GetAutoscriptArgs {
/**
* Specify the name of the desired system autoscript.
*/
name: 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.
*/
vdomparam?: string;
}
/**
* A collection of values returned by getAutoscript.
*/
export interface GetAutoscriptResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Repeat interval in seconds.
*/
readonly interval: number;
/**
* Auto script name.
*/
readonly name: string;
/**
* Number of megabytes to limit script output to (10 - 1024, default = 10).
*/
readonly outputSize: number;
/**
* Number of times to repeat this script (0 = infinite).
*/
readonly repeat: number;
/**
* List of FortiOS CLI commands to repeat.
*/
readonly script: string;
/**
* Script starting mode.
*/
readonly start: string;
/**
* Maximum running time for this script in seconds (0 = no timeout).
*/
readonly timeout: number;
readonly vdomparam?: string;
}
/**
* Use this data source to get information on an fortios system autoscript
*/
export declare function getAutoscriptOutput(args: GetAutoscriptOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAutoscriptResult>;
/**
* A collection of arguments for invoking getAutoscript.
*/
export interface GetAutoscriptOutputArgs {
/**
* Specify the name of the desired system autoscript.
*/
name: pulumi.Input<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.
*/
vdomparam?: pulumi.Input<string>;
}