Interface RestoresClient
-
public interface RestoresClient
An instance of this class provides access to all the operations defined in RestoresClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginTrigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters)
Restores the specified backed up data.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginTrigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters, com.azure.core.util.Context context)
Restores the specified backed up data.void
trigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters)
Restores the specified backed up data.void
trigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters, com.azure.core.util.Context context)
Restores the specified backed up data.
-
-
-
Method Detail
-
beginTrigger
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginTrigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters)
Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.fabricName
- Fabric name associated with the backed up items.containerName
- Container name associated with the backed up items.protectedItemName
- Backed up item to be restored.recoveryPointId
- Recovery point ID which represents the backed up data to be restored.parameters
- resource restore request.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginTrigger
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginTrigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters, com.azure.core.util.Context context)
Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.fabricName
- Fabric name associated with the backed up items.containerName
- Container name associated with the backed up items.protectedItemName
- Backed up item to be restored.recoveryPointId
- Recovery point ID which represents the backed up data to be restored.parameters
- resource restore request.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
trigger
void trigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters)
Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.fabricName
- Fabric name associated with the backed up items.containerName
- Container name associated with the backed up items.protectedItemName
- Backed up item to be restored.recoveryPointId
- Recovery point ID which represents the backed up data to be restored.parameters
- resource restore 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.
-
trigger
void trigger(String vaultName, String resourceGroupName, String fabricName, String containerName, String protectedItemName, String recoveryPointId, RestoreRequestResource parameters, com.azure.core.util.Context context)
Restores the specified backed up data. This is an asynchronous operation. To know the status of this API call, use GetProtectedItemOperationResult API.- Parameters:
vaultName
- The name of the recovery services vault.resourceGroupName
- The name of the resource group where the recovery services vault is present.fabricName
- Fabric name associated with the backed up items.containerName
- Container name associated with the backed up items.protectedItemName
- Backed up item to be restored.recoveryPointId
- Recovery point ID which represents the backed up data to be restored.parameters
- resource restore request.context
- The context to associate with this operation.- 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.
-
-