Skip to content

Commit

Permalink
Merge pull request #492 from alex-smile/update_esb_apis_0813
Browse files Browse the repository at this point in the history
ESB 更新 CC 配置类组件
  • Loading branch information
MrLYC authored Aug 13, 2021
2 parents 1b1be69 + 4ba592b commit 8ed5be7
Show file tree
Hide file tree
Showing 41 changed files with 1,549 additions and 1,793 deletions.
2 changes: 1 addition & 1 deletion paas2/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.12.24
2.12.25
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ get host base info
| Field | Type | Required | Description |
|-----------|------------|--------|------------|
| bk_supplier_account | string | No | supplier account code |
| bk_host_id | int | Yes | Host ID(as is bk_host_id) |
| bk_host_id | int | Yes | Host ID |

### Request Parameters Example

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
| 字段 | 类型 | 必选 | 描述 |
|-----------|------------|--------|------------|
| bk_supplier_account | string || 开发商账号 |
| bk_host_id | int || 主机身份ID,即bk_host_id字段值 |
| bk_host_id | int || 主机ID |

### 请求参数示例

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ delete association between object's instance.
| Field | Type | Required | Description |
|----------------------|------------|--------|-----------------------------|
| id | int64 | Yes | the instance association's unique id |
| bk_obj_id | string | Yes | the instance association's source or destination object id(v3.10+) |

### Request Parameters Example

``` json
{
"id": 1,
"bk_obj_id": "abc"
"id": 1
}
```

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
### Functional description

find host snapshot in batch (v3.8.6)

#### General Parameters

{{ common_args_desc }}

### Request Parameters

| Field | Type | Required | Description |
| ------------------- | ------ | -------- | --------------------- |
| bk_ids | int array | Yes | bk_host_id array,the max length is 200 |
| fields | string array | Yes | host snapshot property list, the specified snapshot property feilds will be returned <br>supported fields: bk_host_id,bk_all_ips|

### Request Parameters Example

```json
{
"bk_ids": [
1,
2
],
"fields": [
"bk_host_id",
"bk_all_ips"
]
}
```

### Return Result Example

```json
{
"result": true,
"code": 0,
"message": "success",
"data": [
{
"bk_all_ips": {
"interface": [
{
"addrs": [
{
"ip": "192.xx.xx.xx"
},
{
"ip": "fe80::xx:xx:xx:xx"
}
],
"mac": "52:xx:xx:xx:xx:xx"
},
{
"addrs": [
{
"ip": "192.xx.xx.xx"
}
],
"mac": "02:xx:xx:xx:xx:xx"
}
]
},
"bk_host_id": 1
},
{
"bk_all_ips": {
"interface": [
{
"addrs": [
{
"ip": "172.xx.xx.xx"
},
{
"ip": "fe80::xx:xx:xx:xx"
}
],
"mac": "52:xx:xx:xx:xx:xx"
},
{
"addrs": [
{
"ip": "192.xx.xx.xx"
}
],
"mac": "02:xx:xx:xx:xx:xx"
}
]
},
"bk_host_id": 2
}
]
}
```
Loading

0 comments on commit 8ed5be7

Please sign in to comment.