Skip to content

Commit fa16c04

Browse files
committed
Merge branch 'master' of github.com:lixiaojun629/ucloud-cli
2 parents 8d41054 + 4ccd4c7 commit fa16c04

165 files changed

Lines changed: 9003 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/_static/logo.png

15.7 KB
Loading

docs/reference/ucloud.rst

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
.. _ucloud:
2+
3+
ucloud
4+
------
5+
6+
UCloud CLI v0.1.14
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
UCloud CLI - manage UCloud resources and developer workflow
13+
14+
::
15+
16+
ucloud [flags]
17+
18+
Options
19+
~~~~~~~
20+
21+
::
22+
23+
--completion Turn on auto completion according to the prompt
24+
25+
--config Display configuration
26+
27+
--debug, -d Running in debug mode
28+
29+
--help, -h help for ucloud
30+
31+
--json, -j Print result in JSON format whenever possible
32+
33+
--signup Launch UCloud sign up page in browser
34+
35+
--version, -v Display version
36+
37+
38+
Available Commands
39+
~~~~~~~~
40+
41+
* :ref:`ucloud bw <ucloud_bw>` - Manipulate bandwidth package and shared bandwidth
42+
* :ref:`ucloud config <ucloud_config>` - Configure UCloud CLI options
43+
* :ref:`ucloud doc <ucloud_doc>` - Generate documents for all commands
44+
* :ref:`ucloud eip <ucloud_eip>` - List,allocate and release EIP
45+
* :ref:`ucloud firewall <ucloud_firewall>` - List and manipulate extranet firewall
46+
* :ref:`ucloud gssh <ucloud_gssh>` - Create,list,update and delete globalssh instance
47+
* :ref:`ucloud image <ucloud_image>` - List and manipulate images
48+
* :ref:`ucloud init <ucloud_init>` - Initialize UCloud CLI options
49+
* :ref:`ucloud memcache <ucloud_memcache>` - List and manipulate memcache instances
50+
* :ref:`ucloud mysql <ucloud_mysql>` - Manipulate MySQL on UCloud platform
51+
* :ref:`ucloud project <ucloud_project>` - List,create,update and delete project
52+
* :ref:`ucloud redis <ucloud_redis>` - List and manipulate redis instances
53+
* :ref:`ucloud region <ucloud_region>` - List all region and zone
54+
* :ref:`ucloud subnet <ucloud_subnet>` - List, create and delete subnet
55+
* :ref:`ucloud udisk <ucloud_udisk>` - Read and manipulate udisk instances
56+
* :ref:`ucloud udpn <ucloud_udpn>` - List and manipulate udpn instances
57+
* :ref:`ucloud uhost <ucloud_uhost>` - List,create,delete,stop,restart,poweroff or resize UHost instance
58+
* :ref:`ucloud ulb <ucloud_ulb>` - List and manipulate ULB instances
59+
* :ref:`ucloud uphost <ucloud_uphost>` - List UPHost instances
60+
* :ref:`ucloud vpc <ucloud_vpc>` - List and manipulate VPC instances
61+

docs/reference/ucloud_bw.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
.. _ucloud_bw:
2+
3+
ucloud bw
4+
---------
5+
6+
Manipulate bandwidth package and shared bandwidth
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
Manipulate bandwidth package and shared bandwidth
13+
14+
Options
15+
~~~~~~~
16+
17+
::
18+
19+
--help, -h help for bw
20+
21+
22+
Options inherited from parent commands
23+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24+
25+
::
26+
27+
--debug, -d Running in debug mode
28+
29+
--json, -j Print result in JSON format whenever possible
30+
31+
32+
Available Commands
33+
~~~~~~~~
34+
35+
* :ref:`ucloud <ucloud>` - UCloud CLI v0.1.14
36+
* :ref:`ucloud bw pkg <ucloud_bw_pkg>` - List, create and delete bandwidth package instances
37+
* :ref:`ucloud bw shared <ucloud_bw_shared>` - Create and manipulate shared bandwidth instances
38+

docs/reference/ucloud_bw_pkg.rst

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.. _ucloud_bw_pkg:
2+
3+
ucloud bw pkg
4+
-------------
5+
6+
List, create and delete bandwidth package instances
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
List, create and delete bandwidth package instances
13+
14+
Options
15+
~~~~~~~
16+
17+
::
18+
19+
--help, -h help for pkg
20+
21+
22+
Options inherited from parent commands
23+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24+
25+
::
26+
27+
--debug, -d Running in debug mode
28+
29+
--json, -j Print result in JSON format whenever possible
30+
31+
32+
Available Commands
33+
~~~~~~~~
34+
35+
* :ref:`ucloud bw <ucloud_bw>` - Manipulate bandwidth package and shared bandwidth
36+
* :ref:`ucloud bw pkg create <ucloud_bw_pkg_create>` - Create bandwidth package
37+
* :ref:`ucloud bw pkg delete <ucloud_bw_pkg_delete>` - Delete bandwidth packages
38+
* :ref:`ucloud bw pkg list <ucloud_bw_pkg_list>` - List bandwidth packages
39+
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
.. _ucloud_bw_pkg_create:
2+
3+
ucloud bw pkg create
4+
--------------------
5+
6+
Create bandwidth package
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
Create bandwidth package
13+
14+
::
15+
16+
ucloud bw pkg create [flags]
17+
18+
Examples
19+
~~~~~~~~
20+
21+
::
22+
23+
ucloud bw pkg create --eip-id eip-xxx --bandwidth-mb 20 --start-time 2018-12-15/09:20:00 --end-time 2018-12-16/09:20:00
24+
25+
Options
26+
~~~~~~~
27+
28+
::
29+
30+
--eip-id strings Required. Resource ID of eip to be bound with created bandwidth package
31+
32+
--start-time string Required. The time to enable bandwidth package. Local time, for
33+
example '2018-12-25/08:30:00'
34+
35+
--end-time string Required. The time to disable bandwidth package. Local time, for
36+
example '2018-12-26/08:30:00'
37+
38+
--bandwidth-mb int Required. bandwidth of the bandwidth package to create.Range
39+
[1,800]. Unit:'Mb'.
40+
41+
--region string Optional. Region, see 'ucloud region' (default "cn-bj2")
42+
43+
--project-id string Optional. Project-id, see 'ucloud project list' (default "org-ryrmms")
44+
45+
--help, -h help for create
46+
47+
48+
Options inherited from parent commands
49+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50+
51+
::
52+
53+
--debug, -d Running in debug mode
54+
55+
--json, -j Print result in JSON format whenever possible
56+
57+
58+
Available Commands
59+
~~~~~~~~
60+
61+
* :ref:`ucloud bw pkg <ucloud_bw_pkg>` - List, create and delete bandwidth package instances
62+
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
.. _ucloud_bw_pkg_delete:
2+
3+
ucloud bw pkg delete
4+
--------------------
5+
6+
Delete bandwidth packages
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
Delete bandwidth packages
13+
14+
::
15+
16+
ucloud bw pkg delete [flags]
17+
18+
Examples
19+
~~~~~~~~
20+
21+
::
22+
23+
ucloud bw pkg delete --resource-id bwpack-xxx
24+
25+
Options
26+
~~~~~~~
27+
28+
::
29+
30+
--resource-id strings Required, Resource ID of bandwidth package to delete
31+
32+
--region string Optional. Region, see 'ucloud region' (default "cn-bj2")
33+
34+
--project-id string Optional. Project-id, see 'ucloud project list' (default
35+
"org-ryrmms")
36+
37+
--help, -h help for delete
38+
39+
40+
Options inherited from parent commands
41+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
42+
43+
::
44+
45+
--debug, -d Running in debug mode
46+
47+
--json, -j Print result in JSON format whenever possible
48+
49+
50+
Available Commands
51+
~~~~~~~~
52+
53+
* :ref:`ucloud bw pkg <ucloud_bw_pkg>` - List, create and delete bandwidth package instances
54+
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
.. _ucloud_bw_pkg_list:
2+
3+
ucloud bw pkg list
4+
------------------
5+
6+
List bandwidth packages
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
List bandwidth packages
13+
14+
::
15+
16+
ucloud bw pkg list [flags]
17+
18+
Options
19+
~~~~~~~
20+
21+
::
22+
23+
--region string Optional. Region, see 'ucloud region' (default "cn-bj2")
24+
25+
--project-id string Optional. Project-id, see 'ucloud project list' (default "org-ryrmms")
26+
27+
--offset int Optional. Offset
28+
29+
--limit int Optional. Limit range [0,10000000] (default 50)
30+
31+
--help, -h help for list
32+
33+
34+
Options inherited from parent commands
35+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36+
37+
::
38+
39+
--debug, -d Running in debug mode
40+
41+
--json, -j Print result in JSON format whenever possible
42+
43+
44+
Available Commands
45+
~~~~~~~~
46+
47+
* :ref:`ucloud bw pkg <ucloud_bw_pkg>` - List, create and delete bandwidth package instances
48+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _ucloud_bw_shared:
2+
3+
ucloud bw shared
4+
----------------
5+
6+
Create and manipulate shared bandwidth instances
7+
8+
Synopsis
9+
~~~~~~~~
10+
11+
12+
Create and manipulate shared bandwidth instances
13+
14+
Options
15+
~~~~~~~
16+
17+
::
18+
19+
--help, -h help for shared
20+
21+
22+
Options inherited from parent commands
23+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
24+
25+
::
26+
27+
--debug, -d Running in debug mode
28+
29+
--json, -j Print result in JSON format whenever possible
30+
31+
32+
Available Commands
33+
~~~~~~~~
34+
35+
* :ref:`ucloud bw <ucloud_bw>` - Manipulate bandwidth package and shared bandwidth
36+
* :ref:`ucloud bw shared create <ucloud_bw_shared_create>` - Create shared bandwidth instance
37+
* :ref:`ucloud bw shared delete <ucloud_bw_shared_delete>` - Delete shared bandwidth instance
38+
* :ref:`ucloud bw shared list <ucloud_bw_shared_list>` - List shared bandwidth instances
39+
* :ref:`ucloud bw shared resize <ucloud_bw_shared_resize>` - Resize shared bandwidth instance's bandwidth
40+

0 commit comments

Comments
 (0)