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 specify purviewcli to work with Mooncake Purview, user needs to set os.environ["AZURE_REGION"]="China". Without the setting, purviewcli will work with public azure Purview.
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 specify purviewcli to work with Mooncake Purview, user needs to set os.environ["AZURE_REGION"]="China". Without the setting, purviewcli will work with public azure Purview.
Thanks, Mo Lin