diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/ISecurityInsightsClient.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/ISecurityInsightsClient.cs
index 5b212079b628..6ea69098d011 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/ISecurityInsightsClient.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/ISecurityInsightsClient.cs
@@ -42,14 +42,14 @@ public partial interface ISecurityInsightsClient : System.IDisposable
ServiceClientCredentials Credentials { get; }
///
- /// API version for the operation
+ /// Azure subscription ID
///
- string ApiVersion { get; }
+ string SubscriptionId { get; set; }
///
- /// Azure subscription ID
+ /// API version for the operation
///
- string SubscriptionId { get; set; }
+ string ApiVersion { get; }
///
/// The preferred language for the response.
@@ -70,11 +70,6 @@ public partial interface ISecurityInsightsClient : System.IDisposable
bool? GenerateClientRequestId { get; set; }
- ///
- /// Gets the IOperations.
- ///
- IOperations Operations { get; }
-
///
/// Gets the IAlertRulesOperations.
///
@@ -100,6 +95,11 @@ public partial interface ISecurityInsightsClient : System.IDisposable
///
IDataConnectorsOperations DataConnectors { get; }
+ ///
+ /// Gets the IOperations.
+ ///
+ IOperations Operations { get; }
+
///
/// Gets the IIncidentsOperations.
///
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Operation.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Operation.cs
index c5d3af3929eb..31a710209196 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Operation.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/Models/Operation.cs
@@ -31,10 +31,12 @@ public Operation()
///
/// Properties of the operation
/// Name of the operation
- public Operation(OperationDisplay display = default(OperationDisplay), string name = default(string))
+ /// The origin of the operation
+ public Operation(OperationDisplay display = default(OperationDisplay), string name = default(string), string origin = default(string))
{
Display = display;
Name = name;
+ Origin = origin;
CustomInit();
}
@@ -55,5 +57,11 @@ public Operation()
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
+ ///
+ /// Gets or sets the origin of the operation
+ ///
+ [JsonProperty(PropertyName = "origin")]
+ public string Origin { get; set; }
+
}
}
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
index 6a833696e11f..64ffa0f18fb7 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SdkInfo_SecurityInsights.cs
@@ -30,16 +30,5 @@ public static IEnumerable> ApiInfo_SecurityInsight
}.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/securityinsights/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=E:\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "fb680afc380cccb44a59ed277232ad4224ac809b";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-
diff --git a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsightsClient.cs b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsightsClient.cs
index 1b02da754ef2..19d94f635b46 100644
--- a/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsightsClient.cs
+++ b/sdk/securityinsights/Microsoft.Azure.Management.SecurityInsights/src/Generated/SecurityInsightsClient.cs
@@ -48,14 +48,14 @@ public partial class SecurityInsightsClient : ServiceClient
- /// API version for the operation
+ /// Azure subscription ID
///
- public string ApiVersion { get; private set; }
+ public string SubscriptionId { get; set; }
///
- /// Azure subscription ID
+ /// API version for the operation
///
- public string SubscriptionId { get; set; }
+ public string ApiVersion { get; private set; }
///
/// The preferred language for the response.
@@ -75,11 +75,6 @@ public partial class SecurityInsightsClient : ServiceClient
public bool? GenerateClientRequestId { get; set; }
- ///
- /// Gets the IOperations.
- ///
- public virtual IOperations Operations { get; private set; }
-
///
/// Gets the IAlertRulesOperations.
///
@@ -105,6 +100,11 @@ public partial class SecurityInsightsClient : ServiceClient
public virtual IDataConnectorsOperations DataConnectors { get; private set; }
+ ///
+ /// Gets the IOperations.
+ ///
+ public virtual IOperations Operations { get; private set; }
+
///
/// Gets the IIncidentsOperations.
///
@@ -356,12 +356,12 @@ public SecurityInsightsClient(System.Uri baseUri, ServiceClientCredentials crede
///
private void Initialize()
{
- Operations = new Operations(this);
AlertRules = new AlertRulesOperations(this);
Actions = new ActionsOperations(this);
AlertRuleTemplates = new AlertRuleTemplatesOperations(this);
Bookmarks = new BookmarksOperations(this);
DataConnectors = new DataConnectorsOperations(this);
+ Operations = new Operations(this);
Incidents = new IncidentsOperations(this);
IncidentComments = new IncidentCommentsOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
@@ -399,10 +399,10 @@ private void Initialize()
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("kind"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("kind"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("kind"));
- SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("kind"));
- DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("kind"));
SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("kind"));
DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("kind"));
+ SerializationSettings.Converters.Add(new PolymorphicSerializeJsonConverter("kind"));
+ DeserializationSettings.Converters.Add(new PolymorphicDeserializeJsonConverter("kind"));
CustomInitialize();
DeserializationSettings.Converters.Add(new TransformationJsonConverter());
DeserializationSettings.Converters.Add(new CloudErrorJsonConverter());