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

Response 构造函数

定义

重载

Response()

初始化 Response 类的新实例。

Response(String, IList<Metric>, Nullable<Double>, Nullable<TimeSpan>, String, String)

初始化 Response 类的新实例。

Response()

初始化 Response 类的新实例。

public Response ();
Public Sub New ()

适用于

Response(String, IList<Metric>, Nullable<Double>, Nullable<TimeSpan>, String, String)

初始化 Response 类的新实例。

public Response (string timespan, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.Metric> value, double? cost = default, TimeSpan? interval = default, string namespaceProperty = default, string resourceregion = default);
new Microsoft.Azure.Management.Monitor.Models.Response : string * System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.Metric> * Nullable<double> * Nullable<TimeSpan> * string * string -> Microsoft.Azure.Management.Monitor.Models.Response
Public Sub New (timespan As String, value As IList(Of Metric), Optional cost As Nullable(Of Double) = Nothing, Optional interval As Nullable(Of TimeSpan) = Nothing, Optional namespaceProperty As String = Nothing, Optional resourceregion As String = Nothing)

参数

timespan
String

检索数据的时间跨度。 其值由两个连接在一起的日期/时间组成,以“/”分隔。 将来可能会对此进行调整,并从最初请求的内容返回。

value
IList<Metric>

集合的值。

cost
Nullable<Double>

表示查询相对开销的整数值。

interval
Nullable<TimeSpan>

返回指标数据的间隔 (窗口大小) 。 将来可能会对此进行调整,并从最初请求的内容返回。 如果发出了元数据请求,则不存在此请求。

namespaceProperty
String

要查询的指标的命名空间

resourceregion
String

要查询指标的资源的区域。

适用于