Static Ip config for a cellular device

I’m trying to configure an MTS Dragonfly to use a static ip address.
Here’s what the code looks like =>

int ntwk = NSAPI_ERROR_OK;
uint8_t ip[4] = {10, 108, 100, 90};
uint8_t subnet[4] = {255, 255, 0, 0};
uint8_t gateway[4] = {0, 0, 0, 0};

SocketAddress STATIC_IP_ADDR(ip, NSAPI_IPv4);
SocketAddress NETMASK_ADDR(subnet, NSAPI_IPv4);
SocketAddress GATEWAY_ADDR(gateway, NSAPI_IPv4);


NetworkInterface network = NetworkInterface::get_default_instance();
ntwk = network->set_network((const SocketAddress&)STATIC_IP_ADDR, (const 
                                                                       SocketAddress&)NETMASK_ADDR, (const 
                                                                       SocketAddress&)GATEWAY_ADDR);

set_network() returns NSAPI_ERROR_UNSUPPORTED.

How do I configure a static address?