import * as pulumi from "@pulumi/pulumi";
import { input as inputs, output as outputs } from "../types";
/**
 * Manages a CFW domain name group resource within HuaweiCloud.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as pulumi from "@huaweicloudos/pulumi";
 *
 * const config = new pulumi.Config();
 * const fwInstanceId = config.requireObject("fwInstanceId");
 * const objectId = config.requireObject("objectId");
 * const name = config.requireObject("name");
 * const test = new huaweicloud.cfw.DomainNameGroup("test", {
 *     fwInstanceId: fwInstanceId,
 *     objectId: objectId,
 *     type: 0,
 *     description: "created by terraform",
 *     domainNames: [{
 *         domainName: "www.cfw-test.com",
 *         description: "test domain",
 *     }],
 * });
 * ```
 *
 * ## Import
 *
 * The domainnamegroup can be imported using the `fw_instance_id`, `object_id` and `id`, separated by slashes, e.g. bash
 *
 * ```sh
 *  $ pulumi import huaweicloud:Cfw/domainNameGroup:DomainNameGroup test <fw_instance_id>/<object_id>/<id>
 * ```
 */
export declare class DomainNameGroup extends pulumi.CustomResource {
    /**
     * Get an existing DomainNameGroup resource's state with the given name, ID, and optional extra
     * properties used to qualify the lookup.
     *
     * @param name The _unique_ name of the resulting resource.
     * @param id The _unique_ provider ID of the resource to lookup.
     * @param state Any extra arguments used during the lookup.
     * @param opts Optional settings to control the behavior of the CustomResource.
     */
    static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainNameGroupState, opts?: pulumi.CustomResourceOptions): DomainNameGroup;
    /**
     * Returns true if the given object is an instance of DomainNameGroup.  This is designed to work even
     * when multiple copies of the Pulumi SDK have been loaded into the same process.
     */
    static isInstance(obj: any): obj is DomainNameGroup;
    /**
     * The config status of the domain name group.
     */
    readonly configStatus: pulumi.Output<number>;
    /**
     * Specifies the description.
     */
    readonly description: pulumi.Output<string | undefined>;
    /**
     * Specifies the list of domain names.
     * The domainNames structure is documented below.
     */
    readonly domainNames: pulumi.Output<outputs.Cfw.DomainNameGroupDomainName[] | undefined>;
    /**
     * Specifies the firewall instance ID.
     */
    readonly fwInstanceId: pulumi.Output<string>;
    /**
     * The exception message of the domain name group.
     */
    readonly message: pulumi.Output<string>;
    /**
     * Specifies the name of the domain name group.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Specifies the protected object ID.
     */
    readonly objectId: pulumi.Output<string>;
    /**
     * The reference count of the domain name group.
     */
    readonly refCount: pulumi.Output<number>;
    /**
     * Specifies the region in which to create the resource.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    readonly region: pulumi.Output<string>;
    /**
     * Specifies the type of the domain name group.
     * The value can be:
     * + **0**: means application type;
     * + **1**: means network type;
     */
    readonly type: pulumi.Output<number>;
    /**
     * Create a DomainNameGroup resource with the given unique name, arguments, and options.
     *
     * @param name The _unique_ name of the resource.
     * @param args The arguments to use to populate this resource's properties.
     * @param opts A bag of options that control this resource's behavior.
     */
    constructor(name: string, args: DomainNameGroupArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering DomainNameGroup resources.
 */
export interface DomainNameGroupState {
    /**
     * The config status of the domain name group.
     */
    configStatus?: pulumi.Input<number>;
    /**
     * Specifies the description.
     */
    description?: pulumi.Input<string>;
    /**
     * Specifies the list of domain names.
     * The domainNames structure is documented below.
     */
    domainNames?: pulumi.Input<pulumi.Input<inputs.Cfw.DomainNameGroupDomainName>[]>;
    /**
     * Specifies the firewall instance ID.
     */
    fwInstanceId?: pulumi.Input<string>;
    /**
     * The exception message of the domain name group.
     */
    message?: pulumi.Input<string>;
    /**
     * Specifies the name of the domain name group.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the protected object ID.
     */
    objectId?: pulumi.Input<string>;
    /**
     * The reference count of the domain name group.
     */
    refCount?: pulumi.Input<number>;
    /**
     * Specifies the region in which to create the resource.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the type of the domain name group.
     * The value can be:
     * + **0**: means application type;
     * + **1**: means network type;
     */
    type?: pulumi.Input<number>;
}
/**
 * The set of arguments for constructing a DomainNameGroup resource.
 */
export interface DomainNameGroupArgs {
    /**
     * Specifies the description.
     */
    description?: pulumi.Input<string>;
    /**
     * Specifies the list of domain names.
     * The domainNames structure is documented below.
     */
    domainNames?: pulumi.Input<pulumi.Input<inputs.Cfw.DomainNameGroupDomainName>[]>;
    /**
     * Specifies the firewall instance ID.
     */
    fwInstanceId: pulumi.Input<string>;
    /**
     * Specifies the name of the domain name group.
     */
    name?: pulumi.Input<string>;
    /**
     * Specifies the protected object ID.
     */
    objectId: pulumi.Input<string>;
    /**
     * Specifies the region in which to create the resource.
     * If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
     */
    region?: pulumi.Input<string>;
    /**
     * Specifies the type of the domain name group.
     * The value can be:
     * + **0**: means application type;
     * + **1**: means network type;
     */
    type: pulumi.Input<number>;
}
