describeInstances
The describeInstances method provides information about service(s) or server(s) from 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 describeInstances method is used:
Before you begin
Prior to using this CLM AWS SDK method, ensure that the following prerequisites are met:
- You have supplied the configuration parameters to the CLMEC2Client constructor or have specified in the configuration file. See CLM AWS SDK syntax and usage for details.
- Supply either of the three:
- List of valid server ids from BMC Cloud Lifecycle Management. You can obtain the server ids using the getInstanceId() method of com.bmc.cloud.sdk.aws.model.ServerInstance
- List of valid service ids from BMC Cloud Lifecycle Management. You can obtain the service ids using the getServiceId() method of com.bmc.cloud.sdk.aws.model.ServerInstance
- List of valid service names from BMC Cloud Lifecycle Management. You can obtain the service names using the getServiceName() method of com.bmc.cloud.sdk.aws.model.ServerInstance
Request
Using com.amazonaws.services.ec2.model.DescribeInstancesRequest
Using com.bmc.cloud.sdk.aws.model.DescribeServicesRequest
Extends com.amazonaws.services.ec2.model.DescribeInstancesRequest
Response
com.amazonaws.services.ec2.model.DescribeInstancesResult
com.amazonaws.services.ec2.model.Reservation
This is an AWS entity. Same class is used in CLM AWS SDK. Logically it is mapped to BMC Cloud Lifecycle Management resource set.
com.bmc.cloud.sdk.aws.model.ServerInstance
Extends: com.amazonaws.services.ec2.model.Instance
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*