You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Andrew Phillips <an...@apache.org> on 2014/09/26 08:52:58 UTC
Re: FW: passing the name while creating a volume in aws-ec2 using
jclouds
>> want to list the volumes with respect to volume name in my api. Please let
>> me know if there is anyway to pass the volume name while creating volume
Since the Volume domain object [1] does not even contain a property
"name", I suspect there is unfortunately currently no way to do this,
no.
Looking at the underlying API call documentation [2], I don't see any
mention of a "name" property, though. Could you indicate which of the
returned properties you would expect to be treated as the name?
ap
[1] http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/domain/Volume.html
[2]
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVolume.html
Re: passing the name while creating a volume in aws-ec2 using
jclouds
Posted by Jeremy Daggett <je...@RACKSPACE.COM>.
EBS volumes do not have names associated with them. If you want to name
it, you would do so by attaching a ³name² tag [1][2] to the EBS volume
using the jclouds EC2 TagApi [3].
HTH!
/jd
[1]
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-Cr
eateTags.html
[2]
http://stackoverflow.com/questions/12797622/how-to-name-an-ec2-ebs-volume-i
n-aws-console
[3]
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/main/java/org/j
clouds/ec2/features/TagApi.java#L81
On 9/25/14, 11:52 PM, "Andrew Phillips" <an...@apache.org> wrote:
>>> want to list the volumes with respect to volume name in my api. Please
>>>let
>>> me know if there is anyway to pass the volume name while creating
>>>volume
>
>Since the Volume domain object [1] does not even contain a property
>"name", I suspect there is unfortunately currently no way to do this,
>no.
>
>Looking at the underlying API call documentation [2], I don't see any
>mention of a "name" property, though. Could you indicate which of the
>returned properties you would expect to be treated as the name?
>
>ap
>
>[1]
>http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/domain/Volume.html
>[2]
>http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-C
>reateVolume.html