InstancePoolResource.GetUsagesAsync 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 instance pool usage metrics
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/instancePools/{instancePoolName}/usages
- Operation Id: Usages_ListByInstancePool
- Default Api Version: 2021-02-01-preview
public virtual Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage> GetUsagesAsync (bool? expandChildren = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetUsagesAsync : Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage>
override this.GetUsagesAsync : Nullable<bool> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Sql.Models.InstancePoolUsage>
Public Overridable Function GetUsagesAsync (Optional expandChildren As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of InstancePoolUsage)
Parameters
Optional request parameter to include managed instance usages within the instance pool.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
An async collection of InstancePoolUsage 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.