AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
If the cache disk you are resetting contains data that has not been uploaded to Amazon S3 yet, that data can be lost. After you reset cache disks, there will be no configured cache disks left in the gateway, so you must configure at least one new cache disk for your gateway to function properly.
Namespace: Amazon.StorageGateway
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual ResetCacheResponse ResetCache( String gatewayARN )
A property of ResetCacheRequest used to execute the ResetCache service method.
Exception | Condition |
---|---|
InternalServerErrorException | An internal server error has occurred during the request. See the error and message fields for more information. |
InvalidGatewayRequestException | An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5