huawei-cloud-api-definitions-RAM 0.1.20240211

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"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"},"ResourceShareAssociation":{"description":"与资源共享实例关联的资源使用者或共享资源的详细信息。","properties":{"associated_entity":{"description":"绑定的实体。这可以是共享资源的URN、帐号ID、共享资源目录的URN或文件夹的URN之一。","maxLength":1500,"minLength":0,"type":"string"},"association_type":{"description":"绑定中包含的实体类型。","maxLength":36,"minLength":0,"type":"string"},"created_at":{"description":"绑定被创建的时间。","format":"date-time","type":"string"},"external":{"description":"标识资源使用者是否和共享的拥有者属于同一个组织","type":"boolean"},"resource_share_id":{"description":"资源共享实例的ID。","maxLength":36,"minLength":0,"type":"string"},"resource_share_name":{"description":"资源共享实例的名称。","maxLength":64,"minLength":0,"type":"string"},"status":{"description":"绑定的当前状态。","maxLength":36,"minLength":0,"type":"string"},"status_message":{"description":"绑定的当前状态的描述。","maxLength":36,"minLength":0,"type":"string"},"updated_at":{"description":"最后一次更新绑定的时间。","format":"date-time","type":"string"}},"required":["associated_entity","association_type","created_at","updated_at","resource_share_id","resource_share_name","status"],"type":"object"},"ResourceShareAssociationsResp":{"description":"The response of the resource share association related operations.","properties":{"page_info":{"$ref":"#/components/schemas/PageInfo"},"resource_share_associations":{"description":"绑定的详细信息列表。","items":{"$ref":"#/components/schemas/ResourceShareAssociation"},"maxItems":2000,"minItems":0,"type":"array"}},"required":["resource_share_associations"],"type":"object"},"SearchResourceShareAssociationsReqBody":{"description":"The request body of the SearchResourceShareAssociations operation.","properties":{"association_status":{"description":"指定绑定的状态。","maxLength":64,"minLength":0,"type":"string"},"association_type":{"description":"指定绑定的类型(principal或resource)。","enum":["principal","resource"],"type":"string"},"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":0,"pattern":"^[\\w-/*_.+:()#@?=&%]+","type":"string"},"resource_ids":{"description":"指定共享资源ID列表。","items":{"maxLength":1500,"minLength":1,"pattern":".+","type":"string"},"maxItems":100,"minItems":1,"type":"array"},"resource_share_ids":{"description":"指定资源共享实例的ID列表。","items":{"maxLength":36,"minLength":0,"pattern":"^[\\w-]+$","type":"string"},"maxItems":100,"minItems":1,"type":"array"},"resource_urn":{"description":"指定绑定的共享资源URN。","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"}},"required":["association_type"],"type":"object"}}},"consumes":"","definitions":null,"description":null,"group_id":"a4962198b5cd4b19998df4c381657138","host":"ram.myhuaweicloud.com","id":"cdb6f33e6cc94e7997dd895ab49fd8cd","info_version":"v1","method":"post","name":"SearchResourceShareAssociations","parameters":null,"paths":{"/v1/resource-share-associations/search":{"post":{"description":"检索您拥有的资源共享实例中绑定的共享资源和资源使用者。","operationId":"SearchResourceShareAssociations","parameters":[{"$ref":"#/components/parameters/SecurityTokenHeader"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResourceShareAssociationsReqBody"}}},"required":true},"responses":{"200":{"content":{"application/json":{"example":{"page_info":{"current_count":2000,"next_marker":"string","previous_marker":"string"},"resource_share_associations":[{"associated_entity":"string","association_type":"string","created_at":"2022-09-19T02:10:16.960Z","external":true,"resource_share_id":"string","resource_share_name":"string","status":"string","status_message":"string","updated_at":"2022-09-19T02:10:16.960Z"}]},"schema":{"$ref":"#/components/schemas/ResourceShareAssociationsResp"}}},"description":"请求成功。"}},"security":[{"AccessKeyAuth":[]}],"summary":"检索绑定的资源使用者和共享资源","tags":["ResourceShareAssociation"],"x-is-registered":"Y","x-request-examples-1":{"association_status":"string","association_type":"principal","limit":2000,"marker":"string","principal":"string","resource_ids":["string"],"resource_share_ids":["string"],"resource_urn":"string"},"x-request-examples-description-1":"检索您拥有的资源共享实例中绑定的共享资源和资源使用者。","x-request-examples-url-1":"POST https://{hostname}/v1/resource-share-associations/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"}