huawei-cloud-api-definitions-DataArtsStudio 0.1.20250411

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":"/","components":null,"consumes":"[\"application/json;charset=UTF-8\"]","definitions":{"ErrorResponse":{"properties":{"error_code":{"description":"错误码","example":"DLS.1000","maxLength":128,"minLength":1,"type":"string"},"error_msg":{"description":"错误描述","example":"process failed","maxLength":10240,"minLength":1,"type":"string"}},"type":"object"},"QueueSrcAssignCreateDTO":{"properties":{"cluster_id":{"description":"集群id。","maxLength":128,"minLength":1,"type":"string"},"conn_id":{"description":"数据连接id。","maxLength":64,"minLength":1,"type":"string"},"description":{"description":"当前空间分配资源附加的描述信息。","maxLength":4096,"minLength":0,"type":"string"},"queue_name":{"description":"队列名称。","items":{"maxLength":128,"minLength":3,"type":"string"},"maxItems":10000,"minItems":0,"type":"array"},"source_type":{"description":"队列资源服务(当前只支持mrs、dli)。","maxLength":32,"minLength":0,"type":"string"}},"type":"object"},"QueueSrcAssignEntity":{"description":"创建的队列资源。","properties":{"cluster_id":{"description":"集群id。","maxLength":128,"minLength":1,"type":"string"},"cluster_name":{"description":"集群名称。","maxLength":128,"minLength":1,"type":"string"},"conn_id":{"description":"数据连接id。","maxLength":64,"minLength":1,"type":"string"},"conn_name":{"description":"数据连接名称。","maxLength":128,"minLength":1,"type":"string"},"create_time":{"description":"队列加入此空间的时间。","format":"int64","maximum":4070880010000,"minimum":0,"type":"integer"},"create_user":{"description":"队列加入此的操作人。","maxLength":256,"minLength":0,"type":"string"},"description":{"description":"当前空间分配资源附加的描述信息。","maxLength":4096,"minLength":0,"type":"string"},"id":{"description":"队列资源id。","maxLength":32,"minLength":1,"type":"string"},"project_id":{"description":"项目id。","maxLength":128,"minLength":0,"type":"string"},"queue_attr":{"description":"队列属性(0:默认,1:实时队列,2:离线队列), 当前只有yarn队列涉及。","format":"int32","maximum":127,"minimum":0,"type":"integer"},"queue_name":{"description":"队列名称。","maxLength":128,"minLength":0,"type":"string"},"queue_type":{"description":"队列类型。","maxLength":32,"minLength":0,"type":"string"},"source_type":{"description":"队列资源服务名称。","maxLength":32,"minLength":0,"type":"string"},"update_time":{"description":"当前空间下管理的队列更新时间。","format":"int64","maximum":4070880010000,"minimum":0,"type":"integer"},"update_user":{"description":"当前空间下管理的队列更新人。","maxLength":256,"minLength":0,"type":"string"}},"type":"object"}},"description":null,"group_id":"23bb69798aaf409da161a43a90617121","host":"dayu.cn-north-4.myhuaweicloud.com","id":"2d2eb7d3ae3344b58b9b7f308405219a","info_version":"v1","method":"post","name":"CreateSecurityAssignedQueue","parameters":{"X-Auth-Token":{"description":"token","in":"header","maxLength":10240,"minLength":1,"name":"X-Auth-Token","required":true,"type":"string"},"project_id":{"description":"project id","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string"},"workspace":{"description":"DataArts Studio工作空间ID","in":"header","maxLength":128,"minLength":1,"name":"workspace","required":true,"type":"string"}},"paths":{"/v1/{project_id}/security/permission/queue/assigned-source":{"post":{"description":"分配队列资源给指定空间。","operationId":"CreateSecurityAssignedQueue","parameters":[{"$ref":"#/parameters/workspace"},{"$ref":"#/parameters/project_id"},{"$ref":"#/parameters/X-Auth-Token"},{"description":"为不同空间下分配管理可用的队列资源DTO。","in":"body","name":"CreateSecurityAssignedQueueRequestBody","required":true,"schema":{"$ref":"#/definitions/QueueSrcAssignCreateDTO"}}],"produces":["application/json"],"responses":{"200":{"description":"ok","examples":{"application/json":[{"cluster_id":"ec26b187-626a-4e89-bd1f-6824fbcfb2b6","cluster_name":"mrs_noauth_autotest_do_not_del","conn_id":"8e2bd0e9aa24401ea1a8edf83cd50323","conn_name":"ranger_0324_noauth","create_time":1712493119159,"create_user":"ei_dayu_xxxx_01","description":"","id":"8c92991966c1456b9175f3c93a08ee4e","project_id":"0833a5737480d53b2f25c010dc1a7b88-workspace-f7bc8f2a71524d268c4293974e3dc35b","queue_attr":0,"queue_name":"root.dgc_test","queue_type":"yarn","source_type":"mrs","update_time":null,"update_user":null}]},"schema":{"items":{"$ref":"#/definitions/QueueSrcAssignEntity"},"type":"array"}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"分配队列资源给指定空间","tags":["队列权限接口"],"x-is-registered":"Y","x-request-examples-1":{"cluster_id":"ec26b187-626a-4e89-bd1f-6824fbcfb2b6","conn_id":"8e2bd0e9aa24401ea1a8edf83cd50323","description":"","queue_name":["root.dgc_test"],"source_type":"mrs"},"x-request-examples-url-1":"/v1/0833a5737480d53b2f25c010dc1a7b88/security/permission/queue/assigned-source","x-support-sdk":"Y"}}},"product_short":"DataArtsStudio","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"分配队列资源给指定空间","tags":"队列权限接口","uri":null,"version":"2.0"}