saklient.cs  0.0.2.11
Public Member Functions | Properties | List of all members
Saklient.Cloud.Resources.Swytch Class Reference

スイッチの実体1つに対応し、属性の取得や操作を行うためのクラス。 More...

Inheritance diagram for Saklient.Cloud.Resources.Swytch:
Saklient.Cloud.Resources.Resource

Public Member Functions

Swytch Save ()
 このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し、新規作成または上書き保存します。 More...
 
Swytch Reload ()
 最新のリソース情報を再取得します。 More...
 
Ipv6Net AddIpv6Net ()
 このルータ+スイッチでIPv6アドレスを有効にします。 More...
 
Swytch RemoveIpv6Net ()
 このルータ+スイッチでIPv6アドレスを無効にします。 More...
 
Ipv4Net AddStaticRoute (long maskLen, string nextHop)
 このルータ+スイッチにスタティックルートを追加します。 More...
 
Swytch RemoveStaticRoute (Ipv4Net ipv4Net)
 このルータ+スイッチからスタティックルートを削除します。 More...
 
Swytch ChangePlan (long bandWidthMbps)
 このルータ+スイッチの帯域プランを変更します。 More...
 
Swytch ConnectToBridge (Bridge bridge)
 このルータ+スイッチをブリッジに接続します。 More...
 
Swytch DisconnectFromBridge ()
 このルータ+スイッチをブリッジから切断します。 More...
 
System.Collections.Generic.List< string > CollectUsedIpv4Addresses ()
 このルータ+スイッチに接続中のインタフェースに割り当てられているIPアドレスを収集します。 More...
 
System.Collections.Generic.List< string > CollectUnusedIpv4Addresses ()
 このルータ+スイッチで利用できる未使用のIPアドレスを収集します。 More...
 
- Public Member Functions inherited from Saklient.Cloud.Resources.Resource
void Destroy ()
 このローカルオブジェクトのIDと一致するリソースの削除リクエストをAPIに送信します。 More...
 
bool Exists ()
 このリソースが存在するかを調べます。 More...
 
object RequestRetry (string method, string path, object query=null, long retryCount=5, long retrySleep=5)
 
Parameters
method
Parameters
path
Parameters
query
Parameters
retryCount
Parameters
retrySleep
More...
 

Properties

string Id [get]
 ID More...
 
string Name [get, set]
 名前 More...
 
string Description [get, set]
 説明 More...
 
System.Collections.Generic.List< string > Tags [get, set]
 タグ文字列の配列 More...
 
Icon Icon [get, set]
 アイコン More...
 
string UserDefaultRoute [get]
 ユーザ設定IPv4ネットワークのゲートウェイ More...
 
long UserMaskLen [get]
 ユーザ設定IPv4ネットワークのマスク長 More...
 
Router Router [get]
 接続されているルータ More...
 
Bridge Bridge [get]
 接続されているブリッジ More...
 
System.Collections.Generic.List< Ipv4NetIpv4Nets [get]
 IPv4ネットワーク(ルータによる自動割当) Saklient.Cloud.Resources.Ipv4Net の配列 More...
 
System.Collections.Generic.List< Ipv6NetIpv6Nets [get]
 IPv6ネットワーク(ルータによる自動割当) Saklient.Cloud.Resources.Ipv6Net の配列 More...
 

Detailed Description

スイッチの実体1つに対応し、属性の取得や操作を行うためのクラス。

Member Function Documentation

Ipv6Net Saklient.Cloud.Resources.Swytch.AddIpv6Net ( )
inline

このルータ+スイッチでIPv6アドレスを有効にします。

Returns
有効化されたIPv6ネットワーク
Ipv4Net Saklient.Cloud.Resources.Swytch.AddStaticRoute ( long  maskLen,
string  nextHop 
)
inline

このルータ+スイッチにスタティックルートを追加します。

Parameters
maskLen
Parameters
nextHop
Returns
追加されたIPv4ネットワーク
Swytch Saklient.Cloud.Resources.Swytch.ChangePlan ( long  bandWidthMbps)
inline

このルータ+スイッチの帯域プランを変更します。

Parameters
bandWidthMbps帯域幅(api.product.router.find() から取得できる RouterPlan の bandWidthMbps を指定)。
Returns
this
System.Collections.Generic.List<string> Saklient.Cloud.Resources.Swytch.CollectUnusedIpv4Addresses ( )
inline

このルータ+スイッチで利用できる未使用のIPアドレスを収集します。

System.Collections.Generic.List<string> Saklient.Cloud.Resources.Swytch.CollectUsedIpv4Addresses ( )
inline

このルータ+スイッチに接続中のインタフェースに割り当てられているIPアドレスを収集します。

Swytch Saklient.Cloud.Resources.Swytch.ConnectToBridge ( Bridge  bridge)
inline

このルータ+スイッチをブリッジに接続します。

Parameters
swytch接続先のブリッジ。
bridge
Returns
this
Swytch Saklient.Cloud.Resources.Swytch.DisconnectFromBridge ( )
inline

このルータ+スイッチをブリッジから切断します。

Returns
this
Swytch Saklient.Cloud.Resources.Swytch.Reload ( )
inline

最新のリソース情報を再取得します。

Returns
this
Swytch Saklient.Cloud.Resources.Swytch.RemoveIpv6Net ( )
inline

このルータ+スイッチでIPv6アドレスを無効にします。

Returns
this
Swytch Saklient.Cloud.Resources.Swytch.RemoveStaticRoute ( Ipv4Net  ipv4Net)
inline

このルータ+スイッチからスタティックルートを削除します。

Parameters
ipv4Net
Returns
this
Swytch Saklient.Cloud.Resources.Swytch.Save ( )
inline

このローカルオブジェクトに現在設定されているリソース情報をAPIに送信し、新規作成または上書き保存します。

Returns
this

Property Documentation

Bridge Saklient.Cloud.Resources.Swytch.Bridge
get

接続されているブリッジ

string Saklient.Cloud.Resources.Swytch.Description
getset

説明

Icon Saklient.Cloud.Resources.Swytch.Icon
getset

アイコン

string Saklient.Cloud.Resources.Swytch.Id
get

ID

System.Collections.Generic.List<Ipv4Net> Saklient.Cloud.Resources.Swytch.Ipv4Nets
get

IPv4ネットワーク(ルータによる自動割当) Saklient.Cloud.Resources.Ipv4Net の配列

System.Collections.Generic.List<Ipv6Net> Saklient.Cloud.Resources.Swytch.Ipv6Nets
get

IPv6ネットワーク(ルータによる自動割当) Saklient.Cloud.Resources.Ipv6Net の配列

string Saklient.Cloud.Resources.Swytch.Name
getset

名前

Router Saklient.Cloud.Resources.Swytch.Router
get

接続されているルータ

System.Collections.Generic.List<string> Saklient.Cloud.Resources.Swytch.Tags
getset

タグ文字列の配列

string Saklient.Cloud.Resources.Swytch.UserDefaultRoute
get

ユーザ設定IPv4ネットワークのゲートウェイ

long Saklient.Cloud.Resources.Swytch.UserMaskLen
get

ユーザ設定IPv4ネットワークのマスク長


The documentation for this class was generated from the following file: