Infomaniak Public Cloud icon

Infomaniak Public Cloud

Interact with Infomaniak Public Cloud API

Actions70

Kubernetes Service > IP Filtering → Create/Update IP Filters

AI-generated

Summary

Create or update IP filters for a Kubernetes service in Infomaniak Public Cloud.

Inputs

  • authentication (required) — Authentication method (OAuth2 or API Key)
  • path_public_cloud_id (required) — Identifier of the public cloud.
  • path_public_cloud_project_id (required) — Identifier of the public cloud project.
  • path_kaas_id (required) — Identifier of the KaaS service.
  • body_ip_filters (required) — List of IP filters to apply to the Database Service.
  • returnFullResponse — If true, the full API response is returned; otherwise only a success indicator.

Output shape

the API response typically containing the created or updated IP filter resource

may include additional metadata; no pagination mentioned; success/failure is indicated by HTTP status

Examples

Example 1: Add IP filter to a Database Service

authentication: OAuth2; path_public_cloud_id: 1; path_public_cloud_project_id: 5; path_kaas_id: 12; body_ip_filters: [{type:'whitelist', ip:'192.0.2.0/24'}]; returnFullResponse: false

Example 2: Update existing IP filter list

authentication: API Key; path_public_cloud_id: 2; path_public_cloud_project_id: 7; path_kaas_id: 8; body_ip_filters: [{type:'whitelist', ip:'203.0.113.0/24'}, {type:'whitelist', ip:'198.51.100.0/24'}]; returnFullResponse: true

Links

Discussion