ルータ関連API

GET/internet

インターネット接続一覧を取得

POST/internet

ルータ+スイッチを作成

パラメータ

名前 省略 説明
Internet.Name string 不可 ルータ名
[Internet.Description] string 説明
Internet.NetworkMaskLen int 不可 プレフィックス(28,27)
Internet.BandWidthMbps int 不可 帯域幅(100,500,1000)

オブジェクト構造

アクセス キー バリデーション
読取 検索 書込 更新 必須 デフォルト 範囲
ID : int
Name : string 1~64文字
Description : string 空文字 512文字
BandWidthMbps : int
NetworkMaskLen : int
ServiceClass : string
Zone.ID : int
Zone.Description : string
Zone.Region.Description : string
Zone.Region.NameServers : string
Subnet.DefaultRoute : string
Subnet.ServiceClass : string

GET/internet/:internetid

該当IDのインターネット接続情報を取得

URLパラメータ

Name Comment
internetid インターネット接続ID

PUT/internet/:internetid

インターネット接続を更新

URLパラメータ

Name Comment
internetid インターネット接続ID

パラメータ

名前 省略 説明
[Internet.Name]ルータ名 string
[Internet.Description] string 説明

DELETE/internet/:internetid

該当IDのインターネット接続を削除

URLパラメータ

Name Comment
internetid インターネット接続ID

PUT/internet/:internetid/bandwidth

該当IDのルータの回線帯域幅を変更

URLパラメータ

Name Comment
internetid インターネット接続ID

パラメータ

名前 省略 説明
BandWidthMbps int 不可

GET/ipaddress

IPアドレス一覧を取得

GET/ipaddress/:ipaddress

該当IDのIPアドレス情報を取得

URLパラメータ

Name Comment
ipaddress IPアドレス

PUT/ipaddress/:ipaddress

IPアドレス情報を更新

URLパラメータ

Name Comment
ipaddress IPアドレス

GET/subnet

サブネット一覧を取得

GET/subnet/:subnetid

該当IDのサブネット情報を取得

URLパラメータ

Name Comment
subnetid サブネットID