Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

az-cli list is unaccurate compare to az-cli show #27702

Open
gesnaud opened this issue Oct 27, 2023 · 5 comments
Open

az-cli list is unaccurate compare to az-cli show #27702

gesnaud opened this issue Oct 27, 2023 · 5 comments
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. Network - DNS az network dns Network az network vnet/lb/nic/dns/etc... question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Milestone

Comments

@gesnaud
Copy link

gesnaud commented Oct 27, 2023

Describe the bug

When displaying attributes values with az-cli list, some values are false regarding the result of az-cli show
The show command is the true one (because i double check with JOSN view in azure portal).

Below an example with private dns zones (i did not test with other resources), you could observe that the numberOfVirtualNetworkLinks values are not the same even if it is the same resource.

Related command

az network private-dns zone list -g your_rg

$ az network private-dns zone list -g rg-...-001

[
  {
    "etag": "95...7ce",
    "id": "/subscriptions/65...e/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net",
    "location": "global",
[...]
    "type": "Microsoft.Network/privateDnsZones"
  },
  {
    "etag": "95...7ce",
    "id": "/subscriptions/65...e/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.dfs.core.windows.net",
    "location": "global",
[...]
    "type": "Microsoft.Network/privateDnsZones"
  },
  {
    "etag": "95...7ce",
    "id": "/subscriptions/65...e/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.snowflakecomputing.com",
    "location": "global",
    "maxNumberOfRecordSets": 25000,
    "maxNumberOfVirtualNetworkLinks": 1000,
    "maxNumberOfVirtualNetworkLinksWithRegistration": 100,
    "name": "privatelink.snowflakecomputing.com",
    "numberOfRecordSets": 6,
    "numberOfVirtualNetworkLinks": 0,   //<================== FALSE !!!
    "numberOfVirtualNetworkLinksWithRegistration": 0,
    "provisioningState": "Succeeded",
    "resourceGroup": "rg-weu-dea-hpr-network-c2-001",
    "tags": {
      "deployment": "manual"
    },
    "type": "Microsoft.Network/privateDnsZones"
  }
]

az network private-dns zone show -g your_rg -n your_pdz

$ az network private-dns zone show -g rg-...-001 -n privatelink.snowflakecomputing.com
{
  "etag": "95...7ce",
  "id": "/subscriptions/65...e/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.snowflakecomputing.com",
  "location": "global",
  "maxNumberOfRecordSets": 25000,
  "maxNumberOfVirtualNetworkLinks": 1000,
  "maxNumberOfVirtualNetworkLinksWithRegistration": 100,
  "name": "privatelink.snowflakecomputing.com",
  "numberOfRecordSets": 6,
  "numberOfVirtualNetworkLinks": 1, //<================== TRUE !!!
  "numberOfVirtualNetworkLinksWithRegistration": 0,
  "provisioningState": "Succeeded",
  "resourceGroup": "rg-weu-dea-hpr-network-c2-001",
  "tags": {
    "deployment": "manual"
  },
  "type": "Microsoft.Network/privateDnsZones"
}

Errors

No error message, values are just wrong.

Issue script & Debug output

Please check above

Expected behavior

The values should be the same whatever the command used

Environment Summary

cloudhsell$ az --version
azure-cli                         2.53.0 *

Additional context

No response

@gesnaud gesnaud added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Oct 27, 2023
@azure-client-tools-bot-prd
Copy link

Hi @gesnaud,

2.53.0 is not the latest Azure CLI(2.53.1).

If you haven't already attempted to do so, please upgrade to the latest Azure CLI version by following https://learn.microsoft.com/en-us/cli/azure/update-azure-cli.

@azure-client-tools-bot-prd azure-client-tools-bot-prd bot added the Auto-Resolve Auto resolve by bot label Oct 27, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. Network az network vnet/lb/nic/dns/etc... labels Oct 27, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Oct 27, 2023
@yonzhan
Copy link
Collaborator

yonzhan commented Oct 27, 2023

Thank you for opening this issue, we will look into it.

@yonzhan yonzhan added this to the Backlog milestone Oct 27, 2023
@yonzhan yonzhan added Network - DNS az network dns Service Attention This issue is responsible by Azure service team. and removed bug This issue requires a change to an existing behavior in the product in order to be resolved. labels Oct 27, 2023
@necusjz
Copy link
Member

necusjz commented Oct 31, 2023

@gesnaud Could you please kindly provide the debug log for the above two commands (by appending --debug)?

@gesnaud
Copy link
Author

gesnaud commented Nov 2, 2023

Hi @necusjz !

Sure, here it is!

az network private-dns zone show:

$ az network private-dns zone show -g rg-...-001 -n privatelink.snowflakecomputing.com --debug
cli.knack.cli: Command arguments: ['network', 'private-dns', 'zone', 'show', '-g', 'rg-...-001', '-n', 'privatelink.snowflakecomputing.com', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f73d4f3a1f0>, <function OutputProducer.on_global_arguments at 0x7f73d4e56d30>, <function CLIQuery.on_global_arguments at 0x7f73d4ded310>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'network': ['azure.cli.command_modules.network', 'azure.cli.command_modules.privatedns']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: network                   0.651       115       352
cli.azure.cli.core: privatedns                0.020        14        63
cli.azure.cli.core: Total (2)                 0.671       129       415
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: ai-examples               0.072         1         1  /usr/lib/python3.9/site-packages/azure-cli-extensions/ai-examples
cli.azure.cli.core: Total (1)                 0.072         1         1  
cli.azure.cli.core: Loaded 129 groups, 416 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : network private-dns zone show
cli.azure.cli.core: Command table: network private-dns zone show
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f73d4290430>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/gesnaud_ext_admin/.azure/commands/2023-11-02.08-21-56.network_private-dns_zone_show.1469.log'.
az_command_data_logger: command args: network private-dns zone show -g {} -n {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f73d423b040>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f73d41f50d0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f73d41fdee0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f73d4e56dc0>, <function CLIQuery.handle_query_parameter at 0x7f73d4ded3a0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f73d41fde50>]
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2348
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2348
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1698918169' -> 1698918169
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.snowflakecomputing.com?api-version=2018-09-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'e2293dfe-7958-11ee-a771-00155d602ba4'
cli.azure.cli.core.sdk.policies:     'CommandName': 'network private-dns zone show'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '-g -n --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.53.1 (RPM) (AAZ) azsdk-python-core/1.26.0 Python/3.9.14 (Linux-5.10.102.2-microsoft-standard-x86_64-with-glibc2.35) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.snowflakecomputing.com?api-version=2018-09-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'private'
cli.azure.cli.core.sdk.policies:     'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies:     'ETag': 'cab52e17-b167-40fd-9886-31abe0466831'
cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'e2293dfe-7958-11ee-a771-00155d602ba4'
cli.azure.cli.core.sdk.policies:     'Server': 'Microsoft-IIS/10.0'
cli.azure.cli.core.sdk.policies:     'X-AspNet-Version': '4.0.30319'
cli.azure.cli.core.sdk.policies:     'X-Powered-By': 'ASP.NET'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-resource-requests': '499'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '158d3e65-e98a-41a1-965f-6a767dc2ee7f'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTEUROPE:20231102T082156Z:158d3e65-e98a-41a1-965f-6a767dc2ee7f'
cli.azure.cli.core.sdk.policies:     'Date': 'Thu, 02 Nov 2023 08:21:55 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"id":"\/subscriptions\/96...24\/resourceGroups\/rg-...-001\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.snowflakecomputing.com","name":"privatelink.snowflakecomputing.com","type":"Microsoft.Network\/privateDnsZones","etag":"cab52e17-b167-40fd-9886-31abe0466831","location":"global","tags":{"deployment":"manual"},"properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":6,"numberOfVirtualNetworkLinks":1,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f73d4259310>, <function _x509_from_base64_to_hex_transform at 0x7f73d42593a0>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
{
  "etag": "cab52e17-b167-40fd-9886-31abe0466831",
  "id": "/subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.snowflakecomputing.com",
  "location": "global",
  "maxNumberOfRecordSets": 25000,
  "maxNumberOfVirtualNetworkLinks": 1000,
  "maxNumberOfVirtualNetworkLinksWithRegistration": 100,
  "name": "privatelink.snowflakecomputing.com",
  "numberOfRecordSets": 6,
  "numberOfVirtualNetworkLinks": 1,
  "numberOfVirtualNetworkLinksWithRegistration": 0,
  "provisioningState": "Succeeded",
  "resourceGroup": "rg-...-001",
  "tags": {
    "deployment": "manual"
  },
  "type": "Microsoft.Network/privateDnsZones"
}
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f73d4290670>]
az_command_data_logger: exit code: 0
cli.__main__: Command ran in 1.209 seconds (init: 0.146, invoke: 1.063)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3431 in cache
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/usr/bin/python3.9 /usr/lib/az/lib/python3.9/site-packages/azure/cli/telemetry/__init__.py /home/gesnaud_ext_admin/.azure"
telemetry.process: Return from creating process
telemetry.main: Finish creating telemetry upload process.

az network private-dns zone list:

$ az network private-dns zone list -g rg-...-001 --debug
cli.knack.cli: Command arguments: ['network', 'private-dns', 'zone', 'list', '-g', 'rg-...-001', '--debug']
cli.knack.cli: __init__ debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x7f57e12551f0>, <function OutputProducer.on_global_arguments at 0x7f57e1171d30>, <function CLIQuery.on_global_arguments at 0x7f57e1108310>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'network': ['azure.cli.command_modules.network', 'azure.cli.command_modules.privatedns']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: network                   0.663       115       352
cli.azure.cli.core: privatedns                0.018        14        63
cli.azure.cli.core: Total (2)                 0.681       129       415
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name                  Load Time    Groups  Commands  Directory
cli.azure.cli.core: ai-examples               0.071         1         1  /usr/lib/python3.9/site-packages/azure-cli-extensions/ai-examples
cli.azure.cli.core: Total (1)                 0.071         1         1  
cli.azure.cli.core: Loaded 129 groups, 416 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : network private-dns zone list
cli.azure.cli.core: Command table: network private-dns zone list
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f57e05ab430>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/gesnaud_ext_admin/.azure/commands/2023-11-02.08-27-41.network_private-dns_zone_list.1614.log'.
az_command_data_logger: command args: network private-dns zone list -g {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f57e0556040>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f57e05100d0>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f57e0518ee0>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f57e1171dc0>, <function CLIQuery.handle_query_parameter at 0x7f57e11083a0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f57e0518e50>]
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2348
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: MSIAuthenticationWrapper.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
urllib3.connectionpool: Starting new HTTP connection (1): localhost:50342
urllib3.connectionpool: http://localhost:50342 "POST /oauth2/token HTTP/1.1" 200 2348
msrestazure.azure_active_directory: MSI: Retrieving a token from http://localhost:50342/oauth2/token, with payload {'resource': 'https://management.core.windows.net/'}
cli.azure.cli.core.auth.adal_authentication: Normalize expires_on: '1698918169' -> 1698918169
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones?api-version=2018-09-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'Accept': 'application/json'
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'b03fe92c-7959-11ee-97ea-00155d602ba4'
cli.azure.cli.core.sdk.policies:     'CommandName': 'network private-dns zone list'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '-g --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.53.1 (RPM) (AAZ) azsdk-python-core/1.26.0 Python/3.9.14 (Linux-5.10.102.2-microsoft-standard-x86_64-with-glibc2.35) cloud-shell/1.0'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: Starting new HTTPS connection (1): management.azure.com:443
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones?api-version=2018-09-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'private'
cli.azure.cli.core.sdk.policies:     'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'b03fe92c-7959-11ee-97ea-00155d602ba4'
cli.azure.cli.core.sdk.policies:     'Server': 'Microsoft-IIS/10.0'
cli.azure.cli.core.sdk.policies:     'X-AspNet-Version': '4.0.30319'
cli.azure.cli.core.sdk.policies:     'X-Powered-By': 'ASP.NET'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-resource-requests': '499'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-resource-entities-read': '59997'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '8914f36a-c6ba-4548-beee-7400aab1f232'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTEUROPE:20231102T082742Z:8914f36a-c6ba-4548-beee-7400aab1f232'
cli.azure.cli.core.sdk.policies:     'Date': 'Thu, 02 Nov 2023 08:27:41 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[{"id":"\/subscriptions\/96...24\/resourceGroups\/rg-...-001\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.blob.core.windows.net","name":"privatelink.blob.core.windows.net","type":"Microsoft.Network\/privateDnsZones","etag":"95700703-878f-4631-9a8f-23ca2f3d17ce","location":"global","tags":{"deployment":"manual"},"properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":8,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}},{"id":"\/subscriptions\/96...24\/resourceGroups\/rg-...-001\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.dfs.core.windows.net","name":"privatelink.dfs.core.windows.net","type":"Microsoft.Network\/privateDnsZones","etag":"e094abb7-9638-4fef-94f1-d5c37c0536f0","location":"global","tags":{},"properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":10,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}},{"id":"\/subscriptions\/96...24\/resourceGroups\/rg-...-001\/providers\/Microsoft.Network\/privateDnsZones\/privatelink.snowflakecomputing.com","name":"privatelink.snowflakecomputing.com","type":"Microsoft.Network\/privateDnsZones","etag":"cab52e17-b167-40fd-9886-31abe0466831","location":"global","tags":{"deployment":"manual"},"properties":{"maxNumberOfRecordSets":25000,"maxNumberOfVirtualNetworkLinks":1000,"maxNumberOfVirtualNetworkLinksWithRegistration":100,"numberOfRecordSets":6,"numberOfVirtualNetworkLinks":0,"numberOfVirtualNetworkLinksWithRegistration":0,"provisioningState":"Succeeded"}}]}
cli.knack.cli: Event: CommandInvoker.OnTransformResult [<function _resource_group_transform at 0x7f57e0574310>, <function _x509_from_base64_to_hex_transform at 0x7f57e05743a0>]
cli.knack.cli: Event: CommandInvoker.OnFilterResult []
[
  {
    "etag": "95700703-878f-4631-9a8f-23ca2f3d17ce",
    "id": "/subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.blob.core.windows.net",
    "location": "global",
    "maxNumberOfRecordSets": 25000,
    "maxNumberOfVirtualNetworkLinks": 1000,
    "maxNumberOfVirtualNetworkLinksWithRegistration": 100,
    "name": "privatelink.blob.core.windows.net",
    "numberOfRecordSets": 8,
    "numberOfVirtualNetworkLinks": 0,
    "numberOfVirtualNetworkLinksWithRegistration": 0,
    "provisioningState": "Succeeded",
    "resourceGroup": "rg-...-001",
    "tags": {
      "deployment": "manual"
    },
    "type": "Microsoft.Network/privateDnsZones"
  },
  {
    "etag": "e094abb7-9638-4fef-94f1-d5c37c0536f0",
    "id": "/subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.dfs.core.windows.net",
    "location": "global",
    "maxNumberOfRecordSets": 25000,
    "maxNumberOfVirtualNetworkLinks": 1000,
    "maxNumberOfVirtualNetworkLinksWithRegistration": 100,
    "name": "privatelink.dfs.core.windows.net",
    "numberOfRecordSets": 10,
    "numberOfVirtualNetworkLinks": 0,
    "numberOfVirtualNetworkLinksWithRegistration": 0,
    "provisioningState": "Succeeded",
    "resourceGroup": "rg-...-001",
    "tags": {},
    "type": "Microsoft.Network/privateDnsZones"
  },
  {
    "etag": "cab52e17-b167-40fd-9886-31abe0466831",
    "id": "/subscriptions/96...24/resourceGroups/rg-...-001/providers/Microsoft.Network/privateDnsZones/privatelink.snowflakecomputing.com",
    "location": "global",
    "maxNumberOfRecordSets": 25000,
    "maxNumberOfVirtualNetworkLinks": 1000,
    "maxNumberOfVirtualNetworkLinksWithRegistration": 100,
    "name": "privatelink.snowflakecomputing.com",
    "numberOfRecordSets": 6,
    "numberOfVirtualNetworkLinks": 0,
    "numberOfVirtualNetworkLinksWithRegistration": 0,
    "provisioningState": "Succeeded",
    "resourceGroup": "rg-...-001",
    "tags": {
      "deployment": "manual"
    },
    "type": "Microsoft.Network/privateDnsZones"
  }
]
cli.knack.cli: Event: Cli.SuccessfulExecute []
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f57e05ab670>]
az_command_data_logger: exit code: 0
cli.__main__: Command ran in 1.154 seconds (init: 0.164, invoke: 0.989)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 3428 in cache
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/usr/bin/python3.9 /usr/lib/az/lib/python3.9/site-packages/azure/cli/telemetry/__init__.py /home/gesnaud_ext_admin/.azure"
telemetry.process: Return from creating process
telemetry.main: Finish creating telemetry upload process.

Thnaks and have a nice day 🖖🏻

@necusjz
Copy link
Member

necusjz commented Nov 3, 2023

It's clear that the wrong number comes from service side, let's wait for their feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Assign Auto assign by bot Auto-Resolve Auto resolve by bot Azure CLI Team The command of the issue is owned by Azure CLI team customer-reported Issues that are reported by GitHub users external to the Azure organization. Network - DNS az network dns Network az network vnet/lb/nic/dns/etc... question The issue doesn't require a change to the product in order to be resolved. Most issues start as that Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

3 participants