import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages the Network ACL for a SignalR service.
 *
 * ## 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 exampleService = new azure.signalr.Service("example", {
 *     name: "example-signalr",
 *     location: example.location,
 *     resourceGroupName: example.name,
 *     sku: {
 *         name: "Standard_S1",
 *         capacity: 1,
 *     },
 * });
 * const exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "example-vnet",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     addressSpaces: ["10.5.0.0/16"],
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "example-subnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.5.2.0/24"],
 *     enforcePrivateLinkEndpointNetworkPolicies: true,
 * });
 * const exampleEndpoint = new azure.privatelink.Endpoint("example", {
 *     name: "example-privateendpoint",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     subnetId: exampleSubnet.id,
 *     privateServiceConnection: {
 *         name: "psc-sig-test",
 *         isManualConnection: false,
 *         privateConnectionResourceId: exampleService.id,
 *         subresourceNames: ["signalr"],
 *     },
 * });
 * const exampleServiceNetworkAcl = new azure.signalr.ServiceNetworkAcl("example", {
 *     signalrServiceId: exampleService.id,
 *     defaultAction: "Deny",
 *     publicNetwork: {
 *         allowedRequestTypes: ["ClientConnection"],
 *     },
 *     privateEndpoints: [{
 *         id: exampleEndpoint.id,
 *         allowedRequestTypes: ["ServerConnection"],
 *     }],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.SignalRService` - 2024-03-01
 *
 * ## Import
 *
 * Network ACLs for a SignalR service can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:signalr/serviceNetworkAcl:ServiceNetworkAcl example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.SignalRService/signalR/signalr1
 * ```
 */
export declare class ServiceNetworkAcl extends pulumi.CustomResource {
    /**
     * Get an existing ServiceNetworkAcl 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?: ServiceNetworkAclState, opts?: pulumi.CustomResourceOptions): ServiceNetworkAcl;
    /**
     * Returns true if the given object is an instance of ServiceNetworkAcl.  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 ServiceNetworkAcl;
    /**
     * The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
     */
    readonly defaultAction: pulumi.Output<string>;
    /**
     * A `privateEndpoint` block as defined below.
     */
    readonly privateEndpoints: pulumi.Output<outputs.signalr.ServiceNetworkAclPrivateEndpoint[] | undefined>;
    /**
     * A `publicNetwork` block as defined below.
     */
    readonly publicNetwork: pulumi.Output<outputs.signalr.ServiceNetworkAclPublicNetwork>;
    /**
     * The ID of the SignalR service. Changing this forces a new resource to be created.
     */
    readonly signalrServiceId: pulumi.Output<string>;
    /**
     * Create a ServiceNetworkAcl 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: ServiceNetworkAclArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering ServiceNetworkAcl resources.
 */
export interface ServiceNetworkAclState {
    /**
     * The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
     */
    defaultAction?: pulumi.Input<string | undefined>;
    /**
     * A `privateEndpoint` block as defined below.
     */
    privateEndpoints?: pulumi.Input<pulumi.Input<inputs.signalr.ServiceNetworkAclPrivateEndpoint>[] | undefined>;
    /**
     * A `publicNetwork` block as defined below.
     */
    publicNetwork?: pulumi.Input<inputs.signalr.ServiceNetworkAclPublicNetwork | undefined>;
    /**
     * The ID of the SignalR service. Changing this forces a new resource to be created.
     */
    signalrServiceId?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a ServiceNetworkAcl resource.
 */
export interface ServiceNetworkAclArgs {
    /**
     * The default action to control the network access when no other rule matches. Possible values are `Allow` and `Deny`.
     */
    defaultAction: pulumi.Input<string>;
    /**
     * A `privateEndpoint` block as defined below.
     */
    privateEndpoints?: pulumi.Input<pulumi.Input<inputs.signalr.ServiceNetworkAclPrivateEndpoint>[] | undefined>;
    /**
     * A `publicNetwork` block as defined below.
     */
    publicNetwork: pulumi.Input<inputs.signalr.ServiceNetworkAclPublicNetwork>;
    /**
     * The ID of the SignalR service. Changing this forces a new resource to be created.
     */
    signalrServiceId: pulumi.Input<string>;
}
//# sourceMappingURL=serviceNetworkAcl.d.ts.map