AWS SDK for .NET Documentation
AssignVolumeRequest Class
AmazonAmazon.OpsWorks.ModelAssignVolumeRequest Did this page help you?   Yes   No    Tell us about it...
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 MembersConstructorsMethodsProperties



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

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.)
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

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