(create-instance client
{:keys [image-id instance-type security-group-id vswitch-id
name hostname internet-charge-type
internet-max-bandwidth-in internet-max-bandwidth-out
tags]
:or {internet-charge-type (:traffic internet-charge)
internet-max-bandwidth-in 200
internet-max-bandwidth-out 0}})
Create an ecs instance and return instance-id
Create an ecs instance and return instance-id
(delete-instance client instance-id)
Delete an instance
Delete an instance
(describe-instance client instance-id)
Describe a single instance
Describe a single instance
(describe-instance-attribute client instance-id)
Describe instances attribute
Describe instances attribute
(describe-instances client & [{:keys [page page-size]}])
Describe instances
Describe instances
(rename-instance client instance-id instance-name)
Set name of an instance
Set name of an instance
(set-instance-hostname client instance-id hostname)
Set hostname of an instance
Set hostname of an instance
(start-instance client instance-id)
Start a created instance
Start a created instance
(stop-instance client instance-id)
Stop a running instance
Stop a running instance
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close