Skip to content

Commit 2b38257

Browse files
committed
Merge branch 'dev' of github.com:Azure/azure-powershell into release-1.0.0-preview
2 parents 3ac4aee + ac71d7f commit 2b38257

File tree

116 files changed

+18692
-343
lines changed

Some content is hidden

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

116 files changed

+18692
-343
lines changed

ChangeLog.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
## 2015.09.03 version 0.9.8
1+
## 2015.10.09 version 1.0 preview
2+
* Azure Resource Manager Management Cmdlets
3+
* New-AzureRmResourceGroup - Removed the template deployment parameters from this cmdlet. Template deployment will now be
4+
handled only through the New-AzureRmResourceGroupDeployment
5+
* Get-AzureRmResource - Will query directly against the Resource Provider. Removed parameters for tags from here. New cmdlets added for querying against the cache as listed below.
6+
* Get-AzureRmResourceGroup - Removed parameters for finding resources through tags. New cmdlet added for handling this
7+
functionality as mentioned below.
8+
* Find-AzureRmResource - Query against the cache.
9+
* Find-AzureRmResourceGroup - Tag parameter added for querying resource group containing specific tags.
10+
* Test-AzureResource - Cmdlet removed. Will be adding a better and reliable way to achieve this scenario which will be guaranteed to work against all Resource providers.
11+
* Test-AzureResourceGroup - Cmdlet removed. Will be adding a better and reliable way to achieve this scenario.
12+
* Get-AzureRmResourceProvider - This cmdlet has been renamed. Earlier it was called Get-AzureProvider. We have changed the output to include locations. Now you can use this to find out which providers and types are available for certain location.
13+
* Cmdlets added for policy
14+
* New-AzureRmPolicyDefinition, Get-AzureRmPolicyDefinition, Set-AzureRMPolicyDefinition, Remove-AzureRmPolicyDefinition
15+
* New-AzureRmPolicyAssignment, Get-AzureRmPolicyAssignment, Set-AzureRmPolicyAssignment, Remove-AzureRmPolicyAssignment
16+
* Consolidated Log cmdlets
17+
* Removed Get-AzureResourceLog, Get-AzureResourceGroupLog, Get-AzureProviderLog
18+
* Added new cmdlet Get-AzureLog which you can use to obtain logs at different scopes like resource group, resource, provider.
19+
* Removed Get-AzureLocation - the functionality is now provided through the Get-AzureRmResourceProvider
20+
21+
## 2015.09.03 version 0.9.8
222
* Azure Redis Cache cmdlets
323
* New-AzureRMRedisCache - 'RedisVersion' parameter is deprecated.
424
* Azure Compute (ARM) Cmdlets

build.proj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@
214214
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft*Azure*Commands*.dll" />
215215
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft.Azure.Common.Extensions.dll" />
216216
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1" />
217+
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.psm1" />
218+
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1xml" />
217219
</ItemGroup>
218220

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

src/Common/Storage/Azure.Storage.psd1

Lines changed: 2 additions & 2 deletions
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'
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Storage'
27+
Description = 'Microsoft Azure PowerShell - Storage service cmdlets. Manages blobs, queues, tables and files in Microsoft Azure storage accounts'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

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/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; }

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public class GetAzureStorageTableCommand : StorageCloudTableCmdletBase
4242

4343
[Alias("N", "Table")]
4444
[Parameter(Position = 0, HelpMessage = "Table name",
45+
ValueFromPipeline = true,
4546
ValueFromPipelineByPropertyName = true,
4647
ParameterSetName = NameParameterSet)]
4748
public string Name { get; set; }

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class NewAzureStorageTableSasTokenCommand : StorageCloudTableCmdletBase
3737
[Alias("N", "Table")]
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/Table/Cmdlet/NewAzureStorageTableStoredAccessPolicy.cs

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

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

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

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public class RemoveAzureStorageTableCommand : StorageCloudTableCmdletBase
3030
{
3131
[Alias("N", "Table")]
3232
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Table name",
33-
ValueFromPipelineByPropertyName = true)]
33+
ValueFromPipeline = true,
34+
ValueFromPipelineByPropertyName = true)]
3435
public string Name { get; set; }
3536

3637
[Parameter(HelpMessage = "Force to remove the table without confirmation")]

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

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

src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Api Management'
27+
Description = 'Microsoft Azure PowerShell - Api Management service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/Automation/AzureRM.Automation.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - Automation'
27+
Description = 'Microsoft Azure PowerShell - Automation service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

src/ResourceManager/AzureBackup/AzureRM.Backup.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ CompanyName = 'Microsoft Corporation'
2424
Copyright = 'Microsoft Corporation. All rights reserved.'
2525

2626
# Description of the functionality provided by this module
27-
Description = 'Microsoft Azure PowerShell - AzureBackup'
27+
Description = 'Microsoft Azure PowerShell - Azure Backup service cmdlets for Azure Resource Manager'
2828

2929
# Minimum version of the Windows PowerShell engine required by this module
3030
PowerShellVersion = '3.0'

0 commit comments

Comments
 (0)