Skip to content

Commit

Permalink
AutoPr-SecurityCenter-t-nishab-REST Spec PrNumber 5354 (Azure#5404)
Browse files Browse the repository at this point in the history
* .NET SDK Resource Provider:'SecurityCenter'
REST Spec PR 'Azure/azure-rest-api-specs#5354'
REST Spec PR Author 't-nishab'
REST Spec PR Last commit

* .NET SDK Resource Provider:'SecurityCenter'
REST Spec PR 'Azure/azure-rest-api-specs#5354'
REST Spec PR Author 't-nishab'
REST Spec PR Last commit
  • Loading branch information
adxsdknet authored and chidozieononiwu committed Mar 26, 2019
1 parent c6d0d66 commit c389a9f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ public Alert()
/// <param name="instanceId">Instance ID of the alert.</param>
/// <param name="workspaceArmId">Azure resource ID of the workspace
/// that the alert was reported to.</param>
public Alert(string id = default(string), string name = default(string), string type = default(string), string state = default(string), System.DateTime? reportedTimeUtc = default(System.DateTime?), string vendorName = default(string), string alertName = default(string), string alertDisplayName = default(string), System.DateTime? detectedTimeUtc = default(System.DateTime?), string description = default(string), string remediationSteps = default(string), string actionTaken = default(string), string reportedSeverity = default(string), string compromisedEntity = default(string), string associatedResource = default(string), IDictionary<string, object> extendedProperties = default(IDictionary<string, object>), string systemSource = default(string), bool? canBeInvestigated = default(bool?), bool? isIncident = default(bool?), IList<AlertEntity> entities = default(IList<AlertEntity>), double? confidenceScore = default(double?), IList<AlertConfidenceReason> confidenceReasons = default(IList<AlertConfidenceReason>), string subscriptionId = default(string), string instanceId = default(string), string workspaceArmId = default(string))
/// <param name="correlationKey">Alerts with the same CorrelationKey
/// will be grouped together in Ibiza.</param>
public Alert(string id = default(string), string name = default(string), string type = default(string), string state = default(string), System.DateTime? reportedTimeUtc = default(System.DateTime?), string vendorName = default(string), string alertName = default(string), string alertDisplayName = default(string), System.DateTime? detectedTimeUtc = default(System.DateTime?), string description = default(string), string remediationSteps = default(string), string actionTaken = default(string), string reportedSeverity = default(string), string compromisedEntity = default(string), string associatedResource = default(string), IDictionary<string, object> extendedProperties = default(IDictionary<string, object>), string systemSource = default(string), bool? canBeInvestigated = default(bool?), bool? isIncident = default(bool?), IList<AlertEntity> entities = default(IList<AlertEntity>), double? confidenceScore = default(double?), IList<AlertConfidenceReason> confidenceReasons = default(IList<AlertConfidenceReason>), string subscriptionId = default(string), string instanceId = default(string), string workspaceArmId = default(string), string correlationKey = default(string))
: base(id, name, type)
{
State = state;
Expand All @@ -104,6 +106,7 @@ public Alert()
SubscriptionId = subscriptionId;
InstanceId = instanceId;
WorkspaceArmId = workspaceArmId;
CorrelationKey = correlationKey;
CustomInit();
}

Expand Down Expand Up @@ -251,6 +254,13 @@ public Alert()
[JsonProperty(PropertyName = "properties.workspaceArmId")]
public string WorkspaceArmId { get; private set; }

/// <summary>
/// Gets alerts with the same CorrelationKey will be grouped together
/// in Ibiza.
/// </summary>
[JsonProperty(PropertyName = "properties.correlationKey")]
public string CorrelationKey { get; private set; }

/// <summary>
/// Validate the object.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_SecurityCenter
}.AsEnumerable();
}
}
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/security/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=C:\\Gits\\github\\azure-sdk-for-net\\src\\SDKs";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "ab1285505bd5770e891498ec48890314bcb9b69e";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
}
}

0 comments on commit c389a9f

Please sign in to comment.