API risccht com tw 1 API API Name
- Slides: 46
API使用说明 游志诚 risc@cht. com. tw 1
提供使用之API指令 分类 API Name run. Instances 云服务器 terminate. Instances reboot. Instances start. Instances stop. Instances describe. Instances modify. Instance. Attribute Description 建立云服务器 (可指定 Clone From Template 或是云服务器服务标识号 Clone From VM) 删除云服务器 重启云服务器 启动云服务器 停止云服务器 查询云服务器列表 云服务器升降级 (含 CPU or RAM or Cloud Watch的异动) Cloud. Watch get. Instances. Stats 取得VM的各项监控项目的最新一笔数据 describe. Load. Balancer. Policies create. Load. Balancer. Policy Load. Balancer replace. Load. Balancer. Policy delete. Load. Balancer. Policy 查询负载均衡规则信息列表 建立负载均衡规则 修改负载均衡规则 删除负载均衡规则 7
使用REST Client呼叫API 使用 具 ü Firefox with RESTClient plug-in (或是其他REST Client) ü Json. View 8
计算Signature(1/2) 详细计算方式请参考 http: //hws. hicloud. hinet. net/hwsdoc/rest/tutorial/howto-gen-signature. html 本次课程采REST服务产生(仅限本次课程) 呼叫网址 http: //hws. hicloud. hinet. net/cloud_hws/api/ hws. Demo/generate. Api. Key. Signature? cht. Aut h. Type=demopass&hn. No=${hn. No} (hn. No由 账号信息取得) 在body输入欲呼叫指令 (expires不用输入) 使用POST 10
执行API指令 REST服務提供網址 https: //hws. hicloud. hinet. net/cloud_hws/api /hws/? +${result. Query} 指令执行结果 12
申租云服务器(1/3) 对应指令run. Instances 使用标准云服务器template 参数 image. Id: 云服务器模板编号 e. g. hi-qe 4 ug 9 ev instance. Type: 运算规格 e. g. HC 1. XS. LINUX monitoring. Enabled instance. Name 复制指定云服务器 参数 vm id 14
云服务器操作 开机: start. Instances 参数: business. Service. Id (可为复数) 关机: stop. Instances 参数: business. Service. Id (可为复数) 重开机: reboot. Instances 参数: business. Service. Id (可为复数) 19
云服务器重开机(1/3) reboot云服务器 BV 550100050001 24
云服务器监控(1/3) 相关指令: get. Instances. Stats 参数: business. Service. Id (可为复数) 查询云服务器BV 550100050001监控 资料 30
申租负载均衡服务(1/3) 相关指令: create. Load. Balancer. Policy business. Service. Id port 针对两部云服 务器设定 80 port 的SLB 35
异动负载均衡(1/3) 相关指令: replace. Load. Balancer. Policy 参数 business. Service. Id: 负载均衡服务标识号 instance. Business. Service. Id: 云服务器服务标识 号 port 异动负载均衡服务BL 550100050001为 81 port并 更换一组RIP 39
退租负载均衡服务(1/2) 相关指令: delete. Load. Balancer. Policy 参数: business. Service. Id (可为复数) 退租负载均衡服务 BL 550100050001 42
云服务器退租(1/2) 相关指令: terminate. Instances 参数: business. Service. Id (可为复数) 退租云服务器 BV 550100050001 44
- Dậy thổi cơm mua thịt cá
- Cơm
- Name all rays
- Authors last name first name initial
- Name above every other name
- 6 equal sides
- Public class person private string name
- Hello good morning what's your name jenny
- Name of presentation company name
- Name of presentation company name
- Name class date
- Name
- How old is she
- Name class subject design
- Student id name department name
- Git config --global user.name "your name"
- Lecturer's name
- Inception desk
- Name class teacher date
- First name last name tpu
- Jordan stock name
- Geotools api
- Kronos api example
- Mobile broadband api
- Rel lantak adalah
- Nettskjema api
- Knime api call
- Api in unix
- Us bank open api
- Pear http_request
- Digium phone api
- Global netflix api xml
- Openclinica web service
- Organigramma gruppo api
- Whizard api
- Bramka sms api
- Allscripts api examples
- Smart card api
- Fungsi penyambung rel
- Api lesneven
- Lambang roh kudus jari
- Piping plans
- Rad studio nedir
- Google visualization api query language
- Nprinting api
- Dapnet api
- Schede didattiche sulle api scuola primaria