RolesList

From $1

    Description

    This API allows you to list all your roles in specified region
     

    Changelog

    API version Changes
     2.0.0 Initial version

     

    Request Parameters

    Name Description Required
     Platform Cloud platform.

    Example: ec2
    No
     Name List roles with specified role name.

    Example: app64
    No
     Prefix List all roles begins with specified prefix.

    Example: mysql-custom
    No
     ImageID List roles with specified image id.

    Example: ami-abcdef12
    No

     

    Response Elements

    Name Description
     Name Role name
     Owner Role owner
     Category Role category (eg. Application servers)
     Platform Role platform (eg. ec2)
     ImageID Role Image ID
     Architecture Role architecture: i386 or x86_64
     BuildDate Role build date

     

    Sample Request

    https://api.scalr.net/?Action=RolesList
    &Platform=ec2
    &Prefix=app
    &Version=2.0.0
    &KeyID=<Your Scalr API Key ID>
    &TimeStamp=2009-06-19T05%3A13%3A00.000Z
    &Signature=<URLEncode(Base64Encode(Signature))>

     

    Sample Response

    <?xml version="1.0"?>
    <RolesListResponse>
        <TransactionID>2f2a99b2-1631-4733-aa4a-c43303483ac4</TransactionID>
        <RoleSet>
                <Item>
                        <Name>app</Name>
                        <Owner>Scalr</Owner>
                        <Platform>ec2</Platform>
                        <Category>Application servers</Category>
                        <ImageID>ami-bac420d3</ImageID>
                        <Architecture>i386</Architecture>
                        <BuildDate>2009-01-30 14:52:20</BuildDate>
                </Item>
                <Item>
                        <Name>app64</Name>
                        <Owner>Scalr</Owner>
                        <Platform>ec2</Platform>
                        <Category>Application servers</Category>
                        <ImageID>ami-0ac62263</ImageID>
                        <Architecture>x86_64</Architecture>
                        <BuildDate>2009-01-30 14:52:20</BuildDate>
                </Item>
        </RoleSet>
    </RolesListResponse>


     

    Tags: (Edit tags)
    • No tags
     
    Comments (0)
    You must login to post a comment.

     
    Powered by MindTouch Core