Replace a Cluster Network
PUT/apis/network.harvesterhci.io/v1beta1/clusternetworks/{name:[a-z0-9][a-z0-9\-]*}
Update a ClusterNetwork 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
- application/yaml
Body
required
apiVersion stringrequired
config object
property name* string
description string
enable booleanrequired
kind stringrequired
metadata object
name stringrequired
namespace string
Body
required
apiVersion stringrequired
config object
property name* string
description string
enable booleanrequired
kind stringrequired
metadata object
name stringrequired
namespace string
Responses
- 200
- 201
- 401
OK
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
config object
property name* string
description string
enable booleanrequired
kind stringrequired
metadata object
name stringrequired
namespace string
{
"apiVersion": "string",
"config": {},
"description": "string",
"enable": false,
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
config object
property name* string
description string
enable booleanrequired
kind stringrequired
metadata object
name stringrequired
namespace string
{
"apiVersion": "string",
"config": {},
"description": "string",
"enable": false,
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
}
}
Create
- application/json
- application/yaml
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
config object
property name* string
description string
enable booleanrequired
kind stringrequired
metadata object
name stringrequired
namespace string
{
"apiVersion": "string",
"config": {},
"description": "string",
"enable": false,
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
}
}
- Schema
- Example (from schema)
Schema
apiVersion stringrequired
config object
property name* string
description string
enable booleanrequired
kind stringrequired
metadata object
name stringrequired
namespace string
{
"apiVersion": "string",
"config": {},
"description": "string",
"enable": false,
"kind": "string",
"metadata": {
"name": "string",
"namespace": "string"
}
}
Unauthorized
- application/json
- application/yaml
- Schema
Schema
string
- Schema
Schema
string
Loading...