An open API service indexing awesome lists of open source software.

https://github.com/rgglez/aliyun-tools

Misc tools for "devops" in Aliyun (Alibaba Cloud)
https://github.com/rgglez/aliyun-tools

alibaba aliyun cloud devops-tools faas

Last synced: 7 months ago
JSON representation

Misc tools for "devops" in Aliyun (Alibaba Cloud)

Awesome Lists containing this project

README

          

# aliyun-tools

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
![GitHub all releases](https://img.shields.io/github/downloads/rgglez/aliyun-tools/total)
![GitHub issues](https://img.shields.io/github/issues/rgglez/aliyun-tools)
![GitHub commit activity](https://img.shields.io/github/commit-activity/y/rgglez/aliyun-tools)

Misc tools for "devops" in Aliyun (Alibaba Cloud).

- [aliyun-tools](#aliyun-tools)
- [check-function-acceleration-status.py](#check-function-acceleration-statuspy)


### check-function-acceleration-status.py

Checks the status of the Image Acceleration process of a Function Compute container, after you updated the function with a new container (from the Personal Edition of the ECS, for instance).
It presents an indicator while the image is preparing.

It takes these parameters:

* **-f \** the FC function name. Required.
* **-s \** the FC service name. Required.
* **-t \** the time in seconds between checks. Optional. Default: 2 seconds.

Examples:

```bash
python3 check-function-acceleration-status.py -s MyCoolService -f wipe-data
```

```bash
python3 check-function-acceleration-status.py -s MyCoolService -f restore-backup -t 5
```

See the source code for dependencies.