FrontDoorEndpointResource.GetResourceUsagesAsync(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.
Checks the quota and actual usage of endpoints under the given Azure Front Door profile.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/afdEndpoints/{endpointName}/usages
- Operation Id: FrontDoorEndpoints_ListResourceUsage
- Default Api Version: 2024-02-01
- Resource: FrontDoorEndpointResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.FrontDoorUsage> GetResourceUsagesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.FrontDoorUsage>
override this.GetResourceUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.FrontDoorUsage>
Public Overridable Function GetResourceUsagesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of FrontDoorUsage)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of FrontDoorUsage that may take multiple service requests to iterate over.