@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSBackupGateway
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSBackupGateway
instead.
Backup gateway connects Backup to your hypervisor, so you can create, store, and restore backups of your virtual machines (VMs) anywhere, whether on-premises or in the VMware Cloud (VMC) on Amazon Web Services.
Add on-premises resources by connecting to a hypervisor through a gateway. Backup will automatically discover the resources in your hypervisor.
Use Backup to assign virtual or on-premises resources to a backup plan, or run on-demand backups. Once you have backed up your resources, you can view them and restore them like any resource supported by Backup.
To download the Amazon Web Services software to get started, navigate to the Backup console, choose Gateways, then choose Create gateway.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
AssociateGatewayToServerResult |
associateGatewayToServer(AssociateGatewayToServerRequest associateGatewayToServerRequest)
Associates a backup gateway with your server.
|
CreateGatewayResult |
createGateway(CreateGatewayRequest createGatewayRequest)
Creates a backup gateway.
|
DeleteGatewayResult |
deleteGateway(DeleteGatewayRequest deleteGatewayRequest)
Deletes a backup gateway.
|
DeleteHypervisorResult |
deleteHypervisor(DeleteHypervisorRequest deleteHypervisorRequest)
Deletes a hypervisor.
|
DisassociateGatewayFromServerResult |
disassociateGatewayFromServer(DisassociateGatewayFromServerRequest disassociateGatewayFromServerRequest)
Disassociates a backup gateway from the specified server.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ImportHypervisorConfigurationResult |
importHypervisorConfiguration(ImportHypervisorConfigurationRequest importHypervisorConfigurationRequest)
Connect to a hypervisor by importing its configuration.
|
ListGatewaysResult |
listGateways(ListGatewaysRequest listGatewaysRequest)
Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region.
|
ListHypervisorsResult |
listHypervisors(ListHypervisorsRequest listHypervisorsRequest)
Lists your hypervisors.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
|
ListVirtualMachinesResult |
listVirtualMachines(ListVirtualMachinesRequest listVirtualMachinesRequest)
Lists your virtual machines.
|
PutMaintenanceStartTimeResult |
putMaintenanceStartTime(PutMaintenanceStartTimeRequest putMaintenanceStartTimeRequest)
Set the maintenance start time for a gateway.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Tag the resource.
|
TestHypervisorConfigurationResult |
testHypervisorConfiguration(TestHypervisorConfigurationRequest testHypervisorConfigurationRequest)
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its
resources.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the resource.
|
UpdateGatewayInformationResult |
updateGatewayInformation(UpdateGatewayInformationRequest updateGatewayInformationRequest)
Updates a gateway's name.
|
UpdateHypervisorResult |
updateHypervisor(UpdateHypervisorRequest updateHypervisorRequest)
Updates a hypervisor metadata, including its host, username, and password.
|
static final String ENDPOINT_PREFIX
AssociateGatewayToServerResult associateGatewayToServer(AssociateGatewayToServerRequest associateGatewayToServerRequest)
Associates a backup gateway with your server. After you complete the association process, you can back up and restore your VMs through the gateway.
associateGatewayToServerRequest
- ValidationException
- The operation did not succeed because a validation error occurred.ConflictException
- The operation cannot proceed because it is not supported.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.CreateGatewayResult createGateway(CreateGatewayRequest createGatewayRequest)
Creates a backup gateway. After you create a gateway, you can associate it with a server using the
AssociateGatewayToServer
operation.
createGatewayRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.DeleteGatewayResult deleteGateway(DeleteGatewayRequest deleteGatewayRequest)
Deletes a backup gateway.
deleteGatewayRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.DeleteHypervisorResult deleteHypervisor(DeleteHypervisorRequest deleteHypervisorRequest)
Deletes a hypervisor.
deleteHypervisorRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.AccessDeniedException
- The operation cannot proceed because you have insufficient permissions.ResourceNotFoundException
- A resource that is required for the action wasn't found.DisassociateGatewayFromServerResult disassociateGatewayFromServer(DisassociateGatewayFromServerRequest disassociateGatewayFromServerRequest)
Disassociates a backup gateway from the specified server. After the disassociation process finishes, the gateway can no longer access the virtual machines on the server.
disassociateGatewayFromServerRequest
- ValidationException
- The operation did not succeed because a validation error occurred.ConflictException
- The operation cannot proceed because it is not supported.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.ImportHypervisorConfigurationResult importHypervisorConfiguration(ImportHypervisorConfigurationRequest importHypervisorConfigurationRequest)
Connect to a hypervisor by importing its configuration.
importHypervisorConfigurationRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.AccessDeniedException
- The operation cannot proceed because you have insufficient permissions.ListGatewaysResult listGateways(ListGatewaysRequest listGatewaysRequest)
Lists backup gateways owned by an Amazon Web Services account in an Amazon Web Services Region. The returned list is ordered by gateway Amazon Resource Name (ARN).
listGatewaysRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ListHypervisorsResult listHypervisors(ListHypervisorsRequest listHypervisorsRequest)
Lists your hypervisors.
listHypervisorsRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags applied to the resource identified by its Amazon Resource Name (ARN).
listTagsForResourceRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.ListVirtualMachinesResult listVirtualMachines(ListVirtualMachinesRequest listVirtualMachinesRequest)
Lists your virtual machines.
listVirtualMachinesRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.PutMaintenanceStartTimeResult putMaintenanceStartTime(PutMaintenanceStartTimeRequest putMaintenanceStartTimeRequest)
Set the maintenance start time for a gateway.
putMaintenanceStartTimeRequest
- ValidationException
- The operation did not succeed because a validation error occurred.ConflictException
- The operation cannot proceed because it is not supported.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Tag the resource.
tagResourceRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.TestHypervisorConfigurationResult testHypervisorConfiguration(TestHypervisorConfigurationRequest testHypervisorConfigurationRequest)
Tests your hypervisor configuration to validate that backup gateway can connect with the hypervisor and its resources.
testHypervisorConfigurationRequest
- ValidationException
- The operation did not succeed because a validation error occurred.ConflictException
- The operation cannot proceed because it is not supported.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from the resource.
untagResourceRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.UpdateGatewayInformationResult updateGatewayInformation(UpdateGatewayInformationRequest updateGatewayInformationRequest)
Updates a gateway's name. Specify which gateway to update using the Amazon Resource Name (ARN) of the gateway in your request.
updateGatewayInformationRequest
- ValidationException
- The operation did not succeed because a validation error occurred.ConflictException
- The operation cannot proceed because it is not supported.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.ResourceNotFoundException
- A resource that is required for the action wasn't found.UpdateHypervisorResult updateHypervisor(UpdateHypervisorRequest updateHypervisorRequest)
Updates a hypervisor metadata, including its host, username, and password. Specify which hypervisor to update using the Amazon Resource Name (ARN) of the hypervisor in your request.
updateHypervisorRequest
- ValidationException
- The operation did not succeed because a validation error occurred.InternalServerException
- The operation did not succeed because an internal error occurred. Try again later.AccessDeniedException
- The operation cannot proceed because you have insufficient permissions.ResourceNotFoundException
- A resource that is required for the action wasn't found.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.