update_bare_metal_server
Modify bare metal server attributes including label, tag, user data, and DDoS protection settings using server identifier, hostname, or UUID for identification.
Instructions
Update a bare metal server. Smart identifier resolution: use server label, hostname, or UUID.
Args: server_identifier: The bare metal server label, hostname, or ID label: New label tag: New tag user_data: New user data enable_ddos_protection: Enable/disable DDoS protection
Returns: Updated bare metal server details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
enable_ddos_protection | No | ||
label | No | ||
server_identifier | Yes | ||
tag | No | ||
user_data | No |
Input Schema (JSON Schema)
{
"properties": {
"enable_ddos_protection": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"default": null,
"title": "Enable Ddos Protection"
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Label"
},
"server_identifier": {
"title": "Server Identifier",
"type": "string"
},
"tag": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tag"
},
"user_data": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "User Data"
}
},
"required": [
"server_identifier"
],
"type": "object"
}