Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

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

MethodUsage as per AWS SDKUsage as per CLM AWS SDK
setInstanceId(String instanceId)
Single instance ID.BMC Cloud Lifecycle Management server ID  
setAttribute(InstanceAttributeName...)   
String/enum InstanceAttributeName
  • blockDeviceMapping
  • disableApiTermination
  • ebsOptimized
  • groupSet
  • instanceInitiatedShutdownBehavior
  • instanceType
  • kernel
  • productCodes
  • ramdisk
  • rootDeviceName
  • sourceDestCheck
  • sriovNetSupport
  • userData
String/enum InstanceAttributeName  
  • blockDeviceMapping
  • disableApiTermination
  • ebsOptimized
  • instanceType
  • kernel
  • rootDeviceName
  • sourceDestCheck  

Response

com.amazonaws.services.ec2.model.DescribeInstanceAttributeResult

MethodBelongs To Usage as per AWS SDKUsage as per CLM AWS SDK                   
getInstanceAttribute()   
AWS   
  • instanceId
  • blockDeviceMapping
  • disableApiTermination
  • ebsOptimized
  • groupSet
  • instanceInitiatedShutdownBehavior
  • instanceType
  • kernel
  • productCodes
  • ramdisk
  • rootDeviceName
  • sourceDestCheck
  • sriovNetSupport
  • userData
  • instanceId
  • blockDeviceMapping
  • disableApiTermination
  • ebsOptimized
  • instanceType
  • kernel
  • rootDeviceName
  • sourceDestCheck

Related topic

CLM AWS SDK use cases

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.

Comments