Skip to content

Release 1.4.0 #2211

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

Merged
merged 77 commits into from
May 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
d5f4c53
Add migration cmdlets
hyonholee Mar 2, 2016
eb73d1f
Merge branch 'release-1.2.2' of https://github.com/Azure/azure-powers…
hyonholee Mar 2, 2016
c085075
Remove DebugSettings since it is not included in the private library
hyonholee Mar 2, 2016
0e84453
Update references for Compute,Storage,and Network to private library
hyonholee Mar 2, 2016
50c49da
Remove list publisher extension call
hyonholee Mar 2, 2016
9e7accc
Fix move-azureservice due to client library bug.
hyonholee Mar 2, 2016
a10c5f2
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 1, 2016
522c48e
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 12, 2016
21cc9f9
Remove Invoke-AzureComputeMethod, New-AzureComputeArgumentList and Ne…
hyonholee Apr 12, 2016
d9d5063
Update client library to 13.0.0-prerelease.
hyonholee Apr 12, 2016
54e1ca5
Fix localization issue when choosing existing standard stroage account
hyonholee Apr 12, 2016
68ec5ca
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 12, 2016
83df954
Merge branch 'Release.1.3.2' of https://github.com/Azure/azure-powers…
hyonholee Apr 15, 2016
fd666d6
Disable Static Analysis (temporary change)
hyonholee Apr 15, 2016
e2af065
Set ASM Storage reference back to Nuget and remove Storage migration …
hyonholee Apr 15, 2016
3dfe28d
Update ASM Compute and Network dlls
hyonholee Apr 15, 2016
1d3e786
Update Move-AzureService cmdlet
hyonholee Apr 15, 2016
3d6c312
Add Move-AzureService and Move-AzureVirtualNetwork cmdlets and tests
hyonholee Apr 16, 2016
1f0bd25
Merge branch 'Release.1.3.2' of https://github.com/Azure/azure-powers…
hyonholee Apr 16, 2016
f519e7d
Add migration cmdlets to Preview module
hyonholee Apr 18, 2016
b7e3f62
Update ASM Compute and Network library references
hyonholee Apr 21, 2016
ba0ae91
Update migration deployment cmdlet
hyonholee Apr 21, 2016
594d451
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 21, 2016
c2f8716
Update the compute client library to version 13.0.1-prerelease
hyonholee Apr 21, 2016
c30ba0d
Generate Container Service cmdlets
hyonholee Apr 21, 2016
f0cf827
Fix Update-AzureRmVmssInstance cmdlet name
hyonholee Apr 21, 2016
84e7420
Add ContainerService tests
hyonholee Apr 21, 2016
5ab679c
Merge branch 'migration' of https://github.com/hyonholee/azure-powers…
hyonholee Apr 22, 2016
99c1c10
Update parameter names for Container Service cmdlets
hyonholee Apr 22, 2016
8d5af39
Add LicenseType parameter to New-AzureVMConfig and BYOL test
hyonholee Apr 23, 2016
2cf5b13
Merge pull request #6 from hyonholee/byol
hyonholee Apr 25, 2016
538aa8b
Merge branch 'dev' of https://github.com/hyonholee/azure-powershell i…
hyonholee Apr 25, 2016
b729e08
Update ASM Compute help document
hyonholee Apr 27, 2016
e3dd2d8
Remove migration cmdlets from Preview module
hyonholee Apr 27, 2016
366063b
Fix Get-AzureRmVM output object
hyonholee Apr 27, 2016
612997f
Remove JsonText parameters from PSUsage, PSVirtualMachine and PSVirtu…
hyonholee Apr 27, 2016
5e117c5
Update Compute format with custom control.
hyonholee Apr 27, 2016
97e77d6
Fix Usage object mapping to show unit.
hyonholee Apr 27, 2016
a894cb2
Regenerate with updated auto-generator which supports Table and Custo…
hyonholee Apr 27, 2016
2300814
Update Vm and Vmss test with updated formatting
hyonholee Apr 27, 2016
5285c77
Include generated formatting file
hyonholee Apr 27, 2016
230a402
Add table format for VM
hyonholee Apr 27, 2016
349cc60
Update Compute help file and re-enable static analysis
hyonholee Apr 27, 2016
7c4db92
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 27, 2016
3940d04
Change back to ListPublisherExtensions (previous update was due to mi…
hyonholee Apr 27, 2016
600ac5a
Adding back debug setting for VM (previous update was due to missing …
hyonholee Apr 27, 2016
b0d5441
Remove commented line in ACS test
hyonholee Apr 27, 2016
09eb683
Update test record file with updated version header and disable 4 net…
hyonholee Apr 28, 2016
ef16519
Remove skip tag from liveonly tests, and update test recording file f…
hyonholee Apr 28, 2016
76124f2
Fix overflow during format when extension settings are set.
hyonholee Apr 28, 2016
1d8a616
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 28, 2016
c40c867
Add a line
hyonholee Apr 28, 2016
aebbc8a
Check deployment exists before calling listOperations on a deployment
vivsriaus Apr 28, 2016
2bc46a2
Update according to the comments.
hyonholee Apr 28, 2016
47548fa
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
hyonholee Apr 28, 2016
895e9f7
Capture new record for failing scenario test
vivsriaus Apr 28, 2016
944157e
Remove generated CLI file
hyonholee Apr 28, 2016
841f3df
Update failed tests
hyonholee Apr 28, 2016
d4873ad
Update the package to include new enums
Apr 28, 2016
cf1f8e0
Merge pull request #2170 from hyonholee/dev
markcowl Apr 29, 2016
b0eff82
Merge pull request #2171 from vivsriaus/FixNDIssue
markcowl Apr 29, 2016
84210c6
Updating versions
markcowl Apr 29, 2016
c831993
Merge in changes from upstream
markcowl Apr 29, 2016
359daa8
Normalize profile versions and correct RecoveryServices.Backup version
markcowl Apr 29, 2016
1d30cbe
Merge pull request #2173 from markcowl/release-1.4.0
markcowl Apr 29, 2016
c9bb67d
Merge pull request #2172 from begoldsm/dev
markcowl Apr 29, 2016
8f2a43c
Warn users of upcoming Tag behavior changes in ARM cmdlets
vivsriaus Apr 29, 2016
a029d26
Merge pull request #2176 from vivsriaus/AddTagsWarn
markcowl Apr 29, 2016
fcb117c
Better Error communication in case of Long Running Operation
solankisamir Apr 29, 2016
7a73cb3
Merge remote-tracking branch 'refs/remotes/Azure/release-1.4.0' into …
solankisamir Apr 29, 2016
ec8f2ed
Fixing msi update issue with RedisCache, Updating Module manifest for…
markcowl Apr 29, 2016
e105e79
Merge pull request #2182 from solankisamir/sasolank_updatepowershell
markcowl Apr 30, 2016
fb03ee0
Merge pull request #2183 from markcowl/release-1.4.0
markcowl Apr 30, 2016
cbc3452
Update version of AzureRM.Network module referenced in in AzureRM ro…
markcowl May 2, 2016
cddb270
Add service updates to release notes
markcowl May 2, 2016
f6d8947
Update ChangeLog.md
markcowl May 4, 2016
9325a1b
Merge pull request #2208 from Azure/release-1.4.0
May 5, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
35 changes: 33 additions & 2 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
##2016.05.03 version 1.4.0
##2016.05.04 version 1.4.0
* Azure Resource Manager
- Get-AzureRmLocation cmdley: New cmdlet Lists all public Azure locatiosn with available provider namespaces
- Get-AzureRMResourceGroupDeploymentOperations: Improved output format
- Get-AzureRMDeployment: Responses contain all error details
- Added cmdlet help anbd examples
- Normalized cmdlet parameter defaults and position
* Azure Storage
* Upgrade to Microsoft.Azure.Management.Storage nuget package v5.0 preview
* Add Encryption and Hot/Cool features support to resource mode storage account cmdlets
- New-AzureRmStorageAccount
- Set-AzureRmStorageAccount
Expand All @@ -14,6 +19,32 @@
- New-AzureStorageShareSASToken
- New-AzureStorageShareStoredAccessPolicy
- Set-AzureStorageShareStoredAccessPolicy
* Azure Compute
* Added cmdlets for Contaner Service support
* Bug and help fixes
* Azure Profile
* Added support for German national cloud (AzureGermanCloud)
* Azure APIManagement
* Added Tenant Git Configuration cmdlets
- Get-AzureRmApiManagementTenantGitAccess
- Set-AzureRmApiManagementTenantGitAccess
- Get-AzureRmApiManagementTenantSyncState
- Publish-AzureRmApiManagementTenantGitConfiguration
- Save-AzureRmApiManagementTenantGitConfiguration
* Added ApiManagement Properties cmdlets
- Get-AzureRmApiManagementProperty
- New-AzureRmApiManagementProperty
- Remove-AzureRmApiManagementProperty
- Set-AzureRmApiManagementProperty
* Added Logger cmdlets
- Get-AzureRmApiManagementLogger
- Remove-AzureRmApiManagementLogger
- Set-AzureRmApiManagementLogger
- New-AzureRmApiManagementLogger
* Fixed cmdlet bugs
- NewAzureRMApiManagementAPI: changed Path to optional
- NewAzureRMApiManagementProduct: fixed issue with creating products without Subscriptions
* Azure Recovery Services Backup
* Added Recovery Services Backup cmdlets
- Set-AzureRmRecoveryServicesVaultContext
- Set-AzureRmRecoveryServicesBackupProperties
Expand Down
4 changes: 2 additions & 2 deletions setup/azurecmd.wxs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">

<?define productName="Microsoft Azure PowerShell - April 2016" ?>
<?define productName="Microsoft Azure PowerShell - May 2016" ?>
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>

<?define version="1.3.2" ?>
<?define version="1.4.0" ?>

<Product Id="*"
Name="$(var.productName)"
Expand Down
12 changes: 0 additions & 12 deletions setup/azurecmdfiles.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,6 @@
<Component Id="cmpC7297788AE102ED861765ADE84F7A59B" Guid="*">
<File Id="filEA714AAE425D2451466447C9AFFE825E" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Compute\AzureRmProfileStartup.ps1" />
</Component>
<Component Id="cmpE2DA894B67E7F107B24A69AD6B87F8B3" Guid="*">
<File Id="fil6EA712045B160BE36B4A3D2068D50F9F" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Compute\CheckVersions.ps1" />
</Component>
<Component Id="cmpCC409403AF670A9E0538AC743C61BD66" Guid="*">
<File Id="fil68CB35902CE5A11BE50C9DE228B61D12" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Compute\Hyak.Common.dll" />
</Component>
Expand Down Expand Up @@ -1572,9 +1569,6 @@
<Component Id="cmpFE91A142C4108B5EB50D6C5C5F4A4FA9" Guid="*">
<File Id="fil6D69005A7EDC2EEA35252F1E602D935C" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Network\AzureRmProfileStartup.ps1" />
</Component>
<Component Id="cmp065EDC002BB63B6AA573F18152B7240F" Guid="*">
<File Id="fil559CC58FC4CFCF2A101739440A55FBC7" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Network\CheckVersions.ps1" />
</Component>
<Component Id="cmp02E49F28BB0FA3174A478847B857A4D0" Guid="*">
<File Id="fil379E46A4E79152D00FBBBF3BF85A0BA2" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Network\Hyak.Common.dll" />
</Component>
Expand Down Expand Up @@ -1860,9 +1854,6 @@
<Component Id="cmp6F865A1998C9B6DAE0E8844D0EECF40A" Guid="*">
<File Id="filAF2791E9DF9A44B6D0F375786A415C61" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Profile\AzureRmProfileStartup.ps1" />
</Component>
<Component Id="cmp9002DD73D47754F2109499247914700F" Guid="*">
<File Id="filA918B8D44812C6306881A86655EAA785" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Profile\CheckVersions.ps1" />
</Component>
<Component Id="cmpD738842B230F04E64FD98E3E850E6338" Guid="*">
<File Id="fil73F9971478A8661859398F414D5BDE00" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Profile\Hyak.Common.dll" />
</Component>
Expand Down Expand Up @@ -5261,7 +5252,6 @@
<ComponentRef Id="cmp4F1B147652795AAF834377CCD9CAF2A7" />
<ComponentRef Id="cmp0BDDC10BCAFF9EC25710B20367203609" />
<ComponentRef Id="cmpC7297788AE102ED861765ADE84F7A59B" />
<ComponentRef Id="cmpE2DA894B67E7F107B24A69AD6B87F8B3" />
<ComponentRef Id="cmpCC409403AF670A9E0538AC743C61BD66" />
<ComponentRef Id="cmp8F649774D57C8E90EC765D8FCE36E32A" />
<ComponentRef Id="cmp97D0BCD046DCE5E1A3DA3611DDBA27AB" />
Expand Down Expand Up @@ -5580,7 +5570,6 @@
<ComponentRef Id="cmp9F97686A6D38F8B72B2FB1D62529AF0F" />
<ComponentRef Id="cmpA398972142ABD0AC819F613EE832B65C" />
<ComponentRef Id="cmpFE91A142C4108B5EB50D6C5C5F4A4FA9" />
<ComponentRef Id="cmp065EDC002BB63B6AA573F18152B7240F" />
<ComponentRef Id="cmp02E49F28BB0FA3174A478847B857A4D0" />
<ComponentRef Id="cmp53B7AE5C484C188098FEE906B381461C" />
<ComponentRef Id="cmp246D81BDC7381CDCA512555564D15DF8" />
Expand Down Expand Up @@ -5674,7 +5663,6 @@
<ComponentRef Id="cmpBBEEE168902DFD205E35F47468881929" />
<ComponentRef Id="cmpCDBCF0967EA30044FF3F4478A30C1D5B" />
<ComponentRef Id="cmp6F865A1998C9B6DAE0E8844D0EECF40A" />
<ComponentRef Id="cmp9002DD73D47754F2109499247914700F" />
<ComponentRef Id="cmpD738842B230F04E64FD98E3E850E6338" />
<ComponentRef Id="cmp2BE62623A92CD0986F0915CB16373E90" />
<ComponentRef Id="cmp95E80D6E42ED3C994C89564D15A4E501" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@

[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: AssemblyVersion("1.3.2")]
[assembly: AssemblyFileVersion("1.3.2")]
[assembly: AssemblyVersion("1.4.0")]
[assembly: AssemblyFileVersion("1.4.0")]
[assembly: CollectionBehavior(DisableTestParallelization = true)]
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.2")]
[assembly: AssemblyFileVersion("1.3.2")]
[assembly: AssemblyVersion("1.4.0")]
[assembly: AssemblyFileVersion("1.4.0")]
4 changes: 2 additions & 2 deletions src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("c565107e-98a9-4703-85cd-a7efc3d8da7b")]
[assembly: AssemblyVersion("1.3.2")]
[assembly: AssemblyFileVersion("1.3.2")]
[assembly: AssemblyVersion("1.4.0")]
[assembly: AssemblyFileVersion("1.4.0")]
4 changes: 2 additions & 2 deletions src/Common/Commands.Common/AzurePowerShell.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ public class AzurePowerShell

public const string AssemblyCopyright = "Copyright © Microsoft";

public const string AssemblyVersion = "1.3.2";
public const string AssemblyVersion = "1.4.0";

public const string AssemblyFileVersion = "1.3.2";
public const string AssemblyFileVersion = "1.4.0";

public const string ProfileFile = "AzureProfile.json";

Expand Down
4 changes: 2 additions & 2 deletions src/Common/Commands.Common/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
[assembly: ComVisible(false)]
[assembly: CLSCompliant(false)]
[assembly: Guid("4f3ab2e4-cc7a-43ac-bb15-f481fcf94d58")]
[assembly: AssemblyVersion("1.3.2")]
[assembly: AssemblyFileVersion("1.3.2")]
[assembly: AssemblyVersion("1.4.0")]
[assembly: AssemblyFileVersion("1.4.0")]
#if SIGN
[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.CloudService, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.3.2")]
[assembly: AssemblyFileVersion("1.3.2")]
[assembly: AssemblyVersion("1.4.0")]
[assembly: AssemblyFileVersion("1.4.0")]
[assembly: CollectionBehavior(DisableTestParallelization = true)]
4 changes: 2 additions & 2 deletions src/ResourceManager/ApiManagement/AzureRM.ApiManagement.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
@{

# Version number of this module.
ModuleVersion = '1.0.7'
ModuleVersion = '1.1.0'

# ID used to uniquely identify this module
GUID = 'f875725d-8ce4-423f-a6af-ea880bc63f13'
Expand Down Expand Up @@ -45,7 +45,7 @@ CLRVersion='4.0'
ProcessorArchitecture = 'None'

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '1.0.7'})
RequiredModules = @( @{ ModuleName = 'AzureRM.Profile'; ModuleVersion = '1.0.8'})

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,7 @@ public TenantConfigurationLongRunningOperation BeginSaveTenantGitConfiguration(
context.ServiceName,
saveConfigurationParams);

return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Save-AzureRmApiManagement", longrunningResponse);
return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Save-AzureRmApiManagementTenantGitConfiguration", longrunningResponse);
}

public TenantConfigurationLongRunningOperation BeginPublishTenantGitConfiguration(
Expand All @@ -1707,7 +1707,7 @@ public TenantConfigurationLongRunningOperation BeginPublishTenantGitConfiguratio
context.ServiceName,
deployConfigurationParams);

return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Publish-AzureRmApiManagement", longrunningResponse);
return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Publish-AzureRmApiManagementTenantGitConfiguration", longrunningResponse);
}

public TenantConfigurationLongRunningOperation BeginValidateTenantGitConfiguration(
Expand All @@ -1725,7 +1725,7 @@ public TenantConfigurationLongRunningOperation BeginValidateTenantGitConfigurati
context.ServiceName,
deployConfigurationParams);

return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Publish-AzureRmApiManagement -ValidateOnly", longrunningResponse);
return TenantConfigurationLongRunningOperation.CreateLongRunningOperation("Publish-AzureRmApiManagementTenantGitConfiguration -ValidateOnly", longrunningResponse);
}

public PsApiManagementTenantConfigurationSyncState GetTenantConfigurationSyncState(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,7 @@ protected TenantConfigurationLongRunningOperation WaitForOperationToComplete(Ten

protected void ExecuteTenantConfigurationLongRunningCmdletWrap(
Func<TenantConfigurationLongRunningOperation> func,
bool passThru = false,
object passThruValue = null)
bool passThru = false)
{
try
{
Expand All @@ -121,12 +120,21 @@ protected void ExecuteTenantConfigurationLongRunningCmdletWrap(
longRunningOperation.OperationResult.Error.Message
: longRunningOperation.OperationName;

WriteObject(longRunningOperation.OperationResult);
if (longRunningOperation.OperationResult.Error != null)
{
WriteObject(longRunningOperation.OperationResult.Error);
if (longRunningOperation.OperationResult.Error.Details != null)
{
WriteObject(longRunningOperation.OperationResult.Error.Details, true);
}
}

WriteErrorWithTimestamp(errorMessage);
WriteObject(passThruValue ?? longRunningOperation.OperationResult);
}
else if (passThru)
{
WriteObject(passThruValue ?? longRunningOperation.OperationResult);
WriteObject(longRunningOperation.OperationResult);
}
}
catch (ArgumentException ex)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,10 @@ public override void ExecuteApiManagementCmdlet()
string productId = ProductId ?? Guid.NewGuid().ToString("N");

bool? approvalRequired = null;
if (SubscriptionRequired.HasValue && SubscriptionRequired.Value)
{
approvalRequired = ApprovalRequired ?? false;
}

Int32? subscriptionsLimit = null;
if (SubscriptionRequired.HasValue && SubscriptionRequired.Value)
{
approvalRequired = ApprovalRequired ?? false;
subscriptionsLimit = SubscriptionsLimit ?? 1;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public class NewAzureApiManagementProperty : AzureApiManagementCmdletBase
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "Determines whether the value is a secret and should be encrypted or not." +
" This parameter is optional. Default Value is not Secret.")]
" This parameter is optional. Default Value is false.")]
public SwitchParameter Secret { get; set; }

[Parameter(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public class PublishAzureApiManagementTenantConfiguration : AzureApiManagementCm
ValueFromPipelineByPropertyName = true,
Mandatory = false,
HelpMessage = "If specified then instance of Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult" +
" type representing the operation result.")]
" type representing the operation result will be written to output.")]
public SwitchParameter PassThru { get; set; }

public override void ExecuteApiManagementCmdlet()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class SaveAzureApiManagementTenantConfiguration : AzureApiManagementCmdle
Mandatory = false,
HelpMessage = "If specified then instance of" +
" Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOperationResult type" +
" representing the operation result.")]
" representing the operation result will be written to output.")]
public SwitchParameter PassThru { get; set; }

public override void ExecuteApiManagementCmdlet()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public class SetAzureApiManagementLogger : AzureApiManagementCmdletBase
Mandatory = false,
HelpMessage = "If specified then instance of " +
"Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementLogger type " +
" representing the modified logger.")]
" representing the modified logger will be written to output.")]
public SwitchParameter PassThru { get; set; }

public override void ExecuteApiManagementCmdlet()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public class SetAzureApiManagementOpenIdConnectProvider : AzureApiManagementCmdl
Mandatory = false,
HelpMessage = "If specified then instance of " +
"Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementOpenIdConnectProvider type" +
" representing the modified OpenId Connect Provider.")]
" representing the modified OpenId Connect Provider will be written to output.")]
public SwitchParameter PassThru { get; set; }

public override void ExecuteApiManagementCmdlet()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public class SetAzureApiManagementProperty : AzureApiManagementCmdletBase
Mandatory = false,
HelpMessage = "If specified then instance of " +
"Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Models.PsApiManagementProperty type " +
"representing the modified property.")]
"representing the modified property will be written to output.")]
public SwitchParameter PassThru { get; set; }

public override void ExecuteApiManagementCmdlet()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.0.7")]
[assembly: AssemblyFileVersion("1.0.7")]
[assembly: AssemblyVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.0")]
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management.Compute, Version=12.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.12.6.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll</HintPath>
<HintPath>..\..\..\packages\Microsoft.WindowsAzure.Management.Compute.12.8.0\lib\net40\Microsoft.WindowsAzure.Management.Compute.dll</HintPath>
</Reference>
<Reference Include="Microsoft.WindowsAzure.Management.Storage, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.0.7")]
[assembly: AssemblyFileVersion("1.0.7")]
[assembly: AssemblyVersion("1.1.0")]
[assembly: AssemblyFileVersion("1.1.0")]
Loading