共用方式為


IotHubCertificateDescriptionCollection.GetAllAsync(CancellationToken) Method

Definition

Returns the list of certificates.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Devices/IotHubs/{resourceName}/certificates
  • Operation Id: Certificates_ListByIotHub
  • Default Api Version: 2023-06-30
  • Resource: IotHubCertificateDescriptionResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.IotHub.IotHubCertificateDescriptionResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of IotHubCertificateDescriptionResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of IotHubCertificateDescriptionResource that may take multiple service requests to iterate over.

Applies to