Class LogSource
The logs for this Logging source.
Inherited Members
Namespace: Oci.SchService.Models
Assembly: OCI.DotNetSDK.Sch.dll
Syntax
public class LogSource
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 containing the log source. |
Remarks
Required
LogGroupId
Declaration
[JsonProperty(PropertyName = "logGroupId")]
public string LogGroupId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the log group. Note: For the Notifications target, only _Audit is allowed. Example OCID for _Audit log group: ocid1.tenancy.oc1..exampleuniqueid/_Audit |
LogId
Declaration
[JsonProperty(PropertyName = "logId")]
public string LogId { get; set; }
Property Value
Type | Description |
---|---|
string | The OCID of the log. |