如何查询一份自定义镜像已经共享的所有用户

本篇文章给大家带来的内容是关于如何查询一份自定义镜像已经共享的所有用户,有一定的参考价值,有需要的朋友可以参考一下,希望对你有所帮助。

DescribeImageSharePermission

请求参数

如何查询一份自定义镜像已经共享的所有用户

返回参数

如何查询一份自定义镜像已经共享的所有用户

示例

请求示例

https://ecs.aliyuncs.com/?Action=DescribeImageSharePermission &RegionId=cn-qingdao &ImageId=m-282dzntc7 &

返回示例

xml 格式

<describeimagesharepermissionresponse>     <imageid>m-282dzntc7</imageid>     <pagenumber>1</pagenumber>     <pagesize>10</pagesize>     <regionid>cn-qingdao</regionid>     <totalcount>1</totalcount>     <requestid>441CF898-42FF-47CF-9348-3C3BFF557278</requestid>     <sharegroups>         <sharegroup>             <group>all</group>         </sharegroup>     </sharegroups>     <accounts>         <account>             <aliyunid>1886508529898586</aliyunid>         </account>     </accounts></describeimagesharepermissionresponse>

json 格式

{     "ShareGroups": {         "ShareGroup": [             {                 "Group": "all"             }         ]     },     "Accounts": {         "Account": [             {                 "AliyunId": "1886508529898586"             }         ]     },     "ImageId": "m-282dzntc7",     "PageNumber": 1,     "PageSize": 10,     "RegionId": "cn-qingdao",     "TotalCount": 1,     "RequestId": "9AD96F49-0BE5-4868-A66A-224352549CEC" }

错误码

以下为本接口特有的错误码。更多错误码,请访问 API 错误中心。如何查询一份自定义镜像已经共享的所有用户

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享