简体   繁体   English

如何使用Rest API在IBM云对象存储中获取区域列表

[英]How to get a region list in IBM cloud object storage using Rest API

I need a Get Region List in IBM Cloud Object Storage using Rest API. 我需要使用Rest API在IBM Cloud Object Storage中获取区域列表。 For Example :us-east,au-syd etc.I didn't find any API references related to get Region List. 例如:us-east,au-syd等。我没有找到与获取区域列表相关的任何API引用。

You may want to retrieve the region endpoints. 您可能要检索区域端点。

Try using the following rest api call: 尝试使用以下rest api调用:

https://[username]:[apiKey]@api.softlayer.com/rest/v3/SoftLayer_Network_Storage_Hub_Cleversafe_Account/[accountId]/getEndpoints

Output: 输出:

[
  {
        "legacy": true,
        "location": "us-south",
        "region": "regional",
        "type": "public",
        "url": "s3.us-south.objectstorage.softlayer.net"
    },
    {
        "legacy": true,
        "location": "us-east",
        "region": "regional",
        "type": "public",
        "url": "s3.us-east.objectstorage.softlayer.net"
    },
    {
        "legacy": true,
        "location": "eu-gb",
        "region": "regional",
        "type": "public",
        "url": "s3.eu-gb.objectstorage.softlayer.net"
    },
]

Reference: 参考:

https://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage_Hub_Cleversafe_Account/getEndpoints/ https://sldn.softlayer.com/reference/services/SoftLayer_Network_Storage_Hub_Cleversafe_Account/getEndpoints/

Hope this helps. 希望这可以帮助。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法通过Softlayer Rest API使用IBM云对象存储(VMDK)导入自定义图像 - Unable to Import Custom image using IBM cloud Object storage(VMDK) through Softlayer Rest API 使用软层REST API在IBM Cloud中放置新的VLAN订单时如何获取Vlan ID详细信息 - How to get Vlan ID details when a new VLAN order is placed in IBM Cloud using softlayer REST API 如何使用rest api将数据上传到谷歌云存储 - how to upload data to google cloud storage using rest api 如何使用软层Rest API在IBM Cloud中使用数据磁盘启动计算实例 - How to Launch a compute Instance with data disk in IBM cloud using softlayer Rest API 使用Cloud Functions REST API请求将文件存储在Firebase存储中 - Store file in Firebase Storage using Cloud Functions REST API request 如何使用REST API从IBM UrbanCode Deploy中删除应用程序? - How to delete an application from IBM UrbanCode Deploy using REST API? 为什么用Google Cloud Drive Rest API file.list 获取不到所有文件? - Why using Google Cloud Drive Rest API file.list can not get all the files? 中国有REST API的云存储提供商 - Cloud storage provider with REST API available in China 从 REST API 获取图像并将其上传到 Firebase 云存储使用 Z035489FF8D324159ZEEA 功能 Cloud Storage - Getting image from REST API and uploading it to Firebase Cloud Storage using Firebase Cloud Functions 如何使用REST API获取SharePoint列表属性“创建者” - How to get the SharePoint List Property 'Created By' using REST api
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM