File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public class NewAzureRmWebAppAzureStoragePath: WebAppBaseClientCmdLet
2929 [ ValidateNotNullOrEmpty ]
3030 public AzureStorageType Type { get ; set ; }
3131
32- [ Parameter ( Mandatory = true , HelpMessage = "Azure Storage account name. E .g.: myfilestorageaccount.file.core.windows.net " ) ]
32+ [ Parameter ( Mandatory = true , HelpMessage = "Azure Storage account name. e .g.: myfilestorageaccount" ) ]
3333 [ ValidateNotNullOrEmpty ]
3434 public string AccountName { get ; set ; }
3535
@@ -41,7 +41,7 @@ public class NewAzureRmWebAppAzureStoragePath: WebAppBaseClientCmdLet
4141 [ ValidateNotNullOrEmpty ]
4242 public string AccessKey { get ; set ; }
4343
44- [ Parameter ( Mandatory = true , HelpMessage = "Path in the container where the share specified by ShareName will be exposed" ) ]
44+ [ Parameter ( Mandatory = true , HelpMessage = "Path in the container where the share specified by ShareName will be exposed. MountPath must be sub-directory of \" mounts \" . " ) ]
4545 [ ValidateNotNullOrEmpty ]
4646 public string MountPath { get ; set ; }
4747
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ Creates an object that represent an Azure Storage path to be mounted inside a We
2525
2626### Example 1
2727``` powershell
28- $storagePath1 = New-AzWebAppAzureStoragePath -Name "RemoteStorageAccount1" -AccountName "myaccount.files.core.windows.net " -Type AzureFiles -ShareName "someShareName" -AccessKey "some access key" `
29- -MountPath "C: \myFolderInsideTheContainerWebApp"
28+ $storagePath1 = New-AzWebAppAzureStoragePath -Name "RemoteStorageAccount1" -AccountName "myaccount" -Type AzureFiles -ShareName "someShareName" -AccessKey "some access key" `
29+ -MountPath "\mounts \myFolderInsideTheContainerWebApp"
3030
31- $storagePath2 = New-AzWebAppAzureStoragePath -Name "RemoteStorageAccount2" -AccountName "myaccount2.files.core.windows.net " -Type AzureFiles -ShareName "someShareName2" -AccessKey "some access key 2" `
32- -MountPath "C: \myFolderInsideTheContainerWebApp2"
31+ $storagePath2 = New-AzWebAppAzureStoragePath -Name "RemoteStorageAccount2" -AccountName "myaccount2" -Type AzureFiles -ShareName "someShareName2" -AccessKey "some access key 2" `
32+ -MountPath "\mounts \myFolderInsideTheContainerWebApp2"
3333
3434Set-AzWebApp -ResourceGroupName myresourcegroup -Name myapp -AzureStoragePath $storagepath1, $storagePath2
3535```
@@ -52,8 +52,7 @@ Accept wildcard characters: False
5252` ` `
5353
5454### -AccountName
55- Azure Storage account name.
56- E.g.: myfilestorageaccount.file.core.windows.net
55+ Azure Storage account name. e.g.: myfilestorageaccount
5756
5857` ` ` yaml
5958Type : System.String
@@ -83,7 +82,7 @@ Accept wildcard characters: False
8382` ` `
8483
8584### -MountPath
86- Path in the container where the share specified by ShareName will be exposed
85+ Path in the container where the share specified by ShareName will be exposed. MountPath must be sub-directory of " \m ounts".
8786
8887` ` ` yaml
8988Type : System.String
You can’t perform that action at this time.
0 commit comments