Class KeyVaultConnectionsAsyncClient
java.lang.Object
com.azure.analytics.purview.scanning.KeyVaultConnectionsAsyncClient
Initializes a new instance of the asynchronous PurviewScanningClient type.
-
Method Summary
Modifier and TypeMethodDescriptioncreateWithResponse
(String keyVaultName, BinaryData body, RequestOptions requestOptions) Creates an instance of a key vault connection.deleteWithResponse
(String keyVaultName, RequestOptions requestOptions) Deletes the key vault connection associated with the account.getWithResponse
(String keyVaultName, RequestOptions requestOptions) Gets key vault information.listAll
(RequestOptions requestOptions) List key vault connections in account.
-
Method Details
-
getWithResponse
public Mono<Response<BinaryData>> getWithResponse(String keyVaultName, RequestOptions requestOptions) Gets key vault information.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api Version Response Body Schema
{ id: String name: String properties: { baseUrl: String description: String } }
- Parameters:
keyVaultName
- The keyVaultName parameter.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- key vault information along with
Response
on successful completion ofMono
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
createWithResponse
public Mono<Response<BinaryData>> createWithResponse(String keyVaultName, BinaryData body, RequestOptions requestOptions) Creates an instance of a key vault connection.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api Version Request Body Schema
{ id: String name: String properties: { baseUrl: String description: String } }
Response Body Schema
{ id: String name: String properties: { baseUrl: String description: String } }
- Parameters:
keyVaultName
- The keyVaultName parameter.body
- The body parameter.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- the response body along with
Response
on successful completion ofMono
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
deleteWithResponse
public Mono<Response<BinaryData>> deleteWithResponse(String keyVaultName, RequestOptions requestOptions) Deletes the key vault connection associated with the account.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api Version Response Body Schema
{ id: String name: String properties: { baseUrl: String description: String } }
- Parameters:
keyVaultName
- The keyVaultName parameter.requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- the response body along with
Response
on successful completion ofMono
. - Throws:
HttpResponseException
- thrown if the request is rejected by server.
-
listAll
List key vault connections in account.Query Parameters
Query Parameters Name Type Required Description apiVersion String Yes Api Version Response Body Schema
{ value: [ { id: String name: String properties: { baseUrl: String description: String } } ] nextLink: String count: Long }
- Parameters:
requestOptions
- The options to configure the HTTP request before HTTP client sends it.- Returns:
- the response.
- Throws:
HttpResponseException
- thrown if the request is rejected by server.
-