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

Extension methods for MetricDefinitionsOperations.
Afficher le fichier Open project: Azure/azure-powershell-common

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat IEnumerable

ListAsync() public static méthode

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. ///
Résultat Task>