1. Packages
  2. Azure Classic
  3. API Docs
  4. hpc
  5. CacheBlobTarget

We recommend using Azure Native.

Azure v6.31.0 published on Monday, Dec 29, 2025 by Pulumi
azure logo

We recommend using Azure Native.

Azure v6.31.0 published on Monday, Dec 29, 2025 by Pulumi

    Manages a Blob Target within a HPC Cache.

    !> Note: The azure.hpc.CacheBlobTarget 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 registering the Microsoft.StorageCache Resource Provider for this resource. To register it you can run az provider register --namespace 'Microsoft.StorageCache'.

    Create CacheBlobTarget Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CacheBlobTarget(name: string, args: CacheBlobTargetArgs, opts?: CustomResourceOptions);
    @overload
    def CacheBlobTarget(resource_name: str,
                        args: CacheBlobTargetArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def CacheBlobTarget(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,
                        access_policy_name: Optional[str] = None,
                        name: Optional[str] = None)
    func NewCacheBlobTarget(ctx *Context, name string, args CacheBlobTargetArgs, opts ...ResourceOption) (*CacheBlobTarget, error)
    public CacheBlobTarget(string name, CacheBlobTargetArgs args, CustomResourceOptions? opts = null)
    public CacheBlobTarget(String name, CacheBlobTargetArgs args)
    public CacheBlobTarget(String name, CacheBlobTargetArgs args, CustomResourceOptions options)
    
    type: azure:hpc:CacheBlobTarget
    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 CacheBlobTargetArgs
    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 CacheBlobTargetArgs
    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 CacheBlobTargetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CacheBlobTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CacheBlobTargetArgs
    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 cacheBlobTargetResource = new Azure.Hpc.CacheBlobTarget("cacheBlobTargetResource", new()
    {
        CacheName = "string",
        NamespacePath = "string",
        ResourceGroupName = "string",
        StorageContainerId = "string",
        AccessPolicyName = "string",
        Name = "string",
    });
    
    example, err := hpc.NewCacheBlobTarget(ctx, "cacheBlobTargetResource", &hpc.CacheBlobTargetArgs{
    	CacheName:          pulumi.String("string"),
    	NamespacePath:      pulumi.String("string"),
    	ResourceGroupName:  pulumi.String("string"),
    	StorageContainerId: pulumi.String("string"),
    	AccessPolicyName:   pulumi.String("string"),
    	Name:               pulumi.String("string"),
    })
    
    var cacheBlobTargetResource = new CacheBlobTarget("cacheBlobTargetResource", CacheBlobTargetArgs.builder()
        .cacheName("string")
        .namespacePath("string")
        .resourceGroupName("string")
        .storageContainerId("string")
        .accessPolicyName("string")
        .name("string")
        .build());
    
    cache_blob_target_resource = azure.hpc.CacheBlobTarget("cacheBlobTargetResource",
        cache_name="string",
        namespace_path="string",
        resource_group_name="string",
        storage_container_id="string",
        access_policy_name="string",
        name="string")
    
    const cacheBlobTargetResource = new azure.hpc.CacheBlobTarget("cacheBlobTargetResource", {
        cacheName: "string",
        namespacePath: "string",
        resourceGroupName: "string",
        storageContainerId: "string",
        accessPolicyName: "string",
        name: "string",
    });
    
    type: azure:hpc:CacheBlobTarget
    properties:
        accessPolicyName: string
        cacheName: string
        name: string
        namespacePath: string
        resourceGroupName: string
        storageContainerId: string
    

    CacheBlobTarget 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 CacheBlobTarget resource accepts the following input properties:

    CacheName string
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    NamespacePath string
    The client-facing file path of the HPC Cache Blob Target.
    ResourceGroupName string
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    StorageContainerId string

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    AccessPolicyName string
    The name of the access policy applied to this target. Defaults to default.
    Name string
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    CacheName string
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    NamespacePath string
    The client-facing file path of the HPC Cache Blob Target.
    ResourceGroupName string
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    StorageContainerId string

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    AccessPolicyName string
    The name of the access policy applied to this target. Defaults to default.
    Name string
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    cacheName String
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    namespacePath String
    The client-facing file path of the HPC Cache Blob Target.
    resourceGroupName String
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storageContainerId String

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    accessPolicyName String
    The name of the access policy applied to this target. Defaults to default.
    name String
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    cacheName string
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    namespacePath string
    The client-facing file path of the HPC Cache Blob Target.
    resourceGroupName string
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storageContainerId string

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    accessPolicyName string
    The name of the access policy applied to this target. Defaults to default.
    name string
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    cache_name str
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    namespace_path str
    The client-facing file path of the HPC Cache Blob Target.
    resource_group_name str
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storage_container_id str

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    access_policy_name str
    The name of the access policy applied to this target. Defaults to default.
    name str
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    cacheName String
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    namespacePath String
    The client-facing file path of the HPC Cache Blob Target.
    resourceGroupName String
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storageContainerId String

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    accessPolicyName String
    The name of the access policy applied to this target. Defaults to default.
    name String
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CacheBlobTarget 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 CacheBlobTarget Resource

    Get an existing CacheBlobTarget 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?: CacheBlobTargetState, opts?: CustomResourceOptions): CacheBlobTarget
    @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) -> CacheBlobTarget
    func GetCacheBlobTarget(ctx *Context, name string, id IDInput, state *CacheBlobTargetState, opts ...ResourceOption) (*CacheBlobTarget, error)
    public static CacheBlobTarget Get(string name, Input<string> id, CacheBlobTargetState? state, CustomResourceOptions? opts = null)
    public static CacheBlobTarget get(String name, Output<String> id, CacheBlobTargetState state, CustomResourceOptions options)
    resources:  _:    type: azure:hpc:CacheBlobTarget    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.
    The following state arguments are supported:
    AccessPolicyName string
    The name of the access policy applied to this target. Defaults to default.
    CacheName string
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    Name string
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    NamespacePath string
    The client-facing file path of the HPC Cache Blob Target.
    ResourceGroupName string
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    StorageContainerId string

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    AccessPolicyName string
    The name of the access policy applied to this target. Defaults to default.
    CacheName string
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    Name string
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    NamespacePath string
    The client-facing file path of the HPC Cache Blob Target.
    ResourceGroupName string
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    StorageContainerId string

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    accessPolicyName String
    The name of the access policy applied to this target. Defaults to default.
    cacheName String
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    name String
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    namespacePath String
    The client-facing file path of the HPC Cache Blob Target.
    resourceGroupName String
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storageContainerId String

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    accessPolicyName string
    The name of the access policy applied to this target. Defaults to default.
    cacheName string
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    name string
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    namespacePath string
    The client-facing file path of the HPC Cache Blob Target.
    resourceGroupName string
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storageContainerId string

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    access_policy_name str
    The name of the access policy applied to this target. Defaults to default.
    cache_name str
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    name str
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    namespace_path str
    The client-facing file path of the HPC Cache Blob Target.
    resource_group_name str
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storage_container_id str

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    accessPolicyName String
    The name of the access policy applied to this target. Defaults to default.
    cacheName String
    The name HPC Cache, which the HPC Cache Blob Target will be added to. Changing this forces a new resource to be created.
    name String
    The name of the HPC Cache Blob Target. Changing this forces a new resource to be created.
    namespacePath String
    The client-facing file path of the HPC Cache Blob Target.
    resourceGroupName String
    The name of the Resource Group in which to create the HPC Cache Blob Target. Changing this forces a new resource to be created.
    storageContainerId String

    The Resource Manager ID of the Storage Container used as the HPC Cache Blob 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 resource_manager_id.

    Import

    Blob Targets within an HPC Cache can be imported using the resource id, e.g.

    $ pulumi import azure:hpc/cacheBlobTarget:CacheBlobTarget 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 azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Azure v6.31.0 published on Monday, Dec 29, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate