@@ -11,15 +11,24 @@ def __init__(self, config, transport=None, middleware=None, logger=None):
1111 def create_global_ssh_instance (self , req = None , ** kwargs ):
1212 """ CreateGlobalSSHInstance - 创建GlobalSSH实例
1313
14- :param ProjectId: (Config) 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
15- :param Area: (Required) 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”。Area和AreaCode两者必填一个
16- :param AreaCode: (Required) AreaCode, 区域航空港国际通用代码。Area和AreaCode两者必填一个
17- :param Port: (Required) SSH端口,1-65535且不能使用80,443端口
18- :param TargetIP: (Required) 被SSH访问的IP
19- :param ChargeType: (Optional) 支付方式,如按月、按年、按时
20- :param CouponId: (Optional) 使用代金券可冲抵部分费用
21- :param Quantity: (Optional) 购买数量
22- :param Remark: (Optional) 备注信息
14+ **Request**
15+
16+ - **ProjectId** (str) - (Config) 项目ID,如org-xxxx。请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html>`_
17+ - **Area** (str) - (Required) 填写支持SSH访问IP的地区名称,如“洛杉矶”,“新加坡”,“香港”,“东京”,“华盛顿”,“法兰克福”。Area和AreaCode两者必填一个
18+ - **AreaCode** (str) - (Required) AreaCode, 区域航空港国际通用代码。Area和AreaCode两者必填一个
19+ - **Port** (int) - (Required) SSH端口,1-65535且不能使用80,443端口
20+ - **TargetIP** (str) - (Required) 被SSH访问的IP
21+ - **ChargeType** (str) - 支付方式,如按月、按年、按时
22+ - **CouponId** (str) - 使用代金券可冲抵部分费用
23+ - **Quantity** (int) - 购买数量
24+ - **Remark** (str) - 备注信息
25+
26+ **Response**
27+
28+ - **InstanceId** (str) - 实例ID,资源唯一标识
29+ - **AcceleratingDomain** (str) - 加速域名,访问该域名可就近接入
30+ - **Message** (str) - 提示信息
31+
2332 """
2433 d = {"ProjectId" : self .config .project_id }
2534 req and d .update (req )
@@ -31,8 +40,15 @@ def create_global_ssh_instance(self, req=None, **kwargs):
3140 def delete_global_ssh_instance (self , req = None , ** kwargs ):
3241 """ DeleteGlobalSSHInstance - 删除GlobalSSH实例
3342
34- :param ProjectId: (Config) 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
35- :param InstanceId: (Required) 实例Id,资源的唯一标识
43+ **Request**
44+
45+ - **ProjectId** (str) - (Config) 项目ID,如org-xxxx。请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html>`_
46+ - **InstanceId** (str) - (Required) 实例Id,资源的唯一标识
47+
48+ **Response**
49+
50+ - **Message** (str) - 提示信息
51+
3652 """
3753 d = {"ProjectId" : self .config .project_id }
3854 req and d .update (req )
@@ -43,8 +59,24 @@ def delete_global_ssh_instance(self, req=None, **kwargs):
4359 def describe_global_ssh_area (self , req = None , ** kwargs ):
4460 """ DescribeGlobalSSHArea - 获取GlobalSSH覆盖的地区列表 用于控制显示哪些机房地域可以使用SSH特性
4561
46- :param ProjectId: (Config) 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
47- :param Region: (Config) 机房地域代号,如hk、 us-ca、 us-ws等。不填默认为空,返回所有支持地区。
62+ **Request**
63+
64+ - **ProjectId** (str) - (Config) 项目ID,如org-xxxx。请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html>`_
65+ - **Region** (str) - (Config) 机房地域代号,如hk、 us-ca、 us-ws等。不填默认为空,返回所有支持地区。
66+
67+ **Response**
68+
69+ - **AreaSet** (list) - 见 **GlobalSSHArea** 模型定义
70+ - **Message** (str) - 提示信息
71+
72+ **Response Model**
73+
74+ **GlobalSSHArea**
75+
76+ - **AreaCode** (str) - 地区代号,以地区AirPort Code
77+ - **RegionSet** (list) - ucloud机房代号构成的数组,如["hk","us-ca"]
78+ - **Area** (str) - GlobalSSH覆盖的地区,如香港、东京、洛杉矶等
79+
4880 """
4981 d = {"ProjectId" : self .config .project_id , "Region" : self .config .region }
5082 req and d .update (req )
@@ -55,8 +87,29 @@ def describe_global_ssh_area(self, req=None, **kwargs):
5587 def describe_global_ssh_instance (self , req = None , ** kwargs ):
5688 """ DescribeGlobalSSHInstance - 获取GlobalSSH实例列表(传实例ID获取单个实例信息,不传获取项目下全部实例)
5789
58- :param ProjectId: (Config) 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
59- :param InstanceId: (Optional) 实例ID,资源唯一标识
90+ **Request**
91+
92+ - **ProjectId** (str) - (Config) 项目ID,如org-xxxx。请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html>`_
93+ - **InstanceId** (str) - 实例ID,资源唯一标识
94+
95+ **Response**
96+
97+ - **InstanceSet** (list) - 见 **GlobalSSHInfo** 模型定义
98+
99+ **Response Model**
100+
101+ **GlobalSSHInfo**
102+
103+ - **TargetIP** (str) - 被SSH访问的EIP
104+ - **Port** (int) - SSH登陆端口
105+ - **ChargeType** (str) - 支付周期,如Month,Year等
106+ - **AcceleratingDomain** (str) - 加速域名
107+ - **Area** (str) - 被SSH访问的IP所在地区
108+ - **Remark** (str) - 备注信息
109+ - **CreateTime** (int) - 资源创建时间戳
110+ - **ExpireTime** (int) - 资源过期时间戳
111+ - **InstanceId** (str) - 实例ID,资源唯一标识
112+
60113 """
61114 d = {"ProjectId" : self .config .project_id }
62115 req and d .update (req )
@@ -67,9 +120,16 @@ def describe_global_ssh_instance(self, req=None, **kwargs):
67120 def modify_global_ssh_port (self , req = None , ** kwargs ):
68121 """ ModifyGlobalSSHPort - 修改GlobalSSH端口
69122
70- :param ProjectId: (Config) 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
71- :param InstanceId: (Required) 实例ID,资源唯一标识
72- :param Port: (Required) 调整后的SSH登陆端口
123+ **Request**
124+
125+ - **ProjectId** (str) - (Config) 项目ID,如org-xxxx。请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html>`_
126+ - **InstanceId** (str) - (Required) 实例ID,资源唯一标识
127+ - **Port** (int) - (Required) 调整后的SSH登陆端口
128+
129+ **Response**
130+
131+ - **Message** (str) - 提示信息
132+
73133 """
74134 d = {"ProjectId" : self .config .project_id }
75135 req and d .update (req )
@@ -80,9 +140,16 @@ def modify_global_ssh_port(self, req=None, **kwargs):
80140 def modify_global_ssh_remark (self , req = None , ** kwargs ):
81141 """ ModifyGlobalSSHRemark - 修改GlobalSSH备注
82142
83- :param ProjectId: (Config) 项目ID,如org-xxxx。请参考[GetProjectList接口](../summary/get_project_list.html)
84- :param InstanceId: (Required) 实例ID,资源唯一标识
85- :param Remark: (Optional) 备注信息,不填默认为空字符串
143+ **Request**
144+
145+ - **ProjectId** (str) - (Config) 项目ID,如org-xxxx。请参考 `GetProjectList接口 <https://docs.ucloud.cn/api/summary/get_project_list.html>`_
146+ - **InstanceId** (str) - (Required) 实例ID,资源唯一标识
147+ - **Remark** (str) - 备注信息,不填默认为空字符串
148+
149+ **Response**
150+
151+ - **Message** (str) - 接口返回消息
152+
86153 """
87154 d = {"ProjectId" : self .config .project_id }
88155 req and d .update (req )
0 commit comments