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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET