Partager via


SphereCatalogResource.CountDevicesAsync(CancellationToken) Méthode

Définition

Compte les appareils dans le catalogue.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/countDevices
  • IdCatalogs_CountDevices d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sphere.Models.CountDeviceResult>> CountDevicesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member CountDevicesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sphere.Models.CountDeviceResult>>
override this.CountDevicesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sphere.Models.CountDeviceResult>>
Public Overridable Function CountDevicesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of CountDeviceResult))

Paramètres

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à