Azure / azure-cli

Azure Command-Line Interface
MIT License
3.92k stars 2.89k forks source link

Azure CLI does not support Marketplace preview offers #26704

Open jrtknauer opened 1 year ago

jrtknauer commented 1 year ago

Describe the bug

Azure CLI commands which deal with CoreVM and Virtual Machine Offers do not work with preview offers, instead reporting that the VMImage is not found.

Related command

az vm create, az vm image terms - essentially any az vm subcommands which consumes a Marketplace URN / ID.

Errors

# Attempt to get the marketplace agreement for the live offer behaves correctly:
$ az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy:pro-22_04-lts:22.04.202305310
{
  "accepted": true,
  "id": "/subscriptions/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.MarketplaceOrdering/offerTypes/VirtualMachine/publishers/Canonical/offers/0001-com-ubuntu-pro-jammy/plans/pro-22_04-lts/agreements/current",
  "licenseTextLink": "https://mpcprodsa.blob.core.windows.net/legalterms/3E5ED_legalterms_CANONICAL%253a240001%253a2DCOM%253a2DUBUNTU%253a2DPRO%253a2DJAMMY%253a24PRO%253a2D22%253a5F04%253a2DLTS%253a24TPNDKIR6GF6XF5BOJ5KAODEQKKA76P33RWIHBLYFOR2IZC4PDPCUNYW2MEZPJPHFNUOSCXVFMROYI53AA7MLHTRRCARG7OZMI2IXC7Y.txt",
  "marketplaceTermsLink": "https://mpcprodsa.blob.core.windows.net/marketplaceterms/3EDEF_marketplaceterms_VIRTUALMACHINE%253a24AAK2OAIZEAWW5H4MSP5KSTVB6NDKKRTUBAU23BRFTWN4YC2MQLJUB5ZEYUOUJBVF3YK34CIVPZL2HWYASPGDUY5O2FWEGRBYOXWZE5Y.txt",
  "name": "pro-22_04-lts",
  "plan": "pro-22_04-lts",
  "privacyPolicyLink": "http://www.ubuntu.com/aboutus/privacypolicy",
  "product": "0001-com-ubuntu-pro-jammy",
  "publisher": "Canonical",
  "retrieveDatetime": "2023-06-18T23:11:08.1972372Z",
  "signature": "M7VHNEDGJLOQIRE5AU4RZENVU4FWHYFOY7NLJDNOE5ELKEKRIH4AHNOLXB72NBVMUQBXZBPALNGJCGPYJ4RNKUIDVULFWCXF3AJOGTY",
  "systemData": {
    "createdAt": "2023-06-18T23:11:08.275316+00:00",
    "createdBy": "SUBSCRIPTION_ID_REMOVED",
    "createdByType": "ManagedIdentity",
    "lastModifiedAt": "2023-06-18T23:11:08.275316+00:00",
    "lastModifiedBy": "SUBSCRIPTION_ID_REMOVED",
    "lastModifiedByType": "ManagedIdentity"
  },
  "type": "Microsoft.MarketplaceOrdering/offertypes"
}

# The preview offer however (when part of the preview audience, which I am for this product:
$ az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310
(NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.

# Creating a VM from the live offer will provision with no issue:
$ az vm create -n test-preview-image -g test-preview-image --image Canonical:0001-com-ubuntu-pro-jammy:pro-22_04-lts:22.04.202305310 --generate-ssh-keys
Ignite (November) 2023 onwards "az vm/vmss create" command will deploy Gen2-Trusted Launch VM by default. To know more about the default change and Trusted Launch, please visit https://aka.ms/TLaD
It is recommended to use parameter "--public-ip-sku Standard" to create new VM with Standard public IP. Please note that the default public IP used for VM creation will be changed from Basic to Standard in the future.
{
  "fqdns": "",
  "id": "REDACTED"
  "location": "eastus",
  "macAddress": "00-22-48-2E-E0-EF",
  "powerState": "VM running",
  "privateIpAddress": "10.0.0.4",
  "publicIpAddress": "REDACTED",
  "resourceGroup": "test-preview-image",
  "zones": ""
}

# But will fail with the preview offer:
$ az vm create -n test-preview-image -g test-preview-image --image Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 --generate-ssh-keys
Querying the image of 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310' failed for an error '(NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.'. Configuring plan settings will be skipped
Querying the image of 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310' failed for an error '(NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.'. Configuring plan settings will be skipped
(NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.

Issue script & Debug output

For az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 --debug:

cli.knack.cli: Command arguments: ['vm', 'image', 'terms', 'show', '--urn', 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310', '--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 0x7f9d00bd92d0>, <function OutputProducer.on_global_arguments at 0x7f9d00ad3eb0>, <function CLIQuery.on_global_arguments at 0x7f9d00b21120>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name                  Load Time    Groups  Commands
cli.azure.cli.core: vm                        0.094        58       267
cli.azure.cli.core: Total (1)                 0.094        58       267
cli.azure.cli.core: Loaded 58 groups, 267 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command  : vm image terms show
cli.azure.cli.core: Command table: vm image terms show
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x7f9cff96ab90>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/jrtknauer/.azure/commands/2023-06-18.17-15-22.vm_image_terms_show.9083.log'.
az_command_data_logger: command args: vm image terms show --urn {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument.<locals>.add_subscription_parameter at 0x7f9cff98f6d0>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument.<locals>.add_ids_arguments at 0x7f9cff9d1630>, <function register_cache_arguments.<locals>.add_cache_arguments at 0x7f9cff9d1750>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x7f9d00ad3f40>, <function CLIQuery.handle_query_parameter at 0x7f9d00b211b0>, <function register_ids_argument.<locals>.parse_ids_arguments at 0x7f9cff9d16c0>]
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=SubscriptionClient
cli.azure.cli.core.auth.persistence: build_persistence: location='/home/jrtknauer/.azure/msal_token_cache.json', encrypt=False
cli.azure.cli.core.auth.binary_cache: load: /home/jrtknauer/.azure/msal_http_cache.bin
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? False
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: 945c1bf0-f0d0-4fbb-8b20-ab3002988c19
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_REMOVED/locations?api-version=2019-11-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': '0016f82f-0e2e-11ee-82d6-7391f6a28060'
cli.azure.cli.core.sdk.policies:     'CommandName': 'vm image terms show'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--urn --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)'
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/SUBSCRIPTION_ID_REMOVED/locations?api-version=2019-11-01 HTTP/1.1" 200 4985
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': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
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:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11999'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'dc2319ab-ea8a-4278-9774-440d09b87cfb'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'dc2319ab-ea8a-4278-9774-440d09b87cfb'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTUS2:20230618T231529Z:dc2319ab-ea8a-4278-9774-440d09b87cfb'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Date': 'Sun, 18 Jun 2023 23:15:28 GMT'
cli.azure.cli.core.sdk.policies:     'Content-Length': '4985'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {"value":[{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus","name":"eastus","displayName":"East US","regionalDisplayName":"(US) East US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"westus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2","name":"eastus2","displayName":"East US 2","regionalDisplayName":"(US) East US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"Virginia","pairedRegion":[{"name":"centralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus","name":"southcentralus","displayName":"South Central US","regionalDisplayName":"(US) South Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"northcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2","name":"westus2","displayName":"West US 2","regionalDisplayName":"(US) West US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-119.852","latitude":"47.233","physicalLocation":"Washington","pairedRegion":[{"name":"westcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus3","name":"westus3","displayName":"West US 3","regionalDisplayName":"(US) West US 3","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-112.074036","latitude":"33.448376","physicalLocation":"Phoenix","pairedRegion":[{"name":"eastus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiaeast","name":"australiaeast","displayName":"Australia East","regionalDisplayName":"(Asia Pacific) Australia East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"151.2094","latitude":"-33.86","physicalLocation":"New South Wales","pairedRegion":[{"name":"australiasoutheast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiasoutheast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasia","name":"southeastasia","displayName":"Southeast Asia","regionalDisplayName":"(Asia Pacific) Southeast Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"103.833","latitude":"1.283","physicalLocation":"Singapore","pairedRegion":[{"name":"eastasia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northeurope","name":"northeurope","displayName":"North Europe","regionalDisplayName":"(Europe) North Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"-6.2597","latitude":"53.3478","physicalLocation":"Ireland","pairedRegion":[{"name":"westeurope","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westeurope"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/swedencentral","name":"swedencentral","displayName":"Sweden Central","regionalDisplayName":"(Europe) Sweden Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"17.14127","latitude":"60.67488","physicalLocation":"Gävle","pairedRegion":[{"name":"swedensouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/swedensouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uksouth","name":"uksouth","displayName":"UK South","regionalDisplayName":"(Europe) UK South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"-0.799","latitude":"50.941","physicalLocation":"London","pairedRegion":[{"name":"ukwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/ukwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westeurope","name":"westeurope","displayName":"West Europe","regionalDisplayName":"(Europe) West Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"4.9","latitude":"52.3667","physicalLocation":"Netherlands","pairedRegion":[{"name":"northeurope","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northeurope"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralus","name":"centralus","displayName":"Central US","regionalDisplayName":"(US) Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"Iowa","pairedRegion":[{"name":"eastus2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricanorth","name":"southafricanorth","displayName":"South Africa North","regionalDisplayName":"(Africa) South Africa North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Africa","longitude":"28.21837","latitude":"-25.73134","physicalLocation":"Johannesburg","pairedRegion":[{"name":"southafricawest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricawest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralindia","name":"centralindia","displayName":"Central India","regionalDisplayName":"(Asia Pacific) Central India","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"73.9197","latitude":"18.5822","physicalLocation":"Pune","pairedRegion":[{"name":"southindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasia","name":"eastasia","displayName":"East Asia","regionalDisplayName":"(Asia Pacific) East Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"114.188","latitude":"22.267","physicalLocation":"Hong Kong","pairedRegion":[{"name":"southeastasia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japaneast","name":"japaneast","displayName":"Japan East","regionalDisplayName":"(Asia Pacific) Japan East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"139.77","latitude":"35.68","physicalLocation":"Tokyo, Saitama","pairedRegion":[{"name":"japanwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japanwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreacentral","name":"koreacentral","displayName":"Korea Central","regionalDisplayName":"(Asia Pacific) Korea Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"126.978","latitude":"37.5665","physicalLocation":"Seoul","pairedRegion":[{"name":"koreasouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreasouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadacentral","name":"canadacentral","displayName":"Canada Central","regionalDisplayName":"(Canada) Canada Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Canada","longitude":"-79.383","latitude":"43.653","physicalLocation":"Toronto","pairedRegion":[{"name":"canadaeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadaeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francecentral","name":"francecentral","displayName":"France Central","regionalDisplayName":"(Europe) France Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"2.373","latitude":"46.3772","physicalLocation":"Paris","pairedRegion":[{"name":"francesouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francesouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanywestcentral","name":"germanywestcentral","displayName":"Germany West Central","regionalDisplayName":"(Europe) Germany West Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"8.682127","latitude":"50.110924","physicalLocation":"Frankfurt","pairedRegion":[{"name":"germanynorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanynorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwayeast","name":"norwayeast","displayName":"Norway East","regionalDisplayName":"(Europe) Norway East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"10.752245","latitude":"59.913868","physicalLocation":"Norway","pairedRegion":[{"name":"norwaywest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwaywest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/polandcentral","name":"polandcentral","displayName":"Poland Central","regionalDisplayName":"(Europe) Poland Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"21.01666","latitude":"52.23334","physicalLocation":"Warsaw","pairedRegion":[]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandnorth","name":"switzerlandnorth","displayName":"Switzerland North","regionalDisplayName":"(Europe) Switzerland North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"8.564572","latitude":"47.451542","physicalLocation":"Zurich","pairedRegion":[{"name":"switzerlandwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaenorth","name":"uaenorth","displayName":"UAE North","regionalDisplayName":"(Middle East) UAE North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Middle East","longitude":"55.316666","latitude":"25.266666","physicalLocation":"Dubai","pairedRegion":[{"name":"uaecentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaecentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsouth","name":"brazilsouth","displayName":"Brazil South","regionalDisplayName":"(South America) Brazil South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"South America","longitude":"-46.633","latitude":"-23.55","physicalLocation":"Sao Paulo State","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centraluseuap","name":"centraluseuap","displayName":"Central US EUAP","regionalDisplayName":"(US) Central US EUAP","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"","pairedRegion":[{"name":"eastus2euap","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2euap"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2euap","name":"eastus2euap","displayName":"East US 2 EUAP","regionalDisplayName":"(US) East US 2 EUAP","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"","pairedRegion":[{"name":"centraluseuap","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centraluseuap"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/qatarcentral","name":"qatarcentral","displayName":"Qatar Central","regionalDisplayName":"(Middle East) Qatar Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Middle East","longitude":"51.439327","latitude":"25.551462","physicalLocation":"Doha","pairedRegion":[]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralusstage","name":"centralusstage","displayName":"Central US (Stage)","regionalDisplayName":"(US) Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstage","name":"eastusstage","displayName":"East US (Stage)","regionalDisplayName":"(US) East US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2stage","name":"eastus2stage","displayName":"East US 2 (Stage)","regionalDisplayName":"(US) East US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralusstage","name":"northcentralusstage","displayName":"North Central US (Stage)","regionalDisplayName":"(US) North Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstage","name":"southcentralusstage","displayName":"South Central US (Stage)","regionalDisplayName":"(US) South Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westusstage","name":"westusstage","displayName":"West US (Stage)","regionalDisplayName":"(US) West US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2stage","name":"westus2stage","displayName":"West US 2 (Stage)","regionalDisplayName":"(US) West US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/asia","name":"asia","displayName":"Asia","regionalDisplayName":"Asia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/asiapacific","name":"asiapacific","displayName":"Asia Pacific","regionalDisplayName":"Asia Pacific","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australia","name":"australia","displayName":"Australia","regionalDisplayName":"Australia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazil","name":"brazil","displayName":"Brazil","regionalDisplayName":"Brazil","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canada","name":"canada","displayName":"Canada","regionalDisplayName":"Canada","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/europe","name":"europe","displayName":"Europe","regionalDisplayName":"Europe","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/france","name":"france","displayName":"France","regionalDisplayName":"France","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germany","name":"germany","displayName":"Germany","regionalDisplayName":"Germany","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/global","name":"global","displayName":"Global","regionalDisplayName":"Global","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/india","name":"india","displayName":"India","regionalDisplayName":"India","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japan","name":"japan","displayName":"Japan","regionalDisplayName":"Japan","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/korea","name":"korea","displayName":"Korea","regionalDisplayName":"Korea","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norway","name":"norway","displayName":"Norway","regionalDisplayName":"Norway","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/singapore","name":"singapore","displayName":"Singapore","regionalDisplayName":"Singapore","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafrica","name":"southafrica","displayName":"South Africa","regionalDisplayName":"South Africa","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerland","name":"switzerland","displayName":"Switzerland","regionalDisplayName":"Switzerland","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uae","name":"uae","displayName":"United Arab Emirates","regionalDisplayName":"United Arab Emirates","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uk","name":"uk","displayName":"United Kingdom","regionalDisplayName":"United Kingdom","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/unitedstates","name":"unitedstates","displayName":"United States","regionalDisplayName":"United States","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/unitedstateseuap","name":"unitedstateseuap","displayName":"United States EUAP","regionalDisplayName":"United States EUAP","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasiastage","name":"eastasiastage","displayName":"East Asia (Stage)","regionalDisplayName":"(Asia Pacific) East Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasiastage","name":"southeastasiastage","displayName":"Southeast Asia (Stage)","regionalDisplayName":"(Asia Pacific) Southeast Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilus","name":"brazilus","displayName":"Brazil US","regionalDisplayName":"(South America) Brazil US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"South America","longitude":"0","latitude":"0","physicalLocation":"","pairedRegion":[{"name":"brazilsoutheast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsoutheast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstg","name":"eastusstg","displayName":"East US STG","regionalDisplayName":"(US) East US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"southcentralusstg","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstg"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralus","name":"northcentralus","displayName":"North Central US","regionalDisplayName":"(US) North Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-87.6278","latitude":"41.8819","physicalLocation":"Illinois","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus","name":"westus","displayName":"West US","regionalDisplayName":"(US) West US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-122.417","latitude":"37.783","physicalLocation":"California","pairedRegion":[{"name":"eastus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiawest","name":"jioindiawest","displayName":"Jio India West","regionalDisplayName":"(Asia Pacific) Jio India West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"70.05773","latitude":"22.470701","physicalLocation":"Jamnagar","pairedRegion":[{"name":"jioindiacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstg","name":"southcentralusstg","displayName":"South Central US STG","regionalDisplayName":"(US) South Central US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"eastusstg","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstg"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westcentralus","name":"westcentralus","displayName":"West Central US","regionalDisplayName":"(US) West Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-110.234","latitude":"40.89","physicalLocation":"Wyoming","pairedRegion":[{"name":"westus2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricawest","name":"southafricawest","displayName":"South Africa West","regionalDisplayName":"(Africa) South Africa West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Africa","longitude":"18.843266","latitude":"-34.075691","physicalLocation":"Cape Town","pairedRegion":[{"name":"southafricanorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricanorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral","name":"australiacentral","displayName":"Australia Central","regionalDisplayName":"(Asia Pacific) Australia Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral2","name":"australiacentral2","displayName":"Australia Central 2","regionalDisplayName":"(Asia Pacific) Australia Central 2","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiasoutheast","name":"australiasoutheast","displayName":"Australia Southeast","regionalDisplayName":"(Asia Pacific) Australia Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"144.9631","latitude":"-37.8136","physicalLocation":"Victoria","pairedRegion":[{"name":"australiaeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiaeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japanwest","name":"japanwest","displayName":"Japan West","regionalDisplayName":"(Asia Pacific) Japan West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"135.5022","latitude":"34.6939","physicalLocation":"Osaka","pairedRegion":[{"name":"japaneast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japaneast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiacentral","name":"jioindiacentral","displayName":"Jio India Central","regionalDisplayName":"(Asia Pacific) Jio India Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"79.08886","latitude":"21.146633","physicalLocation":"Nagpur","pairedRegion":[{"name":"jioindiawest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiawest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreasouth","name":"koreasouth","displayName":"Korea South","regionalDisplayName":"(Asia Pacific) Korea South","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"129.0756","latitude":"35.1796","physicalLocation":"Busan","pairedRegion":[{"name":"koreacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia","name":"southindia","displayName":"South India","regionalDisplayName":"(Asia Pacific) South India","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"80.1636","latitude":"12.9822","physicalLocation":"Chennai","pairedRegion":[{"name":"centralindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westindia","name":"westindia","displayName":"West India","regionalDisplayName":"(Asia Pacific) West India","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"72.868","latitude":"19.088","physicalLocation":"Mumbai","pairedRegion":[{"name":"southindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadaeast","name":"canadaeast","displayName":"Canada East","regionalDisplayName":"(Canada) Canada East","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Canada","longitude":"-71.217","latitude":"46.817","physicalLocation":"Quebec","pairedRegion":[{"name":"canadacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francesouth","name":"francesouth","displayName":"France South","regionalDisplayName":"(Europe) France South","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"2.1972","latitude":"43.8345","physicalLocation":"Marseille","pairedRegion":[{"name":"francecentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francecentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanynorth","name":"germanynorth","displayName":"Germany North","regionalDisplayName":"(Europe) Germany North","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"8.806422","latitude":"53.073635","physicalLocation":"Berlin","pairedRegion":[{"name":"germanywestcentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanywestcentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwaywest","name":"norwaywest","displayName":"Norway West","regionalDisplayName":"(Europe) Norway West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"5.733107","latitude":"58.969975","physicalLocation":"Norway","pairedRegion":[{"name":"norwayeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwayeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandwest","name":"switzerlandwest","displayName":"Switzerland West","regionalDisplayName":"(Europe) Switzerland West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"6.143158","latitude":"46.204391","physicalLocation":"Geneva","pairedRegion":[{"name":"switzerlandnorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandnorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/ukwest","name":"ukwest","displayName":"UK West","regionalDisplayName":"(Europe) UK West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"-3.084","latitude":"53.427","physicalLocation":"Cardiff","pairedRegion":[{"name":"uksouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uksouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaecentral","name":"uaecentral","displayName":"UAE Central","regionalDisplayName":"(Middle East) UAE Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Middle East","longitude":"54.366669","latitude":"24.466667","physicalLocation":"Abu Dhabi","pairedRegion":[{"name":"uaenorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaenorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsoutheast","name":"brazilsoutheast","displayName":"Brazil Southeast","regionalDisplayName":"(South America) Brazil Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"South America","longitude":"-43.2075","latitude":"-22.90278","physicalLocation":"Rio","pairedRegion":[{"name":"brazilsouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsouth"}]}}]}
cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient
urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None)
msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'}
msal.application: Broker enabled? False
cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={}
cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={}
msal.application: Cache hit an AT
msal.telemetry: Generate or reuse correlation_id: cf08fb8f-c6db-49b5-be3c-95219a0ac155
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-pro-jammy-preview/skus/pro-22_04-lts/versions/22.04.202305310?api-version=2022-11-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': '0016f82f-0e2e-11ee-82d6-7391f6a28060'
cli.azure.cli.core.sdk.policies:     'CommandName': 'vm image terms show'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--urn --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)'
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/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-pro-jammy-preview/skus/pro-22_04-lts/versions/22.04.202305310?api-version=2022-11-01 HTTP/1.1" 404 99
cli.azure.cli.core.sdk.policies: Response status: 404
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Content-Length': '99'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73995'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'x-ms-served-by': '7f4541bd-130b-4279-a8a9-bedf46d42e87_133076717010052775'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'bac2ab4b-1988-4441-b7e2-fdf936771b5f'
cli.azure.cli.core.sdk.policies:     'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11999'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': '338bf808-e893-44f4-8b31-8d71558dfdbb'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'WESTUS2:20230618T231529Z:338bf808-e893-44f4-8b31-8d71558dfdbb'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'Date': 'Sun, 18 Jun 2023 23:15:28 GMT'
cli.azure.cli.core.sdk.policies: Response content:
cli.azure.cli.core.sdk.policies: {
  "error": {
    "code": "NotFound",
    "message": "Artifact: VMImage was not found."
  }
}
cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 361, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2441, in get_terms
    publisher, offer, plan = _terms_prepare(cmd, urn, publisher, offer, plan)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2377, in _terms_prepare
    image = show_vm_image(cmd, urn)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2327, in show_vm_image
    return client.virtual_machine_images.get(location, publisher, offer, sku, version)
  File "/opt/az/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer
    return func(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/mgmt/compute/v2022_11_01/operations/_virtual_machine_images_operations.py", line 317, in get
    map_error(status_code=response.status_code, response=response, error_map=error_map)
  File "/opt/az/lib/python3.10/site-packages/azure/core/exceptions.py", line 107, in map_error
    raise error
azure.core.exceptions.ResourceNotFoundError: (NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.

cli.azure.cli.core.azclierror: (NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.
az_command_data_logger: (NotFound) Artifact: VMImage was not found.
Code: NotFound
Message: Artifact: VMImage was not found.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x7f9cff96add0>]
az_command_data_logger: exit code: 3
cli.__main__: Command ran in 1.884 seconds (init: 0.096, invoke: 1.788)
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 3585 in cache
telemetry.check: Negative: The /home/jrtknauer/.azure/telemetry.txt was modified at 2023-06-18 17:12:01.341998, which in less than 600.000000 s

Expected behavior

All commands which work on live offers should also work on preview offers. Azure CLI reporting that the image does not exist is not only incorrect, but inconsistent with the REST API (and SDKs).

Environment Summary

azure-cli                         2.49.0

core                              2.49.0
telemetry                          1.0.8

Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0

Python location '/opt/az/bin/python3'
Extensions directory '/home/jrtknauer/.azure/cliextensions'

Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0]

Legal docs and information: aka.ms/AzureCliLegal

Your CLI is up-to-date.

Additional context

Given that preview offers are implicit to a live offer, Azure CLI should not be checking for the existence of a preview offer - only that the base offer exists.

yonzhan commented 1 year ago

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

zhoxing-ms commented 1 year ago

Response status: 404 ...... { "error": { "code": "NotFound", "message": "Artifact: VMImage was not found." } }

This should be a service issue, so we will add the label to route it to the Compute team 'x-ms-correlation-request-id': '338bf808-e893-44f4-8b31-8d71558dfdbb'

ghost commented 1 year ago

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

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan.

Issue Details
### Describe the bug Azure CLI commands which deal with CoreVM and Virtual Machine Offers do not work with preview offers, instead reporting that the VMImage is not found. ### Related command `az vm create`, `az vm image terms` - essentially any `az vm` subcommands which consumes a Marketplace URN / ID. ### Errors ```bash # Attempt to get the marketplace agreement for the live offer behaves correctly: $ az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy:pro-22_04-lts:22.04.202305310 { "accepted": true, "id": "/subscriptions/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.MarketplaceOrdering/offerTypes/VirtualMachine/publishers/Canonical/offers/0001-com-ubuntu-pro-jammy/plans/pro-22_04-lts/agreements/current", "licenseTextLink": "https://mpcprodsa.blob.core.windows.net/legalterms/3E5ED_legalterms_CANONICAL%253a240001%253a2DCOM%253a2DUBUNTU%253a2DPRO%253a2DJAMMY%253a24PRO%253a2D22%253a5F04%253a2DLTS%253a24TPNDKIR6GF6XF5BOJ5KAODEQKKA76P33RWIHBLYFOR2IZC4PDPCUNYW2MEZPJPHFNUOSCXVFMROYI53AA7MLHTRRCARG7OZMI2IXC7Y.txt", "marketplaceTermsLink": "https://mpcprodsa.blob.core.windows.net/marketplaceterms/3EDEF_marketplaceterms_VIRTUALMACHINE%253a24AAK2OAIZEAWW5H4MSP5KSTVB6NDKKRTUBAU23BRFTWN4YC2MQLJUB5ZEYUOUJBVF3YK34CIVPZL2HWYASPGDUY5O2FWEGRBYOXWZE5Y.txt", "name": "pro-22_04-lts", "plan": "pro-22_04-lts", "privacyPolicyLink": "http://www.ubuntu.com/aboutus/privacypolicy", "product": "0001-com-ubuntu-pro-jammy", "publisher": "Canonical", "retrieveDatetime": "2023-06-18T23:11:08.1972372Z", "signature": "M7VHNEDGJLOQIRE5AU4RZENVU4FWHYFOY7NLJDNOE5ELKEKRIH4AHNOLXB72NBVMUQBXZBPALNGJCGPYJ4RNKUIDVULFWCXF3AJOGTY", "systemData": { "createdAt": "2023-06-18T23:11:08.275316+00:00", "createdBy": "SUBSCRIPTION_ID_REMOVED", "createdByType": "ManagedIdentity", "lastModifiedAt": "2023-06-18T23:11:08.275316+00:00", "lastModifiedBy": "SUBSCRIPTION_ID_REMOVED", "lastModifiedByType": "ManagedIdentity" }, "type": "Microsoft.MarketplaceOrdering/offertypes" } # The preview offer however (when part of the preview audience, which I am for this product: $ az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. # Creating a VM from the live offer will provision with no issue: $ az vm create -n test-preview-image -g test-preview-image --image Canonical:0001-com-ubuntu-pro-jammy:pro-22_04-lts:22.04.202305310 --generate-ssh-keys Ignite (November) 2023 onwards "az vm/vmss create" command will deploy Gen2-Trusted Launch VM by default. To know more about the default change and Trusted Launch, please visit https://aka.ms/TLaD It is recommended to use parameter "--public-ip-sku Standard" to create new VM with Standard public IP. Please note that the default public IP used for VM creation will be changed from Basic to Standard in the future. { "fqdns": "", "id": "REDACTED" "location": "eastus", "macAddress": "00-22-48-2E-E0-EF", "powerState": "VM running", "privateIpAddress": "10.0.0.4", "publicIpAddress": "REDACTED", "resourceGroup": "test-preview-image", "zones": "" } # But will fail with the preview offer: $ az vm create -n test-preview-image -g test-preview-image --image Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 --generate-ssh-keys Querying the image of 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310' failed for an error '(NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found.'. Configuring plan settings will be skipped Querying the image of 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310' failed for an error '(NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found.'. Configuring plan settings will be skipped (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. ``` ### Issue script & Debug output For `az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 --debug`: ``` cli.knack.cli: Command arguments: ['vm', 'image', 'terms', 'show', '--urn', 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310', '--debug'] cli.knack.cli: __init__ debug log: Enable color in terminal. cli.knack.cli: Event: Cli.PreExecute [] cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [, , ] cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate [] cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm'] cli.azure.cli.core: Loading command modules: cli.azure.cli.core: Name Load Time Groups Commands cli.azure.cli.core: vm 0.094 58 267 cli.azure.cli.core: Total (1) 0.094 58 267 cli.azure.cli.core: Loaded 58 groups, 267 commands. cli.azure.cli.core: Found a match in the command table. cli.azure.cli.core: Raw command : vm image terms show cli.azure.cli.core: Command table: vm image terms show cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [] cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/jrtknauer/.azure/commands/2023-06-18.17-15-22.vm_image_terms_show.9083.log'. az_command_data_logger: command args: vm image terms show --urn {} --debug cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [.add_subscription_parameter at 0x7f9cff98f6d0>] cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad [] cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [.add_ids_arguments at 0x7f9cff9d1630>, .add_cache_arguments at 0x7f9cff9d1750>] cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded [] cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [] cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [, , .parse_ids_arguments at 0x7f9cff9d16c0>] cli.azure.cli.core.commands.client_factory: Getting management service client client_type=SubscriptionClient cli.azure.cli.core.auth.persistence: build_persistence: location='/home/jrtknauer/.azure/msal_token_cache.json', encrypt=False cli.azure.cli.core.auth.binary_cache: load: /home/jrtknauer/.azure/msal_http_cache.bin urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 945c1bf0-f0d0-4fbb-8b20-ab3002988c19 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_REMOVED/locations?api-version=2019-11-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': '0016f82f-0e2e-11ee-82d6-7391f6a28060' cli.azure.cli.core.sdk.policies: 'CommandName': 'vm image terms show' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--urn --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)' 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/SUBSCRIPTION_ID_REMOVED/locations?api-version=2019-11-01 HTTP/1.1" 200 4985 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': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' 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: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'dc2319ab-ea8a-4278-9774-440d09b87cfb' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'dc2319ab-ea8a-4278-9774-440d09b87cfb' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'WESTUS2:20230618T231529Z:dc2319ab-ea8a-4278-9774-440d09b87cfb' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Sun, 18 Jun 2023 23:15:28 GMT' cli.azure.cli.core.sdk.policies: 'Content-Length': '4985' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"value":[{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus","name":"eastus","displayName":"East US","regionalDisplayName":"(US) East US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"westus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2","name":"eastus2","displayName":"East US 2","regionalDisplayName":"(US) East US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"Virginia","pairedRegion":[{"name":"centralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus","name":"southcentralus","displayName":"South Central US","regionalDisplayName":"(US) South Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"northcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2","name":"westus2","displayName":"West US 2","regionalDisplayName":"(US) West US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-119.852","latitude":"47.233","physicalLocation":"Washington","pairedRegion":[{"name":"westcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus3","name":"westus3","displayName":"West US 3","regionalDisplayName":"(US) West US 3","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-112.074036","latitude":"33.448376","physicalLocation":"Phoenix","pairedRegion":[{"name":"eastus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiaeast","name":"australiaeast","displayName":"Australia East","regionalDisplayName":"(Asia Pacific) Australia East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"151.2094","latitude":"-33.86","physicalLocation":"New South Wales","pairedRegion":[{"name":"australiasoutheast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiasoutheast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasia","name":"southeastasia","displayName":"Southeast Asia","regionalDisplayName":"(Asia Pacific) Southeast Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"103.833","latitude":"1.283","physicalLocation":"Singapore","pairedRegion":[{"name":"eastasia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northeurope","name":"northeurope","displayName":"North Europe","regionalDisplayName":"(Europe) North Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"-6.2597","latitude":"53.3478","physicalLocation":"Ireland","pairedRegion":[{"name":"westeurope","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westeurope"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/swedencentral","name":"swedencentral","displayName":"Sweden Central","regionalDisplayName":"(Europe) Sweden Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"17.14127","latitude":"60.67488","physicalLocation":"Gävle","pairedRegion":[{"name":"swedensouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/swedensouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uksouth","name":"uksouth","displayName":"UK South","regionalDisplayName":"(Europe) UK South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"-0.799","latitude":"50.941","physicalLocation":"London","pairedRegion":[{"name":"ukwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/ukwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westeurope","name":"westeurope","displayName":"West Europe","regionalDisplayName":"(Europe) West Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"4.9","latitude":"52.3667","physicalLocation":"Netherlands","pairedRegion":[{"name":"northeurope","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northeurope"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralus","name":"centralus","displayName":"Central US","regionalDisplayName":"(US) Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"Iowa","pairedRegion":[{"name":"eastus2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricanorth","name":"southafricanorth","displayName":"South Africa North","regionalDisplayName":"(Africa) South Africa North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Africa","longitude":"28.21837","latitude":"-25.73134","physicalLocation":"Johannesburg","pairedRegion":[{"name":"southafricawest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricawest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralindia","name":"centralindia","displayName":"Central India","regionalDisplayName":"(Asia Pacific) Central India","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"73.9197","latitude":"18.5822","physicalLocation":"Pune","pairedRegion":[{"name":"southindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasia","name":"eastasia","displayName":"East Asia","regionalDisplayName":"(Asia Pacific) East Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"114.188","latitude":"22.267","physicalLocation":"Hong Kong","pairedRegion":[{"name":"southeastasia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japaneast","name":"japaneast","displayName":"Japan East","regionalDisplayName":"(Asia Pacific) Japan East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"139.77","latitude":"35.68","physicalLocation":"Tokyo, Saitama","pairedRegion":[{"name":"japanwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japanwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreacentral","name":"koreacentral","displayName":"Korea Central","regionalDisplayName":"(Asia Pacific) Korea Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"126.978","latitude":"37.5665","physicalLocation":"Seoul","pairedRegion":[{"name":"koreasouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreasouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadacentral","name":"canadacentral","displayName":"Canada Central","regionalDisplayName":"(Canada) Canada Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Canada","longitude":"-79.383","latitude":"43.653","physicalLocation":"Toronto","pairedRegion":[{"name":"canadaeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadaeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francecentral","name":"francecentral","displayName":"France Central","regionalDisplayName":"(Europe) France Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"2.373","latitude":"46.3772","physicalLocation":"Paris","pairedRegion":[{"name":"francesouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francesouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanywestcentral","name":"germanywestcentral","displayName":"Germany West Central","regionalDisplayName":"(Europe) Germany West Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"8.682127","latitude":"50.110924","physicalLocation":"Frankfurt","pairedRegion":[{"name":"germanynorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanynorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwayeast","name":"norwayeast","displayName":"Norway East","regionalDisplayName":"(Europe) Norway East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"10.752245","latitude":"59.913868","physicalLocation":"Norway","pairedRegion":[{"name":"norwaywest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwaywest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/polandcentral","name":"polandcentral","displayName":"Poland Central","regionalDisplayName":"(Europe) Poland Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"21.01666","latitude":"52.23334","physicalLocation":"Warsaw","pairedRegion":[]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandnorth","name":"switzerlandnorth","displayName":"Switzerland North","regionalDisplayName":"(Europe) Switzerland North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"8.564572","latitude":"47.451542","physicalLocation":"Zurich","pairedRegion":[{"name":"switzerlandwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaenorth","name":"uaenorth","displayName":"UAE North","regionalDisplayName":"(Middle East) UAE North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Middle East","longitude":"55.316666","latitude":"25.266666","physicalLocation":"Dubai","pairedRegion":[{"name":"uaecentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaecentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsouth","name":"brazilsouth","displayName":"Brazil South","regionalDisplayName":"(South America) Brazil South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"South America","longitude":"-46.633","latitude":"-23.55","physicalLocation":"Sao Paulo State","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centraluseuap","name":"centraluseuap","displayName":"Central US EUAP","regionalDisplayName":"(US) Central US EUAP","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"","pairedRegion":[{"name":"eastus2euap","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2euap"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2euap","name":"eastus2euap","displayName":"East US 2 EUAP","regionalDisplayName":"(US) East US 2 EUAP","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"","pairedRegion":[{"name":"centraluseuap","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centraluseuap"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/qatarcentral","name":"qatarcentral","displayName":"Qatar Central","regionalDisplayName":"(Middle East) Qatar Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Middle East","longitude":"51.439327","latitude":"25.551462","physicalLocation":"Doha","pairedRegion":[]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralusstage","name":"centralusstage","displayName":"Central US (Stage)","regionalDisplayName":"(US) Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstage","name":"eastusstage","displayName":"East US (Stage)","regionalDisplayName":"(US) East US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2stage","name":"eastus2stage","displayName":"East US 2 (Stage)","regionalDisplayName":"(US) East US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralusstage","name":"northcentralusstage","displayName":"North Central US (Stage)","regionalDisplayName":"(US) North Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstage","name":"southcentralusstage","displayName":"South Central US (Stage)","regionalDisplayName":"(US) South Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westusstage","name":"westusstage","displayName":"West US (Stage)","regionalDisplayName":"(US) West US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2stage","name":"westus2stage","displayName":"West US 2 (Stage)","regionalDisplayName":"(US) West US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/asia","name":"asia","displayName":"Asia","regionalDisplayName":"Asia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/asiapacific","name":"asiapacific","displayName":"Asia Pacific","regionalDisplayName":"Asia Pacific","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australia","name":"australia","displayName":"Australia","regionalDisplayName":"Australia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazil","name":"brazil","displayName":"Brazil","regionalDisplayName":"Brazil","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canada","name":"canada","displayName":"Canada","regionalDisplayName":"Canada","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/europe","name":"europe","displayName":"Europe","regionalDisplayName":"Europe","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/france","name":"france","displayName":"France","regionalDisplayName":"France","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germany","name":"germany","displayName":"Germany","regionalDisplayName":"Germany","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/global","name":"global","displayName":"Global","regionalDisplayName":"Global","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/india","name":"india","displayName":"India","regionalDisplayName":"India","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japan","name":"japan","displayName":"Japan","regionalDisplayName":"Japan","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/korea","name":"korea","displayName":"Korea","regionalDisplayName":"Korea","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norway","name":"norway","displayName":"Norway","regionalDisplayName":"Norway","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/singapore","name":"singapore","displayName":"Singapore","regionalDisplayName":"Singapore","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafrica","name":"southafrica","displayName":"South Africa","regionalDisplayName":"South Africa","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerland","name":"switzerland","displayName":"Switzerland","regionalDisplayName":"Switzerland","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uae","name":"uae","displayName":"United Arab Emirates","regionalDisplayName":"United Arab Emirates","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uk","name":"uk","displayName":"United Kingdom","regionalDisplayName":"United Kingdom","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/unitedstates","name":"unitedstates","displayName":"United States","regionalDisplayName":"United States","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/unitedstateseuap","name":"unitedstateseuap","displayName":"United States EUAP","regionalDisplayName":"United States EUAP","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasiastage","name":"eastasiastage","displayName":"East Asia (Stage)","regionalDisplayName":"(Asia Pacific) East Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasiastage","name":"southeastasiastage","displayName":"Southeast Asia (Stage)","regionalDisplayName":"(Asia Pacific) Southeast Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilus","name":"brazilus","displayName":"Brazil US","regionalDisplayName":"(South America) Brazil US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"South America","longitude":"0","latitude":"0","physicalLocation":"","pairedRegion":[{"name":"brazilsoutheast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsoutheast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstg","name":"eastusstg","displayName":"East US STG","regionalDisplayName":"(US) East US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"southcentralusstg","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstg"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralus","name":"northcentralus","displayName":"North Central US","regionalDisplayName":"(US) North Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-87.6278","latitude":"41.8819","physicalLocation":"Illinois","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus","name":"westus","displayName":"West US","regionalDisplayName":"(US) West US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-122.417","latitude":"37.783","physicalLocation":"California","pairedRegion":[{"name":"eastus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiawest","name":"jioindiawest","displayName":"Jio India West","regionalDisplayName":"(Asia Pacific) Jio India West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"70.05773","latitude":"22.470701","physicalLocation":"Jamnagar","pairedRegion":[{"name":"jioindiacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstg","name":"southcentralusstg","displayName":"South Central US STG","regionalDisplayName":"(US) South Central US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"eastusstg","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstg"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westcentralus","name":"westcentralus","displayName":"West Central US","regionalDisplayName":"(US) West Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-110.234","latitude":"40.89","physicalLocation":"Wyoming","pairedRegion":[{"name":"westus2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricawest","name":"southafricawest","displayName":"South Africa West","regionalDisplayName":"(Africa) South Africa West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Africa","longitude":"18.843266","latitude":"-34.075691","physicalLocation":"Cape Town","pairedRegion":[{"name":"southafricanorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricanorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral","name":"australiacentral","displayName":"Australia Central","regionalDisplayName":"(Asia Pacific) Australia Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral2","name":"australiacentral2","displayName":"Australia Central 2","regionalDisplayName":"(Asia Pacific) Australia Central 2","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiasoutheast","name":"australiasoutheast","displayName":"Australia Southeast","regionalDisplayName":"(Asia Pacific) Australia Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"144.9631","latitude":"-37.8136","physicalLocation":"Victoria","pairedRegion":[{"name":"australiaeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiaeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japanwest","name":"japanwest","displayName":"Japan West","regionalDisplayName":"(Asia Pacific) Japan West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"135.5022","latitude":"34.6939","physicalLocation":"Osaka","pairedRegion":[{"name":"japaneast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japaneast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiacentral","name":"jioindiacentral","displayName":"Jio India Central","regionalDisplayName":"(Asia Pacific) Jio India Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"79.08886","latitude":"21.146633","physicalLocation":"Nagpur","pairedRegion":[{"name":"jioindiawest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiawest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreasouth","name":"koreasouth","displayName":"Korea South","regionalDisplayName":"(Asia Pacific) Korea South","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"129.0756","latitude":"35.1796","physicalLocation":"Busan","pairedRegion":[{"name":"koreacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia","name":"southindia","displayName":"South India","regionalDisplayName":"(Asia Pacific) South India","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"80.1636","latitude":"12.9822","physicalLocation":"Chennai","pairedRegion":[{"name":"centralindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westindia","name":"westindia","displayName":"West India","regionalDisplayName":"(Asia Pacific) West India","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"72.868","latitude":"19.088","physicalLocation":"Mumbai","pairedRegion":[{"name":"southindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadaeast","name":"canadaeast","displayName":"Canada East","regionalDisplayName":"(Canada) Canada East","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Canada","longitude":"-71.217","latitude":"46.817","physicalLocation":"Quebec","pairedRegion":[{"name":"canadacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francesouth","name":"francesouth","displayName":"France South","regionalDisplayName":"(Europe) France South","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"2.1972","latitude":"43.8345","physicalLocation":"Marseille","pairedRegion":[{"name":"francecentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francecentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanynorth","name":"germanynorth","displayName":"Germany North","regionalDisplayName":"(Europe) Germany North","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"8.806422","latitude":"53.073635","physicalLocation":"Berlin","pairedRegion":[{"name":"germanywestcentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanywestcentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwaywest","name":"norwaywest","displayName":"Norway West","regionalDisplayName":"(Europe) Norway West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"5.733107","latitude":"58.969975","physicalLocation":"Norway","pairedRegion":[{"name":"norwayeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwayeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandwest","name":"switzerlandwest","displayName":"Switzerland West","regionalDisplayName":"(Europe) Switzerland West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"6.143158","latitude":"46.204391","physicalLocation":"Geneva","pairedRegion":[{"name":"switzerlandnorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandnorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/ukwest","name":"ukwest","displayName":"UK West","regionalDisplayName":"(Europe) UK West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"-3.084","latitude":"53.427","physicalLocation":"Cardiff","pairedRegion":[{"name":"uksouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uksouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaecentral","name":"uaecentral","displayName":"UAE Central","regionalDisplayName":"(Middle East) UAE Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Middle East","longitude":"54.366669","latitude":"24.466667","physicalLocation":"Abu Dhabi","pairedRegion":[{"name":"uaenorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaenorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsoutheast","name":"brazilsoutheast","displayName":"Brazil Southeast","regionalDisplayName":"(South America) Brazil Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"South America","longitude":"-43.2075","latitude":"-22.90278","physicalLocation":"Rio","pairedRegion":[{"name":"brazilsouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsouth"}]}}]} cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: cf08fb8f-c6db-49b5-be3c-95219a0ac155 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-pro-jammy-preview/skus/pro-22_04-lts/versions/22.04.202305310?api-version=2022-11-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': '0016f82f-0e2e-11ee-82d6-7391f6a28060' cli.azure.cli.core.sdk.policies: 'CommandName': 'vm image terms show' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--urn --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)' 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/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-pro-jammy-preview/skus/pro-22_04-lts/versions/22.04.202305310?api-version=2022-11-01 HTTP/1.1" 404 99 cli.azure.cli.core.sdk.policies: Response status: 404 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '99' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73995' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-served-by': '7f4541bd-130b-4279-a8a9-bedf46d42e87_133076717010052775' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'bac2ab4b-1988-4441-b7e2-fdf936771b5f' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '338bf808-e893-44f4-8b31-8d71558dfdbb' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'WESTUS2:20230618T231529Z:338bf808-e893-44f4-8b31-8d71558dfdbb' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Sun, 18 Jun 2023 23:15:28 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: { "error": { "code": "NotFound", "message": "Artifact: VMImage was not found." } } cli.azure.cli.core.azclierror: Traceback (most recent call last): File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 361, in handler return op(**command_args) File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2441, in get_terms publisher, offer, plan = _terms_prepare(cmd, urn, publisher, offer, plan) File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2377, in _terms_prepare image = show_vm_image(cmd, urn) File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2327, in show_vm_image return client.virtual_machine_images.get(location, publisher, offer, sku, version) File "/opt/az/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer return func(*args, **kwargs) File "/opt/az/lib/python3.10/site-packages/azure/mgmt/compute/v2022_11_01/operations/_virtual_machine_images_operations.py", line 317, in get map_error(status_code=response.status_code, response=response, error_map=error_map) File "/opt/az/lib/python3.10/site-packages/azure/core/exceptions.py", line 107, in map_error raise error azure.core.exceptions.ResourceNotFoundError: (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. cli.azure.cli.core.azclierror: (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. az_command_data_logger: (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. cli.knack.cli: Event: Cli.PostExecute [] az_command_data_logger: exit code: 3 cli.__main__: Command ran in 1.884 seconds (init: 0.096, invoke: 1.788) 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 3585 in cache telemetry.check: Negative: The /home/jrtknauer/.azure/telemetry.txt was modified at 2023-06-18 17:12:01.341998, which in less than 600.000000 s ``` ### Expected behavior All commands which work on live offers should also work on preview offers. Azure CLI reporting that the image does not exist is not only incorrect, but inconsistent with the REST API (and SDKs). ### Environment Summary ``` azure-cli 2.49.0 core 2.49.0 telemetry 1.0.8 Dependencies: msal 1.20.0 azure-mgmt-resource 22.0.0 Python location '/opt/az/bin/python3' Extensions directory '/home/jrtknauer/.azure/cliextensions' Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0] Legal docs and information: aka.ms/AzureCliLegal Your CLI is up-to-date. ``` ### Additional context Given that preview offers are implicit to a live offer, Azure CLI should not be checking for the existence of a preview offer - only that the base offer exists.
Author: jrtknauer
Assignees: -
Labels: `bug`, `Compute`, `Service Attention`, `customer-reported`, `needs-team-attention`, `Auto-Assign`, `Azure CLI Team`
Milestone: Backlog
navba-MSFT commented 1 year ago

Adding Service team to look into this.

ghost commented 1 year ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT.

Issue Details
### Describe the bug Azure CLI commands which deal with CoreVM and Virtual Machine Offers do not work with preview offers, instead reporting that the VMImage is not found. ### Related command `az vm create`, `az vm image terms` - essentially any `az vm` subcommands which consumes a Marketplace URN / ID. ### Errors ```bash # Attempt to get the marketplace agreement for the live offer behaves correctly: $ az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy:pro-22_04-lts:22.04.202305310 { "accepted": true, "id": "/subscriptions/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.MarketplaceOrdering/offerTypes/VirtualMachine/publishers/Canonical/offers/0001-com-ubuntu-pro-jammy/plans/pro-22_04-lts/agreements/current", "licenseTextLink": "https://mpcprodsa.blob.core.windows.net/legalterms/3E5ED_legalterms_CANONICAL%253a240001%253a2DCOM%253a2DUBUNTU%253a2DPRO%253a2DJAMMY%253a24PRO%253a2D22%253a5F04%253a2DLTS%253a24TPNDKIR6GF6XF5BOJ5KAODEQKKA76P33RWIHBLYFOR2IZC4PDPCUNYW2MEZPJPHFNUOSCXVFMROYI53AA7MLHTRRCARG7OZMI2IXC7Y.txt", "marketplaceTermsLink": "https://mpcprodsa.blob.core.windows.net/marketplaceterms/3EDEF_marketplaceterms_VIRTUALMACHINE%253a24AAK2OAIZEAWW5H4MSP5KSTVB6NDKKRTUBAU23BRFTWN4YC2MQLJUB5ZEYUOUJBVF3YK34CIVPZL2HWYASPGDUY5O2FWEGRBYOXWZE5Y.txt", "name": "pro-22_04-lts", "plan": "pro-22_04-lts", "privacyPolicyLink": "http://www.ubuntu.com/aboutus/privacypolicy", "product": "0001-com-ubuntu-pro-jammy", "publisher": "Canonical", "retrieveDatetime": "2023-06-18T23:11:08.1972372Z", "signature": "M7VHNEDGJLOQIRE5AU4RZENVU4FWHYFOY7NLJDNOE5ELKEKRIH4AHNOLXB72NBVMUQBXZBPALNGJCGPYJ4RNKUIDVULFWCXF3AJOGTY", "systemData": { "createdAt": "2023-06-18T23:11:08.275316+00:00", "createdBy": "SUBSCRIPTION_ID_REMOVED", "createdByType": "ManagedIdentity", "lastModifiedAt": "2023-06-18T23:11:08.275316+00:00", "lastModifiedBy": "SUBSCRIPTION_ID_REMOVED", "lastModifiedByType": "ManagedIdentity" }, "type": "Microsoft.MarketplaceOrdering/offertypes" } # The preview offer however (when part of the preview audience, which I am for this product: $ az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. # Creating a VM from the live offer will provision with no issue: $ az vm create -n test-preview-image -g test-preview-image --image Canonical:0001-com-ubuntu-pro-jammy:pro-22_04-lts:22.04.202305310 --generate-ssh-keys Ignite (November) 2023 onwards "az vm/vmss create" command will deploy Gen2-Trusted Launch VM by default. To know more about the default change and Trusted Launch, please visit https://aka.ms/TLaD It is recommended to use parameter "--public-ip-sku Standard" to create new VM with Standard public IP. Please note that the default public IP used for VM creation will be changed from Basic to Standard in the future. { "fqdns": "", "id": "REDACTED" "location": "eastus", "macAddress": "00-22-48-2E-E0-EF", "powerState": "VM running", "privateIpAddress": "10.0.0.4", "publicIpAddress": "REDACTED", "resourceGroup": "test-preview-image", "zones": "" } # But will fail with the preview offer: $ az vm create -n test-preview-image -g test-preview-image --image Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 --generate-ssh-keys Querying the image of 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310' failed for an error '(NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found.'. Configuring plan settings will be skipped Querying the image of 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310' failed for an error '(NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found.'. Configuring plan settings will be skipped (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. ``` ### Issue script & Debug output For `az vm image terms show --urn Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310 --debug`: ``` cli.knack.cli: Command arguments: ['vm', 'image', 'terms', 'show', '--urn', 'Canonical:0001-com-ubuntu-pro-jammy-preview:pro-22_04-lts:22.04.202305310', '--debug'] cli.knack.cli: __init__ debug log: Enable color in terminal. cli.knack.cli: Event: Cli.PreExecute [] cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [, , ] cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate [] cli.azure.cli.core: Modules found from index for 'vm': ['azure.cli.command_modules.vm'] cli.azure.cli.core: Loading command modules: cli.azure.cli.core: Name Load Time Groups Commands cli.azure.cli.core: vm 0.094 58 267 cli.azure.cli.core: Total (1) 0.094 58 267 cli.azure.cli.core: Loaded 58 groups, 267 commands. cli.azure.cli.core: Found a match in the command table. cli.azure.cli.core: Raw command : vm image terms show cli.azure.cli.core: Command table: vm image terms show cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [] cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/jrtknauer/.azure/commands/2023-06-18.17-15-22.vm_image_terms_show.9083.log'. az_command_data_logger: command args: vm image terms show --urn {} --debug cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [.add_subscription_parameter at 0x7f9cff98f6d0>] cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad [] cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [.add_ids_arguments at 0x7f9cff9d1630>, .add_cache_arguments at 0x7f9cff9d1750>] cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded [] cli.knack.cli: Event: CommandInvoker.OnPreParseArgs [] cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [, , .parse_ids_arguments at 0x7f9cff9d16c0>] cli.azure.cli.core.commands.client_factory: Getting management service client client_type=SubscriptionClient cli.azure.cli.core.auth.persistence: build_persistence: location='/home/jrtknauer/.azure/msal_token_cache.json', encrypt=False cli.azure.cli.core.auth.binary_cache: load: /home/jrtknauer/.azure/msal_http_cache.bin urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: 945c1bf0-f0d0-4fbb-8b20-ab3002988c19 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_REMOVED/locations?api-version=2019-11-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': '0016f82f-0e2e-11ee-82d6-7391f6a28060' cli.azure.cli.core.sdk.policies: 'CommandName': 'vm image terms show' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--urn --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-resource/22.0.0 Python/3.10.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)' 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/SUBSCRIPTION_ID_REMOVED/locations?api-version=2019-11-01 HTTP/1.1" 200 4985 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': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' 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: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'Vary': 'Accept-Encoding' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'dc2319ab-ea8a-4278-9774-440d09b87cfb' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': 'dc2319ab-ea8a-4278-9774-440d09b87cfb' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'WESTUS2:20230618T231529Z:dc2319ab-ea8a-4278-9774-440d09b87cfb' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Sun, 18 Jun 2023 23:15:28 GMT' cli.azure.cli.core.sdk.policies: 'Content-Length': '4985' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: {"value":[{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus","name":"eastus","displayName":"East US","regionalDisplayName":"(US) East US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"westus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2","name":"eastus2","displayName":"East US 2","regionalDisplayName":"(US) East US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"Virginia","pairedRegion":[{"name":"centralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus","name":"southcentralus","displayName":"South Central US","regionalDisplayName":"(US) South Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"northcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2","name":"westus2","displayName":"West US 2","regionalDisplayName":"(US) West US 2","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-119.852","latitude":"47.233","physicalLocation":"Washington","pairedRegion":[{"name":"westcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus3","name":"westus3","displayName":"West US 3","regionalDisplayName":"(US) West US 3","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-112.074036","latitude":"33.448376","physicalLocation":"Phoenix","pairedRegion":[{"name":"eastus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiaeast","name":"australiaeast","displayName":"Australia East","regionalDisplayName":"(Asia Pacific) Australia East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"151.2094","latitude":"-33.86","physicalLocation":"New South Wales","pairedRegion":[{"name":"australiasoutheast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiasoutheast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasia","name":"southeastasia","displayName":"Southeast Asia","regionalDisplayName":"(Asia Pacific) Southeast Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"103.833","latitude":"1.283","physicalLocation":"Singapore","pairedRegion":[{"name":"eastasia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northeurope","name":"northeurope","displayName":"North Europe","regionalDisplayName":"(Europe) North Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"-6.2597","latitude":"53.3478","physicalLocation":"Ireland","pairedRegion":[{"name":"westeurope","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westeurope"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/swedencentral","name":"swedencentral","displayName":"Sweden Central","regionalDisplayName":"(Europe) Sweden Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"17.14127","latitude":"60.67488","physicalLocation":"Gävle","pairedRegion":[{"name":"swedensouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/swedensouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uksouth","name":"uksouth","displayName":"UK South","regionalDisplayName":"(Europe) UK South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"-0.799","latitude":"50.941","physicalLocation":"London","pairedRegion":[{"name":"ukwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/ukwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westeurope","name":"westeurope","displayName":"West Europe","regionalDisplayName":"(Europe) West Europe","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"4.9","latitude":"52.3667","physicalLocation":"Netherlands","pairedRegion":[{"name":"northeurope","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northeurope"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralus","name":"centralus","displayName":"Central US","regionalDisplayName":"(US) Central US","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"Iowa","pairedRegion":[{"name":"eastus2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricanorth","name":"southafricanorth","displayName":"South Africa North","regionalDisplayName":"(Africa) South Africa North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Africa","longitude":"28.21837","latitude":"-25.73134","physicalLocation":"Johannesburg","pairedRegion":[{"name":"southafricawest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricawest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralindia","name":"centralindia","displayName":"Central India","regionalDisplayName":"(Asia Pacific) Central India","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"73.9197","latitude":"18.5822","physicalLocation":"Pune","pairedRegion":[{"name":"southindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasia","name":"eastasia","displayName":"East Asia","regionalDisplayName":"(Asia Pacific) East Asia","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"114.188","latitude":"22.267","physicalLocation":"Hong Kong","pairedRegion":[{"name":"southeastasia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japaneast","name":"japaneast","displayName":"Japan East","regionalDisplayName":"(Asia Pacific) Japan East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"139.77","latitude":"35.68","physicalLocation":"Tokyo, Saitama","pairedRegion":[{"name":"japanwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japanwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreacentral","name":"koreacentral","displayName":"Korea Central","regionalDisplayName":"(Asia Pacific) Korea Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Asia Pacific","longitude":"126.978","latitude":"37.5665","physicalLocation":"Seoul","pairedRegion":[{"name":"koreasouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreasouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadacentral","name":"canadacentral","displayName":"Canada Central","regionalDisplayName":"(Canada) Canada Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Canada","longitude":"-79.383","latitude":"43.653","physicalLocation":"Toronto","pairedRegion":[{"name":"canadaeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadaeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francecentral","name":"francecentral","displayName":"France Central","regionalDisplayName":"(Europe) France Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"2.373","latitude":"46.3772","physicalLocation":"Paris","pairedRegion":[{"name":"francesouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francesouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanywestcentral","name":"germanywestcentral","displayName":"Germany West Central","regionalDisplayName":"(Europe) Germany West Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"8.682127","latitude":"50.110924","physicalLocation":"Frankfurt","pairedRegion":[{"name":"germanynorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanynorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwayeast","name":"norwayeast","displayName":"Norway East","regionalDisplayName":"(Europe) Norway East","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"10.752245","latitude":"59.913868","physicalLocation":"Norway","pairedRegion":[{"name":"norwaywest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwaywest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/polandcentral","name":"polandcentral","displayName":"Poland Central","regionalDisplayName":"(Europe) Poland Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"21.01666","latitude":"52.23334","physicalLocation":"Warsaw","pairedRegion":[]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandnorth","name":"switzerlandnorth","displayName":"Switzerland North","regionalDisplayName":"(Europe) Switzerland North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Europe","longitude":"8.564572","latitude":"47.451542","physicalLocation":"Zurich","pairedRegion":[{"name":"switzerlandwest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandwest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaenorth","name":"uaenorth","displayName":"UAE North","regionalDisplayName":"(Middle East) UAE North","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Middle East","longitude":"55.316666","latitude":"25.266666","physicalLocation":"Dubai","pairedRegion":[{"name":"uaecentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaecentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsouth","name":"brazilsouth","displayName":"Brazil South","regionalDisplayName":"(South America) Brazil South","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"South America","longitude":"-46.633","latitude":"-23.55","physicalLocation":"Sao Paulo State","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centraluseuap","name":"centraluseuap","displayName":"Central US EUAP","regionalDisplayName":"(US) Central US EUAP","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-93.6208","latitude":"41.5908","physicalLocation":"","pairedRegion":[{"name":"eastus2euap","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2euap"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2euap","name":"eastus2euap","displayName":"East US 2 EUAP","regionalDisplayName":"(US) East US 2 EUAP","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"US","longitude":"-78.3889","latitude":"36.6681","physicalLocation":"","pairedRegion":[{"name":"centraluseuap","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centraluseuap"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/qatarcentral","name":"qatarcentral","displayName":"Qatar Central","regionalDisplayName":"(Middle East) Qatar Central","metadata":{"regionType":"Physical","regionCategory":"Recommended","geographyGroup":"Middle East","longitude":"51.439327","latitude":"25.551462","physicalLocation":"Doha","pairedRegion":[]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralusstage","name":"centralusstage","displayName":"Central US (Stage)","regionalDisplayName":"(US) Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstage","name":"eastusstage","displayName":"East US (Stage)","regionalDisplayName":"(US) East US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus2stage","name":"eastus2stage","displayName":"East US 2 (Stage)","regionalDisplayName":"(US) East US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralusstage","name":"northcentralusstage","displayName":"North Central US (Stage)","regionalDisplayName":"(US) North Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstage","name":"southcentralusstage","displayName":"South Central US (Stage)","regionalDisplayName":"(US) South Central US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westusstage","name":"westusstage","displayName":"West US (Stage)","regionalDisplayName":"(US) West US (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2stage","name":"westus2stage","displayName":"West US 2 (Stage)","regionalDisplayName":"(US) West US 2 (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"US"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/asia","name":"asia","displayName":"Asia","regionalDisplayName":"Asia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/asiapacific","name":"asiapacific","displayName":"Asia Pacific","regionalDisplayName":"Asia Pacific","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australia","name":"australia","displayName":"Australia","regionalDisplayName":"Australia","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazil","name":"brazil","displayName":"Brazil","regionalDisplayName":"Brazil","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canada","name":"canada","displayName":"Canada","regionalDisplayName":"Canada","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/europe","name":"europe","displayName":"Europe","regionalDisplayName":"Europe","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/france","name":"france","displayName":"France","regionalDisplayName":"France","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germany","name":"germany","displayName":"Germany","regionalDisplayName":"Germany","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/global","name":"global","displayName":"Global","regionalDisplayName":"Global","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/india","name":"india","displayName":"India","regionalDisplayName":"India","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japan","name":"japan","displayName":"Japan","regionalDisplayName":"Japan","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/korea","name":"korea","displayName":"Korea","regionalDisplayName":"Korea","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norway","name":"norway","displayName":"Norway","regionalDisplayName":"Norway","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/singapore","name":"singapore","displayName":"Singapore","regionalDisplayName":"Singapore","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafrica","name":"southafrica","displayName":"South Africa","regionalDisplayName":"South Africa","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerland","name":"switzerland","displayName":"Switzerland","regionalDisplayName":"Switzerland","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uae","name":"uae","displayName":"United Arab Emirates","regionalDisplayName":"United Arab Emirates","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uk","name":"uk","displayName":"United Kingdom","regionalDisplayName":"United Kingdom","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/unitedstates","name":"unitedstates","displayName":"United States","regionalDisplayName":"United States","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/unitedstateseuap","name":"unitedstateseuap","displayName":"United States EUAP","regionalDisplayName":"United States EUAP","metadata":{"regionType":"Logical","regionCategory":"Other"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastasiastage","name":"eastasiastage","displayName":"East Asia (Stage)","regionalDisplayName":"(Asia Pacific) East Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southeastasiastage","name":"southeastasiastage","displayName":"Southeast Asia (Stage)","regionalDisplayName":"(Asia Pacific) Southeast Asia (Stage)","metadata":{"regionType":"Logical","regionCategory":"Other","geographyGroup":"Asia Pacific"}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilus","name":"brazilus","displayName":"Brazil US","regionalDisplayName":"(South America) Brazil US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"South America","longitude":"0","latitude":"0","physicalLocation":"","pairedRegion":[{"name":"brazilsoutheast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsoutheast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstg","name":"eastusstg","displayName":"East US STG","regionalDisplayName":"(US) East US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-79.8164","latitude":"37.3719","physicalLocation":"Virginia","pairedRegion":[{"name":"southcentralusstg","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstg"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/northcentralus","name":"northcentralus","displayName":"North Central US","regionalDisplayName":"(US) North Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-87.6278","latitude":"41.8819","physicalLocation":"Illinois","pairedRegion":[{"name":"southcentralus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus","name":"westus","displayName":"West US","regionalDisplayName":"(US) West US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-122.417","latitude":"37.783","physicalLocation":"California","pairedRegion":[{"name":"eastus","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastus"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiawest","name":"jioindiawest","displayName":"Jio India West","regionalDisplayName":"(Asia Pacific) Jio India West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"70.05773","latitude":"22.470701","physicalLocation":"Jamnagar","pairedRegion":[{"name":"jioindiacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southcentralusstg","name":"southcentralusstg","displayName":"South Central US STG","regionalDisplayName":"(US) South Central US STG","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-98.5","latitude":"29.4167","physicalLocation":"Texas","pairedRegion":[{"name":"eastusstg","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/eastusstg"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westcentralus","name":"westcentralus","displayName":"West Central US","regionalDisplayName":"(US) West Central US","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"US","longitude":"-110.234","latitude":"40.89","physicalLocation":"Wyoming","pairedRegion":[{"name":"westus2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westus2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricawest","name":"southafricawest","displayName":"South Africa West","regionalDisplayName":"(Africa) South Africa West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Africa","longitude":"18.843266","latitude":"-34.075691","physicalLocation":"Cape Town","pairedRegion":[{"name":"southafricanorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southafricanorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral","name":"australiacentral","displayName":"Australia Central","regionalDisplayName":"(Asia Pacific) Australia Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral2","name":"australiacentral2","displayName":"Australia Central 2","regionalDisplayName":"(Asia Pacific) Australia Central 2","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"149.1244","latitude":"-35.3075","physicalLocation":"Canberra","pairedRegion":[{"name":"australiacentral2","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiacentral2"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiasoutheast","name":"australiasoutheast","displayName":"Australia Southeast","regionalDisplayName":"(Asia Pacific) Australia Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"144.9631","latitude":"-37.8136","physicalLocation":"Victoria","pairedRegion":[{"name":"australiaeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/australiaeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japanwest","name":"japanwest","displayName":"Japan West","regionalDisplayName":"(Asia Pacific) Japan West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"135.5022","latitude":"34.6939","physicalLocation":"Osaka","pairedRegion":[{"name":"japaneast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/japaneast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiacentral","name":"jioindiacentral","displayName":"Jio India Central","regionalDisplayName":"(Asia Pacific) Jio India Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"79.08886","latitude":"21.146633","physicalLocation":"Nagpur","pairedRegion":[{"name":"jioindiawest","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/jioindiawest"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreasouth","name":"koreasouth","displayName":"Korea South","regionalDisplayName":"(Asia Pacific) Korea South","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"129.0756","latitude":"35.1796","physicalLocation":"Busan","pairedRegion":[{"name":"koreacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/koreacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia","name":"southindia","displayName":"South India","regionalDisplayName":"(Asia Pacific) South India","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"80.1636","latitude":"12.9822","physicalLocation":"Chennai","pairedRegion":[{"name":"centralindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/centralindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/westindia","name":"westindia","displayName":"West India","regionalDisplayName":"(Asia Pacific) West India","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Asia Pacific","longitude":"72.868","latitude":"19.088","physicalLocation":"Mumbai","pairedRegion":[{"name":"southindia","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/southindia"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadaeast","name":"canadaeast","displayName":"Canada East","regionalDisplayName":"(Canada) Canada East","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Canada","longitude":"-71.217","latitude":"46.817","physicalLocation":"Quebec","pairedRegion":[{"name":"canadacentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/canadacentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francesouth","name":"francesouth","displayName":"France South","regionalDisplayName":"(Europe) France South","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"2.1972","latitude":"43.8345","physicalLocation":"Marseille","pairedRegion":[{"name":"francecentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/francecentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanynorth","name":"germanynorth","displayName":"Germany North","regionalDisplayName":"(Europe) Germany North","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"8.806422","latitude":"53.073635","physicalLocation":"Berlin","pairedRegion":[{"name":"germanywestcentral","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/germanywestcentral"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwaywest","name":"norwaywest","displayName":"Norway West","regionalDisplayName":"(Europe) Norway West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"5.733107","latitude":"58.969975","physicalLocation":"Norway","pairedRegion":[{"name":"norwayeast","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/norwayeast"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandwest","name":"switzerlandwest","displayName":"Switzerland West","regionalDisplayName":"(Europe) Switzerland West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"6.143158","latitude":"46.204391","physicalLocation":"Geneva","pairedRegion":[{"name":"switzerlandnorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/switzerlandnorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/ukwest","name":"ukwest","displayName":"UK West","regionalDisplayName":"(Europe) UK West","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Europe","longitude":"-3.084","latitude":"53.427","physicalLocation":"Cardiff","pairedRegion":[{"name":"uksouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uksouth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaecentral","name":"uaecentral","displayName":"UAE Central","regionalDisplayName":"(Middle East) UAE Central","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"Middle East","longitude":"54.366669","latitude":"24.466667","physicalLocation":"Abu Dhabi","pairedRegion":[{"name":"uaenorth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/uaenorth"}]}},{"id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsoutheast","name":"brazilsoutheast","displayName":"Brazil Southeast","regionalDisplayName":"(South America) Brazil Southeast","metadata":{"regionType":"Physical","regionCategory":"Other","geographyGroup":"South America","longitude":"-43.2075","latitude":"-22.90278","physicalLocation":"Rio","pairedRegion":[{"name":"brazilsouth","id":"/subscriptions/SUBSCRIPTION_ID_REMOVED/locations/brazilsouth"}]}}]} cli.azure.cli.core.commands.client_factory: Getting management service client client_type=ComputeManagementClient urllib3.util.retry: Converted retries value: 1 -> Retry(total=1, connect=None, read=None, redirect=None, status=None) msal.authority: openid_config = {'token_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/token', 'token_endpoint_auth_methods_supported': ['client_secret_post', 'private_key_jwt', 'client_secret_basic'], 'jwks_uri': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/discovery/v2.0/keys', 'response_modes_supported': ['query', 'fragment', 'form_post'], 'subject_types_supported': ['pairwise'], 'id_token_signing_alg_values_supported': ['RS256'], 'response_types_supported': ['code', 'id_token', 'code id_token', 'id_token token'], 'scopes_supported': ['openid', 'profile', 'email', 'offline_access'], 'issuer': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/v2.0', 'request_uri_parameter_supported': False, 'userinfo_endpoint': 'https://graph.microsoft.com/oidc/userinfo', 'authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/authorize', 'device_authorization_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/devicecode', 'http_logout_supported': True, 'frontchannel_logout_supported': True, 'end_session_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/oauth2/v2.0/logout', 'claims_supported': ['sub', 'iss', 'cloud_instance_name', 'cloud_instance_host_name', 'cloud_graph_host_name', 'msgraph_host', 'aud', 'exp', 'iat', 'auth_time', 'acr', 'nonce', 'preferred_username', 'name', 'tid', 'ver', 'at_hash', 'c_hash', 'email'], 'kerberos_endpoint': 'https://login.microsoftonline.com/40a524d9-f848-46d4-a96f-be6df491fe15/kerberos', 'tenant_region_scope': 'NA', 'cloud_instance_name': 'microsoftonline.com', 'cloud_graph_host_name': 'graph.windows.net', 'msgraph_host': 'graph.microsoft.com', 'rbac_url': 'https://pas.windows.net'} msal.application: Broker enabled? False cli.azure.cli.core.auth.credential_adaptor: CredentialAdaptor.get_token: scopes=('https://management.core.windows.net//.default',), kwargs={} cli.azure.cli.core.auth.msal_authentication: UserCredential.get_token: scopes=('https://management.core.windows.net//.default',), claims=None, kwargs={} msal.application: Cache hit an AT msal.telemetry: Generate or reuse correlation_id: cf08fb8f-c6db-49b5-be3c-95219a0ac155 cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/subscriptions/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-pro-jammy-preview/skus/pro-22_04-lts/versions/22.04.202305310?api-version=2022-11-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': '0016f82f-0e2e-11ee-82d6-7391f6a28060' cli.azure.cli.core.sdk.policies: 'CommandName': 'vm image terms show' cli.azure.cli.core.sdk.policies: 'ParameterSetName': '--urn --debug' cli.azure.cli.core.sdk.policies: 'User-Agent': 'AZURECLI/2.49.0 (DEB) azsdk-python-azure-mgmt-compute/29.1.0 Python/3.10.10 (Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.35)' 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/SUBSCRIPTION_ID_REMOVED/providers/Microsoft.Compute/locations/westus/publishers/Canonical/artifacttypes/vmimage/offers/0001-com-ubuntu-pro-jammy-preview/skus/pro-22_04-lts/versions/22.04.202305310?api-version=2022-11-01 HTTP/1.1" 404 99 cli.azure.cli.core.sdk.policies: Response status: 404 cli.azure.cli.core.sdk.policies: Response headers: cli.azure.cli.core.sdk.policies: 'Cache-Control': 'no-cache' cli.azure.cli.core.sdk.policies: 'Pragma': 'no-cache' cli.azure.cli.core.sdk.policies: 'Content-Length': '99' cli.azure.cli.core.sdk.policies: 'Content-Type': 'application/json; charset=utf-8' cli.azure.cli.core.sdk.policies: 'Expires': '-1' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-resource': 'Microsoft.Compute/GetVMImageFromLocation3Min;12999,Microsoft.Compute/GetVMImageFromLocation30Min;73995' cli.azure.cli.core.sdk.policies: 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains' cli.azure.cli.core.sdk.policies: 'x-ms-served-by': '7f4541bd-130b-4279-a8a9-bedf46d42e87_133076717010052775' cli.azure.cli.core.sdk.policies: 'x-ms-request-id': 'bac2ab4b-1988-4441-b7e2-fdf936771b5f' cli.azure.cli.core.sdk.policies: 'Server': 'Microsoft-HTTPAPI/2.0, Microsoft-HTTPAPI/2.0' cli.azure.cli.core.sdk.policies: 'x-ms-ratelimit-remaining-subscription-reads': '11999' cli.azure.cli.core.sdk.policies: 'x-ms-correlation-request-id': '338bf808-e893-44f4-8b31-8d71558dfdbb' cli.azure.cli.core.sdk.policies: 'x-ms-routing-request-id': 'WESTUS2:20230618T231529Z:338bf808-e893-44f4-8b31-8d71558dfdbb' cli.azure.cli.core.sdk.policies: 'X-Content-Type-Options': 'nosniff' cli.azure.cli.core.sdk.policies: 'Date': 'Sun, 18 Jun 2023 23:15:28 GMT' cli.azure.cli.core.sdk.policies: Response content: cli.azure.cli.core.sdk.policies: { "error": { "code": "NotFound", "message": "Artifact: VMImage was not found." } } cli.azure.cli.core.azclierror: Traceback (most recent call last): File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 361, in handler return op(**command_args) File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2441, in get_terms publisher, offer, plan = _terms_prepare(cmd, urn, publisher, offer, plan) File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2377, in _terms_prepare image = show_vm_image(cmd, urn) File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/vm/custom.py", line 2327, in show_vm_image return client.virtual_machine_images.get(location, publisher, offer, sku, version) File "/opt/az/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer return func(*args, **kwargs) File "/opt/az/lib/python3.10/site-packages/azure/mgmt/compute/v2022_11_01/operations/_virtual_machine_images_operations.py", line 317, in get map_error(status_code=response.status_code, response=response, error_map=error_map) File "/opt/az/lib/python3.10/site-packages/azure/core/exceptions.py", line 107, in map_error raise error azure.core.exceptions.ResourceNotFoundError: (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. cli.azure.cli.core.azclierror: (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. az_command_data_logger: (NotFound) Artifact: VMImage was not found. Code: NotFound Message: Artifact: VMImage was not found. cli.knack.cli: Event: Cli.PostExecute [] az_command_data_logger: exit code: 3 cli.__main__: Command ran in 1.884 seconds (init: 0.096, invoke: 1.788) 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 3585 in cache telemetry.check: Negative: The /home/jrtknauer/.azure/telemetry.txt was modified at 2023-06-18 17:12:01.341998, which in less than 600.000000 s ``` ### Expected behavior All commands which work on live offers should also work on preview offers. Azure CLI reporting that the image does not exist is not only incorrect, but inconsistent with the REST API (and SDKs). ### Environment Summary ``` azure-cli 2.49.0 core 2.49.0 telemetry 1.0.8 Dependencies: msal 1.20.0 azure-mgmt-resource 22.0.0 Python location '/opt/az/bin/python3' Extensions directory '/home/jrtknauer/.azure/cliextensions' Python (Linux) 3.10.10 (main, May 19 2023, 08:20:31) [GCC 11.3.0] Legal docs and information: aka.ms/AzureCliLegal Your CLI is up-to-date. ``` ### Additional context Given that preview offers are implicit to a live offer, Azure CLI should not be checking for the existence of a preview offer - only that the base offer exists.
Author: jrtknauer
Assignees: -
Labels: `bug`, `Compute`, `Service Attention`, `Compute - VM`, `customer-reported`, `needs-team-attention`, `Auto-Assign`, `Azure CLI Team`
Milestone: Backlog