{"base_path":null,"components":{"parameters":{"SecurityTokenHeader":{"description":"用户Token","in":"header","name":"X-Auth-Token","required":false,"schema":{"maxLength":2048,"minLength":0,"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"},"SearchSharedResourcesReqBody":{"description":"The request body of the SearchSharedResources operation.","properties":{"limit":{"description":"分页页面的最大值。","format":"int32","maximum":2000,"minimum":1,"type":"integer"},"marker":{"description":"页面标记。","maxLength":64,"minLength":1,"pattern":"^\\d{1,}$","type":"string"},"principal":{"description":"指定资源使用者。","maxLength":1500,"minLength":1,"pattern":"^[\\w-/*_.+:()#@?=&%]+","type":"string"},"resource_ids":{"description":"指定资源ID列表。","items":{"maxLength":1500,"minLength":1,"pattern":".+","type":"string"},"maxItems":100,"minItems":1,"type":"array"},"resource_owner":{"description":"指定资源共享实例的所有者(self或者other-accounts)。","enum":["self","other-accounts"],"type":"string"},"resource_region":{"description":"资源所在的区域。","maxLength":255,"minLength":0,"type":"string"},"resource_share_ids":{"description":"指定资源共享实例的ID列表。","items":{"maxLength":36,"minLength":0,"pattern":"^[\\w-]+$","type":"string"},"maxItems":100,"minItems":1,"type":"array"},"resource_type":{"description":"指定资源类型。","maxLength":64,"minLength":0,"type":"string"},"resource_urns":{"description":"指定资源URN的列表。","items":{"maxLength":1500,"minLength":0,"pattern":"^[A-Za-z0-9+/=\\-_]+:[A-Za-z0-9+/=\\-_*]{0,255}:[A-Za-z0-9+/=\\-_]{1,64}:[A-Za-z0-9+/=\\-_]{1,64}:.+","type":"string"},"maxItems":100,"minItems":1,"type":"array"}},"required":["resource_owner"],"type":"object"},"SharedResource":{"description":"描述RAM中的资源共享关联的资源。","properties":{"created_at":{"description":"资源与资源共享实例关联的时间。","format":"date-time","type":"string"},"resource_share_id":{"description":"资源绑定的资源共享实例的ID。","maxLength":36,"minLength":0,"type":"string"},"resource_type":{"description":"资源的类型。","maxLength":100,"minLength":0,"type":"string"},"resource_urn":{"description":"资源的统一资源名称。","maxLength":1500,"minLength":0,"type":"string"},"status":{"description":"资源绑定的当前状态。","maxLength":36,"minLength":0,"type":"string"},"updated_at":{"description":"最后一次更新资源共享实例的时间。","format":"date-time","type":"string"}},"type":"object"},"SharedResourcesResp":{"description":"The response of the SearchSharedResources operation.","properties":{"page_info":{"$ref":"#/components/schemas/PageInfo"},"shared_resources":{"description":"共享资源的信息列表。","items":{"$ref":"#/components/schemas/SharedResource"},"maxItems":2000,"minItems":0,"type":"array"}},"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"19df0a9b050741d09c58c067d0fbf053","info_version":"v1","method":"post","name":"SearchSharedResources","parameters":null,"paths":{"/v1/shared-resources/search":{"post":{"description":"检索您共享的或共享给您的资源。","operationId":"SearchSharedResources","parameters":[{"$ref":"#/components/parameters/SecurityTokenHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchSharedResourcesReqBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"page_info":{"current_count":2000,"next_marker":"string","previous_marker":"string"},"shared_resources":[{"created_at":"2022-09-19T02:32:23.735Z","resource_share_id":"string","resource_type":"string","resource_urn":"string","status":"string","updated_at":"2022-09-19T02:32:23.735Z"}]},"schema":{"$ref":"#/components/schemas/SharedResourcesResp"}}},"description":"请求成功。"}},"security":[{"AccessKeyAuth":[]}],"summary":"检索共享的资源","tags":["Resource"],"x-is-registered":"Y","x-request-examples-1":{"limit":2000,"marker":"string","principal":"string","resource_ids":["string"],"resource_owner":"self","resource_region":"string","resource_share_ids":["string"],"resource_type":"string","resource_urns":["string"]},"x-request-examples-description-1":"检索您共享的或共享给您的资源。","x-request-examples-url-1":"POST https://{hostname}/v1/shared-resources/search","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"}