Class ComplianceReportItem
java.lang.Object
com.azure.resourcemanager.appcomplianceautomation.models.ComplianceReportItem
Object that includes all the content for single compliance result.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the categoryName property: The category name.Get the complianceState property: The compliance result's status.Get the controlId property: The control Id - e.g.Get the controlName property: The control name.Get the controlType property: The control type.Get the policyDescription property: The policy's detail description.Get the policyDisplayName property: The policy's display name.policyId()
Get the policyId property: The compliance result mapped policy Id.Get the resourceGroup property: The compliance result mapped resource group.Get the resourceId property: The compliance result mapped resource Id - e.g.Get the resourceType property: The compliance result mapped resource type.Get the statusChangeDate property: The compliance result last changed date - e.g.Get the subscriptionId property: The compliance result mapped subscription Id.void
validate()
Validates the instance.
-
Constructor Details
-
ComplianceReportItem
public ComplianceReportItem()Creates an instance of ComplianceReportItem class.
-
-
Method Details
-
categoryName
Get the categoryName property: The category name.- Returns:
- the categoryName value.
-
controlId
Get the controlId property: The control Id - e.g. "1".- Returns:
- the controlId value.
-
controlName
Get the controlName property: The control name.- Returns:
- the controlName value.
-
controlType
Get the controlType property: The control type.- Returns:
- the controlType value.
-
complianceState
Get the complianceState property: The compliance result's status.- Returns:
- the complianceState value.
-
policyId
Get the policyId property: The compliance result mapped policy Id.- Returns:
- the policyId value.
-
policyDisplayName
Get the policyDisplayName property: The policy's display name.- Returns:
- the policyDisplayName value.
-
policyDescription
Get the policyDescription property: The policy's detail description.- Returns:
- the policyDescription value.
-
subscriptionId
Get the subscriptionId property: The compliance result mapped subscription Id.- Returns:
- the subscriptionId value.
-
resourceGroup
Get the resourceGroup property: The compliance result mapped resource group.- Returns:
- the resourceGroup value.
-
resourceType
Get the resourceType property: The compliance result mapped resource type.- Returns:
- the resourceType value.
-
resourceId
Get the resourceId property: The compliance result mapped resource Id - e.g. "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute" + "/virtualMachines/vm1".- Returns:
- the resourceId value.
-
statusChangeDate
Get the statusChangeDate property: The compliance result last changed date - e.g. "2022-10-24T02:55:16.3274379Z". For unavailable date, set it as "N/A".- Returns:
- the statusChangeDate value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-