Share via


MetricSettingOperationsExtensions.ListAsync Method (IMetricSettingOperations, String, String)

 

The List Metric Settings operation lists the metric settings for the resource.

Namespace:   Microsoft.WindowsAzure.Management.Monitoring.Metrics
Assembly:  Microsoft.WindowsAzure.Management.Monitoring (in Microsoft.WindowsAzure.Management.Monitoring.dll)

Syntax

public static Task<MetricSettingListResponse> ListAsync(
    this IMetricSettingOperations operations,
    string resourceId,
    string metricNamespace
)
public:
[ExtensionAttribute]
static Task<MetricSettingListResponse^>^ ListAsync(
    IMetricSettingOperations^ operations,
    String^ resourceId,
    String^ metricNamespace
)
static member ListAsync : 
        operations:IMetricSettingOperations *
        resourceId:string *
        metricNamespace:string -> Task<MetricSettingListResponse>
<ExtensionAttribute>
Public Shared Function ListAsync (
    operations As IMetricSettingOperations,
    resourceId As String,
    metricNamespace As String
) As Task(Of MetricSettingListResponse)

Parameters

  • resourceId
    Type: System.String

    Required. The id of the resource.

  • metricNamespace
    Type: System.String

    Required. The namespace of the metrics.

Return Value

Type: System.Threading.Tasks.Task<MetricSettingListResponse>

The list metric settings operation response.

See Also

MetricSettingOperationsExtensions Class
Microsoft.WindowsAzure.Management.Monitoring.Metrics Namespace

Return to top