C# Class Microsoft.Azure.Management.Monitor.Version2018_09_01.MetricDefinitionsOperationsExtensions

Extension methods for MetricDefinitionsOperations.
Show file Open project: Azure/azure-powershell-common

Public Methods

Method Description
List ( IMetricDefinitionsOperations operations, string resourceUri, string metricnamespace = default(string) ) : IEnumerable

Lists the metric definitions for the resource.

ListAsync ( IMetricDefinitionsOperations operations, string resourceUri, string metricnamespace = default(string), CancellationToken cancellationToken = default(CancellationToken) ) : Task>

Lists the metric definitions for the resource.

Method Details

List() public static method

Lists the metric definitions for the resource.
public static List ( IMetricDefinitionsOperations operations, string resourceUri, string metricnamespace = default(string) ) : IEnumerable
operations IMetricDefinitionsOperations /// The operations group for this extension method. ///
resourceUri string /// The identifier of the resource. ///
metricnamespace string /// Metric namespace to query metric definitions for. ///
return IEnumerable

ListAsync() public static method

Lists the metric definitions for the resource.
public static ListAsync ( IMetricDefinitionsOperations operations, string resourceUri, string metricnamespace = default(string), CancellationToken cancellationToken = default(CancellationToken) ) : Task>
operations IMetricDefinitionsOperations /// The operations group for this extension method. ///
resourceUri string /// The identifier of the resource. ///
metricnamespace string /// Metric namespace to query metric definitions for. ///
cancellationToken CancellationToken /// The cancellation token. ///
return Task>