ArmAppComplianceAutomationModelFactory.AssessmentResourceContent Method

Definition

Initializes a new instance of AssessmentResourceContent.

public static Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentResourceContent AssessmentResourceContent (string resourceId = default, Azure.ResourceManager.AppComplianceAutomation.Models.ResourceStatus? resourceStatus = default, string reason = default, string statusChangeDate = default);
static member AssessmentResourceContent : string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ResourceStatus> * string * string -> Azure.ResourceManager.AppComplianceAutomation.Models.AssessmentResourceContent
Public Shared Function AssessmentResourceContent (Optional resourceId As String = Nothing, Optional resourceStatus As Nullable(Of ResourceStatus) = Nothing, Optional reason As String = Nothing, Optional statusChangeDate As String = Nothing) As AssessmentResourceContent

Parameters

resourceId
String

The Id of the resource.

resourceStatus
Nullable<ResourceStatus>

Resource status.

reason
String

The reason for the N/A resource.

statusChangeDate
String

The status change date for the resource. For unavailable date, set it as N/A.

Returns

A new AssessmentResourceContent instance for mocking.

Applies to