We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 3.6 使用 import acm
ENDPOINT = "acm.aliyun.com:8080" NAMESPACE = "base-dev" AK = "××××××××××" SK = "×××××××××××××××××"
client = acm.ACMClient(ENDPOINT, NAMESPACE, AK, SK) data_id = "cn.jfhealthcare.devops:opssampler.ini" group = "DEFAULT_GROUP"
#import time #client.add_watcher(data_id, group, lambda x:print("config change detected: " + x)) #time.sleep(5) # wait for config changes
if(name=='main'): print(client.get(data_id, group)) #client.list_all()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
python 3.6 使用
import acm
ENDPOINT = "acm.aliyun.com:8080"
NAMESPACE = "base-dev"
AK = "××××××××××"
SK = "×××××××××××××××××"
get config
client = acm.ACMClient(ENDPOINT, NAMESPACE, AK, SK)
data_id = "cn.jfhealthcare.devops:opssampler.ini"
group = "DEFAULT_GROUP"
add watch
#import time
#client.add_watcher(data_id, group, lambda x:print("config change detected: " + x))
#time.sleep(5) # wait for config changes
if(name=='main'):
print(client.get(data_id, group))
#client.list_all()
The text was updated successfully, but these errors were encountered: