@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
75 lines (74 loc) • 2.43 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a list of `fortios.router.Static`.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumi/fortios";
*
* const sample1 = fortios.router.getStaticlist({
* filter: "seq_num>1",
* });
* export const output1 = sample1.then(sample1 => sample1.seqNumlists);
* ```
*/
export declare function getStaticlist(args?: GetStaticlistArgs, opts?: pulumi.InvokeOptions): Promise<GetStaticlistResult>;
/**
* A collection of arguments for invoking getStaticlist.
*/
export interface GetStaticlistArgs {
/**
* 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 getStaticlist.
*/
export interface GetStaticlistResult {
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A list of the `fortios.router.Static`.
*/
readonly seqNumlists: number[];
readonly vdomparam?: string;
}
/**
* Provides a list of `fortios.router.Static`.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumi/fortios";
*
* const sample1 = fortios.router.getStaticlist({
* filter: "seq_num>1",
* });
* export const output1 = sample1.then(sample1 => sample1.seqNumlists);
* ```
*/
export declare function getStaticlistOutput(args?: GetStaticlistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStaticlistResult>;
/**
* A collection of arguments for invoking getStaticlist.
*/
export interface GetStaticlistOutputArgs {
/**
* 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>;
}