2016-02-19 76 views
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"  
    }] 
} 

回答

0

可能使CDN可以为你,也可以通过Control Portal做了最好的选择:

遵循以下步骤:

  1. 单击存储
  2. 选择对象存储(例如SLOS3011111-10)。
  3. 选择集群(如巴黎1)
  4. 选择容器(例如ContainerTest)
  5. 点击 “启用CDN” 选项
  6. 选择文件的行
  7. 在右侧的 “HTTP URL” 将显示
+0

我知道了,它的工作。谢谢 :-) – vijay