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