Class LogSummary
Log object configuration summary.
Inherited Members
Namespace: Oci.LoggingService.Models
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class LogSummary
Properties
CompartmentId
Declaration
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the compartment that the resource belongs to. |
Configuration
Declaration
[JsonProperty(PropertyName = "configuration")]
public Configuration Configuration { get; set; }
Property Value
Type | Description |
---|---|
Configuration |
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.
|
DisplayName
Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string | The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information. |
Remarks
Required
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"} |
Id
Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the resource. |
Remarks
Required
IsEnabled
Declaration
[JsonProperty(PropertyName = "isEnabled")]
public bool? IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool? | Whether or not this resource is currently enabled. |
LifecycleState
Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LogLifecycleState? LifecycleState { get; set; }
Property Value
Type | Description |
---|---|
LogLifecycleState? | The pipeline state. |
Remarks
Required
LogGroupId
Declaration
[Required(ErrorMessage = "LogGroupId is required.")]
[JsonProperty(PropertyName = "logGroupId")]
public string LogGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | Log group OCID. |
Remarks
Required
LogType
Declaration
[Required(ErrorMessage = "LogType is required.")]
[JsonProperty(PropertyName = "logType")]
[JsonConverter(typeof(ResponseEnumConverter))]
public LogSummary.LogTypeEnum? LogType { get; set; }
Property Value
Type | Description |
---|---|
LogSummary.LogTypeEnum? | The logType that the log object is for, whether custom or service. |
Remarks
Required
RetentionDuration
Declaration
[JsonProperty(PropertyName = "retentionDuration")]
public int? RetentionDuration { get; set; }
Property Value
Type | Description |
---|---|
int? | Log retention duration in 30-day increments (30, 60, 90 and so on until 180). |
TimeCreated
Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the resource was created. |
TimeLastModified
Declaration
[JsonProperty(PropertyName = "timeLastModified")]
public DateTime? TimeLastModified { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | Time the resource was last modified. |