describeInstanceAttribute
describeInstanceAttribute method of CLM AWS SDK describes the attribute of server instance from BMC Cloud Lifecycle Management. It is used by providing server instance ID and attribute name in DescribeInstanceAttributeRequest
Note
The following instance attributes are supported in this release:
- BLOCK_DEVICE_MAPPING
- DISABLE_API_TERMINATION
- EBS_OPTIMIZED
- INSTANCE_TYPE
- KERNEL
- ROOT_DEVICE_NAME
- SOURCE_DEST_CHECK
Before you begin
Prior to using the describeInstanceAttribute of CLM AWS SDK, 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 a list of valid server ID(s) from BMC Cloud Lifecycle Management. You can obtain the server ID(s) using the getInstanceId() method of com.bmc.cloud.sdk.aws.model.ServerInstance
Request
Using com.amazonaws.services.ec2.model.DescribeInstanceAttributeRequest
Method | Usage as per AWS SDK | Usage as per CLM AWS SDK |
---|---|---|
setInstanceId(String instanceId) | Single instance ID. | BMC Cloud Lifecycle Management server ID |
setAttribute(InstanceAttributeName...) | String/enum InstanceAttributeName
| String/enum InstanceAttributeName
|
Response
com.amazonaws.services.ec2.model.DescribeInstanceAttributeResult
Method | Belongs To | Usage as per AWS SDK | Usage as per CLM AWS SDK |
---|---|---|---|
getInstanceAttribute() | AWS |
|
|
Comments
Log in or register to comment.