Documentation ¶
Overview ¶
Package api is the Low Level APIs for maganing resources on SakuraCloud.
さくらのクラウドでのリソース操作用の低レベルAPIです。 さくらのクラウドAPI呼び出しを行います。
Basic usage ¶
はじめにAPIクライアントを作成します。以降は作成したAPIクライアントを通じて各操作を行います。
APIクライアントの作成にはAPIトークン、APIシークレット、対象ゾーン情報が必要です。
あらかじめ、さくらのクラウド コントロールパネルにてAPIキーを発行しておいてください。
token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone)
Select target resource ¶
操作対象のリソースごとにAPIクライアントのフィールドを用意しています。 例えばサーバーの操作を行う場合はAPIクライアントの"Server"フィールドを通じて操作します。
フィールドの一覧は[type API]のドキュメントを参照してください。
// サーバーの検索の場合 client.Server.Find() // ディスクの検索の場合 client.Disk.Find()
Find resource ¶
リソースの検索を行うには、条件を指定してFind()を呼び出します。
APIクライアントでは、検索条件の指定にFluent APIを採用しているため、メソッドチェーンで条件を指定できます。
// サーバーの検索 res, err := client.Server. WithNameLike("server name"). // サーバー名に"server name"が含まれる Offset(0). // 検索結果の位置0(先頭)から取得 Limit(5). // 5件取得 Include("Name"). // 結果にName列を含める Include("Description"). // 結果にDescription列を含める Find() // 検索実施 if err != nil { panic(err) } fmt.Printf("response: %#v", res.Servers)
Create resource ¶
新規作成用パラメーターを作成し、値を設定します。 その後APIクライアントのCreate()を呼び出します。
// スイッチの作成 param := client.Switch.New() // 新規作成用パラメーターの作成 param.Name = "example" // 値の設定(名前) param.Description = "example" // 値の設定(説明) sw, err := client.Switch.Create(param) // 作成 if err != nil { panic(err) } fmt.Printf("Created switch: %#v", sw)
リソースの作成は非同期で行われます。
このため、サーバーやディスクなどの作成に時間がかかるリソースに対して Create()呼び出し直後に操作を行おうとした場合にエラーとなることがあります。
必要に応じて適切なメソッドを呼び出し、リソースが適切な状態になるまで待機してください。
// パブリックアーカイブからディスク作成 archive, _ := client.Archive.FindLatestStableCentOS() // ディスクの作成 param := client.Disk.New() param.Name = "example" // 値の設定(名前) param.SetSourceArchive(archive.ID) // コピー元にCentOSパブリックアーカイブを指定 disk, err := client.Disk.Create(param) // 作成 if err != nil { panic(err) } // 作成完了まで待機 err = client.Disk.SleepWhileCopying(disk.ID, client.DefaultTimeoutDuration) // タイムアウト発生の場合errが返る if err != nil { panic(err) } fmt.Printf("Created disk: %#v", disk)
Update resource ¶
APIクライアントのUpdate()メソッドを呼び出します。
req, err := client.Server.Find() if err != nil { panic(err) } server := &req.Servers[0] // 更新 server.Name = "update" // サーバー名を変更 server.AppendTag("example-tag") // タグを追加 updatedServer, err := client.Server.Update(server.ID, server) //更新実行 if err != nil { panic(err) } fmt.Printf("Updated server: %#v", updatedServer)
更新内容によってはあらかじめシャットダウンなどのリソースの操作が必要になる場合があります。
詳細はさくらのクラウド ドキュメントを参照下さい。 http://cloud.sakura.ad.jp/document/
Delete resource ¶
APIクライアントのDeleteメソッドを呼び出します。
// 削除 deletedSwitch, err := client.Switch.Delete(sw.ID) if err != nil { panic(err) } fmt.Printf("Deleted switch: %#v", deletedSwitch)
対象リソースによってはあらかじめシャットダウンや切断などの操作が必要になる場合があります。
詳細はさくらのクラウド ドキュメントを参照下さい。 http://cloud.sakura.ad.jp/document/
PowerManagement ¶
サーバーやアプライアンスなどの電源操作もAPIを通じて行えます。
// 起動 _, err = client.Server.Boot(server.ID) if err != nil { panic(err) } // 起動完了まで待機 err = client.Server.SleepUntilUp(server.ID, client.DefaultTimeoutDuration) // シャットダウン _, err = client.Server.Shutdown(server.ID) // gracefulシャットダウン if err != nil { panic(err) } // ダウンまで待機 err = client.Server.SleepUntilDown(server.ID, client.DefaultTimeoutDuration)
電源関連のAPI呼び出しは非同期で行われます。
必要に応じて適切なメソッドを呼び出し、リソースが適切な状態になるまで待機してください。
Other ¶
APIクライアントでは開発時のデバッグ出力が可能です。 以下のようにTraceModeフラグをtrueに設定した上でAPI呼び出しを行うと、標準出力へトレースログが出力されます。
client.TraceMode = true
Example ¶
package main import ( "fmt" "os" "time" "github.com/sacloud/libsacloud/api" "github.com/sacloud/libsacloud/sacloud" ) func main() { // settings var ( token = os.Args[1] secret = os.Args[2] zone = os.Args[3] name = "libsacloud demo" description = "libsacloud demo description" tag = "libsacloud-test" cpu = 1 mem = 2 hostName = "libsacloud-test" password = "C8#mf92mp!*s" sshPublicKey = "ssh-rsa AAAA..." ) // authorize client := api.NewClient(token, secret, zone) //search archives fmt.Println("searching archives") archive, _ := client.Archive.FindLatestStableCentOS() // search scripts fmt.Println("searching scripts") res, _ := client.Note. WithNameLike("WordPress"). WithSharedScope(). Limit(1). Find() script := res.Notes[0] // create a disk fmt.Println("creating a disk") disk := client.Disk.New() disk.Name = name disk.Description = description disk.Tags = []string{tag} disk.SetDiskPlanToSSD() disk.SetSourceArchive(archive.ID) disk, _ = client.Disk.Create(disk) // create a server fmt.Println("creating a server") server := client.Server.New() server.Name = name server.Description = description server.Tags = []string{tag} // (set ServerPlan) plan, _ := client.Product.Server.GetBySpec(cpu, mem, sacloud.PlanDefault) server.SetServerPlanByID(plan.GetStrID()) server, _ = client.Server.Create(server) // connect to shared segment fmt.Println("connecting the server to shared segment") iface, _ := client.Interface.CreateAndConnectToServer(server.ID) client.Interface.ConnectToSharedSegment(iface.ID) // wait disk copy err := client.Disk.SleepWhileCopying(disk.ID, 120*time.Second) if err != nil { fmt.Println("failed") os.Exit(1) } // config the disk diskConf := client.Disk.NewCondig() diskConf.SetHostName(hostName) diskConf.SetPassword(password) diskConf.AddSSHKeyByString(sshPublicKey) diskConf.AddNote(script.GetStrID()) client.Disk.Config(disk.ID, diskConf) // connect to server client.Disk.ConnectToServer(disk.ID, server.ID) // boot fmt.Println("booting the server") client.Server.Boot(server.ID) // stop time.Sleep(3 * time.Second) fmt.Println("stopping the server") client.Server.Stop(server.ID) // wait for server to down err = client.Server.SleepUntilDown(server.ID, 120*time.Second) if err != nil { fmt.Println("failed") os.Exit(1) } // disconnect the disk from the server fmt.Println("disconnecting the disk") client.Disk.DisconnectFromServer(disk.ID) // delete the server fmt.Println("deleting the server") client.Server.Delete(server.ID) // delete the disk fmt.Println("deleting the disk") client.Disk.Delete(disk.ID) }
Output:
Example (Basic) ¶
package main import ( "fmt" "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) // 以降はこのクライアントを通じて操作を行う authStatus, err := client.AuthStatus.Read() if err != nil { panic(err) } fmt.Printf("Auth status : [%#v]", authStatus) }
Output:
Example (Create) ¶
package main import ( "fmt" "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) // スイッチの作成 param := client.Switch.New() // 新規作成用パラメーターの作成 param.Name = "example" // 値の設定(名前) param.Description = "example" // 値の設定(説明) sw, err := client.Switch.Create(param) // 作成 if err != nil { panic(err) } fmt.Printf("Created switch: %#v", sw) }
Output:
Example (Delete) ¶
package main import ( "fmt" "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) req, err := client.Switch.Find() if err != nil { panic(err) } sw := req.Switches[0] // 削除 deletedSwitch, err := client.Switch.Delete(sw.ID) if err != nil { panic(err) } fmt.Printf("Deleted switch: %#v", deletedSwitch) }
Output:
Example (Find) ¶
package main import ( "fmt" "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) // サーバーの検索 res, err := client.Server. WithNameLike("server name"). // サーバー名に"server name"が含まれる Offset(0). // 検索結果の位置0(先頭)から取得 Limit(5). // 5件取得 Include("Name"). // 結果にName列を含める Include("Description"). // 結果にDescription列を含める Find() // 検索実施 if err != nil { panic(err) } fmt.Printf("response: %#v", res.Servers) }
Output:
Example (Power) ¶
package main import ( "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) req, err := client.Server.Find() if err != nil { panic(err) } server := req.Servers[0] // 起動 _, err = client.Server.Boot(server.ID) if err != nil { panic(err) } // 起動完了まで待機 err = client.Server.SleepUntilUp(server.ID, client.DefaultTimeoutDuration) // シャットダウン _, err = client.Server.Shutdown(server.ID) // gracefulシャットダウン //_, err = client.Server.Stop(server.ID) // forceシャットダウン if err != nil { panic(err) } // ダウンまで待機 err = client.Server.SleepUntilDown(server.ID, client.DefaultTimeoutDuration) if err != nil { panic(err) } }
Output:
Example (Update) ¶
package main import ( "fmt" "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) req, err := client.Server.Find() if err != nil { panic(err) } server := &req.Servers[0] // 更新 server.Name = "update" // サーバー名を変更 server.AppendTag("example-tag") // タグを追加 updatedServer, err := client.Server.Update(server.ID, server) //更新実行 if err != nil { panic(err) } fmt.Printf("Updated server: %#v", updatedServer) }
Output:
Example (Wait) ¶
package main import ( "fmt" "github.com/sacloud/libsacloud/api" ) func main() { token := "PUT YOUR TOKEN" secret := "PUT YOUR SECRET" zone := "tk1a" // クライアントの作成 client := api.NewClient(token, secret, zone) // パブリックアーカイブからディスク作成 archive, _ := client.Archive.FindLatestStableCentOS() // ディスクの作成 param := client.Disk.New() param.Name = "example" // 値の設定(名前) param.SetSourceArchive(archive.ID) // コピー元にCentOSパブリックアーカイブを指定 disk, err := client.Disk.Create(param) // 作成 if err != nil { panic(err) } // 作成完了まで待機 err = client.Disk.SleepWhileCopying(disk.ID, client.DefaultTimeoutDuration) // タイムアウト発生の場合errが返る if err != nil { panic(err) } fmt.Printf("Created disk: %#v", disk) }
Output:
Index ¶
- Variables
- type API
- func (api *API) GetArchiveAPI() *ArchiveAPI
- func (api *API) GetAuthStatusAPI() *AuthStatusAPI
- func (api *API) GetAutoBackupAPI() *AutoBackupAPI
- func (api *API) GetBillAPI() *BillAPI
- func (api *API) GetBridgeAPI() *BridgeAPI
- func (api *API) GetCDROMAPI() *CDROMAPI
- func (api *API) GetCouponAPI() *CouponAPI
- func (api *API) GetDNSAPI() *DNSAPI
- func (api *API) GetDatabaseAPI() *DatabaseAPI
- func (api *API) GetDiskAPI() *DiskAPI
- func (api *API) GetGSLBAPI() *GSLBAPI
- func (api *API) GetIPAddressAPI() *IPAddressAPI
- func (api *API) GetIPv6AddrAPI() *IPv6AddrAPI
- func (api *API) GetIPv6NetAPI() *IPv6NetAPI
- func (api *API) GetIconAPI() *IconAPI
- func (api *API) GetInterfaceAPI() *InterfaceAPI
- func (api *API) GetInternetAPI() *InternetAPI
- func (api *API) GetLicenseAPI() *LicenseAPI
- func (api *API) GetLoadBalancerAPI() *LoadBalancerAPI
- func (api *API) GetMobileGatewayAPI() *MobileGatewayAPI
- func (api *API) GetNFSAPI() *NFSAPI
- func (api *API) GetNewsFeedAPI() *NewsFeedAPI
- func (api *API) GetNoteAPI() *NoteAPI
- func (api *API) GetPacketFilterAPI() *PacketFilterAPI
- func (api *API) GetPrivateHostAPI() *PrivateHostAPI
- func (api *API) GetProductDiskAPI() *ProductDiskAPI
- func (api *API) GetProductInternetAPI() *ProductInternetAPI
- func (api *API) GetProductLicenseAPI() *ProductLicenseAPI
- func (api *API) GetProductServerAPI() *ProductServerAPI
- func (api *API) GetProxyLBAPI() *ProxyLBAPI
- func (api *API) GetPublicPriceAPI() *PublicPriceAPI
- func (api *API) GetRegionAPI() *RegionAPI
- func (api *API) GetSIMAPI() *SIMAPI
- func (api *API) GetSSHKeyAPI() *SSHKeyAPI
- func (api *API) GetServerAPI() *ServerAPI
- func (api *API) GetSimpleMonitorAPI() *SimpleMonitorAPI
- func (api *API) GetSubnetAPI() *SubnetAPI
- func (api *API) GetSwitchAPI() *SwitchAPI
- func (api *API) GetVPCRouterAPI() *VPCRouterAPI
- func (api *API) GetWebAccelAPI() *WebAccelAPI
- func (api *API) GetZoneAPI() *ZoneAPI
- type ArchiveAPI
- func (api *ArchiveAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration) (chan (interface{}), chan (interface{}), chan (error))
- func (api *ArchiveAPI) CanEditDisk(id sacloud.ID) (bool, error)
- func (api *ArchiveAPI) CloseFTP(id sacloud.ID) (bool, error)
- func (api *ArchiveAPI) Create(value *sacloud.Archive) (*sacloud.Archive, error)
- func (api *ArchiveAPI) Delete(id sacloud.ID) (*sacloud.Archive, error)
- func (api *ArchiveAPI) Exclude(key string) *ArchiveAPI
- func (api *ArchiveAPI) FilterBy(key string, value interface{}) *ArchiveAPI
- func (api *ArchiveAPI) FilterMultiBy(key string, value interface{}) *ArchiveAPI
- func (api ArchiveAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ArchiveAPI) FindByOSType(os ostype.ArchiveOSTypes) (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableCentOS() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableCentOS6() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableCentOS7() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableCentOS8() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableCoreOS() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableDebian() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableDebian10() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableDebian9() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableFreeBSD() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableK3OS() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableKusanagi() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableNetwiser() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableOPNsense() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableRancherOS() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableSophosUTM() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableUbuntu() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableUbuntu1604() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableUbuntu1804() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016RDS() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016RDSOffice() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016SQLServer2017Standard() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016SQLServer2017StandardAll() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016SQLServerStandard() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016SQLServerStandardAll() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2016SQLServerWeb() (*sacloud.Archive, error)
- func (api *ArchiveAPI) FindLatestStableWindows2019() (*sacloud.Archive, error)
- func (api *ArchiveAPI) GetPublicArchiveIDFromAncestors(id sacloud.ID) (sacloud.ID, bool)
- func (api *ArchiveAPI) Include(key string) *ArchiveAPI
- func (api *ArchiveAPI) Limit(limit int) *ArchiveAPI
- func (api *ArchiveAPI) New() *sacloud.Archive
- func (api ArchiveAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ArchiveAPI) Offset(offset int) *ArchiveAPI
- func (api *ArchiveAPI) OpenFTP(id sacloud.ID) (*sacloud.FTPServer, error)
- func (api *ArchiveAPI) Read(id sacloud.ID) (*sacloud.Archive, error)
- func (api *ArchiveAPI) Reset() *ArchiveAPI
- func (api *ArchiveAPI) SetEmpty()
- func (api *ArchiveAPI) SetExclude(key string)
- func (api *ArchiveAPI) SetFilterBy(key string, value interface{})
- func (api *ArchiveAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ArchiveAPI) SetInclude(key string)
- func (api *ArchiveAPI) SetLimit(limit int)
- func (api *ArchiveAPI) SetNameLike(name string)
- func (api *ArchiveAPI) SetOffset(offset int)
- func (api *ArchiveAPI) SetSharedScope()
- func (api *ArchiveAPI) SetSizeGib(size int)
- func (api *ArchiveAPI) SetSortBy(key string, reverse bool)
- func (api *ArchiveAPI) SetSortByName(reverse bool)
- func (api *ArchiveAPI) SetSortBySize(reverse bool)
- func (api *ArchiveAPI) SetTag(tag string)
- func (api *ArchiveAPI) SetTags(tags []string)
- func (api *ArchiveAPI) SetUserScope()
- func (api *ArchiveAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration) error
- func (api *ArchiveAPI) SortBy(key string, reverse bool) *ArchiveAPI
- func (api *ArchiveAPI) SortByName(reverse bool) *ArchiveAPI
- func (api *ArchiveAPI) SortBySize(reverse bool) *ArchiveAPI
- func (api *ArchiveAPI) Update(id sacloud.ID, value *sacloud.Archive) (*sacloud.Archive, error)
- func (api *ArchiveAPI) WithNameLike(name string) *ArchiveAPI
- func (api *ArchiveAPI) WithSharedScope() *ArchiveAPI
- func (api *ArchiveAPI) WithSizeGib(size int) *ArchiveAPI
- func (api *ArchiveAPI) WithTag(tag string) *ArchiveAPI
- func (api *ArchiveAPI) WithTags(tags []string) *ArchiveAPI
- func (api *ArchiveAPI) WithUserScope() *ArchiveAPI
- type AuthStatusAPI
- type AutoBackupAPI
- func (api *AutoBackupAPI) Create(value *sacloud.AutoBackup) (*sacloud.AutoBackup, error)
- func (api *AutoBackupAPI) Delete(id sacloud.ID) (*sacloud.AutoBackup, error)
- func (api *AutoBackupAPI) Exclude(key string) *AutoBackupAPI
- func (api *AutoBackupAPI) FilterBy(key string, value interface{}) *AutoBackupAPI
- func (api *AutoBackupAPI) FilterMultiBy(key string, value interface{}) *AutoBackupAPI
- func (api *AutoBackupAPI) Find() (*SearchAutoBackupResponse, error)
- func (api *AutoBackupAPI) Include(key string) *AutoBackupAPI
- func (api *AutoBackupAPI) Limit(limit int) *AutoBackupAPI
- func (api *AutoBackupAPI) New(name string, diskID sacloud.ID) *sacloud.AutoBackup
- func (api AutoBackupAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *AutoBackupAPI) Offset(offset int) *AutoBackupAPI
- func (api *AutoBackupAPI) Read(id sacloud.ID) (*sacloud.AutoBackup, error)
- func (api *AutoBackupAPI) Reset() *AutoBackupAPI
- func (api *AutoBackupAPI) SetEmpty()
- func (api *AutoBackupAPI) SetExclude(key string)
- func (api *AutoBackupAPI) SetFilterBy(key string, value interface{})
- func (api *AutoBackupAPI) SetFilterMultiBy(key string, value interface{})
- func (api *AutoBackupAPI) SetInclude(key string)
- func (api *AutoBackupAPI) SetLimit(limit int)
- func (api *AutoBackupAPI) SetNameLike(name string)
- func (api *AutoBackupAPI) SetOffset(offset int)
- func (api *AutoBackupAPI) SetSortBy(key string, reverse bool)
- func (api *AutoBackupAPI) SetSortByName(reverse bool)
- func (api *AutoBackupAPI) SetTag(tag string)
- func (api *AutoBackupAPI) SetTags(tags []string)
- func (api *AutoBackupAPI) SortBy(key string, reverse bool) *AutoBackupAPI
- func (api *AutoBackupAPI) SortByName(reverse bool) *AutoBackupAPI
- func (api *AutoBackupAPI) Update(id sacloud.ID, value *sacloud.AutoBackup) (*sacloud.AutoBackup, error)
- func (api *AutoBackupAPI) WithNameLike(name string) *AutoBackupAPI
- func (api *AutoBackupAPI) WithTag(tag string) *AutoBackupAPI
- func (api *AutoBackupAPI) WithTags(tags []string) *AutoBackupAPI
- type BillAPI
- func (api *BillAPI) ByContract(accountID sacloud.ID) (*BillResponse, error)
- func (api *BillAPI) ByContractYear(accountID sacloud.ID, year int) (*BillResponse, error)
- func (api *BillAPI) ByContractYearMonth(accountID sacloud.ID, year int, month int) (*BillResponse, error)
- func (api BillAPI) Find() (*sacloud.SearchResponse, error)
- func (api *BillAPI) GetDetail(memberCD string, billNo sacloud.ID) (*BillDetailResponse, error)
- func (api *BillAPI) GetDetailCSV(memberCD string, billNo sacloud.ID) (*BillDetailCSVResponse, error)
- func (api BillAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *BillAPI) Read(billNo sacloud.ID) (*BillResponse, error)
- type BillDetailCSVResponse
- type BillDetailResponse
- type BillResponse
- type BridgeAPI
- func (api *BridgeAPI) Create(value *sacloud.Bridge) (*sacloud.Bridge, error)
- func (api *BridgeAPI) Delete(id sacloud.ID) (*sacloud.Bridge, error)
- func (api *BridgeAPI) Exclude(key string) *BridgeAPI
- func (api *BridgeAPI) FilterBy(key string, value interface{}) *BridgeAPI
- func (api *BridgeAPI) FilterMultiBy(key string, value interface{}) *BridgeAPI
- func (api BridgeAPI) Find() (*sacloud.SearchResponse, error)
- func (api *BridgeAPI) Include(key string) *BridgeAPI
- func (api *BridgeAPI) Limit(limit int) *BridgeAPI
- func (api *BridgeAPI) New() *sacloud.Bridge
- func (api BridgeAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *BridgeAPI) Offset(offset int) *BridgeAPI
- func (api *BridgeAPI) Read(id sacloud.ID) (*sacloud.Bridge, error)
- func (api *BridgeAPI) Reset() *BridgeAPI
- func (api *BridgeAPI) SetEmpty()
- func (api *BridgeAPI) SetExclude(key string)
- func (api *BridgeAPI) SetFilterBy(key string, value interface{})
- func (api *BridgeAPI) SetFilterMultiBy(key string, value interface{})
- func (api *BridgeAPI) SetInclude(key string)
- func (api *BridgeAPI) SetLimit(limit int)
- func (api *BridgeAPI) SetNameLike(name string)
- func (api *BridgeAPI) SetOffset(offset int)
- func (api *BridgeAPI) SetSortBy(key string, reverse bool)
- func (api *BridgeAPI) SetSortByName(reverse bool)
- func (api *BridgeAPI) SetTag(tag string)
- func (api *BridgeAPI) SetTags(tags []string)
- func (api *BridgeAPI) SortBy(key string, reverse bool) *BridgeAPI
- func (api *BridgeAPI) SortByName(reverse bool) *BridgeAPI
- func (api *BridgeAPI) Update(id sacloud.ID, value *sacloud.Bridge) (*sacloud.Bridge, error)
- func (api *BridgeAPI) WithNameLike(name string) *BridgeAPI
- func (api *BridgeAPI) WithTag(tag string) *BridgeAPI
- func (api *BridgeAPI) WithTags(tags []string) *BridgeAPI
- type CDROMAPI
- func (api *CDROMAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration) (chan (interface{}), chan (interface{}), chan (error))
- func (api *CDROMAPI) CloseFTP(id sacloud.ID) (bool, error)
- func (api *CDROMAPI) Create(value *sacloud.CDROM) (*sacloud.CDROM, *sacloud.FTPServer, error)
- func (api *CDROMAPI) Delete(id sacloud.ID) (*sacloud.CDROM, error)
- func (api *CDROMAPI) Exclude(key string) *CDROMAPI
- func (api *CDROMAPI) FilterBy(key string, value interface{}) *CDROMAPI
- func (api *CDROMAPI) FilterMultiBy(key string, value interface{}) *CDROMAPI
- func (api CDROMAPI) Find() (*sacloud.SearchResponse, error)
- func (api *CDROMAPI) Include(key string) *CDROMAPI
- func (api *CDROMAPI) Limit(limit int) *CDROMAPI
- func (api *CDROMAPI) New() *sacloud.CDROM
- func (api CDROMAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *CDROMAPI) Offset(offset int) *CDROMAPI
- func (api *CDROMAPI) OpenFTP(id sacloud.ID, reset bool) (*sacloud.FTPServer, error)
- func (api *CDROMAPI) Read(id sacloud.ID) (*sacloud.CDROM, error)
- func (api *CDROMAPI) Reset() *CDROMAPI
- func (api *CDROMAPI) SetEmpty()
- func (api *CDROMAPI) SetExclude(key string)
- func (api *CDROMAPI) SetFilterBy(key string, value interface{})
- func (api *CDROMAPI) SetFilterMultiBy(key string, value interface{})
- func (api *CDROMAPI) SetInclude(key string)
- func (api *CDROMAPI) SetLimit(limit int)
- func (api *CDROMAPI) SetNameLike(name string)
- func (api *CDROMAPI) SetOffset(offset int)
- func (api *CDROMAPI) SetSharedScope()
- func (api *CDROMAPI) SetSizeGib(size int)
- func (api *CDROMAPI) SetSortBy(key string, reverse bool)
- func (api *CDROMAPI) SetSortByName(reverse bool)
- func (api *CDROMAPI) SetSortBySize(reverse bool)
- func (api *CDROMAPI) SetTag(tag string)
- func (api *CDROMAPI) SetTags(tags []string)
- func (api *CDROMAPI) SetUserScope()
- func (api *CDROMAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration) error
- func (api *CDROMAPI) SortBy(key string, reverse bool) *CDROMAPI
- func (api *CDROMAPI) SortByName(reverse bool) *CDROMAPI
- func (api *CDROMAPI) SortBySize(reverse bool) *CDROMAPI
- func (api *CDROMAPI) Update(id sacloud.ID, value *sacloud.CDROM) (*sacloud.CDROM, error)
- func (api *CDROMAPI) WithNameLike(name string) *CDROMAPI
- func (api *CDROMAPI) WithSharedScope() *CDROMAPI
- func (api *CDROMAPI) WithSizeGib(size int) *CDROMAPI
- func (api *CDROMAPI) WithTag(tag string) *CDROMAPI
- func (api *CDROMAPI) WithTags(tags []string) *CDROMAPI
- func (api *CDROMAPI) WithUserScope() *CDROMAPI
- type Client
- type CouponAPI
- type CouponResponse
- type DNSAPI
- func (api *DNSAPI) Create(value *sacloud.DNS) (*sacloud.DNS, error)
- func (api *DNSAPI) Delete(id sacloud.ID) (*sacloud.DNS, error)
- func (api *DNSAPI) DeleteDNSRecord(zoneName string, hostName string, ip string) error
- func (api *DNSAPI) Exclude(key string) *DNSAPI
- func (api *DNSAPI) FilterBy(key string, value interface{}) *DNSAPI
- func (api *DNSAPI) FilterMultiBy(key string, value interface{}) *DNSAPI
- func (api *DNSAPI) Find() (*SearchDNSResponse, error)
- func (api *DNSAPI) Include(key string) *DNSAPI
- func (api *DNSAPI) Limit(limit int) *DNSAPI
- func (api *DNSAPI) New(zoneName string) *sacloud.DNS
- func (api DNSAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *DNSAPI) Offset(offset int) *DNSAPI
- func (api *DNSAPI) Read(id sacloud.ID) (*sacloud.DNS, error)
- func (api *DNSAPI) Reset() *DNSAPI
- func (api *DNSAPI) SetEmpty()
- func (api *DNSAPI) SetExclude(key string)
- func (api *DNSAPI) SetFilterBy(key string, value interface{})
- func (api *DNSAPI) SetFilterMultiBy(key string, value interface{})
- func (api *DNSAPI) SetInclude(key string)
- func (api *DNSAPI) SetLimit(limit int)
- func (api *DNSAPI) SetNameLike(name string)
- func (api *DNSAPI) SetOffset(offset int)
- func (api *DNSAPI) SetSortBy(key string, reverse bool)
- func (api *DNSAPI) SetSortByName(reverse bool)
- func (api *DNSAPI) SetTag(tag string)
- func (api *DNSAPI) SetTags(tags []string)
- func (api *DNSAPI) SetupDNSRecord(zoneName string, hostName string, ip string) ([]string, error)
- func (api *DNSAPI) SortBy(key string, reverse bool) *DNSAPI
- func (api *DNSAPI) SortByName(reverse bool) *DNSAPI
- func (api *DNSAPI) Update(id sacloud.ID, value *sacloud.DNS) (*sacloud.DNS, error)
- func (api *DNSAPI) WithNameLike(name string) *DNSAPI
- func (api *DNSAPI) WithTag(tag string) *DNSAPI
- func (api *DNSAPI) WithTags(tags []string) *DNSAPI
- type DatabaseAPI
- func (api *DatabaseAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
- func (api *DatabaseAPI) Backup(id sacloud.ID) (string, error)
- func (api *DatabaseAPI) Boot(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) Config(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) Create(value *sacloud.Database) (*sacloud.Database, error)
- func (api *DatabaseAPI) Delete(id sacloud.ID) (*sacloud.Database, error)
- func (api *DatabaseAPI) DeleteBackup(id sacloud.ID, backupID string) (string, error)
- func (api *DatabaseAPI) DownloadLog(id sacloud.ID, logID string) (string, error)
- func (api *DatabaseAPI) Exclude(key string) *DatabaseAPI
- func (api *DatabaseAPI) FilterBy(key string, value interface{}) *DatabaseAPI
- func (api *DatabaseAPI) FilterMultiBy(key string, value interface{}) *DatabaseAPI
- func (api *DatabaseAPI) Find() (*SearchDatabaseResponse, error)
- func (api *DatabaseAPI) HistoryLock(id sacloud.ID, backupID string) (string, error)
- func (api *DatabaseAPI) HistoryUnlock(id sacloud.ID, backupID string) (string, error)
- func (api *DatabaseAPI) Include(key string) *DatabaseAPI
- func (api *DatabaseAPI) IsDatabaseRunning(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) IsDown(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) IsUp(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) Limit(limit int) *DatabaseAPI
- func (api *DatabaseAPI) MonitorBackupDisk(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *DatabaseAPI) MonitorCPU(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *DatabaseAPI) MonitorDatabase(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *DatabaseAPI) MonitorInterface(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *DatabaseAPI) MonitorSystemDisk(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *DatabaseAPI) New(values *sacloud.CreateDatabaseValue) *sacloud.Database
- func (api DatabaseAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *DatabaseAPI) Offset(offset int) *DatabaseAPI
- func (api *DatabaseAPI) Read(id sacloud.ID) (*sacloud.Database, error)
- func (api *DatabaseAPI) RebootForce(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) Reset() *DatabaseAPI
- func (api *DatabaseAPI) ResetForce(id sacloud.ID, recycleProcess bool) (bool, error)
- func (api *DatabaseAPI) Restore(id sacloud.ID, backupID string) (string, error)
- func (api *DatabaseAPI) SetEmpty()
- func (api *DatabaseAPI) SetExclude(key string)
- func (api *DatabaseAPI) SetFilterBy(key string, value interface{})
- func (api *DatabaseAPI) SetFilterMultiBy(key string, value interface{})
- func (api *DatabaseAPI) SetInclude(key string)
- func (api *DatabaseAPI) SetLimit(limit int)
- func (api *DatabaseAPI) SetNameLike(name string)
- func (api *DatabaseAPI) SetOffset(offset int)
- func (api *DatabaseAPI) SetSortBy(key string, reverse bool)
- func (api *DatabaseAPI) SetSortByName(reverse bool)
- func (api *DatabaseAPI) SetTag(tag string)
- func (api *DatabaseAPI) SetTags(tags []string)
- func (api *DatabaseAPI) Shutdown(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) SleepUntilDatabaseRunning(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *DatabaseAPI) SleepUntilDown(id sacloud.ID, timeout time.Duration) error
- func (api *DatabaseAPI) SleepUntilUp(id sacloud.ID, timeout time.Duration) error
- func (api *DatabaseAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *DatabaseAPI) SortBy(key string, reverse bool) *DatabaseAPI
- func (api *DatabaseAPI) SortByName(reverse bool) *DatabaseAPI
- func (api *DatabaseAPI) Status(id sacloud.ID) (*sacloud.DatabaseStatus, error)
- func (api *DatabaseAPI) Stop(id sacloud.ID) (bool, error)
- func (api *DatabaseAPI) Update(id sacloud.ID, value *sacloud.Database) (*sacloud.Database, error)
- func (api *DatabaseAPI) UpdateSetting(id sacloud.ID, value *sacloud.Database) (*sacloud.Database, error)
- func (api *DatabaseAPI) WithNameLike(name string) *DatabaseAPI
- func (api *DatabaseAPI) WithTag(tag string) *DatabaseAPI
- func (api *DatabaseAPI) WithTags(tags []string) *DatabaseAPI
- type DiskAPI
- func (api *DiskAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration) (chan (interface{}), chan (interface{}), chan (error))
- func (api *DiskAPI) CanEditDisk(id sacloud.ID) (bool, error)
- func (api *DiskAPI) Config(id sacloud.ID, disk *sacloud.DiskEditValue) (bool, error)
- func (api *DiskAPI) ConnectToServer(diskID sacloud.ID, serverID sacloud.ID) (bool, error)
- func (api *DiskAPI) Create(value *sacloud.Disk) (*sacloud.Disk, error)
- func (api *DiskAPI) CreateWithConfig(value *sacloud.Disk, config *sacloud.DiskEditValue, bootAtAvailable bool) (*sacloud.Disk, error)
- func (api *DiskAPI) Delete(id sacloud.ID) (*sacloud.Disk, error)
- func (api *DiskAPI) DisconnectFromServer(diskID sacloud.ID) (bool, error)
- func (api *DiskAPI) Exclude(key string) *DiskAPI
- func (api *DiskAPI) FilterBy(key string, value interface{}) *DiskAPI
- func (api *DiskAPI) FilterMultiBy(key string, value interface{}) *DiskAPI
- func (api DiskAPI) Find() (*sacloud.SearchResponse, error)
- func (api *DiskAPI) GetPublicArchiveIDFromAncestors(id sacloud.ID) (sacloud.ID, bool)
- func (api *DiskAPI) Include(key string) *DiskAPI
- func (api *DiskAPI) Limit(limit int) *DiskAPI
- func (api *DiskAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *DiskAPI) New() *sacloud.Disk
- func (api *DiskAPI) NewCondig() *sacloud.DiskEditValue
- func (api DiskAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *DiskAPI) Offset(offset int) *DiskAPI
- func (api *DiskAPI) Read(id sacloud.ID) (*sacloud.Disk, error)
- func (api *DiskAPI) ReinstallFromArchive(id sacloud.ID, archiveID sacloud.ID, distantFrom ...sacloud.ID) (bool, error)
- func (api *DiskAPI) ReinstallFromBlank(id sacloud.ID, sizeMB int) (bool, error)
- func (api *DiskAPI) ReinstallFromDisk(id sacloud.ID, diskID sacloud.ID, distantFrom ...sacloud.ID) (bool, error)
- func (api *DiskAPI) Reset() *DiskAPI
- func (api *DiskAPI) ResizePartition(diskID sacloud.ID) (bool, error)
- func (api *DiskAPI) ResizePartitionBackground(diskID sacloud.ID) (bool, error)
- func (api *DiskAPI) SetEmpty()
- func (api *DiskAPI) SetExclude(key string)
- func (api *DiskAPI) SetFilterBy(key string, value interface{})
- func (api *DiskAPI) SetFilterMultiBy(key string, value interface{})
- func (api *DiskAPI) SetInclude(key string)
- func (api *DiskAPI) SetLimit(limit int)
- func (api *DiskAPI) SetNameLike(name string)
- func (api *DiskAPI) SetOffset(offset int)
- func (api *DiskAPI) SetSizeGib(size int)
- func (api *DiskAPI) SetSortBy(key string, reverse bool)
- func (api *DiskAPI) SetSortByName(reverse bool)
- func (api *DiskAPI) SetSortBySize(reverse bool)
- func (api *DiskAPI) SetTag(tag string)
- func (api *DiskAPI) SetTags(tags []string)
- func (api *DiskAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration) error
- func (api *DiskAPI) SortBy(key string, reverse bool) *DiskAPI
- func (api *DiskAPI) SortByConnectionOrder(reverse bool) *DiskAPI
- func (api *DiskAPI) SortByName(reverse bool) *DiskAPI
- func (api *DiskAPI) SortBySize(reverse bool) *DiskAPI
- func (api *DiskAPI) State(diskID sacloud.ID) (bool, error)
- func (api *DiskAPI) ToBlank(diskID sacloud.ID) (bool, error)
- func (api *DiskAPI) Update(id sacloud.ID, value *sacloud.Disk) (*sacloud.Disk, error)
- func (api *DiskAPI) WithNameLike(name string) *DiskAPI
- func (api *DiskAPI) WithServerID(id sacloud.ID) *DiskAPI
- func (api *DiskAPI) WithSizeGib(size int) *DiskAPI
- func (api *DiskAPI) WithTag(tag string) *DiskAPI
- func (api *DiskAPI) WithTags(tags []string) *DiskAPI
- type Error
- type FacilityAPI
- type GSLBAPI
- func (api *GSLBAPI) Create(value *sacloud.GSLB) (*sacloud.GSLB, error)
- func (api *GSLBAPI) Delete(id sacloud.ID) (*sacloud.GSLB, error)
- func (api *GSLBAPI) DeleteGSLBServer(gslbName string, ip string) error
- func (api *GSLBAPI) Exclude(key string) *GSLBAPI
- func (api *GSLBAPI) FilterBy(key string, value interface{}) *GSLBAPI
- func (api *GSLBAPI) FilterMultiBy(key string, value interface{}) *GSLBAPI
- func (api *GSLBAPI) Find() (*SearchGSLBResponse, error)
- func (api *GSLBAPI) Include(key string) *GSLBAPI
- func (api *GSLBAPI) Limit(limit int) *GSLBAPI
- func (api *GSLBAPI) New(name string) *sacloud.GSLB
- func (api GSLBAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *GSLBAPI) Offset(offset int) *GSLBAPI
- func (api *GSLBAPI) Read(id sacloud.ID) (*sacloud.GSLB, error)
- func (api *GSLBAPI) Reset() *GSLBAPI
- func (api *GSLBAPI) SetEmpty()
- func (api *GSLBAPI) SetExclude(key string)
- func (api *GSLBAPI) SetFilterBy(key string, value interface{})
- func (api *GSLBAPI) SetFilterMultiBy(key string, value interface{})
- func (api *GSLBAPI) SetInclude(key string)
- func (api *GSLBAPI) SetLimit(limit int)
- func (api *GSLBAPI) SetNameLike(name string)
- func (api *GSLBAPI) SetOffset(offset int)
- func (api *GSLBAPI) SetSortBy(key string, reverse bool)
- func (api *GSLBAPI) SetSortByName(reverse bool)
- func (api *GSLBAPI) SetTag(tag string)
- func (api *GSLBAPI) SetTags(tags []string)
- func (api *GSLBAPI) SetupGSLBRecord(gslbName string, ip string) ([]string, error)
- func (api *GSLBAPI) SortBy(key string, reverse bool) *GSLBAPI
- func (api *GSLBAPI) SortByName(reverse bool) *GSLBAPI
- func (api *GSLBAPI) Update(id sacloud.ID, value *sacloud.GSLB) (*sacloud.GSLB, error)
- func (api *GSLBAPI) WithNameLike(name string) *GSLBAPI
- func (api *GSLBAPI) WithTag(tag string) *GSLBAPI
- func (api *GSLBAPI) WithTags(tags []string) *GSLBAPI
- type IPAddressAPI
- func (api *IPAddressAPI) Exclude(key string) *IPAddressAPI
- func (api *IPAddressAPI) FilterBy(key string, value interface{}) *IPAddressAPI
- func (api *IPAddressAPI) FilterMultiBy(key string, value interface{}) *IPAddressAPI
- func (api IPAddressAPI) Find() (*sacloud.SearchResponse, error)
- func (api *IPAddressAPI) Include(key string) *IPAddressAPI
- func (api *IPAddressAPI) Limit(limit int) *IPAddressAPI
- func (api IPAddressAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *IPAddressAPI) Offset(offset int) *IPAddressAPI
- func (api *IPAddressAPI) Read(ip string) (*sacloud.IPAddress, error)
- func (api *IPAddressAPI) Reset() *IPAddressAPI
- func (api *IPAddressAPI) SetEmpty()
- func (api *IPAddressAPI) SetExclude(key string)
- func (api *IPAddressAPI) SetFilterBy(key string, value interface{})
- func (api *IPAddressAPI) SetFilterMultiBy(key string, value interface{})
- func (api *IPAddressAPI) SetInclude(key string)
- func (api *IPAddressAPI) SetLimit(limit int)
- func (api *IPAddressAPI) SetOffset(offset int)
- func (api *IPAddressAPI) SetSortBy(key string, reverse bool)
- func (api *IPAddressAPI) SortBy(key string, reverse bool) *IPAddressAPI
- func (api *IPAddressAPI) Update(ip string, hostName string) (*sacloud.IPAddress, error)
- type IPv6AddrAPI
- func (api *IPv6AddrAPI) Create(ip string, hostName string) (*sacloud.IPv6Addr, error)
- func (api *IPv6AddrAPI) Delete(ip string) (*sacloud.IPv6Addr, error)
- func (api *IPv6AddrAPI) Exclude(key string) *IPv6AddrAPI
- func (api *IPv6AddrAPI) FilterBy(key string, value interface{}) *IPv6AddrAPI
- func (api *IPv6AddrAPI) FilterMultiBy(key string, value interface{}) *IPv6AddrAPI
- func (api IPv6AddrAPI) Find() (*sacloud.SearchResponse, error)
- func (api *IPv6AddrAPI) Include(key string) *IPv6AddrAPI
- func (api *IPv6AddrAPI) Limit(limit int) *IPv6AddrAPI
- func (api *IPv6AddrAPI) New() *sacloud.IPv6Addr
- func (api IPv6AddrAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *IPv6AddrAPI) Offset(offset int) *IPv6AddrAPI
- func (api *IPv6AddrAPI) Read(ip string) (*sacloud.IPv6Addr, error)
- func (api *IPv6AddrAPI) Reset() *IPv6AddrAPI
- func (api *IPv6AddrAPI) SetEmpty()
- func (api *IPv6AddrAPI) SetExclude(key string)
- func (api *IPv6AddrAPI) SetFilterBy(key string, value interface{})
- func (api *IPv6AddrAPI) SetFilterMultiBy(key string, value interface{})
- func (api *IPv6AddrAPI) SetInclude(key string)
- func (api *IPv6AddrAPI) SetLimit(limit int)
- func (api *IPv6AddrAPI) SetOffset(offset int)
- func (api *IPv6AddrAPI) SetSortBy(key string, reverse bool)
- func (api *IPv6AddrAPI) SortBy(key string, reverse bool) *IPv6AddrAPI
- func (api *IPv6AddrAPI) Update(ip string, hostName string) (*sacloud.IPv6Addr, error)
- type IPv6NetAPI
- func (api *IPv6NetAPI) Exclude(key string) *IPv6NetAPI
- func (api *IPv6NetAPI) FilterBy(key string, value interface{}) *IPv6NetAPI
- func (api *IPv6NetAPI) FilterMultiBy(key string, value interface{}) *IPv6NetAPI
- func (api IPv6NetAPI) Find() (*sacloud.SearchResponse, error)
- func (api *IPv6NetAPI) Include(key string) *IPv6NetAPI
- func (api *IPv6NetAPI) Limit(limit int) *IPv6NetAPI
- func (api IPv6NetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *IPv6NetAPI) Offset(offset int) *IPv6NetAPI
- func (api *IPv6NetAPI) Read(id sacloud.ID) (*sacloud.IPv6Net, error)
- func (api *IPv6NetAPI) Reset() *IPv6NetAPI
- func (api *IPv6NetAPI) SetEmpty()
- func (api *IPv6NetAPI) SetExclude(key string)
- func (api *IPv6NetAPI) SetFilterBy(key string, value interface{})
- func (api *IPv6NetAPI) SetFilterMultiBy(key string, value interface{})
- func (api *IPv6NetAPI) SetInclude(key string)
- func (api *IPv6NetAPI) SetLimit(limit int)
- func (api *IPv6NetAPI) SetOffset(offset int)
- func (api *IPv6NetAPI) SetSortBy(key string, reverse bool)
- func (api *IPv6NetAPI) SortBy(key string, reverse bool) *IPv6NetAPI
- type IconAPI
- func (api *IconAPI) Create(value *sacloud.Icon) (*sacloud.Icon, error)
- func (api *IconAPI) Delete(id sacloud.ID) (*sacloud.Icon, error)
- func (api *IconAPI) Exclude(key string) *IconAPI
- func (api *IconAPI) FilterBy(key string, value interface{}) *IconAPI
- func (api *IconAPI) FilterMultiBy(key string, value interface{}) *IconAPI
- func (api IconAPI) Find() (*sacloud.SearchResponse, error)
- func (api *IconAPI) GetImage(id sacloud.ID, size string) (*sacloud.Image, error)
- func (api *IconAPI) Include(key string) *IconAPI
- func (api *IconAPI) Limit(limit int) *IconAPI
- func (api *IconAPI) New() *sacloud.Icon
- func (api IconAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *IconAPI) Offset(offset int) *IconAPI
- func (api *IconAPI) Read(id sacloud.ID) (*sacloud.Icon, error)
- func (api *IconAPI) Reset() *IconAPI
- func (api *IconAPI) SetEmpty()
- func (api *IconAPI) SetExclude(key string)
- func (api *IconAPI) SetFilterBy(key string, value interface{})
- func (api *IconAPI) SetFilterMultiBy(key string, value interface{})
- func (api *IconAPI) SetInclude(key string)
- func (api *IconAPI) SetLimit(limit int)
- func (api *IconAPI) SetNameLike(name string)
- func (api *IconAPI) SetOffset(offset int)
- func (api *IconAPI) SetSharedScope()
- func (api *IconAPI) SetSortBy(key string, reverse bool)
- func (api *IconAPI) SetSortByName(reverse bool)
- func (api *IconAPI) SetTag(tag string)
- func (api *IconAPI) SetTags(tags []string)
- func (api *IconAPI) SetUserScope()
- func (api *IconAPI) SortBy(key string, reverse bool) *IconAPI
- func (api *IconAPI) SortByName(reverse bool) *IconAPI
- func (api *IconAPI) Update(id sacloud.ID, value *sacloud.Icon) (*sacloud.Icon, error)
- func (api *IconAPI) WithNameLike(name string) *IconAPI
- func (api *IconAPI) WithSharedScope() *IconAPI
- func (api *IconAPI) WithTag(tag string) *IconAPI
- func (api *IconAPI) WithTags(tags []string) *IconAPI
- func (api *IconAPI) WithUserScope() *IconAPI
- type InterfaceAPI
- func (api *InterfaceAPI) ConnectToPacketFilter(interfaceID sacloud.ID, packetFilterID sacloud.ID) (bool, error)
- func (api *InterfaceAPI) ConnectToSharedSegment(interfaceID sacloud.ID) (bool, error)
- func (api *InterfaceAPI) ConnectToSwitch(interfaceID sacloud.ID, switchID sacloud.ID) (bool, error)
- func (api *InterfaceAPI) Create(value *sacloud.Interface) (*sacloud.Interface, error)
- func (api *InterfaceAPI) CreateAndConnectToServer(serverID sacloud.ID) (*sacloud.Interface, error)
- func (api *InterfaceAPI) Delete(id sacloud.ID) (*sacloud.Interface, error)
- func (api *InterfaceAPI) DeleteDisplayIPAddress(interfaceID sacloud.ID) (bool, error)
- func (api *InterfaceAPI) DisconnectFromPacketFilter(interfaceID sacloud.ID) (bool, error)
- func (api *InterfaceAPI) DisconnectFromSwitch(interfaceID sacloud.ID) (bool, error)
- func (api *InterfaceAPI) Exclude(key string) *InterfaceAPI
- func (api *InterfaceAPI) FilterBy(key string, value interface{}) *InterfaceAPI
- func (api *InterfaceAPI) FilterMultiBy(key string, value interface{}) *InterfaceAPI
- func (api InterfaceAPI) Find() (*sacloud.SearchResponse, error)
- func (api *InterfaceAPI) Include(key string) *InterfaceAPI
- func (api *InterfaceAPI) Limit(limit int) *InterfaceAPI
- func (api *InterfaceAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *InterfaceAPI) New() *sacloud.Interface
- func (api InterfaceAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *InterfaceAPI) Offset(offset int) *InterfaceAPI
- func (api *InterfaceAPI) Read(id sacloud.ID) (*sacloud.Interface, error)
- func (api *InterfaceAPI) Reset() *InterfaceAPI
- func (api *InterfaceAPI) SetDisplayIPAddress(interfaceID sacloud.ID, ipaddress string) (bool, error)
- func (api *InterfaceAPI) SetEmpty()
- func (api *InterfaceAPI) SetExclude(key string)
- func (api *InterfaceAPI) SetFilterBy(key string, value interface{})
- func (api *InterfaceAPI) SetFilterMultiBy(key string, value interface{})
- func (api *InterfaceAPI) SetInclude(key string)
- func (api *InterfaceAPI) SetLimit(limit int)
- func (api *InterfaceAPI) SetNameLike(name string)
- func (api *InterfaceAPI) SetOffset(offset int)
- func (api *InterfaceAPI) SetSortBy(key string, reverse bool)
- func (api *InterfaceAPI) SetSortByName(reverse bool)
- func (api *InterfaceAPI) SetTag(tag string)
- func (api *InterfaceAPI) SetTags(tags []string)
- func (api *InterfaceAPI) SortBy(key string, reverse bool) *InterfaceAPI
- func (api *InterfaceAPI) SortByName(reverse bool) *InterfaceAPI
- func (api *InterfaceAPI) Update(id sacloud.ID, value *sacloud.Interface) (*sacloud.Interface, error)
- func (api *InterfaceAPI) WithNameLike(name string) *InterfaceAPI
- func (api *InterfaceAPI) WithTag(tag string) *InterfaceAPI
- func (api *InterfaceAPI) WithTags(tags []string) *InterfaceAPI
- type InternetAPI
- func (api *InternetAPI) AddSubnet(id sacloud.ID, nwMaskLen int, nextHop string) (*sacloud.Subnet, error)
- func (api *InternetAPI) Create(value *sacloud.Internet) (*sacloud.Internet, error)
- func (api *InternetAPI) Delete(id sacloud.ID) (*sacloud.Internet, error)
- func (api *InternetAPI) DeleteSubnet(id sacloud.ID, subnetID sacloud.ID) (*sacloud.ResultFlagValue, error)
- func (api *InternetAPI) DisableIPv6(id sacloud.ID, ipv6NetID sacloud.ID) (bool, error)
- func (api *InternetAPI) EnableIPv6(id sacloud.ID) (*sacloud.IPv6Net, error)
- func (api *InternetAPI) Exclude(key string) *InternetAPI
- func (api *InternetAPI) FilterBy(key string, value interface{}) *InternetAPI
- func (api *InternetAPI) FilterMultiBy(key string, value interface{}) *InternetAPI
- func (api InternetAPI) Find() (*sacloud.SearchResponse, error)
- func (api *InternetAPI) Include(key string) *InternetAPI
- func (api *InternetAPI) Limit(limit int) *InternetAPI
- func (api *InternetAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *InternetAPI) New() *sacloud.Internet
- func (api InternetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *InternetAPI) Offset(offset int) *InternetAPI
- func (api *InternetAPI) Read(id sacloud.ID) (*sacloud.Internet, error)
- func (api *InternetAPI) Reset() *InternetAPI
- func (api *InternetAPI) RetrySleepWhileCreating(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *InternetAPI) SetEmpty()
- func (api *InternetAPI) SetExclude(key string)
- func (api *InternetAPI) SetFilterBy(key string, value interface{})
- func (api *InternetAPI) SetFilterMultiBy(key string, value interface{})
- func (api *InternetAPI) SetInclude(key string)
- func (api *InternetAPI) SetLimit(limit int)
- func (api *InternetAPI) SetNameLike(name string)
- func (api *InternetAPI) SetOffset(offset int)
- func (api *InternetAPI) SetSortBy(key string, reverse bool)
- func (api *InternetAPI) SetSortByName(reverse bool)
- func (api *InternetAPI) SetTag(tag string)
- func (api *InternetAPI) SetTags(tags []string)
- func (api *InternetAPI) SleepWhileCreating(id sacloud.ID, timeout time.Duration) error
- func (api *InternetAPI) SortBy(key string, reverse bool) *InternetAPI
- func (api *InternetAPI) SortByName(reverse bool) *InternetAPI
- func (api *InternetAPI) Update(id sacloud.ID, value *sacloud.Internet) (*sacloud.Internet, error)
- func (api *InternetAPI) UpdateBandWidth(id sacloud.ID, bandWidth int) (*sacloud.Internet, error)
- func (api *InternetAPI) UpdateSubnet(id sacloud.ID, subnetID sacloud.ID, nextHop string) (*sacloud.Subnet, error)
- func (api *InternetAPI) WithNameLike(name string) *InternetAPI
- func (api *InternetAPI) WithTag(tag string) *InternetAPI
- func (api *InternetAPI) WithTags(tags []string) *InternetAPI
- type LicenseAPI
- func (api *LicenseAPI) Create(value *sacloud.License) (*sacloud.License, error)
- func (api *LicenseAPI) Delete(id sacloud.ID) (*sacloud.License, error)
- func (api *LicenseAPI) Exclude(key string) *LicenseAPI
- func (api *LicenseAPI) FilterBy(key string, value interface{}) *LicenseAPI
- func (api *LicenseAPI) FilterMultiBy(key string, value interface{}) *LicenseAPI
- func (api LicenseAPI) Find() (*sacloud.SearchResponse, error)
- func (api *LicenseAPI) Include(key string) *LicenseAPI
- func (api *LicenseAPI) Limit(limit int) *LicenseAPI
- func (api *LicenseAPI) New() *sacloud.License
- func (api LicenseAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *LicenseAPI) Offset(offset int) *LicenseAPI
- func (api *LicenseAPI) Read(id sacloud.ID) (*sacloud.License, error)
- func (api *LicenseAPI) Reset() *LicenseAPI
- func (api *LicenseAPI) SetEmpty()
- func (api *LicenseAPI) SetExclude(key string)
- func (api *LicenseAPI) SetFilterBy(key string, value interface{})
- func (api *LicenseAPI) SetFilterMultiBy(key string, value interface{})
- func (api *LicenseAPI) SetInclude(key string)
- func (api *LicenseAPI) SetLimit(limit int)
- func (api *LicenseAPI) SetNameLike(name string)
- func (api *LicenseAPI) SetOffset(offset int)
- func (api *LicenseAPI) SetSortBy(key string, reverse bool)
- func (api *LicenseAPI) SetSortByName(reverse bool)
- func (api *LicenseAPI) SetTag(tag string)
- func (api *LicenseAPI) SetTags(tags []string)
- func (api *LicenseAPI) SortBy(key string, reverse bool) *LicenseAPI
- func (api *LicenseAPI) SortByName(reverse bool) *LicenseAPI
- func (api *LicenseAPI) Update(id sacloud.ID, value *sacloud.License) (*sacloud.License, error)
- func (api *LicenseAPI) WithNameLike(name string) *LicenseAPI
- func (api *LicenseAPI) WithTag(tag string) *LicenseAPI
- func (api *LicenseAPI) WithTags(tags []string) *LicenseAPI
- type LoadBalancerAPI
- func (api *LoadBalancerAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
- func (api *LoadBalancerAPI) Boot(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) Config(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) Create(value *sacloud.LoadBalancer) (*sacloud.LoadBalancer, error)
- func (api *LoadBalancerAPI) Delete(id sacloud.ID) (*sacloud.LoadBalancer, error)
- func (api *LoadBalancerAPI) Exclude(key string) *LoadBalancerAPI
- func (api *LoadBalancerAPI) FilterBy(key string, value interface{}) *LoadBalancerAPI
- func (api *LoadBalancerAPI) FilterMultiBy(key string, value interface{}) *LoadBalancerAPI
- func (api *LoadBalancerAPI) Find() (*SearchLoadBalancerResponse, error)
- func (api *LoadBalancerAPI) Include(key string) *LoadBalancerAPI
- func (api *LoadBalancerAPI) IsDown(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) IsUp(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) Limit(limit int) *LoadBalancerAPI
- func (api *LoadBalancerAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api LoadBalancerAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *LoadBalancerAPI) Offset(offset int) *LoadBalancerAPI
- func (api *LoadBalancerAPI) Read(id sacloud.ID) (*sacloud.LoadBalancer, error)
- func (api *LoadBalancerAPI) RebootForce(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) Reset() *LoadBalancerAPI
- func (api *LoadBalancerAPI) ResetForce(id sacloud.ID, recycleProcess bool) (bool, error)
- func (api *LoadBalancerAPI) SetEmpty()
- func (api *LoadBalancerAPI) SetExclude(key string)
- func (api *LoadBalancerAPI) SetFilterBy(key string, value interface{})
- func (api *LoadBalancerAPI) SetFilterMultiBy(key string, value interface{})
- func (api *LoadBalancerAPI) SetInclude(key string)
- func (api *LoadBalancerAPI) SetLimit(limit int)
- func (api *LoadBalancerAPI) SetNameLike(name string)
- func (api *LoadBalancerAPI) SetOffset(offset int)
- func (api *LoadBalancerAPI) SetSortBy(key string, reverse bool)
- func (api *LoadBalancerAPI) SetSortByName(reverse bool)
- func (api *LoadBalancerAPI) SetTag(tag string)
- func (api *LoadBalancerAPI) SetTags(tags []string)
- func (api *LoadBalancerAPI) Shutdown(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) SleepUntilDown(id sacloud.ID, timeout time.Duration) error
- func (api *LoadBalancerAPI) SleepUntilUp(id sacloud.ID, timeout time.Duration) error
- func (api *LoadBalancerAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *LoadBalancerAPI) SortBy(key string, reverse bool) *LoadBalancerAPI
- func (api *LoadBalancerAPI) SortByName(reverse bool) *LoadBalancerAPI
- func (api *LoadBalancerAPI) Status(id sacloud.ID) (*sacloud.LoadBalancerStatusResult, error)
- func (api *LoadBalancerAPI) Stop(id sacloud.ID) (bool, error)
- func (api *LoadBalancerAPI) Update(id sacloud.ID, value *sacloud.LoadBalancer) (*sacloud.LoadBalancer, error)
- func (api *LoadBalancerAPI) WithNameLike(name string) *LoadBalancerAPI
- func (api *LoadBalancerAPI) WithTag(tag string) *LoadBalancerAPI
- func (api *LoadBalancerAPI) WithTags(tags []string) *LoadBalancerAPI
- type MobileGatewayAPI
- func (api *MobileGatewayAPI) AddSIM(id sacloud.ID, simID sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) AddSIMRoute(id sacloud.ID, simID sacloud.ID, prefix string) (bool, error)
- func (api *MobileGatewayAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
- func (api *MobileGatewayAPI) Boot(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) Config(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) ConnectToSwitch(id sacloud.ID, switchID sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) Create(value *sacloud.MobileGateway) (*sacloud.MobileGateway, error)
- func (api *MobileGatewayAPI) Delete(id sacloud.ID) (*sacloud.MobileGateway, error)
- func (api *MobileGatewayAPI) DeleteSIM(id sacloud.ID, simID sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) DeleteSIMRoute(id sacloud.ID, simID sacloud.ID, prefix string) (bool, error)
- func (api *MobileGatewayAPI) DeleteSIMRoutes(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) DisableTrafficMonitoringConfig(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) DisconnectFromSwitch(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) Exclude(key string) *MobileGatewayAPI
- func (api *MobileGatewayAPI) FilterBy(key string, value interface{}) *MobileGatewayAPI
- func (api *MobileGatewayAPI) FilterMultiBy(key string, value interface{}) *MobileGatewayAPI
- func (api *MobileGatewayAPI) Find() (*SearchMobileGatewayResponse, error)
- func (api *MobileGatewayAPI) GetDNS(id sacloud.ID) (*sacloud.MobileGatewayResolver, error)
- func (api *MobileGatewayAPI) GetSIMRoutes(id sacloud.ID) ([]*sacloud.MobileGatewaySIMRoute, error)
- func (api *MobileGatewayAPI) GetTrafficMonitoringConfig(id sacloud.ID) (*sacloud.TrafficMonitoringConfig, error)
- func (api *MobileGatewayAPI) GetTrafficStatus(id sacloud.ID) (*sacloud.TrafficStatus, error)
- func (api *MobileGatewayAPI) Include(key string) *MobileGatewayAPI
- func (api *MobileGatewayAPI) IsDown(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) IsUp(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) Limit(limit int) *MobileGatewayAPI
- func (api *MobileGatewayAPI) ListSIM(id sacloud.ID, req *MobileGatewaySIMRequest) ([]sacloud.SIMInfo, error)
- func (api *MobileGatewayAPI) Logs(id sacloud.ID, body interface{}) ([]sacloud.SIMLog, error)
- func (api *MobileGatewayAPI) MonitorBy(id sacloud.ID, nicIndex int, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api MobileGatewayAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *MobileGatewayAPI) Offset(offset int) *MobileGatewayAPI
- func (api *MobileGatewayAPI) Read(id sacloud.ID) (*sacloud.MobileGateway, error)
- func (api *MobileGatewayAPI) RebootForce(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) Reset() *MobileGatewayAPI
- func (api *MobileGatewayAPI) ResetForce(id sacloud.ID, recycleProcess bool) (bool, error)
- func (api *MobileGatewayAPI) SetDNS(id sacloud.ID, dns *sacloud.MobileGatewayResolver) (bool, error)
- func (api *MobileGatewayAPI) SetEmpty()
- func (api *MobileGatewayAPI) SetExclude(key string)
- func (api *MobileGatewayAPI) SetFilterBy(key string, value interface{})
- func (api *MobileGatewayAPI) SetFilterMultiBy(key string, value interface{})
- func (api *MobileGatewayAPI) SetInclude(key string)
- func (api *MobileGatewayAPI) SetLimit(limit int)
- func (api *MobileGatewayAPI) SetNameLike(name string)
- func (api *MobileGatewayAPI) SetOffset(offset int)
- func (api *MobileGatewayAPI) SetSIMRoutes(id sacloud.ID, simRoutes *sacloud.MobileGatewaySIMRoutes) (bool, error)
- func (api *MobileGatewayAPI) SetSortBy(key string, reverse bool)
- func (api *MobileGatewayAPI) SetSortByName(reverse bool)
- func (api *MobileGatewayAPI) SetTag(tag string)
- func (api *MobileGatewayAPI) SetTags(tags []string)
- func (api *MobileGatewayAPI) SetTrafficMonitoringConfig(id sacloud.ID, trafficMonConfig *sacloud.TrafficMonitoringConfig) (bool, error)
- func (api *MobileGatewayAPI) Shutdown(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) SleepUntilDown(id sacloud.ID, timeout time.Duration) error
- func (api *MobileGatewayAPI) SleepUntilUp(id sacloud.ID, timeout time.Duration) error
- func (api *MobileGatewayAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *MobileGatewayAPI) SortBy(key string, reverse bool) *MobileGatewayAPI
- func (api *MobileGatewayAPI) SortByName(reverse bool) *MobileGatewayAPI
- func (api *MobileGatewayAPI) Stop(id sacloud.ID) (bool, error)
- func (api *MobileGatewayAPI) Update(id sacloud.ID, value *sacloud.MobileGateway) (*sacloud.MobileGateway, error)
- func (api *MobileGatewayAPI) UpdateSetting(id sacloud.ID, value *sacloud.MobileGateway) (*sacloud.MobileGateway, error)
- func (api *MobileGatewayAPI) WithNameLike(name string) *MobileGatewayAPI
- func (api *MobileGatewayAPI) WithTag(tag string) *MobileGatewayAPI
- func (api *MobileGatewayAPI) WithTags(tags []string) *MobileGatewayAPI
- type MobileGatewaySIMRequest
- type NFSAPI
- func (api *NFSAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
- func (api *NFSAPI) Boot(id sacloud.ID) (bool, error)
- func (api *NFSAPI) Config(id sacloud.ID) (bool, error)
- func (api *NFSAPI) Create(value *sacloud.NFS) (*sacloud.NFS, error)
- func (api *NFSAPI) CreateWithPlan(value *sacloud.CreateNFSValue, plan sacloud.NFSPlan, size sacloud.NFSSize) (*sacloud.NFS, error)
- func (api *NFSAPI) Delete(id sacloud.ID) (*sacloud.NFS, error)
- func (api *NFSAPI) Exclude(key string) *NFSAPI
- func (api *NFSAPI) FilterBy(key string, value interface{}) *NFSAPI
- func (api *NFSAPI) FilterMultiBy(key string, value interface{}) *NFSAPI
- func (api *NFSAPI) Find() (*SearchNFSResponse, error)
- func (api *NFSAPI) GetNFSPlans() (*sacloud.NFSPlans, error)
- func (api *NFSAPI) Include(key string) *NFSAPI
- func (api *NFSAPI) IsDown(id sacloud.ID) (bool, error)
- func (api *NFSAPI) IsUp(id sacloud.ID) (bool, error)
- func (api *NFSAPI) Limit(limit int) *NFSAPI
- func (api *NFSAPI) MonitorFreeDiskSize(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *NFSAPI) MonitorInterface(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api NFSAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *NFSAPI) Offset(offset int) *NFSAPI
- func (api *NFSAPI) Read(id sacloud.ID) (*sacloud.NFS, error)
- func (api *NFSAPI) RebootForce(id sacloud.ID) (bool, error)
- func (api *NFSAPI) Reset() *NFSAPI
- func (api *NFSAPI) ResetForce(id sacloud.ID, recycleProcess bool) (bool, error)
- func (api *NFSAPI) SetEmpty()
- func (api *NFSAPI) SetExclude(key string)
- func (api *NFSAPI) SetFilterBy(key string, value interface{})
- func (api *NFSAPI) SetFilterMultiBy(key string, value interface{})
- func (api *NFSAPI) SetInclude(key string)
- func (api *NFSAPI) SetLimit(limit int)
- func (api *NFSAPI) SetNameLike(name string)
- func (api *NFSAPI) SetOffset(offset int)
- func (api *NFSAPI) SetSortBy(key string, reverse bool)
- func (api *NFSAPI) SetSortByName(reverse bool)
- func (api *NFSAPI) SetTag(tag string)
- func (api *NFSAPI) SetTags(tags []string)
- func (api *NFSAPI) Shutdown(id sacloud.ID) (bool, error)
- func (api *NFSAPI) SleepUntilDown(id sacloud.ID, timeout time.Duration) error
- func (api *NFSAPI) SleepUntilUp(id sacloud.ID, timeout time.Duration) error
- func (api *NFSAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *NFSAPI) SortBy(key string, reverse bool) *NFSAPI
- func (api *NFSAPI) SortByName(reverse bool) *NFSAPI
- func (api *NFSAPI) Stop(id sacloud.ID) (bool, error)
- func (api *NFSAPI) Update(id sacloud.ID, value *sacloud.NFS) (*sacloud.NFS, error)
- func (api *NFSAPI) WithNameLike(name string) *NFSAPI
- func (api *NFSAPI) WithTag(tag string) *NFSAPI
- func (api *NFSAPI) WithTags(tags []string) *NFSAPI
- type NewsFeedAPI
- type NoteAPI
- func (api *NoteAPI) Create(value *sacloud.Note) (*sacloud.Note, error)
- func (api *NoteAPI) Delete(id sacloud.ID) (*sacloud.Note, error)
- func (api *NoteAPI) Exclude(key string) *NoteAPI
- func (api *NoteAPI) FilterBy(key string, value interface{}) *NoteAPI
- func (api *NoteAPI) FilterMultiBy(key string, value interface{}) *NoteAPI
- func (api NoteAPI) Find() (*sacloud.SearchResponse, error)
- func (api *NoteAPI) Include(key string) *NoteAPI
- func (api *NoteAPI) Limit(limit int) *NoteAPI
- func (api *NoteAPI) New() *sacloud.Note
- func (api NoteAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *NoteAPI) Offset(offset int) *NoteAPI
- func (api *NoteAPI) Read(id sacloud.ID) (*sacloud.Note, error)
- func (api *NoteAPI) Reset() *NoteAPI
- func (api *NoteAPI) SetEmpty()
- func (api *NoteAPI) SetExclude(key string)
- func (api *NoteAPI) SetFilterBy(key string, value interface{})
- func (api *NoteAPI) SetFilterMultiBy(key string, value interface{})
- func (api *NoteAPI) SetInclude(key string)
- func (api *NoteAPI) SetLimit(limit int)
- func (api *NoteAPI) SetNameLike(name string)
- func (api *NoteAPI) SetOffset(offset int)
- func (api *NoteAPI) SetSharedScope()
- func (api *NoteAPI) SetSortBy(key string, reverse bool)
- func (api *NoteAPI) SetSortByName(reverse bool)
- func (api *NoteAPI) SetTag(tag string)
- func (api *NoteAPI) SetTags(tags []string)
- func (api *NoteAPI) SetUserScope()
- func (api *NoteAPI) SortBy(key string, reverse bool) *NoteAPI
- func (api *NoteAPI) SortByName(reverse bool) *NoteAPI
- func (api *NoteAPI) Update(id sacloud.ID, value *sacloud.Note) (*sacloud.Note, error)
- func (api *NoteAPI) WithNameLike(name string) *NoteAPI
- func (api *NoteAPI) WithSharedScope() *NoteAPI
- func (api *NoteAPI) WithTag(tag string) *NoteAPI
- func (api *NoteAPI) WithTags(tags []string) *NoteAPI
- func (api *NoteAPI) WithUserScope() *NoteAPI
- type PacketFilterAPI
- func (api *PacketFilterAPI) Create(value *sacloud.PacketFilter) (*sacloud.PacketFilter, error)
- func (api *PacketFilterAPI) Delete(id sacloud.ID) (*sacloud.PacketFilter, error)
- func (api *PacketFilterAPI) Exclude(key string) *PacketFilterAPI
- func (api *PacketFilterAPI) FilterBy(key string, value interface{}) *PacketFilterAPI
- func (api *PacketFilterAPI) FilterMultiBy(key string, value interface{}) *PacketFilterAPI
- func (api PacketFilterAPI) Find() (*sacloud.SearchResponse, error)
- func (api *PacketFilterAPI) Include(key string) *PacketFilterAPI
- func (api *PacketFilterAPI) Limit(limit int) *PacketFilterAPI
- func (api *PacketFilterAPI) New() *sacloud.PacketFilter
- func (api PacketFilterAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *PacketFilterAPI) Offset(offset int) *PacketFilterAPI
- func (api *PacketFilterAPI) Read(id sacloud.ID) (*sacloud.PacketFilter, error)
- func (api *PacketFilterAPI) Reset() *PacketFilterAPI
- func (api *PacketFilterAPI) SetEmpty()
- func (api *PacketFilterAPI) SetExclude(key string)
- func (api *PacketFilterAPI) SetFilterBy(key string, value interface{})
- func (api *PacketFilterAPI) SetFilterMultiBy(key string, value interface{})
- func (api *PacketFilterAPI) SetInclude(key string)
- func (api *PacketFilterAPI) SetLimit(limit int)
- func (api *PacketFilterAPI) SetNameLike(name string)
- func (api *PacketFilterAPI) SetOffset(offset int)
- func (api *PacketFilterAPI) SetSortBy(key string, reverse bool)
- func (api *PacketFilterAPI) SetSortByName(reverse bool)
- func (api *PacketFilterAPI) SetTag(tag string)
- func (api *PacketFilterAPI) SetTags(tags []string)
- func (api *PacketFilterAPI) SortBy(key string, reverse bool) *PacketFilterAPI
- func (api *PacketFilterAPI) SortByName(reverse bool) *PacketFilterAPI
- func (api *PacketFilterAPI) Update(id sacloud.ID, value *sacloud.PacketFilter) (*sacloud.PacketFilter, error)
- func (api *PacketFilterAPI) WithNameLike(name string) *PacketFilterAPI
- func (api *PacketFilterAPI) WithTag(tag string) *PacketFilterAPI
- func (api *PacketFilterAPI) WithTags(tags []string) *PacketFilterAPI
- type PrivateHostAPI
- func (api *PrivateHostAPI) Create(value *sacloud.PrivateHost) (*sacloud.PrivateHost, error)
- func (api *PrivateHostAPI) Delete(id sacloud.ID) (*sacloud.PrivateHost, error)
- func (api *PrivateHostAPI) Exclude(key string) *PrivateHostAPI
- func (api *PrivateHostAPI) FilterBy(key string, value interface{}) *PrivateHostAPI
- func (api *PrivateHostAPI) FilterMultiBy(key string, value interface{}) *PrivateHostAPI
- func (api PrivateHostAPI) Find() (*sacloud.SearchResponse, error)
- func (api *PrivateHostAPI) Include(key string) *PrivateHostAPI
- func (api *PrivateHostAPI) Limit(limit int) *PrivateHostAPI
- func (api *PrivateHostAPI) New() *sacloud.PrivateHost
- func (api PrivateHostAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *PrivateHostAPI) Offset(offset int) *PrivateHostAPI
- func (api *PrivateHostAPI) Read(id sacloud.ID) (*sacloud.PrivateHost, error)
- func (api *PrivateHostAPI) Reset() *PrivateHostAPI
- func (api *PrivateHostAPI) SetEmpty()
- func (api *PrivateHostAPI) SetExclude(key string)
- func (api *PrivateHostAPI) SetFilterBy(key string, value interface{})
- func (api *PrivateHostAPI) SetFilterMultiBy(key string, value interface{})
- func (api *PrivateHostAPI) SetInclude(key string)
- func (api *PrivateHostAPI) SetLimit(limit int)
- func (api *PrivateHostAPI) SetNameLike(name string)
- func (api *PrivateHostAPI) SetOffset(offset int)
- func (api *PrivateHostAPI) SetSortBy(key string, reverse bool)
- func (api *PrivateHostAPI) SetSortByName(reverse bool)
- func (api *PrivateHostAPI) SetTag(tag string)
- func (api *PrivateHostAPI) SetTags(tags []string)
- func (api *PrivateHostAPI) SortBy(key string, reverse bool) *PrivateHostAPI
- func (api *PrivateHostAPI) SortByName(reverse bool) *PrivateHostAPI
- func (api *PrivateHostAPI) Update(id sacloud.ID, value *sacloud.PrivateHost) (*sacloud.PrivateHost, error)
- func (api *PrivateHostAPI) WithNameLike(name string) *PrivateHostAPI
- func (api *PrivateHostAPI) WithTag(tag string) *PrivateHostAPI
- func (api *PrivateHostAPI) WithTags(tags []string) *PrivateHostAPI
- type ProductAPI
- func (api *ProductAPI) GetProductDiskAPI() *ProductDiskAPI
- func (api *ProductAPI) GetProductInternetAPI() *ProductInternetAPI
- func (api *ProductAPI) GetProductLicenseAPI() *ProductLicenseAPI
- func (api *ProductAPI) GetProductPrivateHostAPI() *ProductPrivateHostAPI
- func (api *ProductAPI) GetProductServerAPI() *ProductServerAPI
- func (api *ProductAPI) GetPublicPriceAPI() *PublicPriceAPI
- type ProductDiskAPI
- func (api *ProductDiskAPI) Exclude(key string) *ProductDiskAPI
- func (api *ProductDiskAPI) FilterBy(key string, value interface{}) *ProductDiskAPI
- func (api *ProductDiskAPI) FilterMultiBy(key string, value interface{}) *ProductDiskAPI
- func (api ProductDiskAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ProductDiskAPI) Include(key string) *ProductDiskAPI
- func (api *ProductDiskAPI) Limit(limit int) *ProductDiskAPI
- func (api ProductDiskAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ProductDiskAPI) Offset(offset int) *ProductDiskAPI
- func (api *ProductDiskAPI) Read(id sacloud.ID) (*sacloud.ProductDisk, error)
- func (api *ProductDiskAPI) Reset() *ProductDiskAPI
- func (api *ProductDiskAPI) SetEmpty()
- func (api *ProductDiskAPI) SetExclude(key string)
- func (api *ProductDiskAPI) SetFilterBy(key string, value interface{})
- func (api *ProductDiskAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ProductDiskAPI) SetInclude(key string)
- func (api *ProductDiskAPI) SetLimit(limit int)
- func (api *ProductDiskAPI) SetNameLike(name string)
- func (api *ProductDiskAPI) SetOffset(offset int)
- func (api *ProductDiskAPI) SetSortBy(key string, reverse bool)
- func (api *ProductDiskAPI) SetSortByName(reverse bool)
- func (api *ProductDiskAPI) SetTag(tag string)
- func (api *ProductDiskAPI) SetTags(tags []string)
- func (api *ProductDiskAPI) SortBy(key string, reverse bool) *ProductDiskAPI
- func (api *ProductDiskAPI) SortByName(reverse bool) *ProductDiskAPI
- func (api *ProductDiskAPI) WithNameLike(name string) *ProductDiskAPI
- func (api *ProductDiskAPI) WithTag(tag string) *ProductDiskAPI
- func (api *ProductDiskAPI) WithTags(tags []string) *ProductDiskAPI
- type ProductInternetAPI
- func (api *ProductInternetAPI) Exclude(key string) *ProductInternetAPI
- func (api *ProductInternetAPI) FilterBy(key string, value interface{}) *ProductInternetAPI
- func (api *ProductInternetAPI) FilterMultiBy(key string, value interface{}) *ProductInternetAPI
- func (api ProductInternetAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ProductInternetAPI) Include(key string) *ProductInternetAPI
- func (api *ProductInternetAPI) Limit(limit int) *ProductInternetAPI
- func (api ProductInternetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ProductInternetAPI) Offset(offset int) *ProductInternetAPI
- func (api *ProductInternetAPI) Read(id sacloud.ID) (*sacloud.ProductInternet, error)
- func (api *ProductInternetAPI) Reset() *ProductInternetAPI
- func (api *ProductInternetAPI) SetEmpty()
- func (api *ProductInternetAPI) SetExclude(key string)
- func (api *ProductInternetAPI) SetFilterBy(key string, value interface{})
- func (api *ProductInternetAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ProductInternetAPI) SetInclude(key string)
- func (api *ProductInternetAPI) SetLimit(limit int)
- func (api *ProductInternetAPI) SetNameLike(name string)
- func (api *ProductInternetAPI) SetOffset(offset int)
- func (api *ProductInternetAPI) SetSortBy(key string, reverse bool)
- func (api *ProductInternetAPI) SetSortByName(reverse bool)
- func (api *ProductInternetAPI) SetTag(tag string)
- func (api *ProductInternetAPI) SetTags(tags []string)
- func (api *ProductInternetAPI) SortBy(key string, reverse bool) *ProductInternetAPI
- func (api *ProductInternetAPI) SortByName(reverse bool) *ProductInternetAPI
- func (api *ProductInternetAPI) WithNameLike(name string) *ProductInternetAPI
- func (api *ProductInternetAPI) WithTag(tag string) *ProductInternetAPI
- func (api *ProductInternetAPI) WithTags(tags []string) *ProductInternetAPI
- type ProductLicenseAPI
- func (api *ProductLicenseAPI) Exclude(key string) *ProductLicenseAPI
- func (api *ProductLicenseAPI) FilterBy(key string, value interface{}) *ProductLicenseAPI
- func (api *ProductLicenseAPI) FilterMultiBy(key string, value interface{}) *ProductLicenseAPI
- func (api ProductLicenseAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ProductLicenseAPI) Include(key string) *ProductLicenseAPI
- func (api *ProductLicenseAPI) Limit(limit int) *ProductLicenseAPI
- func (api ProductLicenseAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ProductLicenseAPI) Offset(offset int) *ProductLicenseAPI
- func (api *ProductLicenseAPI) Read(id sacloud.ID) (*sacloud.ProductLicense, error)
- func (api *ProductLicenseAPI) Reset() *ProductLicenseAPI
- func (api *ProductLicenseAPI) SetEmpty()
- func (api *ProductLicenseAPI) SetExclude(key string)
- func (api *ProductLicenseAPI) SetFilterBy(key string, value interface{})
- func (api *ProductLicenseAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ProductLicenseAPI) SetInclude(key string)
- func (api *ProductLicenseAPI) SetLimit(limit int)
- func (api *ProductLicenseAPI) SetNameLike(name string)
- func (api *ProductLicenseAPI) SetOffset(offset int)
- func (api *ProductLicenseAPI) SetSortBy(key string, reverse bool)
- func (api *ProductLicenseAPI) SetSortByName(reverse bool)
- func (api *ProductLicenseAPI) SetTag(tag string)
- func (api *ProductLicenseAPI) SetTags(tags []string)
- func (api *ProductLicenseAPI) SortBy(key string, reverse bool) *ProductLicenseAPI
- func (api *ProductLicenseAPI) SortByName(reverse bool) *ProductLicenseAPI
- func (api *ProductLicenseAPI) WithNameLike(name string) *ProductLicenseAPI
- func (api *ProductLicenseAPI) WithTag(tag string) *ProductLicenseAPI
- func (api *ProductLicenseAPI) WithTags(tags []string) *ProductLicenseAPI
- type ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) Exclude(key string) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) FilterBy(key string, value interface{}) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) FilterMultiBy(key string, value interface{}) *ProductPrivateHostAPI
- func (api ProductPrivateHostAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ProductPrivateHostAPI) Include(key string) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) Limit(limit int) *ProductPrivateHostAPI
- func (api ProductPrivateHostAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ProductPrivateHostAPI) Offset(offset int) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) Read(id sacloud.ID) (*sacloud.ProductPrivateHost, error)
- func (api *ProductPrivateHostAPI) Reset() *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) SetEmpty()
- func (api *ProductPrivateHostAPI) SetExclude(key string)
- func (api *ProductPrivateHostAPI) SetFilterBy(key string, value interface{})
- func (api *ProductPrivateHostAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ProductPrivateHostAPI) SetInclude(key string)
- func (api *ProductPrivateHostAPI) SetLimit(limit int)
- func (api *ProductPrivateHostAPI) SetNameLike(name string)
- func (api *ProductPrivateHostAPI) SetOffset(offset int)
- func (api *ProductPrivateHostAPI) SetSortBy(key string, reverse bool)
- func (api *ProductPrivateHostAPI) SetSortByName(reverse bool)
- func (api *ProductPrivateHostAPI) SetTag(tag string)
- func (api *ProductPrivateHostAPI) SetTags(tags []string)
- func (api *ProductPrivateHostAPI) SortBy(key string, reverse bool) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) SortByName(reverse bool) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) WithNameLike(name string) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) WithTag(tag string) *ProductPrivateHostAPI
- func (api *ProductPrivateHostAPI) WithTags(tags []string) *ProductPrivateHostAPI
- type ProductServerAPI
- func (api *ProductServerAPI) Exclude(key string) *ProductServerAPI
- func (api *ProductServerAPI) FilterBy(key string, value interface{}) *ProductServerAPI
- func (api *ProductServerAPI) FilterMultiBy(key string, value interface{}) *ProductServerAPI
- func (api ProductServerAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ProductServerAPI) GetBySpec(core, memGB int, gen sacloud.PlanGenerations) (*sacloud.ProductServer, error)
- func (api *ProductServerAPI) GetBySpecCommitment(core, memGB int, gen sacloud.PlanGenerations, commitment sacloud.ECommitment) (*sacloud.ProductServer, error)
- func (api *ProductServerAPI) Include(key string) *ProductServerAPI
- func (api *ProductServerAPI) IsValidPlan(core int, memGB int, gen sacloud.PlanGenerations) (bool, error)
- func (api *ProductServerAPI) Limit(limit int) *ProductServerAPI
- func (api ProductServerAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ProductServerAPI) Offset(offset int) *ProductServerAPI
- func (api *ProductServerAPI) Read(id sacloud.ID) (*sacloud.ProductServer, error)
- func (api *ProductServerAPI) Reset() *ProductServerAPI
- func (api *ProductServerAPI) SetEmpty()
- func (api *ProductServerAPI) SetExclude(key string)
- func (api *ProductServerAPI) SetFilterBy(key string, value interface{})
- func (api *ProductServerAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ProductServerAPI) SetInclude(key string)
- func (api *ProductServerAPI) SetLimit(limit int)
- func (api *ProductServerAPI) SetNameLike(name string)
- func (api *ProductServerAPI) SetOffset(offset int)
- func (api *ProductServerAPI) SetSortBy(key string, reverse bool)
- func (api *ProductServerAPI) SetSortByName(reverse bool)
- func (api *ProductServerAPI) SetTag(tag string)
- func (api *ProductServerAPI) SetTags(tags []string)
- func (api *ProductServerAPI) SortBy(key string, reverse bool) *ProductServerAPI
- func (api *ProductServerAPI) SortByName(reverse bool) *ProductServerAPI
- func (api *ProductServerAPI) WithNameLike(name string) *ProductServerAPI
- func (api *ProductServerAPI) WithTag(tag string) *ProductServerAPI
- func (api *ProductServerAPI) WithTags(tags []string) *ProductServerAPI
- type ProxyLBAPI
- func (api *ProxyLBAPI) ChangePlan(id sacloud.ID, newPlan sacloud.ProxyLBPlan) (*sacloud.ProxyLB, error)
- func (api *ProxyLBAPI) Create(value *sacloud.ProxyLB) (*sacloud.ProxyLB, error)
- func (api *ProxyLBAPI) Delete(id sacloud.ID) (*sacloud.ProxyLB, error)
- func (api *ProxyLBAPI) DeleteCertificates(id sacloud.ID) (bool, error)
- func (api *ProxyLBAPI) Exclude(key string) *ProxyLBAPI
- func (api *ProxyLBAPI) FilterBy(key string, value interface{}) *ProxyLBAPI
- func (api *ProxyLBAPI) FilterMultiBy(key string, value interface{}) *ProxyLBAPI
- func (api *ProxyLBAPI) Find() (*SearchProxyLBResponse, error)
- func (api *ProxyLBAPI) GetCertificates(id sacloud.ID) (*sacloud.ProxyLBCertificates, error)
- func (api *ProxyLBAPI) Health(id sacloud.ID) (*sacloud.ProxyLBStatus, error)
- func (api *ProxyLBAPI) Include(key string) *ProxyLBAPI
- func (api *ProxyLBAPI) Limit(limit int) *ProxyLBAPI
- func (api *ProxyLBAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *ProxyLBAPI) New(name string) *sacloud.ProxyLB
- func (api ProxyLBAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ProxyLBAPI) Offset(offset int) *ProxyLBAPI
- func (api *ProxyLBAPI) Read(id sacloud.ID) (*sacloud.ProxyLB, error)
- func (api *ProxyLBAPI) RenewLetsEncryptCert(id sacloud.ID) (bool, error)
- func (api *ProxyLBAPI) Reset() *ProxyLBAPI
- func (api *ProxyLBAPI) SetCertificates(id sacloud.ID, certs *sacloud.ProxyLBCertificates) (bool, error)
- func (api *ProxyLBAPI) SetEmpty()
- func (api *ProxyLBAPI) SetExclude(key string)
- func (api *ProxyLBAPI) SetFilterBy(key string, value interface{})
- func (api *ProxyLBAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ProxyLBAPI) SetInclude(key string)
- func (api *ProxyLBAPI) SetLimit(limit int)
- func (api *ProxyLBAPI) SetNameLike(name string)
- func (api *ProxyLBAPI) SetOffset(offset int)
- func (api *ProxyLBAPI) SetSortBy(key string, reverse bool)
- func (api *ProxyLBAPI) SetSortByName(reverse bool)
- func (api *ProxyLBAPI) SetTag(tag string)
- func (api *ProxyLBAPI) SetTags(tags []string)
- func (api *ProxyLBAPI) SortBy(key string, reverse bool) *ProxyLBAPI
- func (api *ProxyLBAPI) SortByName(reverse bool) *ProxyLBAPI
- func (api *ProxyLBAPI) Update(id sacloud.ID, value *sacloud.ProxyLB) (*sacloud.ProxyLB, error)
- func (api *ProxyLBAPI) UpdateSetting(id sacloud.ID, value *sacloud.ProxyLB) (*sacloud.ProxyLB, error)
- func (api *ProxyLBAPI) WithNameLike(name string) *ProxyLBAPI
- func (api *ProxyLBAPI) WithTag(tag string) *ProxyLBAPI
- func (api *ProxyLBAPI) WithTags(tags []string) *ProxyLBAPI
- type PublicPriceAPI
- func (api *PublicPriceAPI) Exclude(key string) *PublicPriceAPI
- func (api *PublicPriceAPI) FilterBy(key string, value interface{}) *PublicPriceAPI
- func (api *PublicPriceAPI) FilterMultiBy(key string, value interface{}) *PublicPriceAPI
- func (api PublicPriceAPI) Find() (*sacloud.SearchResponse, error)
- func (api *PublicPriceAPI) Include(key string) *PublicPriceAPI
- func (api *PublicPriceAPI) Limit(limit int) *PublicPriceAPI
- func (api PublicPriceAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *PublicPriceAPI) Offset(offset int) *PublicPriceAPI
- func (api *PublicPriceAPI) Reset() *PublicPriceAPI
- func (api *PublicPriceAPI) SetEmpty()
- func (api *PublicPriceAPI) SetExclude(key string)
- func (api *PublicPriceAPI) SetFilterBy(key string, value interface{})
- func (api *PublicPriceAPI) SetFilterMultiBy(key string, value interface{})
- func (api *PublicPriceAPI) SetInclude(key string)
- func (api *PublicPriceAPI) SetLimit(limit int)
- func (api *PublicPriceAPI) SetNameLike(name string)
- func (api *PublicPriceAPI) SetOffset(offset int)
- func (api *PublicPriceAPI) SetSortBy(key string, reverse bool)
- func (api *PublicPriceAPI) SetSortByName(reverse bool)
- func (api *PublicPriceAPI) SortBy(key string, reverse bool) *PublicPriceAPI
- func (api *PublicPriceAPI) SortByName(reverse bool) *PublicPriceAPI
- func (api *PublicPriceAPI) WithNameLike(name string) *PublicPriceAPI
- type RateLimitRoundTripper
- type RegionAPI
- func (api *RegionAPI) Exclude(key string) *RegionAPI
- func (api *RegionAPI) FilterBy(key string, value interface{}) *RegionAPI
- func (api *RegionAPI) FilterMultiBy(key string, value interface{}) *RegionAPI
- func (api RegionAPI) Find() (*sacloud.SearchResponse, error)
- func (api *RegionAPI) Include(key string) *RegionAPI
- func (api *RegionAPI) Limit(limit int) *RegionAPI
- func (api RegionAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *RegionAPI) Offset(offset int) *RegionAPI
- func (api *RegionAPI) Read(id sacloud.ID) (*sacloud.Region, error)
- func (api *RegionAPI) Reset() *RegionAPI
- func (api *RegionAPI) SetEmpty()
- func (api *RegionAPI) SetExclude(key string)
- func (api *RegionAPI) SetFilterBy(key string, value interface{})
- func (api *RegionAPI) SetFilterMultiBy(key string, value interface{})
- func (api *RegionAPI) SetInclude(key string)
- func (api *RegionAPI) SetLimit(limit int)
- func (api *RegionAPI) SetNameLike(name string)
- func (api *RegionAPI) SetOffset(offset int)
- func (api *RegionAPI) SetSortBy(key string, reverse bool)
- func (api *RegionAPI) SetSortByName(reverse bool)
- func (api *RegionAPI) SortBy(key string, reverse bool) *RegionAPI
- func (api *RegionAPI) SortByName(reverse bool) *RegionAPI
- func (api *RegionAPI) WithNameLike(name string) *RegionAPI
- type SIMAPI
- func (api *SIMAPI) Activate(id sacloud.ID) (bool, error)
- func (api *SIMAPI) AssignIP(id sacloud.ID, ip string) (bool, error)
- func (api *SIMAPI) ClearIP(id sacloud.ID) (bool, error)
- func (api *SIMAPI) Create(value *sacloud.SIM) (*sacloud.SIM, error)
- func (api *SIMAPI) Deactivate(id sacloud.ID) (bool, error)
- func (api *SIMAPI) Delete(id sacloud.ID) (*sacloud.SIM, error)
- func (api *SIMAPI) Exclude(key string) *SIMAPI
- func (api *SIMAPI) FilterBy(key string, value interface{}) *SIMAPI
- func (api *SIMAPI) FilterMultiBy(key string, value interface{}) *SIMAPI
- func (api *SIMAPI) Find() (*SearchSIMResponse, error)
- func (api *SIMAPI) GetNetworkOperator(id sacloud.ID) (*sacloud.SIMNetworkOperatorConfigs, error)
- func (api *SIMAPI) IMEILock(id sacloud.ID, imei string) (bool, error)
- func (api *SIMAPI) IMEIUnlock(id sacloud.ID) (bool, error)
- func (api *SIMAPI) Include(key string) *SIMAPI
- func (api *SIMAPI) Limit(limit int) *SIMAPI
- func (api *SIMAPI) Logs(id sacloud.ID, body interface{}) ([]sacloud.SIMLog, error)
- func (api *SIMAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *SIMAPI) New(name, iccID, passcode string) *sacloud.SIM
- func (api SIMAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *SIMAPI) Offset(offset int) *SIMAPI
- func (api *SIMAPI) Read(id sacloud.ID) (*sacloud.SIM, error)
- func (api *SIMAPI) Reset() *SIMAPI
- func (api *SIMAPI) SetEmpty()
- func (api *SIMAPI) SetExclude(key string)
- func (api *SIMAPI) SetFilterBy(key string, value interface{})
- func (api *SIMAPI) SetFilterMultiBy(key string, value interface{})
- func (api *SIMAPI) SetInclude(key string)
- func (api *SIMAPI) SetLimit(limit int)
- func (api *SIMAPI) SetNameLike(name string)
- func (api *SIMAPI) SetNetworkOperator(id sacloud.ID, opConfig ...*sacloud.SIMNetworkOperatorConfig) (bool, error)
- func (api *SIMAPI) SetOffset(offset int)
- func (api *SIMAPI) SetSortBy(key string, reverse bool)
- func (api *SIMAPI) SetSortByName(reverse bool)
- func (api *SIMAPI) SetTag(tag string)
- func (api *SIMAPI) SetTags(tags []string)
- func (api *SIMAPI) SortBy(key string, reverse bool) *SIMAPI
- func (api *SIMAPI) SortByName(reverse bool) *SIMAPI
- func (api *SIMAPI) Update(id sacloud.ID, value *sacloud.SIM) (*sacloud.SIM, error)
- func (api *SIMAPI) WithNameLike(name string) *SIMAPI
- func (api *SIMAPI) WithTag(tag string) *SIMAPI
- func (api *SIMAPI) WithTags(tags []string) *SIMAPI
- type SSHKeyAPI
- func (api *SSHKeyAPI) Create(value *sacloud.SSHKey) (*sacloud.SSHKey, error)
- func (api *SSHKeyAPI) Delete(id sacloud.ID) (*sacloud.SSHKey, error)
- func (api *SSHKeyAPI) Exclude(key string) *SSHKeyAPI
- func (api *SSHKeyAPI) FilterBy(key string, value interface{}) *SSHKeyAPI
- func (api *SSHKeyAPI) FilterMultiBy(key string, value interface{}) *SSHKeyAPI
- func (api SSHKeyAPI) Find() (*sacloud.SearchResponse, error)
- func (api *SSHKeyAPI) Generate(name string, passPhrase string, desc string) (*sacloud.SSHKeyGenerated, error)
- func (api *SSHKeyAPI) Include(key string) *SSHKeyAPI
- func (api *SSHKeyAPI) Limit(limit int) *SSHKeyAPI
- func (api *SSHKeyAPI) New() *sacloud.SSHKey
- func (api SSHKeyAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *SSHKeyAPI) Offset(offset int) *SSHKeyAPI
- func (api *SSHKeyAPI) Read(id sacloud.ID) (*sacloud.SSHKey, error)
- func (api *SSHKeyAPI) Reset() *SSHKeyAPI
- func (api *SSHKeyAPI) SetEmpty()
- func (api *SSHKeyAPI) SetExclude(key string)
- func (api *SSHKeyAPI) SetFilterBy(key string, value interface{})
- func (api *SSHKeyAPI) SetFilterMultiBy(key string, value interface{})
- func (api *SSHKeyAPI) SetInclude(key string)
- func (api *SSHKeyAPI) SetLimit(limit int)
- func (api *SSHKeyAPI) SetNameLike(name string)
- func (api *SSHKeyAPI) SetOffset(offset int)
- func (api *SSHKeyAPI) SetSortBy(key string, reverse bool)
- func (api *SSHKeyAPI) SetSortByName(reverse bool)
- func (api *SSHKeyAPI) SetTag(tag string)
- func (api *SSHKeyAPI) SetTags(tags []string)
- func (api *SSHKeyAPI) SortBy(key string, reverse bool) *SSHKeyAPI
- func (api *SSHKeyAPI) SortByName(reverse bool) *SSHKeyAPI
- func (api *SSHKeyAPI) Update(id sacloud.ID, value *sacloud.SSHKey) (*sacloud.SSHKey, error)
- func (api *SSHKeyAPI) WithNameLike(name string) *SSHKeyAPI
- func (api *SSHKeyAPI) WithTag(tag string) *SSHKeyAPI
- func (api *SSHKeyAPI) WithTags(tags []string) *SSHKeyAPI
- type SearchAutoBackupResponse
- type SearchDNSResponse
- type SearchDatabaseResponse
- type SearchGSLBResponse
- type SearchLoadBalancerResponse
- type SearchMobileGatewayResponse
- type SearchNFSResponse
- type SearchProxyLBResponse
- type SearchSIMResponse
- type SearchSimpleMonitorResponse
- type SearchVPCRouterResponse
- type ServerAPI
- func (api *ServerAPI) Boot(id sacloud.ID) (bool, error)
- func (api *ServerAPI) ChangePlan(serverID sacloud.ID, plan *sacloud.ProductServer) (*sacloud.Server, error)
- func (api *ServerAPI) Create(value *sacloud.Server) (*sacloud.Server, error)
- func (api *ServerAPI) Delete(id sacloud.ID) (*sacloud.Server, error)
- func (api *ServerAPI) DeleteWithDisk(id sacloud.ID, disks []sacloud.ID) (*sacloud.Server, error)
- func (api *ServerAPI) EjectCDROM(serverID sacloud.ID, cdromID sacloud.ID) (bool, error)
- func (api *ServerAPI) Exclude(key string) *ServerAPI
- func (api *ServerAPI) FilterBy(key string, value interface{}) *ServerAPI
- func (api *ServerAPI) FilterMultiBy(key string, value interface{}) *ServerAPI
- func (api ServerAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ServerAPI) FindDisk(serverID sacloud.ID) ([]sacloud.Disk, error)
- func (api *ServerAPI) GetVNCProxy(serverID sacloud.ID) (*sacloud.VNCProxyResponse, error)
- func (api *ServerAPI) GetVNCSize(serverID sacloud.ID) (*sacloud.VNCSizeResponse, error)
- func (api *ServerAPI) GetVNCSnapshot(serverID sacloud.ID, body *sacloud.VNCSnapshotRequest) (*sacloud.VNCSnapshotResponse, error)
- func (api *ServerAPI) Include(key string) *ServerAPI
- func (api *ServerAPI) InsertCDROM(serverID sacloud.ID, cdromID sacloud.ID) (bool, error)
- func (api *ServerAPI) IsDown(id sacloud.ID) (bool, error)
- func (api *ServerAPI) IsUp(id sacloud.ID) (bool, error)
- func (api *ServerAPI) Limit(limit int) *ServerAPI
- func (api *ServerAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *ServerAPI) New() *sacloud.Server
- func (api *ServerAPI) NewKeyboardRequest() *sacloud.KeyboardRequest
- func (api *ServerAPI) NewMouseRequest() *sacloud.MouseRequest
- func (api ServerAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ServerAPI) NewVNCSnapshotRequest() *sacloud.VNCSnapshotRequest
- func (api *ServerAPI) Offset(offset int) *ServerAPI
- func (api *ServerAPI) Read(id sacloud.ID) (*sacloud.Server, error)
- func (api *ServerAPI) RebootForce(id sacloud.ID) (bool, error)
- func (api *ServerAPI) Reset() *ServerAPI
- func (api *ServerAPI) SendKey(serverID sacloud.ID, body *sacloud.KeyboardRequest) (bool, error)
- func (api *ServerAPI) SendMouse(serverID sacloud.ID, mouseIndex string, body *sacloud.MouseRequest) (bool, error)
- func (api *ServerAPI) SetEmpty()
- func (api *ServerAPI) SetExclude(key string)
- func (api *ServerAPI) SetFilterBy(key string, value interface{})
- func (api *ServerAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ServerAPI) SetInclude(key string)
- func (api *ServerAPI) SetLimit(limit int)
- func (api *ServerAPI) SetNameLike(name string)
- func (api *ServerAPI) SetOffset(offset int)
- func (api *ServerAPI) SetSortBy(key string, reverse bool)
- func (api *ServerAPI) SetSortByName(reverse bool)
- func (api *ServerAPI) SetTag(tag string)
- func (api *ServerAPI) SetTags(tags []string)
- func (api *ServerAPI) Shutdown(id sacloud.ID) (bool, error)
- func (api *ServerAPI) SleepUntilDown(id sacloud.ID, timeout time.Duration) error
- func (api *ServerAPI) SleepUntilUp(id sacloud.ID, timeout time.Duration) error
- func (api *ServerAPI) SortBy(key string, reverse bool) *ServerAPI
- func (api *ServerAPI) SortByCPU(reverse bool) *ServerAPI
- func (api *ServerAPI) SortByMemory(reverse bool) *ServerAPI
- func (api *ServerAPI) SortByName(reverse bool) *ServerAPI
- func (api *ServerAPI) State(id sacloud.ID) (string, error)
- func (api *ServerAPI) Stop(id sacloud.ID) (bool, error)
- func (api *ServerAPI) Update(id sacloud.ID, value *sacloud.Server) (*sacloud.Server, error)
- func (api *ServerAPI) WithISOImage(imageID sacloud.ID) *ServerAPI
- func (api *ServerAPI) WithNameLike(name string) *ServerAPI
- func (api *ServerAPI) WithPlan(planID string) *ServerAPI
- func (api *ServerAPI) WithStatus(status string) *ServerAPI
- func (api *ServerAPI) WithStatusDown() *ServerAPI
- func (api *ServerAPI) WithStatusUp() *ServerAPI
- func (api *ServerAPI) WithTag(tag string) *ServerAPI
- func (api *ServerAPI) WithTags(tags []string) *ServerAPI
- type SimpleMonitorAPI
- func (api *SimpleMonitorAPI) Create(value *sacloud.SimpleMonitor) (*sacloud.SimpleMonitor, error)
- func (api *SimpleMonitorAPI) Delete(id sacloud.ID) (*sacloud.SimpleMonitor, error)
- func (api *SimpleMonitorAPI) Exclude(key string) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) FilterBy(key string, value interface{}) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) FilterMultiBy(key string, value interface{}) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) Find() (*SearchSimpleMonitorResponse, error)
- func (api *SimpleMonitorAPI) Health(id sacloud.ID) (*sacloud.SimpleMonitorHealthCheckStatus, error)
- func (api *SimpleMonitorAPI) Include(key string) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) Limit(limit int) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) MonitorResponseTimeSec(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *SimpleMonitorAPI) New(target string) *sacloud.SimpleMonitor
- func (api SimpleMonitorAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *SimpleMonitorAPI) Offset(offset int) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) Read(id sacloud.ID) (*sacloud.SimpleMonitor, error)
- func (api *SimpleMonitorAPI) Reset() *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) SetEmpty()
- func (api *SimpleMonitorAPI) SetExclude(key string)
- func (api *SimpleMonitorAPI) SetFilterBy(key string, value interface{})
- func (api *SimpleMonitorAPI) SetFilterMultiBy(key string, value interface{})
- func (api *SimpleMonitorAPI) SetInclude(key string)
- func (api *SimpleMonitorAPI) SetLimit(limit int)
- func (api *SimpleMonitorAPI) SetNameLike(name string)
- func (api *SimpleMonitorAPI) SetOffset(offset int)
- func (api *SimpleMonitorAPI) SetSortBy(key string, reverse bool)
- func (api *SimpleMonitorAPI) SetSortByName(reverse bool)
- func (api *SimpleMonitorAPI) SetTag(tag string)
- func (api *SimpleMonitorAPI) SetTags(tags []string)
- func (api *SimpleMonitorAPI) SortBy(key string, reverse bool) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) SortByName(reverse bool) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) Update(id sacloud.ID, value *sacloud.SimpleMonitor) (*sacloud.SimpleMonitor, error)
- func (api *SimpleMonitorAPI) WithNameLike(name string) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) WithTag(tag string) *SimpleMonitorAPI
- func (api *SimpleMonitorAPI) WithTags(tags []string) *SimpleMonitorAPI
- type SubnetAPI
- func (api *SubnetAPI) Exclude(key string) *SubnetAPI
- func (api *SubnetAPI) FilterBy(key string, value interface{}) *SubnetAPI
- func (api *SubnetAPI) FilterMultiBy(key string, value interface{}) *SubnetAPI
- func (api SubnetAPI) Find() (*sacloud.SearchResponse, error)
- func (api *SubnetAPI) Include(key string) *SubnetAPI
- func (api *SubnetAPI) Limit(limit int) *SubnetAPI
- func (api SubnetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *SubnetAPI) Offset(offset int) *SubnetAPI
- func (api *SubnetAPI) Read(id sacloud.ID) (*sacloud.Subnet, error)
- func (api *SubnetAPI) Reset() *SubnetAPI
- func (api *SubnetAPI) SetEmpty()
- func (api *SubnetAPI) SetExclude(key string)
- func (api *SubnetAPI) SetFilterBy(key string, value interface{})
- func (api *SubnetAPI) SetFilterMultiBy(key string, value interface{})
- func (api *SubnetAPI) SetInclude(key string)
- func (api *SubnetAPI) SetLimit(limit int)
- func (api *SubnetAPI) SetOffset(offset int)
- func (api *SubnetAPI) SetSortBy(key string, reverse bool)
- func (api *SubnetAPI) SortBy(key string, reverse bool) *SubnetAPI
- type SwitchAPI
- func (api *SwitchAPI) ConnectToBridge(switchID sacloud.ID, bridgeID sacloud.ID) (bool, error)
- func (api *SwitchAPI) Create(value *sacloud.Switch) (*sacloud.Switch, error)
- func (api *SwitchAPI) Delete(id sacloud.ID) (*sacloud.Switch, error)
- func (api *SwitchAPI) DisconnectFromBridge(switchID sacloud.ID) (bool, error)
- func (api *SwitchAPI) Exclude(key string) *SwitchAPI
- func (api *SwitchAPI) FilterBy(key string, value interface{}) *SwitchAPI
- func (api *SwitchAPI) FilterMultiBy(key string, value interface{}) *SwitchAPI
- func (api SwitchAPI) Find() (*sacloud.SearchResponse, error)
- func (api *SwitchAPI) GetServers(switchID sacloud.ID) ([]sacloud.Server, error)
- func (api *SwitchAPI) Include(key string) *SwitchAPI
- func (api *SwitchAPI) Limit(limit int) *SwitchAPI
- func (api *SwitchAPI) New() *sacloud.Switch
- func (api SwitchAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *SwitchAPI) Offset(offset int) *SwitchAPI
- func (api *SwitchAPI) Read(id sacloud.ID) (*sacloud.Switch, error)
- func (api *SwitchAPI) Reset() *SwitchAPI
- func (api *SwitchAPI) SetEmpty()
- func (api *SwitchAPI) SetExclude(key string)
- func (api *SwitchAPI) SetFilterBy(key string, value interface{})
- func (api *SwitchAPI) SetFilterMultiBy(key string, value interface{})
- func (api *SwitchAPI) SetInclude(key string)
- func (api *SwitchAPI) SetLimit(limit int)
- func (api *SwitchAPI) SetNameLike(name string)
- func (api *SwitchAPI) SetOffset(offset int)
- func (api *SwitchAPI) SetSortBy(key string, reverse bool)
- func (api *SwitchAPI) SetSortByName(reverse bool)
- func (api *SwitchAPI) SetTag(tag string)
- func (api *SwitchAPI) SetTags(tags []string)
- func (api *SwitchAPI) SortBy(key string, reverse bool) *SwitchAPI
- func (api *SwitchAPI) SortByName(reverse bool) *SwitchAPI
- func (api *SwitchAPI) Update(id sacloud.ID, value *sacloud.Switch) (*sacloud.Switch, error)
- func (api *SwitchAPI) WithNameLike(name string) *SwitchAPI
- func (api *SwitchAPI) WithTag(tag string) *SwitchAPI
- func (api *SwitchAPI) WithTags(tags []string) *SwitchAPI
- type VPCRouterAPI
- func (api *VPCRouterAPI) AddPremiumInterface(routerID sacloud.ID, switchID sacloud.ID, ipaddresses []string, maskLen int, ...) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) AddPremiumInterfaceAt(routerID sacloud.ID, switchID sacloud.ID, ipaddresses []string, maskLen int, ...) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) AddStandardInterface(routerID sacloud.ID, switchID sacloud.ID, ipaddress string, maskLen int) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) AddStandardInterfaceAt(routerID sacloud.ID, switchID sacloud.ID, ipaddress string, maskLen int, ...) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
- func (api *VPCRouterAPI) Boot(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) Config(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) ConnectToSwitch(id sacloud.ID, switchID sacloud.ID, nicIndex int) (bool, error)
- func (api *VPCRouterAPI) Create(value *sacloud.VPCRouter) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) Delete(id sacloud.ID) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) DeleteInterfaceAt(routerID sacloud.ID, index int) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) DisconnectFromSwitch(id sacloud.ID, nicIndex int) (bool, error)
- func (api *VPCRouterAPI) Exclude(key string) *VPCRouterAPI
- func (api *VPCRouterAPI) FilterBy(key string, value interface{}) *VPCRouterAPI
- func (api *VPCRouterAPI) FilterMultiBy(key string, value interface{}) *VPCRouterAPI
- func (api *VPCRouterAPI) Find() (*SearchVPCRouterResponse, error)
- func (api *VPCRouterAPI) Include(key string) *VPCRouterAPI
- func (api *VPCRouterAPI) IsDown(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) IsUp(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) Limit(limit int) *VPCRouterAPI
- func (api *VPCRouterAPI) MonitorBy(id sacloud.ID, nicIndex int, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
- func (api *VPCRouterAPI) New() *sacloud.VPCRouter
- func (api VPCRouterAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *VPCRouterAPI) Offset(offset int) *VPCRouterAPI
- func (api *VPCRouterAPI) Read(id sacloud.ID) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) RebootForce(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) Reset() *VPCRouterAPI
- func (api *VPCRouterAPI) SetEmpty()
- func (api *VPCRouterAPI) SetExclude(key string)
- func (api *VPCRouterAPI) SetFilterBy(key string, value interface{})
- func (api *VPCRouterAPI) SetFilterMultiBy(key string, value interface{})
- func (api *VPCRouterAPI) SetInclude(key string)
- func (api *VPCRouterAPI) SetLimit(limit int)
- func (api *VPCRouterAPI) SetNameLike(name string)
- func (api *VPCRouterAPI) SetOffset(offset int)
- func (api *VPCRouterAPI) SetSortBy(key string, reverse bool)
- func (api *VPCRouterAPI) SetSortByName(reverse bool)
- func (api *VPCRouterAPI) SetTag(tag string)
- func (api *VPCRouterAPI) SetTags(tags []string)
- func (api *VPCRouterAPI) Shutdown(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) SiteToSiteConnectionDetails(id sacloud.ID) (*sacloud.SiteToSiteConnectionInfo, error)
- func (api *VPCRouterAPI) SleepUntilDown(id sacloud.ID, timeout time.Duration) error
- func (api *VPCRouterAPI) SleepUntilUp(id sacloud.ID, timeout time.Duration) error
- func (api *VPCRouterAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
- func (api *VPCRouterAPI) SortBy(key string, reverse bool) *VPCRouterAPI
- func (api *VPCRouterAPI) SortByName(reverse bool) *VPCRouterAPI
- func (api *VPCRouterAPI) Status(id sacloud.ID) (*sacloud.VPCRouterStatus, error)
- func (api *VPCRouterAPI) Stop(id sacloud.ID) (bool, error)
- func (api *VPCRouterAPI) Update(id sacloud.ID, value *sacloud.VPCRouter) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) UpdateSetting(id sacloud.ID, value *sacloud.VPCRouter) (*sacloud.VPCRouter, error)
- func (api *VPCRouterAPI) WithNameLike(name string) *VPCRouterAPI
- func (api *VPCRouterAPI) WithTag(tag string) *VPCRouterAPI
- func (api *VPCRouterAPI) WithTags(tags []string) *VPCRouterAPI
- type WebAccelAPI
- func (api *WebAccelAPI) CreateCertificate(id sacloud.ID, request *sacloud.WebAccelCertRequest) (*sacloud.WebAccelCertResponse, error)
- func (api *WebAccelAPI) DeleteCache(urls ...string) (*WebAccelDeleteCacheResponse, error)
- func (api *WebAccelAPI) DeleteCertificate(id string) (*sacloud.WebAccelCertResponse, error)
- func (api *WebAccelAPI) FilterBy(key string, value interface{}) *WebAccelAPI
- func (api *WebAccelAPI) Find() (*sacloud.SearchResponse, error)
- func (api WebAccelAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *WebAccelAPI) Read(id string) (*sacloud.WebAccelSite, error)
- func (api *WebAccelAPI) ReadCertificate(id sacloud.ID) (*sacloud.WebAccelCertResponseBody, error)
- func (api *WebAccelAPI) Reset() *WebAccelAPI
- func (api *WebAccelAPI) SetEmpty()
- func (api *WebAccelAPI) SetFilterBy(key string, value interface{})
- func (api *WebAccelAPI) SetNameLike(name string)
- func (api *WebAccelAPI) UpdateCertificate(id sacloud.ID, request *sacloud.WebAccelCertRequest) (*sacloud.WebAccelCertResponse, error)
- func (api *WebAccelAPI) WithNameLike(name string) *WebAccelAPI
- type WebAccelDeleteCacheResponse
- type ZoneAPI
- func (api *ZoneAPI) Exclude(key string) *ZoneAPI
- func (api *ZoneAPI) FilterBy(key string, value interface{}) *ZoneAPI
- func (api *ZoneAPI) FilterMultiBy(key string, value interface{}) *ZoneAPI
- func (api ZoneAPI) Find() (*sacloud.SearchResponse, error)
- func (api *ZoneAPI) Include(key string) *ZoneAPI
- func (api *ZoneAPI) Limit(limit int) *ZoneAPI
- func (api ZoneAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
- func (api *ZoneAPI) Offset(offset int) *ZoneAPI
- func (api *ZoneAPI) Read(id sacloud.ID) (*sacloud.Zone, error)
- func (api *ZoneAPI) Reset() *ZoneAPI
- func (api *ZoneAPI) SetEmpty()
- func (api *ZoneAPI) SetExclude(key string)
- func (api *ZoneAPI) SetFilterBy(key string, value interface{})
- func (api *ZoneAPI) SetFilterMultiBy(key string, value interface{})
- func (api *ZoneAPI) SetInclude(key string)
- func (api *ZoneAPI) SetLimit(limit int)
- func (api *ZoneAPI) SetNameLike(name string)
- func (api *ZoneAPI) SetOffset(offset int)
- func (api *ZoneAPI) SetSortBy(key string, reverse bool)
- func (api *ZoneAPI) SetSortByName(reverse bool)
- func (api *ZoneAPI) SortBy(key string, reverse bool) *ZoneAPI
- func (api *ZoneAPI) SortByName(reverse bool) *ZoneAPI
- func (api *ZoneAPI) WithNameLike(name string) *ZoneAPI
Examples ¶
Constants ¶
This section is empty.
Variables ¶
var NewsFeedURL = "https://secure.sakura.ad.jp/rss/sakuranews/getfeeds.php?service=cloud&format=json"
NewsFeedURL フィード取得URL
var (
// SakuraCloudAPIRoot APIリクエスト送信先ルートURL(末尾にスラッシュを含まない)
SakuraCloudAPIRoot = "https://secure.sakura.ad.jp/cloud/zone"
)
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { AuthStatus *AuthStatusAPI // 認証状態API AutoBackup *AutoBackupAPI // 自動バックアップAPI Archive *ArchiveAPI // アーカイブAPI Bill *BillAPI // 請求情報API Bridge *BridgeAPI // ブリッジAPi CDROM *CDROMAPI // ISOイメージAPI Coupon *CouponAPI // クーポンAPI Database *DatabaseAPI // データベースAPI Disk *DiskAPI // ディスクAPI DNS *DNSAPI // DNS API Facility *FacilityAPI // ファシリティAPI GSLB *GSLBAPI // GSLB API Icon *IconAPI // アイコンAPI Interface *InterfaceAPI // インターフェースAPI Internet *InternetAPI // ルーターAPI IPAddress *IPAddressAPI // IPアドレスAPI IPv6Addr *IPv6AddrAPI // IPv6アドレスAPI IPv6Net *IPv6NetAPI // IPv6ネットワークAPI License *LicenseAPI // ライセンスAPI LoadBalancer *LoadBalancerAPI // ロードバランサーAPI MobileGateway *MobileGatewayAPI // モバイルゲートウェイAPI NewsFeed *NewsFeedAPI // フィード(障害/メンテナンス情報)API NFS *NFSAPI // NFS API Note *NoteAPI // スタートアップスクリプトAPI PacketFilter *PacketFilterAPI // パケットフィルタAPI ProxyLB *ProxyLBAPI // プロキシLBAPI PrivateHost *PrivateHostAPI // 専有ホストAPI Product *ProductAPI // 製品情報API Server *ServerAPI // サーバーAPI SIM *SIMAPI // SIM API SimpleMonitor *SimpleMonitorAPI // シンプル監視API SSHKey *SSHKeyAPI // 公開鍵API Subnet *SubnetAPI // IPv4ネットワークAPI Switch *SwitchAPI // スイッチAPI VPCRouter *VPCRouterAPI // VPCルーターAPI WebAccel *WebAccelAPI // ウェブアクセラレータAPI }
API libsacloudでサポートしているAPI群
func (*API) GetAuthStatusAPI ¶
func (api *API) GetAuthStatusAPI() *AuthStatusAPI
GetAuthStatusAPI 認証状態API取得
func (*API) GetAutoBackupAPI ¶
func (api *API) GetAutoBackupAPI() *AutoBackupAPI
GetAutoBackupAPI 自動バックアップAPI取得
func (*API) GetCouponAPI ¶ added in v1.6.0
GetCouponAPI クーポン情報API取得
func (*API) GetDatabaseAPI ¶
func (api *API) GetDatabaseAPI() *DatabaseAPI
GetDatabaseAPI データベースAPI取得
func (*API) GetIPAddressAPI ¶
func (api *API) GetIPAddressAPI() *IPAddressAPI
GetIPAddressAPI IPアドレスAPI取得
func (*API) GetIPv6AddrAPI ¶
func (api *API) GetIPv6AddrAPI() *IPv6AddrAPI
GetIPv6AddrAPI IPv6アドレスAPI取得
func (*API) GetIPv6NetAPI ¶
func (api *API) GetIPv6NetAPI() *IPv6NetAPI
GetIPv6NetAPI IPv6ネットワークAPI取得
func (*API) GetInterfaceAPI ¶
func (api *API) GetInterfaceAPI() *InterfaceAPI
GetInterfaceAPI インターフェースAPI取得
func (*API) GetLoadBalancerAPI ¶
func (api *API) GetLoadBalancerAPI() *LoadBalancerAPI
GetLoadBalancerAPI ロードバランサーAPI取得
func (*API) GetMobileGatewayAPI ¶
func (api *API) GetMobileGatewayAPI() *MobileGatewayAPI
GetMobileGatewayAPI モバイルゲートウェイAPI取得
func (*API) GetNewsFeedAPI ¶
func (api *API) GetNewsFeedAPI() *NewsFeedAPI
GetNewsFeedAPI フィード(障害/メンテナンス情報)API取得
func (*API) GetPacketFilterAPI ¶
func (api *API) GetPacketFilterAPI() *PacketFilterAPI
GetPacketFilterAPI パケットフィルタAPI取得
func (*API) GetPrivateHostAPI ¶
func (api *API) GetPrivateHostAPI() *PrivateHostAPI
GetPrivateHostAPI 専有ホストAPI取得
func (*API) GetProductDiskAPI ¶
func (api *API) GetProductDiskAPI() *ProductDiskAPI
GetProductDiskAPI ディスクプランAPI取得
func (*API) GetProductInternetAPI ¶
func (api *API) GetProductInternetAPI() *ProductInternetAPI
GetProductInternetAPI ルータープランAPI取得
func (*API) GetProductLicenseAPI ¶
func (api *API) GetProductLicenseAPI() *ProductLicenseAPI
GetProductLicenseAPI ライセンスプランAPI取得
func (*API) GetProductServerAPI ¶
func (api *API) GetProductServerAPI() *ProductServerAPI
GetProductServerAPI サーバープランAPI取得
func (*API) GetProxyLBAPI ¶ added in v1.15.0
func (api *API) GetProxyLBAPI() *ProxyLBAPI
GetProxyLBAPI プロキシLBAPI取得
func (*API) GetPublicPriceAPI ¶
func (api *API) GetPublicPriceAPI() *PublicPriceAPI
GetPublicPriceAPI 価格情報API取得
func (*API) GetSimpleMonitorAPI ¶
func (api *API) GetSimpleMonitorAPI() *SimpleMonitorAPI
GetSimpleMonitorAPI シンプル監視API取得
func (*API) GetVPCRouterAPI ¶
func (api *API) GetVPCRouterAPI() *VPCRouterAPI
GetVPCRouterAPI VPCルーターAPI取得
func (*API) GetWebAccelAPI ¶
func (api *API) GetWebAccelAPI() *WebAccelAPI
GetWebAccelAPI ウェブアクセラレータAPI取得
type ArchiveAPI ¶
type ArchiveAPI struct {
// contains filtered or unexported fields
}
ArchiveAPI アーカイブAPI
func (*ArchiveAPI) AsyncSleepWhileCopying ¶
func (api *ArchiveAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*ArchiveAPI) CanEditDisk ¶
func (api *ArchiveAPI) CanEditDisk(id sacloud.ID) (bool, error)
CanEditDisk ディスクの修正が可能か判定
func (*ArchiveAPI) CloseFTP ¶
func (api *ArchiveAPI) CloseFTP(id sacloud.ID) (bool, error)
CloseFTP FTP接続終了
func (*ArchiveAPI) FilterBy ¶
func (api *ArchiveAPI) FilterBy(key string, value interface{}) *ArchiveAPI
FilterBy 任意項目でのフィルタ(部分一致)
func (*ArchiveAPI) FilterMultiBy ¶
func (api *ArchiveAPI) FilterMultiBy(key string, value interface{}) *ArchiveAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ArchiveAPI) Find ¶
func (api ArchiveAPI) Find() (*sacloud.SearchResponse, error)
func (*ArchiveAPI) FindByOSType ¶
func (api *ArchiveAPI) FindByOSType(os ostype.ArchiveOSTypes) (*sacloud.Archive, error)
FindByOSType 指定のOS種別の安定版最新のパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableCentOS ¶
func (api *ArchiveAPI) FindLatestStableCentOS() (*sacloud.Archive, error)
FindLatestStableCentOS 安定版最新のCentOSパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableCentOS6 ¶
func (api *ArchiveAPI) FindLatestStableCentOS6() (*sacloud.Archive, error)
FindLatestStableCentOS6 安定版最新のCentOS6パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableCentOS7 ¶ added in v1.30.0
func (api *ArchiveAPI) FindLatestStableCentOS7() (*sacloud.Archive, error)
FindLatestStableCentOS7 安定版最新のCentOS7パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableCentOS8 ¶ added in v1.31.0
func (api *ArchiveAPI) FindLatestStableCentOS8() (*sacloud.Archive, error)
FindLatestStableCentOS8 安定版最新のCentOS8パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableCoreOS ¶
func (api *ArchiveAPI) FindLatestStableCoreOS() (*sacloud.Archive, error)
FindLatestStableCoreOS 安定版最新のCoreOSパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableDebian ¶
func (api *ArchiveAPI) FindLatestStableDebian() (*sacloud.Archive, error)
FindLatestStableDebian 安定版最新のDebianパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableDebian10 ¶ added in v1.31.0
func (api *ArchiveAPI) FindLatestStableDebian10() (*sacloud.Archive, error)
FindLatestStableDebian10 安定版最新のDebian10パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableDebian9 ¶ added in v1.31.0
func (api *ArchiveAPI) FindLatestStableDebian9() (*sacloud.Archive, error)
FindLatestStableDebian9 安定版最新のDebian9パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableFreeBSD ¶
func (api *ArchiveAPI) FindLatestStableFreeBSD() (*sacloud.Archive, error)
FindLatestStableFreeBSD 安定版最新のFreeBSDパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableK3OS ¶ added in v1.25.0
func (api *ArchiveAPI) FindLatestStableK3OS() (*sacloud.Archive, error)
FindLatestStableK3OS 安定版最新のk3OSパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableKusanagi ¶
func (api *ArchiveAPI) FindLatestStableKusanagi() (*sacloud.Archive, error)
FindLatestStableKusanagi 安定版最新のKusanagiパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableNetwiser ¶
func (api *ArchiveAPI) FindLatestStableNetwiser() (*sacloud.Archive, error)
FindLatestStableNetwiser 安定版最新のNetwiserパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableOPNsense ¶
func (api *ArchiveAPI) FindLatestStableOPNsense() (*sacloud.Archive, error)
FindLatestStableOPNsense 安定版最新のOPNsenseパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableRancherOS ¶
func (api *ArchiveAPI) FindLatestStableRancherOS() (*sacloud.Archive, error)
FindLatestStableRancherOS 安定版最新のRancherOSパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableSophosUTM ¶
func (api *ArchiveAPI) FindLatestStableSophosUTM() (*sacloud.Archive, error)
FindLatestStableSophosUTM 安定板最新のSophosUTMパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableUbuntu ¶
func (api *ArchiveAPI) FindLatestStableUbuntu() (*sacloud.Archive, error)
FindLatestStableUbuntu 安定版最新のUbuntuパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableUbuntu1604 ¶ added in v1.31.0
func (api *ArchiveAPI) FindLatestStableUbuntu1604() (*sacloud.Archive, error)
FindLatestStableUbuntu1604 安定版最新のUbuntu1604パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableUbuntu1804 ¶ added in v1.31.0
func (api *ArchiveAPI) FindLatestStableUbuntu1804() (*sacloud.Archive, error)
FindLatestStableUbuntu1804 安定版最新のUbuntu1804パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016 ¶
func (api *ArchiveAPI) FindLatestStableWindows2016() (*sacloud.Archive, error)
FindLatestStableWindows2016 安定版最新のWindows2016パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016RDS ¶
func (api *ArchiveAPI) FindLatestStableWindows2016RDS() (*sacloud.Archive, error)
FindLatestStableWindows2016RDS 安定版最新のWindows2016RDSパブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016RDSOffice ¶
func (api *ArchiveAPI) FindLatestStableWindows2016RDSOffice() (*sacloud.Archive, error)
FindLatestStableWindows2016RDSOffice 安定版最新のWindows2016RDS(Office)パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016SQLServer2017Standard ¶
func (api *ArchiveAPI) FindLatestStableWindows2016SQLServer2017Standard() (*sacloud.Archive, error)
FindLatestStableWindows2016SQLServer2017Standard 安定版最新のWindows2016 SQLServer2017(Standard) パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016SQLServer2017StandardAll ¶
func (api *ArchiveAPI) FindLatestStableWindows2016SQLServer2017StandardAll() (*sacloud.Archive, error)
FindLatestStableWindows2016SQLServer2017StandardAll 安定版最新のWindows2016 SQLServer2017(RDS+Office) パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016SQLServerStandard ¶
func (api *ArchiveAPI) FindLatestStableWindows2016SQLServerStandard() (*sacloud.Archive, error)
FindLatestStableWindows2016SQLServerStandard 安定版最新のWindows2016 SQLServer(Standard) パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016SQLServerStandardAll ¶
func (api *ArchiveAPI) FindLatestStableWindows2016SQLServerStandardAll() (*sacloud.Archive, error)
FindLatestStableWindows2016SQLServerStandardAll 安定版最新のWindows2016 SQLServer(RDS+Office) パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2016SQLServerWeb ¶
func (api *ArchiveAPI) FindLatestStableWindows2016SQLServerWeb() (*sacloud.Archive, error)
FindLatestStableWindows2016SQLServerWeb 安定版最新のWindows2016 SQLServer(Web) パブリックアーカイブを取得
func (*ArchiveAPI) FindLatestStableWindows2019 ¶ added in v1.4.0
func (api *ArchiveAPI) FindLatestStableWindows2019() (*sacloud.Archive, error)
FindLatestStableWindows2019 安定版最新のWindows2019パブリックアーカイブを取得
func (*ArchiveAPI) GetPublicArchiveIDFromAncestors ¶
GetPublicArchiveIDFromAncestors 祖先の中からパブリックアーカイブのIDを検索
func (ArchiveAPI) NewResourceMonitorRequest ¶
func (api ArchiveAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ArchiveAPI) SetFilterBy ¶
func (api *ArchiveAPI) SetFilterBy(key string, value interface{})
SetFilterBy 任意項目でのフィルタ(部分一致)
func (*ArchiveAPI) SetFilterMultiBy ¶
func (api *ArchiveAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ArchiveAPI) SetSortBy ¶
func (api *ArchiveAPI) SetSortBy(key string, reverse bool)
SetSortBy 任意項目でのソート指定
func (*ArchiveAPI) SetSortByName ¶
func (api *ArchiveAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ArchiveAPI) SetSortBySize ¶
func (api *ArchiveAPI) SetSortBySize(reverse bool)
SetSortBySize サイズでのソート
func (*ArchiveAPI) SleepWhileCopying ¶
SleepWhileCopying コピー終了まで待機
func (*ArchiveAPI) SortBy ¶
func (api *ArchiveAPI) SortBy(key string, reverse bool) *ArchiveAPI
SortBy 任意項目でのソート指定
func (*ArchiveAPI) SortByName ¶
func (api *ArchiveAPI) SortByName(reverse bool) *ArchiveAPI
SortByName 名称でのソート
func (*ArchiveAPI) SortBySize ¶
func (api *ArchiveAPI) SortBySize(reverse bool) *ArchiveAPI
SortBySize サイズでのソート
func (*ArchiveAPI) WithNameLike ¶
func (api *ArchiveAPI) WithNameLike(name string) *ArchiveAPI
WithNameLike 名称条件
func (*ArchiveAPI) WithSharedScope ¶
func (api *ArchiveAPI) WithSharedScope() *ArchiveAPI
WithSharedScope 共有スコープ条件
func (*ArchiveAPI) WithSizeGib ¶
func (api *ArchiveAPI) WithSizeGib(size int) *ArchiveAPI
WithSizeGib アーカイブサイズ条件
func (*ArchiveAPI) WithTags ¶
func (api *ArchiveAPI) WithTags(tags []string) *ArchiveAPI
WithTags タグ(複数)条件
func (*ArchiveAPI) WithUserScope ¶
func (api *ArchiveAPI) WithUserScope() *ArchiveAPI
WithUserScope ユーザースコープ条件
type AuthStatusAPI ¶
type AuthStatusAPI struct {
// contains filtered or unexported fields
}
AuthStatusAPI 認証状態API
func NewAuthStatusAPI ¶
func NewAuthStatusAPI(client *Client) *AuthStatusAPI
NewAuthStatusAPI 認証状態API作成
func (AuthStatusAPI) NewResourceMonitorRequest ¶
func (api AuthStatusAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*AuthStatusAPI) Read ¶
func (api *AuthStatusAPI) Read() (*sacloud.AuthStatus, error)
Read 読み取り
type AutoBackupAPI ¶
type AutoBackupAPI struct {
// contains filtered or unexported fields
}
AutoBackupAPI 自動バックアップAPI
func NewAutoBackupAPI ¶
func NewAutoBackupAPI(client *Client) *AutoBackupAPI
NewAutoBackupAPI 自動バックアップAPI作成
func (*AutoBackupAPI) Create ¶
func (api *AutoBackupAPI) Create(value *sacloud.AutoBackup) (*sacloud.AutoBackup, error)
Create 新規作成
func (*AutoBackupAPI) Delete ¶
func (api *AutoBackupAPI) Delete(id sacloud.ID) (*sacloud.AutoBackup, error)
Delete 削除
func (*AutoBackupAPI) Exclude ¶
func (api *AutoBackupAPI) Exclude(key string) *AutoBackupAPI
Exclude 除外する項目
func (*AutoBackupAPI) FilterBy ¶
func (api *AutoBackupAPI) FilterBy(key string, value interface{}) *AutoBackupAPI
FilterBy 指定キーでのフィルタ
func (*AutoBackupAPI) FilterMultiBy ¶
func (api *AutoBackupAPI) FilterMultiBy(key string, value interface{}) *AutoBackupAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*AutoBackupAPI) Find ¶
func (api *AutoBackupAPI) Find() (*SearchAutoBackupResponse, error)
Find 検索
func (*AutoBackupAPI) Include ¶
func (api *AutoBackupAPI) Include(key string) *AutoBackupAPI
Include 取得する項目
func (*AutoBackupAPI) New ¶
func (api *AutoBackupAPI) New(name string, diskID sacloud.ID) *sacloud.AutoBackup
New 新規作成用パラメーター作成
func (AutoBackupAPI) NewResourceMonitorRequest ¶
func (api AutoBackupAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*AutoBackupAPI) Offset ¶
func (api *AutoBackupAPI) Offset(offset int) *AutoBackupAPI
Offset オフセット
func (*AutoBackupAPI) Read ¶
func (api *AutoBackupAPI) Read(id sacloud.ID) (*sacloud.AutoBackup, error)
Read 読み取り
func (*AutoBackupAPI) SetExclude ¶
func (api *AutoBackupAPI) SetExclude(key string)
SetExclude 除外する項目
func (*AutoBackupAPI) SetFilterBy ¶
func (api *AutoBackupAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルタ
func (*AutoBackupAPI) SetFilterMultiBy ¶
func (api *AutoBackupAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*AutoBackupAPI) SetInclude ¶
func (api *AutoBackupAPI) SetInclude(key string)
SetInclude 取得する項目
func (*AutoBackupAPI) SetNameLike ¶
func (api *AutoBackupAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*AutoBackupAPI) SetSortBy ¶
func (api *AutoBackupAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*AutoBackupAPI) SetSortByName ¶
func (api *AutoBackupAPI) SetSortByName(reverse bool)
SetSortByName 名前でのソート
func (*AutoBackupAPI) SortBy ¶
func (api *AutoBackupAPI) SortBy(key string, reverse bool) *AutoBackupAPI
SortBy 指定キーでのソート
func (*AutoBackupAPI) SortByName ¶
func (api *AutoBackupAPI) SortByName(reverse bool) *AutoBackupAPI
SortByName 名前でのソート
func (*AutoBackupAPI) Update ¶
func (api *AutoBackupAPI) Update(id sacloud.ID, value *sacloud.AutoBackup) (*sacloud.AutoBackup, error)
Update 更新
func (*AutoBackupAPI) WithNameLike ¶
func (api *AutoBackupAPI) WithNameLike(name string) *AutoBackupAPI
WithNameLike 名称条件
func (*AutoBackupAPI) WithTag ¶
func (api *AutoBackupAPI) WithTag(tag string) *AutoBackupAPI
WithTag タグ条件
func (*AutoBackupAPI) WithTags ¶
func (api *AutoBackupAPI) WithTags(tags []string) *AutoBackupAPI
WithTags タグ(複数)条件
type BillAPI ¶
type BillAPI struct {
// contains filtered or unexported fields
}
BillAPI 請求情報API
func (*BillAPI) ByContract ¶
func (api *BillAPI) ByContract(accountID sacloud.ID) (*BillResponse, error)
ByContract アカウントIDごとの請求取得
func (*BillAPI) ByContractYear ¶
ByContractYear 年指定での請求取得
func (*BillAPI) ByContractYearMonth ¶
func (api *BillAPI) ByContractYearMonth(accountID sacloud.ID, year int, month int) (*BillResponse, error)
ByContractYearMonth 年月指定での請求指定
func (BillAPI) Find ¶
func (api BillAPI) Find() (*sacloud.SearchResponse, error)
func (*BillAPI) GetDetailCSV ¶
func (api *BillAPI) GetDetailCSV(memberCD string, billNo sacloud.ID) (*BillDetailCSVResponse, error)
GetDetailCSV 請求明細CSV取得
func (BillAPI) NewResourceMonitorRequest ¶
func (api BillAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
type BillDetailCSVResponse ¶
type BillDetailCSVResponse struct { *sacloud.ResultFlagValue // Count 件数 Count int `json:",omitempty"` // ResponsedAt 応答日時 ResponsedAt *time.Time `json:",omitempty"` // Filename ファイル名 Filename string `json:",omitempty"` // RawBody ボディ(未加工) RawBody string `json:"Body,omitempty"` // HeaderRow ヘッダ行 HeaderRow []string // BodyRows ボディ(各行/各列での配列) BodyRows [][]string }
BillDetailCSVResponse 請求明細CSVレスポンス
type BillDetailResponse ¶
type BillDetailResponse struct { *sacloud.ResultFlagValue // Count 件数 Count int `json:",omitempty"` // ResponsedAt 応答日時 ResponsedAt *time.Time `json:",omitempty"` // BillDetails 請求明細 リスト BillDetails []*sacloud.BillDetail }
BillDetailResponse 請求明細レスポンス
type BillResponse ¶
type BillResponse struct { *sacloud.ResultFlagValue // Count 件数 Count int `json:",omitempty"` // ResponsedAt 応答日時 ResponsedAt *time.Time `json:",omitempty"` // Bills 請求情報 リスト Bills []*sacloud.Bill }
BillResponse 請求情報レスポンス
type BridgeAPI ¶
type BridgeAPI struct {
// contains filtered or unexported fields
}
BridgeAPI ブリッジAPI
func (*BridgeAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (BridgeAPI) Find ¶
func (api BridgeAPI) Find() (*sacloud.SearchResponse, error)
func (BridgeAPI) NewResourceMonitorRequest ¶
func (api BridgeAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*BridgeAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*BridgeAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*BridgeAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*BridgeAPI) SortByName ¶
SortByName 名称でのソート
func (*BridgeAPI) WithNameLike ¶
WithNameLike 名称条件
type CDROMAPI ¶
type CDROMAPI struct {
// contains filtered or unexported fields
}
CDROMAPI ISOイメージAPI
func (*CDROMAPI) AsyncSleepWhileCopying ¶
func (api *CDROMAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*CDROMAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (CDROMAPI) Find ¶
func (api CDROMAPI) Find() (*sacloud.SearchResponse, error)
func (CDROMAPI) NewResourceMonitorRequest ¶
func (api CDROMAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*CDROMAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*CDROMAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*CDROMAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*CDROMAPI) SetSortBySize ¶
SetSortBySize サイズでのソート
func (*CDROMAPI) SleepWhileCopying ¶
SleepWhileCopying コピー終了まで待機
func (*CDROMAPI) SortByName ¶
SortByName 名称でのソート
func (*CDROMAPI) SortBySize ¶
SortBySize サイズでのソート
func (*CDROMAPI) WithNameLike ¶
WithNameLike 名称条件
func (*CDROMAPI) WithSharedScope ¶
WithSharedScope 公開スコープ条件
func (*CDROMAPI) WithSizeGib ¶
WithSizeGib サイズ条件
func (*CDROMAPI) WithUserScope ¶
WithUserScope ユーザースコープ条件
type Client ¶
type Client struct { // AccessToken アクセストークン AccessToken string // AccessTokenSecret アクセストークンシークレット AccessTokenSecret string // Zone 対象ゾーン Zone string *API // TraceMode トレースモード TraceMode bool // DefaultTimeoutDuration デフォルトタイムアウト間隔 DefaultTimeoutDuration time.Duration // ユーザーエージェント UserAgent string // Accept-Language AcceptLanguage string // リクエストパラメーター トレーサー RequestTracer io.Writer // レスポンス トレーサー ResponseTracer io.Writer // 503エラー時のリトライ回数 RetryMax int // 503エラー時のリトライ待ち時間 RetryInterval time.Duration // APIコール時に利用される*http.Client 未指定の場合http.DefaultClientが利用される HTTPClient *http.Client }
Client APIクライアント
type CouponAPI ¶ added in v1.6.0
type CouponAPI struct {
// contains filtered or unexported fields
}
CouponAPI クーポン情報API
func NewCouponAPI ¶ added in v1.6.0
NewCouponAPI クーポン情報API作成
func (CouponAPI) NewResourceMonitorRequest ¶ added in v1.6.0
func (api CouponAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
type CouponResponse ¶ added in v1.6.0
type CouponResponse struct { *sacloud.ResultFlagValue // AllCount 件数 AllCount int `json:",omitempty"` // CountPerPage ページあたり件数 CountPerPage int `json:",omitempty"` // Page 現在のページ番号 Page int `json:",omitempty"` // Coupons クーポン情報 リスト Coupons []*sacloud.Coupon }
CouponResponse クーポン情報レスポンス
type DNSAPI ¶
type DNSAPI struct {
// contains filtered or unexported fields
}
DNSAPI DNS API
func (*DNSAPI) DeleteDNSRecord ¶
DeleteDNSRecord DNSレコード削除
func (*DNSAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (DNSAPI) NewResourceMonitorRequest ¶
func (api DNSAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*DNSAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*DNSAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*DNSAPI) SetupDNSRecord ¶
SetupDNSRecord DNSレコード作成
func (*DNSAPI) WithNameLike ¶
WithNameLike 名称条件
type DatabaseAPI ¶
type DatabaseAPI struct {
// contains filtered or unexported fields
}
DatabaseAPI データベースAPI
func (*DatabaseAPI) AsyncSleepWhileCopying ¶
func (api *DatabaseAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*DatabaseAPI) Backup ¶
func (api *DatabaseAPI) Backup(id sacloud.ID) (string, error)
Backup バックアップ取得
func (*DatabaseAPI) Config ¶
func (api *DatabaseAPI) Config(id sacloud.ID) (bool, error)
Config 設定変更の反映
func (*DatabaseAPI) DeleteBackup ¶
DeleteBackup バックアップの削除
func (*DatabaseAPI) DownloadLog ¶
DownloadLog ログ取得
func (*DatabaseAPI) Exclude ¶
func (api *DatabaseAPI) Exclude(key string) *DatabaseAPI
Exclude 除外する項目
func (*DatabaseAPI) FilterBy ¶
func (api *DatabaseAPI) FilterBy(key string, value interface{}) *DatabaseAPI
FilterBy 指定項目でのフィルター
func (*DatabaseAPI) FilterMultiBy ¶
func (api *DatabaseAPI) FilterMultiBy(key string, value interface{}) *DatabaseAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*DatabaseAPI) HistoryLock ¶
HistoryLock バックアップ削除ロック
func (*DatabaseAPI) HistoryUnlock ¶
HistoryUnlock バックアップ削除アンロック
func (*DatabaseAPI) Include ¶
func (api *DatabaseAPI) Include(key string) *DatabaseAPI
Include 取得する項目
func (*DatabaseAPI) IsDatabaseRunning ¶
func (api *DatabaseAPI) IsDatabaseRunning(id sacloud.ID) (bool, error)
IsDatabaseRunning データベースプロセスが起動しているか判定
func (*DatabaseAPI) IsDown ¶
func (api *DatabaseAPI) IsDown(id sacloud.ID) (bool, error)
IsDown ダウンしているか判定
func (*DatabaseAPI) MonitorBackupDisk ¶
func (api *DatabaseAPI) MonitorBackupDisk(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorBackupDisk バックアップディスクアクティビティーモニター取得
func (*DatabaseAPI) MonitorCPU ¶
func (api *DatabaseAPI) MonitorCPU(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorCPU CPUアクティビティーモニター取得
func (*DatabaseAPI) MonitorDatabase ¶
func (api *DatabaseAPI) MonitorDatabase(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorDatabase データーベース固有項目アクティビティモニター取得
func (*DatabaseAPI) MonitorInterface ¶
func (api *DatabaseAPI) MonitorInterface(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorInterface NICアクティビティーモニター取得
func (*DatabaseAPI) MonitorSystemDisk ¶
func (api *DatabaseAPI) MonitorSystemDisk(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorSystemDisk システムディスクアクティビティーモニター取得
func (*DatabaseAPI) New ¶
func (api *DatabaseAPI) New(values *sacloud.CreateDatabaseValue) *sacloud.Database
New 新規作成用パラメーター作成
func (DatabaseAPI) NewResourceMonitorRequest ¶
func (api DatabaseAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*DatabaseAPI) RebootForce ¶
func (api *DatabaseAPI) RebootForce(id sacloud.ID) (bool, error)
RebootForce 再起動
func (*DatabaseAPI) ResetForce ¶
ResetForce リセット
func (*DatabaseAPI) SetFilterBy ¶
func (api *DatabaseAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定項目でのフィルター
func (*DatabaseAPI) SetFilterMultiBy ¶
func (api *DatabaseAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*DatabaseAPI) SetSortBy ¶
func (api *DatabaseAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*DatabaseAPI) SetSortByName ¶
func (api *DatabaseAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*DatabaseAPI) Shutdown ¶
func (api *DatabaseAPI) Shutdown(id sacloud.ID) (bool, error)
Shutdown シャットダウン(graceful)
func (*DatabaseAPI) SleepUntilDatabaseRunning ¶
func (api *DatabaseAPI) SleepUntilDatabaseRunning(id sacloud.ID, timeout time.Duration, maxRetry int) error
SleepUntilDatabaseRunning 起動するまで待機
func (*DatabaseAPI) SleepUntilDown ¶
SleepUntilDown ダウンするまで待機
func (*DatabaseAPI) SleepUntilUp ¶
SleepUntilUp 起動するまで待機
func (*DatabaseAPI) SleepWhileCopying ¶
SleepWhileCopying コピー終了まで待機
func (*DatabaseAPI) SortBy ¶
func (api *DatabaseAPI) SortBy(key string, reverse bool) *DatabaseAPI
SortBy 指定キーでのソート
func (*DatabaseAPI) SortByName ¶
func (api *DatabaseAPI) SortByName(reverse bool) *DatabaseAPI
SortByName 名称でのソート
func (*DatabaseAPI) Status ¶
func (api *DatabaseAPI) Status(id sacloud.ID) (*sacloud.DatabaseStatus, error)
Status DBの設定/起動状態の取得
func (*DatabaseAPI) Stop ¶
func (api *DatabaseAPI) Stop(id sacloud.ID) (bool, error)
Stop シャットダウン(force)
func (*DatabaseAPI) UpdateSetting ¶
func (api *DatabaseAPI) UpdateSetting(id sacloud.ID, value *sacloud.Database) (*sacloud.Database, error)
UpdateSetting 設定更新
func (*DatabaseAPI) WithNameLike ¶
func (api *DatabaseAPI) WithNameLike(name string) *DatabaseAPI
WithNameLike 名称条件
func (*DatabaseAPI) WithTags ¶
func (api *DatabaseAPI) WithTags(tags []string) *DatabaseAPI
WithTags タグ(複数)条件
type DiskAPI ¶
type DiskAPI struct {
// contains filtered or unexported fields
}
DiskAPI ディスクAPI
func (*DiskAPI) AsyncSleepWhileCopying ¶
func (api *DiskAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*DiskAPI) CanEditDisk ¶
CanEditDisk ディスクの修正が可能か判定
func (*DiskAPI) ConnectToServer ¶
ConnectToServer サーバーとの接続
func (*DiskAPI) CreateWithConfig ¶
func (api *DiskAPI) CreateWithConfig(value *sacloud.Disk, config *sacloud.DiskEditValue, bootAtAvailable bool) (*sacloud.Disk, error)
CreateWithConfig ディスク作成とディスクの修正、サーバ起動(指定されていれば)を1回のAPI呼び出しで実行
func (*DiskAPI) DisconnectFromServer ¶
DisconnectFromServer サーバーとの接続解除
func (*DiskAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (DiskAPI) Find ¶
func (api DiskAPI) Find() (*sacloud.SearchResponse, error)
func (*DiskAPI) GetPublicArchiveIDFromAncestors ¶
GetPublicArchiveIDFromAncestors 祖先の中からパブリックアーカイブのIDを検索
func (*DiskAPI) Monitor ¶
func (api *DiskAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター取得
func (*DiskAPI) NewCondig ¶
func (api *DiskAPI) NewCondig() *sacloud.DiskEditValue
NewCondig ディスクの修正用パラメーター作成
func (DiskAPI) NewResourceMonitorRequest ¶
func (api DiskAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*DiskAPI) ReinstallFromArchive ¶
func (api *DiskAPI) ReinstallFromArchive(id sacloud.ID, archiveID sacloud.ID, distantFrom ...sacloud.ID) (bool, error)
ReinstallFromArchive アーカイブからの再インストール
func (*DiskAPI) ReinstallFromBlank ¶
ReinstallFromBlank ブランクディスクから再インストール
func (*DiskAPI) ReinstallFromDisk ¶
func (api *DiskAPI) ReinstallFromDisk(id sacloud.ID, diskID sacloud.ID, distantFrom ...sacloud.ID) (bool, error)
ReinstallFromDisk ディスクからの再インストール
func (*DiskAPI) ResizePartition ¶
ResizePartition パーティションのリサイズ
func (*DiskAPI) ResizePartitionBackground ¶ added in v1.28.0
ResizePartitionBackground パーティションのリサイズ(非同期)
func (*DiskAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*DiskAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*DiskAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*DiskAPI) SetSortBySize ¶
SetSortBySize サイズでのソート
func (*DiskAPI) SleepWhileCopying ¶
SleepWhileCopying コピー終了まで待機
func (*DiskAPI) SortByConnectionOrder ¶
SortByConnectionOrder 接続順でのソート
func (*DiskAPI) SortByName ¶
SortByName 名称でのソート
func (*DiskAPI) SortBySize ¶
SortBySize サイズでのソート
func (*DiskAPI) WithNameLike ¶
WithNameLike 名称条件
func (*DiskAPI) WithServerID ¶
WithServerID サーバーID条件
type Error ¶
type Error interface { // errorインターフェースを内包 error // エラー発生時のレスポンスコード ResponseCode() int // エラーコード Code() string // エラー発生時のメッセージ Message() string // エラー追跡用シリアルコード Serial() string // エラー(オリジナル) OrigErr() *sacloud.ResultErrorValue }
Error APIコール時のエラー情報
type FacilityAPI ¶
FacilityAPI ファシリティ関連API群
func (*FacilityAPI) GetRegionAPI ¶
func (api *FacilityAPI) GetRegionAPI() *RegionAPI
GetRegionAPI リージョンAPI取得
type GSLBAPI ¶
type GSLBAPI struct {
// contains filtered or unexported fields
}
GSLBAPI GSLB API
func (*GSLBAPI) DeleteGSLBServer ¶
DeleteGSLBServer GSLB配下のサーバー削除
func (*GSLBAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (GSLBAPI) NewResourceMonitorRequest ¶
func (api GSLBAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*GSLBAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*GSLBAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*GSLBAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*GSLBAPI) SetupGSLBRecord ¶
SetupGSLBRecord GSLB配下にサーバー追加
func (*GSLBAPI) SortByName ¶
SortByName 名称でのソート
func (*GSLBAPI) WithNameLike ¶
WithNameLike 名称条件
type IPAddressAPI ¶
type IPAddressAPI struct {
// contains filtered or unexported fields
}
IPAddressAPI IPアドレスAPI
func NewIPAddressAPI ¶
func NewIPAddressAPI(client *Client) *IPAddressAPI
NewIPAddressAPI IPアドレスAPI新規作成
func (*IPAddressAPI) Exclude ¶
func (api *IPAddressAPI) Exclude(key string) *IPAddressAPI
Exclude 除外する項目
func (*IPAddressAPI) FilterBy ¶
func (api *IPAddressAPI) FilterBy(key string, value interface{}) *IPAddressAPI
FilterBy 指定キーでのフィルタ
func (*IPAddressAPI) FilterMultiBy ¶
func (api *IPAddressAPI) FilterMultiBy(key string, value interface{}) *IPAddressAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (IPAddressAPI) Find ¶
func (api IPAddressAPI) Find() (*sacloud.SearchResponse, error)
func (*IPAddressAPI) Include ¶
func (api *IPAddressAPI) Include(key string) *IPAddressAPI
Include 取得する項目
func (IPAddressAPI) NewResourceMonitorRequest ¶
func (api IPAddressAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*IPAddressAPI) Offset ¶
func (api *IPAddressAPI) Offset(offset int) *IPAddressAPI
Offset オフセット
func (*IPAddressAPI) Read ¶
func (api *IPAddressAPI) Read(ip string) (*sacloud.IPAddress, error)
Read 読み取り
func (*IPAddressAPI) SetFilterBy ¶
func (api *IPAddressAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルタ
func (*IPAddressAPI) SetFilterMultiBy ¶
func (api *IPAddressAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*IPAddressAPI) SetSortBy ¶
func (api *IPAddressAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*IPAddressAPI) SortBy ¶
func (api *IPAddressAPI) SortBy(key string, reverse bool) *IPAddressAPI
SortBy 指定キーでのソート
type IPv6AddrAPI ¶
type IPv6AddrAPI struct {
// contains filtered or unexported fields
}
IPv6AddrAPI IPv6アドレスAPI
func NewIPv6AddrAPI ¶
func NewIPv6AddrAPI(client *Client) *IPv6AddrAPI
NewIPv6AddrAPI IPv6アドレスAPI新規作成
func (*IPv6AddrAPI) Delete ¶
func (api *IPv6AddrAPI) Delete(ip string) (*sacloud.IPv6Addr, error)
Delete 削除
func (*IPv6AddrAPI) Exclude ¶
func (api *IPv6AddrAPI) Exclude(key string) *IPv6AddrAPI
Exclude 除外する項目
func (*IPv6AddrAPI) FilterBy ¶
func (api *IPv6AddrAPI) FilterBy(key string, value interface{}) *IPv6AddrAPI
FilterBy 指定キーでのフィルター
func (*IPv6AddrAPI) FilterMultiBy ¶
func (api *IPv6AddrAPI) FilterMultiBy(key string, value interface{}) *IPv6AddrAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (IPv6AddrAPI) Find ¶
func (api IPv6AddrAPI) Find() (*sacloud.SearchResponse, error)
func (*IPv6AddrAPI) Include ¶
func (api *IPv6AddrAPI) Include(key string) *IPv6AddrAPI
Include 取得する項目
func (IPv6AddrAPI) NewResourceMonitorRequest ¶
func (api IPv6AddrAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*IPv6AddrAPI) Read ¶
func (api *IPv6AddrAPI) Read(ip string) (*sacloud.IPv6Addr, error)
Read 読み取り
func (*IPv6AddrAPI) SetFilterBy ¶
func (api *IPv6AddrAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*IPv6AddrAPI) SetFilterMultiBy ¶
func (api *IPv6AddrAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*IPv6AddrAPI) SetSortBy ¶
func (api *IPv6AddrAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*IPv6AddrAPI) SortBy ¶
func (api *IPv6AddrAPI) SortBy(key string, reverse bool) *IPv6AddrAPI
SortBy 指定キーでのソート
type IPv6NetAPI ¶
type IPv6NetAPI struct {
// contains filtered or unexported fields
}
IPv6NetAPI IPv6ネットワークAPI
func (*IPv6NetAPI) FilterBy ¶
func (api *IPv6NetAPI) FilterBy(key string, value interface{}) *IPv6NetAPI
FilterBy 指定キーでのフィルター
func (*IPv6NetAPI) FilterMultiBy ¶
func (api *IPv6NetAPI) FilterMultiBy(key string, value interface{}) *IPv6NetAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (IPv6NetAPI) Find ¶
func (api IPv6NetAPI) Find() (*sacloud.SearchResponse, error)
func (IPv6NetAPI) NewResourceMonitorRequest ¶
func (api IPv6NetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*IPv6NetAPI) SetFilterBy ¶
func (api *IPv6NetAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*IPv6NetAPI) SetFilterMultiBy ¶
func (api *IPv6NetAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*IPv6NetAPI) SetSortBy ¶
func (api *IPv6NetAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*IPv6NetAPI) SortBy ¶
func (api *IPv6NetAPI) SortBy(key string, reverse bool) *IPv6NetAPI
SortBy 指定キーでのソート
type IconAPI ¶
type IconAPI struct {
// contains filtered or unexported fields
}
IconAPI アイコンAPI
func (*IconAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (IconAPI) Find ¶
func (api IconAPI) Find() (*sacloud.SearchResponse, error)
func (IconAPI) NewResourceMonitorRequest ¶
func (api IconAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*IconAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*IconAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*IconAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*IconAPI) SortByName ¶
SortByName 名称でのソート
func (*IconAPI) WithNameLike ¶
WithNameLike 名称条件
func (*IconAPI) WithSharedScope ¶
WithSharedScope 公開スコープ条件
func (*IconAPI) WithUserScope ¶
WithUserScope ユーザースコープ条件
type InterfaceAPI ¶
type InterfaceAPI struct {
// contains filtered or unexported fields
}
InterfaceAPI インターフェースAPI
func NewInterfaceAPI ¶
func NewInterfaceAPI(client *Client) *InterfaceAPI
NewInterfaceAPI インターフェースAPI作成
func (*InterfaceAPI) ConnectToPacketFilter ¶
func (api *InterfaceAPI) ConnectToPacketFilter(interfaceID sacloud.ID, packetFilterID sacloud.ID) (bool, error)
ConnectToPacketFilter パケットフィルター適用
func (*InterfaceAPI) ConnectToSharedSegment ¶
func (api *InterfaceAPI) ConnectToSharedSegment(interfaceID sacloud.ID) (bool, error)
ConnectToSharedSegment 共有セグメントへ接続する
func (*InterfaceAPI) ConnectToSwitch ¶
ConnectToSwitch スイッチへ接続する
func (*InterfaceAPI) CreateAndConnectToServer ¶
CreateAndConnectToServer 新規作成しサーバーへ接続する
func (*InterfaceAPI) DeleteDisplayIPAddress ¶ added in v1.1.0
func (api *InterfaceAPI) DeleteDisplayIPAddress(interfaceID sacloud.ID) (bool, error)
DeleteDisplayIPAddress 表示用IPアドレス 削除
func (*InterfaceAPI) DisconnectFromPacketFilter ¶
func (api *InterfaceAPI) DisconnectFromPacketFilter(interfaceID sacloud.ID) (bool, error)
DisconnectFromPacketFilter パケットフィルター切断
func (*InterfaceAPI) DisconnectFromSwitch ¶
func (api *InterfaceAPI) DisconnectFromSwitch(interfaceID sacloud.ID) (bool, error)
DisconnectFromSwitch スイッチと切断する
func (*InterfaceAPI) Exclude ¶
func (api *InterfaceAPI) Exclude(key string) *InterfaceAPI
Exclude 除外する項目
func (*InterfaceAPI) FilterBy ¶
func (api *InterfaceAPI) FilterBy(key string, value interface{}) *InterfaceAPI
FilterBy 指定キーでのフィルター
func (*InterfaceAPI) FilterMultiBy ¶
func (api *InterfaceAPI) FilterMultiBy(key string, value interface{}) *InterfaceAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (InterfaceAPI) Find ¶
func (api InterfaceAPI) Find() (*sacloud.SearchResponse, error)
func (*InterfaceAPI) Include ¶
func (api *InterfaceAPI) Include(key string) *InterfaceAPI
Include 取得する項目
func (*InterfaceAPI) Monitor ¶
func (api *InterfaceAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター取得
func (InterfaceAPI) NewResourceMonitorRequest ¶
func (api InterfaceAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*InterfaceAPI) Offset ¶
func (api *InterfaceAPI) Offset(offset int) *InterfaceAPI
Offset オフセット
func (*InterfaceAPI) SetDisplayIPAddress ¶ added in v1.1.0
func (api *InterfaceAPI) SetDisplayIPAddress(interfaceID sacloud.ID, ipaddress string) (bool, error)
SetDisplayIPAddress 表示用IPアドレス 設定
func (*InterfaceAPI) SetFilterBy ¶
func (api *InterfaceAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*InterfaceAPI) SetFilterMultiBy ¶
func (api *InterfaceAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*InterfaceAPI) SetNameLike ¶
func (api *InterfaceAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*InterfaceAPI) SetSortBy ¶
func (api *InterfaceAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*InterfaceAPI) SetSortByName ¶
func (api *InterfaceAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*InterfaceAPI) SortBy ¶
func (api *InterfaceAPI) SortBy(key string, reverse bool) *InterfaceAPI
SortBy 指定キーでのソート
func (*InterfaceAPI) SortByName ¶
func (api *InterfaceAPI) SortByName(reverse bool) *InterfaceAPI
SortByName 名称でのソート
func (*InterfaceAPI) Update ¶
func (api *InterfaceAPI) Update(id sacloud.ID, value *sacloud.Interface) (*sacloud.Interface, error)
Update 更新
func (*InterfaceAPI) WithNameLike ¶
func (api *InterfaceAPI) WithNameLike(name string) *InterfaceAPI
WithNameLike 名称条件
func (*InterfaceAPI) WithTag ¶
func (api *InterfaceAPI) WithTag(tag string) *InterfaceAPI
WithTag タグ条件
func (*InterfaceAPI) WithTags ¶
func (api *InterfaceAPI) WithTags(tags []string) *InterfaceAPI
WithTags タグ(複数)条件
type InternetAPI ¶
type InternetAPI struct {
// contains filtered or unexported fields
}
InternetAPI ルーターAPI
func (*InternetAPI) AddSubnet ¶
func (api *InternetAPI) AddSubnet(id sacloud.ID, nwMaskLen int, nextHop string) (*sacloud.Subnet, error)
AddSubnet IPアドレスブロックの追加割り当て
func (*InternetAPI) DeleteSubnet ¶
func (api *InternetAPI) DeleteSubnet(id sacloud.ID, subnetID sacloud.ID) (*sacloud.ResultFlagValue, error)
DeleteSubnet IPアドレスブロックの削除
func (*InternetAPI) DisableIPv6 ¶
DisableIPv6 IPv6無効化
func (*InternetAPI) EnableIPv6 ¶
EnableIPv6 IPv6有効化
func (*InternetAPI) Exclude ¶
func (api *InternetAPI) Exclude(key string) *InternetAPI
Exclude 除外する項目
func (*InternetAPI) FilterBy ¶
func (api *InternetAPI) FilterBy(key string, value interface{}) *InternetAPI
FilterBy 指定キーでのフィルター
func (*InternetAPI) FilterMultiBy ¶
func (api *InternetAPI) FilterMultiBy(key string, value interface{}) *InternetAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (InternetAPI) Find ¶
func (api InternetAPI) Find() (*sacloud.SearchResponse, error)
func (*InternetAPI) Include ¶
func (api *InternetAPI) Include(key string) *InternetAPI
Include 取得する項目
func (*InternetAPI) Monitor ¶
func (api *InternetAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター取得
func (InternetAPI) NewResourceMonitorRequest ¶
func (api InternetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*InternetAPI) RetrySleepWhileCreating ¶
func (api *InternetAPI) RetrySleepWhileCreating(id sacloud.ID, timeout time.Duration, maxRetry int) error
RetrySleepWhileCreating 作成完了まで待機 作成直後はReadが404を返すことがあるためmaxRetryまでリトライする
func (*InternetAPI) SetFilterBy ¶
func (api *InternetAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*InternetAPI) SetFilterMultiBy ¶
func (api *InternetAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*InternetAPI) SetSortBy ¶
func (api *InternetAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*InternetAPI) SetSortByName ¶
func (api *InternetAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*InternetAPI) SleepWhileCreating ¶
SleepWhileCreating 作成完了まで待機(リトライ10)
func (*InternetAPI) SortBy ¶
func (api *InternetAPI) SortBy(key string, reverse bool) *InternetAPI
SortBy 指定キーでのソート
func (*InternetAPI) SortByName ¶
func (api *InternetAPI) SortByName(reverse bool) *InternetAPI
SortByName 名称でのソート
func (*InternetAPI) UpdateBandWidth ¶
UpdateBandWidth 帯域幅更新
func (*InternetAPI) UpdateSubnet ¶
func (api *InternetAPI) UpdateSubnet(id sacloud.ID, subnetID sacloud.ID, nextHop string) (*sacloud.Subnet, error)
UpdateSubnet IPアドレスブロックの更新
func (*InternetAPI) WithNameLike ¶
func (api *InternetAPI) WithNameLike(name string) *InternetAPI
WithNameLike 名称条件
func (*InternetAPI) WithTags ¶
func (api *InternetAPI) WithTags(tags []string) *InternetAPI
WithTags タグ(複数)条件
type LicenseAPI ¶
type LicenseAPI struct {
// contains filtered or unexported fields
}
LicenseAPI ライセンスAPI
func (*LicenseAPI) FilterBy ¶
func (api *LicenseAPI) FilterBy(key string, value interface{}) *LicenseAPI
FilterBy 指定キーでのフィルター
func (*LicenseAPI) FilterMultiBy ¶
func (api *LicenseAPI) FilterMultiBy(key string, value interface{}) *LicenseAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (LicenseAPI) Find ¶
func (api LicenseAPI) Find() (*sacloud.SearchResponse, error)
func (LicenseAPI) NewResourceMonitorRequest ¶
func (api LicenseAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*LicenseAPI) SetFilterBy ¶
func (api *LicenseAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*LicenseAPI) SetFilterMultiBy ¶
func (api *LicenseAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*LicenseAPI) SetSortBy ¶
func (api *LicenseAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*LicenseAPI) SetSortByName ¶
func (api *LicenseAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*LicenseAPI) SortBy ¶
func (api *LicenseAPI) SortBy(key string, reverse bool) *LicenseAPI
SortBy 指定キーでのソート
func (*LicenseAPI) SortByName ¶
func (api *LicenseAPI) SortByName(reverse bool) *LicenseAPI
SortByName 名称でのソート
func (*LicenseAPI) WithNameLike ¶
func (api *LicenseAPI) WithNameLike(name string) *LicenseAPI
WithNameLike 名称条件
func (*LicenseAPI) WithTags ¶
func (api *LicenseAPI) WithTags(tags []string) *LicenseAPI
WithTags タグ(複数)条件
type LoadBalancerAPI ¶
type LoadBalancerAPI struct {
// contains filtered or unexported fields
}
LoadBalancerAPI ロードバランサーAPI
func NewLoadBalancerAPI ¶
func NewLoadBalancerAPI(client *Client) *LoadBalancerAPI
NewLoadBalancerAPI ロードバランサーAPI作成
func (*LoadBalancerAPI) AsyncSleepWhileCopying ¶
func (api *LoadBalancerAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*LoadBalancerAPI) Boot ¶
func (api *LoadBalancerAPI) Boot(id sacloud.ID) (bool, error)
Boot 起動
func (*LoadBalancerAPI) Config ¶
func (api *LoadBalancerAPI) Config(id sacloud.ID) (bool, error)
Config 設定変更の反映
func (*LoadBalancerAPI) Create ¶
func (api *LoadBalancerAPI) Create(value *sacloud.LoadBalancer) (*sacloud.LoadBalancer, error)
Create 新規作成
func (*LoadBalancerAPI) Delete ¶
func (api *LoadBalancerAPI) Delete(id sacloud.ID) (*sacloud.LoadBalancer, error)
Delete 削除
func (*LoadBalancerAPI) Exclude ¶
func (api *LoadBalancerAPI) Exclude(key string) *LoadBalancerAPI
Exclude 除外する項目
func (*LoadBalancerAPI) FilterBy ¶
func (api *LoadBalancerAPI) FilterBy(key string, value interface{}) *LoadBalancerAPI
FilterBy 指定キーでのフィルター
func (*LoadBalancerAPI) FilterMultiBy ¶
func (api *LoadBalancerAPI) FilterMultiBy(key string, value interface{}) *LoadBalancerAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*LoadBalancerAPI) Find ¶
func (api *LoadBalancerAPI) Find() (*SearchLoadBalancerResponse, error)
Find 検索
func (*LoadBalancerAPI) Include ¶
func (api *LoadBalancerAPI) Include(key string) *LoadBalancerAPI
Include 取得する項目
func (*LoadBalancerAPI) IsDown ¶
func (api *LoadBalancerAPI) IsDown(id sacloud.ID) (bool, error)
IsDown ダウンしているか判定
func (*LoadBalancerAPI) IsUp ¶
func (api *LoadBalancerAPI) IsUp(id sacloud.ID) (bool, error)
IsUp 起動しているか判定
func (*LoadBalancerAPI) Limit ¶
func (api *LoadBalancerAPI) Limit(limit int) *LoadBalancerAPI
Limit リミット
func (*LoadBalancerAPI) Monitor ¶
func (api *LoadBalancerAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター取得
func (LoadBalancerAPI) NewResourceMonitorRequest ¶
func (api LoadBalancerAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*LoadBalancerAPI) Offset ¶
func (api *LoadBalancerAPI) Offset(offset int) *LoadBalancerAPI
Offset オフセット
func (*LoadBalancerAPI) Read ¶
func (api *LoadBalancerAPI) Read(id sacloud.ID) (*sacloud.LoadBalancer, error)
Read 読み取り
func (*LoadBalancerAPI) RebootForce ¶
func (api *LoadBalancerAPI) RebootForce(id sacloud.ID) (bool, error)
RebootForce 再起動
func (*LoadBalancerAPI) Reset ¶
func (api *LoadBalancerAPI) Reset() *LoadBalancerAPI
Reset 検索条件のリセット
func (*LoadBalancerAPI) ResetForce ¶
ResetForce リセット
func (*LoadBalancerAPI) SetExclude ¶
func (api *LoadBalancerAPI) SetExclude(key string)
SetExclude 除外する項目
func (*LoadBalancerAPI) SetFilterBy ¶
func (api *LoadBalancerAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*LoadBalancerAPI) SetFilterMultiBy ¶
func (api *LoadBalancerAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*LoadBalancerAPI) SetInclude ¶
func (api *LoadBalancerAPI) SetInclude(key string)
SetInclude 取得する項目
func (*LoadBalancerAPI) SetNameLike ¶
func (api *LoadBalancerAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*LoadBalancerAPI) SetOffset ¶
func (api *LoadBalancerAPI) SetOffset(offset int)
SetOffset オフセット
func (*LoadBalancerAPI) SetSortBy ¶
func (api *LoadBalancerAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*LoadBalancerAPI) SetSortByName ¶
func (api *LoadBalancerAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*LoadBalancerAPI) SetTags ¶
func (api *LoadBalancerAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*LoadBalancerAPI) Shutdown ¶
func (api *LoadBalancerAPI) Shutdown(id sacloud.ID) (bool, error)
Shutdown シャットダウン(graceful)
func (*LoadBalancerAPI) SleepUntilDown ¶
SleepUntilDown ダウンするまで待機
func (*LoadBalancerAPI) SleepUntilUp ¶
SleepUntilUp 起動するまで待機
func (*LoadBalancerAPI) SleepWhileCopying ¶
func (api *LoadBalancerAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
SleepWhileCopying コピー終了まで待機
func (*LoadBalancerAPI) SortBy ¶
func (api *LoadBalancerAPI) SortBy(key string, reverse bool) *LoadBalancerAPI
SortBy 指定キーでのソート
func (*LoadBalancerAPI) SortByName ¶
func (api *LoadBalancerAPI) SortByName(reverse bool) *LoadBalancerAPI
SortByName 名称でのソート
func (*LoadBalancerAPI) Status ¶ added in v1.9.0
func (api *LoadBalancerAPI) Status(id sacloud.ID) (*sacloud.LoadBalancerStatusResult, error)
Status ステータス取得
func (*LoadBalancerAPI) Stop ¶
func (api *LoadBalancerAPI) Stop(id sacloud.ID) (bool, error)
Stop シャットダウン(force)
func (*LoadBalancerAPI) Update ¶
func (api *LoadBalancerAPI) Update(id sacloud.ID, value *sacloud.LoadBalancer) (*sacloud.LoadBalancer, error)
Update 更新
func (*LoadBalancerAPI) WithNameLike ¶
func (api *LoadBalancerAPI) WithNameLike(name string) *LoadBalancerAPI
WithNameLike 名称条件
func (*LoadBalancerAPI) WithTag ¶
func (api *LoadBalancerAPI) WithTag(tag string) *LoadBalancerAPI
WithTag タグ条件
func (*LoadBalancerAPI) WithTags ¶
func (api *LoadBalancerAPI) WithTags(tags []string) *LoadBalancerAPI
WithTags タグ(複数)条件
type MobileGatewayAPI ¶
type MobileGatewayAPI struct {
// contains filtered or unexported fields
}
MobileGatewayAPI モバイルゲートウェイAPI
func NewMobileGatewayAPI ¶
func NewMobileGatewayAPI(client *Client) *MobileGatewayAPI
NewMobileGatewayAPI モバイルゲートウェイAPI作成
func (*MobileGatewayAPI) AddSIMRoute ¶
func (api *MobileGatewayAPI) AddSIMRoute(id sacloud.ID, simID sacloud.ID, prefix string) (bool, error)
AddSIMRoute SIMルート 個別追加
func (*MobileGatewayAPI) AsyncSleepWhileCopying ¶
func (api *MobileGatewayAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*MobileGatewayAPI) Boot ¶
func (api *MobileGatewayAPI) Boot(id sacloud.ID) (bool, error)
Boot 起動
func (*MobileGatewayAPI) Config ¶
func (api *MobileGatewayAPI) Config(id sacloud.ID) (bool, error)
Config 設定変更の反映
func (*MobileGatewayAPI) ConnectToSwitch ¶
ConnectToSwitch 指定のインデックス位置のNICをスイッチへ接続
func (*MobileGatewayAPI) Create ¶
func (api *MobileGatewayAPI) Create(value *sacloud.MobileGateway) (*sacloud.MobileGateway, error)
Create 新規作成
func (*MobileGatewayAPI) Delete ¶
func (api *MobileGatewayAPI) Delete(id sacloud.ID) (*sacloud.MobileGateway, error)
Delete 削除
func (*MobileGatewayAPI) DeleteSIMRoute ¶
func (api *MobileGatewayAPI) DeleteSIMRoute(id sacloud.ID, simID sacloud.ID, prefix string) (bool, error)
DeleteSIMRoute SIMルート 個別削除
func (*MobileGatewayAPI) DeleteSIMRoutes ¶
func (api *MobileGatewayAPI) DeleteSIMRoutes(id sacloud.ID) (bool, error)
DeleteSIMRoutes SIMルート 全件削除
func (*MobileGatewayAPI) DisableTrafficMonitoringConfig ¶
func (api *MobileGatewayAPI) DisableTrafficMonitoringConfig(id sacloud.ID) (bool, error)
DisableTrafficMonitoringConfig トラフィックコントロール 解除
func (*MobileGatewayAPI) DisconnectFromSwitch ¶
func (api *MobileGatewayAPI) DisconnectFromSwitch(id sacloud.ID) (bool, error)
DisconnectFromSwitch 指定のインデックス位置のNICをスイッチから切断
func (*MobileGatewayAPI) Exclude ¶
func (api *MobileGatewayAPI) Exclude(key string) *MobileGatewayAPI
Exclude 除外する項目
func (*MobileGatewayAPI) FilterBy ¶
func (api *MobileGatewayAPI) FilterBy(key string, value interface{}) *MobileGatewayAPI
FilterBy 指定キーでのフィルター
func (*MobileGatewayAPI) FilterMultiBy ¶
func (api *MobileGatewayAPI) FilterMultiBy(key string, value interface{}) *MobileGatewayAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*MobileGatewayAPI) Find ¶
func (api *MobileGatewayAPI) Find() (*SearchMobileGatewayResponse, error)
Find 検索
func (*MobileGatewayAPI) GetDNS ¶
func (api *MobileGatewayAPI) GetDNS(id sacloud.ID) (*sacloud.MobileGatewayResolver, error)
GetDNS DNSサーバ設定 取得
func (*MobileGatewayAPI) GetSIMRoutes ¶
func (api *MobileGatewayAPI) GetSIMRoutes(id sacloud.ID) ([]*sacloud.MobileGatewaySIMRoute, error)
GetSIMRoutes SIMルート 取得
func (*MobileGatewayAPI) GetTrafficMonitoringConfig ¶
func (api *MobileGatewayAPI) GetTrafficMonitoringConfig(id sacloud.ID) (*sacloud.TrafficMonitoringConfig, error)
GetTrafficMonitoringConfig トラフィックコントロール 取得
func (*MobileGatewayAPI) GetTrafficStatus ¶
func (api *MobileGatewayAPI) GetTrafficStatus(id sacloud.ID) (*sacloud.TrafficStatus, error)
GetTrafficStatus 当月通信量 取得
func (*MobileGatewayAPI) Include ¶
func (api *MobileGatewayAPI) Include(key string) *MobileGatewayAPI
Include 取得する項目
func (*MobileGatewayAPI) IsDown ¶
func (api *MobileGatewayAPI) IsDown(id sacloud.ID) (bool, error)
IsDown ダウンしているか判定
func (*MobileGatewayAPI) IsUp ¶
func (api *MobileGatewayAPI) IsUp(id sacloud.ID) (bool, error)
IsUp 起動しているか判定
func (*MobileGatewayAPI) Limit ¶
func (api *MobileGatewayAPI) Limit(limit int) *MobileGatewayAPI
Limit リミット
func (*MobileGatewayAPI) ListSIM ¶
func (api *MobileGatewayAPI) ListSIM(id sacloud.ID, req *MobileGatewaySIMRequest) ([]sacloud.SIMInfo, error)
ListSIM SIM一覧取得
func (*MobileGatewayAPI) MonitorBy ¶ added in v1.13.0
func (api *MobileGatewayAPI) MonitorBy(id sacloud.ID, nicIndex int, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorBy 指定位置のインターフェースのアクティビティーモニター取得
func (MobileGatewayAPI) NewResourceMonitorRequest ¶
func (api MobileGatewayAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*MobileGatewayAPI) Offset ¶
func (api *MobileGatewayAPI) Offset(offset int) *MobileGatewayAPI
Offset オフセット
func (*MobileGatewayAPI) Read ¶
func (api *MobileGatewayAPI) Read(id sacloud.ID) (*sacloud.MobileGateway, error)
Read 読み取り
func (*MobileGatewayAPI) RebootForce ¶
func (api *MobileGatewayAPI) RebootForce(id sacloud.ID) (bool, error)
RebootForce 再起動
func (*MobileGatewayAPI) Reset ¶
func (api *MobileGatewayAPI) Reset() *MobileGatewayAPI
Reset 検索条件のリセット
func (*MobileGatewayAPI) ResetForce ¶
ResetForce リセット
func (*MobileGatewayAPI) SetDNS ¶
func (api *MobileGatewayAPI) SetDNS(id sacloud.ID, dns *sacloud.MobileGatewayResolver) (bool, error)
SetDNS DNSサーバ設定
func (*MobileGatewayAPI) SetExclude ¶
func (api *MobileGatewayAPI) SetExclude(key string)
SetExclude 除外する項目
func (*MobileGatewayAPI) SetFilterBy ¶
func (api *MobileGatewayAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*MobileGatewayAPI) SetFilterMultiBy ¶
func (api *MobileGatewayAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*MobileGatewayAPI) SetInclude ¶
func (api *MobileGatewayAPI) SetInclude(key string)
SetInclude 取得する項目
func (*MobileGatewayAPI) SetNameLike ¶
func (api *MobileGatewayAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*MobileGatewayAPI) SetOffset ¶
func (api *MobileGatewayAPI) SetOffset(offset int)
SetOffset オフセット
func (*MobileGatewayAPI) SetSIMRoutes ¶
func (api *MobileGatewayAPI) SetSIMRoutes(id sacloud.ID, simRoutes *sacloud.MobileGatewaySIMRoutes) (bool, error)
SetSIMRoutes SIMルート 設定
func (*MobileGatewayAPI) SetSortBy ¶
func (api *MobileGatewayAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*MobileGatewayAPI) SetSortByName ¶
func (api *MobileGatewayAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*MobileGatewayAPI) SetTags ¶
func (api *MobileGatewayAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*MobileGatewayAPI) SetTrafficMonitoringConfig ¶
func (api *MobileGatewayAPI) SetTrafficMonitoringConfig(id sacloud.ID, trafficMonConfig *sacloud.TrafficMonitoringConfig) (bool, error)
SetTrafficMonitoringConfig トラフィックコントロール 設定
func (*MobileGatewayAPI) Shutdown ¶
func (api *MobileGatewayAPI) Shutdown(id sacloud.ID) (bool, error)
Shutdown シャットダウン(graceful)
func (*MobileGatewayAPI) SleepUntilDown ¶
SleepUntilDown ダウンするまで待機
func (*MobileGatewayAPI) SleepUntilUp ¶
SleepUntilUp 起動するまで待機
func (*MobileGatewayAPI) SleepWhileCopying ¶
func (api *MobileGatewayAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
SleepWhileCopying コピー終了まで待機
func (*MobileGatewayAPI) SortBy ¶
func (api *MobileGatewayAPI) SortBy(key string, reverse bool) *MobileGatewayAPI
SortBy 指定キーでのソート
func (*MobileGatewayAPI) SortByName ¶
func (api *MobileGatewayAPI) SortByName(reverse bool) *MobileGatewayAPI
SortByName 名称でのソート
func (*MobileGatewayAPI) Stop ¶
func (api *MobileGatewayAPI) Stop(id sacloud.ID) (bool, error)
Stop シャットダウン(force)
func (*MobileGatewayAPI) Update ¶
func (api *MobileGatewayAPI) Update(id sacloud.ID, value *sacloud.MobileGateway) (*sacloud.MobileGateway, error)
Update 更新
func (*MobileGatewayAPI) UpdateSetting ¶
func (api *MobileGatewayAPI) UpdateSetting(id sacloud.ID, value *sacloud.MobileGateway) (*sacloud.MobileGateway, error)
UpdateSetting 設定更新
func (*MobileGatewayAPI) WithNameLike ¶
func (api *MobileGatewayAPI) WithNameLike(name string) *MobileGatewayAPI
WithNameLike 名称条件
func (*MobileGatewayAPI) WithTag ¶
func (api *MobileGatewayAPI) WithTag(tag string) *MobileGatewayAPI
WithTag タグ条件
func (*MobileGatewayAPI) WithTags ¶
func (api *MobileGatewayAPI) WithTags(tags []string) *MobileGatewayAPI
WithTags タグ(複数)条件
type MobileGatewaySIMRequest ¶
type MobileGatewaySIMRequest struct { From int `json:",omitempty"` Count int `json:",omitempty"` Sort []string `json:",omitempty"` Filter map[string]interface{} `json:",omitempty"` Exclude []string `json:",omitempty"` Include []string `json:",omitempty"` }
MobileGatewaySIMRequest SIM一覧取得リクエスト
type NFSAPI ¶
type NFSAPI struct {
// contains filtered or unexported fields
}
NFSAPI NFSAPI
func (*NFSAPI) AsyncSleepWhileCopying ¶
func (api *NFSAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*NFSAPI) CreateWithPlan ¶ added in v1.17.0
func (api *NFSAPI) CreateWithPlan(value *sacloud.CreateNFSValue, plan sacloud.NFSPlan, size sacloud.NFSSize) (*sacloud.NFS, error)
CreateWithPlan プラン/サイズを指定してNFSを作成
func (*NFSAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*NFSAPI) GetNFSPlans ¶ added in v1.17.0
GetNFSPlans プラン一覧取得
func (*NFSAPI) MonitorFreeDiskSize ¶ added in v1.11.0
func (api *NFSAPI) MonitorFreeDiskSize(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorFreeDiskSize NFSディスク残量アクティビティモニター取得
func (*NFSAPI) MonitorInterface ¶
func (api *NFSAPI) MonitorInterface(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorInterface NICアクティビティーモニター取得
func (NFSAPI) NewResourceMonitorRequest ¶
func (api NFSAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*NFSAPI) RebootForce ¶
RebootForce 再起動
func (*NFSAPI) ResetForce ¶
ResetForce リセット
func (*NFSAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*NFSAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*NFSAPI) SleepUntilDown ¶
SleepUntilDown ダウンするまで待機
func (*NFSAPI) SleepUntilUp ¶
SleepUntilUp 起動するまで待機
func (*NFSAPI) SleepWhileCopying ¶
SleepWhileCopying コピー終了まで待機
func (*NFSAPI) WithNameLike ¶
WithNameLike 名称条件
type NewsFeedAPI ¶
type NewsFeedAPI struct {
// contains filtered or unexported fields
}
NewsFeedAPI フィード(障害/メンテナンス情報)API
func NewNewsFeedAPI ¶
func NewNewsFeedAPI(client *Client) *NewsFeedAPI
NewNewsFeedAPI フィード(障害/メンテナンス情報)API
func (*NewsFeedAPI) GetFeed ¶
func (api *NewsFeedAPI) GetFeed() ([]sacloud.NewsFeed, error)
GetFeed フィード全件取得
func (*NewsFeedAPI) GetFeedByURL ¶
func (api *NewsFeedAPI) GetFeedByURL(url string) (*sacloud.NewsFeed, error)
GetFeedByURL 指定のURLを持つフィードを取得
type NoteAPI ¶
type NoteAPI struct {
// contains filtered or unexported fields
}
NoteAPI スタートアップスクリプトAPI
func (*NoteAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (NoteAPI) Find ¶
func (api NoteAPI) Find() (*sacloud.SearchResponse, error)
func (NoteAPI) NewResourceMonitorRequest ¶
func (api NoteAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*NoteAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*NoteAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*NoteAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*NoteAPI) SortByName ¶
SortByName 名称でのソート
func (*NoteAPI) WithNameLike ¶
WithNameLike 名称条件
func (*NoteAPI) WithSharedScope ¶
WithSharedScope 公開スコープ条件
func (*NoteAPI) WithUserScope ¶
WithUserScope ユーザースコープ条件
type PacketFilterAPI ¶
type PacketFilterAPI struct {
// contains filtered or unexported fields
}
PacketFilterAPI パケットフィルターAPI
func NewPacketFilterAPI ¶
func NewPacketFilterAPI(client *Client) *PacketFilterAPI
NewPacketFilterAPI パケットフィルターAPI作成
func (*PacketFilterAPI) Create ¶
func (api *PacketFilterAPI) Create(value *sacloud.PacketFilter) (*sacloud.PacketFilter, error)
Create 新規作成
func (*PacketFilterAPI) Delete ¶
func (api *PacketFilterAPI) Delete(id sacloud.ID) (*sacloud.PacketFilter, error)
Delete 削除
func (*PacketFilterAPI) Exclude ¶
func (api *PacketFilterAPI) Exclude(key string) *PacketFilterAPI
Exclude 除外する項目
func (*PacketFilterAPI) FilterBy ¶
func (api *PacketFilterAPI) FilterBy(key string, value interface{}) *PacketFilterAPI
FilterBy 指定キーでのフィルター
func (*PacketFilterAPI) FilterMultiBy ¶
func (api *PacketFilterAPI) FilterMultiBy(key string, value interface{}) *PacketFilterAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (PacketFilterAPI) Find ¶
func (api PacketFilterAPI) Find() (*sacloud.SearchResponse, error)
func (*PacketFilterAPI) Include ¶
func (api *PacketFilterAPI) Include(key string) *PacketFilterAPI
Include 取得する項目
func (*PacketFilterAPI) Limit ¶
func (api *PacketFilterAPI) Limit(limit int) *PacketFilterAPI
Limit リミット
func (*PacketFilterAPI) New ¶
func (api *PacketFilterAPI) New() *sacloud.PacketFilter
New 新規作成用パラメーター作成
func (PacketFilterAPI) NewResourceMonitorRequest ¶
func (api PacketFilterAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*PacketFilterAPI) Offset ¶
func (api *PacketFilterAPI) Offset(offset int) *PacketFilterAPI
Offset オフセット
func (*PacketFilterAPI) Read ¶
func (api *PacketFilterAPI) Read(id sacloud.ID) (*sacloud.PacketFilter, error)
Read 読み取り
func (*PacketFilterAPI) Reset ¶
func (api *PacketFilterAPI) Reset() *PacketFilterAPI
Reset 検索条件のリセット
func (*PacketFilterAPI) SetExclude ¶
func (api *PacketFilterAPI) SetExclude(key string)
SetExclude 除外する項目
func (*PacketFilterAPI) SetFilterBy ¶
func (api *PacketFilterAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*PacketFilterAPI) SetFilterMultiBy ¶
func (api *PacketFilterAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*PacketFilterAPI) SetInclude ¶
func (api *PacketFilterAPI) SetInclude(key string)
SetInclude 取得する項目
func (*PacketFilterAPI) SetNameLike ¶
func (api *PacketFilterAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*PacketFilterAPI) SetOffset ¶
func (api *PacketFilterAPI) SetOffset(offset int)
SetOffset オフセット
func (*PacketFilterAPI) SetSortBy ¶
func (api *PacketFilterAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*PacketFilterAPI) SetSortByName ¶
func (api *PacketFilterAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*PacketFilterAPI) SetTags ¶
func (api *PacketFilterAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*PacketFilterAPI) SortBy ¶
func (api *PacketFilterAPI) SortBy(key string, reverse bool) *PacketFilterAPI
SortBy 指定キーでのソート
func (*PacketFilterAPI) SortByName ¶
func (api *PacketFilterAPI) SortByName(reverse bool) *PacketFilterAPI
SortByName 名称でのソート
func (*PacketFilterAPI) Update ¶
func (api *PacketFilterAPI) Update(id sacloud.ID, value *sacloud.PacketFilter) (*sacloud.PacketFilter, error)
Update 更新
func (*PacketFilterAPI) WithNameLike ¶
func (api *PacketFilterAPI) WithNameLike(name string) *PacketFilterAPI
WithNameLike 名称条件
func (*PacketFilterAPI) WithTag ¶
func (api *PacketFilterAPI) WithTag(tag string) *PacketFilterAPI
WithTag タグ条件
func (*PacketFilterAPI) WithTags ¶
func (api *PacketFilterAPI) WithTags(tags []string) *PacketFilterAPI
WithTags タグ(複数)条件
type PrivateHostAPI ¶
type PrivateHostAPI struct {
// contains filtered or unexported fields
}
PrivateHostAPI 専有ホストAPI
func NewPrivateHostAPI ¶
func NewPrivateHostAPI(client *Client) *PrivateHostAPI
NewPrivateHostAPI 専有ホストAPI作成
func (*PrivateHostAPI) Create ¶
func (api *PrivateHostAPI) Create(value *sacloud.PrivateHost) (*sacloud.PrivateHost, error)
Create 新規作成
func (*PrivateHostAPI) Delete ¶
func (api *PrivateHostAPI) Delete(id sacloud.ID) (*sacloud.PrivateHost, error)
Delete 削除
func (*PrivateHostAPI) Exclude ¶
func (api *PrivateHostAPI) Exclude(key string) *PrivateHostAPI
Exclude 除外する項目
func (*PrivateHostAPI) FilterBy ¶
func (api *PrivateHostAPI) FilterBy(key string, value interface{}) *PrivateHostAPI
FilterBy 指定キーでのフィルター
func (*PrivateHostAPI) FilterMultiBy ¶
func (api *PrivateHostAPI) FilterMultiBy(key string, value interface{}) *PrivateHostAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (PrivateHostAPI) Find ¶
func (api PrivateHostAPI) Find() (*sacloud.SearchResponse, error)
func (*PrivateHostAPI) Include ¶
func (api *PrivateHostAPI) Include(key string) *PrivateHostAPI
Include 取得する項目
func (*PrivateHostAPI) Limit ¶
func (api *PrivateHostAPI) Limit(limit int) *PrivateHostAPI
Limit リミット
func (*PrivateHostAPI) New ¶
func (api *PrivateHostAPI) New() *sacloud.PrivateHost
New 新規作成用パラメーター作成
func (PrivateHostAPI) NewResourceMonitorRequest ¶
func (api PrivateHostAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*PrivateHostAPI) Offset ¶
func (api *PrivateHostAPI) Offset(offset int) *PrivateHostAPI
Offset オフセット
func (*PrivateHostAPI) Read ¶
func (api *PrivateHostAPI) Read(id sacloud.ID) (*sacloud.PrivateHost, error)
Read 読み取り
func (*PrivateHostAPI) SetExclude ¶
func (api *PrivateHostAPI) SetExclude(key string)
SetExclude 除外する項目
func (*PrivateHostAPI) SetFilterBy ¶
func (api *PrivateHostAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*PrivateHostAPI) SetFilterMultiBy ¶
func (api *PrivateHostAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*PrivateHostAPI) SetInclude ¶
func (api *PrivateHostAPI) SetInclude(key string)
SetInclude 取得する項目
func (*PrivateHostAPI) SetNameLike ¶
func (api *PrivateHostAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*PrivateHostAPI) SetSortBy ¶
func (api *PrivateHostAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*PrivateHostAPI) SetSortByName ¶
func (api *PrivateHostAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*PrivateHostAPI) SortBy ¶
func (api *PrivateHostAPI) SortBy(key string, reverse bool) *PrivateHostAPI
SortBy 指定キーでのソート
func (*PrivateHostAPI) SortByName ¶
func (api *PrivateHostAPI) SortByName(reverse bool) *PrivateHostAPI
SortByName 名称でのソート
func (*PrivateHostAPI) Update ¶
func (api *PrivateHostAPI) Update(id sacloud.ID, value *sacloud.PrivateHost) (*sacloud.PrivateHost, error)
Update 更新
func (*PrivateHostAPI) WithNameLike ¶
func (api *PrivateHostAPI) WithNameLike(name string) *PrivateHostAPI
WithNameLike 名称条件
func (*PrivateHostAPI) WithTag ¶
func (api *PrivateHostAPI) WithTag(tag string) *PrivateHostAPI
WithTag タグ条件
func (*PrivateHostAPI) WithTags ¶
func (api *PrivateHostAPI) WithTags(tags []string) *PrivateHostAPI
WithTags タグ(複数)条件
type ProductAPI ¶
type ProductAPI struct { Server *ProductServerAPI // サーバープランAPI License *ProductLicenseAPI // ライセンスプランAPI Disk *ProductDiskAPI // ディスクプランAPI Internet *ProductInternetAPI // ルータープランAPI PrivateHost *ProductPrivateHostAPI // 専有ホストプランAPI Price *PublicPriceAPI // 価格情報API }
ProductAPI 製品情報関連API群
func (*ProductAPI) GetProductDiskAPI ¶
func (api *ProductAPI) GetProductDiskAPI() *ProductDiskAPI
GetProductDiskAPI ディスクプランAPI取得
func (*ProductAPI) GetProductInternetAPI ¶
func (api *ProductAPI) GetProductInternetAPI() *ProductInternetAPI
GetProductInternetAPI ルータープランAPI取得
func (*ProductAPI) GetProductLicenseAPI ¶
func (api *ProductAPI) GetProductLicenseAPI() *ProductLicenseAPI
GetProductLicenseAPI ライセンスプランAPI取得
func (*ProductAPI) GetProductPrivateHostAPI ¶
func (api *ProductAPI) GetProductPrivateHostAPI() *ProductPrivateHostAPI
GetProductPrivateHostAPI 専有ホストプラン取得API
func (*ProductAPI) GetProductServerAPI ¶
func (api *ProductAPI) GetProductServerAPI() *ProductServerAPI
GetProductServerAPI サーバープランAPI取得
func (*ProductAPI) GetPublicPriceAPI ¶
func (api *ProductAPI) GetPublicPriceAPI() *PublicPriceAPI
GetPublicPriceAPI 価格情報API取得
type ProductDiskAPI ¶
type ProductDiskAPI struct {
// contains filtered or unexported fields
}
ProductDiskAPI ディスクプランAPI
func NewProductDiskAPI ¶
func NewProductDiskAPI(client *Client) *ProductDiskAPI
NewProductDiskAPI ディスクプランAPI作成
func (*ProductDiskAPI) Exclude ¶
func (api *ProductDiskAPI) Exclude(key string) *ProductDiskAPI
Exclude 除外する項目
func (*ProductDiskAPI) FilterBy ¶
func (api *ProductDiskAPI) FilterBy(key string, value interface{}) *ProductDiskAPI
FilterBy 指定キーでのフィルター
func (*ProductDiskAPI) FilterMultiBy ¶
func (api *ProductDiskAPI) FilterMultiBy(key string, value interface{}) *ProductDiskAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ProductDiskAPI) Find ¶
func (api ProductDiskAPI) Find() (*sacloud.SearchResponse, error)
func (*ProductDiskAPI) Include ¶
func (api *ProductDiskAPI) Include(key string) *ProductDiskAPI
Include 取得する項目
func (*ProductDiskAPI) Limit ¶
func (api *ProductDiskAPI) Limit(limit int) *ProductDiskAPI
Limit リミット
func (ProductDiskAPI) NewResourceMonitorRequest ¶
func (api ProductDiskAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ProductDiskAPI) Offset ¶
func (api *ProductDiskAPI) Offset(offset int) *ProductDiskAPI
Offset オフセット
func (*ProductDiskAPI) Read ¶
func (api *ProductDiskAPI) Read(id sacloud.ID) (*sacloud.ProductDisk, error)
Read 読み取り
func (*ProductDiskAPI) SetExclude ¶
func (api *ProductDiskAPI) SetExclude(key string)
SetExclude 除外する項目
func (*ProductDiskAPI) SetFilterBy ¶
func (api *ProductDiskAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*ProductDiskAPI) SetFilterMultiBy ¶
func (api *ProductDiskAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProductDiskAPI) SetInclude ¶
func (api *ProductDiskAPI) SetInclude(key string)
SetInclude 取得する項目
func (*ProductDiskAPI) SetNameLike ¶
func (api *ProductDiskAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*ProductDiskAPI) SetSortBy ¶
func (api *ProductDiskAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*ProductDiskAPI) SetSortByName ¶
func (api *ProductDiskAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ProductDiskAPI) SortBy ¶
func (api *ProductDiskAPI) SortBy(key string, reverse bool) *ProductDiskAPI
SortBy 指定キーでのソート
func (*ProductDiskAPI) SortByName ¶
func (api *ProductDiskAPI) SortByName(reverse bool) *ProductDiskAPI
SortByName 名称でのソート
func (*ProductDiskAPI) WithNameLike ¶
func (api *ProductDiskAPI) WithNameLike(name string) *ProductDiskAPI
WithNameLike 名称条件
func (*ProductDiskAPI) WithTag ¶
func (api *ProductDiskAPI) WithTag(tag string) *ProductDiskAPI
WithTag タグ条件
func (*ProductDiskAPI) WithTags ¶
func (api *ProductDiskAPI) WithTags(tags []string) *ProductDiskAPI
WithTags タグ(複数)条件
type ProductInternetAPI ¶
type ProductInternetAPI struct {
// contains filtered or unexported fields
}
ProductInternetAPI ルータープランAPI
func NewProductInternetAPI ¶
func NewProductInternetAPI(client *Client) *ProductInternetAPI
NewProductInternetAPI ルータープランAPI作成
func (*ProductInternetAPI) Exclude ¶
func (api *ProductInternetAPI) Exclude(key string) *ProductInternetAPI
Exclude 除外する項目
func (*ProductInternetAPI) FilterBy ¶
func (api *ProductInternetAPI) FilterBy(key string, value interface{}) *ProductInternetAPI
FilterBy 指定キーでのフィルター
func (*ProductInternetAPI) FilterMultiBy ¶
func (api *ProductInternetAPI) FilterMultiBy(key string, value interface{}) *ProductInternetAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ProductInternetAPI) Find ¶
func (api ProductInternetAPI) Find() (*sacloud.SearchResponse, error)
func (*ProductInternetAPI) Include ¶
func (api *ProductInternetAPI) Include(key string) *ProductInternetAPI
Include 取得する項目
func (*ProductInternetAPI) Limit ¶
func (api *ProductInternetAPI) Limit(limit int) *ProductInternetAPI
Limit リミット
func (ProductInternetAPI) NewResourceMonitorRequest ¶
func (api ProductInternetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ProductInternetAPI) Offset ¶
func (api *ProductInternetAPI) Offset(offset int) *ProductInternetAPI
Offset オフセット
func (*ProductInternetAPI) Read ¶
func (api *ProductInternetAPI) Read(id sacloud.ID) (*sacloud.ProductInternet, error)
Read 読み取り
func (*ProductInternetAPI) Reset ¶
func (api *ProductInternetAPI) Reset() *ProductInternetAPI
Reset 検索条件のリセット
func (*ProductInternetAPI) SetExclude ¶
func (api *ProductInternetAPI) SetExclude(key string)
SetExclude 除外する項目
func (*ProductInternetAPI) SetFilterBy ¶
func (api *ProductInternetAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*ProductInternetAPI) SetFilterMultiBy ¶
func (api *ProductInternetAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProductInternetAPI) SetInclude ¶
func (api *ProductInternetAPI) SetInclude(key string)
SetInclude 取得する項目
func (*ProductInternetAPI) SetLimit ¶
func (api *ProductInternetAPI) SetLimit(limit int)
SetLimit リミット
func (*ProductInternetAPI) SetNameLike ¶
func (api *ProductInternetAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*ProductInternetAPI) SetOffset ¶
func (api *ProductInternetAPI) SetOffset(offset int)
SetOffset オフセット
func (*ProductInternetAPI) SetSortBy ¶
func (api *ProductInternetAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*ProductInternetAPI) SetSortByName ¶
func (api *ProductInternetAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ProductInternetAPI) SetTags ¶
func (api *ProductInternetAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*ProductInternetAPI) SortBy ¶
func (api *ProductInternetAPI) SortBy(key string, reverse bool) *ProductInternetAPI
SortBy 指定キーでのソート
func (*ProductInternetAPI) SortByName ¶
func (api *ProductInternetAPI) SortByName(reverse bool) *ProductInternetAPI
SortByName 名称でのソート
func (*ProductInternetAPI) WithNameLike ¶
func (api *ProductInternetAPI) WithNameLike(name string) *ProductInternetAPI
WithNameLike 名称条件
func (*ProductInternetAPI) WithTag ¶
func (api *ProductInternetAPI) WithTag(tag string) *ProductInternetAPI
WithTag タグ条件
func (*ProductInternetAPI) WithTags ¶
func (api *ProductInternetAPI) WithTags(tags []string) *ProductInternetAPI
WithTags タグ(複数)条件
type ProductLicenseAPI ¶
type ProductLicenseAPI struct {
// contains filtered or unexported fields
}
ProductLicenseAPI ライセンスプランAPI
func NewProductLicenseAPI ¶
func NewProductLicenseAPI(client *Client) *ProductLicenseAPI
NewProductLicenseAPI ライセンスプランAPI作成
func (*ProductLicenseAPI) Exclude ¶
func (api *ProductLicenseAPI) Exclude(key string) *ProductLicenseAPI
Exclude 除外する項目
func (*ProductLicenseAPI) FilterBy ¶
func (api *ProductLicenseAPI) FilterBy(key string, value interface{}) *ProductLicenseAPI
FilterBy 指定キーでのフィルター
func (*ProductLicenseAPI) FilterMultiBy ¶
func (api *ProductLicenseAPI) FilterMultiBy(key string, value interface{}) *ProductLicenseAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ProductLicenseAPI) Find ¶
func (api ProductLicenseAPI) Find() (*sacloud.SearchResponse, error)
func (*ProductLicenseAPI) Include ¶
func (api *ProductLicenseAPI) Include(key string) *ProductLicenseAPI
Include 取得する項目
func (*ProductLicenseAPI) Limit ¶
func (api *ProductLicenseAPI) Limit(limit int) *ProductLicenseAPI
Limit リミット
func (ProductLicenseAPI) NewResourceMonitorRequest ¶
func (api ProductLicenseAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ProductLicenseAPI) Offset ¶
func (api *ProductLicenseAPI) Offset(offset int) *ProductLicenseAPI
Offset オフセット
func (*ProductLicenseAPI) Read ¶
func (api *ProductLicenseAPI) Read(id sacloud.ID) (*sacloud.ProductLicense, error)
Read 読み取り
func (*ProductLicenseAPI) Reset ¶
func (api *ProductLicenseAPI) Reset() *ProductLicenseAPI
Reset 検索条件のリセット
func (*ProductLicenseAPI) SetExclude ¶
func (api *ProductLicenseAPI) SetExclude(key string)
SetExclude 除外する項目
func (*ProductLicenseAPI) SetFilterBy ¶
func (api *ProductLicenseAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*ProductLicenseAPI) SetFilterMultiBy ¶
func (api *ProductLicenseAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProductLicenseAPI) SetInclude ¶
func (api *ProductLicenseAPI) SetInclude(key string)
SetInclude 取得する項目
func (*ProductLicenseAPI) SetLimit ¶
func (api *ProductLicenseAPI) SetLimit(limit int)
SetLimit リミット
func (*ProductLicenseAPI) SetNameLike ¶
func (api *ProductLicenseAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*ProductLicenseAPI) SetOffset ¶
func (api *ProductLicenseAPI) SetOffset(offset int)
SetOffset オフセット
func (*ProductLicenseAPI) SetSortBy ¶
func (api *ProductLicenseAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*ProductLicenseAPI) SetSortByName ¶
func (api *ProductLicenseAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ProductLicenseAPI) SetTags ¶
func (api *ProductLicenseAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*ProductLicenseAPI) SortBy ¶
func (api *ProductLicenseAPI) SortBy(key string, reverse bool) *ProductLicenseAPI
SortBy 指定キーでのソート
func (*ProductLicenseAPI) SortByName ¶
func (api *ProductLicenseAPI) SortByName(reverse bool) *ProductLicenseAPI
SortByName 名称でのソート
func (*ProductLicenseAPI) WithNameLike ¶
func (api *ProductLicenseAPI) WithNameLike(name string) *ProductLicenseAPI
WithNameLike 名称条件
func (*ProductLicenseAPI) WithTag ¶
func (api *ProductLicenseAPI) WithTag(tag string) *ProductLicenseAPI
WithTag タグ条件
func (*ProductLicenseAPI) WithTags ¶
func (api *ProductLicenseAPI) WithTags(tags []string) *ProductLicenseAPI
WithTags タグ(複数)条件
type ProductPrivateHostAPI ¶
type ProductPrivateHostAPI struct {
// contains filtered or unexported fields
}
ProductPrivateHostAPI 専有ホストプランAPI
func NewProductPrivateHostAPI ¶
func NewProductPrivateHostAPI(client *Client) *ProductPrivateHostAPI
NewProductPrivateHostAPI 専有ホストプランAPI作成
func (*ProductPrivateHostAPI) Exclude ¶
func (api *ProductPrivateHostAPI) Exclude(key string) *ProductPrivateHostAPI
Exclude 除外する項目
func (*ProductPrivateHostAPI) FilterBy ¶
func (api *ProductPrivateHostAPI) FilterBy(key string, value interface{}) *ProductPrivateHostAPI
FilterBy 指定キーでのフィルター
func (*ProductPrivateHostAPI) FilterMultiBy ¶
func (api *ProductPrivateHostAPI) FilterMultiBy(key string, value interface{}) *ProductPrivateHostAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ProductPrivateHostAPI) Find ¶
func (api ProductPrivateHostAPI) Find() (*sacloud.SearchResponse, error)
func (*ProductPrivateHostAPI) Include ¶
func (api *ProductPrivateHostAPI) Include(key string) *ProductPrivateHostAPI
Include 取得する項目
func (*ProductPrivateHostAPI) Limit ¶
func (api *ProductPrivateHostAPI) Limit(limit int) *ProductPrivateHostAPI
Limit リミット
func (ProductPrivateHostAPI) NewResourceMonitorRequest ¶
func (api ProductPrivateHostAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ProductPrivateHostAPI) Offset ¶
func (api *ProductPrivateHostAPI) Offset(offset int) *ProductPrivateHostAPI
Offset オフセット
func (*ProductPrivateHostAPI) Read ¶
func (api *ProductPrivateHostAPI) Read(id sacloud.ID) (*sacloud.ProductPrivateHost, error)
Read 読み取り
func (*ProductPrivateHostAPI) Reset ¶
func (api *ProductPrivateHostAPI) Reset() *ProductPrivateHostAPI
Reset 検索条件のリセット
func (*ProductPrivateHostAPI) SetEmpty ¶
func (api *ProductPrivateHostAPI) SetEmpty()
SetEmpty 検索条件のリセット
func (*ProductPrivateHostAPI) SetExclude ¶
func (api *ProductPrivateHostAPI) SetExclude(key string)
SetExclude 除外する項目
func (*ProductPrivateHostAPI) SetFilterBy ¶
func (api *ProductPrivateHostAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*ProductPrivateHostAPI) SetFilterMultiBy ¶
func (api *ProductPrivateHostAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProductPrivateHostAPI) SetInclude ¶
func (api *ProductPrivateHostAPI) SetInclude(key string)
SetInclude 取得する項目
func (*ProductPrivateHostAPI) SetLimit ¶
func (api *ProductPrivateHostAPI) SetLimit(limit int)
SetLimit リミット
func (*ProductPrivateHostAPI) SetNameLike ¶
func (api *ProductPrivateHostAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*ProductPrivateHostAPI) SetOffset ¶
func (api *ProductPrivateHostAPI) SetOffset(offset int)
SetOffset オフセット
func (*ProductPrivateHostAPI) SetSortBy ¶
func (api *ProductPrivateHostAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*ProductPrivateHostAPI) SetSortByName ¶
func (api *ProductPrivateHostAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ProductPrivateHostAPI) SetTag ¶
func (api *ProductPrivateHostAPI) SetTag(tag string)
SetTag タグ条件
func (*ProductPrivateHostAPI) SetTags ¶
func (api *ProductPrivateHostAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*ProductPrivateHostAPI) SortBy ¶
func (api *ProductPrivateHostAPI) SortBy(key string, reverse bool) *ProductPrivateHostAPI
SortBy 指定キーでのソート
func (*ProductPrivateHostAPI) SortByName ¶
func (api *ProductPrivateHostAPI) SortByName(reverse bool) *ProductPrivateHostAPI
SortByName 名称でのソート
func (*ProductPrivateHostAPI) WithNameLike ¶
func (api *ProductPrivateHostAPI) WithNameLike(name string) *ProductPrivateHostAPI
WithNameLike 名称条件
func (*ProductPrivateHostAPI) WithTag ¶
func (api *ProductPrivateHostAPI) WithTag(tag string) *ProductPrivateHostAPI
WithTag タグ条件
func (*ProductPrivateHostAPI) WithTags ¶
func (api *ProductPrivateHostAPI) WithTags(tags []string) *ProductPrivateHostAPI
WithTags タグ(複数)条件
type ProductServerAPI ¶
type ProductServerAPI struct {
// contains filtered or unexported fields
}
ProductServerAPI サーバープランAPI
func NewProductServerAPI ¶
func NewProductServerAPI(client *Client) *ProductServerAPI
NewProductServerAPI サーバープランAPI作成
func (*ProductServerAPI) Exclude ¶
func (api *ProductServerAPI) Exclude(key string) *ProductServerAPI
Exclude 除外する項目
func (*ProductServerAPI) FilterBy ¶
func (api *ProductServerAPI) FilterBy(key string, value interface{}) *ProductServerAPI
FilterBy 指定キーでのフィルター
func (*ProductServerAPI) FilterMultiBy ¶
func (api *ProductServerAPI) FilterMultiBy(key string, value interface{}) *ProductServerAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ProductServerAPI) Find ¶
func (api ProductServerAPI) Find() (*sacloud.SearchResponse, error)
func (*ProductServerAPI) GetBySpec ¶
func (api *ProductServerAPI) GetBySpec(core, memGB int, gen sacloud.PlanGenerations) (*sacloud.ProductServer, error)
GetBySpec 指定のコア数/メモリサイズ/世代のプランを取得
func (*ProductServerAPI) GetBySpecCommitment ¶ added in v1.22.0
func (api *ProductServerAPI) GetBySpecCommitment(core, memGB int, gen sacloud.PlanGenerations, commitment sacloud.ECommitment) (*sacloud.ProductServer, error)
GetBySpecCommitment 指定のコア数/メモリサイズ/世代のプランを取得
func (*ProductServerAPI) Include ¶
func (api *ProductServerAPI) Include(key string) *ProductServerAPI
Include 取得する項目
func (*ProductServerAPI) IsValidPlan ¶
func (api *ProductServerAPI) IsValidPlan(core int, memGB int, gen sacloud.PlanGenerations) (bool, error)
IsValidPlan 指定のコア数/メモリサイズ/世代のプランが存在し、有効であるか判定
func (*ProductServerAPI) Limit ¶
func (api *ProductServerAPI) Limit(limit int) *ProductServerAPI
Limit リミット
func (ProductServerAPI) NewResourceMonitorRequest ¶
func (api ProductServerAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ProductServerAPI) Offset ¶
func (api *ProductServerAPI) Offset(offset int) *ProductServerAPI
Offset オフセット
func (*ProductServerAPI) Read ¶
func (api *ProductServerAPI) Read(id sacloud.ID) (*sacloud.ProductServer, error)
Read 読み取り
func (*ProductServerAPI) Reset ¶
func (api *ProductServerAPI) Reset() *ProductServerAPI
Reset 検索条件のリセット
func (*ProductServerAPI) SetExclude ¶
func (api *ProductServerAPI) SetExclude(key string)
SetExclude 除外する項目
func (*ProductServerAPI) SetFilterBy ¶
func (api *ProductServerAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*ProductServerAPI) SetFilterMultiBy ¶
func (api *ProductServerAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProductServerAPI) SetInclude ¶
func (api *ProductServerAPI) SetInclude(key string)
SetInclude 取得する項目
func (*ProductServerAPI) SetNameLike ¶
func (api *ProductServerAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*ProductServerAPI) SetOffset ¶
func (api *ProductServerAPI) SetOffset(offset int)
SetOffset オフセット
func (*ProductServerAPI) SetSortBy ¶
func (api *ProductServerAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*ProductServerAPI) SetSortByName ¶
func (api *ProductServerAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ProductServerAPI) SetTags ¶
func (api *ProductServerAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*ProductServerAPI) SortBy ¶
func (api *ProductServerAPI) SortBy(key string, reverse bool) *ProductServerAPI
SortBy 指定キーでのソート
func (*ProductServerAPI) SortByName ¶
func (api *ProductServerAPI) SortByName(reverse bool) *ProductServerAPI
SortByName 名称でのソート
func (*ProductServerAPI) WithNameLike ¶
func (api *ProductServerAPI) WithNameLike(name string) *ProductServerAPI
WithNameLike 名称条件
func (*ProductServerAPI) WithTag ¶
func (api *ProductServerAPI) WithTag(tag string) *ProductServerAPI
WithTag タグ条件
func (*ProductServerAPI) WithTags ¶
func (api *ProductServerAPI) WithTags(tags []string) *ProductServerAPI
WithTags タグ(複数)条件
type ProxyLBAPI ¶ added in v1.15.0
type ProxyLBAPI struct {
// contains filtered or unexported fields
}
ProxyLBAPI ProxyLB API
func NewProxyLBAPI ¶ added in v1.15.0
func NewProxyLBAPI(client *Client) *ProxyLBAPI
NewProxyLBAPI ProxyLB API作成
func (*ProxyLBAPI) ChangePlan ¶ added in v1.16.0
func (api *ProxyLBAPI) ChangePlan(id sacloud.ID, newPlan sacloud.ProxyLBPlan) (*sacloud.ProxyLB, error)
ChangePlan プラン変更
func (*ProxyLBAPI) DeleteCertificates ¶ added in v1.15.0
func (api *ProxyLBAPI) DeleteCertificates(id sacloud.ID) (bool, error)
DeleteCertificates 証明書削除
func (*ProxyLBAPI) Exclude ¶ added in v1.15.0
func (api *ProxyLBAPI) Exclude(key string) *ProxyLBAPI
Exclude 除外する項目
func (*ProxyLBAPI) FilterBy ¶ added in v1.15.0
func (api *ProxyLBAPI) FilterBy(key string, value interface{}) *ProxyLBAPI
FilterBy 指定キーでのフィルター
func (*ProxyLBAPI) FilterMultiBy ¶ added in v1.15.0
func (api *ProxyLBAPI) FilterMultiBy(key string, value interface{}) *ProxyLBAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProxyLBAPI) Find ¶ added in v1.15.0
func (api *ProxyLBAPI) Find() (*SearchProxyLBResponse, error)
Find 検索
func (*ProxyLBAPI) GetCertificates ¶ added in v1.15.0
func (api *ProxyLBAPI) GetCertificates(id sacloud.ID) (*sacloud.ProxyLBCertificates, error)
GetCertificates 証明書取得
func (*ProxyLBAPI) Health ¶ added in v1.15.0
func (api *ProxyLBAPI) Health(id sacloud.ID) (*sacloud.ProxyLBStatus, error)
Health ヘルスチェックステータス取得
func (*ProxyLBAPI) Include ¶ added in v1.15.0
func (api *ProxyLBAPI) Include(key string) *ProxyLBAPI
Include 取得する項目
func (*ProxyLBAPI) Limit ¶ added in v1.15.0
func (api *ProxyLBAPI) Limit(limit int) *ProxyLBAPI
Limit リミット
func (*ProxyLBAPI) Monitor ¶ added in v1.15.0
func (api *ProxyLBAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター取得
func (*ProxyLBAPI) New ¶ added in v1.15.0
func (api *ProxyLBAPI) New(name string) *sacloud.ProxyLB
New 新規作成用パラメーター作成
func (ProxyLBAPI) NewResourceMonitorRequest ¶ added in v1.15.0
func (api ProxyLBAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ProxyLBAPI) Offset ¶ added in v1.15.0
func (api *ProxyLBAPI) Offset(offset int) *ProxyLBAPI
Offset オフセット
func (*ProxyLBAPI) RenewLetsEncryptCert ¶ added in v1.24.0
func (api *ProxyLBAPI) RenewLetsEncryptCert(id sacloud.ID) (bool, error)
RenewLetsEncryptCert 証明書更新
func (*ProxyLBAPI) Reset ¶ added in v1.15.0
func (api *ProxyLBAPI) Reset() *ProxyLBAPI
Reset 検索条件のリセット
func (*ProxyLBAPI) SetCertificates ¶ added in v1.15.0
func (api *ProxyLBAPI) SetCertificates(id sacloud.ID, certs *sacloud.ProxyLBCertificates) (bool, error)
SetCertificates 証明書設定
func (*ProxyLBAPI) SetExclude ¶ added in v1.15.0
func (api *ProxyLBAPI) SetExclude(key string)
SetExclude 除外する項目
func (*ProxyLBAPI) SetFilterBy ¶ added in v1.15.0
func (api *ProxyLBAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*ProxyLBAPI) SetFilterMultiBy ¶ added in v1.15.0
func (api *ProxyLBAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ProxyLBAPI) SetInclude ¶ added in v1.15.0
func (api *ProxyLBAPI) SetInclude(key string)
SetInclude 取得する項目
func (*ProxyLBAPI) SetLimit ¶ added in v1.15.0
func (api *ProxyLBAPI) SetLimit(limit int)
SetLimit リミット
func (*ProxyLBAPI) SetNameLike ¶ added in v1.15.0
func (api *ProxyLBAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*ProxyLBAPI) SetOffset ¶ added in v1.15.0
func (api *ProxyLBAPI) SetOffset(offset int)
SetOffset オフセット
func (*ProxyLBAPI) SetSortBy ¶ added in v1.15.0
func (api *ProxyLBAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*ProxyLBAPI) SetSortByName ¶ added in v1.15.0
func (api *ProxyLBAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*ProxyLBAPI) SetTags ¶ added in v1.15.0
func (api *ProxyLBAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*ProxyLBAPI) SortBy ¶ added in v1.15.0
func (api *ProxyLBAPI) SortBy(key string, reverse bool) *ProxyLBAPI
SortBy 指定キーでのソート
func (*ProxyLBAPI) SortByName ¶ added in v1.15.0
func (api *ProxyLBAPI) SortByName(reverse bool) *ProxyLBAPI
SortByName 名称でのソート
func (*ProxyLBAPI) UpdateSetting ¶ added in v1.15.0
func (api *ProxyLBAPI) UpdateSetting(id sacloud.ID, value *sacloud.ProxyLB) (*sacloud.ProxyLB, error)
UpdateSetting 設定更新
func (*ProxyLBAPI) WithNameLike ¶ added in v1.15.0
func (api *ProxyLBAPI) WithNameLike(name string) *ProxyLBAPI
WithNameLike 名称条件
func (*ProxyLBAPI) WithTag ¶ added in v1.15.0
func (api *ProxyLBAPI) WithTag(tag string) *ProxyLBAPI
WithTag タグ条件
func (*ProxyLBAPI) WithTags ¶ added in v1.15.0
func (api *ProxyLBAPI) WithTags(tags []string) *ProxyLBAPI
WithTags タグ(複数)条件
type PublicPriceAPI ¶
type PublicPriceAPI struct {
// contains filtered or unexported fields
}
PublicPriceAPI 料金情報API
func NewPublicPriceAPI ¶
func NewPublicPriceAPI(client *Client) *PublicPriceAPI
NewPublicPriceAPI 料金情報API
func (*PublicPriceAPI) Exclude ¶
func (api *PublicPriceAPI) Exclude(key string) *PublicPriceAPI
Exclude 除外する項目
func (*PublicPriceAPI) FilterBy ¶
func (api *PublicPriceAPI) FilterBy(key string, value interface{}) *PublicPriceAPI
FilterBy 指定キーでのフィルター
func (*PublicPriceAPI) FilterMultiBy ¶
func (api *PublicPriceAPI) FilterMultiBy(key string, value interface{}) *PublicPriceAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (PublicPriceAPI) Find ¶
func (api PublicPriceAPI) Find() (*sacloud.SearchResponse, error)
func (*PublicPriceAPI) Include ¶
func (api *PublicPriceAPI) Include(key string) *PublicPriceAPI
Include 取得する項目
func (*PublicPriceAPI) Limit ¶
func (api *PublicPriceAPI) Limit(limit int) *PublicPriceAPI
Limit リミット
func (PublicPriceAPI) NewResourceMonitorRequest ¶
func (api PublicPriceAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*PublicPriceAPI) Offset ¶
func (api *PublicPriceAPI) Offset(offset int) *PublicPriceAPI
Offset オフセット
func (*PublicPriceAPI) SetExclude ¶
func (api *PublicPriceAPI) SetExclude(key string)
SetExclude 除外する項目
func (*PublicPriceAPI) SetFilterBy ¶
func (api *PublicPriceAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*PublicPriceAPI) SetFilterMultiBy ¶
func (api *PublicPriceAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*PublicPriceAPI) SetInclude ¶
func (api *PublicPriceAPI) SetInclude(key string)
SetInclude 取得する項目
func (*PublicPriceAPI) SetNameLike ¶
func (api *PublicPriceAPI) SetNameLike(name string)
SetNameLike 名称条件(DisplayName)
func (*PublicPriceAPI) SetSortBy ¶
func (api *PublicPriceAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*PublicPriceAPI) SetSortByName ¶
func (api *PublicPriceAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート(DisplayName)
func (*PublicPriceAPI) SortBy ¶
func (api *PublicPriceAPI) SortBy(key string, reverse bool) *PublicPriceAPI
SortBy 指定キーでのソート
func (*PublicPriceAPI) SortByName ¶
func (api *PublicPriceAPI) SortByName(reverse bool) *PublicPriceAPI
SortByName 名称でのソート(DisplayName)
func (*PublicPriceAPI) WithNameLike ¶
func (api *PublicPriceAPI) WithNameLike(name string) *PublicPriceAPI
WithNameLike 名称条件(DisplayName)
type RateLimitRoundTripper ¶ added in v1.21.0
type RateLimitRoundTripper struct { // Transport 親となるhttp.RoundTripper、nilの場合http.DefaultTransportが利用される Transport http.RoundTripper // RateLimitPerSec 秒あたりのリクエスト数 RateLimitPerSec int // contains filtered or unexported fields }
RateLimitRoundTripper 秒間アクセス数を制限するためのhttp.RoundTripper実装
type RegionAPI ¶
type RegionAPI struct {
// contains filtered or unexported fields
}
RegionAPI リージョンAPI
func (*RegionAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (RegionAPI) Find ¶
func (api RegionAPI) Find() (*sacloud.SearchResponse, error)
func (RegionAPI) NewResourceMonitorRequest ¶
func (api RegionAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*RegionAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*RegionAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*RegionAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*RegionAPI) SortByName ¶
SortByName 名称でのソート
func (*RegionAPI) WithNameLike ¶
WithNameLike 名称条件
type SIMAPI ¶
type SIMAPI struct {
// contains filtered or unexported fields
}
SIMAPI SIM API
func (*SIMAPI) Deactivate ¶
Deactivate SIM無効化
func (*SIMAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*SIMAPI) GetNetworkOperator ¶ added in v1.3.0
GetNetworkOperator 通信キャリア 取得
func (*SIMAPI) IMEIUnlock ¶
IMEIUnlock IMEIアンロック
func (*SIMAPI) Monitor ¶
func (api *SIMAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター(Up/Down link BPS)取得
func (SIMAPI) NewResourceMonitorRequest ¶
func (api SIMAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*SIMAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*SIMAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*SIMAPI) SetNetworkOperator ¶ added in v1.3.0
func (api *SIMAPI) SetNetworkOperator(id sacloud.ID, opConfig ...*sacloud.SIMNetworkOperatorConfig) (bool, error)
SetNetworkOperator 通信キャリア 設定
func (*SIMAPI) WithNameLike ¶
WithNameLike 名称条件
type SSHKeyAPI ¶
type SSHKeyAPI struct {
// contains filtered or unexported fields
}
SSHKeyAPI 公開鍵API
func (*SSHKeyAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (SSHKeyAPI) Find ¶
func (api SSHKeyAPI) Find() (*sacloud.SearchResponse, error)
func (*SSHKeyAPI) Generate ¶
func (api *SSHKeyAPI) Generate(name string, passPhrase string, desc string) (*sacloud.SSHKeyGenerated, error)
Generate 公開鍵の作成
func (SSHKeyAPI) NewResourceMonitorRequest ¶
func (api SSHKeyAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*SSHKeyAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*SSHKeyAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*SSHKeyAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*SSHKeyAPI) SortByName ¶
SortByName 名称でのソート
func (*SSHKeyAPI) WithNameLike ¶
WithNameLike 名称条件
type SearchAutoBackupResponse ¶
type SearchAutoBackupResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // CommonServiceAutoBackupItems 自動バックアップ リスト CommonServiceAutoBackupItems []sacloud.AutoBackup `json:"CommonServiceItems,omitempty"` }
SearchAutoBackupResponse 自動バックアップ 検索レスポンス
type SearchDNSResponse ¶
type SearchDNSResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // CommonServiceDNSItems DNSリスト CommonServiceDNSItems []sacloud.DNS `json:"CommonServiceItems,omitempty"` }
SearchDNSResponse DNS検索レスポンス
type SearchDatabaseResponse ¶
type SearchDatabaseResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // Databases データベースリスト Databases []sacloud.Database `json:"Appliances,omitempty"` }
SearchDatabaseResponse データベース検索レスポンス
type SearchGSLBResponse ¶
type SearchGSLBResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // CommonServiceGSLBItems GSLBリスト CommonServiceGSLBItems []sacloud.GSLB `json:"CommonServiceItems,omitempty"` }
SearchGSLBResponse GSLB検索レスポンス
type SearchLoadBalancerResponse ¶
type SearchLoadBalancerResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // LoadBalancers ロードバランサー リスト LoadBalancers []sacloud.LoadBalancer `json:"Appliances,omitempty"` }
SearchLoadBalancerResponse ロードバランサー検索レスポンス
type SearchMobileGatewayResponse ¶
type SearchMobileGatewayResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // MobileGateways モバイルゲートウェイ リスト MobileGateways []sacloud.MobileGateway `json:"Appliances,omitempty"` }
SearchMobileGatewayResponse モバイルゲートウェイ検索レスポンス
type SearchNFSResponse ¶
type SearchNFSResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // NFSs NFS リスト NFS []sacloud.NFS `json:"Appliances,omitempty"` }
SearchNFSResponse NFS検索レスポンス
type SearchProxyLBResponse ¶ added in v1.15.0
type SearchProxyLBResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // CommonServiceProxyLBItems ProxyLBリスト CommonServiceProxyLBItems []sacloud.ProxyLB `json:"CommonServiceItems,omitempty"` }
SearchProxyLBResponse ProxyLB検索レスポンス
type SearchSIMResponse ¶
type SearchSIMResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // CommonServiceSIMItems SIMリスト CommonServiceSIMItems []sacloud.SIM `json:"CommonServiceItems,omitempty"` }
SearchSIMResponse SIM検索レスポンス
type SearchSimpleMonitorResponse ¶
type SearchSimpleMonitorResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // SimpleMonitors シンプル監視 リスト SimpleMonitors []sacloud.SimpleMonitor `json:"CommonServiceItems,omitempty"` }
SearchSimpleMonitorResponse シンプル監視検索レスポンス
type SearchVPCRouterResponse ¶
type SearchVPCRouterResponse struct { // Total 総件数 Total int `json:",omitempty"` // From ページング開始位置 From int `json:",omitempty"` // Count 件数 Count int `json:",omitempty"` // VPCRouters VPCルーター リスト VPCRouters []sacloud.VPCRouter `json:"Appliances,omitempty"` }
SearchVPCRouterResponse VPCルーター検索レスポンス
type ServerAPI ¶
type ServerAPI struct {
// contains filtered or unexported fields
}
ServerAPI サーバーAPI
func (*ServerAPI) ChangePlan ¶
func (api *ServerAPI) ChangePlan(serverID sacloud.ID, plan *sacloud.ProductServer) (*sacloud.Server, error)
ChangePlan サーバープラン変更(サーバーIDが変更となるため注意)
func (*ServerAPI) DeleteWithDisk ¶
DeleteWithDisk 指定のディスクと共に削除する
func (*ServerAPI) EjectCDROM ¶
EjectCDROM ISOイメージを取り出し
func (*ServerAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ServerAPI) Find ¶
func (api ServerAPI) Find() (*sacloud.SearchResponse, error)
func (*ServerAPI) GetVNCProxy ¶
GetVNCProxy VNCプロキシ情報取得
func (*ServerAPI) GetVNCSize ¶
GetVNCSize VNC画面サイズ取得
func (*ServerAPI) GetVNCSnapshot ¶
func (api *ServerAPI) GetVNCSnapshot(serverID sacloud.ID, body *sacloud.VNCSnapshotRequest) (*sacloud.VNCSnapshotResponse, error)
GetVNCSnapshot VNCスナップショット取得
func (*ServerAPI) InsertCDROM ¶
InsertCDROM ISOイメージを挿入
func (*ServerAPI) Monitor ¶
func (api *ServerAPI) Monitor(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
Monitor アクティビティーモニター(CPU-TIME)取得
func (*ServerAPI) NewKeyboardRequest ¶
func (api *ServerAPI) NewKeyboardRequest() *sacloud.KeyboardRequest
NewKeyboardRequest キーボード入力リクエストパラメーター作成
func (*ServerAPI) NewMouseRequest ¶
func (api *ServerAPI) NewMouseRequest() *sacloud.MouseRequest
NewMouseRequest マウス入力リクエストパラメーター作成
func (ServerAPI) NewResourceMonitorRequest ¶
func (api ServerAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ServerAPI) NewVNCSnapshotRequest ¶
func (api *ServerAPI) NewVNCSnapshotRequest() *sacloud.VNCSnapshotRequest
NewVNCSnapshotRequest VNCスナップショット取得リクエストパラメーター作成
func (*ServerAPI) RebootForce ¶
RebootForce 再起動
func (*ServerAPI) SendMouse ¶
func (api *ServerAPI) SendMouse(serverID sacloud.ID, mouseIndex string, body *sacloud.MouseRequest) (bool, error)
SendMouse マウス入力送信
func (*ServerAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*ServerAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ServerAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*ServerAPI) SleepUntilDown ¶
SleepUntilDown ダウンするまで待機
func (*ServerAPI) SleepUntilUp ¶
SleepUntilUp 起動するまで待機
func (*ServerAPI) SortByMemory ¶
SortByMemory メモリサイズでのソート
func (*ServerAPI) SortByName ¶
SortByName 名称でのソート
func (*ServerAPI) WithISOImage ¶
WithISOImage ISOイメージ条件
func (*ServerAPI) WithNameLike ¶
WithNameLike 名称条件
func (*ServerAPI) WithStatus ¶
WithStatus インスタンスステータス条件
func (*ServerAPI) WithStatusDown ¶
WithStatusDown ダウン状態条件
func (*ServerAPI) WithStatusUp ¶
WithStatusUp 起動状態条件
type SimpleMonitorAPI ¶
type SimpleMonitorAPI struct {
// contains filtered or unexported fields
}
SimpleMonitorAPI シンプル監視API
func NewSimpleMonitorAPI ¶
func NewSimpleMonitorAPI(client *Client) *SimpleMonitorAPI
NewSimpleMonitorAPI シンプル監視API作成
func (*SimpleMonitorAPI) Create ¶
func (api *SimpleMonitorAPI) Create(value *sacloud.SimpleMonitor) (*sacloud.SimpleMonitor, error)
Create 新規作成
func (*SimpleMonitorAPI) Delete ¶
func (api *SimpleMonitorAPI) Delete(id sacloud.ID) (*sacloud.SimpleMonitor, error)
Delete 削除
func (*SimpleMonitorAPI) Exclude ¶
func (api *SimpleMonitorAPI) Exclude(key string) *SimpleMonitorAPI
Exclude 除外する項目
func (*SimpleMonitorAPI) FilterBy ¶
func (api *SimpleMonitorAPI) FilterBy(key string, value interface{}) *SimpleMonitorAPI
FilterBy 指定キーでのフィルター
func (*SimpleMonitorAPI) FilterMultiBy ¶
func (api *SimpleMonitorAPI) FilterMultiBy(key string, value interface{}) *SimpleMonitorAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*SimpleMonitorAPI) Find ¶
func (api *SimpleMonitorAPI) Find() (*SearchSimpleMonitorResponse, error)
Find 検索
func (*SimpleMonitorAPI) Health ¶ added in v1.5.0
func (api *SimpleMonitorAPI) Health(id sacloud.ID) (*sacloud.SimpleMonitorHealthCheckStatus, error)
Health ヘルスチェック
まだチェックが行われていない場合nilを返す
func (*SimpleMonitorAPI) Include ¶
func (api *SimpleMonitorAPI) Include(key string) *SimpleMonitorAPI
Include 取得する項目
func (*SimpleMonitorAPI) Limit ¶
func (api *SimpleMonitorAPI) Limit(limit int) *SimpleMonitorAPI
Limit リミット
func (*SimpleMonitorAPI) MonitorResponseTimeSec ¶
func (api *SimpleMonitorAPI) MonitorResponseTimeSec(id sacloud.ID, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorResponseTimeSec アクティビティーモニター(レスポンスタイム)取得
func (*SimpleMonitorAPI) New ¶
func (api *SimpleMonitorAPI) New(target string) *sacloud.SimpleMonitor
New 新規作成用パラメーター作成
func (SimpleMonitorAPI) NewResourceMonitorRequest ¶
func (api SimpleMonitorAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*SimpleMonitorAPI) Offset ¶
func (api *SimpleMonitorAPI) Offset(offset int) *SimpleMonitorAPI
Offset オフセット
func (*SimpleMonitorAPI) Read ¶
func (api *SimpleMonitorAPI) Read(id sacloud.ID) (*sacloud.SimpleMonitor, error)
Read 読み取り
func (*SimpleMonitorAPI) Reset ¶
func (api *SimpleMonitorAPI) Reset() *SimpleMonitorAPI
Reset 検索条件のリセット
func (*SimpleMonitorAPI) SetExclude ¶
func (api *SimpleMonitorAPI) SetExclude(key string)
SetExclude 除外する項目
func (*SimpleMonitorAPI) SetFilterBy ¶
func (api *SimpleMonitorAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*SimpleMonitorAPI) SetFilterMultiBy ¶
func (api *SimpleMonitorAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*SimpleMonitorAPI) SetInclude ¶
func (api *SimpleMonitorAPI) SetInclude(key string)
SetInclude 取得する項目
func (*SimpleMonitorAPI) SetNameLike ¶
func (api *SimpleMonitorAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*SimpleMonitorAPI) SetOffset ¶
func (api *SimpleMonitorAPI) SetOffset(offset int)
SetOffset オフセット
func (*SimpleMonitorAPI) SetSortBy ¶
func (api *SimpleMonitorAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*SimpleMonitorAPI) SetSortByName ¶
func (api *SimpleMonitorAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*SimpleMonitorAPI) SetTags ¶
func (api *SimpleMonitorAPI) SetTags(tags []string)
SetTags タグ(複数)条件
func (*SimpleMonitorAPI) SortBy ¶
func (api *SimpleMonitorAPI) SortBy(key string, reverse bool) *SimpleMonitorAPI
SortBy 指定キーでのソート
func (*SimpleMonitorAPI) SortByName ¶
func (api *SimpleMonitorAPI) SortByName(reverse bool) *SimpleMonitorAPI
SortByName 名称でのソート
func (*SimpleMonitorAPI) Update ¶
func (api *SimpleMonitorAPI) Update(id sacloud.ID, value *sacloud.SimpleMonitor) (*sacloud.SimpleMonitor, error)
Update 更新
func (*SimpleMonitorAPI) WithNameLike ¶
func (api *SimpleMonitorAPI) WithNameLike(name string) *SimpleMonitorAPI
WithNameLike 名称条件
func (*SimpleMonitorAPI) WithTag ¶
func (api *SimpleMonitorAPI) WithTag(tag string) *SimpleMonitorAPI
WithTag タグ条件
func (*SimpleMonitorAPI) WithTags ¶
func (api *SimpleMonitorAPI) WithTags(tags []string) *SimpleMonitorAPI
WithTags タグ(複数)条件
type SubnetAPI ¶
type SubnetAPI struct {
// contains filtered or unexported fields
}
SubnetAPI サブネットAPI
func (*SubnetAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (SubnetAPI) Find ¶
func (api SubnetAPI) Find() (*sacloud.SearchResponse, error)
func (SubnetAPI) NewResourceMonitorRequest ¶
func (api SubnetAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*SubnetAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*SubnetAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
type SwitchAPI ¶
type SwitchAPI struct {
// contains filtered or unexported fields
}
SwitchAPI スイッチAPI
func (*SwitchAPI) ConnectToBridge ¶
ConnectToBridge ブリッジとの接続
func (*SwitchAPI) DisconnectFromBridge ¶
DisconnectFromBridge ブリッジとの切断
func (*SwitchAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (SwitchAPI) Find ¶
func (api SwitchAPI) Find() (*sacloud.SearchResponse, error)
func (*SwitchAPI) GetServers ¶
GetServers スイッチに接続されているサーバー一覧取得
func (SwitchAPI) NewResourceMonitorRequest ¶
func (api SwitchAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*SwitchAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*SwitchAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*SwitchAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*SwitchAPI) SortByName ¶
SortByName 名称でのソート
func (*SwitchAPI) WithNameLike ¶
WithNameLike 名称条件
type VPCRouterAPI ¶
type VPCRouterAPI struct {
// contains filtered or unexported fields
}
VPCRouterAPI VPCルーターAPI
func NewVPCRouterAPI ¶
func NewVPCRouterAPI(client *Client) *VPCRouterAPI
NewVPCRouterAPI VPCルーターAPI作成
func (*VPCRouterAPI) AddPremiumInterface ¶
func (api *VPCRouterAPI) AddPremiumInterface(routerID sacloud.ID, switchID sacloud.ID, ipaddresses []string, maskLen int, virtualIP string) (*sacloud.VPCRouter, error)
AddPremiumInterface プレミアムプランでのインターフェース追加
func (*VPCRouterAPI) AddPremiumInterfaceAt ¶
func (api *VPCRouterAPI) AddPremiumInterfaceAt(routerID sacloud.ID, switchID sacloud.ID, ipaddresses []string, maskLen int, virtualIP string, index int) (*sacloud.VPCRouter, error)
AddPremiumInterfaceAt プレミアムプランでの指定位置へのインターフェース追加
func (*VPCRouterAPI) AddStandardInterface ¶
func (api *VPCRouterAPI) AddStandardInterface(routerID sacloud.ID, switchID sacloud.ID, ipaddress string, maskLen int) (*sacloud.VPCRouter, error)
AddStandardInterface スタンダードプランでのインターフェース追加
func (*VPCRouterAPI) AddStandardInterfaceAt ¶
func (api *VPCRouterAPI) AddStandardInterfaceAt(routerID sacloud.ID, switchID sacloud.ID, ipaddress string, maskLen int, index int) (*sacloud.VPCRouter, error)
AddStandardInterfaceAt スタンダードプランでの指定位置へのインターフェース追加
func (*VPCRouterAPI) AsyncSleepWhileCopying ¶
func (api *VPCRouterAPI) AsyncSleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) (chan (interface{}), chan (interface{}), chan (error))
AsyncSleepWhileCopying コピー終了まで待機(非同期)
func (*VPCRouterAPI) Config ¶
func (api *VPCRouterAPI) Config(id sacloud.ID) (bool, error)
Config 設定変更の反映
func (*VPCRouterAPI) ConnectToSwitch ¶
func (api *VPCRouterAPI) ConnectToSwitch(id sacloud.ID, switchID sacloud.ID, nicIndex int) (bool, error)
ConnectToSwitch 指定のインデックス位置のNICをスイッチへ接続
func (*VPCRouterAPI) DeleteInterfaceAt ¶
func (api *VPCRouterAPI) DeleteInterfaceAt(routerID sacloud.ID, index int) (*sacloud.VPCRouter, error)
DeleteInterfaceAt 指定位置のインターフェース削除
func (*VPCRouterAPI) DisconnectFromSwitch ¶
DisconnectFromSwitch 指定のインデックス位置のNICをスイッチから切断
func (*VPCRouterAPI) Exclude ¶
func (api *VPCRouterAPI) Exclude(key string) *VPCRouterAPI
Exclude 除外する項目
func (*VPCRouterAPI) FilterBy ¶
func (api *VPCRouterAPI) FilterBy(key string, value interface{}) *VPCRouterAPI
FilterBy 指定キーでのフィルター
func (*VPCRouterAPI) FilterMultiBy ¶
func (api *VPCRouterAPI) FilterMultiBy(key string, value interface{}) *VPCRouterAPI
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*VPCRouterAPI) Find ¶
func (api *VPCRouterAPI) Find() (*SearchVPCRouterResponse, error)
Find 検索
func (*VPCRouterAPI) Include ¶
func (api *VPCRouterAPI) Include(key string) *VPCRouterAPI
Include 取得する項目
func (*VPCRouterAPI) IsDown ¶
func (api *VPCRouterAPI) IsDown(id sacloud.ID) (bool, error)
IsDown ダウンしているか判定
func (*VPCRouterAPI) IsUp ¶
func (api *VPCRouterAPI) IsUp(id sacloud.ID) (bool, error)
IsUp 起動しているか判定
func (*VPCRouterAPI) MonitorBy ¶
func (api *VPCRouterAPI) MonitorBy(id sacloud.ID, nicIndex int, body *sacloud.ResourceMonitorRequest) (*sacloud.MonitorValues, error)
MonitorBy 指定位置のインターフェースのアクティビティーモニター取得
func (VPCRouterAPI) NewResourceMonitorRequest ¶
func (api VPCRouterAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*VPCRouterAPI) Offset ¶
func (api *VPCRouterAPI) Offset(offset int) *VPCRouterAPI
Offset オフセット
func (*VPCRouterAPI) RebootForce ¶
func (api *VPCRouterAPI) RebootForce(id sacloud.ID) (bool, error)
RebootForce 再起動
func (*VPCRouterAPI) SetFilterBy ¶
func (api *VPCRouterAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*VPCRouterAPI) SetFilterMultiBy ¶
func (api *VPCRouterAPI) SetFilterMultiBy(key string, value interface{})
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*VPCRouterAPI) SetNameLike ¶
func (api *VPCRouterAPI) SetNameLike(name string)
SetNameLike 名称条件
func (*VPCRouterAPI) SetSortBy ¶
func (api *VPCRouterAPI) SetSortBy(key string, reverse bool)
SetSortBy 指定キーでのソート
func (*VPCRouterAPI) SetSortByName ¶
func (api *VPCRouterAPI) SetSortByName(reverse bool)
SetSortByName 名称でのソート
func (*VPCRouterAPI) Shutdown ¶
func (api *VPCRouterAPI) Shutdown(id sacloud.ID) (bool, error)
Shutdown シャットダウン(graceful)
func (*VPCRouterAPI) SiteToSiteConnectionDetails ¶
func (api *VPCRouterAPI) SiteToSiteConnectionDetails(id sacloud.ID) (*sacloud.SiteToSiteConnectionInfo, error)
SiteToSiteConnectionDetails サイト間VPN接続情報を取得
func (*VPCRouterAPI) SleepUntilDown ¶
SleepUntilDown ダウンするまで待機
func (*VPCRouterAPI) SleepUntilUp ¶
SleepUntilUp 起動するまで待機
func (*VPCRouterAPI) SleepWhileCopying ¶
func (api *VPCRouterAPI) SleepWhileCopying(id sacloud.ID, timeout time.Duration, maxRetry int) error
SleepWhileCopying コピー終了まで待機
maxRetry: リクエストタイミングによって、コピー完了までの間に404エラーとなる場合がある。 通常そのまま待てばコピー完了するため、404エラーが発生してもmaxRetryで指定した回数分は待機する。
func (*VPCRouterAPI) SortBy ¶
func (api *VPCRouterAPI) SortBy(key string, reverse bool) *VPCRouterAPI
SortBy 指定キーでのソート
func (*VPCRouterAPI) SortByName ¶
func (api *VPCRouterAPI) SortByName(reverse bool) *VPCRouterAPI
SortByName 名称でのソート
func (*VPCRouterAPI) Status ¶
func (api *VPCRouterAPI) Status(id sacloud.ID) (*sacloud.VPCRouterStatus, error)
Status ログなどのステータス情報 取得
func (*VPCRouterAPI) Stop ¶
func (api *VPCRouterAPI) Stop(id sacloud.ID) (bool, error)
Stop シャットダウン(force)
func (*VPCRouterAPI) Update ¶
func (api *VPCRouterAPI) Update(id sacloud.ID, value *sacloud.VPCRouter) (*sacloud.VPCRouter, error)
Update 更新
func (*VPCRouterAPI) UpdateSetting ¶
func (api *VPCRouterAPI) UpdateSetting(id sacloud.ID, value *sacloud.VPCRouter) (*sacloud.VPCRouter, error)
UpdateSetting 設定更新
func (*VPCRouterAPI) WithNameLike ¶
func (api *VPCRouterAPI) WithNameLike(name string) *VPCRouterAPI
WithNameLike 名称条件
func (*VPCRouterAPI) WithTag ¶
func (api *VPCRouterAPI) WithTag(tag string) *VPCRouterAPI
WithTag タグ条件
func (*VPCRouterAPI) WithTags ¶
func (api *VPCRouterAPI) WithTags(tags []string) *VPCRouterAPI
WithTags タグ(複数)条件
type WebAccelAPI ¶
type WebAccelAPI struct {
// contains filtered or unexported fields
}
WebAccelAPI ウェブアクセラレータAPI
func (*WebAccelAPI) CreateCertificate ¶ added in v1.29.0
func (api *WebAccelAPI) CreateCertificate(id sacloud.ID, request *sacloud.WebAccelCertRequest) (*sacloud.WebAccelCertResponse, error)
CreateCertificate 証明書 更新
func (*WebAccelAPI) DeleteCache ¶
func (api *WebAccelAPI) DeleteCache(urls ...string) (*WebAccelDeleteCacheResponse, error)
DeleteCache キャッシュ削除
func (*WebAccelAPI) DeleteCertificate ¶ added in v1.29.1
func (api *WebAccelAPI) DeleteCertificate(id string) (*sacloud.WebAccelCertResponse, error)
DeleteCertificate 証明書 削除
func (*WebAccelAPI) FilterBy ¶
func (api *WebAccelAPI) FilterBy(key string, value interface{}) *WebAccelAPI
FilterBy 指定キーでのフィルター
func (*WebAccelAPI) Find ¶
func (api *WebAccelAPI) Find() (*sacloud.SearchResponse, error)
Find サイト一覧取得
func (WebAccelAPI) NewResourceMonitorRequest ¶
func (api WebAccelAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*WebAccelAPI) Read ¶
func (api *WebAccelAPI) Read(id string) (*sacloud.WebAccelSite, error)
Read サイト情報取得
func (*WebAccelAPI) ReadCertificate ¶
func (api *WebAccelAPI) ReadCertificate(id sacloud.ID) (*sacloud.WebAccelCertResponseBody, error)
ReadCertificate 証明書 参照
func (*WebAccelAPI) SetFilterBy ¶
func (api *WebAccelAPI) SetFilterBy(key string, value interface{})
SetFilterBy 指定キーでのフィルター
func (*WebAccelAPI) UpdateCertificate ¶
func (api *WebAccelAPI) UpdateCertificate(id sacloud.ID, request *sacloud.WebAccelCertRequest) (*sacloud.WebAccelCertResponse, error)
UpdateCertificate 証明書 更新
func (*WebAccelAPI) WithNameLike ¶
func (api *WebAccelAPI) WithNameLike(name string) *WebAccelAPI
WithNameLike 名称条件
type WebAccelDeleteCacheResponse ¶
type WebAccelDeleteCacheResponse struct { *sacloud.ResultFlagValue Results []*sacloud.DeleteCacheResult }
WebAccelDeleteCacheResponse ウェブアクセラレータ キャッシュ削除レスポンス
type ZoneAPI ¶
type ZoneAPI struct {
// contains filtered or unexported fields
}
ZoneAPI ゾーンAPI
func (*ZoneAPI) FilterMultiBy ¶
FilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (ZoneAPI) Find ¶
func (api ZoneAPI) Find() (*sacloud.SearchResponse, error)
func (ZoneAPI) NewResourceMonitorRequest ¶
func (api ZoneAPI) NewResourceMonitorRequest() *sacloud.ResourceMonitorRequest
func (*ZoneAPI) SetFilterBy ¶
SetFilterBy 指定キーでのフィルター
func (*ZoneAPI) SetFilterMultiBy ¶
SetFilterMultiBy 任意項目でのフィルタ(完全一致 OR条件)
func (*ZoneAPI) SetSortByName ¶
SetSortByName 名称でのソート
func (*ZoneAPI) SortByName ¶
SortByName 名称でのソート
func (*ZoneAPI) WithNameLike ¶
WithNameLike 名称条件
Source Files ¶
- archive.go
- archive_gen.go
- auth_status.go
- auto_backup.go
- auto_backup_gen.go
- base_api.go
- bill.go
- bridge.go
- bridge_gen.go
- cdrom.go
- cdrom_gen.go
- client.go
- coupon.go
- database.go
- database_gen.go
- disk.go
- disk_gen.go
- dns.go
- dns_gen.go
- doc.go
- error.go
- gslb.go
- gslb_gen.go
- icon.go
- icon_gen.go
- interface.go
- interface_gen.go
- internet.go
- internet_gen.go
- ipaddress.go
- ipaddress_gen.go
- ipv6addr.go
- ipv6addr_gen.go
- ipv6net.go
- ipv6net_gen.go
- license.go
- license_gen.go
- load_balancer.go
- load_balancer_gen.go
- mobile_gateway.go
- mobile_gateway_gen.go
- newsfeed.go
- nfs.go
- nfs_gen.go
- note.go
- note_gen.go
- packet_filter.go
- packet_filter_gen.go
- polling.go
- private_host.go
- private_host_gen.go
- product_disk.go
- product_disk_gen.go
- product_internet.go
- product_internet_gen.go
- product_license.go
- product_license_gen.go
- product_private_host.go
- product_private_host_gen.go
- product_server.go
- product_server_gen.go
- proxylb.go
- proxylb_gen.go
- public_price.go
- public_price_gen.go
- rate_limit_transport.go
- region.go
- region_gen.go
- server.go
- server_gen.go
- sim.go
- sim_gen.go
- simple_monitor.go
- simple_monitor_gen.go
- ssh_key.go
- ssh_key_gen.go
- subnet.go
- subnet_gen.go
- switch.go
- switch_gen.go
- vpc_router.go
- vpc_router_gen.go
- webaccel.go
- webaccel_search.go
- zone.go
- zone_gen.go