AWS SDK for .NET Documentation
DisableGateway Method (disableGatewayRequest)
AmazonAmazon.StorageGatewayAmazonStorageGatewayDisableGateway(DisableGatewayRequest) Did this page help you?   Yes   No    Tell us about it...

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

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)