| 1 | package OpenStack::MetaAPI::API::Specs::Compute::v2_1; | ||
| 2 | |||
| 3 | 15 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 15 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 15 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 15 | with 'OpenStack::MetaAPI::API::Specs::Roles::Service'; | |
| 9 | |||
| 10 | 15 | 1; | |
| 11 | |||
| 12 | # | ||
| 13 | # API specs: incomplete need to be continued | ||
| 14 | # url: | ||
| 15 | # https://developer.openstack.org/api-ref/network/v2/index.html?expanded=list-ports-detail#ports | ||
| 16 | # | ||
| 17 | |||
| 18 | =pod | ||
| 19 | |||
| 20 | =encoding UTF-8 | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | OpenStack::MetaAPI::API::Specs::Compute::v2_1 | ||
| 25 | |||
| 26 | =head1 VERSION | ||
| 27 | |||
| 28 | version 0.004 | ||
| 29 | |||
| 30 | =head1 AUTHOR | ||
| 31 | |||
| 32 | Nicolas R <atoomic@cpan.org> | ||
| 33 | |||
| 34 | =head1 COPYRIGHT AND LICENSE | ||
| 35 | |||
| 36 | This software is copyright (c) 2019 by cPanel, Inc. | ||
| 37 | |||
| 38 | This is free software; you can redistribute it and/or modify it under | ||
| 39 | the same terms as the Perl 5 programming language system itself. | ||
| 40 | |||
| 41 | =cut | ||
| 42 | |||
| 43 | __DATA__ | ||
| 44 | --- | ||
| 45 | get: | ||
| 46 | /servers/{server_id}: | ||
| 47 | perl_api: | ||
| 48 | method: server_from_uid | ||
| 49 | type: getfromid | ||
| 50 | uid: '{server_id}' | ||
| 51 | request: | ||
| 52 | path: | ||
| 53 | server_id: | ||
| 54 | required: 1 | ||
| 55 | /servers: | ||
| 56 | perl_api: | ||
| 57 | method: servers | ||
| 58 | type: listable | ||
| 59 | listable_key: 'servers' | ||
| 60 | request: | ||
| 61 | query: | ||
| 62 | host: {} | ||
| 63 | flavor: {} | ||
| 64 | hostname: {} | ||
| 65 | image: {} | ||
| 66 | ip: {} | ||
| 67 | /flavors: | ||
| 68 | perl_api: | ||
| 69 | method: flavors | ||
| 70 | type: listable | ||
| 71 | listable_key: 'flavors' | ||
| 72 | request: | ||
| 73 | query: | ||
| 74 | sort_key: {} | ||
| 75 | sort_dir: {} | ||
| 76 | limit: {} | ||
| 77 | marker: {} | ||
| 78 | minDisk: {} | ||
| 79 | minRam: {} | ||
| 80 | isPublic: {} | ||
| 81 | /os-keypairs: | ||
| 82 | perl_api: | ||
| 83 | method: keypairs | ||
| 84 | type: listable | ||
| 85 | listable_key: 'keypairs' | ||
| 86 | request: | ||
| 87 | query: | ||
| 88 | user_id: {} | ||
| 89 | limit: {} | ||
| 90 | marker: {} | ||