Share via


DevicesOperationsExtensions.GenerateCertificateAsync Method

Definition

Generates certificate for activation key.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.GenerateCertResponse> GenerateCertificateAsync (this Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations operations, string deviceName, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member GenerateCertificateAsync : Microsoft.Azure.Management.DataBoxEdge.IDevicesOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.GenerateCertResponse>
<Extension()>
Public Function GenerateCertificateAsync (operations As IDevicesOperations, deviceName As String, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GenerateCertResponse)

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name.

resourceGroupName
String

The resource group name.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to