Metricdata.MetricsBatchViaJsonString Method
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.
public System.Threading.Tasks.Task MetricsBatchViaJsonString(string subscriptionId, string starttime, string endtime, string interval, string metricnamespace, System.Collections.Generic.List<string> metricnames, string aggregation, int? top, string orderby, string filter, string rollupby, string endpoint, string jsonString, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetricResultsResponse>,System.Threading.Tasks.Task> onOk, Func<System.Net.Http.HttpResponseMessage,System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IErrorResponse>,System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.ISendAsync sender);
member this.MetricsBatchViaJsonString : string * string * string * string * string * System.Collections.Generic.List<string> * string * Nullable<int> * string * string * string * string * string * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IMetricResultsResponse>, System.Threading.Tasks.Task> * Func<System.Net.Http.HttpResponseMessage, System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IErrorResponse>, System.Threading.Tasks.Task> * Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.ISendAsync -> System.Threading.Tasks.Task
Public Function MetricsBatchViaJsonString (subscriptionId As String, starttime As String, endtime As String, interval As String, metricnamespace As String, metricnames As List(Of String), aggregation As String, top As Nullable(Of Integer), orderby As String, filter As String, rollupby As String, endpoint As String, jsonString As String, onOk As Func(Of HttpResponseMessage, Task(Of IMetricResultsResponse), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync) As Task
Parameters
- subscriptionId
- String
- starttime
- String
- endtime
- String
- interval
- String
- metricnamespace
- String
- aggregation
- String
- orderby
- String
- filter
- String
- rollupby
- String
- endpoint
- String
- jsonString
- String
- onDefault
- Func<HttpResponseMessage,Task<IErrorResponse>,Task>
- eventListener
- IEventListener
- sender
- ISendAsync