Disables a gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.
Use this operation for a gateway-VTL that is not reachable or not functioning.
IMPORTANT:Once a gateway is disabled it cannot be enabled.
Declaration Syntax
C# |
DisableGatewayResponse DisableGateway( DisableGatewayRequest disableGatewayRequest )
Parameters
- disableGatewayRequest (DisableGatewayRequest)
- Container for the necessary parameters to execute the DisableGateway service method on AmazonStorageGateway.
Return Value
The response from the DisableGateway service method, as returned by AmazonStorageGateway.
Exceptions
Exception | Condition |
---|---|
InternalServerErrorException | |
InvalidGatewayRequestException |