C# 클래스 Microsoft.Azure.Management.Monitor.Version2018_09_01.MetricDefinitionsOperationsExtensions

Extension methods for MetricDefinitionsOperations.
파일 보기 프로젝트 열기: Azure/azure-powershell-common

공개 메소드들

메소드 설명
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.

메소드 상세

List() 공개 정적인 메소드

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. ///
리턴 IEnumerable

ListAsync() 공개 정적인 메소드

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. ///
리턴 Task>