azure-native.storagecache.StorageTarget
Explore with Pulumi AI
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:
- Cache
Name 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.
- Resource
Group stringName - Target resource group.
- Target
Type string | Pulumi.Azure Native. Storage Cache. Storage Target Type - Type of the Storage Target.
- Blob
Nfs Pulumi.Azure Native. Storage Cache. Inputs. Blob Nfs Target - Properties when targetType is blobNfs.
- Clfs
Pulumi.
Azure Native. Storage Cache. Inputs. Clfs Target - Properties when targetType is clfs.
- Junctions
List<Pulumi.
Azure Native. Storage Cache. Inputs. Namespace Junction> - List of Cache namespace junctions to target for namespace associations.
- Nfs3
Pulumi.
Azure Native. Storage Cache. Inputs. Nfs3Target - Properties when targetType is nfs3.
- Provisioning
State string | Pulumi.Azure Native. Storage Cache. Provisioning State Type - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- Storage
Target stringName - Name of Storage Target.
- Unknown
Pulumi.
Azure Native. Storage Cache. Inputs. Unknown Target - Properties when targetType is unknown.
- Cache
Name 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.
- Resource
Group stringName - Target resource group.
- Target
Type string | StorageTarget Type - Type of the Storage Target.
- Blob
Nfs BlobNfs Target Args - Properties when targetType is blobNfs.
- Clfs
Clfs
Target Args - Properties when targetType is clfs.
- Junctions
[]Namespace
Junction Args - List of Cache namespace junctions to target for namespace associations.
- Nfs3
Nfs3Target
Args - Properties when targetType is nfs3.
- Provisioning
State string | ProvisioningState Type - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- Storage
Target stringName - Name of Storage Target.
- Unknown
Unknown
Target Args - Properties when targetType is unknown.
- cache
Name 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.
- resource
Group StringName - Target resource group.
- target
Type String | StorageTarget Type - Type of the Storage Target.
- blob
Nfs BlobNfs Target - Properties when targetType is blobNfs.
- clfs
Clfs
Target - Properties when targetType is clfs.
- junctions
List<Namespace
Junction> - List of Cache namespace junctions to target for namespace associations.
- nfs3 Nfs3Target
- Properties when targetType is nfs3.
- provisioning
State String | ProvisioningState Type - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- storage
Target StringName - Name of Storage Target.
- unknown
Unknown
Target - Properties when targetType is unknown.
- cache
Name 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.
- resource
Group stringName - Target resource group.
- target
Type string | StorageTarget Type - Type of the Storage Target.
- blob
Nfs BlobNfs Target - Properties when targetType is blobNfs.
- clfs
Clfs
Target - Properties when targetType is clfs.
- junctions
Namespace
Junction[] - List of Cache namespace junctions to target for namespace associations.
- nfs3 Nfs3Target
- Properties when targetType is nfs3.
- provisioning
State string | ProvisioningState Type - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- storage
Target stringName - Name of Storage Target.
- unknown
Unknown
Target - 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_ strname - Target resource group.
- target_
type str | StorageTarget Type - Type of the Storage Target.
- blob_
nfs BlobNfs Target Args - Properties when targetType is blobNfs.
- clfs
Clfs
Target Args - Properties when targetType is clfs.
- junctions
Sequence[Namespace
Junction Args] - List of Cache namespace junctions to target for namespace associations.
- nfs3
Nfs3Target
Args - Properties when targetType is nfs3.
- provisioning_
state str | ProvisioningState Type - ARM provisioning state, see https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property
- storage_
target_ strname - Name of Storage Target.
- unknown
Unknown
Target Args - Properties when targetType is unknown.
- cache
Name 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.
- resource
Group StringName - Target resource group.
- target
Type String | "nfs3" | "clfs" | "unknown" | "blobNfs" - Type of the Storage Target.
- blob
Nfs 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.
- provisioning
State 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
- storage
Target StringName - 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.
- System
Data Pulumi.Azure Native. Storage Cache. Outputs. System Data Response - 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.
- System
Data SystemData Response - 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.
- system
Data SystemData Response - 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.
- system
Data SystemData Response - 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 SystemData Response - 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.
- system
Data 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.
- Usage
Model string - Identifies the StorageCache usage model to be used for this storage target.
- Target string
- Resource ID of the storage container.
- Usage
Model string - Identifies the StorageCache usage model to be used for this storage target.
- target String
- Resource ID of the storage container.
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
- target string
- Resource ID of the storage container.
- usage
Model 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.
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
BlobNfsTargetResponse, BlobNfsTargetResponseArgs
- Target string
- Resource ID of the storage container.
- Usage
Model string - Identifies the StorageCache usage model to be used for this storage target.
- Target string
- Resource ID of the storage container.
- Usage
Model string - Identifies the StorageCache usage model to be used for this storage target.
- target String
- Resource ID of the storage container.
- usage
Model String - Identifies the StorageCache usage model to be used for this storage target.
- target string
- Resource ID of the storage container.
- usage
Model 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.
- usage
Model 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
- Namespace
Path string - Namespace path on a Cache for a Storage Target.
- Nfs
Access stringPolicy - Name of the access policy applied to this junction.
- Nfs
Export string - NFS export where targetPath exists.
- Target
Path string - Path in Storage Target to which namespacePath points.
- Namespace
Path string - Namespace path on a Cache for a Storage Target.
- Nfs
Access stringPolicy - Name of the access policy applied to this junction.
- Nfs
Export string - NFS export where targetPath exists.
- Target
Path string - Path in Storage Target to which namespacePath points.
- namespace
Path String - Namespace path on a Cache for a Storage Target.
- nfs
Access StringPolicy - Name of the access policy applied to this junction.
- nfs
Export String - NFS export where targetPath exists.
- target
Path String - Path in Storage Target to which namespacePath points.
- namespace
Path string - Namespace path on a Cache for a Storage Target.
- nfs
Access stringPolicy - Name of the access policy applied to this junction.
- nfs
Export string - NFS export where targetPath exists.
- target
Path string - Path in Storage Target to which namespacePath points.
- namespace_
path str - Namespace path on a Cache for a Storage Target.
- nfs_
access_ strpolicy - 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.
- namespace
Path String - Namespace path on a Cache for a Storage Target.
- nfs
Access StringPolicy - Name of the access policy applied to this junction.
- nfs
Export String - NFS export where targetPath exists.
- target
Path String - Path in Storage Target to which namespacePath points.
NamespaceJunctionResponse, NamespaceJunctionResponseArgs
- Namespace
Path string - Namespace path on a Cache for a Storage Target.
- Nfs
Access stringPolicy - Name of the access policy applied to this junction.
- Nfs
Export string - NFS export where targetPath exists.
- Target
Path string - Path in Storage Target to which namespacePath points.
- Namespace
Path string - Namespace path on a Cache for a Storage Target.
- Nfs
Access stringPolicy - Name of the access policy applied to this junction.
- Nfs
Export string - NFS export where targetPath exists.
- Target
Path string - Path in Storage Target to which namespacePath points.
- namespace
Path String - Namespace path on a Cache for a Storage Target.
- nfs
Access StringPolicy - Name of the access policy applied to this junction.
- nfs
Export String - NFS export where targetPath exists.
- target
Path String - Path in Storage Target to which namespacePath points.
- namespace
Path string - Namespace path on a Cache for a Storage Target.
- nfs
Access stringPolicy - Name of the access policy applied to this junction.
- nfs
Export string - NFS export where targetPath exists.
- target
Path string - Path in Storage Target to which namespacePath points.
- namespace_
path str - Namespace path on a Cache for a Storage Target.
- nfs_
access_ strpolicy - 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.
- namespace
Path String - Namespace path on a Cache for a Storage Target.
- nfs
Access StringPolicy - Name of the access policy applied to this junction.
- nfs
Export String - NFS export where targetPath exists.
- target
Path 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).
- Usage
Model 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).
- Usage
Model 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).
- usage
Model 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).
- usage
Model 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).
- usage
Model 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).
- Usage
Model 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).
- Usage
Model 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).
- usage
Model 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).
- usage
Model 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).
- usage
Model 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
- Provisioning
State Type Succeeded - Succeeded
- Provisioning
State Type Failed - Failed
- Provisioning
State Type Cancelled - Cancelled
- Provisioning
State Type Creating - Creating
- Provisioning
State Type Deleting - Deleting
- Provisioning
State Type 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
- "Succeeded"
- Succeeded
- "Failed"
- Failed
- "Cancelled"
- Cancelled
- "Creating"
- Creating
- "Deleting"
- Deleting
- "Updating"
- Updating
StorageTargetType, StorageTargetTypeArgs
- Nfs3
- nfs3
- Clfs
- clfs
- Unknown
- unknown
- Blob
Nfs - blobNfs
- Storage
Target Type Nfs3 - nfs3
- Storage
Target Type Clfs - clfs
- Storage
Target Type Unknown - unknown
- Storage
Target Type Blob Nfs - blobNfs
- Nfs3
- nfs3
- Clfs
- clfs
- Unknown
- unknown
- Blob
Nfs - blobNfs
- Nfs3
- nfs3
- Clfs
- clfs
- Unknown
- unknown
- Blob
Nfs - blobNfs
- NFS3
- nfs3
- CLFS
- clfs
- UNKNOWN
- unknown
- BLOB_NFS
- blobNfs
- "nfs3"
- nfs3
- "clfs"
- clfs
- "unknown"
- unknown
- "blob
Nfs" - blobNfs
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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