twccli ch¶
ch¶
Change your TWCC resources.
ch [OPTIONS] COMMAND [ARGS]...
ccs¶
‘Change’ details of your CCS (Container Computer Service) containers.
ch ccs [OPTIONS] [SITE_IDS_OR_NAMES]...
Options
- -s, --site-id <name>¶
ID of the instance.
- -d, --site-desc <desc>¶
Description of the instance.
- -keep, --keep, -nokeep, --nokeep¶
Termination protection of the instance.
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
Arguments
- SITE_IDS_OR_NAMES¶
Optional argument(s)
cos¶
Update permission of your objects.
ch cos [OPTIONS]
Options
- -ver, --enable-versioning, -nover, --disable-versioning¶
Enabled or Disabled versioning for a bucket.
- -mime, --set-content-type <mime>¶
Set content type for object.
- -pub, --set-public, -nopub, --unset-public¶
Set object to public or private.
- -okey, --object-key-name <okey>¶
Name of specific object key. Regular Expression compatible.
- -bkt, --bucket-name <name>¶
Name of the Bucket.
eip¶
Update desc of your IP.
ch eip [OPTIONS] [IDS_OR_NAMES]...
Options
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
- -d, --IP-description <desc>¶
Description of the IP.
- -id, --private-net-id <ip_id>¶
Index of the IP.
Arguments
- IDS_OR_NAMES¶
Optional argument(s)
secg¶
Update desc of your security group or security group to your instance.
ch secg [OPTIONS] [IDS_OR_NAMES]...
Options
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
- -type, --instance-type <type>¶
Tyep of your instance.
- Options:
vcs
- -act, --action <action>¶
The change action.
- Options:
desc | add | remove
- -iid, --instance-id <iid>¶
ID(s) of the instance.
- -id, --security-group-id <secg_id>¶
Required Index of the security group.
- -d, --secg-description <desc>¶
Description of the security group.
Arguments
- IDS_OR_NAMES¶
Optional argument(s)
vcs¶
‘Change’ details of your VCS (Virtual Compute Service) instances.
ch vcs [OPTIONS] [SITE_IDS_OR_NAMES]...
Options
- -d, --site-desc <desc>¶
Description of the instance.
- -s, --site-id <name>¶
ID of the instance.
- -keep, --keep, -nokeep, --nokeep¶
Termination protection of the instance.
- -sts, --vcs-status <vcs_status>¶
Status of the instance.
- Options:
Ready | Stop | Reboot
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
- -wait, --wait¶
Wait until your instance to be provisioned.
Arguments
- SITE_IDS_OR_NAMES¶
Optional argument(s)
vcsi¶
‘Change’ details of your system (bootable) images.
ch vcsi [OPTIONS] [SITE_IDS_OR_NAMES]...
Options
- -d, --vcsi-desc <desc>¶
Description of the instance.
- -id, --vcsi-id <vcsi_id>¶
ID of the instance.
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
Arguments
- SITE_IDS_OR_NAMES¶
Optional argument(s)
vds¶
Update status of your VDS (Virtual Disk Service).
ch vds [OPTIONS] [IDS_OR_NAMES]...
Options
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
- -wait, --wait¶
Wait until your instance to be provisioned.
- -sts, --disk-status <vol_status>¶
Status of the disk.
- Options:
attach | detach | extend
- -sz, --disk-size <vol_size>¶
Extend size of the disk. Must be greater than current size
- -id, --disk-id <name>¶
Index of the disk.
- -s, --site-id <site_id>¶
ID of the instance.
Arguments
- IDS_OR_NAMES¶
Optional argument(s)
vlb¶
Update status of your vlb by listener.
ch vlb [OPTIONS]
Options
- -byjson, --byjson <json_file>¶
Change load balancer by json file.
- -table, --table-view, -json, --json-view¶
Show information in Table view or JSON view.
- Default:
True
- -wait, --wait¶
Wait until your instance to be provisioned.
- -temp, --template¶
Create template vlb json file.
- -ms, --members <members>¶
Change members of load balancer, default pools[0], ex: twccli ch vlb -id {$vlbid} -m 192.168.100.1:80,192.168.100.2:80
- -ip, --eip-id <eip_id>¶
Index of the EIP.
- -id, --vlb-id <vlb_id>¶
Index of the load balancer.