| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| ipAddress | string | Optional | Yes | - | |
| sshKey | string | Optional | Yes | - | |
| sshPort | string | Optional | Yes | - | The port to ssh into the host |
| sshUser | string | Optional | Yes | - | The ssh username to use to ssh into the host |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.
CreatePOST: /v1/genericConfigs
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"ipAddress": "string",
"sshKey": "string",
"sshPort": "string",
"sshUser": "string"
}' 'http://${RANCHER_URL}:8080/v1/genericConfigs'