Skip to content

Commit

Permalink
Merge pull request Azure#8955 from cormacpayne/merge-release-2019-04-09
Browse files Browse the repository at this point in the history
[1.7.0] Merge release --> master
  • Loading branch information
cormacpayne authored Apr 5, 2019
2 parents 533771b + ec72b31 commit 8710c70
Show file tree
Hide file tree
Showing 329 changed files with 121,766 additions and 26,721 deletions.
57 changes: 57 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,60 @@
## 1.7.0 - April 2019
### Highlights since the last major release
* General availability of `Az` module
* For more information about the `Az` module, please visit the following: https://aka.ms/azps-announce
* Added Location, ResourceGroup, and ResourceName completers: https://azure.microsoft.com/en-us/blog/completers-in-azure-powershell/
* Added wildcard support to Get cmdlets for Az.Compute and Az.Network
* Added interactive and username/password authentication for Windows PowerShell 5.1 only
* Added support for Python 2 runbooks in Az.Automation
* Az.LogicApp: New cmdlets for Integration Account Assemblies and Batch Configuration

#### Az.Accounts
* Updated Add-AzEnvironment and Set-AzEnvironment to accept parameter AzureAnalysisServicesEndpointResourceId

#### Az.AnalysisServices
* Using ServiceClient in dataplane cmdlets and removing the original authentication logic
* Making Add-AzureASAccount a wrapper of Connect-AzAccount to avoid a breaking change

#### Az.Automation
* Fixed New-AzAutomationSoftwareUpdateConfiguration cmdlet bug for Inclusions. Now parameter IncludedKbNumber and IncludedPackageNameMask should work.
* Bug fix for azure automation update management dynamic group

#### Az.Compute
* Add HyperVGeneration parameter to New-AzDiskConfig and New-AzSnapshotConfig
* Allow VM creation with galley image from other tenants.

#### Az.ContainerInstance
* Fixed issue in the -Command parameter of New-AzContainerGroup which added a trailing empty argument

#### Az.DataFactory
* Updated ADF .Net SDK version to 3.0.2
* Updated Set-AzDataFactoryV2 cmdlet with extra parameters for RepoConfiguration related settings.

#### Az.Resources
* Improve handling of providers for 'Get-AzResource' when providing '-ResourceId' or '-ResourceGroupName', '-Name' and '-ResourceType' parameters
* Improve error handling for for 'Test-AzDeployment' and 'Test-AzResourceGroupDeployment'
- Handle errors thrown outside of deployment validation and include them in output of command instead
- More information here: https://github.com/Azure/azure-powershell/issues/6856
* Add '-IgnoreDynamicParameters' switch parameter to set of deployment cmdlets to skip prompt in script and job scenarios
- More information here: https://github.com/Azure/azure-powershell/issues/6856

#### Az.Sql
* Support Database Data Classification.

#### Az.Storage
* Report detail error when create Storage context with parameter -UseConnectedAccount, but without login Azure account
- New-AzStorageContext
* Support Manage Blob Service Properties of a specified Storage account with Management plane API
- Update-AzStorageBlobServiceProperty
- Get-AzStorageBlobServiceProperty
- Enable-AzStorageBlobDeleteRetentionPolicy
- Disable-AzStorageBlobDeleteRetentionPolicy
* -AsJob support for Blob and file upload and download cmdlets
- Get-AzStorageBlobContent
- Set-AzStorageBlobContent
- Get-AzStorageFileContent
- Set-AzStorageFileContent

## 1.6.0 - March 2019
### Highlights since the last major release
* General availability of `Az` module
Expand Down
1 change: 1 addition & 0 deletions build/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ jobs:
displayName: Test
dependsOn: Build
condition: succeeded()
timeoutInMinutes: 120
pool:
vmImage: ${{ parameters.vmImage }}

Expand Down
73 changes: 36 additions & 37 deletions src/Accounts/Accounts/Az.Accounts.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 3/6/2019
# Generated on: 4/4/2019
#

@{
Expand All @@ -12,7 +12,7 @@
# RootModule = ''

# Version number of this module.
ModuleVersion = '1.4.0'
ModuleVersion = '1.5.0'

# Supported PSEditions
CompatiblePSEditions = 'Core', 'Desktop'
Expand Down Expand Up @@ -56,27 +56,27 @@ DotNetFrameworkVersion = '4.7.2'
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = '.\Microsoft.Azure.PowerShell.Authentication.Abstractions.dll',
'.\Microsoft.Azure.PowerShell.Authentication.dll',
'.\Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll',
'.\Microsoft.Azure.PowerShell.Clients.Authorization.dll',
'.\Microsoft.Azure.PowerShell.Clients.Compute.dll',
'.\Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll',
'.\Microsoft.Azure.PowerShell.Clients.Network.dll',
'.\Microsoft.Azure.PowerShell.Clients.ResourceManager.dll',
'.\Microsoft.Azure.PowerShell.Common.dll',
'.\Microsoft.Azure.PowerShell.Storage.dll',
'.\Microsoft.Azure.PowerShell.Clients.Storage.Management.dll',
'.\Microsoft.Azure.PowerShell.Clients.KeyVault.dll',
'.\Microsoft.Azure.PowerShell.Clients.Websites.dll',
'.\Hyak.Common.dll', '.\Microsoft.ApplicationInsights.dll',
'.\Microsoft.Azure.Common.dll',
'.\Microsoft.Rest.ClientRuntime.dll',
'.\Microsoft.Rest.ClientRuntime.Azure.dll',
'.\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll',
'.\Microsoft.WindowsAzure.Storage.dll',
'.\Microsoft.WindowsAzure.Storage.DataMovement.dll',
'.\Microsoft.Azure.PowerShell.Clients.Aks.dll',
RequiredAssemblies = '.\Microsoft.Azure.PowerShell.Authentication.Abstractions.dll',
'.\Microsoft.Azure.PowerShell.Authentication.dll',
'.\Microsoft.Azure.PowerShell.Authentication.ResourceManager.dll',
'.\Microsoft.Azure.PowerShell.Clients.Authorization.dll',
'.\Microsoft.Azure.PowerShell.Clients.Compute.dll',
'.\Microsoft.Azure.PowerShell.Clients.Graph.Rbac.dll',
'.\Microsoft.Azure.PowerShell.Clients.Network.dll',
'.\Microsoft.Azure.PowerShell.Clients.ResourceManager.dll',
'.\Microsoft.Azure.PowerShell.Common.dll',
'.\Microsoft.Azure.PowerShell.Storage.dll',
'.\Microsoft.Azure.PowerShell.Clients.Storage.Management.dll',
'.\Microsoft.Azure.PowerShell.Clients.KeyVault.dll',
'.\Microsoft.Azure.PowerShell.Clients.Websites.dll',
'.\Hyak.Common.dll', '.\Microsoft.ApplicationInsights.dll',
'.\Microsoft.Azure.Common.dll',
'.\Microsoft.Rest.ClientRuntime.dll',
'.\Microsoft.Rest.ClientRuntime.Azure.dll',
'.\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll',
'.\Microsoft.WindowsAzure.Storage.dll',
'.\Microsoft.WindowsAzure.Storage.DataMovement.dll',
'.\Microsoft.Azure.PowerShell.Clients.Aks.dll',
'.\Microsoft.Azure.PowerShell.Strategies.dll'

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
Expand All @@ -95,24 +95,24 @@ NestedModules = @('.\Microsoft.Azure.PowerShell.Cmdlets.Accounts.dll')
FunctionsToExport = @()

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = 'Disable-AzDataCollection', 'Disable-AzContextAutosave',
'Enable-AzDataCollection', 'Enable-AzContextAutosave',
'Remove-AzEnvironment', 'Get-AzEnvironment', 'Set-AzEnvironment',
'Add-AzEnvironment', 'Get-AzSubscription', 'Connect-AzAccount',
'Get-AzContext', 'Set-AzContext', 'Import-AzContext', 'Save-AzContext',
'Get-AzTenant', 'Send-Feedback', 'Resolve-AzError', 'Select-AzContext',
'Rename-AzContext', 'Remove-AzContext', 'Clear-AzContext',
'Disconnect-AzAccount', 'Get-AzContextAutosaveSetting',
'Set-AzDefault', 'Get-AzDefault', 'Clear-AzDefault',
'Register-AzModule', 'Enable-AzureRmAlias', 'Disable-AzureRmAlias',
CmdletsToExport = 'Disable-AzDataCollection', 'Disable-AzContextAutosave',
'Enable-AzDataCollection', 'Enable-AzContextAutosave',
'Remove-AzEnvironment', 'Get-AzEnvironment', 'Set-AzEnvironment',
'Add-AzEnvironment', 'Get-AzSubscription', 'Connect-AzAccount',
'Get-AzContext', 'Set-AzContext', 'Import-AzContext', 'Save-AzContext',
'Get-AzTenant', 'Send-Feedback', 'Resolve-AzError', 'Select-AzContext',
'Rename-AzContext', 'Remove-AzContext', 'Clear-AzContext',
'Disconnect-AzAccount', 'Get-AzContextAutosaveSetting',
'Set-AzDefault', 'Get-AzDefault', 'Clear-AzDefault',
'Register-AzModule', 'Enable-AzureRmAlias', 'Disable-AzureRmAlias',
'Uninstall-AzureRm'

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = 'Add-AzAccount', 'Login-AzAccount', 'Remove-AzAccount',
'Logout-AzAccount', 'Select-AzSubscription', 'Resolve-Error',
AliasesToExport = 'Add-AzAccount', 'Login-AzAccount', 'Remove-AzAccount',
'Logout-AzAccount', 'Select-AzSubscription', 'Resolve-Error',
'Save-AzProfile', 'Get-AzDomain'

# DSC resources to export from this module
Expand Down Expand Up @@ -142,8 +142,7 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Add ''Register-AzModule'' command to support AutoRest generated cmdlets
* Update examples for Connect-AzAccount'
ReleaseNotes = '* Updated Add-AzEnvironment and Set-AzEnvironment to accept parameter AzureAnalysisServicesEndpointResourceId'

# Prerelease string of this module
# Prerelease = ''
Expand Down
4 changes: 3 additions & 1 deletion src/Accounts/Accounts/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
- Additional information about change #1
-->
## Upcoming Release
* Bug fix for azure automation update management dynamic group

## Version 1.5.0
* Updated Add-AzEnvironment and Set-AzEnvironment to accept parameter AzureAnalysisServicesEndpointResourceId

## Version 1.4.0
* Add 'Register-AzModule' command to support AutoRest generated cmdlets
Expand Down
6 changes: 6 additions & 0 deletions src/Accounts/Accounts/Environment/AddAzureRMEnvironment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ public string DataLakeAudience
HelpMessage = "The endpoint to use when communicating with the Azure Log Analytics API.")]
public string AzureAnalysisServicesEndpointSuffix { get; set; }

[Parameter(Mandatory = false,
HelpMessage = "The resource identifier of the Azure Analysis Services resource.")]
public string AzureAnalysisServicesEndpointResourceId { get; set; }

protected override void BeginProcessing()
{
// do not call begin processing there is no context needed for this cmdlet
Expand Down Expand Up @@ -310,6 +314,8 @@ public override void ExecuteCmdlet()
nameof(AzureOperationalInsightsEndpoint));
SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AnalysisServicesEndpointSuffix,
nameof(AzureAnalysisServicesEndpointSuffix));
SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AnalysisServicesEndpointResourceId,
nameof(AzureAnalysisServicesEndpointResourceId));
WriteObject(new PSAzureEnvironment(profileClient.AddOrSetEnvironment(newEnvironment)));
}
});
Expand Down
6 changes: 6 additions & 0 deletions src/Accounts/Accounts/Environment/SetAzureRMEnvironment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ public string DataLakeAudience
HelpMessage = "The endpoint to use when communicating with the Azure Log Analytics API.")]
public string AzureAnalysisServicesEndpointSuffix { get; set; }

[Parameter(Mandatory = false,
HelpMessage = "The resource identifier of the Azure Analysis Services resource.")]
public string AzureAnalysisServicesEndpointResourceId { get; set; }

protected override void BeginProcessing()
{
// do not call begin processing there is no context needed for this cmdlet
Expand Down Expand Up @@ -311,6 +315,8 @@ public override void ExecuteCmdlet()
nameof(AzureOperationalInsightsEndpoint));
SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AnalysisServicesEndpointSuffix,
nameof(AzureAnalysisServicesEndpointSuffix));
SetEndpointIfBound(newEnvironment, AzureEnvironment.ExtendedEndpoint.AnalysisServicesEndpointResourceId,
nameof(AzureAnalysisServicesEndpointResourceId));
WriteObject(new PSAzureEnvironment(profileClient.AddOrSetEnvironment(newEnvironment)));
}
});
Expand Down
4 changes: 2 additions & 2 deletions src/Accounts/Accounts/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.4.0")]
[assembly: AssemblyFileVersion("1.4.0")]
[assembly: AssemblyVersion("1.5.0")]
[assembly: AssemblyFileVersion("1.5.0")]
#if !SIGN
[assembly: InternalsVisibleTo("Microsoft.Azure.PowerShell.Cmdlets.Accounts.Test")]
#endif
Expand Down
24 changes: 20 additions & 4 deletions src/Accounts/Accounts/help/Add-AzEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Add-AzEnvironment [-Name] <String> [[-PublishSettingsFileUrl] <String>] [[-Servi
[[-AdTenant] <String>] [[-GraphAudience] <String>] [[-DataLakeAudience] <String>]
[[-BatchEndpointResourceId] <String>] [[-AzureOperationalInsightsEndpointResourceId] <String>]
[[-AzureOperationalInsightsEndpoint] <String>] [-AzureAnalysisServicesEndpointSuffix <String>]
[-Scope <ContextModificationScope>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
[<CommonParameters>]
[-AzureAnalysisServicesEndpointResourceId <String>] [-Scope <ContextModificationScope>]
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### ARMEndpoint
Expand All @@ -35,8 +35,9 @@ Add-AzEnvironment [-Name] <String> [[-StorageEndpoint] <String>] [-ARMEndpoint]
[[-AzureKeyVaultDnsSuffix] <String>] [[-AzureKeyVaultServiceEndpointResourceId] <String>]
[[-DataLakeAudience] <String>] [[-BatchEndpointResourceId] <String>]
[[-AzureOperationalInsightsEndpointResourceId] <String>] [[-AzureOperationalInsightsEndpoint] <String>]
[-AzureAnalysisServicesEndpointSuffix <String>] [-Scope <ContextModificationScope>]
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-AzureAnalysisServicesEndpointSuffix <String>] [-AzureAnalysisServicesEndpointResourceId <String>]
[-Scope <ContextModificationScope>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -155,6 +156,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -AzureAnalysisServicesEndpointResourceId
The resource identifier of the Azure Analysis Services resource.
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -AzureAnalysisServicesEndpointSuffix
The endpoint to use when communicating with the Azure Log Analytics API.
Expand Down
24 changes: 20 additions & 4 deletions src/Accounts/Accounts/help/Set-AzEnvironment.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Set-AzEnvironment [-Name] <String> [[-PublishSettingsFileUrl] <String>] [[-Servi
[[-AdTenant] <String>] [[-GraphAudience] <String>] [[-DataLakeAudience] <String>]
[[-BatchEndpointResourceId] <String>] [[-AzureOperationalInsightsEndpointResourceId] <String>]
[[-AzureOperationalInsightsEndpoint] <String>] [-AzureAnalysisServicesEndpointSuffix <String>]
[-Scope <ContextModificationScope>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
[<CommonParameters>]
[-AzureAnalysisServicesEndpointResourceId <String>] [-Scope <ContextModificationScope>]
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### ARMEndpoint
Expand All @@ -35,8 +35,9 @@ Set-AzEnvironment [-Name] <String> [[-StorageEndpoint] <String>] [-ARMEndpoint]
[[-AzureKeyVaultDnsSuffix] <String>] [[-AzureKeyVaultServiceEndpointResourceId] <String>]
[[-DataLakeAudience] <String>] [[-BatchEndpointResourceId] <String>]
[[-AzureOperationalInsightsEndpointResourceId] <String>] [[-AzureOperationalInsightsEndpoint] <String>]
[-AzureAnalysisServicesEndpointSuffix <String>] [-Scope <ContextModificationScope>]
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
[-AzureAnalysisServicesEndpointSuffix <String>] [-AzureAnalysisServicesEndpointResourceId <String>]
[-Scope <ContextModificationScope>] [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm]
[<CommonParameters>]
```

## DESCRIPTION
Expand Down Expand Up @@ -149,6 +150,21 @@ Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```
### -AzureAnalysisServicesEndpointResourceId
The resource identifier of the Azure Analysis Services resource.
```yaml
Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
### -AzureAnalysisServicesEndpointSuffix
The endpoint to use when communicating with the Azure Log Analytics API.
Expand Down
2 changes: 1 addition & 1 deletion src/Advisor/Advisor/Az.Advisor.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.4.0'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.5.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = '.\Microsoft.Azure.Management.Advisor.dll'
Expand Down
2 changes: 1 addition & 1 deletion src/Aks/Aks/Az.Aks.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ DotNetFrameworkVersion = '4.7.2'
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.4.0'; })
RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '1.5.0'; })

# Assemblies that must be loaded prior to importing this module
RequiredAssemblies = '.\YamlDotNet.dll', '.\AutoMapper.dll'
Expand Down
Loading

0 comments on commit 8710c70

Please sign in to comment.