New-AzStorageCacheNamespaceJunctionObject

Create an in-memory object for NamespaceJunction.

Syntax

New-AzStorageCacheNamespaceJunctionObject
   [-NamespacePath <String>]
   [-NfsAccessPolicy <String>]
   [-NfsExport <String>]
   [-TargetPath <String>]
   [<CommonParameters>]

Description

Create an in-memory object for NamespaceJunction.

Examples

Example 1: Create an in-memory object for NamespaceJunction.

New-AzStorageCacheNamespaceJunctionObject -NamespacePath "/path/on/cache" -NfsAccessPolicy "default" -NfsExport "exp2" -TargetPath "/path/on/exp1"

NamespacePath  NfsAccessPolicy NfsExport TargetPath
-------------  --------------- --------- ----------
/path/on/cache default         exp2      /path/on/exp1

Create an in-memory object for NamespaceJunction.

Parameters

-NamespacePath

Namespace path on a cache for a Storage Target.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NfsAccessPolicy

Name of the access policy applied to this junction.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NfsExport

NFS export where targetPath exists.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetPath

Path in Storage Target to which namespacePath points.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Outputs

NamespaceJunction