Updated provisioning API to cater different connectivity type.