13.2. API 端点
可用的 API 端点如下:
/apis/network.operator.openshift.io/v1/egressrouters-
GET: 列出类型为 EgressRouter 的对象
-
/apis/network.operator.openshift.io/v1/namespaces/{namespace}/egressrouters-
DELETE:删除 EgressRouter 集合 -
GET: 列出类型为 EgressRouter 的对象 -
POST:创建 EgressRouter
-
/apis/network.operator.openshift.io/v1/namespaces/{namespace}/egressrouters/{name}-
DELETE:删除 EgressRouter -
GET:读取指定的 EgressRouter -
PATCH: 部分更新指定的 EgressRouter -
PUT:替换指定的 EgressRouter
-
/apis/network.operator.openshift.io/v1/namespaces/{namespace}/egressrouters/{name}/status-
GET:指定 EgressRouter 的读取状态 -
PATCH: 部分更新指定 EgressRouter 的状态 -
PUT:替换指定 EgressRouter 的状态
-
- HTTP 方法
-
GET - 描述
- 列出 EgressRouter 类型的对象
| HTTP 代码 | 响应正文 |
|---|---|
| 200 - OK |
|
| 401 - Unauthorized | 空 |