Skip to content

sacloud/usacloud

Repository files navigation

Usacloud

usacloud_logo_h.png

usacloudさくらのクラウド用の公認CLIクライアントです。

Test Status Discord License Version Downloads Documents

Installation / インストール

Documents: https://docs.usacloud.jp/usacloud/installation/start_guide

Quick Start

Usage / 基本的な使い方

コマンドは以下の書式で指定します。

usacloud <リソース> <サブコマンド> [オプション] [対象リソースのID or 名前(部分一致) or タグ]

リソースやサブコマンド、オプションはusacloud -husacloud <リソース名> -h、またはusacloud <リソース名> <サブコマンド> -hで確認できます。

コマンドの例

# 全ゾーンのサーバ一覧を取得
$ usacloud server list --zone=all

# 石狩第1ゾーンで名前に"example-"を含むサーバをすべてシャットダウン(オプションの位置は引数の後ろでもOK)
$ usacloud server shutdown "example-" --zone=is1a

その他の使い方

Usacloud ドキュメントを参照してください。

Usacloud ドキュメント

コマンド一覧

usacloud -h
CLI to manage to resources on the SAKURA Cloud

Available Commands:
 === Configuration ===
    config             

 === Authentication ===
    auth-status        

 === Computing ===
    private-host       
    server             

 === Storage ===
    archive            
    auto-backup        
    cdrom              
    disk               

 === Networking ===
    bridge             
    internet           
    local-router       
    packet-filter      
    switch             

 === Networking(SubResources) ===
    interface          
    ipaddress          
    ipv6addr           
    ipv6net            
    subnet             

 === Appliance ===
    database           
    load-balancer      
    nfs                
    vpc-router         

 === SecureMobile ===
    mobile-gateway     
    sim                

 === Common service items ===
    dns                
    gslb               
    proxy-lb           
    simple-monitor     

 === Billing ===
    bill               
    coupon             

 === Lab ===
    container-registry 
    esme               

 === WebAccelerator ===
    web-accelerator    

 === Other services ===
    icon               
    license            
    note               
    ssh-key            

 === Region/Zone information ===
    region             
    zone               

 === Service/Product information ===
    disk-plan          
    internet-plan      
    license-info       
    private-host-plan  
    server-plan        
    service-class      

 === Other commands ===
    rest               
    self               
    completion         Generate completion script

License

usacloud Copyright (C) 2017-2023 The Usacloud Authors.

This project is published under Apache 2.0 License.