Class ConfidentialLedgerCertificateAsyncClient
java.lang.Object
com.azure.security.confidentialledger.certificate.ConfidentialLedgerCertificateAsyncClient
Initializes a new instance of the asynchronous ConfidentialLedgerCertificateClient type.
-
Method Summary
Modifier and TypeMethodDescriptionMono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>>getLedgerIdentityWithResponse(String ledgerId, com.azure.core.http.rest.RequestOptions requestOptions) Gets identity information for a Confidential Ledger instance.
-
Method Details
-
getLedgerIdentityWithResponse
public Mono<com.azure.core.http.rest.Response<com.azure.core.util.BinaryData>> getLedgerIdentityWithResponse(String ledgerId, com.azure.core.http.rest.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
Responseon successful completion ofMono. - Throws:
com.azure.core.exception.HttpResponseException- thrown if the request is rejected by server.com.azure.core.exception.ClientAuthenticationException- thrown if the request is rejected by server on status code 401.com.azure.core.exception.ResourceNotFoundException- thrown if the request is rejected by server on status code 404.com.azure.core.exception.ResourceModifiedException- thrown if the request is rejected by server on status code 409.
-