79154011

Date: 2024-11-04 02:08:06
Score: 1
Natty:
Report link

As @jitter answered, if using kind = BlobStorage, the accessTier in properties is required. reference

resource storageAccount1 'Microsoft.Storage/storageAccounts@2023-05-01' = {
  name: 'satest111'
  location: 'westus'
  sku: {
    name: 'Standard_LRS'
  }
  kind: 'BlobStorage'
  properties: {
    accessTier: 'Cold'
  }
}

enter image description here

Try to use kind = 'StorageV2' to make it easy if the kind not mandatory, v2 type is also recommanded.

resource storageAccount2 'Microsoft.Storage/storageAccounts@2023-05-01' = {
  name: 'satest222'
  location: 'westus'
  sku: {
    name: 'Standard_LRS'
  }
  kind: 'StorageV2'
}

here is a sample reference

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jitter
Posted by: wenbo