Information
Unsupported content This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

stopInstances


stopInstances method allows you to stop a previously started service(s) or server instance(s) in BMC Cloud Lifecycle Management.  

This operation can be performed by specifying either of following:  

  • Service ID(s) from BMC Cloud Lifecycle Management.
  • Service name(s) from BMC Cloud Lifecycle Management.
  • Server instance ID(s) from BMC Cloud Lifecycle Management.  

The following table depicts how stopInstances method is used:  

Before you begin

Prior to using this CLM AWS SDK method, ensure that the following prerequisites are met:

Request

Using com.amazonaws.services.ec2.model.StopInstancesRequest

Using com.bmc.cloud.sdk.aws.model.StopServicesRequest

Extends: com.amazonaws.services.ec2.model.StopInstancesRequest

Response

com.amazonaws.services.ec2.model.StopInstancesResult

Method

Belongs To 

AWS SDK Usage 

CLM SDK Usage                    

Remarks

getStoppingInstances()  

AWS 

  • getCurrentState()  

  • getInstanceId()  

  • getPreviousState()  

  • getCurrentState()  

  • getInstanceId()  

  • getPreviousState()  

PENDING,RUNNING, 
SHUTTING_DOWN,TERMINATED, 
STOPPING,STOPPED 

Instance ID is mapped to server ID.

Related topic

CLM-AWS-SDK-use-cases

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC Cloud Lifecycle Management 4.6