Class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance
Compliance data for an OS policy resource.
Implements
Inherited Members
Namespace: Google.Apis.OSConfig.v1.Data
Assembly: Google.Apis.OSConfig.v1.dll
Syntax
public class OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceCompliance : IDirectResponseSchema
Properties
ComplianceState
The compliance state of the resource.
Declaration
[JsonProperty("complianceState")]
public virtual string ComplianceState { get; set; }
Property Value
Type | Description |
---|---|
string |
ComplianceStateReason
A reason for the resource to be in the given compliance state. This field is always populated when
compliance_state
is UNKNOWN
. The following values are supported when compliance_state == UNKNOWN
*
execution-errors
: Errors were encountered by the agent while executing the resource and the compliance
state couldn't be determined. * execution-skipped-by-agent
: Resource execution was skipped by the agent
because errors were encountered while executing prior resources in the OS policy. *
os-policy-execution-attempt-failed
: The execution of the OS policy containing this resource failed and the
compliance state couldn't be determined. * os-policy-execution-pending
: OS policy that owns this resource
was assigned to the given VM, but was not executed yet.
Declaration
[JsonProperty("complianceStateReason")]
public virtual string ComplianceStateReason { get; set; }
Property Value
Type | Description |
---|---|
string |
ConfigSteps
Ordered list of configuration completed by the agent for the OS policy resource.
Declaration
[JsonProperty("configSteps")]
public virtual IList<OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep> ConfigSteps { get; set; }
Property Value
Type | Description |
---|---|
IList<OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceOSPolicyResourceConfigStep> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ExecResourceOutput
ExecResource specific output.
Declaration
[JsonProperty("execResourceOutput")]
public virtual OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput ExecResourceOutput { get; set; }
Property Value
Type | Description |
---|---|
OSPolicyAssignmentReportOSPolicyComplianceOSPolicyResourceComplianceExecResourceOutput |
OsPolicyResourceId
The ID of the OS policy resource.
Declaration
[JsonProperty("osPolicyResourceId")]
public virtual string OsPolicyResourceId { get; set; }
Property Value
Type | Description |
---|---|
string |