azure-powershell icon indicating copy to clipboard operation
azure-powershell copied to clipboard

cmdlet Get-AzVirtualHubRouteTable Deprecation

Open captainlaw opened this issue 3 years ago • 2 comments

Description

Cmdlet Get-AzVirtualHubRouteTable show a WARNING but didn't have any deprecation notice in the reference doc https://learn.microsoft.com/en-us/powershell/module/az.network/get-azvirtualhubroutetable?view=azps-9.4.0

Error message shown in the PS shell

WARNING: Upcoming breaking changes in the cmdlet 'Get-AzVirtualHubRouteTable' : The cmdlet 'Get-AzVHubRouteTable' is replacing this cmdlet.

2. Actually Get-AzVirtualHubRouteTable already broken, it returns nothing, with the same paramerters Get-AzVHubRouteTable work as expected

Issue script & Debug output

NIL

Environment data

$PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.2
PSEdition                      Core
GitCommitId                    7.3.2
OS                             Linux 5.4.0-1103-azure #109~18.04.1-Ubuntu SMP Wed Jan 25 20:53:00 UTC 2023
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

PS > Get-Module Az*

ModuleType Version    PreRelease Name                                ExportedCommands
---------- -------    ---------- ----                                ----------------
Script     2.11.2                Az.Accounts                         {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault…}
Script     5.4.0                 Az.Compute                          {Add-AzImageDataDisk, Add-AzVhd, Add-AzVMAdditionalUnattendContent, Add-AzVMDataDisk…}
Script     5.4.0                 Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Add-AzApplicationGatewayBackendAddressPool, Add-AzApplicationGatewayBackendHttpSetting, Add-AzApplicationGatewayBa…
Script     6.5.2                 Az.Resources                        {Export-AzResourceGroup, Export-AzTemplateSpec, Get-AzDenyAssignment, Get-AzDeployment…}
Script     5.4.0                 Az.Storage                          {Add-AzRmStorageContainerLegalHold, Add-AzStorageAccountManagementPolicyAction, Add-AzStorageAccountNetworkRule, Close-AzStorageFileHandle…}
Script     1.0.3                 Az.Tools.Predictor                  {Disable-AzPredictor, Enable-AzPredictor, Open-AzPredictorSurvey, Send-AzPredictorRating}
Script     0.0.0.10              AzureAD.Standard.Preview            {Add-AzureADApplicationOwner, Add-AzureADDeviceRegisteredOwner, Add-AzureADDeviceRegisteredUser, Add-AzureADDirectoryRoleMember…}
Script     0.9.3                 AzurePSDrive

Error output

NIL

captainlaw avatar Feb 24 '23 04:02 captainlaw

Thank you for your feedback. This has been routed to the support team for assistance.

ghost avatar Feb 24 '23 12:02 ghost

@captainlaw Apologies for the late reply. Thanks for reaching out to us and reporting this issue. We are looking into this issue and we will provide an update.

navba-MSFT avatar Feb 27 '23 03:02 navba-MSFT