Add Ip Pool To Network Of Network Pool

Add Ip Pool To Network Of Network Pool

Add an IP Pool to a Network of a Network Pool

Request
URI
POST
https://sfo-vcf01.rainpole.io//v1/network-pools/{id}/networks/{networkId}/ip-pools
COPY
Path Parameters
string
id
Required

Id of the networkpoolk

string
networkId
Required

Id of the network


Request Body
IpPool of type(s) application/json
Optional
{
    "end": "string",
    "start": "string"
}
string
end
Optional

End IP address of the IP pool

string
start
Optional

Start IP address of the IP pool

Responses
200

Add the IP Pool associated with a Network of a Network Pool

Returns Network of type(s) application/json
{
    "freeIps": [
        "string"
    ],
    "gateway": "string",
    "id": "string",
    "ipPools": [
        {
            "end": "string",
            "start": "string"
        }
    ],
    "mask": "string",
    "mtu": 0,
    "subnet": "string",
    "type": "string",
    "usedIps": [
        "string"
    ],
    "vlanId": 0
}
array of string
freeIps
Optional

List of free IPs to use

string
gateway
Optional

Gateway for the network

string
id
Optional

The ID of the network

array of IpPool
ipPools
Optional

List of IP pool ranges to use

string
mask
Optional

Subnet mask for the subnet of the network

integer As int32 As int32
mtu
Optional

MTU of the network

string
subnet
Optional

Subnet associated with the network

string
type
Optional

Network Type of the network

array of string
usedIps
Optional

List of used IPs

integer As int32 As int32
vlanId
Optional

VLAN ID associated with the network


400

IP range validation failed error

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


404

Either Network Pool ID or Network ID not found

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


500

Unexpected error

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message