latestOpenAPI 3.0.02026-08-2045003.8 MB

72813baf8d47

Accounts

Validate Credentials for Azure

Validate the credentials for connecting a Spot account to an Azure Cloud account. The validation will test the credentials without actually set it. Please notice to run the set credentials request to perform the set Azure account credentials (https://docs.flexera.com/spot/connect-your-cloud-provider/azure-account) .

post/azure/setup/credentials/validation

Parameters

#/paths/~1azure~1costs/get/parameters/0 — unresolved $ref

Request body

clientIdstring

Set the application ID

clientSecretstring

Set the key secret

tenantIdstring

Set the directory ID

subscriptionIdstring

Set the subscription ID

Example request

{
  "clientId": "111111111",
  "clientSecret": "32431r2431434132",
  "tenantId": "1321e1e3123er23",
  "subscriptionId": "234r3141131"
}

Response

Validate Cloud Credentials for Azure Response

Example response

{
  "request": {
    "id": "46642c7d-bc29-417d-8ce4-79626f00c63c",
    "url": "/azure/setup/credentials/validation?accountId=act-123456",
    "method": "POST",
    "timestamp": "2018-11-19T13:49:11.911Z"
  },
  "response": {
    "status": {
      "code": 200,
      "message": "OK"
    }
  }
}