import * as pulumi from "@pulumi/pulumi";
/**
 * Manages a Network Security Perimeter Access Rule.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as azure from "@pulumi/azure";
 *
 * const example = new azure.core.ResourceGroup("example", {
 *     name: "example-resources",
 *     location: "West Europe",
 * });
 * const exampleNetworkSecurityPerimeter = new azure.network.NetworkSecurityPerimeter("example", {
 *     name: "example",
 *     resourceGroupName: example.name,
 *     location: "West Europe",
 * });
 * const exampleNetworkSecurityPerimeterProfile = new azure.network.NetworkSecurityPerimeterProfile("example", {
 *     name: "example",
 *     networkSecurityPerimeterId: exampleNetworkSecurityPerimeter.id,
 * });
 * const exampleNetworkSecurityPerimeterAccessRule = new azure.network.NetworkSecurityPerimeterAccessRule("example", {
 *     name: "example",
 *     networkSecurityPerimeterProfileId: exampleNetworkSecurityPerimeterProfile.id,
 *     direction: "Inbound",
 *     addressPrefixes: ["8.8.8.8/32"],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.Network` - 2025-01-01
 *
 * ## Import
 *
 * Network Security Perimeter Access Rules can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:network/networkSecurityPerimeterAccessRule:NetworkSecurityPerimeterAccessRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example-rg/providers/Microsoft.Network/networkSecurityPerimeters/example-nsp/profiles/defaultProfile/accessRules/example-accessrule
 * ```
 */
export declare class NetworkSecurityPerimeterAccessRule extends pulumi.CustomResource {
    /**
     * Get an existing NetworkSecurityPerimeterAccessRule 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?: NetworkSecurityPerimeterAccessRuleState, opts?: pulumi.CustomResourceOptions): NetworkSecurityPerimeterAccessRule;
    /**
     * Returns true if the given object is an instance of NetworkSecurityPerimeterAccessRule.  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 NetworkSecurityPerimeterAccessRule;
    /**
     * Specifies a list of CIDRs. Can only be specified when direction is set to `Inbound`. Conflicts with `fqdns`, `serviceTags`, `subscriptionIds`.
     */
    readonly addressPrefixes: pulumi.Output<string[] | undefined>;
    /**
     * The direction of the rule. Possible values are `Inbound` and `Outbound`. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    readonly direction: pulumi.Output<string>;
    /**
     * Specifies a list of fully qualified domain names. Can only be specified when direction is set to `Outbound`. Conflicts with `addressPrefixes`, `serviceTags`, and `subscriptionIds`.
     */
    readonly fqdns: pulumi.Output<string[] | undefined>;
    /**
     * The name which should be used for this Network Security Perimeter Access Rule. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * The ID of the Network Security Perimeter Profile within which this Access Rule is created. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    readonly networkSecurityPerimeterProfileId: pulumi.Output<string>;
    /**
     * Specifies a list of service tags. Can only be specified when direction is set to `Inbound`. Conflicts with `addressPrefixes`, `fqdns`, and `subscriptionIds`.
     */
    readonly serviceTags: pulumi.Output<string[] | undefined>;
    /**
     * Specifies a list of subscription IDs this rule applies to. Can only be specified when direction is set to `Inbound`. Conflicts with `addressPrefixes`, `fqdns`, and `serviceTags`.
     */
    readonly subscriptionIds: pulumi.Output<string[] | undefined>;
    /**
     * Create a NetworkSecurityPerimeterAccessRule 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: NetworkSecurityPerimeterAccessRuleArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering NetworkSecurityPerimeterAccessRule resources.
 */
export interface NetworkSecurityPerimeterAccessRuleState {
    /**
     * Specifies a list of CIDRs. Can only be specified when direction is set to `Inbound`. Conflicts with `fqdns`, `serviceTags`, `subscriptionIds`.
     */
    addressPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The direction of the rule. Possible values are `Inbound` and `Outbound`. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    direction?: pulumi.Input<string | undefined>;
    /**
     * Specifies a list of fully qualified domain names. Can only be specified when direction is set to `Outbound`. Conflicts with `addressPrefixes`, `serviceTags`, and `subscriptionIds`.
     */
    fqdns?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The name which should be used for this Network Security Perimeter Access Rule. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Network Security Perimeter Profile within which this Access Rule is created. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    networkSecurityPerimeterProfileId?: pulumi.Input<string | undefined>;
    /**
     * Specifies a list of service tags. Can only be specified when direction is set to `Inbound`. Conflicts with `addressPrefixes`, `fqdns`, and `subscriptionIds`.
     */
    serviceTags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies a list of subscription IDs this rule applies to. Can only be specified when direction is set to `Inbound`. Conflicts with `addressPrefixes`, `fqdns`, and `serviceTags`.
     */
    subscriptionIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
/**
 * The set of arguments for constructing a NetworkSecurityPerimeterAccessRule resource.
 */
export interface NetworkSecurityPerimeterAccessRuleArgs {
    /**
     * Specifies a list of CIDRs. Can only be specified when direction is set to `Inbound`. Conflicts with `fqdns`, `serviceTags`, `subscriptionIds`.
     */
    addressPrefixes?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The direction of the rule. Possible values are `Inbound` and `Outbound`. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    direction: pulumi.Input<string>;
    /**
     * Specifies a list of fully qualified domain names. Can only be specified when direction is set to `Outbound`. Conflicts with `addressPrefixes`, `serviceTags`, and `subscriptionIds`.
     */
    fqdns?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * The name which should be used for this Network Security Perimeter Access Rule. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    name?: pulumi.Input<string | undefined>;
    /**
     * The ID of the Network Security Perimeter Profile within which this Access Rule is created. Changing this forces a new Network Security Perimeter Access Rule to be created.
     */
    networkSecurityPerimeterProfileId: pulumi.Input<string>;
    /**
     * Specifies a list of service tags. Can only be specified when direction is set to `Inbound`. Conflicts with `addressPrefixes`, `fqdns`, and `subscriptionIds`.
     */
    serviceTags?: pulumi.Input<pulumi.Input<string>[] | undefined>;
    /**
     * Specifies a list of subscription IDs this rule applies to. Can only be specified when direction is set to `Inbound`. Conflicts with `addressPrefixes`, `fqdns`, and `serviceTags`.
     */
    subscriptionIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
}
//# sourceMappingURL=networkSecurityPerimeterAccessRule.d.ts.map