你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

RequestReportRecordContract interface

请求报表数据。

属性

apiId

API 标识符路径。 /apis/{apiId}

apiRegion

处理此请求的网关所在的 Azure 区域。

apiTime

处理此请求所花费的总时间。

backendResponseCode

网关由于将此请求转发到后端而收到的 HTTP 状态代码。

cache

指定生成响应时是否涉及响应缓存。 如果值为 none,则不使用缓存。 如果命中该值,则返回缓存响应。 如果值未命中,则使用缓存,但查找导致未命中,并且请求由后端完成。

ipAddress

与此请求关联的客户端 IP 地址。

method

与此请求关联的 HTTP 方法。

operationId

操作标识符路径。 /apis/{apiId}/operations/{operationId}

productId

产品标识符路径。 /products/{productId} 注意:此属性不会被序列化。 它只能由服务器填充。

requestId

请求标识符。

requestSize

此请求的大小。。

responseCode

网关返回的 HTTP 状态代码。

responseSize

网关返回的响应的大小。

serviceTime

他花了一段时间将此请求转发到后端并获取响应。

subscriptionId

订阅标识符路径。 /subscriptions/{subscriptionId}

timestamp

网关以 ISO 8601 格式接收此请求的日期和时间。

url

与此请求关联的完整 URL。

userId

用户标识符路径。 /users/{userId} 注意:此属性不会被序列化。 它只能由服务器填充。

属性详细信息

apiId

API 标识符路径。 /apis/{apiId}

apiId?: string

属性值

string

apiRegion

处理此请求的网关所在的 Azure 区域。

apiRegion?: string

属性值

string

apiTime

处理此请求所花费的总时间。

apiTime?: number

属性值

number

backendResponseCode

网关由于将此请求转发到后端而收到的 HTTP 状态代码。

backendResponseCode?: string

属性值

string

cache

指定生成响应时是否涉及响应缓存。 如果值为 none,则不使用缓存。 如果命中该值,则返回缓存响应。 如果值未命中,则使用缓存,但查找导致未命中,并且请求由后端完成。

cache?: string

属性值

string

ipAddress

与此请求关联的客户端 IP 地址。

ipAddress?: string

属性值

string

method

与此请求关联的 HTTP 方法。

method?: string

属性值

string

operationId

操作标识符路径。 /apis/{apiId}/operations/{operationId}

operationId?: string

属性值

string

productId

产品标识符路径。 /products/{productId} 注意:此属性不会被序列化。 它只能由服务器填充。

productId?: string

属性值

string

requestId

请求标识符。

requestId?: string

属性值

string

requestSize

此请求的大小。。

requestSize?: number

属性值

number

responseCode

网关返回的 HTTP 状态代码。

responseCode?: number

属性值

number

responseSize

网关返回的响应的大小。

responseSize?: number

属性值

number

serviceTime

他花了一段时间将此请求转发到后端并获取响应。

serviceTime?: number

属性值

number

subscriptionId

订阅标识符路径。 /subscriptions/{subscriptionId}

subscriptionId?: string

属性值

string

timestamp

网关以 ISO 8601 格式接收此请求的日期和时间。

timestamp?: Date

属性值

Date

url

与此请求关联的完整 URL。

url?: string

属性值

string

userId

用户标识符路径。 /users/{userId} 注意:此属性不会被序列化。 它只能由服务器填充。

userId?: string

属性值

string