file-storage

Create network

Creates a new service network by given {service_uuid}.

post/1.3/file-storage/{service-uuid}/networks

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/file-storage/{service-uuid}/networks
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier.

Example:17fd43a5-a97e-44f7-98a8-0a787da67069

Service UUID

Request body

uuidstring uuid required

Unique identifier for the network.

namestring required

A resource name.

family'IPv4' | 'IPv6' required

Network family. IPv6 currently not supported.

ip_addressstring ipv4

The desired IP address for the service. If not specified, the service will be assigned an IP address from the network's pool.

Example request

{
  "uuid": "03720d07-80a9-41ac-90b0-68a932109339",
  "name": "test-name",
  "family": "IPv4",
  "ip_address": "10.20.30.40"
}

Response

Success

familystring
ip_addressstring
namestring
uuidstring

Example response

{
  "family": "IPv4",
  "ip_address": "192.168.147.250",
  "name": "test-name",
  "uuid": "03720d07-80a9-41ac-90b0-68a932109339"
}

Changes

No recorded changes to this operation across all 1 revision of this API.