Show / Hide Table of Contents

Class ValidateSourceMappingRequest

Inheritance
object
ValidateSourceMappingRequest
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 ValidateSourceMappingRequest : IOciRequest
Examples

Click here to see an example of how to use ValidateSourceMapping 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

LogSourceName

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

Name of the log source that will be used to process the files being uploaded.

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