If it use a private ip address, then information about the vnet and the subnet are mandatory.
Important: Vnet and subnet has to be created before launching the Container agent and the subnet delegation must be enabled (See also Azure documentation about subnet delegation ).