import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages an IoT Central Application Network Rule Set.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resource",
 *     location: "West Europe",
 * });
 * const exampleApplication = new azure.iotcentral.Application("example", {
 *     name: "example-iotcentral-app",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     subDomain: "example-iotcentral-app-subdomain",
 *     displayName: "example-iotcentral-app-display-name",
 *     sku: "ST1",
 *     tags: {
 *         Foo: "Bar",
 *     },
 * });
 * const exampleApplicationNetworkRuleSet = new azure.iotcentral.ApplicationNetworkRuleSet("example", {
 *     iotcentralApplicationId: exampleApplication.id,
 *     ipRules: [
 *         {
 *             name: "rule1",
 *             ipMask: "10.0.1.0/24",
 *         },
 *         {
 *             name: "rule2",
 *             ipMask: "10.1.1.0/24",
 *         },
 *     ],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.IoTCentral` - 2021-11-01-preview
 *
 * ## Import
 *
 * IoT Central Application Network Rule Sets can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:iotcentral/applicationNetworkRuleSet:ApplicationNetworkRuleSet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.IoTCentral/iotApps/app1
 * ```
 */
export declare class ApplicationNetworkRuleSet extends pulumi.CustomResource {
    /**
     * Get an existing ApplicationNetworkRuleSet 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?: ApplicationNetworkRuleSetState, opts?: pulumi.CustomResourceOptions): ApplicationNetworkRuleSet;
    /**
     * Returns true if the given object is an instance of ApplicationNetworkRuleSet.  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 ApplicationNetworkRuleSet;
    /**
     * Whether these IP Rules apply for device connectivity to IoT Hub and Device Provisioning Service associated with this IoT Central Application. Possible values are `true`, `false`. Defaults to `true`
     */
    readonly applyToDevice: pulumi.Output<boolean | undefined>;
    /**
     * Specifies the default action for the IoT Central Application Network Rule Set. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
     */
    readonly defaultAction: pulumi.Output<string | undefined>;
    /**
     * The ID of the IoT Central Application. Changing this forces a new resource to be created.
     */
    readonly iotcentralApplicationId: pulumi.Output<string>;
    /**
     * One or more `ipRule` blocks as defined below.
     */
    readonly ipRules: pulumi.Output<outputs.iotcentral.ApplicationNetworkRuleSetIpRule[] | undefined>;
    /**
     * Create a ApplicationNetworkRuleSet 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: ApplicationNetworkRuleSetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ApplicationNetworkRuleSet resources.
 */
export interface ApplicationNetworkRuleSetState {
    /**
     * Whether these IP Rules apply for device connectivity to IoT Hub and Device Provisioning Service associated with this IoT Central Application. Possible values are `true`, `false`. Defaults to `true`
     */
    applyToDevice?: pulumi.Input<boolean | undefined>;
    /**
     * Specifies the default action for the IoT Central Application Network Rule Set. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
     */
    defaultAction?: pulumi.Input<string | undefined>;
    /**
     * The ID of the IoT Central Application. Changing this forces a new resource to be created.
     */
    iotcentralApplicationId?: pulumi.Input<string | undefined>;
    /**
     * One or more `ipRule` blocks as defined below.
     */
    ipRules?: pulumi.Input<pulumi.Input<inputs.iotcentral.ApplicationNetworkRuleSetIpRule>[] | undefined>;
}
/**
 * The set of arguments for constructing a ApplicationNetworkRuleSet resource.
 */
export interface ApplicationNetworkRuleSetArgs {
    /**
     * Whether these IP Rules apply for device connectivity to IoT Hub and Device Provisioning Service associated with this IoT Central Application. Possible values are `true`, `false`. Defaults to `true`
     */
    applyToDevice?: pulumi.Input<boolean | undefined>;
    /**
     * Specifies the default action for the IoT Central Application Network Rule Set. Possible values are `Allow` and `Deny`. Defaults to `Deny`.
     */
    defaultAction?: pulumi.Input<string | undefined>;
    /**
     * The ID of the IoT Central Application. Changing this forces a new resource to be created.
     */
    iotcentralApplicationId: pulumi.Input<string>;
    /**
     * One or more `ipRule` blocks as defined below.
     */
    ipRules?: pulumi.Input<pulumi.Input<inputs.iotcentral.ApplicationNetworkRuleSetIpRule>[] | undefined>;
}
//# sourceMappingURL=applicationNetworkRuleSet.d.ts.map