Skip to main content
Version: v1.6

Read a Namespaced Network Attachment Definition

GET 

/apis/k8s.cni.cncf.io/v1/namespaces/:namespace/network-attachment-definitions/:name

Get a NetworkAttachmentDefinition object.

Request

Path Parameters

    name stringrequired

    Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

    Name of the resource

    namespace stringrequired

    Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*

    Object name and auth scope, such as for teams and projects

Query Parameters

    exact boolean

    Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.

    export boolean

    Should this value be exported. Export strips fields that a user can not specify.

Responses

OK

Schema
    apiVersionstringrequired
    kindstringrequired
    metadata object
    namestringrequired
    namespacestring
    spec objectrequired
    configstringrequired
    Default value:
curl -L 'https://699c5de8cd2250875530e216--harvester-preview.netlify.app/apis/k8s.cni.cncf.io/v1/namespaces/:namespace/network-attachment-definitions/:name' \
-H 'Accept: application/json'
RequestCollapse all
Parameters
— pathrequired
— pathrequired
— query
— query