SqlExtensions.GetSubscriptionUsages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.