Udostępnij przez


Metricdata.MetricsBatch Method

Definition

public System.Threading.Tasks.Task MetricsBatch(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, Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IResourceIdList body, 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, Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.MetricsBatch : string * string * string * string * string * System.Collections.Generic.List<string> * string * Nullable<int> * string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Metric.Models.IResourceIdList * 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 * Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.SerializationMode -> System.Threading.Tasks.Task
Public Function MetricsBatch (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, body As IResourceIdList, onOk As Func(Of HttpResponseMessage, Task(Of IMetricResultsResponse), Task), onDefault As Func(Of HttpResponseMessage, Task(Of IErrorResponse), Task), eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Metric.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task

Parameters

subscriptionId
String
starttime
String
endtime
String
interval
String
metricnamespace
String
metricnames
List<String>
aggregation
String
orderby
String
filter
String
rollupby
String
endpoint
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to