24.2. API 端点


可用的 API 端点如下:

  • /apis/k8s.cni.cncf.io/v1/network-attachment-definitions

    • GET: 列出 NetworkAttachmentDefinition 类型的对象
  • /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions

    • DELETE :删除 NetworkAttachmentDefinition 集合
    • GET: 列出 NetworkAttachmentDefinition 类型的对象
    • POST :创建 NetworkAttachmentDefinition
  • /apis/k8s.cni.cncf.io/v1/namespaces/{namespace}/network-attachment-definitions/{name}

    • DELETE :删除 NetworkAttachmentDefinition
    • GET :读取指定的 NetworkAttachmentDefinition
    • PATCH: 部分更新指定的 NetworkAttachmentDefinition
    • PUT :替换指定的 NetworkAttachmentDefinition
HTTP 方法
GET
描述
列出 NetworkAttachmentDefinition 类型的对象
Expand
表 24.1. HTTP 响应
HTTP 代码响应正文

200 - OK

NetworkAttachmentDefinitionList 模式

401 - Unauthorized

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部