Get Data Centers
All available data centers in IBM® Storage Protect for Cloud.
To get all available data centers in IBM Storage Protect for Cloud, use the following method:
var partnerContext = PublicApi.GetParnterContext("https://api.sp4c.storage-defender.ibm.com", "partnername","partnerpassword");
var dataCenters = partnerContext.PartnerService.GetDataCenters();
Response Information
The response of getting available data centers in IBM Storage Protect for Cloud.
| Element | Description | Type |
|---|---|---|
| Id | Displays the ID of a data center. | String |
| Name | Displays the name of a data center. | String |