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

Get-AzReservationCatalog is not always providing all the results

Open mdurini opened this issue 6 years ago • 5 comments

Description

Get-AzReservationCatalog is not returning all the expected results every time: executing it 2 times, i'm getting the first time 288 results, the second time 283

Steps to reproduce

$x= Get-AzReservationCatalog -ReservedResourceType VirtualMachines -Location westeurope
$x.Count
288
$x= Get-AzReservationCatalog -ReservedResourceType VirtualMachines -Location westeurope
$x.Count
283

Environment data

Name                           Value
----                           -----
PSVersion                      5.1.19041.1
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Module versions

Directory: C:\Users\mdurini\Documents\WindowsPowerShell\Modules


ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.8.1      Az.Accounts                         {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...}
Script     1.1.1      Az.Advisor                          {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration...}
Script     1.1.1      Az.Aks                              {Get-AzAks, New-AzAks, Remove-AzAks, Import-AzAksCredential...}
Script     1.1.3      Az.AnalysisServices                 {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer...}
Script     2.0.1      Az.ApiManagement                    {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup...}
Script     1.1.0      Az.ApplicationInsights              {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-AzApplicationInsights...}
Script     1.3.6      Az.Automation                       {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration...}
Script     3.0.0      Az.Batch                            {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount...}
Script     1.0.3      Az.Billing                          {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget...}
Script     1.4.3      Az.Cdn                              {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile...}
Script     1.4.0      Az.CognitiveServices                {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType...}
Script     4.1.0      Az.Compute                          {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet...}
Script     1.0.3      Az.ContainerInstance                {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script     1.1.1      Az.ContainerRegistry                {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry...}
Script     1.1.0      Az.DataBoxEdge                      {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeDevice...}
Script     1.8.1      Az.DataFactory                      {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2...}
Script     1.0.2      Az.DataLakeAnalytics                {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCredential...}
Script     1.2.8      Az.DataLakeStore                    {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider...}
Script     1.0.0      Az.DataShare                        {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare...}
Script     1.1.0      Az.DeploymentManager                {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSource...}
Script     1.0.0      Az.DesktopVirtualization            {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDesktop...}
Script     1.0.2      Az.DevTestLabs                      {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy...}
Script     1.1.2      Az.Dns                              {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet...}
Script     1.2.3      Az.EventGrid                        {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey...}
Script     1.4.3      Az.EventHub                         {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace...}
Script     1.5.0      Az.FrontDoor                        {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor...}
Script     1.0.0      Az.Functions                        {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting...}
Script     3.2.0      Az.HDInsight                        {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition...}
Script     1.0.2      Az.HealthcareApis                   {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService}
Script     2.5.0      Az.IotHub                           {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob...}
Script     2.0.0      Az.KeyVault                         {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation...}
Script     1.3.2      Az.LogicApp                         {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl...}
Script     1.1.3      Az.MachineLearning                  {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan...}
Script     1.0.0      Az.Maintenance                      {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate...}
Script     1.0.2      Az.ManagedServices                  {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesDefinition...}
Script     1.0.2      Az.MarketplaceOrdering              {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script     1.1.1      Az.Media                            {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability...}
Script     2.0.0      Az.Monitor                          {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile...}
Script     3.0.0      Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCertificate...}
Script     1.1.1      Az.NotificationHubs                 {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential...}
Script     2.1.0      Az.OperationalInsights              {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsightsIISLogCollection...}
Script     1.3.1      Az.PolicyInsights                   {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation...}
Script     1.1.2      Az.PowerBIEmbedded                  {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace...}
Script     1.0.3      Az.PrivateDns                       {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone...}
Script     2.9.1      Az.RecoveryServices                 {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault...}
Script     1.2.1      Az.RedisCache                       {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule...}
Script     1.0.3      Az.Relay                            {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace...}
Script     2.1.0      Az.Resources                        {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment...}
Script     1.4.1      Az.ServiceBus                       {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace...}
Script     2.1.0      Az.ServiceFabric                    {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType...}
Script     1.1.1      Az.SignalR                          {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey...}
Script     2.7.0      Az.Sql                              {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint...}
Script     1.1.0      Az.SqlVirtualMachine                {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM...}
Script     2.1.0      Az.Storage                          {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey...}
Script     1.2.3      Az.StorageSync                      {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Remove-AzStorageSyncService...}
Script     1.0.1      Az.StreamAnalytics                  {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStreamAnalyticsFunction...}
Script     1.0.0      Az.Support                          {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportTicketCommunication...}
Script     1.0.4      Az.TrafficManager                   {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile...}
Script     1.9.0      Az.Websites                         {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan...}
Script     1.4.7      PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...}


    Directory: C:\Program Files\WindowsPowerShell\Modules


ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.9.4      Az.Accounts                         {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...}
Script     1.1.1      Az.Advisor                          {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration...}
Script     1.3.0      Az.Aks                              {Get-AzAksCluster, New-AzAksCluster, Remove-AzAksCluster, Import-AzAksCredential...}
Script     1.1.4      Az.AnalysisServices                 {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer...}
Script     2.1.0      Az.ApiManagement                    {Add-AzApiManagementApiToGateway, Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion...}
Script     1.1.0      Az.ApplicationInsights              {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Update-AzApplicationInsights...}
Script     1.4.0      Az.Automation                       {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration...}
Script     3.1.0      Az.Batch                            {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount...}
Script     1.0.3      Az.Billing                          {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget...}
Script     1.4.3      Az.Cdn                              {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile...}
Script     1.6.0      Az.CognitiveServices                {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType...}
Script     4.4.0      Az.Compute                          {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet...}
Script     1.0.3      Az.ContainerInstance                {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog}
Script     1.1.1      Az.ContainerRegistry                {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry...}
Script     1.1.0      Az.DataBoxEdge                      {Get-AzDataBoxEdgeJob, Get-AzDataBoxEdgeDevice, Invoke-AzDataBoxEdgeDevice, New-AzDataBoxEdgeDevice...}
Script     1.10.1     Az.DataFactory                      {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2...}
Script     1.0.2      Az.DataLakeAnalytics                {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCredential...}
Script     1.2.8      Az.DataLakeStore                    {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider...}
Script     1.0.0      Az.DataShare                        {New-AzDataShareAccount, Get-AzDataShareAccount, Remove-AzDataShareAccount, New-AzDataShare...}
Script     1.1.0      Az.DeploymentManager                {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSource...}
Script     1.0.0      Az.DesktopVirtualization            {Disconnect-AzWvdUserSession, Get-AzWvdApplication, Get-AzWvdApplicationGroup, Get-AzWvdDesktop...}
Script     1.0.2      Az.DevTestLabs                      {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy...}
Script     1.1.2      Az.Dns                              {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet...}
Script     1.3.0      Az.EventGrid                        {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey...}
Script     1.6.0      Az.EventHub                         {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace...}
Script     1.6.1      Az.FrontDoor                        {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor...}
Script     1.0.2      Az.Functions                        {Get-AzFunctionApp, Get-AzFunctionAppAvailableLocation, Get-AzFunctionAppPlan, Get-AzFunctionAppSetting...}
Script     3.6.0      Az.HDInsight                        {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition...}
Script     1.1.0      Az.HealthcareApis                   {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService}
Script     2.5.0      Az.IotHub                           {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob...}
Script     2.2.0      Az.KeyVault                         {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation...}
Script     1.0.0      Az.Kusto                            {Add-AzKustoClusterLanguageExtension, Add-AzKustoDatabasePrincipal, Get-AzKustoAttachedDatabaseConfiguration, Get-AzKustoCluster...}
Script     1.3.2      Az.LogicApp                         {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl...}
Script     1.1.3      Az.MachineLearning                  {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan...}
Script     1.1.0      Az.Maintenance                      {Get-AzApplyUpdate, Get-AzConfigurationAssignment, Get-AzMaintenanceConfiguration, Get-AzMaintenanceUpdate...}
Script     1.1.0      Az.ManagedServices                  {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesDefinition...}
Script     1.0.2      Az.MarketplaceOrdering              {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms}
Script     1.1.1      Az.Media                            {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability...}
Script     2.1.0      Az.Monitor                          {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile...}
Script     3.4.0      Az.Network                          {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCertificate...}
Script     1.1.1      Az.NotificationHubs                 {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential...}
Script     2.3.0      Az.OperationalInsights              {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsightsIISLogCollection...}
Script     1.3.1      Az.PolicyInsights                   {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation...}
Script     1.1.2      Az.PowerBIEmbedded                  {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace...}
Script     1.0.3      Az.PrivateDns                       {Get-AzPrivateDnsZone, Remove-AzPrivateDnsZone, Set-AzPrivateDnsZone, New-AzPrivateDnsZone...}
Script     2.12.1     Az.RecoveryServices                 {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault...}
Script     1.2.1      Az.RedisCache                       {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule...}
Script     1.0.3      Az.Relay                            {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace...}
Script     0.9.0      Az.Reservations                     {Get-AzReservationOrder, Get-AzReservation, Get-AzReservationHistory, Update-AzReservation...}
Script     2.5.1      Az.Resources                        {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment...}
Script     1.4.1      Az.ServiceBus                       {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace...}
Script     2.2.0      Az.ServiceFabric                    {Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode, Add-AzServiceFabricNodeType...}
Script     1.2.0      Az.SignalR                          {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey...}
Script     2.10.0     Az.Sql                              {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint...}
Script     1.1.0      Az.SqlVirtualMachine                {New-AzSqlVM, Get-AzSqlVM, Update-AzSqlVM, Remove-AzSqlVM...}
Script     2.6.0      Az.Storage                          {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey...}
Script     1.3.0      Az.StorageSync                      {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Set-AzStorageSyncService...}
Script     1.0.1      Az.StreamAnalytics                  {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStreamAnalyticsFunction...}
Script     1.0.0      Az.Support                          {Get-AzSupportService, Get-AzSupportProblemClassification, Get-AzSupportTicket, Get-AzSupportTicketCommunication...}
Script     1.0.4      Az.TrafficManager                   {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile...}
Script     1.11.0     Az.Websites                         {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan...}
Script     5.1.2      Azure                               {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnection, Remove-AzureAutomationConnection...}
Script     1.0.1      Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation}
Binary     1.0.0.1    PackageManagement                   {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...}
Script     3.4.0      Pester                              {Describe, Context, It, Should...}
Script     1.0.0.1    PowerShellGet                       {Install-Module, Find-Module, Save-Module, Update-Module...}
Script     2.0.0      PSReadline                          {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption...}
Script     1.0        RemoteDesktopManager.PowerShellM...


    Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules


ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Manifest   1.0.0.0    AppBackgroundTask                   {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBackgroundTaskResourcePolicy, Unregister-AppBackgroundTask...}
Manifest   2.0.0.0    AppLocker                           {Get-AppLockerFileInformation, Get-AppLockerPolicy, New-AppLockerPolicy, Set-AppLockerPolicy...}
Manifest   1.0.0.0    AppvClient                          {Add-AppvClientConnectionGroup, Add-AppvClientPackage, Add-AppvPublishingServer, Disable-Appv...}
Manifest   2.0.1.0    Appx                                {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage...}
Script     1.0.0.0    AssignedAccess                      {Clear-AssignedAccess, Get-AssignedAccess, Set-AssignedAccess}
Manifest   1.0.0.0    BitLocker                           {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Remove-BitLockerKeyProtector...}
Manifest   2.0.0.0    BitsTransfer                        {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Remove-BitsTransfer...}
Manifest   1.0.0.0    BranchCache                         {Add-BCDataCacheExtension, Clear-BCCache, Disable-BC, Disable-BCDowngrading...}
Manifest   1.0.0.0    CimCmdlets                          {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...}
Manifest   1.0        ConfigCI                            {Get-SystemDriver, New-CIPolicyRule, New-CIPolicy, Get-CIPolicy...}
Manifest   1.0        ConfigDefender                      {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...}
Manifest   1.0        Defender                            {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...}
Manifest   1.0.2.0    DeliveryOptimization                {Delete-DeliveryOptimizationCache, Set-DeliveryOptimizationStatus, Get-DeliveryOptimizationLog, Get-DeliveryOptimizationLogAnalysis...}
Manifest   1.0.0.0    DirectAccessClientComponents        {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExperienceConfiguration, Get-DAEntryPointTableItem...}
Script     3.0        Dism                                {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-WindowsCapability, Add-WindowsImage...}
Manifest   1.0.0.0    DnsClient                           {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get-DnsClientCache...}
Manifest   1.0.0.0    EventTracingManagement              {Start-EtwTraceSession, New-EtwTraceSession, Get-EtwTraceSession, Update-EtwTraceSession...}
Manifest   1.0.0.0    HgsClient                           {Get-HgsAttestationBaselinePolicy, Get-HgsClientConfiguration, Test-HgsClientConfiguration, Set-HgsClientConfiguration...}
Manifest   1.0.0.0    HgsDiagnostics                      {New-HgsTraceTarget, Get-HgsTrace, Get-HgsTraceFileData, Test-HgsTraceTarget}
Binary     1.0.0.0    HostComputeService                  {Get-ComputeProcess, Stop-ComputeProcess}
Manifest   1.0.0.1    HostNetworkingService               {Remove-HnsNamespace, Remove-HnsEndpoint, Get-HnsEndpoint, Remove-HnsPolicyList...}
Binary     2.0.0.0    Hyper-V                             {Add-VMAssignableDevice, Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMGpuPartitionAdapter...}
Binary     1.1        Hyper-V                             {Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMHardDiskDrive, Add-VMMigrationNetwork...}
Manifest   2.0.0.0    International                       {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMethodOverride, Get-WinHomeLocation, Set-WinHomeLocation...}
Manifest   1.0.0.0    iSCSI                               {Get-IscsiTargetPortal, New-IscsiTargetPortal, Remove-IscsiTargetPortal, Update-IscsiTargetPortal...}
Script     1.0.0.0    ISE                                 {New-IseSnippet, Import-IseSnippet, Get-IseSnippet}
Manifest   1.0.0.0    Kds                                 {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsConfiguration...}
Manifest   1.0.1.0    Microsoft.PowerShell.Archive        {Compress-Archive, Expand-Archive}
Manifest   3.0.0.0    Microsoft.PowerShell.Diagnostics    {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...}
Manifest   3.0.0.0    Microsoft.PowerShell.Host           {Start-Transcript, Stop-Transcript}
Manifest   1.0.0.0    Microsoft.PowerShell.LocalAccounts  {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser, Get-LocalGroup...}
Manifest   3.1.0.0    Microsoft.PowerShell.Management     {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...}
Script     1.0        Microsoft.PowerShell.ODataUtils     Export-ODataEndpointProxy
Manifest   3.0.0.0    Microsoft.PowerShell.Security       {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...}
Manifest   3.1.0.0    Microsoft.PowerShell.Utility        {Format-List, Format-Custom, Format-Table, Format-Wide...}
Manifest   3.0.0.0    Microsoft.WSMan.Management          {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig...}
Manifest   1.0        MMAgent                             {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent...}
Manifest   1.0.0.0    MsDtc                               {New-DtcDiagnosticTransaction, Complete-DtcDiagnosticTransaction, Join-DtcDiagnosticResourceManager, Receive-DtcDiagnosticTransaction...}
Manifest   2.0.0.0    NetAdapter                          {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable-NetAdapterEncapsulatedPacketTaskOffload...}
Manifest   1.0.0.0    NetConnection                       {Get-NetConnectionProfile, Set-NetConnectionProfile}
Manifest   1.0.0.0    NetEventPacketCapture               {New-NetEventSession, Remove-NetEventSession, Get-NetEventSession, Set-NetEventSession...}
Manifest   2.0.0.0    NetLbfo                             {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTeam, Get-NetLbfoTeamMember...}
Manifest   1.0.0.0    NetNat                              {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMapping, Get-NetNatSession...}
Manifest   2.0.0.0    NetQos                              {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, New-NetQosPolicy}
Manifest   2.0.0.0    NetSecurity                         {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPsecMainModeCryptoProposal, New-NetIPsecQuickModeCryptoProposal...}
Manifest   1.0.0.0    NetSwitchTeam                       {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTeam, Rename-NetSwitchTeam...}
Manifest   1.0.0.0    NetTCPIP                            {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol, Get-NetIPv6Protocol...}
Manifest   1.0.0.0    NetworkConnectivityStatus           {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Reset-NCSIPolicyConfiguration, Set-NCSIPolicyConfiguration}
Manifest   1.0.0.0    NetworkSwitchManager                {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEthernetPort, Get-NetworkSwitchEthernetPort, Remove-NetworkSwitchEthernetPortIPAddress...}
Manifest   1.0.0.0    NetworkTransition                   {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfile, Disable-NetNatTransitionConfiguration...}
Manifest   1.0.0.0    PcsvDevice                          {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restart-PcsvDevice...}
Binary     1.0.0.0    PersistentMemory                    {Get-PmemDisk, Get-PmemPhysicalDevice, Get-PmemUnusedRegion, New-PmemDisk...}
Manifest   1.0.0.0    PKI                                 {Add-CertificateEnrollmentPolicyServer, Export-Certificate, Export-PfxCertificate, Get-CertificateAutoEnrollmentPolicy...}
Manifest   1.0.0.0    PnpDevice                           {Get-PnpDevice, Get-PnpDeviceProperty, Enable-PnpDevice, Disable-PnpDevice}
Manifest   1.1        PrintManagement                     {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-PrintConfiguration...}
Binary     1.0.11     ProcessMitigations                  {Get-ProcessMitigation, Set-ProcessMitigation, ConvertTo-ProcessMitigationPolicy}
Script     3.0        Provisioning                        {Install-ProvisioningPackage, Export-ProvisioningPackage, Install-TrustedProvisioningCertificate, Export-Trace...}
Manifest   1.1        PSDesiredStateConfiguration         {Set-DscLocalConfigurationManager, Start-DscConfiguration, Test-DscConfiguration, Publish-DscConfiguration...}
Script     1.0.0.0    PSDiagnostics                       {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace...}
Binary     1.1.0.0    PSScheduledJob                      {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-JobTrigger...}
Manifest   2.0.0.0    PSWorkflow                          {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn}
Manifest   1.0.0.0    PSWorkflowUtility                   Invoke-AsWorkflow
Manifest   1.0.0.0    ScheduledTasks                      {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledTask, Unregister-ScheduledTask...}
Manifest   2.0.0.0    SecureBoot                          {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBootUEFI, Format-SecureBootUEFI...}
Manifest   2.0.0.0    SmbShare                            {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbShareAccess...}
Manifest   2.0.0.0    SmbWitness                          {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw...}
Manifest   1.0.0.0    StartLayout                         {Export-StartLayout, Import-StartLayout, Export-StartLayoutEdgeAssets, Get-StartApps}
Manifest   2.0.0.0    Storage                             {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add-PhysicalDisk, Add-StorageFaultDomain...}
Manifest   1.0.0.0    StorageBusCache                     {Clear-StorageBusDisk, Disable-StorageBusCache, Disable-StorageBusDisk, Enable-StorageBusCache...}
Manifest   2.0.0.0    TLS                                 {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disable-TlsSessionTicketKey, Export-TlsSessionTicketKey...}
Manifest   1.0.0.0    TroubleshootingPack                 {Get-TroubleshootingPack, Invoke-TroubleshootingPack}
Manifest   2.0.0.0    TrustedPlatformModule               {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm...}
Binary     2.1.639.0  UEV                                 {Clear-UevConfiguration, Clear-UevAppxPackage, Restore-UevBackup, Set-UevTemplateProfile...}
Manifest   2.0.0.0    VpnClient                           {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnection, Get-VpnConnection...}
Manifest   1.0.0.0    Wdac                                {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn...}
Manifest   2.0.0.0    Whea                                {Get-WheaMemoryPolicy, Set-WheaMemoryPolicy}
Manifest   1.0.0.0    WindowsDeveloperLicense             {Get-WindowsDeveloperLicense, Unregister-WindowsDeveloperLicense, Show-WindowsDeveloperLicenseRegistration}
Script     1.0        WindowsErrorReporting               {Enable-WindowsErrorReporting, Disable-WindowsErrorReporting, Get-WindowsErrorReporting}
Manifest   1.0.0.0    WindowsSearch                       {Get-WindowsSearchSetting, Set-WindowsSearchSetting}
Manifest   1.0.0.0    WindowsUpdate                       Get-WindowsUpdateLog
Manifest   1.0.0.2    WindowsUpdateProvider               {Get-WUAVersion, Get-WULastInstallationDate, Get-WULastScanSuccessDate, Get-WUIsPendingReboot...}

Debug output

PS C:\WINDOWS\system32> $x= Get-AzReservationCatalog -ReservedResourceType VirtualMachines -Location westeurope
DEBUG: 11:41:36 PM - GetCatalog begin processing with ParameterSet '__AllParameterSets'.
DEBUG: 11:41:36 PM - using account id '[email protected]'...
DEBUG: [Common.Authentication]: Authenticating using Account: '[email protected]', environment: 'AzureCloud', tenant: 'a0dda617-caa1-447a-b5c2-c5bfbe983817'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: 'a0dda617-caa1-447a-b5c2-c5bfbe983817', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/a0dda617-caa1-447a-b5c2-c5bfbe983817/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'a0dda617-caa1-447a-b5c2-c5bfbe983817', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4801817Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4801817Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4801817Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: === Token Acquisition started:
 CacheType: null
 Authentication Target: User
 , Authority Host: login.microsoftonline.com
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4801817Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: === Token Acquisition started:
 Authority: https://login.microsoftonline.com/a0dda617-caa1-447a-b5c2-c5bfbe983817/
 Resource: https://management.core.windows.net/
 ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
 CacheType: null
 Authentication Target: User

DEBUG: [ADAL]: Verbose: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: Loading from cache.
DEBUG: [ADAL]: Verbose: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: Loading from cache.
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 1 items to token cache.
DEBUG: [ADAL]: Verbose: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: Looking up cache for a token...
DEBUG: [ADAL]: Verbose: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: Looking up cache for a token...
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: 7.98959697333333 minutes left until token in cache expires
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: 7.98959697333333 minutes left until token in cache expires
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 9/29/2020 9:49:35 PM +00:00
DEBUG: [ADAL]: Information: 2020-09-29T21:41:36.4811816Z: 8f465187-f501-4605-8f10-8fc0104ed58c - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 9/29/2020 9:49:35 PM +00:00Access Token Hash: 20NNIrYIcUbx1TiCmayEz8AEy/NZyLpCqOx9S0WaURY=
  User id: 21efb673-0b7d-4180-834b-8a6657b879f3
DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '09/29/2020 21:49:35 +00:00', MultipleResource? 'True', Tenant: 'a0dda617-caa1-447a-b5c2-c5bfbe983817', UserId: '[email protected]'
DEBUG: [Common.Authentication]: User info for token DisplayId: '[email protected]', Name: Matteo Durini, IdProvider: 'https://sts.windows.net/a0dda617-caa1-447a-b5c2-c5bfbe983817/', Uid: '21efb673-0b7d-4180-834b-8a6657b879f3'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '09/29/2020 21:49:35 +00:00' Comparing to '09/29/2020 21:41:36 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:07:59.3748185'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/fc476b42-c162-439d-b834-2e921b83010a/providers/Microsoft.Capacity/catalogs?api-version=2019-04-01&reservedResourceType=VirtualMachines&location=westeurope

Headers:
x-ms-client-request-id        : 85f7908c-230e-4c16-9ca9-1b917d1c8170
accept-language               : en-US

Body:


DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
Vary                          : Accept-Encoding
x-ms-ratelimit-remaining-subscription-reads: 11851
x-ms-request-id               : northeurope:1b768809-2a17-4709-bd91-ab200aa815f2
X-Content-Type-Options        : nosniff
x-ms-correlation-request-id   : 14cf8e39-aac3-4f37-b7f2-2feb39b6b39a
x-ms-routing-request-id       : SWITZERLANDNORTH:20200929T214138Z:14cf8e39-aac3-4f37-b7f2-2feb39b6b39a
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Cache-Control                 : no-cache
Date                          : Tue, 29 Sep 2020 21:41:38 GMT
Server                        : Microsoft-IIS/10.0
X-AspNet-Version              : 4.0.30319

Body:
[{"resourceType":"virtualMachines","name":"Standard_NC24s_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":57477.0},"p3Y":{"currencyCode":"USD","amount":121553.0}},"skuProperties":[{"name":"Cores","value":"24"},{"name":"RAM","value":"448"},{"name":"ReservationsAutofitGroup","value":"NCSv2
Series"},{"name":"vCpu","value":"24"},{"name":"ReservationsAutofitRatio","value":"24"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC24s v2"},{"name":"MeterId","value":"6a8bd552-7e4a-4b23-8ff2-04a63aa7de36"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"NC24s v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_NC24rs_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":63225.0},"p3Y":{"currencyCode":"USD","amount":133708.0}},"skuProperties":[{"name":"Cores","value":"
24"},{"name":"RAM","value":"448"},{"name":"ReservationsAutofitGroup","value":"NCSv2 Series Low Latency"},{"name":"vCpu","value":"24"},{"name":"ReservationsAutofitRatio","value":"24"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC24rs v2"},{"name":"MeterId","value":"de4f76a4-4d92-48c5-a8c4-773ba3d84650"},{"name":"MeterType","value":"1 Compute
Hour"},{"name":"SkuDisplayName","value":"NC24rs v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_NC12s_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":28739.0},"p3Y":{"currencyCode":"USD","amount":60775.0}},"skuProperties":[{"name":"Cores","value":"12
"},{"name":"RAM","value":"224"},{"name":"ReservationsAutofitGroup","value":"NCSv2 Series"},{"name":"vCpu","value":"12"},{"name":"ReservationsAutofitRatio","value":"12"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC12s v2"},{"name":"MeterId","value":"26839676-c53c-4d06-9f51-0a308612f1ca"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"NC12s
 v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_NC6s_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":14368.0},"p3Y":{"currencyCode":"USD","amount":30388.0}},"skuProperties":[{"name":"Cores","value":"6"}
,{"name":"RAM","value":"112"},{"name":"ReservationsAutofitGroup","value":"NCSv2 Series"},{"name":"vCpu","value":"6"},{"name":"ReservationsAutofitRatio","value":"6"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC6s v2"},{"name":"MeterId","value":"d9fe4a91-08d6-4222-924b-45eaa31246ae"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"NC6s
v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E96as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":37584.0},"p3Y":{"currencyCode":"USD","amount":75696.0}},"skuProperties":[{"name":"Cores","value":"96
"},{"name":"RAM","value":"672"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"96"},{"name":"ReservationsAutofitRatio","value":"96"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E96as v4"},{"name":"MeterId","value":"040ea97e-97c6-46ef-8791-38665849ab02"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E96as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E64as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":25056.0},"p3Y":{"currencyCode":"USD","amount":50464.0}},"skuProperties":[{"name":"Cores","value":"64
"},{"name":"RAM","value":"432"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"64"},{"name":"ReservationsAutofitRatio","value":"64"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E64as v4"},{"name":"MeterId","value":"0d40cff0-ec05-44f8-914f-652cec56924e"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E64as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E48as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":18792.0},"p3Y":{"currencyCode":"USD","amount":37848.0}},"skuProperties":[{"name":"Cores","value":"48
"},{"name":"RAM","value":"384"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"48"},{"name":"ReservationsAutofitRatio","value":"48"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E48as v4"},{"name":"MeterId","value":"cd5f4df6-6fb2-4b05-9786-e75853c9209b"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E48as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E32as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":12528.0},"p3Y":{"currencyCode":"USD","amount":25232.0}},"skuProperties":[{"name":"Cores","value":"32
"},{"name":"RAM","value":"256"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"32"},{"name":"ReservationsAutofitRatio","value":"32"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E32as v4"},{"name":"MeterId","value":"02d108c1-108b-4b7e-82fe-2021a16ae697"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E32as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E20as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":7830.0},"p3Y":{"currencyCode":"USD","amount":15770.0}},"skuProperties":[{"name":"Cores","value":"20"
},{"name":"RAM","value":"160"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"20"},{"name":"ReservationsAutofitRatio","value":"20"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E20as v4"},{"name":"MeterId","value":"06441975-f980-4297-9ad1-5ff62abb6505"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E20as
v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E16as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":6264.0},"p3Y":{"currencyCode":"USD","amount":12616.0}},"skuProperties":[{"name":"Cores","value":"16"
},{"name":"RAM","value":"128"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"16"},{"name":"ReservationsAutofitRatio","value":"16"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E16as v4"},{"name":"MeterId","value":"802f4bb2-b906-48ef-93ba-fd5fca806ec1"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E16as
v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n  \"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E8as_v4","terms":["P1Y","P3Y"
DATA TRUNCATED DUE TO SIZE


DEBUG: AzureQoSEvent: CommandName - Get-AzReservationCatalog; IsSuccess - True; Duration - 00:00:02.1831700;
DEBUG: Finish sending metric.
DEBUG: 11:41:39 PM - GetCatalog end processing.
PS C:\WINDOWS\system32> $x.Count
283

PS C:\WINDOWS\system32> $x= Get-AzReservationCatalog -ReservedResourceType VirtualMachines -Location westeurope
DEBUG: 11:42:00 PM - GetCatalog begin processing with ParameterSet '__AllParameterSets'.
DEBUG: 11:42:00 PM - using account id '[email protected]'...
DEBUG: [Common.Authentication]: Authenticating using Account: '[email protected]', environment: 'AzureCloud', tenant: 'a0dda617-caa1-447a-b5c2-c5bfbe983817'
DEBUG: [Common.Authentication]: Authenticating using configuration values: Domain: 'a0dda617-caa1-447a-b5c2-c5bfbe983817', Endpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirect: 'urn:ietf:wg:oauth:2.0:oob', ResourceClientUri: 'https://management.core.windows.net/', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using context with Authority 'https://login.microsoftonline.com/a0dda617-caa1-447a-b5c2-c5bfbe983817/', CorrelationId: '00000000-0000-0000-0000-000000000000', ValidateAuthority: 'True'
DEBUG: [Common.Authentication]: Acquiring token using AdalConfiguration with Domain: 'a0dda617-caa1-447a-b5c2-c5bfbe983817', AdEndpoint: 'https://login.microsoftonline.com/', ClientId: '1950a258-227b-4e31-a9cf-717495945fc2', ClientRedirectUri: urn:ietf:wg:oauth:2.0:oob
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3861335Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: ADAL PCL.Desktop with assembly version '3.19.2.6005', file version '3.19.50302.0130' and informational version '2a8bec6c4c76d0c1ef819b55bdc3cda2d2605056' is running...
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: === Token Acquisition started:
 CacheType: null
 Authentication Target: User
 , Authority Host: login.microsoftonline.com
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: === Token Acquisition started:
 Authority: https://login.microsoftonline.com/a0dda617-caa1-447a-b5c2-c5bfbe983817/
 Resource: https://management.core.windows.net/
 ClientId: 1950a258-227b-4e31-a9cf-717495945fc2
 CacheType: null
 Authentication Target: User

DEBUG: [ADAL]: Verbose: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: Loading from cache.
DEBUG: [ADAL]: Verbose: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: Loading from cache.
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 00000000-0000-0000-0000-000000000000 - LoggerBase.cs: Deserialized 1 items to token cache.
DEBUG: [ADAL]: Verbose: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: Looking up cache for a token...
DEBUG: [ADAL]: Verbose: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: Looking up cache for a token...
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: An item matching the requested resource was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: 7.59116441 minutes left until token in cache expires
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: 7.59116441 minutes left until token in cache expires
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: A matching item (access token or refresh token or both) was found in the cache
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 9/29/2020 9:49:35 PM +00:00
DEBUG: [ADAL]: Information: 2020-09-29T21:42:00.3871354Z: 340f3786-4273-4786-8a5a-6c998d138e41 - LoggerBase.cs: === Token Acquisition finished successfully. An access token was returned: Expiration Time: 9/29/2020 9:49:35 PM +00:00Access Token Hash: 20NNIrYIcUbx1TiCmayEz8AEy/NZyLpCqOx9S0WaURY=
  User id: 21efb673-0b7d-4180-834b-8a6657b879f3
DEBUG: [Common.Authentication]: Renewing Token with Type: 'Bearer', Expiry: '09/29/2020 21:49:35 +00:00', MultipleResource? 'True', Tenant: 'a0dda617-caa1-447a-b5c2-c5bfbe983817', UserId: '[email protected]'
DEBUG: [Common.Authentication]: User info for token DisplayId: '[email protected]', Name: Matteo Durini, IdProvider: 'https://sts.windows.net/a0dda617-caa1-447a-b5c2-c5bfbe983817/', Uid: '21efb673-0b7d-4180-834b-8a6657b879f3'
DEBUG: [Common.Authentication]: Checking token expiration, token expires '09/29/2020 21:49:35 +00:00' Comparing to '09/29/2020 21:42:00 +00:00' With threshold '00:05:00', calculated time until token expiry: '00:07:35.4688656'
DEBUG: ============================ HTTP REQUEST ============================

HTTP Method:
GET

Absolute Uri:
https://management.azure.com/subscriptions/fc476b42-c162-439d-b834-2e921b83010a/providers/Microsoft.Capacity/catalogs?api-version=2019-04-01&reservedResourceType=VirtualMachines&location=westeurope

Headers:
x-ms-client-request-id        : b5f47ade-b887-47ba-b29f-d2a320de087a
accept-language               : en-US

Body:


DEBUG: ============================ HTTP RESPONSE ============================

Status Code:
OK

Headers:
Pragma                        : no-cache
Vary                          : Accept-Encoding
x-ms-ratelimit-remaining-subscription-reads: 11872
x-ms-request-id               : northeurope:f9a2f229-a9de-414a-a495-921578cc5dcb
X-Content-Type-Options        : nosniff
x-ms-correlation-request-id   : e6ef7d24-42dc-4b9d-aaa6-baf7d4a63ddb
x-ms-routing-request-id       : SWITZERLANDNORTH:20200929T214202Z:e6ef7d24-42dc-4b9d-aaa6-baf7d4a63ddb
Strict-Transport-Security     : max-age=31536000; includeSubDomains
Cache-Control                 : no-cache
Date                          : Tue, 29 Sep 2020 21:42:02 GMT
Server                        : Microsoft-IIS/10.0
X-AspNet-Version              : 4.0.30319

Body:
[{"resourceType":"virtualMachines","name":"Standard_NC24s_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":57477.0},"p3Y":{"currencyCode":"USD","amount":121553.0}},"skuProperties":[{"name":"Cores","value":"24"},{"name":"RAM","value":"448"},{"name":"ReservationsAutofitGroup","value":"NCSv2
Series"},{"name":"vCpu","value":"24"},{"name":"ReservationsAutofitRatio","value":"24"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC24s v2"},{"name":"MeterId","value":"6a8bd552-7e4a-4b23-8ff2-04a63aa7de36"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"NC24s v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_NC24rs_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":63225.0},"p3Y":{"currencyCode":"USD","amount":133708.0}},"skuProperties":[{"name":"Cores","value":"
24"},{"name":"RAM","value":"448"},{"name":"ReservationsAutofitGroup","value":"NCSv2 Series Low Latency"},{"name":"vCpu","value":"24"},{"name":"ReservationsAutofitRatio","value":"24"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC24rs v2"},{"name":"MeterId","value":"de4f76a4-4d92-48c5-a8c4-773ba3d84650"},{"name":"MeterType","value":"1 Compute
Hour"},{"name":"SkuDisplayName","value":"NC24rs v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_NC12s_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":28739.0},"p3Y":{"currencyCode":"USD","amount":60775.0}},"skuProperties":[{"name":"Cores","value":"12
"},{"name":"RAM","value":"224"},{"name":"ReservationsAutofitGroup","value":"NCSv2 Series"},{"name":"vCpu","value":"12"},{"name":"ReservationsAutofitRatio","value":"12"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC12s v2"},{"name":"MeterId","value":"26839676-c53c-4d06-9f51-0a308612f1ca"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"NC12s
 v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_NC6s_v2","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":14368.0},"p3Y":{"currencyCode":"USD","amount":30388.0}},"skuProperties":[{"name":"Cores","value":"6"}
,{"name":"RAM","value":"112"},{"name":"ReservationsAutofitGroup","value":"NCSv2 Series"},{"name":"vCpu","value":"6"},{"name":"ReservationsAutofitRatio","value":"6"},{"name":"ProductShortName","value":"NCSv2 Series VM"},{"name":"ProductTitle","value":"Virtual Machines NCSv2 Series"},{"name":"SkuName","value":"NC6s v2"},{"name":"MeterId","value":"d9fe4a91-08d6-4222-924b-45eaa31246ae"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"NC6s
v2"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E96as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":37584.0},"p3Y":{"currencyCode":"USD","amount":75696.0}},"skuProperties":[{"name":"Cores","value":"96
"},{"name":"RAM","value":"672"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"96"},{"name":"ReservationsAutofitRatio","value":"96"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E96as v4"},{"name":"MeterId","value":"040ea97e-97c6-46ef-8791-38665849ab02"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E96as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E64as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":25056.0},"p3Y":{"currencyCode":"USD","amount":50464.0}},"skuProperties":[{"name":"Cores","value":"64
"},{"name":"RAM","value":"432"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"64"},{"name":"ReservationsAutofitRatio","value":"64"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E64as v4"},{"name":"MeterId","value":"0d40cff0-ec05-44f8-914f-652cec56924e"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E64as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E48as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":18792.0},"p3Y":{"currencyCode":"USD","amount":37848.0}},"skuProperties":[{"name":"Cores","value":"48
"},{"name":"RAM","value":"384"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"48"},{"name":"ReservationsAutofitRatio","value":"48"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E48as v4"},{"name":"MeterId","value":"cd5f4df6-6fb2-4b05-9786-e75853c9209b"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E48as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E32as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":12528.0},"p3Y":{"currencyCode":"USD","amount":25232.0}},"skuProperties":[{"name":"Cores","value":"32
"},{"name":"RAM","value":"256"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"32"},{"name":"ReservationsAutofitRatio","value":"32"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E32as v4"},{"name":"MeterId","value":"02d108c1-108b-4b7e-82fe-2021a16ae697"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E32as
 v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E20as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":7830.0},"p3Y":{"currencyCode":"USD","amount":15770.0}},"skuProperties":[{"name":"Cores","value":"20"
},{"name":"RAM","value":"160"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"20"},{"name":"ReservationsAutofitRatio","value":"20"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E20as v4"},{"name":"MeterId","value":"06441975-f980-4297-9ad1-5ff62abb6505"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E20as
v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n
\"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E16as_v4","terms":["P1Y","P3Y","P5Y"],"locations":["westeurope"],"billingPlans":{"p1Y":["Upfront","Monthly"],"p3Y":["Upfront","Monthly"],"p5Y":["Upfront","Monthly"]},"msrp":{"p1Y":{"currencyCode":"USD","amount":6264.0},"p3Y":{"currencyCode":"USD","amount":12616.0}},"skuProperties":[{"name":"Cores","value":"16"
},{"name":"RAM","value":"128"},{"name":"ReservationsAutofitGroup","value":"Easv4 Series"},{"name":"vCpu","value":"16"},{"name":"ReservationsAutofitRatio","value":"16"},{"name":"ProductShortName","value":"Easv4 Series VM"},{"name":"ProductTitle","value":"Virtual Machines Easv4 Series"},{"name":"SkuName","value":"E16as v4"},{"name":"MeterId","value":"802f4bb2-b906-48ef-93ba-fd5fca806ec1"},{"name":"MeterType","value":"1 Compute Hour"},{"name":"SkuDisplayName","value":"E16as
v4"},{"name":"billingPlans","value":"[\r\n  \"Upfront\",\r\n  \"Monthly\"\r\n]"}],"restrictions":[{"type":"Term","values":["P5Y"],"reasonCode":"NotAvailableForSubscription"}]},{"resourceType":"virtualMachines","name":"Standard_E8as_v4","terms":["P1Y","P3Y"
DATA TRUNCATED DUE TO SIZE


DEBUG: AzureQoSEvent: CommandName - Get-AzReservationCatalog; IsSuccess - True; Duration - 00:00:03.0265400;
DEBUG: Finish sending metric.
DEBUG: 11:42:04 PM - GetCatalog end processing.
PS C:\WINDOWS\system32> $x.Count
288

Error output

DEBUG: 11:42:27 PM - ResolveError begin processing with ParameterSet 'AnyErrorParameterSet'.
DEBUG: 11:42:27 PM - using account id '[email protected]'...
WARNING: Upcoming breaking changes in the cmdlet 'Resolve-AzError' :
The `Resolve-Error` alias will be removed in a future release.  Please change any scripts that use this alias to use `Resolve-AzError` instead.
Note : Go to https://aka.ms/azps-changewarnings for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell.


   HistoryId: -1


Message        : Unable to find type [Microsoft.PowerShell.Commands.PowerShellGet.Telemetry].
StackTrace     :    at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
                    at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
                    at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
Exception      : System.Management.Automation.RuntimeException
InvocationInfo : {}
Line           :     $telemetryMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | Get-Member -Static).Name

Position       : At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:715 char:26
                 + ... yMethods = ([Microsoft.PowerShell.Commands.PowerShellGet.Telemetry] | ...
                 +                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
HistoryId      : -1


The Azure PowerShell team is listening, please let us know how we are doing: https://aka.ms/azpssurvey?Q_CHL=ERROR.

DEBUG: AzureQoSEvent: CommandName - Resolve-AzError; IsSuccess - True; Duration - 00:00:00.1194142;
DEBUG: Finish sending metric.
DEBUG: 11:42:28 PM - ResolveError end processing.

mdurini avatar Sep 29 '20 21:09 mdurini

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @corquiri.

ghost avatar Oct 01 '20 00:10 ghost

@mdurini , Thanks for reporting. I have added Reservation team in this thread.

You can turn on debug trace by $DebugPreference="Continue", then you will see URL to Azure service. Could you share the URL to us? I believe URL should be the same in multiple calls. Please help to check.

dingmeng-xue avatar Oct 01 '20 00:10 dingmeng-xue

I tried again today and the issue is not anymore there. do you know if something changed backend side? Thank you for your support. Best regards

mdurini avatar Oct 02 '20 07:10 mdurini

There is a cache that is created on the server that powers the catalog response, the difference in the number could point to cache catching up on all instances, please do update in case you see this happening again.

rkapso avatar Oct 19 '20 16:10 rkapso

Closing as per Rishi's comment. Thank you for your feedback!

ramaganesan-rg avatar Oct 19 '20 17:10 ramaganesan-rg