-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SynapseVulnerabilityAssessmentScanRecordData.cs
70 lines (64 loc) · 3.48 KB
/
SynapseVulnerabilityAssessmentScanRecordData.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
61
62
63
64
65
66
67
68
69
70
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
using Azure.ResourceManager.Synapse.Models;
namespace Azure.ResourceManager.Synapse
{
/// <summary>
/// A class representing the SynapseVulnerabilityAssessmentScanRecord data model.
/// A vulnerability assessment scan record.
/// </summary>
public partial class SynapseVulnerabilityAssessmentScanRecordData : ResourceData
{
/// <summary> Initializes a new instance of SynapseVulnerabilityAssessmentScanRecordData. </summary>
public SynapseVulnerabilityAssessmentScanRecordData()
{
Errors = new ChangeTrackingList<SynapseVulnerabilityAssessmentScanError>();
}
/// <summary> Initializes a new instance of SynapseVulnerabilityAssessmentScanRecordData. </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="scanId"> The scan ID. </param>
/// <param name="triggerType"> The scan trigger type. </param>
/// <param name="state"> The scan status. </param>
/// <param name="startOn"> The scan start time (UTC). </param>
/// <param name="endOn"> The scan end time (UTC). </param>
/// <param name="errors"> The scan errors. </param>
/// <param name="storageContainerPath"> The scan results storage container path. </param>
/// <param name="numberOfFailedSecurityChecks"> The number of failed security checks. </param>
internal SynapseVulnerabilityAssessmentScanRecordData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string scanId, SynapseVulnerabilityAssessmentScanTriggerType? triggerType, SynapseVulnerabilityAssessmentScanState? state, DateTimeOffset? startOn, DateTimeOffset? endOn, IReadOnlyList<SynapseVulnerabilityAssessmentScanError> errors, string storageContainerPath, int? numberOfFailedSecurityChecks) : base(id, name, resourceType, systemData)
{
ScanId = scanId;
TriggerType = triggerType;
State = state;
StartOn = startOn;
EndOn = endOn;
Errors = errors;
StorageContainerPath = storageContainerPath;
NumberOfFailedSecurityChecks = numberOfFailedSecurityChecks;
}
/// <summary> The scan ID. </summary>
public string ScanId { get; }
/// <summary> The scan trigger type. </summary>
public SynapseVulnerabilityAssessmentScanTriggerType? TriggerType { get; }
/// <summary> The scan status. </summary>
public SynapseVulnerabilityAssessmentScanState? State { get; }
/// <summary> The scan start time (UTC). </summary>
public DateTimeOffset? StartOn { get; }
/// <summary> The scan end time (UTC). </summary>
public DateTimeOffset? EndOn { get; }
/// <summary> The scan errors. </summary>
public IReadOnlyList<SynapseVulnerabilityAssessmentScanError> Errors { get; }
/// <summary> The scan results storage container path. </summary>
public string StorageContainerPath { get; }
/// <summary> The number of failed security checks. </summary>
public int? NumberOfFailedSecurityChecks { get; }
}
}