AIVisionFaceModelFactory.AuditRequestInfo Method

Definition

Initializes a new instance of AuditRequestInfo.

public static Azure.AI.Vision.Face.AuditRequestInfo AuditRequestInfo (string url = default, string method = default, long? contentLength = default, string contentType = default, string userAgent = default);
static member AuditRequestInfo : string * string * Nullable<int64> * string * string -> Azure.AI.Vision.Face.AuditRequestInfo
Public Shared Function AuditRequestInfo (Optional url As String = Nothing, Optional method As String = Nothing, Optional contentLength As Nullable(Of Long) = Nothing, Optional contentType As String = Nothing, Optional userAgent As String = Nothing) As AuditRequestInfo

Parameters

url
String

The relative URL and query of the liveness request.

method
String

The HTTP method of the request (i.e., GET, POST, DELETE).

contentLength
Nullable<Int64>

The length of the request body in bytes.

contentType
String

The content type of the request.

userAgent
String

The user agent used to submit the request.

Returns

A new AuditRequestInfo instance for mocking.

Applies to