Interface VaultsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VaultInner>
An instance of this class provides access to all the operations defined in VaultsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VaultInner>, VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VaultInner>, VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters, com.azure.core.util.Context context) Create or update a key vault in the specified subscription.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VaultInner>, VaultInner> beginCreateOrUpdateAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.beginPurgeDeleted(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.beginPurgeDeleted(String vaultName, String location, com.azure.core.util.Context context) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.beginPurgeDeletedAsync(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.Checks that the vault name is valid and is not already in use.Checks that the vault name is valid and is not already in use.com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(VaultCheckNameAvailabilityParameters vaultName, com.azure.core.util.Context context) Checks that the vault name is valid and is not already in use.Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> Checks that the vault name is valid and is not already in use.createOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.createOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters, com.azure.core.util.Context context) Create or update a key vault in the specified subscription.createOrUpdateAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.voidDeletes the specified Azure key vault.deleteAsync(String resourceGroupName, String vaultName) Deletes the specified Azure key vault.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String vaultName, com.azure.core.util.Context context) Deletes the specified Azure key vault.deleteWithResponseAsync(String resourceGroupName, String vaultName) Deletes the specified Azure key vault.getByResourceGroup(String resourceGroupName, String vaultName) Gets the specified Azure key vault.getByResourceGroupAsync(String resourceGroupName, String vaultName) Gets the specified Azure key vault.com.azure.core.http.rest.Response<VaultInner> getByResourceGroupWithResponse(String resourceGroupName, String vaultName, com.azure.core.util.Context context) Gets the specified Azure key vault.Mono<com.azure.core.http.rest.Response<VaultInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vaultName) Gets the specified Azure key vault.getDeleted(String vaultName, String location) Gets the deleted Azure key vault.getDeletedAsync(String vaultName, String location) Gets the deleted Azure key vault.com.azure.core.http.rest.Response<DeletedVaultInner> getDeletedWithResponse(String vaultName, String location, com.azure.core.util.Context context) Gets the deleted Azure key vault.Mono<com.azure.core.http.rest.Response<DeletedVaultInner>> getDeletedWithResponseAsync(String vaultName, String location) Gets the deleted Azure key vault.com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> list()The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName) The List operation gets information about the vaults associated with the subscription and within the specified resource group.com.azure.core.http.rest.PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context) The List operation gets information about the vaults associated with the subscription and within the specified resource group.com.azure.core.http.rest.PagedFlux<VaultInner> listByResourceGroupAsync(String resourceGroupName) The List operation gets information about the vaults associated with the subscription and within the specified resource group.com.azure.core.http.rest.PagedFlux<VaultInner> listByResourceGroupAsync(String resourceGroupName, Integer top) The List operation gets information about the vaults associated with the subscription and within the specified resource group.com.azure.core.http.rest.PagedIterable<VaultInner> The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedIterable<VaultInner> listBySubscription(Integer top, com.azure.core.util.Context context) The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedFlux<VaultInner> The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedFlux<VaultInner> The List operation gets information about the vaults associated with the subscription.com.azure.core.http.rest.PagedIterable<DeletedVaultInner> Gets information about the deleted vaults in a subscription.com.azure.core.http.rest.PagedIterable<DeletedVaultInner> listDeleted(com.azure.core.util.Context context) Gets information about the deleted vaults in a subscription.com.azure.core.http.rest.PagedFlux<DeletedVaultInner> Gets information about the deleted vaults in a subscription.voidpurgeDeleted(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.voidpurgeDeleted(String vaultName, String location, com.azure.core.util.Context context) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.purgeDeletedAsync(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeDeletedWithResponseAsync(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.update(String resourceGroupName, String vaultName, VaultPatchParameters parameters) Update a key vault in the specified subscription.updateAccessPolicy(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters) Update access policies in a key vault in the specified subscription.updateAccessPolicyAsync(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters) Update access policies in a key vault in the specified subscription.com.azure.core.http.rest.Response<VaultAccessPolicyParametersInner> updateAccessPolicyWithResponse(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters, com.azure.core.util.Context context) Update access policies in a key vault in the specified subscription.Mono<com.azure.core.http.rest.Response<VaultAccessPolicyParametersInner>> updateAccessPolicyWithResponseAsync(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters) Update access policies in a key vault in the specified subscription.updateAsync(String resourceGroupName, String vaultName, VaultPatchParameters parameters) Update a key vault in the specified subscription.com.azure.core.http.rest.Response<VaultInner> updateWithResponse(String resourceGroupName, String vaultName, VaultPatchParameters parameters, com.azure.core.util.Context context) Update a key vault in the specified subscription.Mono<com.azure.core.http.rest.Response<VaultInner>> updateWithResponseAsync(String resourceGroupName, String vaultName, VaultPatchParameters parameters) Update a key vault in the specified subscription.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.- Returns:
- resource information with extended details along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VaultInner>,VaultInner> beginCreateOrUpdateAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.- Returns:
- the
PollerFluxfor polling of resource information with extended details. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VaultInner>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.- Returns:
- the
SyncPollerfor polling of resource information with extended details. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VaultInner>,VaultInner> beginCreateOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters, com.azure.core.util.Context context) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of resource information with extended details. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<VaultInner> createOrUpdateAsync(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.- Returns:
- resource information with extended details on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.- Returns:
- resource information with extended details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
VaultInner createOrUpdate(String resourceGroupName, String vaultName, VaultCreateOrUpdateParameters parameters, com.azure.core.util.Context context) Create or update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to create or update the vault.context- The context to associate with this operation.- Returns:
- resource information with extended details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<VaultInner>> updateWithResponseAsync(String resourceGroupName, String vaultName, VaultPatchParameters parameters) Update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to patch the vault.- Returns:
- resource information with extended details along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<VaultInner> updateAsync(String resourceGroupName, String vaultName, VaultPatchParameters parameters) Update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to patch the vault.- Returns:
- resource information with extended details on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<VaultInner> updateWithResponse(String resourceGroupName, String vaultName, VaultPatchParameters parameters, com.azure.core.util.Context context) Update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to patch the vault.context- The context to associate with this operation.- Returns:
- resource information with extended details along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
Update a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the server belongs.vaultName- Name of the vault.parameters- Parameters to patch the vault.- Returns:
- resource information with extended details.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String vaultName) Deletes the specified Azure key vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault to delete.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes the specified Azure key vault.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault to delete.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String vaultName, com.azure.core.util.Context context) Deletes the specified Azure key vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault to delete.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the specified Azure key vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault to delete.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VaultInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String vaultName) Gets the specified Azure key vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault.- Returns:
- the specified Azure key vault along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Gets the specified Azure key vault.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VaultInner>- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault.- Returns:
- the specified Azure key vault on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VaultInner> getByResourceGroupWithResponse(String resourceGroupName, String vaultName, com.azure.core.util.Context context) Gets the specified Azure key vault.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault.context- The context to associate with this operation.- Returns:
- the specified Azure key vault along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Gets the specified Azure key vault.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VaultInner>- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- The name of the vault.- Returns:
- the specified Azure key vault.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAccessPolicyWithResponseAsync
Mono<com.azure.core.http.rest.Response<VaultAccessPolicyParametersInner>> updateAccessPolicyWithResponseAsync(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters) Update access policies in a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- Name of the vault.operationKind- Name of the operation.parameters- Access policy to merge into the vault.- Returns:
- parameters for updating the access policy in a vault along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAccessPolicyAsync
Mono<VaultAccessPolicyParametersInner> updateAccessPolicyAsync(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters) Update access policies in a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- Name of the vault.operationKind- Name of the operation.parameters- Access policy to merge into the vault.- Returns:
- parameters for updating the access policy in a vault on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAccessPolicyWithResponse
com.azure.core.http.rest.Response<VaultAccessPolicyParametersInner> updateAccessPolicyWithResponse(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters, com.azure.core.util.Context context) Update access policies in a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- Name of the vault.operationKind- Name of the operation.parameters- Access policy to merge into the vault.context- The context to associate with this operation.- Returns:
- parameters for updating the access policy in a vault along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAccessPolicy
VaultAccessPolicyParametersInner updateAccessPolicy(String resourceGroupName, String vaultName, AccessPolicyUpdateKind operationKind, VaultAccessPolicyParametersInner parameters) Update access policies in a key vault in the specified subscription.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.vaultName- Name of the vault.operationKind- Name of the operation.parameters- Access policy to merge into the vault.- Returns:
- parameters for updating the access policy in a vault.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VaultInner> listByResourceGroupAsync(String resourceGroupName, Integer top) The List operation gets information about the vaults associated with the subscription and within the specified resource group.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.top- Maximum number of results to return.- Returns:
- list of vaults as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroupAsync
The List operation gets information about the vaults associated with the subscription and within the specified resource group.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.- Returns:
- list of vaults as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
The List operation gets information about the vaults associated with the subscription and within the specified resource group.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.- Returns:
- list of vaults as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<VaultInner> listByResourceGroup(String resourceGroupName, Integer top, com.azure.core.util.Context context) The List operation gets information about the vaults associated with the subscription and within the specified resource group.- Parameters:
resourceGroupName- The name of the Resource Group to which the vault belongs.top- Maximum number of results to return.context- The context to associate with this operation.- Returns:
- list of vaults as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscriptionAsync
The List operation gets information about the vaults associated with the subscription.- Parameters:
top- Maximum number of results to return.- Returns:
- list of vaults as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscriptionAsync
com.azure.core.http.rest.PagedFlux<VaultInner> listBySubscriptionAsync()The List operation gets information about the vaults associated with the subscription.- Returns:
- list of vaults as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscription
com.azure.core.http.rest.PagedIterable<VaultInner> listBySubscription()The List operation gets information about the vaults associated with the subscription.- Returns:
- list of vaults as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listBySubscription
com.azure.core.http.rest.PagedIterable<VaultInner> listBySubscription(Integer top, com.azure.core.util.Context context) The List operation gets information about the vaults associated with the subscription.- Parameters:
top- Maximum number of results to return.context- The context to associate with this operation.- Returns:
- list of vaults as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listDeletedAsync
com.azure.core.http.rest.PagedFlux<DeletedVaultInner> listDeletedAsync()Gets information about the deleted vaults in a subscription.- Returns:
- information about the deleted vaults in a subscription as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listDeleted
com.azure.core.http.rest.PagedIterable<DeletedVaultInner> listDeleted()Gets information about the deleted vaults in a subscription.- Returns:
- information about the deleted vaults in a subscription as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listDeleted
com.azure.core.http.rest.PagedIterable<DeletedVaultInner> listDeleted(com.azure.core.util.Context context) Gets information about the deleted vaults in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- information about the deleted vaults in a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getDeletedWithResponseAsync
Mono<com.azure.core.http.rest.Response<DeletedVaultInner>> getDeletedWithResponseAsync(String vaultName, String location) Gets the deleted Azure key vault.- Parameters:
vaultName- The name of the vault.location- The location of the deleted vault.- Returns:
- the deleted Azure key vault along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getDeletedAsync
Gets the deleted Azure key vault.- Parameters:
vaultName- The name of the vault.location- The location of the deleted vault.- Returns:
- the deleted Azure key vault on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getDeletedWithResponse
com.azure.core.http.rest.Response<DeletedVaultInner> getDeletedWithResponse(String vaultName, String location, com.azure.core.util.Context context) Gets the deleted Azure key vault.- Parameters:
vaultName- The name of the vault.location- The location of the deleted vault.context- The context to associate with this operation.- Returns:
- the deleted Azure key vault along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getDeleted
Gets the deleted Azure key vault.- Parameters:
vaultName- The name of the vault.location- The location of the deleted vault.- Returns:
- the deleted Azure key vault.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeDeletedWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> purgeDeletedWithResponseAsync(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPurgeDeletedAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeDeletedAsync(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPurgeDeleted
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeDeleted(String vaultName, String location) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginPurgeDeleted
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginPurgeDeleted(String vaultName, String location, com.azure.core.util.Context context) Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeDeletedAsync
Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeDeleted
Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
purgeDeleted
Permanently deletes the specified vault. aka Purges the deleted Azure key vault.- Parameters:
vaultName- The name of the soft-deleted vault.location- The location of the soft-deleted vault.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
The List operation gets information about the vaults associated with the subscription.- Parameters:
top- Maximum number of results to return.- Returns:
- list of vault resources as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<com.azure.core.management.Resource> listAsync()The List operation gets information about the vaults associated with the subscription.- Returns:
- list of vault resources as paginated response with
PagedFlux. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> list()The List operation gets information about the vaults associated with the subscription.- Returns:
- list of vault resources as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<com.azure.core.management.Resource> list(Integer top, com.azure.core.util.Context context) The List operation gets information about the vaults associated with the subscription.- Parameters:
top- Maximum number of results to return.context- The context to associate with this operation.- Returns:
- list of vault resources as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner>> checkNameAvailabilityWithResponseAsync(VaultCheckNameAvailabilityParameters vaultName) Checks that the vault name is valid and is not already in use.- Parameters:
vaultName- The name of the vault.- Returns:
- the CheckNameAvailability operation response along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityAsync
Mono<CheckNameAvailabilityResultInner> checkNameAvailabilityAsync(VaultCheckNameAvailabilityParameters vaultName) Checks that the vault name is valid and is not already in use.- Parameters:
vaultName- The name of the vault.- Returns:
- the CheckNameAvailability operation response on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameAvailabilityResultInner> checkNameAvailabilityWithResponse(VaultCheckNameAvailabilityParameters vaultName, com.azure.core.util.Context context) Checks that the vault name is valid and is not already in use.- Parameters:
vaultName- The name of the vault.context- The context to associate with this operation.- Returns:
- the CheckNameAvailability operation response along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
CheckNameAvailabilityResultInner checkNameAvailability(VaultCheckNameAvailabilityParameters vaultName) Checks that the vault name is valid and is not already in use.- Parameters:
vaultName- The name of the vault.- Returns:
- the CheckNameAvailability operation response.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-