@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
51 lines (50 loc) • 1.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a list of `fortios.router.Policy`.
*/
export declare function getPolicylist(args?: GetPolicylistArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicylistResult>;
/**
* A collection of arguments for invoking getPolicylist.
*/
export interface GetPolicylistArgs {
/**
* A filter used to scope the list. See Filter results of datasource.
*/
filter?: 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 getPolicylist.
*/
export interface GetPolicylistResult {
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A list of the `fortios.router.Policy`.
*/
readonly seqNumlists: number[];
readonly vdomparam?: string;
}
/**
* Provides a list of `fortios.router.Policy`.
*/
export declare function getPolicylistOutput(args?: GetPolicylistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPolicylistResult>;
/**
* A collection of arguments for invoking getPolicylist.
*/
export interface GetPolicylistOutputArgs {
/**
* A filter used to scope the list. See Filter results of datasource.
*/
filter?: 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>;
}