Share via


CertificatesOperationsExtensions.ListByIotHubAsync Method

Definition

Get the certificate list.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.CertificateListDescription> ListByIotHubAsync (this Microsoft.Azure.Management.IotHub.ICertificatesOperations operations, string resourceGroupName, string resourceName, System.Threading.CancellationToken cancellationToken = default);
static member ListByIotHubAsync : Microsoft.Azure.Management.IotHub.ICertificatesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.IotHub.Models.CertificateListDescription>
<Extension()>
Public Function ListByIotHubAsync (operations As ICertificatesOperations, resourceGroupName As String, resourceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CertificateListDescription)

Parameters

operations
ICertificatesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group that contains the IoT hub.

resourceName
String

The name of the IoT hub.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Returns the list of certificates.

Applies to