-2
가상 게스트에 프로비저닝 할 때 SSH 키를 추가하기 위해 다음과 같은 REST API를 시도했지만 작동하지 않습니다.Softlayer REST API로 가상 게스트에 SSH 키를 추가하는 방법
url: https://api.softlayer.com/rest/v3/SoftLayer_Virtual_Guest.json
body:
{"parameters": [{"datacenter": {"name": "lon02"}, "domain": "softlayer.com", "hourlyBillingFlag": true, "blockDeviceTemplateGroup": {"globalIdentifier": "2e9bba22-c88a-4e3b-87af-45fb8fc4531e"}, "localDiskFlag": true, "maxMemory": 4096, "hostname": "bosh-sl-test", "startCpus": 4, "primaryBackendNetworkComponent": {"networkVlan": {"id": 524954}}, "sshKeys": [{"id": 886121}], "primaryNetworkComponent": {"networkVlan": {"id": 524956}}}]}