sidebar | permalink | keywords | summary |
---|---|---|---|
sidebar |
cm/wf_common_identity_get_provider_accounts.html |
BlueXP, get accounts, cloud, platform, rest, api |
You can retrieve a list of the BlueXP accounts available for the supported cloud platforms. |
You can retrieve a list of the cloud provider accounts that have been added to BlueXP.
HTTP method | Resource path |
---|---|
GET |
/occm/api/accounts/cloud-providers |
- curl example
curl --location --request GET 'https://cloudmanager.cloud.netapp.com/occm/api/accounts/cloud-providers' --header 'Content-Type: application/json' --header 'x-agent-id: <AGENT_ID>' --header 'Authorization: Bearer <ACCESS_TOKEN>'
- Input parameters
-
None
- Output
-
The JSON output example shows the cloud provider accounts returned in separate named arrays.
- JSON output example
{
"awsAccounts": [
{
"publicId": "InstanceProfile",
"accountName": "Instance Profile",
"accountType": "INSTANCE_PROFILE",
"accountId": "733004784675",
"accessKey": "",
"assumeRole": null,
"occmRole": "occm",
"vsaList": [
{
"publicId": "VsaWorkingEnvironment-N6BPfglr",
"name": "ziv04we01ha",
"workingEnvironmentType": "AWSHA"
}
],
"subscriptionId": "subsctionIDshownhere"
}
],
"azureAccounts": [],
"gcpStorageAccounts": [],
"nssAccounts": []
}