diff --git a/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt b/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt
index b6638a258601..3602f8e2e5f1 100644
--- a/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/synapse_resource-manager.txt
@@ -4,11 +4,11 @@ Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\code\AzureSDK\azure-sdk-for-net\sdk
-2021-06-09 08:13:35 UTC
+2021-06-29 09:07:37 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: 6f64a862549abbe2a604d82df33b93f0abeb7b64
+Commit: 467afe850ec9f7dd60c09b34ead7b60388c89d8a
AutoRest information
Requested version: v2
Bootstrapper version: autorest@2.0.4413
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs
index 0a791798af42..59b95ae19029 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/BigDataPoolsOperations.cs
@@ -124,10 +124,6 @@ internal BigDataPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -359,10 +355,6 @@ internal BigDataPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -661,10 +653,6 @@ internal BigDataPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -893,10 +881,6 @@ internal BigDataPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1163,10 +1147,6 @@ internal BigDataPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs
index b13a422f1f95..0d646add9456 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingPoliciesOperations.cs
@@ -124,10 +124,6 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -371,10 +367,6 @@ internal DataMaskingPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs
index c931c9557068..ddcda83aa9ee 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/DataMaskingRulesOperations.cs
@@ -127,10 +127,6 @@ internal DataMaskingRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -401,10 +397,6 @@ internal DataMaskingRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -639,10 +631,6 @@ internal DataMaskingRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ExtendedSqlPoolBlobAuditingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ExtendedSqlPoolBlobAuditingPoliciesOperations.cs
index ed3fca0b2941..5ecf1d65e6b8 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ExtendedSqlPoolBlobAuditingPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ExtendedSqlPoolBlobAuditingPoliciesOperations.cs
@@ -121,10 +121,6 @@ internal ExtendedSqlPoolBlobAuditingPoliciesOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -361,10 +357,6 @@ internal ExtendedSqlPoolBlobAuditingPoliciesOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -631,10 +623,6 @@ internal ExtendedSqlPoolBlobAuditingPoliciesOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs
index 17710d6e8c4a..8db6735a7385 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlDatabasesOperations.cs
@@ -41,7 +41,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -72,7 +72,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -100,7 +100,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -128,7 +128,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -153,7 +153,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -184,7 +184,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -212,7 +212,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -240,7 +240,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -262,7 +262,7 @@ public partial interface ISqlDatabasesOperations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs
index c3efb43a7930..1de46abcb90e 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlPoolsV3Operations.cs
@@ -41,7 +41,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -72,7 +72,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -100,7 +100,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -128,7 +128,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -156,7 +156,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -181,7 +181,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -203,7 +203,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -234,7 +234,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -262,7 +262,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -290,7 +290,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -318,7 +318,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -343,7 +343,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -362,7 +362,7 @@ public partial interface ISqlPoolsV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs
index 78f887fd2fb5..5bf4750f34b7 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/ISqlV3Operations.cs
@@ -35,7 +35,7 @@ public partial interface ISqlV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -63,7 +63,7 @@ public partial interface ISqlV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -91,7 +91,7 @@ public partial interface ISqlV3Operations
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs
index a8402ffeb711..3f9ed1f79735 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeAuthKeysOperations.cs
@@ -127,10 +127,6 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -370,10 +366,6 @@ internal IntegrationRuntimeAuthKeysOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs
index 7dc892425931..7a3b705e78d7 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeConnectionInfosOperations.cs
@@ -124,10 +124,6 @@ internal IntegrationRuntimeConnectionInfosOperations(SynapseManagementClient cli
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs
index 2790d7d1d208..7aea66cd460c 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeCredentialsOperations.cs
@@ -125,10 +125,6 @@ internal IntegrationRuntimeCredentialsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs
index 266827883f98..b6c9f766d8d1 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeMonitoringDataOperations.cs
@@ -124,10 +124,6 @@ internal IntegrationRuntimeMonitoringDataOperations(SynapseManagementClient clie
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs
index cf07fc30e563..984e2384f4ba 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodeIpAddressOperations.cs
@@ -127,10 +127,6 @@ internal IntegrationRuntimeNodeIpAddressOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs
index 331e154c6353..375787ce3108 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeNodesOperations.cs
@@ -127,10 +127,6 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -371,10 +367,6 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -620,10 +612,6 @@ internal IntegrationRuntimeNodesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs
index fdcaff385fc0..ea2bd798414d 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeObjectMetadataOperations.cs
@@ -127,10 +127,6 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -394,10 +390,6 @@ internal IntegrationRuntimeObjectMetadataOperations(SynapseManagementClient clie
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs
index 9f48f1f11bde..f8bd9cf16c08 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimeStatusOperations.cs
@@ -124,10 +124,6 @@ internal IntegrationRuntimeStatusOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs
index 7781b05ae602..02fbf9052c83 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IntegrationRuntimesOperations.cs
@@ -127,10 +127,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -375,10 +371,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -677,10 +669,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -888,10 +876,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1228,10 +1212,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1481,10 +1461,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1695,10 +1671,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1924,10 +1896,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -2132,10 +2100,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -2340,10 +2304,6 @@ internal IntegrationRuntimesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs
index e82aad578d37..0e63bd225e15 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/IpFirewallRulesOperations.cs
@@ -118,10 +118,6 @@ internal IpFirewallRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -394,10 +390,6 @@ internal IpFirewallRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -651,10 +643,6 @@ internal IpFirewallRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -909,10 +897,6 @@ internal IpFirewallRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1138,10 +1122,6 @@ internal IpFirewallRulesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs
index d5fb735ba7f0..0e24debc1893 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/KeysOperations.cs
@@ -118,10 +118,6 @@ internal KeysOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -341,10 +337,6 @@ internal KeysOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -573,10 +565,6 @@ internal KeysOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -813,10 +801,6 @@ internal KeysOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibrariesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibrariesOperations.cs
index f8a105cb62d3..5b109fdb260b 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibrariesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibrariesOperations.cs
@@ -121,10 +121,6 @@ internal LibrariesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibraryOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibraryOperations.cs
index b2fa356d5d7e..490fe59fcb3f 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibraryOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/LibraryOperations.cs
@@ -124,10 +124,6 @@ internal LibraryOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (libraryName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs
index 13c0f7d0d19d..feb9309712a9 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/BigDataPoolResourceInfo.cs
@@ -75,8 +75,8 @@ public BigDataPoolResourceInfo()
/// the Big Data pool has. Possible values include: 'None', 'Small',
/// 'Medium', 'Large', 'XLarge', 'XXLarge', 'XXXLarge'
/// The kind of nodes that the Big Data
- /// pool provides. Possible values include: 'None',
- /// 'MemoryOptimized'
+ /// pool provides. Possible values include: 'None', 'MemoryOptimized',
+ /// 'HardwareAcceleratedFPGA', 'HardwareAcceleratedGPU'
/// The time when the Big Data
/// pool was updated successfully.
public BigDataPoolResourceInfo(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), AutoScaleProperties autoScale = default(AutoScaleProperties), System.DateTime? creationDate = default(System.DateTime?), AutoPauseProperties autoPause = default(AutoPauseProperties), bool? isComputeIsolationEnabled = default(bool?), bool? sessionLevelPackagesEnabled = default(bool?), int? cacheSize = default(int?), DynamicExecutorAllocation dynamicExecutorAllocation = default(DynamicExecutorAllocation), string sparkEventsFolder = default(string), int? nodeCount = default(int?), LibraryRequirements libraryRequirements = default(LibraryRequirements), IList customLibraries = default(IList), LibraryRequirements sparkConfigProperties = default(LibraryRequirements), string sparkVersion = default(string), string defaultSparkLogFolder = default(string), string nodeSize = default(string), string nodeSizeFamily = default(string), System.DateTime? lastSucceededTimestamp = default(System.DateTime?))
@@ -210,7 +210,8 @@ public BigDataPoolResourceInfo()
///
/// Gets or sets the kind of nodes that the Big Data pool provides.
- /// Possible values include: 'None', 'MemoryOptimized'
+ /// Possible values include: 'None', 'MemoryOptimized',
+ /// 'HardwareAcceleratedFPGA', 'HardwareAcceleratedGPU'
///
[JsonProperty(PropertyName = "properties.nodeSizeFamily")]
public string NodeSizeFamily { get; set; }
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContract.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContract.cs
deleted file mode 100644
index 8bc001a77f8e..000000000000
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContract.cs
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.Synapse.Models
-{
- using Newtonsoft.Json;
- using System.Linq;
-
- ///
- /// Error details.
- ///
- ///
- /// Contains details when the response code indicates an error.
- ///
- public partial class ErrorContract
- {
- ///
- /// Initializes a new instance of the ErrorContract class.
- ///
- public ErrorContract()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the ErrorContract class.
- ///
- /// The error details.
- public ErrorContract(ErrorResponse error = default(ErrorResponse))
- {
- Error = error;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the error details.
- ///
- [JsonProperty(PropertyName = "error")]
- public ErrorResponse Error { get; set; }
-
- }
-}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContractException.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContractException.cs
deleted file mode 100644
index 3e834982c41c..000000000000
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorContractException.cs
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT License. See License.txt in the project root for
-// license information.
-//
-// Code generated by Microsoft (R) AutoRest Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is
-// regenerated.
-//
-
-namespace Microsoft.Azure.Management.Synapse.Models
-{
- using Microsoft.Rest;
-
- ///
- /// Exception thrown for an invalid response with ErrorContract
- /// information.
- ///
- public partial class ErrorContractException : RestException
- {
- ///
- /// Gets information about the associated HTTP request.
- ///
- public HttpRequestMessageWrapper Request { get; set; }
-
- ///
- /// Gets information about the associated HTTP response.
- ///
- public HttpResponseMessageWrapper Response { get; set; }
-
- ///
- /// Gets or sets the body object.
- ///
- public ErrorContract Body { get; set; }
-
- ///
- /// Initializes a new instance of the ErrorContractException class.
- ///
- public ErrorContractException()
- {
- }
-
- ///
- /// Initializes a new instance of the ErrorContractException class.
- ///
- /// The exception message.
- public ErrorContractException(string message)
- : this(message, null)
- {
- }
-
- ///
- /// Initializes a new instance of the ErrorContractException class.
- ///
- /// The exception message.
- /// Inner exception.
- public ErrorContractException(string message, System.Exception innerException)
- : base(message, innerException)
- {
- }
- }
-}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs
index 9dcadd9275a2..8cc0f7581023 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/ErrorResponse.cs
@@ -11,17 +11,15 @@
namespace Microsoft.Azure.Management.Synapse.Models
{
using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
using System.Linq;
///
- /// Error Response
+ /// Error response
///
///
/// Common error response for all Azure Resource Manager APIs to return
/// error details for failed operations. (This also follows the OData error
- /// response format.)
+ /// response format.).
///
public partial class ErrorResponse
{
@@ -36,18 +34,10 @@ public ErrorResponse()
///
/// Initializes a new instance of the ErrorResponse class.
///
- /// The error code.
- /// The error message.
- /// The error target.
- /// The error details.
- /// The error additional info.
- public ErrorResponse(string code = default(string), string message = default(string), string target = default(string), IList details = default(IList), IList additionalInfo = default(IList))
+ /// The error object.
+ public ErrorResponse(ErrorDetail error = default(ErrorDetail))
{
- Code = code;
- Message = message;
- Target = target;
- Details = details;
- AdditionalInfo = additionalInfo;
+ Error = error;
CustomInit();
}
@@ -57,34 +47,10 @@ public ErrorResponse()
partial void CustomInit();
///
- /// Gets the error code.
+ /// Gets or sets the error object.
///
- [JsonProperty(PropertyName = "code")]
- public string Code { get; private set; }
-
- ///
- /// Gets the error message.
- ///
- [JsonProperty(PropertyName = "message")]
- public string Message { get; private set; }
-
- ///
- /// Gets the error target.
- ///
- [JsonProperty(PropertyName = "target")]
- public string Target { get; private set; }
-
- ///
- /// Gets the error details.
- ///
- [JsonProperty(PropertyName = "details")]
- public IList Details { get; private set; }
-
- ///
- /// Gets the error additional info.
- ///
- [JsonProperty(PropertyName = "additionalInfo")]
- public IList AdditionalInfo { get; private set; }
+ [JsonProperty(PropertyName = "error")]
+ public ErrorDetail Error { get; set; }
}
}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSizeFamily.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSizeFamily.cs
index c7b2597409ea..b2ccd0a28550 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSizeFamily.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/NodeSizeFamily.cs
@@ -18,5 +18,7 @@ public static class NodeSizeFamily
{
public const string None = "None";
public const string MemoryOptimized = "MemoryOptimized";
+ public const string HardwareAcceleratedFPGA = "HardwareAcceleratedFPGA";
+ public const string HardwareAcceleratedGPU = "HardwareAcceleratedGPU";
}
}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs
index 6f5452788f7c..46daf39eb759 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/Sku.cs
@@ -10,13 +10,15 @@
namespace Microsoft.Azure.Management.Synapse.Models
{
- using Microsoft.Rest;
using Newtonsoft.Json;
using System.Linq;
///
- /// An ARM Resource SKU.
+ /// Sku
///
+ ///
+ /// SQL pool SKU
+ ///
public partial class Sku
{
///
@@ -30,14 +32,16 @@ public Sku()
///
/// Initializes a new instance of the Sku class.
///
- /// The name of the SKU, typically, a letter +
- /// Number code, e.g. P3.
- /// The tier or edition of the particular SKU, e.g.
- /// Basic, Premium.
- public Sku(string name, string tier = default(string))
+ /// The service tier
+ /// The SKU name
+ /// If the SKU supports scale out/in then the
+ /// capacity integer should be included. If scale out/in is not
+ /// possible for the resource this may be omitted.
+ public Sku(string tier = default(string), string name = default(string), int? capacity = default(int?))
{
- Name = name;
Tier = tier;
+ Name = name;
+ Capacity = capacity;
CustomInit();
}
@@ -47,31 +51,24 @@ public Sku()
partial void CustomInit();
///
- /// Gets or sets the name of the SKU, typically, a letter + Number
- /// code, e.g. P3.
+ /// Gets or sets the service tier
///
- [JsonProperty(PropertyName = "name")]
- public string Name { get; set; }
+ [JsonProperty(PropertyName = "tier")]
+ public string Tier { get; set; }
///
- /// Gets or sets the tier or edition of the particular SKU, e.g. Basic,
- /// Premium.
+ /// Gets or sets the SKU name
///
- [JsonProperty(PropertyName = "tier")]
- public string Tier { get; set; }
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
///
- /// Validate the object.
+ /// Gets or sets if the SKU supports scale out/in then the capacity
+ /// integer should be included. If scale out/in is not possible for the
+ /// resource this may be omitted.
///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Name == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Name");
- }
- }
+ [JsonProperty(PropertyName = "capacity")]
+ public int? Capacity { get; set; }
+
}
}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SkuV3.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SkuV3.cs
new file mode 100644
index 000000000000..e3212f8342b5
--- /dev/null
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SkuV3.cs
@@ -0,0 +1,77 @@
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the MIT License. See License.txt in the project root for
+// license information.
+//
+// Code generated by Microsoft (R) AutoRest Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is
+// regenerated.
+//
+
+namespace Microsoft.Azure.Management.Synapse.Models
+{
+ using Microsoft.Rest;
+ using Newtonsoft.Json;
+ using System.Linq;
+
+ ///
+ /// An ARM Resource SKU.
+ ///
+ public partial class SkuV3
+ {
+ ///
+ /// Initializes a new instance of the SkuV3 class.
+ ///
+ public SkuV3()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the SkuV3 class.
+ ///
+ /// The name of the SKU, typically, a letter +
+ /// Number code, e.g. P3.
+ /// The tier or edition of the particular SKU, e.g.
+ /// Basic, Premium.
+ public SkuV3(string name, string tier = default(string))
+ {
+ Name = name;
+ Tier = tier;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets the name of the SKU, typically, a letter + Number
+ /// code, e.g. P3.
+ ///
+ [JsonProperty(PropertyName = "name")]
+ public string Name { get; set; }
+
+ ///
+ /// Gets or sets the tier or edition of the particular SKU, e.g. Basic,
+ /// Premium.
+ ///
+ [JsonProperty(PropertyName = "tier")]
+ public string Tier { get; set; }
+
+ ///
+ /// Validate the object.
+ ///
+ ///
+ /// Thrown if validation fails
+ ///
+ public virtual void Validate()
+ {
+ if (Name == null)
+ {
+ throw new ValidationException(ValidationRules.CannotBeNull, "Name");
+ }
+ }
+ }
+}
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs
index 0aab013d2b69..8afe1eec4ffe 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabase.cs
@@ -47,17 +47,14 @@ public SqlDatabase()
/// The collation of the database.
/// Storage redundancy of the database.
/// Possible values include: 'Geo', 'GeoZone', 'Local', 'Zone'
- /// The max size of the database expressed
- /// in bytes.
/// The Guid of the database.
/// Status of the database.
- public SqlDatabase(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string collation = default(string), string storageRedundancy = default(string), long? maxSizeBytes = default(long?), System.Guid? databaseGuid = default(System.Guid?), string status = default(string))
+ public SqlDatabase(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SystemData systemData = default(SystemData), string collation = default(string), string storageRedundancy = default(string), System.Guid? databaseGuid = default(System.Guid?), string status = default(string))
: base(location, id, name, type, tags)
{
SystemData = systemData;
Collation = collation;
StorageRedundancy = storageRedundancy;
- MaxSizeBytes = maxSizeBytes;
DatabaseGuid = databaseGuid;
Status = status;
CustomInit();
@@ -87,12 +84,6 @@ public SqlDatabase()
[JsonProperty(PropertyName = "properties.storageRedundancy")]
public string StorageRedundancy { get; set; }
- ///
- /// Gets or sets the max size of the database expressed in bytes.
- ///
- [JsonProperty(PropertyName = "properties.maxSizeBytes")]
- public long? MaxSizeBytes { get; set; }
-
///
/// Gets the Guid of the database.
///
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs
index 1be78f0bc881..625b2eb1c45c 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlDatabaseUpdate.cs
@@ -37,16 +37,13 @@ public SqlDatabaseUpdate()
/// The collation of the database.
/// Storage redundancy of the database.
/// Possible values include: 'Geo', 'GeoZone', 'Local', 'Zone'
- /// The max size of the database expressed
- /// in bytes.
/// The Guid of the database.
/// Status of the database.
/// Resource tags.
- public SqlDatabaseUpdate(string collation = default(string), string storageRedundancy = default(string), long? maxSizeBytes = default(long?), System.Guid? databaseGuid = default(System.Guid?), string status = default(string), IDictionary tags = default(IDictionary))
+ public SqlDatabaseUpdate(string collation = default(string), string storageRedundancy = default(string), System.Guid? databaseGuid = default(System.Guid?), string status = default(string), IDictionary tags = default(IDictionary))
{
Collation = collation;
StorageRedundancy = storageRedundancy;
- MaxSizeBytes = maxSizeBytes;
DatabaseGuid = databaseGuid;
Status = status;
Tags = tags;
@@ -71,12 +68,6 @@ public SqlDatabaseUpdate()
[JsonProperty(PropertyName = "properties.storageRedundancy")]
public string StorageRedundancy { get; set; }
- ///
- /// Gets or sets the max size of the database expressed in bytes.
- ///
- [JsonProperty(PropertyName = "properties.maxSizeBytes")]
- public long? MaxSizeBytes { get; set; }
-
///
/// Gets the Guid of the database.
///
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs
index 7ff8edbfa5d7..fe7c5ee14eab 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolUpdate.cs
@@ -51,7 +51,7 @@ public SqlPoolUpdate()
/// Indicates whether the sql pool can
/// automatically resume when connection attempts are made.
/// Resource tags.
- public SqlPoolUpdate(Sku sku = default(Sku), string status = default(string), System.Guid? sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string maxServiceObjectiveName = default(string), int? autoPauseTimer = default(int?), bool? autoResume = default(bool?), IDictionary tags = default(IDictionary))
+ public SqlPoolUpdate(SkuV3 sku = default(SkuV3), string status = default(string), System.Guid? sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string maxServiceObjectiveName = default(string), int? autoPauseTimer = default(int?), bool? autoResume = default(bool?), IDictionary tags = default(IDictionary))
{
Sku = sku;
Status = status;
@@ -74,7 +74,7 @@ public SqlPoolUpdate()
/// Gets or sets the name and tier of the SKU.
///
[JsonProperty(PropertyName = "sku")]
- public Sku Sku { get; set; }
+ public SkuV3 Sku { get; set; }
///
/// Gets the status of the sql pool. Possible values include:
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs
index 942a91e42d90..d67a2be263b3 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Models/SqlPoolV3.cs
@@ -62,7 +62,7 @@ public SqlPoolV3()
/// before automatically pausing the sql pool.
/// Indicates whether the sql pool can
/// automatically resume when connection attempts are made.
- public SqlPoolV3(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), Sku sku = default(Sku), string kind = default(string), SystemData systemData = default(SystemData), string status = default(string), System.Guid? sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string maxServiceObjectiveName = default(string), int? autoPauseTimer = default(int?), bool? autoResume = default(bool?))
+ public SqlPoolV3(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), SkuV3 sku = default(SkuV3), string kind = default(string), SystemData systemData = default(SystemData), string status = default(string), System.Guid? sqlPoolGuid = default(System.Guid?), string currentServiceObjectiveName = default(string), string requestedServiceObjectiveName = default(string), string maxServiceObjectiveName = default(string), int? autoPauseTimer = default(int?), bool? autoResume = default(bool?))
: base(location, id, name, type, tags)
{
Sku = sku;
@@ -88,7 +88,7 @@ public SqlPoolV3()
/// and support offer.
///
[JsonProperty(PropertyName = "sku")]
- public Sku Sku { get; set; }
+ public SkuV3 Sku { get; set; }
///
/// Gets kind of SqlPool.
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs
index 973190da2d18..aec52ee6bf42 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/Operations.cs
@@ -482,10 +482,6 @@ internal Operations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -696,10 +692,6 @@ internal Operations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs
index e18fa98c4612..d633a9113eb2 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsOperations.cs
@@ -121,10 +121,6 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -400,10 +396,6 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -630,10 +622,6 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -884,10 +872,6 @@ internal PrivateEndpointConnectionsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs
index 111e28ff999c..ab597976ca79 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateEndpointConnectionsPrivateLinkHubOperations.cs
@@ -118,10 +118,6 @@ internal PrivateEndpointConnectionsPrivateLinkHubOperations(SynapseManagementCli
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
@@ -341,10 +337,6 @@ internal PrivateEndpointConnectionsPrivateLinkHubOperations(SynapseManagementCli
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs
index de43bc7b73a9..69d7f0e26084 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubPrivateLinkResourcesOperations.cs
@@ -121,10 +121,6 @@ internal PrivateLinkHubPrivateLinkResourcesOperations(SynapseManagementClient cl
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
@@ -347,10 +343,6 @@ internal PrivateLinkHubPrivateLinkResourcesOperations(SynapseManagementClient cl
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs
index 9b6d0ee588af..d79193b0a03a 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkHubsOperations.cs
@@ -115,10 +115,6 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -329,10 +325,6 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
@@ -556,10 +548,6 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
@@ -812,10 +800,6 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
@@ -1263,10 +1247,6 @@ internal PrivateLinkHubsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (privateLinkHubName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs
index 91d34ab9dabb..940cfbbdb687 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/PrivateLinkResourcesOperations.cs
@@ -121,10 +121,6 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -347,10 +343,6 @@ internal PrivateLinkResourcesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs
index 11ab34384d3a..6411f3667485 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/RestorableDroppedSqlPoolsOperations.cs
@@ -122,10 +122,6 @@ internal RestorableDroppedSqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -348,10 +344,6 @@ internal RestorableDroppedSqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs
index e50b913ce0dc..e1b388ca5188 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseManagementClient.cs
@@ -13,7 +13,7 @@ namespace Microsoft.Azure.Management.Synapse
internal static partial class SdkInfo
{
- public static IEnumerable> ApiInfo_SynapseManagementClient
+ public static IEnumerable> ApiInfo_SynapseSqlVManagementClient
{
get
{
@@ -83,16 +83,16 @@ public static IEnumerable> ApiInfo_SynapseManageme
}.AsEnumerable();
}
}
-
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "v2";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\code\\AzureSDK\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "6f64a862549abbe2a604d82df33b93f0abeb7b64";
+ public static readonly String GithubCommidId = "467afe850ec9f7dd60c09b34ead7b60388c89d8a";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}
+
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs
index 0ca731a1cbdb..918d249e7ee3 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SdkInfo_SynapseSqlVManagementClient.cs
@@ -25,5 +25,16 @@ public static IEnumerable> ApiInfo_SynapseSqlVMana
}.AsEnumerable();
}
}
+ // BEGIN: Code Generation Metadata Section
+ public static readonly String AutoRestVersion = "v2";
+ public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413";
+ public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/synapse/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\code\\AzureSDK\\azure-sdk-for-net\\sdk";
+ public static readonly String GithubForkName = "Azure";
+ public static readonly String GithubBranchName = "master";
+ public static readonly String GithubCommidId = "467afe850ec9f7dd60c09b34ead7b60388c89d8a";
+ public static readonly String CodeGenerationErrors = "";
+ public static readonly String GithubRepoName = "azure-rest-api-specs";
+ // END: Code Generation Metadata Section
}
}
+
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs
index c43b6c90158e..eae92d8cc6e8 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlDatabasesOperations.cs
@@ -68,7 +68,7 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -99,10 +99,6 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -219,11 +215,11 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -375,7 +371,7 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -406,10 +402,6 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -520,11 +512,11 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -601,7 +593,7 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -632,10 +624,6 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -767,11 +755,11 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -863,7 +851,7 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -891,10 +879,6 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1011,11 +995,11 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -1074,7 +1058,7 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1105,10 +1089,6 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1236,11 +1216,11 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -1308,7 +1288,7 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1404,11 +1384,11 @@ internal SqlDatabasesOperations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolBlobAuditingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolBlobAuditingPoliciesOperations.cs
index e21fe10b99d4..2a1e911f0435 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolBlobAuditingPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolBlobAuditingPoliciesOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolBlobAuditingPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -367,10 +363,6 @@ internal SqlPoolBlobAuditingPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -637,10 +629,6 @@ internal SqlPoolBlobAuditingPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolColumnsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolColumnsOperations.cs
index 40ab1264c808..76267a476d16 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolColumnsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolColumnsOperations.cs
@@ -130,10 +130,6 @@ internal SqlPoolColumnsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs
index 1f3954623233..a75bf622cc99 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolConnectionPoliciesOperations.cs
@@ -125,10 +125,6 @@ internal SqlPoolConnectionPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolDataWarehouseUserActivitiesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolDataWarehouseUserActivitiesOperations.cs
index a7d629e722d1..9c45083330c4 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolDataWarehouseUserActivitiesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolDataWarehouseUserActivitiesOperations.cs
@@ -125,10 +125,6 @@ internal SqlPoolDataWarehouseUserActivitiesOperations(SynapseManagementClient cl
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs
index dfe8557cafb8..6cbb161c4c44 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolGeoBackupPoliciesOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -356,10 +352,6 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -624,10 +616,6 @@ internal SqlPoolGeoBackupPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs
index f961829a6730..2447a8cf1879 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowOptionsOperations.cs
@@ -127,10 +127,6 @@ internal SqlPoolMaintenanceWindowOptionsOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs
index bc92b314dd18..7e786f33afe0 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMaintenanceWindowsOperations.cs
@@ -127,10 +127,6 @@ internal SqlPoolMaintenanceWindowsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -372,10 +368,6 @@ internal SqlPoolMaintenanceWindowsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs
index 05ec255e44b7..6f6aa2efaee3 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolMetadataSyncConfigsOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolMetadataSyncConfigsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -359,10 +355,6 @@ internal SqlPoolMetadataSyncConfigsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs
index 269d80c7ab6f..361908799f24 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperationResultsOperations.cs
@@ -127,10 +127,6 @@ internal SqlPoolOperationResultsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperations.cs
index 9bb5087d68b8..107912609c1c 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs
index efed08972f4d..5addc4ba5928 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRecommendedSensitivityLabelsOperations.cs
@@ -121,10 +121,6 @@ internal SqlPoolRecommendedSensitivityLabelsOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs
index 252175d3ec9f..efae3accc324 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolReplicationLinksOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -359,10 +355,6 @@ internal SqlPoolReplicationLinksOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs
index a12bd3b998fe..630fcd05ca13 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolRestorePointsOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -384,10 +380,6 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -624,10 +616,6 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -849,10 +837,6 @@ internal SqlPoolRestorePointsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSchemasOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSchemasOperations.cs
index 9175b3eae51a..88b57cf7ac32 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSchemasOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSchemasOperations.cs
@@ -128,10 +128,6 @@ internal SqlPoolSchemasOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -374,10 +370,6 @@ internal SqlPoolSchemasOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSecurityAlertPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSecurityAlertPoliciesOperations.cs
index cef9e13793ae..9dedd95ed6fc 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSecurityAlertPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSecurityAlertPoliciesOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolSecurityAlertPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -361,10 +357,6 @@ internal SqlPoolSecurityAlertPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -604,10 +596,6 @@ internal SqlPoolSecurityAlertPoliciesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs
index 68f5c445e9b0..9f63ce814b83 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolSensitivityLabelsOperations.cs
@@ -128,10 +128,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -365,10 +361,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -605,10 +597,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -870,10 +858,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1160,10 +1144,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1410,10 +1390,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1671,10 +1647,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1914,10 +1886,6 @@ internal SqlPoolSensitivityLabelsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTableColumnsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTableColumnsOperations.cs
index 0b1fb2e228db..0cab99d9e124 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTableColumnsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTableColumnsOperations.cs
@@ -134,10 +134,6 @@ internal SqlPoolTableColumnsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTablesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTablesOperations.cs
index c7f5beaf1b5b..f5207562ddd9 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTablesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTablesOperations.cs
@@ -131,10 +131,6 @@ internal SqlPoolTablesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -386,10 +382,6 @@ internal SqlPoolTablesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs
index 2ec2557ea9a3..b53116ee32d2 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolTransparentDataEncryptionsOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -363,10 +359,6 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -627,10 +619,6 @@ internal SqlPoolTransparentDataEncryptionsOperations(SynapseManagementClient cli
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs
index 8acd3d0e4d15..4f26616f0e47 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolUsagesOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolUsagesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.cs
index 1008060471f4..902fdaaa3793 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentRuleBaselinesOperations.cs
@@ -132,10 +132,6 @@ internal SqlPoolVulnerabilityAssessmentRuleBaselinesOperations(SynapseManagement
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -397,10 +393,6 @@ internal SqlPoolVulnerabilityAssessmentRuleBaselinesOperations(SynapseManagement
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -632,10 +624,6 @@ internal SqlPoolVulnerabilityAssessmentRuleBaselinesOperations(SynapseManagement
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentScansOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentScansOperations.cs
index 52f7cd26b8f9..b8474dc62ec5 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentScansOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentScansOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolVulnerabilityAssessmentScansOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -393,10 +389,6 @@ internal SqlPoolVulnerabilityAssessmentScansOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -657,10 +649,6 @@ internal SqlPoolVulnerabilityAssessmentScansOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -900,10 +888,6 @@ internal SqlPoolVulnerabilityAssessmentScansOperations(SynapseManagementClient c
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentsOperations.cs
index 7395195bd0fe..4f13ce672153 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolVulnerabilityAssessmentsOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolVulnerabilityAssessmentsOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -361,10 +357,6 @@ internal SqlPoolVulnerabilityAssessmentsOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -604,10 +596,6 @@ internal SqlPoolVulnerabilityAssessmentsOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -870,10 +858,6 @@ internal SqlPoolVulnerabilityAssessmentsOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadClassifierOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadClassifierOperations.cs
index 59211d471ab5..dda64c2c110e 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadClassifierOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadClassifierOperations.cs
@@ -130,10 +130,6 @@ internal SqlPoolWorkloadClassifierOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -453,10 +449,6 @@ internal SqlPoolWorkloadClassifierOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -705,10 +697,6 @@ internal SqlPoolWorkloadClassifierOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -990,10 +978,6 @@ internal SqlPoolWorkloadClassifierOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadGroupOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadGroupOperations.cs
index 8ccbff3a2d64..66d1a290bfab 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadGroupOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolWorkloadGroupOperations.cs
@@ -127,10 +127,6 @@ internal SqlPoolWorkloadGroupOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -435,10 +431,6 @@ internal SqlPoolWorkloadGroupOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -678,10 +670,6 @@ internal SqlPoolWorkloadGroupOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -954,10 +942,6 @@ internal SqlPoolWorkloadGroupOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs
index 9af225c35381..95e5b2eba75b 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsOperations.cs
@@ -124,10 +124,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -359,10 +355,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -658,10 +650,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -940,10 +928,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1177,10 +1161,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1424,10 +1404,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1674,10 +1650,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1906,10 +1878,6 @@ internal SqlPoolsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs
index 549b75d52b14..32658d1f89ba 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlPoolsV3Operations.cs
@@ -68,7 +68,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -99,10 +99,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -219,11 +215,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -425,7 +421,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -467,10 +463,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -570,11 +562,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -651,7 +643,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -682,10 +674,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -817,11 +805,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -913,7 +901,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -941,10 +929,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1061,11 +1045,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -1124,7 +1108,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1166,10 +1150,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1286,11 +1266,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 202)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -1364,7 +1344,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1392,10 +1372,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1512,11 +1488,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -1572,7 +1548,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1600,10 +1576,6 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1720,11 +1692,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 202 && (int)_statusCode != 204)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -1774,7 +1746,7 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -1870,11 +1842,11 @@ internal SqlPoolsV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs
index 40607db2e4a3..e2df46499f77 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/SqlV3Operations.cs
@@ -62,7 +62,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -147,11 +147,11 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -228,7 +228,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -278,10 +278,6 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -376,11 +372,11 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200 && (int)_statusCode != 204)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
@@ -439,7 +435,7 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
///
/// The cancellation token.
///
- ///
+ ///
/// Thrown when the operation returned an invalid status code
///
///
@@ -492,10 +488,6 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -590,11 +582,11 @@ internal SqlV3Operations(SynapseSqlV3ManagementClient client)
string _responseContent = null;
if ((int)_statusCode != 200)
{
- var ex = new ErrorContractException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
+ var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
{
_responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false);
- ErrorContract _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
+ ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings);
if (_errorBody != null)
{
ex.Body = _errorBody;
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs
index 6ecdfbe7c964..0e1a55d4c902 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceAadAdminsOperations.cs
@@ -118,10 +118,6 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -388,10 +384,6 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -634,10 +626,6 @@ internal WorkspaceAadAdminsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs
index 0a1ca40a32ae..abd754593b0c 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedIdentitySqlControlSettingsOperations.cs
@@ -118,10 +118,6 @@ internal WorkspaceManagedIdentitySqlControlSettingsOperations(SynapseManagementC
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -366,10 +362,6 @@ internal WorkspaceManagedIdentitySqlControlSettingsOperations(SynapseManagementC
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerBlobAuditingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerBlobAuditingPoliciesOperations.cs
index a82b3fc36781..048eacece655 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerBlobAuditingPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerBlobAuditingPoliciesOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerBlobAuditingPoliciesOperations(SynapseManageme
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -380,10 +376,6 @@ internal WorkspaceManagedSqlServerBlobAuditingPoliciesOperations(SynapseManageme
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -611,10 +603,6 @@ internal WorkspaceManagedSqlServerBlobAuditingPoliciesOperations(SynapseManageme
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs
index 6b9ed5e3b985..a287cb8b5464 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerEncryptionProtectorOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerEncryptionProtectorOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -375,10 +371,6 @@ internal WorkspaceManagedSqlServerEncryptionProtectorOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -631,10 +623,6 @@ internal WorkspaceManagedSqlServerEncryptionProtectorOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -869,10 +857,6 @@ internal WorkspaceManagedSqlServerEncryptionProtectorOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations.cs
index 102c2dae28cd..8c98515808b1 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations(Synapse
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -381,10 +377,6 @@ internal WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations(Synapse
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -613,10 +605,6 @@ internal WorkspaceManagedSqlServerExtendedBlobAuditingPoliciesOperations(Synapse
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs
index 6872f02c31b9..74465b886c02 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerRecoverableSqlpoolsOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerRecoverableSqlPoolsOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -352,10 +348,6 @@ internal WorkspaceManagedSqlServerRecoverableSqlPoolsOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerSecurityAlertPolicyOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerSecurityAlertPolicyOperations.cs
index c85c39fab7be..f74647cbba44 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerSecurityAlertPolicyOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerSecurityAlertPolicyOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerSecurityAlertPolicyOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -380,10 +376,6 @@ internal WorkspaceManagedSqlServerSecurityAlertPolicyOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -611,10 +603,6 @@ internal WorkspaceManagedSqlServerSecurityAlertPolicyOperations(SynapseManagemen
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerUsagesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerUsagesOperations.cs
index a23e7d743a72..453960fe1416 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerUsagesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerUsagesOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerUsagesOperations(SynapseManagementClient clien
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations.cs
index 56b623b790de..60dadfd465d6 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations.cs
@@ -121,10 +121,6 @@ internal WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(SynapseMana
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -355,10 +351,6 @@ internal WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(SynapseMana
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -616,10 +608,6 @@ internal WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(SynapseMana
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -830,10 +818,6 @@ internal WorkspaceManagedSqlServerVulnerabilityAssessmentsOperations(SynapseMana
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs
index b7dc63362f54..5fcb796ca34d 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspaceSqlAadAdminsOperations.cs
@@ -118,10 +118,6 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -388,10 +384,6 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -634,10 +626,6 @@ internal WorkspaceSqlAadAdminsOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
diff --git a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs
index a58ca5422702..4b6ede54fa11 100644
--- a/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs
+++ b/sdk/synapse/Microsoft.Azure.Management.Synapse/src/Generated/WorkspacesOperations.cs
@@ -115,10 +115,6 @@ internal WorkspacesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
// Tracing
bool _shouldTrace = ServiceClientTracing.IsEnabled;
@@ -329,10 +325,6 @@ internal WorkspacesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -811,10 +803,6 @@ internal WorkspacesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1063,10 +1051,6 @@ internal WorkspacesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{
@@ -1316,10 +1300,6 @@ internal WorkspacesOperations(SynapseManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (workspaceName == null)
{