@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
55 lines (54 loc) • 1.97 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Use this data source to get information on an fortios router aspathlist
*/
export declare function getAspathlist(args: GetAspathlistArgs, opts?: pulumi.InvokeOptions): Promise<GetAspathlistResult>;
/**
* A collection of arguments for invoking getAspathlist.
*/
export interface GetAspathlistArgs {
/**
* Specify the name of the desired router aspathlist.
*/
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 getAspathlist.
*/
export interface GetAspathlistResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* AS path list name.
*/
readonly name: string;
/**
* AS path list rule. The structure of `rule` block is documented below.
*/
readonly rules: outputs.router.GetAspathlistRule[];
readonly vdomparam?: string;
}
/**
* Use this data source to get information on an fortios router aspathlist
*/
export declare function getAspathlistOutput(args: GetAspathlistOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAspathlistResult>;
/**
* A collection of arguments for invoking getAspathlist.
*/
export interface GetAspathlistOutputArgs {
/**
* Specify the name of the desired router aspathlist.
*/
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>;
}