Share via


DpsCertificateOperationsExtensions.GetAsync Method

Definition

Get the certificate from the provisioning service.

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

Parameters

operations
IDpsCertificateOperations

The operations group for this extension method.

certificateName
String

Name of the certificate to retrieve.

resourceGroupName
String

Resource group identifier.

provisioningServiceName
String

Name of the provisioning service the certificate is associated with.

ifMatch
String

ETag of the certificate.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to