Class OciService
OCI service logging configuration.
Inherited Members
Namespace: Oci.LoggingService.Models
Assembly: OCI.DotNetSDK.Logging.dll
Syntax
public class OciService : Source
Properties
Category
Declaration
[Required(ErrorMessage = "Category is required.")]
[JsonProperty(PropertyName = "category")]
public string Category { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Log object category. |
Remarks
Required
Parameters
Declaration
[JsonProperty(PropertyName = "parameters")]
public Dictionary<string, string> Parameters { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> | Log category parameters are stored here. The resource for a service log can't be updated. |
Resource
Declaration
[Required(ErrorMessage = "Resource is required.")]
[JsonProperty(PropertyName = "resource")]
public string Resource { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The unique identifier of the resource emitting the log. The resource can be updated, and the resource value can vary depending on the OCI service to which the resource belongs to. |
Remarks
Required
Service
Declaration
[Required(ErrorMessage = "Service is required.")]
[JsonProperty(PropertyName = "service")]
public string Service { get; set; }
Property Value
| Type | Description |
|---|---|
| string | Service generating log. |
Remarks
Required