/// <summary> /// /// <param name="client" /> /// </summary> public Product(Client client) { this._Server = new Model_ServerPlan(client); this._Disk = new Model_DiskPlan(client); this._Router = new Model_RouterPlan(client); this._License = new Model_LicenseInfo(client); }
public static Resource CreateWith(string className, Client client, object obj, bool wrapped = false) { System.Collections.Generic.List <object> a = new System.Collections.Generic.List <object> { client, obj, wrapped }; return((Resource)(Util.CreateClassInstance("saklient.cloud.resources." + className, a))); }
/// <summary>指定した認証情報を用いてアクセスを行うAPIクライアントを作成します。 /// /// 必要な認証情報は、コントロールパネル右上にあるアカウントのプルダウンから /// 「設定」を選択し、「APIキー」のページにて作成できます。 /// /// <param name="token">ACCESS TOKEN</param> /// <param name="secret">ACCESS TOKEN SECRET</param> /// <param name="zone">ゾーン名</param> /// <returns>APIクライアント</returns> /// </summary> public static API Authorize(string token, string secret, string zone = null) { Client c = new Client(token, secret); API ret = new API(c); return(zone != null?ret.InZone(zone) : ret); }
public Client CloneInstance() { Client ret = new Client(this.token, this.secret); ret.SetApiRoot(this.apiRoot); ret.SetApiRootSuffix(this.apiRootSuffix); return(ret); }
public LoadBalancer(Client client, object obj, bool wrapped = false) : base(client, obj, wrapped) { /*!base!*/; if (this.RawAnnotation == null) { this.RawAnnotation = new System.Collections.Generic.Dictionary <string, object> { }; } }
public DiskConfig(Client client, string diskId) { this._Client = client; this._DiskId = diskId; this._HostName = null; this._Password = null; this._SshKeys = new System.Collections.Generic.List <string> { }; this._IpAddress = null; this._DefaultRoute = null; this._NetworkMaskLen = null; this._Scripts = new System.Collections.Generic.List <Script> { }; }
/// <summary> /// /// <param name="client" /> /// </summary> internal API(Client client) { this._Client = client; this._Product = new Product(client); this._Facility = new Facility(client); this._Icon = new Model_Icon(client); this._Server = new Model_Server(client); this._Disk = new Model_Disk(client); this._Appliance = new Model_Appliance(client); this._Archive = new Model_Archive(client); this._IsoImage = new Model_IsoImage(client); this._Iface = new Model_Iface(client); this._Swytch = new Model_Swytch(client); this._Router = new Model_Router(client); this._Bridge = new Model_Bridge(client); this._Ipv6Net = new Model_Ipv6Net(client); this._Script = new Model_Script(client); this._CommonServiceItem = new Model_CommonServiceItem(client); this._License = new Model_License(client); }
public Model_Server(Client client) : base(client) { /*!base!*/; }
public RouterActivity(Client client) : base(client) { /*!base!*/; }
public Iface(Client client, object obj, bool wrapped = false) : base(client) { /*!base!*/; this._Activity = new IfaceActivity(client); this.ApiDeserialize(obj, wrapped); }
public Model_Bridge(Client client) : base(client) { /*!base!*/; }
public CommonServiceItem(Client client, object obj, bool wrapped = false) : base(client) { /*!base!*/; this.ApiDeserialize(obj, wrapped); }
public Gslb(Client client, object obj, bool wrapped = false) : base(client, obj, wrapped) { /*!base!*/; this._Normalize(); }
/// <summary> /// <param name="client" /> /// </summary> public Model(Client client) { this._Client = client; this._Reset(); }
public Model_Script(Client client) : base(client) { /*!base!*/; }
public Model_Swytch(Client client) : base(client) { /*!base!*/; }
public Model_RouterPlan(Client client) : base(client) { /*!base!*/; }
public Model_Archive(Client client) : base(client) { /*!base!*/; }
/// <summary> /// /// <param name="client" /> /// </summary> public Facility(Client client) { this._Region = new Model_Region(client); }
public Model_Iface(Client client) : base(client) { /*!base!*/; }
public Model_Appliance(Client client) : base(client) { /*!base!*/; }
public Model_Ipv6Net(Client client) : base(client) { /*!base!*/; }
public Resource(Client client) { this._Client = client; this._Query = new System.Collections.Generic.Dictionary <string, object> { }; }
public DiskActivity(Client client) : base(client) { /*!base!*/; }
public Model_DiskPlan(Client client) : base(client) { /*!base!*/; this._Hdd = null; this._Ssd = null; }
public Model_Disk(Client client) : base(client) { /*!base!*/; }
public IfaceActivity(Client client) : base(client) { /*!base!*/; }
public Model_License(Client client) : base(client) { /*!base!*/; }
public Archive(Client client, object obj, bool wrapped = false) : base(client) { /*!base!*/; this.ApiDeserialize(obj, wrapped); }
public Model_Region(Client client) : base(client) { /*!base!*/; }