Condividi tramite


DocumentModelAdministrationClient.GetResourceDetailsAsync Method

Definition

Gets the number of built models on this Form Recognizer resource and the resource limits.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.ResourceDetails>> GetResourceDetailsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetResourceDetailsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.ResourceDetails>>
override this.GetResourceDetailsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.FormRecognizer.DocumentAnalysis.ResourceDetails>>
Public Overridable Function GetResourceDetailsAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ResourceDetails))

Parameters

cancellationToken
CancellationToken

A CancellationToken controlling the request lifetime.

Returns

A Response<T> representing the result of the operation. It can be cast to an ResourceDetails containing the resource information.

Applies to