Share via


CertificateOperationsExtensions.GetAsync Method

Definition

Caution

This operation is deprecated. Please do not use it any longer.

Gets information about the specified Certificate.

[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.Certificate> GetAsync (this Microsoft.Azure.Batch.Protocol.ICertificateOperations operations, string thumbprintAlgorithm, string thumbprint, Microsoft.Azure.Batch.Protocol.Models.CertificateGetOptions certificateGetOptions = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member GetAsync : Microsoft.Azure.Batch.Protocol.ICertificateOperations * string * string * Microsoft.Azure.Batch.Protocol.Models.CertificateGetOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Protocol.Models.Certificate>
<Extension()>
Public Function GetAsync (operations As ICertificateOperations, thumbprintAlgorithm As String, thumbprint As String, Optional certificateGetOptions As CertificateGetOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Certificate)

Parameters

operations
ICertificateOperations

The operations group for this extension method.

thumbprintAlgorithm
String

The algorithm used to derive the thumbprint parameter. This must be sha1.

thumbprint
String

The thumbprint of the Certificate to get.

certificateGetOptions
CertificateGetOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Attributes

Remarks

Warning: This operation is deprecated and will be removed after February, 2024. Please use the [Azure KeyVault Extension](https://learn.microsoft.com/azure/batch/batch-certificate-migration-guide) instead.

Applies to