Partilhar via


IotHubDescriptionResource.GetStats(CancellationToken) Método

Definição

Obtenha as estatísticas de um hub IoT.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/IotHubStats
  • IdIotHubResource_GetStats de operação
public virtual Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubRegistryStatistics> GetStats (System.Threading.CancellationToken cancellationToken = default);
abstract member GetStats : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubRegistryStatistics>
override this.GetStats : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.IotHub.Models.IotHubRegistryStatistics>
Public Overridable Function GetStats (Optional cancellationToken As CancellationToken = Nothing) As Response(Of IotHubRegistryStatistics)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a