Azure Database for MariaDB 的 Azure CLI 示例Azure CLI samples for Azure Database for MariaDB

下表包含指向示例 Azure CLI 脚本的链接,这些脚本针对 Azure Database for MariaDB。The following table includes links to sample Azure CLI scripts for Azure Database for MariaDB.

创建服务器Create a server
创建服务器和防火墙规则Create a server and firewall rule 此 Azure CLI 脚本创建单个 Azure Database for MariaDB 服务器,并配置服务器级防火墙规则。Azure CLI script that creates a single Azure Database for MariaDB server and configures a server-level firewall rule.
缩放服务器Scale a server
缩放服务器Scale a server 此 Azure CLI 脚本可缩放 Azure Database for MariaDB 服务器,以便更改性能需求。Azure CLI script that scales a single Azure Database for MariaDB server up or down to allow for changing performance needs.
更改服务器配置Change server configurations
更改服务器配置Change server configurations Azure CLI 脚本,可更改单个 Azure Database for MariaDB 服务器的配置。Azure CLI script that change configurations of a single Azure Database for MariaDB server.
还原服务器Restore a server
还原服务器Restore a server 用于将单个 Azure Database for MariaDB 服务器还原到前一个时间点的 Azure CLI 脚本。Azure CLI script that restores a single Azure Database for MariaDB server to a previous point in time.
操作服务器日志Manipulate with server logs
启用和下载服务器日志Enable and download server logs 用于启用和下载单个 Azure Database for MariaDB 服务器的服务器日志的 Azure CLI 脚本。Azure CLI script that enables and downloads server logs of a single Azure Database for MariaDB server.