Patch a Node Network
PATCH/apis/network.harvesterhci.io/v1beta1/nodenetworks/{name:[a-z0-9][a-z0-9\-]*}
Patch a NodeNetwork object.
Request
Path Parameters
name stringrequired
Name of the resource
namespace stringrequired
Object name and auth scope, such as for teams and projects
- application/json-patch+json
- application/merge-patch+json
Body
required
object
Body
required
object
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
kind stringrequired
metadata object
spec object
status object
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
},
"spec": {
"description": "string",
"nic": "string",
"nodeName": "string",
"type": "string"
},
"status": {
"conditions": [
{
"lastTransitionTime": "string",
"lastUpdateTime": "string",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"networkIDs": [
0
],
"networkLinkStatus": {},
"nics": [
{
"index": 0,
"masterIndex": 0,
"name": "string",
"state": "string",
"type": "string",
"usedByManagementNetwork": true,
"usedByVlanNetwork": true
}
]
}
}
Unauthorized
- application/json
- Schema
Schema
string
- curl
- python
- go
- nodejs
- CURL
curl -L -X GET 'https://docs.harvesterhci.io' \
-H 'Content-Type: application/json-patch+json' \
-H 'Accept: application/json'