Skip to content

Commit

Permalink
Merge pull request #1367 from andyzhangx/max_disk_count
Browse files Browse the repository at this point in the history
chore: update max_disk_count table
  • Loading branch information
andyzhangx authored Jun 4, 2022
2 parents e4be0c3 + 7e5548e commit 5b924d4
Showing 1 changed file with 59 additions and 4 deletions.
63 changes: 59 additions & 4 deletions pkg/azuredisk/azure_dd_max_disk_count.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D16DS_V5": 32,
"STANDARD_D16D_V4": 32,
"STANDARD_D16D_V5": 32,
"STANDARD_D16PDS_V5": 32,
"STANDARD_D16PLDS_V5": 32,
"STANDARD_D16PLS_V5": 32,
"STANDARD_D16PS_V5": 32,
"STANDARD_D16S_V3": 32,
"STANDARD_D16S_V4": 32,
"STANDARD_D16S_V5": 32,
Expand All @@ -91,6 +95,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D2DS_V5": 4,
"STANDARD_D2D_V4": 4,
"STANDARD_D2D_V5": 4,
"STANDARD_D2PDS_V5": 4,
"STANDARD_D2PLDS_V5": 4,
"STANDARD_D2PLS_V5": 4,
"STANDARD_D2PS_V5": 4,
"STANDARD_D2S_V3": 4,
"STANDARD_D2S_V4": 4,
"STANDARD_D2S_V5": 4,
Expand All @@ -108,6 +116,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D32DS_V5": 32,
"STANDARD_D32D_V4": 32,
"STANDARD_D32D_V5": 32,
"STANDARD_D32PDS_V5": 32,
"STANDARD_D32PLDS_V5": 32,
"STANDARD_D32PLS_V5": 32,
"STANDARD_D32PS_V5": 32,
"STANDARD_D32S_V3": 32,
"STANDARD_D32S_V4": 32,
"STANDARD_D32S_V5": 32,
Expand All @@ -125,6 +137,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D48DS_V5": 32,
"STANDARD_D48D_V4": 32,
"STANDARD_D48D_V5": 32,
"STANDARD_D48PDS_V5": 32,
"STANDARD_D48PLDS_V5": 32,
"STANDARD_D48PLS_V5": 32,
"STANDARD_D48PS_V5": 32,
"STANDARD_D48S_V3": 32,
"STANDARD_D48S_V4": 32,
"STANDARD_D48S_V5": 32,
Expand All @@ -139,6 +155,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D4DS_V5": 8,
"STANDARD_D4D_V4": 8,
"STANDARD_D4D_V5": 8,
"STANDARD_D4PDS_V5": 8,
"STANDARD_D4PLDS_V5": 8,
"STANDARD_D4PLS_V5": 8,
"STANDARD_D4PS_V5": 8,
"STANDARD_D4S_V3": 8,
"STANDARD_D4S_V4": 8,
"STANDARD_D4S_V5": 8,
Expand All @@ -157,6 +177,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D64DS_V5": 32,
"STANDARD_D64D_V4": 32,
"STANDARD_D64D_V5": 32,
"STANDARD_D64PDS_V5": 32,
"STANDARD_D64PLDS_V5": 32,
"STANDARD_D64PLS_V5": 32,
"STANDARD_D64PS_V5": 32,
"STANDARD_D64S_V3": 32,
"STANDARD_D64S_V4": 32,
"STANDARD_D64S_V5": 32,
Expand All @@ -171,6 +195,10 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_D8DS_V5": 16,
"STANDARD_D8D_V4": 16,
"STANDARD_D8D_V5": 16,
"STANDARD_D8PDS_V5": 16,
"STANDARD_D8PLDS_V5": 16,
"STANDARD_D8PLS_V5": 16,
"STANDARD_D8PS_V5": 16,
"STANDARD_D8S_V3": 16,
"STANDARD_D8S_V4": 16,
"STANDARD_D8S_V5": 16,
Expand Down Expand Up @@ -303,6 +331,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E16DS_V5": 32,
"STANDARD_E16D_V4": 32,
"STANDARD_E16D_V5": 32,
"STANDARD_E16PDS_V5": 32,
"STANDARD_E16PS_V5": 32,
"STANDARD_E16S_V3": 32,
"STANDARD_E16S_V4": 32,
"STANDARD_E16S_V5": 32,
Expand All @@ -317,6 +347,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E20DS_V5": 32,
"STANDARD_E20D_V4": 32,
"STANDARD_E20D_V5": 32,
"STANDARD_E20PDS_V5": 32,
"STANDARD_E20PS_V5": 32,
"STANDARD_E20S_V3": 32,
"STANDARD_E20S_V4": 32,
"STANDARD_E20S_V5": 32,
Expand All @@ -333,6 +365,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E2DS_V5": 4,
"STANDARD_E2D_V4": 4,
"STANDARD_E2D_V5": 4,
"STANDARD_E2PDS_V5": 4,
"STANDARD_E2PS_V5": 4,
"STANDARD_E2S_V3": 4,
"STANDARD_E2S_V4": 4,
"STANDARD_E2S_V5": 4,
Expand Down Expand Up @@ -365,6 +399,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E32DS_V5": 32,
"STANDARD_E32D_V4": 32,
"STANDARD_E32D_V5": 32,
"STANDARD_E32PDS_V5": 32,
"STANDARD_E32PS_V5": 32,
"STANDARD_E32S_V3": 32,
"STANDARD_E32S_V4": 32,
"STANDARD_E32S_V5": 32,
Expand Down Expand Up @@ -403,6 +439,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E4DS_V5": 8,
"STANDARD_E4D_V4": 8,
"STANDARD_E4D_V5": 8,
"STANDARD_E4PDS_V5": 8,
"STANDARD_E4PS_V5": 8,
"STANDARD_E4S_V3": 8,
"STANDARD_E4S_V4": 8,
"STANDARD_E4S_V5": 8,
Expand Down Expand Up @@ -469,6 +507,8 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_E8DS_V5": 16,
"STANDARD_E8D_V4": 16,
"STANDARD_E8D_V5": 16,
"STANDARD_E8PDS_V5": 16,
"STANDARD_E8PS_V5": 16,
"STANDARD_E8S_V3": 16,
"STANDARD_E8S_V4": 16,
"STANDARD_E8S_V5": 16,
Expand Down Expand Up @@ -563,13 +603,13 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_H8M": 32,
"STANDARD_H8M_PROMO": 32,
"STANDARD_H8_PROMO": 32,
"STANDARD_HB120-16RS_V2": 8,
"STANDARD_HB120-16RS_V2": 32,
"STANDARD_HB120-16RS_V3": 32,
"STANDARD_HB120-32RS_V2": 8,
"STANDARD_HB120-32RS_V2": 32,
"STANDARD_HB120-32RS_V3": 32,
"STANDARD_HB120-64RS_V2": 8,
"STANDARD_HB120-64RS_V2": 32,
"STANDARD_HB120-64RS_V3": 32,
"STANDARD_HB120-96RS_V2": 8,
"STANDARD_HB120-96RS_V2": 32,
"STANDARD_HB120-96RS_V3": 32,
"STANDARD_HB120RS_V2": 8,
"STANDARD_HB120RS_V3": 32,
Expand All @@ -580,16 +620,28 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_HC44-16RS": 4,
"STANDARD_HC44-32RS": 4,
"STANDARD_HC44RS": 4,
"STANDARD_L16AS_V3": 32,
"STANDARD_L16S": 64,
"STANDARD_L16S_V2": 32,
"STANDARD_L16S_V3": 32,
"STANDARD_L32AS_V3": 32,
"STANDARD_L32S": 64,
"STANDARD_L32S_V2": 32,
"STANDARD_L32S_V3": 32,
"STANDARD_L48AS_V3": 32,
"STANDARD_L48S_V2": 32,
"STANDARD_L48S_V3": 32,
"STANDARD_L4S": 16,
"STANDARD_L64AS_V3": 32,
"STANDARD_L64S_V2": 32,
"STANDARD_L64S_V3": 32,
"STANDARD_L80AS_V3": 32,
"STANDARD_L80S_V2": 32,
"STANDARD_L80S_V3": 32,
"STANDARD_L8AS_V3": 16,
"STANDARD_L8S": 32,
"STANDARD_L8S_V2": 16,
"STANDARD_L8S_V3": 16,
"STANDARD_M128-32MS": 64,
"STANDARD_M128": 64,
"STANDARD_M128-64MS": 64,
Expand Down Expand Up @@ -642,6 +694,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC12S_V3": 24,
"STANDARD_NC16AS_T4_V3": 32,
"STANDARD_NC24": 64,
"STANDARD_NC24ADS_A100_V4": 8,
"STANDARD_NC24_PROMO": 64,
"STANDARD_NC24R": 64,
"STANDARD_NC24R_PROMO": 64,
Expand All @@ -650,6 +703,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC24S_V2": 32,
"STANDARD_NC24S_V3": 32,
"STANDARD_NC32ADS_A10_V4": 32,
"STANDARD_NC48ADS_A100_V4": 16,
"STANDARD_NC4AS_T4_V3": 8,
"STANDARD_NC6": 24,
"STANDARD_NC64AS_T4_V3": 32,
Expand All @@ -658,6 +712,7 @@ var maxDataDiskCountMap = map[string]int64{
"STANDARD_NC6S_V3": 12,
"STANDARD_NC8ADS_A10_V4": 8,
"STANDARD_NC8AS_T4_V3": 16,
"STANDARD_NC96ADS_A100_V4": 32,
"STANDARD_ND12S": 24,
"STANDARD_ND24RS": 32,
"STANDARD_ND24S": 32,
Expand Down

0 comments on commit 5b924d4

Please sign in to comment.