ali-cloudmonitor
Aliyun cloudmonitor sdk for node.js
Install
$ npm i ali-cloudmonitor --save
Usage
const AliCloudmonitor = const aliCloudmonitor = accessKeyId: 'xxx' accessKeySecret: 'xxx' // internal: false, // 默认false,如果是true,走阿里云内网服务地址。参考:https://help.aliyun.com/document_detail/60196.html // region: 'cn-hangzhou', // 如果internal是true,需要设置此项。region列表参考:https://help.aliyun.com/document_detail/60196.html // https://help.aliyun.com/document_detail/63275.htmlaliCloudmonitor // https://help.aliyun.com/document_detail/60196.htmlaliCloudmonitor
Test
$ npm test