NodeRequest
Requisição para cadastrar um novo node.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| nome | str | Nome identificador do node. | |
| ip | str | Endereço IP (IPv4 ou IPv6). Opcional se DNS for informado. | [optional] |
| dns | str | Nome DNS/hostname do node. Opcional se IP for informado. | [optional] |
| porta | int | Porta de conexão SSH. | |
| modo_execucao | ExecutionMode | ||
| local_execution | TypeNodeExecutionEnum |
Example
from pldpro_sdk.api_client.models.node_request import NodeRequest
# TODO update the JSON string below
json = "{}"
# create an instance of NodeRequest from a JSON string
node_request_instance = NodeRequest.from_json(json)
# print the JSON string representation of the object
print(NodeRequest.to_json())
# convert the object into a dict
node_request_dict = node_request_instance.to_dict()
# create an instance of NodeRequest from a dict
node_request_from_dict = NodeRequest.from_dict(node_request_dict)