huawei-cloud-api-definitions-RAM 0.1.20240402

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":{"parameters":{"Limit":{"description":"分页页面的最大值。","in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","maximum":2000,"minimum":1,"type":"integer"}},"Marker":{"description":"页面标记。","in":"query","name":"marker","required":false,"schema":{"maxLength":64,"minLength":1,"pattern":"^\\d{1,}$","type":"string"}},"PermissionId":{"description":"共享资源权限的ID。","in":"path","name":"permission_id","required":true,"schema":{"maxLength":36,"minLength":0,"pattern":"^[\\w-]+$","type":"string"}},"SecurityTokenHeader":{"description":"用户Token","in":"header","name":"X-Auth-Token","required":false,"schema":{"readOnly":true,"type":"string"}}},"schemas":{"PageInfo":{"description":"分页详细信息。","properties":{"current_count":{"description":"页面数量。","format":"int32","maximum":2000,"minimum":1,"type":"integer"},"next_marker":{"description":"下一页的页面标识。","maxLength":64,"minLength":1,"pattern":"^\\d{1,}$","type":"string"},"previous_marker":{"description":"上一页的页面标识。","maxLength":64,"minLength":1,"pattern":"^\\d{1,}$","type":"string"}},"type":"object"},"PermissionSummariesResp":{"description":"The response of the ListPermissions operation.","properties":{"page_info":{"$ref":"#/components/schemas/PageInfo"},"permissions":{"description":"共享资源权限的详细信息列表。","items":{"$ref":"#/components/schemas/PermissionSummary"},"maxItems":2000,"minItems":0,"type":"array"}},"required":["permissions"],"type":"object"},"PermissionSummary":{"description":"资源共享及其指定类型的任何资源关联的RAM权限的信息。","properties":{"created_at":{"description":"权限的创建时间。","format":"date-time","type":"string"},"default_version":{"description":"是否是默认版本。","type":"boolean"},"id":{"description":"权限ID。","maxLength":36,"minLength":0,"type":"string"},"is_resource_type_default":{"description":"该权限是否是此资源类型的默认权限。","type":"boolean"},"name":{"description":"权限名称。","maxLength":128,"minLength":1,"type":"string"},"permission_type":{"description":"权限类型,RAM托管或者租户自定义权限。","maxLength":64,"minLength":0,"type":"string"},"permission_urn":{"description":"权限URN。","maxLength":1500,"minLength":1,"type":"string"},"resource_type":{"description":"此权限适用的资源类型。","maxLength":100,"minLength":0,"type":"string"},"status":{"description":"权限的状态","maxLength":64,"minLength":0,"type":"string"},"updated_at":{"description":"上次更新权限的时间。","format":"date-time","type":"string"},"version":{"description":"权限版本。","format":"int32","maximum":1000000,"minimum":0,"type":"integer"}},"required":["id","name","resource_type","is_resource_type_default","created_at","updated_at"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"0346bdb1ba004072971ab9bf6b67f94a","info_version":"v1","method":"get","name":"ListPermissionVersions","parameters":null,"paths":{"/v1/permissions/{permission_id}/versions":{"get":{"description":"获取权限的所有版本。","operationId":"ListPermissionVersions","parameters":[{"$ref":"#/components/parameters/SecurityTokenHeader"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Marker"},{"$ref":"#/components/parameters/PermissionId"}],"responses":{"200":{"content":{"application/json":{"example":{"page_info":{"current_count":2000,"next_marker":"string","previous_marker":"string"},"permissions":[{"created_at":"2022-09-19T02:02:18.155Z","default_version":false,"id":"string","is_resource_type_default":true,"name":"string","permission_type":"string","permission_urn":"string","resource_type":"string","status":"string","updated_at":"2022-09-19T02:02:18.155Z","version":1}]},"schema":{"$ref":"#/components/schemas/PermissionSummariesResp"}}},"description":"请求成功。"}},"summary":"获取权限的所有版本","tags":["Permission"],"x-is-registered":"Y","x-support-sdk":"Y"}}},"product_short":"RAM","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取权限的所有版本","tags":"共享资源权限","uri":null,"version":"3.0.3"}