Response Class

Definition

The response to a metrics query.

public class Response
type Response = class
Public Class Response
Inheritance
Response

Constructors

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.

Properties

Cost

Gets or sets the integer value representing the relative cost of the query.

Interval

Gets or sets 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

Gets or sets the namespace of the metrics being queried

Resourceregion

Gets or sets the region of the resource being queried for metrics.

Timespan

Gets or sets 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

Gets or sets the value of the collection.

Methods

Validate()

Validate the object.

Applies to