import * as pulumi from "@pulumi/pulumi"; /** * Manages a Blob NFSv3 Target within a HPC Cache. * * !> **Note:** The `azure.hpc.CacheBlobNfsTarget` 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. * * > **Note:** By request of the service team the provider no longer automatically registers the `Microsoft.StorageCache` Resource Provider for this resource. To register it you can run `az provider register --namespace 'Microsoft.StorageCache'`. * * > **Note:** This resource depends on the NFSv3 enabled Storage Account, which has some prerequisites need to meet. Please checkout: . * * ## Import * * HPC Cache Blob NFS Targets can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:hpc/cacheBlobNfsTarget:CacheBlobNfsTarget example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageCache/caches/cache1/storageTargets/target1 * ``` */ export declare class CacheBlobNfsTarget extends pulumi.CustomResource { /** * Get an existing CacheBlobNfsTarget 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, state?: CacheBlobNfsTargetState, opts?: pulumi.CustomResourceOptions): CacheBlobNfsTarget; /** * Returns true if the given object is an instance of CacheBlobNfsTarget. 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 CacheBlobNfsTarget; /** * The name of the access policy applied to this target. Defaults to `default`. */ readonly accessPolicyName: pulumi.Output; /** * The name of the HPC Cache, which the HPC Cache Blob NFS Target will be added to. Changing this forces a new HPC Cache Blob NFS Target to be created. */ readonly cacheName: pulumi.Output; /** * The name which should be used for this HPC Cache Blob NFS Target. Changing this forces a new HPC Cache Blob NFS Target to be created. */ readonly name: pulumi.Output; /** * The client-facing file path of the HPC Cache Blob NFS Target. */ readonly namespacePath: pulumi.Output; /** * The name of the Resource Group where the HPC Cache Blob NFS Target should exist. Changing this forces a new HPC Cache Blob NFS Target to be created. */ readonly resourceGroupName: pulumi.Output; /** * The Resource Manager ID of the Storage Container used as the HPC Cache Blob NFS Target. Changing this forces a new resource to be created. * * > **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `azure.storage.Container` Data Source/Resource as `resourceManagerId`. */ readonly storageContainerId: pulumi.Output; /** * The type of usage of the HPC Cache Blob NFS Target. Possible values are: `READ_HEAVY_INFREQ`, `READ_HEAVY_CHECK_180`, `READ_ONLY`, `READ_WRITE`, `WRITE_WORKLOAD_15`, `WRITE_AROUND`, `WRITE_WORKLOAD_CHECK_30`, `WRITE_WORKLOAD_CHECK_60` and `WRITE_WORKLOAD_CLOUDWS`. */ readonly usageModel: pulumi.Output; /** * The amount of time the cache waits before it checks the back-end storage for file updates. Possible values are between `1` and `31536000`. */ readonly verificationTimerInSeconds: pulumi.Output; /** * The amount of time the cache waits after the last file change before it copies the changed file to back-end storage. Possible values are between `1` and `31536000`. */ readonly writeBackTimerInSeconds: pulumi.Output; /** * Create a CacheBlobNfsTarget 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: CacheBlobNfsTargetArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CacheBlobNfsTarget resources. */ export interface CacheBlobNfsTargetState { /** * The name of the access policy applied to this target. Defaults to `default`. */ accessPolicyName?: pulumi.Input; /** * The name of the HPC Cache, which the HPC Cache Blob NFS Target will be added to. Changing this forces a new HPC Cache Blob NFS Target to be created. */ cacheName?: pulumi.Input; /** * The name which should be used for this HPC Cache Blob NFS Target. Changing this forces a new HPC Cache Blob NFS Target to be created. */ name?: pulumi.Input; /** * The client-facing file path of the HPC Cache Blob NFS Target. */ namespacePath?: pulumi.Input; /** * The name of the Resource Group where the HPC Cache Blob NFS Target should exist. Changing this forces a new HPC Cache Blob NFS Target to be created. */ resourceGroupName?: pulumi.Input; /** * The Resource Manager ID of the Storage Container used as the HPC Cache Blob NFS Target. Changing this forces a new resource to be created. * * > **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `azure.storage.Container` Data Source/Resource as `resourceManagerId`. */ storageContainerId?: pulumi.Input; /** * The type of usage of the HPC Cache Blob NFS Target. Possible values are: `READ_HEAVY_INFREQ`, `READ_HEAVY_CHECK_180`, `READ_ONLY`, `READ_WRITE`, `WRITE_WORKLOAD_15`, `WRITE_AROUND`, `WRITE_WORKLOAD_CHECK_30`, `WRITE_WORKLOAD_CHECK_60` and `WRITE_WORKLOAD_CLOUDWS`. */ usageModel?: pulumi.Input; /** * The amount of time the cache waits before it checks the back-end storage for file updates. Possible values are between `1` and `31536000`. */ verificationTimerInSeconds?: pulumi.Input; /** * The amount of time the cache waits after the last file change before it copies the changed file to back-end storage. Possible values are between `1` and `31536000`. */ writeBackTimerInSeconds?: pulumi.Input; } /** * The set of arguments for constructing a CacheBlobNfsTarget resource. */ export interface CacheBlobNfsTargetArgs { /** * The name of the access policy applied to this target. Defaults to `default`. */ accessPolicyName?: pulumi.Input; /** * The name of the HPC Cache, which the HPC Cache Blob NFS Target will be added to. Changing this forces a new HPC Cache Blob NFS Target to be created. */ cacheName: pulumi.Input; /** * The name which should be used for this HPC Cache Blob NFS Target. Changing this forces a new HPC Cache Blob NFS Target to be created. */ name?: pulumi.Input; /** * The client-facing file path of the HPC Cache Blob NFS Target. */ namespacePath: pulumi.Input; /** * The name of the Resource Group where the HPC Cache Blob NFS Target should exist. Changing this forces a new HPC Cache Blob NFS Target to be created. */ resourceGroupName: pulumi.Input; /** * The Resource Manager ID of the Storage Container used as the HPC Cache Blob NFS Target. Changing this forces a new resource to be created. * * > **Note:** This is the Resource Manager ID of the Storage Container, rather than the regular ID - and can be accessed on the `azure.storage.Container` Data Source/Resource as `resourceManagerId`. */ storageContainerId: pulumi.Input; /** * The type of usage of the HPC Cache Blob NFS Target. Possible values are: `READ_HEAVY_INFREQ`, `READ_HEAVY_CHECK_180`, `READ_ONLY`, `READ_WRITE`, `WRITE_WORKLOAD_15`, `WRITE_AROUND`, `WRITE_WORKLOAD_CHECK_30`, `WRITE_WORKLOAD_CHECK_60` and `WRITE_WORKLOAD_CLOUDWS`. */ usageModel: pulumi.Input; /** * The amount of time the cache waits before it checks the back-end storage for file updates. Possible values are between `1` and `31536000`. */ verificationTimerInSeconds?: pulumi.Input; /** * The amount of time the cache waits after the last file change before it copies the changed file to back-end storage. Possible values are between `1` and `31536000`. */ writeBackTimerInSeconds?: pulumi.Input; }