Container for the parameters to the AssignVolume operation.
Assigns one of the stack's registered Amazon EBS volumes to a specified instance.
The volume must first be registered with the stack by calling RegisterVolume.
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 AssignVolumeRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
AssignVolumeRequest()()()() | Initializes a new instance of the AssignVolumeRequest class | |
Equals(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.) | |
InstanceId |
Gets and sets the property InstanceId.
The instance ID. | |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
VolumeId |
Gets and sets the property VolumeId.
The volume ID. | |
WithInstanceId(String) | Obsolete.
Sets the InstanceId property
| |
WithVolumeId(String) | Obsolete.
Sets the VolumeId property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
AssignVolumeRequest |