Show / Hide Table of Contents

Class CreateUnifiedAuditPolicyDetails

The details required to create a new unified audit policy.

Inheritance
object
CreateUnifiedAuditPolicyDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class CreateUnifiedAuditPolicyDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment in which to create the unified audit policy.

Remarks

Required

Conditions

Declaration
[Required(ErrorMessage = "Conditions is required.")]
[JsonProperty(PropertyName = "conditions")]
public List<PolicyCondition> Conditions { get; set; }
Property Value
Type Description
List<PolicyCondition>

Lists the audit policy provisioning conditions.

Remarks

Required

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. For more information, see Resource Tags Example: {"Operations": {"CostCenter": "42"}}

Description

Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
Type Description
string

The description of the unified audit policy in Data Safe.

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

The display name of the unified audit policy in Data Safe. The name is modifiable and does not need to be unique.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {"Department": "Finance"}

SecurityPolicyId

Declaration
[Required(ErrorMessage = "SecurityPolicyId is required.")]
[JsonProperty(PropertyName = "securityPolicyId")]
public string SecurityPolicyId { get; set; }
Property Value
Type Description
string

The OCID of the security policy corresponding to the unified audit policy.

Remarks

Required

Status

Declaration
[Required(ErrorMessage = "Status is required.")]
[JsonProperty(PropertyName = "status")]
[JsonConverter(typeof(StringEnumConverter))]
public UnifiedAuditPolicy.StatusEnum? Status { get; set; }
Property Value
Type Description
UnifiedAuditPolicy.StatusEnum?

Indicates whether the unified audit policy has been enabled or disabled.

Remarks

Required

UnifiedAuditPolicyDefinitionId

Declaration
[Required(ErrorMessage = "UnifiedAuditPolicyDefinitionId is required.")]
[JsonProperty(PropertyName = "unifiedAuditPolicyDefinitionId")]
public string UnifiedAuditPolicyDefinitionId { get; set; }
Property Value
Type Description
string

The OCID of the associated unified audit policy definition.

Remarks

Required

In this article
Back to top