Sdílet prostřednictvím


SqlExtensions.GetSubscriptionUsages Method

Definition

Gets a collection of SubscriptionUsageResources in the SubscriptionResource. MockingTo mock this method, please mock GetSubscriptionUsages(AzureLocation) instead.

public static Azure.ResourceManager.Sql.SubscriptionUsageCollection GetSubscriptionUsages (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation locationName);
static member GetSubscriptionUsages : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation -> Azure.ResourceManager.Sql.SubscriptionUsageCollection
<Extension()>
Public Function GetSubscriptionUsages (subscriptionResource As SubscriptionResource, locationName As AzureLocation) As SubscriptionUsageCollection

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

locationName
AzureLocation

The name of the region where the resource is located.

Returns

An object representing collection of SubscriptionUsageResources and their operations over a SubscriptionUsageResource.

Exceptions

subscriptionResource is null.

Applies to