How to set the cloud account polling interval using the Dome9 API

In this topic:

    This article describes how to use the Dome9 API to set the polling interval that Dome9 uses to fetch information about entities in your cloud accounts, from your cloud provider. You can set the polling interval globally, for all entities in an account, or specifically for a region, or an individual cloud entity.

    The interval is set relative to a base polling period.

    The polling interval is set using the AccountPollingInterval resource.

    The AccountPollingInterval resource

    GET /api/AccountPollingInterval

    Request

    Response 

    [
      {
        "id": "00000000-0000-0000-0000-000000000000",
        "entityId": {
          "address": "string",
          "sType": "error",
          "id": "string"
        },
        "score": 0,
        "interval": 0,
        "cloudAccountId": "00000000-0000-0000-0000-000000000000",
        "region": "us_east_1",
        "entityType": "string"
      }
    ]

    Parameters  

     

     

    click to expand

    id  - the cloud account id

    entityId - a structure with details for a specific cloud entity.

    address

    sType

    id

    score - 

    interval - the polling interval for the entity

    cloudAccountId - the cloud account id in Dome9

    region - the region in the cloud account for the entity

    entityType - the type of entity 

     

     

      

    POST  /api/AccountPollingInterval

    Request

     {
    "interval": 0,
    "cloudAccountId": "00000000-0000-0000-0000-000000000000",
    "region": "string",
    "entityType": "string"
    }

     

    Parameters

     

     

    click to expand

    interval

    cloudAccountId

    region

    entityType

     

     

    Response

    200 OK

    Set the polling interval for an entire account

    Set the polling interval for a region

    Set the polling interval for a specific entity in a cloud account