-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ComplianceSegment.cs
32 lines (27 loc) · 1.16 KB
/
ComplianceSegment.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.SecurityCenter.Models
{
/// <summary> A segment of a compliance assessment. </summary>
public partial class ComplianceSegment
{
/// <summary> Initializes a new instance of ComplianceSegment. </summary>
internal ComplianceSegment()
{
}
/// <summary> Initializes a new instance of ComplianceSegment. </summary>
/// <param name="segmentType"> The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc. </param>
/// <param name="percentage"> The size (%) of the segment. </param>
internal ComplianceSegment(string segmentType, double? percentage)
{
SegmentType = segmentType;
Percentage = percentage;
}
/// <summary> The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc. </summary>
public string SegmentType { get; }
/// <summary> The size (%) of the segment. </summary>
public double? Percentage { get; }
}
}