CertificateOperations.GetCertificateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.
Warning: This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead. Gets the specified Certificate.
[System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)]
public System.Threading.Tasks.Task<Microsoft.Azure.Batch.Certificate> GetCertificateAsync (string thumbprintAlgorithm, string thumbprint, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.GetCertificateAsync : string * string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Batch.Certificate>
Public Function GetCertificateAsync (thumbprintAlgorithm As String, thumbprint As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Certificate)
Parameters
- thumbprintAlgorithm
- String
The algorithm used to derive the thumbprint
parameter. This must be sha1.
- thumbprint
- String
The thumbprint of the certificate to get.
- detailLevel
- DetailLevel
A DetailLevel used for controlling which properties are retrieved from the service.
- additionalBehaviors
- IEnumerable<BatchClientBehavior>
A collection of BatchClientBehavior instances that are applied to the Batch service request after the CustomBehaviors and detailLevel
.
- cancellationToken
- CancellationToken
A CancellationToken for controlling the lifetime of the asynchronous operation.
Returns
A Certificate containing information about the specified certificate in the Azure Batch account.
- Attributes
Remarks
The get certificate operation runs asynchronously.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應