github Azure/azure-powershell v2.0.0-May2019
2.0.0

latest releases: v13.0.0-November2024, Az.ConnectedKubernetes-v0.13.0, Az.ConnectedKubernetes-v0.12.0...
5 years ago

Az 2.0.0

This is a breaking change release, with breaking changes in Az.Compute and Az.HDInsight cmdlets. A detailed migration guide is available here

Gallery Module for ARM .NET Standard cmdlets: link

To install Az from the PowerShell Gallery, run the following command:

Install-Module -Name Az -Repository PSGallery -Force

To update from an older version of Az, run the following command:

Update-Module -Name Az

Changes since last release

Az.Accounts

  • Update Authentication Library to fix ADFS issues with username/password auth

Az.CognitiveServices

  • Only display Bing disclaimer for Bing Search Services.
  • Improve error when create account failed.

Az.Compute

  • Proximity placement group feature.
    • The following new cmdlets are added:
      New-AzProximityPlacementGroup
      Get-AzProximityPlacementGroup
      Remove-AzProximityPlacementGroup
    • The new parameter, ProximityPlacementGroupId, is added to the following cmdlets:
      New-AzAvailabilitySet
      New-AzVMConfig
      New-AzVmssConfig
  • StorageAccountType parameter is added to New-AzGalleryImageVersion.
  • TargetRegion of New-AzGalleryImageVersion can contain StorageAccountType.
  • SkipShutdown switch parameter is added to Stop-AzVM and Stop-AzVmss
  • Breaking changes
    • Set-AzVMBootDiagnostics is changed to Set-AzVMBootDiagnostic.
    • Export-AzLogAnalyticThrottledRequests is changed to Export-AzLogAnalyticThrottledRequests.

Az.DeploymentManager

  • First Generally Available release of Azure Deployment Manager cmdlets

Az.Dns

  • Automatic DNS NameServer Delegation
    • Create DNS zone cmdlet accepts parent zone name as additional optional parameter.
    • Adds NS records in the parent zone for newly created child zone.

Az.FrontDoor

  • First Generally Available Release of Azure FrontDoor cmdlets
  • Rename WAF cmdlets to include 'Waf'
    • Get-AzFrontDoorFireWallPolicy --> Get-AzFrontDoorWafPolicy
    • New-AzFrontDoorCustomRuleObject --> New-AzFrontDoorWafCustomRuleObject
    • New-AzFrontDoorFireWallPolicy --> New-AzFrontDoorWafPolicy
    • New-AzFrontDoorManagedRuleObject --> New-AzFrontDoorWafManagedRuleObject
    • New-AzFrontDoorManagedRuleOverrideObject --> New-AzFrontDoorWafManagedRuleOverrideObject
    • New-AzFrontDoorMatchConditionObject --> New-AzFrontDoorWafMatchConditionObject
    • New-AzFrontDoorRuleGroupOverrideObject --> New-AzFrontDoorWafRuleGroupOverrideObject
    • Remove-AzFrontDoorFireWallPolicy --> Remove-AzFrontDoorWafPolicy
    • Update-AzFrontDoorFireWallPolicy --> Update-AzFrontDoorWafPolicy

Az.HDInsight

  • Removed two cmdlets:
    • Grant-AzHDInsightHttpServicesAccess
    • Revoke-AzHDInsightHttpServicesAccess
  • Added a new cmdlet Set-AzHDInsightGatewayCredential to replace Grant-AzHDInsightHttpServicesAccess
  • Update cmdlet Get-AzHDInsightJobOutput to distinguish reader role and hdinsight operator role:
    • Users with reader role need to specify 'DefaultStorageAccountKey' parameter explicitly, otherwise error occurs.
    • Users with hdinsight operator role will not be affected.

Az.Monitor

  • New cmdlets for SQR API (Scheduled Query Rule)
    • New-AzScheduledQueryRuleAlertingAction
    • New-AzScheduledQueryRuleAznsActionGroup
    • New-AzScheduledQueryRuleLogMetricTrigger
    • New-AzScheduledQueryRuleSchedule
    • New-AzScheduledQueryRuleSource
    • New-AzScheduledQueryRuleTriggerCondition
    • New-AzScheduledQueryRule
    • Get-AzScheduledQueryRule
    • Set-AzScheduledQueryRule
    • Update-AzScheduledQueryRule
    • Remove-AzScheduledQueryRule
    • More information about SQR API
    • Updated Az.Monitor.md to include cmdlets for GenV2(non classic) metric-based alert rule

Az.Network

  • Add support for Nat Gateway Resource
    • New cmdlets
      • New-AzNatGateway
      • Get-AzNatGateway
      • Set-AzNatGateway
      • Remove-AzNatGateway
    • Updated cmdlets
      • New-AzVirtualNetworkSubnetConfigCommand
      • Add-AzVirtualNetworkSubnetConfigCommand
  • Updated below commands for feature: Custom routes set/remove on Brooklyn Gateway.
    • Updated New-AzVirtualNetworkGateway: Added optional parameter -CustomRoute to set the address prefixes as custom routes to set on Gateway.
    • Updated Set-AzVirtualNetworkGateway: Added optional parameter -CustomRoute to set the address prefixes as custom routes to set on Gateway.

Az.PolicyInsights

  • Support for querying policy evaluation details.
    • Add '-Expand' parameter to Get-AzPolicyState. Support '-Expand PolicyEvaluationDetails'.

Az.RecoveryServices

  • Support for Cross subscription Azure to Azure site recovery.
  • Marking upcoming breaking changes for Azure Site Recovery.
  • Fix for Azure Site Recovery recovery plan end action plan.
  • Fix for Azure Site Recovery Update network mapping for Azure to Azure.
  • Fix for Azure Site Recovery update protection direction for Azure to Azure for managed disk.
  • Other minor fixes.

Az.Relay

  • Fix typos in customer-facing messages

Az.ServiceBus

  • Added new cmdlets for NetworkRuleSet of Namespace

Az.Storage

  • Upgrade to Storage Client Library 10.0.1 (the namespace of all objects from this SDK change from 'Microsoft.WindowsAzure.Storage.' to 'Microsoft.Azure.Storage.')
  • Upgrade to Microsoft.Azure.Management.Storage 11.0.0, to support new API version 2019-04-01.
  • The default Storage account Kind in Create Storage account change from 'Storage' to 'StorageV2'
    • New-AzStorageAccount
  • Change the Storage account cmdlet output Sku.Name to be aligned with input SkuName by add '-', like 'StandardLRS' change to 'Standard_LRS'
    • New-AzStorageAccount
    • Get-AzStorageAccount
    • Set-AzStorageAccount

Az.Websites

  • 'Kind' property will now be set for PSSite objects returned by Get-AzWebApp
  • Get-AzWebApp*Metrics and Get-AzAppServicePlanMetrics marked deprecated

Don't miss a new azure-powershell release

NewReleases is sending notifications on new releases.