C# Class Microsoft.Azure.Insights.Legacy.MetricDefinitionOperationsExtensions

Show file Open project: Azure/azure-powershell

Public Methods

Method Description
GetMetricDefinitions ( this operations, string resourceUri, string filterString ) : MetricDefinitionListResponse

The List Metric Definitions operation lists the metric definitions for the resource.

GetMetricDefinitionsAsync ( this operations, string resourceUri, string filterString ) : Task

The List Metric Definitions operation lists the metric definitions for the resource.

Method Details

GetMetricDefinitions() public static method

The List Metric Definitions operation lists the metric definitions for the resource.
public static GetMetricDefinitions ( this operations, string resourceUri, string filterString ) : MetricDefinitionListResponse
operations this /// Reference to the /// Microsoft.Azure.Insights.Legacy.IMetricDefinitionOperations. ///
resourceUri string /// Required. The resource identifier of the target resource to get /// metrics for. ///
filterString string /// Optional. An OData $filter expression that supports querying by the /// name of the metric definition. For example, "name.value eq /// 'Percentage CPU'". Name is optional, meaning the expression may be /// "". ///
return Microsoft.Azure.Insights.Legacy.Models.MetricDefinitionListResponse

GetMetricDefinitionsAsync() public static method

The List Metric Definitions operation lists the metric definitions for the resource.
public static GetMetricDefinitionsAsync ( this operations, string resourceUri, string filterString ) : Task
operations this /// Reference to the /// Microsoft.Azure.Insights.Legacy.IMetricDefinitionOperations. ///
resourceUri string /// Required. The resource identifier of the target resource to get /// metrics for. ///
filterString string /// Optional. An OData $filter expression that supports querying by the /// name of the metric definition. For example, "name.value eq /// 'Percentage CPU'". Name is optional, meaning the expression may be /// "". ///
return Task