Show / Hide Table of Contents

Class ValidateFileRequest

Inheritance
object
ValidateFileRequest
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.LoganalyticsService.Requests
Assembly: OCI.DotNetSDK.Loganalytics.dll
Syntax
public class ValidateFileRequest : IOciRequest
Examples

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

Properties

Filename

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

The name of the file being uploaded. The extension of the filename part will be used to detect the type of file (like zip, tar).

Remarks

Required

NamespaceName

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

The Logging Analytics namespace used for the request.

Remarks

Required

ObjectLocation

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

Location of the log file.

Remarks

Required

OpcRequestId

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

The client request ID for tracing.

Implements

IOciRequest
In this article
Back to top