import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Network Security Group Security Rules in Oracle Cloud Infrastructure Core service. * * Lists the security rules in the specified network security group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkSecurityGroupSecurityRules = oci.core.getNetworkSecurityGroupSecurityRules({ * networkSecurityGroupId: testNetworkSecurityGroup.id, * direction: networkSecurityGroupSecurityRuleDirection, * }); * ``` */ export declare function getNetworkSecurityGroupSecurityRules(args: GetNetworkSecurityGroupSecurityRulesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getNetworkSecurityGroupSecurityRules. */ export interface GetNetworkSecurityGroupSecurityRulesArgs { /** * Direction of the security rule. Set to `EGRESS` for rules that allow outbound IP packets, or `INGRESS` for rules that allow inbound IP packets. */ direction?: string; filters?: inputs.Core.GetNetworkSecurityGroupSecurityRulesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. */ networkSecurityGroupId: string; } /** * A collection of values returned by getNetworkSecurityGroupSecurityRules. */ export interface GetNetworkSecurityGroupSecurityRulesResult { /** * Direction of the security rule. Set to `EGRESS` for rules to allow outbound IP packets, or `INGRESS` for rules to allow inbound IP packets. */ readonly direction?: string; readonly filters?: outputs.Core.GetNetworkSecurityGroupSecurityRulesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly networkSecurityGroupId: string; /** * The list of security_rules. */ readonly securityRules: outputs.Core.GetNetworkSecurityGroupSecurityRulesSecurityRule[]; } /** * This data source provides the list of Network Security Group Security Rules in Oracle Cloud Infrastructure Core service. * * Lists the security rules in the specified network security group. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testNetworkSecurityGroupSecurityRules = oci.core.getNetworkSecurityGroupSecurityRules({ * networkSecurityGroupId: testNetworkSecurityGroup.id, * direction: networkSecurityGroupSecurityRuleDirection, * }); * ``` */ export declare function getNetworkSecurityGroupSecurityRulesOutput(args: GetNetworkSecurityGroupSecurityRulesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getNetworkSecurityGroupSecurityRules. */ export interface GetNetworkSecurityGroupSecurityRulesOutputArgs { /** * Direction of the security rule. Set to `EGRESS` for rules that allow outbound IP packets, or `INGRESS` for rules that allow inbound IP packets. */ direction?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security group. */ networkSecurityGroupId: pulumi.Input; } //# sourceMappingURL=getNetworkSecurityGroupSecurityRules.d.ts.map