1. Packages
  2. Azure Native v1
  3. API Docs
  4. storagecache
  5. StorageTarget
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.storagecache.StorageTarget

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    Type of the Storage Target. API Version: 2021-03-01.

    Example Usage

    StorageTargets_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var storageTarget = new AzureNative.StorageCache.StorageTarget("storageTarget", new()
        {
            CacheName = "sc1",
            Junctions = new[]
            {
                new AzureNative.StorageCache.Inputs.NamespaceJunctionArgs
                {
                    NamespacePath = "/path/on/cache",
                    NfsAccessPolicy = "default",
                    NfsExport = "exp1",
                    TargetPath = "/path/on/exp1",
                },
                new AzureNative.StorageCache.Inputs.NamespaceJunctionArgs
                {
                    NamespacePath = "/path2/on/cache",
                    NfsAccessPolicy = "rootSquash",
                    NfsExport = "exp2",
                    TargetPath = "/path2/on/exp2",
                },
            },
            Nfs3 = new AzureNative.StorageCache.Inputs.Nfs3TargetArgs
            {
                Target = "10.0.44.44",
                UsageModel = "READ_HEAVY_INFREQ",
            },
            ResourceGroupName = "scgroup",
            StorageTargetName = "st1",
            TargetType = "nfs3",
        });
    
    });
    
    package main
    
    import (
    	storagecache "github.com/pulumi/pulumi-azure-native-sdk/storagecache"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storagecache.NewStorageTarget(ctx, "storageTarget", &storagecache.StorageTargetArgs{
    			CacheName: pulumi.String("sc1"),
    			Junctions: []storagecache.NamespaceJunctionArgs{
    				{
    					NamespacePath:   pulumi.String("/path/on/cache"),
    					NfsAccessPolicy: pulumi.String("default"),
    					NfsExport:       pulumi.String("exp1"),
    					TargetPath:      pulumi.String("/path/on/exp1"),
    				},
    				{
    					NamespacePath:   pulumi.String("/path2/on/cache"),
    					NfsAccessPolicy: pulumi.String("rootSquash"),
    					NfsExport:       pulumi.String("exp2"),
    					TargetPath:      pulumi.String("/path2/on/exp2"),
    				},
    			},
    			Nfs3: &storagecache.Nfs3TargetArgs{
    				Target:     pulumi.String("10.0.44.44"),
    				UsageModel: pulumi.String("READ_HEAVY_INFREQ"),
    			},
    			ResourceGroupName: pulumi.String("scgroup"),
    			StorageTargetName: pulumi.String("st1"),
    			TargetType:        pulumi.String("nfs3"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storagecache.StorageTarget;
    import com.pulumi.azurenative.storagecache.StorageTargetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var storageTarget = new StorageTarget("storageTarget", StorageTargetArgs.builder()        
                .cacheName("sc1")
                .junctions(            
                    Map.ofEntries(
                        Map.entry("namespacePath", "/path/on/cache"),
                        Map.entry("nfsAccessPolicy", "default"),
                        Map.entry("nfsExport", "exp1"),
                        Map.entry("targetPath", "/path/on/exp1")
                    ),
                    Map.ofEntries(
                        Map.entry("namespacePath", "/path2/on/cache"),
                        Map.entry("nfsAccessPolicy", "rootSquash"),
                        Map.entry("nfsExport", "exp2"),
                        Map.entry("targetPath", "/path2/on/exp2")
                    ))
                .nfs3(Map.ofEntries(
                    Map.entry("target", "10.0.44.44"),
                    Map.entry("usageModel", "READ_HEAVY_INFREQ")
                ))
                .resourceGroupName("scgroup")
                .storageTargetName("st1")
                .targetType("nfs3")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    storage_target = azure_native.storagecache.StorageTarget("storageTarget",
        cache_name="sc1",
        junctions=[
            azure_native.storagecache.NamespaceJunctionArgs(
                namespace_path="/path/on/cache",
                nfs_access_policy="default",
                nfs_export="exp1",
                target_path="/path/on/exp1",
            ),
            azure_native.storagecache.NamespaceJunctionArgs(
                namespace_path="/path2/on/cache",
                nfs_access_policy="rootSquash",
                nfs_export="exp2",
                target_path="/path2/on/exp2",
            ),
        ],
        nfs3=azure_native.storagecache.Nfs3TargetArgs(
            target="10.0.44.44",
            usage_model="READ_HEAVY_INFREQ",
        ),
        resource_group_name="scgroup",
        storage_target_name="st1",
        target_type="nfs3")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const storageTarget = new azure_native.storagecache.StorageTarget("storageTarget", {
        cacheName: "sc1",
        junctions: [
            {
                namespacePath: "/path/on/cache",
                nfsAccessPolicy: "default",
                nfsExport: "exp1",
                targetPath: "/path/on/exp1",
            },
            {
                namespacePath: "/path2/on/cache",
                nfsAccessPolicy: "rootSquash",
                nfsExport: "exp2",
                targetPath: "/path2/on/exp2",
            },
        ],
        nfs3: {
            target: "10.0.44.44",
            usageModel: "READ_HEAVY_INFREQ",
        },
        resourceGroupName: "scgroup",
        storageTargetName: "st1",
        targetType: "nfs3",
    });
    
    resources:
      storageTarget:
        type: azure-native:storagecache:StorageTarget
        properties:
          cacheName: sc1
          junctions:
            - namespacePath: /path/on/cache
              nfsAccessPolicy: default
              nfsExport: exp1
              targetPath: /path/on/exp1
            - namespacePath: /path2/on/cache
              nfsAccessPolicy: rootSquash
              nfsExport: exp2
              targetPath: /path2/on/exp2
          nfs3:
            target: 10.0.44.44
            usageModel: READ_HEAVY_INFREQ
          resourceGroupName: scgroup
          storageTargetName: st1
          targetType: nfs3
    

    StorageTargets_CreateOrUpdate_BlobNfs

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var storageTarget = new AzureNative.StorageCache.StorageTarget("storageTarget", new()
        {
            BlobNfs = new AzureNative.StorageCache.Inputs.BlobNfsTargetArgs
            {
                Target = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
                UsageModel = "WRITE_WORKLOAD_15",
            },
            CacheName = "sc1",
            Junctions = new[]
            {
                new AzureNative.StorageCache.Inputs.NamespaceJunctionArgs
                {
                    NamespacePath = "/blobnfs",
                },
            },
            ResourceGroupName = "scgroup",
            StorageTargetName = "st1",
            TargetType = "blobNfs",
        });
    
    });
    
    package main
    
    import (
    	storagecache "github.com/pulumi/pulumi-azure-native-sdk/storagecache"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storagecache.NewStorageTarget(ctx, "storageTarget", &storagecache.StorageTargetArgs{
    			BlobNfs: &storagecache.BlobNfsTargetArgs{
    				Target:     pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs"),
    				UsageModel: pulumi.String("WRITE_WORKLOAD_15"),
    			},
    			CacheName: pulumi.String("sc1"),
    			Junctions: []storagecache.NamespaceJunctionArgs{
    				{
    					NamespacePath: pulumi.String("/blobnfs"),
    				},
    			},
    			ResourceGroupName: pulumi.String("scgroup"),
    			StorageTargetName: pulumi.String("st1"),
    			TargetType:        pulumi.String("blobNfs"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storagecache.StorageTarget;
    import com.pulumi.azurenative.storagecache.StorageTargetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var storageTarget = new StorageTarget("storageTarget", StorageTargetArgs.builder()        
                .blobNfs(Map.ofEntries(
                    Map.entry("target", "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs"),
                    Map.entry("usageModel", "WRITE_WORKLOAD_15")
                ))
                .cacheName("sc1")
                .junctions(Map.of("namespacePath", "/blobnfs"))
                .resourceGroupName("scgroup")
                .storageTargetName("st1")
                .targetType("blobNfs")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    storage_target = azure_native.storagecache.StorageTarget("storageTarget",
        blob_nfs=azure_native.storagecache.BlobNfsTargetArgs(
            target="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
            usage_model="WRITE_WORKLOAD_15",
        ),
        cache_name="sc1",
        junctions=[azure_native.storagecache.NamespaceJunctionArgs(
            namespace_path="/blobnfs",
        )],
        resource_group_name="scgroup",
        storage_target_name="st1",
        target_type="blobNfs")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const storageTarget = new azure_native.storagecache.StorageTarget("storageTarget", {
        blobNfs: {
            target: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs",
            usageModel: "WRITE_WORKLOAD_15",
        },
        cacheName: "sc1",
        junctions: [{
            namespacePath: "/blobnfs",
        }],
        resourceGroupName: "scgroup",
        storageTargetName: "st1",
        targetType: "blobNfs",
    });
    
    resources:
      storageTarget:
        type: azure-native:storagecache:StorageTarget
        properties:
          blobNfs:
            target: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Storage/storageAccounts/blofnfs/blobServices/default/containers/blobnfs
            usageModel: WRITE_WORKLOAD_15
          cacheName: sc1
          junctions:
            - namespacePath: /blobnfs
          resourceGroupName: scgroup
          storageTargetName: st1
          targetType: blobNfs
    

    StorageTargets_CreateOrUpdate_NoJunctions

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var storageTarget = new AzureNative.StorageCache.StorageTarget("storageTarget", new()
        {
            CacheName = "sc1",
            Nfs3 = new AzureNative.StorageCache.Inputs.Nfs3TargetArgs
            {
                Target = "10.0.44.44",
                UsageModel = "READ_HEAVY_INFREQ",
            },
            ResourceGroupName = "scgroup",
            StorageTargetName = "st1",
            TargetType = "nfs3",
        });
    
    });
    
    package main
    
    import (
    	storagecache "github.com/pulumi/pulumi-azure-native-sdk/storagecache"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := storagecache.NewStorageTarget(ctx, "storageTarget", &storagecache.StorageTargetArgs{
    			CacheName: pulumi.String("sc1"),
    			Nfs3: &storagecache.Nfs3TargetArgs{
    				Target:     pulumi.String("10.0.44.44"),
    				UsageModel: pulumi.String("READ_HEAVY_INFREQ"),
    			},
    			ResourceGroupName: pulumi.String("scgroup"),
    			StorageTargetName: pulumi.String("st1"),
    			TargetType:        pulumi.String("nfs3"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.storagecache.StorageTarget;
    import com.pulumi.azurenative.storagecache.StorageTargetArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var storageTarget = new StorageTarget("storageTarget", StorageTargetArgs.builder()        
                .cacheName("sc1")
                .nfs3(Map.ofEntries(
                    Map.entry("target", "10.0.44.44"),
                    Map.entry("usageModel", "READ_HEAVY_INFREQ")
                ))
                .resourceGroupName("scgroup")
                .storageTargetName("st1")
                .targetType("nfs3")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    storage_target = azure_native.storagecache.StorageTarget("storageTarget",
        cache_name="sc1",
        nfs3=azure_native.storagecache.Nfs3TargetArgs(
            target="10.0.44.44",
            usage_model="READ_HEAVY_INFREQ",
        ),
        resource_group_name="scgroup",
        storage_target_name="st1",
        target_type="nfs3")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const storageTarget = new azure_native.storagecache.StorageTarget("storageTarget", {
        cacheName: "sc1",
        nfs3: {
            target: "10.0.44.44",
            usageModel: "READ_HEAVY_INFREQ",
        },
        resourceGroupName: "scgroup",
        storageTargetName: "st1",
        targetType: "nfs3",
    });
    
    resources:
      storageTarget:
        type: azure-native:storagecache:StorageTarget
        properties:
          cacheName: sc1
          nfs3:
            target: 10.0.44.44
            usageModel: READ_HEAVY_INFREQ
          resourceGroupName: scgroup
          storageTargetName: st1
          targetType: nfs3
    

    Create StorageTarget Resource

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

    Constructor syntax

    new StorageTarget(name: string, args: StorageTargetArgs, opts?: CustomResourceOptions);
    @overload
    def StorageTarget(resource_name: str,
                      args: StorageTargetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageTarget(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      cache_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      target_type: Optional[Union[str, StorageTargetType]] = None,
                      blob_nfs: Optional[BlobNfsTargetArgs] = None,
                      clfs: Optional[ClfsTargetArgs] = None,
                      junctions: Optional[Sequence[NamespaceJunctionArgs]] = None,
                      nfs3: Optional[Nfs3TargetArgs] = None,
                      provisioning_state: Optional[Union[str, ProvisioningStateType]] = None,
                      storage_target_name: Optional[str] = None,
                      unknown: Optional[UnknownTargetArgs] = None)
    func NewStorageTarget(ctx *Context, name string, args StorageTargetArgs, opts ...ResourceOption) (*StorageTarget, error)
    public StorageTarget(string name, StorageTargetArgs args, CustomResourceOptions? opts = null)
    public StorageTarget(String name, StorageTargetArgs args)
    public StorageTarget(String name, StorageTargetArgs args, CustomResourceOptions options)
    
    type: azure-native:storagecache:StorageTarget
    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 StorageTargetArgs
    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 StorageTargetArgs
    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 StorageTargetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StorageTargetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StorageTargetArgs
    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 storageTargetResource = new AzureNative.Storagecache.StorageTarget("storageTargetResource", new()
    {
        CacheName = "string",
        ResourceGroupName = "string",
        TargetType = "string",
        BlobNfs = 
        {
            { "target", "string" },
            { "usageModel", "string" },
        },
        Clfs = 
        {
            { "target", "string" },
        },
        Junctions = new[]
        {
            
            {
                { "namespacePath", "string" },
                { "nfsAccessPolicy", "string" },
                { "nfsExport", "string" },
                { "targetPath", "string" },
            },
        },
        Nfs3 = 
        {
            { "target", "string" },
            { "usageModel", "string" },
        },
        ProvisioningState = "string",
        StorageTargetName = "string",
        Unknown = 
        {
            { "attributes", 
            {
                { "string", "string" },
            } },
        },
    });
    
    example, err := storagecache.NewStorageTarget(ctx, "storageTargetResource", &storagecache.StorageTargetArgs{
    	CacheName:         "string",
    	ResourceGroupName: "string",
    	TargetType:        "string",
    	BlobNfs: map[string]interface{}{
    		"target":     "string",
    		"usageModel": "string",
    	},
    	Clfs: map[string]interface{}{
    		"target": "string",
    	},
    	Junctions: []map[string]interface{}{
    		map[string]interface{}{
    			"namespacePath":   "string",
    			"nfsAccessPolicy": "string",
    			"nfsExport":       "string",
    			"targetPath":      "string",
    		},
    	},
    	Nfs3: map[string]interface{}{
    		"target":     "string",
    		"usageModel": "string",
    	},
    	ProvisioningState: "string",
    	StorageTargetName: "string",
    	Unknown: map[string]interface{}{
    		"attributes": map[string]interface{}{
    			"string": "string",
    		},
    	},
    })
    
    var storageTargetResource = new StorageTarget("storageTargetResource", StorageTargetArgs.builder()
        .cacheName("string")
        .resourceGroupName("string")
        .targetType("string")
        .blobNfs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .clfs(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .junctions(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .nfs3(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .provisioningState("string")
        .storageTargetName("string")
        .unknown(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    storage_target_resource = azure_native.storagecache.StorageTarget("storageTargetResource",
        cache_name=string,
        resource_group_name=string,
        target_type=string,
        blob_nfs={
            target: string,
            usageModel: string,
        },
        clfs={
            target: string,
        },
        junctions=[{
            namespacePath: string,
            nfsAccessPolicy: string,
            nfsExport: string,
            targetPath: string,
        }],
        nfs3={
            target: string,
            usageModel: string,
        },
        provisioning_state=string,
        storage_target_name=string,
        unknown={
            attributes: {
                string: string,
            },
        })
    
    const storageTargetResource = new azure_native.storagecache.StorageTarget("storageTargetResource", {
        cacheName: "string",
        resourceGroupName: "string",
        targetType: "string",
        blobNfs: {
            target: "string",
            usageModel: "string",
        },
        clfs: {
            target: "string",
        },
        junctions: [{
            namespacePath: "string",
            nfsAccessPolicy: "string",
            nfsExport: "string",
            targetPath: "string",
        }],
        nfs3: {
            target: "string",
            usageModel: "string",
        },
        provisioningState: "string",
        storageTargetName: "string",
        unknown: {
            attributes: {
                string: "string",
            },
        },
    });
    
    type: azure-native:storagecache:StorageTarget
    properties:
        blobNfs:
            target: string
            usageModel: string
        cacheName: string
        clfs:
            target: string
        junctions:
            - namespacePath: string
              nfsAccessPolicy: string
              nfsExport: string
              targetPath: string
        nfs3:
            target: string
            usageModel: string
        provisioningState: string
        resourceGroupName: string
        storageTargetName: string
        targetType: string
        unknown:
            attributes:
                string: string
    

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

    CacheName string
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    ResourceGroupName string
    Target resource group.
    TargetType string | Pulumi.AzureNative.StorageCache.StorageTargetType
    Type of the Storage Target.
    BlobNfs Pulumi.AzureNative.StorageCache.Inputs.BlobNfsTarget
    Properties when targetType is blobNfs.
    Clfs Pulumi.AzureNative.StorageCache.Inputs.ClfsTarget
    Properties when targetType is clfs.
    Junctions List<Pulumi.AzureNative.StorageCache.Inputs.NamespaceJunction>
    List of Cache namespace junctions to target for namespace associations.
    Nfs3 Pulumi.AzureNative.StorageCache.Inputs.Nfs3Target
    Properties when targetType is nfs3.
    ProvisioningState string | Pulumi.AzureNative.StorageCache.ProvisioningStateType
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    StorageTargetName string
    Name of Storage Target.
    Unknown Pulumi.AzureNative.StorageCache.Inputs.UnknownTarget
    Properties when targetType is unknown.
    CacheName string
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    ResourceGroupName string
    Target resource group.
    TargetType string | StorageTargetType
    Type of the Storage Target.
    BlobNfs BlobNfsTargetArgs
    Properties when targetType is blobNfs.
    Clfs ClfsTargetArgs
    Properties when targetType is clfs.
    Junctions []NamespaceJunctionArgs
    List of Cache namespace junctions to target for namespace associations.
    Nfs3 Nfs3TargetArgs
    Properties when targetType is nfs3.
    ProvisioningState string | ProvisioningStateType
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    StorageTargetName string
    Name of Storage Target.
    Unknown UnknownTargetArgs
    Properties when targetType is unknown.
    cacheName String
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resourceGroupName String
    Target resource group.
    targetType String | StorageTargetType
    Type of the Storage Target.
    blobNfs BlobNfsTarget
    Properties when targetType is blobNfs.
    clfs ClfsTarget
    Properties when targetType is clfs.
    junctions List<NamespaceJunction>
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Nfs3Target
    Properties when targetType is nfs3.
    provisioningState String | ProvisioningStateType
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    storageTargetName String
    Name of Storage Target.
    unknown UnknownTarget
    Properties when targetType is unknown.
    cacheName string
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resourceGroupName string
    Target resource group.
    targetType string | StorageTargetType
    Type of the Storage Target.
    blobNfs BlobNfsTarget
    Properties when targetType is blobNfs.
    clfs ClfsTarget
    Properties when targetType is clfs.
    junctions NamespaceJunction[]
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Nfs3Target
    Properties when targetType is nfs3.
    provisioningState string | ProvisioningStateType
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    storageTargetName string
    Name of Storage Target.
    unknown UnknownTarget
    Properties when targetType is unknown.
    cache_name str
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resource_group_name str
    Target resource group.
    target_type str | StorageTargetType
    Type of the Storage Target.
    blob_nfs BlobNfsTargetArgs
    Properties when targetType is blobNfs.
    clfs ClfsTargetArgs
    Properties when targetType is clfs.
    junctions Sequence[NamespaceJunctionArgs]
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Nfs3TargetArgs
    Properties when targetType is nfs3.
    provisioning_state str | ProvisioningStateType
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    storage_target_name str
    Name of Storage Target.
    unknown UnknownTargetArgs
    Properties when targetType is unknown.
    cacheName String
    Name of Cache. Length of name must not be greater than 80 and chars must be from the [-0-9a-zA-Z_] char class.
    resourceGroupName String
    Target resource group.
    targetType String | "nfs3" | "clfs" | "unknown" | "blobNfs"
    Type of the Storage Target.
    blobNfs Property Map
    Properties when targetType is blobNfs.
    clfs Property Map
    Properties when targetType is clfs.
    junctions List<Property Map>
    List of Cache namespace junctions to target for namespace associations.
    nfs3 Property Map
    Properties when targetType is nfs3.
    provisioningState String | "Succeeded" | "Failed" | "Cancelled" | "Creating" | "Deleting" | "Updating"
    ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
    storageTargetName String
    Name of Storage Target.
    unknown Property Map
    Properties when targetType is unknown.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StorageTarget resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    Region name string.
    Name string
    Name of the Storage Target.
    SystemData Pulumi.AzureNative.StorageCache.Outputs.SystemDataResponse
    The system meta data relating to this resource.
    Type string
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    Id string
    The provider-assigned unique ID for this managed resource.
    Location string
    Region name string.
    Name string
    Name of the Storage Target.
    SystemData SystemDataResponse
    The system meta data relating to this resource.
    Type string
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    Region name string.
    name String
    Name of the Storage Target.
    systemData SystemDataResponse
    The system meta data relating to this resource.
    type String
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    id string
    The provider-assigned unique ID for this managed resource.
    location string
    Region name string.
    name string
    Name of the Storage Target.
    systemData SystemDataResponse
    The system meta data relating to this resource.
    type string
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    id str
    The provider-assigned unique ID for this managed resource.
    location str
    Region name string.
    name str
    Name of the Storage Target.
    system_data SystemDataResponse
    The system meta data relating to this resource.
    type str
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
    id String
    The provider-assigned unique ID for this managed resource.
    location String
    Region name string.
    name String
    Name of the Storage Target.
    systemData Property Map
    The system meta data relating to this resource.
    type String
    Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget

    Supporting Types

    BlobNfsTarget, BlobNfsTargetArgs

    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    target string
    Resource ID of the storage container.
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target str
    Resource ID of the storage container.
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.

    BlobNfsTargetResponse, BlobNfsTargetResponseArgs

    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    Target string
    Resource ID of the storage container.
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    target string
    Resource ID of the storage container.
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target str
    Resource ID of the storage container.
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    Resource ID of the storage container.
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.

    ClfsTarget, ClfsTargetArgs

    Target string
    Resource ID of storage container.
    Target string
    Resource ID of storage container.
    target String
    Resource ID of storage container.
    target string
    Resource ID of storage container.
    target str
    Resource ID of storage container.
    target String
    Resource ID of storage container.

    ClfsTargetResponse, ClfsTargetResponseArgs

    Target string
    Resource ID of storage container.
    Target string
    Resource ID of storage container.
    target String
    Resource ID of storage container.
    target string
    Resource ID of storage container.
    target str
    Resource ID of storage container.
    target String
    Resource ID of storage container.

    NamespaceJunction, NamespaceJunctionArgs

    NamespacePath string
    Namespace path on a Cache for a Storage Target.
    NfsAccessPolicy string
    Name of the access policy applied to this junction.
    NfsExport string
    NFS export where targetPath exists.
    TargetPath string
    Path in Storage Target to which namespacePath points.
    NamespacePath string
    Namespace path on a Cache for a Storage Target.
    NfsAccessPolicy string
    Name of the access policy applied to this junction.
    NfsExport string
    NFS export where targetPath exists.
    TargetPath string
    Path in Storage Target to which namespacePath points.
    namespacePath String
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy String
    Name of the access policy applied to this junction.
    nfsExport String
    NFS export where targetPath exists.
    targetPath String
    Path in Storage Target to which namespacePath points.
    namespacePath string
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy string
    Name of the access policy applied to this junction.
    nfsExport string
    NFS export where targetPath exists.
    targetPath string
    Path in Storage Target to which namespacePath points.
    namespace_path str
    Namespace path on a Cache for a Storage Target.
    nfs_access_policy str
    Name of the access policy applied to this junction.
    nfs_export str
    NFS export where targetPath exists.
    target_path str
    Path in Storage Target to which namespacePath points.
    namespacePath String
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy String
    Name of the access policy applied to this junction.
    nfsExport String
    NFS export where targetPath exists.
    targetPath String
    Path in Storage Target to which namespacePath points.

    NamespaceJunctionResponse, NamespaceJunctionResponseArgs

    NamespacePath string
    Namespace path on a Cache for a Storage Target.
    NfsAccessPolicy string
    Name of the access policy applied to this junction.
    NfsExport string
    NFS export where targetPath exists.
    TargetPath string
    Path in Storage Target to which namespacePath points.
    NamespacePath string
    Namespace path on a Cache for a Storage Target.
    NfsAccessPolicy string
    Name of the access policy applied to this junction.
    NfsExport string
    NFS export where targetPath exists.
    TargetPath string
    Path in Storage Target to which namespacePath points.
    namespacePath String
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy String
    Name of the access policy applied to this junction.
    nfsExport String
    NFS export where targetPath exists.
    targetPath String
    Path in Storage Target to which namespacePath points.
    namespacePath string
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy string
    Name of the access policy applied to this junction.
    nfsExport string
    NFS export where targetPath exists.
    targetPath string
    Path in Storage Target to which namespacePath points.
    namespace_path str
    Namespace path on a Cache for a Storage Target.
    nfs_access_policy str
    Name of the access policy applied to this junction.
    nfs_export str
    NFS export where targetPath exists.
    target_path str
    Path in Storage Target to which namespacePath points.
    namespacePath String
    Namespace path on a Cache for a Storage Target.
    nfsAccessPolicy String
    Name of the access policy applied to this junction.
    nfsExport String
    NFS export where targetPath exists.
    targetPath String
    Path in Storage Target to which namespacePath points.

    Nfs3Target, Nfs3TargetArgs

    Target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    Target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target str
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.

    Nfs3TargetResponse, Nfs3TargetResponseArgs

    Target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    Target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    UsageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.
    target string
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel string
    Identifies the StorageCache usage model to be used for this storage target.
    target str
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usage_model str
    Identifies the StorageCache usage model to be used for this storage target.
    target String
    IP address or host name of an NFSv3 host (e.g., 10.0.44.44).
    usageModel String
    Identifies the StorageCache usage model to be used for this storage target.

    ProvisioningStateType, ProvisioningStateTypeArgs

    Succeeded
    Succeeded
    Failed
    Failed
    Cancelled
    Cancelled
    Creating
    Creating
    Deleting
    Deleting
    Updating
    Updating
    ProvisioningStateTypeSucceeded
    Succeeded
    ProvisioningStateTypeFailed
    Failed
    ProvisioningStateTypeCancelled
    Cancelled
    ProvisioningStateTypeCreating
    Creating
    ProvisioningStateTypeDeleting
    Deleting
    ProvisioningStateTypeUpdating
    Updating
    Succeeded
    Succeeded
    Failed
    Failed
    Cancelled
    Cancelled
    Creating
    Creating
    Deleting
    Deleting
    Updating
    Updating
    Succeeded
    Succeeded
    Failed
    Failed
    Cancelled
    Cancelled
    Creating
    Creating
    Deleting
    Deleting
    Updating
    Updating
    SUCCEEDED
    Succeeded
    FAILED
    Failed
    CANCELLED
    Cancelled
    CREATING
    Creating
    DELETING
    Deleting
    UPDATING
    Updating
    "Succeeded"
    Succeeded
    "Failed"
    Failed
    "Cancelled"
    Cancelled
    "Creating"
    Creating
    "Deleting"
    Deleting
    "Updating"
    Updating

    StorageTargetType, StorageTargetTypeArgs

    Nfs3
    nfs3
    Clfs
    clfs
    Unknown
    unknown
    BlobNfs
    blobNfs
    StorageTargetTypeNfs3
    nfs3
    StorageTargetTypeClfs
    clfs
    StorageTargetTypeUnknown
    unknown
    StorageTargetTypeBlobNfs
    blobNfs
    Nfs3
    nfs3
    Clfs
    clfs
    Unknown
    unknown
    BlobNfs
    blobNfs
    Nfs3
    nfs3
    Clfs
    clfs
    Unknown
    unknown
    BlobNfs
    blobNfs
    NFS3
    nfs3
    CLFS
    clfs
    UNKNOWN
    unknown
    BLOB_NFS
    blobNfs
    "nfs3"
    nfs3
    "clfs"
    clfs
    "unknown"
    unknown
    "blobNfs"
    blobNfs

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    UnknownTarget, UnknownTargetArgs

    Attributes Dictionary<string, string>
    Dictionary of string->string pairs containing information about the Storage Target.
    Attributes map[string]string
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Map<String,String>
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes {[key: string]: string}
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Mapping[str, str]
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Map<String>
    Dictionary of string->string pairs containing information about the Storage Target.

    UnknownTargetResponse, UnknownTargetResponseArgs

    Attributes Dictionary<string, string>
    Dictionary of string->string pairs containing information about the Storage Target.
    Attributes map[string]string
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Map<String,String>
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes {[key: string]: string}
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Mapping[str, str]
    Dictionary of string->string pairs containing information about the Storage Target.
    attributes Map<String>
    Dictionary of string->string pairs containing information about the Storage Target.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:storagecache:StorageTarget st1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1/storagetargets/st1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi