Class BaselineResponse
The response to a baseline query.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
[Microsoft.Rest.Serialization.JsonTransformation]
public class BaselineResponse
Constructors
BaselineResponse()
Initializes a new instance of the BaselineResponse class.
Declaration
public BaselineResponse ();
BaselineResponse(String, String, LocalizableString, String, Nullable<TimeSpan>, String, IList<Nullable<DateTime>>, IList<Baseline>, IList<BaselineMetadataValue>)
Initializes a new instance of the BaselineResponse class.
Declaration
public BaselineResponse (string id = null, string type = null, Microsoft.Azure.Management.Monitor.Models.LocalizableString name = null, string timespan = null, Nullable<TimeSpan> interval = null, string aggregation = null, System.Collections.Generic.IList<Nullable<DateTime>> timestamps = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.Baseline> baseline = null, System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.BaselineMetadataValue> metadata = null);
Parameters
|
String
id
the metric baseline Id. |
|
String
type
the resource type of the baseline resource. |
|
LocalizableString
name
the name and the display name of the metric, i.e. it is localizable string. |
|
String
timespan
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. |
|
Nullable<TimeSpan>
interval
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. |
|
String
aggregation
The aggregation type of the metric. |
|
IList<Nullable<DateTime>>
timestamps
the array of timestamps of the baselines. |
|
IList<Baseline>
baseline
the baseline values for each sensitivity. |
|
IList<BaselineMetadataValue>
metadata
the baseline metadata values. |
Properties
Aggregation
Gets or sets the aggregation type of the metric.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.aggregation")]
public string Aggregation { get; set; }
Property Value
|
String
|
Baseline
Gets or sets the baseline values for each sensitivity.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.baseline")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.Baseline> Baseline { get; set; }
Property Value
|
IList<Baseline>
|
Id
Gets the metric baseline Id.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="id")]
public string Id { get; }
Property Value
|
String
|
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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.interval")]
public Nullable<TimeSpan> Interval { get; set; }
Property Value
|
Nullable<TimeSpan>
|
Metadata
Gets or sets the baseline metadata values.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.metadata")]
public System.Collections.Generic.IList<Microsoft.Azure.Management.Monitor.Models.BaselineMetadataValue> Metadata { get; set; }
Property Value
|
IList<BaselineMetadataValue>
|
Name
Gets the name and the display name of the metric, i.e. it is localizable string.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="name")]
public Microsoft.Azure.Management.Monitor.Models.LocalizableString Name { get; }
Property Value
|
LocalizableString
|
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.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.timespan")]
public string Timespan { get; set; }
Property Value
|
String
|
Timestamps
Gets or sets the array of timestamps of the baselines.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="properties.timestamps")]
public System.Collections.Generic.IList<Nullable<DateTime>> Timestamps { get; set; }
Property Value
|
IList<Nullable<DateTime>>
|
Type
Gets the resource type of the baseline resource.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="type")]
public string Type { get; }
Property Value
|
String
|
Methods
Validate()
Validate the object.
Declaration
public virtual void Validate ();
Exceptions
|
ValidationException
Thrown if validation fails |