Condividi tramite


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

  • metricNamespace
    Type: System.String

    Facoltativa. Lo spazio dei nomi delle metriche.

  • timeGrain
    Type: System.TimeSpan

    Obbligatorio. Unità di tempo delle metriche.

  • startTime
    Type: System.DateTime

    Obbligatorio. Ora di inizio (in formato UTC) delle metriche.

  • endTime
    Type: System.DateTime

    Obbligatorio. 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