检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
AK/SK认证:通过AK(Access Key ID)/SK(Secret Access Key)加密调用请求。推荐使用AK/SK认证,其安全性比Token认证要高。
logs/access.log main; #访问日志:存放路径,日志级别。
"", "owner_id" : "6baa7454109d47c192f22078fe6cda20", "owner_name" : "devcloud_devcloud_l00490255_01", "connection_status" : "success
模板id owner String 应用创建者用户名 nick_name String 应用创建者昵称 owner_id String 应用创建者用户id tenant_id String 应用创建者租户id tenant_name String 应用创建者租户名 slave_cluster_id
can_execute" : true, "can_manage" : true, "can_modify" : true, "can_view" : true } ] } 响应示例 状态码: 200 OK 请求响应成功 { "status" : "success
="", description="这是一条描述信息", name="test123" ) response = client.update_deployment_group(request)
applications/groups/a958794f9f4f4a24a96950c9cb279a4d 响应示例 状态码: 200 OK 请求响应成功 { "result" : "a958794f9f4f4a24a96950c9cb279a4d", "status" : "success
406 Not Acceptable 服务器无法根据客户端请求的内容特性完成请求。 407 Proxy Authentication Required 请求要求代理的身份认证,与401类似,但请求者应当使用代理进行授权。
模板id owner String 应用创建者用户名 nick_name String 应用创建者昵称 owner_id String 应用创建者用户id tenant_id String 应用创建者租户id tenant_name String 应用创建者租户名 slave_cluster_id
7de12f87232e46a79235f52d033b8688/environments/25e30c17f81042ba9a1a3383da39a7fc/c5fa45c92c0849229d003d98f52617eb 响应示例 状态码: 200 OK 请求响应成功 { "status" : "success
name=test&project_id=46e2dd65b123456798137caebae6fa6d 响应示例 状态码: 200 OK 请求响应成功 { "result" : false, "status" : "success" } SDK代码示例 SDK代码示例如下
endpoint/v1/applications/43943381f7764c52baae8e697720873f/environments/140ca97e701d4c4c93c5932d5bdb32ec 响应示例 状态码: 200 OK 请求响应成功 { "status" : "success
project_id=46e2dd65b123456798137caebae6fa6d 响应示例 状态码: 200 OK 请求响应成功 { "result" : { "creatable" : true }, "status" : "success" } SDK
/v1/resources/host-groups/6bec5f67ab9b4c34a21c7ffe0b0191c8/hosts/a94facdc4b1e40d799dbe6de91167072 响应示例 状态码: 200 OK 请求响应成功 { "status" : "success
a21d1951433c47a9b72cb72933d27df8", "name" : "Test_Copy_92131", "region" : "cn-north-7", "is_disable" : false }, "status" : "success
//{endpoint}/v1/applications/dbc0305b030f41ce866739c3331166ff/disable { "is_disable" : true } 响应示例 状态码: 200 OK 请求响应成功 { "status" : "success
a958794f9f4f4a24a96950c9cb279a4d { "name" : "分组名称" } 响应示例 状态码: 200 OK 请求响应成功 { "result" : "a958794f9f4f4a24a96950c9cb279a4d", "status" : "success
build() try: request = DeleteDeploymentGroupRequest() request.group_id = "{group_id}" response = client.delete_deployment_group
group_id" : "4b0cb2f098174d38b0c15645c13eae6f", "host_ids" : [ "8e1eb7f010d4442ca150e3a1a5d96d94" ] } 响应示例 状态码: 200 OK 请求响应成功 { "status" : "success
DeleteDeploymentHostRequest() request.group_id = "{group_id}" request.host_id = "{host_id}" response = client.delete_deployment_host