你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ReportRecordContract 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReportRecordContract()
初始化 ReportRecordContract 类的新实例。
public ReportRecordContract();
Public Sub New ()
适用于
ReportRecordContract(String, Nullable<DateTime>, String, String, String, String, String, String, String, String, String, String, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int32>, Nullable<Int64>, Nullable<Int32>, Nullable<Int32>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>)
初始化 ReportRecordContract 类的新实例。
public ReportRecordContract(string name = default, DateTime? timestamp = default, string interval = default, string country = default, string region = default, string zip = default, string userId = default, string productId = default, string apiId = default, string operationId = default, string apiRegion = default, string subscriptionId = default, int? callCountSuccess = default, int? callCountBlocked = default, int? callCountFailed = default, int? callCountOther = default, int? callCountTotal = default, long? bandwidth = default, int? cacheHitCount = default, int? cacheMissCount = default, double? apiTimeAvg = default, double? apiTimeMin = default, double? apiTimeMax = default, double? serviceTimeAvg = default, double? serviceTimeMin = default, double? serviceTimeMax = default);
new Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract : string * Nullable<DateTime> * string * string * string * string * string * string * string * string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int64> * Nullable<int> * Nullable<int> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> * Nullable<double> -> Microsoft.Azure.Management.ApiManagement.Models.ReportRecordContract
Public Sub New (Optional name As String = Nothing, Optional timestamp As Nullable(Of DateTime) = Nothing, Optional interval As String = Nothing, Optional country As String = Nothing, Optional region As String = Nothing, Optional zip As String = Nothing, Optional userId As String = Nothing, Optional productId As String = Nothing, Optional apiId As String = Nothing, Optional operationId As String = Nothing, Optional apiRegion As String = Nothing, Optional subscriptionId As String = Nothing, Optional callCountSuccess As Nullable(Of Integer) = Nothing, Optional callCountBlocked As Nullable(Of Integer) = Nothing, Optional callCountFailed As Nullable(Of Integer) = Nothing, Optional callCountOther As Nullable(Of Integer) = Nothing, Optional callCountTotal As Nullable(Of Integer) = Nothing, Optional bandwidth As Nullable(Of Long) = Nothing, Optional cacheHitCount As Nullable(Of Integer) = Nothing, Optional cacheMissCount As Nullable(Of Integer) = Nothing, Optional apiTimeAvg As Nullable(Of Double) = Nothing, Optional apiTimeMin As Nullable(Of Double) = Nothing, Optional apiTimeMax As Nullable(Of Double) = Nothing, Optional serviceTimeAvg As Nullable(Of Double) = Nothing, Optional serviceTimeMin As Nullable(Of Double) = Nothing, Optional serviceTimeMax As Nullable(Of Double) = Nothing)
参数
- name
- String
名称取决于报表终结点指定产品、API、操作或开发人员名称。
- interval
- String
聚合周期的长度。 间隔必须是 15 分钟的倍数,不能为零。 该值应采用 ISO 8601 格式 (http://en.wikipedia.org/wiki/ISO_8601#Durations) 。
- country
- String
与此记录数据相关的国家/地区。
- region
- String
与此记录数据相关的国家/地区。
- zip
- String
与此记录数据相关的邮政编码。
- userId
- String
用户标识符路径。 /users/{userId}
- productId
- String
产品标识符路径。 /products/{productId}
- apiId
- String
API 标识符路径。 /apis/{apiId}
- operationId
- String
操作标识符路径。 /apis/{apiId}/operations/{operationId}
- apiRegion
- String
API 区域标识符。
- subscriptionId
- String
订阅标识符路径。 /subscriptions/{subscriptionId}
成功调用数。 这包括返回 HttpStatusCode <= 301 和 HttpStatusCode.NotModified 和 HttpStatusCode.TemporaryRedirect 的调用
由于凭据无效而被阻止的调用次数。 这包括返回 HttpStatusCode.Unauthorized 和 HttpStatusCode.Forbidden 和 HttpStatusCode.TooManyRequests 的调用
由于代理服务器或后端错误而失败的调用次数。 这包括返回 HttpStatusCode.BadRequest (400) 的调用,以及 HttpStatusCode.InternalServerError (500) 和 600 之间的任何代码