Class ComplianceRecord
The compliance status reports.
Inherited Members
Namespace: Oci.FleetappsmanagementService.Models
Assembly: OCI.DotNetSDK.Fleetappsmanagement.dll
Syntax
public class ComplianceRecord
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment. |
ComplianceState
Declaration
[JsonProperty(PropertyName = "complianceState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ComplianceState? ComplianceState { get; set; }
Property Value
Type | Description |
---|---|
ComplianceState? | Last known compliance state of target. |
DefinedTags
Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}} |
EntityDisplayName
Declaration
[Required(ErrorMessage = "EntityDisplayName is required.")]
[JsonProperty(PropertyName = "entityDisplayName")]
public string EntityDisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The displayName of the entity for which the compliance is calculated.Ex.DisplayName for the Fleet |
Remarks
Required
EntityId
Declaration
[Required(ErrorMessage = "EntityId is required.")]
[JsonProperty(PropertyName = "entityId")]
public string EntityId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the entity for which the compliance is calculated.Ex.FleetId |
Remarks
Required
FreeformTags
Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the ComplianceRecord. |
Remarks
Required
LifecycleState
Declaration
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ComplianceRecord.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
ComplianceRecord.LifecycleStateEnum? | The current state of the ComplianceRecord. |
Patch
Declaration
[JsonProperty(PropertyName = "patch")]
public CompliancePatchDetail Patch { get; set; }
Property Value
Type | Description |
---|---|
CompliancePatchDetail |
Policy
Declaration
[JsonProperty(PropertyName = "policy")]
public ComplianceDetailPolicy Policy { get; set; }
Property Value
Type | Description |
---|---|
ComplianceDetailPolicy |
Resource
Declaration
[Required(ErrorMessage = "Resource is required.")]
[JsonProperty(PropertyName = "resource")]
public ComplianceDetailResource Resource { get; set; }
Property Value
Type | Description |
---|---|
ComplianceDetailResource |
Remarks
Required
SystemTags
Declaration
[JsonProperty(PropertyName = "systemTags")]
public Dictionary<string, Dictionary<string, object>> SystemTags { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, Dictionary<string, object>> | System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud": {"free-tier-retained": "true"}} |
Target
Declaration
[Required(ErrorMessage = "Target is required.")]
[JsonProperty(PropertyName = "target")]
public ComplianceDetailTarget Target { get; set; }
Property Value
Type | Description |
---|---|
ComplianceDetailTarget |
Remarks
Required
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the ComplianceRecord was created, in the format defined by RFC 3339.
|
TimeUpdated
Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The date and time the ComplianceRecord was updated, in the format defined by RFC 3339.
|