Update client.py and endpoint.py to enable Mooncake (China Azure) support for Purview cli.
The main change is to add a set_region() function to handle different endpoint configuration for Public Azure and Mooncake
To make purviewcli work with Mooncake Purview, user needs to set os.environ["AZURE_REGION"]="China". Without the setting, purviewcli will work with public azure Purview to maintain existing user's backward compatibility.
Update client.py and endpoint.py to enable Mooncake (China Azure) support for Purview cli. The main change is to add a set_region() function to handle different endpoint configuration for Public Azure and Mooncake To make purviewcli work with Mooncake Purview, user needs to set os.environ["AZURE_REGION"]="China". Without the setting, purviewcli will work with public azure Purview to maintain existing user's backward compatibility.