スイッチ関連API

GET/switch

スイッチ一覧を取得

POST/switch

スイッチを作成

パラメータ

名前 省略 説明
Switch.Name string 不可 スイッチ名
[Switch.Description] string 説明

オブジェクト構造

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

GET/switch/:switchid

該当IDのスイッチ情報を取得

URLパラメータ

Name Comment
switchid スイッチID

PUT/switch/:switchid

スイッチ情報を更新

URLパラメータ

Name Comment
switchid スイッチID

パラメータ

名前 省略 説明
[Switch.Name] string スイッチ名
[Switch.Description] string 説明

DELETE/switch/:switchid

該当IDのスイッチを削除

URLパラメータ

Name Comment
switchid スイッチID

GET/switch/:switchid/appliance

該当スイッチに接続されているアプライアンス一覧を取得

GET/switch/:switchid/server

該当スイッチに接続されているサーバ一覧を取得