Interface BackupResourceVaultConfigs
-
public interface BackupResourceVaultConfigs
Resource collection API of BackupResourceVaultConfigs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupResourceVaultConfigResource
get(String vaultName, String resourceGroupName)
Fetches resource vault config.com.azure.core.http.rest.Response<BackupResourceVaultConfigResource>
getWithResponse(String vaultName, String resourceGroupName, com.azure.core.util.Context context)
Fetches resource vault config.BackupResourceVaultConfigResource
put(String vaultName, String resourceGroupName, BackupResourceVaultConfigResourceInner parameters)
Updates vault security config.com.azure.core.http.rest.Response<BackupResourceVaultConfigResource>
putWithResponse(String vaultName, String resourceGroupName, BackupResourceVaultConfigResourceInner parameters, com.azure.core.util.Context context)
Updates vault security config.BackupResourceVaultConfigResource
update(String vaultName, String resourceGroupName, BackupResourceVaultConfigResourceInner parameters)
Updates vault security config.com.azure.core.http.rest.Response<BackupResourceVaultConfigResource>
updateWithResponse(String vaultName, String resourceGroupName, BackupResourceVaultConfigResourceInner parameters, com.azure.core.util.Context context)
Updates vault security config.
-
-
-
Method Detail
-
get
BackupResourceVaultConfigResource 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<BackupResourceVaultConfigResource> 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
BackupResourceVaultConfigResource 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<BackupResourceVaultConfigResource> 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
BackupResourceVaultConfigResource 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<BackupResourceVaultConfigResource> 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.
-
-