NetworkService
platform.v1.NetworkService
CreateSshKey
Section titled “CreateSshKey”SSH keys
- Request:
CreateSshKeyRequest - Response:
CreateSshKeyResponse - REST mapping:
POST /v1/ssh-keys
ImportSshKey
Section titled “ImportSshKey”- Request:
ImportSshKeyRequest - Response:
SshKey - REST mapping:
POST /v1/ssh-keys:import
ListSshKeys
Section titled “ListSshKeys”- Request:
ListSshKeysRequest - Response:
ListSshKeysResponse - REST mapping:
GET /v1/ssh-keys
GetSshKey
Section titled “GetSshKey”- Request:
GetSshKeyRequest - Response:
SshKey - REST mapping:
GET /v1/ssh-keys/{id}
DeleteSshKey
Section titled “DeleteSshKey”- Request:
DeleteSshKeyRequest - Response:
Operation - REST mapping:
DELETE /v1/ssh-keys/{id}
CreateFirewall
Section titled “CreateFirewall”Firewalls (security groups)
- Request:
CreateFirewallRequest - Response:
Operation - REST mapping:
POST /v1/firewalls
ListFirewalls
Section titled “ListFirewalls”- Request:
ListFirewallsRequest - Response:
ListFirewallsResponse - REST mapping:
GET /v1/firewalls
GetFirewall
Section titled “GetFirewall”- Request:
GetFirewallRequest - Response:
Firewall - REST mapping:
GET /v1/firewalls/{id}
UpdateFirewallRules
Section titled “UpdateFirewallRules”- Request:
UpdateFirewallRulesRequest - Response:
Operation - REST mapping:
POST /v1/firewalls/{id}:rules
DeleteFirewall
Section titled “DeleteFirewall”- Request:
DeleteFirewallRequest - Response:
Operation - REST mapping:
DELETE /v1/firewalls/{id}
AttachFirewall
Section titled “AttachFirewall”- Request:
AttachFirewallRequest - Response:
Operation - REST mapping:
POST /v1/firewalls/{id}:attach
DetachFirewall
Section titled “DetachFirewall”- Request:
DetachFirewallRequest - Response:
Operation - REST mapping:
POST /v1/firewalls/{id}:detach
AllocateFloatingIp
Section titled “AllocateFloatingIp”Floating IPs
- Request:
AllocateFloatingIpRequest - Response:
Operation - REST mapping:
POST /v1/floating-ips
ListFloatingIps
Section titled “ListFloatingIps”- Request:
ListFloatingIpsRequest - Response:
ListFloatingIpsResponse - REST mapping:
GET /v1/floating-ips
GetFloatingIp
Section titled “GetFloatingIp”- Request:
GetFloatingIpRequest - Response:
FloatingIp - REST mapping:
GET /v1/floating-ips/{id}
AssociateFloatingIp
Section titled “AssociateFloatingIp”- Request:
AssociateFloatingIpRequest - Response:
Operation - REST mapping:
POST /v1/floating-ips/{id}:associate
DisassociateFloatingIp
Section titled “DisassociateFloatingIp”- Request:
DisassociateFloatingIpRequest - Response:
Operation - REST mapping:
POST /v1/floating-ips/{id}:disassociate
ReleaseFloatingIp
Section titled “ReleaseFloatingIp”- Request:
ReleaseFloatingIpRequest - Response:
Operation - REST mapping:
DELETE /v1/floating-ips/{id}
UpdateReverseDns
Section titled “UpdateReverseDns”- Request:
UpdateReverseDnsRequest - Response:
Operation - REST mapping:
POST /v1/floating-ips/{id}:reverse-dns
Messages
Section titled “Messages”AllocateFloatingIpRequest
Section titled “AllocateFloatingIpRequest”| Field | Type | # | Notes |
|---|---|---|---|
name | string | 1 | |
region | string | 2 | |
type | string | 3 | ipv4 | ipv6 (default ipv4) |
AssociateFloatingIpRequest
Section titled “AssociateFloatingIpRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | |
instance_id | string | 2 |
AttachFirewallRequest
Section titled “AttachFirewallRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | |
instance_id | string | 2 |
CreateFirewallRequest
Section titled “CreateFirewallRequest”| Field | Type | # | Notes |
|---|---|---|---|
name | string | 1 | |
description | string | 2 | |
rules | FirewallRule | 3 |
CreateSshKeyRequest
Section titled “CreateSshKeyRequest”CreateSshKeyRequest generates a new key pair server-side and returns the private key exactly once in CreateSshKeyResponse.
| Field | Type | # | Notes |
|---|---|---|---|
name | string | 1 | |
type | string | 2 | rsa | ed25519 (default ed25519) |
CreateSshKeyResponse
Section titled “CreateSshKeyResponse”| Field | Type | # | Notes |
|---|---|---|---|
key | SshKey | 1 | |
private_key | string | 2 | private_key is returned only for platform-generated keys, only once. |
DeleteFirewallRequest
Section titled “DeleteFirewallRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
DeleteSshKeyRequest
Section titled “DeleteSshKeyRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
DetachFirewallRequest
Section titled “DetachFirewallRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | |
instance_id | string | 2 |
DisassociateFloatingIpRequest
Section titled “DisassociateFloatingIpRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
Firewall
Section titled “Firewall”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | fw_… |
name | string | 2 | |
description | string | 3 | |
app | string | 4 | |
org | string | 5 | |
region | string | 6 | |
is_default | bool | 7 | |
rules | FirewallRule | 8 |
FloatingIp
Section titled “FloatingIp”---- Floating / Elastic IPs ----
| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | fip_… |
name | string | 2 | |
app | string | 3 | |
org | string | 4 | |
region | string | 5 | |
address | string | 6 | |
type | string | 7 | ipv4 | ipv6 |
attached_to | string | 8 | instance id, empty if unassociated |
reverse_dns | string | 9 |
GetFirewallRequest
Section titled “GetFirewallRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
GetFloatingIpRequest
Section titled “GetFloatingIpRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
GetSshKeyRequest
Section titled “GetSshKeyRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
ImportSshKeyRequest
Section titled “ImportSshKeyRequest”ImportSshKeyRequest registers an existing public key (no private key stored).
| Field | Type | # | Notes |
|---|---|---|---|
name | string | 1 | |
public_key | string | 2 |
ListFirewallsRequest
Section titled “ListFirewallsRequest”| Field | Type | # | Notes |
|---|---|---|---|
page | PageRequest | 1 |
ListFirewallsResponse
Section titled “ListFirewallsResponse”| Field | Type | # | Notes |
|---|---|---|---|
firewalls | Firewall | 1 | |
meta | ListMeta | 2 |
ListFloatingIpsRequest
Section titled “ListFloatingIpsRequest”| Field | Type | # | Notes |
|---|---|---|---|
page | PageRequest | 1 |
ListFloatingIpsResponse
Section titled “ListFloatingIpsResponse”| Field | Type | # | Notes |
|---|---|---|---|
ips | FloatingIp | 1 | |
meta | ListMeta | 2 |
ListSshKeysRequest
Section titled “ListSshKeysRequest”| Field | Type | # | Notes |
|---|---|---|---|
page | PageRequest | 1 |
ListSshKeysResponse
Section titled “ListSshKeysResponse”| Field | Type | # | Notes |
|---|---|---|---|
keys | SshKey | 1 | |
meta | ListMeta | 2 |
Operation
Section titled “Operation”Operation is returned by every mutating RPC. Clients poll GetOperation or subscribe to the SSE stream to observe progress.
| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | opaque, type-prefixed: op_… |
action | string | 2 | permission string, e.g. compute.instance.create |
resource_id | string | 3 | |
resource_type | string | 4 | e.g. compute.instance |
state | OperationState | 5 | |
message | string | 6 | |
progress | int32 | 7 | 0..100 |
app | string | 8 |
ReleaseFloatingIpRequest
Section titled “ReleaseFloatingIpRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 |
SshKey
Section titled “SshKey”---- SSH keys (Key Pairs) ----
| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | key_… |
name | string | 2 | |
app | string | 3 | |
org | string | 4 | |
public_key | string | 5 | |
fingerprint | string | 6 | |
type | string | 7 | rsa | ed25519 |
UpdateFirewallRulesRequest
Section titled “UpdateFirewallRulesRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | |
rules | FirewallRule | 2 |
UpdateReverseDnsRequest
Section titled “UpdateReverseDnsRequest”| Field | Type | # | Notes |
|---|---|---|---|
id | string | 1 | |
reverse_dns | string | 2 |