Interface BackupResourceEncryptionConfigsClient


public interface BackupResourceEncryptionConfigsClient
An instance of this class provides access to all the operations defined in BackupResourceEncryptionConfigsClient.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<BackupResourceEncryptionConfigExtendedResourceInner> getWithResponse(String vaultName, String resourceGroupName, com.azure.core.util.Context context)
      Fetches Vault Encryption config.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      context - The context to associate with this operation.
      Returns:
      the response body 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.
    • get

      Fetches Vault Encryption config.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<Void> updateWithResponse(String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters, com.azure.core.util.Context context)
      Updates Vault encryption config.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      parameters - Vault encryption input config request.
      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.
    • update

      void update(String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters)
      Updates Vault encryption config.
      Parameters:
      vaultName - The name of the recovery services vault.
      resourceGroupName - The name of the resource group where the recovery services vault is present.
      parameters - Vault encryption input config request.
      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.