ArmSecurityCenterModelFactory.SecurityComplianceData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SecurityComplianceData.
public static Azure.ResourceManager.SecurityCenter.SecurityComplianceData SecurityComplianceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? assessedOn = default, int? resourceCount = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.SecurityCenter.Models.ComplianceSegment> assessmentResult = default);
static member SecurityComplianceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * Nullable<int> * seq<Azure.ResourceManager.SecurityCenter.Models.ComplianceSegment> -> Azure.ResourceManager.SecurityCenter.SecurityComplianceData
Public Shared Function SecurityComplianceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional assessedOn As Nullable(Of DateTimeOffset) = Nothing, Optional resourceCount As Nullable(Of Integer) = Nothing, Optional assessmentResult As IEnumerable(Of ComplianceSegment) = Nothing) As SecurityComplianceData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- assessedOn
- Nullable<DateTimeOffset>
The timestamp when the Compliance calculation was conducted.
The resource count of the given subscription for which the Compliance calculation was conducted (needed for Management Group Compliance calculation).
- assessmentResult
- IEnumerable<ComplianceSegment>
An array of segment, which is the actually the compliance assessment.
Returns
A new SecurityComplianceData instance for mocking.