import * as pulumi from "@pulumi/pulumi";
import { output as outputs } from "../types";
/**
 * Use this data source to get the ID of an available HuaweiCloud security group.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as huaweicloud from "@pulumi/huaweicloud";
 *
 * const secgroup = pulumi.output(huaweicloud.Vpc.getSecgroup({
 *     name: "tf_test_secgroup",
 * }));
 * ```
 */
export declare function getSecgroup(args?: GetSecgroupArgs, opts?: pulumi.InvokeOptions): Promise<GetSecgroupResult>;
/**
 * A collection of arguments for invoking getSecgroup.
 */
export interface GetSecgroupArgs {
    /**
     * Specifies the enterprise project ID of the security group.
     */
    enterpriseProjectId?: string;
    /**
     * Specifies the name of the security group.
     */
    name?: string;
    /**
     * Specifies the region in which to obtain the security group. If omitted, the
     * provider-level region will be used.
     */
    region?: string;
    /**
     * Specifies the ID of the security group.
     */
    secgroupId?: string;
}
/**
 * A collection of values returned by getSecgroup.
 */
export interface GetSecgroupResult {
    /**
     * The creation time, in UTC format.
     */
    readonly createdAt: string;
    /**
     * The supplementary information about the security group rule.
     */
    readonly description: string;
    readonly enterpriseProjectId?: string;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly name: string;
    readonly region: string;
    /**
     * The array of security group rules associating with the security group.
     * The rule object is documented below.
     */
    readonly rules: outputs.Vpc.GetSecgroupRule[];
    readonly secgroupId?: string;
    /**
     * The last update time, in UTC format.
     */
    readonly updatedAt: string;
}
export declare function getSecgroupOutput(args?: GetSecgroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSecgroupResult>;
/**
 * A collection of arguments for invoking getSecgroup.
 */
export interface GetSecgroupOutputArgs {
    /**
     * Specifies the enterprise project ID of the security group.
     */
    enterpriseProjectId?: pulumi.Input<string>;
    /**
     * Specifies the name of the security group.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the region in which to obtain the security group. If omitted, the
     * provider-level region will be used.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the ID of the security group.
     */
    secgroupId?: pulumi.Input<string>;
}
