Compartilhar via


SphereProductResource.CountDevices(CancellationToken) Método

Definição

Conta dispositivos no produto. '.default' e '.unassigned' são valores definidos pelo sistema e não podem ser usados para o nome do produto.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureSphere/catalogs/{catalogName}/products/{productName}/countDevices
  • Operação IdProducts_CountDevices
public virtual Azure.Response<Azure.ResourceManager.Sphere.Models.CountDeviceResult> CountDevices (System.Threading.CancellationToken cancellationToken = default);
abstract member CountDevices : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sphere.Models.CountDeviceResult>
override this.CountDevices : System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sphere.Models.CountDeviceResult>
Public Overridable Function CountDevices (Optional cancellationToken As CancellationToken = Nothing) As Response(Of CountDeviceResult)

Parâmetros

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a