public VaultInner update(String resourceGroupName, String vaultName, PatchVault vault) {
        return updateWithServiceResponseAsync(resourceGroupName, vaultName, vault).toBlocking().single().body();
    }
public VaultInner update ( String resourceGroupName , String vaultName , PatchVault vault ) { return updateWithServiceResponseAsync ( resourceGroupName , vaultName , vault ) . toBlocking ( ) . single ( ) . body ( ) ; }
Updates the vault.

@param resourceGroupName The name of the resource group where the recovery services vault is present.
@param vaultName The name of the recovery services vault.
@param vault Recovery Services Vault to be created.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the VaultInner object if successful.