huawei-cloud-api-definitions-RAM 0.1.20250808

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":{"parameters":{"SecurityTokenHeader":{"description":"如果正在使用临时安全凭据,则此header是必需的,该值是临时安全凭据的安全令牌(会话令牌)。","in":"header","name":"X-Security-Token","required":false,"schema":{"readOnly":true,"type":"string"}}},"schemas":{"DistinctSharedResource":{"description":"描述共享的不同资源。","properties":{"resource_type":{"description":"资源的类型。","maxLength":100,"minLength":0,"type":"string"},"resource_urn":{"description":"资源的统一资源名称。","maxLength":1500,"minLength":0,"type":"string"},"updated_at":{"description":"最后一次更新资源共享实例的时间。","format":"date-time","type":"string"}},"type":"object"},"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"},"SearchDistinctSharedResourcesReqBody":{"description":"The request body of the SearchSharedResources operation.","properties":{"limit":{"default":50,"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":0,"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_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"},"SharedDistinctResourcesResp":{"description":"The response of the SearchSharedResources operation.","properties":{"distinct_shared_resources":{"description":"不同资源的信息列表。","items":{"$ref":"#/components/schemas/DistinctSharedResource"},"maxItems":2000,"minItems":0,"type":"array"},"page_info":{"$ref":"#/components/schemas/PageInfo"}},"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"91e97d431e8a4868aaf7dd40e347e418","info_version":"v1","method":"post","name":"SearchDistinctSharedResources","parameters":null,"paths":{"/v1/shared-resources/search-distinct-resource":{"post":{"description":"检索您添加到资源共享或被共享给您的不同资源并去除其中的重复项。","operationId":"SearchDistinctSharedResources","parameters":[{"$ref":"#/components/parameters/SecurityTokenHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchDistinctSharedResourcesReqBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"distinct_shared_resources":[{"resource_type":"string","resource_urn":"string","updated_at":"2022-09-19T02:32:48.943Z"}],"page_info":{"current_count":2000,"next_marker":"string","previous_marker":"string"}},"schema":{"$ref":"#/components/schemas/SharedDistinctResourcesResp"}}},"description":"请求成功。"}},"security":[{"AccessKeyAuth":[]}],"summary":"检索共享的资源并去除其中的重复项","tags":["Resource"],"x-api-type":"open-api","x-is-registered":"Y","x-request-examples-1":{"limit":2000,"marker":"string","principal":"string","resource_ids":["string"],"resource_owner":"self","resource_region":"string","resource_urns":["string"]},"x-request-examples-description-1":"检索您添加到资源共享或被共享给您的不同资源并去除其中的重复项。","x-request-examples-url-1":"POST https://{endpoint}/v1/shared-resources/search-distinct-resource","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"}