pem.createIPPool

This method is supported by Operations starting from version 2.6.3.

This method creates IP Pool.

The method has the following input parameters:

Name

Type

Short Description

name

string

Name of the new IP Pool

startIP

string

IPv4 initial IP address

endIP

string

IPv4 final IP address

netmask

string

IPv4 netmask

[sharing]

string

Availability of the IP addresses from this IP Pool for. The possible values are the following:

  • 'c' – Customers only
  • 'o' – Owner only
  • 'n' – Specified Customers
  • 'a' – Everyone

If this parameter is not specified, then the IP Pool is available for everyone.

The method has the following output parameters:

Name

Type

Short Description

pool_id

int

ID of the created IP Pool