Show / Hide Table of Contents

Class CreateAuditProfileDetails

The details used to create a new audit profile.

Inheritance
object
CreateAuditProfileDetails
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 CreateAuditProfileDetails

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 where you want to create the audit profile.

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 audit profile.

DisplayName

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

The display name of the audit profile. The name does not have to be unique, and it's updatable.

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"}

IsOverrideGlobalPaidUsage

Declaration
[JsonProperty(PropertyName = "isOverrideGlobalPaidUsage")]
public bool? IsOverrideGlobalPaidUsage { get; set; }
Property Value
Type Description
bool?

Indicates whether audit paid usage settings specified at the target database level override both the global and the target database group level paid usage settings. Enabling paid usage continues the collection of audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. For more information, see Data Safe Price List.

IsPaidUsageEnabled

Declaration
[JsonProperty(PropertyName = "isPaidUsageEnabled")]
public bool? IsPaidUsageEnabled { get; set; }
Property Value
Type Description
bool?

Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level.

OfflineMonths

Declaration
[JsonProperty(PropertyName = "offlineMonths")]
public int? OfflineMonths { get; set; }
Property Value
Type Description
int?

Number of months the audit records will be stored offline in the offline archive. Minimum: 0; Maximum: 72 months. If you have a requirement to store the audit data even longer in the offline archive, please contact the Oracle Support.

OnlineMonths

Declaration
[JsonProperty(PropertyName = "onlineMonths")]
public int? OnlineMonths { get; set; }
Property Value
Type Description
int?

Number of months the audit records will be stored online in the audit repository for immediate reporting and analysis. Minimum: 1; Maximum: 12 months

TargetId

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

The OCID of the target database or target database group for which the audit profile is created.

Remarks

Required

TargetType

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

The resource type that is represented by the audit profile.

Remarks

Required

In this article
Back to top