UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

185 lines (184 loc) 5.95 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to query detailed information of cfw vpc firewall acl rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.cloud_firewall.getCfwVpcFirewallAclRules({ * actions: [ * "accept", * "deny", * ], * vpcFirewallId: "vfw-ydmjakzksgf7u99j6sby", * }); * ``` */ /** @deprecated volcengine.cloud_firewall.CfwVpcFirewallAclRules has been deprecated in favor of volcengine.cloud_firewall.getCfwVpcFirewallAclRules */ export declare function cfwVpcFirewallAclRules(args: CfwVpcFirewallAclRulesArgs, opts?: pulumi.InvokeOptions): Promise<CfwVpcFirewallAclRulesResult>; /** * A collection of arguments for invoking CfwVpcFirewallAclRules. */ export interface CfwVpcFirewallAclRulesArgs { /** * The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`. */ actions?: string[]; /** * The description of the vpc firewall acl rule. This field support fuzzy query. */ description?: string; /** * The destination of the vpc firewall acl rule. This field support fuzzy query. */ destination?: string; /** * File name where to save data source results. */ outputFile?: string; /** * The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`. */ protos?: string[]; /** * The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`. */ repeatTypes?: string[]; /** * The rule id of the vpc firewall acl rule. This field support fuzzy query. */ ruleId?: string; /** * The source of the vpc firewall acl rule. This field support fuzzy query. */ source?: string; /** * The enable status list of the vpc firewall acl rule. */ statuses?: boolean[]; /** * The vpc firewall id of the vpc firewall acl rule. */ vpcFirewallId: string; } /** * A collection of values returned by CfwVpcFirewallAclRules. */ export interface CfwVpcFirewallAclRulesResult { /** * The action of the vpc firewall acl rule. */ readonly actions?: string[]; /** * The description of the vpc firewall acl rule. */ readonly description?: string; /** * The destination of the vpc firewall acl rule. */ readonly destination?: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly outputFile?: string; /** * The proto of the vpc firewall acl rule. */ readonly protos?: string[]; /** * The repeat type of the vpc firewall acl rule. */ readonly repeatTypes?: string[]; /** * The id of the vpc firewall acl rule. */ readonly ruleId?: string; /** * The source of the vpc firewall acl rule. */ readonly source?: string; /** * Whether to enable the vpc firewall acl rule. */ readonly statuses?: boolean[]; /** * The total count of query. */ readonly totalCount: number; /** * The collection of query. */ readonly vpcFirewallAclRules: outputs.cloud_firewall.CfwVpcFirewallAclRulesVpcFirewallAclRule[]; /** * The id of the vpc firewall. */ readonly vpcFirewallId: string; } /** * Use this data source to query detailed information of cfw vpc firewall acl rules * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const foo = volcengine.cloud_firewall.getCfwVpcFirewallAclRules({ * actions: [ * "accept", * "deny", * ], * vpcFirewallId: "vfw-ydmjakzksgf7u99j6sby", * }); * ``` */ /** @deprecated volcengine.cloud_firewall.CfwVpcFirewallAclRules has been deprecated in favor of volcengine.cloud_firewall.getCfwVpcFirewallAclRules */ export declare function cfwVpcFirewallAclRulesOutput(args: CfwVpcFirewallAclRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<CfwVpcFirewallAclRulesResult>; /** * A collection of arguments for invoking CfwVpcFirewallAclRules. */ export interface CfwVpcFirewallAclRulesOutputArgs { /** * The action list of the vpc firewall acl rule. Valid values: `accept`, `deny`, `monitor`. */ actions?: pulumi.Input<pulumi.Input<string>[]>; /** * The description of the vpc firewall acl rule. This field support fuzzy query. */ description?: pulumi.Input<string>; /** * The destination of the vpc firewall acl rule. This field support fuzzy query. */ destination?: pulumi.Input<string>; /** * File name where to save data source results. */ outputFile?: pulumi.Input<string>; /** * The proto list of the vpc firewall acl rule. Valid values: `TCP`, `ICMP`, `UDP`, `ANY`. When the destinationType is `domain`, The proto must be `TCP`. */ protos?: pulumi.Input<pulumi.Input<string>[]>; /** * The repeat type of the vpc firewall acl rule. Valid values: `Permanent`, `Once`, `Daily`, `Weekly`, `Monthly`. */ repeatTypes?: pulumi.Input<pulumi.Input<string>[]>; /** * The rule id of the vpc firewall acl rule. This field support fuzzy query. */ ruleId?: pulumi.Input<string>; /** * The source of the vpc firewall acl rule. This field support fuzzy query. */ source?: pulumi.Input<string>; /** * The enable status list of the vpc firewall acl rule. */ statuses?: pulumi.Input<pulumi.Input<boolean>[]>; /** * The vpc firewall id of the vpc firewall acl rule. */ vpcFirewallId: pulumi.Input<string>; }