PacketConfig

The configuration to launch an instance in Packet.

Resource Fields

Writeable Fields

Field Type Create Update Default Notes
apiKey string Optional - -  
billingCycle string Optional - hourly  
facilityCode string Optional - ewr1  
os string Optional - ubuntu_14_04  
plan string Optional - baremetal_1  
projectId string Optional - -  


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.

Operations

CreatePOST: /v1/projects/${PROJECT_ID}/packetConfigs

curl -u "${RANCHER_ACCESS_KEY}:${RANCHER_SECRET_KEY}" \
-X POST \
-H 'Content-Type: application/json' \
-d '{
	"apiKey": "",
	"billingCycle": "hourly",
	"facilityCode": "ewr1",
	"os": "ubuntu_14_04",
	"plan": "baremetal_1",
	"projectId": ""
}' 'http://${RANCHER_URL}:8080/v1/projects/${PROJECT_ID}/packetConfigs'
Edit this page