Interface BackupResourceStorageConfigsNonCrrs


  • public interface BackupResourceStorageConfigsNonCrrs
    Resource collection API of BackupResourceStorageConfigsNonCrrs.
    • Method Detail

      • get

        BackupResourceConfigResource 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.
      • getWithResponse

        com.azure.core.http.rest.Response<BackupResourceConfigResource> 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.
      • update

        BackupResourceConfigResource 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.
      • updateWithResponse

        com.azure.core.http.rest.Response<BackupResourceConfigResource> 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.
      • 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.
      • 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.