Share via


ArmAppComplianceAutomationModelFactory.AppComplianceReportItem Method

Definition

Initializes a new instance of AppComplianceReportItem.

public static Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportItem AppComplianceReportItem (string categoryName = default, string controlFamilyName = default, string controlId = default, string controlName = default, Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceControlStatus? controlStatus = default, string responsibilityTitle = default, string responsibilityDescription = default, Azure.Core.ResourceIdentifier resourceId = default, Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceOrigin? resourceOrigin = default, Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceStatus? resourceStatus = default, DateTimeOffset? resourceStatusChangedOn = default);
static member AppComplianceReportItem : string * string * string * string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceControlStatus> * string * string * Azure.Core.ResourceIdentifier * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceOrigin> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ReportResourceStatus> * Nullable<DateTimeOffset> -> Azure.ResourceManager.AppComplianceAutomation.Models.AppComplianceReportItem
Public Shared Function AppComplianceReportItem (Optional categoryName As String = Nothing, Optional controlFamilyName As String = Nothing, Optional controlId As String = Nothing, Optional controlName As String = Nothing, Optional controlStatus As Nullable(Of AppComplianceControlStatus) = Nothing, Optional responsibilityTitle As String = Nothing, Optional responsibilityDescription As String = Nothing, Optional resourceId As ResourceIdentifier = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional resourceOrigin As Nullable(Of ReportResourceOrigin) = Nothing, Optional resourceStatus As Nullable(Of ReportResourceStatus) = Nothing, Optional resourceStatusChangedOn As Nullable(Of DateTimeOffset) = Nothing) As AppComplianceReportItem

Parameters

categoryName
String

The category name.

controlFamilyName
String

The control family name.

controlId
String

The control Id - e.g. "1".

controlName
String

The control name.

controlStatus
Nullable<AppComplianceControlStatus>

Control status.

responsibilityTitle
String

The title of the customer responsibility.

responsibilityDescription
String

The description of the customer responsibility.

resourceId
ResourceIdentifier

The Id of the resource.

resourceType
Nullable<ResourceType>

The type of the resource. e.g. "Microsoft.SignalRService/SignalR".

resourceOrigin
Nullable<ReportResourceOrigin>

Resource origin.

resourceStatus
Nullable<ReportResourceStatus>

Resource status.

resourceStatusChangedOn
Nullable<DateTimeOffset>

The status change date for the resource.

Returns

A new AppComplianceReportItem instance for mocking.

Applies to