Amazon.EC2.Model.CreateVolumeRequest.CreateVolumeRequest C# (CSharp) Method

CreateVolumeRequest() public method

Instantiates CreateVolumeRequest with the parameterized properties
public CreateVolumeRequest ( string availabilityZone, int size ) : System
availabilityZone string The Availability Zone in which to create the volume. Use DescribeAvailabilityZones to list the Availability Zones that are currently available to you.
size int The size of the volume, in GiBs. Constraints: 1-16384 for gp2, 4-16384 for io1, 500-16384 for st1, 500-16384 for sc1, and 1-1024 for standard. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you're creating the volume from a snapshot and don't specify a volume size, the default is the snapshot size.
return System
        public CreateVolumeRequest(string availabilityZone, int size)
        {
            _availabilityZone = availabilityZone;
            _size = size;
        }

Same methods

CreateVolumeRequest::CreateVolumeRequest ( ) : System
CreateVolumeRequest::CreateVolumeRequest ( string availabilityZone, string snapshotId ) : System