huawei-cloud-api-definitions-WorkspaceApp 0.1.20260612

Huawei Cloud API definitions, generated from OpenAPI spec
Documentation
1
{"base_path":null,"components":null,"consumes":"[\"application/json\"]","definitions":{"BaseResp":{"description":"API响应基类。","properties":{"error_code":{"description":"错误码,失败时返回。","example":"WKS.00139901","readOnly":true,"type":"string"},"error_msg":{"description":"错误描述。","example":"The request message is invalid.","readOnly":true,"type":"string"}}},"ShowTenantProfileResp":{"allOf":[{"$ref":"#/definitions/TenantProfile"}],"description":"查询租户信息响应。"},"TenantProfile":{"description":"租户信息配置。","properties":{"create_time":{"description":"租户信息创建时间。","example":"2016-03-28T00:00:00Z","format":"date-time","readOnly":true,"type":"string"},"open_with_ad":{"default":true,"description":"是否对接AD。 有AD的情况下,提示租户单会话模式和多会话模式都支持; 在没有AD的情况下,提示租户仅支持VDI单会话模式。","example":true,"readOnly":true,"type":"boolean"},"project_id":{"description":"租户ID 同tenant_id。","example":"165454xx5845","readOnly":true,"type":"string"},"project_name":{"description":"租户名称。","example":"165454xx5845","readOnly":true,"type":"string"},"service_status":{"description":"服务状态\n* `active` - 激活\n* `inactive` - 未激活","example":"active","readOnly":true,"type":"string"},"tenant_domain_id":{"description":"租户的域ID。","example":"165454xx5845","readOnly":true,"type":"string"},"tenant_domain_name":{"description":"租户的域名称。","example":"165454xx5845","readOnly":true,"type":"string"}},"type":"object"}},"description":null,"group_id":"fe7dbee2e20f4aa589be7dce935a38ad","host":"appstream.cn-north-4.myhuaweicloud.com","id":"fcec6f7eca27426dbfb6ab500226cf91","info_version":"v1","method":"get","name":"ListTenantProfile","parameters":{},"paths":{"/v1/{project_id}/tenant/profile":{"get":{"consumes":["application/json"],"description":"查询租户信息。","operationId":"ListTenantProfile","parameters":[{"description":"用户Token。\n通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。","in":"header","maxLength":2147483647,"minLength":0,"name":"X-Auth-Token","required":false,"type":"string","x-example":"MIIDkgYJKoZIhvcNAQcCoIIDgzCCXXXXXX..."},{"description":"项目唯一标识。","in":"path","maxLength":128,"minLength":1,"name":"project_id","required":true,"type":"string","x-example":"2b31ed520xxxxxxebedb6e57xxxxxxxx"}],"produces":["application/json"],"responses":{"200":{"description":"成功响应。","examples":{"application/json":{"create_time":"2016-03-28T00:00:00Z","open_with_ad":true,"project_id":"165454xx5845","project_name":"165454xx5845","service_status":"active","tenant_domain_id":"165454xx5845","tenant_domain_name":"165454xx5845"}},"schema":{"$ref":"#/definitions/ShowTenantProfileResp"}},"400":{"description":"由于包含语法错误,当前请求无法被服务器理解。","schema":{"$ref":"#/definitions/BaseResp"}},"503":{"description":"服务不可用。","schema":{"$ref":"#/definitions/BaseResp"}}},"security":[{"apig-auth-iam-used-authn5":[]}],"summary":"查询租户信息","tags":["ApplicationConfig"],"x-api-type":"open-api","x-apiexplorer-hide":"N","x-apig-group":"internal,public","x-apigateway-backend":{"httpVpcEndpoints":{"description":"","method":"GET","name":"wks-bundlemanager-lb","path":"/v1/{project_id}/tenant/profile","scheme":"https","timeout":30000},"parameters":[{"description":"","in":"header","name":"X-Auth-Token","origin":"request","value":"X-Auth-Token"},{"description":"","in":"path","name":"project_id","origin":"request","value":"project_id"}],"type":"HTTP-VPC"},"x-apigateway-cors":false,"x-apigateway-match-mode":"NORMAL","x-apigateway-ratelimit":"workspace_base","x-apigateway-request-type":"public","x-is-registered":"N","x-support-sdk":"Y"}}},"product_short":"WorkspaceApp","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":{"apig-auth-app":{"in":"header","name":"Authorization","type":"apiKey","x-apigateway-auth-type":"AppSigv1"},"apig-auth-iam":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-type":"IAM"},"apig-auth-iam-used-authn5":{"in":"header","name":"unused","type":"apiKey","x-apigateway-auth-opt":{"inner-auth-type":"iam_auth_n5"},"x-apigateway-auth-type":"IAM"}},"summary":"查询租户信息","tags":"租户配置","uri":null,"version":"2.0"}