Metodo MetricSettingOperationsExtensions.ListAsync
The List Metric Settings operation lists the metric settings for the resource.
Spazio dei nomi: Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly: Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)
Utilizzo
'Utilizzo
Dim operations As IMetricSettingOperations
Dim resourceId As String
Dim metricNamespace As String
Dim returnValue As Task(Of MetricSettingListResponse)
returnValue = MetricSettingOperationsExtensions.ListAsync(operations, resourceId, metricNamespace)
Sintassi
'Dichiarazione
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
operations As IMetricSettingOperations, _
resourceId As String, _
metricNamespace As String _
) As Task(Of MetricSettingListResponse)
[ExtensionAttribute]
public static Task<MetricSettingListResponse> ListAsync (
IMetricSettingOperations operations,
string resourceId,
string metricNamespace
)
[ExtensionAttribute]
public:
static Task<MetricSettingListResponse^>^ ListAsync (
IMetricSettingOperations^ operations,
String^ resourceId,
String^ metricNamespace
)
/** @attribute ExtensionAttribute() */
public static Task<MetricSettingListResponse> ListAsync (
IMetricSettingOperations operations,
String resourceId,
String metricNamespace
)
ExtensionAttribute
public static function ListAsync (
operations : IMetricSettingOperations,
resourceId : String,
metricNamespace : String
) : Task<MetricSettingListResponse>
Parametri
- operations
Reference to the Microsoft.WindowsAzure.Management.Monitoring.Metrics.IMetricSettingOperations.
- resourceId
Required. The id of the resource.
- metricNamespace
Required. The namespace of the metrics.
Valore restituito
The list metric settings operation response.
Sicurezza dei thread
Qualsiasi membro statico pubblico (condiviso in Visual Basic) di questo tipo è thread safe. Non è invece garantita la sicurezza dei membri dell'istanza.
Piattaforme
Piattaforme di sviluppo
Windows Vista, Windows 7 e Windows Server 2008
Piattaforme di destinazione
Vedere anche
Riferimento
Classe MetricSettingOperationsExtensions
Membri MetricSettingOperationsExtensions
Spazio dei nomi Microsoft.WindowsAzure.Management.Monitoring.Metrics