huawei-cloud-api-definitions-RAM 0.1.20250808

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":{"parameters":{"PermissionId":{"description":"共享资源权限的ID。","in":"path","name":"permission_id","required":true,"schema":{"maxLength":36,"minLength":0,"pattern":"^[\\w-]+$","type":"string"}},"PermissionVersion":{"description":"资源权限版本。","in":"query","name":"permission_version","required":false,"schema":{"format":"int32","maximum":1000000,"minimum":0,"type":"integer"}},"SecurityTokenHeader":{"description":"如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。","in":"header","name":"X-Security-Token","required":false,"schema":{"readOnly":true,"type":"string"}}},"schemas":{"Permission":{"description":"有关RAM权限的信息。","properties":{"content":{"description":"权限的影响和行为。","maxLength":65535,"minLength":1,"type":"string"},"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":"权限类型。","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","content","is_resource_type_default","created_at","updated_at"],"type":"object"},"PermissionResp":{"description":"The response of the ShowPermission operation.","properties":{"permission":{"$ref":"#/components/schemas/Permission"}},"required":["permission"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"a1365e0344984ecda87144299c99e1ed","info_version":"v1","method":"get","name":"ShowPermission","parameters":null,"paths":{"/v1/permissions/{permission_id}":{"get":{"description":"检索指定资源类型的共享资源指定版本的权限内容,如果不指定权限版本,则返回默认版本的权限内容。","operationId":"ShowPermission","parameters":[{"$ref":"#/components/parameters/PermissionId"},{"$ref":"#/components/parameters/SecurityTokenHeader"},{"$ref":"#/components/parameters/PermissionVersion"}],"responses":{"200":{"content":{"application/json":{"example":{"permission":{"content":"string","created_at":"2022-08-22T11:40:31.871Z","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-08-22T11:40:31.871Z","version":1}},"schema":{"$ref":"#/components/schemas/PermissionResp"}}},"description":"请求成功。"}},"security":[{"AccessKeyAuth":[]}],"summary":"检索资源共享权限内容","tags":["Permission"],"x-api-type":"open-api","x-is-registered":"Y","x-request-examples-description-1":"检索指定资源类型的共享资源指定版本的权限内容,如果不指定权限版本,则返回默认版本的权限内容。","x-request-examples-url-1":"GET https://{endpoint}/v1/permissions/{permission_urn}","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"}