File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
kscore/data/vpc/2016-03-04 Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ # -*- encoding:utf-8 -*-
2
+
3
+ from kscore .session import get_session
4
+
5
+ if __name__ == "__main__" :
6
+ s = get_session ()
7
+
8
+ client = s .create_client ("kec" , "cn-shanghai-2" , use_ssl = True )
9
+
10
+ print client .describe_instances ()
11
+ client .create_image (InstanceId = 'ce09c927-12f1-44bc-8a73-30d0b2d275a5' ,Name = 'tm-04-25' )
12
+ # client.create_user(UserName="test22", RealName=u"刘一辰")
13
+
14
+ # client.update_user(UserName="test22",)
15
+
16
+ # client.delete_user(UserName="test22")
Original file line number Diff line number Diff line change @@ -153,6 +153,10 @@ operations:
153
153
name : DisassociateNat
154
154
http :
155
155
method : GET
156
+ DescribeAvailabilityZones :
157
+ name : DescribeAvailabilityZones
158
+ http :
159
+ method : GET
156
160
157
161
shapes :
158
162
Id :
You can’t perform that action at this time.
0 commit comments