Description
Assigns a MAC address and other properties to an IPv4 address.
Parameters
Name | Description |
---|---|
action |
Location: query Type: string This parameter must be set to one of the constants shown in IP assignment action values. |
configurationId |
Location: query Type: integer (int64) The object ID of the configuration in which the IPv4 address is located. |
hostInfo |
Location: query Type: string A string containing host information for the address in the following format:hostname,viewId,reverseFlag,sameAsZoneFlag[, hostname,viewId,reverseFlag,sameAsZoneFlag,...]Where:
The comma-separated parameters may be repeated in the order shown above. The string must not end with a comma. |
ip4Address |
Location: query Type: string The IPv4 address. |
macAddress |
Location: query Type: string The MAC address to assign to the IPv4 address. The MAC address can be specified in the format nnnnnnnnnnnn, nn-nn-nn-nn-nn-nn or nn:nn:nn:nn:nn:nn, where nn is a hexadecimal value. |
properties |
Location: query Type: string A string containing the following property, including user-defined fields:
|
Responses
Code | Description |
---|---|
201 |
Type: integer (int64) Returns the object ID for the newly assigned IPv4 address. |