AWS SDK for .NET Documentation
RegisterVolumeRequest Class
AmazonAmazon.OpsWorks.ModelRegisterVolumeRequest Did this page help you?   Yes   No    Tell us about it...
Container for the parameters to the RegisterVolume operation. Registers an Amazon EBS volume with a specified stack. A volume can be registered with only one stack at a time. If the volume is already registered, you must first deregister it by calling DeregisterVolume. For more information, see Resource Management.

Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.

Declaration Syntax
C#
public class RegisterVolumeRequest : AmazonWebServiceRequest
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RegisterVolumeRequest()()()()
Initializes a new instance of the RegisterVolumeRequest class

Ec2VolumeId
Gets and sets the property Ec2VolumeId.

The Amazon EBS volume ID.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
StackId
Gets and sets the property StackId.

The stack ID.


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithEc2VolumeId(String) Obsolete.
Sets the Ec2VolumeId property

WithStackId(String) Obsolete.
Sets the StackId property

Inheritance Hierarchy
Object
AmazonWebServiceRequest
 RegisterVolumeRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)