C# 클래스 Amazon.EC2.Model.ResetInstanceAttributeRequest

Container for the parameters to the ResetInstanceAttribute operation. Resets an attribute of an instance to its default value. To reset the kernel or ramdisk, the instance must be in a stopped state. To reset the sourceDestCheck, the instance can be either running or stopped.

The sourceDestCheck attribute controls whether source/destination checking is enabled. The default value is true, which means checking is enabled. This value must be false for a NAT instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

상속: AmazonEC2Request
파일 보기 프로젝트 열기: aws/aws-sdk-net 1 사용 예제들

공개 메소드들

메소드 설명
ResetInstanceAttributeRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

ResetInstanceAttributeRequest ( string instanceId, InstanceAttributeName attribute ) : System

Instantiates ResetInstanceAttributeRequest with the parameterized properties

비공개 메소드들

메소드 설명
IsSetAttribute ( ) : bool
IsSetInstanceId ( ) : bool

메소드 상세

ResetInstanceAttributeRequest() 공개 메소드

Empty constructor used to set properties independently even when a simple constructor is available
public ResetInstanceAttributeRequest ( ) : System
리턴 System

ResetInstanceAttributeRequest() 공개 메소드

Instantiates ResetInstanceAttributeRequest with the parameterized properties
public ResetInstanceAttributeRequest ( string instanceId, InstanceAttributeName attribute ) : System
instanceId string The ID of the instance.
attribute InstanceAttributeName The attribute to reset. You can only reset the following attributes: kernel | ramdisk | sourceDestCheck. To change an instance attribute, use ModifyInstanceAttribute.
리턴 System