WebSiteSlotResource.GetUsagesSlot(String, 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.
Description for Gets the quota usage information of an app (or deployment slot, if specified).
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/usages
- Operation Id: WebApps_ListUsagesSlot
- Default Api Version: 2021-02-01
- Resource: WebSiteSlotResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota> GetUsagesSlot (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesSlot : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota>
override this.GetUsagesSlot : string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.CsmUsageQuota>
Public Overridable Function GetUsagesSlot (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of CsmUsageQuota)
Parameters
- filter
- String
Return only information specified in the filter (using OData syntax). For example: $filter=(name.value eq 'Metric1' or name.value eq 'Metric2') and startTime eq 2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq duration'[Hour|Minute|Day]'.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of CsmUsageQuota that may take multiple service requests to iterate over.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för