Metodo MetricValueOperationsExtensions.List (IMetricValueOperations, String, IList<String>, String, TimeSpan, DateTime, DateTime)
L'operazione elenco metrica valore vengono elencati i set di valore metrico per le metriche delle risorse.
Spazio dei nomi: Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Sintassi
public static MetricValueListResponse List(
this IMetricValueOperations operations,
string resourceId,
IList<string> metricNames,
string metricNamespace,
TimeSpan timeGrain,
DateTime startTime,
DateTime endTime
)
public:
[ExtensionAttribute]
static MetricValueListResponse^ List(
IMetricValueOperations^ operations,
String^ resourceId,
IList<String^>^ metricNames,
String^ metricNamespace,
TimeSpan timeGrain,
DateTime startTime,
DateTime endTime
)
static member List :
operations:IMetricValueOperations *
resourceId:string *
metricNames:IList<string> *
metricNamespace:string *
timeGrain:TimeSpan *
startTime:DateTime *
endTime:DateTime -> MetricValueListResponse
<ExtensionAttribute>
Public Shared Function List (
operations As IMetricValueOperations,
resourceId As String,
metricNames As IList(Of String),
metricNamespace As String,
timeGrain As TimeSpan,
startTime As Date,
endTime As Date
) As MetricValueListResponse
Parametri
operations
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperationsRiferimento di Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricValueOperations.
resourceId
Type: System.StringObbligatorio. Id della risorsa.
metricNames
Type: System.Collections.Generic.IList<String>Obbligatorio. I nomi delle metriche.
metricNamespace
Type: System.StringFacoltativa. Lo spazio dei nomi delle metriche.
timeGrain
Type: System.TimeSpanObbligatorio. Unità di tempo delle metriche.
startTime
Type: System.DateTimeObbligatorio. Ora di inizio (in formato UTC) delle metriche.
endTime
Type: System.DateTimeObbligatorio. Ora di fine (in formato UTC) delle metriche.
Valore restituito
Type: Microsoft.WindowsAzure.Management.Monitoring.Metrics.Models.MetricValueListResponse
La metrica di elenco di valori di risposta dell'operazione.
Vedere anche
Classe MetricValueOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure.Management.Monitoring.Metrics
Torna all'inizio