latestOpenAPI 3.0.02026-08-2045003.8 MB
72813baf8d47
Accounts
Set Credentials for Azure
Link a Spot account to an Azure Cloud account. Enter the expiration date of your Azure client secret. Spot can remind you to update before the credentials expire. If your client secret expires, your Azure subscription will disconnect from Spot and prevent Spot from managing your resources.
post/azure/setup/credentials
Parameters
#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref
Request body
Example request
{
"clientSecret": "32431r2431434132",
"tenantId": "1321e1e3123er23",
"subscriptionId": "234r3141131",
"expirationDate": "2025-12-31T23:59:00.000Z"
}Response
Set Cloud Credentials For Azure Response
Example response
{
"request": {
"id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
"url": "/azure/setup/credentials?accountId=act-123456",
"method": "POST",
"timestamp": "2018-11-19T13:49:11.911Z"
},
"response": {
"status": {
"code": 200,
"message": "OK"
}
}
}