UNPKG

@pulumi/f5bigip

Version:

A Pulumi package for creating and managing F5 BigIP resources.

91 lines (90 loc) 2.22 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source (`f5bigip.ltm.IRule`) to get the ltm irule details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const test = f5bigip.ltm.getIrule({ * name: "terraform_irule", * partition: "Common", * }); * export const bigipIrule = test.then(test => test.irule); * ``` */ export declare function getIrule(args: GetIruleArgs, opts?: pulumi.InvokeOptions): Promise<GetIruleResult>; /** * A collection of arguments for invoking getIrule. */ export interface GetIruleArgs { /** * Irule configured on bigip */ irule?: string; /** * Name of the irule */ name: string; /** * partition of the ltm irule */ partition: string; } /** * A collection of values returned by getIrule. */ export interface GetIruleResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Irule configured on bigip */ readonly irule?: string; /** * Name of irule configured on bigip with full path */ readonly name: string; /** * Bigip partition in which rule is configured */ readonly partition: string; } /** * Use this data source (`f5bigip.ltm.IRule`) to get the ltm irule details available on BIG-IP * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as f5bigip from "@pulumi/f5bigip"; * * const test = f5bigip.ltm.getIrule({ * name: "terraform_irule", * partition: "Common", * }); * export const bigipIrule = test.then(test => test.irule); * ``` */ export declare function getIruleOutput(args: GetIruleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIruleResult>; /** * A collection of arguments for invoking getIrule. */ export interface GetIruleOutputArgs { /** * Irule configured on bigip */ irule?: pulumi.Input<string>; /** * Name of the irule */ name: pulumi.Input<string>; /** * partition of the ltm irule */ partition: pulumi.Input<string>; }