AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 3.5
 
This operation creates a cached volume on a specified cached gateway. This operation is supported only for the gateway-cached volume architecture. Cache storage must be allocated to the gateway before you can create a cached volume. Use the AddCache operation to add cache storage to a gateway.

In the request, you must specify the gateway, size of the volume in bytes, the iSCSI target name, an IP address on which to expose the target, and a unique client token. In response, AWS Storage Gateway creates the volume and returns information about it such as the volume Amazon Resource Name (ARN), its size, and the iSCSI target ARN that initiators can use to connect to the volume target.

Namespace: Amazon.StorageGateway
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public virtual CreateCachediSCSIVolumeResponse CreateCachediSCSIVolume(
         CreateCachediSCSIVolumeRequest request
)

Parameters

request
Type: Amazon.StorageGateway.Model.CreateCachediSCSIVolumeRequest

Container for the necessary parameters to execute the CreateCachediSCSIVolume service method.

Return Value
Type: Amazon.StorageGateway.Model.CreateCachediSCSIVolumeResponse
The response from the CreateCachediSCSIVolume service method, as returned by StorageGateway.

Exceptions

ExceptionCondition
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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5