你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Response 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
检索数据的时间跨度。 其值由两个连接在一起的日期/时间组成,以“/”分隔。 将来可能会对此进行调整,并从最初请求的内容返回。
- namespaceProperty
- String
要查询的指标的命名空间
- resourceregion
- String
要查询指标的资源的区域。