Onboard an Azure account using the Dome9 API

In this topic:

    This note describes how to onboard an Azure account to Dome9 using the Dome9 REST API. It will use the AzureCloudAccount resource. 

    You can onboard the account to Dome9 in Read-Only or Manage mode. In this example, we will onboard it in Manage mode. See Operational modes for Azure subscriptions.

    Prerequisites

    Dome9 information

    Azure information

    • Application ID
    • Application Key

    These are obtained from the Azure management portal, in the App Registration page. Follow steps 3 - 8 in Onboard an Azure subscription to Dome9.

    Request

    POST /v2/AzureCloudAccount

    {
      "id": "********-****-****-****-************",
      "name": "Azure-account",
      "subscriptionId": "*******",
      "tenantId": "string",
      "credentials": {
        "clientId": "******",
        "clientPassword": "******"
      },
      "operationMode": "Manage",
      "error": "string",
      "creationDate": "2018-10-16T12:29:10Z"
    }

    Response

    200 OK. There is no information in the response.

    See also

    Onboard an Azure subscription to Dome9

    AzureCloudAccount (Dome9 API)