OperationalInsightsWorkspaceResource.GetUsagesAsync(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 a list of usage metrics for a workspace.
- Request Path: /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/usages
- Operation Id: Usages_List
- Default Api Version: 2020-08-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric> GetUsagesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric>
override this.GetUsagesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsUsageMetric>
Public Overridable Function GetUsagesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of OperationalInsightsUsageMetric)
Parameters
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of OperationalInsightsUsageMetric that may take multiple service requests to iterate over.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.