Skip to content

Commit

Permalink
Merge pull request #1 from Azure/master
Browse files Browse the repository at this point in the history
Syncing changes from original
  • Loading branch information
milostod authored Apr 9, 2019
2 parents 1f3b0d4 + 6b7ccd8 commit fd18400
Show file tree
Hide file tree
Showing 632 changed files with 125,608 additions and 29,697 deletions.
156 changes: 38 additions & 118 deletions CONTRIBUTING.md

Large diffs are not rendered by default.

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
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ Try it out in Azure Cloud Shell!
## Modules
Below is a table containing our Azure PowerShell rollup module.

Description | Module Name | PowerShell Gallery Link
------------------------------------- | --------------------------------------- | -----------------------
Azure PowerShell | `Az` | [![Az]][AzGallery]
Description | Module Name | PowerShell Gallery Link
----------------- | ------------ | -----------------------
Azure PowerShell | `Az` | [![Az]][AzGallery]

For a full list of modules found in this repository, please see the [Azure PowerShell Modules][AzurePowerShelModules] document.

Expand All @@ -27,7 +27,7 @@ Run the following command in an elevated PowerShell session to install the rollu
Install-Module -Name Az
```

This module runs on Windows PowerShell with [.NET Framework 4.7.2][DotNetFramework] or greater, or [PowerShell Core][PowerShellCore]. The Az module replaces AzureRM. You should not install Az side-by-side with AzureRM.
This module runs on Windows PowerShell with [.NET Framework 4.7.2][DotNetFramework] or greater, or [PowerShell Core][PowerShellCore]. The `Az` module replaces `AzureRM`. You should not install `Az` side-by-side with `AzureRM`.

If you have an earlier version of the Azure PowerShell modules installed from the PowerShell Gallery and would like to update to the latest version, run the following commands in an elevated PowerShell session:

Expand All @@ -43,7 +43,7 @@ For detailed instructions on installing Azure PowerShell, please refer to the [i

### Log into Azure

To connect to Azure, use the [Connect-AzAccount][ConnectAzAccount] cmdlet:
To connect to Azure, use the [`Connect-AzAccount`][ConnectAzAccount] cmdlet:

```powershell
# Device Code login - Provides a link to sign into Azure via your web browser
Expand All @@ -53,7 +53,7 @@ Connect-AzAccount
Connect-AzAccount -ServicePrincipal -ApplicationId 'http://my-app' -Credential $PSCredential -TenantId $TenantId
```

To log into a specific cloud (_AzureChinaCloud_, _AzureCloud_, _AzureGermanCloud_, _AzureUSGovernment_), use the `Environment` parameter:
To log into a specific cloud (_AzureChinaCloud_, _AzureCloud_, _AzureGermanCloud_, _AzureUSGovernment_), use the `-Environment` parameter:

```powershell
# Specific cloud login - Logs into the Azure China cloud
Expand All @@ -62,7 +62,7 @@ Connect-AzAccount -Environment AzureChinaCloud

### Getting and setting your Azure PowerShell session context

A session context persists login information across Azure PowerShell modules and PowerShell instances. To view the context you are using in the current session, which contains the subscription and tenant, use the [Get-AzContext][GetAzContext] cmdlet:
A session context persists login information across Azure PowerShell modules and PowerShell instances. To view the context you are using in the current session, which contains the subscription and tenant, use the [`Get-AzContext`][GetAzContext] cmdlet:

```powershell
# Gets the Azure PowerShell context for the current PowerShell session
Expand All @@ -72,7 +72,7 @@ Get-AzContext
Get-AzContext -ListAvailable
```

To get the subscriptions in a tenant, use the [Get-AzSubscription][GetAzSubscription] cmdlet:
To get the subscriptions in a tenant, use the [`Get-AzSubscription`][GetAzSubscription] cmdlet:

```powershell
# Get all of the Azure subscriptions in your current Azure tenant
Expand All @@ -82,7 +82,7 @@ Get-AzSubscription
Get-AzSubscription -TenantId $TenantId
```

To change the subscription that you are using for your current context, use the [Set-AzContext][SetAzContext] cmdlet:
To change the subscription that you are using for your current context, use the [`Set-AzContext`][SetAzContext] cmdlet:

```powershell
# Set the Azure PowerShell context to a specific Azure subscription
Expand Down Expand Up @@ -139,13 +139,13 @@ Alternatively, be sure to check out the [Azure Community Support](https://azure.

### Feedback

If there is a feature you would like to see in Azure PowerShell, please use the [Send-Feedback][SendFeedback] cmdlet, or file an issue in our [GitHub issues][GitHubIssues] page to provide the Azure PowerShell team direct feedback.
If there is a feature you would like to see in Azure PowerShell, please use the [`Send-Feedback`][SendFeedback] cmdlet, or file an issue in our [GitHub issues][GitHubIssues] page to provide the Azure PowerShell team direct feedback.

## Contribute Code

If you would like to become an active contributor to this project, please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines][ContributionGuidelines].

Additional information about contributing to this repository can be found in the [Contributing][Contributing] document and the [Azure PowerShell Developer Guide][DeveloperGuide] document.
Additional information about contributing to this repository can be found in the [`CONTRIBUTING.md`][Contributing] document and the [_Azure PowerShell Developer Guide_][DeveloperGuide] document.

## Learn More

Expand All @@ -162,8 +162,8 @@ _This project has adopted the [Microsoft Open Source Code of Conduct][CodeOfCond

[Contributing]: CONTRIBUTING.md

[AzureIcon]: documentation/MicrosoftAzure-32px.png
[PowershellIcon]: documentation/MicrosoftPowerShellCore-32px.png
[AzureIcon]: documentation/images/MicrosoftAzure-32px.png
[PowershellIcon]: documentation/images/MicrosoftPowerShellCore-32px.png
[AzurePowerShelModules]: documentation/azure-powershell-modules.md
[DeveloperGuide]: documentation/development-docs/azure-powershell-developer-guide.md

Expand Down
6 changes: 4 additions & 2 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
<Message Importance="high" Text="Running check in tests..." />
<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
<PropertyGroup Condition="'$(Framework)' == ''">
<Framework>netcoreapp2.0</Framework>
<Framework>netcoreapp2.1</Framework>
</PropertyGroup>

<!-- https://github.com/Microsoft/msbuild/issues/3157#issuecomment-378002971 -->
Expand All @@ -261,8 +261,10 @@
<AuthExclusions>$(LibraryRoot)src/**/Authenticators.csproj;</AuthExclusions>
<AutomationExclusions>$(LibraryRoot)src/**/Automation.Test.csproj;</AutomationExclusions>
<StorageExclusions>$(LibraryRoot)src/**/Storage.Test.csproj;</StorageExclusions>
<PowerShellCommand Condition=" '$(PowerShellCommand)' == '' ">C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe</PowerShellCommand>
<!-- All PowerShell commands have this prefix -->
<PowerShellCommandPrefix>&quot;$(PowerShellCommand)&quot; -NonInteractive -NoLogo -NoProfile -Command</PowerShellCommandPrefix>
</PropertyGroup>

<MakeDir Directories="$(TestOutputDirectory)" ContinueOnError="false" />
<Exec Command="dotnet new sln -n Azure.PowerShell --force" />
<ItemGroup>
Expand Down
10 changes: 4 additions & 6 deletions build/download-build-steps.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
steps:
- task: DownloadBuildArtifacts@0
displayName: 'Download artifacts'
- task: DownloadPipelineArtifact@0
displayName: 'Download build'
inputs:
buildType: 'current'
downloadType: 'single'
artifactName: artifacts
downloadPath: $(System.DefaultWorkingDirectory)
artifactName: build
targetPath: artifacts
11 changes: 10 additions & 1 deletion build/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
arguments: 'build.proj /t:Build /p:Configuration=$(Configuration)'

- template: publish-artifacts-steps.yml
parameters:
artifactName: build

- job: Generate_Help
displayName: Generate Help
Expand All @@ -47,6 +49,8 @@ jobs:
arguments: 'build.proj /t:GenerateHelp /p:Configuration=$(Configuration)'

- template: publish-artifacts-steps.yml
parameters:
artifactName: help

- job: Static_Analysis
displayName: Static Analysis
Expand All @@ -70,11 +74,14 @@ jobs:
arguments: 'build.proj /t:StaticAnalysis /p:Configuration=$(Configuration)'

- template: publish-artifacts-steps.yml
parameters:
artifactName: static-analysis

- job: Test
displayName: Test
dependsOn: Build
condition: succeeded()
timeoutInMinutes: 120
pool:
vmImage: ${{ parameters.vmImage }}

Expand All @@ -92,4 +99,6 @@ jobs:
custom: msbuild
arguments: 'build.proj /t:Test /p:Configuration=$(Configuration);Framework=netcoreapp2.1'

- template: publish-artifacts-steps.yml
- template: publish-artifacts-steps.yml
parameters:
artifactName: test
11 changes: 7 additions & 4 deletions build/publish-artifacts-steps.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
parameters:
artifactName: ''

steps:
- task: PublishBuildArtifacts@1
displayName: 'Save artifacts'
- task: PublishPipelineArtifact@0
displayName: 'Save ${{ parameters.artifactName }}'
inputs:
artifactName: artifacts
pathtoPublish: artifacts
artifactName: ${{ parameters.artifactName }}
targetPath: artifacts
condition: succeededOrFailed()
2 changes: 1 addition & 1 deletion documentation/Debugging-StaticAnalysis-Errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ _Note_: Sometimes the error listed in the .csv file can be a false positive (for
We take breaking changes very seriously, so please be mindful about the violations that you suppress in our repo.

### Signature Issues
Signature issues occur when your cmdlets do not follow PowerShell standards. Please check [this page](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/azure-powershell-design-guidelines.md) to ensure you are following PowerShell guidelines. Issues with severity 0 or 1 must be addressed, while issues with severity 2 are advisory. If you have an issue with severity 0 or 1 that has been approved by the Azure PowerShell team, you can suppress them following these steps:
Signature issues occur when your cmdlets do not follow PowerShell standards. Please check the [_Cmdlet Best Practices_](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/design-guidelines/cmdlet-best-practices.md) and the [_Parameter Best Practices_](https://github.com/Azure/azure-powershell/blob/master/documentation/development-docs/design-guidelines/parameter-best-practices.md) documents to ensure you are following PowerShell guidelines. Issues with severity 0 or 1 must be addressed, while issues with severity 2 are advisory. If you have an issue with severity 0 or 1 that has been approved by the Azure PowerShell team, you can suppress them following these steps:

- Download the `SignatureIssues.csv` file from the Jenkins build
- Open the file using a text editor (such as VS Code) and copy each of the errors you'd like to suppress
Expand Down
Loading

0 comments on commit fd18400

Please sign in to comment.