@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.49 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a list of `fortios.system.Interface`.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumi/fortios";
*
* const sample1 = fortios.system.getInterfacelist({
* filter: "name!=port1",
* });
* export const output1 = data.fortios_system_interfacelist.sample2.namelist;
* ```
*/
export declare function getInterfacelist(args?: GetInterfacelistArgs, opts?: pulumi.InvokeOptions): Promise<GetInterfacelistResult>;
/**
* A collection of arguments for invoking getInterfacelist.
*/
export interface GetInterfacelistArgs {
/**
* 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 getInterfacelist.
*/
export interface GetInterfacelistResult {
readonly filter?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* A list of the `fortios.system.Interface`.
*/
readonly namelists: string[];
readonly vdomparam?: string;
}
/**
* Provides a list of `fortios.system.Interface`.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as fortios from "@pulumi/fortios";
*
* const sample1 = fortios.system.getInterfacelist({
* filter: "name!=port1",
* });
* export const output1 = data.fortios_system_interfacelist.sample2.namelist;
* ```
*/
export declare function getInterfacelistOutput(args?: GetInterfacelistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInterfacelistResult>;
/**
* A collection of arguments for invoking getInterfacelist.
*/
export interface GetInterfacelistOutputArgs {
/**
* 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>;
}