0
在提供BM服务器期间,我们可以使用postInstallScriptUri来安装/运行用户defiend脚本。如下所述参考有效载荷。SoftLayer API硬件:createObject:postInstallScriptUri:ObjectStorage
对象存储网址:
https://dal05.objectstorage.softlayer.net/auth/v1.0/test/agility.sh
以上objectStorage网址无法访问。它是公开网址。请让我知道如何从ObjectStorage访问数据。我不想使用使用REST API的凭据和授权密钥。直接我想访问这些文件。 (类似于亚马逊S3存储)。
{"parameters": [{"datacenter": {"name": "dal01" },
"hostname": "vijscript",
"domain": "test.com",
"hourlyBillingFlag":"",
"fixedConfigurationPreset": {
"keyName": "S1270_8GB_2X1TBSATA_NORAID"
},
"operatingSystemReferenceCode": "WIN_2012-STD_64",
"postInstallScriptUri" : `"https://dal05.objectstorage.softlayer.net/auth/v1.0/test/agility.sh"
}]
}
我知道了,它的工作。谢谢 :-) – vijay