Get a quota rule defined for your organization by quota rule ID

You can retrieve a specific quota rule for your organization by using a quota rule ID, as shown here.

Request

    GET https://quota.bam.api.here.com/v1/realms/org123456789/rules/CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd

Response: HTTP 200 OK

{
    "ruleId": "CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd",
    "hrn": "hrn:here:quota::org123456789:CUSTOMER-QUOTA-db8ac3fb-f560-482c-a1e5-1626d503e4cd",
    "name": "Example rule",
    "description": "Alert on Log search IO threshold 10Gi.",
    "status": "active",
    "queryConditions": [
        {
            "key": "featureId",
            "value": "hrn:here:portal::org123456789:logs"
        }
    ],
    "usageThresholdCondition": {
        "thresholdType": "percentage",
        "threshold": 70,
        "usageLimit": 70
    },
    "actions": [
        "alert"
    ],
    "actionableEntity": {
        "entityType": "projectHrn",
        "entityId": "hrn:here:authorization::org123456789:project/my-project-0000"
    },
    "timeRange": {
        "duration": "monthly"
    },
    "ruleType": "alert",
    "emailNotifications": [
        "example@here.com",
        "test@here.com"
    ],
    "created": "2021-09-03T07:08:23Z",
    "modified": "2021-09-03T07:08:23Z",
    "createdBy": "dhIQFVejQgPkTXLn8CtH",
    "updatedBy": "dhIQFVejQgPkTXLn8CtH"
}

results matching ""

    No results matching ""