Azure-cli: Are there SKUs with no versions? What do they mean?

Created on 5 Apr 2019  Â·  5Comments  Â·  Source: Azure/azure-cli

Hi!
I was able to get some SKUs with apparently no version

$ az vm image list-skus --location canadaeast --publisher MicrosoftWindowsServer --offer servertesting
[
  {
    "id": "/Subscriptions/[SUBSCRIPTION_ID]/Providers/Microsoft.Compute/Locations/CanadaEast/Publishers/MicrosoftWindowsServer/ArtifactTypes/VMImage/Offers/servertesting/Skus/2016-datacenter",
    "location": "CanadaEast",
    "name": "2016-datacenter",
    "properties": {
      "automaticOSUpgradeProperties": {
        "automaticOSUpgradeSupported": false
      }
    },
    "tags": null
  }
]
$ az vm image show  --urn MicrosoftWindowsServer:servertesting:2016-datacenter:latest
Can't resolve the vesion of 'MicrosoftWindowsServer:servertesting:2016-datacenter'

What are those SKUs? Are they usable?

(Also there's a typo at can't resolve version/vesion error message :))


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Compute Compute - Images Compute-cli Service Attention question

All 5 comments

@danielestevez.

This is very strange. I investigated and it appears there are no images for that offer:

azure-cli tosin$ az vm image list-skus --location canadaeast --publisher MicrosoftWindowsServer --offer servertesting
[
  {
    "id": "/Subscriptions/00977cdb-163f-435f-9c32-39ec8ae61f4d/Providers/Microsoft.Compute/Locations/CanadaEast/Publishers/MicrosoftWindowsServer/ArtifactTypes/VMImage/Offers/servertesting/Skus/2016-datacenter",
    "location": "CanadaEast",
    "name": "2016-datacenter",
    "properties": {
      "automaticOSUpgradeProperties": {
        "automaticOSUpgradeSupported": false
      }
    },
    "tags": null
  }
]
azure-cli tosin$ az vm image list  --location canadaeast --publisher MicrosoftWindowsServer --all | grep "testing"
azure-cli tosin$ 

My guess is its some sort of internal testing sku. I will reach out to the Compute service team for clarification.

P.S. Thanks for catching and reporting the typo. I have created a PR to fix it.

cc: @yugangw-msft @kmouss

It looks like some kind of internal testing so i think they shouldn't be exposed by the API?

It looks like some kind of internal testing so i think they shouldn't be exposed by the API?

I agree @danielestevez, it seems like this might be a sku used for internal testing that is being leaked out.

Thanks @adewaleo !

I will be closing this not a CLI issue and it doesn't prevent users from working with regular vm images and skus.
Thanks for opening this @danielestevez. Please let me know if you have any questions. I have followed up / am currently following up with people on the service team on this.

Was this page helpful?
0 / 5 - 0 ratings