UpCloud

Object Storage Networks

Configure private network access for your Managed Object Storage services. Private networks allow secure access to your object storage from within your UpCloud infrastructure.


GET/1.3/object-storage-2/{service_uuid}/networks

List networks

Returns a list of networks attached to the object storage service.

Request

GET
/1.3/object-storage-2/{service_uuid}/networks
curl -X GET https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/networks \
  -u your_username:your_password

GET/1.3/object-storage-2/{service_uuid}/networks/{network_name}

Get network details

Returns network details by given {service_uuid} and {network_name}.

Request

GET
/1.3/object-storage-2/{service_uuid}/networks/{network_name}
curl -X GET https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/networks/my-private-network \
  -u your_username:your_password

POST/1.3/object-storage-2/{service_uuid}/networks

Create network

Attaches a private network to the object storage service.

Attributes

  • Name
    name
    Type
    string
    Description

    The name for this network attachment.

  • Name
    type
    Type
    string
    Description

    Network type. Currently only private is supported.

  • Name
    family
    Type
    string
    Description

    IP address family: IPv4.

  • Name
    uuid
    Type
    string
    Description

    The UUID of the SDN private network to attach.

Request

POST
/1.3/object-storage-2/{service_uuid}/networks
curl -X POST https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/networks \
  -u your_username:your_password \
  -H "Content-Type: application/json" \
  -d '{
    "name": "my-private-network",
    "type": "private",
    "family": "IPv4",
    "uuid": "03dfe442-d92e-4b91-9f17-9d6232d1a1e8"
  }'

DELETE/1.3/object-storage-2/{service_uuid}/networks/{network_name}

Delete network

Detaches a private network from the object storage service.

Request

DELETE
/1.3/object-storage-2/{service_uuid}/networks/{network_name}
curl -X DELETE https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/networks/my-private-network \
  -u your_username:your_password