Interface BackupResourceEncryptionConfigs
-
public interface BackupResourceEncryptionConfigs
Resource collection API of BackupResourceEncryptionConfigs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BackupResourceEncryptionConfigExtendedResource
get(String vaultName, String resourceGroupName)
Fetches Vault Encryption config.com.azure.core.http.rest.Response<BackupResourceEncryptionConfigExtendedResource>
getWithResponse(String vaultName, String resourceGroupName, com.azure.core.util.Context context)
Fetches Vault Encryption config.void
update(String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters)
Updates Vault encryption config.com.azure.core.http.rest.Response<Void>
updateWithResponse(String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters, com.azure.core.util.Context context)
Updates Vault encryption config.
-
-
-
Method Detail
-
get
BackupResourceEncryptionConfigExtendedResource get(String vaultName, String resourceGroupName)
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.
-
getWithResponse
com.azure.core.http.rest.Response<BackupResourceEncryptionConfigExtendedResource> 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.
-
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.
-
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.
-
-