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
Possible values: Value must match regular expression [a-z0-9][a-z0-9\-]*
Name of the resource
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
Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'.
Should this value be exported. Export strips fields that a user can not specify.
Responses
- 200
- 401
OK
- application/json
- application/json;stream=watch
- application/yaml
- Schema
- Example (auto)
Schema
metadata object
spec objectrequired
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"config": ""
}
}
- Schema
- Example (auto)
Schema
metadata object
spec objectrequired
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"config": ""
}
}
- Schema
- Example (auto)
Schema
metadata object
spec objectrequired
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"config": ""
}
}
Unauthorized
- application/json
- application/json;stream=watch
- application/yaml
- Schema
- Example (auto)
Schema
"string"
- Schema
- Example (auto)
Schema
"string"
- Schema
- Example (auto)
Schema
"string"
- curl
- python
- go
- nodejs
- CURL
curl -L 'https://699c5de8cd2250875530e216--harvester-preview.netlify.app/apis/k8s.cni.cncf.io/v1/namespaces/:namespace/network-attachment-definitions/:name' \
-H 'Accept: application/json'
