@pulumi/f5bigip
Version:
A Pulumi package for creating and managing F5 BigIP resources.
72 lines (71 loc) • 1.85 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source (`f5bigip.WafPolicy`) to get the details of exist WAF policy BIG-IP.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as f5bigip from "@pulumi/f5bigip";
*
* const existpolicy = f5bigip.ssl.getWafPolicy({
* policyId: "xxxxx",
* });
* ```
*/
export declare function getWafPolicy(args: GetWafPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetWafPolicyResult>;
/**
* A collection of arguments for invoking getWafPolicy.
*/
export interface GetWafPolicyArgs {
/**
* ID of the WAF policy deployed in the BIG-IP.
*/
policyId: string;
/**
* Exported WAF policy JSON
*/
policyJson?: string;
}
/**
* A collection of values returned by getWafPolicy.
*/
export interface GetWafPolicyResult {
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly policyId: string;
/**
* Exported WAF policy JSON
*/
readonly policyJson: string;
}
/**
* Use this data source (`f5bigip.WafPolicy`) to get the details of exist WAF policy BIG-IP.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as f5bigip from "@pulumi/f5bigip";
*
* const existpolicy = f5bigip.ssl.getWafPolicy({
* policyId: "xxxxx",
* });
* ```
*/
export declare function getWafPolicyOutput(args: GetWafPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWafPolicyResult>;
/**
* A collection of arguments for invoking getWafPolicy.
*/
export interface GetWafPolicyOutputArgs {
/**
* ID of the WAF policy deployed in the BIG-IP.
*/
policyId: pulumi.Input<string>;
/**
* Exported WAF policy JSON
*/
policyJson?: pulumi.Input<string>;
}