CreateServiceConnection
创建服务连接
服务地址:
华东1(杭州)
输入参数
只看必填
organizationId企业标识
body请求Body
connectionType服务连接类型
connectionName服务连接名称
serviceAuthId服务授权id
scope可见范围:如PERSON
authType服务授权类型
插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

请求语法

POST /organization/{organizationId}/createServiceConnection HTTP/1.1

路径参数

字段名称字段详情
organizationIdstring

企业标识,也称企业 id,字符串形式,可在云效访问链接中获取,如 https:// devops.aliyun.com/organization/【OrgId】

示例值:5ebbc0228123212b59xxxxx参考取值来源:
    GetCodeupOrganization
    ListOrganizations

请求参数

字段名称字段详情
bodyobject

请求 Body

返回参数

字段名称字段详情
requestIdstring

请求 id

示例值:ASSDS-ASSASX-XSAXSA-XSAXSAXS
errorMessagestring

错误信息

示例值:""
errorCodestring

错误码

示例值:""
successboolean

true 接口调用成功,false 接口调用失败

示例值:true
idinteger<int64>

服务连接 id

注意 请注意,该值为 Long 类型,在某些语言中可能存在精度丢失的风险,请小心使用。
示例值:19224
变更历史
变更时间变更内容概要操作
2025-03-12
变更请求参数body