ArmAppComplianceAutomationModelFactory.ComplianceReportItem 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 ComplianceReportItem.
public static Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceReportItem ComplianceReportItem (string categoryName = default, string controlId = default, string controlName = default, Azure.ResourceManager.AppComplianceAutomation.Models.ControlType? controlType = default, Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState? complianceState = default, string policyId = default, string policyDisplayName = default, string policyDescription = default, string subscriptionId = default, string resourceGroup = default, string resourceType = default, string resourceId = default, string statusChangeDate = default);
static member ComplianceReportItem : string * string * string * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ControlType> * Nullable<Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceState> * string * string * string * string * string * string * string * string -> Azure.ResourceManager.AppComplianceAutomation.Models.ComplianceReportItem
Public Shared Function ComplianceReportItem (Optional categoryName As String = Nothing, Optional controlId As String = Nothing, Optional controlName As String = Nothing, Optional controlType As Nullable(Of ControlType) = Nothing, Optional complianceState As Nullable(Of ComplianceState) = Nothing, Optional policyId As String = Nothing, Optional policyDisplayName As String = Nothing, Optional policyDescription As String = Nothing, Optional subscriptionId As String = Nothing, Optional resourceGroup As String = Nothing, Optional resourceType As String = Nothing, Optional resourceId As String = Nothing, Optional statusChangeDate As String = Nothing) As ComplianceReportItem
Parameters
- categoryName
- String
The category name.
- controlId
- String
The control Id - e.g. "1".
- controlName
- String
The control name.
- controlType
- Nullable<ControlType>
The control type.
- complianceState
- Nullable<ComplianceState>
The compliance result's status.
- policyId
- String
The compliance result mapped policy Id.
- policyDisplayName
- String
The policy's display name.
- policyDescription
- String
The policy's detail description.
- subscriptionId
- String
The compliance result mapped subscription Id.
- resourceGroup
- String
The compliance result mapped resource group.
- resourceType
- String
The compliance result mapped resource type.
- resourceId
- String
The compliance result mapped resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1".
- statusChangeDate
- String
The compliance result last changed date - e.g. "2022-10-24T02:55:16.3274379Z". For unavailable date, set it as "N/A".
Returns
A new ComplianceReportItem instance for mocking.
Applies to
Azure SDK for .NET