import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Manages a HPC Cache Access Policy.
 *
 * !> **Note:** The `azure.hpc.CacheAccessPolicy` resource has been deprecated because the service is retiring on 2025-09-30. This resource will be removed in v5.0 of the AzureRM Provider. See https://aka.ms/hpccacheretirement for more information.
 *
 * ## 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 exampleVirtualNetwork = new azure.network.VirtualNetwork("example", {
 *     name: "examplevn",
 *     addressSpaces: ["10.0.0.0/16"],
 *     location: example.location,
 *     resourceGroupName: example.name,
 * });
 * const exampleSubnet = new azure.network.Subnet("example", {
 *     name: "examplesubnet",
 *     resourceGroupName: example.name,
 *     virtualNetworkName: exampleVirtualNetwork.name,
 *     addressPrefixes: ["10.0.1.0/24"],
 * });
 * const exampleCache = new azure.hpc.Cache("example", {
 *     name: "examplehpccache",
 *     resourceGroupName: example.name,
 *     location: example.location,
 *     cacheSizeInGb: 3072,
 *     subnetId: exampleSubnet.id,
 *     skuName: "Standard_2G",
 * });
 * const exampleCacheAccessPolicy = new azure.hpc.CacheAccessPolicy("example", {
 *     name: "example",
 *     hpcCacheId: exampleCache.id,
 *     accessRules: [{
 *         scope: "default",
 *         access: "rw",
 *     }],
 * });
 * ```
 *
 * ## API Providers
 *
 * <!-- This section is generated, changes will be overwritten -->
 * This resource uses the following Azure API Providers:
 *
 * * `Microsoft.StorageCache` - 2023-05-01
 *
 * ## Import
 *
 * HPC Cache Access Policies can be imported using the `resource id`, e.g.
 *
 * ```sh
 * $ pulumi import azure:hpc/cacheAccessPolicy:CacheAccessPolicy example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.StorageCache/caches/cache1/cacheAccessPolicies/policy1
 * ```
 */
export declare class CacheAccessPolicy extends pulumi.CustomResource {
    /**
     * Get an existing CacheAccessPolicy 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?: CacheAccessPolicyState, opts?: pulumi.CustomResourceOptions): CacheAccessPolicy;
    /**
     * Returns true if the given object is an instance of CacheAccessPolicy.  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 CacheAccessPolicy;
    /**
     * One or more `accessRule` blocks (up to three) as defined below.
     */
    readonly accessRules: pulumi.Output<outputs.hpc.CacheAccessPolicyAccessRule[]>;
    /**
     * The ID of the HPC Cache that this HPC Cache Access Policy resides in. Changing this forces a new HPC Cache Access Policy to be created.
     */
    readonly hpcCacheId: pulumi.Output<string>;
    /**
     * The name which should be used for this HPC Cache Access Policy. Changing this forces a new HPC Cache Access Policy to be created.
     */
    readonly name: pulumi.Output<string>;
    /**
     * Create a CacheAccessPolicy 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: CacheAccessPolicyArgs, opts?: pulumi.CustomResourceOptions);
}
/**
 * Input properties used for looking up and filtering CacheAccessPolicy resources.
 */
export interface CacheAccessPolicyState {
    /**
     * One or more `accessRule` blocks (up to three) as defined below.
     */
    accessRules?: pulumi.Input<pulumi.Input<inputs.hpc.CacheAccessPolicyAccessRule>[] | undefined>;
    /**
     * The ID of the HPC Cache that this HPC Cache Access Policy resides in. Changing this forces a new HPC Cache Access Policy to be created.
     */
    hpcCacheId?: pulumi.Input<string | undefined>;
    /**
     * The name which should be used for this HPC Cache Access Policy. Changing this forces a new HPC Cache Access Policy to be created.
     */
    name?: pulumi.Input<string | undefined>;
}
/**
 * The set of arguments for constructing a CacheAccessPolicy resource.
 */
export interface CacheAccessPolicyArgs {
    /**
     * One or more `accessRule` blocks (up to three) as defined below.
     */
    accessRules: pulumi.Input<pulumi.Input<inputs.hpc.CacheAccessPolicyAccessRule>[]>;
    /**
     * The ID of the HPC Cache that this HPC Cache Access Policy resides in. Changing this forces a new HPC Cache Access Policy to be created.
     */
    hpcCacheId: pulumi.Input<string>;
    /**
     * The name which should be used for this HPC Cache Access Policy. Changing this forces a new HPC Cache Access Policy to be created.
     */
    name?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=cacheAccessPolicy.d.ts.map