Show / Hide Table of Contents

Class OciService

OCI service logging configuration.

Inheritance
object
Source
OciService
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

In this article
Back to top