Download OpenAPI specification:Download
This endpoint is used to list audit logs.
Array of objects List of queries to implement (optional). | |
start | string <date-time> Start date (optional). |
end | string <date-time> End date (optional). |
size required | integer <= 1000 Maximum number of records to return. |
from required | integer Number of records to skip. |
order | string Enum: "asc" "desc" Sort order. |
{- "queries": [
- {
- "key": "username",
- "condition": "equals",
- "value": "testuser"
}
], - "start": "2025-01-01T00:00:00Z",
- "end": "2025-01-23T23:59:59Z",
- "size": 100,
- "from": 0,
- "order": "asc"
}
{- "hits": [
- { }
], - "total": {
- "value": 1000
}
}
Login as a root user or an IAM user. For root login, only email
and password
are required. For IAM user login, email
, password
, and realm
are required.
email required | string User email address |
password required | string User password |
{- "email": "root@example.com",
- "password": 123456
}
{- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ8...",
- "root": true
}
Enables Two-Factor Authentication (2FA) enforcement for the user. Both token
and secret
are required for this request.
token required | string The authentication token provided by the user. |
secret required | string The 2FA secret key for the user. |
{- "token": "abc123def456",
- "secret": "JBSWY3DPEHPK3PXP"
}
This endpoint is used to check if Two-Factor Authentication (2FA) is enabled for the user.
{- "status": "enabled",
- "secret": "JBSWY3DPEHPK3PXP"
}
This endpoint verifies the user's Two-Factor Authentication (2FA) token and returns authentication tokens upon successful verification.
token required | string The authentication token provided by the user. |
{- "token": "123456"
}
{- "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
- "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ8...",
- "root": true
}
This endpoint enables Two-Factor Authentication (2FA) for the user. Both token
and secret
are required in the request body.
token required | string The authentication token provided by the user. |
secret required | string The 2FA secret key for the user. |
{- "token": "123456",
- "secret": "JBSWY3DPEHPK3PXP"
}
{- "success": true
}
This endpoint disables Two-Factor Authentication (2FA) for the user. A valid token
must be provided in the request body.
token required | string The authentication token used to disable 2FA. |
{- "token": "abc123def456"
}
{- "success": true
}
This endpoint allows users to reset their password upon first login. A new password
must be provided in the request body.
password required | string The new password for the user. |
{- "password": "NewPassword123!"
}
{- "success": true
}
This endpoint allows a user to change their password. The request body must include both the current password (oldPassword
) and the new password (password
).
oldPassword required | string The user's current password. |
password required | string The new password to set. |
{- "oldPassword": "currentPassword123",
- "password": "newPassword456"
}
{- "success": true
}
Manages billing operations within the CMS service. Only root users are authorized to perform these operations.
Retrieves a list of available currencies.
{- "totalresults": 2,
- "result": "success",
- "currencies": [
- {
- "id": 1,
- "code": "USD",
- "prefix": "$",
- "suffix": " USD",
- "format": 2,
- "rate": "1.00000"
}, - {
- "id": 3,
- "code": "TRY",
- "prefix": "₺",
- "suffix": "TRY",
- "format": 1,
- "rate": "36.23451"
}
]
}
Retrieves a list of available payment methods.
{- "result": "success",
- "totalresults": 2,
- "paymentmethods": {
- "paymentmethod": [
- {
- "module": "banktransfer",
- "displayname": "Bank Transfer"
}, - {
- "module": "lidio",
- "displayname": "Credit Card"
}
]
}
}
Attempts to capture a payment on an unpaid credit card invoice.
invoiceid | integer The ID of the pending order. |
cvv | string The CVV Number for the card being attempted. |
{- "invoiceid": 123,
- "cvv": "123"
}
{- "result": "success"
}
Changes the credit card connected to an invoice to pay it with a different credit card.
invoiceId | integer The ID of the invoice. |
paymethodId | integer The ID of the new payment method. |
{- "invoiceId": 123,
- "paymethodId": 456
}
{- "result": "success"
}
Applies a promotion code discount amount to the basket.
code | string The promotion code to apply. |
Array of objects |
{- "code": "percentage",
- "products": [
- {
- "pid": 1,
- "totalPrice": 376.89,
- "setupFee": 195.9
}
]
}
{- "discount": 130.28,
- "newTotal": 1315.22
}
Adds a new order with the specified details.
paymentmethod | string The payment method to use. |
pid | Array of integers The product IDs to order. |
Array of objects Custom fields for the order. | |
Array of objects Configuration options for the order. | |
promocode | string The promotion code to apply. |
{- "paymentmethod": "lidio",
- "pid": [
- 25,
- 31
], - "customfields": [
- {
- "136": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDAnwHP0q1TJwmrSKHlNqlntH3pMB5hS5ehPT3u7O0c7gaowoj6bbKhg5bN+zweDXLcgnVopLTFRvBkQzq3rhBEA30PkyeUpMdOJ8w46hlHkL43xrEpRJ+ZEVrL0Ss9HnwlWqPhhChgEZTEggQVzvQNfTfEuBAbylAe1Scgekj/GZ9vUayzBd0cusR32xBXHjoGxL6sOA9yzwAKp7dLuUxzGc7vMWgMKlNwVt+...3"
}, - {
- "139": "testvmname"
}
], - "configoptions": [
- {
- "545": 681
}, - {
- "546": 729
}, - {
- "493": 0
}, - {
- "502": 0
}, - {
- "514": 10
}, - {
- "544": 10
}, - {
- "601": 10
}, - {
- "602": 10
}, - {
- "509": 10
}, - {
- "522": 656
}, - {
- "532": 10
}
], - "promocode": "percentage"
}
{- "result": "success",
- "orderid": 2786,
- "productids": "2442,2443",
- "serviceids": "2442,2443",
- "addonids": "",
- "domainids": "",
- "invoiceid": 6013
}
Applies a credit to an invoice.
invoiceId | integer The ID of the invoice. |
amount | number The amount of credit to apply. |
{- "invoiceId": 6570,
- "amount": 0.01
}
{- "result": "success",
- "invoiceid": 6570,
- "amount": 0.01,
- "invoicepaid": "false"
}
Manages client operations within the CMS service. Only root users are authorized to perform these operations.
Retrieves the details of a client.
{- "result": "string",
- "userid": 0,
- "client_id": 0,
- "id": 0,
- "owner_user_id": 0,
- "uuid": "string",
- "firstname": "string",
- "lastname": "string",
- "fullname": "string",
- "companyname": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "fullstate": "string",
- "state": "string",
- "postcode": "string",
- "countrycode": "string",
- "country": "string",
- "phonenumber": "string",
- "tax_id": "string",
- "email_preferences": {
- "general": 0,
- "invoice": 0,
- "support": 0,
- "product": 0,
- "domain": 0,
- "affiliate": 0
}, - "statecode": "string",
- "countryname": "string",
- "phonecc": "string",
- "phonenumberformatted": "string",
- "telephoneNumber": "string",
- "billingcid": 0,
- "notes": "string",
- "currency": 0,
- "defaultgateway": "string",
- "cctype": "string",
- "cclastfour": "string",
- "gatewayid": "string",
- "groupid": 0,
- "status": "string",
- "credit": "string",
- "taxexempt": true,
- "latefeeoveride": true,
- "overideduenotices": true,
- "separateinvoices": true,
- "disableautocc": true,
- "emailoptout": true,
- "marketing_emails_opt_in": true,
- "overrideautoclose": true,
- "allowSingleSignOn": 0,
- "email_verified": true,
- "language": "string",
- "isOptedInToMarketingEmails": true,
- "tax_state": "string",
- "tax_countrycode": "string",
- "lastlogin": "string",
- "customfields1": "string",
- "customfields": [
- {
- "id": 0,
- "value": "string"
}
], - "customfields2": "string",
- "customfields3": "string",
- "customfields4": "string",
- "customfields5": "string",
- "customfields6": "string",
- "customfields7": "string",
- "currency_code": "string",
- "users": {
- "user": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "is_owner": true
}
]
}, - "warning": "string",
- "client": {
- "userid": 0,
- "client_id": 0,
- "id": 0,
- "owner_user_id": 0,
- "uuid": "string",
- "firstname": "string",
- "lastname": "string",
- "fullname": "string",
- "companyname": "string",
- "email": "string",
- "address1": "string",
- "address2": "string",
- "city": "string",
- "fullstate": "string",
- "state": "string",
- "postcode": "string",
- "countrycode": "string",
- "country": "string",
- "phonenumber": "string",
- "tax_id": "string",
- "email_preferences": {
- "general": 0,
- "invoice": 0,
- "support": 0,
- "product": 0,
- "domain": 0,
- "affiliate": 0
}, - "statecode": "string",
- "countryname": "string",
- "phonecc": "string",
- "phonenumberformatted": "string",
- "telephoneNumber": "string",
- "billingcid": 0,
- "notes": "string",
- "currency": 0,
- "defaultgateway": "string",
- "groupid": 0,
- "status": "string",
- "credit": "string",
- "taxexempt": true,
- "latefeeoveride": true,
- "overideduenotices": true,
- "separateinvoices": true,
- "disableautocc": true,
- "emailoptout": true,
- "marketing_emails_opt_in": true,
- "overrideautoclose": true,
- "allowSingleSignOn": 0,
- "email_verified": true,
- "language": "string",
- "isOptedInToMarketingEmails": true,
- "tax_state": "string",
- "tax_countrycode": "string",
- "lastlogin": "string",
- "customfields1": "string",
- "customfields": [
- {
- "id": 0,
- "value": "string"
}
], - "customfields2": "string",
- "customfields3": "string",
- "customfields4": "string",
- "customfields5": "string",
- "customfields6": "string",
- "customfields7": "string",
- "currency_code": "string",
- "users": {
- "user": [
- {
- "id": 0,
- "name": "string",
- "email": "string",
- "is_owner": true
}
]
}
}
}
Updates the details of an existing client. The customfields property is a Base64 encoded string that includes the custom fields in the format {"customfield[96]": "Individual" } when decoded.
address1 | string Client's address line 1 |
address2 | string Client's address line 2 |
city | string Client's city |
state | string Client's state |
postcode | string Client's postal code |
country | string Client's country |
password | string Client's password |
currency | number Client's currency |
customfields | string Base64 encoded string of custom fields |
firstname | string Client's first name |
lastname | string Client's last name |
phonenumber | string Client's phone number |
isBillingDetailUpdate | boolean Flag to indicate if the update is for billing details |
{- "address1": "address1",
- "address2": "address2",
- "city": "city",
- "state": "state",
- "postcode": "00000",
- "country": "TR",
- "password": "password",
- "currency": 1,
- "customfields": "ewogICAgICAgICJjdXN0b21maWVsZFs5Nl0iOiAiSW5kaXZpZHVhbCIKfQ==",
- "firstname": "John",
- "lastname": "Doe",
- "phonenumber": "+90.555 555 55 55",
- "isBillingDetailUpdate": false
}
{- "result": "success",
- "clientid": "1"
}
Retrieves the products of a client.
limitstart | integer The offset for the returned log data (default: 0) |
limitnum | integer The number of records to return (default: 25) |
serviceid | integer The specific service id to obtain the details for |
pid | integer The specific product id to obtain the details for |
{- "result": "success",
- "clientid": "22",
- "totalresults": 1,
- "numreturned": 1,
- "products": [
- {
- "id": 116,
- "clientid": 22,
- "orderid": 115,
- "ordernumber": 9923851411,
- "pid": 1,
- "regdate": "2025-01-01",
- "name": "CCE Monthly (eu-se-1b)",
- "translated_name": "CCE Monthly (eu-se-1b)",
- "groupname": "Cloud Compute Engine (CCE)",
- "translated_groupname": "Cloud Compute Engine (CCE)",
- "domain": "",
- "dedicatedip": "",
- "serverid": 1,
- "servername": "api-ssp-dev",
- "serverip": "",
- "serverhostname": "api-ssp-dev.dt.net.tr",
- "suspensionreason": "",
- "firstpaymentamount": "25.44",
- "recurringamount": "25.44",
- "paymentmethod": "banktransfer",
- "paymentmethodname": "Bank Transfer",
- "billingcycle": "Monthly",
- "nextduedate": "2025-01-01",
- "status": "Pending",
- "username": "",
- "password": "",
- "subscriptionid": "",
- "promoid": 0,
- "overideautosuspend": 0,
- "overidesuspenduntil": "0000-00-00",
- "ns1": "",
- "ns2": "",
- "assignedips": "",
- "notes": "",
- "diskusage": 0,
- "disklimit": 0,
- "bwusage": 0,
- "bwlimit": 0,
- "lastupdate": "0000-00-00 00:00:00",
- "customfields": {
- "customfield": [
- {
- "id": 1,
- "name": "Project ID",
- "translated_name": "Project ID",
- "value": ""
}, - {
- "id": 2,
- "name": "User ID",
- "translated_name": "User ID",
- "value": ""
}, - {
- "id": 3,
- "name": "Domain ID",
- "translated_name": "Domain ID",
- "value": ""
}, - {
- "id": 4,
- "name": "Domain Name",
- "translated_name": "Domain Name",
- "value": ""
}, - {
- "id": 5,
- "name": "QoS Policy ID",
- "translated_name": "QoS Policy ID",
- "value": ""
}, - {
- "id": 37,
- "name": "region",
- "translated_name": "region",
- "value": ""
}
]
}, - "configoptions": {
- "configoption": [
- {
- "id": 1,
- "option": "vCPU",
- "type": "quantity",
- "value": 1
}, - {
- "id": 10,
- "option": "RAM",
- "type": "quantity",
- "value": 1
}, - {
- "id": 28,
- "option": "General SSD",
- "type": "quantity",
- "value": 0
}, - {
- "id": 25,
- "option": "HI-IOPS SSD",
- "type": "quantity",
- "value": 0
}, - {
- "id": 17,
- "option": "Snapshots",
- "type": "quantity",
- "value": 0
}, - {
- "id": 36,
- "option": "Static BGP",
- "type": "quantity",
- "value": 1
}, - {
- "id": 46,
- "option": "Load Balancer",
- "type": "quantity",
- "value": 0
}, - {
- "id": 51,
- "option": "Kubernetes",
- "type": "quantity",
- "value": 0
}, - {
- "id": 42,
- "option": "S2S VPN",
- "type": "quantity",
- "value": 0
}, - {
- "id": 69,
- "option": "Rate Limit",
- "type": "dropdown",
- "value": "5 Units $14.24 USD"
}, - {
- "id": 171,
- "option": "Windows Server Licence",
- "type": "quantity",
- "value": 0
}, - {
- "id": 172,
- "option": "Microsoft SQL Enterprise",
- "type": "quantity",
- "value": 0
}, - {
- "id": 173,
- "option": "Microsoft SQL Web",
- "type": "quantity",
- "value": 0
}, - {
- "id": 174,
- "option": "Microsoft SQL Standard",
- "type": "quantity",
- "value": 0
}, - {
- "id": 175,
- "option": "SSL VPN",
- "type": "quantity",
- "value": 0
}, - {
- "id": 176,
- "option": "DDOS",
- "type": "quantity",
- "value": 0
}, - {
- "id": 177,
- "option": "Backup Licence",
- "type": "quantity",
- "value": 0
}, - {
- "id": 178,
- "option": "Backup Size (per GB)",
- "type": "quantity",
- "value": 0
}
]
}
}
]
}
Retrieves the credit cards of the user, referred to as pay methods.
paymethodid | integer The id of a specific Pay Method to retrieve. |
{- "result": "success",
- "clientid": "22",
- "paymethods": [
- {
- "id": 55,
- "type": "RemoteCreditCard",
- "description": "test_desc",
- "gateway_name": "lidio",
- "contact_type": "Client",
- "contact_id": 22,
- "card_last_four": "6111",
- "expiry_date": "12/25",
- "start_date": "",
- "issue_number": "656",
- "card_type": "Visa",
- "remote_token": "743cdca8-f333-439e-b32c-54542f552955",
- "last_updated": "23/01/2025 16:35"
}, - {
- "id": 14,
- "type": "RemoteCreditCard",
- "description": "testcmscard2",
- "gateway_name": "lidio",
- "contact_type": "Client",
- "contact_id": 22,
- "card_last_four": "4509",
- "expiry_date": "12/26",
- "start_date": "",
- "issue_number": "",
- "card_type": "Visa",
- "remote_token": "1c6770f4-0991-4f50-a34e-3694eae1da60",
- "last_updated": "23/01/2025 16:35"
}
]
}
Adds a new pay method for the client.
type | string The type of pay method. |
description | string A description for the pay method. |
gateway_module_name | string The gateway module name. |
card_number | string The card number. |
card_expiry | string The card expiry date. |
card_issue_number | string The card issue number. |
set_as_default | boolean Whether to set this pay method as default. |
{- "type": "CreditCard",
- "description": "Personal Visa Card",
- "gateway_module_name": "lidio",
- "card_number": "4111111111111111",
- "card_expiry": "12/25",
- "card_issue_number": "123",
- "set_as_default": true
}
{- "result": "success",
- "paymethodid": 123
}
Updates the details of a specific pay method for the client.
paymethodid required | integer The ID of the pay method to update. |
card_expiry | string The expiry date to update for a CreditCard or RemoteCreditCard Pay Method. Format ‘MMYY’ eg 0122. Optional. Only provide if you wish to make an update. |
card_issue_number | string The issue number to update for a CreditCard or RemoteCreditCard Pay Method. Required. |
set_as_default | boolean Should the new Pay Method be the client default. |
description | string Description of the credit card. |
{- "card_expiry": "string",
- "card_issue_number": "string",
- "set_as_default": true,
- "description": "string"
}
{- "result": "success",
- "clientid": "1",
- "paymethodid": "1"
}
Retrieves a list of invoices for the client.
limitstart | integer The offset for the returned invoice data (default: 0) |
limitnum | integer The number of records to return (default: 25) |
status | string Find invoices for a specific status. Standard Invoice statuses plus Overdue |
orderby | string Enum: "id" "invoicenumber" "date" "duedate" "total" "status" The field to sort results by. Accepted values are: id, invoicenumber, date, duedate, total, status |
order | string Enum: "asc" "desc" Order sort attribute. Accepted values are: asc or desc. |
{- "result": "success",
- "totalresults": 6,
- "startnumber": 0,
- "numreturned": 1,
- "invoices": [
- {
- "id": 110,
- "userid": 22,
- "firstname": "test",
- "lastname": "cms",
- "companyname": "",
- "invoicenum": "7",
- "date": "2025-01-16",
- "duedate": "2025-01-16",
- "datepaid": "0000-00-00 00:00:00",
- "last_capture_attempt": "2025-02-19 09:00:09",
- "date_refunded": "0000-00-00 00:00:00",
- "date_cancelled": "0000-00-00 00:00:00",
- "subtotal": "737.39",
- "credit": "0.00",
- "tax": "147.48",
- "tax2": "0.00",
- "total": "884.87",
- "taxrate": "20.000",
- "taxrate2": "0.000",
- "status": "Unpaid",
- "paymentmethod": "lidio",
- "paymethodid": 14,
- "notes": "",
- "created_at": "2025-01-16 17:09:11",
- "updated_at": "2025-02-19 09:00:10",
- "currencycode": "USD",
- "currencyprefix": "$",
- "currencysuffix": " USD"
}
]
}
Retrieves the details of a specific invoice.
invoiceid required | integer The ID of the invoice. |
{- "result": "success",
- "invoiceid": 110,
- "invoicenum": "7",
- "userid": 22,
- "date": "2025-01-16",
- "duedate": "2025-01-16",
- "datepaid": "0000-00-00 00:00:00",
- "lastcaptureattempt": "2025-02-19 09:00:09",
- "subtotal": "737.39",
- "credit": "0.00",
- "tax": "147.48",
- "tax2": "0.00",
- "total": "884.87",
- "balance": "884.87",
- "taxrate": "20.000",
- "taxrate2": "0.000",
- "status": "Unpaid",
- "paymentmethod": "lidio",
- "notes": "",
- "ccgateway": true,
- "items": {
- "item": [
- {
- "id": 116,
- "type": "Upgrade",
- "relid": 13,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nvCPU: 151 => 157 x vCPU (16/01/2025 - 15/01/2025)",
- "amount": "21.30",
- "taxed": 1
}, - {
- "id": 117,
- "type": "Upgrade",
- "relid": 14,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nRAM: 1 => 5 x RAM (16/01/2025 - 15/01/2025)",
- "amount": "14.20",
- "taxed": 1
}, - {
- "id": 118,
- "type": "Upgrade",
- "relid": 15,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nGeneral SSD: 1 => 5 x Storage (16/01/2025 - 15/01/2025)",
- "amount": "0.32",
- "taxed": 1
}, - {
- "id": 119,
- "type": "Upgrade",
- "relid": 16,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nHI-IOPS SSD: 0 => 5 x Hi-IOPS (16/01/2025 - 15/01/2025)",
- "amount": "0.70",
- "taxed": 1
}, - {
- "id": 120,
- "type": "Upgrade",
- "relid": 17,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nSnapshots: 0 => 5 x snapshots (16/01/2025 - 15/01/2025)",
- "amount": "0.25",
- "taxed": 1
}, - {
- "id": 121,
- "type": "Upgrade",
- "relid": 18,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nStatic BGP: 1 => 5 x Static BGP (16/01/2025 - 15/01/2025)",
- "amount": "16.40",
- "taxed": 1
}, - {
- "id": 122,
- "type": "Upgrade",
- "relid": 19,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nLoad Balancer: 0 => 5 x LB (16/01/2025 - 15/01/2025)",
- "amount": "150.00",
- "taxed": 1
}, - {
- "id": 123,
- "type": "Upgrade",
- "relid": 20,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nKubernetes: 0 => 5 x Kubernetes (16/01/2025 - 15/01/2025)",
- "amount": "285.00",
- "taxed": 1
}, - {
- "id": 124,
- "type": "Upgrade",
- "relid": 21,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nS2S VPN: 0 => 5 x S2S VPN (16/01/2025 - 15/01/2025)",
- "amount": "354.00",
- "taxed": 1
}, - {
- "id": 125,
- "type": "Upgrade",
- "relid": 22,
- "description": "Upgrade/Downgrade Options: CCE Monthly (eu-se-1b)\nRate Limit: 5 Units $14.24 USD => 20 Units $56.94 USD (16/01/2025 - 15/01/2025)",
- "amount": "42.70",
- "taxed": 1
}
]
}, - "transactions": ""
}
Updates the payment method of a specific invoice.
invoiceid required | string The ID of the invoice to update. |
paymentmethod | string The payment method of the invoice in system format. Valid values are: lidio or banktransfer. |
{- "paymentmethod": "lidio"
}
{- "result": "success",
- "invoiceid": "1"
}
Retrieves a list of orders for the client.
limitstart | integer The offset for the returned order data (default: 0) |
limitnum | integer The number of records to return (default: 25) |
id | integer Find orders for a specific id |
status | string Find orders for a specific status |
{- "result": "success",
- "totalresults": 1,
- "startnumber": 0,
- "numreturned": 1,
- "orders": [
- {
- "id": 198,
- "ordernum": 1935299542,
- "userid": 22,
- "contactid": 0,
- "requestor_id": 0,
- "admin_requestor_id": 1,
- "date": "2025-02-07 15:45:19",
- "nameservers": "",
- "transfersecret": "",
- "renewals": "",
- "promocode": "",
- "promotype": "",
- "promovalue": "",
- "orderdata": "[]",
- "amount": "25.44",
- "paymentmethod": "banktransfer",
- "invoiceid": 156,
- "status": "Active",
- "ipaddress": "62.244.233.40",
- "fraudmodule": "",
- "fraudoutput": "",
- "notes": "",
- "paymentmethodname": "Bank Transfer",
- "paymentstatus": "Paid",
- "name": "test cms",
- "currencyprefix": "$",
- "currencysuffix": " USD",
- "frauddata": "",
- "validationdata": "",
- "renewalsByType": {
- "domains": "",
- "services": ""
}, - "lineitems": {
- "lineitem": [
- {
- "type": "product",
- "relid": 193,
- "producttype": "Other Product/Service",
- "product": "Cloud Compute Engine (CCE) - CCE Monthly (eu-se-1b)",
- "domain": "",
- "billingcycle": "Monthly",
- "amount": "$25.44 USD",
- "status": "Cancelled"
}
]
}
}
]
}
Retrieves the bank account details like IBAN, SWIFT, etc.
[- {
- "id": 54,
- "key": "tr_account",
- "value": "TR30 0011 1000 0000 0067 1855 63",
- "type": "bank_detail",
- "name": "Enpara",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "vat_number",
- "subjectID": "121200000014027",
- "description": "DT İletişim Hizmetleri A.Ş.",
- "created_at": "2025-02-06 13:53:28",
- "updated_at": null
}, - {
- "id": 55,
- "key": "usd_account",
- "value": "TR93 0011 1000 0000 0130 3479 19",
- "type": "bank_detail",
- "name": "IBAN",
- "order": 2,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "SWIFT",
- "subjectID": "FNNBTRISXXX",
- "description": "",
- "created_at": "2025-02-06 14:02:07",
- "updated_at": null
}, - {
- "id": 56,
- "key": "euro_account",
- "value": "TR56 0011 1000 0000 0076 9156 50",
- "type": "bank_detail",
- "name": "IBAN",
- "order": 3,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "SWIFT",
- "subjectID": "FNNBTRISXXX",
- "description": "",
- "created_at": "2025-02-06 14:02:39",
- "updated_at": null
}
]
Retrieves the custom fields for the client.
{- "customFields": [
- {
- "id": 66,
- "key": "identity_number",
- "value": "customfield[21]",
- "type": "individual_customfields",
- "name": "Identity Number",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "",
- "subjectID": "",
- "description": "",
- "created_at": "2025-02-13 11:00:50",
- "updated_at": null
}, - {
- "id": 67,
- "key": "industry",
- "value": "customfield[23]",
- "type": "common_customfields",
- "name": "Industry",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "valid_values",
- "subjectID": "Reklam ve Pazarlama,Eğitim,Enerji,Finans ve Sigorta Hizmetleri,Oyun,Hükümet,Sağlık Hizmetleri,Üretim,Medya ve Eğlence,Kar Amacı Gütmeyen,Perakende,Telekomünikasyon,Ulaşım,Seyahat ve Konaklama,Diğer",
- "description": "",
- "created_at": "2025-02-13 11:02:20",
- "updated_at": null
}, - {
- "id": 68,
- "key": "register_type",
- "value": "customfield[22]",
- "type": "common_customfields",
- "name": "Register Type",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "valid_values",
- "subjectID": "Individual,Corporate",
- "description": "",
- "created_at": "2025-02-13 11:03:42",
- "updated_at": null
}, - {
- "id": 69,
- "key": "tax_office",
- "value": "customfield[19]",
- "type": "corporate_customfields",
- "name": "Vergi Dairesi",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "",
- "subjectID": "",
- "description": "",
- "created_at": "2025-02-13 11:04:34",
- "updated_at": null
}, - {
- "id": 70,
- "key": "tax_number",
- "value": "customfield[20]",
- "type": "corporate_customfields",
- "name": "Vergi Numarası",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "",
- "subjectID": "",
- "description": "",
- "created_at": "2025-02-13 11:05:04",
- "updated_at": null
}, - {
- "id": 71,
- "key": "hear_us",
- "value": "customfield[24]",
- "type": "common_customfields",
- "name": "Bizi nasıl duydunuz?",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "valid_values",
- "subjectID": "Google,Bing,Other Search Engine,Web Hosting Talk,Friend,Advertisement,Other",
- "description": "",
- "created_at": "2025-02-13 11:05:47",
- "updated_at": null
}
]
}
Retrieves the credits for the client.
{- "result": "success",
- "totalresults": 38,
- "clientid": 498,
- "credits": {
- "credit": [
- {
- "id": 1190,
- "date": "2024-09-17",
- "description": "Upgrade/Downgrade Credit",
- "amount": "15.59",
- "relid": 0
}, - {
- "id": 1191,
- "date": "2024-09-17",
- "description": "Upgrade/Downgrade Credit",
- "amount": "377.86",
- "relid": 0
}
]
}
}
Manages product operations within the CMS service. Only root users are authorized to perform these operations.
Determines whether a product's quotas can be upgraded or not.
serviceId required | string Example: 12345 The service id of the product to check. |
{- "isQuotaUpgradable": false
}
Retrieves a list of CMS product services
[- {
- "id": 57,
- "key": "VPC",
- "value": "5",
- "type": "products",
- "name": "Cloud Compute Engine",
- "order": 1,
- "parameter_status": "Active",
- "isDeleted": 0,
- "isEncrypted": 0,
- "group": "CMS",
- "subjectType": "USD",
- "subjectID": "25.44",
- "description": "Run your applications with powerful computing capacity and leverage the advantages of scalable infrastructure.|Güçlü işlem kapasitesiyle uygulamalarınızı çalıştırın ve ölçeklenebilir altyapının avantajlarından yararlanın.",
- "created_at": "2025-02-13 07:37:55",
- "updated_at": null
}
]
Retrieves a list of SSD pair parameters available in CMS.
[- {
- "type": "HI-IOPS SSD",
- "key": "hi_iops_ssd",
- "totalId": 200,
- "vmId": 236,
- "total": {
- "id": 200,
- "name": "Total HI-IOPS SSD per GB (VM+Backup Size)",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 254,
- "name": "Total HI-IOPS SSD (VM+Backup)",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "0.09",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|Total HI-IOPS SSD (VM+Backup)"
}
]
}, - "gid": 7,
- "optionname": "gigabytes_HI-IOPS",
- "qtyminimum": 0,
- "qtymaximum": 512,
- "category": {
- "name": "Storage",
- "order": 2
}, - "displayName": "Total HI-IOPS SSD per GB (VM+Backup Size)",
- "description": ""
}, - "vm": {
- "id": 236,
- "name": "VM Size Hi-IOPS SSD per GB",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 331,
- "name": "VM Size Hi-OPS",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "0.00",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|VM Size Hi-OPS"
}
]
}, - "gid": 7,
- "optionname": "VM_Size_HiOPS",
- "qtyminimum": 0,
- "qtymaximum": 100,
- "category": {
- "name": "Storage",
- "order": 4
}, - "displayName": "VM Size Hi-IOPS SSD per GB",
- "description": ""
}
}
]
Checks if a product is upgradeable to a new product.
serviceId required | string The service id of the product to check. |
{- "isUpgradeable": true,
- "upgradeDetails": {
- "from_pid": 9,
- "to_pid": 1
}
}
Retrieves everything related to a product.
pid | string The ID of the product to query. |
gid required | integer The group category ID of the product. |
{- "result": "success",
- "products": [
- {
- "pid": 1,
- "gid": 5,
- "type": "other",
- "name": "CCE Monthly (eu-se-1b)",
- "slug": "cce-monthly",
- "description": "",
- "module": "OpenstackProjects",
- "paytype": "recurring",
- "pricing": {
- "USD": {
- "prefix": "$",
- "suffix": " USD",
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "0.00",
- "quarterly": "-1.00",
- "semiannually": "-1.00",
- "annually": "-1.00",
- "biennially": "-1.00",
- "triennially": "-1.00"
}
}, - "customfields": {
- "customfield": [
- {
- "id": 37,
- "name": "region",
- "description": "Istanbul-Europe-1b (EU-SE-1b)",
- "required": ""
}
]
}, - "configoptions": {
- "configoption": [
- {
- "id": 1,
- "name": "vCPU",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 1,
- "name": "vCPU",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "3.55",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|vCPU"
}
]
}, - "gid": 1,
- "optionname": "cores",
- "qtyminimum": 1,
- "qtymaximum": 0,
- "category": {
- "name": "Compute",
- "order": 2
}, - "displayName": "vCPU",
- "description": ""
}, - {
- "id": 10,
- "name": "RAM",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 10,
- "name": "RAM",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "3.55",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|RAM"
}
]
}, - "gid": 1,
- "optionname": "ram",
- "qtyminimum": 1,
- "qtymaximum": 0,
- "category": {
- "name": "Compute",
- "order": 1
}, - "displayName": "RAM (GB)",
- "description": ""
}, - {
- "id": 28,
- "name": "General SSD",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 28,
- "name": "Storage",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "0.08",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|Storage"
}
]
}, - "gid": 1,
- "optionname": "gigabytes_default",
- "qtyminimum": 0,
- "qtymaximum": 0,
- "category": {
- "name": "Storage",
- "order": 1
}, - "displayName": "General SSD (GB)",
- "description": ""
}, - {
- "id": 25,
- "name": "HI-IOPS SSD",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 25,
- "name": "Hi-IOPS",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "0.14",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|Hi-IOPS"
}
]
}, - "gid": 1,
- "optionname": "gigabytes_HI-IOPS",
- "qtyminimum": 0,
- "qtymaximum": 0,
- "category": {
- "name": "Storage",
- "order": 2
}, - "displayName": "HI-IOPS SSD (GB)",
- "description": ""
}, - {
- "id": 17,
- "name": "Snapshots",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 17,
- "name": "snapshots",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "0.05",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|snapshots"
}
]
}, - "gid": 1,
- "optionname": "snapshots",
- "qtyminimum": 0,
- "qtymaximum": 0,
- "category": {
- "name": "Extra Services",
- "order": 5
}, - "displayName": "Snapshots",
- "description": ""
}, - {
- "id": 36,
- "name": "Static BGP",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 36,
- "name": "Static BGP",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "4.10",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|Static BGP"
}
]
}, - "gid": 1,
- "optionname": "floatingip",
- "qtyminimum": 1,
- "qtymaximum": 0,
- "category": {
- "name": "Extra Services",
- "order": 2
}, - "displayName": "Elastic IP",
- "description": ""
}, - {
- "id": 46,
- "name": "Load Balancer",
- "type": "number_input",
- "options": {
- "option": [
- {
- "id": 46,
- "name": "LB",
- "rawName": null,
- "recurring": null,
- "required": null,
- "pricing": {
- "USD": {
- "msetupfee": "0.00",
- "qsetupfee": "0.00",
- "ssetupfee": "0.00",
- "asetupfee": "0.00",
- "bsetupfee": "0.00",
- "tsetupfee": "0.00",
- "monthly": "30.00",
- "quarterly": "0.00",
- "semiannually": "0.00",
- "annually": "0.00",
- "biennially": "0.00",
- "triennially": "0.00"
}
}, - "suboptionname": "number|LB"
}
]
}, - "gid": 1,
- "optionname": "loadbalancer",
- "qtyminimum": 0,
- "qtymaximum": 0,
- "category": {
- "name": "Extra Services",
- "order": 1
}
}
]
}
}
]
}
Upgrades a product or its configuration options.
serviceid | integer The ID of the service to update. |
paymentmethod | string The upgrade payment method in system format (e.g. paypal). |
newproductid | integer The ID of the new product. |
newproductbillingcycle | string The new product's billing cycle. |
calconly | boolean Only calculate the upgrade amount. |
promocode | string The promotion code to apply to the upgrade. |
object Config options to include in the upgrade. |
{- "serviceid": 128,
- "paymentmethod": "banktransfer",
- "newproductid": 1,
- "newproductbillingcycle": "monthly",
- "calconly": true,
- "promocode": "PROMO2023",
- "configoptions": {
- "1": 4,
- "2": 5
}
}
{- "result": "success",
- "oldproductid": 3,
- "oldproductname": "Light Compute Monthly",
- "newproductid": 1,
- "newproductname": "CCE Monthly (eu-se-1b)",
- "daysuntilrenewal": -4,
- "totaldays": 31,
- "newproductbillingcycle": "monthly",
- "price": "$-2.51 USD",
- "upgradeinprogress": 0,
- "invoiceid": 0
}
Checks if the product has unpaid invoices or not, if it has, meaning either product or its quotas are not upgradable.
serviceId required | string The service id of the product to check. |
{- "result": "success",
- "isUpgradeable": true,
- "message": ""
}
Retrieves the product ID associated with a given service ID.
serviceId required | string Example: 12345 The service ID to retrieve the associated product ID. |
{- "productId": 449
}
Determines whether a product's quotas can be upgraded or not.
pid required | integer Example: 12345 The ID of the product to check. |
{- "isQuotaUpgradable": false
}
Operations for managing user groups in the IAM system, including group creation, assignment, unassignment, and policy management.
Retrieve a list of IAM groups with their details, including assigned users.
[- {
- "name": "Admin Group",
- "length": 10,
- "editable": true,
- "assignedUsers": [
- {
- "id": "user123",
- "name": "John Doe",
- "status": "active"
}
]
}
]
Create a new IAM group by providing the group name.
groupName required | string Name of the group to be created. |
{- "groupName": "Admin Group"
}
{- "success": true
}
This endpoint deletes a group based on the group name provided in the request body.
groupName required | string >= 3 characters The name of the group to be deleted. |
{- "groupName": "Admins"
}
{- "success": true
}
Retrieve a list of IAM group users with optional filtering by group name.
name | string Example: name=Admin Group Filter by group name. |
[- {
- "name": "Admin Group",
- "length": 10,
- "editable": true,
- "assignedUsers": [
- {
- "id": "user123",
- "name": "John Doe",
- "status": "active"
}
]
}
]
Create or update a single or multiple group policies. The request body can either contain a single policy or an array of policies, but not both.
required | object |
{- "policy": {
- "name": "AdminPolicy",
- "route": "/admin/*",
- "id": "policy123",
- "method": "GET"
}
}
{- "success": true
}
This endpoint removes a specific policy from a group.
groupName required | string >= 3 characters The name of the group from which the policy will be removed. |
route required | string The route associated with the policy. |
id required | string The unique identifier of the policy to be removed. |
method required | string Enum: "GET" "POST" "PUT" "DELETE" "PATCH" "*" The HTTP method associated with the policy. |
{- "groupName": "Admins",
- "route": "/api/v1/resource",
- "id": "policy123",
- "method": "GET"
}
{- "success": true
}
This endpoint assigns a user to one or more groups.
normalUserId required | integer The ID of the user to be assigned to the groups. |
groups required | Array of strings A list of groups to assign the user to. |
{- "normalUserId": 123,
- "groups": [
- "Admins",
- "Developers"
]
}
{- "success": true
}
This endpoint unassigns a user from a specific group.
normalUserId required | integer The ID of the user to be unassigned from the group. |
groupName required | string >= 3 characters The name of the group to unassign the user from. |
{- "normalUserId": 123,
- "groupName": "Admins"
}
{- "success": true
}
This endpoint returns the groups that are not assigned to the user identified by the iamUserId
.
iamUserId required | integer Example: 123 The ID of the user whose unassigned groups are to be fetched. |
[- "Developers"
]
Manage and retrieve information related to products within the IAM system, including product-specific policies and access configurations.
Retrieve a list of OpenStack projects with their details.
[- {
- "openstackProjectId": "project-12345",
- "openstackProjectName": "DevelopmentProject",
- "server": "server-01"
}
]
Retrieve a list of OpenStack resources associated with the specified project, filtered by an optional service type.
projectId required | string Example: project-12345 The unique ID of the OpenStack project. |
service | string Example: service=volumes The type of service to filter the resources (e.g., "volumes", "networks"). |
[- {
- "id": "resource-12345",
- "name": "VolumeInstance01"
}
]
Retrieve a list of VPS resources associated with the specified project, filtered by an optional service type.
projectId required | string Example: project-12345 The unique ID of the VPS project. |
service | string Example: service=vms The type of service to filter the resources (e.g., "vms", "securityGroups"). |
[- {
- "id": "resource-12345",
- "name": "VmInstance01"
}
]
Operations related to managing and retrieving IAM policies, including filtering by product, service, resource, and action.
This endpoint retrieves policies based on the provided query parameters (product
, service
, resource
, action
).
product | string Example: product=CloudStorage Filter policies by product. |
service | string Example: service=Compute Filter policies by service. |
resource | string Example: resource=VM Filter policies by resource. |
action | string Example: action=CREATE Filter policies by action. |
[- {
- "groupName": "Admin",
- "product": "CloudStorage",
- "route": "/create-vm",
- "id": "policy123",
- "method": "POST"
}
]
This endpoint retrieves the details of a policy for the given group, filtered by product, service, resource, and action.
groupName required | string The name of the group for which the policy details are being retrieved |
product | string Filter policies by product |
service | string Filter policies by service |
resource | string Filter policies by resource |
action | string Filter policies by action |
[- {
- "product": "string",
- "route": "string",
- "id": "string",
- "method": "string"
}
]
Manage and retrieve information related to OpenStack projects, including project-specific resources and user assignments.
Fetches a list of IAM projects with their details, including name, ID, type, and server information.
[- {
- "name": "string",
- "id": "string",
- "type": "string",
- "server": "string"
}
]
Fetches a list of projects assigned to a specific user, including details such as name, ID, type, and server.
userId required | string The unique identifier of the user whose assigned projects are being retrieved. |
[- {
- "name": "string",
- "id": "string",
- "type": "string",
- "server": "string"
}
]
Assigns a specific project to a user by providing the user ID and project ID.
userId required | string The unique identifier of the user. |
projectId required | string The unique identifier of the project to assign. |
{- "userId": "12345",
- "projectId": "67890"
}
{- "success": true
}
Removes the association between a specific project and a user by providing the user ID and project ID.
userId required | string The unique identifier of the user. |
projectId required | string The unique identifier of the project to unassign. |
{- "userId": "12345",
- "projectId": "67890"
}
{- "success": true
}
Retrieve a list of IAM users with their details.
[- {
- "id": "string",
- "username": "string",
- "email": "string",
- "status": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "mfa": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "groups": [
- "string"
]
}
]
Retrieve detailed information about a specific normal user by their ID.
normalUserId required | string The unique identifier of the normal user. |
{- "id": "string",
- "username": "string",
- "email": "string",
- "status": "string",
- "lastLogin": "2019-08-24T14:15:22Z",
- "mfa": true,
- "createAt": "2019-08-24T14:15:22Z",
- "groups": [
- {
- "id": "string",
- "name": "string",
- "url": "string",
- "method": "string",
- "editable": true
}
]
}
This operation creates a new IAM user.
Only root users are authorized to perform this request.
username required | string The username of the new user. |
password required | string The password for the new user. |
email required | string The email address of the new user. |
{- "username": "johndoe",
- "password": "P@ssw0rd!",
- "email": "johndoe@example.com"
}
{- "success": true,
- "userId": "12345"
}
This operation updates the status of an IAM user.
Only root users are authorized to perform this request.
normalUserId required | string Example: 12345 The ID of the user whose status needs to be updated. |
status required | string Enum: "active" "inactive" The new status of the user. |
{- "status": "active"
}
{- "success": true
}
Deletes an IAM user based on the provided normalUserId
.
Only root users are authorized to perform this request.
normalUserId required | string Example: 12345 The ID of the user to be deleted. |
{- "success": true
}
This operation resets the password of an IAM user.
Only root users are authorized to perform this request.
userId required | string The ID of the user whose password needs to be reset. |
password required | string The new password for the user. |
{- "userId": "12345",
- "password": "NewPassword123!"
}
{- "success": true
}
Disables two-factor authentication (2FA) for a specific user based on the provided normalUserId
.
Only root users are authorized to perform this request.
normalUserId | string The ID of the user for whom 2FA will be disabled. |
{- "normalUserId": "12345"
}
{- "success": true
}
Retrieves a list of user realms with their details.
[- {
- "id": "realm-12345",
- "name": "Primary Realm",
- "createdAt": "2025-01-01T12:00:00Z",
- "updatedAt": "2025-01-15T08:30:00Z",
- "parentId": "parent-67890",
- "is2faEnforced": true
}
]
Updates the name of a realm. This operation is restricted to root users.
realm required | string The new name of the realm. |
{- "realm": "Updated Realm Name"
}
{- "success": true
}
This endpoint allows for managing the 2FA enforcement status for normal users in the user realm.
enforce2fa required | boolean Whether to enforce 2FA for normal users in the realm. |
{- "enforce2fa": true
}
{- "success": true
}
This endpoint allows root users to update the IP whitelist access level for users.
ips required | Array of strings non-empty A list of IPs to whitelist. |
accessLevel required | string Enum: "Only Root" "All Users" "Disable" The access level for the IPs. Can be 'Only Root', 'All Users', or 'Disable'. |
{- "ips": [
- "192.168.1.1",
- "10.0.0.1"
], - "accessLevel": "Only Root"
}
{- "success": true
}
This endpoint retrieves the current IP whitelist details, including the access level and the list of whitelisted IPs.
{- "accessLevel": "All Users",
- "ips": [
- "192.168.1.1",
- "10.0.0.1"
]
}
Retrieve a list of API keys
[- {
- "id": "key-456",
- "keyId": "abc-789",
- "description": "Key for testing",
- "createdAt": "2025-01-01T12:00:00Z",
- "expiredAt": "2025-12-31T23:59:59Z",
- "revoked": false
}
]
Create a new API key for the authenticated user. User ID is obtained from authentication context.
description | string Description for the API key. |
expiresInDays required | integer Number of days until the API key expires. |
{- "description": "Key-example",
- "expiresInDays": 365
}
{- "key": "a1b2c3d4e5f6...",
- "keyId": "xyz-123"
}
Update the description of an existing API key. User ID is obtained from authentication context.
keyId required | string Example: xyz-123 Public identifier of the API key to update. |
description required | string New description for the API key. |
{- "description": "Updated key for production"
}
{- "id": "key-456",
- "keyId": "xyz-123",
- "description": "Updated key for production",
- "createdAt": "2025-01-01T12:00:00Z",
- "expiredAt": "2025-12-31T23:59:59Z",
- "revoked": false
}
Revoke an existing API key to prevent further use. User ID is obtained from authentication context.
keyId required | string Example: xyz-123 Public identifier of the API key to revoke. |
{- "id": "key-456",
- "keyId": "xyz-123",
- "description": "Key for production",
- "createdAt": "2025-01-01T12:00:00Z",
- "expiredAt": "2025-12-31T23:59:59Z",
- "revoked": true
}
Permanently delete an existing API key
keyId required | string Example: xyz-123 Public identifier of the API key to delete. |
{- "id": "key-456",
- "keyId": "xyz-123",
- "description": "Key for production",
- "createdAt": "2025-01-01T12:00:00Z",
- "expiredAt": "2025-12-31T23:59:59Z",
- "revoked": true
}
Retrieves OBS alerts based on query parameters.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
userUuid required | string The unique identifier of the user. |
configId | string The configuration ID to filter alerts. |
config_type | string The configuration type to filter alerts. |
from_index | integer The starting index for pagination. |
max_items | integer The maximum number of items to return. |
sort_order | string Enum: "asc" "desc" The sorting order of results (ascending or descending). |
{- "data": {
- "start_index": 0,
- "total_hits": 100,
- "total_hit_relation": "eq",
- "config_list": [
- {
- "config_id": "config-123",
- "last_updated_time_ms": 1712345678900,
- "created_time_ms": 1700000000000,
- "config": {
- "name": "Alert Config 1",
- "description": "Alert for server performance",
- "config_type": "performance",
- "is_enabled": true,
- "email": { }
}
}
]
}
}
Creates a new alert channel for OBS alerts.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
name required | string The name of the alert channel. |
smtpId required | string The ID of the associated SMTP configuration. |
email_config_id | Array of strings Optional list of email configuration IDs. |
{- "name": "Critical Alerts",
- "smtpId": "smtp-12345",
- "email_config_id": [
- "email-config-1",
- "email-config-2"
]
}
{- "config_id": "alert-channel-98765"
}
Retrieves the SMTP channel configuration for OBS alerts.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": {
- "config_id": "smtp-123",
- "name": "SMTP Notification",
- "config_type": "SMTP",
- "is_enabled": true
}
}
Retrieves the email group configurations for OBS alerts.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
userUuid required | string The UUID of the user making the request. |
configId | string The ID of a specific email group configuration. |
config_type | string The type of the configuration (e.g., EMAIL_GROUP). |
from_index | integer The starting index for pagination. |
max_items | integer The maximum number of items to return. |
sort_order | string Enum: "asc" "desc" The sorting order of the results. |
{- "data": {
- "start_index": 0,
- "total_hits": 5,
- "total_hit_relation": "eq",
- "config_list": [
- {
- "config_id": "email-group-123",
- "last_updated_time_ms": 1700000000000,
- "created_time_ms": 1690000000000,
- "config": {
- "name": "Support Alerts",
- "description": "Email group for support alerts",
- "config_type": "EMAIL_GROUP",
- "is_enabled": true,
- "email_group": { }
}
}
]
}
}
Creates a new email group for OBS alerts.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
emails required | Array of strings <email> [ items <email > ] List of email addresses in the group. |
name required | string The name of the email group. |
{- "emails": [
- "user1@example.com",
- "user2@example.com"
], - "name": "Critical Alerts Group"
}
{- "data": {
- "config_id": "email-group-12345"
}
}
Updates an existing alert channel configuration.
configId required | string The unique identifier of the alert channel to update. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
required | object |
name required | string The name of the alert channel. |
{- "config": {
- "smtpId": "smtp-12345",
- "email_config_id": [
- "email-config-1",
- "email-config-2"
]
}, - "name": "Updated Critical Alerts"
}
{- "config_id": "alert-channel-98765"
}
Deletes an alert channel or email group by type and config ID.
type required | string The type of the entity to delete (e.g., "alert" or "email-group"). |
configId required | string The unique identifier of the alert channel or email group to delete. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": {
- "delete_response_list": {
- "alert-channel-12345": "deleted",
- "email-group-67890": "deleted"
}
}
}
Updates an existing email group for OBS alerts.
configId required | string The unique identifier of the email group to be updated. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
required | object |
name required | string The updated name of the email group. |
{- "config": {
- "emails": [
- "updatedUser1@example.com",
- "updatedUser2@example.com"
]
}, - "name": "Updated Critical Alerts Group"
}
{- "data": {
- "config_id": "email-group-12345"
}
}
Retrieves OBS alias details, including replica count, status, health, and more.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": [
- {
- "name": "log-alias-1",
- "replica_count": "2",
- "status": "active",
- "health": "green",
- "size": "50GB",
- "shard_count": "5",
- "uuid": "uuid-12345",
- "retention": "30d",
- "mappings": { }
}
]
}
Creates a new OBS alias with specified configuration.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
aliasName required | string The name of the alias to be created. |
shardCount required | integer The number of shards for the alias. |
replicaCount required | integer The number of replicas for the alias. |
retentionDay required | integer The retention period in days for the alias. |
{- "aliasName": "log-alias-2",
- "shardCount": 3,
- "replicaCount": 2,
- "retentionDay": 30
}
{- "data": {
- "aliasname": "log-alias-2",
- "shard": 3,
- "replica": 2,
- "indices": [
- {
- "name": "log-index-1",
- "shard": 3,
- "replica": 2
}, - {
- "name": "log-index-2",
- "shard": 3,
- "replica": 2
}
]
}
}
Updates the configuration of an existing alias, including settings and retention period.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
aliasName required | string The name of the alias to be updated. |
required | object |
retentionDay | integer The retention period in days for the alias. |
{- "aliasName": "log-alias-2",
- "settings": {
- "number_of_shards": 4,
- "number_of_replicas": 2
}, - "retentionDay": 30
}
{- "data": {
- "retentionDay": 30,
- "aliasname": "log-alias-2",
- "settings": {
- "number_of_shards": 4,
- "number_of_replicas": 2
}
}
}
Retrieves detailed information about a specific OBS alias.
aliasName required | string The name of the OBS alias to retrieve details for. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "alias": {
- "name": "log-alias-1",
- "replica_count": "2",
- "status": "active",
- "health": "green",
- "size": "50GB",
- "shard_count": "5",
- "uuid": "uuid-12345"
}
}
Deletes a OBS alias by its name.
aliasName required | string The name of the alias to be deleted. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "status": "success"
}
Retrieves index details for a given alias.
aliasName required | string The name of the alias whose indices will be retrieved. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": [
- {
- "health": "green",
- "status": "open",
- "index": "log-index-1",
- "uuid": "abcd1234",
- "pri": "1",
- "rep": "1",
- "docs_count": "10000",
- "docs_deleted": "50",
- "store_size": "10gb",
- "pri_store_size": "5gb"
}
]
}
Retrieves detailed information about a specific index under a given alias.
aliasName required | string The name of the alias. |
indexName required | string The name of the index to retrieve details for. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "status": 200,
- "data": {
- "log-index-1": {
- "alises": {
- "alias-log": {
- "is_write_index": true
}
}, - "mappings": { },
- "settings": {
- "index": {
- "replication": {
- "type": "sync"
}, - "number_of_shards": "3",
- "plugins": {
- "index_state_management": {
- "rollover_alias": "alias-log"
}
}, - "provided_name": "log-index-1",
- "creation_date": "1678901234567",
- "number_of_replicas": "2",
- "uuid": "abcd1234",
- "version": {
- "created": "7090099"
}
}
}, - "health": "green",
- "status": "open",
- "index": "log-index-1",
- "uuid": "abcd1234",
- "pri": "3",
- "rep": "2",
- "docs_count": "10000",
- "docs_deleted": "50",
- "store_size": "10gb",
- "pri_store_size": "5gb"
}
}
}
Manages monitoring configurations for OBS, enabling real-time tracking and alerting of log data.
Retrieves a list of alerts with filtering, sorting, and pagination options.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
sortOrder | string Enum: "asc" "desc" Sort order of the alerts. |
size | string Number of alerts to retrieve per page. |
startIndex | string Starting index for pagination. |
severityLevel | string Filter alerts by severity level. |
alertState | string Enum: "ALL" "ACTIVE" "ERROR" "ACKNOWLEDGED" "COMPLETED" "DELETED" Filter alerts by state. |
monitorId | string Filter alerts by monitor ID. |
uuid | string Filter alerts by UUID. |
{- "status": 200,
- "data": {
- "alerts": [
- {
- "id": "alert-123",
- "version": 1,
- "monitor_id": "monitor-abc",
- "schema_version": 1,
- "monitor_version": 1,
- "monitor_name": "CPU Usage Monitor",
- "monitor_user": {
- "name": "admin",
- "backend_roles": [
- "admin"
], - "roles": [
- "monitor"
], - "custom_attribute_names": [ ],
- "user_requested_tenant": null
}, - "trigger_id": "trigger-xyz",
- "trigger_name": "High CPU Usage",
- "state": "ACTIVE",
- "error_message": null,
- "alert_history": [
- {
- "timestamp": 1700000000,
- "message": "CPU usage exceeded 90%"
}
], - "severity": "HIGH",
- "action_execution_results": [
- {
- "action_id": "action-001",
- "last_execution_time": 1700000500,
- "throttled_count": 2
}
], - "start_time": 1700000000,
- "last_notification_time": 1700000500,
- "end_time": null,
- "acknowledged_time": null
}
], - "totalAlerts": 1
}
}
Retrieves monitoring alerts for a specific server.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "status": 200,
- "data": {
- "took": 50,
- "timed_out": false,
- "_shards": {
- "total": 5,
- "successful": 5,
- "skipped": 0,
- "failed": 0
}, - "hits": {
- "total": {
- "value": 10,
- "relation": "eq"
}, - "max_score": null,
- "hits": [ ]
}
}
}
Retrieves alert statistics for a specific monitor.
monitorId required | string The ID of the monitor for which alert statistics are being retrieved. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "status": 200,
- "data": {
- "alerts": [
- {
- "id": "alert-123",
- "version": 1,
- "monitor_id": "monitor-456",
- "schema_version": 1,
- "monitor_version": 2,
- "monitor_name": "CPU Usage Monitor",
- "monitor_user": {
- "name": "admin",
- "backend_roles": [
- "admin"
], - "roles": [
- "monitoring"
], - "custom_attribute_names": [ ],
- "user_requested_tenant": null
}, - "trigger_id": "trigger-789",
- "trigger_name": "High CPU Usage",
- "state": "ACTIVE",
- "error_message": null,
- "alert_history": [
- {
- "timestamp": 1700000000,
- "message": "CPU usage exceeded threshold"
}
], - "severity": "HIGH",
- "action_execution_results": [
- {
- "action_id": "action-001",
- "last_execution_time": 1700000000,
- "throttled_count": 0
}
], - "start_time": 1700000000,
- "last_notification_time": 1700000000,
- "end_time": null,
- "acknowledged_time": null
}
], - "totalAlerts": 1
}
}
Creates a new monitor with specified configurations.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
name | string Name of the monitor. |
enabled | boolean Indicates whether the monitor is enabled. |
object or object | |
Array of objects | |
Array of objects |
{- "name": "string",
- "enabled": true,
- "schedule": {
- "period": {
- "interval": 0,
- "unit": "MINUTES"
}
}, - "inputs": [
- {
- "search": {
- "aliases": [
- "string"
], - "query": {
- "size": 0,
- "aggregations": { },
- "query": { }
}
}
}
], - "triggers": [
- {
- "name": "string",
- "severity": "1",
- "condition": {
- "script": {
- "source": "string"
}
}, - "actions": [
- {
- "name": "string",
- "destination_id": "string",
- "message_template": {
- "message_source": "string",
- "subject_source": "string"
}
}
]
}
]
}
Updates an existing OBS monitor with the specified configuration.
monitorId required | string The ID of the monitor to update. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
enabled | boolean Whether the monitor is enabled. |
object or object | |
Array of objects |
{- "enabled": true,
- "schedule": {
- "period": {
- "interval": 0,
- "unit": "MINUTES"
}
}, - "triggers": [
- {
- "name": "string",
- "severity": "1",
- "condition": {
- "script": {
- "source": "string"
}
}, - "actions": [
- {
- "name": "string",
- "destination_id": "string",
- "message_template": {
- "message_source": "string",
- "subject_source": "string"
}
}
]
}
]
}
Deletes a specified monitor by its ID.
monitorId required | string The unique ID of the monitor to delete. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "status": 200,
- "data": {
- "_id": "monitor-abc",
- "_version": 1
}
}
Executes a specified monitor with filtering and necessary parameters.
monitorId required | string The unique ID of the monitor to execute. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
Provides tools for monitoring OBS data and setting up alerts for system activity and performance metrics.
Searches monitoring data with specific query and aggregation options.
index required | string The index to search within. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
from | integer >= 0 |
size | integer >= 1 |
required | object |
required | object |
{- "from": 0,
- "size": 1,
- "query": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}, - "aggregations": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}
Performs multiple search queries on different indexes with filtering options.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
index | string The index to search within. |
object The search query. | |
from | integer The starting point for pagination. |
size | integer The number of results to retrieve per page. |
search_type | string The type of search to perform (e.g., "query_then_fetch"). |
[- {
- "index": "index-1",
- "query": {
- "field1": "value1",
- "field2": "value2"
}, - "from": 0,
- "size": 10,
- "search_type": "query_then_fetch"
}
]
Provides an autocomplete feature for searching monitoring data based on a query.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
object non-empty | |
index | string The index to search within. |
{- "query": {
- "property1": {
- "query": "CPU usage",
- "analyzer": "standard",
- "slop": 2,
- "fuzziness": "AUTO",
- "fuzzy_rewrite": "constant_score",
- "fuzzy_transpositions": true,
- "max_expansions": 50,
- "minimum_should_match": "75%",
- "operator": "AND",
- "prefix_length": 3
}, - "property2": {
- "query": "CPU usage",
- "analyzer": "standard",
- "slop": 2,
- "fuzziness": "AUTO",
- "fuzzy_rewrite": "constant_score",
- "fuzzy_transpositions": true,
- "max_expansions": 50,
- "minimum_should_match": "75%",
- "operator": "AND",
- "prefix_length": 3
}
}, - "index": "index-1"
}
{- "status": 200,
- "data": [
- {
- "text": "CPU usage",
- "score": 0.95
}, - {
- "text": "Disk usage",
- "score": 0.92
}
]
}
Executes a query for monitoring data based on the provided query type.
queryType required | string The type of query to execute (e.g., "search", "aggregate"). |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
query required | string The query string to execute. |
cursor | string The cursor for paginated results. |
fetch_size | number The number of results to fetch per request. |
{- "query": "SELECT * FROM logs WHERE status='active'",
- "cursor": "cursor-12345",
- "fetch_size": 50
}
{- "status": 200,
- "data": [
- {
- "id": "log-123",
- "message": "System is running smoothly.",
- "timestamp": 1672531200
}, - {
- "id": "log-124",
- "message": "CPU usage exceeded threshold.",
- "timestamp": 1672531260
}
]
}
Executes a preview search for monitoring data using the specified alias name.
aliasName required | string The alias name for the search operation. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
required | object |
object | |
size | number The number of results to fetch for preview. |
{- "query": {
- "property1": {
- "property1": {
- "query": "string",
- "analyzer": "string",
- "slop": 0,
- "fuzziness": "AUTO",
- "fuzzy_rewrite": "string",
- "fuzzy_transpositions": true,
- "max_expansions": 0,
- "minimum_should_match": "string",
- "operator": "string",
- "prefix_length": 0
}, - "property2": {
- "query": "string",
- "analyzer": "string",
- "slop": 0,
- "fuzziness": "AUTO",
- "fuzzy_rewrite": "string",
- "fuzzy_transpositions": true,
- "max_expansions": 0,
- "minimum_should_match": "string",
- "operator": "string",
- "prefix_length": 0
}
}, - "property2": {
- "property1": {
- "query": "string",
- "analyzer": "string",
- "slop": 0,
- "fuzziness": "AUTO",
- "fuzzy_rewrite": "string",
- "fuzzy_transpositions": true,
- "max_expansions": 0,
- "minimum_should_match": "string",
- "operator": "string",
- "prefix_length": 0
}, - "property2": {
- "query": "string",
- "analyzer": "string",
- "slop": 0,
- "fuzziness": "AUTO",
- "fuzzy_rewrite": "string",
- "fuzzy_transpositions": true,
- "max_expansions": 0,
- "minimum_should_match": "string",
- "operator": "string",
- "prefix_length": 0
}
}
}, - "aggregations": {
- "property1": {
- "property1": {
- "field": "string",
- "size": 0
}, - "property2": {
- "field": "string",
- "size": 0
}
}, - "property2": {
- "property1": {
- "field": "string",
- "size": 0
}, - "property2": {
- "field": "string",
- "size": 0
}
}
}, - "size": 10
}
{- "status": 200,
- "data": {
- "preview_results": [
- {
- "id": "log-123",
- "message": "Sample log entry for preview.",
- "timestamp": 1672531200
}, - {
- "id": "log-124",
- "message": "Another sample log entry.",
- "timestamp": 1672531260
}
]
}
}
Manages user-related OBS configurations, tracking and auditing user activities within the system.
Retrieves a list of agent users with relevant information.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": [
- {
- "id": 1,
- "username": "agent1",
- "password": "password123",
- "uuid": "abc123",
- "isDeleted": false,
- "role": "admin",
- "status": "active",
- "parentId": 0,
- "createdAt": "2025-02-01T12:00:00Z",
- "updatedAt": "2025-02-01T12:00:00Z",
- "alias": "Agent One"
}, - {
- "id": 2,
- "username": "agent2",
- "password": "password456",
- "uuid": "def456",
- "isDeleted": false,
- "role": "user",
- "status": "inactive",
- "parentId": 1,
- "createdAt": "2025-02-01T12:30:00Z",
- "updatedAt": "2025-02-01T12:30:00Z",
- "alias": "Agent Two"
}
]
}
Creates a new agent user with the provided details.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
aliasname required | string The alias name of the user. |
username required | string The username of the agent. |
{- "aliasname": "string",
- "username": "string"
}
{- "data": {
- "username": "agent001",
- "password": "password123",
- "uuid": "123e4567-e89b-12d3-a456-426614174000",
- "role": "AGENT",
- "status": "ACTIVE",
- "user": {
- "id": 1,
- "external_id": 101,
- "role": "AGENT",
- "status": "ACTIVE",
- "parent": 0,
- "createdAt": "2025-01-20T12:00:00Z",
- "updatedAt": "2025-01-20T12:00:00Z"
}, - "id": 1,
- "isDeleted": false,
- "createdAt": "2025-01-20T12:00:00Z",
- "updatedAt": "2025-01-20T12:00:00Z"
}
}
Retrieves a list of servers associated with users, including status and type.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": [
- {
- "externalId": 1,
- "user": "john_doe",
- "userId": 101,
- "status": "active",
- "type": "admin",
- "servers": [
- {
- "serverId": 201,
- "region": "us-east-1",
- "type": "web"
}, - {
- "serverId": 202,
- "region": "us-west-2",
- "type": "db"
}
]
}, - {
- "externalId": 2,
- "user": "jane_doe",
- "userId": 102,
- "status": "inactive",
- "type": "user",
- "servers": [
- {
- "serverId": 203,
- "region": "eu-central-1",
- "type": "app"
}
]
}
]
}
Retrieves a list of active products associated with users.
{- "activeProducts": [
- {
- "id": 1,
- "loggingStatus": "ACTIVE",
- "loggingServer": "server-001",
- "createdAt": "2025-01-20T12:00:00Z",
- "userId": 101,
- "loggingServerName": "Main Server",
- "enterprise": true,
- "userType": "ADMIN"
}, - {
- "id": 2,
- "loggingStatus": "PENDING",
- "loggingServer": "server-002",
- "createdAt": "2025-02-01T15:30:00Z",
- "userId": 102,
- "loggingServerName": null,
- "enterprise": false,
- "userType": "USER"
}
]
}
Retrieves details for a specific agent user by their ID.
agentUserId required | number The ID of the agent user to retrieve. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": {
- "id": 1,
- "username": "agent001",
- "password": "password123",
- "uuid": "123e4567-e89b-12d3-a456-426614174000",
- "alias": "Agent 001",
- "status": "ACTIVE",
- "updatedAt": "2025-01-20T12:00:00Z",
- "createdAt": "2025-01-20T12:00:00Z",
}
}
Updates the password for a specific agent user by their ID.
agentUserId required | number The ID of the agent user whose password is to be updated. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
newPassword required | string The new password to be set for the agent user. |
{- "newPassword": "string"
}
{- "data": {
- "newPassword": "newpassword123"
}
}
Deletes a specific agent user by their ID.
agentUserId required | number The ID of the agent user to be deleted. |
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": {
- "username": "agentuser123",
- "password": "oldpassword",
- "uuid": "abcd-1234-xyz",
- "isDeleted": true,
- "role": "admin",
- "status": "inactive",
- "createdAt": "2023-01-01T00:00:00Z",
- "updatedAt": "2023-01-01T01:00:00Z"
}
}
Retrieves the quotas for a specific user based on the server ID.
serverId required | string The ID of the OBS product. You can obtain valid product IDs by calling the OBS-User endpoint. |
{- "data": {
- "OpenSearchUserId": 1234,
- "quotas": [
- {
- "id": 1,
- "max_limit": 100,
- "value": 50,
- "limit_id": 101,
- "name": "Storage Limit",
- "hardLimit": 200
}, - {
- "id": 2,
- "max_limit": 500,
- "value": 300,
- "limit_id": 102,
- "name": "Request Limit",
- "hardLimit": 1000
}
]
}
}
Used for CCE are resource configurations that define the hardware characteristics of virtual machines.
Retrieves a list of available flavors in the OpenStack environment.
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "flavor-12345",
- "name": "m1.large",
- "vcpus": 4,
- "ram": 8192
}
]
Retrieves a list of available load balancer flavors in the OpenStack environment.
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "flavor-12345",
- "name": "LB-High-Performance",
- "vcpus": 4,
- "ram": 8192,
- "ha": true
}
]
Manages floating IPs in the OpenStack CCE environment for flexible network configurations and high availability.
Retrieves a list of floating IPs in the OpenStack environment associated with a specific server.
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "floating-ip-67890",
- "ipAddress": "192.168.1.100",
- "status": "ACTIVE",
- "network": "public-network",
- "networkId": "network-12345",
- "vmORlb": "VM",
- "vmIpAddress": "10.0.0.1",
- "assignedTo": "web-server-01",
- "assignedId": "vm-12345"
}
]
Creates a new floating IP in the OpenStack environment for a specified server.
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
floating_network_id | string The ID of the floating network to assign the floating IP. |
port_id | string The ID of the port to associate with the floating IP (optional). |
subnet_id | string The ID of the subnet for the floating IP (optional). |
fixed_ip_address | string The fixed IP address to assign (optional, must be a valid IP). |
{- "floating_network_id": "floating-network-67890",
- "port_id": "port-98765",
- "subnet_id": "subnet-54321",
- "fixed_ip_address": "192.168.1.10"
}
{- "router_id": "router-12345",
- "status": "ACTIVE",
- "description": "Public floating IP for web-server-01",
- "tags": [
- "web",
- "prod"
], - "tenant_id": "tenant-67890",
- "created_at": "2025-01-28T12:00:00Z",
- "updated_at": "2025-01-28T12:30:00Z",
- "floating_network_id": "floating-network-67890",
- "port_details": {
- "status": "ACTIVE",
- "name": "web-port",
- "device_id": "device-12345"
}, - "qos_policy_id": null
}
Retrieves detailed information about a specific floating IP in the OpenStack environment.
floatingId required | string Example: floatingip-12345 The unique identifier of the floating IP. |
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "router_id": "router-12345",
- "status": "ACTIVE",
- "description": "Public floating IP for web-server-01",
- "tags": [
- "web",
- "prod"
], - "tenant_id": "tenant-67890",
- "created_at": "2025-01-28T12:00:00Z",
- "updated_at": "2025-01-28T12:30:00Z",
- "floating_network_id": "floating-network-67890",
- "port_details": {
- "status": "ACTIVE",
- "name": "web-port",
- "device_id": "device-12345"
}, - "qos_policy_id": null
}
Updates the details of a specific floating IP in the OpenStack environment.
floatingId required | string Example: floatingip-12345 The unique identifier of the floating IP. |
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
port_id | string The ID of the port to associate with the floating IP. |
fixed_ip_address | string The fixed IP address to associate with the floating IP. |
{- "port_id": "port-67890",
- "fixed_ip_address": "192.168.1.10"
}
{- "router_id": "router-12345",
- "status": "ACTIVE",
- "description": "Public floating IP for web-server-01",
- "tags": [
- "web",
- "prod"
], - "tenant_id": "tenant-67890",
- "created_at": "2025-01-28T12:00:00Z",
- "updated_at": "2025-01-28T12:30:00Z",
- "floating_network_id": "floating-network-67890",
- "port_details": {
- "status": "ACTIVE",
- "name": "web-port",
- "device_id": "device-12345"
}, - "qos_policy_id": null
}
Deletes a specific floating IP from the OpenStack environment.
floatingId required | string Example: floatingip-12345 The unique identifier of the floating IP to be deleted. |
serverId required | string Example: serverId=server-12345 The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Operations related to managing and manipulating images within the OpenStack environment.
Retrieves a list of images in the OpenStack environment. Requires serverId
as a mandatory query parameter. Optionally, visibility
can be provided to filter results.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
visibility | string Enum: "public" "private" "shared" Filter images based on visibility type (optional). |
[- {
- "id": "image-12345",
- "name": "Ubuntu 20.04",
- "status": "active",
- "type": "OS",
- "osType": "Linux",
- "osDistro": "Ubuntu",
- "minVolumeSize": 20,
- "size": 30,
- "visibility": "public"
}
]
Creates a new image in the OpenStack environment. The serverId
query parameter is required.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The name of the image. |
type | string Enum: "linux" "windows" The type of the image. |
os_distro | string The operating system distribution of the image. |
min_disk | integer [ 1 .. 512 ] The minimum disk size required for the image. |
visibility | string Enum: "public" "private" "shared" "community" The visibility of the image (public, private, shared, community). |
min_ram | integer The minimum RAM required for the image. |
protected | boolean Whether the image is protected from being deleted. |
tags | Array of strings A list of tags to associate with the image. |
{- "name": "my-new-image",
- "type": "linux",
- "os_distro": "ubuntu",
- "min_disk": 20,
- "visibility": "public",
- "min_ram": 2048,
- "protected": true,
- "tags": [
- "tag1",
- "tag2"
]
}
{- "id": "image-12345"
}
Retrieves the details of a specific image identified by imageId
. The serverId
query parameter is required.
imageId required | string The unique identifier of the image. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "image-12345",
- "name": "Ubuntu 20.04",
- "status": "active",
- "size": 30,
- "osType": "Linux",
- "minVolumeSize": 20,
- "type": "OS",
- "visibility": "public",
- "os_distro": "Ubuntu"
}
Retrieves the versions of images available. The serverId
query parameter is required.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "version-12345",
- "version": "v1.0",
- "type": "OS",
- "minVolumeSize": 20,
- "validFlavorIds": [
- "flavor-123",
- "flavor-456"
]
}
]
Updates an image's specified properties. The serverId
query parameter is required.
imageId required | string The unique identifier of the image to update. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
value | string The value to be updated. |
path | string The path to the field to be updated. |
op | string The operation to be performed (e.g., "add", "replace", "remove"). |
{- "value": "new_value",
- "path": "/properties/field_name",
- "op": "replace"
}
{- "status": "success"
}
Deletes an image from the OpenStack environment. The serverId
query parameter is required.
imageId required | string The unique identifier of the image to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "status": "success"
}
Uploads an image to the OpenStack environment. The serverId
query parameter is required, and the imageId
body parameter is required.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
imageId | string The unique identifier of the image to upload. |
{- "imageId": "image-12345"
}
{- "status": "success"
}
Downloads an image from the OpenStack environment. The serverId
query parameter is required, and the imageId
body parameter is required.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
imageId | string The unique identifier of the image to download. |
{- "imageId": "image-12345"
}
{- "status": "success"
}
Checks if the current server has permission to upload an image. The serverId
query parameter is required.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "imageUploadPermission": true
}
Retrieves a list of Kubernetes clusters in the OpenStack environment.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "cluster-12345",
- "name": "my-cluster",
- "status": "ACTIVE",
- "version": "1.29",
- "worker": 3,
- "network": "private-network"
}
]
Creates a new Kubernetes cluster in the OpenStack environment.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
kubernetesVersion | string Enum: "v1.23.5" "v1.22.2" "v1.24.3" "v1.25.7" "v1.26.11" "v1.27.8" "v1.28.4" "v1.29.3" Kubernetes version for the cluster. |
clusterName | string Name of the Kubernetes cluster. |
sshKey | string SSH key for accessing the cluster nodes. |
networkId | string Network ID for the cluster. |
networkSubnetId | string Subnet ID associated with the network. |
highAvailability | boolean Enables high availability mode. |
floatingIpEnabled | boolean Enables floating IP for the cluster. |
minionFloatingIpDisabled | boolean Disables floating IP for worker nodes. |
externalNetworkId | string External network ID for the cluster. |
masterFlavor | string Enum: "medium" "large" "xlarge" "3xlarge" "c.medium" "4xlarge" "m.xlarge" "c.large" "2xlarge" "m.2xlarge" "m.medium" "c.3xlarge" "c.xlarge" "c.4xlarge" "m.large" "m.3xlarge" "m.small" "c.2xlarge" Flavor type for master nodes. |
workerFlavor | string Enum: "small" "medium" "large" "xlarge" "3xlarge" "c.medium" "4xlarge" "m.xlarge" "c.large" "2xlarge" "m.2xlarge" "m.medium" "c.3xlarge" "c.xlarge" "c.4xlarge" "m.large" "m.3xlarge" "m.small" "c.2xlarge" Flavor type for worker nodes. |
storagePolicy | string Storage policy for the cluster. |
diskSize | integer [ 3 .. 8192 ] Disk size for each node (in GB). |
numberOfWorker | integer >= 1 Number of worker nodes. |
maxNodeCount | integer >= 1 Maximum number of nodes for auto-scaling. |
monitoring | boolean Enables monitoring for the cluster. |
autoScaling | boolean Enables auto-scaling for worker nodes. |
extraLabels | object Additional labels for the cluster. |
masterLbFloatingIpEnabled | boolean Enables floating IP for the master load balancer. |
{- "kubernetesVersion": "v1.29.3",
- "clusterName": "my-cluster",
- "sshKey": "my-ssh-key",
- "networkId": "net-123456",
- "networkSubnetId": "subnet-654321",
- "highAvailability": true,
- "floatingIpEnabled": true,
- "minionFloatingIpDisabled": false,
- "externalNetworkId": "ext-net-789012",
- "masterFlavor": "large",
- "workerFlavor": "medium",
- "storagePolicy": "fast-storage",
- "diskSize": 50,
- "numberOfWorker": 3,
- "maxNodeCount": 10,
- "monitoring": true,
- "autoScaling": false,
- "extraLabels": { },
- "masterLbFloatingIpEnabled": true
}
{- "uuid": "a1b2c3d4-e5f6-7890-1234-56789abcdef0"
}
Retrieves details of a specific Kubernetes cluster in the OpenStack environment.
clusterId required | string Unique identifier of the Kubernetes cluster. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "overview": {
- "details": {
- "id": "cluster-123456",
- "name": "my-cluster",
- "kubernetesVersion": "v1.29.3",
- "status": "ACTIVE",
- "sshKey": "my-ssh-key",
- "network": "net-123456",
- "containerVolume": "volume-789012",
- "minion_floating_ip_disabled": false,
- "fault": null,
- "autoScaling": true
}, - "masterNodeProperties": {
- "numberOfNodes": 3,
- "flavor": "large",
- "systemVolume": "50GB"
}
}
}
Deletes a specific Kubernetes cluster from OpenStack.
clusterId required | string Unique identifier of the Kubernetes cluster to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Retrieves the list of available Kubernetes versions that can be used for cluster creation or upgrade in the OpenStack environment.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": 1,
- "name": "Kubernetes v1.29",
- "version": "v1.29.3",
- "upgradeableFrom": "v1.28.4",
- "isDeprecated": false,
- "createdAt": "2024-01-01T12:00:00Z",
- "updatedAt": "2024-01-15T15:30:00Z",
- "serverId": 101,
- "cloudProviderTag": "openstack",
- "clusterUpgradeMethod": "rolling-update",
- "autoScalerTag": "cluster-autoscaler"
}
]
Upgrades an existing Kubernetes cluster to a new version in the OpenStack environment.
clusterId required | string Unique identifier of the Kubernetes cluster to be upgraded. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
targetVersion | string The target Kubernetes version to upgrade to. |
{- "targetVersion": "v1.29.3"
}
{- "uuid": "550e8400-e29b-41d4-a716-446655440000"
}
Generates a Kubernetes configuration file in YAML format for the specified Kubernetes cluster.
clusterId required | string Unique identifier of the Kubernetes cluster. |
serverId required | string Unique identifier of the server. |
configOptions | object Additional configuration options for the YAML generation. |
{- "configOptions": {
- "enableMetrics": true,
- "replicaCount": 3
}
}
{- "configYaml": "apiVersion: v1\nkind: Config\nclusters:\n- name: cluster1\n cluster:\n server: https://example.com\n"
}
Manages Kubernetes node groups within an OpenStack-based CCE environment.
Retrieves the node groups (masters and workers) of a specific Kubernetes cluster in the OpenStack environment.
clusterId required | string Unique identifier of the Kubernetes cluster. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "groups": {
- "masters": {
- "name": "master-group",
- "uuid": "master-uuid-123",
- "nodes": [
- "node-1",
- "node-2"
], - "coe_version": "v1.29.3",
- "role": "master",
- "flavor_id": "large",
- "node_count": 3,
- "is_default": true
}, - "workers": {
- "name": "worker-group",
- "uuid": "worker-uuid-456",
- "nodes": [
- "worker-node-1",
- "worker-node-2"
], - "coe_version": "v1.29.3",
- "role": "worker",
- "flavor_id": "medium",
- "flavor": "c.medium",
- "node_count": 5,
- "is_default": true,
- "minNodeCount": 3,
- "maxNodeCount": 10
}
}
}
Adds a new node group to the specified Kubernetes cluster.
clusterId required | string Unique identifier of the Kubernetes cluster. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The name of the node group. |
node_count | integer >= 1 The number of nodes in the node group. |
flavor_id | string Enum: "small" "medium" "large" "xlarge" "3xlarge" "c.medium" "4xlarge" "m.xlarge" "c.large" "2xlarge" "m.2xlarge" "m.medium" "c.3xlarge" "c.xlarge" "c.4xlarge" "m.large" "m.3xlarge" "m.small" "c.2xlarge" The flavor ID for the node group. |
minNodeCount | integer >= 1 Minimum number of nodes allowed in the group (for auto-scaling). |
maxNodeCount | integer >= 1 Maximum number of nodes allowed in the group (for auto-scaling). |
autoScaling | boolean Whether auto-scaling is enabled for the node group. |
object Additional labels for the node group. |
{- "name": "worker-group-2",
- "node_count": 3,
- "flavor_id": "large",
- "minNodeCount": 1,
- "maxNodeCount": 5,
- "autoScaling": true,
- "extraLabels": {
- "environment": "staging",
- "team": "devops"
}
}
{- "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
Resizes the specified node group in a Kubernetes cluster by adjusting the number of nodes.
clusterId required | string Unique identifier of the Kubernetes cluster. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The name of the node group to be resized. |
node_count | integer >= 1 The new number of nodes in the node group. |
nodes_to_remove | string (Optional) Comma-separated list of node IDs to be removed. |
{- "name": "worker-group-1",
- "node_count": 3,
- "nodes_to_remove": "node-1,node-2"
}
{- "uuid": "550e8400-e29b-41d4-a716-446655440000"
}
Updates the configuration of a specific node group in a Kubernetes cluster.
clusterId required | string Unique identifier of the Kubernetes cluster. |
nodeGroupId required | string Unique identifier of the node group. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
minNodeCount | integer >= 1 Minimum number of nodes allowed in the node group (for auto-scaling). |
maxNodeCount | integer >= 1 Maximum number of nodes allowed in the node group (for auto-scaling). |
nodeCount | integer >= 1 The desired number of nodes in the node group. |
autoScaling | boolean Whether auto-scaling is enabled for the node group. |
{- "minNodeCount": 1,
- "maxNodeCount": 5,
- "nodeCount": 3,
- "autoScaling": true
}
{- "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
Removes a specific NodeGroup from the specified Kubernetes cluster.
clusterId required | string Unique identifier of the Kubernetes cluster. |
nodeGroupId required | string Unique identifier of the NodeGroup to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Deletes a node from a specific node group in a Kubernetes cluster.
clusterId required | string Unique identifier of the Kubernetes cluster. |
nodeGroupId required | string Unique identifier of the node group. |
serverId required | string Unique identifier of the server. |
nodeId | string Unique identifier of the node to be deleted from the node group. |
{- "nodeId": "node-12345"
}
{- "uuid": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
Provides API endpoints to retrieve project-specific limits, such as resource quotas, available resources, and usage statistics for Kubernetes clusters in OpenStack.
Returns the quota limits for a given OpenStack project. These limits specify the maximum resources available for compute, storage, and networking, including instances, volumes, floating IPs, security groups, and load balancers.
-1
indicates an unlimited resource.serverId
query parameter is required and is used to identify the specific server.projectId required | string The ID of the OpenStack project to retrieve limits for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "string",
- "cores": 0,
- "fixed_ips": 0,
- "floating_ips": 0,
- "injected_file_content_bytes": 0,
- "injected_file_path_bytes": 0,
- "injected_files": 0,
- "instances": 0,
- "key_pairs": 0,
- "metadata_items": 0,
- "ram": 0,
- "security_group_rules": 0,
- "security_groups": 0,
- "server_group_members": 0,
- "server_groups": 0,
- "network": 0,
- "subnet": 0,
- "subnetpool": 0,
- "port": 0,
- "router": 0,
- "volumes": 0,
- "gigabytes": 0,
- "backups": 0,
- "backup_gigabytes": 0,
- "volumes_NVME_SSD": 0,
- "gigabytes_NVME_SSD": 0,
- "snapshots_NVME_SSD": 0,
- "load_balancer": 0,
- "listener": 0,
- "pool": 0,
- "member": 0,
- "health_monitor": 0,
- "hard_limit": 0
}
This category includes API endpoints related to LoadBalancer management in the Cloud Container Engine (CCE). Load balancers distribute network traffic across multiple backend servers, ensuring high availability and scalability for applications running in the OpenStack Kubernetes environment.
Returns a list of Load Balancers associated with the specified serverId.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "string",
- "name": "string",
- "status": "string",
- "ipAddress": "string",
- "floatingIp": "string",
- "membersTotal": 0,
- "membersState": {
- "active": 0,
- "error": 0
}, - "portId": "string",
- "network": {
- "id": "string",
- "name": "string",
- "ip": "string"
}, - "flavorName": "string"
}
]
Creates a new Load Balancer in OpenStack with the specified configuration.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string Name of the Load Balancer. |
description | string Optional description of the Load Balancer. |
vip_address | string Virtual IP address for the Load Balancer. |
vip_network_id | string Network ID for the Load Balancer. |
vip_subnet_id | string Subnet ID for the Load Balancer. |
vip_port_id | string Port ID for the Load Balancer. |
floatingIP | string Floating IP assigned to the Load Balancer. |
flavorId required | string Flavor ID for the Load Balancer. |
external_network_id | string External network ID. |
networkType required | string Enum: "Virtual" "Physical" Network type (Virtual or Physical). |
required | Array of objects |
{- "name": "string",
- "description": "string",
- "vip_address": "string",
- "vip_network_id": "string",
- "vip_subnet_id": "string",
- "vip_port_id": "string",
- "floatingIP": "string",
- "flavorId": "string",
- "external_network_id": "string",
- "networkType": "Virtual",
- "listener": [
- {
- "lb_protocol": "HTTP",
- "lb_port": 0,
- "certificate": "string",
- "private_key": "string",
- "connection_limit": 0,
- "allowed_cidrs": [
- "string"
], - "insert_headers": {
- "X-Forwarded-For": "string",
- "X-Forwarded-Port": "string",
- "X-Forwarded-Proto": "string",
- "X-SSL-Client-CN": "string",
- "X-SSL-Client-DN": "string",
- "X-SSL-Client-Has-Cert": "string",
- "X-SSL-Client-Verify": "string",
- "X-SSL-Client-Not-After": "string",
- "X-SSL-Client-Not-Before": "string",
- "X-SSL-Client-SHA1": "string",
- "X-SSL-Issuer": "string"
}, - "timeout_client_data": 0,
- "timeout_member_connect": 0,
- "timeout_member_data": 0,
- "default_pool": {
- "lb_algorithm": "string",
- "sticky_session": true,
- "backend_protocol": "HTTP",
- "backend_protocol_port": 0,
- "healthmonitor": {
- "interval": 5,
- "timeout": 5,
- "healthyThreshold": 1,
- "unhealthyThreshold": 1,
- "type": "HTTP",
- "url_path": "string"
}, - "members": [
- {
- "ipAddress": "string",
- "compute_server_id": "string"
}
]
}
}
]
}
{- "id": "string",
- "name": "string",
- "status": "string"
}
Retrieves detailed information about a specific Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to retrieve details for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "string",
- "name": "string",
- "status": "string",
- "floatingIp": "string",
- "description": "string",
- "balancingPools": [
- { }
], - "highAvailability": true,
- "network": {
- "id": "string",
- "name": "string",
- "ip": "string"
}, - "createdOn": "2019-08-24T14:15:22Z",
- "membersState": { },
- "membersTotal": 0,
- "flavorName": "string"
}
Updates the configuration of an existing Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to update. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The new name for the Load Balancer. |
description | string or null The new description for the Load Balancer. |
enabled | boolean Flag to enable or disable the Load Balancer. |
{- "name": "string",
- "description": "string",
- "enabled": true
}
{- "message": "string"
}
Deletes an existing Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to delete. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Retrieves detailed information about a listener associated with a specific Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to which the listener belongs. |
listenerId required | string The ID of the listener to retrieve details for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "string",
- "name": "string",
- "lb_protocol": "string",
- "lb_protocol_port": 0,
- "description": "string",
- "loadbalancer_id": "string",
- "status": "string",
- "membersTotal": 0,
- "membersState": "string",
- "createdOn": "2019-08-24T14:15:22Z"
}
Retrieves statistical data about a listener associated with a specific Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to which the listener belongs. |
listenerId required | string The ID of the listener to retrieve statistics for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "string",
- "name": "string",
- "lb_protocol": "string",
- "lb_protocol_port": 0,
- "totalConnections": 0,
- "activeConnections": 0,
- "trafficIn": 0,
- "trafficOut": 0,
- "errors": 0,
- "status": "string"
}
Retrieves monitoring data such as active connections, request errors, and network traffic for the specified load balancer.
loadBalancerId required | string The ID of the load balancer for which monitoring data is requested. |
serverId required | string The server ID to filter the monitoring data. |
start required | number The start timestamp for the monitoring data. |
end required | number The end timestamp for the monitoring data. |
service required | string Enum: "loadbalancer" "pool" The service type for monitoring. Can be either 'loadbalancer' or 'pool'. |
step required | number The time step (granularity) for the monitoring data. |
{- "active_connection": 0,
- "request_errors": 0,
- "network_rx": 0,
- "network_tx": 0
}
Manages listeners in a load balancer within an OpenStack-based CCE environment. Listeners control traffic routing to backend pools based on protocol and port.
Retrieves all listeners associated with a specific Load Balancer.
loadBalancerId required | string The ID of the Load Balancer for which to retrieve listeners. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "listeners": [
- {
- "id": "string",
- "lb_protocol": "string",
- "lb_port": 0,
- "certificate": "string",
- "connection_limit": 0,
- "allowed_cidrs": [
- "string"
]
}
]
}
Creates a new listener and associates it with a specific Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to which the listener will be added. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The name of the listener. |
lb_protocol | string Enum: "HTTPS" "HTTP" "TCP" "UDP" The protocol used by the listener (e.g., HTTPS, HTTP, TCP, UDP). |
lb_protocol_port | integer The port on which the listener will listen. |
description | string An optional description for the listener. |
loadbalancer_id | string The ID of the load balancer the listener will be associated with. |
{- "name": "string",
- "lb_protocol": "HTTPS",
- "lb_protocol_port": 0,
- "description": "string",
- "loadbalancer_id": "string"
}
{- "id": "string",
- "name": "string",
- "lb_protocol": "string",
- "lb_protocol_port": 0,
- "description": "string",
- "loadbalancer_id": "string"
}
Updates various configuration settings for a specific listener associated with a Load Balancer.
loadBalancerId required | string The ID of the Load Balancer to which the listener belongs. |
listenerId required | string The ID of the listener to update. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
description | string A brief description of the listener. |
admin_state_up | boolean Indicates whether the listener is enabled or disabled. |
connection_limit | number The maximum number of concurrent connections allowed for the listener. |
name | string The name of the listener. |
default_pool_id | string The ID of the default pool associated with the listener. |
allowed_cidrs | Array of strings A list of CIDR blocks that are allowed to connect to the listener. |
object | |
timeout_client_data | number The timeout for client data in seconds. |
timeout_member_connect | number The timeout for member connection in seconds. |
timeout_member_data | number The timeout for member data in seconds. |
{- "description": "string",
- "admin_state_up": true,
- "connection_limit": 0,
- "name": "string",
- "default_pool_id": "string",
- "allowed_cidrs": [
- "string"
], - "insert_headers": {
- "X-Forwarded-For": "string",
- "X-Forwarded-Port": "string",
- "X-Forwarded-Proto": "string",
- "X-SSL-Client-CN": "string",
- "X-SSL-Client-DN": "string",
- "X-SSL-Client-Has-Cert": "string",
- "X-SSL-Client-Verify": "string",
- "X-SSL-Client-Not-After": "string",
- "X-SSL-Client-Not-Before": "string",
- "X-SSL-Client-SHA1": "string",
- "X-SSL-Issuer": "string"
}, - "timeout_client_data": 0,
- "timeout_member_connect": 0,
- "timeout_member_data": 0
}
{- "id": "string",
- "name": "string",
- "status": "string",
- "connection_limit": 0,
- "description": "string",
- "default_pool_id": "string",
- "allowed_cidrs": [
- "string"
]
}
Deletes a listener associated with a Load Balancer by the provided listener ID.
loadBalancerId required | string The ID of the Load Balancer from which the listener will be deleted. |
listenerId required | string The ID of the listener to delete. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Manages pools in a load balancer within an OpenStack-based CCE environment. Pools group backend servers to distribute incoming traffic for improved scalability and availability.
Retrieves a list of all pools associated with the provided Load Balancer ID.
loadBalancerId required | string The ID of the Load Balancer for which the pools are being requested. |
serverId required | string The ID of the server for which the associated pools are being retrieved. |
[- {
- "id": "string",
- "name": "string",
- "lb_algorithm": "string",
- "members": [
- {
- "ipAddress": "string",
- "compute_server_id": "string"
}
]
}
]
Creates a new pool and associates it with the provided Load Balancer ID.
loadBalancerId required | string The ID of the Load Balancer to which the new pool will be added. |
serverId required | string The ID of the server where the pool should be created. |
listener_id required | string The ID of the listener associated with the pool. |
backend_protocol required | string Enum: "HTTP" "HTTPS" "TCP" "UDP" The protocol used for backend communication. |
backend_protocol_port required | integer The port used for backend communication. |
lb_algorithm required | string Enum: "LEAST_CONNECTIONS" "ROUND_ROBIN" "SOURCE_IP" The load balancing algorithm to be used for the pool. |
{- "listener_id": "string",
- "backend_protocol": "HTTP",
- "backend_protocol_port": 0,
- "lb_algorithm": "LEAST_CONNECTIONS"
}
{- "id": "string",
- "name": "string",
- "lb_algorithm": "string"
}
Retrieves detailed information about a specific pool associated with a Load Balancer.
loadBalancerId required | string The ID of the Load Balancer that contains the pool. |
poolId required | string The ID of the pool whose details are to be retrieved. |
serverId required | string The ID of the server where the pool exists. |
{- "id": "string",
- "name": "string",
- "status": "string",
- "protocol": "string",
- "protocol_port": 0,
- "lb_algorithm": "string",
- "members": [
- {
- "id": "string",
- "address": "string",
- "protocol_port": 0,
- "weight": 0,
- "admin_state_up": true
}
], - "created_on": "2019-08-24T14:15:22Z"
}
Updates the configuration of a specific pool associated with a Load Balancer.
loadBalancerId required | string The ID of the Load Balancer that contains the pool. |
poolId required | string The ID of the pool to be updated. |
serverId required | string The ID of the server where the pool exists. |
lb_algorithm | string Enum: "LEAST_CONNECTIONS" "ROUND_ROBIN" "SOURCE_IP" The load balancing algorithm applied to the pool. |
sticky_session | boolean Enables or disables sticky sessions for the pool. |
{- "lb_algorithm": "LEAST_CONNECTIONS",
- "sticky_session": true
}
Deletes a specific pool from the given Load Balancer.
loadBalancerId required | string The ID of the Load Balancer that contains the pool. |
poolId required | string The ID of the pool to be deleted. |
serverId required | string The ID of the server where the pool exists. |
Manages balancing pools in a load balancer within an OpenStack-based CCE environment. Balancing pools distribute incoming traffic among backend servers to ensure load distribution and high availability.
Retrieves a list of balancing pools for the specified Load Balancer.
loadBalancerId required | string The ID of the Load Balancer. |
serverId required | string The ID of the server where the Load Balancer exists. |
[- {
- "listenerId": "string",
- "id": "string",
- "healthMonitorId": "string",
- "lbProtocol": "string",
- "lbProtocolPort": 0,
- "backEndProtocol": "string",
- "backEndProtocolPort": 0,
- "status": "string",
- "membersState": [
- "string"
], - "membersTotal": 0
}
]
Creates a new balancing pool for the specified Load Balancer.
loadBalancerId required | string The ID of the Load Balancer. |
serverId required | string The ID of the server where the Load Balancer exists. |
sticky_session | boolean Enable or disable session persistence. |
certificate | string or null SSL certificate for HTTPS/TLS termination. |
private_key | string or null Private key for the SSL certificate. |
interval | number Interval between health checks (in seconds). |
timeout | number Timeout for health checks (in seconds). |
healthy_threshold | number Number of successful checks before marking healthy. |
unhealthy_threshold | number Number of failed checks before marking unhealthy. |
type | string Enum: "HTTP" "HTTPS" "TCP" "PING" "UDP-CONNECT" Health monitor type. |
url_path | string or null URL path for HTTP health checks. |
backend_protocol | string Enum: "HTTP" "HTTPS" "TCP" "UDP" Backend protocol used by the pool. |
backend_protocol_port | number Backend port used by pool members. |
lb_algorithm | string Enum: "LEAST_CONNECTIONS" "ROUND_ROBIN" "SOURCE_IP" Load balancing algorithm. |
lb_protocol | string Enum: "HTTPS" "HTTP" "TCP" "UDP" "TERMINATED_HTTPS" Load balancer protocol. |
lb_port | number Load balancer port. |
connection_limit | number or null Maximum allowed connections. |
allowed_cidrs | Array of strings Allowed CIDR ranges for traffic. |
object Additional HTTP headers to be inserted. | |
timeout_client_data | number or null Timeout for client data transmission. |
timeout_member_connect | number or null Timeout for backend connection. |
timeout_member_data | number or null Timeout for backend data transmission. |
Array of objects |
{- "sticky_session": true,
- "certificate": "string",
- "private_key": "string",
- "interval": 0,
- "timeout": 0,
- "healthy_threshold": 0,
- "unhealthy_threshold": 0,
- "type": "HTTP",
- "url_path": "string",
- "backend_protocol": "HTTP",
- "backend_protocol_port": 0,
- "lb_algorithm": "LEAST_CONNECTIONS",
- "lb_protocol": "HTTPS",
- "lb_port": 0,
- "connection_limit": 0,
- "allowed_cidrs": [
- "string"
], - "insert_headers": {
- "X-Forwarded-For": "string",
- "X-Forwarded-Port": "string",
- "X-Forwarded-Proto": "string",
- "X-SSL-Client-CN": "string",
- "X-SSL-Client-DN": "string",
- "X-SSL-Client-Has-Cert": "string",
- "X-SSL-Client-Verify": "string",
- "X-SSL-Client-Not-After": "string",
- "X-SSL-Client-Not-Before": "string",
- "X-SSL-Client-SHA1": "string",
- "X-SSL-Issuer": "string"
}, - "timeout_client_data": 0,
- "timeout_member_connect": 0,
- "timeout_member_data": 0,
- "members": [
- {
- "address": "string",
- "compute_server_id": "string",
- "protocol_port": 0
}
]
}
Retrieves detailed information about a specific balancing pool.
loadBalancerId required | string The ID of the Load Balancer. |
poolId required | string The ID of the balancing pool. |
serverId required | string The ID of the server where the Load Balancer exists. |
{- "id": "string",
- "status": "string",
- "balancingAlgorithm": "string",
- "stickySession": "Enabled",
- "healthMonitorId": "string",
- "protocol": "string",
- "urlPath": "string",
- "interval": 0,
- "timeout": 0,
- "healthyThreshold": 0,
- "unHealthyThreshold": 0,
- "membersTotal": 0,
- "listenerId": "string",
- "lbProtocol": "string",
- "backEndProtocol": "string",
- "lbProtocolPort": 0,
- "backEndProtocolPort": 0,
- "membersState": [
- "string"
], - "connectionLimit": 0,
- "allowedCidrs": [
- "string"
], - "insertHeaders": {
- "X-Forwarded-For": "string",
- "X-Forwarded-Port": "string",
- "X-Forwarded-Proto": "string",
- "X-SSL-Client-CN": "string",
- "X-SSL-Client-DN": "string",
- "X-SSL-Client-Has-Cert": "string",
- "X-SSL-Client-Verify": "string",
- "X-SSL-Client-Not-After": "string",
- "X-SSL-Client-Not-Before": "string",
- "X-SSL-Client-SHA1": "string",
- "X-SSL-Issuer": "string"
}, - "timeoutClientData": 0,
- "timeoutMemberConnect": 0,
- "timeoutMemberData": 0
}
Deletes a specific balancing pool from the load balancer.
loadBalancerId required | string The ID of the Load Balancer. |
poolId required | string The ID of the balancing pool to be deleted. |
serverId required | string The ID of the server where the Load Balancer exists. |
Manages members in a load balancer pool within an OpenStack-based CCE environment. Members are backend servers that handle traffic directed by the load balancer.
Retrieves a list of VM instances that can be added as members to a load balancer.
networkId required | string The ID of the network to retrieve available VMs. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "string",
- "name": "string",
- "ips": [
- "string"
]
}
]
Retrieves the list of members associated with a specific load balancer pool.
loadBalancerId required | string The ID of the load balancer. |
poolId required | string The ID of the pool. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "string",
- "name": "string",
- "state": "string",
- "ipAddress": "string"
}
]
Adds a new member to a specified load balancer pool.
loadBalancerId required | string The ID of the load balancer. |
poolId required | string The ID of the pool. |
serverId required | string The ID of the server making the request. |
Data for the new pool member to be added.
name | string The name of the pool member. |
weight | number The weight of the member. |
admin_state_up | boolean Whether the member is enabled or disabled. |
monitor_port | number The port to be monitored for the member. |
monitor_address | string The address to be monitored for the member. |
backup | boolean Indicates if the member is a backup member. |
address | string The IP address of the member. |
compute_server_id | string The ID of the compute server associated with the member. |
protocol_port | number The protocol port to be used by the member. |
{- "name": "string",
- "weight": 0,
- "admin_state_up": true,
- "monitor_port": 0,
- "monitor_address": "string",
- "backup": true,
- "address": "192.168.0.1",
- "compute_server_id": "server-001",
- "protocol_port": 80
}
Updates multiple members of a specified load balancer pool in a single request (batch update).
loadBalancerId required | string The ID of the load balancer. |
poolId required | string The ID of the pool. |
serverId required | string The ID of the server making the request. |
Data for batch updating the members of the pool.
Array of objects |
{- "members": [
- {
- "id": "member-001",
- "name": "string",
- "weight": 0,
- "admin_state_up": true,
- "monitor_port": 0,
- "monitor_address": "string",
- "backup": true,
- "address": "192.168.0.1",
- "compute_server_id": "server-001",
- "protocol_port": 80
}
]
}
Updates the details of a specific member within a load balancer pool.
loadBalancerId required | string The ID of the load balancer. |
poolId required | string The ID of the pool. |
memberId required | string The ID of the member to update. |
serverId required | string The ID of the server making the request. |
Data for updating the specific pool member.
name | string The name of the pool member. |
weight | number The weight of the pool member. |
enabled | boolean Whether the pool member is enabled or disabled. |
monitor_port | number The port to be monitored for the pool member. |
monitor_address | string The address to be monitored for the pool member. |
backup | boolean Indicates whether the pool member is a backup member. |
{- "name": "string",
- "weight": 0,
- "enabled": true,
- "monitor_port": 0,
- "monitor_address": "string",
- "backup": true
}
Deletes a specific member from a load balancer pool.
loadBalancerId required | string The ID of the load balancer. |
poolId required | string The ID of the pool. |
memberId required | string The ID of the member to delete. |
serverId required | string The server ID associated with the member to be deleted. |
{- "message": "string"
}
Manages health monitors in a load balancer within an OpenStack-based CCE environment. Health monitors check the status of backend servers to ensure traffic is only sent to healthy members.
Retrieves a list of health monitors associated with a given load balancer.
loadBalancerId required | string The ID of the load balancer. |
serverId required | string The server ID associated with the load balancer to retrieve health monitors for. |
Adds a new health monitor to the specified load balancer.
loadBalancerId required | string The ID of the load balancer to which the health monitor will be added. |
serverId required | string The server ID associated with the load balancer to create the health monitor. |
pool_id | string The ID of the pool to associate with the health monitor. |
interval | number The interval (in seconds) between health check attempts. |
timeout | number The timeout (in seconds) for each health check. |
healthy_threshold | number The number of successful checks required to consider the monitor healthy. |
unhealthy_threshold | number The number of failed checks required to consider the monitor unhealthy. |
type | string Enum: "HTTP" "HTTPS" "TCP" "PING" The type of health monitor. One of 'HTTP', 'HTTPS', 'TCP', or 'PING'. |
url_path | string The URL path to use for HTTP/HTTPS health checks. |
{- "pool_id": "string",
- "interval": 0,
- "timeout": 0,
- "healthy_threshold": 0,
- "unhealthy_threshold": 0,
- "type": "HTTP",
- "url_path": "string"
}
Retrieves the details of a specific health monitor for the specified load balancer.
loadBalancerId required | string The ID of the load balancer where the health monitor is located. |
hmId required | string The ID of the health monitor whose details are being requested. |
serverId required | string The server ID associated with the health monitor. |
{- "id": "string",
- "protocol": "string",
- "urlPath": "string",
- "interval": 0,
- "timeout": 0,
- "healthyThreshold": 0,
- "unHealthyThreshold": 0
}
Updates the configuration of an existing health monitor for the specified load balancer.
loadBalancerId required | string The ID of the load balancer containing the health monitor. |
hmId required | string The ID of the health monitor to be updated. |
serverId required | string The server ID associated with the health monitor. |
The data to update the health monitor configuration.
interval required | number The interval (in seconds) between health check attempts. |
timeout required | number The timeout (in seconds) for each health check. |
healthy_threshold required | number The number of successful checks required to consider the monitor healthy. |
unhealthy_threshold required | number The number of failed checks required to consider the monitor unhealthy. |
url_path required | string The URL path for health checks, if applicable. |
{- "interval": 0,
- "timeout": 0,
- "healthy_threshold": 0,
- "unhealthy_threshold": 0,
- "url_path": "string"
}
Deletes an existing health monitor for the specified load balancer.
loadBalancerId required | string The ID of the load balancer containing the health monitor. |
hmId required | string The ID of the health monitor to be deleted. |
serverId required | string The server ID associated with the health monitor to be deleted. |
Manages networks within an OpenStack-based CCE environment. Networks provide connectivity for Kubernetes clusters, enabling communication between nodes and services.
Retrieves a list of networks with optional filters for name and network type.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string Optional filter by network name. |
networkType | string Enum: "private" "public" "hybrid" Optional filter by network type (e.g., "private", "public", "hybrid"). |
[- {
- "name": "string",
- "ipam": { },
- "type": "string",
- "id": "string",
- "subnetId": "string",
- "cidr": "string",
- "gateway": "string",
- "dhcp": true,
- "portSecurityEnabled": true
}
]
Creates a new network with the specified IP address management and other settings.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
IP_address_management required | boolean Whether IP address management is enabled. |
name required | string The name of the network. |
cidr required | string^(?!0)(?!.*0$)(?!.*\.$)(?:[0-9]{1,3}\.){3}[0-... The CIDR block for the network (must be IPv4). |
Array of objects | |
dns_nameservers | Array of strings <ipv4> [ items <ipv4 > ] List of DNS nameservers for the network. |
enable_dhcp | boolean Whether DHCP is enabled for the network. |
gateway_ip | string <ipv4> The gateway IP address for the network. |
ip_version | integer The IP version (e.g., 4 for IPv4, 6 for IPv6). |
{- "IP_address_management": true,
- "name": "string",
- "cidr": "string",
- "allocation_pools": [
- {
- "start": "192.168.0.1",
- "end": "192.168.0.1"
}
], - "dns_nameservers": [
- "192.168.0.1"
], - "enable_dhcp": true,
- "gateway_ip": "192.168.0.1",
- "ip_version": 0
}
{- "id": "string",
- "name": "string",
- "cidr": "string",
- "allocation_pools": [
- {
- "start": "192.168.0.1",
- "end": "192.168.0.1"
}
], - "dns_nameservers": [
- "192.168.0.1"
], - "enable_dhcp": true,
- "gateway_ip": "192.168.0.1",
- "ip_version": 0
}
Retrieves detailed information about a specific network, including its configuration and subnets.
networkId required | string The ID of the network for which details are being requested. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "networkConfiguration": {
- "name": "string",
- "type": "string",
- "id": "string",
- "ipam": {
- "ip_version": 0,
- "cidr": "string",
- "gateway_ip": "string"
}
}, - "subnets": [
- {
- "id": "string",
- "subnetIpVersion": 0,
- "cidr": "string",
- "gateway": "string",
- "dhcp": true,
- "allocation_pools": [
- {
- "start": "192.168.0.1",
- "end": "192.168.0.1"
}
], - "dnsServer": [
- "192.168.0.1"
]
}
]
}
Updates the name of a specific network identified by the networkId.
networkId required | string The ID of the network to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The new name for the network. |
{- "name": "New Network Name"
}
Deletes a specified network from OpenStack.
networkId required | string The ID of the network to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Manages subnets within an OpenStack-based CCE environment. Subnets define IP address ranges and network segmentation for Kubernetes clusters.
Retrieves the details of a specific subnet within a network.
networkId required | string The ID of the network the subnet belongs to. |
subnetId required | string The ID of the subnet whose details are being requested. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Updates the configuration of a specific subnet within a network.
networkId required | string The ID of the network the subnet belongs to. |
subnetId required | string The ID of the subnet to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
gateway_ip | string <ipv4> The gateway IP address of the subnet. Can be null. |
required | Array of objects non-empty A list of IP allocation pools within the subnet. |
dns_nameservers required | Array of strings <ipv4> non-empty [ items <ipv4 > ] A list of DNS nameservers to be used in the subnet. |
enable_dhcp required | boolean Whether DHCP is enabled for the subnet. |
{- "gateway_ip": "192.168.0.1",
- "allocation_pools": [
- {
- "start": "192.168.0.1",
- "end": "192.168.0.1"
}
], - "dns_nameservers": [
- "192.168.0.1"
], - "enable_dhcp": true
}
Manages projects within an OpenStack-based CCE environment. Supports listing, modifying projects, and displaying resource quotas.
Retrieves a list of OpenStack projects associated with the given server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "lastServerId": "server-12345",
- "lastProjectId": "project-67890",
- "lastProject": "Development Project",
- "projects": [
- {
- "name": "Project A",
- "id": "proj-001",
- "domainId": "domain-xyz"
}
]
}
Change project for the given server.
projectId required | string The ID of the project to create or update. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "success": true
}
Retrieves quota and usage details for an OpenStack project.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "data": {
- "cpu": {
- "usage": 4,
- "quota": 16
}, - "ram": {
- "usage": 8.5,
- "quota": 32
}, - "floatingIPs": {
- "usage": 2,
- "quota": 10
}, - "storageSpace": 500,
- "vmStatus": {
- "active": 5,
- "stopped": 2
}, - "topVms": {
- "vcpu": 8,
- "ram": 16,
- "storage": 250
}
}
}
Changes the current OpenStack region.
regionId required | string The ID of the region to switch to. |
{- "regionId": "region-1"
}
{- "success": true
}
Manages routers within an OpenStack-based CCE environment. Routers enable communication between different networks and manage traffic routing for Kubernetes clusters.
Retrieves a list of routers in the OpenStack environment.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "router-12345",
- "name": "my-router",
- "status": "ACTIVE",
- "snat": true,
- "externalNetwork": "public-network",
- "cidr": "192.168.1.0/24",
- "isExternal": false
}
]
Creates a new router in the OpenStack environment.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string Name of the router. |
external_networkId | string The external network ID to attach the router to. |
external_enableSnat | boolean Whether SNAT should be enabled on the router. |
subnetIds | Array of strings List of subnet IDs to connect to the router. |
{- "name": "my-router",
- "external_networkId": "network-12345",
- "external_enableSnat": true,
- "subnetIds": [
- "subnet-1111",
- "subnet-2222"
]
}
Updates the specified router with the given parameters.
routerId required | string The ID of the router to update. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string Name of the router. |
object or null The external gateway configuration. |
{- "name": "updated-router",
- "external_gateway_info": {
- "network_id": "network-67890",
- "enable_snat": true,
- "external_fixed_ips": [
- {
- "ip_version": 4,
- "ip_address": "192.168.1.1"
}
]
}
}
Adds or updates the interface configuration on the specified router.
routerId required | string The ID of the router to modify. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
network_id | string The network ID to attach to the router interface. |
Array of objects A list of IP addresses to assign to the interface. | |
port_security_enabled | boolean Whether port security is enabled for the interface. |
{- "network_id": "network-12345",
- "fixed_ips": [
- {
- "ip_version": 4,
- "ip_address": "192.168.1.2"
}
], - "port_security_enabled": true
}
Retrieves the list of interfaces associated with a specified router.
routerId required | string The ID of the router whose interfaces are to be listed. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "0ff562b1-1cbe-4c3e-8989-a30bce574b6e",
- "network_id": "0166bbb6-d42e-4002-9311-87a63aab1471",
- "subnet_id": "fc0f7269-799c-4bdd-8056-f51130725e44",
- "network": "ybnet",
- "cidr": "44.44.44.0/24",
- "type": "Internal interface",
- "status": "ACTIVE",
- "ipAddress": "44.44.44.1"
}
]
Adds or updates the routes in the routing table of the specified router.
routerId required | string The ID of the router to modify. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
nexthop required | string The next-hop IP address for the route. |
destination required | string The destination IP address with CIDR for the route. |
{- "nexthop": "192.168.1.1",
- "destination": "10.0.0.0/24"
}
{- "router_id": "router-12345",
- "routes": [
- {
- "nexthop": "192.168.1.1",
- "destination": "10.0.0.0/24"
}
]
}
Updates the existing routes in the routing table of the specified router.
routerId required | string The ID of the router to update routes for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
nexthop required | string The current next-hop IP address for the route to update. |
destination required | string The current destination IP address with CIDR for the route to update. |
newNextHop required | string The new next-hop IP address for the route. |
newDestination required | string The new destination IP address with CIDR for the route. |
{- "nexthop": "192.168.1.1",
- "destination": "10.0.0.0/24",
- "newNextHop": "192.168.2.1",
- "newDestination": "10.0.1.0/24"
}
{- "router_id": "router-12345",
- "updatedRoutes": [
- {
- "nexthop": "192.168.2.1",
- "destination": "10.0.1.0/24"
}
]
}
Removes the specified routes from the routing table of the given router.
routerId required | string The ID of the router to remove routes from. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
nexthop required | string The next-hop IP address for the route to remove. |
destination required | string The destination IP address with CIDR for the route to remove. |
{- "nexthop": "192.168.1.1",
- "destination": "10.0.0.0/24"
}
{- "router_id": "router-12345",
- "removedRoutes": [
- {
- "nexthop": "192.168.1.1",
- "destination": "10.0.0.0/24"
}
]
}
Retrieves the details of a specified router.
routerId required | string The ID of the router whose details are to be fetched. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Retrieves external router information including network and gateway details.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "networkId": "0166bbb6-d42e-4002-9311-87a63aab1471",
- "isExternal": true,
- "dns": true,
- "externalNetworkId": "external-network-id"
}
Retrieves a list of static routes for the specified router.
routerId required | string The ID of the router to list static routes for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "destinationSubnet": "192.168.1.0/24",
- "nextHop": "192.168.0.1"
}
]
Attach or update the network interface (port) to the specified router.
routerId required | string The ID of the router to attach the interface (port) to. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
port_id required | string The ID of the network port to be attached or updated. |
{- "port_id": "port-abc123"
}
Delete the specified router from the OpenStack environment.
routerId required | string The ID of the router to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Manages security groups within an OpenStack-based CCE environment. Security groups control inbound and outbound traffic to Kubernetes cluster nodes for enhanced security.
Retrieve the IP address of the server based on the provided serverId.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "ip": "192.168.0.1"
}
Retrieve a list of security groups associated with a server based on the provided serverId.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "string",
- "name": "string",
- "description": "string"
}
]
Create a new security group associated with a specific server using the provided serverId.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The name of the security group. |
description | string A description of the security group. |
{- "name": "string",
- "description": "string"
}
Retrieve the details of a specific security group by ID, associated with a specific server using the provided serverId.
securityGroupId required | string The ID of the security group whose details are being requested. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "d": "string",
- "protocol": "string",
- "portRange": "string",
- "source": "string"
}
Update the name and description of a specific security group for the provided serverId.
securityGroupId required | string The ID of the security group to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The name of the security group. |
description | string A brief description of the security group. This field can be left empty. |
{- "name": "New Security Group",
- "description": "Updated description of the security group"
}
Delete a specific security group for the provided serverId.
securityGroupId required | string The ID of the security group to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Retrieve the rules associated with a specific security group for the provided serverId.
securityGroupId required | string The ID of the security group for which to retrieve rules. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Add a new security group rule for the specified security group and server.
securityGroupId required | string The ID of the security group to which the rule will be added. |
serverId required | string The ID of the server where the security group is located. |
security_group_id | string The ID of the security group to which the rule will be added. |
remote_ip_prefix | string The IP prefix (CIDR) for the rule's source or destination. |
direction | string Enum: "ingress" "egress" The direction of the rule (either ingress or egress). |
protocol | string The protocol (e.g., TCP, UDP) for the rule. |
ethertype | string Enum: "IPv4" "IPv6" The ethertype (IPv4 or IPv6) for the rule. |
port_range_max | number The maximum port for the rule (used with port range). |
port_range_min | number The minimum port for the rule (used with port range). |
remote_group_id | string The ID of a remote security group to which the rule applies. |
{- "security_group_id": "string",
- "remote_ip_prefix": "string",
- "direction": "ingress",
- "protocol": "string",
- "ethertype": "IPv4",
- "port_range_max": 0,
- "port_range_min": 0,
- "remote_group_id": "string"
}
{- "success": true,
- "message": "string"
}
Retrieve detailed information about a specific rule in the security group.
securityGroupId required | string The ID of the security group to which the rule belongs. |
securityGroupRuleId required | string The ID of the specific security group rule whose details are to be retrieved. |
serverId required | string The ID of the server where the security group is located. |
Remove a specific rule from the security group.
securityGroupId required | string The ID of the security group containing the rule to delete. |
securityGroupRuleId required | string The ID of the specific security group rule to delete. |
serverId required | string The ID of the server where the security group is located. |
Creates a snapshot for the specified volume on a server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The name of the snapshot. |
volume_id required | string The ID of the volume from which the snapshot will be created. |
{- "name": "string",
- "volume_id": "string"
}
Converts a given snapshot into an image that can be used to create new instances.
snapshotId required | string The ID of the snapshot to be converted into an image. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The name of the newly created image. |
{- "name": "string"
}
Converts a given snapshot into a new volume.
snapshotId required | string The ID of the snapshot to be converted into a volume. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The name of the new volume. |
snapshotId required | string The ID of the snapshot from which the volume will be created. |
size required | number The size of the new volume in GB. |
storagePolicy required | string The storage policy to be applied to the volume. |
{- "name": "string",
- "snapshotId": "string",
- "size": 0,
- "storagePolicy": "string"
}
Updates the name or description of a given snapshot.
snapshotId required | string The ID of the snapshot to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string The new name for the snapshot. |
description | string or null The new description for the snapshot. Can be null. |
{- "name": "string",
- "description": "string"
}
Deletes a snapshot with the specified ID.
snapshotId required | string The ID of the snapshot to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Retrieves a list of SSH key pairs associated with the given server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "name": "my-key",
- "created": "2024-01-15T12:34:56Z"
}
]
Adds a new SSH key pair to the specified server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The name of the SSH key pair. |
publicKey required | string The public SSH key to be added. |
{- "name": "my-key",
- "publicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA..."
}
{- "id": "abc123",
- "name": "my-key",
- "created": "2024-01-15T12:34:56Z"
}
Retrieves details of a specific SSH key pair associated with the given server.
keyName required | string The name of the SSH key pair. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "name": "my-key",
- "fingerprint": "3a:ff:2c:1d:b6:4e:9f:3c:2d:7a:3b:5e:7d:fa:9c:7f",
- "publicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA...",
- "created": "2024-01-15T12:34:56Z"
}
Deletes a specific SSH key pair associated with the given server.
keyName required | string The name of the SSH key pair to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "message": "SSH key deleted successfully."
}
Generates a new SSH key pair for the specified server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "name": "my-ssh-key",
- "base64PublicKey": "c3NoLXJzYSBBQUFBQjNOemFD...",
- "base64PrivateKey": "LS0tLS1CRUdJTiBQUklWQVRF..."
}
Retrieves a list of virtual machines for the specified server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
status | string Filter VMs by status (e.g., ACTIVE, SHUTOFF, ERROR). |
task | string Filter VMs by task state. |
securityGroupName | string Filter VMs by associated security group name. |
[- {
- "id": "5e63d012-2c78-4e5d-9d36-8f76f0c4b41f",
- "name": "my-vm",
- "status": "ACTIVE",
- "ipAddress": "192.168.1.10",
- "vcpus": 4,
- "ram": "8 GB",
- "storage": "100 GB",
- "volumeSize": 1,
- "taskState": "None"
}
]
Creates a new virtual machine in OpenStack with the specified configuration.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string |
flavorRef | string |
key_name | string or null |
user_data | string or null |
Array of objects | |
object or null | |
Array of objects | |
Array of objects | |
isGPUImage | boolean |
vmCount | integer >= 1 |
{- "name": "name",
- "key_name": "ssh",
- "user_data": "dGVzdA==",
- "flavorRef": "100",
- "type": "volume",
- "networks": [
- {
- "uuid": "22d08033-3b11-48c4-bd14-56905e627d26",
- "fixed_ips": [
- {
- "ip_version": 4
}
], - "security_groups": [
- "88188ec9-be99-41d6-9a92-e9847f4877e7"
]
}
], - "block_device_mapping_v2": [
- {
- "boot_index": 0,
- "uuid": "2c5f508c-1235-4fda-b950-83d65381a27a",
- "source_type": "volume",
- "device_type": "disk",
- "delete_on_termination": false,
- "destination_type": "volume",
- "volume_size": 2
}
]
}
Retrieves detailed information about a specific virtual machine.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "5e63d012-2c78-4e5d-9d36-8f76f0c4b41f",
- "name": "my-vm",
- "status": "ACTIVE",
- "creationTime": "2024-02-01T12:00:00Z",
- "lastModified": "2024-02-10T15:30:00Z",
- "image": "Ubuntu 22.04",
- "imageOsType": "Linux",
- "sshKey": "my-ssh-key",
- "taskState": "None",
- "flavor": {
- "name": "m1.medium",
- "vcpus": 4,
- "ram": "8 GB"
}, - "fault": "Some error message"
}
Updates the name of an existing virtual machine in OpenStack.
vmId required | string The ID of the virtual machine to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string |
{- "name": "updated-vm-name"
}
Deletes a virtual machine from OpenStack.
vmId required | string The ID of the virtual machine to be deleted. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Executes a specified action on an OpenStack virtual machine.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
action required | string Enum: "RebootSoft" "RebootHard" "start" "softStop" "shelve" "unshelve" "rescue" "unrescue" "consoleLog" "hardStop" "resize" The action to be performed on the VM. |
imageId | string Required when |
flavorRef | string Required when |
{- "action": "RebootSoft",
- "imageId": "string",
- "flavorRef": "string"
}
Retrieves a list of actions performed on a virtual machine in OpenStack, such as reboots, shutdowns, and volume attachments.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server where the VM is located. |
[- {
- "dateAndTime": "2024-02-04T12:34:56Z",
- "activity": "RebootSoft",
- "initiator": "admin",
- "id": "req-123456789"
}
]
Retrieves details of a specific action performed on a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
historyId required | string The ID of the history record to retrieve. |
serverId required | string The ID of the server where the VM is located. |
{- "dateAndTime": "2024-02-04T12:34:56Z",
- "activity": "RebootSoft",
- "status": "Success",
- "initiator": "admin",
- "id": "req-123456789"
}
Generates a remote console URL for a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server where the VM is located. |
Retrieves monitoring metrics for a virtual machine within a specified time range.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server where the VM is located. |
start required | number <int64> Start timestamp (Unix epoch format). |
end required | number <int64> End timestamp (Unix epoch format). |
step required | number <int64> Step interval in seconds for fetching monitoring data. |
{- "metrics": [
- {
- "timestamp": 1712345678,
- "cpuUsage": 45.6,
- "memoryUsage": 2048,
- "diskIO": 123456,
- "networkIO": 56789
}
], - "unit": "percentage, MB, IOPS, bytes",
- "serverId": "server-123",
- "start": 1712345600,
- "end": 1712349200,
- "step": 60,
- "id": "vm-456"
}
Manages volumes for virtual machines within an OpenStack-based CCE environment. Volumes provide persistent storage for virtual machines, enabling data retention and scalability.
Retrieves the list of volumes attached to a specific OpenStack virtual machine.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "string",
- "name": "string",
- "storagePolicy": "string",
- "size": 0,
- "deleteOnTermination": true
}
]
Attaches a volume to a specific OpenStack virtual machine.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
volumeId required | string The ID of the volume to attach. |
{- "volumeId": "string"
}
Creates a new volume and attaches it to a specific OpenStack virtual machine.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string The name of the new volume. |
size required | number The size of the volume in GB. |
storagePolicy required | string The storage policy/type for the volume. |
{- "name": "my-volume",
- "size": 100,
- "storagePolicy": "high-performance"
}
Detaches a specified volume from a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
volumeId required | string The ID of the volume to be detached. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
Manages virtual machine networks within an OpenStack-based CCE environment. Provides network connectivity and configuration for virtual machines.
Retrieves a list of network interfaces attached to a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server where the VM is located. |
[- {
- "portId": "port-abc123",
- "id": "net-123456",
- "networkName": "private-network",
- "macAddress": "fa:16:3e:12:34:56",
- "securityGroups": [
- "sg-123456",
- "sg-789012"
], - "isPublic": true,
- "primaryIp": "192.168.1.10",
- "secondaryIps": [
- "192.168.1.11",
- "192.168.1.12"
], - "spoofingProtection": true
}
]
Attaches a network interface to a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server where the VM is located. |
network_id | string The ID of the network to attach. |
mac_address | string The MAC address for the network interface (optional). |
Array of objects List of fixed IPs to assign to the interface. | |
security_groups | Array of strings Security groups to apply to the network interface. |
{- "network_id": "net-123456",
- "mac_address": "fa:16:3e:12:34:56",
- "fixed_ips": [
- {
- "ip_version": 4,
- "ip_address": "192.168.1.100"
}
], - "security_groups": [
- "sg-123456",
- "sg-789012"
]
}
Updates the network interface of a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
portId required | string The ID of the network interface (port) to update. |
serverId required | string The ID of the server where the VM is located. |
mac_address | string The new MAC address for the network interface (optional). |
Array of objects List of fixed IPs to assign to the interface (at least one of | |
security_groups | Array of strings List of security groups to apply to the network interface. |
{- "mac_address": "fa:16:3e:12:34:56",
- "fixed_ips": [
- {
- "ip_version": 4,
- "ip_address": "192.168.1.101"
}
], - "security_groups": [
- "sg-123456",
- "sg-789012"
]
}
Detaches a network interface (port) from a virtual machine in OpenStack.
vmId required | string The ID of the virtual machine. |
portId required | string The ID of the network interface (port) to detach. |
serverId required | string The ID of the server where the VM is located. |
Manages volumes within an OpenStack-based CCE environment. Provides persistent storage for Kubernetes clusters and virtual machines.
Retrieves a list of volumes attached to a specified server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "vol-12345",
- "name": "Volume 1",
- "status": "available",
- "policy": "gold-tier",
- "bootable": true,
- "size": "100 GB",
- "attachedTo": "vm-56789",
- "attachedToId": "server-67890",
- "vmStatus": "running",
- "type": "HDD",
- "isDetachable": true
}
]
Creates a new volume and attaches it to the specified server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string |
size | number [ 1 .. 8192 ] |
storagePolicy | string |
imageRef | string or null |
{- "name": "MyVolume",
- "size": 100,
- "storagePolicy": "gold-tier",
- "imageRef": "image-12345"
}
{- "volumeId": "vol-12345",
- "name": "MyVolume",
- "status": "creating",
- "policy": "gold-tier",
- "size": 100,
- "bootable": true,
- "type": "HDD",
- "diskSerialNumber": "SN-987654321"
}
Retrieves detailed information about a specific volume.
volumeId required | string The ID of the volume. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "vol-12345",
- "name": "MyVolume",
- "status": "in-use",
- "attachedTo": "server-67890",
- "attachedToStatus": "running",
- "attachedToId": "vm-56789",
- "size": 100,
- "storagePolicy": "gold-tier",
- "bootable": true,
- "created": "2024-01-15T12:34:56Z",
- "lastModified": "2024-02-01T08:22:30Z",
- "volume_image_metadata": {
- "image_id": "img-98765",
- "os_type": "linux"
}, - "type": "HDD",
- "isDetachable": true
}
Retrieves a list of snapshots for a specific volume.
volumeId required | string The ID of the volume. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "snapshots": [
- {
- "id": "snap-12345",
- "name": "Snapshot-1",
- "status": "available",
- "description": "Daily backup snapshot",
- "size": 50,
- "storagePolicy": "gold-tier",
- "createdOn": "2024-01-15T12:34:56Z"
}
]
}
Updates the name or description of a specific volume.
volumeId required | string The ID of the volume to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name | string |
description | string |
{- "name": "New Volume Name",
- "description": "Updated description for the volume"
}
Deletes a specific volume from OpenStack.
volumeId required | string The ID of the volume to be deleted. |
serverId required | string The ID of the server where the volume is attached. |
{- "message": "Volume deleted successfully."
}
Creates a new volume by cloning an existing one.
volumeId required | string The ID of the volume to be cloned. |
serverId required | string The ID of the server where the volume is attached. |
name required | string Name of the new cloned volume. |
size required | number Size of the new volume in GB. |
storagePolicy required | string Storage policy for the new volume. |
{- "name": "Cloned Volume",
- "size": 100,
- "storagePolicy": "gold-tier"
}
Executes various actions on a specific OpenStack volume, such as extending, attaching, detaching, reverting, retyping, and uploading to an image.
volumeId required | string The ID of the volume on which the action will be performed. |
serverId required | string The ID of the server where the volume is attached. |
object |
{- "osUploadImage": {
- "image_name": "testpublic",
- "disk_format": "qcow2",
- "container_format": "bare",
- "visibility": "private"
}
}
Attaches a specific volume to a virtual machine.
volumeId required | string The ID of the volume to be attached. |
serverId required | string The ID of the server to which the volume will be attached. |
vmId required | string |
{- "vmId": "b0a8cd1f-7c13-4d88-b09f-b1e88b02f647"
}
Forcefully detaches a specific volume from a virtual machine, even if it is currently in use.
volumeId required | string The ID of the volume to be forcefully detached. |
serverId required | string The ID of the server from which the volume will be detached. |
vmId required | string |
{- "vmId": "b0a8cd1f-7c13-4d88-b09f-b1e88b02f647"
}
Retrieves the list of storage policies available for volumes.
serverId required | string The ID of the server for which the storage policies are being fetched. |
[- {
- "name": "Standard",
- "id": "7a8b9c2d-1234-5678-90ab-cdef12345678"
}
]
Manages VPNs within an OpenStack-based CCE environment. VPNs enable secure, encrypted communication between networks or remote users and the Kubernetes cluster.
Retrieves a list of VPNs based on the optional filter for status and mandatory serverId.
serverId required | string The ID of the server associated with the VPNs. |
status | string Optional filter to retrieve VPNs by their status (e.g., 'active', 'inactive'). |
[- {
- "id": "string",
- "name": "string",
- "status": "string",
- "peerIp": "string",
- "localEndpointId": "string",
- "localEndpoint": "string",
- "remoteEndpointId": "string",
- "remoteEndpoint": "string",
- "ikePolicyId": "string",
- "ikePolicy": "string",
- "vpnIpsecPolicyId": "string",
- "vpnIpsecPolicy": "string"
}
]
Creates a new VPN configuration, including the associated IKE and IPsec policies, endpoints, and VPN settings.
serverId required | string The ID of the server where the VPN configuration will be created. |
ikePolicyId | string |
object | |
ipsecPolicyId | string |
object | |
routerId | string The ID of the router associated with the VPN. |
localEndPointId | string The ID of the local endpoint. |
object | |
remoteEndPointId | string The ID of the remote endpoint. |
object | |
required | object |
{- "ikePolicyId": "string",
- "ikePolicy": {
- "name": "string",
- "lifetime": 0,
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "ike_version": "string",
- "pfs": "string"
}, - "ipsecPolicyId": "string",
- "ipsecPolicy": {
- "name": "string",
- "lifetime": 0,
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "pfs": "string"
}, - "routerId": "string",
- "localEndPointId": "string",
- "localEndPoint": {
- "name": "string",
- "subnets": [
- "string"
]
}, - "remoteEndPointId": "string",
- "remoteEndPoint": {
- "name": "string",
- "subnets": [
- "string"
]
}, - "vpn": {
- "name": "string",
- "psk": "string",
- "peer_address": "string",
- "peer_id": "string",
- "local_id": "string",
- "initiator": "string",
- "dpd": {
- "action": "string",
- "interval": 0,
- "timeout": 0
}
}
}
{- "id": "string"
}
Retrieves detailed information about the VPN configuration, including the IPsec connection details and VPN parameters.
vpnId required | string The ID of the VPN for which details are being requested. |
serverId required | string The ID of the server where the VPN details will be retrieved from. |
{- "details": {
- "id": "string",
- "name": "string",
- "status": "string"
}, - "vpnParameters": {
- "routingMode": "string",
- "externalIpAddress": "string",
- "publicIpv4Address": "string",
- "localId": "string",
- "peerId": "string",
- "psk": "string",
- "mtu": 0,
- "initiator": "string",
- "dpdPolicy": "string",
- "dpdInterval": 0,
- "dpdTimeout": 0
}
}
Retrieves the local and remote endpoints for a given VPN.
vpnId required | string The ID of the VPN for which endpoints are being requested. |
serverId required | string The ID of the server where the VPN endpoints will be retrieved from. |
{- "localEndPoint": {
- "id": "string",
- "name": "string",
- "router": "string",
- "routerId": "string",
- "subnets": [
- "string"
]
}, - "remoteEndPoint": {
- "id": "string",
- "name": "string",
- "subnets": [
- "string"
]
}
}
Retrieves the IKE and IPsec policies for a given VPN.
vpnId required | string The ID of the VPN for which policies are being requested. |
serverId required | string The ID of the server where the VPN policies will be retrieved from. |
{- "ikePolicy": {
- "id": "string",
- "name": "string",
- "description": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "pfs": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "version": "string",
- "matchMode": "string"
}, - "ipsecPolicy": {
- "id": "string",
- "name": "string",
- "description": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "pfs": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "encapsulationMode": "string",
- "transformProtocol": "string"
}
}
Updates an existing VPN connection with new configurations.
vpnId required | string The ID of the VPN to be updated. |
serverId required | string The ID of the server where the VPN is located. |
localEndPointId | string The ID of the local endpoint. |
object Details of the local endpoint. | |
remoteEndPointId | string The ID of the remote endpoint. |
object Details of the remote endpoint. | |
object VPN configuration details. |
{- "localEndPointId": "string",
- "localEndPoint": {
- "name": "string",
- "subnets": [
- "string"
]
}, - "remoteEndPointId": "string",
- "remoteEndPoint": {
- "name": "string",
- "subnets": [
- "string"
]
}, - "vpn": {
- "name": "string",
- "psk": "string",
- "peer_address": "string",
- "peer_id": "string",
- "local_id": "string",
- "initiator": "string",
- "dpd": {
- "action": "string",
- "interval": 0,
- "timeout": 0
}
}
}
Manages IKE (Internet Key Exchange) configurations for VPNs within an OpenStack-based CCE environment. IKE is used for securely establishing and managing VPN connections between networks.
Retrieves the list of IKE (Internet Key Exchange) policies for VPN.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "ikepolicies": [
- {
- "id": "d7a9b3fe-e9c4-4e55-9f24-34b2101bcaa0",
- "tenant_id": "9a8b7c6d-56f8-47b8-b237-45f45f6c7ab0",
- "name": "vpn-ike-policy",
- "description": "IKE policy for site-to-site VPN",
- "auth_algorithm": "sha256",
- "encryption_algorithm": "aes256",
- "phase1_negotiation_mode": "main",
- "lifetime": {
- "units": "seconds",
- "value": 3600
}, - "ike_version": "v2",
- "pfs": "group14",
- "project_id": "bba3999f-6d42-49c4-a59b-27db6e21899a"
}
]
}
Retrieves the details of a specific IKE policy for a given VPN.
vpnId required | string The ID of the VPN. |
ikeId required | string The ID of the IKE policy to retrieve details for. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "ikepolicy": {
- "id": "d7a9b3fe-e9c4-4e55-9f24-34b2101bcaa0",
- "tenant_id": "9a8b7c6d-56f8-47b8-b237-45f45f6c7ab0",
- "name": "vpn-ike-policy",
- "description": "IKE policy for site-to-site VPN",
- "auth_algorithm": "sha256",
- "encryption_algorithm": "aes256",
- "phase1_negotiation_mode": "main",
- "lifetime": {
- "units": "seconds",
- "value": 3600
}, - "ike_version": "v2",
- "pfs": "group14",
- "project_id": "bba3999f-6d42-49c4-a59b-27db6e21899a"
}
}
Creates a new IKE policy for the given VPN.
vpnId required | string The ID of the VPN to which the IKE policy will be added. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string |
pfs required | string |
auth_algorithm required | string |
encryption_algorithm required | string |
ike_version required | string |
required | object |
{- "name": "vpn-ike-policy",
- "pfs": "group14",
- "auth_algorithm": "sha256",
- "encryption_algorithm": "aes256",
- "ike_version": "v2",
- "lifetime": {
- "units": "seconds",
- "value": 3600
}
}
{- "ikepolicy": {
- "id": "d7a9b3fe-e9c4-4e55-9f24-34b2101bcaa0",
- "tenant_id": "9a8b7c6d-56f8-47b8-b237-45f45f6c7ab0",
- "name": "vpn-ike-policy",
- "description": "IKE policy for site-to-site VPN",
- "auth_algorithm": "sha256",
- "encryption_algorithm": "aes256",
- "phase1_negotiation_mode": "main",
- "lifetime": {
- "units": "seconds",
- "value": 3600
}, - "ike_version": "v2",
- "pfs": "group14",
- "project_id": "bba3999f-6d42-49c4-a59b-27db6e21899a"
}
}
Updates the details of an existing IKE policy for the specified VPN.
vpnId required | string The ID of the VPN to which the IKE policy belongs. |
ikeId required | string The ID of the IKE policy to be updated. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
name required | string |
pfs required | string |
auth_algorithm required | string |
encryption_algorithm required | string |
ike_version required | string |
required | object |
{- "name": "updated-ike-policy",
- "pfs": "group14",
- "auth_algorithm": "sha256",
- "encryption_algorithm": "aes256",
- "ike_version": "v2",
- "lifetime": {
- "units": "seconds",
- "value": 3600
}
}
{- "ikepolicy": {
- "id": "d7a9b3fe-e9c4-4e55-9f24-34b2101bcaa0",
- "tenant_id": "9a8b7c6d-56f8-47b8-b237-45f45f6c7ab0",
- "name": "updated-ike-policy",
- "description": "Updated IKE policy for site-to-site VPN",
- "auth_algorithm": "sha256",
- "encryption_algorithm": "aes256",
- "phase1_negotiation_mode": "main",
- "lifetime": {
- "units": "seconds",
- "value": 3600
}, - "ike_version": "v2",
- "pfs": "group14",
- "project_id": "bba3999f-6d42-49c4-a59b-27db6e21899a"
}
}
Deletes the specified IKE policy from the VPN.
vpnId required | string The ID of the VPN from which the IKE policy will be deleted. |
ikeId required | string The ID of the IKE policy to be deleted. |
serverId required | string The ID of the server where the IKE policy will be deleted. |
Manages VPN endpoints within an OpenStack-based CCE environment. VPN endpoints define the connection points for secure communication between different networks or users.
Retrieves the details of the VPN endpoint, including the subnets and endpoints.
serverId required | string The ID of the server associated with the VPN endpoint. |
{- "id": "string",
- "name": "string",
- "type": "string",
- "description": "string",
- "endpoints": [
- "string"
], - "subnets": [
- {
- "cidr": "string",
- "networkName": "string"
}
]
}
Retrieves detailed information about a specific VPN endpoint, including its group details and associated endpoints.
vpnId required | string The ID of the VPN. |
endpointId required | string The ID of the endpoint. |
serverId required | string The ID of the server associated with the VPN endpoint. |
{- "endpoint_group": {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "type": "string",
- "endpoints": [
- "string"
], - "project_id": "string"
}
}
Creates a new endpoint group for the specified VPN, including the list of endpoints and other required details.
vpnId required | string The ID of the VPN. |
serverId required | string The ID of the server associated with the VPN endpoint. |
name | string The name of the endpoint group. |
type | string The type of the endpoint group. |
endpoints | Array of strings A list of endpoints for the group. |
{- "name": "my-endpoint-group",
- "type": "vpn-endpoint",
- "endpoints": [
- "endpoint1",
- "endpoint2"
]
}
{- "endpoint_group": {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "type": "string",
- "endpoints": [
- "string"
], - "project_id": "string"
}
}
Updates the name of an existing VPN endpoint group for the specified VPN and endpoint group ID.
vpnId required | string The ID of the VPN. |
endpointId required | string The ID of the endpoint group to update. |
serverId required | string The ID of the server associated with the VPN endpoint. |
name | string The new name of the endpoint group. |
{- "name": "updated-endpoint-group"
}
{- "endpoint_group": {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "type": "string",
- "endpoints": [
- "string"
], - "project_id": "string"
}
}
Deletes a specified VPN endpoint group for the given VPN and endpoint group ID.
vpnId required | string The ID of the VPN. |
endpointId required | string The ID of the endpoint group to delete. |
serverId required | string The ID of the server associated with the VPN endpoint. |
Manages IPsec policies for VPNs within an OpenStack-based CCE environment. IPsec policies define the encryption and security settings for secure communication over VPN connections.
Retrieves a list of IPSec VPN policies for the specified server.
serverId required | string The ID of the server associated with the IPSec policies. |
{- "ipsecpolicies": [
- {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "transform_protocol": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "encapsulation_mode": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "pfs": "string",
- "project_id": "string"
}
]
}
Retrieves the details of a specific IPSec VPN policy for the specified VPN and IPSec policy IDs.
vpnId required | string The ID of the VPN. |
ipsecId required | string The ID of the IPSec policy. |
serverId required | string The ID of the server associated with the IPSec policy. |
{- "ipsecpolicy": {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "transform_protocol": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "encapsulation_mode": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "pfs": "string",
- "project_id": "string"
}
}
Creates a new IPSec policy for a VPN based on the provided parameters.
vpnId required | string The ID of the VPN to associate the IPSec policy with. |
serverId required | string The ID of the server associated with the IPSec policy. |
name required | string The name of the IPSec policy. |
pfs required | string The PFS group for the IPSec policy. |
auth_algorithm required | string The authentication algorithm for the IPSec policy. |
encryption_algorithm required | string The encryption algorithm for the IPSec policy. |
required | object |
encapsulation_mode required | string The encapsulation mode for the IPSec policy. |
transform_protocol required | string The transform protocol for the IPSec policy. |
description required | string A description of the IPSec policy. |
{- "name": "string",
- "pfs": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "encapsulation_mode": "string",
- "transform_protocol": "string",
- "description": "string"
}
{- "ipsecpolicy": {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "transform_protocol": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "encapsulation_mode": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "pfs": "string",
- "project_id": "string"
}
}
Updates the details of an existing IPSec policy based on the provided parameters.
vpnId required | string The ID of the VPN to associate the IPSec policy with. |
ipsecId required | string The ID of the IPSec policy to update. |
serverId required | string The ID of the server associated with the IPSec policy. |
name | string The name of the IPSec policy. |
pfs | string The PFS group for the IPSec policy. |
auth_algorithm | string The authentication algorithm for the IPSec policy. |
encryption_algorithm | string The encryption algorithm for the IPSec policy. |
object | |
encapsulation_mode | string The encapsulation mode for the IPSec policy. |
transform_protocol | string The transform protocol for the IPSec policy. |
description | string A description of the IPSec policy. |
{- "name": "string",
- "pfs": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "encapsulation_mode": "string",
- "transform_protocol": "string",
- "description": "string"
}
{- "ipsecpolicy": {
- "id": "string",
- "tenant_id": "string",
- "name": "string",
- "description": "string",
- "transform_protocol": "string",
- "auth_algorithm": "string",
- "encryption_algorithm": "string",
- "encapsulation_mode": "string",
- "lifetime": {
- "units": "string",
- "value": 0
}, - "pfs": "string",
- "project_id": "string"
}
}
Deletes the specified IPSec policy from the given VPN.
vpnId required | string The ID of the VPN to which the IPSec policy belongs. |
ipsecId required | string The ID of the IPSec policy to delete. |
serverId required | string The ID of the server associated with the IPSec policy. |
Manages VPN services within an OpenStack-based CCE environment. VPN services enable the creation, configuration, and management of secure VPN connections for network communication.
Retrieves a list of VPN services associated with the specified server.
serverId required | string The ID of the server where the VPN services are located. |
{- "vpnservices": [
- {
- "router_id": "string",
- "status": "string",
- "name": "string",
- "external_v6_ip": "string",
- "admin_state_up": true,
- "subnet_id": "string",
- "project_id": "string",
- "tenant_id": "string",
- "external_v4_ip": "string",
- "id": "string",
- "description": "string",
- "flavor_id": "string"
}
]
}
Retrieves detailed information about a specific VPN service.
vpnId required | string The ID of the VPN. |
serviceId required | string The ID of the VPN service. |
serverId required | string The ID of the server where the VPN service is located. |
{- "vpnservice": {
- "router_id": "string",
- "status": "string",
- "name": "string",
- "external_v6_ip": "string",
- "admin_state_up": true,
- "subnet_id": "string",
- "project_id": "string",
- "tenant_id": "string",
- "external_v4_ip": "string",
- "id": "string",
- "description": "string",
- "flavor_id": "string"
}
}
Creates a new VPN service associated with a specified VPN.
vpnId required | string The ID of the VPN. |
serverId required | string The ID of the server where the VPN service will be created. |
router_id required | string The ID of the router associated with the VPN service. |
name required | string The name of the VPN service. |
admin_state_up required | boolean Indicates whether the VPN service should be administratively up. |
{- "router_id": "router-12345",
- "name": "MyVPNService",
- "admin_state_up": true
}
Updates the details of an existing VPN service.
vpnId required | string The ID of the VPN. |
serviceId required | string The ID of the VPN service to update. |
serverId required | string The ID of the server where the VPN service exists. |
description | string A description for the VPN service. |
name | string The new name for the VPN service. |
admin_state_up | boolean Indicates whether the VPN service should be administratively up. |
{- "description": "Updated VPN service description.",
- "name": "UpdatedVPNService",
- "admin_state_up": true
}
{- "vpnservice": {
- "id": "vpn-service-67890",
- "router_id": "router-12345",
- "status": "ACTIVE",
- "name": "UpdatedVPNService",
- "external_v6_ip": "2001:db8::1",
- "admin_state_up": true,
- "subnet_id": "subnet-98765",
- "project_id": "project-54321",
- "tenant_id": "tenant-12345",
- "external_v4_ip": "192.168.1.1",
- "description": "Updated VPN service description.",
- "flavor_id": "flavor-abcde"
}
}
Deletes an existing VPN service by its ID.
vpnId required | string The ID of the VPN. |
serviceId required | string The ID of the VPN service to delete. |
serverId required | string The ID of the server where the VPN service exists. |
Provides actions for managing environments, including resetting database passwords, restarting nodes, and controlling environment states by appId.
Starts an action for the specified application environment. Only database
and storage
are allowed as the type
parameter.
appId required | string The ID of the application. |
type required | string Enum: "database" "storage" The type of action to start (only |
serverId required | string The ID of the server. |
Stops an action for the specified application environment. Only database
and storage
are allowed as the type
parameter.
appId required | string The ID of the application. |
type required | string Enum: "database" "storage" The type of action to stop (only |
serverId required | string The ID of the server. |
Puts an action for the specified application environment to sleep. Only database
and storage
are allowed as the type
parameter.
appId required | string The ID of the application. |
type required | string Enum: "database" "storage" The type of action to put to sleep (only |
serverId required | string The ID of the server. |
Restarts nodes for the specified application environment. Only database
and storage
are allowed as the type
parameter.
appId required | string The ID of the application. |
type required | string Enum: "database" "storage" The type of nodes to restart (only |
serverId required | string The ID of the server. |
nodeId required | number The ID of the node to restart. |
nodeGroup required | string The group to which the node belongs. |
{- "nodeId": 123,
- "nodeGroup": "primary-group"
}
Resets the password for a specific node in the application environment. Only database
and storage
are allowed as the type
parameter.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
password required | string The new password to be set. |
nodeGroup required | string The group to which the node belongs. |
{- "password": "NewSecurePassword123!",
- "nodeGroup": "primary-group"
}
Manages environment alert triggers, including retrieval, addition, editing, enabling/disabling, deletion, and viewing alert execution history.
Retrieves alerts configured for a specific application environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
{- "result": 0,
- "array": [
- {
- "period": 5,
- "condition": {
- "valueType": "PERCENTAGES",
- "type": "GREATER",
- "value": 70,
- "resourceType": "CPU"
}, - "isDeleted": false,
- "isEnabled": false,
- "name": "auto_alert_cpu",
- "id": 2731,
- "state": "IDLE",
- "nodeGroup": "pgpool",
- "createdOn": "2024-11-28 09:56:14",
- "actions": [
- {
- "customData": {
- "reminderPeriod": 720,
- "notify": true
}, - "type": "NOTIFY"
}
]
}
], - "className": "com.hivext.api.server.system.persistence.Trigger"
}
Adds a new alert for the specified application environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
object |
{- "data": {
- "name": "string",
- "nodeGroup": "string",
- "period": 0,
- "condition": {
- "type": "GREATER",
- "value": 0,
- "resourceType": "string",
- "valueType": "SPECIFIC"
}, - "actions": [
- {
- "type": "NOTIFY",
- "customData": {
- "notify": true,
- "reminderPeriod": 0
}
}
]
}
}
{- "result": 0,
- "object": {
- "period": 10,
- "condition": {
- "valueType": "PERCENTAGES",
- "type": "GREATER",
- "value": 55,
- "resourceType": "CLOUDLETS"
}, - "isDeleted": false,
- "isEnabled": true,
- "name": "test",
- "id": 3185,
- "state": "IDLE",
- "nodeGroup": "sqldb",
- "actions": [
- {
- "customData": {
- "reminderPeriod": 60,
- "notify": true
}, - "type": "NOTIFY"
}
]
}
}
Updates an existing alert for the specified application environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
id required | integer The ID of the alert to be updated. |
required | object |
{- "id": 0,
- "data": {
- "name": "string",
- "nodeGroup": "string",
- "period": 0,
- "condition": {
- "type": "GREATER",
- "value": 0,
- "resourceType": "string",
- "valueType": "SPECIFIC"
}, - "actions": [
- {
- "type": "NOTIFY",
- "customData": {
- "notify": true,
- "reminderPeriod": 0
}
}
]
}
}
{- "result": 0,
- "object": {
- "period": 10,
- "condition": {
- "valueType": "PERCENTAGES",
- "type": "GREATER",
- "value": 55,
- "resourceType": "CLOUDLETS"
}, - "isDeleted": false,
- "isEnabled": true,
- "name": "test2",
- "id": 3185,
- "state": "IDLE",
- "updatedOn": "2025-02-19 12:34:40",
- "createdOn": "2025-02-19 12:31:45",
- "nodeGroup": "sqldb",
- "actions": [
- {
- "customData": {
- "reminderPeriod": 60,
- "notify": true
}, - "type": "NOTIFY"
}
]
}
}
Enables or disables an existing alert for the specified application environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
id required | integer The ID of the alert to be updated. |
enabled required | boolean Whether the alert should be enabled ( |
{- "id": 0,
- "enabled": true
}
Deletes a specific alert for the given application environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
id required | integer The ID of the alert to be deleted. |
serverId required | string The ID of the server. |
Retrieves the alert history for a given application environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
startTime required | string Start time for filtering history. |
endTime required | string End time for filtering history. |
startRow | integer The starting row for pagination. |
resultCount | integer Number of results to return. |
skipResults | integer Number of results to skip. |
nodeGroup | string Filter results by node group. |
resourceTypes | string Enum: "CLOUDLETS" "MEM" "CPU" "DISK" "INODES" "DISK_IOPS" "DISK_IO" "NET_EXT" "NET_EXT_OUT" "OOM_KILLER" Filter results by resource type. |
orderField | string The field by which to order the results. |
orderDirection | string The sorting direction (e.g., ASC, DESC). |
{- "startTime": "string",
- "endTime": "string",
- "startRow": 0,
- "resultCount": 0,
- "skipResults": 0,
- "nodeGroup": "string",
- "resourceTypes": "CLOUDLETS",
- "orderField": "string",
- "orderDirection": "string"
}
{- "result": 0,
- "array": [
- {
- "nodeName": "string",
- "triggerName": "string",
- "triggerId": 0,
- "executedOn": "string",
- "nodeType": "string",
- "nodeGroup": "string",
- "createdOn": "string",
- "notificationSent": true,
- "result": 0,
- "firstExecutionInSequence": "string",
- "actionType": "string",
- "response": "string",
- "conditionValue": 0,
- "conditionType": "string",
- "actionCustomData": {
- "reminderPeriod": 0,
- "notify": true
}, - "id": 0,
- "sequentialExecCount": 0,
- "conditionValueType": "PERCENTAGES",
- "fireData": {
- "statistic": {
- "duration": 0,
- "disk": 0,
- "mem": 0,
- "net_out_ext": 0,
- "inodes": 0,
- "cpumhz": 0,
- "net_in_ext": 0,
- "cloudlets": 0,
- "cpu": 0,
- "disk_io": 0,
- "disk_iops": 0
}, - "loadmark": 0
}, - "resourceType": "string"
}
], - "className": "string",
- "totalCount": 0
}
Manages environment backups, including retrieval, installation, execution, restoration, update, and deletion of backup add-ons.
Retrieves backup information for the specified environment. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
nodeGroup required | string The node group of the environment. |
nodeType required | string The type of node in the environment. |
{- "nodeGroup": "string",
- "nodeType": "string"
}
{- "result": 0,
- "response": {
- "ssoLink": "string",
- "jpsVersion": "string",
- "rating": 0,
- "isInstalled": true,
- "source": "string",
- "isPrivate": true,
- "type": "update",
- "createdOn": "2019-08-24T14:15:22Z",
- "ownerName": "string",
- "isRpm": true,
- "logo": "string",
- "id": 0,
- "categories": [
- "string"
], - "app_id": "string",
- "registryUrl": "string",
- "testers": [
- "string"
], - "isExternal": true,
- "visibilityLevels": [
- "string"
], - "jpsType": "update",
- "updatedOn": "2019-08-24T14:15:22Z",
- "shortDescription": "string",
- "published": true,
- "repositoryName": "string",
- "version": "string",
- "targetNodes": {
- "nodeType": "string"
}, - "ownerEmail": "string",
- "external": true,
- "name": "string",
- "ownerUid": 0,
- "status": "string",
- "isFavorite": true,
- "homepage": "string"
}
}
Retrieves UI configuration information for the backup add-on. The serverId
query parameter is required.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
{- "result": 0,
- "response": {
- "editable": true,
- "values": { }
}
}
Installs the backup add-on for a specific application with the given configuration settings.
appId required | string The ID of the application. |
serverId required | string The ID of the server. |
nodeGroup required | string Node group for the backup. |
required | object |
{- "nodeGroup": "string",
- "settings": {
- "scheduleType": "1",
- "backupCount": 1,
- "storageName": "string",
- "dbuser": "string",
- "dbpass": "string",
- "isAlwaysUmount": true,
- "tz": "string",
- "backupTime": "string",
- "sun": true,
- "mon": true,
- "tue": true,
- "wed": true,
- "thu": true,
- "fri": true,
- "sat": true,
- "cronTime": "string"
}
}
Executes a backup-related action (backup, configure, or restore) for a specific application.
appId required | string The ID of the application. |
appUniqueName required | string The unique name of the application. |
serverId required | string The ID of the server. |
action required | string Enum: "backup" "configure" "restore" The action to perform. |
nodeGroup required | string Node group for the action. |
object or object |
{- "action": "backup",
- "nodeGroup": "string",
- "settings": {
- "scheduleType": "1",
- "isAlwaysUmount": true,
- "cronTime": "string",
- "backupTime": "string",
- "tz": "string",
- "backupCount": 1,
- "storageName": "string",
- "dbuser": "string",
- "dbpass": "string",
- "sun": true,
- "mon": true,
- "tue": true,
- "wed": true,
- "thu": true,
- "fri": true,
- "sat": true
}
}
Retrieves the restore points available for a specific environment.
appUniqueName required | string The unique name of the application. |
serverId required | string The ID of the server. |
Deletes a specific backup for the given application.
appid required | string The application ID. |
appUniqueName required | string The unique name of the backup. |
serverId required | string The ID of the server. |
Manages environment endpoints, including retrieval, addition, modification, and deletion of endpoints.
Retrieves endpoint details for the given application.
appid required | string The application ID. |
serverId required | string The ID of the server. |
{- "nodeGroup": "string",
- "id": 0,
- "name": "string",
- "nodeId": 0,
- "privatePort": 0,
- "protocol": "string",
- "publicPort": 0,
- "url": "string"
}
Creates a new endpoint for the specified application.
appid required | string The application ID. |
serverId required | string The ID of the server. |
nodeId required | integer The node ID where the endpoint will be created. |
name required | string The name of the endpoint. |
privatePort required | integer The private port for the endpoint. |
protocol required | string Enum: "TCP" "UDP" The protocol used by the endpoint. |
{- "nodeId": 0,
- "name": "string",
- "privatePort": 0,
- "protocol": "TCP"
}
{- "result": 0,
- "object": {
- "id": 0,
- "name": "string",
- "domain": "string",
- "privatePort": 0,
- "protocol": "TCP",
- "publicPort": 0
}
}
Updates an existing endpoint for the specified application.
appid required | string The application ID. |
serverId required | string The ID of the server. |
id required | integer The unique identifier of the endpoint to be updated. |
name required | string The updated name of the endpoint. |
privatePort required | integer The updated private port for the endpoint. |
protocol required | string Enum: "TCP" "UDP" The updated protocol used by the endpoint. |
{- "id": 0,
- "name": "string",
- "privatePort": 0,
- "protocol": "TCP"
}
{- "result": 0,
- "object": {
- "id": 0,
- "name": "string",
- "domain": "string",
- "privatePort": 0,
- "protocol": "TCP",
- "publicPort": 0
}
}
Deletes a specific rule associated with an endpoint for the given application.
appid required | string The application ID. |
id required | integer The unique identifier of the rule to be deleted. |
serverId required | string The ID of the server. |
Handles environment management, including listing, creating, updating, deleting, and retrieving environment details and statistics.
Retrieves a list of all environment information for the specified server.
serverId required | string The ID of the server. |
{- "result": 0,
- "infos": [
- { }
]
}
Creates a new DBP environment with specified configurations.
serverId required | string The ID of the server where the environment will be created. |
required | object |
crossNetwork required | boolean Whether cross-networking is enabled. |
required | object |
{- "env": {
- "envName": "string",
- "region": "string"
}, - "crossNetwork": true,
- "nodes": {
- "main": {
- "nodeType": "string",
- "nodeGroup": "string",
- "flexibleCloudlets": 0,
- "fixedCloudlets": 0,
- "count": 0,
- "extip": 0,
- "tag": "string",
- "diskLimit": 0,
- "cluster": true,
- "scalingMode": "STATELESS",
- "password": "string",
- "isSLBAccessEnabled": true
}, - "clustering": {
- "nodeType": "string",
- "nodeGroup": "string",
- "flexibleCloudlets": 0,
- "fixedCloudlets": 0,
- "count": 0,
- "extip": 0,
- "tag": "string",
- "diskLimit": 0,
- "clusterGroup": "string",
- "scalingMode": "STATELESS",
- "isSLBAccessEnabled": true
}, - "extras": {
- "nodeType": "string",
- "nodeGroup": "string",
- "flexibleCloudlets": 0,
- "fixedCloudlets": 0,
- "count": 0,
- "extip": 0,
- "tag": "string",
- "diskLimit": 0,
- "clusterGroup": "string",
- "isSLBAccessEnabled": true
}
}
}
{- "result": 0,
- "response": {
- "result": 0,
- "date": "2019-08-24T14:15:22Z",
- "envGroups": [
- "string"
], - "nodes": [
- { }
], - "appid": "string",
- "name": "string",
- "creatorAppid": "string",
- "env": { },
- "nodeGroups": [
- { }
]
}
}
Retrieves detailed information about a specific environment.
appId required | string The ID of the environment. |
serverId required | string The ID of the server. |
{- "result": 0,
- "envGroups": [
- "string"
], - "nodes": [
- { }
], - "nodesInternalDomains": [
- "string"
], - "env": { },
- "nodesData": [
- "string"
], - "nodeGroups": { }
}
Updates an existing DBP environment with the specified configurations.
appId required | string The ID of the DBP environment to update. |
serverId required | string The ID of the server where the environment is located. |
required | object |
required | object |
{- "env": {
- "region": "string"
}, - "nodes": {
- "main": {
- "nodeType": "string",
- "nodeGroup": "string",
- "flexibleCloudlets": 0,
- "fixedCloudlets": 0,
- "count": 0,
- "tag": "string",
- "diskLimit": 0,
- "extip": 0,
- "isSLBAccessEnabled": true
}, - "clustering": {
- "nodeType": "string",
- "nodeGroup": "string",
- "flexibleCloudlets": 0,
- "fixedCloudlets": 0,
- "count": 0,
- "tag": "string",
- "diskLimit": 0,
- "extip": 0,
- "isSLBAccessEnabled": true
}, - "extras": {
- "nodeType": "string",
- "nodeGroup": "string",
- "flexibleCloudlets": 0,
- "fixedCloudlets": 0,
- "count": 0,
- "tag": "string",
- "diskLimit": 0,
- "extip": 0,
- "isSLBAccessEnabled": true
}
}
}
{- "result": 0
}
Deletes a specific DBP environment.
appId required | string The ID of the DBP environment to delete. |
serverId required | string The ID of the server where the environment is located. |
{- "result": 0
}
Retrieves SSH connection details and SFTP access information for a given environment.
appId required | string The ID of the environment. |
serverId required | string The ID of the server. |
{- "ssh": "string",
- "sftp": [
- {
- "nodeId": 0,
- "fishLink": "string",
- "gate": "string",
- "host": "string",
- "port": "string",
- "username": "string",
- "path": "string"
}
]
}
Retrieves statistics for all environments.
serverId required | string The ID of the server. |
[- {
- "appid": "string",
- "name": "string",
- "stat": { },
- "count": 0,
- "disk": { }
}
]
Retrieves statistics for a specific DBP environment.
appId required | string The ID of the DBP environment. |
serverId required | string The ID of the server where the environment is located. |
nodeGroup required | string The node group to retrieve statistics for. |
duration required | number The duration in seconds for which stats should be retrieved. |
interval required | number The time interval in seconds between each data point. |
nodeId | number The ID of the specific node (optional). |
{- "nodeGroup": "string",
- "duration": 0,
- "interval": 0,
- "nodeId": 0
}
{- "result": 0,
- "stats": [
- {
- "duration": 0,
- "disk": 0,
- "mem": 0,
- "memTotal": 0,
- "vType": "string",
- "cpumhz": 0,
- "disk_io_used": 0,
- "start": "string",
- "cpu": 0,
- "net": {
- "in_ext": 0,
- "in_int": 0,
- "out_int": 0,
- "out_ext": 0
}, - "capacity": 0,
- "iops_used": 0
}
]
}
Verifies if a specific domain is available in the environment.
serverId required | string The ID of the server where the domain check should be performed. |
domain required | string The domain to check for availability. |
{- "domain": "string"
}
{- "result": 0
}
Manages environment firewall rules, including retrieving, adding, editing, enabling/disabling, and deleting inbound and outbound rules.
Retrieves inbound firewall rules for the specified environment.
appId required | string The application ID for which firewall rules are being retrieved. |
serverId required | string The ID of the server where the environment exists. |
{- "result": 0,
- "className": "string",
- "rules": [
- {
- "dst": "string",
- "src": "string",
- "updatedOn": "2019-08-24T14:15:22Z",
- "ports": "string",
- "priority": 0,
- "type": "string",
- "nodeGroup": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "isEnabled": true,
- "name": "string",
- "action": "ALLOW",
- "direction": "INPUT"
}
]
}
Retrieves outbound firewall rules for the specified environment.
appId required | string The application ID for which firewall rules are being retrieved. |
serverId required | string The ID of the server where the environment exists. |
{- "result": 0,
- "className": "string",
- "rules": [
- {
- "dst": "string",
- "src": "string",
- "updatedOn": "2019-08-24T14:15:22Z",
- "ports": "string",
- "priority": 0,
- "type": "string",
- "nodeGroup": "string",
- "createdOn": "2019-08-24T14:15:22Z",
- "protocol": "string",
- "isEnabled": true,
- "name": "string",
- "action": "ALLOW",
- "direction": "INPUT"
}
]
}
Enables or disables the firewall for the specified environment.
appId required | string The application ID for which the firewall setting is being updated. |
serverId required | string The ID of the server where the environment exists. |
enabled required | boolean Whether to enable ( |
{- "enabled": true
}
Enables or disables a specific firewall rule for the given environment.
appId required | string The application ID for which the firewall rule is being updated. |
serverId required | string The ID of the server where the environment exists. |
ruleId required | string The ID of the firewall rule to be modified. |
enabled required | boolean Whether to enable ( |
{- "ruleId": "string",
- "enabled": true
}
Adds a new firewall rule to the specified environment.
appId required | string The application ID for which the firewall rule is being added. |
serverId required | string The ID of the server where the environment exists. |
required | object |
nodeGroup required | string The node group to which the rule is applied. |
{- "rule": {
- "direction": "INPUT",
- "action": "ALLOW",
- "nodeGroup": "string",
- "protocol": "TCP",
- "ports": "string",
- "isEnabled": true,
- "name": "string",
- "src": "string",
- "priority": 0
}, - "nodeGroup": "string"
}
Updates an existing firewall rule in the specified environment.
appId required | string The application ID for which the firewall rule is being updated. |
serverId required | string The ID of the server where the environment exists. |
required | object |
nodeGroup required | string The node group to which the rule is applied. |
{- "rule": {
- "id": 0,
- "direction": "INPUT",
- "action": "ALLOW",
- "nodeGroup": "string",
- "protocol": "TCP",
- "ports": "string",
- "isEnabled": true,
- "name": "string",
- "src": "string",
- "priority": 0
}, - "nodeGroup": "string"
}
Deletes a specific firewall rule from the environment.
appId required | string The application ID from which the firewall rule is being deleted. |
ruleId required | string The ID of the firewall rule to delete. |
serverId required | string The ID of the server where the environment exists. |
Manages environment groups, including listing, creating, updating, attaching, detaching, and deleting environment groups.
Retrieves a list of all environment groups.
serverId required | string The ID of the DBP region. You can obtain valid region IDs by calling the DBP-User endpoint. |
{- "result": 0,
- "array": [
- {
- "visibility": 0,
- "hierarchy": "string",
- "name": "string",
- "isIsolated": true,
- "id": 0,
- "ownerUid": 0,
- "color": "string"
}
], - "className": "string"
}
Creates a new environment group based on the provided group name.
serverId required | string The ID of the DBP region. You can obtain valid region IDs by calling the DBP-User endpoint. |
groupName | string The name of the environment group to be created. |
{- "groupName": "New Group"
}
{- "result": 0,
- "groupId": 0,
- "message": "string"
}
Attaches an environment (appId
) to a specific environment group (groupName
).
groupName required | string The name of the environment group. |
appId required | string The ID of the environment to be attached. |
serverId required | string The ID of the server where the environment group exists. |
Detaches an environment (appId
) from a specific environment group (groupName
).
groupName required | string The name of the environment group. |
appId required | string The ID of the environment to be detached. |
serverId required | string The ID of the server where the environment group exists. |
{- "status": "Environment detached successfully."
}
Updates the name of an existing environment group.
srcGroupName required | string The current name of the environment group. |
serverId required | string The ID of the server where the environment group exists. |
dstGroupName | string The new name for the environment group. |
{- "dstGroupName": "UpdatedGroupName"
}
Deletes an existing environment group.
groupName required | string The name of the environment group to delete. |
serverId required | string The ID of the server where the environment group exists. |
Handles environment logs, including listing, retrieving details, downloading, clearing, and deleting log files.
Retrieves a list of logs for the specified application.
appId required | string The ID of the application whose logs are being retrieved. |
serverId required | string The ID of the server where the application is hosted. |
nodeId | number The ID of the specific node (optional). |
path | string The path to the log file or directory (optional). |
{- "nodeId": 0,
- "path": "string"
}
{- "result": 0,
- "array": [
- {
- "name": "string",
- "type": "FILE",
- "path": "string",
- "permission": "string",
- "items": [
- {
- "path": "string",
- "size": 0,
- "name": "string",
- "permission": "string",
- "type": "FILE"
}
]
}
]
}
Retrieves the detailed log content for the specified application.
appId required | string The ID of the application whose log details are being retrieved. |
serverId required | string The ID of the server where the application is hosted. |
nodeId required | number The ID of the node where the log is located. |
path required | string The path of the log file to retrieve details from. |
{- "nodeId": 0,
- "path": "string"
}
{- "result": 0,
- "linescount": 100,
- "body": "2024-02-25 12:00:00 INFO Application started."
}
Generates a download link for the specified log file.
appId required | string The ID of the application whose log file is being downloaded. |
serverId required | string The ID of the server where the application is hosted. |
nodeId required | number The ID of the node where the log file is located. |
path required | string The path of the log file to download. |
{- "nodeId": 0,
- "path": "string"
}
{- "result": 0,
}
Deletes the contents of the specified log file.
appId required | string The ID of the application whose log file is being cleared. |
serverId required | string The ID of the server where the application is hosted. |
nodeId required | number The ID of the node where the log file is located. |
path required | string The path of the log file to be cleared. |
{- "nodeId": 0,
- "path": "string"
}
Deletes the specified log file.
appId required | string The ID of the application whose log file is being deleted. |
serverId required | string The ID of the server where the application is hosted. |
nodeId required | number The ID of the node where the log file is located. |
path required | string The path of the log file to be deleted. |
{- "nodeId": 0,
- "path": "string"
}
Manages environment migration tasks, including checking migration feasibility and migrating environments to different hardnodes.
Verifies whether it is possible to migrate the specified environment.
appId required | string The ID of the application for which migration is being checked. |
serverId required | string The ID of the server where the application is hosted. |
hardwareNodeGroup required | string The hardware node group to which the environment is to be migrated. |
{- "hardwareNodeGroup": "string"
}
This endpoint migrates the environment to a different hardware node group.
appId required | string The ID of the application to be migrated. |
serverId required | string The ID of the server where the application is currently hosted. |
hardwareNodeGroup required | string The hardware node group where the environment will be migrated. |
isOnline required | boolean Indicates whether the migration should be performed while the environment is online (true) or offline (false). |
{- "hardwareNodeGroup": "string",
- "isOnline": true
}
{- "result": 0,
- "error": "string",
- "reason": 0,
- "source": "string"
}
Manages environment scheduler tasks, including retrieving scheduler information, installing or updating the scheduler, and deleting backup add-ons.
This endpoint retrieves information about the environment scheduler for the specified application.
appId required | string The ID of the application for which scheduler information is requested. |
serverId required | string The ID of the server where the application is hosted. |
{- "result": 0,
- "total": 0,
- "apps": [
- {
- "requirements": [
- {
- "name": "string",
- "keyword": "string"
}
], - "ssoLink": "string",
- "jpsVersion": "string",
- "rating": 0,
- "isInstalled": true,
- "source": "string",
- "isPrivate": true,
- "type": "string",
- "createdOn": "string",
- "ownerName": "string",
- "isRpm": true,
- "logo": "string",
- "id": 0,
- "categories": [
- "string"
], - "app_id": "string",
- "registryUrl": "string",
- "testers": [
- "string"
], - "buttons": [
- {
- "loadingText": "string",
- "successText": "string",
- "caption": "string",
- "action": "string",
- "confirmText": "string",
- "settings": "string",
- "submitButtonText": "string",
- "title": "string"
}
], - "isExternal": true,
- "visibilityLevels": [
- "string"
], - "jpsType": "string",
- "updatedOn": "string",
- "shortDescription": "string",
- "published": true,
- "repositoryName": "string",
- "version": "string",
- "targetNodes": {
- "nodeType": "string"
}, - "ownerEmail": "string",
- "external": true,
- "name": "string",
- "ownerUid": 0,
- "status": "string",
- "isFavorite": true,
- "homepage": "string"
}
]
}
This endpoint updates the scheduler configuration for the specified environment.
appId required | string The ID of the application whose scheduler will be updated. |
serverId required | string The ID of the server where the environment is hosted. |
appUniqueName | string The unique name of the application whose scheduler is to be updated. |
object |
{- "appUniqueName": "string",
- "settings": {
- "stopCron": true,
- "stopTime": "string",
- "sun1": true,
- "mon1": true,
- "tue1": true,
- "wed1": true,
- "thu1": true,
- "fri1": true,
- "sat1": true,
- "startCron": true,
- "startTime": "string",
- "sun2": true,
- "mon2": true,
- "tue2": true,
- "wed2": true,
- "thu2": true,
- "fri2": true,
- "sat2": true,
- "tz": "string"
}
}
{- "result": 0,
- "uniqueName": "string",
- "response": {
- "result": 0,
- "uniqueName": "string",
- "successText": "string",
- "appid": "string",
- "action": "string",
- "error": "string",
- "reason": "string",
- "message": "string",
- "type": "string"
}, - "appid": "string",
- "successText": "string",
- "action": "string",
- "error": "string",
- "reason": "string",
- "type": "string",
- "message": "string"
}
This endpoint installs a scheduler to the specified environment and allows configuration of cron jobs and time zones.
appId required | string The ID of the application to which the scheduler will be installed. |
serverId required | string The ID of the server where the environment is hosted. |
nodeGroup | string The node group to which the scheduler will be installed. |
object |
{- "nodeGroup": "string",
- "settings": {
- "stopCron": true,
- "stopTime": "string",
- "sun1": true,
- "mon1": true,
- "tue1": true,
- "wed1": true,
- "thu1": true,
- "fri1": true,
- "sat1": true,
- "startCron": true,
- "startTime": "string",
- "sun2": true,
- "mon2": true,
- "tue2": true,
- "wed2": true,
- "thu2": true,
- "fri2": true,
- "sat2": true,
- "tz": "string"
}
}
{- "result": 0,
- "uniqueName": "string",
- "response": {
- "result": 0,
- "uniqueName": "string",
- "successText": "string",
- "appid": "string",
- "action": "string",
- "error": "string",
- "reason": "string",
- "type": "string",
- "message": "string"
}, - "appid": "string",
- "successText": "string",
- "action": "string",
- "error": "string",
- "reason": "string",
- "type": "string",
- "message": "string"
}
This endpoint deletes the scheduler configuration for the specified application and unique name.
appId required | string The ID of the application whose scheduler will be deleted. |
appUniqueName required | string The unique name of the application whose scheduler will be deleted. |
serverId required | string The ID of the server where the environment is hosted. |
{- "result": 0,
- "action": "string",
- "error": "string",
- "reason": "string",
- "type": "string",
- "message": "string"
}
Manages billing-related tasks, including retrieving account and environment billing history, listing pricing details, and checking quotas.
This endpoint retrieves the billing history for an account based on the specified period.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
startTime | string The start date/time for the billing history. |
endTime | string The end date/time for the billing history. |
period | string Enum: "HOUR" "DAY" "WEEK" "MONTH" "YEAR" The period for grouping billing data. |
groupNodes | boolean Whether or not to group the billing data by nodes. |
{- "startTime": "string",
- "endTime": "string",
- "period": "HOUR",
- "groupNodes": true
}
{- "result": 0,
- "array": [
- {
- "resourceFreeCost": 0,
- "dateTime": "string",
- "billNetworkExtAmount": 0,
- "usedStorageAmount": 0,
- "licenceHours": 0,
- "fixedCloudletsCost": 0,
- "storageCost": 0,
- "type": "string",
- "resourceBillableAmount": 0,
- "networkExtCost": 0,
- "hostGroupDisplayName": "string",
- "isBonus": true,
- "flexibleCloudletsFreeAmount": 0,
- "nodeCount": 0,
- "flexibleCloudletsCost": 0,
- "networkExtFreeAmount": 0,
- "nodeid": 0,
- "group": 0,
- "usedCloudletsAmount": 0,
- "cost": 0,
- "fixedCloudletsFreeAmount": 0,
- "isRemote": true,
- "count": 0,
- "flexibleCloudletsAmount": 0,
- "resourceFreeAmount": 0,
- "isPaid": true,
- "fixedCloudletsAmount": 0,
- "isWithdrawn": true,
- "resourceCost": 0,
- "minFeeResourceAmount": 0,
- "appid": "string",
- "domain": "string",
- "billStorageAmount": 0,
- "usedNetworkExtAmount": 0,
- "storageFreeAmount": 0,
- "hostGroupUniqueName": "string",
- "resourceType": "string"
}
], - "className": "string",
- "source": "string",
- "error": "string"
}
This endpoint retrieves the billing history for a specific environment based on the specified period and app ID.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
appId | string The ID of the application for which billing history is requested. |
startTime | string The start date/time for the billing history. |
endTime | string The end date/time for the billing history. |
period | string Enum: "HOUR" "DAY" "WEEK" "MONTH" "YEAR" The period for grouping billing data. |
groupNodes | boolean Whether or not to group the billing data by nodes. |
{- "appId": "string",
- "startTime": "string",
- "endTime": "string",
- "period": "HOUR",
- "groupNodes": true
}
{- "result": 0,
- "array": [
- {
- "resourceFreeCost": 0,
- "dateTime": "string",
- "billNetworkExtAmount": 0,
- "usedStorageAmount": 0,
- "licenceHours": 0,
- "fixedCloudletsCost": 0,
- "storageCost": 0,
- "type": "string",
- "resourceBillableAmount": 0,
- "networkExtCost": 0,
- "hostGroupDisplayName": "string",
- "isBonus": true,
- "flexibleCloudletsFreeAmount": 0,
- "nodeCount": 0,
- "flexibleCloudletsCost": 0,
- "networkExtFreeAmount": 0,
- "nodeid": 0,
- "group": 0,
- "usedCloudletsAmount": 0,
- "cost": 0,
- "fixedCloudletsFreeAmount": 0,
- "isRemote": true,
- "count": 0,
- "flexibleCloudletsAmount": 0,
- "resourceFreeAmount": 0,
- "isPaid": true,
- "fixedCloudletsAmount": 0,
- "isWithdrawn": true,
- "resourceCost": 0,
- "minFeeResourceAmount": 0,
- "appid": "string",
- "domain": "string",
- "billStorageAmount": 0,
- "usedNetworkExtAmount": 0,
- "storageFreeAmount": 0,
- "hostGroupUniqueName": "string",
- "resourceType": "string"
}
], - "className": "string",
- "source": "string",
- "error": "string"
}
This endpoint retrieves the pricing information for the environment. It includes tariff plans and pricing models for various resources.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 0,
- "array": [
- {
- "pricingModel": {
- "uniqueName": "string",
- "name": "string",
- "description": "string",
- "id": 0,
- "tariffPlans": [
- {
- "chargeOnlyRunning": true,
- "tiers": [
- {
- "trialPeriod": 0,
- "price": 0,
- "free": 0,
- "value": 0
}
], - "resource": {
- "unit": "string",
- "name": "string",
- "id": 0,
- "type": "string"
}, - "description": "string",
- "type": "string",
- "createdOn": "string",
- "minimumFee": 0,
- "minimumFeeResourceAmount": 0,
- "uniqueName": "string",
- "convertedMinimumFee": 0,
- "chargePeriodType": "string",
- "minCloudletCount": 0,
- "billableResourceScope": "string",
- "name": "string",
- "id": 0,
- "keyword": "string",
- "cloudletIncrement": 0,
- "strategy": "string",
- "freeResourceScope": "string"
}
], - "type": "string",
- "createdOn": "string",
- "tariffs": [
- {
- "chargeOnlyRunning": true,
- "tiers": [
- {
- "trialPeriod": 0,
- "price": 0,
- "free": 0,
- "value": 0
}
], - "resource": {
- "unit": "string",
- "name": "string",
- "id": 0,
- "type": "string"
}, - "description": "string",
- "type": "string",
- "createdOn": "string",
- "minimumFee": 0,
- "minimumFeeResourceAmount": 0,
- "uniqueName": "string",
- "convertedMinimumFee": 0,
- "chargePeriodType": "string",
- "minCloudletCount": 0,
- "billableResourceScope": "string",
- "name": "string",
- "id": 0,
- "keyword": "string",
- "cloudletIncrement": 0,
- "strategy": "string",
- "freeResourceScope": "string"
}
]
}, - "isDefault": true,
- "hardNodeGroup": "string",
- "isEnabled": true,
- "group": "string"
}
], - "className": "string"
}
This endpoint retrieves the quota information for the environment. It provides details on the resource quotas and their respective values.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 0,
- "array": [
- {
- "quota": {
- "name": "string",
- "description": "string",
- "id": 0,
- "isHidden": true
}, - "id": 0,
- "type": "string",
- "value": 0
}
], - "className": "string"
}
Manages cross-network tasks, enabling the integration and communication between different networks within the platform.
This endpoint retrieves the list of cross-network IP addresses for the specified server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 0,
- "array": [
- {
- "ipAddress": "10.100.120.66",
- "id": 27
}
], - "className": "com.hivext.api.server.data.po.CrossNetworkExtIpAddressSearchCriteria",
- "totalCount": 4
}
This endpoint adds a new cross-network IP address for the specified server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
ip | string <ipv4> The IP address to be added to the cross-network configuration. |
{- "ip": "10.100.120.66"
}
{- "result": 0
}
This endpoint deletes a cross-network IP address for the specified server and IP address ID.
id required | string The unique ID of the cross-network IP address to be deleted. |
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 0
}
Provides access to platform region information, allowing users to retrieve and manage details about available DBP regions.
This endpoint retrieves the list of DBP regions for a specified server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
[- {
- "subnet": "192.168.1.0/24",
- "sslType": "TLS",
- "displayName": "Region A",
- "ipRange": "192.168.1.1-192.168.1.254",
- "description": "Primary region for deployment",
- "dockerTCPPort": 2376,
- "dockerLogin": "admin",
- "hardNodeGroups": [
- {
- "name": "Group 1",
- "id": 1
}
], - "dockerSSHPort": 22,
- "isDefault": true,
- "uniqueName": "region-a-unique",
- "domain": "region-a.example.com",
- "sslEnabled": true,
- "id": 101,
- "status": "ACTIVE",
- "isMigrationAllowed": true
}
]
This endpoint retrieves the list of databases associated with a specific DBP server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 0,
- "nodes": [
- {
- "name": "Database1",
- "nodeGroup": "Group1",
- "nodeType": "PostgreSQL",
- "version": "13.3",
- "validation": { },
- "minReserved": 2,
- "minScaling": 4
}
]
}
Allows users to manage public keys, including listing, creating, generating, and deleting public keys for secure access to the platform.
This endpoint retrieves a list of public keys associated with a specific DBP server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 0,
- "keys": [
- {
- "isDeleted": false,
- "id": 1,
- "publicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArG7...",
- "title": "Key Title",
- "fingerPrint": "SHA256:abcd1234",
- "user": {
- "authConfig": {
- "type": "Password"
}, - "id": 101,
- "email": "user@example.com"
}, - "createdOn": "2023-02-20T10:00:00Z"
}
], - "debug": {
- "cpu": {
- "usage": "20%",
- "time": 120
}, - "time": 130
}
}
This endpoint allows you to create a new public key for a specified DBP server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
publicKey | string The public key to be created. |
title | string The title of the public key. |
{- "publicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArG7...",
- "title": "My New Key"
}
{- "result": 0,
- "debug": {
- "cpu": {
- "usage": "20%",
- "time": 120
}, - "time": 130
}, - "source": "Public Key API",
- "error": "None",
- "key": {
- "isDeleted": false,
- "id": 101,
- "publicKey": "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEArG7...",
- "title": "My New Key",
- "fingerPrint": "SHA256:abcd1234",
- "user": {
- "authConfig": {
- "type": "Password"
}, - "id": 101,
- "email": "user@example.com"
}, - "createdOn": "2023-02-20T10:00:00Z"
}
}
This endpoint generates a new public/private key pair for a specified DBP server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "base64PublicKey": "AAAAB3NzaC1yc2EAAAABIwAAAQEArG7...",
- "base64PrivateKey": "MIIEvAIBADANBgkqhkiG9w0BAQEFAASCB..."
}
This endpoint deletes a public key by its unique ID for a specified server.
id required | integer The ID of the public key to be deleted. |
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 1,
- "debug": {
- "cpu": {
- "usage": "5%",
- "time": 120
}, - "time": 150
}, - "source": "api-server",
- "error": "Key not found."
}
Provides operations for managing storage backups, including listing existing backups and creating new backups for secure data storage.
This endpoint retrieves storage information for a specified server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 1,
- "infos": [
- {
- "nodeId": 123,
- "nodeName": "backup-node-01",
- "nodeStatus": "active",
- "storageAmount": 500,
- "storageType": "SSD"
}
]
}
This endpoint creates a storage backup for a specified server.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
object | |
region | string The region where the storage backup will be created. |
envName | string The environment name for the storage backup. |
displayName | string The display name for the storage backup. |
{- "settings": {
- "diskspace": 100
}, - "region": "us-west",
- "envName": "production",
- "displayName": "backup-01"
}
{- "result": 1,
- "uniqueName": "backup-001",
- "response": {
- "result": 1,
- "uniqueName": "backup-001",
- "successText": "Storage backup created successfully.",
- "appid": "app-123"
}, - "appid": "app-123",
- "successText": "Storage backup created successfully."
}
This endpoint updates the storage disk limit for a specific application.
appId required | string The ID of the application whose storage disk limit is to be updated. |
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
diskLimit required | number The new disk limit to be applied to the storage. |
{- "diskLimit": 200
}
{- "result": 1
}
This endpoint deletes the storage for a specific application.
appId required | string The ID of the application whose storage is to be deleted. |
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 1
}
Allows users to view account details and retrieve information about the products associated with their user account.
This endpoint retrieves the details of the user account.
serverId required | string The ID of the DBP product. You can obtain valid product IDs by calling the DBP-User endpoint. |
{- "result": 1,
- "groupType": "Admin",
- "bonus": 100,
- "hardNodeGroups": [
- "group1",
- "group2"
], - "createdOn": "2021-01-01T00:00:00Z",
- "updatedGroupOn": "2021-02-01T00:00:00Z",
- "defaultHardNodeGroup": "group1",
- "uid": 12345,
- "isCommerial": true,
- "balance": 50.75,
- "isRegistered": true,
- "updatedStatusOn": "2021-03-01T00:00:00Z",
- "status": 1,
- "group": "standard",
- "source": "internal",
- "error": "No errors"
}
Provides access to the parameter table, which stores essential information
required for various requests and configurations.
Retrieves a list of system parameters, optionally filtered by type and group.
type | string Filter parameters by type. |
group | string Filter parameters by group. |
[- {
- "id": 1176,
- "key": "schedule",
- "value": "'schedule_day_of_week':'0,1,2,3,4,5,6'...",
- "type": "Backup_Plan",
- "name": "Retention 7 days",
- "order": 1,
- "status": "Active",
- "isDeleted": false,
- "isEncrypted": false,
- "group": "CCE",
- "subjectType": "Retention",
- "subjectID": "7",
- "description": null,
- "createdAt": "2024-08-23T08:19:11.728Z",
- "updatedAt": "2024-08-23T08:19:11.728Z"
}
]
Retrieves a list of discovery-related parameters based on the specified products.
products required | string Specifies the product(s) for which discovery parameters should be retrieved. |
[- {
- "id": 1087,
- "key": "create_channel",
- "value": "CREATE_ALERT_CHANNEL",
- "type": "discovery",
- "name": "Create Alert Channel Socket Event",
- "order": 1,
- "status": "Active",
- "isDeleted": false,
- "isEncrypted": false,
- "group": "product",
- "subjectType": "Monitoring",
- "subjectID": "6",
- "description": null,
- "createdAt": "2024-06-30T15:41:29.118Z",
- "updatedAt": "2024-06-30T15:41:29.118Z"
}
]
Provides requests that retrieve the status and information about products,
offering insights into their current state and configuration.
Retrieves the status of the products.
{- "property1": {
- "productStatus": "active",
- "subjectStatus": "enabled"
}, - "property2": {
- "productStatus": "active",
- "subjectStatus": "enabled"
}
}
Handles ticket creation and management requests,
allowing users to submit, update, and track support tickets.
Retrieves customer support requests based on filters.
start | number The starting index for pagination. |
limit | number Example: limit=10 The number of requests returned per page. |
requestTypeId | number Example: requestTypeId=5 Filter by request type ID. |
requestStatus | string Example: requestStatus=Open Filter by request status. |
{- "size": 25,
- "start": 0,
- "limit": 10,
- "isLastPage": false,
- "requests": [
- {
- "issueId": "REQ-1234",
- "issueKey": "CUST-5678",
- "requestTypeId": 5,
- "summary": "Server is down",
- "currentStatus": {
- "status": "In Progress",
- "statusCategory": "Pending",
- "statusDate": {
- "iso": "2024-08-23T08:19:11.728Z",
- "friendly": "5 minutes ago"
}
}, - "created": "2024-08-22T12:00:00.000Z",
- "createdDate": {
- "iso": "2024-08-22T12:00:00.000Z",
- "friendly": "1 day ago"
}
}
]
}
Creates a new customer support request.
summary | string A brief summary of the request. |
description | string Detailed description of the issue. |
requestTypeId | string The ID of the request type. |
object The category of the request. | |
object (Optional) The priority of the request. | |
object (Optional) The billing category related to the request. | |
object (Optional) The sales category related to the request. | |
object (Optional) The customer type for the request. | |
attachment | Array of strings (Optional) List of attachment IDs related to the request. |
{- "summary": "Issue with cloud storage access",
- "description": "User is unable to access their cloud storage despite having the correct permissions.",
- "requestTypeId": "12345",
- "requestCategory": {
- "id": "category-1",
- "child": {
- "id": "sub-category-1"
}
}, - "priority": {
- "id": "high"
}, - "billingCategory": {
- "id": "billing-123"
}, - "salesCategory": {
- "id": "sales-567"
}, - "customerType": {
- "id": "enterprise"
}, - "attachment": [
- "attachment-1",
- "attachment-2"
]
}
{- "issueKey": "SUP-1001",
- "issueId": "50001",
- "requestTypeId": "12345",
- "reporter": {
- "displayName": "John Doe",
- "email": "john.doe@example.com",
- "active": true
}, - "currentStatus": {
- "status": "Open",
- "statusCategory": "In Progress",
- "statusDate": "2024-02-11T12:34:56Z"
}
}
Retrieves detailed information about a customer support request by issue ID or key.
issueIdOrKey required | string Example: REQ-1234 The unique ID or key of the support request. |
{- "issueId": "REQ-1234",
- "issueKey": "CUST-5678",
- "requestTypeId": 5,
- "reporter": {
- "displayName": "John Doe",
- "email": "johndoe@example.com",
- "active": true
}, - "requestTypeFields": {
- "summary": "Server is down",
- "description": "Our production server is unreachable.",
- "renderedHtml": "<p>Our production server is unreachable.</p>",
- "product": "Cloud Hosting",
- "requestCategory": {
- "id": "cat-001",
- "value": "Technical Support",
- "child": {
- "id": "subcat-001",
- "value": "Database Issues"
}
}, - "priority": {
- "id": "high",
- "value": "High"
}, - "customerType": {
- "id": "enterprise",
- "value": "Enterprise Customer"
}, - "attachment": [
- {
- "id": "att-001",
- "filename": "log.txt",
- "created": "2024-08-22T12:00:00.000Z",
- "mimeType": "text/plain",
- "size": 2048,
- "author": {
- "displayName": "Jane Smith",
- "accountId": "user-001",
- "email": "jane.smith@example.com",
- "active": true
}
}
], - "participants": [
- {
- "emailAddress": "participant@example.com",
- "displayName": "Alex Johnson",
- "active": true,
- "timeZone": "UTC+3"
}
]
}, - "createdDate": {
- "iso": "2024-08-22T12:00:00.000Z",
- "friendly": "1 day ago"
}, - "currentStatus": {
- "status": "In Progress",
- "statusCategory": "Pending",
- "statusDate": {
- "iso": "2024-08-23T08:19:11.728Z",
- "friendly": "5 minutes ago"
}
}, - "addCommentAllowed": true
}
Fetches attachments of a customer request.
issueIdOrKey required | string The ID or key of the customer request. |
start | integer >= 0 The starting index for pagination (optional). |
limit | integer >= 1 The number of attachments to retrieve (optional). |
{- "size": 0,
- "start": 0,
- "limit": 0,
- "isLastPage": true,
- "attachments": [
- {
- "filename": "string",
- "author": {
- "displayName": "string",
- "email": "user@example.com",
- "active": true,
- "accountId": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "mimeType": "string",
- "size": 0
}
]
}
Retrieves the content of a specific attachment.
issueIdOrKey required | string The ID or key of the customer request. |
attachmentId required | string The ID of the attachment. |
(Binary file data)
Retrieves the base64-encoded thumbnail of a specific attachment.
issueIdOrKey required | string The ID or key of the customer request. |
attachmentId required | string The ID of the attachment. |
{- "base64Thumbnail": "string"
}
Retrieves the current status of a customer request.
issueIdOrKey required | string The ID or key of the customer request. |
{- "status": "string",
- "statusDate": "2019-08-24T14:15:22Z"
}
Retrieves a paginated list of attachments for a specific comment in a customer request.
issueIdOrKey required | string The ID or key of the customer request. |
commentId required | string The ID of the comment. |
start | integer >= 0 The starting index for pagination. |
limit | integer >= 1 The number of attachments to retrieve per page. |
{- "size": 0,
- "start": 0,
- "limit": 0,
- "isLastPage": true,
- "attachments": [
- {
- "id": "string",
- "filename": "string",
- "author": {
- "displayName": "string",
- "email": "user@example.com",
- "active": true,
- "accountId": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "mimeType": "string",
- "size": 0
}
]
}
Retrieves a paginated list of comments for a specific customer request.
issueIdOrKey required | string The ID or key of the customer request. |
start | integer >= 0 The starting index for pagination. |
limit | integer >= 1 The number of comments to retrieve per page. |
{- "size": 0,
- "total": 0,
- "start": 0,
- "limit": 0,
- "isLastPage": true,
- "comments": [
- {
- "id": "string",
- "renderedBody": {
- "html": "string"
}, - "public": true,
- "author": {
- "displayName": "string",
- "email": "user@example.com",
- "active": true,
- "accountId": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z",
- "attachments": [
- {
- "id": "string",
- "filename": "string",
- "author": {
- "displayName": "string",
- "email": "user@example.com",
- "active": true,
- "accountId": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "mimeType": "string",
- "size": 0
}
]
}
]
}
Adds a new comment to the specified customer request.
issueIdOrKey required | string The ID or key of the customer request. |
body | string The content of the comment. |
{- "body": "This is a sample comment."
}
{- "id": "string",
- "body": "string",
- "public": true,
- "author": {
- "displayName": "string",
- "email": "user@example.com",
- "active": true,
- "accountId": "string"
}, - "created": "2019-08-24T14:15:22Z",
- "updated": "2019-08-24T14:15:22Z"
}
Retrieves the available transitions for the specified customer request.
issueIdOrKey required | string The ID or key of the customer request. |
{- "transitions": [
- {
- "id": "string",
- "name": "string",
- "to": {
- "id": "string",
- "name": "string"
}
}
]
}
Executes a transition on the specified customer request.
issueIdOrKey required | string The ID or key of the customer request. |
id | string The ID of the transition to perform. |
object An optional comment to include with the transition. |
{- "id": "5",
- "additionalComment": {
- "body": "Updating the request status."
}
}
{- "success": true
}
Create one or more temporary attachments to a customer support request.
issueIdOrKey required | string Example: SUP-1001 The issue ID or key of the customer request. |
object (Optional) A comment to be added along with the attachment. | |
temporaryAttachmentIds | Array of strings A list of temporary attachment IDs to be uploaded. |
{- "additionalComment": {
- "body": "Please find the attached log files."
}, - "temporaryAttachmentIds": [
- "temp-attachment-1",
- "temp-attachment-2"
]
}
{- "comment": {
- "id": "comment-5001",
- "message": "Please find the attached log files.",
- "messageRaw": "Please find the attached log files.\nThese logs contain the error details.",
- "author": {
- "displayName": "John Doe",
- "email": "john.doe@example.com",
- "active": true,
- "accountId": "12345"
}, - "created": "2024-02-11T12:34:56Z"
}, - "attachments": [
- {
- "filename": "error_log.txt",
- "author": {
- "displayName": "John Doe",
- "email": "john.doe@example.com",
- "active": true,
- "accountId": "12345"
}, - "created": "2024-02-11T12:35:00Z",
- "mimeType": "text/plain",
- "size": 102400
}
]
}
Retrieves a list of available request types.
[- {
- "id": "req-type-123",
- "name": "Technical Support",
- "description": "Support for technical issues and troubleshooting.",
- "issueTypeId": "issue-456",
- "portalId": "portal-789"
}
]
Retrieves the fields associated with a specific request type.
requestTypeId required | string Example: req-type-123 The ID of the request type. |
[- {
- "fieldId": "field-001",
- "name": "Priority",
- "description": "Defines the priority of the request.",
- "required": true,
- "defaultValues": [
- "High"
], - "validValues": [
- "Low",
- "Medium",
- "High"
], - "schema": {
- "type": "string",
- "customId": "custom-002"
}, - "visible": true
}
]
Allows attaching temporary files to support requests
in the Service Desk module.
Uploads a temporary file to the service desk for later use in a request.
file | string <binary> The file to be uploaded. |
{- "temporaryAttachmentIds": [
- "temp-attach-123",
- "temp-attach-456"
]
}
Manages projects within a Light Compute (LC) environment. Supports project management of resources and configurations for lightweight compute instances.
Retrieves the list of LC projects for the specified server.
serverId required | string The ID of the LC region. You can obtain valid region IDs by calling the LC-Region endpoint. |
{- "lastServerId": "server-12345",
- "lastProjectIdVps": "project-98765",
- "lastProject": "OpenStack Project X",
- "projects": [
- {
- "projectId": "project-12345",
- "projectName": "Active Project 1",
- "status": "active"
}
]
}
Retrieves the quota usage details for a LC project.
serverId required | string The ID of the server for which the quota details are being requested. |
{- "data": {
- "cpu": {
- "usage": 8,
- "quota": 16
}, - "ram": {
- "usage": 16384,
- "quota": 32768
}, - "floatingIPs": {
- "usage": 2,
- "quota": 5
}, - "storageSpace": 500,
- "vmStatus": {
- "running": 3,
- "stopped": 1,
- "error": 0
}, - "topVms": {
- "vcpu": 4,
- "ram": 8192,
- "storage": 100
}
}
}
Manages regions within a Light Compute (LC) environment.
Defines and organizes geographic locations for deploying and managing compute resources.
Manages security groups within a Light Compute (LC) environment.
Defines and controls inbound and outbound traffic rules for virtual machines
Retrieves details of security group rules for a given server.
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
[- {
- "id": "sg-rule-12345",
- "protocol": "TCP",
- "portRange": "22-80",
- "source": "0.0.0.0/0"
}
]
Adds a new rule to the specified security group.
securityGroupId required | string The ID of the security group to which the rule will be added. |
serverId required | string The ID of the server for which the security rule is being added. |
remote_ip_prefix | string The CIDR range for the rule. |
direction | string Enum: "ingress" "egress" The direction of the rule (incoming or outgoing traffic). |
protocol | string The protocol to be used (e.g., TCP, UDP, ICMP). |
ethertype | string Enum: "IPv4" "IPv6" The IP version. |
port_range_max | number The maximum port range for the rule. |
port_range_min | number The minimum port range for the rule. |
remote_group_id | string The ID of the remote security group. |
{- "remote_ip_prefix": "192.168.1.0/24",
- "direction": "ingress",
- "protocol": "TCP",
- "ethertype": "IPv4",
- "port_range_max": 443,
- "port_range_min": 80,
- "remote_group_id": "sg-remote-123"
}
Retrieves details of a specific security group rule.
securityGroupId required | string The ID of the security group to which the rule belongs. |
securityGroupRuleId required | string The ID of the security group rule to retrieve details for. |
serverId required | string The ID of the server. |
{- "security_group_rules": [
- {
- "remote_group_id": "sg-remote-123",
- "direction": "ingress",
- "protocol": "TCP",
- "description": "Allow SSH traffic",
- "ethertype": "IPv4",
- "remote_ip_prefix": "192.168.1.0/24",
- "port_range_max": 443,
- "updated_at": "2024-02-01T12:30:00Z",
- "security_group_id": "sg-12345",
- "port_range_min": 80,
- "revision_number": 3,
- "tenant_id": "tenant-001",
- "created_at": "2024-01-01T10:00:00Z",
- "project_id": "project-xyz",
- "id": "sgr-67890"
}
]
}
Deletes a specific security group rule.
securityGroupId required | string The ID of the security group that contains the rule. |
securityGroupRuleId required | string The ID of the security group rule to be deleted. |
serverId required | string The ID of the server. |
{- "success": true,
- "message": "Security group rule deleted successfully."
}
Manages virtual machines within a Light Compute (LC) environment.
Enables the configuration, and management of lightweight virtual instances for various workloads.
Retrieves monitoring data for a specific virtual machine.
vmId required | string The ID of the virtual machine for which monitoring data is being requested. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
start required | number The start timestamp for the monitoring data. |
end required | number The end timestamp for the monitoring data. |
step required | number The step interval for the monitoring data. |
{- "type": "string",
- "serverId": "string",
- "end": 0,
- "start": 0,
- "id": "string",
- "step": 0
}
Retrieves detailed information about a specific virtual machine.
serverId required | string The ID of the server associated with the virtual machine. |
{- "id": "string",
- "name": "string",
- "status": "string",
- "creationTime": "string",
- "lastModified": "string",
- "image": "string",
- "imageOsType": "string",
- "sshKey": "string",
- "taskState": "string",
- "flavor": {
- "name": "string",
- "vcpus": 0,
- "ram": "string"
}, - "fault": "string",
- "host": "string"
}
Retrieves a list of network interfaces for a specific virtual machine.
vmId required | string The ID of the virtual machine to retrieve network interfaces for. |
serverId required | string The ID of the server associated with the virtual machine. |
[- {
- "portId": "string",
- "id": "string",
- "networkName": "string",
- "macAddress": "string",
- "securityGroups": [
- "string"
], - "isPublic": true,
- "primaryIp": "string",
- "secondaryIps": [
- "string"
], - "spoofingProtection": true
}
]
Retrieves a list of volumes attached to a specific virtual machine.
vmId required | string The ID of the virtual machine to retrieve volumes for. |
serverId required | string The ID of the server associated with the virtual machine. |
[- {
- "id": "string",
- "name": "string",
- "storagePolicy": "string",
- "size": 0,
- "deleteOnTermination": true
}
]
Retrieves a list of historical activities related to a specific virtual machine.
vmId required | string The ID of the virtual machine to retrieve history for. |
serverId required | string The ID of the server associated with the virtual machine. |
[- {
- "dateAndTime": "string",
- "activity": "string",
- "initiator": "string",
- "id": "string"
}
]
Retrieves detailed information for a specific action within the history of a virtual machine.
vmId required | string The ID of the virtual machine to retrieve history details for. |
historyId required | string The ID of the specific history event to retrieve detailed information for. |
serverId required | string The ID of the server associated with the virtual machine. |
{- "dateAndTime": "string",
- "activity": "string",
- "status": "string",
- "initiator": "string",
- "id": "string"
}
Generates a remote console URL for accessing the virtual machine.
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server associated with the VM. |
{
}
Executes a specific action on the given virtual machine (VM).
vmId required | string The ID of the virtual machine. |
serverId required | string The ID of the server associated with the VM. |
action required | string Enum: "start" "hardStop" "RebootHard" "RebootSoft" "shelve" "unshelve" "consoleLog" The action to perform on the VM. |
{- "action": "start"
}
{- "success": true,
- "message": "VM started successfully."
}
Manages storage volumes within a Light Compute (LC) environment.
Supports volume management for virtual machines.
Retrieves detailed information about a specific volume.
volumeId required | string The unique ID of the volume. |
serverId required | string The ID of the CCE region. You can obtain valid region IDs by calling the CCE-Region endpoint. |
{- "id": "vol-123456",
- "name": "My Volume",
- "status": "available",
- "size": 100,
- "storagePolicy": "Standard",
- "created": "2024-01-15T12:30:00Z",
- "lastModified": "2024-02-01T15:45:00Z",
- "type": "HDD",
- "volume_image_metadata": {
- "os_distro": "ubuntu",
- "os_version": "20.04"
}
}
Retrieves a list of snapshots for a given volume.
volumeId required | string The unique ID of the volume. |
serverId required | string The ID of the server associated with the volume. |
[- {
- "id": "snap-789012",
- "name": "Daily Backup",
- "status": "available",
- "description": "Snapshot created for backup purposes.",
- "size": 100,
- "storagePolicy": "Standard",
- "createdOn": "2024-02-10T08:15:00Z"
}
]