Share via


ArmAppComplianceAutomationModelFactory.ReportFixResult Method

Definition

Initializes a new instance of ReportFixResult.

public static Azure.ResourceManager.AppComplianceAutomation.Models.ReportFixResult ReportFixResult (Azure.ResourceManager.AppComplianceAutomation.Models.ReportResult? result = default, string reason = default);
static member ReportFixResult : Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ReportResult> * string -> Azure.ResourceManager.AppComplianceAutomation.Models.ReportFixResult
Public Shared Function ReportFixResult (Optional result As Nullable(Of ReportResult) = Nothing, Optional reason As String = Nothing) As ReportFixResult

Parameters

result
Nullable<ReportResult>

Indicates whether the fix action is Succeeded or Failed.

reason
String

If the report fix action failed, to indicate the detailed failed reason.

Returns

A new ReportFixResult instance for mocking.

Applies to