다음을 통해 공유


ArmApiManagementModelFactory.RequestReportRecordContract Method

Definition

Initializes a new instance of RequestReportRecordContract.

public static Azure.ResourceManager.ApiManagement.Models.RequestReportRecordContract RequestReportRecordContract (string apiId = default, string operationId = default, string productId = default, string userId = default, Azure.Core.RequestMethod? method = default, Uri uri = default, System.Net.IPAddress ipAddress = default, string backendResponseCode = default, int? responseCode = default, int? responseSize = default, DateTimeOffset? timestamp = default, string cache = default, double? apiTime = default, double? serviceTime = default, string apiRegion = default, Azure.Core.ResourceIdentifier subscriptionResourceId = default, string requestId = default, int? requestSize = default);
static member RequestReportRecordContract : string * string * string * string * Nullable<Azure.Core.RequestMethod> * Uri * System.Net.IPAddress * string * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * string * Nullable<double> * Nullable<double> * string * Azure.Core.ResourceIdentifier * string * Nullable<int> -> Azure.ResourceManager.ApiManagement.Models.RequestReportRecordContract
Public Shared Function RequestReportRecordContract (Optional apiId As String = Nothing, Optional operationId As String = Nothing, Optional productId As String = Nothing, Optional userId As String = Nothing, Optional method As Nullable(Of RequestMethod) = Nothing, Optional uri As Uri = Nothing, Optional ipAddress As IPAddress = Nothing, Optional backendResponseCode As String = Nothing, Optional responseCode As Nullable(Of Integer) = Nothing, Optional responseSize As Nullable(Of Integer) = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional cache As String = Nothing, Optional apiTime As Nullable(Of Double) = Nothing, Optional serviceTime As Nullable(Of Double) = Nothing, Optional apiRegion As String = Nothing, Optional subscriptionResourceId As ResourceIdentifier = Nothing, Optional requestId As String = Nothing, Optional requestSize As Nullable(Of Integer) = Nothing) As RequestReportRecordContract

Parameters

apiId
String

API identifier path. /apis/{apiId}.

operationId
String

Operation identifier path. /apis/{apiId}/operations/{operationId}.

productId
String

Product identifier path. /products/{productId}.

userId
String

User identifier path. /users/{userId}.

method
Nullable<RequestMethod>

The HTTP method associated with this request..

uri
Uri

The full URL associated with this request.

ipAddress
IPAddress

The client IP address associated with this request.

backendResponseCode
String

The HTTP status code received by the gateway as a result of forwarding this request to the backend.

responseCode
Nullable<Int32>

The HTTP status code returned by the gateway.

responseSize
Nullable<Int32>

The size of the response returned by the gateway.

timestamp
Nullable<DateTimeOffset>

The date and time when this request was received by the gateway in ISO 8601 format.

cache
String

Specifies if response cache was involved in generating the response. If the value is none, the cache was not used. If the value is hit, cached response was returned. If the value is miss, the cache was used but lookup resulted in a miss and request was fulfilled by the backend.

apiTime
Nullable<Double>

The total time it took to process this request.

serviceTime
Nullable<Double>

he time it took to forward this request to the backend and get the response back.

apiRegion
String

Azure region where the gateway that processed this request is located.

subscriptionResourceId
ResourceIdentifier

Subscription identifier path. /subscriptions/{subscriptionId}.

requestId
String

Request Identifier.

requestSize
Nullable<Int32>

The size of this request..

Returns

A new RequestReportRecordContract instance for mocking.

Applies to