Partager via


Compliance Constructors

Definition

Overloads

Compliance()

Initializes a new instance of the Compliance class.

Compliance(String, String, String, Nullable<DateTime>, Nullable<Int32>, IList<ComplianceSegment>)

Initializes a new instance of the Compliance class.

Compliance()

Initializes a new instance of the Compliance class.

public Compliance ();
Public Sub New ()

Applies to

Compliance(String, String, String, Nullable<DateTime>, Nullable<Int32>, IList<ComplianceSegment>)

Initializes a new instance of the Compliance class.

public Compliance (string id = default, string name = default, string type = default, DateTime? assessmentTimestampUtcDate = default, int? resourceCount = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.ComplianceSegment> assessmentResult = default);
new Microsoft.Azure.Management.Security.Models.Compliance : string * string * string * Nullable<DateTime> * Nullable<int> * System.Collections.Generic.IList<Microsoft.Azure.Management.Security.Models.ComplianceSegment> -> Microsoft.Azure.Management.Security.Models.Compliance
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional assessmentTimestampUtcDate As Nullable(Of DateTime) = Nothing, Optional resourceCount As Nullable(Of Integer) = Nothing, Optional assessmentResult As IList(Of ComplianceSegment) = Nothing)

Parameters

id
String

Resource Id

name
String

Resource name

type
String

Resource type

assessmentTimestampUtcDate
Nullable<DateTime>

The timestamp when the Compliance calculation was conducted.

resourceCount
Nullable<Int32>

The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).

assessmentResult
IList<ComplianceSegment>

An array of segment, which is the actually the compliance assessment.

Applies to