AWS SDK Version 3 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.

Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to EnableVolumeIOAsync.

Namespace: Amazon.EC2
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public abstract EnableVolumeIOResponse EnableVolumeIO(
         EnableVolumeIORequest request
)

Parameters

request
Type: Amazon.EC2.Model.EnableVolumeIORequest

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

Return Value


The response from the EnableVolumeIO service method, as returned by EC2.

Examples

This example enables I/O on volume ``vol-1234567890abcdef0``.

To enable I/O for a volume


var client = new AmazonEC2Client();
var response = client.EnableVolumeIO(new EnableVolumeIORequest 
{
    VolumeId = "vol-1234567890abcdef0"
});


            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also