We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
Manages a Blob NFSv3 Target within a HPC Cache.
NOTE:: By request of the service team the provider no longer automatically registering the
Microsoft.StorageCacheResource Provider for this resource. To register it you can runaz provider register --namespace 'Microsoft.StorageCache'.
NOTE:: This resource depends on the NFSv3 enabled Storage Account, which has some prerequisites need to meet. Please checkout: https://docs.microsoft.com/en-us/azure/storage/blobs/network-file-system-protocol-support-how-to?tabs=azure-powershell.
Create CacheBlobNfsTarget Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CacheBlobNfsTarget(name: string, args: CacheBlobNfsTargetArgs, opts?: CustomResourceOptions);@overload
def CacheBlobNfsTarget(resource_name: str,
args: CacheBlobNfsTargetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CacheBlobNfsTarget(resource_name: str,
opts: Optional[ResourceOptions] = None,
cache_name: Optional[str] = None,
namespace_path: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_container_id: Optional[str] = None,
usage_model: Optional[str] = None,
access_policy_name: Optional[str] = None,
name: Optional[str] = None)func NewCacheBlobNfsTarget(ctx *Context, name string, args CacheBlobNfsTargetArgs, opts ...ResourceOption) (*CacheBlobNfsTarget, error)public CacheBlobNfsTarget(string name, CacheBlobNfsTargetArgs args, CustomResourceOptions? opts = null)
public CacheBlobNfsTarget(String name, CacheBlobNfsTargetArgs args)
public CacheBlobNfsTarget(String name, CacheBlobNfsTargetArgs args, CustomResourceOptions options)
type: azure:hpc:CacheBlobNfsTarget
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CacheBlobNfsTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CacheBlobNfsTargetArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CacheBlobNfsTargetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CacheBlobNfsTargetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CacheBlobNfsTargetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var cacheBlobNfsTargetResource = new Azure.Hpc.CacheBlobNfsTarget("cacheBlobNfsTargetResource", new()
{
CacheName = "string",
NamespacePath = "string",
ResourceGroupName = "string",
StorageContainerId = "string",
UsageModel = "string",
AccessPolicyName = "string",
Name = "string",
});
example, err := hpc.NewCacheBlobNfsTarget(ctx, "cacheBlobNfsTargetResource", &hpc.CacheBlobNfsTargetArgs{
CacheName: pulumi.String("string"),
NamespacePath: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
StorageContainerId: pulumi.String("string"),
UsageModel: pulumi.String("string"),
AccessPolicyName: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cacheBlobNfsTargetResource = new CacheBlobNfsTarget("cacheBlobNfsTargetResource", CacheBlobNfsTargetArgs.builder()
.cacheName("string")
.namespacePath("string")
.resourceGroupName("string")
.storageContainerId("string")
.usageModel("string")
.accessPolicyName("string")
.name("string")
.build());
cache_blob_nfs_target_resource = azure.hpc.CacheBlobNfsTarget("cacheBlobNfsTargetResource",
cache_name="string",
namespace_path="string",
resource_group_name="string",
storage_container_id="string",
usage_model="string",
access_policy_name="string",
name="string")
const cacheBlobNfsTargetResource = new azure.hpc.CacheBlobNfsTarget("cacheBlobNfsTargetResource", {
cacheName: "string",
namespacePath: "string",
resourceGroupName: "string",
storageContainerId: "string",
usageModel: "string",
accessPolicyName: "string",
name: "string",
});
type: azure:hpc:CacheBlobNfsTarget
properties:
accessPolicyName: string
cacheName: string
name: string
namespacePath: string
resourceGroupName: string
storageContainerId: string
usageModel: string
CacheBlobNfsTarget Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CacheBlobNfsTarget resource accepts the following input properties:
- Cache
Name string - 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.
- Namespace
Path string - The client-facing file path of the HPC Cache Blob NFS Target.
- Resource
Group stringName - 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.
- Storage
Container stringId - 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.
- Usage
Model string - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS. - Access
Policy stringName - The name of the access policy applied to this target. Defaults to
default. - Name string
- 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.
- Cache
Name string - 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.
- Namespace
Path string - The client-facing file path of the HPC Cache Blob NFS Target.
- Resource
Group stringName - 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.
- Storage
Container stringId - 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.
- Usage
Model string - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS. - Access
Policy stringName - The name of the access policy applied to this target. Defaults to
default. - Name string
- 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.
- cache
Name String - 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.
- namespace
Path String - The client-facing file path of the HPC Cache Blob NFS Target.
- resource
Group StringName - 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.
- storage
Container StringId - 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.
- usage
Model String - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS. - access
Policy StringName - The name of the access policy applied to this target. Defaults to
default. - name String
- 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.
- cache
Name string - 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.
- namespace
Path string - The client-facing file path of the HPC Cache Blob NFS Target.
- resource
Group stringName - 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.
- storage
Container stringId - 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.
- usage
Model string - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS. - access
Policy stringName - The name of the access policy applied to this target. Defaults to
default. - name string
- 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.
- cache_
name str - 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.
- namespace_
path str - The client-facing file path of the HPC Cache Blob NFS Target.
- resource_
group_ strname - 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.
- storage_
container_ strid - 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.
- usage_
model str - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS. - access_
policy_ strname - The name of the access policy applied to this target. Defaults to
default. - name str
- 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.
- cache
Name String - 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.
- namespace
Path String - The client-facing file path of the HPC Cache Blob NFS Target.
- resource
Group StringName - 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.
- storage
Container StringId - 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.
- usage
Model String - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS. - access
Policy StringName - The name of the access policy applied to this target. Defaults to
default. - name String
- 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.
Outputs
All input properties are implicitly available as output properties. Additionally, the CacheBlobNfsTarget resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CacheBlobNfsTarget Resource
Get an existing CacheBlobNfsTarget resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: CacheBlobNfsTargetState, opts?: CustomResourceOptions): CacheBlobNfsTarget@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_policy_name: Optional[str] = None,
cache_name: Optional[str] = None,
name: Optional[str] = None,
namespace_path: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_container_id: Optional[str] = None,
usage_model: Optional[str] = None) -> CacheBlobNfsTargetfunc GetCacheBlobNfsTarget(ctx *Context, name string, id IDInput, state *CacheBlobNfsTargetState, opts ...ResourceOption) (*CacheBlobNfsTarget, error)public static CacheBlobNfsTarget Get(string name, Input<string> id, CacheBlobNfsTargetState? state, CustomResourceOptions? opts = null)public static CacheBlobNfsTarget get(String name, Output<String> id, CacheBlobNfsTargetState state, CustomResourceOptions options)resources: _: type: azure:hpc:CacheBlobNfsTarget get: id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Access
Policy stringName - The name of the access policy applied to this target. Defaults to
default. - Cache
Name string - 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.
- Name string
- 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.
- Namespace
Path string - The client-facing file path of the HPC Cache Blob NFS Target.
- Resource
Group stringName - 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.
- Storage
Container stringId - 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.
- Usage
Model string - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS.
- Access
Policy stringName - The name of the access policy applied to this target. Defaults to
default. - Cache
Name string - 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.
- Name string
- 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.
- Namespace
Path string - The client-facing file path of the HPC Cache Blob NFS Target.
- Resource
Group stringName - 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.
- Storage
Container stringId - 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.
- Usage
Model string - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS.
- access
Policy StringName - The name of the access policy applied to this target. Defaults to
default. - cache
Name String - 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.
- name String
- 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.
- namespace
Path String - The client-facing file path of the HPC Cache Blob NFS Target.
- resource
Group StringName - 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.
- storage
Container StringId - 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.
- usage
Model String - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS.
- access
Policy stringName - The name of the access policy applied to this target. Defaults to
default. - cache
Name string - 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.
- name string
- 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.
- namespace
Path string - The client-facing file path of the HPC Cache Blob NFS Target.
- resource
Group stringName - 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.
- storage
Container stringId - 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.
- usage
Model string - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS.
- access_
policy_ strname - The name of the access policy applied to this target. Defaults to
default. - cache_
name str - 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.
- name str
- 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.
- namespace_
path str - The client-facing file path of the HPC Cache Blob NFS Target.
- resource_
group_ strname - 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.
- storage_
container_ strid - 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.
- usage_
model str - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS.
- access
Policy StringName - The name of the access policy applied to this target. Defaults to
default. - cache
Name String - 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.
- name String
- 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.
- namespace
Path String - The client-facing file path of the HPC Cache Blob NFS Target.
- resource
Group StringName - 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.
- storage
Container StringId - 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.
- usage
Model String - The type of usage of the HPC Cache Blob NFS Target. Possible values are:
READ_HEAVY_INFREQ,READ_HEAVY_CHECK_180,WRITE_WORKLOAD_15,WRITE_AROUND,WRITE_WORKLOAD_CHECK_30,WRITE_WORKLOAD_CHECK_60andWRITE_WORKLOAD_CLOUDWS.
Import
HPC Cache Blob NFS Targets can be imported using the resource id, e.g.
$ pulumi import azure:hpc/cacheBlobNfsTarget:CacheBlobNfsTarget example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.StorageCache/caches/cache1/storageTargets/target1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurermTerraform Provider.
We recommend using Azure Native.
published on Monday, Mar 9, 2026 by Pulumi
