Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
wklken authored Mar 8, 2021
2 parents 9bfd6cc + 7a6fe1e commit 4c64779
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
### Functional description

delete process module bind relationship

### Request Parameters

{{ common_args_desc }}

#### Request Parameters Example

| Field | Type | Required | Description |
|-------|-------------|--------|-------------------------------|
| id | int | No | The unique identifier ID of the deleted data record |
| bk_supplier_account | string | Yes | Supplier account |
| bk_biz_id | int | Yes | Bussiness ID |
| bk_process_id | int | Yes | Process ID |
| bk_module_name | string | yes | ModuleName |


### Request Parameters Example

```python


```


### Return Result Example

```python

{
"result": true,
"code": 0,
"message": "",
"data": "success"
}
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
### 功能描述

解绑进程模块

### 请求参数

{{ common_args_desc }}

#### 接口参数

| 字段 | 类型 | 必选 | 描述 |
|-------|-------------|--------|-----------------------|
| bk_supplier_account | string || 开发商ID |
| bk_biz_id | int || 业务ID |
| bk_process_id | int || 进程ID |
| bk_module_name | string || 模块名 |


### 请求参数示例

```python

```


### 返回结果示例

```python

{
"result": true,
"code": 0,
"message": "",
"data": "success"
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
|bk_set_id | int64 | 空闲机, 故障机和待回收模块所属的set的实例ID |
|bk_set_name | string |空闲机, 故障机和待回收模块所属的set的实例名称|


#### module说明
| 字段 | 类型 | 描述 |
|-----------|------------|------------|
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
|-----------|------------|--------|------------|
| bk_supplier_account | string || 开发商账号 |


### 请求参数示例

```python
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
### 功能描述

获取进程绑定模块

### 请求参数

{{ common_args_desc }}

#### 接口参数

| 字段 | 类型 | 必选 | 描述 |
|----------------------|------------|--------|-----------------------|
| bk_supplier_account | string || 开发商ID |
| bk_biz_id | int || 业务ID |
| bk_process_id | int || 进程ID |


### 请求参数示例

```python


```

### 返回结果示例

```python

{
"result":true,
"bk_error_code":0,
"bk_error_msg":"",
"data":[
{
"bk_module_name":"db",
"set_num":10,
"is_bind":0
},
{
"bk_module_name":"gs",
"set_num":5,
"is_bind":1
}
]
}
```

### 返回结果参数说明

#### data

| 名称 | 类型 | 描述 |
|---|---|---|
| result | bool | 请求成功与否。true:请求成功;false请求失败 |
| bk_error_code | int | 错误编码。 0表示success,>0表示失败错误 |
| bk_error_msg | string | 请求失败返回的错误信息 |
| data | object | 请求返回的数据 |

#### data 字段说明:

| 名称 | 类型 | 描述 |
|---|---|---|---|
| bk_module_name| string| 模块名 |
| set_num| int | 所属集群个数 |
| is_bind| int | 是否绑定 |


1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
- [BK-CMDB](https://github.com/Tencent/bk-cmdb):蓝鲸配置平台是一个面向资产及应用的企业级配置管理平台。
- [TencentBlueKing/iam-python-sdk](https://github.com/TencentBlueKing/iam-python-sdk) / [TencentBlueKing/iam-go-sdk](https://github.com/TencentBlueKing/iam-go-sdk):蓝鲸权限中心SDK


## Contributing

如果你有好的意见或建议,欢迎给我们提 Issues 或 Pull Requests,为蓝鲸开源社区贡献力量。关于分支/issue及PR, 请查看 [CONTRIBUTING](docs/CONTRIBUTING.md)
Expand Down

0 comments on commit 4c64779

Please sign in to comment.