共用方式為


CertificatesOperationsExtensions.GenerateVerificationCodeAsync Method

Definition

Generate verification code for proof of possession flow.

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

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

ifMatch
String

ETag of the Certificate.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Generates verification code for proof of possession flow. The verification code will be used to generate a leaf certificate.

Applies to