Endpoint

/v1/portal/spokes/eviction-settings

GET

Retrieve the configuration for recovering cluster capacity by removing cached data automatically.

Parameters

This resource has no parameters.

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_portal_eviction_settings",
  "type": "object",
  "properties": {
    "free_threshold": {
      "description": "Fraction of free total cluster capacity that the system will try to maintain by evicting cached spoke portal data, in the range [0.0, 1.0]. Default is 0.15, 0.0 means no eviction, 1.0 means always evict.",
      "type": "number"
    }
  }
}

PUT

Overwrite the configuration for recovering cluster capacity by removing cached data automatically.

Parameters

Name Description Required
If-Match ETag for expected version No

Request

Schema

{
  "description": "api_portal_eviction_settings",
  "type": "object",
  "properties": {
    "free_threshold": {
      "description": "Fraction of free total cluster capacity that the system will try to maintain by evicting cached spoke portal data, in the range [0.0, 1.0]. Default is 0.15, 0.0 means no eviction, 1.0 means always evict.",
      "type": "number"
    }
  }
}

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_portal_eviction_settings",
  "type": "object",
  "properties": {
    "free_threshold": {
      "description": "Fraction of free total cluster capacity that the system will try to maintain by evicting cached spoke portal data, in the range [0.0, 1.0]. Default is 0.15, 0.0 means no eviction, 1.0 means always evict.",
      "type": "number"
    }
  }
}

PATCH

Change the configuration for recovering cluster capacity by removing cached data automatically.

Parameters

Name Description Required
If-Match ETag for expected version No

Request

Schema

{
  "description": "api_portal_eviction_settings",
  "type": "object",
  "properties": {
    "free_threshold": {
      "description": "Fraction of free total cluster capacity that the system will try to maintain by evicting cached spoke portal data, in the range [0.0, 1.0]. Default is 0.15, 0.0 means no eviction, 1.0 means always evict.",
      "type": "number"
    }
  }
}

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "api_portal_eviction_settings",
  "type": "object",
  "properties": {
    "free_threshold": {
      "description": "Fraction of free total cluster capacity that the system will try to maintain by evicting cached spoke portal data, in the range [0.0, 1.0]. Default is 0.15, 0.0 means no eviction, 1.0 means always evict.",
      "type": "number"
    }
  }
}