This operation creates a cached volume on a specified cached gateway. This operation is supported only for the gateway-cached volume architecture.
NOTE: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.
C# |
public class CreateCachediSCSIVolumeRequest : AmazonWebServiceRequest
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
CreateCachediSCSIVolumeRequest()()()() | Initializes a new instance of the CreateCachediSCSIVolumeRequest class | |
ClientToken | ||
Equals(Object) | (Inherited from Object.) | |
GatewayARN |
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways operation to return a list of gateways for your account and
region.
Constraints: | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
NetworkInterfaceId | ||
SnapshotId | ||
TargetName | ||
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
VolumeSizeInBytes | ||
WithClientToken(String) | Obsolete.
Sets the ClientToken property
| |
WithGatewayARN(String) | Obsolete.
Sets the GatewayARN property
| |
WithNetworkInterfaceId(String) | Obsolete.
Sets the NetworkInterfaceId property
| |
WithSnapshotId(String) | Obsolete.
Sets the SnapshotId property
| |
WithTargetName(String) | Obsolete.
Sets the TargetName property
| |
WithVolumeSizeInBytes(Int64) | Obsolete.
Sets the VolumeSizeInBytes property
|
Object | ||
AmazonWebServiceRequest | ||
CreateCachediSCSIVolumeRequest |