public sealed class OrgPolicyViolationsPreview.Types.ResourceCounts : IMessage<OrgPolicyViolationsPreview.Types.ResourceCounts>, IEquatable<OrgPolicyViolationsPreview.Types.ResourceCounts>, IDeepCloneable<OrgPolicyViolationsPreview.Types.ResourceCounts>, IBufferMessage, IMessage
Reference documentation and code samples for the Policy Simulator v1 API class OrgPolicyViolationsPreview.Types.ResourceCounts.
A summary of the state of all resources scanned for compliance with the changed OrgPolicy.
Implements
IMessageOrgPolicyViolationsPreviewTypesResourceCounts, IEquatableOrgPolicyViolationsPreviewTypesResourceCounts, IDeepCloneableOrgPolicyViolationsPreviewTypesResourceCounts, IBufferMessage, IMessageNamespace
Google.Cloud.PolicySimulator.V1Assembly
Google.Cloud.PolicySimulator.V1.dll
Constructors
ResourceCounts()
public ResourceCounts()
ResourceCounts(ResourceCounts)
public ResourceCounts(OrgPolicyViolationsPreview.Types.ResourceCounts other)
Parameter | |
---|---|
Name | Description |
other |
OrgPolicyViolationsPreviewTypesResourceCounts |
Properties
Compliant
public int Compliant { get; set; }
Output only. Number of scanned resources with zero violations.
Property Value | |
---|---|
Type | Description |
int |
Errors
public int Errors { get; set; }
Output only. Number of resources that returned an error when scanned.
Property Value | |
---|---|
Type | Description |
int |
Noncompliant
public int Noncompliant { get; set; }
Output only. Number of scanned resources with at least one violation.
Property Value | |
---|---|
Type | Description |
int |
Scanned
public int Scanned { get; set; }
Output only. Number of resources checked for compliance.
Must equal: unenforced + noncompliant + compliant + error
Property Value | |
---|---|
Type | Description |
int |
Unenforced
public int Unenforced { get; set; }
Output only. Number of resources where the constraint was not enforced,
i.e. the Policy set enforced: false
for that resource.
Property Value | |
---|---|
Type | Description |
int |