import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * Use this data source to query detailed information of security group rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vpc.getSecurityGroupRules({
 *     securityGroupId: "sg-13f2nau7x93wg3n6nu3z5sxib",
 * });
 * ```
 */
/** @deprecated volcengine.vpc.SecurityGroupRules has been deprecated in favor of volcengine.vpc.getSecurityGroupRules */
export declare function securityGroupRules(args: SecurityGroupRulesArgs, opts?: pulumi.InvokeOptions): Promise<SecurityGroupRulesResult>;
/**
 * A collection of arguments for invoking SecurityGroupRules.
 */
export interface SecurityGroupRulesArgs {
    /**
     * Cidr ip of egress/ingress Rule.
     */
    cidrIp?: string;
    /**
     * Direction of rule, ingress (inbound) or egress (outbound).
     */
    direction?: string;
    /**
     * File name where to save data source results.
     */
    outputFile?: string;
    /**
     * Protocol of the SecurityGroup, the value can be `tcp` or `udp` or `icmp` or `all`.
     */
    protocol?: string;
    /**
     * SecurityGroup ID.
     */
    securityGroupId: string;
    /**
     * ID of the source security group whose access permission you want to set.
     */
    sourceGroupId?: string;
}
/**
 * A collection of values returned by SecurityGroupRules.
 */
export interface SecurityGroupRulesResult {
    /**
     * Cidr ip of egress/ingress Rule.
     */
    readonly cidrIp?: string;
    /**
     * Direction of rule, ingress (inbound) or egress (outbound).
     */
    readonly direction?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly outputFile?: string;
    /**
     * Protocol of the SecurityGroup, the value can be `tcp` or `udp` or `icmp` or `all`.
     */
    readonly protocol?: string;
    /**
     * Id of SecurityGroup.
     */
    readonly securityGroupId: string;
    /**
     * The collection of SecurityGroup query.
     */
    readonly securityGroupRules: outputs.vpc.SecurityGroupRulesSecurityGroupRule[];
    /**
     * ID of the source security group whose access permission you want to set.
     */
    readonly sourceGroupId?: string;
}
/**
 * Use this data source to query detailed information of security group rules
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const default = volcengine.vpc.getSecurityGroupRules({
 *     securityGroupId: "sg-13f2nau7x93wg3n6nu3z5sxib",
 * });
 * ```
 */
/** @deprecated volcengine.vpc.SecurityGroupRules has been deprecated in favor of volcengine.vpc.getSecurityGroupRules */
export declare function securityGroupRulesOutput(args: SecurityGroupRulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<SecurityGroupRulesResult>;
/**
 * A collection of arguments for invoking SecurityGroupRules.
 */
export interface SecurityGroupRulesOutputArgs {
    /**
     * Cidr ip of egress/ingress Rule.
     */
    cidrIp?: pulumi.Input<string>;
    /**
     * Direction of rule, ingress (inbound) or egress (outbound).
     */
    direction?: pulumi.Input<string>;
    /**
     * File name where to save data source results.
     */
    outputFile?: pulumi.Input<string>;
    /**
     * Protocol of the SecurityGroup, the value can be `tcp` or `udp` or `icmp` or `all`.
     */
    protocol?: pulumi.Input<string>;
    /**
     * SecurityGroup ID.
     */
    securityGroupId: pulumi.Input<string>;
    /**
     * ID of the source security group whose access permission you want to set.
     */
    sourceGroupId?: pulumi.Input<string>;
}
