ArmPolicyInsightsModelFactory.ComponentStateDetails Method

Definition

Initializes a new instance of ComponentStateDetails.

public static Azure.ResourceManager.PolicyInsights.Models.ComponentStateDetails ComponentStateDetails (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? timestamp = default, string complianceState = default, System.Collections.Generic.IReadOnlyDictionary<string,BinaryData> additionalProperties = default);
static member ComponentStateDetails : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * string * System.Collections.Generic.IReadOnlyDictionary<string, BinaryData> -> Azure.ResourceManager.PolicyInsights.Models.ComponentStateDetails
Public Shared Function ComponentStateDetails (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional complianceState As String = Nothing, Optional additionalProperties As IReadOnlyDictionary(Of String, BinaryData) = Nothing) As ComponentStateDetails

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

timestamp
Nullable<DateTimeOffset>

Component compliance evaluation timestamp.

complianceState
String

Component compliance state.

additionalProperties
IReadOnlyDictionary<String,BinaryData>

Additional Properties.

Returns

A new ComponentStateDetails instance for mocking.

Applies to