Skip to content

Commit 159987a

Browse files
committed
Merge pull request #1 from amarzavery/navy
fix for navy
2 parents 4751c00 + 226e6b6 commit 159987a

File tree

217 files changed

+271
-200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

217 files changed

+271
-200
lines changed

build.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@
215215
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft.Azure.Common.Extensions.dll" />
216216
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1" />
217217
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.psm1" />
218+
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1xml" />
218219
</ItemGroup>
219220

220221
<Message Importance="high" Text="$(LibrarySourceFolder)\Package\$(Configuration) does not contains any files to sign. Code sign will skip."

src/Common/Commands.Common.Storage/Commands.Common.Storage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@
127127
<HintPath>..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
128128
</Reference>
129129
<Reference Include="Microsoft.Rest.ClientRuntime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
130-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
130+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.1.3.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
131131
<Private>True</Private>
132132
</Reference>
133133
<Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Commands.Common.Storage/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<package id="Microsoft.Data.Services.Client" version="5.6.4" targetFramework="net45" />
1616
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.18.206251556" targetFramework="net45" />
1717
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
18-
<package id="Microsoft.Rest.ClientRuntime" version="1.2.0" targetFramework="net45" />
18+
<package id="Microsoft.Rest.ClientRuntime" version="1.3.0" targetFramework="net45" />
1919
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="0.9.3" targetFramework="net45" />
2020
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.3" targetFramework="net45" />
2121
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />

src/Common/Commands.Common/Commands.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
<Private>True</Private>
104104
</Reference>
105105
<Reference Include="Microsoft.Rest.ClientRuntime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
106-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
106+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.1.3.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
107107
<Private>True</Private>
108108
</Reference>
109109
<Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Commands.Common/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
1313
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.18.206251556" targetFramework="net45" />
1414
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
15-
<package id="Microsoft.Rest.ClientRuntime" version="1.2.0" targetFramework="net45" />
15+
<package id="Microsoft.Rest.ClientRuntime" version="1.3.0" targetFramework="net45" />
1616
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="0.9.3" targetFramework="net45" />
1717
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />
1818
<package id="Newtonsoft.Json" version="6.0.4" targetFramework="net45" />

src/Common/Commands.ScenarioTests.Common/Commands.ScenarioTests.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
<HintPath>..\..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
9696
</Reference>
9797
<Reference Include="Microsoft.Rest.ClientRuntime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
98-
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
98+
<HintPath>..\..\packages\Microsoft.Rest.ClientRuntime.1.3.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
9999
<Private>True</Private>
100100
</Reference>
101101
<Reference Include="System" />

src/Common/Commands.ScenarioTests.Common/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net45" />
1313
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.18.206251556" targetFramework="net45" />
1414
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
15-
<package id="Microsoft.Rest.ClientRuntime" version="1.2.0" targetFramework="net45" />
15+
<package id="Microsoft.Rest.ClientRuntime" version="1.3.0" targetFramework="net45" />
1616
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="0.9.3" targetFramework="net45" />
1717
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />
1818
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />

src/Common/Storage/Azure.Storage.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@{
1010

1111
# Version number of this module.
12-
ModuleVersion = '0.10.0'
12+
ModuleVersion = '0.10.1'
1313

1414
# ID used to uniquely identify this module
1515
GUID = '00612bca-fa22-401d-a671-9cc48b010e3b'

src/Common/Storage/Commands.Storage.Test/Commands.Storage.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
<HintPath>..\..\..\packages\Microsoft.IdentityModel.Clients.ActiveDirectory.2.18.206251556\lib\net45\Microsoft.IdentityModel.Clients.ActiveDirectory.WindowsForms.dll</HintPath>
9898
</Reference>
9999
<Reference Include="Microsoft.Rest.ClientRuntime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
100-
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
100+
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.1.3.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
101101
<Private>True</Private>
102102
</Reference>
103103
<Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Storage/Commands.Storage.Test/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<package id="Microsoft.Data.Services.Client" version="5.6.4" targetFramework="net45" />
1616
<package id="Microsoft.IdentityModel.Clients.ActiveDirectory" version="2.18.206251556" targetFramework="net45" />
1717
<package id="Microsoft.Net.Http" version="2.2.28" targetFramework="net45" />
18-
<package id="Microsoft.Rest.ClientRuntime" version="1.2.0" targetFramework="net45" />
18+
<package id="Microsoft.Rest.ClientRuntime" version="1.3.0" targetFramework="net45" />
1919
<package id="Microsoft.Rest.ClientRuntime.Azure.Authentication" version="0.9.3" targetFramework="net45" />
2020
<package id="Microsoft.WindowsAzure.ConfigurationManager" version="2.0.3" targetFramework="net45" />
2121
<package id="Microsoft.WindowsAzure.Management" version="4.1.1" targetFramework="net45" />

src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainer.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@ public class GetAzureStorageContainerCommand : StorageCloudBlobCmdletBase
4444

4545
[Alias("N", "Container")]
4646
[Parameter(Position = 0, HelpMessage = "Container Name",
47-
ValueFromPipelineByPropertyName = true,
48-
ParameterSetName = NameParameterSet)]
47+
ValueFromPipeline = true,
48+
ValueFromPipelineByPropertyName = true,
49+
ParameterSetName = NameParameterSet)]
4950
public string Name { get; set; }
5051

5152
[Parameter(HelpMessage = "Container Prefix",

src/Common/Storage/Commands.Storage/Blob/Cmdlet/GetAzureStorageContainerStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class GetAzureStorageContainerStoredAccessPolicyCommand : StorageCloudBlo
3232
[Alias("N", "Name")]
3333
[Parameter(Position = 0, Mandatory = true,
3434
HelpMessage = "Container name",
35+
ValueFromPipeline = true,
3536
ValueFromPipelineByPropertyName = true)]
3637
[ValidateNotNullOrEmpty]
3738
public string Container { get; set; }

src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class NewAzureStorageContainerCommand : StorageCloudBlobCmdletBase
3232
{
3333
[Alias("N", "Container")]
3434
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Container name",
35-
ValueFromPipelineByPropertyName = true)]
35+
ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
3636
[ValidateNotNullOrEmpty]
3737
public string Name { get; set; }
3838

src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerSasToken.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class NewAzureStorageContainerSasTokenCommand : StorageCloudBlobCmdletBas
3737
[Alias("N", "Container")]
3838
[Parameter(Position = 0, Mandatory = true,
3939
HelpMessage = "Container Name",
40+
ValueFromPipeline = true,
4041
ValueFromPipelineByPropertyName = true)]
4142
[ValidateNotNullOrEmpty]
4243
public string Name { get; set; }

src/Common/Storage/Commands.Storage/Blob/Cmdlet/NewAzureStorageContainerStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class NewAzureStorageContainerStoredAccessPolicyCommand : StorageCloudBlo
3131
[Alias("N", "Name")]
3232
[Parameter(Position = 0, Mandatory = true,
3333
HelpMessage = "Container name",
34+
ValueFromPipeline = true,
3435
ValueFromPipelineByPropertyName = true)]
3536
[ValidateNotNullOrEmpty]
3637
public string Container { get; set; }

src/Common/Storage/Commands.Storage/Blob/Cmdlet/RemoveAzureStorageContainer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ public class RemoveAzureStorageContainerCommand : StorageCloudBlobCmdletBase
3333
[Alias("N", "Container")]
3434
[Parameter(Position = 0, Mandatory = true,
3535
HelpMessage = "Container Name",
36-
ValueFromPipelineByPropertyName = true)]
36+
ValueFromPipeline = true,
37+
ValueFromPipelineByPropertyName = true)]
3738
[ValidateNotNullOrEmpty]
3839
public string Name { get; set; }
3940

src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerAcl.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class SetAzureStorageContainerAclCommand : StorageCloudBlobCmdletBase
3333
{
3434
[Alias("N", "Container")]
3535
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Container Name",
36+
ValueFromPipeline = true,
3637
ValueFromPipelineByPropertyName = true)]
3738
public string Name { get; set; }
3839

src/Common/Storage/Commands.Storage/Blob/Cmdlet/SetAzureStorageContainerStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class SetAzureStorageContainerStoredAccessPolicyCommand : StorageCloudBlo
3131
[Alias("N", "Name")]
3232
[Parameter(Position = 0, Mandatory = true,
3333
HelpMessage = "Container name",
34+
ValueFromPipeline = true,
3435
ValueFromPipelineByPropertyName = true)]
3536
[ValidateNotNullOrEmpty]
3637
public string Container { get; set; }

src/Common/Storage/Commands.Storage/Commands.Storage.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<Private>True</Private>
8787
</Reference>
8888
<Reference Include="Microsoft.Rest.ClientRuntime, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
89-
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.1.2.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
89+
<HintPath>..\..\..\packages\Microsoft.Rest.ClientRuntime.1.3.0\lib\net45\Microsoft.Rest.ClientRuntime.dll</HintPath>
9090
<Private>True</Private>
9191
</Reference>
9292
<Reference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication, Version=0.9.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">

src/Common/Storage/Commands.Storage/Common/StorageCloudCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class StorageCloudCmdletBase<T> : AzureDataCmdlet
4343
where T : class
4444
{
4545
[Parameter(HelpMessage = "Azure Storage Context Object",
46-
ValueFromPipelineByPropertyName = true)]
46+
ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
4747
public virtual AzureStorageContext Context { get; set; }
4848

4949
[Parameter(HelpMessage = "The server time out for each request in seconds.")]

src/Common/Storage/Commands.Storage/File/AzureStorageFileCmdletBase.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,17 @@ namespace Microsoft.WindowsAzure.Commands.Storage.File
2323
public abstract class AzureStorageFileCmdletBase : StorageCloudCmdletBase<IStorageFileManagement>
2424
{
2525
[Parameter(
26+
ValueFromPipeline = true,
2627
ValueFromPipelineByPropertyName = true,
2728
ParameterSetName = Constants.ShareNameParameterSetName,
2829
HelpMessage = "Azure Storage Context Object")]
2930
[Parameter(
31+
ValueFromPipeline = true,
3032
ValueFromPipelineByPropertyName = true,
3133
ParameterSetName = Constants.MatchingPrefixParameterSetName,
3234
HelpMessage = "Azure Storage Context Object")]
3335
[Parameter(
36+
ValueFromPipeline = true,
3437
ValueFromPipelineByPropertyName = true,
3538
ParameterSetName = Constants.SpecificParameterSetName,
3639
HelpMessage = "Azure Storage Context Object")]

src/Common/Storage/Commands.Storage/File/Cmdlet/GetAzureStorageShareStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public class GetAzureStorageShareStoredAccessPolicy : AzureStorageFileCmdletBase
3333
[Parameter(Position = 0, Mandatory = true,
3434
ParameterSetName = Constants.ShareNameParameterSetName,
3535
HelpMessage = "Share name",
36+
ValueFromPipeline = true,
3637
ValueFromPipelineByPropertyName = true)]
3738
[ValidateNotNullOrEmpty]
3839
public string ShareName { get; set; }

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageDirectory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public class NewAzureStorageDirectory : AzureStorageFileCmdletBase
5050
[Parameter(
5151
Position = 1,
5252
Mandatory = true,
53+
ValueFromPipeline = true,
5354
ValueFromPipelineByPropertyName = true,
5455
HelpMessage = "Path of the directory to be created.")]
5556
[ValidateNotNullOrEmpty]

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageFileSasToken.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,25 @@ public class NewAzureStorageFileSasToken : AzureStorageFileCmdletBase
5252

5353
[Parameter(Position = 0, Mandatory = true,
5454
HelpMessage = "Share Name",
55+
ValueFromPipeline = true,
5556
ValueFromPipelineByPropertyName = true,
5657
ParameterSetName = NameSasPermissionParameterSet)]
5758
[Parameter(Position = 0, Mandatory = true,
5859
HelpMessage = "Share Name",
60+
ValueFromPipeline = true,
5961
ValueFromPipelineByPropertyName = true,
6062
ParameterSetName = NameSasPolicyParmeterSet)]
6163
[ValidateNotNullOrEmpty]
6264
public string ShareName { get; set; }
6365

6466
[Parameter(Position = 1, Mandatory = true,
6567
HelpMessage = "Path to the cloud file to generate sas token against.",
68+
ValueFromPipeline = true,
6669
ValueFromPipelineByPropertyName = true,
6770
ParameterSetName = NameSasPermissionParameterSet)]
6871
[Parameter(Position = 1, Mandatory = true,
6972
HelpMessage = "Path to the cloud file to generate sas token against.",
73+
ValueFromPipeline = true,
7074
ValueFromPipelineByPropertyName = true,
7175
ParameterSetName = NameSasPolicyParmeterSet)]
7276
[ValidateNotNullOrEmpty]

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShare.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ public class NewAzureStorageShare : AzureStorageFileCmdletBase
2222
[Parameter(
2323
Position = 0,
2424
Mandatory = true,
25+
ValueFromPipeline = true,
2526
ValueFromPipelineByPropertyName = true,
2627
HelpMessage = "Name of the file share to be created.")]
2728
[ValidateNotNullOrEmpty]

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareSasToken.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class NewAzureStorageShareSasToken : AzureStorageFileCmdletBase
3939
[Alias("N", "Name")]
4040
[Parameter(Position = 0, Mandatory = true,
4141
HelpMessage = "Share Name",
42+
ValueFromPipeline = true,
4243
ValueFromPipelineByPropertyName = true)]
4344
[ValidateNotNullOrEmpty]
4445
public string ShareName { get; set; }

src/Common/Storage/Commands.Storage/File/Cmdlet/NewAzureStorageShareStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class NewAzureStorageShareStoredAccessPolicy : AzureStorageFileCmdletBase
3131
[Parameter(Position = 0, Mandatory = true,
3232
ParameterSetName = Constants.ShareNameParameterSetName,
3333
HelpMessage = "Share name",
34+
ValueFromPipeline = true,
3435
ValueFromPipelineByPropertyName = true)]
3536
[ValidateNotNullOrEmpty]
3637
public string ShareName { get; set; }

src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageDirectory.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public class RemoveAzureStorageDirectory : AzureStorageFileCmdletBase
6464
HelpMessage = "Path to the directory to be removed.")]
6565
[Parameter(
6666
Position = 1,
67+
ValueFromPipeline = true,
6768
ValueFromPipelineByPropertyName = true,
6869
ParameterSetName = Constants.DirectoryParameterSetName,
6970
HelpMessage = "Path to the directory to be removed.")]

src/Common/Storage/Commands.Storage/File/Cmdlet/RemoveAzureStorageShare.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class RemoveAzureStorageShare : AzureStorageFileCmdletBase
2929
[Parameter(
3030
Position = 0,
3131
Mandatory = true,
32+
ValueFromPipeline = true,
3233
ValueFromPipelineByPropertyName = true,
3334
ParameterSetName = Constants.ShareNameParameterSetName,
3435
HelpMessage = "Name of the file share to be removed.")]

src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareQuota.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class SetAzureStorageShareQuota : AzureStorageFileCmdletBase
3232
[Parameter(Position = 0, Mandatory = true,
3333
HelpMessage = "Share name",
3434
ParameterSetName = Constants.ShareNameParameterSetName,
35+
ValueFromPipeline = true,
3536
ValueFromPipelineByPropertyName = true)]
3637
[ValidateNotNullOrEmpty]
3738
public string ShareName { get; set; }

src/Common/Storage/Commands.Storage/File/Cmdlet/SetAzureStorageShareStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ public class SetAzureStorageShareStoredAccessPolicy : AzureStorageFileCmdletBase
3232
[Parameter(Position = 0, Mandatory = true,
3333
ParameterSetName = Constants.ShareNameParameterSetName,
3434
HelpMessage = "Share name",
35+
ValueFromPipeline = true,
3536
ValueFromPipelineByPropertyName = true)]
3637
[ValidateNotNullOrEmpty]
3738
public string ShareName { get; set; }

src/Common/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueue.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ public class GetAzureStorageQueueCommand : StorageQueueBaseCmdlet
4343

4444
[Alias("N", "Queue")]
4545
[Parameter(Position = 0, HelpMessage = "Queue name",
46+
ValueFromPipeline = true,
4647
ValueFromPipelineByPropertyName = true,
4748
ParameterSetName = NameParameterSet)]
4849
public string Name { get; set; }

src/Common/Storage/Commands.Storage/Queue/Cmdlet/GetAzureStorageQueueStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class GetAzureStorageQueueStoredAccessPolicyCommand : StorageQueueBaseCmd
3030
[Alias("N", "Name")]
3131
[Parameter(Position = 0, Mandatory = true,
3232
HelpMessage = "Queue Name",
33+
ValueFromPipeline = true,
3334
ValueFromPipelineByPropertyName = true)]
3435
[ValidateNotNullOrEmpty]
3536
public string Queue { get; set; }

src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueue.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ public class NewAzureStorageQueueCommand : StorageQueueBaseCmdlet
2828
{
2929
[Alias("N", "Queue")]
3030
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Queue name",
31-
ValueFromPipelineByPropertyName = true)]
31+
ValueFromPipeline = true,
32+
ValueFromPipelineByPropertyName = true)]
3233
public string Name { get; set; }
3334

3435
/// <summary>

src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueSasToken.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class NewAzureStorageQueueSasTokenCommand : StorageQueueBaseCmdlet
3737
[Alias("N", "Queue")]
3838
[Parameter(Position = 0, Mandatory = true,
3939
HelpMessage = "Table Name",
40+
ValueFromPipeline = true,
4041
ValueFromPipelineByPropertyName = true)]
4142
[ValidateNotNullOrEmpty]
4243
public string Name { get; set; }

src/Common/Storage/Commands.Storage/Queue/Cmdlet/NewAzureStorageQueueStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class NewAzureStorageQueueStoredAccessPolicyCommand : StorageQueueBaseCmd
2929
[Alias("N", "Name")]
3030
[Parameter(Position = 0, Mandatory = true,
3131
HelpMessage = "Queue Name",
32+
ValueFromPipeline = true,
3233
ValueFromPipelineByPropertyName = true)]
3334
[ValidateNotNullOrEmpty]
3435
public string Queue { get; set; }

src/Common/Storage/Commands.Storage/Queue/Cmdlet/RemoveAzureStorageQueue.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class RemoveAzureStorageQueueCommand : StorageQueueBaseCmdlet
2828
[Alias("N", "Queue")]
2929
[Parameter(Position = 0, HelpMessage = "Queue name",
3030
Mandatory = true,
31+
ValueFromPipeline = true,
3132
ValueFromPipelineByPropertyName = true)]
3233
public string Name { get; set; }
3334

src/Common/Storage/Commands.Storage/Queue/Cmdlet/SetAzureStorageQueueStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class SetAzureStorageQueueStoredAccessPolicyCommand : StorageQueueBaseCmd
2929
[Alias("N", "Name")]
3030
[Parameter(Position = 0, Mandatory = true,
3131
HelpMessage = "Queue Name",
32+
ValueFromPipeline = true,
3233
ValueFromPipelineByPropertyName = true)]
3334
[ValidateNotNullOrEmpty]
3435
public string Queue { get; set; }

src/Common/Storage/Commands.Storage/Table/Cmdlet/GetAzureStorageTableStoredAccessPolicy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class GetAzureStorageTableStoredAccessPolicyCommand : StorageCloudTableCm
3030
[Alias("N", "Name")]
3131
[Parameter(Position = 0, Mandatory = true,
3232
HelpMessage = "Table Name",
33+
ValueFromPipeline = true,
3334
ValueFromPipelineByPropertyName = true)]
3435
[ValidateNotNullOrEmpty]
3536
public string Table { get; set; }

0 commit comments

Comments
 (0)