UNPKG

@huaweicloudos/pulumi

Version:

A Pulumi package for creating and managing Huaweicloud cloud resources.

64 lines (63 loc) 1.9 kB
import * as pulumi from "@pulumi/pulumi"; import { output as outputs } from "../types"; /** * Use this data source to get the list of CFW IPS rule details. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as huaweicloud from "@pulumi/huaweicloud"; * * const config = new pulumi.Config(); * const fwInstanceId = config.requireObject("fwInstanceId"); * const test = huaweicloud.Cfw.getIpsRuleDetails({ * fwInstanceId: fwInstanceId, * }); * ``` */ export declare function getIpsRuleDetails(args: GetIpsRuleDetailsArgs, opts?: pulumi.InvokeOptions): Promise<GetIpsRuleDetailsResult>; /** * A collection of arguments for invoking getIpsRuleDetails. */ export interface GetIpsRuleDetailsArgs { /** * Specifies the firewall ID. */ fwInstanceId: string; /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: string; } /** * A collection of values returned by getIpsRuleDetails. */ export interface GetIpsRuleDetailsResult { /** * The IPS information. */ readonly datas: outputs.Cfw.GetIpsRuleDetailsData[]; readonly fwInstanceId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly region: string; } export declare function getIpsRuleDetailsOutput(args: GetIpsRuleDetailsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetIpsRuleDetailsResult>; /** * A collection of arguments for invoking getIpsRuleDetails. */ export interface GetIpsRuleDetailsOutputArgs { /** * Specifies the firewall ID. */ fwInstanceId: pulumi.Input<string>; /** * Specifies the region in which to query the resource. * If omitted, the provider-level region will be used. */ region?: pulumi.Input<string>; }