Show / Hide Table of Contents

Class RetrieveLogsRequest

Inheritance
object
RetrieveLogsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ContainerinstancesService.Requests
Assembly: OCI.DotNetSDK.Containerinstances.dll
Syntax
public class RetrieveLogsRequest : IOciRequest
Examples

Click here to see an example of how to use RetrieveLogs request.

Properties

ContainerId

Declaration
[Required(ErrorMessage = "ContainerId is required.")]
[HttpConverter(TargetEnum.Path, "containerId")]
public string ContainerId { get; set; }
Property Value
Type Description
string

The OCID of the container.

Remarks

Required

IsPrevious

Declaration
[HttpConverter(TargetEnum.Query, "isPrevious")]
public bool? IsPrevious { get; set; }
Property Value
Type Description
bool?

Returns the logs for the previous run of the container in a pod. If the container fails, this parameter can help you to determine the root cause of the failure.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

Implements

IOciRequest
In this article
Back to top