SubscriptionUsageCollection.GetAll(CancellationToken) 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 all subscription usage metrics in a given location.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Sql/locations/{locationName}/usages
- Operation Id: SubscriptionUsages_ListByLocation
- Default Api Version: 2020-11-01-preview
- Resource: SubscriptionUsageResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.SubscriptionUsageResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SubscriptionUsageResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.SubscriptionUsageResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SubscriptionUsageResource)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of SubscriptionUsageResource that may take multiple service requests to iterate over.