Udostępnij za pośrednictwem


Response Constructors

Definition

Overloads

Response()

Initializes a new instance of the Response class.

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

Initializes a new instance of the Response class.

Response()

Initializes a new instance of the Response class.

public Response ();
Public Sub New ()

Applies to

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

Initializes a new instance of the Response class.

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)

Parameters

timespan
String

The timespan for which the data was retrieved. Its value consists of two datetimes concatenated, separated by '/'. This may be adjusted in the future and returned back from what was originally requested.

value
IList<Metric>

the value of the collection.

cost
Nullable<Double>

The integer value representing the relative cost of the query.

interval
Nullable<TimeSpan>

The interval (window size) for which the metric data was returned in. This may be adjusted in the future and returned back from what was originally requested. This is not present if a metadata request was made.

namespaceProperty
String

The namespace of the metrics being queried

resourceregion
String

The region of the resource being queried for metrics.

Applies to