CertificateOperations.GetCertificate 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 Microsoft.Azure.Batch.Certificate GetCertificate (string thumbprintAlgorithm, string thumbprint, Microsoft.Azure.Batch.DetailLevel detailLevel = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
[<System.Obsolete("This operation is deprecated and will be removed after February, 2024. Please use the Azure KeyVault Extension instead.", false)>]
member this.GetCertificate : string * string * Microsoft.Azure.Batch.DetailLevel * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> Microsoft.Azure.Batch.Certificate
Public Function GetCertificate (thumbprintAlgorithm As String, thumbprint As String, Optional detailLevel As DetailLevel = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As 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
.
Returns
A Certificate containing information about the specified certificate in the Azure Batch account.
- Attributes
Remarks
This is a blocking operation. For a non-blocking equivalent, see GetCertificateAsync(String, String, DetailLevel, IEnumerable<BatchClientBehavior>, CancellationToken).
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應