|
| 1 | +# Policy.json Glance |
| 2 | +--- |
| 3 | +## Quyền |
| 4 | +``` |
| 5 | +get_images - List available image entities |
| 6 | + GET /v1/images |
| 7 | + GET /v1/images/detail |
| 8 | + GET /v2/images |
| 9 | +
|
| 10 | +get_image - Retrieve a specific image entity |
| 11 | + HEAD /v1/images/<IMAGE_ID> |
| 12 | + GET /v1/images/<IMAGE_ID> |
| 13 | + GET /v2/images/<IMAGE_ID> |
| 14 | +
|
| 15 | +download_image - Download binary image data |
| 16 | + GET /v1/images/<IMAGE_ID> |
| 17 | + GET /v2/images/<IMAGE_ID>/file |
| 18 | +
|
| 19 | +upload_image - Upload binary image data |
| 20 | + POST /v1/images |
| 21 | + PUT /v1/images/<IMAGE_ID> |
| 22 | + PUT /v2/images/<IMAGE_ID>/file |
| 23 | +
|
| 24 | +copy_from - Copy binary image data from URL |
| 25 | + POST /v1/images |
| 26 | + PUT /v1/images/<IMAGE_ID> |
| 27 | +
|
| 28 | +add_image - Create an image entity |
| 29 | + POST /v1/images |
| 30 | + POST /v2/images |
| 31 | +
|
| 32 | +modify_image - Update an image entity |
| 33 | + PUT /v1/images/<IMAGE_ID> |
| 34 | + PUT /v2/images/<IMAGE_ID> |
| 35 | +
|
| 36 | +publicize_image - Create or update public images |
| 37 | + POST /v1/images with attribute is_public = true |
| 38 | + PUT /v1/images/<IMAGE_ID> with attribute is_public = true |
| 39 | + POST /v2/images with attribute visibility = public |
| 40 | + PUT /v2/images/<IMAGE_ID> with attribute visibility = public |
| 41 | +
|
| 42 | +communitize_image - Create or update community images |
| 43 | + POST /v2/images with attribute visibility = community |
| 44 | + PUT /v2/images/<IMAGE_ID> with attribute visibility = community |
| 45 | + delete_image - Delete an image entity and associated binary data |
| 46 | + DELETE /v1/images/<IMAGE_ID> |
| 47 | + DELETE /v2/images/<IMAGE_ID> |
| 48 | +
|
| 49 | +add_member - Add a membership to the member repo of an image |
| 50 | + POST /v2/images/<IMAGE_ID>/members |
| 51 | + get_members - List the members of an image |
| 52 | + GET /v1/images/<IMAGE_ID>/members |
| 53 | + GET /v2/images/<IMAGE_ID>/members |
| 54 | + delete_member - Delete a membership of an image |
| 55 | + DELETE /v1/images/<IMAGE_ID>/members/<MEMBER_ID> |
| 56 | + DELETE /v2/images/<IMAGE_ID>/members/<MEMBER_ID> |
| 57 | + modify_member - Create or update the membership of an image |
| 58 | + PUT /v1/images/<IMAGE_ID>/members/<MEMBER_ID> |
| 59 | + PUT /v1/images/<IMAGE_ID>/members |
| 60 | + POST /v2/images/<IMAGE_ID>/members |
| 61 | + PUT /v2/images/<IMAGE_ID>/members/<MEMBER_ID> |
| 62 | +
|
| 63 | +manage_image_cache - Allowed to use the image cache management API |
| 64 | +``` |
| 65 | + |
| 66 | +# Nguồn |
| 67 | + |
| 68 | +https://docs.openstack.org/glance/latest/admin/policies.html |
| 69 | + |
0 commit comments