ArmSecurityCenterModelFactory.ComplianceSegment Method

Definition

Initializes a new instance of ComplianceSegment.

public static Azure.ResourceManager.SecurityCenter.Models.ComplianceSegment ComplianceSegment (string segmentType = default, double? percentage = default);
static member ComplianceSegment : string * Nullable<double> -> Azure.ResourceManager.SecurityCenter.Models.ComplianceSegment
Public Shared Function ComplianceSegment (Optional segmentType As String = Nothing, Optional percentage As Nullable(Of Double) = Nothing) As ComplianceSegment

Parameters

segmentType
String

The segment type, e.g. compliant, non-compliance, insufficient coverage, N/A, etc.

percentage
Nullable<Double>

The size (%) of the segment.

Returns

A new ComplianceSegment instance for mocking.

Applies to