Interface BackupResourceVaultConfigsClient


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

      • get

        BackupResourceVaultConfigResourceInner get​(String vaultName,
                                                   String resourceGroupName)
        Fetches resource vault 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:
        backup resource vault config 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<BackupResourceVaultConfigResourceInner> getWithResponse​(String vaultName,
                                                                                                  String resourceGroupName,
                                                                                                  com.azure.core.util.Context context)
        Fetches resource vault 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:
        backup resource vault config 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

        BackupResourceVaultConfigResourceInner update​(String vaultName,
                                                      String resourceGroupName,
                                                      BackupResourceVaultConfigResourceInner parameters)
        Updates vault security 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 - resource config request.
        Returns:
        backup resource vault config 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<BackupResourceVaultConfigResourceInner> updateWithResponse​(String vaultName,
                                                                                                     String resourceGroupName,
                                                                                                     BackupResourceVaultConfigResourceInner parameters,
                                                                                                     com.azure.core.util.Context context)
        Updates vault security 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 - resource config request.
        context - The context to associate with this operation.
        Returns:
        backup resource vault config 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.
      • put

        BackupResourceVaultConfigResourceInner put​(String vaultName,
                                                   String resourceGroupName,
                                                   BackupResourceVaultConfigResourceInner parameters)
        Updates vault security 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 - resource config request.
        Returns:
        backup resource vault config 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.
      • putWithResponse

        com.azure.core.http.rest.Response<BackupResourceVaultConfigResourceInner> putWithResponse​(String vaultName,
                                                                                                  String resourceGroupName,
                                                                                                  BackupResourceVaultConfigResourceInner parameters,
                                                                                                  com.azure.core.util.Context context)
        Updates vault security 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 - resource config request.
        context - The context to associate with this operation.
        Returns:
        backup resource vault config 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.