Response Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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
Azure SDK for .NET