Network functionality.
This resource represents a method in which to create a new virtual network.
Resource URI:
/rest/hosting/network/
Create a new virtual network by submitting an HTTP PUT request.
Note
This resource requires create permission on the elastic_hosting extension module.
| Parameters: |
|
|---|---|
| Return type: |
This resource represents a specific virtual network.
Resource URI:
/rest/hosting/network/<UUID>/
Retrieve the specified virtual network by submitting an HTTP GET request. The UUID in the resource URI should be the UUID of the target virtual network.
Note
This resource requires read permission on the elastic_hosting extension module.
| Return type: | network.RepNetworkUUID |
|---|
Update the specified virtual network by submitting an HTTP POST request. The UUID in the resource URI should be the UUID of the target virtual network.
Note
This resource requires read permission on the elastic_hosting extension module.
| Parameters: |
|
|---|---|
| Return type: |
This resource represents a list of virtual networks.
Resource URI:
/rest/hosting/network/list/
Retrieve a list of virtual networks.
Note
This resource requires read permission on the elastic_hosting extension module.
| Return type: | RepNetworkList |
|---|
This is a representation of a newly created virtual network.
This attribute represents the general error number generated by the resource.
Representation:
{"errno": response.errno,
"message": response.message,
"network": network_obj}
This is a representation of a specific virtual network.
This attribute represents the general error number generated by the resource.
Representation:
{"errno": response.errno,
"message": response.message,
"network":{"uuid": network.uuid,
"name": network.name,
"vlan_id": network.vlan_id}}
This is a representation of a list of virtual networks.
Representation:
{"errno": response.errno,
"message": response.message,
"networks": [network_obj1, network_obj2]}