@@ -128,10 +128,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
128
128
{
129
129
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
130
130
}
131
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
132
- {
133
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
134
- }
135
131
}
136
132
if ( scriptName == null )
137
133
{
@@ -352,10 +348,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
352
348
{
353
349
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
354
350
}
355
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
356
- {
357
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
358
- }
359
351
}
360
352
if ( scriptName == null )
361
353
{
@@ -567,10 +559,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
567
559
{
568
560
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
569
561
}
570
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
571
- {
572
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
573
- }
574
562
}
575
563
if ( scriptName == null )
576
564
{
@@ -939,10 +927,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
939
927
{
940
928
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
941
929
}
942
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
943
- {
944
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
945
- }
946
930
}
947
931
if ( scriptName == null )
948
932
{
@@ -1161,10 +1145,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
1161
1145
{
1162
1146
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
1163
1147
}
1164
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
1165
- {
1166
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
1167
- }
1168
1148
}
1169
1149
if ( scriptName == null )
1170
1150
{
@@ -1380,10 +1360,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
1380
1360
{
1381
1361
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
1382
1362
}
1383
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
1384
- {
1385
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
1386
- }
1387
1363
}
1388
1364
if ( Client . ApiVersion == null )
1389
1365
{
@@ -1583,10 +1559,6 @@ internal DeploymentScriptsOperations(DeploymentScriptsClient client)
1583
1559
{
1584
1560
throw new ValidationException ( ValidationRules . MinLength , "resourceGroupName" , 1 ) ;
1585
1561
}
1586
- if ( ! System . Text . RegularExpressions . Regex . IsMatch ( resourceGroupName , "^[-\\ w\\ ._\\ (\\ )]+$" ) )
1587
- {
1588
- throw new ValidationException ( ValidationRules . Pattern , "resourceGroupName" , "^[-\\ w\\ ._\\ (\\ )]+$" ) ;
1589
- }
1590
1562
}
1591
1563
if ( scriptName == null )
1592
1564
{
0 commit comments