diff --git a/eng/mgmt/mgmtmetadata/operationalinsights_resource-manager.txt b/eng/mgmt/mgmtmetadata/operationalinsights_resource-manager.txt
index 5d002c6b36aa5..6888f638771d0 100644
--- a/eng/mgmt/mgmtmetadata/operationalinsights_resource-manager.txt
+++ b/eng/mgmt/mgmtmetadata/operationalinsights_resource-manager.txt
@@ -3,12 +3,13 @@ AutoRest installed successfully.
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/operationalinsights/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\One\SDK_repos\azure-sdk-for-net\sdk
-2021-05-06 14:00:15 UTC
+cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/operationalinsights/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\One\SDK\azure-sdk-for-net\sdk
+Autorest CSharp Version: 2.3.82
+2021-07-07 07:06:36 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
-Commit: e401e457b5e95941f241f5c71bc56d42d431a4e0
+Commit: 036c2de2b40ad05a1542b665a9e8bda18c813194
AutoRest information
Requested version: v2
Bootstrapper version: autorest@2.0.4413
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Customizations/Models/DataExport.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Customizations/Models/DataExport.cs
new file mode 100644
index 0000000000000..345146bea6510
--- /dev/null
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Customizations/Models/DataExport.cs
@@ -0,0 +1,16 @@
+//
+// 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.OperationalInsights.Models
+{
+ public partial class DataExport : Resource
+ {
+ }
+}
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/AvailableServiceTiersOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/AvailableServiceTiersOperations.cs
index b861ee097d623..03558adc50df4 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/AvailableServiceTiersOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/AvailableServiceTiersOperations.cs
@@ -107,10 +107,6 @@ internal AvailableServiceTiersOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ClustersOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ClustersOperations.cs
index 927177097c597..ad9af4775f53c 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ClustersOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ClustersOperations.cs
@@ -93,10 +93,6 @@ internal ClustersOperations(OperationalInsightsManagementClient 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.SubscriptionId == null)
{
@@ -534,10 +530,6 @@ internal ClustersOperations(OperationalInsightsManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (clusterName == null)
{
@@ -737,10 +729,6 @@ internal ClustersOperations(OperationalInsightsManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (clusterName == null)
{
@@ -962,10 +950,6 @@ internal ClustersOperations(OperationalInsightsManagementClient 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.SubscriptionId == null)
{
@@ -1218,10 +1202,6 @@ internal ClustersOperations(OperationalInsightsManagementClient client)
{
throw new ValidationException(ValidationRules.MinLength, "resourceGroupName", 1);
}
- if (!System.Text.RegularExpressions.Regex.IsMatch(resourceGroupName, "^[-\\w\\._\\(\\)]+$"))
- {
- throw new ValidationException(ValidationRules.Pattern, "resourceGroupName", "^[-\\w\\._\\(\\)]+$");
- }
}
if (clusterName == null)
{
@@ -1321,7 +1301,7 @@ internal ClustersOperations(OperationalInsightsManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode != 200 && (int)_statusCode != 204)
+ if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataExportsOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataExportsOperations.cs
index 2a83aa892465e..27af932a800e0 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataExportsOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataExportsOperations.cs
@@ -107,10 +107,6 @@ internal DataExportsOperations(OperationalInsightsManagementClient 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)
{
@@ -339,10 +335,6 @@ internal DataExportsOperations(OperationalInsightsManagementClient 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)
{
@@ -622,10 +614,6 @@ internal DataExportsOperations(OperationalInsightsManagementClient 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)
{
@@ -854,10 +842,6 @@ internal DataExportsOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataSourcesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataSourcesOperations.cs
index b022128adc4ff..97787bc75aeef 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataSourcesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DataSourcesOperations.cs
@@ -103,10 +103,6 @@ internal DataSourcesOperations(OperationalInsightsManagementClient 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)
{
@@ -373,10 +369,6 @@ internal DataSourcesOperations(OperationalInsightsManagementClient 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)
{
@@ -595,10 +587,6 @@ internal DataSourcesOperations(OperationalInsightsManagementClient 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)
{
@@ -843,10 +831,6 @@ internal DataSourcesOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DeletedWorkspacesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DeletedWorkspacesOperations.cs
index 35defea6a3316..a14d340b0e560 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DeletedWorkspacesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/DeletedWorkspacesOperations.cs
@@ -272,10 +272,6 @@ internal DeletedWorkspacesOperations(OperationalInsightsManagementClient 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.SubscriptionId == null)
{
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/GatewaysOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/GatewaysOperations.cs
index 52c8c8a457159..f924b670b9d76 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/GatewaysOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/GatewaysOperations.cs
@@ -107,10 +107,6 @@ internal GatewaysOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/IntelligencePacksOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/IntelligencePacksOperations.cs
index bb01de8e04d24..6565939cc1897 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/IntelligencePacksOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/IntelligencePacksOperations.cs
@@ -96,10 +96,6 @@ internal IntelligencePacksOperations(OperationalInsightsManagementClient 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)
{
@@ -315,10 +311,6 @@ internal IntelligencePacksOperations(OperationalInsightsManagementClient 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)
{
@@ -535,10 +527,6 @@ internal IntelligencePacksOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedServicesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedServicesOperations.cs
index 9ae36bd3f30df..ddd74e1d75179 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedServicesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedServicesOperations.cs
@@ -152,10 +152,6 @@ internal LinkedServicesOperations(OperationalInsightsManagementClient 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)
{
@@ -389,10 +385,6 @@ internal LinkedServicesOperations(OperationalInsightsManagementClient 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)
{
@@ -626,10 +618,6 @@ internal LinkedServicesOperations(OperationalInsightsManagementClient 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)
{
@@ -761,7 +749,7 @@ internal LinkedServicesOperations(OperationalInsightsManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode != 200 && (int)_statusCode != 201)
+ if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
@@ -895,10 +883,6 @@ internal LinkedServicesOperations(OperationalInsightsManagementClient 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)
{
@@ -1019,7 +1003,7 @@ internal LinkedServicesOperations(OperationalInsightsManagementClient client)
HttpStatusCode _statusCode = _httpResponse.StatusCode;
cancellationToken.ThrowIfCancellationRequested();
string _responseContent = null;
- if ((int)_statusCode != 200 && (int)_statusCode != 204)
+ if ((int)_statusCode != 200 && (int)_statusCode != 202 && (int)_statusCode != 204)
{
var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode));
try
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedStorageAccountsOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedStorageAccountsOperations.cs
index 62241098aae78..f7fc3caf4da3e 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedStorageAccountsOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/LinkedStorageAccountsOperations.cs
@@ -104,10 +104,6 @@ internal LinkedStorageAccountsOperations(OperationalInsightsManagementClient 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)
{
@@ -351,10 +347,6 @@ internal LinkedStorageAccountsOperations(OperationalInsightsManagementClient 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)
{
@@ -571,10 +563,6 @@ internal LinkedStorageAccountsOperations(OperationalInsightsManagementClient 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)
{
@@ -816,10 +804,6 @@ internal LinkedStorageAccountsOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ManagementGroupsOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ManagementGroupsOperations.cs
index 7a6ee79837354..acb18638c0852 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ManagementGroupsOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/ManagementGroupsOperations.cs
@@ -96,10 +96,6 @@ internal ManagementGroupsOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Cluster.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Cluster.cs
index ed8b31ee653e1..0afe9167ade25 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Cluster.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Cluster.cs
@@ -58,11 +58,8 @@ public Cluster()
/// regions where Azure Data Explorer support Availability Zones. This
/// Property can not be modified after cluster creation. Default value
/// is 'true' if region supports Availability Zones.
- /// Configures whether billing will be only
- /// on the cluster or each workspace will be billed by its proportional
- /// use. This does not change the overall billing, only how it will be
- /// distributed. Default value is 'Cluster'. Possible values include:
- /// 'Cluster', 'Workspaces'
+ /// The cluster's billing type. Possible
+ /// values include: 'Cluster', 'Workspaces'
/// The associated key
/// properties.
/// The last time the cluster was
@@ -140,11 +137,8 @@ public Cluster()
public bool? IsAvailabilityZonesEnabled { get; set; }
///
- /// Gets or sets configures whether billing will be only on the cluster
- /// or each workspace will be billed by its proportional use. This does
- /// not change the overall billing, only how it will be distributed.
- /// Default value is 'Cluster'. Possible values include: 'Cluster',
- /// 'Workspaces'
+ /// Gets or sets the cluster's billing type. Possible values include:
+ /// 'Cluster', 'Workspaces'
///
[JsonProperty(PropertyName = "properties.billingType")]
public string BillingType { get; set; }
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/ClusterPatch.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/ClusterPatch.cs
index 21155c53ece73..fdc2e62fcc8a1 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/ClusterPatch.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/ClusterPatch.cs
@@ -37,12 +37,15 @@ public ClusterPatch()
///
/// The associated key
/// properties.
+ /// The cluster's billing type. Possible
+ /// values include: 'Cluster', 'Workspaces'
/// The identity of the resource.
/// The sku properties.
/// Resource tags.
- public ClusterPatch(KeyVaultProperties keyVaultProperties = default(KeyVaultProperties), Identity identity = default(Identity), ClusterSku sku = default(ClusterSku), IDictionary tags = default(IDictionary))
+ public ClusterPatch(KeyVaultProperties keyVaultProperties = default(KeyVaultProperties), string billingType = default(string), Identity identity = default(Identity), ClusterSku sku = default(ClusterSku), IDictionary tags = default(IDictionary))
{
KeyVaultProperties = keyVaultProperties;
+ BillingType = billingType;
Identity = identity;
Sku = sku;
Tags = tags;
@@ -60,6 +63,13 @@ public ClusterPatch()
[JsonProperty(PropertyName = "properties.keyVaultProperties")]
public KeyVaultProperties KeyVaultProperties { get; set; }
+ ///
+ /// Gets or sets the cluster's billing type. Possible values include:
+ /// 'Cluster', 'Workspaces'
+ ///
+ [JsonProperty(PropertyName = "properties.billingType")]
+ public string BillingType { get; set; }
+
///
/// Gets or sets the identity of the resource.
///
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/SavedSearch.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/SavedSearch.cs
index 1a3466d18f798..d5d016e94186e 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/SavedSearch.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/SavedSearch.cs
@@ -45,7 +45,8 @@ public SavedSearch()
/// The type of the resource. E.g.
/// "Microsoft.Compute/virtualMachines" or
/// "Microsoft.Storage/storageAccounts"
- /// The ETag of the saved search.
+ /// The ETag of the saved search. To override an
+ /// existing saved search, use "*" or specify the current Etag
/// The function alias if query serves as a
/// function.
/// The optional function parameters
@@ -77,7 +78,8 @@ public SavedSearch()
partial void CustomInit();
///
- /// Gets or sets the ETag of the saved search.
+ /// Gets or sets the ETag of the saved search. To override an existing
+ /// saved search, use "*" or specify the current Etag
///
[JsonProperty(PropertyName = "etag")]
public string Etag { get; set; }
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Workspace.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Workspace.cs
index e4e089e55c7a3..7352bd87ead94 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Workspace.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/Workspace.cs
@@ -69,7 +69,7 @@ public Workspace()
/// link scope resources.
/// Workspace features.
/// The ETag of the workspace.
- public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), string customerId = default(string), WorkspaceSku sku = default(WorkspaceSku), int? retentionInDays = default(int?), WorkspaceCapping workspaceCapping = default(WorkspaceCapping), string createdDate = default(string), string modifiedDate = default(string), string publicNetworkAccessForIngestion = default(string), string publicNetworkAccessForQuery = default(string), bool? forceCmkForQuery = default(bool?), IList privateLinkScopedResources = default(IList), IDictionary features = default(IDictionary), string eTag = default(string))
+ public Workspace(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string provisioningState = default(string), string customerId = default(string), WorkspaceSku sku = default(WorkspaceSku), int? retentionInDays = default(int?), WorkspaceCapping workspaceCapping = default(WorkspaceCapping), string createdDate = default(string), string modifiedDate = default(string), string publicNetworkAccessForIngestion = default(string), string publicNetworkAccessForQuery = default(string), bool? forceCmkForQuery = default(bool?), IList privateLinkScopedResources = default(IList), WorkspaceFeatures features = default(WorkspaceFeatures), string eTag = default(string))
: base(location, id, name, type, tags)
{
ProvisioningState = provisioningState;
@@ -169,8 +169,8 @@ public Workspace()
///
/// Gets or sets workspace features.
///
- [JsonProperty(PropertyName = "properties.properties.features")]
- public IDictionary Features { get; set; }
+ [JsonProperty(PropertyName = "properties.features")]
+ public WorkspaceFeatures Features { get; set; }
///
/// Gets or sets the ETag of the workspace.
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspaceFeatures.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspaceFeatures.cs
new file mode 100644
index 0000000000000..43b3cefe27d29
--- /dev/null
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspaceFeatures.cs
@@ -0,0 +1,103 @@
+//
+// 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.OperationalInsights.Models
+{
+ using Newtonsoft.Json;
+ using System.Collections;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ ///
+ /// Workspace features.
+ ///
+ public partial class WorkspaceFeatures
+ {
+ ///
+ /// Initializes a new instance of the WorkspaceFeatures class.
+ ///
+ public WorkspaceFeatures()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the WorkspaceFeatures class.
+ ///
+ /// Unmatched properties from the
+ /// message are deserialized this collection
+ /// Flag that indicate if data should be
+ /// exported.
+ /// Flag that describes if we
+ /// want to remove the data after 30 days.
+ /// Flag that
+ /// indicate which permission to use - resource or workspace or
+ /// both.
+ /// Dedicated LA cluster resourceId
+ /// that is linked to the workspaces.
+ /// Disable Non-AAD based Auth.
+ public WorkspaceFeatures(IDictionary additionalProperties = default(IDictionary), bool? enableDataExport = default(bool?), bool? immediatePurgeDataOn30Days = default(bool?), bool? enableLogAccessUsingOnlyResourcePermissions = default(bool?), string clusterResourceId = default(string), bool? disableLocalAuth = default(bool?))
+ {
+ AdditionalProperties = additionalProperties;
+ EnableDataExport = enableDataExport;
+ ImmediatePurgeDataOn30Days = immediatePurgeDataOn30Days;
+ EnableLogAccessUsingOnlyResourcePermissions = enableLogAccessUsingOnlyResourcePermissions;
+ ClusterResourceId = clusterResourceId;
+ DisableLocalAuth = disableLocalAuth;
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ ///
+ /// Gets or sets unmatched properties from the message are deserialized
+ /// this collection
+ ///
+ [JsonExtensionData]
+ public IDictionary AdditionalProperties { get; set; }
+
+ ///
+ /// Gets or sets flag that indicate if data should be exported.
+ ///
+ [JsonProperty(PropertyName = "enableDataExport")]
+ public bool? EnableDataExport { get; set; }
+
+ ///
+ /// Gets or sets flag that describes if we want to remove the data
+ /// after 30 days.
+ ///
+ [JsonProperty(PropertyName = "immediatePurgeDataOn30Days")]
+ public bool? ImmediatePurgeDataOn30Days { get; set; }
+
+ ///
+ /// Gets or sets flag that indicate which permission to use - resource
+ /// or workspace or both.
+ ///
+ [JsonProperty(PropertyName = "enableLogAccessUsingOnlyResourcePermissions")]
+ public bool? EnableLogAccessUsingOnlyResourcePermissions { get; set; }
+
+ ///
+ /// Gets or sets dedicated LA cluster resourceId that is linked to the
+ /// workspaces.
+ ///
+ [JsonProperty(PropertyName = "clusterResourceId")]
+ public string ClusterResourceId { get; set; }
+
+ ///
+ /// Gets or sets disable Non-AAD based Auth.
+ ///
+ [JsonProperty(PropertyName = "disableLocalAuth")]
+ public bool? DisableLocalAuth { get; set; }
+
+ }
+}
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspacePatch.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspacePatch.cs
index b167893cd1ede..c3480de74f13c 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspacePatch.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/Models/WorkspacePatch.cs
@@ -67,7 +67,7 @@ public WorkspacePatch()
/// link scope resources.
/// Workspace features.
/// Resource tags. Optional.
- public WorkspacePatch(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string provisioningState = default(string), string customerId = default(string), WorkspaceSku sku = default(WorkspaceSku), int? retentionInDays = default(int?), WorkspaceCapping workspaceCapping = default(WorkspaceCapping), string createdDate = default(string), string modifiedDate = default(string), string publicNetworkAccessForIngestion = default(string), string publicNetworkAccessForQuery = default(string), bool? forceCmkForQuery = default(bool?), IList privateLinkScopedResources = default(IList), IDictionary features = default(IDictionary), IDictionary tags = default(IDictionary))
+ public WorkspacePatch(string id = default(string), string name = default(string), string type = default(string), string etag = default(string), string provisioningState = default(string), string customerId = default(string), WorkspaceSku sku = default(WorkspaceSku), int? retentionInDays = default(int?), WorkspaceCapping workspaceCapping = default(WorkspaceCapping), string createdDate = default(string), string modifiedDate = default(string), string publicNetworkAccessForIngestion = default(string), string publicNetworkAccessForQuery = default(string), bool? forceCmkForQuery = default(bool?), IList privateLinkScopedResources = default(IList), WorkspaceFeatures features = default(WorkspaceFeatures), IDictionary tags = default(IDictionary))
: base(id, name, type, etag)
{
ProvisioningState = provisioningState;
@@ -167,8 +167,8 @@ public WorkspacePatch()
///
/// Gets or sets workspace features.
///
- [JsonProperty(PropertyName = "properties.properties.features")]
- public IDictionary Features { get; set; }
+ [JsonProperty(PropertyName = "properties.features")]
+ public WorkspaceFeatures Features { get; set; }
///
/// Gets or sets resource tags. Optional.
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SavedSearchesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SavedSearchesOperations.cs
index f3e21ee70660c..cb8dcc2f74ff6 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SavedSearchesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SavedSearchesOperations.cs
@@ -107,10 +107,6 @@ internal SavedSearchesOperations(OperationalInsightsManagementClient 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)
{
@@ -332,10 +328,6 @@ internal SavedSearchesOperations(OperationalInsightsManagementClient 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)
{
@@ -587,10 +579,6 @@ internal SavedSearchesOperations(OperationalInsightsManagementClient 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 SavedSearchesOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SchemaOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SchemaOperations.cs
index 5709da8a6bcdc..3681f0a61987a 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SchemaOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SchemaOperations.cs
@@ -96,10 +96,6 @@ internal SchemaOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SdkInfo_OperationalInsightsManagementClient.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SdkInfo_OperationalInsightsManagementClient.cs
index a877b3e642729..5fa7f8f684fdf 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SdkInfo_OperationalInsightsManagementClient.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SdkInfo_OperationalInsightsManagementClient.cs
@@ -45,10 +45,10 @@ public static IEnumerable> ApiInfo_OperationalInsi
// 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/operationalinsights/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\One\\SDK_repos\\azure-sdk-for-net\\sdk";
+ public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/operationalinsights/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=C:\\One\\SDK\\azure-sdk-for-net\\sdk";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "e401e457b5e95941f241f5c71bc56d42d431a4e0";
+ public static readonly String GithubCommidId = "036c2de2b40ad05a1542b665a9e8bda18c813194";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SharedKeysOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SharedKeysOperations.cs
index b42efc65d7744..3ff3be59e77f6 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SharedKeysOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/SharedKeysOperations.cs
@@ -96,10 +96,6 @@ internal SharedKeysOperations(OperationalInsightsManagementClient 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)
{
@@ -339,10 +335,6 @@ internal SharedKeysOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/StorageInsightConfigsOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/StorageInsightConfigsOperations.cs
index 79a48b5f150a7..f9aaa53440c29 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/StorageInsightConfigsOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/StorageInsightConfigsOperations.cs
@@ -102,10 +102,6 @@ internal StorageInsightConfigsOperations(OperationalInsightsManagementClient 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)
{
@@ -375,10 +371,6 @@ internal StorageInsightConfigsOperations(OperationalInsightsManagementClient 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)
{
@@ -612,10 +604,6 @@ internal StorageInsightConfigsOperations(OperationalInsightsManagementClient 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)
{
@@ -831,10 +819,6 @@ internal StorageInsightConfigsOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/TablesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/TablesOperations.cs
index df656c603066b..485f0c2c11fd4 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/TablesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/TablesOperations.cs
@@ -107,10 +107,6 @@ internal TablesOperations(OperationalInsightsManagementClient 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)
{
@@ -340,10 +336,6 @@ internal TablesOperations(OperationalInsightsManagementClient 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)
{
@@ -595,10 +587,6 @@ internal TablesOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/UsagesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/UsagesOperations.cs
index 4ea24193db79f..e63973ff6ca1f 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/UsagesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/UsagesOperations.cs
@@ -96,10 +96,6 @@ internal UsagesOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacePurgeOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacePurgeOperations.cs
index ca74ab7036b67..421f17d5e4589 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacePurgeOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacePurgeOperations.cs
@@ -107,10 +107,6 @@ internal WorkspacePurgeOperations(OperationalInsightsManagementClient 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.SubscriptionId == null)
{
@@ -370,10 +366,6 @@ internal WorkspacePurgeOperations(OperationalInsightsManagementClient 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.SubscriptionId == null)
{
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacesOperations.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacesOperations.cs
index 5e4958a6ad33a..37411b702c163 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacesOperations.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Generated/WorkspacesOperations.cs
@@ -271,10 +271,6 @@ internal WorkspacesOperations(OperationalInsightsManagementClient 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.SubscriptionId == null)
{
@@ -530,10 +526,6 @@ internal WorkspacesOperations(OperationalInsightsManagementClient 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)
{
@@ -759,10 +751,6 @@ internal WorkspacesOperations(OperationalInsightsManagementClient 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)
{
@@ -999,10 +987,6 @@ internal WorkspacesOperations(OperationalInsightsManagementClient 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)
{
@@ -1262,10 +1246,6 @@ internal WorkspacesOperations(OperationalInsightsManagementClient 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/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Microsoft.Azure.Management.OperationalInsights.csproj b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Microsoft.Azure.Management.OperationalInsights.csproj
index f22b31306c62e..83886fcec9954 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Microsoft.Azure.Management.OperationalInsights.csproj
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Microsoft.Azure.Management.OperationalInsights.csproj
@@ -7,9 +7,9 @@
Microsoft.Azure.Management.OperationalInsights
Provides Microsoft Azure Operational Insights management operations
Microsoft.Azure.Management.OperationalInsights
- 0.23.0-preview
+ 0.24.0-preview
Microsoft Azure OperationalInsights;OperationalInsights;
- rolled back tables api to API version 2020-08
+ Add cluster billingType and some minor fixes
$(SdkTargetFx)
diff --git a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Properties/AssemblyInfo.cs b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Properties/AssemblyInfo.cs
index f752ade31b311..86bab2d761b9c 100644
--- a/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Properties/AssemblyInfo.cs
+++ b/sdk/operationalinsights/Microsoft.Azure.Management.OperationalInsights/src/Properties/AssemblyInfo.cs
@@ -11,8 +11,8 @@
[assembly: AssemblyProduct("Azure .NET SDK")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCopyright("Copyright (c) Microsoft Corporation")]
-[assembly: AssemblyVersion("0.23.0.0")]
-[assembly: AssemblyFileVersion("0.23.0.0")]
+[assembly: AssemblyVersion("0.24.0.0")]
+[assembly: AssemblyFileVersion("0.24.0.0")]
[assembly: AssemblyTitle("Microsoft Azure OperationalInsights Management Library")]
[assembly: AssemblyDescription("Provides Microsoft Azure OperationalInsights management operations.")]
[assembly: AssemblyCulture("")]