From 39b91f4ae1c269d5b2d0881b711e7149954ed4d9 Mon Sep 17 00:00:00 2001 From: Samir Solanki Date: Tue, 23 Jul 2019 21:56:42 -0700 Subject: [PATCH] removed id validation (#7010) --- .../changelog.md | 4 ++ .../src/Generated/ApiDiagnosticOperations.cs | 24 ------- .../Generated/ApiIssueAttachmentOperations.cs | 20 ------ .../Generated/ApiIssueCommentOperations.cs | 20 ------ .../src/Generated/ApiIssueOperations.cs | 24 ------- .../src/Generated/ApiOperationOperations.cs | 20 ------ .../Generated/ApiOperationPolicyOperations.cs | 20 ------ .../src/Generated/ApiProductOperations.cs | 4 -- .../src/Generated/ApiReleaseOperations.cs | 24 ------- .../src/Generated/ApiRevisionOperations.cs | 4 -- .../src/Generated/BackendOperations.cs | 24 ------- .../src/Generated/GroupOperations.cs | 20 ------ .../src/Generated/GroupUserOperations.cs | 28 -------- .../ApiManagementServiceBaseProperties.cs | 69 ++++++++++++++++--- .../Models/ApiManagementServiceResource.cs | 69 ++++++++++++++++--- .../ApiManagementServiceUpdateParameters.cs | 69 ++++++++++++++++--- .../NotificationRecipientUserOperations.cs | 12 ---- .../src/Generated/ProductApiOperations.cs | 16 ----- .../src/Generated/ProductGroupOperations.cs | 28 -------- .../src/Generated/ProductOperations.cs | 20 ------ .../src/Generated/ProductPolicyOperations.cs | 20 ------ .../ProductSubscriptionsOperations.cs | 4 -- .../src/Generated/TagOperations.cs | 40 ----------- .../UserConfirmationPasswordOperations.cs | 4 -- .../src/Generated/UserGroupOperations.cs | 4 -- .../src/Generated/UserIdentitiesOperations.cs | 4 -- .../src/Generated/UserOperations.cs | 28 -------- .../Generated/UserSubscriptionOperations.cs | 4 -- ...soft.Azure.Management.ApiManagement.csproj | 2 +- .../src/Properties/AssemblyInfo.cs | 2 +- .../apimanagement_resource-manager.txt | 11 +++ 31 files changed, 197 insertions(+), 445 deletions(-) create mode 100644 src/SDKs/_metadata/apimanagement_resource-manager.txt diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/changelog.md b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/changelog.md index 7d17e9b83c964..9f3dff82329f8 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/changelog.md +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/changelog.md @@ -1,5 +1,9 @@ ## Microsoft.Azure.Management.ApiManagment release notes +### Changes in 4.11.0-preview + +- Removed id validation on `groups`, `apis`, `products`, `users` and `backend` to unblock existing customers to onboard to new sdks + ### Changes in 4.10.0-preview - Fixed support for creating, updating Swagger, WSDL and Open Api Schema. diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiDiagnosticOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiDiagnosticOperations.cs index d3a0c0fc2342f..bb295c44ed91f 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiDiagnosticOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiDiagnosticOperations.cs @@ -127,10 +127,6 @@ internal ApiDiagnosticOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -369,10 +365,6 @@ internal ApiDiagnosticOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (diagnosticId == null) { @@ -620,10 +612,6 @@ internal ApiDiagnosticOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (diagnosticId == null) { @@ -896,10 +884,6 @@ internal ApiDiagnosticOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (diagnosticId == null) { @@ -1213,10 +1197,6 @@ internal ApiDiagnosticOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (diagnosticId == null) { @@ -1477,10 +1457,6 @@ internal ApiDiagnosticOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (diagnosticId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueAttachmentOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueAttachmentOperations.cs index fc0bee5c10478..9091d14c3a0cd 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueAttachmentOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueAttachmentOperations.cs @@ -131,10 +131,6 @@ internal ApiIssueAttachmentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -397,10 +393,6 @@ internal ApiIssueAttachmentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -673,10 +665,6 @@ internal ApiIssueAttachmentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -974,10 +962,6 @@ internal ApiIssueAttachmentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -1311,10 +1295,6 @@ internal ApiIssueAttachmentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueCommentOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueCommentOperations.cs index bcaa231a01fc4..a8088f010398f 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueCommentOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueCommentOperations.cs @@ -131,10 +131,6 @@ internal ApiIssueCommentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -397,10 +393,6 @@ internal ApiIssueCommentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -673,10 +665,6 @@ internal ApiIssueCommentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -973,10 +961,6 @@ internal ApiIssueCommentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -1310,10 +1294,6 @@ internal ApiIssueCommentOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueOperations.cs index 6436747d01169..56bacc4f890a3 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiIssueOperations.cs @@ -130,10 +130,6 @@ internal ApiIssueOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -377,10 +373,6 @@ internal ApiIssueOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -631,10 +623,6 @@ internal ApiIssueOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -912,10 +900,6 @@ internal ApiIssueOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -1228,10 +1212,6 @@ internal ApiIssueOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { @@ -1492,10 +1472,6 @@ internal ApiIssueOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (issueId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationOperations.cs index bea6721c62475..5dcc4f645c35c 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationOperations.cs @@ -398,10 +398,6 @@ internal ApiOperationOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -650,10 +646,6 @@ internal ApiOperationOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -927,10 +919,6 @@ internal ApiOperationOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1245,10 +1233,6 @@ internal ApiOperationOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1510,10 +1494,6 @@ internal ApiOperationOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationPolicyOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationPolicyOperations.cs index aa6dc299c2202..838eeb91ee6fc 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationPolicyOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiOperationPolicyOperations.cs @@ -147,10 +147,6 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -402,10 +398,6 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -660,10 +652,6 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -945,10 +933,6 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1262,10 +1246,6 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiProductOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiProductOperations.cs index 6aac54eeb49bf..223d6a0319999 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiProductOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiProductOperations.cs @@ -127,10 +127,6 @@ internal ApiProductOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiReleaseOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiReleaseOperations.cs index e1a6289ba0e97..e8860691434d3 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiReleaseOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiReleaseOperations.cs @@ -130,10 +130,6 @@ internal ApiReleaseOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -371,10 +367,6 @@ internal ApiReleaseOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (releaseId == null) { @@ -622,10 +614,6 @@ internal ApiReleaseOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (releaseId == null) { @@ -898,10 +886,6 @@ internal ApiReleaseOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (releaseId == null) { @@ -1210,10 +1194,6 @@ internal ApiReleaseOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (releaseId == null) { @@ -1474,10 +1454,6 @@ internal ApiReleaseOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (releaseId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiRevisionOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiRevisionOperations.cs index 2a95c6a6e9b43..d0d6c826a4f04 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiRevisionOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ApiRevisionOperations.cs @@ -127,10 +127,6 @@ internal ApiRevisionOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/BackendOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/BackendOperations.cs index 55df911ab88ef..d2572714640f3 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/BackendOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/BackendOperations.cs @@ -340,10 +340,6 @@ internal BackendOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "backendId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "backendId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -566,10 +562,6 @@ internal BackendOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "backendId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "backendId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -817,10 +809,6 @@ internal BackendOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "backendId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "backendId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1108,10 +1096,6 @@ internal BackendOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "backendId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "backendId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1347,10 +1331,6 @@ internal BackendOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "backendId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "backendId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { @@ -1575,10 +1555,6 @@ internal BackendOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "backendId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "backendId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupOperations.cs index 38cbfefab1920..70053157b65ad 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupOperations.cs @@ -341,10 +341,6 @@ internal GroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -567,10 +563,6 @@ internal GroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -818,10 +810,6 @@ internal GroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1109,10 +1097,6 @@ internal GroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1348,10 +1332,6 @@ internal GroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupUserOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupUserOperations.cs index 1d7b50bd59e9a..c0747d82bd554 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupUserOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/GroupUserOperations.cs @@ -127,10 +127,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -369,10 +365,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (userId == null) { @@ -388,10 +380,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -608,10 +596,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (userId == null) { @@ -627,10 +611,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -879,10 +859,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (userId == null) { @@ -898,10 +874,6 @@ internal GroupUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceBaseProperties.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceBaseProperties.cs index 5c75e34f6b186..faf25a86ab3b8 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceBaseProperties.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceBaseProperties.cs @@ -70,15 +70,40 @@ public ApiManagementServiceBaseProperties() /// Additional datacenter locations /// of the API Management service. /// Custom properties of the API - /// Management service. Setting + /// Management service.</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all - /// TLS(1.0, 1.1 and 1.2). Setting + /// TLS(1.0, 1.1 and 1.2).</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` - /// can be used to disable just TLS 1.1 and setting + /// can be used to disable just TLS 1.1.</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` /// can be used to disable TLS 1.0 on an API Management - /// service. + /// service.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` + /// can be used to disable just TLS 1.1 for communications with + /// backends.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` + /// can be used to disable TLS 1.0 for communications with + /// backends.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` + /// can be used to enable HTTP2 protocol on an API Management + /// service.</br>Not specifying any of these properties on PATCH + /// operation will reset omitted properties' values to their defaults. + /// For all the settings except Http2 the default value is `True` if + /// the service was created on or before April 1st 2018 and `False` + /// otherwise. Http2 setting's default value is + /// `False`.</br></br>You can disable any of next ciphers + /// by using settings + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + /// TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + /// TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + /// TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, + /// TLS_RSA_WITH_AES_128_CBC_SHA. For example, + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + /// The default value is `true` for them. /// List of Certificates that need to be /// installed in the API Management service. Max supported certificates /// that can be installed is 10. @@ -223,15 +248,41 @@ public ApiManagementServiceBaseProperties() public IList AdditionalLocations { get; set; } /// - /// Gets or sets custom properties of the API Management service. - /// Setting + /// Gets or sets custom properties of the API Management + /// service.&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all - /// TLS(1.0, 1.1 and 1.2). Setting + /// TLS(1.0, 1.1 and 1.2).&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` - /// can be used to disable just TLS 1.1 and setting + /// can be used to disable just TLS 1.1.&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` - /// can be used to disable TLS 1.0 on an API Management service. + /// can be used to disable TLS 1.0 on an API Management + /// service.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` + /// can be used to disable just TLS 1.1 for communications with + /// backends.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` + /// can be used to disable TLS 1.0 for communications with + /// backends.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` + /// can be used to enable HTTP2 protocol on an API Management + /// service.&lt;/br&gt;Not specifying any of these properties + /// on PATCH operation will reset omitted properties' values to their + /// defaults. For all the settings except Http2 the default value is + /// `True` if the service was created on or before April 1st 2018 and + /// `False` otherwise. Http2 setting's default value is + /// `False`.&lt;/br&gt;&lt;/br&gt;You can disable any + /// of next ciphers by using settings + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + /// TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + /// TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + /// TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, + /// TLS_RSA_WITH_AES_128_CBC_SHA. For example, + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + /// The default value is `true` for them. /// [JsonProperty(PropertyName = "customProperties")] public IDictionary CustomProperties { get; set; } diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceResource.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceResource.cs index 613ebb73eb7de..c011c0de7ddd1 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceResource.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceResource.cs @@ -82,15 +82,40 @@ public ApiManagementServiceResource() /// Additional datacenter locations /// of the API Management service. /// Custom properties of the API - /// Management service. Setting + /// Management service.</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all - /// TLS(1.0, 1.1 and 1.2). Setting + /// TLS(1.0, 1.1 and 1.2).</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` - /// can be used to disable just TLS 1.1 and setting + /// can be used to disable just TLS 1.1.</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` /// can be used to disable TLS 1.0 on an API Management - /// service. + /// service.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` + /// can be used to disable just TLS 1.1 for communications with + /// backends.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` + /// can be used to disable TLS 1.0 for communications with + /// backends.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` + /// can be used to enable HTTP2 protocol on an API Management + /// service.</br>Not specifying any of these properties on PATCH + /// operation will reset omitted properties' values to their defaults. + /// For all the settings except Http2 the default value is `True` if + /// the service was created on or before April 1st 2018 and `False` + /// otherwise. Http2 setting's default value is + /// `False`.</br></br>You can disable any of next ciphers + /// by using settings + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + /// TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + /// TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + /// TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, + /// TLS_RSA_WITH_AES_128_CBC_SHA. For example, + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + /// The default value is `true` for them. /// List of Certificates that need to be /// installed in the API Management service. Max supported certificates /// that can be installed is 10. @@ -245,15 +270,41 @@ public ApiManagementServiceResource() public IList AdditionalLocations { get; set; } /// - /// Gets or sets custom properties of the API Management service. - /// Setting + /// Gets or sets custom properties of the API Management + /// service.&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all - /// TLS(1.0, 1.1 and 1.2). Setting + /// TLS(1.0, 1.1 and 1.2).&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` - /// can be used to disable just TLS 1.1 and setting + /// can be used to disable just TLS 1.1.&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` - /// can be used to disable TLS 1.0 on an API Management service. + /// can be used to disable TLS 1.0 on an API Management + /// service.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` + /// can be used to disable just TLS 1.1 for communications with + /// backends.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` + /// can be used to disable TLS 1.0 for communications with + /// backends.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` + /// can be used to enable HTTP2 protocol on an API Management + /// service.&lt;/br&gt;Not specifying any of these properties + /// on PATCH operation will reset omitted properties' values to their + /// defaults. For all the settings except Http2 the default value is + /// `True` if the service was created on or before April 1st 2018 and + /// `False` otherwise. Http2 setting's default value is + /// `False`.&lt;/br&gt;&lt;/br&gt;You can disable any + /// of next ciphers by using settings + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + /// TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + /// TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + /// TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, + /// TLS_RSA_WITH_AES_128_CBC_SHA. For example, + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + /// The default value is `true` for them. /// [JsonProperty(PropertyName = "properties.customProperties")] public IDictionary CustomProperties { get; set; } diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceUpdateParameters.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceUpdateParameters.cs index caad94497ae34..23f0360dd45d4 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceUpdateParameters.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/Models/ApiManagementServiceUpdateParameters.cs @@ -77,15 +77,40 @@ public ApiManagementServiceUpdateParameters() /// Additional datacenter locations /// of the API Management service. /// Custom properties of the API - /// Management service. Setting + /// Management service.</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all - /// TLS(1.0, 1.1 and 1.2). Setting + /// TLS(1.0, 1.1 and 1.2).</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` - /// can be used to disable just TLS 1.1 and setting + /// can be used to disable just TLS 1.1.</br>Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` /// can be used to disable TLS 1.0 on an API Management - /// service. + /// service.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` + /// can be used to disable just TLS 1.1 for communications with + /// backends.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` + /// can be used to disable TLS 1.0 for communications with + /// backends.</br>Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` + /// can be used to enable HTTP2 protocol on an API Management + /// service.</br>Not specifying any of these properties on PATCH + /// operation will reset omitted properties' values to their defaults. + /// For all the settings except Http2 the default value is `True` if + /// the service was created on or before April 1st 2018 and `False` + /// otherwise. Http2 setting's default value is + /// `False`.</br></br>You can disable any of next ciphers + /// by using settings + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + /// TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + /// TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + /// TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, + /// TLS_RSA_WITH_AES_128_CBC_SHA. For example, + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + /// The default value is `true` for them. /// List of Certificates that need to be /// installed in the API Management service. Max supported certificates /// that can be installed is 10. @@ -243,15 +268,41 @@ public ApiManagementServiceUpdateParameters() public IList AdditionalLocations { get; set; } /// - /// Gets or sets custom properties of the API Management service. - /// Setting + /// Gets or sets custom properties of the API Management + /// service.&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all - /// TLS(1.0, 1.1 and 1.2). Setting + /// TLS(1.0, 1.1 and 1.2).&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` - /// can be used to disable just TLS 1.1 and setting + /// can be used to disable just TLS 1.1.&lt;/br&gt;Setting /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` - /// can be used to disable TLS 1.0 on an API Management service. + /// can be used to disable TLS 1.0 on an API Management + /// service.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11` + /// can be used to disable just TLS 1.1 for communications with + /// backends.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10` + /// can be used to disable TLS 1.0 for communications with + /// backends.&lt;/br&gt;Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2` + /// can be used to enable HTTP2 protocol on an API Management + /// service.&lt;/br&gt;Not specifying any of these properties + /// on PATCH operation will reset omitted properties' values to their + /// defaults. For all the settings except Http2 the default value is + /// `True` if the service was created on or before April 1st 2018 and + /// `False` otherwise. Http2 setting's default value is + /// `False`.&lt;/br&gt;&lt;/br&gt;You can disable any + /// of next ciphers by using settings + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.[cipher_name]`: + /// TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA, + /// TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, + /// TLS_RSA_WITH_AES_128_GCM_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA256, + /// TLS_RSA_WITH_AES_128_CBC_SHA256, TLS_RSA_WITH_AES_256_CBC_SHA, + /// TLS_RSA_WITH_AES_128_CBC_SHA. For example, + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TLS_RSA_WITH_AES_128_CBC_SHA256`:`false`. + /// The default value is `true` for them. /// [JsonProperty(PropertyName = "properties.customProperties")] public IDictionary CustomProperties { get; set; } diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/NotificationRecipientUserOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/NotificationRecipientUserOperations.cs index beb11a153762f..e47f2869fa297 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/NotificationRecipientUserOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/NotificationRecipientUserOperations.cs @@ -354,10 +354,6 @@ internal NotificationRecipientUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -583,10 +579,6 @@ internal NotificationRecipientUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -843,10 +835,6 @@ internal NotificationRecipientUserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductApiOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductApiOperations.cs index f6788313979d7..3b37921bc7640 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductApiOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductApiOperations.cs @@ -127,10 +127,6 @@ internal ProductApiOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -370,10 +366,6 @@ internal ProductApiOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (apiId == null) { @@ -609,10 +601,6 @@ internal ProductApiOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (apiId == null) { @@ -881,10 +869,6 @@ internal ProductApiOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (apiId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductGroupOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductGroupOperations.cs index e4100173c3811..4e0635dbd8c08 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductGroupOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductGroupOperations.cs @@ -128,10 +128,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -370,10 +366,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (groupId == null) { @@ -389,10 +381,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -609,10 +597,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (groupId == null) { @@ -628,10 +612,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -880,10 +860,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (groupId == null) { @@ -899,10 +875,6 @@ internal ProductGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductOperations.cs index 59102603cd376..01c590f04245c 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductOperations.cs @@ -357,10 +357,6 @@ internal ProductOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -583,10 +579,6 @@ internal ProductOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -834,10 +826,6 @@ internal ProductOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1125,10 +1113,6 @@ internal ProductOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1367,10 +1351,6 @@ internal ProductOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductPolicyOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductPolicyOperations.cs index 9c7691e957bd2..6b77d2327501f 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductPolicyOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductPolicyOperations.cs @@ -123,10 +123,6 @@ internal ProductPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -351,10 +347,6 @@ internal ProductPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -583,10 +575,6 @@ internal ProductPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -842,10 +830,6 @@ internal ProductPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1133,10 +1117,6 @@ internal ProductPolicyOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductSubscriptionsOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductSubscriptionsOperations.cs index 336253e8f9c12..ef759db4eddcf 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductSubscriptionsOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/ProductSubscriptionsOperations.cs @@ -127,10 +127,6 @@ internal ProductSubscriptionsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/TagOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/TagOperations.cs index efedd42c5fc03..f4bd0d8c9fba0 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/TagOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/TagOperations.cs @@ -151,10 +151,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -418,10 +414,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -695,10 +687,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -990,10 +978,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -1287,10 +1271,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -2813,10 +2793,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -3054,10 +3030,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -3305,10 +3277,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -3574,10 +3542,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { @@ -3845,10 +3809,6 @@ internal TagOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); - } } if (tagId == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserConfirmationPasswordOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserConfirmationPasswordOperations.cs index 91d2cec232a90..3ede6fe4a210b 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserConfirmationPasswordOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserConfirmationPasswordOperations.cs @@ -120,10 +120,6 @@ internal UserConfirmationPasswordOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserGroupOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserGroupOperations.cs index 759080814b699..1e5e2d354eab2 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserGroupOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserGroupOperations.cs @@ -127,10 +127,6 @@ internal UserGroupOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserIdentitiesOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserIdentitiesOperations.cs index 331f26d9404ca..5b5429d7bce71 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserIdentitiesOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserIdentitiesOperations.cs @@ -123,10 +123,6 @@ internal UserIdentitiesOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserOperations.cs index ddc942338bae4..f760760946d3c 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserOperations.cs @@ -348,10 +348,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -574,10 +570,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -825,10 +817,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1116,10 +1104,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { @@ -1361,10 +1345,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (ifMatch == null) { @@ -1598,10 +1578,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { @@ -1832,10 +1808,6 @@ internal UserOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (parameters == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserSubscriptionOperations.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserSubscriptionOperations.cs index c7e8c3436790e..e591fa428acaa 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserSubscriptionOperations.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Generated/UserSubscriptionOperations.cs @@ -127,10 +127,6 @@ internal UserSubscriptionOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.MinLength, "userId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(userId, "^[^*#&+:<>?]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "userId", "^[^*#&+:<>?]+$"); - } } if (Client.ApiVersion == null) { diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Microsoft.Azure.Management.ApiManagement.csproj b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Microsoft.Azure.Management.ApiManagement.csproj index 2e7833e4206c8..633b2aca9af42 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Microsoft.Azure.Management.ApiManagement.csproj +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Microsoft.Azure.Management.ApiManagement.csproj @@ -8,7 +8,7 @@ Provides ApiManagement management capabilities for Microsoft Azure. Microsoft Azure API Management Management Microsoft.Azure.Management.ApiManagement - 4.10.0-preview + 4.11.0-preview Microsoft Azure ApiManagement management;API Management; Refer https://aka.ms/apimdotnetsdkchangelog for release notes. diff --git a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Properties/AssemblyInfo.cs b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Properties/AssemblyInfo.cs index d00d844f65b89..e13fe303faf4e 100644 --- a/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Properties/AssemblyInfo.cs +++ b/sdk/apimanagement/Microsoft.Azure.Management.ApiManagement/src/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyDescription("Provides Api management capabilities for Microsoft Azure.")] [assembly: AssemblyVersion("4.0.0.0")] -[assembly: AssemblyFileVersion("4.10.0.0")] +[assembly: AssemblyFileVersion("4.11.0.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Azure .NET SDK")] diff --git a/src/SDKs/_metadata/apimanagement_resource-manager.txt b/src/SDKs/_metadata/apimanagement_resource-manager.txt new file mode 100644 index 0000000000000..6d6ed680b4326 --- /dev/null +++ b/src/SDKs/_metadata/apimanagement_resource-manager.txt @@ -0,0 +1,11 @@ +2019-07-23 23:04:04 UTC + +1) azure-rest-api-specs repository information +GitHub user: Azure +Branch: master +Commit: 2fcd0139889b923094b39a6aae015e1ea3604b68 + +2) AutoRest information +Requested version: latest +Bootstrapper version: C:\Users\sasolank\AppData\Roaming\npm `-- autorest@2.0.4283 +Latest installed version: