Class ConfidentialLedgerCertificateAsyncClient
java.lang.Object
com.azure.security.confidentialledger.certificate.ConfidentialLedgerCertificateAsyncClient
Initializes a new instance of the asynchronous ConfidentialLedgerCertificateClient type.
-
Method Summary
Modifier and TypeMethodDescriptiongetLedgerIdentityWithResponse
(String ledgerId, RequestOptions requestOptions) Gets identity information for a Confidential Ledger instance.
-
Method Details
-
getLedgerIdentityWithResponse
public Mono<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
on successful completion ofMono
. - 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.
-