The unique identifier (UUID) of the resource
Configure Resource Load Balancing
Configures load balancing settings for a resource, determining how traffic is distributed across multiple gateways. Supports both manual gateway selection and automatic load balancing algorithms.
Path Parameters
Body
application/json
Body
ApplyLoadBalancing
Configuration for applying load balancing to resources
Load balancing mode for the resource
Allowed values:MANUALAUTOMATIC
Default:MANUAL
Example:AUTOMATIC
Array of gateway IDs to use for load balancing
Example:["550e8400-e29b-41d4-a716-446655440000","550e8400-e29b-41d4-a716-446655440001"]
Response
Response
Successfully applied load balancing configuration
Authentication
Path Parameters
Body
{
"loadBalancingMode": "AUTOMATIC",
"gateways": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]
}curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/resources//loadBalancing \
--header 'Content-Type: application/json' \
--header 'apikey: ' \
--data '{
"loadBalancingMode": "AUTOMATIC",
"gateways": [
"550e8400-e29b-41d4-a716-446655440000",
"550e8400-e29b-41d4-a716-446655440001"
]
}'Successfully applied load balancing configurationConnect Resource to Gateways
Establishes network connections between a resource and one or more gateways, enabling users to access the resource through those gateways. This operation is essential for defining network topology and access paths.
Path Parameters
The unique identifier (UUID) of the resource
Body
application/json
Body
Comma-separated list of gateway IDs
Response
application/json
Response
Successfully created resource-gateway connections
Connection between a network address and a gateway
Unique identifier of the network address
Example:550e8400-e29b-41d4-a716-446655440000
Unique identifier of the gateway
Example:550e8400-e29b-41d4-a716-446655440001
Authentication
Path Parameters
Body
{
"gateways": [
"[]"
]
}curl --request POST \
--url https://public-api.cipherscale.com/qa/tenants/resources//gateways \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: ' \
--data '{
"gateways": [
"[]"
]
}'{
"addressId": "550e8400-e29b-41d4-a716-446655440000",
"gatewayId": "550e8400-e29b-41d4-a716-446655440001"
}Disconnect Resource from Gateway
Removes the network connection between a resource and a specific gateway, preventing access to the resource through that gateway. This operation helps manage network topology and access control.
Path Parameters
The unique identifier (UUID) of the resource
The unique identifier (UUID) of the gateway to disconnect
Response
Response
Successfully disconnected resource from gateway
Authentication
Path Parameters
curl --request DELETE \
--url https://public-api.cipherscale.com/qa/tenants/resources//gateways/ \
--header 'Content-Type: application/json' \
--header 'apikey: 'Successfully disconnected resource from gatewayAddresses
Network address and endpoint management
List All Network Addresses
Retrieves all network addresses configured for the tenant, including IP addresses, hostnames, and domain names with their associated protocols and access types.
Response
application/json
Response
Successfully retrieved addresses
Unique identifier for the address
Example:550e8400-e29b-41d4-a716-446655440001
Network address (IP address or domain name)
Example:192.168.1.100
Whether the address is an IP address (true) or domain name (false)
Example:true
Type of network resource this address belongs to
Allowed values:PRIVATESAASINTERNET
Example:PRIVATE
Array of protocol objects defining network protocols for this address
Example:{"id":"550e8400-e29b-41d4-a716-446655440000","name":"HTTP/HTTPS","type":"PREDEFINED","networkProtocols":[{"protocol":"TCP","port":"80"},{"protocol":"TCP","port":"443"}]}
Show Child Parameters
Authentication
curl --request GET \
--url https://public-api.cipherscale.com/qa/tenants/addresses \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'apikey: '{
"id": "550e8400-e29b-41d4-a716-446655440001",
"address": "192.168.1.100",
"isIp": true,
"type": "PRIVATE",
"protocols": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "HTTP/HTTPS",
"type": "PREDEFINED",
"networkProtocols": [
{
"protocol": "TCP",
"port": "80"
},
{
"protocol": "TCP",
"port": "443"
}
]
}
]
}