Skip to content

Commit 0f7da15

Browse files
committed
Merge branch 'dev' of https://github.com/Azure/azure-powershell into plural-noun-check
2 parents 0dbb418 + a2fbfd9 commit 0f7da15

File tree

575 files changed

+66409
-39319
lines changed

Some content is hidden

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

575 files changed

+66409
-39319
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ This checklist is used to make sure that common guidelines for a pull request ar
2626

2727
### [Cmdlet Signature Guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#cmdlet-signature-guidelines)
2828
- [ ] New cmdlets that make changes or have side effects should implement `ShouldProcess` and have `SupportShouldProcess=true` specified in the cmdlet attribute. You can find more information on `ShouldProcess` [here](https://gist.github.com/markcowl/338e16fe5c8bbf195aff9f8af0db585d#what-is-the-change).
29-
- [ ] Cmdlet specifies `OutputType` attribute if any output is produced - if the cmdlet produces no output, it should implement a `PassThrough` parameter.
29+
- [ ] Cmdlet specifies `OutputType` attribute if any output is produced - if the cmdlet produces no output, it should implement a `PassThru` parameter.
3030

3131
### [Cmdlet Parameter Guidelines](https://github.com/Azure/azure-powershell/blob/dev/CONTRIBUTING.md#cmdlet-parameter-guidelines)
3232
- [ ] Parameter types should not expose types from the management library - complex parameter types should be defined in the module.
3333
- [ ] Complex parameter types are discouraged - a parameter type should be simple types as often as possible. If complex types are used, they should be shallow and easily creatable from a constructor or another cmdlet.
34-
- [ ] Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets.
34+
- [ ] Cmdlet parameter sets should be mutually exclusive - each parameter set must have at least one mandatory parameter not in other parameter sets.

ChangeLog.md

Lines changed: 85 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,88 @@
1-
## 2016.12.14 - Version 3.3.0
1+
## 2017.01.18 - Version 3.4.0
2+
* AnalysisServices
3+
* Added two new dataplane APIs in a separate module Azure.AnalysisServices.psd1
4+
- This introduces two new APIs that enable customers to login to Azure Analysis Services servers and issue a restart command.
5+
* Compute
6+
* Fix Get-AzureRmVM with -Status issue: Get-AzureRmVM throws an exception when Get-AzureRmVM lists multiple VMs and some of the VMs are deleted during Get-AzureRmVM is performed.
7+
* New parameters in New-AzureRmVMSqlServerAutoBackupConfig cmdlet to support Auto Backup for SQL Server 2016 VMs.
8+
- BackupSystemDbs : Specifies if system databases should be added to Sql Server Managed Backup.
9+
- BackupScheduleType : Specifies the type of managed backup schedule, manual or automated. If it's manual, schedule settings need to be specified.
10+
- FullBackupFrequency : Specifies the frequency of Full Backup, daily or weekly.
11+
- FullBackupStartHour : Specifies the hour of the day when the Sql Server Full Backup should start.
12+
- FullBackupWindowInHours : Specifies the window (in hours) when Sql Server Full Backup should occur.
13+
- LogBackupFrequencyInMinutes : Specifies the frequency of Sql Server Log Backup.
14+
* New-AzureVMSqlServer* cmdlets are renamed to New-AzureRmVMSqlServer* now. Old ones will continue to work however.
15+
* DataLakeAnalytics
16+
* Update Get-AdlJob to support Top parameter
17+
* Update Get-AdlJob to return the list of jobs in order by most recently submitted
18+
* Updated help for all cmdlets to include output as well as more descriptions of parameters and the inclusion of aliases.
19+
* Update New-AdlAnalyticsAccount and Set-AdlAnalyticsAccount to support commitment tier options for the service.
20+
* Added OutputType mismatch warnings to all cmdlets with incorrect OutputType attributes. These will be fixed in a future breaking change release.
21+
* DataLakeStore
22+
* Updated help for all cmdlets to include output as well as more descriptions of parameters and the inclusion of aliases.
23+
* Update New-AdlStore and Set-AdlStore to support commitment tier options for the service.
24+
* Added OutputType mismatch warnings to all cmdlets with incorrect OutputType attributes. These will be fixed in a future breaking change release.
25+
* Add Diagnostic logging support to Import-AdlStoreItem and Export-AdlStoreItem. This can be enabled through the following parameters:
26+
* -Debug, enables full diagnostic logging as well as debug logging to the PowerShell console. Most verbose options
27+
* -DiagnosticLogLevel, allows finer control of the output than debug. If used with debug, this is ignored and debug logging is used.
28+
* -DiagnosticLogPath, optionally specify the file to write diagnostic logs to. By default it is written to a file under %LOCALAPPDATA%\AdlDataTransfer
29+
* Added support to New-AdlStore to explicitly opt-out of account encryption. To do so, create the account with the -DisableEncryption flag.
30+
* OperationalInsights
31+
* Get-AzureRmOperationalInsightsSearchResults no longer requires the Top parameter to retrieve results
32+
* Resources
33+
* Support Tag as parameters for Find-AzureRmResource
34+
- Users can now use Tag parameter with Find-AzureRmResource
35+
- Fixed the issue where illegal combinations of TagName, TagValue with other search parameters was allowed in Find-AzureRmResource and would result in users getting exception from the service by disallowing such combinations.
36+
* ServiceBus
37+
* Add SkuCapacity parameter to Set-AzureRmServiceBusNamespace
38+
- User will be able to update the SkuCapacity(Messaging units in case of a premium namespace) of the SeriveBus NameSpace
39+
40+
* Future Breaking Change Notification: We've added a warning about removing property 'ResourceGroupName' from the returned NamespceAttributes from cmdlets New-AzureRmServiceBusNamespace, Get-AzureRmServiceBusNamespace and Set-AzureRmServiceBusNamespace
41+
-The call remains the same, but the returned values NameSpace object will not have the ResourceGroupName property
42+
* Sql
43+
* Added new return parameter "AuditType" to Get-AzureRmSqlDatabaseAuditingPolicy and Get-AzureRmSqlServerAuditingPolicy returned object
44+
- This parameter value indicates the returned auditing policy type - Table or Blob.
45+
* ServiceManagement
46+
* New parameters in New-AzureVMSqlServerAutoBackupConfig cmdlet to support Auto Backup for SQL Server 2016 VMs.
47+
- BackupSystemDbs : Specifies if system databases should be added to Sql Server Managed Backup.
48+
- BackupScheduleType : Specifies the type of managed backup schedule, manual or automated. If it's manual, schedule settings need to be specified.
49+
- FullBackupFrequency : Specifies the frequency of Full Backup, daily or weekly.
50+
- FullBackupStartHour : Specifies the hour of the day when the Sql Server Full Backup should start.
51+
- FullBackupWindowInHours : Specifies the window (in hours) when Sql Server Full Backup should occur.
52+
- LogBackupFrequencyInMinutes : Specifies the frequency of Sql Server Log Backup.
53+
* Storage
54+
* Fix Start-AzureStorageBlobCopy output might has wrong BlobType issue
55+
- Start-AzureStorageBlobCopy
56+
* Fix hang issue when running cmdlets from WPF/Winform context
57+
- Get-AzureStorageBlob
58+
- Get-AzureStorageBlobContent
59+
- Get-AzureStorageBlobCopyState
60+
- Get-AzureStorageContainer
61+
- Get-AzureStorageContainerStoredAccessPolicy
62+
- New-AzureStorageContainer
63+
- Remove-AzureStorageBlob
64+
- Remove-AzureStorageContainer
65+
- Set-AzureStorageBlobContent
66+
- Set-AzureStorageContainerAcl
67+
- Start-AzureStorageBlobCopy
68+
- Stop-AzureStorageBlobCopy
69+
- Get-AzureStorageFile
70+
- Get-AzureStorageFileContent
71+
- Get-AzureStorageFileCopyState
72+
- Get-AzureStorageShare
73+
- Get-AzureStorageShareStoredAccessPolicy
74+
- New-AzureStorageDirectory
75+
- New-AzureStorageShare
76+
- Remove-AzureStorageDirectory
77+
- Remove-AzureStorageFile
78+
- Remove-AzureStorageShare
79+
- Set-AzureStorageFileContent
80+
- Start-AzureStorageFileCopy
81+
- Stop-AzureStorageFileCopy
82+
- Get-AzureStorageQueueStoredAccessPolicy
83+
- Get-AzureStorageTableStoredAccessPolicy
84+
85+
## 2016.12.14 - Version 3.3.0
286
* ApiManagement
387
* Added new cmdlets to manage external Identity Provider Configurations
488
- New-AzureRmApiManagementIdentityProvider

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ This repository contains a set of PowerShell cmdlets for developers and administ
2222
* App Service (Websites)
2323
* SQL Database
2424
* KeyVault
25+
* Data Lake Store
26+
* Data Lake Analytics
2527
* Operational Insights
2628
* Automation
2729
* Batch
@@ -36,7 +38,7 @@ This repository contains a set of PowerShell cmdlets for developers and administ
3638
* Scheduler
3739
* StorSimple
3840
* Redis Cache
39-
41+
4042
* Windows Azure Pack
4143
* Web Site: CRUD web site, deployment, configure and get log, start/stop/restart/show web site
4244
* Service Bus: CRD namespace
@@ -46,7 +48,7 @@ This repository contains a set of PowerShell cmdlets for developers and administ
4648
* Windows Azure Stack
4749
* Azure Stack Administration
4850
* Storage Service Management
49-
51+
5052

5153
For detail descriptions and examples of the cmdlets, type
5254
* ```help azure``` to get all the cmdlets.
@@ -92,7 +94,7 @@ You can also find the standalone installers for all the versions at [Downloads](
9294

9395
In general, follow these steps to start using Microsoft Azure PowerShell
9496

95-
* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](https://azure.microsoft.com/en-us/documentation/articles/install-configure-powershell/).
97+
* Get yourself authenticated with Microsoft Azure. For details, please check out [this article](https://docs.microsoft.com/powershell/azureps-cmdlets-docs/).
9698
* Option 1: Login with your Microsoft account or Organizational account directly from PowerShell. Microsoft Azure Active Directory authentication is used in this case. No management certificate is needed.
9799
* Starting from 1.0.0, you can use ```Add-AzureRmAccount -Credential``` to avoid the browser pop up for Organizational account.
98100
* To use RDFE cmdlets, use ```Add-AzureAccount```

build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<Scope Condition=" $(Scope) == '' " >all</Scope>
4646
</PropertyGroup>
4747
<ItemGroup>
48-
<CmdletSolutionsToBuild Include=".\src\Storage\Storage.sln;.\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln"
48+
<CmdletSolutionsToBuild Include=".\src\Storage\Storage.sln;.\src\ResourceManager\**\*.sln;.\src\ServiceManagement\ServiceManagement.sln;"
4949
Exclude=".\src\ResourceManager\Intune\*.sln"
5050
Condition=" '$(Scope)' == 'all' "/>
5151
<CmdletSolutionsToBuild Include=".\src\ResourceManager\$(Scope)\*.sln"

setup/azurecmd.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
33

4-
<?define productName="Microsoft Azure PowerShell - December 2016" ?>
4+
<?define productName="Microsoft Azure PowerShell - January 2017" ?>
55
<?define sourceDir="$(var.SolutionDir)..\src\Package\$(var.Configuration)" ?>
66
<?define caSourceDir="$(var.SolutionDir)setup\bin\$(var.Configuration)" ?>
77

8-
<?define version="3.3.0" ?>
8+
<?define version="3.4.0" ?>
99

1010
<Product Id="*"
1111
Name="$(var.productName)"

src/Common/Commands.Common.Authentication.Test/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828

2929
[assembly: ComVisible(false)]
3030
[assembly: CLSCompliant(false)]
31-
[assembly: AssemblyVersion("3.3.0")]
32-
[assembly: AssemblyFileVersion("3.3.0")]
31+
[assembly: AssemblyVersion("3.4.0")]
32+
[assembly: AssemblyFileVersion("3.4.0")]
3333
[assembly: CollectionBehavior(DisableTestParallelization = true)]

src/Common/Commands.Common.Authentication/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@
4646
// You can specify all the values or you can default the Build and Revision Numbers
4747
// by using the '*' as shown below:
4848
// [assembly: AssemblyVersion("1.0.*")]
49-
[assembly: AssemblyVersion("3.3.0")]
50-
[assembly: AssemblyFileVersion("3.3.0")]
49+
[assembly: AssemblyVersion("3.4.0")]
50+
[assembly: AssemblyFileVersion("3.4.0")]

src/Common/Commands.Common.Storage/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
[assembly: ComVisible(false)]
2525
[assembly: CLSCompliant(false)]
2626
[assembly: Guid("c565107e-98a9-4703-85cd-a7efc3d8da7b")]
27-
[assembly: AssemblyVersion("3.3.0")]
28-
[assembly: AssemblyFileVersion("3.3.0")]
27+
[assembly: AssemblyVersion("3.4.0")]
28+
[assembly: AssemblyFileVersion("3.4.0")]

src/Common/Commands.Common/AzurePowerShell.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ public class AzurePowerShell
2626

2727
public const string AssemblyCopyright = "Copyright © Microsoft";
2828

29-
public const string AssemblyVersion = "3.3.0";
29+
public const string AssemblyVersion = "3.4.0";
3030

31-
public const string AssemblyFileVersion = "3.3.0";
31+
public const string AssemblyFileVersion = "3.4.0";
3232

3333
public const string ProfileFile = "AzureProfile.json";
3434

src/Common/Commands.Common/GeneralUtilities.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public static class GeneralUtilities
3838

3939
private static List<string> AuthorizationHeaderNames = new List<string>() { "Authorization" };
4040

41+
// this is only used to determine cutoff for streams (not xml or json).
42+
private const int StreamCutOffSize = 10 * 1024; //10KB
43+
4144
private static bool TryFindCertificatesInStore(string thumbprint,
4245
System.Security.Cryptography.X509Certificates.StoreLocation location, out X509Certificate2Collection certificates)
4346
{
@@ -318,7 +321,9 @@ public static string FormatString(string content)
318321
}
319322
else
320323
{
321-
return content;
324+
return content.Length <= GeneralUtilities.StreamCutOffSize ?
325+
content :
326+
content.Substring(0, StreamCutOffSize) + "\r\nDATA TRUNCATED DUE TO SIZE\r\n";
322327
}
323328
}
324329

src/Common/Commands.Common/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
[assembly: ComVisible(false)]
2626
[assembly: CLSCompliant(false)]
2727
[assembly: Guid("4f3ab2e4-cc7a-43ac-bb15-f481fcf94d58")]
28-
[assembly: AssemblyVersion("3.3.0")]
29-
[assembly: AssemblyFileVersion("3.3.0")]
28+
[assembly: AssemblyVersion("3.4.0")]
29+
[assembly: AssemblyFileVersion("3.4.0")]
3030
#if SIGN
3131
[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]
3232
[assembly: InternalsVisibleTo("Microsoft.WindowsAzure.Commands.CloudService, PublicKey=0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9")]

src/Common/Commands.ScenarioTests.Common/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("3.3.0")]
36-
[assembly: AssemblyFileVersion("3.3.0")]
35+
[assembly: AssemblyVersion("3.4.0")]
36+
[assembly: AssemblyFileVersion("3.4.0")]
3737
[assembly: CollectionBehavior(DisableTestParallelization = true)]

src/ResourceManager/AnalysisServices/AnalysisServices.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AnalysisServices.T
1818
EndProject
1919
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AnalysisServices", "Commands.AnalysisServices\Commands.AnalysisServices.csproj", "{8AAB43E6-E8F6-4F91-AF8A-6A63CD78EF1E}"
2020
EndProject
21+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Commands.AnalysisServices.Dataplane", "Commands.AnalysisServices.Dataplane\Commands.AnalysisServices.Dataplane.csproj", "{4944B213-4F12-4815-B416-3FF1853ADCC1}"
22+
EndProject
2123
Global
2224
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2325
Debug|Any CPU = Debug|Any CPU
@@ -52,6 +54,10 @@ Global
5254
{8AAB43E6-E8F6-4F91-AF8A-6A63CD78EF1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
5355
{8AAB43E6-E8F6-4F91-AF8A-6A63CD78EF1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
5456
{8AAB43E6-E8F6-4F91-AF8A-6A63CD78EF1E}.Release|Any CPU.Build.0 = Release|Any CPU
57+
{4944B213-4F12-4815-B416-3FF1853ADCC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
58+
{4944B213-4F12-4815-B416-3FF1853ADCC1}.Debug|Any CPU.Build.0 = Debug|Any CPU
59+
{4944B213-4F12-4815-B416-3FF1853ADCC1}.Release|Any CPU.ActiveCfg = Release|Any CPU
60+
{4944B213-4F12-4815-B416-3FF1853ADCC1}.Release|Any CPU.Build.0 = Release|Any CPU
5561
EndGlobalSection
5662
GlobalSection(SolutionProperties) = preSolution
5763
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)