共用方式為


TrafficManagerExtensions.GetTrafficManagerUserMetrics Method

Definition

Gets an object representing a TrafficManagerUserMetricsResource along with the instance operations that can be performed on it in the SubscriptionResource. MockingTo mock this method, please mock GetTrafficManagerUserMetrics() instead.

public static Azure.ResourceManager.TrafficManager.TrafficManagerUserMetricsResource GetTrafficManagerUserMetrics (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetTrafficManagerUserMetrics : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.TrafficManager.TrafficManagerUserMetricsResource
<Extension()>
Public Function GetTrafficManagerUserMetrics (subscriptionResource As SubscriptionResource) As TrafficManagerUserMetricsResource

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

Returns

Returns a TrafficManagerUserMetricsResource object.

Exceptions

subscriptionResource is null.

Applies to