Interface BackupResourceStorageConfigsNonCrrsClient


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

    • getWithResponse

      com.azure.core.http.rest.Response<BackupResourceConfigResourceInner> getWithResponse(String vaultName, String resourceGroupName, com.azure.core.util.Context context)
      Fetches resource storage 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 resource storage 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.
    • get

      BackupResourceConfigResourceInner get(String vaultName, String resourceGroupName)
      Fetches resource storage 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 resource storage 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<BackupResourceConfigResourceInner> updateWithResponse(String vaultName, String resourceGroupName, BackupResourceConfigResourceInner parameters, com.azure.core.util.Context context)
      Updates vault storage model type.
      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 storage config request.
      context - The context to associate with this operation.
      Returns:
      the resource storage 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

      BackupResourceConfigResourceInner update(String vaultName, String resourceGroupName, BackupResourceConfigResourceInner parameters)
      Updates vault storage model type.
      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 storage config request.
      Returns:
      the resource storage 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.
    • patchWithResponse

      com.azure.core.http.rest.Response<Void> patchWithResponse(String vaultName, String resourceGroupName, BackupResourceConfigResourceInner parameters, com.azure.core.util.Context context)
      Updates vault storage model type.
      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 storage 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.
    • patch

      void patch(String vaultName, String resourceGroupName, BackupResourceConfigResourceInner parameters)
      Updates vault storage model type.
      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 storage 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.