Azure / bicep-types-az

Bicep type definitions for ARM resources
MIT License
86 stars 27 forks source link

[VMSS]: Managed Service fabric cluster cannot have SSD disk provision for OS using bicep deployment #2283

Open onkar-nable opened 2 months ago

onkar-nable commented 2 months ago

Resource Type

Virtual machine scale set for managed service fabric cluster

Api Version

2024-04-01

Issue Type

Missing property(s)

Other Notes

storageProfile:{
  osDisk: {
    osType: 'Windows'
    diskSizeGB: 128
    storageAccountType: 'StandardSSD_LRS'
  }
}

Bicep Repro

` resource managedClusters_nodetype 'Microsoft.ServiceFabric/managedClusters/nodetypes@2024-04-01' = { parent: managedClusters name: nodeTypeName location: location

sku: { name: skuName tier: skuTier capacity: skuCapacity }

properties: {

vmManagedIdentity: {
  userAssignedIdentities: [userAssignedIdentity.id]
}

isPrimary: true
vmImagePublisher: vmImagePublisher
vmImageOffer: vmImageOffer
vmImageSku: vmImageSku
vmImageVersion: vmImageVersion
vmSize: vmSize    
vmInstanceCount: vmCount
dataDiskSizeGB: vmSSDSize
dataDiskType: vmDataDiskType
dataDiskLetter: vmDataDiskLetter    
placementProperties: {

}
capacities: {

}
applicationPorts: {
  startPort: 20000
  endPort: 30000
}
storageProfile:{
  osDisk: {
    osType: 'Windows'
    diskSizeGB: 128
    storageAccountType: 'StandardSSD_LRS'
  }
}
ephemeralPorts: {
  startPort: 49152
  endPort: 65534
}
vmSecrets: [
  {
    sourceVault: {
      id: vmKeyVaultId
    }
    vaultCertificates: [
      {
        certificateUrl: vmKeyVaultCertUrlPrimary
        certificateStore: 'My'
      }
      {
        certificateUrl: vmKeyVaultCertUrlSecondary
        certificateStore: 'My'
      }
    ]
  }
]
vmExtensions: []
isStateless: false
multiplePlacementGroups: false
enableOverProvisioning: false
zones: [
  '1'
  '2'
  '3'
]

enableEncryptionAtHost: false
enableAcceleratedNetworking: false
useTempDataDisk: false
enableNodePublicIP: false
enableNodePublicIPv6: false

} }`

Confirm