Return owner info AWS.servers.get()

13 views
Skip to first unread message

sreenivas narayan

unread,
Oct 25, 2017, 4:15:35 PM10/25/17
to ruby-fog
Hello Guys,

I want to know if it is possible to get owner info from AWS.servers.get(). I cannot find the key value for owner in documentation. key['owner'] is not working.



<Fog::AWS::Compute::Server
  id="i-5c973972",
  ami_launch_index=0,
  availability_zone="us-east-1b",
  block_device_mapping=[],
  client_token=nil,
  dns_name="ec2-25-2-474-44.compute-1.amazonaws.com",
  groups=["default"],
  flavor_id="m1.small",
  image_id="test",
  ip_address="25.2.474.44",
  kernel_id="aki-4e1e1da7",
  key_name=nil,
  created_at=Mon Nov 29 18:09:34 -0500 2010,
  monitoring=false,
  product_codes=[],
  private_dns_name="ip-19-76-384-60.ec2.internal",
  private_ip_address="19.76.384.60",
  ramdisk_id="ari-0b3fff5c",
  reason=nil,
  root_device_name=nil,
  root_device_type="instance-store",
  state="running",
  state_reason={},
  subnet_id=nil,
  tags={},
  user_data=nil


Thanks
Sreenivas
Reply all
Reply to author
Forward
0 new messages