Class ConfidentialLedgerCertificateClient
java.lang.Object
com.azure.security.confidentialledger.certificate.ConfidentialLedgerCertificateClient
Initializes a new instance of the synchronous ConfidentialLedgerCertificateClient type.
-
Method Summary
Modifier and TypeMethodDescriptiongetLedgerIdentityWithResponse
(String ledgerId, RequestOptions requestOptions) Gets identity information for a Confidential Ledger instance.
-
Method Details
-
getLedgerIdentityWithResponse
public Response<BinaryData> getLedgerIdentityWithResponse(String ledgerId, RequestOptions requestOptions) Gets identity information for a Confidential Ledger instance.Response Body Schema
{ ledgerId: String (Optional) ledgerTlsCertificate: String (Required) }
- Parameters:
ledgerId
- Id of the Confidential Ledger instance to get information for.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- identity information for a Confidential Ledger instance along with
Response
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.ClientAuthenticationException
- thrown if the request is rejected by server on status code 401.ResourceNotFoundException
- thrown if the request is rejected by server on status code 404.ResourceModifiedException
- thrown if the request is rejected by server on status code 409.
-