检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
请求Header参数 参数 是否必选 参数类型 描述 X-Auth-Token 是 String 用户Token。 通过调用IAM服务获取用户Token接口获取(响应消息头中X-Subject-Token的值)。 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 request_id
oint}为IAM的终端节点,可以从地区和终端节点处获取。 响应示例如下,例如ModelArts部署的区域为"cn-north-4",响应消息体中查找“name”为"cn-north-4",其中projects下的“id”即为项目ID。 { "projects": [{ "domain_id":
ModerationClientBuilder(). WithRegion(region.ValueOf("xxx")). //把xxx替换成服务所在的区域,例如北京四:cn-north-4。 WithCredential(auth).
ModerationClientBuilder(). WithRegion(region.ValueOf("xxx")). //把xxx替换成服务所在的区域,例如北京四:cn-north-4。 WithCredential(auth).
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 $credentials = new BasicCredentials($ak,$sk,$projectId); $config
endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。 const credentials = new core.BasicCredentials()
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 const credentials = new core.BasicCredentials()
ModerationClientBuilder(). WithRegion(region.ValueOf("xxx")). //把xxx替换成服务所在的区域,例如北京四:cn-north-4。 WithCredential(auth).
endpoint = "https://moderation.cn-north-4.myhuaweicloud.com";//把cn-north-4替换成服务所在的区域。 const credentials = new core.BasicCredentials()
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 $credentials = new BasicCredentials($ak,$sk,$projectId); $config
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 $credentials = new BasicCredentials($ak,$sk,$projectId); $config
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 const credentials = new core.BasicCredentials()
ModerationClientBuilder(). WithRegion(region.ValueOf("xxx")). //把xxx替换成服务所在的区域,例如北京四:cn-north-4。 WithCredential(auth).
ModerationClientBuilder(). WithRegion(region.ValueOf("xxx")). //把xxx替换成服务所在的区域,例如北京四:cn-north-4。 WithCredential(auth).
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 const credentials = new core.BasicCredentials()
= "https://moderation.cn-north-4.myhuaweicloud.com"; //把cn-north-4替换成服务所在的区域。 $credentials = new BasicCredentials($ak,$sk,$projectId); $config