Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vmss #49

Merged
merged 154 commits into from
Oct 21, 2015
Merged

Vmss #49

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
154 commits
Select commit Hold shift + click to select a range
be01aa5
Add Batch cert cmdlets
Oct 2, 2015
c47dfa5
Batch cert cmdlet tests
Oct 5, 2015
61ee3ff
Help for Batch cert cmdlets
Oct 6, 2015
31f4dc6
Batch cert cmdlet updates
Oct 6, 2015
26f1713
Merge branch 'release-1.0.0-preview' of https://github.com/Azure/azur…
hyonholee Oct 8, 2015
19cba6e
Merge pull request #146 from AzureRT/dev
huangpf Oct 8, 2015
368bc48
update
huangpf Oct 8, 2015
318ac6c
Use single quotes for strings in CLI
huangpf Oct 8, 2015
83c03c8
Define variable only once
huangpf Oct 9, 2015
7ac8dd9
Update
huangpf Oct 9, 2015
c98c065
Update
huangpf Oct 9, 2015
47a103c
Update
huangpf Oct 9, 2015
fd794b5
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Oct 9, 2015
527fb0d
Fix ASM Compute test setup.
hyonholee Oct 9, 2015
75ae80d
Add location parameter to virtual machine test
hyonholee Oct 9, 2015
cc48bd9
Merge pull request #148 from AzureRT/dev
huangpf Oct 9, 2015
50f3830
Remove unused parameters
huangpf Oct 9, 2015
e95f664
Merge pull request #149 from Azure/dev
huangpf Oct 9, 2015
fe83fa4
Merge pull request #150 from huangpf/dev
huangpf Oct 9, 2015
ab4d18a
Merge branch 'release-1.0.0-preview' of https://github.com/Azure/azur…
hyonholee Oct 9, 2015
52b3191
Fix ASM AzureRT test setup
hyonholee Oct 9, 2015
446e832
Fix ASM AzureRT test setup
hyonholee Oct 9, 2015
35c4469
Merge branch 'release-1.0.0-preview' of https://github.com/AzureRT/az…
hyonholee Oct 9, 2015
66734fc
Merge pull request #151 from AzureRT/dev
huangpf Oct 9, 2015
d98f91d
Add generated code header
huangpf Oct 9, 2015
586c386
Merge pull request #152 from huangpf/dev
huangpf Oct 9, 2015
17a7bb4
Merge branch 'vmss' of https://github.com/huangpf/azure-powershell in…
huangpf Oct 9, 2015
b73feb8
Merge pull request #153 from Azure/dev
huangpf Oct 10, 2015
148dc14
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf Oct 10, 2015
e9154e3
reenable by value binding for name parameters in storage cmdlets and …
markcowl Oct 10, 2015
372353d
Update package versions for publishins
markcowl Oct 10, 2015
9840813
Update vazurerm module version for fix
markcowl Oct 10, 2015
31ba638
Merge pull request #1103 from markcowl/storagefix
markcowl Oct 12, 2015
d098659
update
huangpf Oct 8, 2015
2e7be4d
Use single quotes for strings in CLI
huangpf Oct 8, 2015
8d6439d
Define variable only once
huangpf Oct 9, 2015
c6d8856
Update
huangpf Oct 9, 2015
6e88eb1
Update
huangpf Oct 9, 2015
17e7c61
Update
huangpf Oct 9, 2015
5010dc8
Update Stream Analytics PowerShell
atpham256 Oct 8, 2015
3c5c2cc
Fix ASM Compute test setup.
hyonholee Oct 9, 2015
f4031d1
Add location parameter to virtual machine test
hyonholee Oct 9, 2015
6e96b46
Remove unused parameters
huangpf Oct 9, 2015
41abb8a
Add generated code header
huangpf Oct 9, 2015
1b68c71
Add back removed resourcemanager startups cript
markcowl Oct 7, 2015
cb236c1
Updating scripts for new module split
markcowl Oct 7, 2015
6351231
Fix badly named cmdlets in Profile and Keyvault
jianghaolu Oct 8, 2015
4aa4d1d
Fix remaining issues with storage account and DSC/IAAS extensions
markcowl Oct 8, 2015
01ada5a
Additional usages of raw subscription
markcowl Oct 8, 2015
6cb65bb
Increased minor version of all packages to 0.10.0
stankovski Oct 8, 2015
78f7308
Support SM/RM cmdlets execution with RP registration
Oct 8, 2015
9193e70
Bumped up MSI and AzureRM version to 1.0
stankovski Oct 8, 2015
b1a019a
Removed verbose setting
stankovski Oct 8, 2015
b3551ef
Added tag "Azure" to packages
stankovski Oct 8, 2015
99a5d77
Add incompatible version check [Fixes #105258902]
markcowl Oct 9, 2015
a214f0a
Fix indentation in new script function
markcowl Oct 9, 2015
5005947
fixing the script for32-bit machines
markcowl Oct 9, 2015
1d7ca62
Fix issue with context changes not copying the token cache
markcowl Oct 9, 2015
4abc31c
Ensure that TokenCache is transmitted to context when context is set
markcowl Oct 9, 2015
c53ce28
Added changes to ARM management cmdlets
ravbhatnagar Oct 9, 2015
764169b
Update package metadata, license uri, and signing
markcowl Oct 9, 2015
f62be59
Merge pull request #1105 from Azure/release-1.0.0-preview2
markcowl Oct 12, 2015
e6a6207
Merge branch 'vmss' of https://github.com/huangpf/azure-powershell in…
huangpf Oct 12, 2015
d8add1f
Merge branch 'vmss' of https://github.com/AzureRT/azure-powershell in…
huangpf Oct 12, 2015
a45046e
+ Generate-FunctionCommand.ps1
huangpf Oct 12, 2015
6b6e4d1
Use only one target, in order to generate consistent PS & CLI code
huangpf Oct 12, 2015
e162ad7
Include Generate-FunctionCommand.ps1
huangpf Oct 12, 2015
74dafb4
Merge pull request #1108 from Azure/master
markcowl Oct 12, 2015
13d9dda
Use V2 Storage accounts for RM based Diagnostics Extenstion
rahulpandit85 Oct 13, 2015
b8b4af8
Update Script
huangpf Oct 13, 2015
6f2d28f
Merge pull request #154 from Azure/dev
huangpf Oct 13, 2015
9e37af6
Merge pull request #155 from huangpf/dev
huangpf Oct 13, 2015
85aeffb
Update Fn Param List
huangpf Oct 13, 2015
a89051e
Merge branch 'vmss' of https://github.com/huangpf/azure-powershell in…
huangpf Oct 13, 2015
ac71d7f
Merge pull request #1079 from jasper-schneider/batchCerts
ogail Oct 13, 2015
f30d495
Update Code Comment
huangpf Oct 14, 2015
577ab59
Adding ruleState to dynamic data masking
yoavrubin Oct 14, 2015
7877f08
Merge branch 'master' of https://github.com/Azure/azure-powershell in…
yoavrubin Oct 14, 2015
08ede14
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
yoavrubin Oct 14, 2015
a1611e1
Merge pull request #156 from Azure/dev
huangpf Oct 14, 2015
754b757
Merge pull request #157 from huangpf/dev
huangpf Oct 14, 2015
d6c7c2c
Remove Spaces in Extension IDs
huangpf Oct 14, 2015
b2a710b
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf Oct 14, 2015
9a0dffa
Merge pull request #158 from huangpf/dev
huangpf Oct 14, 2015
400180f
remove azureASN parameter
deepakswifty Oct 14, 2015
cdca439
Expand All String Typed Param
huangpf Oct 14, 2015
2a1e1d0
Merge branch 'vmss' of https://github.com/huangpf/azure-powershell in…
huangpf Oct 14, 2015
364fe79
Check StringList Type
huangpf Oct 15, 2015
dac565d
Accept List of Strings Separated by Comma
huangpf Oct 15, 2015
3ac4aee
custom role fixes and bug fix
shuagarw Oct 15, 2015
2b38257
Merge branch 'dev' of github.com:Azure/azure-powershell into release-…
shuagarw Oct 15, 2015
6926479
Re-recorded some tests
shuagarw Oct 15, 2015
d5aaa37
role name filter and bug fixes
shuagarw Oct 15, 2015
95ef292
Remove Empty Line in JSON Text
huangpf Oct 15, 2015
798294f
Update
huangpf Oct 15, 2015
cdba402
Audit cmdlets to read storage endoints from env
yoavrubin Oct 15, 2015
d0db0d9
Test fixes and re-recording
shuagarw Oct 15, 2015
de53b36
Re-record test
shuagarw Oct 16, 2015
afb2e62
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Oct 16, 2015
594101b
Merge pull request #45 from AzureRT/release-1.0.0-preview
AzureRT Oct 16, 2015
0d45529
Merge pull request #159 from AzureRT/dev
huangpf Oct 16, 2015
9b51c08
Merge pull request #160 from AzureRT/dev
huangpf Oct 16, 2015
21299ef
Merge pull request #161 from huangpf/dev
huangpf Oct 16, 2015
4ed2091
Merge pull request #46 from huangpf/dev
AzureRT Oct 16, 2015
6887eaa
Revert "Audit cmdlets to read storage endoints from env"
yoavrubin Oct 16, 2015
5baf503
Addressed review comments
shuagarw Oct 16, 2015
69044ea
Merge pull request #1119 from shuagarw/release-1.0.0-preview
amarzavery Oct 16, 2015
554a5a8
Fix AzureRmVirtualNetworkGatewayConnection
deepakswifty Oct 17, 2015
b441129
Fix CLI Problem for Test
huangpf Oct 17, 2015
38d4ba5
Merge branch 'vmss' of https://github.com/huangpf/azure-powershell in…
huangpf Oct 17, 2015
a733b24
Fix
huangpf Oct 17, 2015
d224c27
Fix
huangpf Oct 17, 2015
1272c8a
Update
huangpf Oct 17, 2015
36b0a7d
Merge pull request #162 from Azure/dev
huangpf Oct 18, 2015
d792b8a
Merge pull request #163 from huangpf/dev
huangpf Oct 18, 2015
8f084e8
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
yoavrubin Oct 19, 2015
362f3da
Running tests after checkin
yoavrubin Oct 19, 2015
dc7ee26
Testing rule lifecycle after CI
yoavrubin Oct 19, 2015
518f508
update module version
deepakswifty Oct 19, 2015
813c1f7
update module version
deepakswifty Oct 19, 2015
4d2f8d7
Merge pull request #1116 from yoavrubin/dev
stankovski Oct 19, 2015
5c679fd
Use StorageUtilities to fetch Storage Account keys
rahulpandit85 Oct 19, 2015
f411429
Merge pull request #164 from Azure/dev
huangpf Oct 19, 2015
93edfa5
Update Get-AllCommands.ps1
devigned Oct 19, 2015
8d44f81
Merge pull request #1112 from rahulpandit85/dev
ogail Oct 20, 2015
bd4be66
Merge pull request #165 from Azure/dev
huangpf Oct 20, 2015
73ebe3a
Merge pull request #48 from Azure/dev
AzureRT Oct 20, 2015
e4207be
Merge branch 'dev' of https://github.com/AzureRT/azure-powershell int…
huangpf Oct 20, 2015
c479063
update module version
deepakswifty Oct 20, 2015
d0432ba
update module version
deepakswifty Oct 20, 2015
849c41e
Merge pull request #166 from huangpf/dev
huangpf Oct 20, 2015
e78310d
Bug 5095507:[LIVESITE BLOCKING][HOTFIX] VMProvisioning: Uploading Gol…
yadavbdev Oct 20, 2015
c3eff35
Merge pull request #1138 from yadavbdev/dev
yadavbdev Oct 20, 2015
8da5fe3
Merge pull request #1118 from DeepakRajendranMsft/ERBugs
stankovski Oct 21, 2015
4ae6bf9
fix AzureRT test issue
hyonholee Sep 26, 2015
4309dcf
Fix ASM Compute test setup.
hyonholee Oct 9, 2015
c2b721a
Add location parameter to virtual machine test
hyonholee Oct 9, 2015
b132325
Fix ASM AzureRT test setup
hyonholee Oct 9, 2015
8b88cb1
Remove Spaces in Extension IDs
huangpf Oct 14, 2015
f15c0c0
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf Oct 21, 2015
f6f2e90
fix AzureRT test issue
hyonholee Sep 26, 2015
2c4e712
Fix ASM Compute test setup.
hyonholee Oct 9, 2015
1e40f50
Add location parameter to virtual machine test
hyonholee Oct 9, 2015
a9992ac
Fix ASM AzureRT test setup
hyonholee Oct 9, 2015
ce2fdf0
Remove Spaces in Extension IDs
huangpf Oct 14, 2015
5da9c68
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf Oct 21, 2015
a926a3d
fix AzureRT test issue
hyonholee Sep 26, 2015
479bdbf
Fix ASM Compute test setup.
hyonholee Oct 9, 2015
97ca21d
Add location parameter to virtual machine test
hyonholee Oct 9, 2015
895e55d
Fix ASM AzureRT test setup
hyonholee Oct 9, 2015
ab580df
Remove Spaces in Extension IDs
huangpf Oct 14, 2015
0ddcac8
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf Oct 21, 2015
e7b3571
Merge branch 'dev' of https://github.com/huangpf/azure-powershell int…
huangpf Oct 21, 2015
0f990e4
Update SDK
huangpf Oct 21, 2015
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@
<DelaySignedAssembliesToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\Microsoft.Azure.Common.Extensions.dll" />
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1" />
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.psm1" />
<ScriptsToSign Include="$(LibrarySourceFolder)\Package\$(Configuration)\**\*.ps1xml" />
</ItemGroup>

<Message Importance="high" Text="$(LibrarySourceFolder)\Package\$(Configuration) does not contains any files to sign. Code sign will skip."
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Storage/Azure.Storage.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@{

# Version number of this module.
ModuleVersion = '0.10.0'
ModuleVersion = '0.10.1'

# ID used to uniquely identify this module
GUID = '00612bca-fa22-401d-a671-9cc48b010e3b'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,9 @@ public class GetAzureStorageContainerCommand : StorageCloudBlobCmdletBase

[Alias("N", "Container")]
[Parameter(Position = 0, HelpMessage = "Container Name",
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameParameterSet)]
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameParameterSet)]
public string Name { get; set; }

[Parameter(HelpMessage = "Container Prefix",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class GetAzureStorageContainerStoredAccessPolicyCommand : StorageCloudBlo
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Container name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Container { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class NewAzureStorageContainerCommand : StorageCloudBlobCmdletBase
{
[Alias("N", "Container")]
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Container name",
ValueFromPipelineByPropertyName = true)]
ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Name { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class NewAzureStorageContainerSasTokenCommand : StorageCloudBlobCmdletBas
[Alias("N", "Container")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Container Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class NewAzureStorageContainerStoredAccessPolicyCommand : StorageCloudBlo
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Container name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Container { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ public class RemoveAzureStorageContainerCommand : StorageCloudBlobCmdletBase
[Alias("N", "Container")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Container Name",
ValueFromPipelineByPropertyName = true)]
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Name { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class SetAzureStorageContainerAclCommand : StorageCloudBlobCmdletBase
{
[Alias("N", "Container")]
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Container Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
public string Name { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class SetAzureStorageContainerStoredAccessPolicyCommand : StorageCloudBlo
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Container name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Container { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class StorageCloudCmdletBase<T> : AzureDataCmdlet
where T : class
{
[Parameter(HelpMessage = "Azure Storage Context Object",
ValueFromPipelineByPropertyName = true)]
ValueFromPipeline = true, ValueFromPipelineByPropertyName = true)]
public virtual AzureStorageContext Context { get; set; }

[Parameter(HelpMessage = "The server time out for each request in seconds.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,17 @@ namespace Microsoft.WindowsAzure.Commands.Storage.File
public abstract class AzureStorageFileCmdletBase : StorageCloudCmdletBase<IStorageFileManagement>
{
[Parameter(
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = Constants.ShareNameParameterSetName,
HelpMessage = "Azure Storage Context Object")]
[Parameter(
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = Constants.MatchingPrefixParameterSetName,
HelpMessage = "Azure Storage Context Object")]
[Parameter(
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = Constants.SpecificParameterSetName,
HelpMessage = "Azure Storage Context Object")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class GetAzureStorageShareStoredAccessPolicy : AzureStorageFileCmdletBase
[Parameter(Position = 0, Mandatory = true,
ParameterSetName = Constants.ShareNameParameterSetName,
HelpMessage = "Share name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string ShareName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public class NewAzureStorageDirectory : AzureStorageFileCmdletBase
[Parameter(
Position = 1,
Mandatory = true,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
HelpMessage = "Path of the directory to be created.")]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,25 @@ public class NewAzureStorageFileSasToken : AzureStorageFileCmdletBase

[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Share Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameSasPermissionParameterSet)]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Share Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameSasPolicyParmeterSet)]
[ValidateNotNullOrEmpty]
public string ShareName { get; set; }

[Parameter(Position = 1, Mandatory = true,
HelpMessage = "Path to the cloud file to generate sas token against.",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameSasPermissionParameterSet)]
[Parameter(Position = 1, Mandatory = true,
HelpMessage = "Path to the cloud file to generate sas token against.",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameSasPolicyParmeterSet)]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public class NewAzureStorageShare : AzureStorageFileCmdletBase
[Parameter(
Position = 0,
Mandatory = true,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
HelpMessage = "Name of the file share to be created.")]
[ValidateNotNullOrEmpty]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public class NewAzureStorageShareSasToken : AzureStorageFileCmdletBase
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Share Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string ShareName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class NewAzureStorageShareStoredAccessPolicy : AzureStorageFileCmdletBase
[Parameter(Position = 0, Mandatory = true,
ParameterSetName = Constants.ShareNameParameterSetName,
HelpMessage = "Share name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string ShareName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class RemoveAzureStorageDirectory : AzureStorageFileCmdletBase
HelpMessage = "Path to the directory to be removed.")]
[Parameter(
Position = 1,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = Constants.DirectoryParameterSetName,
HelpMessage = "Path to the directory to be removed.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class RemoveAzureStorageShare : AzureStorageFileCmdletBase
[Parameter(
Position = 0,
Mandatory = true,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = Constants.ShareNameParameterSetName,
HelpMessage = "Name of the file share to be removed.")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class SetAzureStorageShareQuota : AzureStorageFileCmdletBase
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Share name",
ParameterSetName = Constants.ShareNameParameterSetName,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string ShareName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ public class SetAzureStorageShareStoredAccessPolicy : AzureStorageFileCmdletBase
[Parameter(Position = 0, Mandatory = true,
ParameterSetName = Constants.ShareNameParameterSetName,
HelpMessage = "Share name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string ShareName { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public class GetAzureStorageQueueCommand : StorageQueueBaseCmdlet

[Alias("N", "Queue")]
[Parameter(Position = 0, HelpMessage = "Queue name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameParameterSet)]
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class GetAzureStorageQueueStoredAccessPolicyCommand : StorageQueueBaseCmd
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Queue Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Queue { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public class NewAzureStorageQueueCommand : StorageQueueBaseCmdlet
{
[Alias("N", "Queue")]
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Queue name",
ValueFromPipelineByPropertyName = true)]
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
public string Name { get; set; }

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class NewAzureStorageQueueSasTokenCommand : StorageQueueBaseCmdlet
[Alias("N", "Queue")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Table Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class NewAzureStorageQueueStoredAccessPolicyCommand : StorageQueueBaseCmd
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Queue Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Queue { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class RemoveAzureStorageQueueCommand : StorageQueueBaseCmdlet
[Alias("N", "Queue")]
[Parameter(Position = 0, HelpMessage = "Queue name",
Mandatory = true,
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
public string Name { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class SetAzureStorageQueueStoredAccessPolicyCommand : StorageQueueBaseCmd
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Queue Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Queue { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public class GetAzureStorageTableStoredAccessPolicyCommand : StorageCloudTableCm
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Table Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Table { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public class GetAzureStorageTableCommand : StorageCloudTableCmdletBase

[Alias("N", "Table")]
[Parameter(Position = 0, HelpMessage = "Table name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true,
ParameterSetName = NameParameterSet)]
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public class NewAzureStorageTableSasTokenCommand : StorageCloudTableCmdletBase
[Alias("N", "Table")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Table Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Name { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class NewAzureStorageTableStoredAccessPolicyCommand : StorageCloudTableCm
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Table Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Table { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public class NewAzureStorageTableCommand : StorageCloudTableCmdletBase
{
[Alias("N", "Table")]
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Table name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
public string Name { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ public class RemoveAzureStorageTableCommand : StorageCloudTableCmdletBase
{
[Alias("N", "Table")]
[Parameter(Position = 0, Mandatory = true, HelpMessage = "Table name",
ValueFromPipelineByPropertyName = true)]
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
public string Name { get; set; }

[Parameter(HelpMessage = "Force to remove the table without confirmation")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public class SetAzureStorageTableStoredAccessPolicyCommand : StorageCloudTableCm
[Alias("N", "Name")]
[Parameter(Position = 0, Mandatory = true,
HelpMessage = "Table Name",
ValueFromPipeline = true,
ValueFromPipelineByPropertyName = true)]
[ValidateNotNullOrEmpty]
public string Table { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ namespace Microsoft.Azure.Commands.Batch.Test
/// </summary>
public static class BatchTestHelpers
{
internal const string TestCertificateFileName1 = "Resources\\BatchTestCert01.cer";
internal const string TestCertificateFileName2 = "Resources\\BatchTestCert02.cer";
internal const string TestCertificateAlgorithm = "sha1";
internal const string TestCertificatePassword = "Passw0rd";

/// <summary>
/// Builds an AccountResource object using the specified parameters
/// </summary>
Expand Down Expand Up @@ -168,6 +173,44 @@ public static RequestInterceptor CreateFakGetFileAndPropertiesResponseIntercepto
return interceptor;
}

/// <summary>
/// Builds a CertificateGetResponse object
/// </summary>
public static ProxyModels.CertificateGetResponse CreateCertificateGetResponse(string thumbprint)
{
ProxyModels.CertificateGetResponse response = new ProxyModels.CertificateGetResponse();
response.StatusCode = HttpStatusCode.OK;

ProxyModels.Certificate cert = new ProxyModels.Certificate();
cert.Thumbprint = thumbprint;

response.Certificate = cert;

return response;
}

/// <summary>
/// Builds a CertificateListResponse object
/// </summary>
public static ProxyModels.CertificateListResponse CreateCertificateListResponse(IEnumerable<string> certThumbprints)
{
ProxyModels.CertificateListResponse response = new ProxyModels.CertificateListResponse();
response.StatusCode = HttpStatusCode.OK;

List<ProxyModels.Certificate> certs = new List<ProxyModels.Certificate>();

foreach (string t in certThumbprints)
{
ProxyModels.Certificate cert = new ProxyModels.Certificate();
cert.Thumbprint = t;
certs.Add(cert);
}

response.Certificates = certs;

return response;
}

/// <summary>
/// Builds a CloudPoolGetResponse object
/// </summary>
Expand Down
Loading