Amazon.AutoScaling.AmazonAutoScalingClient.SuspendProcesses C# (CSharp) Method

SuspendProcesses() public method

Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.

Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly.

To resume processes that have been suspended, use ResumeProcesses.

For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because the resource is in use. ///
public SuspendProcesses ( SuspendProcessesRequest request ) : SuspendProcessesResponse
request SuspendProcessesRequest Container for the necessary parameters to execute the SuspendProcesses service method.
return SuspendProcessesResponse
        public SuspendProcessesResponse SuspendProcesses(SuspendProcessesRequest request)
        {
            var marshaller = new SuspendProcessesRequestMarshaller();
            var unmarshaller = SuspendProcessesResponseUnmarshaller.Instance;

            return Invoke<SuspendProcessesRequest,SuspendProcessesResponse>(request, marshaller, unmarshaller);
        }
AmazonAutoScalingClient