CertificatesOperationsExtensions.GetAsync Method

Definition

Get the certificate.

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

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.

certificateName
String

The name of the certificate

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Returns the certificate.

Applies to