Accounts

Validate Credentials for Azure

Changed on

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

Request

  • Base URL
    https://api.spotinst.io
  • URL
    https://api.spotinst.io/azure/setup/credentials/validation
  • Auth
    HTTP bearer

Parameters

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

Request body

OR

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"
    }
  }
}

Changes

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • warning

      removed the request property /

    • info

      added subschema #1: Client secret authentication subschema #2: PEM certificate authentication to the request property oneOf list

    • warning

      removed the request property /

    • info

      the request property / became optional

    • info

      the request property / became optional

    • info

      the request property / became optional