diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRule.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRule.cs
index 2f80a2a756d8..66598dd90292 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRule.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRule.cs
@@ -10,13 +10,11 @@
namespace Microsoft.Azure.Management.SecurityInsights.Models
{
- using Newtonsoft.Json;
using System.Linq;
///
/// Alert rule.
///
- [Newtonsoft.Json.JsonObject("AlertRule")]
public partial class AlertRule : ResourceWithEtag
{
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRuleTemplate.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRuleTemplate.cs
index d17dfede4ed1..5fd7734c55bc 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRuleTemplate.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/AlertRuleTemplate.cs
@@ -10,13 +10,11 @@
namespace Microsoft.Azure.Management.SecurityInsights.Models
{
- using Newtonsoft.Json;
using System.Linq;
///
/// Alert rule template.
///
- [Newtonsoft.Json.JsonObject("AlertRuleTemplate")]
public partial class AlertRuleTemplate : Resource
{
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DataConnector.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DataConnector.cs
index 374f876b556c..41ea4bba92e3 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DataConnector.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/DataConnector.cs
@@ -10,13 +10,11 @@
namespace Microsoft.Azure.Management.SecurityInsights.Models
{
- using Newtonsoft.Json;
using System.Linq;
///
/// Data connector.
///
- [Newtonsoft.Json.JsonObject("DataConnector")]
public partial class DataConnector : ResourceWithEtag
{
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ErrorResponse.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ErrorResponse.cs
index d0db8e86d96a..a60cf8324174 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ErrorResponse.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ErrorResponse.cs
@@ -16,8 +16,13 @@ namespace Microsoft.Azure.Management.SecurityInsights.Models
using System.Linq;
///
- /// The resource management error response.
+ /// Error Response
///
+ ///
+ /// Common error response for all Azure Resource Manager APIs to return
+ /// error details for failed operations. (This also follows the OData error
+ /// response format.)
+ ///
public partial class ErrorResponse
{
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypes.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypes.cs
index bef6879e2668..278bc09539aa 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypes.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypes.cs
@@ -33,10 +33,12 @@ public OfficeDataConnectorDataTypes()
///
/// Exchange data type connection.
/// SharePoint data type connection.
- public OfficeDataConnectorDataTypes(OfficeDataConnectorDataTypesExchange exchange = default(OfficeDataConnectorDataTypesExchange), OfficeDataConnectorDataTypesSharePoint sharePoint = default(OfficeDataConnectorDataTypesSharePoint))
+ /// Teams data type connection.
+ public OfficeDataConnectorDataTypes(OfficeDataConnectorDataTypesExchange exchange = default(OfficeDataConnectorDataTypesExchange), OfficeDataConnectorDataTypesSharePoint sharePoint = default(OfficeDataConnectorDataTypesSharePoint), OfficeDataConnectorDataTypesTeams teams = default(OfficeDataConnectorDataTypesTeams))
{
Exchange = exchange;
SharePoint = sharePoint;
+ Teams = teams;
CustomInit();
}
@@ -57,5 +59,11 @@ public OfficeDataConnectorDataTypes()
[JsonProperty(PropertyName = "sharePoint")]
public OfficeDataConnectorDataTypesSharePoint SharePoint { get; set; }
+ ///
+ /// Gets or sets teams data type connection.
+ ///
+ [JsonProperty(PropertyName = "teams")]
+ public OfficeDataConnectorDataTypesTeams Teams { get; set; }
+
}
}
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypesTeams.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypesTeams.cs
new file mode 100644
index 000000000000..583503a8e8e4
--- /dev/null
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/OfficeDataConnectorDataTypesTeams.cs
@@ -0,0 +1,48 @@
+//
+// 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.SecurityInsights.Models
+{
+ using System.Linq;
+
+ ///
+ /// Teams data type connection.
+ ///
+ public partial class OfficeDataConnectorDataTypesTeams : DataConnectorDataTypeCommon
+ {
+ ///
+ /// Initializes a new instance of the OfficeDataConnectorDataTypesTeams
+ /// class.
+ ///
+ public OfficeDataConnectorDataTypesTeams()
+ {
+ CustomInit();
+ }
+
+ ///
+ /// Initializes a new instance of the OfficeDataConnectorDataTypesTeams
+ /// class.
+ ///
+ /// Describe whether this data type connection is
+ /// enabled or not. Possible values include: 'Enabled',
+ /// 'Disabled'
+ public OfficeDataConnectorDataTypesTeams(string state = default(string))
+ : base(state)
+ {
+ CustomInit();
+ }
+
+ ///
+ /// An initialization method that performs custom operations like setting defaults
+ ///
+ partial void CustomInit();
+
+ }
+}
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Settings.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Settings.cs
index 4809548a8f3f..8c278ec9b2f5 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Settings.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Settings.cs
@@ -10,13 +10,11 @@
namespace Microsoft.Azure.Management.SecurityInsights.Models
{
- using Newtonsoft.Json;
using System.Linq;
///
/// The Settings.
///
- [Newtonsoft.Json.JsonObject("Settings")]
public partial class Settings : ResourceWithEtag
{
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ToggleSettings.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ToggleSettings.cs
index 4a837739a0a7..076630967b68 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ToggleSettings.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/ToggleSettings.cs
@@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.SecurityInsights.Models
///
/// Settings with single toggle.
///
- [Newtonsoft.Json.JsonObject("ToggleSettings")]
[Rest.Serialization.JsonTransformation]
public partial class ToggleSettings : Settings
{
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/UebaSettings.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/UebaSettings.cs
index be44093fb468..840992edae71 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/UebaSettings.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/UebaSettings.cs
@@ -18,7 +18,6 @@ namespace Microsoft.Azure.Management.SecurityInsights.Models
///
/// Represents settings for User and Entity Behavior Analytics enablement.
///
- [Newtonsoft.Json.JsonObject("UebaSettings")]
[Rest.Serialization.JsonTransformation]
public partial class UebaSettings : Settings
{
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
new file mode 100644
index 000000000000..64ffa0f18fb7
--- /dev/null
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
@@ -0,0 +1,34 @@
+
+//
+// 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.SecurityInsights
+{
+ using System;
+ using System.Collections.Generic;
+ using System.Linq;
+
+ internal static partial class SdkInfo
+ {
+ public static IEnumerable> ApiInfo_SecurityInsights
+ {
+ get
+ {
+ return new Tuple[]
+ {
+ new Tuple("OperationalInsights", "Actions", "2020-01-01"),
+ new Tuple("OperationalInsights", "AlertRuleTemplates", "2020-01-01"),
+ new Tuple("OperationalInsights", "AlertRules", "2020-01-01"),
+ new Tuple("OperationalInsights", "Bookmarks", "2020-01-01"),
+ new Tuple("OperationalInsights", "DataConnectors", "2020-01-01"),
+ new Tuple("OperationalInsights", "IncidentComments", "2020-01-01"),
+ new Tuple("OperationalInsights", "Incidents", "2020-01-01"),
+ new Tuple("SecurityInsights", "Operations", "2020-01-01"),
+ }.AsEnumerable();
+ }
+ }
+ }
+}