-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
CustomAssessmentAutomationData.cs
60 lines (54 loc) · 3.72 KB
/
CustomAssessmentAutomationData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.SecurityCenter.Models;
namespace Azure.ResourceManager.SecurityCenter
{
/// <summary> A class representing the CustomAssessmentAutomation data model. </summary>
public partial class CustomAssessmentAutomationData : ResourceData
{
/// <summary> Initializes a new instance of CustomAssessmentAutomationData. </summary>
public CustomAssessmentAutomationData()
{
}
/// <summary> Initializes a new instance of CustomAssessmentAutomationData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="compressedQuery"> GZip encoded KQL query representing the assessment automation results required. </param>
/// <param name="supportedCloud"> Relevant cloud for the custom assessment automation. </param>
/// <param name="severity"> The severity to relate to the assessments generated by this assessment automation. </param>
/// <param name="displayName"> The display name of the assessments generated by this assessment automation. </param>
/// <param name="description"> The description to relate to the assessments generated by this assessment automation. </param>
/// <param name="remediationDescription"> The remediation description to relate to the assessments generated by this assessment automation. </param>
/// <param name="assessmentKey"> The assessment metadata key used when an assessment is generated for this assessment automation. </param>
internal CustomAssessmentAutomationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string compressedQuery, CustomAssessmentAutomationSupportedCloud? supportedCloud, CustomAssessmentSeverity? severity, string displayName, string description, string remediationDescription, string assessmentKey) : base(id, name, resourceType, systemData)
{
CompressedQuery = compressedQuery;
SupportedCloud = supportedCloud;
Severity = severity;
DisplayName = displayName;
Description = description;
RemediationDescription = remediationDescription;
AssessmentKey = assessmentKey;
}
/// <summary> GZip encoded KQL query representing the assessment automation results required. </summary>
public string CompressedQuery { get; set; }
/// <summary> Relevant cloud for the custom assessment automation. </summary>
public CustomAssessmentAutomationSupportedCloud? SupportedCloud { get; set; }
/// <summary> The severity to relate to the assessments generated by this assessment automation. </summary>
public CustomAssessmentSeverity? Severity { get; set; }
/// <summary> The display name of the assessments generated by this assessment automation. </summary>
public string DisplayName { get; set; }
/// <summary> The description to relate to the assessments generated by this assessment automation. </summary>
public string Description { get; set; }
/// <summary> The remediation description to relate to the assessments generated by this assessment automation. </summary>
public string RemediationDescription { get; set; }
/// <summary> The assessment metadata key used when an assessment is generated for this assessment automation. </summary>
public string AssessmentKey { get; set; }
}
}