Container for the parameters to the TerminateEnvironment operation.
Namespace: Amazon.ElasticBeanstalk.ModelTerminates the specified environment.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class TerminateEnvironmentRequest : AmazonWebServiceRequest
Public Class TerminateEnvironmentRequest _ Inherits AmazonWebServiceRequest
public ref class TerminateEnvironmentRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| TerminateEnvironmentRequest()()()() | Initializes a new instance of the TerminateEnvironmentRequest class | |
| EnvironmentId |
The ID of the environment to terminate. Condition: You must specify either this or an EnvironmentName, or both. If you do not specify
either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
| |
| EnvironmentName |
The name of the environment to terminate. Condition: You must specify either this or an EnvironmentId, or both. If you do not specify
either, AWS Elastic Beanstalk returns MissingRequiredParameter error.
Constraints: | |
| 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.) | |
| TerminateResources |
Indicates whether the associated AWS resources should shut down when the environment is terminated: Field Valuetrue: (default) The user AWS resources (for example, the Auto Scaling group, LoadBalancer, etc.) are terminated along with the environment.Field Valuefalse: The environment is removed from the AWS Elastic Beanstalk but the AWS resources continue to operate.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithEnvironmentId(String) |
Sets the EnvironmentId property
| |
| WithEnvironmentName(String) |
Sets the EnvironmentName property
| |
| WithTerminateResources(Boolean) |
Sets the TerminateResources property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.ElasticBeanstalk.Model..::..TerminateEnvironmentRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.ElasticBeanstalk.Model..::..TerminateEnvironmentRequest