@@ -116,6 +116,10 @@ internal BlobContainersOperations (StorageManagementClient client)
116
116
{
117
117
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
118
118
}
119
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
120
+ {
121
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
122
+ }
119
123
}
120
124
if ( this . Client . ApiVersion == null )
121
125
{
@@ -388,6 +392,10 @@ internal BlobContainersOperations (StorageManagementClient client)
388
392
{
389
393
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
390
394
}
395
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
396
+ {
397
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
398
+ }
391
399
}
392
400
if ( containerName == null )
393
401
{
@@ -683,6 +691,10 @@ internal BlobContainersOperations (StorageManagementClient client)
683
691
{
684
692
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
685
693
}
694
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
695
+ {
696
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
697
+ }
686
698
}
687
699
if ( containerName == null )
688
700
{
@@ -953,6 +965,10 @@ internal BlobContainersOperations (StorageManagementClient client)
953
965
{
954
966
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
955
967
}
968
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
969
+ {
970
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
971
+ }
956
972
}
957
973
if ( containerName == null )
958
974
{
@@ -1213,6 +1229,10 @@ internal BlobContainersOperations (StorageManagementClient client)
1213
1229
{
1214
1230
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
1215
1231
}
1232
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
1233
+ {
1234
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
1235
+ }
1216
1236
}
1217
1237
if ( containerName == null )
1218
1238
{
@@ -1464,6 +1484,10 @@ internal BlobContainersOperations (StorageManagementClient client)
1464
1484
{
1465
1485
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
1466
1486
}
1487
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
1488
+ {
1489
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
1490
+ }
1467
1491
}
1468
1492
if ( containerName == null )
1469
1493
{
@@ -1746,6 +1770,10 @@ internal BlobContainersOperations (StorageManagementClient client)
1746
1770
{
1747
1771
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
1748
1772
}
1773
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
1774
+ {
1775
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
1776
+ }
1749
1777
}
1750
1778
if ( containerName == null )
1751
1779
{
@@ -2029,6 +2057,10 @@ internal BlobContainersOperations (StorageManagementClient client)
2029
2057
{
2030
2058
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
2031
2059
}
2060
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
2061
+ {
2062
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
2063
+ }
2032
2064
}
2033
2065
if ( containerName == null )
2034
2066
{
@@ -2328,6 +2360,10 @@ internal BlobContainersOperations (StorageManagementClient client)
2328
2360
{
2329
2361
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
2330
2362
}
2363
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
2364
+ {
2365
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
2366
+ }
2331
2367
}
2332
2368
if ( containerName == null )
2333
2369
{
@@ -2620,6 +2656,10 @@ internal BlobContainersOperations (StorageManagementClient client)
2620
2656
{
2621
2657
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
2622
2658
}
2659
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
2660
+ {
2661
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
2662
+ }
2623
2663
}
2624
2664
if ( containerName == null )
2625
2665
{
@@ -2916,6 +2956,10 @@ internal BlobContainersOperations (StorageManagementClient client)
2916
2956
{
2917
2957
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
2918
2958
}
2959
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
2960
+ {
2961
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
2962
+ }
2919
2963
}
2920
2964
if ( containerName == null )
2921
2965
{
@@ -3213,6 +3257,10 @@ internal BlobContainersOperations (StorageManagementClient client)
3213
3257
{
3214
3258
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
3215
3259
}
3260
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
3261
+ {
3262
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
3263
+ }
3216
3264
}
3217
3265
if ( containerName == null )
3218
3266
{
@@ -3517,6 +3565,10 @@ internal BlobContainersOperations (StorageManagementClient client)
3517
3565
{
3518
3566
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
3519
3567
}
3568
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
3569
+ {
3570
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
3571
+ }
3520
3572
}
3521
3573
if ( containerName == null )
3522
3574
{
@@ -3809,6 +3861,10 @@ internal BlobContainersOperations (StorageManagementClient client)
3809
3861
{
3810
3862
throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . MinLength , "accountName" , 3 ) ;
3811
3863
}
3864
+ if ( ! System . Text . RegularExpressions . Regex . IsMatch ( accountName , "^[a-z0-9]+$" ) )
3865
+ {
3866
+ throw new Microsoft . Rest . ValidationException ( Microsoft . Rest . ValidationRules . Pattern , "accountName" , "^[a-z0-9]+$" ) ;
3867
+ }
3812
3868
}
3813
3869
if ( containerName == null )
3814
3870
{
0 commit comments