没有合适的资源?快使用搜索试试~ 我知道了~
首页OpenStack BlockStorage API 完整参考
OpenStack BlockStorage API 完整参考
需积分: 10 0 下载量 5 浏览量
更新于2024-07-16
收藏 6.77MB PDF 举报
"bk-api-ref.pdf 是OpenStack Block Storage API的完整参考文档,涵盖了API版本、扩展、限制和卷管理等多个方面。"
OpenStack是一个开源的云计算平台,它提供了多种服务,包括计算、存储和网络等。Block Storage服务,通常称为Cinder,是OpenStack中的块存储组件,用于提供持久化的块设备,这些设备可以被附加到运行中的实例上。"bk-api-ref.pdf"是针对OpenStack Block Storage API的详细参考指南,旨在帮助开发者和管理员理解如何与Cinder进行交互。
文档中提到的API版本管理是OpenStack服务的一个关键特性。API版本控制允许服务随着时间推移进行升级,同时保持向后兼容性。在OpenStack中,可以通过列出所有可用的API版本来了解当前系统的状态,并查看特定版本的详细信息。
API扩展(extensions)是OpenStack系统中增加新功能或改进现有功能的方式。开发者可以列出所有的API扩展,以了解Cinder提供的额外操作和特性。
限制(limits)部分描述了用户或系统在使用Cinder服务时可能遇到的资源限制。例如,用户可以查询绝对限制,以了解他们可以创建的卷数量、容量大小等。
卷(volumes)是Block Storage的核心,文档详细阐述了如何通过API来管理卷。包括创建新卷、列出卷、获取卷的详细信息以及更新卷的属性。此外,还有列出详细卷信息的选项,这对于监控和管理存储资源至关重要。
除了上述内容,文档还可能涵盖其他操作,如删除卷、附加和分离卷到实例、备份和恢复卷,以及卷快照的创建和管理。这些API接口使开发者能够构建自动化流程,以高效地管理和利用OpenStack Block Storage服务。
总而言之,"bk-api-ref.pdf"是开发者和管理员的宝贵资源,它详细列出了OpenStack Block Storage API的所有操作,有助于实现灵活、可靠且可扩展的存储解决方案。通过理解和运用这个文档中的信息,用户可以更好地集成和操作OpenStack的块存储服务。
API Complete Reference November 4, 2015
xvi
9.4.4. List roles for user ............................................................................... 884
10. Identity API v2.0 extensions (SUPPORTED) ............................................................. 885
10.1. OS-KSADM admin extension ....................................................................... 886
10.1.1. List users .......................................................................................... 888
10.1.2. Create user ...................................................................................... 889
10.1.3. Update user ..................................................................................... 890
10.1.4. Delete user ...................................................................................... 891
10.1.5. Enable user ...................................................................................... 892
10.1.6. List global roles for user ................................................................... 893
10.1.7. Grant global role to user .................................................................. 895
10.1.8. Delete global role from user ............................................................. 896
10.1.9. Create tenant .................................................................................. 897
10.1.10. Update tenant ............................................................................... 898
10.1.11. Delete tenant ................................................................................. 899
10.1.12. List users on a tenant ..................................................................... 900
10.1.13. Grant roles to user on tenant ......................................................... 902
10.1.14. Revoke role from user on tenant .................................................... 903
10.1.15. Create role ..................................................................................... 904
10.1.16. Show role information by name ..................................................... 905
10.1.17. Show role information by ID .......................................................... 906
10.1.18. Delete role ..................................................................................... 907
10.1.19. List roles ......................................................................................... 908
10.1.20. List services .................................................................................... 909
10.1.21. Create service ................................................................................. 910
10.1.22. Show service information by name ................................................. 911
10.1.23. Shows service information by ID ..................................................... 912
10.1.24. Delete service ................................................................................. 913
10.2. OS-KSCATALOG admin extension ................................................................ 913
10.2.1. List endpoints .................................................................................. 914
10.2.2. Create endpoint ............................................................................... 916
10.2.3. Get endpoint ................................................................................... 917
10.2.4. Delete endpoint ............................................................................... 918
10.2.5. List endpoint templates .................................................................... 919
10.2.6. Create endpoint template ................................................................ 921
10.2.7. Get endpoint template ..................................................................... 923
10.2.8. Update endpoint template ............................................................... 924
10.2.9. Delete endpoint template. ............................................................... 926
10.3. OS-KSEC2 admin extension .......................................................................... 926
10.3.1. List credentials ................................................................................. 927
10.3.2. Grant credential to user ................................................................... 929
10.3.3. Get user credentials ......................................................................... 930
10.3.4. Update user credentials .................................................................... 931
10.3.5. Delete user credentials ..................................................................... 932
10.3.6. List credentials by type ..................................................................... 933
10.4. OS-KSS3 admin extension ............................................................................ 934
10.4.1. List credentials ................................................................................. 935
10.4.2. Grant credential to user ................................................................... 937
10.4.3. Get user credentials ......................................................................... 938
10.4.4. Update user credentials .................................................................... 939
10.4.5. Revoke user credentials .................................................................... 940
10.4.6. List credentials by type ..................................................................... 941
API Complete Reference November 4, 2015
xvii
10.5. OS-KSVALIDATE admin extension ................................................................ 942
10.5.1. Validate token ................................................................................. 943
10.5.2. Check token ..................................................................................... 945
10.5.3. List endpoints for token ................................................................... 946
11. Image service API v2 (CURRENT) ............................................................................ 948
11.1. API versions ................................................................................................ 950
11.1.1. List API versions ............................................................................... 951
11.2. Images ........................................................................................................ 952
11.2.1. Create image ................................................................................... 953
11.2.2. List images ....................................................................................... 955
11.2.3. Get image details ............................................................................. 959
11.2.4. Update image .................................................................................. 960
11.2.5. Delete image ................................................................................... 963
11.2.6. Reactivate image .............................................................................. 964
11.2.7. Deactivate image ............................................................................. 965
11.3. Image data ................................................................................................. 966
11.3.1. Upload binary image data ................................................................ 967
11.3.2. Download binary image data ........................................................... 968
11.4. Image tags ................................................................................................. 968
11.4.1. Add image tag ................................................................................. 970
11.4.2. Delete image tag ............................................................................. 971
11.5. Members .................................................................................................... 971
11.5.1. Create image member ...................................................................... 972
11.5.2. List image members ......................................................................... 974
11.5.3. Show image member details ............................................................ 976
11.5.4. Delete image member ...................................................................... 977
11.5.5. Update image member .................................................................... 978
11.6. Image schemas ........................................................................................... 978
11.6.1. Get images schema .......................................................................... 980
11.6.2. Get image schema ........................................................................... 985
11.6.3. Get image members schema ............................................................ 990
11.6.4. Get image member schema .............................................................. 992
11.7. Metadata definition resource types ............................................................. 993
11.7.1. List resource types ............................................................................ 994
11.7.2. Create resource type association ...................................................... 995
11.7.3. List resource type associations .......................................................... 996
11.7.4. Remove resource type association .................................................... 997
11.8. Metadata definition namespaces ................................................................ 997
11.8.1. Create namespace ............................................................................ 998
11.8.2. List namespaces ............................................................................. 1000
11.8.3. Get namespaces details .................................................................. 1003
11.8.4. Update namespace ........................................................................ 1006
11.8.5. Delete namespace .......................................................................... 1007
11.9. Metadata definition properties ................................................................. 1007
11.9.1. Create property .............................................................................. 1008
11.9.2. List properties ................................................................................ 1010
11.9.3. Get property definition .................................................................. 1013
11.9.4. Update property definition ............................................................. 1014
11.9.5. Remove property definition ............................................................ 1015
11.10. Metadata definition objects .................................................................... 1015
11.10.1. Create object ............................................................................... 1016
API Complete Reference November 4, 2015
xviii
11.10.2. List objects ................................................................................... 1018
11.10.3. Get object definition .................................................................... 1022
11.10.4. Update object definition .............................................................. 1024
11.10.5. Delete property definition ............................................................ 1026
11.11. Metadata definition tags ......................................................................... 1026
11.11.1. Create tags ................................................................................... 1027
11.11.2. List tags ....................................................................................... 1028
11.11.3. Delete all tag definitions .............................................................. 1029
11.11.4. Add tag definition ........................................................................ 1030
11.11.5. Get tag definition ......................................................................... 1031
11.11.6. Update tag definition ................................................................... 1032
11.11.7. Delete tag definition .................................................................... 1033
11.12. Metadata definition schemas .................................................................. 1033
11.12.1. Get metadata definition namespace schema ................................. 1034
11.12.2. Get metadata definition namespaces schema ................................ 1038
11.12.3. Get metadata definition object schema ........................................ 1043
11.12.4. Get metadata definition objects schema ....................................... 1046
11.12.5. Get metadata definition property schema ..................................... 1050
11.12.6. Get metadata definition properties schema .................................. 1053
11.12.7. Get metadata definition tag schema ............................................. 1056
11.12.8. Get metadata definition tags schema ........................................... 1057
11.12.9. Get metadata definition namespace resource type association
schema ...................................................................................................... 1059
11.12.10. Get metadata definition namespace resource type associations
schema ...................................................................................................... 1061
11.13. Tasks ....................................................................................................... 1062
11.13.1. Create tasks ................................................................................. 1064
11.13.2. List tasks ...................................................................................... 1065
11.13.3. Show tasks ................................................................................... 1066
12. Image service API v1 (SUPPORTED) ...................................................................... 1067
12.1. API versions .............................................................................................. 1067
12.1.1. List API versions ............................................................................. 1068
12.2. Images ...................................................................................................... 1069
12.2.1. List images ..................................................................................... 1070
12.2.2. Create image ................................................................................. 1072
12.2.3. List image details ........................................................................... 1073
12.2.4. Show image details and image binary ............................................. 1075
12.2.5. Update image ................................................................................ 1076
12.2.6. Delete image .................................................................................. 1077
12.3. Members .................................................................................................. 1077
12.3.1. Replace member ............................................................................ 1078
12.3.2. Add member .................................................................................. 1079
12.3.3. Remove member ............................................................................ 1080
12.4. Shared images .......................................................................................... 1080
12.4.1. List shared images .......................................................................... 1081
13. Networking API v2.0 (CURRENT) .......................................................................... 1082
13.1. API versions .............................................................................................. 1083
13.1.1. List API versions ............................................................................. 1084
13.1.2. Show API v2.0 details ..................................................................... 1085
13.2. Networks .................................................................................................. 1088
13.2.1. List networks .................................................................................. 1089
API Complete Reference November 4, 2015
xix
13.2.2. Create network .............................................................................. 1091
13.2.3. Bulk create networks ...................................................................... 1093
13.2.4. Show network ................................................................................ 1095
13.2.5. Update network ............................................................................. 1097
13.2.6. Delete network .............................................................................. 1099
13.3. Subnets ..................................................................................................... 1099
13.3.1. List subnets .................................................................................... 1100
13.3.2. Create subnet ................................................................................ 1103
13.3.3. Bulk create subnet ......................................................................... 1105
13.3.4. Show subnet .................................................................................. 1108
13.3.5. Update subnet ............................................................................... 1110
13.3.6. Delete subnet ................................................................................. 1112
13.4. Ports ......................................................................................................... 1112
13.4.1. List ports ........................................................................................ 1113
13.4.2. Create port .................................................................................... 1116
13.4.3. Bulk create ports ............................................................................ 1118
13.4.4. Show port ...................................................................................... 1121
13.4.5. Update port ................................................................................... 1123
13.4.6. Delete port .................................................................................... 1126
13.5. Service providers ....................................................................................... 1126
13.5.1. List service providers ...................................................................... 1127
14. Networking API v2.0 extensions (CURRENT) ......................................................... 1128
14.1. Extensions ................................................................................................. 1132
14.1.1. List extensions ................................................................................ 1133
14.1.2. Get extension details ...................................................................... 1143
14.2. Quotas extension (quotas) ........................................................................ 1144
14.2.1. List quotas ..................................................................................... 1145
14.2.2. Show quota ................................................................................... 1146
14.2.3. Update quota ................................................................................ 1147
14.2.4. Reset quota ................................................................................... 1149
14.3. Networks provider extended attributes (networks) .................................... 1149
14.3.1. List networks .................................................................................. 1150
14.3.2. Create network .............................................................................. 1151
14.3.3. Show network details ..................................................................... 1153
14.3.4. Update network ............................................................................. 1155
14.3.5. Delete network .............................................................................. 1157
14.4. Networks multiple provider extension (networks) ...................................... 1157
14.4.1. List networks .................................................................................. 1158
14.4.2. Create network with multiple segment mappings ........................... 1160
14.4.3. Show details for a network with multiple segments ......................... 1162
14.5. VLAN transparency extension (networks) .................................................. 1163
14.5.1. List networks with VLAN transparency attribute ............................. 1164
14.5.2. Create VLAN-transparent network .................................................. 1165
14.5.3. Show VLAN-transparent network details ......................................... 1166
14.6. Ports binding extended attributes (ports) .................................................. 1166
14.6.1. List ports ........................................................................................ 1167
14.6.2. Create port .................................................................................... 1171
14.6.3. Show port ...................................................................................... 1173
14.6.4. Update port ................................................................................... 1175
14.6.5. Delete port .................................................................................... 1177
14.7. Security groups (security-groups) ............................................................... 1177
API Complete Reference November 4, 2015
xx
14.7.1. List security groups ......................................................................... 1178
14.7.2. Create security group ..................................................................... 1180
14.7.3. Show security group ....................................................................... 1182
14.7.4. Update security group .................................................................... 1184
14.7.5. Delete security group ..................................................................... 1185
14.8. Security group rules (security-group-rules) ................................................. 1185
14.8.1. List security group rules .................................................................. 1186
14.8.2. Create security group rule .............................................................. 1188
14.8.3. Show security group rule ................................................................ 1189
14.8.4. Delete security group rule .............................................................. 1190
14.9. Layer-3 networking ................................................................................... 1190
14.9.1. List routers ..................................................................................... 1192
14.9.2. Create router ................................................................................. 1194
14.9.3. Show router details ........................................................................ 1196
14.9.4. Update router ................................................................................ 1197
14.9.5. Delete router ................................................................................. 1199
14.9.6. Add interface to router .................................................................. 1200
14.9.7. Remove interface from router ........................................................ 1202
14.9.8. List floating IPs ............................................................................... 1203
14.9.9. Create floating IP ........................................................................... 1204
14.9.10. Show floating IP details ................................................................ 1206
14.9.11. Update floating IP ........................................................................ 1207
14.9.12. Delete floating IP ......................................................................... 1209
14.10. Metering labels and rules ........................................................................ 1209
14.10.1. List metering labels ...................................................................... 1210
14.10.2. Create metering label ................................................................... 1211
14.10.3. Show metering label .................................................................... 1212
14.10.4. Delete metering label ................................................................... 1213
14.10.5. List metering label rules ................................................................ 1214
14.10.6. Create metering label rule ............................................................ 1215
14.10.7. Show metering label rule .............................................................. 1216
14.10.8. Delete metering label rule ............................................................ 1218
14.11. Load-Balancer-as-a-Service (LBaaS) 1.0 (STABLE) ....................................... 1218
14.11.1. List VIPs ........................................................................................ 1220
14.11.2. Create a load balancer VIP ........................................................... 1221
14.11.3. Show VIP details ........................................................................... 1222
14.11.4. Update VIP ................................................................................... 1223
14.11.5. Delete VIP .................................................................................... 1224
14.11.6. List health monitors ...................................................................... 1225
14.11.7. Create a load balancer health monitor .......................................... 1226
14.11.8. Show health monitor details ......................................................... 1227
14.11.9. Update health monitor ................................................................. 1228
14.11.10. Delete health monitor ................................................................ 1229
14.11.11. List pools .................................................................................... 1230
14.11.12. Create a load balancer pool ........................................................ 1231
14.11.13. Show pool details ....................................................................... 1232
14.11.14. Update pool ............................................................................... 1233
14.11.15. Delete pool ................................................................................ 1234
14.11.16. Associate health monitor with pool ............................................. 1235
14.11.17. Disassociate health monitor from pool ........................................ 1236
14.11.18. List members .............................................................................. 1237
剩余1633页未读,继续阅读
2010-03-09 上传
2019-07-10 上传
2023-08-29 上传
2019-09-05 上传
2019-09-05 上传
2019-09-05 上传
2011-10-25 上传
bupt520
- 粉丝: 5
- 资源: 107
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- C语言数组操作:高度检查器编程实践
- 基于Swift开发的嘉定单车LBS iOS应用项目解析
- 钗头凤声乐表演的二度创作分析报告
- 分布式数据库特训营全套教程资料
- JavaScript开发者Robert Bindar的博客平台
- MATLAB投影寻踪代码教程及文件解压缩指南
- HTML5拖放实现的RPSLS游戏教程
- HT://Dig引擎接口,Ampoliros开源模块应用
- 全面探测服务器性能与PHP环境的iprober PHP探针v0.024
- 新版提醒应用v2:基于MongoDB的数据存储
- 《我的世界》东方大陆1.12.2材质包深度体验
- Hypercore Promisifier: JavaScript中的回调转换为Promise包装器
- 探索开源项目Artifice:Slyme脚本与技巧游戏
- Matlab机器人学习代码解析与笔记分享
- 查尔默斯大学计算物理作业HP2解析
- GitHub问题管理新工具:GIRA-crx插件介绍
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功