@pulumiverse/fortios
Version:
A Pulumi package for creating and managing Fortios resources. Based on terraform-provider-fortios: version v1.16.0
59 lines (58 loc) • 1.99 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 routemap
*/
export declare function getRoutemap(args: GetRoutemapArgs, opts?: pulumi.InvokeOptions): Promise<GetRoutemapResult>;
/**
* A collection of arguments for invoking getRoutemap.
*/
export interface GetRoutemapArgs {
/**
* Specify the name of the desired router routemap.
*/
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 getRoutemap.
*/
export interface GetRoutemapResult {
/**
* Optional comments.
*/
readonly comments: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Name.
*/
readonly name: string;
/**
* Rule. The structure of `rule` block is documented below.
*/
readonly rules: outputs.router.GetRoutemapRule[];
readonly vdomparam?: string;
}
/**
* Use this data source to get information on an fortios router routemap
*/
export declare function getRoutemapOutput(args: GetRoutemapOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRoutemapResult>;
/**
* A collection of arguments for invoking getRoutemap.
*/
export interface GetRoutemapOutputArgs {
/**
* Specify the name of the desired router routemap.
*/
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>;
}