| Field | Type | Create | Update | Default | Notes |
|---|---|---|---|---|---|
| apiEndpoint | string | Optional | Yes | - | |
| apiKey | string | Optional | Yes | - | |
| cpu | string | Optional | Yes | - | |
| diskSize | string | Optional | Yes | - | |
| domain | string | Optional | Yes | - | |
| hostname | string | Optional | Yes | - | |
| hourlyBilling | boolean | Optional | Yes | - | |
| image | string | Optional | Yes | - | |
| localDisk | boolean | Optional | Yes | - | |
| memory | string | Optional | Yes | - | |
| privateNetOnly | boolean | Optional | Yes | - | |
| privateVlanId | string | Optional | Yes | - | |
| publicVlanId | string | Optional | Yes | - | |
| region | string | Optional | Yes | - | The region to use when launching the host |
| user | string | Optional | Yes | - |
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/softlayerConfigs
curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
"apiEndpoint": "string",
"apiKey": "string",
"cpu": "string",
"diskSize": "string",
"domain": "string",
"hostname": "string",
"hourlyBilling": false,
"image": "string",
"localDisk": false,
"memory": "string",
"privateNetOnly": false,
"privateVlanId": "string",
"publicVlanId": "string",
"region": "string",
"user": "string"
}' 'http://${RANCHER_URL}:8080/v1/softlayerConfigs'