From 6479d3df0204903e24b3a6f5f46f24119c1d6335 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 30 Jul 2021 07:14:04 +0000 Subject: [PATCH] CodeGen from PR 15449 in Azure/azure-rest-api-specs Update readme.python.md (#15449) * Update readme.python.md * Create readme.python.md --- .../src/Generated/MonitorsOperations.cs | 48 ------------------- .../SdkInfo_MicrosoftDatadogClient.cs | 11 ----- .../SingleSignOnConfigurationsOperations.cs | 12 ----- .../src/Generated/TagRulesOperations.cs | 12 ----- 4 files changed, 83 deletions(-) diff --git a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/MonitorsOperations.cs b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/MonitorsOperations.cs index df1abe2a645f..0b9d0c6ab19a 100644 --- a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/MonitorsOperations.cs +++ b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/MonitorsOperations.cs @@ -107,10 +107,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -327,10 +323,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -546,10 +538,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -759,10 +747,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -980,10 +964,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -1201,10 +1181,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -1605,10 +1581,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (Client.ApiVersion == null) { @@ -1819,10 +1791,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -2109,10 +2077,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -2331,10 +2295,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -2582,10 +2542,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -2824,10 +2780,6 @@ internal MonitorsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { diff --git a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SdkInfo_MicrosoftDatadogClient.cs b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SdkInfo_MicrosoftDatadogClient.cs index e01d9a890438..86073ce026ee 100644 --- a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SdkInfo_MicrosoftDatadogClient.cs +++ b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SdkInfo_MicrosoftDatadogClient.cs @@ -27,16 +27,5 @@ public static IEnumerable> ApiInfo_MicrosoftDatado }.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/datadog/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\work\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "b554b6d3497ef8a9eff147f94a5d47ba4eeb7a34"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } - diff --git a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SingleSignOnConfigurationsOperations.cs b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SingleSignOnConfigurationsOperations.cs index 79f2674192fe..488e5dfff3e8 100644 --- a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SingleSignOnConfigurationsOperations.cs +++ b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/SingleSignOnConfigurationsOperations.cs @@ -107,10 +107,6 @@ internal SingleSignOnConfigurationsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -357,10 +353,6 @@ internal SingleSignOnConfigurationsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -588,10 +580,6 @@ internal SingleSignOnConfigurationsOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { diff --git a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/TagRulesOperations.cs b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/TagRulesOperations.cs index fa6e90df3678..a0499aa004ed 100644 --- a/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/TagRulesOperations.cs +++ b/sdk/datadog/Microsoft.Azure.Management.Datadog/src/Generated/TagRulesOperations.cs @@ -107,10 +107,6 @@ internal TagRulesOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -332,10 +328,6 @@ internal TagRulesOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) { @@ -574,10 +566,6 @@ internal TagRulesOperations(MicrosoftDatadogClient client) { throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$")) - { - throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$"); - } } if (monitorName == null) {