Find a zone that is supported by Function Compute and create a vSwitch in this zone. Then, set this vSwitch in the virtual private cloud (VPC) configuration of the corresponding service in Function Compute. After the configuration is complete, your function can access VPC resources. By default, vSwitches in different zones within a VPC can communicate with each other. For more information, see Create a VPC.