Documentation
¶
Overview ¶
Package sacloud さくらのクラウド API ライブラリ
Example (Basic) ¶
// APIクライアントの基本的な使い方の例 // APIキー token := os.Getenv("SAKURACLOUD_ACCESS_TOKEN") secret := os.Getenv("SAKURACLOUD_ACCESS_TOKEN_SECRET") // クライアントの作成 client := iaas.NewClient(token, secret) // スイッチの作成 swOp := iaas.NewSwitchOp(client) sw, err := swOp.Create(context.Background(), "is1a", &iaas.SwitchCreateRequest{ Name: "libsacloud-example", Description: "description", Tags: types.Tags{"tag1", "tag2"}, }) if err != nil { log.Fatal(err) } fmt.Printf("Name: %s", sw.Name)
Output:
Example (SendSMSMessage) ¶
// 2要素認証SMSの送信例 // APIキー token := os.Getenv("SAKURACLOUD_ACCESS_TOKEN") secret := os.Getenv("SAKURACLOUD_ACCESS_TOKEN_SECRET") destination := os.Getenv("SAKURACLOUD_ESME_DESTINATION") // 送信先電話番号 81 + 9012345678の形式で指定する if token == "" || secret == "" || destination == "" { log.Fatal("environment variable 'SAKURACLOUD_ACCESS_TOKEN'/'SAKURACLOUD_ACCESS_TOKEN_SECRET'/SAKURACLOUD_ESME_DESTINATION required") } // クライアントの作成 caller := iaas.NewClient(token, secret) esmeOp := iaas.NewESMEOp(caller) // ESMEの作成(初回のみ必要) ctx := context.Background() esme, err := esmeOp.Create(ctx, &iaas.ESMECreateRequest{ Name: "libsacloud-example", Description: "description", Tags: types.Tags{"tag1", "tag2"}, }) if err != nil { log.Fatal(err) } // SMS送信(OTPは自動生成の場合) result, err := esmeOp.SendMessageWithGeneratedOTP(ctx, esme.ID, &iaas.ESMESendMessageWithGeneratedOTPRequest{ Destination: destination, Sender: "example-sender", }) if err != nil { log.Fatal(err) } fmt.Printf("OTP(result): %s\n", result.OTP) // OTPはログからも参照可能 logs, err := esmeOp.Logs(ctx, esme.ID) if err != nil { log.Fatal(err) } fmt.Printf("OTP(logs): %s\n", logs[0].OTP)
Output:
Example (ServerCRUD) ¶
// ServerのCRUDを行う例 // Note: サーバの作成を行いたい場合、通常はgithub.com/libsacloud/v2/utils/serverパッケージを利用してください。 // この例はServer APIを直接利用したい場合向けです。 // APIキー token := os.Getenv("SAKURACLOUD_ACCESS_TOKEN") secret := os.Getenv("SAKURACLOUD_ACCESS_TOKEN_SECRET") // クライアントの作成 client := iaas.NewClient(token, secret) // サーバの作成(ディスクレス) ctx := context.Background() serverOp := iaas.NewServerOp(client) server, err := serverOp.Create(ctx, "is1a", &iaas.ServerCreateRequest{ CPU: 1, MemoryMB: 1 * size.GiB, ServerPlanCommitment: types.Commitments.Standard, ServerPlanGeneration: types.PlanGenerations.Default, ConnectedSwitches: []*iaas.ConnectedSwitch{{Scope: types.Scopes.Shared}}, InterfaceDriver: types.InterfaceDrivers.VirtIO, Name: "libsacloud-example", Description: "description", Tags: types.Tags{"tag1", "tag2"}, //IconID: 0, WaitDiskMigration: false, }) if err != nil { log.Fatal(err) } // 更新 server, err = serverOp.Update(ctx, "is1a", server.ID, &iaas.ServerUpdateRequest{ Name: "libsacloud-example-updated", Description: "description-updated", Tags: types.Tags{"tag1-updated", "tag2-updated"}, // IconID: 0, }) if err != nil { log.Fatal(err) } // 起動 if err := power.BootServer(ctx, serverOp, "is1a", server.ID); err != nil { log.Fatal(err) } // シャットダウン(force) if err := power.ShutdownServer(ctx, serverOp, "is1a", server.ID, true); err != nil { log.Fatal(err) } // 削除 if err := serverOp.Delete(ctx, "is1a", server.ID); err != nil { log.Fatal(err) }
Output:
Index ¶
- Constants
- Variables
- func AddClientFacotyHookFunc(resourceName string, hookFunc func(interface{}) interface{})
- func GetClientFactoryFunc(resourceName string) func(APICaller) interface{}
- func IsNoResultsError(err error) bool
- func IsNotFoundError(err error) bool
- func IsStillCreatingError(err error) bool
- func SetClientFactoryFunc(resourceName string, factoryFunc func(caller APICaller) interface{})
- func WaiterForApplianceUp(readFunc wait.StateReadFunc, notFoundRetry int) wait.StateWaiter
- func WaiterForDown(readFunc wait.StateReadFunc) wait.StateWaiter
- func WaiterForReady(readFunc wait.StateReadFunc) wait.StateWaiter
- func WaiterForUp(readFunc wait.StateReadFunc) wait.StateWaiter
- type APICaller
- type APIError
- type APIErrorResponse
- type ApplianceConnectedSwitch
- func (o *ApplianceConnectedSwitch) GetID() types.ID
- func (o *ApplianceConnectedSwitch) GetInt64ID() int64
- func (o *ApplianceConnectedSwitch) GetScope() types.EScope
- func (o *ApplianceConnectedSwitch) GetStringID() string
- func (o *ApplianceConnectedSwitch) SetID(v types.ID)
- func (o *ApplianceConnectedSwitch) SetInt64ID(id int64)
- func (o *ApplianceConnectedSwitch) SetScope(v types.EScope)
- func (o *ApplianceConnectedSwitch) SetStringID(id string)
- type Archive
- func (o *Archive) AppendTag(tag string)
- func (o *Archive) ClearTags()
- func (o *Archive) GetAvailability() types.EAvailability
- func (o *Archive) GetBundleInfo() *BundleInfo
- func (o *Archive) GetCreatedAt() time.Time
- func (o *Archive) GetDescription() string
- func (o *Archive) GetDiskPlanID() types.ID
- func (o *Archive) GetDiskPlanName() string
- func (o *Archive) GetDiskPlanStorageClass() string
- func (o *Archive) GetDisplayOrder() int64
- func (o *Archive) GetID() types.ID
- func (o *Archive) GetIconID() types.ID
- func (o *Archive) GetInt64ID() int64
- func (o *Archive) GetMigratedGB() int
- func (o *Archive) GetMigratedMB() int
- func (o *Archive) GetModifiedAt() time.Time
- func (o *Archive) GetName() string
- func (o *Archive) GetOriginalArchiveID() types.ID
- func (o *Archive) GetScope() types.EScope
- func (o *Archive) GetSizeGB() int
- func (o *Archive) GetSizeMB() int
- func (o *Archive) GetSourceArchiveAvailability() types.EAvailability
- func (o *Archive) GetSourceArchiveID() types.ID
- func (o *Archive) GetSourceDiskAvailability() types.EAvailability
- func (o *Archive) GetSourceDiskID() types.ID
- func (o *Archive) GetSourceInfo() *SourceArchiveInfo
- func (o *Archive) GetStorage() *Storage
- func (o *Archive) GetStringID() string
- func (o *Archive) GetTags() types.Tags
- func (o *Archive) HasTag(tag string) bool
- func (o *Archive) RemoveTag(tag string)
- func (o *Archive) SetAvailability(v types.EAvailability)
- func (o *Archive) SetBundleInfo(v *BundleInfo)
- func (o *Archive) SetCreatedAt(v time.Time)
- func (o *Archive) SetDescription(v string)
- func (o *Archive) SetDiskPlanID(v types.ID)
- func (o *Archive) SetDiskPlanName(v string)
- func (o *Archive) SetDiskPlanStorageClass(v string)
- func (o *Archive) SetDisplayOrder(v int64)
- func (o *Archive) SetID(v types.ID)
- func (o *Archive) SetIconID(v types.ID)
- func (o *Archive) SetInt64ID(id int64)
- func (o *Archive) SetMigratedMB(v int)
- func (o *Archive) SetModifiedAt(v time.Time)
- func (o *Archive) SetName(v string)
- func (o *Archive) SetOriginalArchiveID(v types.ID)
- func (o *Archive) SetScope(v types.EScope)
- func (o *Archive) SetSizeGB(size int)
- func (o *Archive) SetSizeMB(v int)
- func (o *Archive) SetSourceArchiveAvailability(v types.EAvailability)
- func (o *Archive) SetSourceArchiveID(v types.ID)
- func (o *Archive) SetSourceDiskAvailability(v types.EAvailability)
- func (o *Archive) SetSourceDiskID(v types.ID)
- func (o *Archive) SetSourceInfo(v *SourceArchiveInfo)
- func (o *Archive) SetStorage(v *Storage)
- func (o *Archive) SetStringID(id string)
- func (o *Archive) SetTags(v types.Tags)
- type ArchiveAPI
- type ArchiveCreateBlankRequest
- func (o *ArchiveCreateBlankRequest) AppendTag(tag string)
- func (o *ArchiveCreateBlankRequest) ClearTags()
- func (o *ArchiveCreateBlankRequest) GetDescription() string
- func (o *ArchiveCreateBlankRequest) GetIconID() types.ID
- func (o *ArchiveCreateBlankRequest) GetName() string
- func (o *ArchiveCreateBlankRequest) GetSizeGB() int
- func (o *ArchiveCreateBlankRequest) GetSizeMB() int
- func (o *ArchiveCreateBlankRequest) GetTags() types.Tags
- func (o *ArchiveCreateBlankRequest) HasTag(tag string) bool
- func (o *ArchiveCreateBlankRequest) RemoveTag(tag string)
- func (o *ArchiveCreateBlankRequest) SetDescription(v string)
- func (o *ArchiveCreateBlankRequest) SetIconID(v types.ID)
- func (o *ArchiveCreateBlankRequest) SetName(v string)
- func (o *ArchiveCreateBlankRequest) SetSizeGB(size int)
- func (o *ArchiveCreateBlankRequest) SetSizeMB(v int)
- func (o *ArchiveCreateBlankRequest) SetTags(v types.Tags)
- type ArchiveCreateRequest
- func (o *ArchiveCreateRequest) AppendTag(tag string)
- func (o *ArchiveCreateRequest) ClearTags()
- func (o *ArchiveCreateRequest) GetDescription() string
- func (o *ArchiveCreateRequest) GetIconID() types.ID
- func (o *ArchiveCreateRequest) GetName() string
- func (o *ArchiveCreateRequest) GetSourceArchiveID() types.ID
- func (o *ArchiveCreateRequest) GetSourceDiskID() types.ID
- func (o *ArchiveCreateRequest) GetTags() types.Tags
- func (o *ArchiveCreateRequest) HasTag(tag string) bool
- func (o *ArchiveCreateRequest) RemoveTag(tag string)
- func (o *ArchiveCreateRequest) SetDescription(v string)
- func (o *ArchiveCreateRequest) SetIconID(v types.ID)
- func (o *ArchiveCreateRequest) SetName(v string)
- func (o *ArchiveCreateRequest) SetSourceArchiveID(v types.ID)
- func (o *ArchiveCreateRequest) SetSourceDiskID(v types.ID)
- func (o *ArchiveCreateRequest) SetTags(v types.Tags)
- type ArchiveCreateRequestFromShared
- func (o *ArchiveCreateRequestFromShared) AppendTag(tag string)
- func (o *ArchiveCreateRequestFromShared) ClearTags()
- func (o *ArchiveCreateRequestFromShared) GetDescription() string
- func (o *ArchiveCreateRequestFromShared) GetIconID() types.ID
- func (o *ArchiveCreateRequestFromShared) GetName() string
- func (o *ArchiveCreateRequestFromShared) GetSourceSharedKey() types.ArchiveShareKey
- func (o *ArchiveCreateRequestFromShared) GetTags() types.Tags
- func (o *ArchiveCreateRequestFromShared) HasTag(tag string) bool
- func (o *ArchiveCreateRequestFromShared) RemoveTag(tag string)
- func (o *ArchiveCreateRequestFromShared) SetDescription(v string)
- func (o *ArchiveCreateRequestFromShared) SetIconID(v types.ID)
- func (o *ArchiveCreateRequestFromShared) SetName(v string)
- func (o *ArchiveCreateRequestFromShared) SetSourceSharedKey(v types.ArchiveShareKey)
- func (o *ArchiveCreateRequestFromShared) SetTags(v types.Tags)
- type ArchiveFindResult
- type ArchiveOp
- func (o *ArchiveOp) CloseFTP(ctx context.Context, zone string, id types.ID) error
- func (o *ArchiveOp) Create(ctx context.Context, zone string, param *ArchiveCreateRequest) (*Archive, error)
- func (o *ArchiveOp) CreateBlank(ctx context.Context, zone string, param *ArchiveCreateBlankRequest) (*Archive, *FTPServer, error)
- func (o *ArchiveOp) CreateFromShared(ctx context.Context, zone string, sourceArchiveID types.ID, ...) (*Archive, error)
- func (o *ArchiveOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *ArchiveOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*ArchiveFindResult, error)
- func (o *ArchiveOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *OpenFTPRequest) (*FTPServer, error)
- func (o *ArchiveOp) Read(ctx context.Context, zone string, id types.ID) (*Archive, error)
- func (o *ArchiveOp) Share(ctx context.Context, zone string, id types.ID) (*ArchiveShareInfo, error)
- func (o *ArchiveOp) Transfer(ctx context.Context, zone string, sourceArchiveID types.ID, ...) (*Archive, error)
- func (o *ArchiveOp) Update(ctx context.Context, zone string, id types.ID, param *ArchiveUpdateRequest) (*Archive, error)
- type ArchiveShareInfo
- type ArchiveTransferRequest
- func (o *ArchiveTransferRequest) AppendTag(tag string)
- func (o *ArchiveTransferRequest) ClearTags()
- func (o *ArchiveTransferRequest) GetDescription() string
- func (o *ArchiveTransferRequest) GetIconID() types.ID
- func (o *ArchiveTransferRequest) GetName() string
- func (o *ArchiveTransferRequest) GetSizeGB() int
- func (o *ArchiveTransferRequest) GetSizeMB() int
- func (o *ArchiveTransferRequest) GetTags() types.Tags
- func (o *ArchiveTransferRequest) HasTag(tag string) bool
- func (o *ArchiveTransferRequest) RemoveTag(tag string)
- func (o *ArchiveTransferRequest) SetDescription(v string)
- func (o *ArchiveTransferRequest) SetIconID(v types.ID)
- func (o *ArchiveTransferRequest) SetName(v string)
- func (o *ArchiveTransferRequest) SetSizeGB(size int)
- func (o *ArchiveTransferRequest) SetSizeMB(v int)
- func (o *ArchiveTransferRequest) SetTags(v types.Tags)
- type ArchiveUpdateRequest
- func (o *ArchiveUpdateRequest) AppendTag(tag string)
- func (o *ArchiveUpdateRequest) ClearTags()
- func (o *ArchiveUpdateRequest) GetDescription() string
- func (o *ArchiveUpdateRequest) GetIconID() types.ID
- func (o *ArchiveUpdateRequest) GetName() string
- func (o *ArchiveUpdateRequest) GetTags() types.Tags
- func (o *ArchiveUpdateRequest) HasTag(tag string) bool
- func (o *ArchiveUpdateRequest) RemoveTag(tag string)
- func (o *ArchiveUpdateRequest) SetDescription(v string)
- func (o *ArchiveUpdateRequest) SetIconID(v types.ID)
- func (o *ArchiveUpdateRequest) SetName(v string)
- func (o *ArchiveUpdateRequest) SetTags(v types.Tags)
- type AuthStatus
- func (o *AuthStatus) GetAccountClass() string
- func (o *AuthStatus) GetAccountCode() string
- func (o *AuthStatus) GetAccountID() types.ID
- func (o *AuthStatus) GetAccountName() string
- func (o *AuthStatus) GetAuthClass() types.EAuthClass
- func (o *AuthStatus) GetAuthMethod() types.EAuthMethod
- func (o *AuthStatus) GetExternalPermission() types.ExternalPermission
- func (o *AuthStatus) GetIsAPIKey() bool
- func (o *AuthStatus) GetMemberClass() string
- func (o *AuthStatus) GetMemberCode() string
- func (o *AuthStatus) GetOperationPenalty() types.EOperationPenalty
- func (o *AuthStatus) GetPermission() types.EPermission
- func (o *AuthStatus) SetAccountClass(v string)
- func (o *AuthStatus) SetAccountCode(v string)
- func (o *AuthStatus) SetAccountID(v types.ID)
- func (o *AuthStatus) SetAccountName(v string)
- func (o *AuthStatus) SetAuthClass(v types.EAuthClass)
- func (o *AuthStatus) SetAuthMethod(v types.EAuthMethod)
- func (o *AuthStatus) SetExternalPermission(v types.ExternalPermission)
- func (o *AuthStatus) SetIsAPIKey(v bool)
- func (o *AuthStatus) SetMemberClass(v string)
- func (o *AuthStatus) SetMemberCode(v string)
- func (o *AuthStatus) SetOperationPenalty(v types.EOperationPenalty)
- func (o *AuthStatus) SetPermission(v types.EPermission)
- type AuthStatusAPI
- type AuthStatusOp
- type AutoBackup
- func (o *AutoBackup) AppendTag(tag string)
- func (o *AutoBackup) ClearTags()
- func (o *AutoBackup) GetAccountID() types.ID
- func (o *AutoBackup) GetAvailability() types.EAvailability
- func (o *AutoBackup) GetBackupSpanWeekdays() []types.EDayOfTheWeek
- func (o *AutoBackup) GetCreatedAt() time.Time
- func (o *AutoBackup) GetDescription() string
- func (o *AutoBackup) GetDiskID() types.ID
- func (o *AutoBackup) GetID() types.ID
- func (o *AutoBackup) GetIconID() types.ID
- func (o *AutoBackup) GetInt64ID() int64
- func (o *AutoBackup) GetMaximumNumberOfArchives() int
- func (o *AutoBackup) GetModifiedAt() time.Time
- func (o *AutoBackup) GetName() string
- func (o *AutoBackup) GetSettingsHash() string
- func (o *AutoBackup) GetStringID() string
- func (o *AutoBackup) GetTags() types.Tags
- func (o *AutoBackup) GetZoneID() types.ID
- func (o *AutoBackup) GetZoneName() string
- func (o *AutoBackup) HasTag(tag string) bool
- func (o *AutoBackup) RemoveTag(tag string)
- func (o *AutoBackup) SetAccountID(v types.ID)
- func (o *AutoBackup) SetAvailability(v types.EAvailability)
- func (o *AutoBackup) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
- func (o *AutoBackup) SetCreatedAt(v time.Time)
- func (o *AutoBackup) SetDescription(v string)
- func (o *AutoBackup) SetDiskID(v types.ID)
- func (o *AutoBackup) SetID(v types.ID)
- func (o *AutoBackup) SetIconID(v types.ID)
- func (o *AutoBackup) SetInt64ID(id int64)
- func (o *AutoBackup) SetMaximumNumberOfArchives(v int)
- func (o *AutoBackup) SetModifiedAt(v time.Time)
- func (o *AutoBackup) SetName(v string)
- func (o *AutoBackup) SetSettingsHash(v string)
- func (o *AutoBackup) SetStringID(id string)
- func (o *AutoBackup) SetTags(v types.Tags)
- func (o *AutoBackup) SetZoneID(v types.ID)
- func (o *AutoBackup) SetZoneName(v string)
- type AutoBackupAPI
- type AutoBackupCreateRequest
- func (o *AutoBackupCreateRequest) AppendTag(tag string)
- func (o *AutoBackupCreateRequest) ClearTags()
- func (o *AutoBackupCreateRequest) GetBackupSpanWeekdays() []types.EDayOfTheWeek
- func (o *AutoBackupCreateRequest) GetDescription() string
- func (o *AutoBackupCreateRequest) GetDiskID() types.ID
- func (o *AutoBackupCreateRequest) GetIconID() types.ID
- func (o *AutoBackupCreateRequest) GetMaximumNumberOfArchives() int
- func (o *AutoBackupCreateRequest) GetName() string
- func (o *AutoBackupCreateRequest) GetTags() types.Tags
- func (o *AutoBackupCreateRequest) HasTag(tag string) bool
- func (o *AutoBackupCreateRequest) RemoveTag(tag string)
- func (o *AutoBackupCreateRequest) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
- func (o *AutoBackupCreateRequest) SetDescription(v string)
- func (o *AutoBackupCreateRequest) SetDiskID(v types.ID)
- func (o *AutoBackupCreateRequest) SetIconID(v types.ID)
- func (o *AutoBackupCreateRequest) SetMaximumNumberOfArchives(v int)
- func (o *AutoBackupCreateRequest) SetName(v string)
- func (o *AutoBackupCreateRequest) SetTags(v types.Tags)
- type AutoBackupFindResult
- type AutoBackupOp
- func (o *AutoBackupOp) Create(ctx context.Context, zone string, param *AutoBackupCreateRequest) (*AutoBackup, error)
- func (o *AutoBackupOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *AutoBackupOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*AutoBackupFindResult, error)
- func (o *AutoBackupOp) Read(ctx context.Context, zone string, id types.ID) (*AutoBackup, error)
- func (o *AutoBackupOp) Update(ctx context.Context, zone string, id types.ID, param *AutoBackupUpdateRequest) (*AutoBackup, error)
- func (o *AutoBackupOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*AutoBackup, error)
- type AutoBackupUpdateRequest
- func (o *AutoBackupUpdateRequest) AppendTag(tag string)
- func (o *AutoBackupUpdateRequest) ClearTags()
- func (o *AutoBackupUpdateRequest) GetBackupSpanWeekdays() []types.EDayOfTheWeek
- func (o *AutoBackupUpdateRequest) GetDescription() string
- func (o *AutoBackupUpdateRequest) GetIconID() types.ID
- func (o *AutoBackupUpdateRequest) GetMaximumNumberOfArchives() int
- func (o *AutoBackupUpdateRequest) GetName() string
- func (o *AutoBackupUpdateRequest) GetSettingsHash() string
- func (o *AutoBackupUpdateRequest) GetTags() types.Tags
- func (o *AutoBackupUpdateRequest) HasTag(tag string) bool
- func (o *AutoBackupUpdateRequest) RemoveTag(tag string)
- func (o *AutoBackupUpdateRequest) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
- func (o *AutoBackupUpdateRequest) SetDescription(v string)
- func (o *AutoBackupUpdateRequest) SetIconID(v types.ID)
- func (o *AutoBackupUpdateRequest) SetMaximumNumberOfArchives(v int)
- func (o *AutoBackupUpdateRequest) SetName(v string)
- func (o *AutoBackupUpdateRequest) SetSettingsHash(v string)
- func (o *AutoBackupUpdateRequest) SetTags(v types.Tags)
- type AutoBackupUpdateSettingsRequest
- func (o *AutoBackupUpdateSettingsRequest) GetBackupSpanWeekdays() []types.EDayOfTheWeek
- func (o *AutoBackupUpdateSettingsRequest) GetMaximumNumberOfArchives() int
- func (o *AutoBackupUpdateSettingsRequest) GetSettingsHash() string
- func (o *AutoBackupUpdateSettingsRequest) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
- func (o *AutoBackupUpdateSettingsRequest) SetMaximumNumberOfArchives(v int)
- func (o *AutoBackupUpdateSettingsRequest) SetSettingsHash(v string)
- type AutoScale
- func (o *AutoScale) AppendTag(tag string)
- func (o *AutoScale) ClearTags()
- func (o *AutoScale) GetAPIKeyID() string
- func (o *AutoScale) GetAvailability() types.EAvailability
- func (o *AutoScale) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
- func (o *AutoScale) GetConfig() string
- func (o *AutoScale) GetCreatedAt() time.Time
- func (o *AutoScale) GetDescription() string
- func (o *AutoScale) GetDisabled() bool
- func (o *AutoScale) GetID() types.ID
- func (o *AutoScale) GetIconID() types.ID
- func (o *AutoScale) GetInt64ID() int64
- func (o *AutoScale) GetModifiedAt() time.Time
- func (o *AutoScale) GetName() string
- func (o *AutoScale) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
- func (o *AutoScale) GetScheduleScaling() []*AutoScaleScheduleScaling
- func (o *AutoScale) GetSettingsHash() string
- func (o *AutoScale) GetStringID() string
- func (o *AutoScale) GetTags() types.Tags
- func (o *AutoScale) GetTriggerType() types.EAutoScaleTriggerType
- func (o *AutoScale) GetZones() []string
- func (o *AutoScale) HasTag(tag string) bool
- func (o *AutoScale) RemoveTag(tag string)
- func (o *AutoScale) SetAPIKeyID(v string)
- func (o *AutoScale) SetAvailability(v types.EAvailability)
- func (o *AutoScale) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
- func (o *AutoScale) SetConfig(v string)
- func (o *AutoScale) SetCreatedAt(v time.Time)
- func (o *AutoScale) SetDescription(v string)
- func (o *AutoScale) SetDisabled(v bool)
- func (o *AutoScale) SetID(v types.ID)
- func (o *AutoScale) SetIconID(v types.ID)
- func (o *AutoScale) SetInt64ID(id int64)
- func (o *AutoScale) SetModifiedAt(v time.Time)
- func (o *AutoScale) SetName(v string)
- func (o *AutoScale) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
- func (o *AutoScale) SetScheduleScaling(v []*AutoScaleScheduleScaling)
- func (o *AutoScale) SetSettingsHash(v string)
- func (o *AutoScale) SetStringID(id string)
- func (o *AutoScale) SetTags(v types.Tags)
- func (o *AutoScale) SetTriggerType(v types.EAutoScaleTriggerType)
- func (o *AutoScale) SetZones(v []string)
- type AutoScaleAPI
- type AutoScaleCPUThresholdScaling
- func (o *AutoScaleCPUThresholdScaling) GetDown() int
- func (o *AutoScaleCPUThresholdScaling) GetServerPrefix() string
- func (o *AutoScaleCPUThresholdScaling) GetUp() int
- func (o *AutoScaleCPUThresholdScaling) SetDown(v int)
- func (o *AutoScaleCPUThresholdScaling) SetServerPrefix(v string)
- func (o *AutoScaleCPUThresholdScaling) SetUp(v int)
- type AutoScaleCreateRequest
- func (o *AutoScaleCreateRequest) AppendTag(tag string)
- func (o *AutoScaleCreateRequest) ClearTags()
- func (o *AutoScaleCreateRequest) GetAPIKeyID() string
- func (o *AutoScaleCreateRequest) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
- func (o *AutoScaleCreateRequest) GetConfig() string
- func (o *AutoScaleCreateRequest) GetDescription() string
- func (o *AutoScaleCreateRequest) GetDisabled() bool
- func (o *AutoScaleCreateRequest) GetIconID() types.ID
- func (o *AutoScaleCreateRequest) GetName() string
- func (o *AutoScaleCreateRequest) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
- func (o *AutoScaleCreateRequest) GetScheduleScaling() []*AutoScaleScheduleScaling
- func (o *AutoScaleCreateRequest) GetTags() types.Tags
- func (o *AutoScaleCreateRequest) GetTriggerType() types.EAutoScaleTriggerType
- func (o *AutoScaleCreateRequest) GetZones() []string
- func (o *AutoScaleCreateRequest) HasTag(tag string) bool
- func (o *AutoScaleCreateRequest) RemoveTag(tag string)
- func (o *AutoScaleCreateRequest) SetAPIKeyID(v string)
- func (o *AutoScaleCreateRequest) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
- func (o *AutoScaleCreateRequest) SetConfig(v string)
- func (o *AutoScaleCreateRequest) SetDescription(v string)
- func (o *AutoScaleCreateRequest) SetDisabled(v bool)
- func (o *AutoScaleCreateRequest) SetIconID(v types.ID)
- func (o *AutoScaleCreateRequest) SetName(v string)
- func (o *AutoScaleCreateRequest) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
- func (o *AutoScaleCreateRequest) SetScheduleScaling(v []*AutoScaleScheduleScaling)
- func (o *AutoScaleCreateRequest) SetTags(v types.Tags)
- func (o *AutoScaleCreateRequest) SetTriggerType(v types.EAutoScaleTriggerType)
- func (o *AutoScaleCreateRequest) SetZones(v []string)
- type AutoScaleFindResult
- type AutoScaleOp
- func (o *AutoScaleOp) Create(ctx context.Context, param *AutoScaleCreateRequest) (*AutoScale, error)
- func (o *AutoScaleOp) Delete(ctx context.Context, id types.ID) error
- func (o *AutoScaleOp) Find(ctx context.Context, conditions *FindCondition) (*AutoScaleFindResult, error)
- func (o *AutoScaleOp) Read(ctx context.Context, id types.ID) (*AutoScale, error)
- func (o *AutoScaleOp) ScaleDown(ctx context.Context, id types.ID) error
- func (o *AutoScaleOp) ScaleUp(ctx context.Context, id types.ID) error
- func (o *AutoScaleOp) Status(ctx context.Context, id types.ID) (*AutoScaleStatus, error)
- func (o *AutoScaleOp) Update(ctx context.Context, id types.ID, param *AutoScaleUpdateRequest) (*AutoScale, error)
- func (o *AutoScaleOp) UpdateSettings(ctx context.Context, id types.ID, param *AutoScaleUpdateSettingsRequest) (*AutoScale, error)
- type AutoScaleRouterThresholdScaling
- func (o *AutoScaleRouterThresholdScaling) GetDirection() string
- func (o *AutoScaleRouterThresholdScaling) GetMbps() int
- func (o *AutoScaleRouterThresholdScaling) GetRouterPrefix() string
- func (o *AutoScaleRouterThresholdScaling) SetDirection(v string)
- func (o *AutoScaleRouterThresholdScaling) SetMbps(v int)
- func (o *AutoScaleRouterThresholdScaling) SetRouterPrefix(v string)
- type AutoScaleScheduleScaling
- func (o *AutoScaleScheduleScaling) GetAction() types.EAutoScaleAction
- func (o *AutoScaleScheduleScaling) GetDayOfWeek() []types.EDayOfTheWeek
- func (o *AutoScaleScheduleScaling) GetHour() int
- func (o *AutoScaleScheduleScaling) GetMinute() int
- func (o *AutoScaleScheduleScaling) SetAction(v types.EAutoScaleAction)
- func (o *AutoScaleScheduleScaling) SetDayOfWeek(v []types.EDayOfTheWeek)
- func (o *AutoScaleScheduleScaling) SetHour(v int)
- func (o *AutoScaleScheduleScaling) SetMinute(v int)
- type AutoScaleStatus
- type AutoScaleUpdateRequest
- func (o *AutoScaleUpdateRequest) AppendTag(tag string)
- func (o *AutoScaleUpdateRequest) ClearTags()
- func (o *AutoScaleUpdateRequest) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
- func (o *AutoScaleUpdateRequest) GetConfig() string
- func (o *AutoScaleUpdateRequest) GetDescription() string
- func (o *AutoScaleUpdateRequest) GetDisabled() bool
- func (o *AutoScaleUpdateRequest) GetIconID() types.ID
- func (o *AutoScaleUpdateRequest) GetName() string
- func (o *AutoScaleUpdateRequest) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
- func (o *AutoScaleUpdateRequest) GetScheduleScaling() []*AutoScaleScheduleScaling
- func (o *AutoScaleUpdateRequest) GetSettingsHash() string
- func (o *AutoScaleUpdateRequest) GetTags() types.Tags
- func (o *AutoScaleUpdateRequest) GetTriggerType() types.EAutoScaleTriggerType
- func (o *AutoScaleUpdateRequest) GetZones() []string
- func (o *AutoScaleUpdateRequest) HasTag(tag string) bool
- func (o *AutoScaleUpdateRequest) RemoveTag(tag string)
- func (o *AutoScaleUpdateRequest) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
- func (o *AutoScaleUpdateRequest) SetConfig(v string)
- func (o *AutoScaleUpdateRequest) SetDescription(v string)
- func (o *AutoScaleUpdateRequest) SetDisabled(v bool)
- func (o *AutoScaleUpdateRequest) SetIconID(v types.ID)
- func (o *AutoScaleUpdateRequest) SetName(v string)
- func (o *AutoScaleUpdateRequest) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
- func (o *AutoScaleUpdateRequest) SetScheduleScaling(v []*AutoScaleScheduleScaling)
- func (o *AutoScaleUpdateRequest) SetSettingsHash(v string)
- func (o *AutoScaleUpdateRequest) SetTags(v types.Tags)
- func (o *AutoScaleUpdateRequest) SetTriggerType(v types.EAutoScaleTriggerType)
- func (o *AutoScaleUpdateRequest) SetZones(v []string)
- type AutoScaleUpdateSettingsRequest
- func (o *AutoScaleUpdateSettingsRequest) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
- func (o *AutoScaleUpdateSettingsRequest) GetConfig() string
- func (o *AutoScaleUpdateSettingsRequest) GetDisabled() bool
- func (o *AutoScaleUpdateSettingsRequest) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
- func (o *AutoScaleUpdateSettingsRequest) GetScheduleScaling() []*AutoScaleScheduleScaling
- func (o *AutoScaleUpdateSettingsRequest) GetSettingsHash() string
- func (o *AutoScaleUpdateSettingsRequest) GetTriggerType() types.EAutoScaleTriggerType
- func (o *AutoScaleUpdateSettingsRequest) GetZones() []string
- func (o *AutoScaleUpdateSettingsRequest) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
- func (o *AutoScaleUpdateSettingsRequest) SetConfig(v string)
- func (o *AutoScaleUpdateSettingsRequest) SetDisabled(v bool)
- func (o *AutoScaleUpdateSettingsRequest) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
- func (o *AutoScaleUpdateSettingsRequest) SetScheduleScaling(v []*AutoScaleScheduleScaling)
- func (o *AutoScaleUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *AutoScaleUpdateSettingsRequest) SetTriggerType(v types.EAutoScaleTriggerType)
- func (o *AutoScaleUpdateSettingsRequest) SetZones(v []string)
- type Bill
- func (o *Bill) GetAmount() int64
- func (o *Bill) GetDate() time.Time
- func (o *Bill) GetID() types.ID
- func (o *Bill) GetInt64ID() int64
- func (o *Bill) GetMemberID() string
- func (o *Bill) GetPaid() bool
- func (o *Bill) GetPayLimit() time.Time
- func (o *Bill) GetPaymentClassID() types.ID
- func (o *Bill) GetStringID() string
- func (o *Bill) SetAmount(v int64)
- func (o *Bill) SetDate(v time.Time)
- func (o *Bill) SetID(v types.ID)
- func (o *Bill) SetInt64ID(id int64)
- func (o *Bill) SetMemberID(v string)
- func (o *Bill) SetPaid(v bool)
- func (o *Bill) SetPayLimit(v time.Time)
- func (o *Bill) SetPaymentClassID(v types.ID)
- func (o *Bill) SetStringID(id string)
- type BillAPI
- type BillByContractResult
- type BillByContractYearMonthResult
- type BillByContractYearResult
- type BillDetail
- func (o *BillDetail) GetAmount() int64
- func (o *BillDetail) GetContractEndAt() time.Time
- func (o *BillDetail) GetDescription() string
- func (o *BillDetail) GetFormattedUsage() string
- func (o *BillDetail) GetID() types.ID
- func (o *BillDetail) GetInt64ID() int64
- func (o *BillDetail) GetServiceClassID() types.ID
- func (o *BillDetail) GetServiceClassPath() string
- func (o *BillDetail) GetServiceUsagePath() string
- func (o *BillDetail) GetStringID() string
- func (o *BillDetail) GetUsage() int64
- func (o *BillDetail) GetZone() string
- func (o *BillDetail) SetAmount(v int64)
- func (o *BillDetail) SetContractEndAt(v time.Time)
- func (o *BillDetail) SetDescription(v string)
- func (o *BillDetail) SetFormattedUsage(v string)
- func (o *BillDetail) SetID(v types.ID)
- func (o *BillDetail) SetInt64ID(id int64)
- func (o *BillDetail) SetServiceClassID(v types.ID)
- func (o *BillDetail) SetServiceClassPath(v string)
- func (o *BillDetail) SetServiceUsagePath(v string)
- func (o *BillDetail) SetStringID(id string)
- func (o *BillDetail) SetUsage(v int64)
- func (o *BillDetail) SetZone(v string)
- type BillDetailCSV
- func (o *BillDetailCSV) GetBodyRows() [][]string
- func (o *BillDetailCSV) GetCount() int
- func (o *BillDetailCSV) GetFilename() string
- func (o *BillDetailCSV) GetHeaderRow() []string
- func (o *BillDetailCSV) GetRawBody() string
- func (o *BillDetailCSV) GetResponsedAt() time.Time
- func (o *BillDetailCSV) SetBodyRows(v [][]string)
- func (o *BillDetailCSV) SetCount(v int)
- func (o *BillDetailCSV) SetFilename(v string)
- func (o *BillDetailCSV) SetHeaderRow(v []string)
- func (o *BillDetailCSV) SetRawBody(v string)
- func (o *BillDetailCSV) SetResponsedAt(v time.Time)
- type BillDetailsResult
- type BillOp
- func (o *BillOp) ByContract(ctx context.Context, accountID types.ID) (*BillByContractResult, error)
- func (o *BillOp) ByContractYear(ctx context.Context, accountID types.ID, year int) (*BillByContractYearResult, error)
- func (o *BillOp) ByContractYearMonth(ctx context.Context, accountID types.ID, year int, month int) (*BillByContractYearMonthResult, error)
- func (o *BillOp) Details(ctx context.Context, MemberCode string, id types.ID) (*BillDetailsResult, error)
- func (o *BillOp) DetailsCSV(ctx context.Context, MemberCode string, id types.ID) (*BillDetailCSV, error)
- func (o *BillOp) Read(ctx context.Context, id types.ID) (*BillReadResult, error)
- type BillReadResult
- type Bridge
- func (o *Bridge) GetBridgeInfo() []*BridgeInfo
- func (o *Bridge) GetCreatedAt() time.Time
- func (o *Bridge) GetDescription() string
- func (o *Bridge) GetID() types.ID
- func (o *Bridge) GetInt64ID() int64
- func (o *Bridge) GetName() string
- func (o *Bridge) GetRegion() *Region
- func (o *Bridge) GetStringID() string
- func (o *Bridge) GetSwitchInZone() *BridgeSwitchInfo
- func (o *Bridge) SetBridgeInfo(v []*BridgeInfo)
- func (o *Bridge) SetCreatedAt(v time.Time)
- func (o *Bridge) SetDescription(v string)
- func (o *Bridge) SetID(v types.ID)
- func (o *Bridge) SetInt64ID(id int64)
- func (o *Bridge) SetName(v string)
- func (o *Bridge) SetRegion(v *Region)
- func (o *Bridge) SetStringID(id string)
- func (o *Bridge) SetSwitchInZone(v *BridgeSwitchInfo)
- type BridgeAPI
- type BridgeCreateRequest
- type BridgeFindResult
- type BridgeInfo
- func (o *BridgeInfo) GetID() types.ID
- func (o *BridgeInfo) GetInt64ID() int64
- func (o *BridgeInfo) GetName() string
- func (o *BridgeInfo) GetStringID() string
- func (o *BridgeInfo) GetZoneID() types.ID
- func (o *BridgeInfo) GetZoneName() string
- func (o *BridgeInfo) SetID(v types.ID)
- func (o *BridgeInfo) SetInt64ID(id int64)
- func (o *BridgeInfo) SetName(v string)
- func (o *BridgeInfo) SetStringID(id string)
- func (o *BridgeInfo) SetZoneID(v types.ID)
- func (o *BridgeInfo) SetZoneName(v string)
- type BridgeOp
- func (o *BridgeOp) Create(ctx context.Context, zone string, param *BridgeCreateRequest) (*Bridge, error)
- func (o *BridgeOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *BridgeOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*BridgeFindResult, error)
- func (o *BridgeOp) Read(ctx context.Context, zone string, id types.ID) (*Bridge, error)
- func (o *BridgeOp) Update(ctx context.Context, zone string, id types.ID, param *BridgeUpdateRequest) (*Bridge, error)
- type BridgeSwitchInfo
- func (o *BridgeSwitchInfo) GetApplianceCount() int
- func (o *BridgeSwitchInfo) GetID() types.ID
- func (o *BridgeSwitchInfo) GetInt64ID() int64
- func (o *BridgeSwitchInfo) GetName() string
- func (o *BridgeSwitchInfo) GetScope() types.EScope
- func (o *BridgeSwitchInfo) GetServerCount() int
- func (o *BridgeSwitchInfo) GetStringID() string
- func (o *BridgeSwitchInfo) SetApplianceCount(v int)
- func (o *BridgeSwitchInfo) SetID(v types.ID)
- func (o *BridgeSwitchInfo) SetInt64ID(id int64)
- func (o *BridgeSwitchInfo) SetName(v string)
- func (o *BridgeSwitchInfo) SetScope(v types.EScope)
- func (o *BridgeSwitchInfo) SetServerCount(v int)
- func (o *BridgeSwitchInfo) SetStringID(id string)
- type BridgeUpdateRequest
- type BundleInfo
- func (o *BundleInfo) GetHostClass() string
- func (o *BundleInfo) GetID() types.ID
- func (o *BundleInfo) GetInt64ID() int64
- func (o *BundleInfo) GetServiceClass() string
- func (o *BundleInfo) GetStringID() string
- func (o *BundleInfo) SetHostClass(v string)
- func (o *BundleInfo) SetID(v types.ID)
- func (o *BundleInfo) SetInt64ID(id int64)
- func (o *BundleInfo) SetServiceClass(v string)
- func (o *BundleInfo) SetStringID(id string)
- type CDROM
- func (o *CDROM) AppendTag(tag string)
- func (o *CDROM) ClearTags()
- func (o *CDROM) GetAvailability() types.EAvailability
- func (o *CDROM) GetCreatedAt() time.Time
- func (o *CDROM) GetDescription() string
- func (o *CDROM) GetDisplayOrder() int64
- func (o *CDROM) GetID() types.ID
- func (o *CDROM) GetIconID() types.ID
- func (o *CDROM) GetInt64ID() int64
- func (o *CDROM) GetModifiedAt() time.Time
- func (o *CDROM) GetName() string
- func (o *CDROM) GetScope() types.EScope
- func (o *CDROM) GetSizeGB() int
- func (o *CDROM) GetSizeMB() int
- func (o *CDROM) GetStorage() *Storage
- func (o *CDROM) GetStringID() string
- func (o *CDROM) GetTags() types.Tags
- func (o *CDROM) HasTag(tag string) bool
- func (o *CDROM) RemoveTag(tag string)
- func (o *CDROM) SetAvailability(v types.EAvailability)
- func (o *CDROM) SetCreatedAt(v time.Time)
- func (o *CDROM) SetDescription(v string)
- func (o *CDROM) SetDisplayOrder(v int64)
- func (o *CDROM) SetID(v types.ID)
- func (o *CDROM) SetIconID(v types.ID)
- func (o *CDROM) SetInt64ID(id int64)
- func (o *CDROM) SetModifiedAt(v time.Time)
- func (o *CDROM) SetName(v string)
- func (o *CDROM) SetScope(v types.EScope)
- func (o *CDROM) SetSizeGB(size int)
- func (o *CDROM) SetSizeMB(v int)
- func (o *CDROM) SetStorage(v *Storage)
- func (o *CDROM) SetStringID(id string)
- func (o *CDROM) SetTags(v types.Tags)
- type CDROMAPI
- type CDROMCreateRequest
- func (o *CDROMCreateRequest) AppendTag(tag string)
- func (o *CDROMCreateRequest) ClearTags()
- func (o *CDROMCreateRequest) GetDescription() string
- func (o *CDROMCreateRequest) GetIconID() types.ID
- func (o *CDROMCreateRequest) GetName() string
- func (o *CDROMCreateRequest) GetSizeGB() int
- func (o *CDROMCreateRequest) GetSizeMB() int
- func (o *CDROMCreateRequest) GetTags() types.Tags
- func (o *CDROMCreateRequest) HasTag(tag string) bool
- func (o *CDROMCreateRequest) RemoveTag(tag string)
- func (o *CDROMCreateRequest) SetDescription(v string)
- func (o *CDROMCreateRequest) SetIconID(v types.ID)
- func (o *CDROMCreateRequest) SetName(v string)
- func (o *CDROMCreateRequest) SetSizeGB(size int)
- func (o *CDROMCreateRequest) SetSizeMB(v int)
- func (o *CDROMCreateRequest) SetTags(v types.Tags)
- type CDROMFindResult
- type CDROMOp
- func (o *CDROMOp) CloseFTP(ctx context.Context, zone string, id types.ID) error
- func (o *CDROMOp) Create(ctx context.Context, zone string, param *CDROMCreateRequest) (*CDROM, *FTPServer, error)
- func (o *CDROMOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *CDROMOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*CDROMFindResult, error)
- func (o *CDROMOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *OpenFTPRequest) (*FTPServer, error)
- func (o *CDROMOp) Read(ctx context.Context, zone string, id types.ID) (*CDROM, error)
- func (o *CDROMOp) Update(ctx context.Context, zone string, id types.ID, param *CDROMUpdateRequest) (*CDROM, error)
- type CDROMUpdateRequest
- func (o *CDROMUpdateRequest) AppendTag(tag string)
- func (o *CDROMUpdateRequest) ClearTags()
- func (o *CDROMUpdateRequest) GetDescription() string
- func (o *CDROMUpdateRequest) GetIconID() types.ID
- func (o *CDROMUpdateRequest) GetName() string
- func (o *CDROMUpdateRequest) GetTags() types.Tags
- func (o *CDROMUpdateRequest) HasTag(tag string) bool
- func (o *CDROMUpdateRequest) RemoveTag(tag string)
- func (o *CDROMUpdateRequest) SetDescription(v string)
- func (o *CDROMUpdateRequest) SetIconID(v types.ID)
- func (o *CDROMUpdateRequest) SetName(v string)
- func (o *CDROMUpdateRequest) SetTags(v types.Tags)
- type CPUTimeActivity
- type CertificateAuthority
- func (o *CertificateAuthority) AppendTag(tag string)
- func (o *CertificateAuthority) ClearTags()
- func (o *CertificateAuthority) GetAvailability() types.EAvailability
- func (o *CertificateAuthority) GetCommonName() string
- func (o *CertificateAuthority) GetCountry() string
- func (o *CertificateAuthority) GetCreatedAt() time.Time
- func (o *CertificateAuthority) GetDescription() string
- func (o *CertificateAuthority) GetID() types.ID
- func (o *CertificateAuthority) GetIconID() types.ID
- func (o *CertificateAuthority) GetInt64ID() int64
- func (o *CertificateAuthority) GetModifiedAt() time.Time
- func (o *CertificateAuthority) GetName() string
- func (o *CertificateAuthority) GetNotAfter() time.Time
- func (o *CertificateAuthority) GetOrganization() string
- func (o *CertificateAuthority) GetOrganizationUnit() []string
- func (o *CertificateAuthority) GetStringID() string
- func (o *CertificateAuthority) GetSubject() string
- func (o *CertificateAuthority) GetTags() types.Tags
- func (o *CertificateAuthority) HasTag(tag string) bool
- func (o *CertificateAuthority) RemoveTag(tag string)
- func (o *CertificateAuthority) SetAvailability(v types.EAvailability)
- func (o *CertificateAuthority) SetCommonName(v string)
- func (o *CertificateAuthority) SetCountry(v string)
- func (o *CertificateAuthority) SetCreatedAt(v time.Time)
- func (o *CertificateAuthority) SetDescription(v string)
- func (o *CertificateAuthority) SetID(v types.ID)
- func (o *CertificateAuthority) SetIconID(v types.ID)
- func (o *CertificateAuthority) SetInt64ID(id int64)
- func (o *CertificateAuthority) SetModifiedAt(v time.Time)
- func (o *CertificateAuthority) SetName(v string)
- func (o *CertificateAuthority) SetNotAfter(v time.Time)
- func (o *CertificateAuthority) SetOrganization(v string)
- func (o *CertificateAuthority) SetOrganizationUnit(v []string)
- func (o *CertificateAuthority) SetStringID(id string)
- func (o *CertificateAuthority) SetSubject(v string)
- func (o *CertificateAuthority) SetTags(v types.Tags)
- type CertificateAuthorityAPI
- type CertificateAuthorityAddClientOrServerResult
- type CertificateAuthorityAddClientParam
- func (o *CertificateAuthorityAddClientParam) GetCertificateSigningRequest() string
- func (o *CertificateAuthorityAddClientParam) GetCommonName() string
- func (o *CertificateAuthorityAddClientParam) GetCountry() string
- func (o *CertificateAuthorityAddClientParam) GetEMail() string
- func (o *CertificateAuthorityAddClientParam) GetIssuanceMethod() types.ECertificateAuthorityIssuanceMethod
- func (o *CertificateAuthorityAddClientParam) GetNotAfter() time.Time
- func (o *CertificateAuthorityAddClientParam) GetOrganization() string
- func (o *CertificateAuthorityAddClientParam) GetOrganizationUnit() []string
- func (o *CertificateAuthorityAddClientParam) GetPublicKey() string
- func (o *CertificateAuthorityAddClientParam) SetCertificateSigningRequest(v string)
- func (o *CertificateAuthorityAddClientParam) SetCommonName(v string)
- func (o *CertificateAuthorityAddClientParam) SetCountry(v string)
- func (o *CertificateAuthorityAddClientParam) SetEMail(v string)
- func (o *CertificateAuthorityAddClientParam) SetIssuanceMethod(v types.ECertificateAuthorityIssuanceMethod)
- func (o *CertificateAuthorityAddClientParam) SetNotAfter(v time.Time)
- func (o *CertificateAuthorityAddClientParam) SetOrganization(v string)
- func (o *CertificateAuthorityAddClientParam) SetOrganizationUnit(v []string)
- func (o *CertificateAuthorityAddClientParam) SetPublicKey(v string)
- type CertificateAuthorityAddServerParam
- func (o *CertificateAuthorityAddServerParam) GetCertificateSigningRequest() string
- func (o *CertificateAuthorityAddServerParam) GetCommonName() string
- func (o *CertificateAuthorityAddServerParam) GetCountry() string
- func (o *CertificateAuthorityAddServerParam) GetNotAfter() time.Time
- func (o *CertificateAuthorityAddServerParam) GetOrganization() string
- func (o *CertificateAuthorityAddServerParam) GetOrganizationUnit() []string
- func (o *CertificateAuthorityAddServerParam) GetPublicKey() string
- func (o *CertificateAuthorityAddServerParam) GetSANs() []string
- func (o *CertificateAuthorityAddServerParam) SetCertificateSigningRequest(v string)
- func (o *CertificateAuthorityAddServerParam) SetCommonName(v string)
- func (o *CertificateAuthorityAddServerParam) SetCountry(v string)
- func (o *CertificateAuthorityAddServerParam) SetNotAfter(v time.Time)
- func (o *CertificateAuthorityAddServerParam) SetOrganization(v string)
- func (o *CertificateAuthorityAddServerParam) SetOrganizationUnit(v []string)
- func (o *CertificateAuthorityAddServerParam) SetPublicKey(v string)
- func (o *CertificateAuthorityAddServerParam) SetSANs(v []string)
- type CertificateAuthorityClient
- func (o *CertificateAuthorityClient) GetCertificateData() *CertificateData
- func (o *CertificateAuthorityClient) GetEMail() string
- func (o *CertificateAuthorityClient) GetID() string
- func (o *CertificateAuthorityClient) GetIssuanceMethod() types.ECertificateAuthorityIssuanceMethod
- func (o *CertificateAuthorityClient) GetIssueState() string
- func (o *CertificateAuthorityClient) GetSubject() string
- func (o *CertificateAuthorityClient) GetURL() string
- func (o *CertificateAuthorityClient) SetCertificateData(v *CertificateData)
- func (o *CertificateAuthorityClient) SetEMail(v string)
- func (o *CertificateAuthorityClient) SetID(v string)
- func (o *CertificateAuthorityClient) SetIssuanceMethod(v types.ECertificateAuthorityIssuanceMethod)
- func (o *CertificateAuthorityClient) SetIssueState(v string)
- func (o *CertificateAuthorityClient) SetSubject(v string)
- func (o *CertificateAuthorityClient) SetURL(v string)
- type CertificateAuthorityCreateRequest
- func (o *CertificateAuthorityCreateRequest) AppendTag(tag string)
- func (o *CertificateAuthorityCreateRequest) ClearTags()
- func (o *CertificateAuthorityCreateRequest) GetCommonName() string
- func (o *CertificateAuthorityCreateRequest) GetCountry() string
- func (o *CertificateAuthorityCreateRequest) GetDescription() string
- func (o *CertificateAuthorityCreateRequest) GetIconID() types.ID
- func (o *CertificateAuthorityCreateRequest) GetName() string
- func (o *CertificateAuthorityCreateRequest) GetNotAfter() time.Time
- func (o *CertificateAuthorityCreateRequest) GetOrganization() string
- func (o *CertificateAuthorityCreateRequest) GetOrganizationUnit() []string
- func (o *CertificateAuthorityCreateRequest) GetTags() types.Tags
- func (o *CertificateAuthorityCreateRequest) HasTag(tag string) bool
- func (o *CertificateAuthorityCreateRequest) RemoveTag(tag string)
- func (o *CertificateAuthorityCreateRequest) SetCommonName(v string)
- func (o *CertificateAuthorityCreateRequest) SetCountry(v string)
- func (o *CertificateAuthorityCreateRequest) SetDescription(v string)
- func (o *CertificateAuthorityCreateRequest) SetIconID(v types.ID)
- func (o *CertificateAuthorityCreateRequest) SetName(v string)
- func (o *CertificateAuthorityCreateRequest) SetNotAfter(v time.Time)
- func (o *CertificateAuthorityCreateRequest) SetOrganization(v string)
- func (o *CertificateAuthorityCreateRequest) SetOrganizationUnit(v []string)
- func (o *CertificateAuthorityCreateRequest) SetTags(v types.Tags)
- type CertificateAuthorityDetail
- type CertificateAuthorityFindResult
- type CertificateAuthorityListClientsResult
- type CertificateAuthorityListServersResult
- type CertificateAuthorityOp
- func (o *CertificateAuthorityOp) AddClient(ctx context.Context, id types.ID, param *CertificateAuthorityAddClientParam) (*CertificateAuthorityAddClientOrServerResult, error)
- func (o *CertificateAuthorityOp) AddServer(ctx context.Context, id types.ID, param *CertificateAuthorityAddServerParam) (*CertificateAuthorityAddClientOrServerResult, error)
- func (o *CertificateAuthorityOp) Create(ctx context.Context, param *CertificateAuthorityCreateRequest) (*CertificateAuthority, error)
- func (o *CertificateAuthorityOp) Delete(ctx context.Context, id types.ID) error
- func (o *CertificateAuthorityOp) DenyClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) Detail(ctx context.Context, id types.ID) (*CertificateAuthorityDetail, error)
- func (o *CertificateAuthorityOp) Find(ctx context.Context, conditions *FindCondition) (*CertificateAuthorityFindResult, error)
- func (o *CertificateAuthorityOp) HoldClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) HoldServer(ctx context.Context, id types.ID, serverID string) error
- func (o *CertificateAuthorityOp) ListClients(ctx context.Context, id types.ID) (*CertificateAuthorityListClientsResult, error)
- func (o *CertificateAuthorityOp) ListServers(ctx context.Context, id types.ID) (*CertificateAuthorityListServersResult, error)
- func (o *CertificateAuthorityOp) Read(ctx context.Context, id types.ID) (*CertificateAuthority, error)
- func (o *CertificateAuthorityOp) ReadClient(ctx context.Context, id types.ID, clientID string) (*CertificateAuthorityClient, error)
- func (o *CertificateAuthorityOp) ReadServer(ctx context.Context, id types.ID, serverID string) (*CertificateAuthorityServer, error)
- func (o *CertificateAuthorityOp) ResumeClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) ResumeServer(ctx context.Context, id types.ID, serverID string) error
- func (o *CertificateAuthorityOp) RevokeClient(ctx context.Context, id types.ID, clientID string) error
- func (o *CertificateAuthorityOp) RevokeServer(ctx context.Context, id types.ID, serverID string) error
- func (o *CertificateAuthorityOp) Update(ctx context.Context, id types.ID, param *CertificateAuthorityUpdateRequest) (*CertificateAuthority, error)
- type CertificateAuthorityServer
- func (o *CertificateAuthorityServer) GetCertificateData() *CertificateData
- func (o *CertificateAuthorityServer) GetEMail() string
- func (o *CertificateAuthorityServer) GetID() string
- func (o *CertificateAuthorityServer) GetIssueState() string
- func (o *CertificateAuthorityServer) GetSANs() []string
- func (o *CertificateAuthorityServer) GetSubject() string
- func (o *CertificateAuthorityServer) SetCertificateData(v *CertificateData)
- func (o *CertificateAuthorityServer) SetEMail(v string)
- func (o *CertificateAuthorityServer) SetID(v string)
- func (o *CertificateAuthorityServer) SetIssueState(v string)
- func (o *CertificateAuthorityServer) SetSANs(v []string)
- func (o *CertificateAuthorityServer) SetSubject(v string)
- type CertificateAuthorityUpdateRequest
- func (o *CertificateAuthorityUpdateRequest) AppendTag(tag string)
- func (o *CertificateAuthorityUpdateRequest) ClearTags()
- func (o *CertificateAuthorityUpdateRequest) GetDescription() string
- func (o *CertificateAuthorityUpdateRequest) GetIconID() types.ID
- func (o *CertificateAuthorityUpdateRequest) GetName() string
- func (o *CertificateAuthorityUpdateRequest) GetTags() types.Tags
- func (o *CertificateAuthorityUpdateRequest) HasTag(tag string) bool
- func (o *CertificateAuthorityUpdateRequest) RemoveTag(tag string)
- func (o *CertificateAuthorityUpdateRequest) SetDescription(v string)
- func (o *CertificateAuthorityUpdateRequest) SetIconID(v types.ID)
- func (o *CertificateAuthorityUpdateRequest) SetName(v string)
- func (o *CertificateAuthorityUpdateRequest) SetTags(v types.Tags)
- type CertificateData
- func (o *CertificateData) GetCertificatePEM() string
- func (o *CertificateData) GetNotAfter() time.Time
- func (o *CertificateData) GetNotBefore() time.Time
- func (o *CertificateData) GetSerialNumber() string
- func (o *CertificateData) GetSubject() string
- func (o *CertificateData) SetCertificatePEM(v string)
- func (o *CertificateData) SetNotAfter(v time.Time)
- func (o *CertificateData) SetNotBefore(v time.Time)
- func (o *CertificateData) SetSerialNumber(v string)
- func (o *CertificateData) SetSubject(v string)
- type Client
- type ConnectedSwitch
- func (o *ConnectedSwitch) GetID() types.ID
- func (o *ConnectedSwitch) GetInt64ID() int64
- func (o *ConnectedSwitch) GetScope() types.EScope
- func (o *ConnectedSwitch) GetStringID() string
- func (o *ConnectedSwitch) SetID(v types.ID)
- func (o *ConnectedSwitch) SetInt64ID(id int64)
- func (o *ConnectedSwitch) SetScope(v types.EScope)
- func (o *ConnectedSwitch) SetStringID(id string)
- type ConnectionActivity
- type ContainerRegistry
- func (o *ContainerRegistry) AppendTag(tag string)
- func (o *ContainerRegistry) ClearTags()
- func (o *ContainerRegistry) GetAccessLevel() types.EContainerRegistryAccessLevel
- func (o *ContainerRegistry) GetAvailability() types.EAvailability
- func (o *ContainerRegistry) GetCreatedAt() time.Time
- func (o *ContainerRegistry) GetDescription() string
- func (o *ContainerRegistry) GetFQDN() string
- func (o *ContainerRegistry) GetID() types.ID
- func (o *ContainerRegistry) GetIconID() types.ID
- func (o *ContainerRegistry) GetInt64ID() int64
- func (o *ContainerRegistry) GetModifiedAt() time.Time
- func (o *ContainerRegistry) GetName() string
- func (o *ContainerRegistry) GetSettingsHash() string
- func (o *ContainerRegistry) GetStringID() string
- func (o *ContainerRegistry) GetSubDomainLabel() string
- func (o *ContainerRegistry) GetTags() types.Tags
- func (o *ContainerRegistry) GetVirtualDomain() string
- func (o *ContainerRegistry) HasTag(tag string) bool
- func (o *ContainerRegistry) RemoveTag(tag string)
- func (o *ContainerRegistry) SetAccessLevel(v types.EContainerRegistryAccessLevel)
- func (o *ContainerRegistry) SetAvailability(v types.EAvailability)
- func (o *ContainerRegistry) SetCreatedAt(v time.Time)
- func (o *ContainerRegistry) SetDescription(v string)
- func (o *ContainerRegistry) SetFQDN(v string)
- func (o *ContainerRegistry) SetID(v types.ID)
- func (o *ContainerRegistry) SetIconID(v types.ID)
- func (o *ContainerRegistry) SetInt64ID(id int64)
- func (o *ContainerRegistry) SetModifiedAt(v time.Time)
- func (o *ContainerRegistry) SetName(v string)
- func (o *ContainerRegistry) SetSettingsHash(v string)
- func (o *ContainerRegistry) SetStringID(id string)
- func (o *ContainerRegistry) SetSubDomainLabel(v string)
- func (o *ContainerRegistry) SetTags(v types.Tags)
- func (o *ContainerRegistry) SetVirtualDomain(v string)
- type ContainerRegistryAPI
- type ContainerRegistryCreateRequest
- func (o *ContainerRegistryCreateRequest) AppendTag(tag string)
- func (o *ContainerRegistryCreateRequest) ClearTags()
- func (o *ContainerRegistryCreateRequest) GetAccessLevel() types.EContainerRegistryAccessLevel
- func (o *ContainerRegistryCreateRequest) GetDescription() string
- func (o *ContainerRegistryCreateRequest) GetIconID() types.ID
- func (o *ContainerRegistryCreateRequest) GetName() string
- func (o *ContainerRegistryCreateRequest) GetSubDomainLabel() string
- func (o *ContainerRegistryCreateRequest) GetTags() types.Tags
- func (o *ContainerRegistryCreateRequest) GetVirtualDomain() string
- func (o *ContainerRegistryCreateRequest) HasTag(tag string) bool
- func (o *ContainerRegistryCreateRequest) RemoveTag(tag string)
- func (o *ContainerRegistryCreateRequest) SetAccessLevel(v types.EContainerRegistryAccessLevel)
- func (o *ContainerRegistryCreateRequest) SetDescription(v string)
- func (o *ContainerRegistryCreateRequest) SetIconID(v types.ID)
- func (o *ContainerRegistryCreateRequest) SetName(v string)
- func (o *ContainerRegistryCreateRequest) SetSubDomainLabel(v string)
- func (o *ContainerRegistryCreateRequest) SetTags(v types.Tags)
- func (o *ContainerRegistryCreateRequest) SetVirtualDomain(v string)
- type ContainerRegistryFindResult
- type ContainerRegistryOp
- func (o *ContainerRegistryOp) AddUser(ctx context.Context, id types.ID, param *ContainerRegistryUserCreateRequest) error
- func (o *ContainerRegistryOp) Create(ctx context.Context, param *ContainerRegistryCreateRequest) (*ContainerRegistry, error)
- func (o *ContainerRegistryOp) Delete(ctx context.Context, id types.ID) error
- func (o *ContainerRegistryOp) DeleteUser(ctx context.Context, id types.ID, username string) error
- func (o *ContainerRegistryOp) Find(ctx context.Context, conditions *FindCondition) (*ContainerRegistryFindResult, error)
- func (o *ContainerRegistryOp) ListUsers(ctx context.Context, id types.ID) (*ContainerRegistryUsers, error)
- func (o *ContainerRegistryOp) Read(ctx context.Context, id types.ID) (*ContainerRegistry, error)
- func (o *ContainerRegistryOp) Update(ctx context.Context, id types.ID, param *ContainerRegistryUpdateRequest) (*ContainerRegistry, error)
- func (o *ContainerRegistryOp) UpdateSettings(ctx context.Context, id types.ID, ...) (*ContainerRegistry, error)
- func (o *ContainerRegistryOp) UpdateUser(ctx context.Context, id types.ID, username string, ...) error
- type ContainerRegistryUpdateRequest
- func (o *ContainerRegistryUpdateRequest) AppendTag(tag string)
- func (o *ContainerRegistryUpdateRequest) ClearTags()
- func (o *ContainerRegistryUpdateRequest) GetAccessLevel() types.EContainerRegistryAccessLevel
- func (o *ContainerRegistryUpdateRequest) GetDescription() string
- func (o *ContainerRegistryUpdateRequest) GetIconID() types.ID
- func (o *ContainerRegistryUpdateRequest) GetName() string
- func (o *ContainerRegistryUpdateRequest) GetSettingsHash() string
- func (o *ContainerRegistryUpdateRequest) GetTags() types.Tags
- func (o *ContainerRegistryUpdateRequest) GetVirtualDomain() string
- func (o *ContainerRegistryUpdateRequest) HasTag(tag string) bool
- func (o *ContainerRegistryUpdateRequest) RemoveTag(tag string)
- func (o *ContainerRegistryUpdateRequest) SetAccessLevel(v types.EContainerRegistryAccessLevel)
- func (o *ContainerRegistryUpdateRequest) SetDescription(v string)
- func (o *ContainerRegistryUpdateRequest) SetIconID(v types.ID)
- func (o *ContainerRegistryUpdateRequest) SetName(v string)
- func (o *ContainerRegistryUpdateRequest) SetSettingsHash(v string)
- func (o *ContainerRegistryUpdateRequest) SetTags(v types.Tags)
- func (o *ContainerRegistryUpdateRequest) SetVirtualDomain(v string)
- type ContainerRegistryUpdateSettingsRequest
- func (o *ContainerRegistryUpdateSettingsRequest) GetAccessLevel() types.EContainerRegistryAccessLevel
- func (o *ContainerRegistryUpdateSettingsRequest) GetSettingsHash() string
- func (o *ContainerRegistryUpdateSettingsRequest) GetVirtualDomain() string
- func (o *ContainerRegistryUpdateSettingsRequest) SetAccessLevel(v types.EContainerRegistryAccessLevel)
- func (o *ContainerRegistryUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *ContainerRegistryUpdateSettingsRequest) SetVirtualDomain(v string)
- type ContainerRegistryUser
- type ContainerRegistryUserCreateRequest
- func (o *ContainerRegistryUserCreateRequest) GetPassword() string
- func (o *ContainerRegistryUserCreateRequest) GetPermission() types.EContainerRegistryPermission
- func (o *ContainerRegistryUserCreateRequest) GetUserName() string
- func (o *ContainerRegistryUserCreateRequest) SetPassword(v string)
- func (o *ContainerRegistryUserCreateRequest) SetPermission(v types.EContainerRegistryPermission)
- func (o *ContainerRegistryUserCreateRequest) SetUserName(v string)
- type ContainerRegistryUserUpdateRequest
- func (o *ContainerRegistryUserUpdateRequest) GetPassword() string
- func (o *ContainerRegistryUserUpdateRequest) GetPermission() types.EContainerRegistryPermission
- func (o *ContainerRegistryUserUpdateRequest) SetPassword(v string)
- func (o *ContainerRegistryUserUpdateRequest) SetPermission(v types.EContainerRegistryPermission)
- type ContainerRegistryUsers
- type Coupon
- func (o *Coupon) GetAppliedAt() time.Time
- func (o *Coupon) GetContractID() types.ID
- func (o *Coupon) GetDiscount() int64
- func (o *Coupon) GetID() types.ID
- func (o *Coupon) GetInt64ID() int64
- func (o *Coupon) GetMemberID() string
- func (o *Coupon) GetServiceClassID() types.ID
- func (o *Coupon) GetStringID() string
- func (o *Coupon) GetUntilAt() time.Time
- func (o *Coupon) SetAppliedAt(v time.Time)
- func (o *Coupon) SetContractID(v types.ID)
- func (o *Coupon) SetDiscount(v int64)
- func (o *Coupon) SetID(v types.ID)
- func (o *Coupon) SetInt64ID(id int64)
- func (o *Coupon) SetMemberID(v string)
- func (o *Coupon) SetServiceClassID(v types.ID)
- func (o *Coupon) SetStringID(id string)
- func (o *Coupon) SetUntilAt(v time.Time)
- type CouponAPI
- type CouponFindResult
- type CouponOp
- type DNS
- func (o *DNS) AppendTag(tag string)
- func (o *DNS) ClearTags()
- func (o *DNS) GetAvailability() types.EAvailability
- func (o *DNS) GetCreatedAt() time.Time
- func (o *DNS) GetDNSNameServers() []string
- func (o *DNS) GetDNSZone() string
- func (o *DNS) GetDescription() string
- func (o *DNS) GetID() types.ID
- func (o *DNS) GetIconID() types.ID
- func (o *DNS) GetInt64ID() int64
- func (o *DNS) GetModifiedAt() time.Time
- func (o *DNS) GetName() string
- func (o *DNS) GetRecords() DNSRecords
- func (o *DNS) GetSettingsHash() string
- func (o *DNS) GetStringID() string
- func (o *DNS) GetTags() types.Tags
- func (o *DNS) HasTag(tag string) bool
- func (o *DNS) RemoveTag(tag string)
- func (o *DNS) SetAvailability(v types.EAvailability)
- func (o *DNS) SetCreatedAt(v time.Time)
- func (o *DNS) SetDNSNameServers(v []string)
- func (o *DNS) SetDNSZone(v string)
- func (o *DNS) SetDescription(v string)
- func (o *DNS) SetID(v types.ID)
- func (o *DNS) SetIconID(v types.ID)
- func (o *DNS) SetInt64ID(id int64)
- func (o *DNS) SetModifiedAt(v time.Time)
- func (o *DNS) SetName(v string)
- func (o *DNS) SetRecords(v DNSRecords)
- func (o *DNS) SetSettingsHash(v string)
- func (o *DNS) SetStringID(id string)
- func (o *DNS) SetTags(v types.Tags)
- type DNSAPI
- type DNSCreateRequest
- func (o *DNSCreateRequest) AppendTag(tag string)
- func (o *DNSCreateRequest) ClearTags()
- func (o *DNSCreateRequest) GetDescription() string
- func (o *DNSCreateRequest) GetIconID() types.ID
- func (o *DNSCreateRequest) GetName() string
- func (o *DNSCreateRequest) GetRecords() DNSRecords
- func (o *DNSCreateRequest) GetTags() types.Tags
- func (o *DNSCreateRequest) HasTag(tag string) bool
- func (o *DNSCreateRequest) RemoveTag(tag string)
- func (o *DNSCreateRequest) SetDescription(v string)
- func (o *DNSCreateRequest) SetIconID(v types.ID)
- func (o *DNSCreateRequest) SetName(v string)
- func (o *DNSCreateRequest) SetRecords(v DNSRecords)
- func (o *DNSCreateRequest) SetTags(v types.Tags)
- type DNSFindResult
- type DNSOp
- func (o *DNSOp) Create(ctx context.Context, param *DNSCreateRequest) (*DNS, error)
- func (o *DNSOp) Delete(ctx context.Context, id types.ID) error
- func (o *DNSOp) Find(ctx context.Context, conditions *FindCondition) (*DNSFindResult, error)
- func (o *DNSOp) Read(ctx context.Context, id types.ID) (*DNS, error)
- func (o *DNSOp) Update(ctx context.Context, id types.ID, param *DNSUpdateRequest) (*DNS, error)
- func (o *DNSOp) UpdateSettings(ctx context.Context, id types.ID, param *DNSUpdateSettingsRequest) (*DNS, error)
- type DNSRecord
- func (o *DNSRecord) Equal(r *DNSRecord) bool
- func (o *DNSRecord) GetName() string
- func (o *DNSRecord) GetRData() string
- func (o *DNSRecord) GetTTL() int
- func (o *DNSRecord) GetType() types.EDNSRecordType
- func (o *DNSRecord) SetName(v string)
- func (o *DNSRecord) SetRData(v string)
- func (o *DNSRecord) SetTTL(v int)
- func (o *DNSRecord) SetType(v types.EDNSRecordType)
- type DNSRecords
- type DNSUpdateRequest
- func (o *DNSUpdateRequest) AppendTag(tag string)
- func (o *DNSUpdateRequest) ClearTags()
- func (o *DNSUpdateRequest) GetDescription() string
- func (o *DNSUpdateRequest) GetIconID() types.ID
- func (o *DNSUpdateRequest) GetRecords() DNSRecords
- func (o *DNSUpdateRequest) GetSettingsHash() string
- func (o *DNSUpdateRequest) GetTags() types.Tags
- func (o *DNSUpdateRequest) HasTag(tag string) bool
- func (o *DNSUpdateRequest) RemoveTag(tag string)
- func (o *DNSUpdateRequest) SetDescription(v string)
- func (o *DNSUpdateRequest) SetIconID(v types.ID)
- func (o *DNSUpdateRequest) SetRecords(v DNSRecords)
- func (o *DNSUpdateRequest) SetSettingsHash(v string)
- func (o *DNSUpdateRequest) SetTags(v types.Tags)
- type DNSUpdateSettingsRequest
- type Database
- func (o *Database) AppendTag(tag string)
- func (o *Database) ClearTags()
- func (o *Database) GetAvailability() types.EAvailability
- func (o *Database) GetBackupSetting() *DatabaseSettingBackup
- func (o *Database) GetClass() string
- func (o *Database) GetCommonSetting() *DatabaseSettingCommon
- func (o *Database) GetConf() *DatabaseRemarkDBConfCommon
- func (o *Database) GetCreatedAt() time.Time
- func (o *Database) GetDefaultRoute() string
- func (o *Database) GetDescription() string
- func (o *Database) GetID() types.ID
- func (o *Database) GetIPAddresses() []string
- func (o *Database) GetIconID() types.ID
- func (o *Database) GetInstanceHostInfoURL() string
- func (o *Database) GetInstanceHostName() string
- func (o *Database) GetInstanceStatus() types.EServerInstanceStatus
- func (o *Database) GetInstanceStatusChangedAt() time.Time
- func (o *Database) GetInt64ID() int64
- func (o *Database) GetInterfaceSettings() []*DatabaseSettingsInterface
- func (o *Database) GetInterfaces() []*InterfaceView
- func (o *Database) GetModifiedAt() time.Time
- func (o *Database) GetName() string
- func (o *Database) GetNetworkMaskLen() int
- func (o *Database) GetPlanID() types.ID
- func (o *Database) GetReplicationSetting() *DatabaseReplicationSetting
- func (o *Database) GetSettingsHash() string
- func (o *Database) GetStringID() string
- func (o *Database) GetSwitchID() types.ID
- func (o *Database) GetTags() types.Tags
- func (o *Database) GetZoneID() types.ID
- func (o *Database) HasTag(tag string) bool
- func (o *Database) RemoveTag(tag string)
- func (o *Database) SetAvailability(v types.EAvailability)
- func (o *Database) SetBackupSetting(v *DatabaseSettingBackup)
- func (o *Database) SetClass(v string)
- func (o *Database) SetCommonSetting(v *DatabaseSettingCommon)
- func (o *Database) SetConf(v *DatabaseRemarkDBConfCommon)
- func (o *Database) SetCreatedAt(v time.Time)
- func (o *Database) SetDefaultRoute(v string)
- func (o *Database) SetDescription(v string)
- func (o *Database) SetID(v types.ID)
- func (o *Database) SetIPAddresses(v []string)
- func (o *Database) SetIconID(v types.ID)
- func (o *Database) SetInstanceHostInfoURL(v string)
- func (o *Database) SetInstanceHostName(v string)
- func (o *Database) SetInstanceStatus(v types.EServerInstanceStatus)
- func (o *Database) SetInstanceStatusChangedAt(v time.Time)
- func (o *Database) SetInt64ID(id int64)
- func (o *Database) SetInterfaceSettings(v []*DatabaseSettingsInterface)
- func (o *Database) SetInterfaces(v []*InterfaceView)
- func (o *Database) SetModifiedAt(v time.Time)
- func (o *Database) SetName(v string)
- func (o *Database) SetNetworkMaskLen(v int)
- func (o *Database) SetPlanID(v types.ID)
- func (o *Database) SetReplicationSetting(v *DatabaseReplicationSetting)
- func (o *Database) SetSettingsHash(v string)
- func (o *Database) SetStringID(id string)
- func (o *Database) SetSwitchID(v types.ID)
- func (o *Database) SetTags(v types.Tags)
- func (o *Database) SetZoneID(v types.ID)
- type DatabaseAPI
- type DatabaseActivity
- type DatabaseBackupHistory
- func (o *DatabaseBackupHistory) GetAvailability() string
- func (o *DatabaseBackupHistory) GetCreatedAt() time.Time
- func (o *DatabaseBackupHistory) GetRecoveredAt() time.Time
- func (o *DatabaseBackupHistory) GetSize() int64
- func (o *DatabaseBackupHistory) SetAvailability(v string)
- func (o *DatabaseBackupHistory) SetCreatedAt(v time.Time)
- func (o *DatabaseBackupHistory) SetRecoveredAt(v time.Time)
- func (o *DatabaseBackupHistory) SetSize(v int64)
- type DatabaseCreateRequest
- func (o *DatabaseCreateRequest) AppendTag(tag string)
- func (o *DatabaseCreateRequest) ClearTags()
- func (o *DatabaseCreateRequest) GetBackupSetting() *DatabaseSettingBackup
- func (o *DatabaseCreateRequest) GetCommonSetting() *DatabaseSettingCommon
- func (o *DatabaseCreateRequest) GetConf() *DatabaseRemarkDBConfCommon
- func (o *DatabaseCreateRequest) GetDefaultRoute() string
- func (o *DatabaseCreateRequest) GetDescription() string
- func (o *DatabaseCreateRequest) GetIPAddresses() []string
- func (o *DatabaseCreateRequest) GetIconID() types.ID
- func (o *DatabaseCreateRequest) GetInterfaceSettings() []*DatabaseSettingsInterface
- func (o *DatabaseCreateRequest) GetName() string
- func (o *DatabaseCreateRequest) GetNetworkMaskLen() int
- func (o *DatabaseCreateRequest) GetPlanID() types.ID
- func (o *DatabaseCreateRequest) GetReplicationSetting() *DatabaseReplicationSetting
- func (o *DatabaseCreateRequest) GetSourceID() types.ID
- func (o *DatabaseCreateRequest) GetSwitchID() types.ID
- func (o *DatabaseCreateRequest) GetTags() types.Tags
- func (o *DatabaseCreateRequest) HasTag(tag string) bool
- func (o *DatabaseCreateRequest) RemoveTag(tag string)
- func (o *DatabaseCreateRequest) SetBackupSetting(v *DatabaseSettingBackup)
- func (o *DatabaseCreateRequest) SetCommonSetting(v *DatabaseSettingCommon)
- func (o *DatabaseCreateRequest) SetConf(v *DatabaseRemarkDBConfCommon)
- func (o *DatabaseCreateRequest) SetDefaultRoute(v string)
- func (o *DatabaseCreateRequest) SetDescription(v string)
- func (o *DatabaseCreateRequest) SetIPAddresses(v []string)
- func (o *DatabaseCreateRequest) SetIconID(v types.ID)
- func (o *DatabaseCreateRequest) SetInterfaceSettings(v []*DatabaseSettingsInterface)
- func (o *DatabaseCreateRequest) SetName(v string)
- func (o *DatabaseCreateRequest) SetNetworkMaskLen(v int)
- func (o *DatabaseCreateRequest) SetPlanID(v types.ID)
- func (o *DatabaseCreateRequest) SetReplicationSetting(v *DatabaseReplicationSetting)
- func (o *DatabaseCreateRequest) SetSourceID(v types.ID)
- func (o *DatabaseCreateRequest) SetSwitchID(v types.ID)
- func (o *DatabaseCreateRequest) SetTags(v types.Tags)
- type DatabaseFindResult
- type DatabaseLog
- type DatabaseOp
- func (o *DatabaseOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) Create(ctx context.Context, zone string, param *DatabaseCreateRequest) (*Database, error)
- func (o *DatabaseOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*DatabaseFindResult, error)
- func (o *DatabaseOp) GetParameter(ctx context.Context, zone string, id types.ID) (*DatabaseParameter, error)
- func (o *DatabaseOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
- func (o *DatabaseOp) MonitorDatabase(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DatabaseActivity, error)
- func (o *DatabaseOp) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error)
- func (o *DatabaseOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
- func (o *DatabaseOp) Read(ctx context.Context, zone string, id types.ID) (*Database, error)
- func (o *DatabaseOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *DatabaseOp) SetParameter(ctx context.Context, zone string, id types.ID, param map[string]interface{}) error
- func (o *DatabaseOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
- func (o *DatabaseOp) Status(ctx context.Context, zone string, id types.ID) (*DatabaseStatus, error)
- func (o *DatabaseOp) Update(ctx context.Context, zone string, id types.ID, param *DatabaseUpdateRequest) (*Database, error)
- func (o *DatabaseOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*Database, error)
- type DatabaseParameter
- type DatabaseParameterMeta
- func (o *DatabaseParameterMeta) GetExample() string
- func (o *DatabaseParameterMeta) GetLabel() string
- func (o *DatabaseParameterMeta) GetMax() float64
- func (o *DatabaseParameterMeta) GetMaxLen() int
- func (o *DatabaseParameterMeta) GetMin() float64
- func (o *DatabaseParameterMeta) GetName() string
- func (o *DatabaseParameterMeta) GetReboot() string
- func (o *DatabaseParameterMeta) GetText() string
- func (o *DatabaseParameterMeta) GetType() string
- func (o *DatabaseParameterMeta) SetExample(v string)
- func (o *DatabaseParameterMeta) SetLabel(v string)
- func (o *DatabaseParameterMeta) SetMax(v float64)
- func (o *DatabaseParameterMeta) SetMaxLen(v int)
- func (o *DatabaseParameterMeta) SetMin(v float64)
- func (o *DatabaseParameterMeta) SetName(v string)
- func (o *DatabaseParameterMeta) SetReboot(v string)
- func (o *DatabaseParameterMeta) SetText(v string)
- func (o *DatabaseParameterMeta) SetType(v string)
- type DatabaseRemarkDBConfCommon
- func (o *DatabaseRemarkDBConfCommon) GetDatabaseName() string
- func (o *DatabaseRemarkDBConfCommon) GetDatabaseRevision() string
- func (o *DatabaseRemarkDBConfCommon) GetDatabaseVersion() string
- func (o *DatabaseRemarkDBConfCommon) GetDefaultUser() string
- func (o *DatabaseRemarkDBConfCommon) GetUserPassword() string
- func (o *DatabaseRemarkDBConfCommon) SetDatabaseName(v string)
- func (o *DatabaseRemarkDBConfCommon) SetDatabaseRevision(v string)
- func (o *DatabaseRemarkDBConfCommon) SetDatabaseVersion(v string)
- func (o *DatabaseRemarkDBConfCommon) SetDefaultUser(v string)
- func (o *DatabaseRemarkDBConfCommon) SetUserPassword(v string)
- type DatabaseReplicationSetting
- func (o *DatabaseReplicationSetting) GetApplianceID() types.ID
- func (o *DatabaseReplicationSetting) GetIPAddress() string
- func (o *DatabaseReplicationSetting) GetModel() types.EDatabaseReplicationModel
- func (o *DatabaseReplicationSetting) GetPassword() string
- func (o *DatabaseReplicationSetting) GetPort() int
- func (o *DatabaseReplicationSetting) GetUser() string
- func (o *DatabaseReplicationSetting) SetApplianceID(v types.ID)
- func (o *DatabaseReplicationSetting) SetIPAddress(v string)
- func (o *DatabaseReplicationSetting) SetModel(v types.EDatabaseReplicationModel)
- func (o *DatabaseReplicationSetting) SetPassword(v string)
- func (o *DatabaseReplicationSetting) SetPort(v int)
- func (o *DatabaseReplicationSetting) SetUser(v string)
- type DatabaseSettingBackup
- func (o *DatabaseSettingBackup) GetConnect() string
- func (o *DatabaseSettingBackup) GetDayOfWeek() []types.EDayOfTheWeek
- func (o *DatabaseSettingBackup) GetRotate() int
- func (o *DatabaseSettingBackup) GetTime() string
- func (o *DatabaseSettingBackup) SetConnect(v string)
- func (o *DatabaseSettingBackup) SetDayOfWeek(v []types.EDayOfTheWeek)
- func (o *DatabaseSettingBackup) SetRotate(v int)
- func (o *DatabaseSettingBackup) SetTime(v string)
- type DatabaseSettingCommon
- func (o *DatabaseSettingCommon) GetDefaultUser() string
- func (o *DatabaseSettingCommon) GetReplicaPassword() string
- func (o *DatabaseSettingCommon) GetReplicaUser() string
- func (o *DatabaseSettingCommon) GetServicePort() int
- func (o *DatabaseSettingCommon) GetSourceNetwork() []string
- func (o *DatabaseSettingCommon) GetUserPassword() string
- func (o *DatabaseSettingCommon) GetWebUI() types.WebUI
- func (o *DatabaseSettingCommon) SetDefaultUser(v string)
- func (o *DatabaseSettingCommon) SetReplicaPassword(v string)
- func (o *DatabaseSettingCommon) SetReplicaUser(v string)
- func (o *DatabaseSettingCommon) SetServicePort(v int)
- func (o *DatabaseSettingCommon) SetSourceNetwork(v []string)
- func (o *DatabaseSettingCommon) SetUserPassword(v string)
- func (o *DatabaseSettingCommon) SetWebUI(v types.WebUI)
- type DatabaseSettingsInterface
- type DatabaseStatus
- func (o *DatabaseStatus) GetBackups() []*DatabaseBackupHistory
- func (o *DatabaseStatus) GetInstanceStatus() types.EServerInstanceStatus
- func (o *DatabaseStatus) GetIsFatal() bool
- func (o *DatabaseStatus) GetLogs() []*DatabaseLog
- func (o *DatabaseStatus) GetMariaDBStatus() string
- func (o *DatabaseStatus) GetPostgresStatus() string
- func (o *DatabaseStatus) GetStatus() types.EServerInstanceStatus
- func (o *DatabaseStatus) GetVersion() *DatabaseVersionInfo
- func (o *DatabaseStatus) SetBackups(v []*DatabaseBackupHistory)
- func (o *DatabaseStatus) SetInstanceStatus(types.EServerInstanceStatus)
- func (o *DatabaseStatus) SetIsFatal(v bool)
- func (o *DatabaseStatus) SetLogs(v []*DatabaseLog)
- func (o *DatabaseStatus) SetMariaDBStatus(v string)
- func (o *DatabaseStatus) SetPostgresStatus(v string)
- func (o *DatabaseStatus) SetStatus(v types.EServerInstanceStatus)
- func (o *DatabaseStatus) SetVersion(v *DatabaseVersionInfo)
- type DatabaseUpdateRequest
- func (o *DatabaseUpdateRequest) AppendTag(tag string)
- func (o *DatabaseUpdateRequest) ClearTags()
- func (o *DatabaseUpdateRequest) GetBackupSetting() *DatabaseSettingBackup
- func (o *DatabaseUpdateRequest) GetCommonSetting() *DatabaseSettingCommon
- func (o *DatabaseUpdateRequest) GetDescription() string
- func (o *DatabaseUpdateRequest) GetIconID() types.ID
- func (o *DatabaseUpdateRequest) GetInterfaceSettings() []*DatabaseSettingsInterface
- func (o *DatabaseUpdateRequest) GetName() string
- func (o *DatabaseUpdateRequest) GetReplicationSetting() *DatabaseReplicationSetting
- func (o *DatabaseUpdateRequest) GetSettingsHash() string
- func (o *DatabaseUpdateRequest) GetTags() types.Tags
- func (o *DatabaseUpdateRequest) HasTag(tag string) bool
- func (o *DatabaseUpdateRequest) RemoveTag(tag string)
- func (o *DatabaseUpdateRequest) SetBackupSetting(v *DatabaseSettingBackup)
- func (o *DatabaseUpdateRequest) SetCommonSetting(v *DatabaseSettingCommon)
- func (o *DatabaseUpdateRequest) SetDescription(v string)
- func (o *DatabaseUpdateRequest) SetIconID(v types.ID)
- func (o *DatabaseUpdateRequest) SetInterfaceSettings(v []*DatabaseSettingsInterface)
- func (o *DatabaseUpdateRequest) SetName(v string)
- func (o *DatabaseUpdateRequest) SetReplicationSetting(v *DatabaseReplicationSetting)
- func (o *DatabaseUpdateRequest) SetSettingsHash(v string)
- func (o *DatabaseUpdateRequest) SetTags(v types.Tags)
- type DatabaseUpdateSettingsRequest
- func (o *DatabaseUpdateSettingsRequest) GetBackupSetting() *DatabaseSettingBackup
- func (o *DatabaseUpdateSettingsRequest) GetCommonSetting() *DatabaseSettingCommon
- func (o *DatabaseUpdateSettingsRequest) GetInterfaceSettings() []*DatabaseSettingsInterface
- func (o *DatabaseUpdateSettingsRequest) GetReplicationSetting() *DatabaseReplicationSetting
- func (o *DatabaseUpdateSettingsRequest) GetSettingsHash() string
- func (o *DatabaseUpdateSettingsRequest) SetBackupSetting(v *DatabaseSettingBackup)
- func (o *DatabaseUpdateSettingsRequest) SetCommonSetting(v *DatabaseSettingCommon)
- func (o *DatabaseUpdateSettingsRequest) SetInterfaceSettings(v []*DatabaseSettingsInterface)
- func (o *DatabaseUpdateSettingsRequest) SetReplicationSetting(v *DatabaseReplicationSetting)
- func (o *DatabaseUpdateSettingsRequest) SetSettingsHash(v string)
- type DatabaseVersionInfo
- func (o *DatabaseVersionInfo) GetCommitHash() string
- func (o *DatabaseVersionInfo) GetExpire() string
- func (o *DatabaseVersionInfo) GetLastModified() string
- func (o *DatabaseVersionInfo) GetStatus() string
- func (o *DatabaseVersionInfo) GetTag() string
- func (o *DatabaseVersionInfo) SetCommitHash(v string)
- func (o *DatabaseVersionInfo) SetExpire(v string)
- func (o *DatabaseVersionInfo) SetLastModified(v string)
- func (o *DatabaseVersionInfo) SetStatus(v string)
- func (o *DatabaseVersionInfo) SetTag(v string)
- type Disk
- func (o *Disk) AppendTag(tag string)
- func (o *Disk) ClearTags()
- func (o *Disk) GetAvailability() types.EAvailability
- func (o *Disk) GetBundleInfo() *BundleInfo
- func (o *Disk) GetConnection() types.EDiskConnection
- func (o *Disk) GetConnectionOrder() int
- func (o *Disk) GetCreatedAt() time.Time
- func (o *Disk) GetDescription() string
- func (o *Disk) GetDiskPlanID() types.ID
- func (o *Disk) GetDiskPlanName() string
- func (o *Disk) GetDiskPlanStorageClass() string
- func (o *Disk) GetEncryptionAlgorithm() types.EDiskEncryptionAlgorithm
- func (o *Disk) GetID() types.ID
- func (o *Disk) GetIconID() types.ID
- func (o *Disk) GetInt64ID() int64
- func (o *Disk) GetJobStatus() *JobStatus
- func (o *Disk) GetMigratedGB() int
- func (o *Disk) GetMigratedMB() int
- func (o *Disk) GetModifiedAt() time.Time
- func (o *Disk) GetName() string
- func (o *Disk) GetReinstallCount() int
- func (o *Disk) GetServerID() types.ID
- func (o *Disk) GetServerName() string
- func (o *Disk) GetSizeGB() int
- func (o *Disk) GetSizeMB() int
- func (o *Disk) GetSourceArchiveAvailability() types.EAvailability
- func (o *Disk) GetSourceArchiveID() types.ID
- func (o *Disk) GetSourceDiskAvailability() types.EAvailability
- func (o *Disk) GetSourceDiskID() types.ID
- func (o *Disk) GetStorage() *Storage
- func (o *Disk) GetStringID() string
- func (o *Disk) GetTags() types.Tags
- func (o *Disk) HasTag(tag string) bool
- func (o *Disk) RemoveTag(tag string)
- func (o *Disk) SetAvailability(v types.EAvailability)
- func (o *Disk) SetBundleInfo(v *BundleInfo)
- func (o *Disk) SetConnection(v types.EDiskConnection)
- func (o *Disk) SetConnectionOrder(v int)
- func (o *Disk) SetCreatedAt(v time.Time)
- func (o *Disk) SetDescription(v string)
- func (o *Disk) SetDiskPlanID(v types.ID)
- func (o *Disk) SetDiskPlanName(v string)
- func (o *Disk) SetDiskPlanStorageClass(v string)
- func (o *Disk) SetEncryptionAlgorithm(v types.EDiskEncryptionAlgorithm)
- func (o *Disk) SetID(v types.ID)
- func (o *Disk) SetIconID(v types.ID)
- func (o *Disk) SetInt64ID(id int64)
- func (o *Disk) SetJobStatus(v *JobStatus)
- func (o *Disk) SetMigratedMB(v int)
- func (o *Disk) SetModifiedAt(v time.Time)
- func (o *Disk) SetName(v string)
- func (o *Disk) SetReinstallCount(v int)
- func (o *Disk) SetServerID(v types.ID)
- func (o *Disk) SetServerName(v string)
- func (o *Disk) SetSizeGB(size int)
- func (o *Disk) SetSizeMB(v int)
- func (o *Disk) SetSourceArchiveAvailability(v types.EAvailability)
- func (o *Disk) SetSourceArchiveID(v types.ID)
- func (o *Disk) SetSourceDiskAvailability(v types.EAvailability)
- func (o *Disk) SetSourceDiskID(v types.ID)
- func (o *Disk) SetStorage(v *Storage)
- func (o *Disk) SetStringID(id string)
- func (o *Disk) SetTags(v types.Tags)
- type DiskAPI
- type DiskActivity
- type DiskCreateRequest
- func (o *DiskCreateRequest) AppendTag(tag string)
- func (o *DiskCreateRequest) ClearTags()
- func (o *DiskCreateRequest) GetConnection() types.EDiskConnection
- func (o *DiskCreateRequest) GetDescription() string
- func (o *DiskCreateRequest) GetDiskPlanID() types.ID
- func (o *DiskCreateRequest) GetEncryptionAlgorithm() types.EDiskEncryptionAlgorithm
- func (o *DiskCreateRequest) GetIconID() types.ID
- func (o *DiskCreateRequest) GetName() string
- func (o *DiskCreateRequest) GetServerID() types.ID
- func (o *DiskCreateRequest) GetSizeGB() int
- func (o *DiskCreateRequest) GetSizeMB() int
- func (o *DiskCreateRequest) GetSourceArchiveID() types.ID
- func (o *DiskCreateRequest) GetSourceDiskID() types.ID
- func (o *DiskCreateRequest) GetTags() types.Tags
- func (o *DiskCreateRequest) HasTag(tag string) bool
- func (o *DiskCreateRequest) RemoveTag(tag string)
- func (o *DiskCreateRequest) SetConnection(v types.EDiskConnection)
- func (o *DiskCreateRequest) SetDescription(v string)
- func (o *DiskCreateRequest) SetDiskPlanID(v types.ID)
- func (o *DiskCreateRequest) SetEncryptionAlgorithm(v types.EDiskEncryptionAlgorithm)
- func (o *DiskCreateRequest) SetIconID(v types.ID)
- func (o *DiskCreateRequest) SetName(v string)
- func (o *DiskCreateRequest) SetServerID(v types.ID)
- func (o *DiskCreateRequest) SetSizeGB(size int)
- func (o *DiskCreateRequest) SetSizeMB(v int)
- func (o *DiskCreateRequest) SetSourceArchiveID(v types.ID)
- func (o *DiskCreateRequest) SetSourceDiskID(v types.ID)
- func (o *DiskCreateRequest) SetTags(v types.Tags)
- type DiskEditNote
- type DiskEditRequest
- func (o *DiskEditRequest) GetBackground() bool
- func (o *DiskEditRequest) GetChangePartitionUUID() bool
- func (o *DiskEditRequest) GetDisablePWAuth() bool
- func (o *DiskEditRequest) GetEnableDHCP() bool
- func (o *DiskEditRequest) GetHostName() string
- func (o *DiskEditRequest) GetNotes() []*DiskEditNote
- func (o *DiskEditRequest) GetPassword() string
- func (o *DiskEditRequest) GetSSHKey() *DiskEditSSHKey
- func (o *DiskEditRequest) GetSSHKeys() []*DiskEditSSHKey
- func (o *DiskEditRequest) GetUserIPAddress() string
- func (o *DiskEditRequest) GetUserSubnet() *DiskEditUserSubnet
- func (o *DiskEditRequest) SetBackground(v bool)
- func (o *DiskEditRequest) SetChangePartitionUUID(v bool)
- func (o *DiskEditRequest) SetDisablePWAuth(v bool)
- func (o *DiskEditRequest) SetEnableDHCP(v bool)
- func (o *DiskEditRequest) SetHostName(v string)
- func (o *DiskEditRequest) SetNotes(v []*DiskEditNote)
- func (o *DiskEditRequest) SetPassword(v string)
- func (o *DiskEditRequest) SetSSHKey(v *DiskEditSSHKey)
- func (o *DiskEditRequest) SetSSHKeys(v []*DiskEditSSHKey)
- func (o *DiskEditRequest) SetUserIPAddress(v string)
- func (o *DiskEditRequest) SetUserSubnet(v *DiskEditUserSubnet)
- type DiskEditSSHKey
- type DiskEditUserSubnet
- type DiskFindResult
- type DiskOp
- func (o *DiskOp) Config(ctx context.Context, zone string, id types.ID, edit *DiskEditRequest) error
- func (o *DiskOp) ConnectToServer(ctx context.Context, zone string, id types.ID, serverID types.ID) error
- func (o *DiskOp) Create(ctx context.Context, zone string, createParam *DiskCreateRequest, ...) (*Disk, error)
- func (o *DiskOp) CreateWithConfig(ctx context.Context, zone string, createParam *DiskCreateRequest, ...) (*Disk, error)
- func (o *DiskOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *DiskOp) DisconnectFromServer(ctx context.Context, zone string, id types.ID) error
- func (o *DiskOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*DiskFindResult, error)
- func (o *DiskOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error)
- func (o *DiskOp) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error)
- func (o *DiskOp) Read(ctx context.Context, zone string, id types.ID) (*Disk, error)
- func (o *DiskOp) ResizePartition(ctx context.Context, zone string, id types.ID, ...) error
- func (o *DiskOp) Update(ctx context.Context, zone string, id types.ID, param *DiskUpdateRequest) (*Disk, error)
- type DiskPlan
- func (o *DiskPlan) GetAvailability() types.EAvailability
- func (o *DiskPlan) GetID() types.ID
- func (o *DiskPlan) GetInt64ID() int64
- func (o *DiskPlan) GetName() string
- func (o *DiskPlan) GetSize() []*DiskPlanSizeInfo
- func (o *DiskPlan) GetStorageClass() string
- func (o *DiskPlan) GetStringID() string
- func (o *DiskPlan) SetAvailability(v types.EAvailability)
- func (o *DiskPlan) SetID(v types.ID)
- func (o *DiskPlan) SetInt64ID(id int64)
- func (o *DiskPlan) SetName(v string)
- func (o *DiskPlan) SetSize(v []*DiskPlanSizeInfo)
- func (o *DiskPlan) SetStorageClass(v string)
- func (o *DiskPlan) SetStringID(id string)
- type DiskPlanAPI
- type DiskPlanFindResult
- type DiskPlanOp
- type DiskPlanSizeInfo
- func (o *DiskPlanSizeInfo) GetAvailability() types.EAvailability
- func (o *DiskPlanSizeInfo) GetDisplaySize() int
- func (o *DiskPlanSizeInfo) GetDisplaySuffix() string
- func (o *DiskPlanSizeInfo) GetSizeGB() int
- func (o *DiskPlanSizeInfo) GetSizeMB() int
- func (o *DiskPlanSizeInfo) SetAvailability(v types.EAvailability)
- func (o *DiskPlanSizeInfo) SetDisplaySize(v int)
- func (o *DiskPlanSizeInfo) SetDisplaySuffix(v string)
- func (o *DiskPlanSizeInfo) SetSizeGB(size int)
- func (o *DiskPlanSizeInfo) SetSizeMB(v int)
- type DiskResizePartitionRequest
- type DiskUpdateRequest
- func (o *DiskUpdateRequest) AppendTag(tag string)
- func (o *DiskUpdateRequest) ClearTags()
- func (o *DiskUpdateRequest) GetConnection() types.EDiskConnection
- func (o *DiskUpdateRequest) GetDescription() string
- func (o *DiskUpdateRequest) GetIconID() types.ID
- func (o *DiskUpdateRequest) GetName() string
- func (o *DiskUpdateRequest) GetTags() types.Tags
- func (o *DiskUpdateRequest) HasTag(tag string) bool
- func (o *DiskUpdateRequest) RemoveTag(tag string)
- func (o *DiskUpdateRequest) SetConnection(v types.EDiskConnection)
- func (o *DiskUpdateRequest) SetDescription(v string)
- func (o *DiskUpdateRequest) SetIconID(v types.ID)
- func (o *DiskUpdateRequest) SetName(v string)
- func (o *DiskUpdateRequest) SetTags(v types.Tags)
- type ESME
- func (o *ESME) AppendTag(tag string)
- func (o *ESME) ClearTags()
- func (o *ESME) GetAvailability() types.EAvailability
- func (o *ESME) GetCreatedAt() time.Time
- func (o *ESME) GetDescription() string
- func (o *ESME) GetID() types.ID
- func (o *ESME) GetIconID() types.ID
- func (o *ESME) GetInt64ID() int64
- func (o *ESME) GetModifiedAt() time.Time
- func (o *ESME) GetName() string
- func (o *ESME) GetStringID() string
- func (o *ESME) GetTags() types.Tags
- func (o *ESME) HasTag(tag string) bool
- func (o *ESME) RemoveTag(tag string)
- func (o *ESME) SetAvailability(v types.EAvailability)
- func (o *ESME) SetCreatedAt(v time.Time)
- func (o *ESME) SetDescription(v string)
- func (o *ESME) SetID(v types.ID)
- func (o *ESME) SetIconID(v types.ID)
- func (o *ESME) SetInt64ID(id int64)
- func (o *ESME) SetModifiedAt(v time.Time)
- func (o *ESME) SetName(v string)
- func (o *ESME) SetStringID(id string)
- func (o *ESME) SetTags(v types.Tags)
- type ESMEAPI
- type ESMECreateRequest
- func (o *ESMECreateRequest) AppendTag(tag string)
- func (o *ESMECreateRequest) ClearTags()
- func (o *ESMECreateRequest) GetDescription() string
- func (o *ESMECreateRequest) GetIconID() types.ID
- func (o *ESMECreateRequest) GetName() string
- func (o *ESMECreateRequest) GetTags() types.Tags
- func (o *ESMECreateRequest) HasTag(tag string) bool
- func (o *ESMECreateRequest) RemoveTag(tag string)
- func (o *ESMECreateRequest) SetDescription(v string)
- func (o *ESMECreateRequest) SetIconID(v types.ID)
- func (o *ESMECreateRequest) SetName(v string)
- func (o *ESMECreateRequest) SetTags(v types.Tags)
- type ESMEFindResult
- type ESMELogs
- func (o *ESMELogs) GetDestination() string
- func (o *ESMELogs) GetDoneAt() time.Time
- func (o *ESMELogs) GetMessageID() string
- func (o *ESMELogs) GetOTP() string
- func (o *ESMELogs) GetRetryCount() int
- func (o *ESMELogs) GetSentAt() time.Time
- func (o *ESMELogs) GetStatus() string
- func (o *ESMELogs) SetDestination(v string)
- func (o *ESMELogs) SetDoneAt(v time.Time)
- func (o *ESMELogs) SetMessageID(v string)
- func (o *ESMELogs) SetOTP(v string)
- func (o *ESMELogs) SetRetryCount(v int)
- func (o *ESMELogs) SetSentAt(v time.Time)
- func (o *ESMELogs) SetStatus(v string)
- type ESMEOp
- func (o *ESMEOp) Create(ctx context.Context, param *ESMECreateRequest) (*ESME, error)
- func (o *ESMEOp) Delete(ctx context.Context, id types.ID) error
- func (o *ESMEOp) Find(ctx context.Context, conditions *FindCondition) (*ESMEFindResult, error)
- func (o *ESMEOp) Logs(ctx context.Context, id types.ID) ([]*ESMELogs, error)
- func (o *ESMEOp) Read(ctx context.Context, id types.ID) (*ESME, error)
- func (o *ESMEOp) SendMessageWithGeneratedOTP(ctx context.Context, id types.ID, ...) (*ESMESendMessageResult, error)
- func (o *ESMEOp) SendMessageWithInputtedOTP(ctx context.Context, id types.ID, param *ESMESendMessageWithInputtedOTPRequest) (*ESMESendMessageResult, error)
- func (o *ESMEOp) Update(ctx context.Context, id types.ID, param *ESMEUpdateRequest) (*ESME, error)
- type ESMESendMessageResult
- func (o *ESMESendMessageResult) GetMessageID() string
- func (o *ESMESendMessageResult) GetOTP() string
- func (o *ESMESendMessageResult) GetStatus() string
- func (o *ESMESendMessageResult) SetMessageID(v string)
- func (o *ESMESendMessageResult) SetOTP(v string)
- func (o *ESMESendMessageResult) SetStatus(v string)
- type ESMESendMessageWithGeneratedOTPRequest
- func (o *ESMESendMessageWithGeneratedOTPRequest) GetDestination() string
- func (o *ESMESendMessageWithGeneratedOTPRequest) GetDomainName() string
- func (o *ESMESendMessageWithGeneratedOTPRequest) GetSender() string
- func (o *ESMESendMessageWithGeneratedOTPRequest) SetDestination(v string)
- func (o *ESMESendMessageWithGeneratedOTPRequest) SetDomainName(v string)
- func (o *ESMESendMessageWithGeneratedOTPRequest) SetSender(v string)
- type ESMESendMessageWithInputtedOTPRequest
- func (o *ESMESendMessageWithInputtedOTPRequest) GetDestination() string
- func (o *ESMESendMessageWithInputtedOTPRequest) GetDomainName() string
- func (o *ESMESendMessageWithInputtedOTPRequest) GetOTP() string
- func (o *ESMESendMessageWithInputtedOTPRequest) GetSender() string
- func (o *ESMESendMessageWithInputtedOTPRequest) SetDestination(v string)
- func (o *ESMESendMessageWithInputtedOTPRequest) SetDomainName(v string)
- func (o *ESMESendMessageWithInputtedOTPRequest) SetOTP(v string)
- func (o *ESMESendMessageWithInputtedOTPRequest) SetSender(v string)
- type ESMEUpdateRequest
- func (o *ESMEUpdateRequest) AppendTag(tag string)
- func (o *ESMEUpdateRequest) ClearTags()
- func (o *ESMEUpdateRequest) GetDescription() string
- func (o *ESMEUpdateRequest) GetIconID() types.ID
- func (o *ESMEUpdateRequest) GetName() string
- func (o *ESMEUpdateRequest) GetTags() types.Tags
- func (o *ESMEUpdateRequest) HasTag(tag string) bool
- func (o *ESMEUpdateRequest) RemoveTag(tag string)
- func (o *ESMEUpdateRequest) SetDescription(v string)
- func (o *ESMEUpdateRequest) SetIconID(v types.ID)
- func (o *ESMEUpdateRequest) SetName(v string)
- func (o *ESMEUpdateRequest) SetTags(v types.Tags)
- type EjectCDROMRequest
- type EnhancedDB
- func (o *EnhancedDB) AppendTag(tag string)
- func (o *EnhancedDB) ClearTags()
- func (o *EnhancedDB) GetAvailability() types.EAvailability
- func (o *EnhancedDB) GetCreatedAt() time.Time
- func (o *EnhancedDB) GetDatabaseName() string
- func (o *EnhancedDB) GetDatabaseType() types.EnhancedDBType
- func (o *EnhancedDB) GetDescription() string
- func (o *EnhancedDB) GetHostName() string
- func (o *EnhancedDB) GetID() types.ID
- func (o *EnhancedDB) GetIconID() types.ID
- func (o *EnhancedDB) GetInt64ID() int64
- func (o *EnhancedDB) GetModifiedAt() time.Time
- func (o *EnhancedDB) GetName() string
- func (o *EnhancedDB) GetPort() int
- func (o *EnhancedDB) GetRegion() types.EnhancedDBRegion
- func (o *EnhancedDB) GetSettingsHash() string
- func (o *EnhancedDB) GetStringID() string
- func (o *EnhancedDB) GetTags() types.Tags
- func (o *EnhancedDB) HasTag(tag string) bool
- func (o *EnhancedDB) RemoveTag(tag string)
- func (o *EnhancedDB) SetAvailability(v types.EAvailability)
- func (o *EnhancedDB) SetCreatedAt(v time.Time)
- func (o *EnhancedDB) SetDatabaseName(v string)
- func (o *EnhancedDB) SetDatabaseType(v types.EnhancedDBType)
- func (o *EnhancedDB) SetDescription(v string)
- func (o *EnhancedDB) SetHostName(v string)
- func (o *EnhancedDB) SetID(v types.ID)
- func (o *EnhancedDB) SetIconID(v types.ID)
- func (o *EnhancedDB) SetInt64ID(id int64)
- func (o *EnhancedDB) SetModifiedAt(v time.Time)
- func (o *EnhancedDB) SetName(v string)
- func (o *EnhancedDB) SetPort(v int)
- func (o *EnhancedDB) SetRegion(v types.EnhancedDBRegion)
- func (o *EnhancedDB) SetSettingsHash(v string)
- func (o *EnhancedDB) SetStringID(id string)
- func (o *EnhancedDB) SetTags(v types.Tags)
- type EnhancedDBAPI
- type EnhancedDBConfig
- type EnhancedDBCreateRequest
- func (o *EnhancedDBCreateRequest) AppendTag(tag string)
- func (o *EnhancedDBCreateRequest) ClearTags()
- func (o *EnhancedDBCreateRequest) GetDatabaseName() string
- func (o *EnhancedDBCreateRequest) GetDatabaseType() types.EnhancedDBType
- func (o *EnhancedDBCreateRequest) GetDescription() string
- func (o *EnhancedDBCreateRequest) GetIconID() types.ID
- func (o *EnhancedDBCreateRequest) GetName() string
- func (o *EnhancedDBCreateRequest) GetRegion() types.EnhancedDBRegion
- func (o *EnhancedDBCreateRequest) GetTags() types.Tags
- func (o *EnhancedDBCreateRequest) HasTag(tag string) bool
- func (o *EnhancedDBCreateRequest) RemoveTag(tag string)
- func (o *EnhancedDBCreateRequest) SetDatabaseName(v string)
- func (o *EnhancedDBCreateRequest) SetDatabaseType(v types.EnhancedDBType)
- func (o *EnhancedDBCreateRequest) SetDescription(v string)
- func (o *EnhancedDBCreateRequest) SetIconID(v types.ID)
- func (o *EnhancedDBCreateRequest) SetName(v string)
- func (o *EnhancedDBCreateRequest) SetRegion(v types.EnhancedDBRegion)
- func (o *EnhancedDBCreateRequest) SetTags(v types.Tags)
- type EnhancedDBFindResult
- type EnhancedDBOp
- func (o *EnhancedDBOp) Create(ctx context.Context, param *EnhancedDBCreateRequest) (*EnhancedDB, error)
- func (o *EnhancedDBOp) Delete(ctx context.Context, id types.ID) error
- func (o *EnhancedDBOp) Find(ctx context.Context, conditions *FindCondition) (*EnhancedDBFindResult, error)
- func (o *EnhancedDBOp) GetConfig(ctx context.Context, id types.ID) (*EnhancedDBConfig, error)
- func (o *EnhancedDBOp) Read(ctx context.Context, id types.ID) (*EnhancedDB, error)
- func (o *EnhancedDBOp) SetConfig(ctx context.Context, id types.ID, param *EnhancedDBSetConfigRequest) error
- func (o *EnhancedDBOp) SetPassword(ctx context.Context, id types.ID, param *EnhancedDBSetPasswordRequest) error
- func (o *EnhancedDBOp) Update(ctx context.Context, id types.ID, param *EnhancedDBUpdateRequest) (*EnhancedDB, error)
- type EnhancedDBSetConfigRequest
- type EnhancedDBSetPasswordRequest
- type EnhancedDBUpdateRequest
- func (o *EnhancedDBUpdateRequest) AppendTag(tag string)
- func (o *EnhancedDBUpdateRequest) ClearTags()
- func (o *EnhancedDBUpdateRequest) GetDescription() string
- func (o *EnhancedDBUpdateRequest) GetIconID() types.ID
- func (o *EnhancedDBUpdateRequest) GetName() string
- func (o *EnhancedDBUpdateRequest) GetSettingsHash() string
- func (o *EnhancedDBUpdateRequest) GetTags() types.Tags
- func (o *EnhancedDBUpdateRequest) HasTag(tag string) bool
- func (o *EnhancedDBUpdateRequest) RemoveTag(tag string)
- func (o *EnhancedDBUpdateRequest) SetDescription(v string)
- func (o *EnhancedDBUpdateRequest) SetIconID(v types.ID)
- func (o *EnhancedDBUpdateRequest) SetName(v string)
- func (o *EnhancedDBUpdateRequest) SetSettingsHash(v string)
- func (o *EnhancedDBUpdateRequest) SetTags(v types.Tags)
- type FTPServer
- func (o *FTPServer) GetHostName() string
- func (o *FTPServer) GetIPAddress() string
- func (o *FTPServer) GetPassword() string
- func (o *FTPServer) GetUser() string
- func (o *FTPServer) SetHostName(v string)
- func (o *FTPServer) SetIPAddress(v string)
- func (o *FTPServer) SetPassword(v string)
- func (o *FTPServer) SetUser(v string)
- type FTPServerInfo
- type FindCondition
- func (o *FindCondition) ClearFilter()
- func (o *FindCondition) GetCount() int
- func (o *FindCondition) GetExclude() []string
- func (o *FindCondition) GetFilter() search.Filter
- func (o *FindCondition) GetFrom() int
- func (o *FindCondition) GetInclude() []string
- func (o *FindCondition) GetSort() search.SortKeys
- func (o *FindCondition) SetCount(v int)
- func (o *FindCondition) SetExclude(v []string)
- func (o *FindCondition) SetFilter(v search.Filter)
- func (o *FindCondition) SetFrom(v int)
- func (o *FindCondition) SetInclude(v []string)
- func (o *FindCondition) SetSort(v search.SortKeys)
- type FindResultsValuer
- type FreeDiskSizeActivity
- type GSLB
- func (o *GSLB) AppendTag(tag string)
- func (o *GSLB) ClearTags()
- func (o *GSLB) GetAvailability() types.EAvailability
- func (o *GSLB) GetCreatedAt() time.Time
- func (o *GSLB) GetDelayLoop() int
- func (o *GSLB) GetDescription() string
- func (o *GSLB) GetDestinationServers() GSLBServers
- func (o *GSLB) GetFQDN() string
- func (o *GSLB) GetHealthCheck() *GSLBHealthCheck
- func (o *GSLB) GetID() types.ID
- func (o *GSLB) GetIconID() types.ID
- func (o *GSLB) GetInt64ID() int64
- func (o *GSLB) GetModifiedAt() time.Time
- func (o *GSLB) GetName() string
- func (o *GSLB) GetSettingsHash() string
- func (o *GSLB) GetSorryServer() string
- func (o *GSLB) GetStringID() string
- func (o *GSLB) GetTags() types.Tags
- func (o *GSLB) GetWeighted() types.StringFlag
- func (o *GSLB) HasTag(tag string) bool
- func (o *GSLB) RemoveTag(tag string)
- func (o *GSLB) SetAvailability(v types.EAvailability)
- func (o *GSLB) SetCreatedAt(v time.Time)
- func (o *GSLB) SetDelayLoop(v int)
- func (o *GSLB) SetDescription(v string)
- func (o *GSLB) SetDestinationServers(v GSLBServers)
- func (o *GSLB) SetFQDN(v string)
- func (o *GSLB) SetHealthCheck(v *GSLBHealthCheck)
- func (o *GSLB) SetID(v types.ID)
- func (o *GSLB) SetIconID(v types.ID)
- func (o *GSLB) SetInt64ID(id int64)
- func (o *GSLB) SetModifiedAt(v time.Time)
- func (o *GSLB) SetName(v string)
- func (o *GSLB) SetSettingsHash(v string)
- func (o *GSLB) SetSorryServer(v string)
- func (o *GSLB) SetStringID(id string)
- func (o *GSLB) SetTags(v types.Tags)
- func (o *GSLB) SetWeighted(v types.StringFlag)
- type GSLBAPI
- type GSLBCreateRequest
- func (o *GSLBCreateRequest) AppendTag(tag string)
- func (o *GSLBCreateRequest) ClearTags()
- func (o *GSLBCreateRequest) GetDelayLoop() int
- func (o *GSLBCreateRequest) GetDescription() string
- func (o *GSLBCreateRequest) GetDestinationServers() GSLBServers
- func (o *GSLBCreateRequest) GetHealthCheck() *GSLBHealthCheck
- func (o *GSLBCreateRequest) GetIconID() types.ID
- func (o *GSLBCreateRequest) GetName() string
- func (o *GSLBCreateRequest) GetSorryServer() string
- func (o *GSLBCreateRequest) GetTags() types.Tags
- func (o *GSLBCreateRequest) GetWeighted() types.StringFlag
- func (o *GSLBCreateRequest) HasTag(tag string) bool
- func (o *GSLBCreateRequest) RemoveTag(tag string)
- func (o *GSLBCreateRequest) SetDelayLoop(v int)
- func (o *GSLBCreateRequest) SetDescription(v string)
- func (o *GSLBCreateRequest) SetDestinationServers(v GSLBServers)
- func (o *GSLBCreateRequest) SetHealthCheck(v *GSLBHealthCheck)
- func (o *GSLBCreateRequest) SetIconID(v types.ID)
- func (o *GSLBCreateRequest) SetName(v string)
- func (o *GSLBCreateRequest) SetSorryServer(v string)
- func (o *GSLBCreateRequest) SetTags(v types.Tags)
- func (o *GSLBCreateRequest) SetWeighted(v types.StringFlag)
- type GSLBFindResult
- type GSLBHealthCheck
- func (o *GSLBHealthCheck) GetHostHeader() string
- func (o *GSLBHealthCheck) GetPath() string
- func (o *GSLBHealthCheck) GetPort() types.StringNumber
- func (o *GSLBHealthCheck) GetProtocol() types.EGSLBHealthCheckProtocol
- func (o *GSLBHealthCheck) GetResponseCode() types.StringNumber
- func (o *GSLBHealthCheck) SetHostHeader(v string)
- func (o *GSLBHealthCheck) SetPath(v string)
- func (o *GSLBHealthCheck) SetPort(v types.StringNumber)
- func (o *GSLBHealthCheck) SetProtocol(v types.EGSLBHealthCheckProtocol)
- func (o *GSLBHealthCheck) SetResponseCode(v types.StringNumber)
- type GSLBOp
- func (o *GSLBOp) Create(ctx context.Context, param *GSLBCreateRequest) (*GSLB, error)
- func (o *GSLBOp) Delete(ctx context.Context, id types.ID) error
- func (o *GSLBOp) Find(ctx context.Context, conditions *FindCondition) (*GSLBFindResult, error)
- func (o *GSLBOp) Read(ctx context.Context, id types.ID) (*GSLB, error)
- func (o *GSLBOp) Update(ctx context.Context, id types.ID, param *GSLBUpdateRequest) (*GSLB, error)
- func (o *GSLBOp) UpdateSettings(ctx context.Context, id types.ID, param *GSLBUpdateSettingsRequest) (*GSLB, error)
- type GSLBServer
- type GSLBServers
- func (o *GSLBServers) Add(server *GSLBServer)
- func (o *GSLBServers) Delete(server *GSLBServer)
- func (o *GSLBServers) DeleteAt(ip string)
- func (o *GSLBServers) Exist(server *GSLBServer) bool
- func (o *GSLBServers) ExistAt(ip string) bool
- func (o *GSLBServers) Find(server *GSLBServer) *GSLBServer
- func (o *GSLBServers) FindAt(ip string) *GSLBServer
- func (o *GSLBServers) Update(old *GSLBServer, new *GSLBServer)
- func (o *GSLBServers) UpdateAt(ip string, new *GSLBServer)
- type GSLBUpdateRequest
- func (o *GSLBUpdateRequest) AppendTag(tag string)
- func (o *GSLBUpdateRequest) ClearTags()
- func (o *GSLBUpdateRequest) GetDelayLoop() int
- func (o *GSLBUpdateRequest) GetDescription() string
- func (o *GSLBUpdateRequest) GetDestinationServers() GSLBServers
- func (o *GSLBUpdateRequest) GetHealthCheck() *GSLBHealthCheck
- func (o *GSLBUpdateRequest) GetIconID() types.ID
- func (o *GSLBUpdateRequest) GetName() string
- func (o *GSLBUpdateRequest) GetSettingsHash() string
- func (o *GSLBUpdateRequest) GetSorryServer() string
- func (o *GSLBUpdateRequest) GetTags() types.Tags
- func (o *GSLBUpdateRequest) GetWeighted() types.StringFlag
- func (o *GSLBUpdateRequest) HasTag(tag string) bool
- func (o *GSLBUpdateRequest) RemoveTag(tag string)
- func (o *GSLBUpdateRequest) SetDelayLoop(v int)
- func (o *GSLBUpdateRequest) SetDescription(v string)
- func (o *GSLBUpdateRequest) SetDestinationServers(v GSLBServers)
- func (o *GSLBUpdateRequest) SetHealthCheck(v *GSLBHealthCheck)
- func (o *GSLBUpdateRequest) SetIconID(v types.ID)
- func (o *GSLBUpdateRequest) SetName(v string)
- func (o *GSLBUpdateRequest) SetSettingsHash(v string)
- func (o *GSLBUpdateRequest) SetSorryServer(v string)
- func (o *GSLBUpdateRequest) SetTags(v types.Tags)
- func (o *GSLBUpdateRequest) SetWeighted(v types.StringFlag)
- type GSLBUpdateSettingsRequest
- func (o *GSLBUpdateSettingsRequest) GetDelayLoop() int
- func (o *GSLBUpdateSettingsRequest) GetDestinationServers() GSLBServers
- func (o *GSLBUpdateSettingsRequest) GetHealthCheck() *GSLBHealthCheck
- func (o *GSLBUpdateSettingsRequest) GetSettingsHash() string
- func (o *GSLBUpdateSettingsRequest) GetSorryServer() string
- func (o *GSLBUpdateSettingsRequest) GetWeighted() types.StringFlag
- func (o *GSLBUpdateSettingsRequest) SetDelayLoop(v int)
- func (o *GSLBUpdateSettingsRequest) SetDestinationServers(v GSLBServers)
- func (o *GSLBUpdateSettingsRequest) SetHealthCheck(v *GSLBHealthCheck)
- func (o *GSLBUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *GSLBUpdateSettingsRequest) SetSorryServer(v string)
- func (o *GSLBUpdateSettingsRequest) SetWeighted(v types.StringFlag)
- type IPAddress
- func (o *IPAddress) GetHostName() string
- func (o *IPAddress) GetIPAddress() string
- func (o *IPAddress) GetInterfaceID() types.ID
- func (o *IPAddress) GetSubnetID() types.ID
- func (o *IPAddress) SetHostName(v string)
- func (o *IPAddress) SetIPAddress(v string)
- func (o *IPAddress) SetInterfaceID(v types.ID)
- func (o *IPAddress) SetSubnetID(v types.ID)
- type IPAddressAPI
- type IPAddressListResult
- type IPAddressOp
- func (o *IPAddressOp) List(ctx context.Context, zone string) (*IPAddressListResult, error)
- func (o *IPAddressOp) Read(ctx context.Context, zone string, ipAddress string) (*IPAddress, error)
- func (o *IPAddressOp) UpdateHostName(ctx context.Context, zone string, ipAddress string, hostName string) (*IPAddress, error)
- type IPv6Addr
- func (o *IPv6Addr) GetHostName() string
- func (o *IPv6Addr) GetIPv6Addr() string
- func (o *IPv6Addr) GetIPv6NetID() types.ID
- func (o *IPv6Addr) GetInterfaceID() types.ID
- func (o *IPv6Addr) GetSwitchID() types.ID
- func (o *IPv6Addr) SetHostName(v string)
- func (o *IPv6Addr) SetIPv6Addr(v string)
- func (o *IPv6Addr) SetIPv6NetID(v types.ID)
- func (o *IPv6Addr) SetInterfaceID(v types.ID)
- func (o *IPv6Addr) SetSwitchID(v types.ID)
- type IPv6AddrAPI
- type IPv6AddrCreateRequest
- type IPv6AddrFindResult
- type IPv6AddrOp
- func (o *IPv6AddrOp) Create(ctx context.Context, zone string, param *IPv6AddrCreateRequest) (*IPv6Addr, error)
- func (o *IPv6AddrOp) Delete(ctx context.Context, zone string, ipv6addr string) error
- func (o *IPv6AddrOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*IPv6AddrFindResult, error)
- func (o *IPv6AddrOp) Read(ctx context.Context, zone string, ipv6addr string) (*IPv6Addr, error)
- func (o *IPv6AddrOp) Update(ctx context.Context, zone string, ipv6addr string, ...) (*IPv6Addr, error)
- type IPv6AddrUpdateRequest
- type IPv6Net
- func (o *IPv6Net) GetCreatedAt() time.Time
- func (o *IPv6Net) GetID() types.ID
- func (o *IPv6Net) GetIPv6Prefix() string
- func (o *IPv6Net) GetIPv6PrefixLen() int
- func (o *IPv6Net) GetIPv6PrefixTail() string
- func (o *IPv6Net) GetIPv6TableID() types.ID
- func (o *IPv6Net) GetInt64ID() int64
- func (o *IPv6Net) GetNamedIPv6AddrCount() int
- func (o *IPv6Net) GetServiceClass() string
- func (o *IPv6Net) GetServiceID() types.ID
- func (o *IPv6Net) GetStringID() string
- func (o *IPv6Net) GetSwitchID() types.ID
- func (o *IPv6Net) SetCreatedAt(v time.Time)
- func (o *IPv6Net) SetID(v types.ID)
- func (o *IPv6Net) SetIPv6Prefix(v string)
- func (o *IPv6Net) SetIPv6PrefixLen(v int)
- func (o *IPv6Net) SetIPv6PrefixTail(v string)
- func (o *IPv6Net) SetIPv6TableID(v types.ID)
- func (o *IPv6Net) SetInt64ID(id int64)
- func (o *IPv6Net) SetNamedIPv6AddrCount(v int)
- func (o *IPv6Net) SetServiceClass(v string)
- func (o *IPv6Net) SetServiceID(v types.ID)
- func (o *IPv6Net) SetStringID(id string)
- func (o *IPv6Net) SetSwitchID(v types.ID)
- type IPv6NetAPI
- type IPv6NetFindResult
- type IPv6NetInfo
- func (o *IPv6NetInfo) GetID() types.ID
- func (o *IPv6NetInfo) GetIPv6Prefix() string
- func (o *IPv6NetInfo) GetIPv6PrefixLen() int
- func (o *IPv6NetInfo) GetInt64ID() int64
- func (o *IPv6NetInfo) GetStringID() string
- func (o *IPv6NetInfo) SetID(v types.ID)
- func (o *IPv6NetInfo) SetIPv6Prefix(v string)
- func (o *IPv6NetInfo) SetIPv6PrefixLen(v int)
- func (o *IPv6NetInfo) SetInt64ID(id int64)
- func (o *IPv6NetInfo) SetStringID(id string)
- type IPv6NetListResult
- type IPv6NetOp
- type Icon
- func (o *Icon) AppendTag(tag string)
- func (o *Icon) ClearTags()
- func (o *Icon) GetAvailability() types.EAvailability
- func (o *Icon) GetCreatedAt() time.Time
- func (o *Icon) GetID() types.ID
- func (o *Icon) GetInt64ID() int64
- func (o *Icon) GetModifiedAt() time.Time
- func (o *Icon) GetName() string
- func (o *Icon) GetScope() types.EScope
- func (o *Icon) GetStringID() string
- func (o *Icon) GetTags() types.Tags
- func (o *Icon) GetURL() string
- func (o *Icon) HasTag(tag string) bool
- func (o *Icon) RemoveTag(tag string)
- func (o *Icon) SetAvailability(v types.EAvailability)
- func (o *Icon) SetCreatedAt(v time.Time)
- func (o *Icon) SetID(v types.ID)
- func (o *Icon) SetInt64ID(id int64)
- func (o *Icon) SetModifiedAt(v time.Time)
- func (o *Icon) SetName(v string)
- func (o *Icon) SetScope(v types.EScope)
- func (o *Icon) SetStringID(id string)
- func (o *Icon) SetTags(v types.Tags)
- func (o *Icon) SetURL(v string)
- type IconAPI
- type IconCreateRequest
- func (o *IconCreateRequest) AppendTag(tag string)
- func (o *IconCreateRequest) ClearTags()
- func (o *IconCreateRequest) GetImage() string
- func (o *IconCreateRequest) GetName() string
- func (o *IconCreateRequest) GetTags() types.Tags
- func (o *IconCreateRequest) HasTag(tag string) bool
- func (o *IconCreateRequest) RemoveTag(tag string)
- func (o *IconCreateRequest) SetImage(v string)
- func (o *IconCreateRequest) SetName(v string)
- func (o *IconCreateRequest) SetTags(v types.Tags)
- type IconFindResult
- type IconOp
- func (o *IconOp) Create(ctx context.Context, param *IconCreateRequest) (*Icon, error)
- func (o *IconOp) Delete(ctx context.Context, id types.ID) error
- func (o *IconOp) Find(ctx context.Context, conditions *FindCondition) (*IconFindResult, error)
- func (o *IconOp) Read(ctx context.Context, id types.ID) (*Icon, error)
- func (o *IconOp) Update(ctx context.Context, id types.ID, param *IconUpdateRequest) (*Icon, error)
- type IconUpdateRequest
- func (o *IconUpdateRequest) AppendTag(tag string)
- func (o *IconUpdateRequest) ClearTags()
- func (o *IconUpdateRequest) GetName() string
- func (o *IconUpdateRequest) GetTags() types.Tags
- func (o *IconUpdateRequest) HasTag(tag string) bool
- func (o *IconUpdateRequest) RemoveTag(tag string)
- func (o *IconUpdateRequest) SetName(v string)
- func (o *IconUpdateRequest) SetTags(v types.Tags)
- type InsertCDROMRequest
- type Interface
- func (o *Interface) GetCreatedAt() time.Time
- func (o *Interface) GetHostName() string
- func (o *Interface) GetID() types.ID
- func (o *Interface) GetIPAddress() string
- func (o *Interface) GetInt64ID() int64
- func (o *Interface) GetMACAddress() string
- func (o *Interface) GetPacketFilterID() types.ID
- func (o *Interface) GetServerID() types.ID
- func (o *Interface) GetStringID() string
- func (o *Interface) GetSwitchID() types.ID
- func (o *Interface) GetSwitchScope() types.EScope
- func (o *Interface) GetUserIPAddress() string
- func (o *Interface) SetCreatedAt(v time.Time)
- func (o *Interface) SetHostName(v string)
- func (o *Interface) SetID(v types.ID)
- func (o *Interface) SetIPAddress(v string)
- func (o *Interface) SetInt64ID(id int64)
- func (o *Interface) SetMACAddress(v string)
- func (o *Interface) SetPacketFilterID(v types.ID)
- func (o *Interface) SetServerID(v types.ID)
- func (o *Interface) SetStringID(id string)
- func (o *Interface) SetSwitchID(v types.ID)
- func (o *Interface) SetSwitchScope(v types.EScope)
- func (o *Interface) SetUserIPAddress(v string)
- type InterfaceAPI
- type InterfaceActivity
- type InterfaceCreateRequest
- type InterfaceFindResult
- type InterfaceOp
- func (o *InterfaceOp) ConnectToPacketFilter(ctx context.Context, zone string, id types.ID, packetFilterID types.ID) error
- func (o *InterfaceOp) ConnectToSharedSegment(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
- func (o *InterfaceOp) Create(ctx context.Context, zone string, param *InterfaceCreateRequest) (*Interface, error)
- func (o *InterfaceOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) DisconnectFromPacketFilter(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error
- func (o *InterfaceOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*InterfaceFindResult, error)
- func (o *InterfaceOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
- func (o *InterfaceOp) Read(ctx context.Context, zone string, id types.ID) (*Interface, error)
- func (o *InterfaceOp) Update(ctx context.Context, zone string, id types.ID, param *InterfaceUpdateRequest) (*Interface, error)
- type InterfaceUpdateRequest
- type InterfaceView
- func (o *InterfaceView) GetHostName() string
- func (o *InterfaceView) GetID() types.ID
- func (o *InterfaceView) GetIPAddress() string
- func (o *InterfaceView) GetInt64ID() int64
- func (o *InterfaceView) GetMACAddress() string
- func (o *InterfaceView) GetPacketFilterID() types.ID
- func (o *InterfaceView) GetPacketFilterName() string
- func (o *InterfaceView) GetPacketFilterRequiredHostVersion() types.StringNumber
- func (o *InterfaceView) GetStringID() string
- func (o *InterfaceView) GetSubnetBandWidthMbps() int
- func (o *InterfaceView) GetSubnetDefaultRoute() string
- func (o *InterfaceView) GetSubnetNetworkAddress() string
- func (o *InterfaceView) GetSubnetNetworkMaskLen() int
- func (o *InterfaceView) GetSwitchID() types.ID
- func (o *InterfaceView) GetSwitchName() string
- func (o *InterfaceView) GetSwitchScope() types.EScope
- func (o *InterfaceView) GetUpstreamType() types.EUpstreamNetworkType
- func (o *InterfaceView) GetUserIPAddress() string
- func (o *InterfaceView) GetUserSubnetDefaultRoute() string
- func (o *InterfaceView) GetUserSubnetNetworkMaskLen() int
- func (o *InterfaceView) SetHostName(v string)
- func (o *InterfaceView) SetID(v types.ID)
- func (o *InterfaceView) SetIPAddress(v string)
- func (o *InterfaceView) SetInt64ID(id int64)
- func (o *InterfaceView) SetMACAddress(v string)
- func (o *InterfaceView) SetPacketFilterID(v types.ID)
- func (o *InterfaceView) SetPacketFilterName(v string)
- func (o *InterfaceView) SetPacketFilterRequiredHostVersion(v types.StringNumber)
- func (o *InterfaceView) SetStringID(id string)
- func (o *InterfaceView) SetSubnetBandWidthMbps(v int)
- func (o *InterfaceView) SetSubnetDefaultRoute(v string)
- func (o *InterfaceView) SetSubnetNetworkAddress(v string)
- func (o *InterfaceView) SetSubnetNetworkMaskLen(v int)
- func (o *InterfaceView) SetSwitchID(v types.ID)
- func (o *InterfaceView) SetSwitchName(v string)
- func (o *InterfaceView) SetSwitchScope(v types.EScope)
- func (o *InterfaceView) SetUpstreamType(v types.EUpstreamNetworkType)
- func (o *InterfaceView) SetUserIPAddress(v string)
- func (o *InterfaceView) SetUserSubnetDefaultRoute(v string)
- func (o *InterfaceView) SetUserSubnetNetworkMaskLen(v int)
- type Internet
- func (o *Internet) AppendTag(tag string)
- func (o *Internet) ClearTags()
- func (o *Internet) GetBandWidthMbps() int
- func (o *Internet) GetCreatedAt() time.Time
- func (o *Internet) GetDescription() string
- func (o *Internet) GetID() types.ID
- func (o *Internet) GetIconID() types.ID
- func (o *Internet) GetInt64ID() int64
- func (o *Internet) GetName() string
- func (o *Internet) GetNetworkMaskLen() int
- func (o *Internet) GetStringID() string
- func (o *Internet) GetSwitch() *SwitchInfo
- func (o *Internet) GetTags() types.Tags
- func (o *Internet) HasTag(tag string) bool
- func (o *Internet) RemoveTag(tag string)
- func (o *Internet) SetBandWidthMbps(v int)
- func (o *Internet) SetCreatedAt(v time.Time)
- func (o *Internet) SetDescription(v string)
- func (o *Internet) SetID(v types.ID)
- func (o *Internet) SetIconID(v types.ID)
- func (o *Internet) SetInt64ID(id int64)
- func (o *Internet) SetName(v string)
- func (o *Internet) SetNetworkMaskLen(v int)
- func (o *Internet) SetStringID(id string)
- func (o *Internet) SetSwitch(v *SwitchInfo)
- func (o *Internet) SetTags(v types.Tags)
- type InternetAPI
- type InternetAddSubnetRequest
- type InternetCreateRequest
- func (o *InternetCreateRequest) AppendTag(tag string)
- func (o *InternetCreateRequest) ClearTags()
- func (o *InternetCreateRequest) GetBandWidthMbps() int
- func (o *InternetCreateRequest) GetDescription() string
- func (o *InternetCreateRequest) GetIconID() types.ID
- func (o *InternetCreateRequest) GetName() string
- func (o *InternetCreateRequest) GetNetworkMaskLen() int
- func (o *InternetCreateRequest) GetTags() types.Tags
- func (o *InternetCreateRequest) HasTag(tag string) bool
- func (o *InternetCreateRequest) RemoveTag(tag string)
- func (o *InternetCreateRequest) SetBandWidthMbps(v int)
- func (o *InternetCreateRequest) SetDescription(v string)
- func (o *InternetCreateRequest) SetIconID(v types.ID)
- func (o *InternetCreateRequest) SetName(v string)
- func (o *InternetCreateRequest) SetNetworkMaskLen(v int)
- func (o *InternetCreateRequest) SetTags(v types.Tags)
- type InternetFindResult
- type InternetOp
- func (o *InternetOp) AddSubnet(ctx context.Context, zone string, id types.ID, param *InternetAddSubnetRequest) (*InternetSubnetOperationResult, error)
- func (o *InternetOp) Create(ctx context.Context, zone string, param *InternetCreateRequest) (*Internet, error)
- func (o *InternetOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *InternetOp) DeleteSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID) error
- func (o *InternetOp) DisableIPv6(ctx context.Context, zone string, id types.ID, ipv6netID types.ID) error
- func (o *InternetOp) EnableIPv6(ctx context.Context, zone string, id types.ID) (*IPv6NetInfo, error)
- func (o *InternetOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*InternetFindResult, error)
- func (o *InternetOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*RouterActivity, error)
- func (o *InternetOp) MonitorRouter(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*RouterActivity, error)
- func (o *InternetOp) Read(ctx context.Context, zone string, id types.ID) (*Internet, error)
- func (o *InternetOp) Update(ctx context.Context, zone string, id types.ID, param *InternetUpdateRequest) (*Internet, error)
- func (o *InternetOp) UpdateBandWidth(ctx context.Context, zone string, id types.ID, ...) (*Internet, error)
- func (o *InternetOp) UpdateSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID, ...) (*InternetSubnetOperationResult, error)
- type InternetPlan
- func (o *InternetPlan) GetAvailability() types.EAvailability
- func (o *InternetPlan) GetBandWidthMbps() int
- func (o *InternetPlan) GetID() types.ID
- func (o *InternetPlan) GetInt64ID() int64
- func (o *InternetPlan) GetName() string
- func (o *InternetPlan) GetStringID() string
- func (o *InternetPlan) SetAvailability(v types.EAvailability)
- func (o *InternetPlan) SetBandWidthMbps(v int)
- func (o *InternetPlan) SetID(v types.ID)
- func (o *InternetPlan) SetInt64ID(id int64)
- func (o *InternetPlan) SetName(v string)
- func (o *InternetPlan) SetStringID(id string)
- type InternetPlanAPI
- type InternetPlanFindResult
- type InternetPlanOp
- type InternetSubnet
- func (o *InternetSubnet) GetDefaultRoute() string
- func (o *InternetSubnet) GetID() types.ID
- func (o *InternetSubnet) GetInt64ID() int64
- func (o *InternetSubnet) GetNetworkAddress() string
- func (o *InternetSubnet) GetNetworkMaskLen() int
- func (o *InternetSubnet) GetNextHop() string
- func (o *InternetSubnet) GetStaticRoute() string
- func (o *InternetSubnet) GetStringID() string
- func (o *InternetSubnet) SetDefaultRoute(v string)
- func (o *InternetSubnet) SetID(v types.ID)
- func (o *InternetSubnet) SetInt64ID(id int64)
- func (o *InternetSubnet) SetNetworkAddress(v string)
- func (o *InternetSubnet) SetNetworkMaskLen(v int)
- func (o *InternetSubnet) SetNextHop(v string)
- func (o *InternetSubnet) SetStaticRoute(v string)
- func (o *InternetSubnet) SetStringID(id string)
- type InternetSubnetOperationResult
- func (o *InternetSubnetOperationResult) GetDefaultRoute() string
- func (o *InternetSubnetOperationResult) GetID() types.ID
- func (o *InternetSubnetOperationResult) GetIPAddresses() []string
- func (o *InternetSubnetOperationResult) GetInt64ID() int64
- func (o *InternetSubnetOperationResult) GetNetworkAddress() string
- func (o *InternetSubnetOperationResult) GetNetworkMaskLen() int
- func (o *InternetSubnetOperationResult) GetNextHop() string
- func (o *InternetSubnetOperationResult) GetStaticRoute() string
- func (o *InternetSubnetOperationResult) GetStringID() string
- func (o *InternetSubnetOperationResult) SetDefaultRoute(v string)
- func (o *InternetSubnetOperationResult) SetID(v types.ID)
- func (o *InternetSubnetOperationResult) SetIPAddresses(v []string)
- func (o *InternetSubnetOperationResult) SetInt64ID(id int64)
- func (o *InternetSubnetOperationResult) SetNetworkAddress(v string)
- func (o *InternetSubnetOperationResult) SetNetworkMaskLen(v int)
- func (o *InternetSubnetOperationResult) SetNextHop(v string)
- func (o *InternetSubnetOperationResult) SetStaticRoute(v string)
- func (o *InternetSubnetOperationResult) SetStringID(id string)
- type InternetUpdateBandWidthRequest
- type InternetUpdateRequest
- func (o *InternetUpdateRequest) AppendTag(tag string)
- func (o *InternetUpdateRequest) ClearTags()
- func (o *InternetUpdateRequest) GetDescription() string
- func (o *InternetUpdateRequest) GetIconID() types.ID
- func (o *InternetUpdateRequest) GetName() string
- func (o *InternetUpdateRequest) GetTags() types.Tags
- func (o *InternetUpdateRequest) HasTag(tag string) bool
- func (o *InternetUpdateRequest) RemoveTag(tag string)
- func (o *InternetUpdateRequest) SetDescription(v string)
- func (o *InternetUpdateRequest) SetIconID(v types.ID)
- func (o *InternetUpdateRequest) SetName(v string)
- func (o *InternetUpdateRequest) SetTags(v types.Tags)
- type InternetUpdateSubnetRequest
- type JobConfigError
- type JobStatus
- type License
- func (o *License) GetCreatedAt() time.Time
- func (o *License) GetID() types.ID
- func (o *License) GetInt64ID() int64
- func (o *License) GetLicenseInfoID() types.ID
- func (o *License) GetLicenseInfoName() string
- func (o *License) GetModifiedAt() time.Time
- func (o *License) GetName() string
- func (o *License) GetStringID() string
- func (o *License) SetCreatedAt(v time.Time)
- func (o *License) SetID(v types.ID)
- func (o *License) SetInt64ID(id int64)
- func (o *License) SetLicenseInfoID(v types.ID)
- func (o *License) SetLicenseInfoName(v string)
- func (o *License) SetModifiedAt(v time.Time)
- func (o *License) SetName(v string)
- func (o *License) SetStringID(id string)
- type LicenseAPI
- type LicenseCreateRequest
- type LicenseFindResult
- type LicenseInfo
- func (o *LicenseInfo) GetCreatedAt() time.Time
- func (o *LicenseInfo) GetID() types.ID
- func (o *LicenseInfo) GetInt64ID() int64
- func (o *LicenseInfo) GetModifiedAt() time.Time
- func (o *LicenseInfo) GetName() string
- func (o *LicenseInfo) GetStringID() string
- func (o *LicenseInfo) GetTermsOfUse() string
- func (o *LicenseInfo) SetCreatedAt(v time.Time)
- func (o *LicenseInfo) SetID(v types.ID)
- func (o *LicenseInfo) SetInt64ID(id int64)
- func (o *LicenseInfo) SetModifiedAt(v time.Time)
- func (o *LicenseInfo) SetName(v string)
- func (o *LicenseInfo) SetStringID(id string)
- func (o *LicenseInfo) SetTermsOfUse(v string)
- type LicenseInfoAPI
- type LicenseInfoFindResult
- type LicenseInfoOp
- type LicenseOp
- func (o *LicenseOp) Create(ctx context.Context, param *LicenseCreateRequest) (*License, error)
- func (o *LicenseOp) Delete(ctx context.Context, id types.ID) error
- func (o *LicenseOp) Find(ctx context.Context, conditions *FindCondition) (*LicenseFindResult, error)
- func (o *LicenseOp) Read(ctx context.Context, id types.ID) (*License, error)
- func (o *LicenseOp) Update(ctx context.Context, id types.ID, param *LicenseUpdateRequest) (*License, error)
- type LicenseUpdateRequest
- type LinkActivity
- type LoadBalancer
- func (o *LoadBalancer) AppendTag(tag string)
- func (o *LoadBalancer) ClearTags()
- func (o *LoadBalancer) GetAvailability() types.EAvailability
- func (o *LoadBalancer) GetClass() string
- func (o *LoadBalancer) GetCreatedAt() time.Time
- func (o *LoadBalancer) GetDefaultRoute() string
- func (o *LoadBalancer) GetDescription() string
- func (o *LoadBalancer) GetID() types.ID
- func (o *LoadBalancer) GetIPAddresses() []string
- func (o *LoadBalancer) GetIconID() types.ID
- func (o *LoadBalancer) GetInstanceHostInfoURL() string
- func (o *LoadBalancer) GetInstanceHostName() string
- func (o *LoadBalancer) GetInstanceStatus() types.EServerInstanceStatus
- func (o *LoadBalancer) GetInstanceStatusChangedAt() time.Time
- func (o *LoadBalancer) GetInt64ID() int64
- func (o *LoadBalancer) GetInterfaces() []*InterfaceView
- func (o *LoadBalancer) GetModifiedAt() time.Time
- func (o *LoadBalancer) GetName() string
- func (o *LoadBalancer) GetNetworkMaskLen() int
- func (o *LoadBalancer) GetPlanID() types.ID
- func (o *LoadBalancer) GetSettingsHash() string
- func (o *LoadBalancer) GetStringID() string
- func (o *LoadBalancer) GetSwitchID() types.ID
- func (o *LoadBalancer) GetTags() types.Tags
- func (o *LoadBalancer) GetVRID() int
- func (o *LoadBalancer) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
- func (o *LoadBalancer) GetZoneID() types.ID
- func (o *LoadBalancer) HasTag(tag string) bool
- func (o *LoadBalancer) RemoveTag(tag string)
- func (o *LoadBalancer) SetAvailability(v types.EAvailability)
- func (o *LoadBalancer) SetClass(v string)
- func (o *LoadBalancer) SetCreatedAt(v time.Time)
- func (o *LoadBalancer) SetDefaultRoute(v string)
- func (o *LoadBalancer) SetDescription(v string)
- func (o *LoadBalancer) SetID(v types.ID)
- func (o *LoadBalancer) SetIPAddresses(v []string)
- func (o *LoadBalancer) SetIconID(v types.ID)
- func (o *LoadBalancer) SetInstanceHostInfoURL(v string)
- func (o *LoadBalancer) SetInstanceHostName(v string)
- func (o *LoadBalancer) SetInstanceStatus(v types.EServerInstanceStatus)
- func (o *LoadBalancer) SetInstanceStatusChangedAt(v time.Time)
- func (o *LoadBalancer) SetInt64ID(id int64)
- func (o *LoadBalancer) SetInterfaces(v []*InterfaceView)
- func (o *LoadBalancer) SetModifiedAt(v time.Time)
- func (o *LoadBalancer) SetName(v string)
- func (o *LoadBalancer) SetNetworkMaskLen(v int)
- func (o *LoadBalancer) SetPlanID(v types.ID)
- func (o *LoadBalancer) SetSettingsHash(v string)
- func (o *LoadBalancer) SetStringID(id string)
- func (o *LoadBalancer) SetSwitchID(v types.ID)
- func (o *LoadBalancer) SetTags(v types.Tags)
- func (o *LoadBalancer) SetVRID(v int)
- func (o *LoadBalancer) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
- func (o *LoadBalancer) SetZoneID(v types.ID)
- type LoadBalancerAPI
- type LoadBalancerCreateRequest
- func (o *LoadBalancerCreateRequest) AppendTag(tag string)
- func (o *LoadBalancerCreateRequest) ClearTags()
- func (o *LoadBalancerCreateRequest) GetDefaultRoute() string
- func (o *LoadBalancerCreateRequest) GetDescription() string
- func (o *LoadBalancerCreateRequest) GetIPAddresses() []string
- func (o *LoadBalancerCreateRequest) GetIconID() types.ID
- func (o *LoadBalancerCreateRequest) GetName() string
- func (o *LoadBalancerCreateRequest) GetNetworkMaskLen() int
- func (o *LoadBalancerCreateRequest) GetPlanID() types.ID
- func (o *LoadBalancerCreateRequest) GetSwitchID() types.ID
- func (o *LoadBalancerCreateRequest) GetTags() types.Tags
- func (o *LoadBalancerCreateRequest) GetVRID() int
- func (o *LoadBalancerCreateRequest) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
- func (o *LoadBalancerCreateRequest) HasTag(tag string) bool
- func (o *LoadBalancerCreateRequest) RemoveTag(tag string)
- func (o *LoadBalancerCreateRequest) SetDefaultRoute(v string)
- func (o *LoadBalancerCreateRequest) SetDescription(v string)
- func (o *LoadBalancerCreateRequest) SetIPAddresses(v []string)
- func (o *LoadBalancerCreateRequest) SetIconID(v types.ID)
- func (o *LoadBalancerCreateRequest) SetName(v string)
- func (o *LoadBalancerCreateRequest) SetNetworkMaskLen(v int)
- func (o *LoadBalancerCreateRequest) SetPlanID(v types.ID)
- func (o *LoadBalancerCreateRequest) SetSwitchID(v types.ID)
- func (o *LoadBalancerCreateRequest) SetTags(v types.Tags)
- func (o *LoadBalancerCreateRequest) SetVRID(v int)
- func (o *LoadBalancerCreateRequest) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
- type LoadBalancerFindResult
- type LoadBalancerOp
- func (o *LoadBalancerOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Create(ctx context.Context, zone string, param *LoadBalancerCreateRequest) (*LoadBalancer, error)
- func (o *LoadBalancerOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*LoadBalancerFindResult, error)
- func (o *LoadBalancerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
- func (o *LoadBalancerOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
- func (o *LoadBalancerOp) Read(ctx context.Context, zone string, id types.ID) (*LoadBalancer, error)
- func (o *LoadBalancerOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *LoadBalancerOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
- func (o *LoadBalancerOp) Status(ctx context.Context, zone string, id types.ID) (*LoadBalancerStatusResult, error)
- func (o *LoadBalancerOp) Update(ctx context.Context, zone string, id types.ID, ...) (*LoadBalancer, error)
- func (o *LoadBalancerOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*LoadBalancer, error)
- type LoadBalancerServer
- func (o *LoadBalancerServer) GetEnabled() types.StringFlag
- func (o *LoadBalancerServer) GetHealthCheck() *LoadBalancerServerHealthCheck
- func (o *LoadBalancerServer) GetIPAddress() string
- func (o *LoadBalancerServer) GetPort() types.StringNumber
- func (o *LoadBalancerServer) SetEnabled(v types.StringFlag)
- func (o *LoadBalancerServer) SetHealthCheck(v *LoadBalancerServerHealthCheck)
- func (o *LoadBalancerServer) SetIPAddress(v string)
- func (o *LoadBalancerServer) SetPort(v types.StringNumber)
- type LoadBalancerServerHealthCheck
- func (o *LoadBalancerServerHealthCheck) GetConnectTimeout() types.StringNumber
- func (o *LoadBalancerServerHealthCheck) GetPath() string
- func (o *LoadBalancerServerHealthCheck) GetProtocol() types.ELoadBalancerHealthCheckProtocol
- func (o *LoadBalancerServerHealthCheck) GetResponseCode() types.StringNumber
- func (o *LoadBalancerServerHealthCheck) GetRetry() types.StringNumber
- func (o *LoadBalancerServerHealthCheck) SetConnectTimeout(v types.StringNumber)
- func (o *LoadBalancerServerHealthCheck) SetPath(v string)
- func (o *LoadBalancerServerHealthCheck) SetProtocol(v types.ELoadBalancerHealthCheckProtocol)
- func (o *LoadBalancerServerHealthCheck) SetResponseCode(v types.StringNumber)
- func (o *LoadBalancerServerHealthCheck) SetRetry(v types.StringNumber)
- type LoadBalancerServerStatus
- func (o *LoadBalancerServerStatus) GetActiveConn() types.StringNumber
- func (o *LoadBalancerServerStatus) GetCPS() types.StringNumber
- func (o *LoadBalancerServerStatus) GetIPAddress() string
- func (o *LoadBalancerServerStatus) GetPort() types.StringNumber
- func (o *LoadBalancerServerStatus) GetStatus() types.EServerInstanceStatus
- func (o *LoadBalancerServerStatus) SetActiveConn(v types.StringNumber)
- func (o *LoadBalancerServerStatus) SetCPS(v types.StringNumber)
- func (o *LoadBalancerServerStatus) SetIPAddress(v string)
- func (o *LoadBalancerServerStatus) SetPort(v types.StringNumber)
- func (o *LoadBalancerServerStatus) SetStatus(v types.EServerInstanceStatus)
- type LoadBalancerServers
- func (o *LoadBalancerServers) Add(server *LoadBalancerServer)
- func (o *LoadBalancerServers) Delete(server *LoadBalancerServer)
- func (o *LoadBalancerServers) DeleteAt(ip string)
- func (o *LoadBalancerServers) Exist(server *LoadBalancerServer) bool
- func (o *LoadBalancerServers) ExistAt(ip string) bool
- func (o *LoadBalancerServers) Find(server *LoadBalancerServer) *LoadBalancerServer
- func (o *LoadBalancerServers) FindAt(ip string) *LoadBalancerServer
- func (o *LoadBalancerServers) Update(old *LoadBalancerServer, new *LoadBalancerServer)
- func (o *LoadBalancerServers) UpdateAt(ip string, new *LoadBalancerServer)
- type LoadBalancerStatus
- func (o *LoadBalancerStatus) GetCPS() types.StringNumber
- func (o *LoadBalancerStatus) GetPort() types.StringNumber
- func (o *LoadBalancerStatus) GetServers() []*LoadBalancerServerStatus
- func (o *LoadBalancerStatus) GetVirtualIPAddress() string
- func (o *LoadBalancerStatus) SetCPS(v types.StringNumber)
- func (o *LoadBalancerStatus) SetPort(v types.StringNumber)
- func (o *LoadBalancerStatus) SetServers(v []*LoadBalancerServerStatus)
- func (o *LoadBalancerStatus) SetVirtualIPAddress(v string)
- type LoadBalancerStatusResult
- type LoadBalancerUpdateRequest
- func (o *LoadBalancerUpdateRequest) AppendTag(tag string)
- func (o *LoadBalancerUpdateRequest) ClearTags()
- func (o *LoadBalancerUpdateRequest) GetDescription() string
- func (o *LoadBalancerUpdateRequest) GetIconID() types.ID
- func (o *LoadBalancerUpdateRequest) GetName() string
- func (o *LoadBalancerUpdateRequest) GetSettingsHash() string
- func (o *LoadBalancerUpdateRequest) GetTags() types.Tags
- func (o *LoadBalancerUpdateRequest) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
- func (o *LoadBalancerUpdateRequest) HasTag(tag string) bool
- func (o *LoadBalancerUpdateRequest) RemoveTag(tag string)
- func (o *LoadBalancerUpdateRequest) SetDescription(v string)
- func (o *LoadBalancerUpdateRequest) SetIconID(v types.ID)
- func (o *LoadBalancerUpdateRequest) SetName(v string)
- func (o *LoadBalancerUpdateRequest) SetSettingsHash(v string)
- func (o *LoadBalancerUpdateRequest) SetTags(v types.Tags)
- func (o *LoadBalancerUpdateRequest) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
- type LoadBalancerUpdateSettingsRequest
- func (o *LoadBalancerUpdateSettingsRequest) GetSettingsHash() string
- func (o *LoadBalancerUpdateSettingsRequest) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
- func (o *LoadBalancerUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *LoadBalancerUpdateSettingsRequest) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
- type LoadBalancerVirtualIPAddress
- func (o *LoadBalancerVirtualIPAddress) GetDelayLoop() types.StringNumber
- func (o *LoadBalancerVirtualIPAddress) GetDescription() string
- func (o *LoadBalancerVirtualIPAddress) GetPort() types.StringNumber
- func (o *LoadBalancerVirtualIPAddress) GetServers() LoadBalancerServers
- func (o *LoadBalancerVirtualIPAddress) GetSorryServer() string
- func (o *LoadBalancerVirtualIPAddress) GetVirtualIPAddress() string
- func (o *LoadBalancerVirtualIPAddress) SetDelayLoop(v types.StringNumber)
- func (o *LoadBalancerVirtualIPAddress) SetDescription(v string)
- func (o *LoadBalancerVirtualIPAddress) SetPort(v types.StringNumber)
- func (o *LoadBalancerVirtualIPAddress) SetServers(v LoadBalancerServers)
- func (o *LoadBalancerVirtualIPAddress) SetSorryServer(v string)
- func (o *LoadBalancerVirtualIPAddress) SetVirtualIPAddress(v string)
- type LoadBalancerVirtualIPAddresses
- func (o *LoadBalancerVirtualIPAddresses) Add(vip *LoadBalancerVirtualIPAddress)
- func (o *LoadBalancerVirtualIPAddresses) Delete(vip *LoadBalancerVirtualIPAddress)
- func (o *LoadBalancerVirtualIPAddresses) DeleteAt(vip string, port int)
- func (o *LoadBalancerVirtualIPAddresses) Exist(vip *LoadBalancerVirtualIPAddress) bool
- func (o *LoadBalancerVirtualIPAddresses) ExistAt(vip string, port int) bool
- func (o *LoadBalancerVirtualIPAddresses) Find(vip *LoadBalancerVirtualIPAddress) *LoadBalancerVirtualIPAddress
- func (o *LoadBalancerVirtualIPAddresses) FindAt(vip string, port int) *LoadBalancerVirtualIPAddress
- func (o *LoadBalancerVirtualIPAddresses) Update(old *LoadBalancerVirtualIPAddress, new *LoadBalancerVirtualIPAddress)
- func (o *LoadBalancerVirtualIPAddresses) UpdateAt(vip string, port int, new *LoadBalancerVirtualIPAddress)
- type LocalRouter
- func (o *LocalRouter) AppendTag(tag string)
- func (o *LocalRouter) ClearTags()
- func (o *LocalRouter) GetAvailability() types.EAvailability
- func (o *LocalRouter) GetCreatedAt() time.Time
- func (o *LocalRouter) GetDescription() string
- func (o *LocalRouter) GetID() types.ID
- func (o *LocalRouter) GetIconID() types.ID
- func (o *LocalRouter) GetInt64ID() int64
- func (o *LocalRouter) GetInterface() *LocalRouterInterface
- func (o *LocalRouter) GetModifiedAt() time.Time
- func (o *LocalRouter) GetName() string
- func (o *LocalRouter) GetPeers() []*LocalRouterPeer
- func (o *LocalRouter) GetSecretKeys() []string
- func (o *LocalRouter) GetSettingsHash() string
- func (o *LocalRouter) GetStaticRoutes() []*LocalRouterStaticRoute
- func (o *LocalRouter) GetStringID() string
- func (o *LocalRouter) GetSwitch() *LocalRouterSwitch
- func (o *LocalRouter) GetTags() types.Tags
- func (o *LocalRouter) HasTag(tag string) bool
- func (o *LocalRouter) RemoveTag(tag string)
- func (o *LocalRouter) SetAvailability(v types.EAvailability)
- func (o *LocalRouter) SetCreatedAt(v time.Time)
- func (o *LocalRouter) SetDescription(v string)
- func (o *LocalRouter) SetID(v types.ID)
- func (o *LocalRouter) SetIconID(v types.ID)
- func (o *LocalRouter) SetInt64ID(id int64)
- func (o *LocalRouter) SetInterface(v *LocalRouterInterface)
- func (o *LocalRouter) SetModifiedAt(v time.Time)
- func (o *LocalRouter) SetName(v string)
- func (o *LocalRouter) SetPeers(v []*LocalRouterPeer)
- func (o *LocalRouter) SetSecretKeys(v []string)
- func (o *LocalRouter) SetSettingsHash(v string)
- func (o *LocalRouter) SetStaticRoutes(v []*LocalRouterStaticRoute)
- func (o *LocalRouter) SetStringID(id string)
- func (o *LocalRouter) SetSwitch(v *LocalRouterSwitch)
- func (o *LocalRouter) SetTags(v types.Tags)
- type LocalRouterAPI
- type LocalRouterActivity
- type LocalRouterCreateRequest
- func (o *LocalRouterCreateRequest) AppendTag(tag string)
- func (o *LocalRouterCreateRequest) ClearTags()
- func (o *LocalRouterCreateRequest) GetDescription() string
- func (o *LocalRouterCreateRequest) GetIconID() types.ID
- func (o *LocalRouterCreateRequest) GetName() string
- func (o *LocalRouterCreateRequest) GetTags() types.Tags
- func (o *LocalRouterCreateRequest) HasTag(tag string) bool
- func (o *LocalRouterCreateRequest) RemoveTag(tag string)
- func (o *LocalRouterCreateRequest) SetDescription(v string)
- func (o *LocalRouterCreateRequest) SetIconID(v types.ID)
- func (o *LocalRouterCreateRequest) SetName(v string)
- func (o *LocalRouterCreateRequest) SetTags(v types.Tags)
- type LocalRouterFindResult
- type LocalRouterHealth
- type LocalRouterHealthPeer
- func (o *LocalRouterHealthPeer) GetID() types.ID
- func (o *LocalRouterHealthPeer) GetRoutes() []string
- func (o *LocalRouterHealthPeer) GetStatus() types.EServerInstanceStatus
- func (o *LocalRouterHealthPeer) SetID(v types.ID)
- func (o *LocalRouterHealthPeer) SetRoutes(v []string)
- func (o *LocalRouterHealthPeer) SetStatus(v types.EServerInstanceStatus)
- type LocalRouterInterface
- func (o *LocalRouterInterface) GetIPAddress() []string
- func (o *LocalRouterInterface) GetNetworkMaskLen() int
- func (o *LocalRouterInterface) GetVRID() int
- func (o *LocalRouterInterface) GetVirtualIPAddress() string
- func (o *LocalRouterInterface) SetIPAddress(v []string)
- func (o *LocalRouterInterface) SetNetworkMaskLen(v int)
- func (o *LocalRouterInterface) SetVRID(v int)
- func (o *LocalRouterInterface) SetVirtualIPAddress(v string)
- type LocalRouterOp
- func (o *LocalRouterOp) Create(ctx context.Context, param *LocalRouterCreateRequest) (*LocalRouter, error)
- func (o *LocalRouterOp) Delete(ctx context.Context, id types.ID) error
- func (o *LocalRouterOp) Find(ctx context.Context, conditions *FindCondition) (*LocalRouterFindResult, error)
- func (o *LocalRouterOp) HealthStatus(ctx context.Context, id types.ID) (*LocalRouterHealth, error)
- func (o *LocalRouterOp) MonitorLocalRouter(ctx context.Context, id types.ID, condition *MonitorCondition) (*LocalRouterActivity, error)
- func (o *LocalRouterOp) Read(ctx context.Context, id types.ID) (*LocalRouter, error)
- func (o *LocalRouterOp) Update(ctx context.Context, id types.ID, param *LocalRouterUpdateRequest) (*LocalRouter, error)
- func (o *LocalRouterOp) UpdateSettings(ctx context.Context, id types.ID, param *LocalRouterUpdateSettingsRequest) (*LocalRouter, error)
- type LocalRouterPeer
- func (o *LocalRouterPeer) GetDescription() string
- func (o *LocalRouterPeer) GetEnabled() bool
- func (o *LocalRouterPeer) GetID() types.ID
- func (o *LocalRouterPeer) GetSecretKey() string
- func (o *LocalRouterPeer) SetDescription(v string)
- func (o *LocalRouterPeer) SetEnabled(v bool)
- func (o *LocalRouterPeer) SetID(v types.ID)
- func (o *LocalRouterPeer) SetSecretKey(v string)
- type LocalRouterStaticRoute
- type LocalRouterSwitch
- type LocalRouterUpdateRequest
- func (o *LocalRouterUpdateRequest) AppendTag(tag string)
- func (o *LocalRouterUpdateRequest) ClearTags()
- func (o *LocalRouterUpdateRequest) GetDescription() string
- func (o *LocalRouterUpdateRequest) GetIconID() types.ID
- func (o *LocalRouterUpdateRequest) GetInterface() *LocalRouterInterface
- func (o *LocalRouterUpdateRequest) GetName() string
- func (o *LocalRouterUpdateRequest) GetPeers() []*LocalRouterPeer
- func (o *LocalRouterUpdateRequest) GetSettingsHash() string
- func (o *LocalRouterUpdateRequest) GetStaticRoutes() []*LocalRouterStaticRoute
- func (o *LocalRouterUpdateRequest) GetSwitch() *LocalRouterSwitch
- func (o *LocalRouterUpdateRequest) GetTags() types.Tags
- func (o *LocalRouterUpdateRequest) HasTag(tag string) bool
- func (o *LocalRouterUpdateRequest) RemoveTag(tag string)
- func (o *LocalRouterUpdateRequest) SetDescription(v string)
- func (o *LocalRouterUpdateRequest) SetIconID(v types.ID)
- func (o *LocalRouterUpdateRequest) SetInterface(v *LocalRouterInterface)
- func (o *LocalRouterUpdateRequest) SetName(v string)
- func (o *LocalRouterUpdateRequest) SetPeers(v []*LocalRouterPeer)
- func (o *LocalRouterUpdateRequest) SetSettingsHash(v string)
- func (o *LocalRouterUpdateRequest) SetStaticRoutes(v []*LocalRouterStaticRoute)
- func (o *LocalRouterUpdateRequest) SetSwitch(v *LocalRouterSwitch)
- func (o *LocalRouterUpdateRequest) SetTags(v types.Tags)
- type LocalRouterUpdateSettingsRequest
- func (o *LocalRouterUpdateSettingsRequest) GetInterface() *LocalRouterInterface
- func (o *LocalRouterUpdateSettingsRequest) GetPeers() []*LocalRouterPeer
- func (o *LocalRouterUpdateSettingsRequest) GetSettingsHash() string
- func (o *LocalRouterUpdateSettingsRequest) GetStaticRoutes() []*LocalRouterStaticRoute
- func (o *LocalRouterUpdateSettingsRequest) GetSwitch() *LocalRouterSwitch
- func (o *LocalRouterUpdateSettingsRequest) SetInterface(v *LocalRouterInterface)
- func (o *LocalRouterUpdateSettingsRequest) SetPeers(v []*LocalRouterPeer)
- func (o *LocalRouterUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *LocalRouterUpdateSettingsRequest) SetStaticRoutes(v []*LocalRouterStaticRoute)
- func (o *LocalRouterUpdateSettingsRequest) SetSwitch(v *LocalRouterSwitch)
- type MXRecord
- type MobileGateway
- func (o *MobileGateway) AppendTag(tag string)
- func (o *MobileGateway) ClearTags()
- func (o *MobileGateway) GetAvailability() types.EAvailability
- func (o *MobileGateway) GetClass() string
- func (o *MobileGateway) GetCreatedAt() time.Time
- func (o *MobileGateway) GetDescription() string
- func (o *MobileGateway) GetGlobalAddress() string
- func (o *MobileGateway) GetID() types.ID
- func (o *MobileGateway) GetIconID() types.ID
- func (o *MobileGateway) GetInstanceHostInfoURL() string
- func (o *MobileGateway) GetInstanceHostName() string
- func (o *MobileGateway) GetInstanceStatus() types.EServerInstanceStatus
- func (o *MobileGateway) GetInstanceStatusChangedAt() time.Time
- func (o *MobileGateway) GetInt64ID() int64
- func (o *MobileGateway) GetInterDeviceCommunicationEnabled() types.StringFlag
- func (o *MobileGateway) GetInterfaceSettings() []*MobileGatewayInterfaceSetting
- func (o *MobileGateway) GetInterfaces() []*MobileGatewayInterface
- func (o *MobileGateway) GetInternetConnectionEnabled() types.StringFlag
- func (o *MobileGateway) GetName() string
- func (o *MobileGateway) GetSettingsHash() string
- func (o *MobileGateway) GetStaticRoutes() []*MobileGatewayStaticRoute
- func (o *MobileGateway) GetStringID() string
- func (o *MobileGateway) GetTags() types.Tags
- func (o *MobileGateway) GetZoneID() types.ID
- func (o *MobileGateway) HasTag(tag string) bool
- func (o *MobileGateway) RemoveTag(tag string)
- func (o *MobileGateway) SetAvailability(v types.EAvailability)
- func (o *MobileGateway) SetClass(v string)
- func (o *MobileGateway) SetCreatedAt(v time.Time)
- func (o *MobileGateway) SetDescription(v string)
- func (o *MobileGateway) SetGlobalAddress(v string)
- func (o *MobileGateway) SetID(v types.ID)
- func (o *MobileGateway) SetIconID(v types.ID)
- func (o *MobileGateway) SetInstanceHostInfoURL(v string)
- func (o *MobileGateway) SetInstanceHostName(v string)
- func (o *MobileGateway) SetInstanceStatus(v types.EServerInstanceStatus)
- func (o *MobileGateway) SetInstanceStatusChangedAt(v time.Time)
- func (o *MobileGateway) SetInt64ID(id int64)
- func (o *MobileGateway) SetInterDeviceCommunicationEnabled(v types.StringFlag)
- func (o *MobileGateway) SetInterfaceSettings(v []*MobileGatewayInterfaceSetting)
- func (o *MobileGateway) SetInterfaces(v []*MobileGatewayInterface)
- func (o *MobileGateway) SetInternetConnectionEnabled(v types.StringFlag)
- func (o *MobileGateway) SetName(v string)
- func (o *MobileGateway) SetSettingsHash(v string)
- func (o *MobileGateway) SetStaticRoutes(v []*MobileGatewayStaticRoute)
- func (o *MobileGateway) SetStringID(id string)
- func (o *MobileGateway) SetTags(v types.Tags)
- func (o *MobileGateway) SetZoneID(v types.ID)
- type MobileGatewayAPI
- type MobileGatewayAddSIMRequest
- type MobileGatewayCreateRequest
- func (o *MobileGatewayCreateRequest) AppendTag(tag string)
- func (o *MobileGatewayCreateRequest) ClearTags()
- func (o *MobileGatewayCreateRequest) GetDescription() string
- func (o *MobileGatewayCreateRequest) GetIconID() types.ID
- func (o *MobileGatewayCreateRequest) GetInterDeviceCommunicationEnabled() types.StringFlag
- func (o *MobileGatewayCreateRequest) GetInternetConnectionEnabled() types.StringFlag
- func (o *MobileGatewayCreateRequest) GetName() string
- func (o *MobileGatewayCreateRequest) GetStaticRoutes() []*MobileGatewayStaticRoute
- func (o *MobileGatewayCreateRequest) GetTags() types.Tags
- func (o *MobileGatewayCreateRequest) HasTag(tag string) bool
- func (o *MobileGatewayCreateRequest) RemoveTag(tag string)
- func (o *MobileGatewayCreateRequest) SetDescription(v string)
- func (o *MobileGatewayCreateRequest) SetIconID(v types.ID)
- func (o *MobileGatewayCreateRequest) SetInterDeviceCommunicationEnabled(v types.StringFlag)
- func (o *MobileGatewayCreateRequest) SetInternetConnectionEnabled(v types.StringFlag)
- func (o *MobileGatewayCreateRequest) SetName(v string)
- func (o *MobileGatewayCreateRequest) SetStaticRoutes(v []*MobileGatewayStaticRoute)
- func (o *MobileGatewayCreateRequest) SetTags(v types.Tags)
- type MobileGatewayDNSSetting
- type MobileGatewayFindResult
- type MobileGatewayInterface
- func (o *MobileGatewayInterface) GetHostName() string
- func (o *MobileGatewayInterface) GetID() types.ID
- func (o *MobileGatewayInterface) GetIPAddress() string
- func (o *MobileGatewayInterface) GetIndex() int
- func (o *MobileGatewayInterface) GetInt64ID() int64
- func (o *MobileGatewayInterface) GetMACAddress() string
- func (o *MobileGatewayInterface) GetPacketFilterID() types.ID
- func (o *MobileGatewayInterface) GetPacketFilterName() string
- func (o *MobileGatewayInterface) GetPacketFilterRequiredHostVersion() types.StringNumber
- func (o *MobileGatewayInterface) GetStringID() string
- func (o *MobileGatewayInterface) GetSubnetBandWidthMbps() int
- func (o *MobileGatewayInterface) GetSubnetDefaultRoute() string
- func (o *MobileGatewayInterface) GetSubnetNetworkAddress() string
- func (o *MobileGatewayInterface) GetSubnetNetworkMaskLen() int
- func (o *MobileGatewayInterface) GetSwitchID() types.ID
- func (o *MobileGatewayInterface) GetSwitchName() string
- func (o *MobileGatewayInterface) GetSwitchScope() types.EScope
- func (o *MobileGatewayInterface) GetUpstreamType() types.EUpstreamNetworkType
- func (o *MobileGatewayInterface) GetUserIPAddress() string
- func (o *MobileGatewayInterface) GetUserSubnetDefaultRoute() string
- func (o *MobileGatewayInterface) GetUserSubnetNetworkMaskLen() int
- func (o *MobileGatewayInterface) SetHostName(v string)
- func (o *MobileGatewayInterface) SetID(v types.ID)
- func (o *MobileGatewayInterface) SetIPAddress(v string)
- func (o *MobileGatewayInterface) SetIndex(v int)
- func (o *MobileGatewayInterface) SetInt64ID(id int64)
- func (o *MobileGatewayInterface) SetMACAddress(v string)
- func (o *MobileGatewayInterface) SetPacketFilterID(v types.ID)
- func (o *MobileGatewayInterface) SetPacketFilterName(v string)
- func (o *MobileGatewayInterface) SetPacketFilterRequiredHostVersion(v types.StringNumber)
- func (o *MobileGatewayInterface) SetStringID(id string)
- func (o *MobileGatewayInterface) SetSubnetBandWidthMbps(v int)
- func (o *MobileGatewayInterface) SetSubnetDefaultRoute(v string)
- func (o *MobileGatewayInterface) SetSubnetNetworkAddress(v string)
- func (o *MobileGatewayInterface) SetSubnetNetworkMaskLen(v int)
- func (o *MobileGatewayInterface) SetSwitchID(v types.ID)
- func (o *MobileGatewayInterface) SetSwitchName(v string)
- func (o *MobileGatewayInterface) SetSwitchScope(v types.EScope)
- func (o *MobileGatewayInterface) SetUpstreamType(v types.EUpstreamNetworkType)
- func (o *MobileGatewayInterface) SetUserIPAddress(v string)
- func (o *MobileGatewayInterface) SetUserSubnetDefaultRoute(v string)
- func (o *MobileGatewayInterface) SetUserSubnetNetworkMaskLen(v int)
- type MobileGatewayInterfaceSetting
- func (o *MobileGatewayInterfaceSetting) GetIPAddress() []string
- func (o *MobileGatewayInterfaceSetting) GetIndex() int
- func (o *MobileGatewayInterfaceSetting) GetNetworkMaskLen() int
- func (o *MobileGatewayInterfaceSetting) SetIPAddress(v []string)
- func (o *MobileGatewayInterfaceSetting) SetIndex(v int)
- func (o *MobileGatewayInterfaceSetting) SetNetworkMaskLen(v int)
- type MobileGatewayOp
- func (o *MobileGatewayOp) AddSIM(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
- func (o *MobileGatewayOp) Create(ctx context.Context, zone string, param *MobileGatewayCreateRequest) (*MobileGateway, error)
- func (o *MobileGatewayOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) DeleteSIM(ctx context.Context, zone string, id types.ID, simID types.ID) error
- func (o *MobileGatewayOp) DeleteTrafficConfig(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*MobileGatewayFindResult, error)
- func (o *MobileGatewayOp) GetDNS(ctx context.Context, zone string, id types.ID) (*MobileGatewayDNSSetting, error)
- func (o *MobileGatewayOp) GetSIMRoutes(ctx context.Context, zone string, id types.ID) (MobileGatewaySIMRoutes, error)
- func (o *MobileGatewayOp) GetTrafficConfig(ctx context.Context, zone string, id types.ID) (*MobileGatewayTrafficControl, error)
- func (o *MobileGatewayOp) ListSIM(ctx context.Context, zone string, id types.ID) (MobileGatewaySIMs, error)
- func (o *MobileGatewayOp) Logs(ctx context.Context, zone string, id types.ID) ([]*MobileGatewaySIMLogs, error)
- func (o *MobileGatewayOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, ...) (*InterfaceActivity, error)
- func (o *MobileGatewayOp) Read(ctx context.Context, zone string, id types.ID) (*MobileGateway, error)
- func (o *MobileGatewayOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *MobileGatewayOp) SetDNS(ctx context.Context, zone string, id types.ID, param *MobileGatewayDNSSetting) error
- func (o *MobileGatewayOp) SetSIMRoutes(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) SetTrafficConfig(ctx context.Context, zone string, id types.ID, ...) error
- func (o *MobileGatewayOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
- func (o *MobileGatewayOp) TrafficStatus(ctx context.Context, zone string, id types.ID) (*MobileGatewayTrafficStatus, error)
- func (o *MobileGatewayOp) Update(ctx context.Context, zone string, id types.ID, ...) (*MobileGateway, error)
- func (o *MobileGatewayOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*MobileGateway, error)
- type MobileGatewaySIMInfo
- func (o *MobileGatewaySIMInfo) GetActivated() bool
- func (o *MobileGatewaySIMInfo) GetActivatedDate() time.Time
- func (o *MobileGatewaySIMInfo) GetConnectedIMEI() string
- func (o *MobileGatewaySIMInfo) GetDeactivatedDate() time.Time
- func (o *MobileGatewaySIMInfo) GetICCID() string
- func (o *MobileGatewaySIMInfo) GetIMEI() string
- func (o *MobileGatewaySIMInfo) GetIMEILock() bool
- func (o *MobileGatewaySIMInfo) GetIMSI() []string
- func (o *MobileGatewaySIMInfo) GetIP() string
- func (o *MobileGatewaySIMInfo) GetRegistered() bool
- func (o *MobileGatewaySIMInfo) GetRegisteredDate() time.Time
- func (o *MobileGatewaySIMInfo) GetResourceID() string
- func (o *MobileGatewaySIMInfo) GetSIMGroupID() string
- func (o *MobileGatewaySIMInfo) GetSessionStatus() string
- func (o *MobileGatewaySIMInfo) GetTrafficBytesOfCurrentMonth() *SIMTrafficBytes
- func (o *MobileGatewaySIMInfo) SetActivated(v bool)
- func (o *MobileGatewaySIMInfo) SetActivatedDate(v time.Time)
- func (o *MobileGatewaySIMInfo) SetConnectedIMEI(v string)
- func (o *MobileGatewaySIMInfo) SetDeactivatedDate(v time.Time)
- func (o *MobileGatewaySIMInfo) SetICCID(v string)
- func (o *MobileGatewaySIMInfo) SetIMEI(v string)
- func (o *MobileGatewaySIMInfo) SetIMEILock(v bool)
- func (o *MobileGatewaySIMInfo) SetIMSI(v []string)
- func (o *MobileGatewaySIMInfo) SetIP(v string)
- func (o *MobileGatewaySIMInfo) SetRegistered(v bool)
- func (o *MobileGatewaySIMInfo) SetRegisteredDate(v time.Time)
- func (o *MobileGatewaySIMInfo) SetResourceID(v string)
- func (o *MobileGatewaySIMInfo) SetSIMGroupID(v string)
- func (o *MobileGatewaySIMInfo) SetSessionStatus(v string)
- func (o *MobileGatewaySIMInfo) SetTrafficBytesOfCurrentMonth(v *SIMTrafficBytes)
- type MobileGatewaySIMLogs
- func (o *MobileGatewaySIMLogs) GetDate() time.Time
- func (o *MobileGatewaySIMLogs) GetIMEI() string
- func (o *MobileGatewaySIMLogs) GetIMSI() string
- func (o *MobileGatewaySIMLogs) GetResourceID() string
- func (o *MobileGatewaySIMLogs) GetSessionStatus() string
- func (o *MobileGatewaySIMLogs) SetDate(v time.Time)
- func (o *MobileGatewaySIMLogs) SetIMEI(v string)
- func (o *MobileGatewaySIMLogs) SetIMSI(v string)
- func (o *MobileGatewaySIMLogs) SetResourceID(v string)
- func (o *MobileGatewaySIMLogs) SetSessionStatus(v string)
- type MobileGatewaySIMRoute
- func (o *MobileGatewaySIMRoute) GetICCID() string
- func (o *MobileGatewaySIMRoute) GetPrefix() string
- func (o *MobileGatewaySIMRoute) GetResourceID() string
- func (o *MobileGatewaySIMRoute) SetICCID(v string)
- func (o *MobileGatewaySIMRoute) SetPrefix(v string)
- func (o *MobileGatewaySIMRoute) SetResourceID(v string)
- type MobileGatewaySIMRouteParam
- type MobileGatewaySIMRoutes
- func (o *MobileGatewaySIMRoutes) Add(route *MobileGatewaySIMRoute) error
- func (o *MobileGatewaySIMRoutes) Delete(resourceID types.ID) error
- func (o *MobileGatewaySIMRoutes) Exists(resourceID types.ID) bool
- func (o *MobileGatewaySIMRoutes) FindByID(resourceID types.ID) *MobileGatewaySIMRoute
- func (o *MobileGatewaySIMRoutes) ToRequestParameter() []*MobileGatewaySIMRouteParam
- func (o *MobileGatewaySIMRoutes) Update(route *MobileGatewaySIMRoute) error
- type MobileGatewaySIMs
- type MobileGatewayStaticRoute
- type MobileGatewayTrafficControl
- func (o *MobileGatewayTrafficControl) GetAutoTrafficShaping() bool
- func (o *MobileGatewayTrafficControl) GetBandWidthLimitInKbps() int
- func (o *MobileGatewayTrafficControl) GetEmailNotifyEnabled() bool
- func (o *MobileGatewayTrafficControl) GetSlackNotifyEnabled() bool
- func (o *MobileGatewayTrafficControl) GetSlackNotifyWebhooksURL() string
- func (o *MobileGatewayTrafficControl) GetTrafficQuotaInMB() int
- func (o *MobileGatewayTrafficControl) SetAutoTrafficShaping(v bool)
- func (o *MobileGatewayTrafficControl) SetBandWidthLimitInKbps(v int)
- func (o *MobileGatewayTrafficControl) SetEmailNotifyEnabled(v bool)
- func (o *MobileGatewayTrafficControl) SetSlackNotifyEnabled(v bool)
- func (o *MobileGatewayTrafficControl) SetSlackNotifyWebhooksURL(v string)
- func (o *MobileGatewayTrafficControl) SetTrafficQuotaInMB(v int)
- type MobileGatewayTrafficStatus
- func (o *MobileGatewayTrafficStatus) GetDownlinkBytes() types.StringNumber
- func (o *MobileGatewayTrafficStatus) GetTrafficShaping() bool
- func (o *MobileGatewayTrafficStatus) GetUplinkBytes() types.StringNumber
- func (o *MobileGatewayTrafficStatus) SetDownlinkBytes(v types.StringNumber)
- func (o *MobileGatewayTrafficStatus) SetTrafficShaping(v bool)
- func (o *MobileGatewayTrafficStatus) SetUplinkBytes(v types.StringNumber)
- type MobileGatewayUpdateRequest
- func (o *MobileGatewayUpdateRequest) AppendTag(tag string)
- func (o *MobileGatewayUpdateRequest) ClearTags()
- func (o *MobileGatewayUpdateRequest) GetDescription() string
- func (o *MobileGatewayUpdateRequest) GetIconID() types.ID
- func (o *MobileGatewayUpdateRequest) GetInterDeviceCommunicationEnabled() types.StringFlag
- func (o *MobileGatewayUpdateRequest) GetInterfaceSettings() []*MobileGatewayInterfaceSetting
- func (o *MobileGatewayUpdateRequest) GetInternetConnectionEnabled() types.StringFlag
- func (o *MobileGatewayUpdateRequest) GetName() string
- func (o *MobileGatewayUpdateRequest) GetSettingsHash() string
- func (o *MobileGatewayUpdateRequest) GetStaticRoutes() []*MobileGatewayStaticRoute
- func (o *MobileGatewayUpdateRequest) GetTags() types.Tags
- func (o *MobileGatewayUpdateRequest) HasTag(tag string) bool
- func (o *MobileGatewayUpdateRequest) RemoveTag(tag string)
- func (o *MobileGatewayUpdateRequest) SetDescription(v string)
- func (o *MobileGatewayUpdateRequest) SetIconID(v types.ID)
- func (o *MobileGatewayUpdateRequest) SetInterDeviceCommunicationEnabled(v types.StringFlag)
- func (o *MobileGatewayUpdateRequest) SetInterfaceSettings(v []*MobileGatewayInterfaceSetting)
- func (o *MobileGatewayUpdateRequest) SetInternetConnectionEnabled(v types.StringFlag)
- func (o *MobileGatewayUpdateRequest) SetName(v string)
- func (o *MobileGatewayUpdateRequest) SetSettingsHash(v string)
- func (o *MobileGatewayUpdateRequest) SetStaticRoutes(v []*MobileGatewayStaticRoute)
- func (o *MobileGatewayUpdateRequest) SetTags(v types.Tags)
- type MobileGatewayUpdateSettingsRequest
- func (o *MobileGatewayUpdateSettingsRequest) GetInterDeviceCommunicationEnabled() types.StringFlag
- func (o *MobileGatewayUpdateSettingsRequest) GetInterfaceSettings() []*MobileGatewayInterfaceSetting
- func (o *MobileGatewayUpdateSettingsRequest) GetInternetConnectionEnabled() types.StringFlag
- func (o *MobileGatewayUpdateSettingsRequest) GetSettingsHash() string
- func (o *MobileGatewayUpdateSettingsRequest) GetStaticRoutes() []*MobileGatewayStaticRoute
- func (o *MobileGatewayUpdateSettingsRequest) SetInterDeviceCommunicationEnabled(v types.StringFlag)
- func (o *MobileGatewayUpdateSettingsRequest) SetInterfaceSettings(v []*MobileGatewayInterfaceSetting)
- func (o *MobileGatewayUpdateSettingsRequest) SetInternetConnectionEnabled(v types.StringFlag)
- func (o *MobileGatewayUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *MobileGatewayUpdateSettingsRequest) SetStaticRoutes(v []*MobileGatewayStaticRoute)
- type MonitorCPUTimeValue
- type MonitorCondition
- type MonitorConnectionValue
- func (o *MonitorConnectionValue) GetActiveConnections() float64
- func (o *MonitorConnectionValue) GetConnectionsPerSec() float64
- func (o *MonitorConnectionValue) GetTime() time.Time
- func (o *MonitorConnectionValue) SetActiveConnections(v float64)
- func (o *MonitorConnectionValue) SetConnectionsPerSec(v float64)
- func (o *MonitorConnectionValue) SetTime(v time.Time)
- type MonitorDatabaseValue
- func (o *MonitorDatabaseValue) GetBinlogUsedSizeKiB() float64
- func (o *MonitorDatabaseValue) GetDelayTimeSec() float64
- func (o *MonitorDatabaseValue) GetTime() time.Time
- func (o *MonitorDatabaseValue) GetTotalDisk1Size() float64
- func (o *MonitorDatabaseValue) GetTotalDisk2Size() float64
- func (o *MonitorDatabaseValue) GetTotalMemorySize() float64
- func (o *MonitorDatabaseValue) GetUsedDisk1Size() float64
- func (o *MonitorDatabaseValue) GetUsedDisk2Size() float64
- func (o *MonitorDatabaseValue) GetUsedMemorySize() float64
- func (o *MonitorDatabaseValue) SetBinlogUsedSizeKiB(v float64)
- func (o *MonitorDatabaseValue) SetDelayTimeSec(v float64)
- func (o *MonitorDatabaseValue) SetTime(v time.Time)
- func (o *MonitorDatabaseValue) SetTotalDisk1Size(v float64)
- func (o *MonitorDatabaseValue) SetTotalDisk2Size(v float64)
- func (o *MonitorDatabaseValue) SetTotalMemorySize(v float64)
- func (o *MonitorDatabaseValue) SetUsedDisk1Size(v float64)
- func (o *MonitorDatabaseValue) SetUsedDisk2Size(v float64)
- func (o *MonitorDatabaseValue) SetUsedMemorySize(v float64)
- type MonitorDiskValue
- type MonitorFreeDiskSizeValue
- type MonitorInterfaceValue
- func (o *MonitorInterfaceValue) GetReceive() float64
- func (o *MonitorInterfaceValue) GetSend() float64
- func (o *MonitorInterfaceValue) GetTime() time.Time
- func (o *MonitorInterfaceValue) SetReceive(v float64)
- func (o *MonitorInterfaceValue) SetSend(v float64)
- func (o *MonitorInterfaceValue) SetTime(v time.Time)
- type MonitorLinkValue
- func (o *MonitorLinkValue) GetDownlinkBPS() float64
- func (o *MonitorLinkValue) GetTime() time.Time
- func (o *MonitorLinkValue) GetUplinkBPS() float64
- func (o *MonitorLinkValue) SetDownlinkBPS(v float64)
- func (o *MonitorLinkValue) SetTime(v time.Time)
- func (o *MonitorLinkValue) SetUplinkBPS(v float64)
- type MonitorLocalRouterValue
- func (o *MonitorLocalRouterValue) GetReceiveBytesPerSec() float64
- func (o *MonitorLocalRouterValue) GetSendBytesPerSec() float64
- func (o *MonitorLocalRouterValue) GetTime() time.Time
- func (o *MonitorLocalRouterValue) SetReceiveBytesPerSec(v float64)
- func (o *MonitorLocalRouterValue) SetSendBytesPerSec(v float64)
- func (o *MonitorLocalRouterValue) SetTime(v time.Time)
- type MonitorResponseTimeSecValue
- type MonitorRouterValue
- type NFS
- func (o *NFS) AppendTag(tag string)
- func (o *NFS) ClearTags()
- func (o *NFS) GetAvailability() types.EAvailability
- func (o *NFS) GetClass() string
- func (o *NFS) GetCreatedAt() time.Time
- func (o *NFS) GetDefaultRoute() string
- func (o *NFS) GetDescription() string
- func (o *NFS) GetID() types.ID
- func (o *NFS) GetIPAddresses() []string
- func (o *NFS) GetIconID() types.ID
- func (o *NFS) GetInstanceHostInfoURL() string
- func (o *NFS) GetInstanceHostName() string
- func (o *NFS) GetInstanceStatus() types.EServerInstanceStatus
- func (o *NFS) GetInstanceStatusChangedAt() time.Time
- func (o *NFS) GetInt64ID() int64
- func (o *NFS) GetInterfaces() []*InterfaceView
- func (o *NFS) GetModifiedAt() time.Time
- func (o *NFS) GetName() string
- func (o *NFS) GetNetworkMaskLen() int
- func (o *NFS) GetPlanID() types.ID
- func (o *NFS) GetStringID() string
- func (o *NFS) GetSwitchID() types.ID
- func (o *NFS) GetSwitchName() string
- func (o *NFS) GetTags() types.Tags
- func (o *NFS) GetZoneID() types.ID
- func (o *NFS) HasTag(tag string) bool
- func (o *NFS) RemoveTag(tag string)
- func (o *NFS) SetAvailability(v types.EAvailability)
- func (o *NFS) SetClass(v string)
- func (o *NFS) SetCreatedAt(v time.Time)
- func (o *NFS) SetDefaultRoute(v string)
- func (o *NFS) SetDescription(v string)
- func (o *NFS) SetID(v types.ID)
- func (o *NFS) SetIPAddresses(v []string)
- func (o *NFS) SetIconID(v types.ID)
- func (o *NFS) SetInstanceHostInfoURL(v string)
- func (o *NFS) SetInstanceHostName(v string)
- func (o *NFS) SetInstanceStatus(v types.EServerInstanceStatus)
- func (o *NFS) SetInstanceStatusChangedAt(v time.Time)
- func (o *NFS) SetInt64ID(id int64)
- func (o *NFS) SetInterfaces(v []*InterfaceView)
- func (o *NFS) SetModifiedAt(v time.Time)
- func (o *NFS) SetName(v string)
- func (o *NFS) SetNetworkMaskLen(v int)
- func (o *NFS) SetPlanID(v types.ID)
- func (o *NFS) SetStringID(id string)
- func (o *NFS) SetSwitchID(v types.ID)
- func (o *NFS) SetSwitchName(v string)
- func (o *NFS) SetTags(v types.Tags)
- func (o *NFS) SetZoneID(v types.ID)
- type NFSAPI
- type NFSCreateRequest
- func (o *NFSCreateRequest) AppendTag(tag string)
- func (o *NFSCreateRequest) ClearTags()
- func (o *NFSCreateRequest) GetDefaultRoute() string
- func (o *NFSCreateRequest) GetDescription() string
- func (o *NFSCreateRequest) GetIPAddresses() []string
- func (o *NFSCreateRequest) GetIconID() types.ID
- func (o *NFSCreateRequest) GetName() string
- func (o *NFSCreateRequest) GetNetworkMaskLen() int
- func (o *NFSCreateRequest) GetPlanID() types.ID
- func (o *NFSCreateRequest) GetSwitchID() types.ID
- func (o *NFSCreateRequest) GetTags() types.Tags
- func (o *NFSCreateRequest) HasTag(tag string) bool
- func (o *NFSCreateRequest) RemoveTag(tag string)
- func (o *NFSCreateRequest) SetDefaultRoute(v string)
- func (o *NFSCreateRequest) SetDescription(v string)
- func (o *NFSCreateRequest) SetIPAddresses(v []string)
- func (o *NFSCreateRequest) SetIconID(v types.ID)
- func (o *NFSCreateRequest) SetName(v string)
- func (o *NFSCreateRequest) SetNetworkMaskLen(v int)
- func (o *NFSCreateRequest) SetPlanID(v types.ID)
- func (o *NFSCreateRequest) SetSwitchID(v types.ID)
- func (o *NFSCreateRequest) SetTags(v types.Tags)
- type NFSFindResult
- type NFSOp
- func (o *NFSOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *NFSOp) Create(ctx context.Context, zone string, param *NFSCreateRequest) (*NFS, error)
- func (o *NFSOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *NFSOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*NFSFindResult, error)
- func (o *NFSOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
- func (o *NFSOp) MonitorFreeDiskSize(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*FreeDiskSizeActivity, error)
- func (o *NFSOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
- func (o *NFSOp) Read(ctx context.Context, zone string, id types.ID) (*NFS, error)
- func (o *NFSOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *NFSOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
- func (o *NFSOp) Update(ctx context.Context, zone string, id types.ID, param *NFSUpdateRequest) (*NFS, error)
- type NFSUpdateRequest
- func (o *NFSUpdateRequest) AppendTag(tag string)
- func (o *NFSUpdateRequest) ClearTags()
- func (o *NFSUpdateRequest) GetDescription() string
- func (o *NFSUpdateRequest) GetIconID() types.ID
- func (o *NFSUpdateRequest) GetName() string
- func (o *NFSUpdateRequest) GetTags() types.Tags
- func (o *NFSUpdateRequest) HasTag(tag string) bool
- func (o *NFSUpdateRequest) RemoveTag(tag string)
- func (o *NFSUpdateRequest) SetDescription(v string)
- func (o *NFSUpdateRequest) SetIconID(v types.ID)
- func (o *NFSUpdateRequest) SetName(v string)
- func (o *NFSUpdateRequest) SetTags(v types.Tags)
- type NoResultsError
- type Note
- func (o *Note) AppendTag(tag string)
- func (o *Note) ClearTags()
- func (o *Note) GetAvailability() types.EAvailability
- func (o *Note) GetClass() string
- func (o *Note) GetContent() string
- func (o *Note) GetCreatedAt() time.Time
- func (o *Note) GetDescription() string
- func (o *Note) GetID() types.ID
- func (o *Note) GetIconID() types.ID
- func (o *Note) GetInt64ID() int64
- func (o *Note) GetModifiedAt() time.Time
- func (o *Note) GetName() string
- func (o *Note) GetScope() types.EScope
- func (o *Note) GetStringID() string
- func (o *Note) GetTags() types.Tags
- func (o *Note) HasTag(tag string) bool
- func (o *Note) RemoveTag(tag string)
- func (o *Note) SetAvailability(v types.EAvailability)
- func (o *Note) SetClass(v string)
- func (o *Note) SetContent(v string)
- func (o *Note) SetCreatedAt(v time.Time)
- func (o *Note) SetDescription(v string)
- func (o *Note) SetID(v types.ID)
- func (o *Note) SetIconID(v types.ID)
- func (o *Note) SetInt64ID(id int64)
- func (o *Note) SetModifiedAt(v time.Time)
- func (o *Note) SetName(v string)
- func (o *Note) SetScope(v types.EScope)
- func (o *Note) SetStringID(id string)
- func (o *Note) SetTags(v types.Tags)
- type NoteAPI
- type NoteCreateRequest
- func (o *NoteCreateRequest) AppendTag(tag string)
- func (o *NoteCreateRequest) ClearTags()
- func (o *NoteCreateRequest) GetClass() string
- func (o *NoteCreateRequest) GetContent() string
- func (o *NoteCreateRequest) GetIconID() types.ID
- func (o *NoteCreateRequest) GetName() string
- func (o *NoteCreateRequest) GetTags() types.Tags
- func (o *NoteCreateRequest) HasTag(tag string) bool
- func (o *NoteCreateRequest) RemoveTag(tag string)
- func (o *NoteCreateRequest) SetClass(v string)
- func (o *NoteCreateRequest) SetContent(v string)
- func (o *NoteCreateRequest) SetIconID(v types.ID)
- func (o *NoteCreateRequest) SetName(v string)
- func (o *NoteCreateRequest) SetTags(v types.Tags)
- type NoteFindResult
- type NoteOp
- func (o *NoteOp) Create(ctx context.Context, param *NoteCreateRequest) (*Note, error)
- func (o *NoteOp) Delete(ctx context.Context, id types.ID) error
- func (o *NoteOp) Find(ctx context.Context, conditions *FindCondition) (*NoteFindResult, error)
- func (o *NoteOp) Read(ctx context.Context, id types.ID) (*Note, error)
- func (o *NoteOp) Update(ctx context.Context, id types.ID, param *NoteUpdateRequest) (*Note, error)
- type NoteUpdateRequest
- func (o *NoteUpdateRequest) AppendTag(tag string)
- func (o *NoteUpdateRequest) ClearTags()
- func (o *NoteUpdateRequest) GetClass() string
- func (o *NoteUpdateRequest) GetContent() string
- func (o *NoteUpdateRequest) GetIconID() types.ID
- func (o *NoteUpdateRequest) GetName() string
- func (o *NoteUpdateRequest) GetTags() types.Tags
- func (o *NoteUpdateRequest) HasTag(tag string) bool
- func (o *NoteUpdateRequest) RemoveTag(tag string)
- func (o *NoteUpdateRequest) SetClass(v string)
- func (o *NoteUpdateRequest) SetContent(v string)
- func (o *NoteUpdateRequest) SetIconID(v types.ID)
- func (o *NoteUpdateRequest) SetName(v string)
- func (o *NoteUpdateRequest) SetTags(v types.Tags)
- type OpenFTPRequest
- type PacketFilter
- func (o *PacketFilter) GetCreatedAt() time.Time
- func (o *PacketFilter) GetDescription() string
- func (o *PacketFilter) GetExpression() []*PacketFilterExpression
- func (o *PacketFilter) GetExpressionHash() string
- func (o *PacketFilter) GetID() types.ID
- func (o *PacketFilter) GetInt64ID() int64
- func (o *PacketFilter) GetName() string
- func (o *PacketFilter) GetRequiredHostVersion() types.StringNumber
- func (o *PacketFilter) GetStringID() string
- func (o *PacketFilter) SetCreatedAt(v time.Time)
- func (o *PacketFilter) SetDescription(v string)
- func (o *PacketFilter) SetExpression(v []*PacketFilterExpression)
- func (o *PacketFilter) SetExpressionHash(v string)
- func (o *PacketFilter) SetID(v types.ID)
- func (o *PacketFilter) SetInt64ID(id int64)
- func (o *PacketFilter) SetName(v string)
- func (o *PacketFilter) SetRequiredHostVersion(v types.StringNumber)
- func (o *PacketFilter) SetStringID(id string)
- type PacketFilterAPI
- type PacketFilterCreateRequest
- func (o *PacketFilterCreateRequest) GetDescription() string
- func (o *PacketFilterCreateRequest) GetExpression() []*PacketFilterExpression
- func (o *PacketFilterCreateRequest) GetName() string
- func (o *PacketFilterCreateRequest) SetDescription(v string)
- func (o *PacketFilterCreateRequest) SetExpression(v []*PacketFilterExpression)
- func (o *PacketFilterCreateRequest) SetName(v string)
- type PacketFilterExpression
- func (o *PacketFilterExpression) GetAction() types.Action
- func (o *PacketFilterExpression) GetDescription() string
- func (o *PacketFilterExpression) GetDestinationPort() types.PacketFilterPort
- func (o *PacketFilterExpression) GetProtocol() types.Protocol
- func (o *PacketFilterExpression) GetSourceNetwork() types.PacketFilterNetwork
- func (o *PacketFilterExpression) GetSourcePort() types.PacketFilterPort
- func (o *PacketFilterExpression) SetAction(v types.Action)
- func (o *PacketFilterExpression) SetDescription(v string)
- func (o *PacketFilterExpression) SetDestinationPort(v types.PacketFilterPort)
- func (o *PacketFilterExpression) SetProtocol(v types.Protocol)
- func (o *PacketFilterExpression) SetSourceNetwork(v types.PacketFilterNetwork)
- func (o *PacketFilterExpression) SetSourcePort(v types.PacketFilterPort)
- type PacketFilterFindResult
- type PacketFilterOp
- func (o *PacketFilterOp) Create(ctx context.Context, zone string, param *PacketFilterCreateRequest) (*PacketFilter, error)
- func (o *PacketFilterOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *PacketFilterOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*PacketFilterFindResult, error)
- func (o *PacketFilterOp) Read(ctx context.Context, zone string, id types.ID) (*PacketFilter, error)
- func (o *PacketFilterOp) Update(ctx context.Context, zone string, id types.ID, ...) (*PacketFilter, error)
- type PacketFilterUpdateRequest
- func (o *PacketFilterUpdateRequest) GetDescription() string
- func (o *PacketFilterUpdateRequest) GetExpression() []*PacketFilterExpression
- func (o *PacketFilterUpdateRequest) GetName() string
- func (o *PacketFilterUpdateRequest) SetDescription(v string)
- func (o *PacketFilterUpdateRequest) SetExpression(v []*PacketFilterExpression)
- func (o *PacketFilterUpdateRequest) SetName(v string)
- type Price
- func (o *Price) GetBase() int
- func (o *Price) GetBasic() int
- func (o *Price) GetDaily() int
- func (o *Price) GetDocomoTraffic() int
- func (o *Price) GetHourly() int
- func (o *Price) GetKddiTraffic() int
- func (o *Price) GetMonthly() int
- func (o *Price) GetPerUse() int
- func (o *Price) GetSbTraffic() int
- func (o *Price) GetSimSheet() int
- func (o *Price) GetTraffic() int
- func (o *Price) GetZone() string
- func (o *Price) SetBase(v int)
- func (o *Price) SetBasic(v int)
- func (o *Price) SetDaily(v int)
- func (o *Price) SetDocomoTraffic(v int)
- func (o *Price) SetHourly(v int)
- func (o *Price) SetKddiTraffic(v int)
- func (o *Price) SetMonthly(v int)
- func (o *Price) SetPerUse(v int)
- func (o *Price) SetSbTraffic(v int)
- func (o *Price) SetSimSheet(v int)
- func (o *Price) SetTraffic(v int)
- func (o *Price) SetZone(v string)
- type PrivateHost
- func (o *PrivateHost) AppendTag(tag string)
- func (o *PrivateHost) ClearTags()
- func (o *PrivateHost) GetAssignedCPU() int
- func (o *PrivateHost) GetAssignedMemoryGB() int
- func (o *PrivateHost) GetAssignedMemoryMB() int
- func (o *PrivateHost) GetCPU() int
- func (o *PrivateHost) GetCreatedAt() time.Time
- func (o *PrivateHost) GetDescription() string
- func (o *PrivateHost) GetHostName() string
- func (o *PrivateHost) GetID() types.ID
- func (o *PrivateHost) GetIconID() types.ID
- func (o *PrivateHost) GetInt64ID() int64
- func (o *PrivateHost) GetMemoryGB() int
- func (o *PrivateHost) GetMemoryMB() int
- func (o *PrivateHost) GetName() string
- func (o *PrivateHost) GetPlanClass() string
- func (o *PrivateHost) GetPlanID() types.ID
- func (o *PrivateHost) GetPlanName() string
- func (o *PrivateHost) GetStringID() string
- func (o *PrivateHost) GetTags() types.Tags
- func (o *PrivateHost) HasTag(tag string) bool
- func (o *PrivateHost) RemoveTag(tag string)
- func (o *PrivateHost) SetAssignedCPU(v int)
- func (o *PrivateHost) SetAssignedMemoryGB(memory int)
- func (o *PrivateHost) SetAssignedMemoryMB(v int)
- func (o *PrivateHost) SetCPU(v int)
- func (o *PrivateHost) SetCreatedAt(v time.Time)
- func (o *PrivateHost) SetDescription(v string)
- func (o *PrivateHost) SetHostName(v string)
- func (o *PrivateHost) SetID(v types.ID)
- func (o *PrivateHost) SetIconID(v types.ID)
- func (o *PrivateHost) SetInt64ID(id int64)
- func (o *PrivateHost) SetMemoryGB(memory int)
- func (o *PrivateHost) SetMemoryMB(v int)
- func (o *PrivateHost) SetName(v string)
- func (o *PrivateHost) SetPlanClass(v string)
- func (o *PrivateHost) SetPlanID(v types.ID)
- func (o *PrivateHost) SetPlanName(v string)
- func (o *PrivateHost) SetStringID(id string)
- func (o *PrivateHost) SetTags(v types.Tags)
- type PrivateHostAPI
- type PrivateHostCreateRequest
- func (o *PrivateHostCreateRequest) AppendTag(tag string)
- func (o *PrivateHostCreateRequest) ClearTags()
- func (o *PrivateHostCreateRequest) GetDescription() string
- func (o *PrivateHostCreateRequest) GetIconID() types.ID
- func (o *PrivateHostCreateRequest) GetName() string
- func (o *PrivateHostCreateRequest) GetPlanID() types.ID
- func (o *PrivateHostCreateRequest) GetTags() types.Tags
- func (o *PrivateHostCreateRequest) HasTag(tag string) bool
- func (o *PrivateHostCreateRequest) RemoveTag(tag string)
- func (o *PrivateHostCreateRequest) SetDescription(v string)
- func (o *PrivateHostCreateRequest) SetIconID(v types.ID)
- func (o *PrivateHostCreateRequest) SetName(v string)
- func (o *PrivateHostCreateRequest) SetPlanID(v types.ID)
- func (o *PrivateHostCreateRequest) SetTags(v types.Tags)
- type PrivateHostFindResult
- type PrivateHostOp
- func (o *PrivateHostOp) Create(ctx context.Context, zone string, param *PrivateHostCreateRequest) (*PrivateHost, error)
- func (o *PrivateHostOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *PrivateHostOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*PrivateHostFindResult, error)
- func (o *PrivateHostOp) Read(ctx context.Context, zone string, id types.ID) (*PrivateHost, error)
- func (o *PrivateHostOp) Update(ctx context.Context, zone string, id types.ID, param *PrivateHostUpdateRequest) (*PrivateHost, error)
- type PrivateHostPlan
- func (o *PrivateHostPlan) GetAvailability() types.EAvailability
- func (o *PrivateHostPlan) GetCPU() int
- func (o *PrivateHostPlan) GetClass() string
- func (o *PrivateHostPlan) GetID() types.ID
- func (o *PrivateHostPlan) GetInt64ID() int64
- func (o *PrivateHostPlan) GetMemoryGB() int
- func (o *PrivateHostPlan) GetMemoryMB() int
- func (o *PrivateHostPlan) GetName() string
- func (o *PrivateHostPlan) GetStringID() string
- func (o *PrivateHostPlan) SetAvailability(v types.EAvailability)
- func (o *PrivateHostPlan) SetCPU(v int)
- func (o *PrivateHostPlan) SetClass(v string)
- func (o *PrivateHostPlan) SetID(v types.ID)
- func (o *PrivateHostPlan) SetInt64ID(id int64)
- func (o *PrivateHostPlan) SetMemoryGB(memory int)
- func (o *PrivateHostPlan) SetMemoryMB(v int)
- func (o *PrivateHostPlan) SetName(v string)
- func (o *PrivateHostPlan) SetStringID(id string)
- type PrivateHostPlanAPI
- type PrivateHostPlanFindResult
- type PrivateHostPlanOp
- type PrivateHostUpdateRequest
- func (o *PrivateHostUpdateRequest) AppendTag(tag string)
- func (o *PrivateHostUpdateRequest) ClearTags()
- func (o *PrivateHostUpdateRequest) GetDescription() string
- func (o *PrivateHostUpdateRequest) GetIconID() types.ID
- func (o *PrivateHostUpdateRequest) GetName() string
- func (o *PrivateHostUpdateRequest) GetTags() types.Tags
- func (o *PrivateHostUpdateRequest) HasTag(tag string) bool
- func (o *PrivateHostUpdateRequest) RemoveTag(tag string)
- func (o *PrivateHostUpdateRequest) SetDescription(v string)
- func (o *PrivateHostUpdateRequest) SetIconID(v types.ID)
- func (o *PrivateHostUpdateRequest) SetName(v string)
- func (o *PrivateHostUpdateRequest) SetTags(v types.Tags)
- type ProxyLB
- func (o *ProxyLB) AppendTag(tag string)
- func (o *ProxyLB) ClearTags()
- func (o *ProxyLB) GetAvailability() types.EAvailability
- func (o *ProxyLB) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
- func (o *ProxyLB) GetBindPorts() []*ProxyLBBindPort
- func (o *ProxyLB) GetCreatedAt() time.Time
- func (o *ProxyLB) GetDescription() string
- func (o *ProxyLB) GetFQDN() string
- func (o *ProxyLB) GetGzip() *ProxyLBGzip
- func (o *ProxyLB) GetHealthCheck() *ProxyLBHealthCheck
- func (o *ProxyLB) GetID() types.ID
- func (o *ProxyLB) GetIconID() types.ID
- func (o *ProxyLB) GetInt64ID() int64
- func (o *ProxyLB) GetLetsEncrypt() *ProxyLBACMESetting
- func (o *ProxyLB) GetModifiedAt() time.Time
- func (o *ProxyLB) GetName() string
- func (o *ProxyLB) GetPlan() types.EProxyLBPlan
- func (o *ProxyLB) GetProxyNetworks() []string
- func (o *ProxyLB) GetProxyProtocol() *ProxyLBProxyProtocol
- func (o *ProxyLB) GetRegion() types.EProxyLBRegion
- func (o *ProxyLB) GetRules() []*ProxyLBRule
- func (o *ProxyLB) GetServers() []*ProxyLBServer
- func (o *ProxyLB) GetSettingsHash() string
- func (o *ProxyLB) GetSorryServer() *ProxyLBSorryServer
- func (o *ProxyLB) GetStickySession() *ProxyLBStickySession
- func (o *ProxyLB) GetStringID() string
- func (o *ProxyLB) GetSyslog() *ProxyLBSyslog
- func (o *ProxyLB) GetTags() types.Tags
- func (o *ProxyLB) GetTimeout() *ProxyLBTimeout
- func (o *ProxyLB) GetUseVIPFailover() bool
- func (o *ProxyLB) GetVirtualIPAddress() string
- func (o *ProxyLB) HasTag(tag string) bool
- func (o *ProxyLB) RemoveTag(tag string)
- func (o *ProxyLB) SetAvailability(v types.EAvailability)
- func (o *ProxyLB) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
- func (o *ProxyLB) SetBindPorts(v []*ProxyLBBindPort)
- func (o *ProxyLB) SetCreatedAt(v time.Time)
- func (o *ProxyLB) SetDescription(v string)
- func (o *ProxyLB) SetFQDN(v string)
- func (o *ProxyLB) SetGzip(v *ProxyLBGzip)
- func (o *ProxyLB) SetHealthCheck(v *ProxyLBHealthCheck)
- func (o *ProxyLB) SetID(v types.ID)
- func (o *ProxyLB) SetIconID(v types.ID)
- func (o *ProxyLB) SetInt64ID(id int64)
- func (o *ProxyLB) SetLetsEncrypt(v *ProxyLBACMESetting)
- func (o *ProxyLB) SetModifiedAt(v time.Time)
- func (o *ProxyLB) SetName(v string)
- func (o *ProxyLB) SetPlan(v types.EProxyLBPlan)
- func (o *ProxyLB) SetProxyNetworks(v []string)
- func (o *ProxyLB) SetProxyProtocol(v *ProxyLBProxyProtocol)
- func (o *ProxyLB) SetRegion(v types.EProxyLBRegion)
- func (o *ProxyLB) SetRules(v []*ProxyLBRule)
- func (o *ProxyLB) SetServers(v []*ProxyLBServer)
- func (o *ProxyLB) SetSettingsHash(v string)
- func (o *ProxyLB) SetSorryServer(v *ProxyLBSorryServer)
- func (o *ProxyLB) SetStickySession(v *ProxyLBStickySession)
- func (o *ProxyLB) SetStringID(id string)
- func (o *ProxyLB) SetSyslog(v *ProxyLBSyslog)
- func (o *ProxyLB) SetTags(v types.Tags)
- func (o *ProxyLB) SetTimeout(v *ProxyLBTimeout)
- func (o *ProxyLB) SetUseVIPFailover(v bool)
- func (o *ProxyLB) SetVirtualIPAddress(v string)
- type ProxyLBACMESetting
- func (o *ProxyLBACMESetting) GetCommonName() string
- func (o *ProxyLBACMESetting) GetEnabled() bool
- func (o *ProxyLBACMESetting) GetSubjectAltNames() []string
- func (o *ProxyLBACMESetting) SetCommonName(v string)
- func (o *ProxyLBACMESetting) SetEnabled(v bool)
- func (o *ProxyLBACMESetting) SetSubjectAltNames(v []string)
- type ProxyLBAPI
- type ProxyLBAdditionalCert
- func (o *ProxyLBAdditionalCert) GetCertificateAltNames() string
- func (o *ProxyLBAdditionalCert) GetCertificateCommonName() string
- func (o *ProxyLBAdditionalCert) GetCertificateEndDate() time.Time
- func (o *ProxyLBAdditionalCert) GetIntermediateCertificate() string
- func (o *ProxyLBAdditionalCert) GetPrivateKey() string
- func (o *ProxyLBAdditionalCert) GetServerCertificate() string
- func (o *ProxyLBAdditionalCert) SetCertificateAltNames(v string)
- func (o *ProxyLBAdditionalCert) SetCertificateCommonName(v string)
- func (o *ProxyLBAdditionalCert) SetCertificateEndDate(v time.Time)
- func (o *ProxyLBAdditionalCert) SetIntermediateCertificate(v string)
- func (o *ProxyLBAdditionalCert) SetPrivateKey(v string)
- func (o *ProxyLBAdditionalCert) SetServerCertificate(v string)
- type ProxyLBBackendHttpKeepAlive
- type ProxyLBBindPort
- func (o *ProxyLBBindPort) GetAddResponseHeader() []*ProxyLBResponseHeader
- func (o *ProxyLBBindPort) GetPort() int
- func (o *ProxyLBBindPort) GetProxyMode() types.EProxyLBProxyMode
- func (o *ProxyLBBindPort) GetRedirectToHTTPS() bool
- func (o *ProxyLBBindPort) GetSSLPolicy() string
- func (o *ProxyLBBindPort) GetSupportHTTP2() bool
- func (o *ProxyLBBindPort) SetAddResponseHeader(v []*ProxyLBResponseHeader)
- func (o *ProxyLBBindPort) SetPort(v int)
- func (o *ProxyLBBindPort) SetProxyMode(v types.EProxyLBProxyMode)
- func (o *ProxyLBBindPort) SetRedirectToHTTPS(v bool)
- func (o *ProxyLBBindPort) SetSSLPolicy(v string)
- func (o *ProxyLBBindPort) SetSupportHTTP2(v bool)
- type ProxyLBCertificates
- type ProxyLBChangePlanRequest
- type ProxyLBCreateRequest
- func (o *ProxyLBCreateRequest) AppendTag(tag string)
- func (o *ProxyLBCreateRequest) ClearTags()
- func (o *ProxyLBCreateRequest) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
- func (o *ProxyLBCreateRequest) GetBindPorts() []*ProxyLBBindPort
- func (o *ProxyLBCreateRequest) GetDescription() string
- func (o *ProxyLBCreateRequest) GetGzip() *ProxyLBGzip
- func (o *ProxyLBCreateRequest) GetHealthCheck() *ProxyLBHealthCheck
- func (o *ProxyLBCreateRequest) GetIconID() types.ID
- func (o *ProxyLBCreateRequest) GetLetsEncrypt() *ProxyLBACMESetting
- func (o *ProxyLBCreateRequest) GetName() string
- func (o *ProxyLBCreateRequest) GetPlan() types.EProxyLBPlan
- func (o *ProxyLBCreateRequest) GetProxyProtocol() *ProxyLBProxyProtocol
- func (o *ProxyLBCreateRequest) GetRegion() types.EProxyLBRegion
- func (o *ProxyLBCreateRequest) GetRules() []*ProxyLBRule
- func (o *ProxyLBCreateRequest) GetServers() []*ProxyLBServer
- func (o *ProxyLBCreateRequest) GetSorryServer() *ProxyLBSorryServer
- func (o *ProxyLBCreateRequest) GetStickySession() *ProxyLBStickySession
- func (o *ProxyLBCreateRequest) GetSyslog() *ProxyLBSyslog
- func (o *ProxyLBCreateRequest) GetTags() types.Tags
- func (o *ProxyLBCreateRequest) GetTimeout() *ProxyLBTimeout
- func (o *ProxyLBCreateRequest) GetUseVIPFailover() bool
- func (o *ProxyLBCreateRequest) HasTag(tag string) bool
- func (o *ProxyLBCreateRequest) RemoveTag(tag string)
- func (o *ProxyLBCreateRequest) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
- func (o *ProxyLBCreateRequest) SetBindPorts(v []*ProxyLBBindPort)
- func (o *ProxyLBCreateRequest) SetDescription(v string)
- func (o *ProxyLBCreateRequest) SetGzip(v *ProxyLBGzip)
- func (o *ProxyLBCreateRequest) SetHealthCheck(v *ProxyLBHealthCheck)
- func (o *ProxyLBCreateRequest) SetIconID(v types.ID)
- func (o *ProxyLBCreateRequest) SetLetsEncrypt(v *ProxyLBACMESetting)
- func (o *ProxyLBCreateRequest) SetName(v string)
- func (o *ProxyLBCreateRequest) SetPlan(v types.EProxyLBPlan)
- func (o *ProxyLBCreateRequest) SetProxyProtocol(v *ProxyLBProxyProtocol)
- func (o *ProxyLBCreateRequest) SetRegion(v types.EProxyLBRegion)
- func (o *ProxyLBCreateRequest) SetRules(v []*ProxyLBRule)
- func (o *ProxyLBCreateRequest) SetServers(v []*ProxyLBServer)
- func (o *ProxyLBCreateRequest) SetSorryServer(v *ProxyLBSorryServer)
- func (o *ProxyLBCreateRequest) SetStickySession(v *ProxyLBStickySession)
- func (o *ProxyLBCreateRequest) SetSyslog(v *ProxyLBSyslog)
- func (o *ProxyLBCreateRequest) SetTags(v types.Tags)
- func (o *ProxyLBCreateRequest) SetTimeout(v *ProxyLBTimeout)
- func (o *ProxyLBCreateRequest) SetUseVIPFailover(v bool)
- type ProxyLBFindResult
- type ProxyLBGzip
- type ProxyLBHealth
- func (o *ProxyLBHealth) GetActiveConn() int
- func (o *ProxyLBHealth) GetCPS() float64
- func (o *ProxyLBHealth) GetCurrentVIP() string
- func (o *ProxyLBHealth) GetServers() []*LoadBalancerServerStatus
- func (o *ProxyLBHealth) SetActiveConn(v int)
- func (o *ProxyLBHealth) SetCPS(v float64)
- func (o *ProxyLBHealth) SetCurrentVIP(v string)
- func (o *ProxyLBHealth) SetServers(v []*LoadBalancerServerStatus)
- type ProxyLBHealthCheck
- func (o *ProxyLBHealthCheck) GetDelayLoop() int
- func (o *ProxyLBHealthCheck) GetHost() string
- func (o *ProxyLBHealthCheck) GetPath() string
- func (o *ProxyLBHealthCheck) GetProtocol() types.EProxyLBHealthCheckProtocol
- func (o *ProxyLBHealthCheck) SetDelayLoop(v int)
- func (o *ProxyLBHealthCheck) SetHost(v string)
- func (o *ProxyLBHealthCheck) SetPath(v string)
- func (o *ProxyLBHealthCheck) SetProtocol(v types.EProxyLBHealthCheckProtocol)
- type ProxyLBOp
- func (o *ProxyLBOp) ChangePlan(ctx context.Context, id types.ID, param *ProxyLBChangePlanRequest) (*ProxyLB, error)
- func (o *ProxyLBOp) Create(ctx context.Context, param *ProxyLBCreateRequest) (*ProxyLB, error)
- func (o *ProxyLBOp) Delete(ctx context.Context, id types.ID) error
- func (o *ProxyLBOp) DeleteCertificates(ctx context.Context, id types.ID) error
- func (o *ProxyLBOp) Find(ctx context.Context, conditions *FindCondition) (*ProxyLBFindResult, error)
- func (o *ProxyLBOp) GetCertificates(ctx context.Context, id types.ID) (*ProxyLBCertificates, error)
- func (o *ProxyLBOp) HealthStatus(ctx context.Context, id types.ID) (*ProxyLBHealth, error)
- func (o *ProxyLBOp) MonitorConnection(ctx context.Context, id types.ID, condition *MonitorCondition) (*ConnectionActivity, error)
- func (o *ProxyLBOp) Read(ctx context.Context, id types.ID) (*ProxyLB, error)
- func (o *ProxyLBOp) RenewLetsEncryptCert(ctx context.Context, id types.ID) error
- func (o *ProxyLBOp) SetCertificates(ctx context.Context, id types.ID, param *ProxyLBSetCertificatesRequest) (*ProxyLBCertificates, error)
- func (o *ProxyLBOp) Update(ctx context.Context, id types.ID, param *ProxyLBUpdateRequest) (*ProxyLB, error)
- func (o *ProxyLBOp) UpdateSettings(ctx context.Context, id types.ID, param *ProxyLBUpdateSettingsRequest) (*ProxyLB, error)
- type ProxyLBPrimaryCert
- func (o *ProxyLBPrimaryCert) GetCertificateAltNames() string
- func (o *ProxyLBPrimaryCert) GetCertificateCommonName() string
- func (o *ProxyLBPrimaryCert) GetCertificateEndDate() time.Time
- func (o *ProxyLBPrimaryCert) GetIntermediateCertificate() string
- func (o *ProxyLBPrimaryCert) GetPrivateKey() string
- func (o *ProxyLBPrimaryCert) GetServerCertificate() string
- func (o *ProxyLBPrimaryCert) SetCertificateAltNames(v string)
- func (o *ProxyLBPrimaryCert) SetCertificateCommonName(v string)
- func (o *ProxyLBPrimaryCert) SetCertificateEndDate(v time.Time)
- func (o *ProxyLBPrimaryCert) SetIntermediateCertificate(v string)
- func (o *ProxyLBPrimaryCert) SetPrivateKey(v string)
- func (o *ProxyLBPrimaryCert) SetServerCertificate(v string)
- type ProxyLBProxyProtocol
- type ProxyLBResponseHeader
- type ProxyLBRule
- func (o *ProxyLBRule) GetAction() types.EProxyLBRuleAction
- func (o *ProxyLBRule) GetFixedContentType() types.EProxyLBFixedContentType
- func (o *ProxyLBRule) GetFixedMessageBody() string
- func (o *ProxyLBRule) GetFixedStatusCode() types.EProxyLBFixedStatusCode
- func (o *ProxyLBRule) GetHost() string
- func (o *ProxyLBRule) GetPath() string
- func (o *ProxyLBRule) GetRedirectLocation() string
- func (o *ProxyLBRule) GetRedirectStatusCode() types.EProxyLBRedirectStatusCode
- func (o *ProxyLBRule) GetRequestHeaderName() string
- func (o *ProxyLBRule) GetRequestHeaderValue() string
- func (o *ProxyLBRule) GetRequestHeaderValueIgnoreCase() bool
- func (o *ProxyLBRule) GetRequestHeaderValueNotMatch() bool
- func (o *ProxyLBRule) GetServerGroup() string
- func (o *ProxyLBRule) GetSourceIPs() string
- func (o *ProxyLBRule) SetAction(v types.EProxyLBRuleAction)
- func (o *ProxyLBRule) SetFixedContentType(v types.EProxyLBFixedContentType)
- func (o *ProxyLBRule) SetFixedMessageBody(v string)
- func (o *ProxyLBRule) SetFixedStatusCode(v types.EProxyLBFixedStatusCode)
- func (o *ProxyLBRule) SetHost(v string)
- func (o *ProxyLBRule) SetPath(v string)
- func (o *ProxyLBRule) SetRedirectLocation(v string)
- func (o *ProxyLBRule) SetRedirectStatusCode(v types.EProxyLBRedirectStatusCode)
- func (o *ProxyLBRule) SetRequestHeaderName(v string)
- func (o *ProxyLBRule) SetRequestHeaderValue(v string)
- func (o *ProxyLBRule) SetRequestHeaderValueIgnoreCase(v bool)
- func (o *ProxyLBRule) SetRequestHeaderValueNotMatch(v bool)
- func (o *ProxyLBRule) SetServerGroup(v string)
- func (o *ProxyLBRule) SetSourceIPs(v string)
- type ProxyLBServer
- func (o *ProxyLBServer) GetEnabled() bool
- func (o *ProxyLBServer) GetIPAddress() string
- func (o *ProxyLBServer) GetPort() int
- func (o *ProxyLBServer) GetServerGroup() string
- func (o *ProxyLBServer) SetEnabled(v bool)
- func (o *ProxyLBServer) SetIPAddress(v string)
- func (o *ProxyLBServer) SetPort(v int)
- func (o *ProxyLBServer) SetServerGroup(v string)
- type ProxyLBSetCertificatesRequest
- func (o *ProxyLBSetCertificatesRequest) GetAdditionalCerts() []*ProxyLBAdditionalCert
- func (o *ProxyLBSetCertificatesRequest) GetPrimaryCerts() *ProxyLBPrimaryCert
- func (o *ProxyLBSetCertificatesRequest) SetAdditionalCerts(v []*ProxyLBAdditionalCert)
- func (o *ProxyLBSetCertificatesRequest) SetPrimaryCerts(v *ProxyLBPrimaryCert)
- type ProxyLBSorryServer
- type ProxyLBStickySession
- type ProxyLBSyslog
- type ProxyLBTimeout
- type ProxyLBUpdateRequest
- func (o *ProxyLBUpdateRequest) AppendTag(tag string)
- func (o *ProxyLBUpdateRequest) ClearTags()
- func (o *ProxyLBUpdateRequest) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
- func (o *ProxyLBUpdateRequest) GetBindPorts() []*ProxyLBBindPort
- func (o *ProxyLBUpdateRequest) GetDescription() string
- func (o *ProxyLBUpdateRequest) GetGzip() *ProxyLBGzip
- func (o *ProxyLBUpdateRequest) GetHealthCheck() *ProxyLBHealthCheck
- func (o *ProxyLBUpdateRequest) GetIconID() types.ID
- func (o *ProxyLBUpdateRequest) GetLetsEncrypt() *ProxyLBACMESetting
- func (o *ProxyLBUpdateRequest) GetName() string
- func (o *ProxyLBUpdateRequest) GetProxyProtocol() *ProxyLBProxyProtocol
- func (o *ProxyLBUpdateRequest) GetRules() []*ProxyLBRule
- func (o *ProxyLBUpdateRequest) GetServers() []*ProxyLBServer
- func (o *ProxyLBUpdateRequest) GetSettingsHash() string
- func (o *ProxyLBUpdateRequest) GetSorryServer() *ProxyLBSorryServer
- func (o *ProxyLBUpdateRequest) GetStickySession() *ProxyLBStickySession
- func (o *ProxyLBUpdateRequest) GetSyslog() *ProxyLBSyslog
- func (o *ProxyLBUpdateRequest) GetTags() types.Tags
- func (o *ProxyLBUpdateRequest) GetTimeout() *ProxyLBTimeout
- func (o *ProxyLBUpdateRequest) HasTag(tag string) bool
- func (o *ProxyLBUpdateRequest) RemoveTag(tag string)
- func (o *ProxyLBUpdateRequest) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
- func (o *ProxyLBUpdateRequest) SetBindPorts(v []*ProxyLBBindPort)
- func (o *ProxyLBUpdateRequest) SetDescription(v string)
- func (o *ProxyLBUpdateRequest) SetGzip(v *ProxyLBGzip)
- func (o *ProxyLBUpdateRequest) SetHealthCheck(v *ProxyLBHealthCheck)
- func (o *ProxyLBUpdateRequest) SetIconID(v types.ID)
- func (o *ProxyLBUpdateRequest) SetLetsEncrypt(v *ProxyLBACMESetting)
- func (o *ProxyLBUpdateRequest) SetName(v string)
- func (o *ProxyLBUpdateRequest) SetProxyProtocol(v *ProxyLBProxyProtocol)
- func (o *ProxyLBUpdateRequest) SetRules(v []*ProxyLBRule)
- func (o *ProxyLBUpdateRequest) SetServers(v []*ProxyLBServer)
- func (o *ProxyLBUpdateRequest) SetSettingsHash(v string)
- func (o *ProxyLBUpdateRequest) SetSorryServer(v *ProxyLBSorryServer)
- func (o *ProxyLBUpdateRequest) SetStickySession(v *ProxyLBStickySession)
- func (o *ProxyLBUpdateRequest) SetSyslog(v *ProxyLBSyslog)
- func (o *ProxyLBUpdateRequest) SetTags(v types.Tags)
- func (o *ProxyLBUpdateRequest) SetTimeout(v *ProxyLBTimeout)
- type ProxyLBUpdateSettingsRequest
- func (o *ProxyLBUpdateSettingsRequest) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
- func (o *ProxyLBUpdateSettingsRequest) GetBindPorts() []*ProxyLBBindPort
- func (o *ProxyLBUpdateSettingsRequest) GetGzip() *ProxyLBGzip
- func (o *ProxyLBUpdateSettingsRequest) GetHealthCheck() *ProxyLBHealthCheck
- func (o *ProxyLBUpdateSettingsRequest) GetLetsEncrypt() *ProxyLBACMESetting
- func (o *ProxyLBUpdateSettingsRequest) GetProxyProtocol() *ProxyLBProxyProtocol
- func (o *ProxyLBUpdateSettingsRequest) GetRules() []*ProxyLBRule
- func (o *ProxyLBUpdateSettingsRequest) GetServers() []*ProxyLBServer
- func (o *ProxyLBUpdateSettingsRequest) GetSettingsHash() string
- func (o *ProxyLBUpdateSettingsRequest) GetSorryServer() *ProxyLBSorryServer
- func (o *ProxyLBUpdateSettingsRequest) GetStickySession() *ProxyLBStickySession
- func (o *ProxyLBUpdateSettingsRequest) GetSyslog() *ProxyLBSyslog
- func (o *ProxyLBUpdateSettingsRequest) GetTimeout() *ProxyLBTimeout
- func (o *ProxyLBUpdateSettingsRequest) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
- func (o *ProxyLBUpdateSettingsRequest) SetBindPorts(v []*ProxyLBBindPort)
- func (o *ProxyLBUpdateSettingsRequest) SetGzip(v *ProxyLBGzip)
- func (o *ProxyLBUpdateSettingsRequest) SetHealthCheck(v *ProxyLBHealthCheck)
- func (o *ProxyLBUpdateSettingsRequest) SetLetsEncrypt(v *ProxyLBACMESetting)
- func (o *ProxyLBUpdateSettingsRequest) SetProxyProtocol(v *ProxyLBProxyProtocol)
- func (o *ProxyLBUpdateSettingsRequest) SetRules(v []*ProxyLBRule)
- func (o *ProxyLBUpdateSettingsRequest) SetServers(v []*ProxyLBServer)
- func (o *ProxyLBUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *ProxyLBUpdateSettingsRequest) SetSorryServer(v *ProxyLBSorryServer)
- func (o *ProxyLBUpdateSettingsRequest) SetStickySession(v *ProxyLBStickySession)
- func (o *ProxyLBUpdateSettingsRequest) SetSyslog(v *ProxyLBSyslog)
- func (o *ProxyLBUpdateSettingsRequest) SetTimeout(v *ProxyLBTimeout)
- type Region
- func (o *Region) GetDescription() string
- func (o *Region) GetID() types.ID
- func (o *Region) GetInt64ID() int64
- func (o *Region) GetName() string
- func (o *Region) GetNameServers() []string
- func (o *Region) GetStringID() string
- func (o *Region) SetDescription(v string)
- func (o *Region) SetID(v types.ID)
- func (o *Region) SetInt64ID(id int64)
- func (o *Region) SetName(v string)
- func (o *Region) SetNameServers(v []string)
- func (o *Region) SetStringID(id string)
- type RegionAPI
- type RegionFindResult
- type RegionOp
- type ResponseTimeSecActivity
- type RouterActivity
- type SIM
- func (o *SIM) AppendTag(tag string)
- func (o *SIM) ClearTags()
- func (o *SIM) GetAvailability() types.EAvailability
- func (o *SIM) GetClass() string
- func (o *SIM) GetCreatedAt() time.Time
- func (o *SIM) GetDescription() string
- func (o *SIM) GetICCID() string
- func (o *SIM) GetID() types.ID
- func (o *SIM) GetIconID() types.ID
- func (o *SIM) GetInfo() *SIMInfo
- func (o *SIM) GetInt64ID() int64
- func (o *SIM) GetModifiedAt() time.Time
- func (o *SIM) GetName() string
- func (o *SIM) GetStringID() string
- func (o *SIM) GetTags() types.Tags
- func (o *SIM) HasTag(tag string) bool
- func (o *SIM) RemoveTag(tag string)
- func (o *SIM) SetAvailability(v types.EAvailability)
- func (o *SIM) SetClass(v string)
- func (o *SIM) SetCreatedAt(v time.Time)
- func (o *SIM) SetDescription(v string)
- func (o *SIM) SetICCID(v string)
- func (o *SIM) SetID(v types.ID)
- func (o *SIM) SetIconID(v types.ID)
- func (o *SIM) SetInfo(v *SIMInfo)
- func (o *SIM) SetInt64ID(id int64)
- func (o *SIM) SetModifiedAt(v time.Time)
- func (o *SIM) SetName(v string)
- func (o *SIM) SetStringID(id string)
- func (o *SIM) SetTags(v types.Tags)
- type SIMAPI
- type SIMAssignIPRequest
- type SIMCreateRequest
- func (o *SIMCreateRequest) AppendTag(tag string)
- func (o *SIMCreateRequest) ClearTags()
- func (o *SIMCreateRequest) GetDescription() string
- func (o *SIMCreateRequest) GetICCID() string
- func (o *SIMCreateRequest) GetIconID() types.ID
- func (o *SIMCreateRequest) GetName() string
- func (o *SIMCreateRequest) GetPassCode() string
- func (o *SIMCreateRequest) GetTags() types.Tags
- func (o *SIMCreateRequest) HasTag(tag string) bool
- func (o *SIMCreateRequest) RemoveTag(tag string)
- func (o *SIMCreateRequest) SetDescription(v string)
- func (o *SIMCreateRequest) SetICCID(v string)
- func (o *SIMCreateRequest) SetIconID(v types.ID)
- func (o *SIMCreateRequest) SetName(v string)
- func (o *SIMCreateRequest) SetPassCode(v string)
- func (o *SIMCreateRequest) SetTags(v types.Tags)
- type SIMFindResult
- type SIMIMEILockRequest
- type SIMInfo
- func (o *SIMInfo) GetActivated() bool
- func (o *SIMInfo) GetActivatedDate() time.Time
- func (o *SIMInfo) GetConnectedIMEI() string
- func (o *SIMInfo) GetDeactivatedDate() time.Time
- func (o *SIMInfo) GetICCID() string
- func (o *SIMInfo) GetIMEI() string
- func (o *SIMInfo) GetIMEILock() bool
- func (o *SIMInfo) GetIMSI() []string
- func (o *SIMInfo) GetIP() string
- func (o *SIMInfo) GetRegistered() bool
- func (o *SIMInfo) GetRegisteredDate() time.Time
- func (o *SIMInfo) GetResourceID() string
- func (o *SIMInfo) GetSIMGroupID() string
- func (o *SIMInfo) GetSessionStatus() string
- func (o *SIMInfo) GetTrafficBytesOfCurrentMonth() *SIMTrafficBytes
- func (o *SIMInfo) SetActivated(v bool)
- func (o *SIMInfo) SetActivatedDate(v time.Time)
- func (o *SIMInfo) SetConnectedIMEI(v string)
- func (o *SIMInfo) SetDeactivatedDate(v time.Time)
- func (o *SIMInfo) SetICCID(v string)
- func (o *SIMInfo) SetIMEI(v string)
- func (o *SIMInfo) SetIMEILock(v bool)
- func (o *SIMInfo) SetIMSI(v []string)
- func (o *SIMInfo) SetIP(v string)
- func (o *SIMInfo) SetRegistered(v bool)
- func (o *SIMInfo) SetRegisteredDate(v time.Time)
- func (o *SIMInfo) SetResourceID(v string)
- func (o *SIMInfo) SetSIMGroupID(v string)
- func (o *SIMInfo) SetSessionStatus(v string)
- func (o *SIMInfo) SetTrafficBytesOfCurrentMonth(v *SIMTrafficBytes)
- type SIMLog
- func (o *SIMLog) GetDate() time.Time
- func (o *SIMLog) GetIMEI() string
- func (o *SIMLog) GetIMSI() string
- func (o *SIMLog) GetResourceID() string
- func (o *SIMLog) GetSessionStatus() string
- func (o *SIMLog) SetDate(v time.Time)
- func (o *SIMLog) SetIMEI(v string)
- func (o *SIMLog) SetIMSI(v string)
- func (o *SIMLog) SetResourceID(v string)
- func (o *SIMLog) SetSessionStatus(v string)
- type SIMLogsResult
- type SIMNetworkOperatorConfig
- func (o *SIMNetworkOperatorConfig) GetAllow() bool
- func (o *SIMNetworkOperatorConfig) GetCountryCode() string
- func (o *SIMNetworkOperatorConfig) GetName() string
- func (o *SIMNetworkOperatorConfig) SetAllow(v bool)
- func (o *SIMNetworkOperatorConfig) SetCountryCode(v string)
- func (o *SIMNetworkOperatorConfig) SetName(v string)
- type SIMOp
- func (o *SIMOp) Activate(ctx context.Context, id types.ID) error
- func (o *SIMOp) AssignIP(ctx context.Context, id types.ID, param *SIMAssignIPRequest) error
- func (o *SIMOp) ClearIP(ctx context.Context, id types.ID) error
- func (o *SIMOp) Create(ctx context.Context, param *SIMCreateRequest) (*SIM, error)
- func (o *SIMOp) Deactivate(ctx context.Context, id types.ID) error
- func (o *SIMOp) Delete(ctx context.Context, id types.ID) error
- func (o *SIMOp) Find(ctx context.Context, conditions *FindCondition) (*SIMFindResult, error)
- func (o *SIMOp) GetNetworkOperator(ctx context.Context, id types.ID) ([]*SIMNetworkOperatorConfig, error)
- func (o *SIMOp) IMEILock(ctx context.Context, id types.ID, param *SIMIMEILockRequest) error
- func (o *SIMOp) IMEIUnlock(ctx context.Context, id types.ID) error
- func (o *SIMOp) Logs(ctx context.Context, id types.ID) (*SIMLogsResult, error)
- func (o *SIMOp) MonitorSIM(ctx context.Context, id types.ID, condition *MonitorCondition) (*LinkActivity, error)
- func (o *SIMOp) Read(ctx context.Context, id types.ID) (*SIM, error)
- func (o *SIMOp) SetNetworkOperator(ctx context.Context, id types.ID, configs []*SIMNetworkOperatorConfig) error
- func (o *SIMOp) Status(ctx context.Context, id types.ID) (*SIMInfo, error)
- func (o *SIMOp) Update(ctx context.Context, id types.ID, param *SIMUpdateRequest) (*SIM, error)
- type SIMTrafficBytes
- type SIMUpdateRequest
- func (o *SIMUpdateRequest) AppendTag(tag string)
- func (o *SIMUpdateRequest) ClearTags()
- func (o *SIMUpdateRequest) GetDescription() string
- func (o *SIMUpdateRequest) GetIconID() types.ID
- func (o *SIMUpdateRequest) GetName() string
- func (o *SIMUpdateRequest) GetTags() types.Tags
- func (o *SIMUpdateRequest) HasTag(tag string) bool
- func (o *SIMUpdateRequest) RemoveTag(tag string)
- func (o *SIMUpdateRequest) SetDescription(v string)
- func (o *SIMUpdateRequest) SetIconID(v types.ID)
- func (o *SIMUpdateRequest) SetName(v string)
- func (o *SIMUpdateRequest) SetTags(v types.Tags)
- type SRVRecord
- type SSHKey
- func (o *SSHKey) GetCreatedAt() time.Time
- func (o *SSHKey) GetDescription() string
- func (o *SSHKey) GetFingerprint() string
- func (o *SSHKey) GetID() types.ID
- func (o *SSHKey) GetInt64ID() int64
- func (o *SSHKey) GetName() string
- func (o *SSHKey) GetPublicKey() string
- func (o *SSHKey) GetStringID() string
- func (o *SSHKey) SetCreatedAt(v time.Time)
- func (o *SSHKey) SetDescription(v string)
- func (o *SSHKey) SetFingerprint(v string)
- func (o *SSHKey) SetID(v types.ID)
- func (o *SSHKey) SetInt64ID(id int64)
- func (o *SSHKey) SetName(v string)
- func (o *SSHKey) SetPublicKey(v string)
- func (o *SSHKey) SetStringID(id string)
- type SSHKeyAPI
- type SSHKeyCreateRequest
- func (o *SSHKeyCreateRequest) GetDescription() string
- func (o *SSHKeyCreateRequest) GetName() string
- func (o *SSHKeyCreateRequest) GetPublicKey() string
- func (o *SSHKeyCreateRequest) SetDescription(v string)
- func (o *SSHKeyCreateRequest) SetName(v string)
- func (o *SSHKeyCreateRequest) SetPublicKey(v string)
- type SSHKeyFindResult
- type SSHKeyGenerateRequest
- func (o *SSHKeyGenerateRequest) GetDescription() string
- func (o *SSHKeyGenerateRequest) GetName() string
- func (o *SSHKeyGenerateRequest) GetPassPhrase() string
- func (o *SSHKeyGenerateRequest) SetDescription(v string)
- func (o *SSHKeyGenerateRequest) SetName(v string)
- func (o *SSHKeyGenerateRequest) SetPassPhrase(v string)
- type SSHKeyGenerated
- func (o *SSHKeyGenerated) GetCreatedAt() time.Time
- func (o *SSHKeyGenerated) GetDescription() string
- func (o *SSHKeyGenerated) GetFingerprint() string
- func (o *SSHKeyGenerated) GetID() types.ID
- func (o *SSHKeyGenerated) GetInt64ID() int64
- func (o *SSHKeyGenerated) GetName() string
- func (o *SSHKeyGenerated) GetPrivateKey() string
- func (o *SSHKeyGenerated) GetPublicKey() string
- func (o *SSHKeyGenerated) GetStringID() string
- func (o *SSHKeyGenerated) SetCreatedAt(v time.Time)
- func (o *SSHKeyGenerated) SetDescription(v string)
- func (o *SSHKeyGenerated) SetFingerprint(v string)
- func (o *SSHKeyGenerated) SetID(v types.ID)
- func (o *SSHKeyGenerated) SetInt64ID(id int64)
- func (o *SSHKeyGenerated) SetName(v string)
- func (o *SSHKeyGenerated) SetPrivateKey(v string)
- func (o *SSHKeyGenerated) SetPublicKey(v string)
- func (o *SSHKeyGenerated) SetStringID(id string)
- type SSHKeyOp
- func (o *SSHKeyOp) Create(ctx context.Context, param *SSHKeyCreateRequest) (*SSHKey, error)
- func (o *SSHKeyOp) Delete(ctx context.Context, id types.ID) error
- func (o *SSHKeyOp) Find(ctx context.Context, conditions *FindCondition) (*SSHKeyFindResult, error)
- func (o *SSHKeyOp) Generate(ctx context.Context, param *SSHKeyGenerateRequest) (*SSHKeyGenerated, error)
- func (o *SSHKeyOp) Read(ctx context.Context, id types.ID) (*SSHKey, error)
- func (o *SSHKeyOp) Update(ctx context.Context, id types.ID, param *SSHKeyUpdateRequest) (*SSHKey, error)
- type SSHKeyUpdateRequest
- type SendKeyRequest
- type Server
- func (o *Server) AppendTag(tag string)
- func (o *Server) BandWidthAt(index int) int
- func (o *Server) ClearTags()
- func (o *Server) GetAvailability() types.EAvailability
- func (o *Server) GetBundleInfo() *BundleInfo
- func (o *Server) GetCDROMID() types.ID
- func (o *Server) GetCPU() int
- func (o *Server) GetCreatedAt() time.Time
- func (o *Server) GetDescription() string
- func (o *Server) GetDisks() []*ServerConnectedDisk
- func (o *Server) GetGPU() int
- func (o *Server) GetHostName() string
- func (o *Server) GetID() types.ID
- func (o *Server) GetIconID() types.ID
- func (o *Server) GetInstanceBeforeStatus() types.EServerInstanceStatus
- func (o *Server) GetInstanceHostInfoURL() string
- func (o *Server) GetInstanceHostName() string
- func (o *Server) GetInstanceStatus() types.EServerInstanceStatus
- func (o *Server) GetInstanceStatusChangedAt() time.Time
- func (o *Server) GetInstanceWarnings() string
- func (o *Server) GetInstanceWarningsValue() int
- func (o *Server) GetInt64ID() int64
- func (o *Server) GetInterfaceDriver() types.EInterfaceDriver
- func (o *Server) GetInterfaces() []*InterfaceView
- func (o *Server) GetMemoryGB() int
- func (o *Server) GetMemoryMB() int
- func (o *Server) GetModifiedAt() time.Time
- func (o *Server) GetName() string
- func (o *Server) GetPrivateHostID() types.ID
- func (o *Server) GetPrivateHostName() string
- func (o *Server) GetServerPlanCPUModel() string
- func (o *Server) GetServerPlanCommitment() types.ECommitment
- func (o *Server) GetServerPlanGeneration() types.EPlanGeneration
- func (o *Server) GetServerPlanID() types.ID
- func (o *Server) GetServerPlanName() string
- func (o *Server) GetStringID() string
- func (o *Server) GetTags() types.Tags
- func (o *Server) GetZone() *ZoneInfo
- func (o *Server) HasTag(tag string) bool
- func (o *Server) RemoveTag(tag string)
- func (o *Server) SetAvailability(v types.EAvailability)
- func (o *Server) SetBundleInfo(v *BundleInfo)
- func (o *Server) SetCDROMID(v types.ID)
- func (o *Server) SetCPU(v int)
- func (o *Server) SetCreatedAt(v time.Time)
- func (o *Server) SetDescription(v string)
- func (o *Server) SetDisks(v []*ServerConnectedDisk)
- func (o *Server) SetGPU(v int)
- func (o *Server) SetHostName(v string)
- func (o *Server) SetID(v types.ID)
- func (o *Server) SetIconID(v types.ID)
- func (o *Server) SetInstanceBeforeStatus(v types.EServerInstanceStatus)
- func (o *Server) SetInstanceHostInfoURL(v string)
- func (o *Server) SetInstanceHostName(v string)
- func (o *Server) SetInstanceStatus(v types.EServerInstanceStatus)
- func (o *Server) SetInstanceStatusChangedAt(v time.Time)
- func (o *Server) SetInstanceWarnings(v string)
- func (o *Server) SetInstanceWarningsValue(v int)
- func (o *Server) SetInt64ID(id int64)
- func (o *Server) SetInterfaceDriver(v types.EInterfaceDriver)
- func (o *Server) SetInterfaces(v []*InterfaceView)
- func (o *Server) SetMemoryMB(v int)
- func (o *Server) SetModifiedAt(v time.Time)
- func (o *Server) SetName(v string)
- func (o *Server) SetPrivateHostID(v types.ID)
- func (o *Server) SetPrivateHostName(v string)
- func (o *Server) SetServerPlanCPUModel(v string)
- func (o *Server) SetServerPlanCommitment(v types.ECommitment)
- func (o *Server) SetServerPlanGeneration(v types.EPlanGeneration)
- func (o *Server) SetServerPlanID(v types.ID)
- func (o *Server) SetServerPlanName(v string)
- func (o *Server) SetStringID(id string)
- func (o *Server) SetTags(v types.Tags)
- func (o *Server) SetZone(v *ZoneInfo)
- type ServerAPI
- type ServerBootVariables
- type ServerChangePlanRequest
- func (o *ServerChangePlanRequest) GetCPU() int
- func (o *ServerChangePlanRequest) GetGPU() int
- func (o *ServerChangePlanRequest) GetMemoryGB() int
- func (o *ServerChangePlanRequest) GetMemoryMB() int
- func (o *ServerChangePlanRequest) GetServerPlanCPUModel() string
- func (o *ServerChangePlanRequest) GetServerPlanCommitment() types.ECommitment
- func (o *ServerChangePlanRequest) GetServerPlanGeneration() types.EPlanGeneration
- func (o *ServerChangePlanRequest) SetCPU(v int)
- func (o *ServerChangePlanRequest) SetGPU(v int)
- func (o *ServerChangePlanRequest) SetMemoryGB(memory int)
- func (o *ServerChangePlanRequest) SetMemoryMB(v int)
- func (o *ServerChangePlanRequest) SetServerPlanCPUModel(v string)
- func (o *ServerChangePlanRequest) SetServerPlanCommitment(v types.ECommitment)
- func (o *ServerChangePlanRequest) SetServerPlanGeneration(v types.EPlanGeneration)
- type ServerConnectedDisk
- func (o *ServerConnectedDisk) GetAvailability() types.EAvailability
- func (o *ServerConnectedDisk) GetConnection() types.EDiskConnection
- func (o *ServerConnectedDisk) GetConnectionOrder() int
- func (o *ServerConnectedDisk) GetDiskPlanID() types.ID
- func (o *ServerConnectedDisk) GetEncryptionAlgorithm() types.EDiskEncryptionAlgorithm
- func (o *ServerConnectedDisk) GetID() types.ID
- func (o *ServerConnectedDisk) GetInt64ID() int64
- func (o *ServerConnectedDisk) GetName() string
- func (o *ServerConnectedDisk) GetReinstallCount() int
- func (o *ServerConnectedDisk) GetSizeGB() int
- func (o *ServerConnectedDisk) GetSizeMB() int
- func (o *ServerConnectedDisk) GetStorage() *Storage
- func (o *ServerConnectedDisk) GetStringID() string
- func (o *ServerConnectedDisk) SetAvailability(v types.EAvailability)
- func (o *ServerConnectedDisk) SetConnection(v types.EDiskConnection)
- func (o *ServerConnectedDisk) SetConnectionOrder(v int)
- func (o *ServerConnectedDisk) SetDiskPlanID(v types.ID)
- func (o *ServerConnectedDisk) SetEncryptionAlgorithm(v types.EDiskEncryptionAlgorithm)
- func (o *ServerConnectedDisk) SetID(v types.ID)
- func (o *ServerConnectedDisk) SetInt64ID(id int64)
- func (o *ServerConnectedDisk) SetName(v string)
- func (o *ServerConnectedDisk) SetReinstallCount(v int)
- func (o *ServerConnectedDisk) SetSizeGB(size int)
- func (o *ServerConnectedDisk) SetSizeMB(v int)
- func (o *ServerConnectedDisk) SetStorage(v *Storage)
- func (o *ServerConnectedDisk) SetStringID(id string)
- type ServerCreateRequest
- func (o *ServerCreateRequest) AppendTag(tag string)
- func (o *ServerCreateRequest) ClearTags()
- func (o *ServerCreateRequest) GetCPU() int
- func (o *ServerCreateRequest) GetConnectedSwitches() []*ConnectedSwitch
- func (o *ServerCreateRequest) GetDescription() string
- func (o *ServerCreateRequest) GetGPU() int
- func (o *ServerCreateRequest) GetIconID() types.ID
- func (o *ServerCreateRequest) GetInterfaceDriver() types.EInterfaceDriver
- func (o *ServerCreateRequest) GetMemoryGB() int
- func (o *ServerCreateRequest) GetMemoryMB() int
- func (o *ServerCreateRequest) GetName() string
- func (o *ServerCreateRequest) GetPrivateHostID() types.ID
- func (o *ServerCreateRequest) GetServerPlanCPUModel() string
- func (o *ServerCreateRequest) GetServerPlanCommitment() types.ECommitment
- func (o *ServerCreateRequest) GetServerPlanGeneration() types.EPlanGeneration
- func (o *ServerCreateRequest) GetTags() types.Tags
- func (o *ServerCreateRequest) GetWaitDiskMigration() bool
- func (o *ServerCreateRequest) HasTag(tag string) bool
- func (o *ServerCreateRequest) RemoveTag(tag string)
- func (o *ServerCreateRequest) SetCPU(v int)
- func (o *ServerCreateRequest) SetConnectedSwitches(v []*ConnectedSwitch)
- func (o *ServerCreateRequest) SetDescription(v string)
- func (o *ServerCreateRequest) SetGPU(v int)
- func (o *ServerCreateRequest) SetIconID(v types.ID)
- func (o *ServerCreateRequest) SetInterfaceDriver(v types.EInterfaceDriver)
- func (o *ServerCreateRequest) SetMemoryMB(v int)
- func (o *ServerCreateRequest) SetName(v string)
- func (o *ServerCreateRequest) SetPrivateHostID(v types.ID)
- func (o *ServerCreateRequest) SetServerPlanCPUModel(v string)
- func (o *ServerCreateRequest) SetServerPlanCommitment(v types.ECommitment)
- func (o *ServerCreateRequest) SetServerPlanGeneration(v types.EPlanGeneration)
- func (o *ServerCreateRequest) SetTags(v types.Tags)
- func (o *ServerCreateRequest) SetWaitDiskMigration(v bool)
- type ServerDeleteWithDisksRequest
- type ServerFindResult
- type ServerOp
- func (o *ServerOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) BootWithVariables(ctx context.Context, zone string, id types.ID, param *ServerBootVariables) error
- func (o *ServerOp) ChangePlan(ctx context.Context, zone string, id types.ID, plan *ServerChangePlanRequest) (*Server, error)
- func (o *ServerOp) Create(ctx context.Context, zone string, param *ServerCreateRequest) (*Server, error)
- func (o *ServerOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) DeleteWithDisks(ctx context.Context, zone string, id types.ID, ...) error
- func (o *ServerOp) EjectCDROM(ctx context.Context, zone string, id types.ID, ejectParam *EjectCDROMRequest) error
- func (o *ServerOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*ServerFindResult, error)
- func (o *ServerOp) GetVNCProxy(ctx context.Context, zone string, id types.ID) (*VNCProxyInfo, error)
- func (o *ServerOp) InsertCDROM(ctx context.Context, zone string, id types.ID, insertParam *InsertCDROMRequest) error
- func (o *ServerOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
- func (o *ServerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
- func (o *ServerOp) Read(ctx context.Context, zone string, id types.ID) (*Server, error)
- func (o *ServerOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) SendKey(ctx context.Context, zone string, id types.ID, keyboardParam *SendKeyRequest) error
- func (o *ServerOp) SendNMI(ctx context.Context, zone string, id types.ID) error
- func (o *ServerOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
- func (o *ServerOp) Update(ctx context.Context, zone string, id types.ID, param *ServerUpdateRequest) (*Server, error)
- type ServerPlan
- func (o *ServerPlan) GetAvailability() types.EAvailability
- func (o *ServerPlan) GetCPU() int
- func (o *ServerPlan) GetCPUModel() string
- func (o *ServerPlan) GetCommitment() types.ECommitment
- func (o *ServerPlan) GetGPU() int
- func (o *ServerPlan) GetGeneration() types.EPlanGeneration
- func (o *ServerPlan) GetID() types.ID
- func (o *ServerPlan) GetInt64ID() int64
- func (o *ServerPlan) GetMemoryGB() int
- func (o *ServerPlan) GetMemoryMB() int
- func (o *ServerPlan) GetName() string
- func (o *ServerPlan) GetStringID() string
- func (o *ServerPlan) SetAvailability(v types.EAvailability)
- func (o *ServerPlan) SetCPU(v int)
- func (o *ServerPlan) SetCPUModel(v string)
- func (o *ServerPlan) SetCommitment(v types.ECommitment)
- func (o *ServerPlan) SetGPU(v int)
- func (o *ServerPlan) SetGeneration(v types.EPlanGeneration)
- func (o *ServerPlan) SetID(v types.ID)
- func (o *ServerPlan) SetInt64ID(id int64)
- func (o *ServerPlan) SetMemoryGB(memory int)
- func (o *ServerPlan) SetMemoryMB(v int)
- func (o *ServerPlan) SetName(v string)
- func (o *ServerPlan) SetStringID(id string)
- type ServerPlanAPI
- type ServerPlanFindResult
- type ServerPlanOp
- type ServerUpdateRequest
- func (o *ServerUpdateRequest) AppendTag(tag string)
- func (o *ServerUpdateRequest) ClearTags()
- func (o *ServerUpdateRequest) GetDescription() string
- func (o *ServerUpdateRequest) GetIconID() types.ID
- func (o *ServerUpdateRequest) GetInterfaceDriver() types.EInterfaceDriver
- func (o *ServerUpdateRequest) GetName() string
- func (o *ServerUpdateRequest) GetPrivateHostID() types.ID
- func (o *ServerUpdateRequest) GetTags() types.Tags
- func (o *ServerUpdateRequest) HasTag(tag string) bool
- func (o *ServerUpdateRequest) RemoveTag(tag string)
- func (o *ServerUpdateRequest) SetDescription(v string)
- func (o *ServerUpdateRequest) SetIconID(v types.ID)
- func (o *ServerUpdateRequest) SetInterfaceDriver(v types.EInterfaceDriver)
- func (o *ServerUpdateRequest) SetName(v string)
- func (o *ServerUpdateRequest) SetPrivateHostID(v types.ID)
- func (o *ServerUpdateRequest) SetTags(v types.Tags)
- type ServiceClass
- func (o *ServiceClass) GetDisplayName() string
- func (o *ServiceClass) GetID() types.ID
- func (o *ServiceClass) GetInt64ID() int64
- func (o *ServiceClass) GetIsPublic() bool
- func (o *ServiceClass) GetPrice() *Price
- func (o *ServiceClass) GetServiceClassName() string
- func (o *ServiceClass) GetServiceClassPath() string
- func (o *ServiceClass) GetStringID() string
- func (o *ServiceClass) SetDisplayName(v string)
- func (o *ServiceClass) SetID(v types.ID)
- func (o *ServiceClass) SetInt64ID(id int64)
- func (o *ServiceClass) SetIsPublic(v bool)
- func (o *ServiceClass) SetPrice(v *Price)
- func (o *ServiceClass) SetServiceClassName(v string)
- func (o *ServiceClass) SetServiceClassPath(v string)
- func (o *ServiceClass) SetStringID(id string)
- type ServiceClassAPI
- type ServiceClassFindResult
- type ServiceClassOp
- type ShutdownOption
- type SimpleMonitor
- func (o *SimpleMonitor) AppendTag(tag string)
- func (o *SimpleMonitor) ClearTags()
- func (o *SimpleMonitor) GetAvailability() types.EAvailability
- func (o *SimpleMonitor) GetClass() string
- func (o *SimpleMonitor) GetCreatedAt() time.Time
- func (o *SimpleMonitor) GetDelayLoop() int
- func (o *SimpleMonitor) GetDescription() string
- func (o *SimpleMonitor) GetEnabled() types.StringFlag
- func (o *SimpleMonitor) GetHealthCheck() *SimpleMonitorHealthCheck
- func (o *SimpleMonitor) GetID() types.ID
- func (o *SimpleMonitor) GetIconID() types.ID
- func (o *SimpleMonitor) GetInt64ID() int64
- func (o *SimpleMonitor) GetMaxCheckAttempts() int
- func (o *SimpleMonitor) GetModifiedAt() time.Time
- func (o *SimpleMonitor) GetName() string
- func (o *SimpleMonitor) GetNotifyEmailEnabled() types.StringFlag
- func (o *SimpleMonitor) GetNotifyEmailHTML() types.StringFlag
- func (o *SimpleMonitor) GetNotifyInterval() int
- func (o *SimpleMonitor) GetNotifySlackEnabled() types.StringFlag
- func (o *SimpleMonitor) GetRetryInterval() int
- func (o *SimpleMonitor) GetSettingsHash() string
- func (o *SimpleMonitor) GetSlackWebhooksURL() string
- func (o *SimpleMonitor) GetStringID() string
- func (o *SimpleMonitor) GetTags() types.Tags
- func (o *SimpleMonitor) GetTarget() string
- func (o *SimpleMonitor) GetTimeout() int
- func (o *SimpleMonitor) HasTag(tag string) bool
- func (o *SimpleMonitor) RemoveTag(tag string)
- func (o *SimpleMonitor) SetAvailability(v types.EAvailability)
- func (o *SimpleMonitor) SetClass(v string)
- func (o *SimpleMonitor) SetCreatedAt(v time.Time)
- func (o *SimpleMonitor) SetDelayLoop(v int)
- func (o *SimpleMonitor) SetDescription(v string)
- func (o *SimpleMonitor) SetEnabled(v types.StringFlag)
- func (o *SimpleMonitor) SetHealthCheck(v *SimpleMonitorHealthCheck)
- func (o *SimpleMonitor) SetID(v types.ID)
- func (o *SimpleMonitor) SetIconID(v types.ID)
- func (o *SimpleMonitor) SetInt64ID(id int64)
- func (o *SimpleMonitor) SetMaxCheckAttempts(v int)
- func (o *SimpleMonitor) SetModifiedAt(v time.Time)
- func (o *SimpleMonitor) SetName(v string)
- func (o *SimpleMonitor) SetNotifyEmailEnabled(v types.StringFlag)
- func (o *SimpleMonitor) SetNotifyEmailHTML(v types.StringFlag)
- func (o *SimpleMonitor) SetNotifyInterval(v int)
- func (o *SimpleMonitor) SetNotifySlackEnabled(v types.StringFlag)
- func (o *SimpleMonitor) SetRetryInterval(v int)
- func (o *SimpleMonitor) SetSettingsHash(v string)
- func (o *SimpleMonitor) SetSlackWebhooksURL(v string)
- func (o *SimpleMonitor) SetStringID(id string)
- func (o *SimpleMonitor) SetTags(v types.Tags)
- func (o *SimpleMonitor) SetTarget(v string)
- func (o *SimpleMonitor) SetTimeout(v int)
- type SimpleMonitorAPI
- type SimpleMonitorCreateRequest
- func (o *SimpleMonitorCreateRequest) AppendTag(tag string)
- func (o *SimpleMonitorCreateRequest) ClearTags()
- func (o *SimpleMonitorCreateRequest) GetDelayLoop() int
- func (o *SimpleMonitorCreateRequest) GetDescription() string
- func (o *SimpleMonitorCreateRequest) GetEnabled() types.StringFlag
- func (o *SimpleMonitorCreateRequest) GetHealthCheck() *SimpleMonitorHealthCheck
- func (o *SimpleMonitorCreateRequest) GetIconID() types.ID
- func (o *SimpleMonitorCreateRequest) GetMaxCheckAttempts() int
- func (o *SimpleMonitorCreateRequest) GetNotifyEmailEnabled() types.StringFlag
- func (o *SimpleMonitorCreateRequest) GetNotifyEmailHTML() types.StringFlag
- func (o *SimpleMonitorCreateRequest) GetNotifyInterval() int
- func (o *SimpleMonitorCreateRequest) GetNotifySlackEnabled() types.StringFlag
- func (o *SimpleMonitorCreateRequest) GetRetryInterval() int
- func (o *SimpleMonitorCreateRequest) GetSlackWebhooksURL() string
- func (o *SimpleMonitorCreateRequest) GetTags() types.Tags
- func (o *SimpleMonitorCreateRequest) GetTarget() string
- func (o *SimpleMonitorCreateRequest) GetTimeout() int
- func (o *SimpleMonitorCreateRequest) HasTag(tag string) bool
- func (o *SimpleMonitorCreateRequest) RemoveTag(tag string)
- func (o *SimpleMonitorCreateRequest) SetDelayLoop(v int)
- func (o *SimpleMonitorCreateRequest) SetDescription(v string)
- func (o *SimpleMonitorCreateRequest) SetEnabled(v types.StringFlag)
- func (o *SimpleMonitorCreateRequest) SetHealthCheck(v *SimpleMonitorHealthCheck)
- func (o *SimpleMonitorCreateRequest) SetIconID(v types.ID)
- func (o *SimpleMonitorCreateRequest) SetMaxCheckAttempts(v int)
- func (o *SimpleMonitorCreateRequest) SetNotifyEmailEnabled(v types.StringFlag)
- func (o *SimpleMonitorCreateRequest) SetNotifyEmailHTML(v types.StringFlag)
- func (o *SimpleMonitorCreateRequest) SetNotifyInterval(v int)
- func (o *SimpleMonitorCreateRequest) SetNotifySlackEnabled(v types.StringFlag)
- func (o *SimpleMonitorCreateRequest) SetRetryInterval(v int)
- func (o *SimpleMonitorCreateRequest) SetSlackWebhooksURL(v string)
- func (o *SimpleMonitorCreateRequest) SetTags(v types.Tags)
- func (o *SimpleMonitorCreateRequest) SetTarget(v string)
- func (o *SimpleMonitorCreateRequest) SetTimeout(v int)
- type SimpleMonitorFindResult
- type SimpleMonitorHealthCheck
- func (o *SimpleMonitorHealthCheck) GetBasicAuthPassword() string
- func (o *SimpleMonitorHealthCheck) GetBasicAuthUsername() string
- func (o *SimpleMonitorHealthCheck) GetCommunity() string
- func (o *SimpleMonitorHealthCheck) GetContainsString() string
- func (o *SimpleMonitorHealthCheck) GetExpectedData() string
- func (o *SimpleMonitorHealthCheck) GetFTPS() types.ESimpleMonitorFTPS
- func (o *SimpleMonitorHealthCheck) GetHTTP2() types.StringFlag
- func (o *SimpleMonitorHealthCheck) GetHost() string
- func (o *SimpleMonitorHealthCheck) GetOID() string
- func (o *SimpleMonitorHealthCheck) GetPath() string
- func (o *SimpleMonitorHealthCheck) GetPort() types.StringNumber
- func (o *SimpleMonitorHealthCheck) GetProtocol() types.ESimpleMonitorProtocol
- func (o *SimpleMonitorHealthCheck) GetQName() string
- func (o *SimpleMonitorHealthCheck) GetRemainingDays() int
- func (o *SimpleMonitorHealthCheck) GetSNI() types.StringFlag
- func (o *SimpleMonitorHealthCheck) GetSNMPVersion() string
- func (o *SimpleMonitorHealthCheck) GetStatus() types.StringNumber
- func (o *SimpleMonitorHealthCheck) GetVerifySNI() types.StringFlag
- func (o *SimpleMonitorHealthCheck) SetBasicAuthPassword(v string)
- func (o *SimpleMonitorHealthCheck) SetBasicAuthUsername(v string)
- func (o *SimpleMonitorHealthCheck) SetCommunity(v string)
- func (o *SimpleMonitorHealthCheck) SetContainsString(v string)
- func (o *SimpleMonitorHealthCheck) SetExpectedData(v string)
- func (o *SimpleMonitorHealthCheck) SetFTPS(v types.ESimpleMonitorFTPS)
- func (o *SimpleMonitorHealthCheck) SetHTTP2(v types.StringFlag)
- func (o *SimpleMonitorHealthCheck) SetHost(v string)
- func (o *SimpleMonitorHealthCheck) SetOID(v string)
- func (o *SimpleMonitorHealthCheck) SetPath(v string)
- func (o *SimpleMonitorHealthCheck) SetPort(v types.StringNumber)
- func (o *SimpleMonitorHealthCheck) SetProtocol(v types.ESimpleMonitorProtocol)
- func (o *SimpleMonitorHealthCheck) SetQName(v string)
- func (o *SimpleMonitorHealthCheck) SetRemainingDays(v int)
- func (o *SimpleMonitorHealthCheck) SetSNI(v types.StringFlag)
- func (o *SimpleMonitorHealthCheck) SetSNMPVersion(v string)
- func (o *SimpleMonitorHealthCheck) SetStatus(v types.StringNumber)
- func (o *SimpleMonitorHealthCheck) SetVerifySNI(v types.StringFlag)
- type SimpleMonitorHealthStatus
- func (o *SimpleMonitorHealthStatus) GetHealth() types.ESimpleMonitorHealth
- func (o *SimpleMonitorHealthStatus) GetLastCheckedAt() time.Time
- func (o *SimpleMonitorHealthStatus) GetLastHealthChangedAt() time.Time
- func (o *SimpleMonitorHealthStatus) GetLatestLogs() []string
- func (o *SimpleMonitorHealthStatus) SetHealth(v types.ESimpleMonitorHealth)
- func (o *SimpleMonitorHealthStatus) SetLastCheckedAt(v time.Time)
- func (o *SimpleMonitorHealthStatus) SetLastHealthChangedAt(v time.Time)
- func (o *SimpleMonitorHealthStatus) SetLatestLogs(v []string)
- type SimpleMonitorOp
- func (o *SimpleMonitorOp) Create(ctx context.Context, param *SimpleMonitorCreateRequest) (*SimpleMonitor, error)
- func (o *SimpleMonitorOp) Delete(ctx context.Context, id types.ID) error
- func (o *SimpleMonitorOp) Find(ctx context.Context, conditions *FindCondition) (*SimpleMonitorFindResult, error)
- func (o *SimpleMonitorOp) HealthStatus(ctx context.Context, id types.ID) (*SimpleMonitorHealthStatus, error)
- func (o *SimpleMonitorOp) MonitorResponseTime(ctx context.Context, id types.ID, condition *MonitorCondition) (*ResponseTimeSecActivity, error)
- func (o *SimpleMonitorOp) Read(ctx context.Context, id types.ID) (*SimpleMonitor, error)
- func (o *SimpleMonitorOp) Update(ctx context.Context, id types.ID, param *SimpleMonitorUpdateRequest) (*SimpleMonitor, error)
- func (o *SimpleMonitorOp) UpdateSettings(ctx context.Context, id types.ID, param *SimpleMonitorUpdateSettingsRequest) (*SimpleMonitor, error)
- type SimpleMonitorUpdateRequest
- func (o *SimpleMonitorUpdateRequest) AppendTag(tag string)
- func (o *SimpleMonitorUpdateRequest) ClearTags()
- func (o *SimpleMonitorUpdateRequest) GetDelayLoop() int
- func (o *SimpleMonitorUpdateRequest) GetDescription() string
- func (o *SimpleMonitorUpdateRequest) GetEnabled() types.StringFlag
- func (o *SimpleMonitorUpdateRequest) GetHealthCheck() *SimpleMonitorHealthCheck
- func (o *SimpleMonitorUpdateRequest) GetIconID() types.ID
- func (o *SimpleMonitorUpdateRequest) GetMaxCheckAttempts() int
- func (o *SimpleMonitorUpdateRequest) GetNotifyEmailEnabled() types.StringFlag
- func (o *SimpleMonitorUpdateRequest) GetNotifyEmailHTML() types.StringFlag
- func (o *SimpleMonitorUpdateRequest) GetNotifyInterval() int
- func (o *SimpleMonitorUpdateRequest) GetNotifySlackEnabled() types.StringFlag
- func (o *SimpleMonitorUpdateRequest) GetRetryInterval() int
- func (o *SimpleMonitorUpdateRequest) GetSettingsHash() string
- func (o *SimpleMonitorUpdateRequest) GetSlackWebhooksURL() string
- func (o *SimpleMonitorUpdateRequest) GetTags() types.Tags
- func (o *SimpleMonitorUpdateRequest) GetTimeout() int
- func (o *SimpleMonitorUpdateRequest) HasTag(tag string) bool
- func (o *SimpleMonitorUpdateRequest) RemoveTag(tag string)
- func (o *SimpleMonitorUpdateRequest) SetDelayLoop(v int)
- func (o *SimpleMonitorUpdateRequest) SetDescription(v string)
- func (o *SimpleMonitorUpdateRequest) SetEnabled(v types.StringFlag)
- func (o *SimpleMonitorUpdateRequest) SetHealthCheck(v *SimpleMonitorHealthCheck)
- func (o *SimpleMonitorUpdateRequest) SetIconID(v types.ID)
- func (o *SimpleMonitorUpdateRequest) SetMaxCheckAttempts(v int)
- func (o *SimpleMonitorUpdateRequest) SetNotifyEmailEnabled(v types.StringFlag)
- func (o *SimpleMonitorUpdateRequest) SetNotifyEmailHTML(v types.StringFlag)
- func (o *SimpleMonitorUpdateRequest) SetNotifyInterval(v int)
- func (o *SimpleMonitorUpdateRequest) SetNotifySlackEnabled(v types.StringFlag)
- func (o *SimpleMonitorUpdateRequest) SetRetryInterval(v int)
- func (o *SimpleMonitorUpdateRequest) SetSettingsHash(v string)
- func (o *SimpleMonitorUpdateRequest) SetSlackWebhooksURL(v string)
- func (o *SimpleMonitorUpdateRequest) SetTags(v types.Tags)
- func (o *SimpleMonitorUpdateRequest) SetTimeout(v int)
- type SimpleMonitorUpdateSettingsRequest
- func (o *SimpleMonitorUpdateSettingsRequest) GetDelayLoop() int
- func (o *SimpleMonitorUpdateSettingsRequest) GetEnabled() types.StringFlag
- func (o *SimpleMonitorUpdateSettingsRequest) GetHealthCheck() *SimpleMonitorHealthCheck
- func (o *SimpleMonitorUpdateSettingsRequest) GetMaxCheckAttempts() int
- func (o *SimpleMonitorUpdateSettingsRequest) GetNotifyEmailEnabled() types.StringFlag
- func (o *SimpleMonitorUpdateSettingsRequest) GetNotifyEmailHTML() types.StringFlag
- func (o *SimpleMonitorUpdateSettingsRequest) GetNotifyInterval() int
- func (o *SimpleMonitorUpdateSettingsRequest) GetNotifySlackEnabled() types.StringFlag
- func (o *SimpleMonitorUpdateSettingsRequest) GetRetryInterval() int
- func (o *SimpleMonitorUpdateSettingsRequest) GetSettingsHash() string
- func (o *SimpleMonitorUpdateSettingsRequest) GetSlackWebhooksURL() string
- func (o *SimpleMonitorUpdateSettingsRequest) GetTimeout() int
- func (o *SimpleMonitorUpdateSettingsRequest) SetDelayLoop(v int)
- func (o *SimpleMonitorUpdateSettingsRequest) SetEnabled(v types.StringFlag)
- func (o *SimpleMonitorUpdateSettingsRequest) SetHealthCheck(v *SimpleMonitorHealthCheck)
- func (o *SimpleMonitorUpdateSettingsRequest) SetMaxCheckAttempts(v int)
- func (o *SimpleMonitorUpdateSettingsRequest) SetNotifyEmailEnabled(v types.StringFlag)
- func (o *SimpleMonitorUpdateSettingsRequest) SetNotifyEmailHTML(v types.StringFlag)
- func (o *SimpleMonitorUpdateSettingsRequest) SetNotifyInterval(v int)
- func (o *SimpleMonitorUpdateSettingsRequest) SetNotifySlackEnabled(v types.StringFlag)
- func (o *SimpleMonitorUpdateSettingsRequest) SetRetryInterval(v int)
- func (o *SimpleMonitorUpdateSettingsRequest) SetSettingsHash(v string)
- func (o *SimpleMonitorUpdateSettingsRequest) SetSlackWebhooksURL(v string)
- func (o *SimpleMonitorUpdateSettingsRequest) SetTimeout(v int)
- type SourceArchiveInfo
- func (o *SourceArchiveInfo) GetAccountID() types.ID
- func (o *SourceArchiveInfo) GetID() types.ID
- func (o *SourceArchiveInfo) GetZoneID() types.ID
- func (o *SourceArchiveInfo) GetZoneName() string
- func (o *SourceArchiveInfo) SetAccountID(v types.ID)
- func (o *SourceArchiveInfo) SetID(v types.ID)
- func (o *SourceArchiveInfo) SetZoneID(v types.ID)
- func (o *SourceArchiveInfo) SetZoneName(v string)
- type StatePollingWaiter
- type Storage
- func (o *Storage) GetClass() string
- func (o *Storage) GetGeneration() int
- func (o *Storage) GetID() types.ID
- func (o *Storage) GetInt64ID() int64
- func (o *Storage) GetName() string
- func (o *Storage) GetStringID() string
- func (o *Storage) SetClass(v string)
- func (o *Storage) SetGeneration(v int)
- func (o *Storage) SetID(v types.ID)
- func (o *Storage) SetInt64ID(id int64)
- func (o *Storage) SetName(v string)
- func (o *Storage) SetStringID(id string)
- type Subnet
- func (o *Subnet) GetDefaultRoute() string
- func (o *Subnet) GetID() types.ID
- func (o *Subnet) GetIPAddresses() []*SubnetIPAddress
- func (o *Subnet) GetInt64ID() int64
- func (o *Subnet) GetInternetID() types.ID
- func (o *Subnet) GetNetworkAddress() string
- func (o *Subnet) GetNetworkMaskLen() int
- func (o *Subnet) GetNextHop() string
- func (o *Subnet) GetStaticRoute() string
- func (o *Subnet) GetStringID() string
- func (o *Subnet) GetSwitchID() types.ID
- func (o *Subnet) SetDefaultRoute(v string)
- func (o *Subnet) SetID(v types.ID)
- func (o *Subnet) SetIPAddresses(v []*SubnetIPAddress)
- func (o *Subnet) SetInt64ID(id int64)
- func (o *Subnet) SetInternetID(v types.ID)
- func (o *Subnet) SetNetworkAddress(v string)
- func (o *Subnet) SetNetworkMaskLen(v int)
- func (o *Subnet) SetNextHop(v string)
- func (o *Subnet) SetStaticRoute(v string)
- func (o *Subnet) SetStringID(id string)
- func (o *Subnet) SetSwitchID(v types.ID)
- type SubnetAPI
- type SubnetFindResult
- type SubnetIPAddress
- type SubnetOp
- type Switch
- func (o *Switch) AppendTag(tag string)
- func (o *Switch) ClearTags()
- func (o *Switch) GetBridgeID() types.ID
- func (o *Switch) GetCreatedAt() time.Time
- func (o *Switch) GetDefaultRoute() string
- func (o *Switch) GetDescription() string
- func (o *Switch) GetHybridConnectionID() types.ID
- func (o *Switch) GetID() types.ID
- func (o *Switch) GetIconID() types.ID
- func (o *Switch) GetInt64ID() int64
- func (o *Switch) GetModifiedAt() time.Time
- func (o *Switch) GetName() string
- func (o *Switch) GetNetworkMaskLen() int
- func (o *Switch) GetScope() types.EScope
- func (o *Switch) GetServerCount() int
- func (o *Switch) GetStringID() string
- func (o *Switch) GetSubnets() []*SwitchSubnet
- func (o *Switch) GetTags() types.Tags
- func (o *Switch) HasTag(tag string) bool
- func (o *Switch) RemoveTag(tag string)
- func (o *Switch) SetBridgeID(v types.ID)
- func (o *Switch) SetCreatedAt(v time.Time)
- func (o *Switch) SetDefaultRoute(v string)
- func (o *Switch) SetDescription(v string)
- func (o *Switch) SetHybridConnectionID(v types.ID)
- func (o *Switch) SetID(v types.ID)
- func (o *Switch) SetIconID(v types.ID)
- func (o *Switch) SetInt64ID(id int64)
- func (o *Switch) SetModifiedAt(v time.Time)
- func (o *Switch) SetName(v string)
- func (o *Switch) SetNetworkMaskLen(v int)
- func (o *Switch) SetScope(v types.EScope)
- func (o *Switch) SetServerCount(v int)
- func (o *Switch) SetStringID(id string)
- func (o *Switch) SetSubnets(v []*SwitchSubnet)
- func (o *Switch) SetTags(v types.Tags)
- type SwitchAPI
- type SwitchCreateRequest
- func (o *SwitchCreateRequest) AppendTag(tag string)
- func (o *SwitchCreateRequest) ClearTags()
- func (o *SwitchCreateRequest) GetDefaultRoute() string
- func (o *SwitchCreateRequest) GetDescription() string
- func (o *SwitchCreateRequest) GetIconID() types.ID
- func (o *SwitchCreateRequest) GetName() string
- func (o *SwitchCreateRequest) GetNetworkMaskLen() int
- func (o *SwitchCreateRequest) GetTags() types.Tags
- func (o *SwitchCreateRequest) HasTag(tag string) bool
- func (o *SwitchCreateRequest) RemoveTag(tag string)
- func (o *SwitchCreateRequest) SetDefaultRoute(v string)
- func (o *SwitchCreateRequest) SetDescription(v string)
- func (o *SwitchCreateRequest) SetIconID(v types.ID)
- func (o *SwitchCreateRequest) SetName(v string)
- func (o *SwitchCreateRequest) SetNetworkMaskLen(v int)
- func (o *SwitchCreateRequest) SetTags(v types.Tags)
- type SwitchFindResult
- type SwitchGetServersResult
- type SwitchInfo
- func (o *SwitchInfo) AppendTag(tag string)
- func (o *SwitchInfo) ClearTags()
- func (o *SwitchInfo) GetDescription() string
- func (o *SwitchInfo) GetID() types.ID
- func (o *SwitchInfo) GetIPv6Nets() []*IPv6NetInfo
- func (o *SwitchInfo) GetInt64ID() int64
- func (o *SwitchInfo) GetName() string
- func (o *SwitchInfo) GetScope() types.EScope
- func (o *SwitchInfo) GetStringID() string
- func (o *SwitchInfo) GetSubnets() []*InternetSubnet
- func (o *SwitchInfo) GetTags() types.Tags
- func (o *SwitchInfo) HasTag(tag string) bool
- func (o *SwitchInfo) RemoveTag(tag string)
- func (o *SwitchInfo) SetDescription(v string)
- func (o *SwitchInfo) SetID(v types.ID)
- func (o *SwitchInfo) SetIPv6Nets(v []*IPv6NetInfo)
- func (o *SwitchInfo) SetInt64ID(id int64)
- func (o *SwitchInfo) SetName(v string)
- func (o *SwitchInfo) SetScope(v types.EScope)
- func (o *SwitchInfo) SetStringID(id string)
- func (o *SwitchInfo) SetSubnets(v []*InternetSubnet)
- func (o *SwitchInfo) SetTags(v types.Tags)
- type SwitchOp
- func (o *SwitchOp) ConnectToBridge(ctx context.Context, zone string, id types.ID, bridgeID types.ID) error
- func (o *SwitchOp) Create(ctx context.Context, zone string, param *SwitchCreateRequest) (*Switch, error)
- func (o *SwitchOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *SwitchOp) DisconnectFromBridge(ctx context.Context, zone string, id types.ID) error
- func (o *SwitchOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*SwitchFindResult, error)
- func (o *SwitchOp) GetServers(ctx context.Context, zone string, id types.ID) (*SwitchGetServersResult, error)
- func (o *SwitchOp) Read(ctx context.Context, zone string, id types.ID) (*Switch, error)
- func (o *SwitchOp) Update(ctx context.Context, zone string, id types.ID, param *SwitchUpdateRequest) (*Switch, error)
- type SwitchSubnet
- func (o *SwitchSubnet) GetAssignedIPAddressMax() string
- func (o *SwitchSubnet) GetAssignedIPAddressMin() string
- func (o *SwitchSubnet) GetAssignedIPAddresses() []string
- func (o *SwitchSubnet) GetDefaultRoute() string
- func (o *SwitchSubnet) GetID() types.ID
- func (o *SwitchSubnet) GetInt64ID() int64
- func (o *SwitchSubnet) GetInternet() *Internet
- func (o *SwitchSubnet) GetNetworkAddress() string
- func (o *SwitchSubnet) GetNetworkMaskLen() int
- func (o *SwitchSubnet) GetNextHop() string
- func (o *SwitchSubnet) GetStaticRoute() string
- func (o *SwitchSubnet) GetStringID() string
- func (o *SwitchSubnet) SetAssignedIPAddressMax(v string)
- func (o *SwitchSubnet) SetAssignedIPAddressMin(v string)
- func (o *SwitchSubnet) SetDefaultRoute(v string)
- func (o *SwitchSubnet) SetID(v types.ID)
- func (o *SwitchSubnet) SetInt64ID(id int64)
- func (o *SwitchSubnet) SetInternet(v *Internet)
- func (o *SwitchSubnet) SetNetworkAddress(v string)
- func (o *SwitchSubnet) SetNetworkMaskLen(v int)
- func (o *SwitchSubnet) SetNextHop(v string)
- func (o *SwitchSubnet) SetStaticRoute(v string)
- func (o *SwitchSubnet) SetStringID(id string)
- type SwitchUpdateRequest
- func (o *SwitchUpdateRequest) AppendTag(tag string)
- func (o *SwitchUpdateRequest) ClearTags()
- func (o *SwitchUpdateRequest) GetDefaultRoute() string
- func (o *SwitchUpdateRequest) GetDescription() string
- func (o *SwitchUpdateRequest) GetIconID() types.ID
- func (o *SwitchUpdateRequest) GetName() string
- func (o *SwitchUpdateRequest) GetNetworkMaskLen() int
- func (o *SwitchUpdateRequest) GetTags() types.Tags
- func (o *SwitchUpdateRequest) HasTag(tag string) bool
- func (o *SwitchUpdateRequest) RemoveTag(tag string)
- func (o *SwitchUpdateRequest) SetDefaultRoute(v string)
- func (o *SwitchUpdateRequest) SetDescription(v string)
- func (o *SwitchUpdateRequest) SetIconID(v types.ID)
- func (o *SwitchUpdateRequest) SetName(v string)
- func (o *SwitchUpdateRequest) SetNetworkMaskLen(v int)
- func (o *SwitchUpdateRequest) SetTags(v types.Tags)
- type UnexpectedAvailabilityError
- type UnexpectedInstanceStatusError
- type VNCProxy
- type VNCProxyInfo
- func (o *VNCProxyInfo) GetHost() string
- func (o *VNCProxyInfo) GetIOServerHost() string
- func (o *VNCProxyInfo) GetPassword() string
- func (o *VNCProxyInfo) GetPort() types.StringNumber
- func (o *VNCProxyInfo) GetStatus() string
- func (o *VNCProxyInfo) GetVNCFile() string
- func (o *VNCProxyInfo) SetHost(v string)
- func (o *VNCProxyInfo) SetIOServerHost(v string)
- func (o *VNCProxyInfo) SetPassword(v string)
- func (o *VNCProxyInfo) SetPort(v types.StringNumber)
- func (o *VNCProxyInfo) SetStatus(v string)
- func (o *VNCProxyInfo) SetVNCFile(v string)
- type VPCRouter
- func (o *VPCRouter) AppendTag(tag string)
- func (o *VPCRouter) ClearTags()
- func (o *VPCRouter) GetAvailability() types.EAvailability
- func (o *VPCRouter) GetClass() string
- func (o *VPCRouter) GetCreatedAt() time.Time
- func (o *VPCRouter) GetDescription() string
- func (o *VPCRouter) GetID() types.ID
- func (o *VPCRouter) GetIconID() types.ID
- func (o *VPCRouter) GetInstanceHostInfoURL() string
- func (o *VPCRouter) GetInstanceHostName() string
- func (o *VPCRouter) GetInstanceStatus() types.EServerInstanceStatus
- func (o *VPCRouter) GetInstanceStatusChangedAt() time.Time
- func (o *VPCRouter) GetInt64ID() int64
- func (o *VPCRouter) GetInterfaces() []*VPCRouterInterface
- func (o *VPCRouter) GetName() string
- func (o *VPCRouter) GetPlanID() types.ID
- func (o *VPCRouter) GetSettings() *VPCRouterSetting
- func (o *VPCRouter) GetSettingsHash() string
- func (o *VPCRouter) GetStringID() string
- func (o *VPCRouter) GetTags() types.Tags
- func (o *VPCRouter) GetVersion() int
- func (o *VPCRouter) GetZoneID() types.ID
- func (o *VPCRouter) HasTag(tag string) bool
- func (o *VPCRouter) RemoveTag(tag string)
- func (o *VPCRouter) SetAvailability(v types.EAvailability)
- func (o *VPCRouter) SetClass(v string)
- func (o *VPCRouter) SetCreatedAt(v time.Time)
- func (o *VPCRouter) SetDescription(v string)
- func (o *VPCRouter) SetID(v types.ID)
- func (o *VPCRouter) SetIconID(v types.ID)
- func (o *VPCRouter) SetInstanceHostInfoURL(v string)
- func (o *VPCRouter) SetInstanceHostName(v string)
- func (o *VPCRouter) SetInstanceStatus(v types.EServerInstanceStatus)
- func (o *VPCRouter) SetInstanceStatusChangedAt(v time.Time)
- func (o *VPCRouter) SetInt64ID(id int64)
- func (o *VPCRouter) SetInterfaces(v []*VPCRouterInterface)
- func (o *VPCRouter) SetName(v string)
- func (o *VPCRouter) SetPlanID(v types.ID)
- func (o *VPCRouter) SetSettings(v *VPCRouterSetting)
- func (o *VPCRouter) SetSettingsHash(v string)
- func (o *VPCRouter) SetStringID(id string)
- func (o *VPCRouter) SetTags(v types.Tags)
- func (o *VPCRouter) SetVersion(v int)
- func (o *VPCRouter) SetZoneID(v types.ID)
- type VPCRouterAPI
- type VPCRouterCreateRequest
- func (o *VPCRouterCreateRequest) AppendTag(tag string)
- func (o *VPCRouterCreateRequest) ClearTags()
- func (o *VPCRouterCreateRequest) GetDescription() string
- func (o *VPCRouterCreateRequest) GetIPAddresses() []string
- func (o *VPCRouterCreateRequest) GetIconID() types.ID
- func (o *VPCRouterCreateRequest) GetName() string
- func (o *VPCRouterCreateRequest) GetPlanID() types.ID
- func (o *VPCRouterCreateRequest) GetSettings() *VPCRouterSetting
- func (o *VPCRouterCreateRequest) GetSwitch() *ApplianceConnectedSwitch
- func (o *VPCRouterCreateRequest) GetTags() types.Tags
- func (o *VPCRouterCreateRequest) GetVersion() int
- func (o *VPCRouterCreateRequest) HasTag(tag string) bool
- func (o *VPCRouterCreateRequest) RemoveTag(tag string)
- func (o *VPCRouterCreateRequest) SetDescription(v string)
- func (o *VPCRouterCreateRequest) SetIPAddresses(v []string)
- func (o *VPCRouterCreateRequest) SetIconID(v types.ID)
- func (o *VPCRouterCreateRequest) SetName(v string)
- func (o *VPCRouterCreateRequest) SetPlanID(v types.ID)
- func (o *VPCRouterCreateRequest) SetSettings(v *VPCRouterSetting)
- func (o *VPCRouterCreateRequest) SetSwitch(v *ApplianceConnectedSwitch)
- func (o *VPCRouterCreateRequest) SetTags(v types.Tags)
- func (o *VPCRouterCreateRequest) SetVersion(v int)
- type VPCRouterDHCPServer
- func (o *VPCRouterDHCPServer) GetDNSServers() []string
- func (o *VPCRouterDHCPServer) GetInterface() string
- func (o *VPCRouterDHCPServer) GetRangeStart() string
- func (o *VPCRouterDHCPServer) GetRangeStop() string
- func (o *VPCRouterDHCPServer) SetDNSServers(v []string)
- func (o *VPCRouterDHCPServer) SetInterface(v string)
- func (o *VPCRouterDHCPServer) SetRangeStart(v string)
- func (o *VPCRouterDHCPServer) SetRangeStop(v string)
- type VPCRouterDHCPServerLease
- type VPCRouterDHCPStaticMapping
- type VPCRouterDNSForwarding
- type VPCRouterFindResult
- type VPCRouterFirewall
- func (o *VPCRouterFirewall) GetIndex() int
- func (o *VPCRouterFirewall) GetReceive() []*VPCRouterFirewallRule
- func (o *VPCRouterFirewall) GetSend() []*VPCRouterFirewallRule
- func (o *VPCRouterFirewall) SetIndex(v int)
- func (o *VPCRouterFirewall) SetReceive(v []*VPCRouterFirewallRule)
- func (o *VPCRouterFirewall) SetSend(v []*VPCRouterFirewallRule)
- type VPCRouterFirewallRule
- func (o *VPCRouterFirewallRule) GetAction() types.Action
- func (o *VPCRouterFirewallRule) GetDescription() string
- func (o *VPCRouterFirewallRule) GetDestinationNetwork() types.VPCFirewallNetwork
- func (o *VPCRouterFirewallRule) GetDestinationPort() types.VPCFirewallPort
- func (o *VPCRouterFirewallRule) GetLogging() types.StringFlag
- func (o *VPCRouterFirewallRule) GetProtocol() types.Protocol
- func (o *VPCRouterFirewallRule) GetSourceNetwork() types.VPCFirewallNetwork
- func (o *VPCRouterFirewallRule) GetSourcePort() types.VPCFirewallPort
- func (o *VPCRouterFirewallRule) SetAction(v types.Action)
- func (o *VPCRouterFirewallRule) SetDescription(v string)
- func (o *VPCRouterFirewallRule) SetDestinationNetwork(v types.VPCFirewallNetwork)
- func (o *VPCRouterFirewallRule) SetDestinationPort(v types.VPCFirewallPort)
- func (o *VPCRouterFirewallRule) SetLogging(v types.StringFlag)
- func (o *VPCRouterFirewallRule) SetProtocol(v types.Protocol)
- func (o *VPCRouterFirewallRule) SetSourceNetwork(v types.VPCFirewallNetwork)
- func (o *VPCRouterFirewallRule) SetSourcePort(v types.VPCFirewallPort)
- type VPCRouterInterface
- func (o *VPCRouterInterface) GetHostName() string
- func (o *VPCRouterInterface) GetID() types.ID
- func (o *VPCRouterInterface) GetIPAddress() string
- func (o *VPCRouterInterface) GetIndex() int
- func (o *VPCRouterInterface) GetInt64ID() int64
- func (o *VPCRouterInterface) GetMACAddress() string
- func (o *VPCRouterInterface) GetPacketFilterID() types.ID
- func (o *VPCRouterInterface) GetPacketFilterName() string
- func (o *VPCRouterInterface) GetPacketFilterRequiredHostVersion() types.StringNumber
- func (o *VPCRouterInterface) GetStringID() string
- func (o *VPCRouterInterface) GetSubnetBandWidthMbps() int
- func (o *VPCRouterInterface) GetSubnetDefaultRoute() string
- func (o *VPCRouterInterface) GetSubnetNetworkAddress() string
- func (o *VPCRouterInterface) GetSubnetNetworkMaskLen() int
- func (o *VPCRouterInterface) GetSwitchID() types.ID
- func (o *VPCRouterInterface) GetSwitchName() string
- func (o *VPCRouterInterface) GetSwitchScope() types.EScope
- func (o *VPCRouterInterface) GetUpstreamType() types.EUpstreamNetworkType
- func (o *VPCRouterInterface) GetUserIPAddress() string
- func (o *VPCRouterInterface) GetUserSubnetDefaultRoute() string
- func (o *VPCRouterInterface) GetUserSubnetNetworkMaskLen() int
- func (o *VPCRouterInterface) SetHostName(v string)
- func (o *VPCRouterInterface) SetID(v types.ID)
- func (o *VPCRouterInterface) SetIPAddress(v string)
- func (o *VPCRouterInterface) SetIndex(v int)
- func (o *VPCRouterInterface) SetInt64ID(id int64)
- func (o *VPCRouterInterface) SetMACAddress(v string)
- func (o *VPCRouterInterface) SetPacketFilterID(v types.ID)
- func (o *VPCRouterInterface) SetPacketFilterName(v string)
- func (o *VPCRouterInterface) SetPacketFilterRequiredHostVersion(v types.StringNumber)
- func (o *VPCRouterInterface) SetStringID(id string)
- func (o *VPCRouterInterface) SetSubnetBandWidthMbps(v int)
- func (o *VPCRouterInterface) SetSubnetDefaultRoute(v string)
- func (o *VPCRouterInterface) SetSubnetNetworkAddress(v string)
- func (o *VPCRouterInterface) SetSubnetNetworkMaskLen(v int)
- func (o *VPCRouterInterface) SetSwitchID(v types.ID)
- func (o *VPCRouterInterface) SetSwitchName(v string)
- func (o *VPCRouterInterface) SetSwitchScope(v types.EScope)
- func (o *VPCRouterInterface) SetUpstreamType(v types.EUpstreamNetworkType)
- func (o *VPCRouterInterface) SetUserIPAddress(v string)
- func (o *VPCRouterInterface) SetUserSubnetDefaultRoute(v string)
- func (o *VPCRouterInterface) SetUserSubnetNetworkMaskLen(v int)
- type VPCRouterInterfaceSetting
- func (o *VPCRouterInterfaceSetting) GetIPAddress() []string
- func (o *VPCRouterInterfaceSetting) GetIPAliases() []string
- func (o *VPCRouterInterfaceSetting) GetIndex() int
- func (o *VPCRouterInterfaceSetting) GetNetworkMaskLen() int
- func (o *VPCRouterInterfaceSetting) GetVirtualIPAddress() string
- func (o *VPCRouterInterfaceSetting) SetIPAddress(v []string)
- func (o *VPCRouterInterfaceSetting) SetIPAliases(v []string)
- func (o *VPCRouterInterfaceSetting) SetIndex(v int)
- func (o *VPCRouterInterfaceSetting) SetNetworkMaskLen(v int)
- func (o *VPCRouterInterfaceSetting) SetVirtualIPAddress(v string)
- type VPCRouterL2TPIPsecServer
- func (o *VPCRouterL2TPIPsecServer) GetPreSharedSecret() string
- func (o *VPCRouterL2TPIPsecServer) GetRangeStart() string
- func (o *VPCRouterL2TPIPsecServer) GetRangeStop() string
- func (o *VPCRouterL2TPIPsecServer) SetPreSharedSecret(v string)
- func (o *VPCRouterL2TPIPsecServer) SetRangeStart(v string)
- func (o *VPCRouterL2TPIPsecServer) SetRangeStop(v string)
- type VPCRouterL2TPIPsecServerSession
- func (o *VPCRouterL2TPIPsecServerSession) GetIPAddress() string
- func (o *VPCRouterL2TPIPsecServerSession) GetTimeSec() int
- func (o *VPCRouterL2TPIPsecServerSession) GetUser() string
- func (o *VPCRouterL2TPIPsecServerSession) SetIPAddress(v string)
- func (o *VPCRouterL2TPIPsecServerSession) SetTimeSec(v int)
- func (o *VPCRouterL2TPIPsecServerSession) SetUser(v string)
- type VPCRouterLog
- type VPCRouterOp
- func (o *VPCRouterOp) Boot(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) Config(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, nicIndex int, switchID types.ID) error
- func (o *VPCRouterOp) Create(ctx context.Context, zone string, param *VPCRouterCreateRequest) (*VPCRouter, error)
- func (o *VPCRouterOp) Delete(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID, nicIndex int) error
- func (o *VPCRouterOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*VPCRouterFindResult, error)
- func (o *VPCRouterOp) Logs(ctx context.Context, zone string, id types.ID) (*VPCRouterLog, error)
- func (o *VPCRouterOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
- func (o *VPCRouterOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, ...) (*InterfaceActivity, error)
- func (o *VPCRouterOp) Ping(ctx context.Context, zone string, id types.ID, destination string) (*VPCRouterPingResults, error)
- func (o *VPCRouterOp) Read(ctx context.Context, zone string, id types.ID) (*VPCRouter, error)
- func (o *VPCRouterOp) Reset(ctx context.Context, zone string, id types.ID) error
- func (o *VPCRouterOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
- func (o *VPCRouterOp) Status(ctx context.Context, zone string, id types.ID) (*VPCRouterStatus, error)
- func (o *VPCRouterOp) Update(ctx context.Context, zone string, id types.ID, param *VPCRouterUpdateRequest) (*VPCRouter, error)
- func (o *VPCRouterOp) UpdateSettings(ctx context.Context, zone string, id types.ID, ...) (*VPCRouter, error)
- type VPCRouterPPTPServer
- type VPCRouterPPTPServerSession
- func (o *VPCRouterPPTPServerSession) GetIPAddress() string
- func (o *VPCRouterPPTPServerSession) GetTimeSec() int
- func (o *VPCRouterPPTPServerSession) GetUser() string
- func (o *VPCRouterPPTPServerSession) SetIPAddress(v string)
- func (o *VPCRouterPPTPServerSession) SetTimeSec(v int)
- func (o *VPCRouterPPTPServerSession) SetUser(v string)
- type VPCRouterPingResults
- type VPCRouterPortForwarding
- func (o *VPCRouterPortForwarding) GetDescription() string
- func (o *VPCRouterPortForwarding) GetGlobalPort() types.StringNumber
- func (o *VPCRouterPortForwarding) GetPrivateAddress() string
- func (o *VPCRouterPortForwarding) GetPrivatePort() types.StringNumber
- func (o *VPCRouterPortForwarding) GetProtocol() types.EVPCRouterPortForwardingProtocol
- func (o *VPCRouterPortForwarding) SetDescription(v string)
- func (o *VPCRouterPortForwarding) SetGlobalPort(v types.StringNumber)
- func (o *VPCRouterPortForwarding) SetPrivateAddress(v string)
- func (o *VPCRouterPortForwarding) SetPrivatePort(v types.StringNumber)
- func (o *VPCRouterPortForwarding) SetProtocol(v types.EVPCRouterPortForwardingProtocol)
- type VPCRouterRemoteAccessUser
- type VPCRouterScheduledMaintenance
- type VPCRouterSessionAnalysis
- func (o *VPCRouterSessionAnalysis) GetDestinationAddress() []*VPCRouterStatisticsValue
- func (o *VPCRouterSessionAnalysis) GetDestinationPort() []*VPCRouterStatisticsValue
- func (o *VPCRouterSessionAnalysis) GetSourceAddress() []*VPCRouterStatisticsValue
- func (o *VPCRouterSessionAnalysis) GetSourceAndDestination() []*VPCRouterStatisticsValue
- func (o *VPCRouterSessionAnalysis) SetDestinationAddress(v []*VPCRouterStatisticsValue)
- func (o *VPCRouterSessionAnalysis) SetDestinationPort(v []*VPCRouterStatisticsValue)
- func (o *VPCRouterSessionAnalysis) SetSourceAddress(v []*VPCRouterStatisticsValue)
- func (o *VPCRouterSessionAnalysis) SetSourceAndDestination(v []*VPCRouterStatisticsValue)
- type VPCRouterSetting
- func (o *VPCRouterSetting) GetDHCPServer() []*VPCRouterDHCPServer
- func (o *VPCRouterSetting) GetDHCPStaticMapping() []*VPCRouterDHCPStaticMapping
- func (o *VPCRouterSetting) GetDNSForwarding() *VPCRouterDNSForwarding
- func (o *VPCRouterSetting) GetFirewall() []*VPCRouterFirewall
- func (o *VPCRouterSetting) GetInterfaces() []*VPCRouterInterfaceSetting
- func (o *VPCRouterSetting) GetInternetConnectionEnabled() types.StringFlag
- func (o *VPCRouterSetting) GetL2TPIPsecServer() *VPCRouterL2TPIPsecServer
- func (o *VPCRouterSetting) GetL2TPIPsecServerEnabled() types.StringFlag
- func (o *VPCRouterSetting) GetPPTPServer() *VPCRouterPPTPServer
- func (o *VPCRouterSetting) GetPPTPServerEnabled() types.StringFlag
- func (o *VPCRouterSetting) GetPortForwarding() []*VPCRouterPortForwarding
- func (o *VPCRouterSetting) GetRemoteAccessUsers() []*VPCRouterRemoteAccessUser
- func (o *VPCRouterSetting) GetScheduledMaintenance() *VPCRouterScheduledMaintenance
- func (o *VPCRouterSetting) GetSiteToSiteIPsecVPN() *VPCRouterSiteToSiteIPsecVPN
- func (o *VPCRouterSetting) GetStaticNAT() []*VPCRouterStaticNAT
- func (o *VPCRouterSetting) GetStaticRoute() []*VPCRouterStaticRoute
- func (o *VPCRouterSetting) GetSyslogHost() string
- func (o *VPCRouterSetting) GetVRID() int
- func (o *VPCRouterSetting) GetWireGuard() *VPCRouterWireGuard
- func (o *VPCRouterSetting) GetWireGuardEnabled() types.StringFlag
- func (o *VPCRouterSetting) SetDHCPServer(v []*VPCRouterDHCPServer)
- func (o *VPCRouterSetting) SetDHCPStaticMapping(v []*VPCRouterDHCPStaticMapping)
- func (o *VPCRouterSetting) SetDNSForwarding(v *VPCRouterDNSForwarding)
- func (o *VPCRouterSetting) SetFirewall(v []*VPCRouterFirewall)
- func (o *VPCRouterSetting) SetInterfaces(v []*VPCRouterInterfaceSetting)
- func (o *VPCRouterSetting) SetInternetConnectionEnabled(v types.StringFlag)
- func (o *VPCRouterSetting) SetL2TPIPsecServer(v *VPCRouterL2TPIPsecServer)
- func (o *VPCRouterSetting) SetL2TPIPsecServerEnabled(v types.StringFlag)
- func (o *VPCRouterSetting) SetPPTPServer(v *VPCRouterPPTPServer)
- func (o *VPCRouterSetting) SetPPTPServerEnabled(v types.StringFlag)
- func (o *VPCRouterSetting) SetPortForwarding(v []*VPCRouterPortForwarding)
- func (o *VPCRouterSetting) SetRemoteAccessUsers(v []*VPCRouterRemoteAccessUser)
- func (o *VPCRouterSetting) SetScheduledMaintenance(v *VPCRouterScheduledMaintenance)
- func (o *VPCRouterSetting) SetSiteToSiteIPsecVPN(v *VPCRouterSiteToSiteIPsecVPN)
- func (o *VPCRouterSetting) SetStaticNAT(v []*VPCRouterStaticNAT)
- func (o *VPCRouterSetting) SetStaticRoute(v []*VPCRouterStaticRoute)
- func (o *VPCRouterSetting) SetSyslogHost(v string)
- func (o *VPCRouterSetting) SetVRID(v int)
- func (o *VPCRouterSetting) SetWireGuard(v *VPCRouterWireGuard)
- func (o *VPCRouterSetting) SetWireGuardEnabled(v types.StringFlag)
- type VPCRouterSiteToSiteIPsecVPN
- func (o *VPCRouterSiteToSiteIPsecVPN) GetConfig() []*VPCRouterSiteToSiteIPsecVPNConfig
- func (o *VPCRouterSiteToSiteIPsecVPN) GetDHGroup() string
- func (o *VPCRouterSiteToSiteIPsecVPN) GetESP() *VPCRouterSiteToSiteIPsecVPNESP
- func (o *VPCRouterSiteToSiteIPsecVPN) GetEncryptionAlgo() string
- func (o *VPCRouterSiteToSiteIPsecVPN) GetHashAlgo() string
- func (o *VPCRouterSiteToSiteIPsecVPN) GetIKE() *VPCRouterSiteToSiteIPsecVPNIKE
- func (o *VPCRouterSiteToSiteIPsecVPN) SetConfig(v []*VPCRouterSiteToSiteIPsecVPNConfig)
- func (o *VPCRouterSiteToSiteIPsecVPN) SetDHGroup(v string)
- func (o *VPCRouterSiteToSiteIPsecVPN) SetESP(v *VPCRouterSiteToSiteIPsecVPNESP)
- func (o *VPCRouterSiteToSiteIPsecVPN) SetEncryptionAlgo(v string)
- func (o *VPCRouterSiteToSiteIPsecVPN) SetHashAlgo(v string)
- func (o *VPCRouterSiteToSiteIPsecVPN) SetIKE(v *VPCRouterSiteToSiteIPsecVPNIKE)
- type VPCRouterSiteToSiteIPsecVPNConfig
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetLocalPrefix() []string
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetPeer() string
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetPreSharedSecret() string
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetRemoteID() string
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetRoutes() []string
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetLocalPrefix(v []string)
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetPeer(v string)
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetPreSharedSecret(v string)
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetRemoteID(v string)
- func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetRoutes(v []string)
- type VPCRouterSiteToSiteIPsecVPNESP
- type VPCRouterSiteToSiteIPsecVPNIKE
- type VPCRouterSiteToSiteIPsecVPNIKEDPD
- type VPCRouterSiteToSiteIPsecVPNPeer
- type VPCRouterStaticNAT
- func (o *VPCRouterStaticNAT) GetDescription() string
- func (o *VPCRouterStaticNAT) GetGlobalAddress() string
- func (o *VPCRouterStaticNAT) GetPrivateAddress() string
- func (o *VPCRouterStaticNAT) SetDescription(v string)
- func (o *VPCRouterStaticNAT) SetGlobalAddress(v string)
- func (o *VPCRouterStaticNAT) SetPrivateAddress(v string)
- type VPCRouterStaticRoute
- type VPCRouterStatisticsValue
- type VPCRouterStatus
- func (o *VPCRouterStatus) GetDHCPServerLeases() []*VPCRouterDHCPServerLease
- func (o *VPCRouterStatus) GetFirewallReceiveLogs() []string
- func (o *VPCRouterStatus) GetFirewallSendLogs() []string
- func (o *VPCRouterStatus) GetL2TPIPsecServerSessions() []*VPCRouterL2TPIPsecServerSession
- func (o *VPCRouterStatus) GetPPTPServerSessions() []*VPCRouterPPTPServerSession
- func (o *VPCRouterStatus) GetPercentageOfMemoryFree() []types.StringNumber
- func (o *VPCRouterStatus) GetSessionAnalysis() *VPCRouterSessionAnalysis
- func (o *VPCRouterStatus) GetSessionCount() int
- func (o *VPCRouterStatus) GetSiteToSiteIPsecVPNPeers() []*VPCRouterSiteToSiteIPsecVPNPeer
- func (o *VPCRouterStatus) GetVPNLogs() []string
- func (o *VPCRouterStatus) GetWireGuard() *WireGuardStatus
- func (o *VPCRouterStatus) SetDHCPServerLeases(v []*VPCRouterDHCPServerLease)
- func (o *VPCRouterStatus) SetFirewallReceiveLogs(v []string)
- func (o *VPCRouterStatus) SetFirewallSendLogs(v []string)
- func (o *VPCRouterStatus) SetL2TPIPsecServerSessions(v []*VPCRouterL2TPIPsecServerSession)
- func (o *VPCRouterStatus) SetPPTPServerSessions(v []*VPCRouterPPTPServerSession)
- func (o *VPCRouterStatus) SetPercentageOfMemoryFree(v []types.StringNumber)
- func (o *VPCRouterStatus) SetSessionAnalysis(v *VPCRouterSessionAnalysis)
- func (o *VPCRouterStatus) SetSessionCount(v int)
- func (o *VPCRouterStatus) SetSiteToSiteIPsecVPNPeers(v []*VPCRouterSiteToSiteIPsecVPNPeer)
- func (o *VPCRouterStatus) SetVPNLogs(v []string)
- func (o *VPCRouterStatus) SetWireGuard(v *WireGuardStatus)
- type VPCRouterUpdateRequest
- func (o *VPCRouterUpdateRequest) AppendTag(tag string)
- func (o *VPCRouterUpdateRequest) ClearTags()
- func (o *VPCRouterUpdateRequest) GetDescription() string
- func (o *VPCRouterUpdateRequest) GetIconID() types.ID
- func (o *VPCRouterUpdateRequest) GetName() string
- func (o *VPCRouterUpdateRequest) GetSettings() *VPCRouterSetting
- func (o *VPCRouterUpdateRequest) GetSettingsHash() string
- func (o *VPCRouterUpdateRequest) GetTags() types.Tags
- func (o *VPCRouterUpdateRequest) HasTag(tag string) bool
- func (o *VPCRouterUpdateRequest) RemoveTag(tag string)
- func (o *VPCRouterUpdateRequest) SetDescription(v string)
- func (o *VPCRouterUpdateRequest) SetIconID(v types.ID)
- func (o *VPCRouterUpdateRequest) SetName(v string)
- func (o *VPCRouterUpdateRequest) SetSettings(v *VPCRouterSetting)
- func (o *VPCRouterUpdateRequest) SetSettingsHash(v string)
- func (o *VPCRouterUpdateRequest) SetTags(v types.Tags)
- type VPCRouterUpdateSettingsRequest
- type VPCRouterWireGuard
- type VPCRouterWireGuardPeer
- func (o *VPCRouterWireGuardPeer) GetIPAddress() string
- func (o *VPCRouterWireGuardPeer) GetName() string
- func (o *VPCRouterWireGuardPeer) GetPublicKey() string
- func (o *VPCRouterWireGuardPeer) SetIPAddress(v string)
- func (o *VPCRouterWireGuardPeer) SetName(v string)
- func (o *VPCRouterWireGuardPeer) SetPublicKey(v string)
- type WireGuardStatus
- type Zone
- func (o *Zone) GetDescription() string
- func (o *Zone) GetDisplayOrder() int64
- func (o *Zone) GetFTPServer() *FTPServerInfo
- func (o *Zone) GetID() types.ID
- func (o *Zone) GetInt64ID() int64
- func (o *Zone) GetIsDummy() bool
- func (o *Zone) GetName() string
- func (o *Zone) GetRegion() *Region
- func (o *Zone) GetStringID() string
- func (o *Zone) GetVNCProxy() *VNCProxy
- func (o *Zone) SetDescription(v string)
- func (o *Zone) SetDisplayOrder(v int64)
- func (o *Zone) SetFTPServer(v *FTPServerInfo)
- func (o *Zone) SetID(v types.ID)
- func (o *Zone) SetInt64ID(id int64)
- func (o *Zone) SetIsDummy(v bool)
- func (o *Zone) SetName(v string)
- func (o *Zone) SetRegion(v *Region)
- func (o *Zone) SetStringID(id string)
- func (o *Zone) SetVNCProxy(v *VNCProxy)
- type ZoneAPI
- type ZoneFindResult
- type ZoneInfo
- func (o *ZoneInfo) GetDisplayName() string
- func (o *ZoneInfo) GetFTPServer() *FTPServerInfo
- func (o *ZoneInfo) GetID() types.ID
- func (o *ZoneInfo) GetInt64ID() int64
- func (o *ZoneInfo) GetIsDummy() bool
- func (o *ZoneInfo) GetName() string
- func (o *ZoneInfo) GetRegion() *Region
- func (o *ZoneInfo) GetStringID() string
- func (o *ZoneInfo) GetVNCProxy() *VNCProxy
- func (o *ZoneInfo) SetDisplayName(v string)
- func (o *ZoneInfo) SetFTPServer(v *FTPServerInfo)
- func (o *ZoneInfo) SetID(v types.ID)
- func (o *ZoneInfo) SetInt64ID(id int64)
- func (o *ZoneInfo) SetIsDummy(v bool)
- func (o *ZoneInfo) SetName(v string)
- func (o *ZoneInfo) SetRegion(v *Region)
- func (o *ZoneInfo) SetStringID(id string)
- func (o *ZoneInfo) SetVNCProxy(v *VNCProxy)
- type ZoneOp
Examples ¶
Constants ¶
const ( // APIAccessTokenEnvKey APIアクセストークンの環境変数名 APIAccessTokenEnvKey = "SAKURACLOUD_ACCESS_TOKEN" //nolint:gosec // APIAccessSecretEnvKey APIアクセスシークレットの環境変数名 APIAccessSecretEnvKey = "SAKURACLOUD_ACCESS_TOKEN_SECRET" //nolint:gosec )
const Version = "1.14.0"
Version バージョン
Variables ¶
var ( // SakuraCloudAPIRoot APIリクエスト送信先ルートURL(末尾にスラッシュを含まない) SakuraCloudAPIRoot = "https://secure.sakura.ad.jp/cloud/zone" // SakuraCloudZones 利用可能なゾーンのデフォルト値 SakuraCloudZones = types.ZoneNames )
var ( // APIDefaultZone デフォルトゾーン、グローバルリソースなどで利用される APIDefaultZone = "is1a" // DefaultUserAgent デフォルトのユーザーエージェント DefaultUserAgent = fmt.Sprintf( "sacloud/iaas-api-go/v%s (%s/%s; +https://github.com/sacloud/iaas-api-go) %s", Version, runtime.GOOS, runtime.GOARCH, sacloudhttp.DefaultUserAgent, ) )
Functions ¶
func AddClientFacotyHookFunc ¶
func AddClientFacotyHookFunc(resourceName string, hookFunc func(interface{}) interface{})
AddClientFacotyHookFunc クライアントファクトリーのフックを登録する
func GetClientFactoryFunc ¶
GetClientFactoryFunc リソースごとのクライアントファクトリーを取得する
resourceNameに対するファクトリーが登録されてない場合はpanicする
func IsNoResultsError ¶
IsNoResultsError 指定のerrorがNoResultErrorであるか判定
func IsNotFoundError ¶
IsNotFoundError 指定のerrorがAPI呼び出し時の404エラーであるか判定
func IsStillCreatingError ¶
IsStillCreatingError 指定のerrorがAPI呼び出し時の409エラー、かつエラーコードがstill_creatingであるか判定
func SetClientFactoryFunc ¶
SetClientFactoryFunc リソースごとのクライアントファクトリーを登録する
func WaiterForApplianceUp ¶
func WaiterForApplianceUp(readFunc wait.StateReadFunc, notFoundRetry int) wait.StateWaiter
WaiterForApplianceUp 起動完了まで待つためのStateWaiterを返す
アプライアンス向けに404発生時のリトライを設定可能
func WaiterForDown ¶
func WaiterForDown(readFunc wait.StateReadFunc) wait.StateWaiter
WaiterForDown シャットダウン完了まで待つためのStateWaiterを返す
func WaiterForReady ¶
func WaiterForReady(readFunc wait.StateReadFunc) wait.StateWaiter
WaiterForReady リソースの利用準備完了まで待つためのStateWaiterを返す
func WaiterForUp ¶
func WaiterForUp(readFunc wait.StateReadFunc) wait.StateWaiter
WaiterForUp 起動完了まで待つためのStateWaiterを返す
Types ¶
type APICaller ¶
type APICaller interface {
Do(ctx context.Context, method, uri string, body interface{}) ([]byte, error)
}
APICaller API呼び出し時に利用するトランスポートのインターフェース iaas.Clientなどで実装される
type APIError ¶
type APIError interface { // errorインターフェースを内包 error // エラー発生時のレスポンスコード ResponseCode() int // エラーコード Code() string // エラー発生時のメッセージ Message() string // エラー追跡用シリアルコード Serial() string // エラー(オリジナル) OrigErr() *APIErrorResponse }
APIError APIコール時のエラー情報
func NewAPIError ¶
func NewAPIError(requestMethod string, requestURL *url.URL, responseCode int, err *APIErrorResponse) APIError
NewAPIError APIコール時のエラー情報
type APIErrorResponse ¶
type APIErrorResponse struct { IsFatal bool `json:"is_fatal,omitempty"` // IsFatal Serial string `json:"serial,omitempty"` // Serial Status string `json:"status,omitempty"` // Status ErrorCode string `json:"error_code,omitempty"` // ErrorCode ErrorMessage string `json:"error_msg,omitempty"` // ErrorMessage }
APIErrorResponse APIエラー型
type ApplianceConnectedSwitch ¶
ApplianceConnectedSwitch represents API parameter/response structure
func (*ApplianceConnectedSwitch) GetID ¶
func (o *ApplianceConnectedSwitch) GetID() types.ID
GetID returns value of ID
func (*ApplianceConnectedSwitch) GetInt64ID ¶
func (o *ApplianceConnectedSwitch) GetInt64ID() int64
GetInt64ID .
func (*ApplianceConnectedSwitch) GetScope ¶
func (o *ApplianceConnectedSwitch) GetScope() types.EScope
GetScope returns value of Scope
func (*ApplianceConnectedSwitch) GetStringID ¶
func (o *ApplianceConnectedSwitch) GetStringID() string
GetStringID .
func (*ApplianceConnectedSwitch) SetID ¶
func (o *ApplianceConnectedSwitch) SetID(v types.ID)
SetID sets value to ID
func (*ApplianceConnectedSwitch) SetInt64ID ¶
func (o *ApplianceConnectedSwitch) SetInt64ID(id int64)
SetInt64ID .
func (*ApplianceConnectedSwitch) SetScope ¶
func (o *ApplianceConnectedSwitch) SetScope(v types.EScope)
SetScope sets value to Scope
func (*ApplianceConnectedSwitch) SetStringID ¶
func (o *ApplianceConnectedSwitch) SetStringID(id string)
SetStringID .
type Archive ¶
type Archive struct { ID types.ID Name string Description string Tags types.Tags DisplayOrder int64 Availability types.EAvailability Scope types.EScope SizeMB int MigratedMB int DiskPlanID types.ID `mapconv:"Plan.ID"` DiskPlanName string `mapconv:"Plan.Name"` DiskPlanStorageClass string `mapconv:"Plan.StorageClass"` SourceDiskID types.ID `mapconv:"SourceDisk.ID,omitempty"` SourceDiskAvailability types.EAvailability `mapconv:"SourceDisk.Availability,omitempty"` SourceArchiveID types.ID `mapconv:"SourceArchive.ID,omitempty"` SourceArchiveAvailability types.EAvailability `mapconv:"SourceArchive.Availability,omitempty"` BundleInfo *BundleInfo `json:",omitempty" mapconv:",omitempty,recursive"` Storage *Storage `json:",omitempty" mapconv:",omitempty,recursive"` IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time OriginalArchiveID types.ID `mapconv:"OriginalArchive.ID,omitempty"` SourceInfo *SourceArchiveInfo `mapconv:",omitempty,recursive"` }
Archive represents API parameter/response structure
func (*Archive) GetAvailability ¶
func (o *Archive) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*Archive) GetBundleInfo ¶
func (o *Archive) GetBundleInfo() *BundleInfo
GetBundleInfo returns value of BundleInfo
func (*Archive) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Archive) GetDescription ¶
GetDescription returns value of Description
func (*Archive) GetDiskPlanID ¶
GetDiskPlanID returns value of DiskPlanID
func (*Archive) GetDiskPlanName ¶
GetDiskPlanName returns value of DiskPlanName
func (*Archive) GetDiskPlanStorageClass ¶
GetDiskPlanStorageClass returns value of DiskPlanStorageClass
func (*Archive) GetDisplayOrder ¶
GetDisplayOrder returns value of DisplayOrder
func (*Archive) GetMigratedMB ¶
GetMigratedMB returns value of MigratedMB
func (*Archive) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Archive) GetOriginalArchiveID ¶
GetOriginalArchiveID returns value of OriginalArchiveID
func (*Archive) GetSourceArchiveAvailability ¶
func (o *Archive) GetSourceArchiveAvailability() types.EAvailability
GetSourceArchiveAvailability returns value of SourceArchiveAvailability
func (*Archive) GetSourceArchiveID ¶
GetSourceArchiveID returns value of SourceArchiveID
func (*Archive) GetSourceDiskAvailability ¶
func (o *Archive) GetSourceDiskAvailability() types.EAvailability
GetSourceDiskAvailability returns value of SourceDiskAvailability
func (*Archive) GetSourceDiskID ¶
GetSourceDiskID returns value of SourceDiskID
func (*Archive) GetSourceInfo ¶
func (o *Archive) GetSourceInfo() *SourceArchiveInfo
GetSourceInfo returns value of SourceInfo
func (*Archive) GetStorage ¶
GetStorage returns value of Storage
func (*Archive) SetAvailability ¶
func (o *Archive) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*Archive) SetBundleInfo ¶
func (o *Archive) SetBundleInfo(v *BundleInfo)
SetBundleInfo sets value to BundleInfo
func (*Archive) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Archive) SetDescription ¶
SetDescription sets value to Description
func (*Archive) SetDiskPlanID ¶
SetDiskPlanID sets value to DiskPlanID
func (*Archive) SetDiskPlanName ¶
SetDiskPlanName sets value to DiskPlanName
func (*Archive) SetDiskPlanStorageClass ¶
SetDiskPlanStorageClass sets value to DiskPlanStorageClass
func (*Archive) SetDisplayOrder ¶
SetDisplayOrder sets value to DisplayOrder
func (*Archive) SetMigratedMB ¶
SetMigratedMB sets value to MigratedMB
func (*Archive) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*Archive) SetOriginalArchiveID ¶
SetOriginalArchiveID sets value to OriginalArchiveID
func (*Archive) SetSourceArchiveAvailability ¶
func (o *Archive) SetSourceArchiveAvailability(v types.EAvailability)
SetSourceArchiveAvailability sets value to SourceArchiveAvailability
func (*Archive) SetSourceArchiveID ¶
SetSourceArchiveID sets value to SourceArchiveID
func (*Archive) SetSourceDiskAvailability ¶
func (o *Archive) SetSourceDiskAvailability(v types.EAvailability)
SetSourceDiskAvailability sets value to SourceDiskAvailability
func (*Archive) SetSourceDiskID ¶
SetSourceDiskID sets value to SourceDiskID
func (*Archive) SetSourceInfo ¶
func (o *Archive) SetSourceInfo(v *SourceArchiveInfo)
SetSourceInfo sets value to SourceInfo
func (*Archive) SetStorage ¶
SetStorage sets value to Storage
type ArchiveAPI ¶
type ArchiveAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*ArchiveFindResult, error) Create(ctx context.Context, zone string, param *ArchiveCreateRequest) (*Archive, error) CreateBlank(ctx context.Context, zone string, param *ArchiveCreateBlankRequest) (*Archive, *FTPServer, error) Read(ctx context.Context, zone string, id types.ID) (*Archive, error) Update(ctx context.Context, zone string, id types.ID, param *ArchiveUpdateRequest) (*Archive, error) Delete(ctx context.Context, zone string, id types.ID) error OpenFTP(ctx context.Context, zone string, id types.ID, openOption *OpenFTPRequest) (*FTPServer, error) CloseFTP(ctx context.Context, zone string, id types.ID) error Transfer(ctx context.Context, zone string, sourceArchiveID types.ID, destZoneID types.ID, param *ArchiveTransferRequest) (*Archive, error) }
ArchiveAPI is interface for operate Archive resource
func NewArchiveOp ¶
func NewArchiveOp(caller APICaller) ArchiveAPI
NewArchiveOp creates new ArchiveOp instance
type ArchiveCreateBlankRequest ¶
type ArchiveCreateBlankRequest struct { SizeMB int Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ArchiveCreateBlankRequest represents API parameter/response structure
func (*ArchiveCreateBlankRequest) AppendTag ¶
func (o *ArchiveCreateBlankRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ArchiveCreateBlankRequest) ClearTags ¶
func (o *ArchiveCreateBlankRequest) ClearTags()
ClearTags タグを全クリア
func (*ArchiveCreateBlankRequest) GetDescription ¶
func (o *ArchiveCreateBlankRequest) GetDescription() string
GetDescription returns value of Description
func (*ArchiveCreateBlankRequest) GetIconID ¶
func (o *ArchiveCreateBlankRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ArchiveCreateBlankRequest) GetName ¶
func (o *ArchiveCreateBlankRequest) GetName() string
GetName returns value of Name
func (*ArchiveCreateBlankRequest) GetSizeGB ¶
func (o *ArchiveCreateBlankRequest) GetSizeGB() int
GetSizeGB .
func (*ArchiveCreateBlankRequest) GetSizeMB ¶
func (o *ArchiveCreateBlankRequest) GetSizeMB() int
GetSizeMB returns value of SizeMB
func (*ArchiveCreateBlankRequest) GetTags ¶
func (o *ArchiveCreateBlankRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ArchiveCreateBlankRequest) HasTag ¶
func (o *ArchiveCreateBlankRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ArchiveCreateBlankRequest) RemoveTag ¶
func (o *ArchiveCreateBlankRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ArchiveCreateBlankRequest) SetDescription ¶
func (o *ArchiveCreateBlankRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ArchiveCreateBlankRequest) SetIconID ¶
func (o *ArchiveCreateBlankRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ArchiveCreateBlankRequest) SetName ¶
func (o *ArchiveCreateBlankRequest) SetName(v string)
SetName sets value to Name
func (*ArchiveCreateBlankRequest) SetSizeGB ¶
func (o *ArchiveCreateBlankRequest) SetSizeGB(size int)
SetSizeGB .
func (*ArchiveCreateBlankRequest) SetSizeMB ¶
func (o *ArchiveCreateBlankRequest) SetSizeMB(v int)
SetSizeMB sets value to SizeMB
func (*ArchiveCreateBlankRequest) SetTags ¶
func (o *ArchiveCreateBlankRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ArchiveCreateRequest ¶
type ArchiveCreateRequest struct { SourceDiskID types.ID `mapconv:"SourceDisk.ID,omitempty"` SourceArchiveID types.ID `mapconv:"SourceArchive.ID,omitempty"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ArchiveCreateRequest represents API parameter/response structure
func (*ArchiveCreateRequest) AppendTag ¶
func (o *ArchiveCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ArchiveCreateRequest) ClearTags ¶
func (o *ArchiveCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*ArchiveCreateRequest) GetDescription ¶
func (o *ArchiveCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*ArchiveCreateRequest) GetIconID ¶
func (o *ArchiveCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ArchiveCreateRequest) GetName ¶
func (o *ArchiveCreateRequest) GetName() string
GetName returns value of Name
func (*ArchiveCreateRequest) GetSourceArchiveID ¶
func (o *ArchiveCreateRequest) GetSourceArchiveID() types.ID
GetSourceArchiveID returns value of SourceArchiveID
func (*ArchiveCreateRequest) GetSourceDiskID ¶
func (o *ArchiveCreateRequest) GetSourceDiskID() types.ID
GetSourceDiskID returns value of SourceDiskID
func (*ArchiveCreateRequest) GetTags ¶
func (o *ArchiveCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ArchiveCreateRequest) HasTag ¶
func (o *ArchiveCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ArchiveCreateRequest) RemoveTag ¶
func (o *ArchiveCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ArchiveCreateRequest) SetDescription ¶
func (o *ArchiveCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ArchiveCreateRequest) SetIconID ¶
func (o *ArchiveCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ArchiveCreateRequest) SetName ¶
func (o *ArchiveCreateRequest) SetName(v string)
SetName sets value to Name
func (*ArchiveCreateRequest) SetSourceArchiveID ¶
func (o *ArchiveCreateRequest) SetSourceArchiveID(v types.ID)
SetSourceArchiveID sets value to SourceArchiveID
func (*ArchiveCreateRequest) SetSourceDiskID ¶
func (o *ArchiveCreateRequest) SetSourceDiskID(v types.ID)
SetSourceDiskID sets value to SourceDiskID
func (*ArchiveCreateRequest) SetTags ¶
func (o *ArchiveCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ArchiveCreateRequestFromShared ¶
type ArchiveCreateRequestFromShared struct {}
ArchiveCreateRequestFromShared represents API parameter/response structure
func (*ArchiveCreateRequestFromShared) AppendTag ¶
func (o *ArchiveCreateRequestFromShared) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ArchiveCreateRequestFromShared) ClearTags ¶
func (o *ArchiveCreateRequestFromShared) ClearTags()
ClearTags タグを全クリア
func (*ArchiveCreateRequestFromShared) GetDescription ¶
func (o *ArchiveCreateRequestFromShared) GetDescription() string
GetDescription returns value of Description
func (*ArchiveCreateRequestFromShared) GetIconID ¶
func (o *ArchiveCreateRequestFromShared) GetIconID() types.ID
GetIconID returns value of IconID
func (*ArchiveCreateRequestFromShared) GetName ¶
func (o *ArchiveCreateRequestFromShared) GetName() string
GetName returns value of Name
func (*ArchiveCreateRequestFromShared) GetSourceSharedKey ¶
func (o *ArchiveCreateRequestFromShared) GetSourceSharedKey() types.ArchiveShareKey
GetSourceSharedKey returns value of SourceSharedKey
func (*ArchiveCreateRequestFromShared) GetTags ¶
func (o *ArchiveCreateRequestFromShared) GetTags() types.Tags
GetTags returns value of Tags
func (*ArchiveCreateRequestFromShared) HasTag ¶
func (o *ArchiveCreateRequestFromShared) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ArchiveCreateRequestFromShared) RemoveTag ¶
func (o *ArchiveCreateRequestFromShared) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ArchiveCreateRequestFromShared) SetDescription ¶
func (o *ArchiveCreateRequestFromShared) SetDescription(v string)
SetDescription sets value to Description
func (*ArchiveCreateRequestFromShared) SetIconID ¶
func (o *ArchiveCreateRequestFromShared) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ArchiveCreateRequestFromShared) SetName ¶
func (o *ArchiveCreateRequestFromShared) SetName(v string)
SetName sets value to Name
func (*ArchiveCreateRequestFromShared) SetSourceSharedKey ¶
func (o *ArchiveCreateRequestFromShared) SetSourceSharedKey(v types.ArchiveShareKey)
SetSourceSharedKey sets value to SourceSharedKey
func (*ArchiveCreateRequestFromShared) SetTags ¶
func (o *ArchiveCreateRequestFromShared) SetTags(v types.Tags)
SetTags sets value to Tags
type ArchiveFindResult ¶
type ArchiveFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Archives []*Archive `json:",omitempty" mapconv:"[]Archives,omitempty,recursive"` }
ArchiveFindResult represents the Result of API
func (*ArchiveFindResult) Values ¶
func (r *ArchiveFindResult) Values() []interface{}
Values returns find results
type ArchiveOp ¶
type ArchiveOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ArchiveOp implements ArchiveAPI interface
func (*ArchiveOp) Create ¶
func (o *ArchiveOp) Create(ctx context.Context, zone string, param *ArchiveCreateRequest) (*Archive, error)
Create is API call
func (*ArchiveOp) CreateBlank ¶
func (o *ArchiveOp) CreateBlank(ctx context.Context, zone string, param *ArchiveCreateBlankRequest) (*Archive, *FTPServer, error)
CreateBlank is API call
func (*ArchiveOp) CreateFromShared ¶
func (o *ArchiveOp) CreateFromShared(ctx context.Context, zone string, sourceArchiveID types.ID, destZoneID types.ID, param *ArchiveCreateRequestFromShared) (*Archive, error)
CreateFromShared is API call
func (*ArchiveOp) Find ¶
func (o *ArchiveOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*ArchiveFindResult, error)
Find is API call
func (*ArchiveOp) OpenFTP ¶
func (o *ArchiveOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *OpenFTPRequest) (*FTPServer, error)
OpenFTP is API call
type ArchiveShareInfo ¶
type ArchiveShareInfo struct {
}ArchiveShareInfo represents API parameter/response structure
func (*ArchiveShareInfo) GetSharedKey ¶
func (o *ArchiveShareInfo) GetSharedKey() types.ArchiveShareKey
GetSharedKey returns value of SharedKey
func (*ArchiveShareInfo) SetSharedKey ¶
func (o *ArchiveShareInfo) SetSharedKey(v types.ArchiveShareKey)
SetSharedKey sets value to SharedKey
type ArchiveTransferRequest ¶
type ArchiveTransferRequest struct { SizeMB int Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ArchiveTransferRequest represents API parameter/response structure
func (*ArchiveTransferRequest) AppendTag ¶
func (o *ArchiveTransferRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ArchiveTransferRequest) ClearTags ¶
func (o *ArchiveTransferRequest) ClearTags()
ClearTags タグを全クリア
func (*ArchiveTransferRequest) GetDescription ¶
func (o *ArchiveTransferRequest) GetDescription() string
GetDescription returns value of Description
func (*ArchiveTransferRequest) GetIconID ¶
func (o *ArchiveTransferRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ArchiveTransferRequest) GetName ¶
func (o *ArchiveTransferRequest) GetName() string
GetName returns value of Name
func (*ArchiveTransferRequest) GetSizeGB ¶
func (o *ArchiveTransferRequest) GetSizeGB() int
GetSizeGB .
func (*ArchiveTransferRequest) GetSizeMB ¶
func (o *ArchiveTransferRequest) GetSizeMB() int
GetSizeMB returns value of SizeMB
func (*ArchiveTransferRequest) GetTags ¶
func (o *ArchiveTransferRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ArchiveTransferRequest) HasTag ¶
func (o *ArchiveTransferRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ArchiveTransferRequest) RemoveTag ¶
func (o *ArchiveTransferRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ArchiveTransferRequest) SetDescription ¶
func (o *ArchiveTransferRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ArchiveTransferRequest) SetIconID ¶
func (o *ArchiveTransferRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ArchiveTransferRequest) SetName ¶
func (o *ArchiveTransferRequest) SetName(v string)
SetName sets value to Name
func (*ArchiveTransferRequest) SetSizeGB ¶
func (o *ArchiveTransferRequest) SetSizeGB(size int)
SetSizeGB .
func (*ArchiveTransferRequest) SetSizeMB ¶
func (o *ArchiveTransferRequest) SetSizeMB(v int)
SetSizeMB sets value to SizeMB
func (*ArchiveTransferRequest) SetTags ¶
func (o *ArchiveTransferRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ArchiveUpdateRequest ¶
type ArchiveUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ArchiveUpdateRequest represents API parameter/response structure
func (*ArchiveUpdateRequest) AppendTag ¶
func (o *ArchiveUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ArchiveUpdateRequest) ClearTags ¶
func (o *ArchiveUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*ArchiveUpdateRequest) GetDescription ¶
func (o *ArchiveUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*ArchiveUpdateRequest) GetIconID ¶
func (o *ArchiveUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ArchiveUpdateRequest) GetName ¶
func (o *ArchiveUpdateRequest) GetName() string
GetName returns value of Name
func (*ArchiveUpdateRequest) GetTags ¶
func (o *ArchiveUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ArchiveUpdateRequest) HasTag ¶
func (o *ArchiveUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ArchiveUpdateRequest) RemoveTag ¶
func (o *ArchiveUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ArchiveUpdateRequest) SetDescription ¶
func (o *ArchiveUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ArchiveUpdateRequest) SetIconID ¶
func (o *ArchiveUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ArchiveUpdateRequest) SetName ¶
func (o *ArchiveUpdateRequest) SetName(v string)
SetName sets value to Name
func (*ArchiveUpdateRequest) SetTags ¶
func (o *ArchiveUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type AuthStatus ¶
type AuthStatus struct { AccountID types.ID `mapconv:"Account.ID"` AccountName string `mapconv:"Account.Name"` AccountCode string `mapconv:"Account.Code"` AccountClass string `mapconv:"Account.Class"` MemberCode string `mapconv:"Member.Code"` MemberClass string `mapconv:"Member.Class"` AuthClass types.EAuthClass AuthMethod types.EAuthMethod IsAPIKey bool ExternalPermission types.ExternalPermission OperationPenalty types.EOperationPenalty Permission types.EPermission }
AuthStatus represents API parameter/response structure
func (*AuthStatus) GetAccountClass ¶
func (o *AuthStatus) GetAccountClass() string
GetAccountClass returns value of AccountClass
func (*AuthStatus) GetAccountCode ¶
func (o *AuthStatus) GetAccountCode() string
GetAccountCode returns value of AccountCode
func (*AuthStatus) GetAccountID ¶
func (o *AuthStatus) GetAccountID() types.ID
GetAccountID returns value of AccountID
func (*AuthStatus) GetAccountName ¶
func (o *AuthStatus) GetAccountName() string
GetAccountName returns value of AccountName
func (*AuthStatus) GetAuthClass ¶
func (o *AuthStatus) GetAuthClass() types.EAuthClass
GetAuthClass returns value of AuthClass
func (*AuthStatus) GetAuthMethod ¶
func (o *AuthStatus) GetAuthMethod() types.EAuthMethod
GetAuthMethod returns value of AuthMethod
func (*AuthStatus) GetExternalPermission ¶
func (o *AuthStatus) GetExternalPermission() types.ExternalPermission
GetExternalPermission returns value of ExternalPermission
func (*AuthStatus) GetIsAPIKey ¶
func (o *AuthStatus) GetIsAPIKey() bool
GetIsAPIKey returns value of IsAPIKey
func (*AuthStatus) GetMemberClass ¶
func (o *AuthStatus) GetMemberClass() string
GetMemberClass returns value of MemberClass
func (*AuthStatus) GetMemberCode ¶
func (o *AuthStatus) GetMemberCode() string
GetMemberCode returns value of MemberCode
func (*AuthStatus) GetOperationPenalty ¶
func (o *AuthStatus) GetOperationPenalty() types.EOperationPenalty
GetOperationPenalty returns value of OperationPenalty
func (*AuthStatus) GetPermission ¶
func (o *AuthStatus) GetPermission() types.EPermission
GetPermission returns value of Permission
func (*AuthStatus) SetAccountClass ¶
func (o *AuthStatus) SetAccountClass(v string)
SetAccountClass sets value to AccountClass
func (*AuthStatus) SetAccountCode ¶
func (o *AuthStatus) SetAccountCode(v string)
SetAccountCode sets value to AccountCode
func (*AuthStatus) SetAccountID ¶
func (o *AuthStatus) SetAccountID(v types.ID)
SetAccountID sets value to AccountID
func (*AuthStatus) SetAccountName ¶
func (o *AuthStatus) SetAccountName(v string)
SetAccountName sets value to AccountName
func (*AuthStatus) SetAuthClass ¶
func (o *AuthStatus) SetAuthClass(v types.EAuthClass)
SetAuthClass sets value to AuthClass
func (*AuthStatus) SetAuthMethod ¶
func (o *AuthStatus) SetAuthMethod(v types.EAuthMethod)
SetAuthMethod sets value to AuthMethod
func (*AuthStatus) SetExternalPermission ¶
func (o *AuthStatus) SetExternalPermission(v types.ExternalPermission)
SetExternalPermission sets value to ExternalPermission
func (*AuthStatus) SetIsAPIKey ¶
func (o *AuthStatus) SetIsAPIKey(v bool)
SetIsAPIKey sets value to IsAPIKey
func (*AuthStatus) SetMemberClass ¶
func (o *AuthStatus) SetMemberClass(v string)
SetMemberClass sets value to MemberClass
func (*AuthStatus) SetMemberCode ¶
func (o *AuthStatus) SetMemberCode(v string)
SetMemberCode sets value to MemberCode
func (*AuthStatus) SetOperationPenalty ¶
func (o *AuthStatus) SetOperationPenalty(v types.EOperationPenalty)
SetOperationPenalty sets value to OperationPenalty
func (*AuthStatus) SetPermission ¶
func (o *AuthStatus) SetPermission(v types.EPermission)
SetPermission sets value to Permission
type AuthStatusAPI ¶
type AuthStatusAPI interface {
Read(ctx context.Context) (*AuthStatus, error)
}
AuthStatusAPI is interface for operate AuthStatus resource
func NewAuthStatusOp ¶
func NewAuthStatusOp(caller APICaller) AuthStatusAPI
NewAuthStatusOp creates new AuthStatusOp instance
type AuthStatusOp ¶
type AuthStatusOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
AuthStatusOp implements AuthStatusAPI interface
func (*AuthStatusOp) Read ¶
func (o *AuthStatusOp) Read(ctx context.Context) (*AuthStatus, error)
Read is API call
type AutoBackup ¶
type AutoBackup struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time BackupSpanWeekdays []types.EDayOfTheWeek `mapconv:"Settings.Autobackup.BackupSpanWeekdays"` MaximumNumberOfArchives int `mapconv:"Settings.Autobackup.MaximumNumberOfArchives"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` DiskID types.ID `mapconv:"Status.DiskID"` AccountID types.ID `mapconv:"Status.AccountID"` ZoneID types.ID `mapconv:"Status.ZoneID"` ZoneName string `mapconv:"Status.ZoneName"` }
AutoBackup represents API parameter/response structure
func (*AutoBackup) GetAccountID ¶
func (o *AutoBackup) GetAccountID() types.ID
GetAccountID returns value of AccountID
func (*AutoBackup) GetAvailability ¶
func (o *AutoBackup) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*AutoBackup) GetBackupSpanWeekdays ¶
func (o *AutoBackup) GetBackupSpanWeekdays() []types.EDayOfTheWeek
GetBackupSpanWeekdays returns value of BackupSpanWeekdays
func (*AutoBackup) GetCreatedAt ¶
func (o *AutoBackup) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*AutoBackup) GetDescription ¶
func (o *AutoBackup) GetDescription() string
GetDescription returns value of Description
func (*AutoBackup) GetDiskID ¶
func (o *AutoBackup) GetDiskID() types.ID
GetDiskID returns value of DiskID
func (*AutoBackup) GetIconID ¶
func (o *AutoBackup) GetIconID() types.ID
GetIconID returns value of IconID
func (*AutoBackup) GetMaximumNumberOfArchives ¶
func (o *AutoBackup) GetMaximumNumberOfArchives() int
GetMaximumNumberOfArchives returns value of MaximumNumberOfArchives
func (*AutoBackup) GetModifiedAt ¶
func (o *AutoBackup) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*AutoBackup) GetSettingsHash ¶
func (o *AutoBackup) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*AutoBackup) GetTags ¶
func (o *AutoBackup) GetTags() types.Tags
GetTags returns value of Tags
func (*AutoBackup) GetZoneID ¶
func (o *AutoBackup) GetZoneID() types.ID
GetZoneID returns value of ZoneID
func (*AutoBackup) GetZoneName ¶
func (o *AutoBackup) GetZoneName() string
GetZoneName returns value of ZoneName
func (*AutoBackup) SetAccountID ¶
func (o *AutoBackup) SetAccountID(v types.ID)
SetAccountID sets value to AccountID
func (*AutoBackup) SetAvailability ¶
func (o *AutoBackup) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*AutoBackup) SetBackupSpanWeekdays ¶
func (o *AutoBackup) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
SetBackupSpanWeekdays sets value to BackupSpanWeekdays
func (*AutoBackup) SetCreatedAt ¶
func (o *AutoBackup) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*AutoBackup) SetDescription ¶
func (o *AutoBackup) SetDescription(v string)
SetDescription sets value to Description
func (*AutoBackup) SetDiskID ¶
func (o *AutoBackup) SetDiskID(v types.ID)
SetDiskID sets value to DiskID
func (*AutoBackup) SetIconID ¶
func (o *AutoBackup) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*AutoBackup) SetMaximumNumberOfArchives ¶
func (o *AutoBackup) SetMaximumNumberOfArchives(v int)
SetMaximumNumberOfArchives sets value to MaximumNumberOfArchives
func (*AutoBackup) SetModifiedAt ¶
func (o *AutoBackup) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*AutoBackup) SetSettingsHash ¶
func (o *AutoBackup) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*AutoBackup) SetZoneID ¶
func (o *AutoBackup) SetZoneID(v types.ID)
SetZoneID sets value to ZoneID
func (*AutoBackup) SetZoneName ¶
func (o *AutoBackup) SetZoneName(v string)
SetZoneName sets value to ZoneName
type AutoBackupAPI ¶
type AutoBackupAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*AutoBackupFindResult, error) Create(ctx context.Context, zone string, param *AutoBackupCreateRequest) (*AutoBackup, error) Read(ctx context.Context, zone string, id types.ID) (*AutoBackup, error) Update(ctx context.Context, zone string, id types.ID, param *AutoBackupUpdateRequest) (*AutoBackup, error) UpdateSettings(ctx context.Context, zone string, id types.ID, param *AutoBackupUpdateSettingsRequest) (*AutoBackup, error) Delete(ctx context.Context, zone string, id types.ID) error }
AutoBackupAPI is interface for operate AutoBackup resource
func NewAutoBackupOp ¶
func NewAutoBackupOp(caller APICaller) AutoBackupAPI
NewAutoBackupOp creates new AutoBackupOp instance
type AutoBackupCreateRequest ¶
type AutoBackupCreateRequest struct { DiskID types.ID `mapconv:"Status.DiskID"` BackupSpanWeekdays []types.EDayOfTheWeek `mapconv:"Settings.Autobackup.BackupSpanWeekdays"` MaximumNumberOfArchives int `mapconv:"Settings.Autobackup.MaximumNumberOfArchives"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
AutoBackupCreateRequest represents API parameter/response structure
func (*AutoBackupCreateRequest) AppendTag ¶
func (o *AutoBackupCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*AutoBackupCreateRequest) ClearTags ¶
func (o *AutoBackupCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*AutoBackupCreateRequest) GetBackupSpanWeekdays ¶
func (o *AutoBackupCreateRequest) GetBackupSpanWeekdays() []types.EDayOfTheWeek
GetBackupSpanWeekdays returns value of BackupSpanWeekdays
func (*AutoBackupCreateRequest) GetDescription ¶
func (o *AutoBackupCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*AutoBackupCreateRequest) GetDiskID ¶
func (o *AutoBackupCreateRequest) GetDiskID() types.ID
GetDiskID returns value of DiskID
func (*AutoBackupCreateRequest) GetIconID ¶
func (o *AutoBackupCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*AutoBackupCreateRequest) GetMaximumNumberOfArchives ¶
func (o *AutoBackupCreateRequest) GetMaximumNumberOfArchives() int
GetMaximumNumberOfArchives returns value of MaximumNumberOfArchives
func (*AutoBackupCreateRequest) GetName ¶
func (o *AutoBackupCreateRequest) GetName() string
GetName returns value of Name
func (*AutoBackupCreateRequest) GetTags ¶
func (o *AutoBackupCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*AutoBackupCreateRequest) HasTag ¶
func (o *AutoBackupCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*AutoBackupCreateRequest) RemoveTag ¶
func (o *AutoBackupCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*AutoBackupCreateRequest) SetBackupSpanWeekdays ¶
func (o *AutoBackupCreateRequest) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
SetBackupSpanWeekdays sets value to BackupSpanWeekdays
func (*AutoBackupCreateRequest) SetDescription ¶
func (o *AutoBackupCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*AutoBackupCreateRequest) SetDiskID ¶
func (o *AutoBackupCreateRequest) SetDiskID(v types.ID)
SetDiskID sets value to DiskID
func (*AutoBackupCreateRequest) SetIconID ¶
func (o *AutoBackupCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*AutoBackupCreateRequest) SetMaximumNumberOfArchives ¶
func (o *AutoBackupCreateRequest) SetMaximumNumberOfArchives(v int)
SetMaximumNumberOfArchives sets value to MaximumNumberOfArchives
func (*AutoBackupCreateRequest) SetName ¶
func (o *AutoBackupCreateRequest) SetName(v string)
SetName sets value to Name
func (*AutoBackupCreateRequest) SetTags ¶
func (o *AutoBackupCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type AutoBackupFindResult ¶
type AutoBackupFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page AutoBackups []*AutoBackup `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
AutoBackupFindResult represents the Result of API
func (*AutoBackupFindResult) Values ¶
func (r *AutoBackupFindResult) Values() []interface{}
Values returns find results
type AutoBackupOp ¶
type AutoBackupOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
AutoBackupOp implements AutoBackupAPI interface
func (*AutoBackupOp) Create ¶
func (o *AutoBackupOp) Create(ctx context.Context, zone string, param *AutoBackupCreateRequest) (*AutoBackup, error)
Create is API call
func (*AutoBackupOp) Find ¶
func (o *AutoBackupOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*AutoBackupFindResult, error)
Find is API call
func (*AutoBackupOp) Read ¶
func (o *AutoBackupOp) Read(ctx context.Context, zone string, id types.ID) (*AutoBackup, error)
Read is API call
func (*AutoBackupOp) Update ¶
func (o *AutoBackupOp) Update(ctx context.Context, zone string, id types.ID, param *AutoBackupUpdateRequest) (*AutoBackup, error)
Update is API call
func (*AutoBackupOp) UpdateSettings ¶
func (o *AutoBackupOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *AutoBackupUpdateSettingsRequest) (*AutoBackup, error)
UpdateSettings is API call
type AutoBackupUpdateRequest ¶
type AutoBackupUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` BackupSpanWeekdays []types.EDayOfTheWeek `mapconv:"Settings.Autobackup.BackupSpanWeekdays"` MaximumNumberOfArchives int `mapconv:"Settings.Autobackup.MaximumNumberOfArchives"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
AutoBackupUpdateRequest represents API parameter/response structure
func (*AutoBackupUpdateRequest) AppendTag ¶
func (o *AutoBackupUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*AutoBackupUpdateRequest) ClearTags ¶
func (o *AutoBackupUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*AutoBackupUpdateRequest) GetBackupSpanWeekdays ¶
func (o *AutoBackupUpdateRequest) GetBackupSpanWeekdays() []types.EDayOfTheWeek
GetBackupSpanWeekdays returns value of BackupSpanWeekdays
func (*AutoBackupUpdateRequest) GetDescription ¶
func (o *AutoBackupUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*AutoBackupUpdateRequest) GetIconID ¶
func (o *AutoBackupUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*AutoBackupUpdateRequest) GetMaximumNumberOfArchives ¶
func (o *AutoBackupUpdateRequest) GetMaximumNumberOfArchives() int
GetMaximumNumberOfArchives returns value of MaximumNumberOfArchives
func (*AutoBackupUpdateRequest) GetName ¶
func (o *AutoBackupUpdateRequest) GetName() string
GetName returns value of Name
func (*AutoBackupUpdateRequest) GetSettingsHash ¶
func (o *AutoBackupUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*AutoBackupUpdateRequest) GetTags ¶
func (o *AutoBackupUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*AutoBackupUpdateRequest) HasTag ¶
func (o *AutoBackupUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*AutoBackupUpdateRequest) RemoveTag ¶
func (o *AutoBackupUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*AutoBackupUpdateRequest) SetBackupSpanWeekdays ¶
func (o *AutoBackupUpdateRequest) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
SetBackupSpanWeekdays sets value to BackupSpanWeekdays
func (*AutoBackupUpdateRequest) SetDescription ¶
func (o *AutoBackupUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*AutoBackupUpdateRequest) SetIconID ¶
func (o *AutoBackupUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*AutoBackupUpdateRequest) SetMaximumNumberOfArchives ¶
func (o *AutoBackupUpdateRequest) SetMaximumNumberOfArchives(v int)
SetMaximumNumberOfArchives sets value to MaximumNumberOfArchives
func (*AutoBackupUpdateRequest) SetName ¶
func (o *AutoBackupUpdateRequest) SetName(v string)
SetName sets value to Name
func (*AutoBackupUpdateRequest) SetSettingsHash ¶
func (o *AutoBackupUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*AutoBackupUpdateRequest) SetTags ¶
func (o *AutoBackupUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type AutoBackupUpdateSettingsRequest ¶
type AutoBackupUpdateSettingsRequest struct { BackupSpanWeekdays []types.EDayOfTheWeek `mapconv:"Settings.Autobackup.BackupSpanWeekdays"` MaximumNumberOfArchives int `mapconv:"Settings.Autobackup.MaximumNumberOfArchives"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
AutoBackupUpdateSettingsRequest represents API parameter/response structure
func (*AutoBackupUpdateSettingsRequest) GetBackupSpanWeekdays ¶
func (o *AutoBackupUpdateSettingsRequest) GetBackupSpanWeekdays() []types.EDayOfTheWeek
GetBackupSpanWeekdays returns value of BackupSpanWeekdays
func (*AutoBackupUpdateSettingsRequest) GetMaximumNumberOfArchives ¶
func (o *AutoBackupUpdateSettingsRequest) GetMaximumNumberOfArchives() int
GetMaximumNumberOfArchives returns value of MaximumNumberOfArchives
func (*AutoBackupUpdateSettingsRequest) GetSettingsHash ¶
func (o *AutoBackupUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*AutoBackupUpdateSettingsRequest) SetBackupSpanWeekdays ¶
func (o *AutoBackupUpdateSettingsRequest) SetBackupSpanWeekdays(v []types.EDayOfTheWeek)
SetBackupSpanWeekdays sets value to BackupSpanWeekdays
func (*AutoBackupUpdateSettingsRequest) SetMaximumNumberOfArchives ¶
func (o *AutoBackupUpdateSettingsRequest) SetMaximumNumberOfArchives(v int)
SetMaximumNumberOfArchives sets value to MaximumNumberOfArchives
func (*AutoBackupUpdateSettingsRequest) SetSettingsHash ¶
func (o *AutoBackupUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
type AutoScale ¶ added in v1.1.0
type AutoScale struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Disabled bool `mapconv:"Settings.Disabled"` Zones []string `mapconv:"Settings.Zones"` Config string `mapconv:"Settings.Config"` TriggerType types.EAutoScaleTriggerType `mapconv:"Settings.TriggerType"` CPUThresholdScaling *AutoScaleCPUThresholdScaling `mapconv:"Settings.CPUThresholdScaling,recursive"` RouterThresholdScaling *AutoScaleRouterThresholdScaling `mapconv:"Settings.RouterThresholdScaling,recursive"` ScheduleScaling []*AutoScaleScheduleScaling `mapconv:"Settings.ScheduleScaling,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` APIKeyID string `mapconv:"Status.APIKey.ID"` }
AutoScale represents API parameter/response structure
func (*AutoScale) GetAPIKeyID ¶ added in v1.1.0
GetAPIKeyID returns value of APIKeyID
func (*AutoScale) GetAvailability ¶ added in v1.1.0
func (o *AutoScale) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*AutoScale) GetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScale) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
GetCPUThresholdScaling returns value of CPUThresholdScaling
func (*AutoScale) GetCreatedAt ¶ added in v1.1.0
GetCreatedAt returns value of CreatedAt
func (*AutoScale) GetDescription ¶ added in v1.1.0
GetDescription returns value of Description
func (*AutoScale) GetDisabled ¶ added in v1.9.0
GetDisabled returns value of Disabled
func (*AutoScale) GetModifiedAt ¶ added in v1.1.0
GetModifiedAt returns value of ModifiedAt
func (*AutoScale) GetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScale) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
GetRouterThresholdScaling returns value of RouterThresholdScaling
func (*AutoScale) GetScheduleScaling ¶ added in v1.9.0
func (o *AutoScale) GetScheduleScaling() []*AutoScaleScheduleScaling
GetScheduleScaling returns value of ScheduleScaling
func (*AutoScale) GetSettingsHash ¶ added in v1.1.0
GetSettingsHash returns value of SettingsHash
func (*AutoScale) GetStringID ¶ added in v1.1.0
GetStringID .
func (*AutoScale) GetTriggerType ¶ added in v1.7.0
func (o *AutoScale) GetTriggerType() types.EAutoScaleTriggerType
GetTriggerType returns value of TriggerType
func (*AutoScale) SetAPIKeyID ¶ added in v1.1.0
SetAPIKeyID sets value to APIKeyID
func (*AutoScale) SetAvailability ¶ added in v1.1.0
func (o *AutoScale) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*AutoScale) SetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScale) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
SetCPUThresholdScaling sets value to CPUThresholdScaling
func (*AutoScale) SetCreatedAt ¶ added in v1.1.0
SetCreatedAt sets value to CreatedAt
func (*AutoScale) SetDescription ¶ added in v1.1.0
SetDescription sets value to Description
func (*AutoScale) SetDisabled ¶ added in v1.9.0
SetDisabled sets value to Disabled
func (*AutoScale) SetInt64ID ¶ added in v1.1.0
SetInt64ID .
func (*AutoScale) SetModifiedAt ¶ added in v1.1.0
SetModifiedAt sets value to ModifiedAt
func (*AutoScale) SetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScale) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
SetRouterThresholdScaling sets value to RouterThresholdScaling
func (*AutoScale) SetScheduleScaling ¶ added in v1.9.0
func (o *AutoScale) SetScheduleScaling(v []*AutoScaleScheduleScaling)
SetScheduleScaling sets value to ScheduleScaling
func (*AutoScale) SetSettingsHash ¶ added in v1.1.0
SetSettingsHash sets value to SettingsHash
func (*AutoScale) SetStringID ¶ added in v1.1.0
SetStringID .
func (*AutoScale) SetTriggerType ¶ added in v1.7.0
func (o *AutoScale) SetTriggerType(v types.EAutoScaleTriggerType)
SetTriggerType sets value to TriggerType
type AutoScaleAPI ¶ added in v1.1.0
type AutoScaleAPI interface { Find(ctx context.Context, conditions *FindCondition) (*AutoScaleFindResult, error) Create(ctx context.Context, param *AutoScaleCreateRequest) (*AutoScale, error) Read(ctx context.Context, id types.ID) (*AutoScale, error) Update(ctx context.Context, id types.ID, param *AutoScaleUpdateRequest) (*AutoScale, error) UpdateSettings(ctx context.Context, id types.ID, param *AutoScaleUpdateSettingsRequest) (*AutoScale, error) Delete(ctx context.Context, id types.ID) error Status(ctx context.Context, id types.ID) (*AutoScaleStatus, error) ScaleUp(ctx context.Context, id types.ID) error ScaleDown(ctx context.Context, id types.ID) error }
AutoScaleAPI is interface for operate AutoScale resource
func NewAutoScaleOp ¶ added in v1.1.0
func NewAutoScaleOp(caller APICaller) AutoScaleAPI
NewAutoScaleOp creates new AutoScaleOp instance
type AutoScaleCPUThresholdScaling ¶ added in v1.1.1
AutoScaleCPUThresholdScaling represents API parameter/response structure
func (*AutoScaleCPUThresholdScaling) GetDown ¶ added in v1.1.1
func (o *AutoScaleCPUThresholdScaling) GetDown() int
GetDown returns value of Down
func (*AutoScaleCPUThresholdScaling) GetServerPrefix ¶ added in v1.1.1
func (o *AutoScaleCPUThresholdScaling) GetServerPrefix() string
GetServerPrefix returns value of ServerPrefix
func (*AutoScaleCPUThresholdScaling) GetUp ¶ added in v1.1.1
func (o *AutoScaleCPUThresholdScaling) GetUp() int
GetUp returns value of Up
func (*AutoScaleCPUThresholdScaling) SetDown ¶ added in v1.1.1
func (o *AutoScaleCPUThresholdScaling) SetDown(v int)
SetDown sets value to Down
func (*AutoScaleCPUThresholdScaling) SetServerPrefix ¶ added in v1.1.1
func (o *AutoScaleCPUThresholdScaling) SetServerPrefix(v string)
SetServerPrefix sets value to ServerPrefix
func (*AutoScaleCPUThresholdScaling) SetUp ¶ added in v1.1.1
func (o *AutoScaleCPUThresholdScaling) SetUp(v int)
SetUp sets value to Up
type AutoScaleCreateRequest ¶ added in v1.1.0
type AutoScaleCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Disabled bool `mapconv:"Settings.Disabled"` Zones []string `mapconv:"Settings.Zones"` Config string `mapconv:"Settings.Config"` TriggerType types.EAutoScaleTriggerType `mapconv:"Settings.TriggerType"` CPUThresholdScaling *AutoScaleCPUThresholdScaling `mapconv:"Settings.CPUThresholdScaling,recursive"` RouterThresholdScaling *AutoScaleRouterThresholdScaling `mapconv:"Settings.RouterThresholdScaling,recursive"` ScheduleScaling []*AutoScaleScheduleScaling `mapconv:"Settings.ScheduleScaling,recursive"` APIKeyID string `mapconv:"Status.APIKey.ID"` }
AutoScaleCreateRequest represents API parameter/response structure
func (*AutoScaleCreateRequest) AppendTag ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*AutoScaleCreateRequest) ClearTags ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*AutoScaleCreateRequest) GetAPIKeyID ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetAPIKeyID() string
GetAPIKeyID returns value of APIKeyID
func (*AutoScaleCreateRequest) GetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScaleCreateRequest) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
GetCPUThresholdScaling returns value of CPUThresholdScaling
func (*AutoScaleCreateRequest) GetConfig ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetConfig() string
GetConfig returns value of Config
func (*AutoScaleCreateRequest) GetDescription ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*AutoScaleCreateRequest) GetDisabled ¶ added in v1.9.0
func (o *AutoScaleCreateRequest) GetDisabled() bool
GetDisabled returns value of Disabled
func (*AutoScaleCreateRequest) GetIconID ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*AutoScaleCreateRequest) GetName ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetName() string
GetName returns value of Name
func (*AutoScaleCreateRequest) GetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScaleCreateRequest) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
GetRouterThresholdScaling returns value of RouterThresholdScaling
func (*AutoScaleCreateRequest) GetScheduleScaling ¶ added in v1.9.0
func (o *AutoScaleCreateRequest) GetScheduleScaling() []*AutoScaleScheduleScaling
GetScheduleScaling returns value of ScheduleScaling
func (*AutoScaleCreateRequest) GetTags ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*AutoScaleCreateRequest) GetTriggerType ¶ added in v1.7.0
func (o *AutoScaleCreateRequest) GetTriggerType() types.EAutoScaleTriggerType
GetTriggerType returns value of TriggerType
func (*AutoScaleCreateRequest) GetZones ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) GetZones() []string
GetZones returns value of Zones
func (*AutoScaleCreateRequest) HasTag ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*AutoScaleCreateRequest) RemoveTag ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*AutoScaleCreateRequest) SetAPIKeyID ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetAPIKeyID(v string)
SetAPIKeyID sets value to APIKeyID
func (*AutoScaleCreateRequest) SetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScaleCreateRequest) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
SetCPUThresholdScaling sets value to CPUThresholdScaling
func (*AutoScaleCreateRequest) SetConfig ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetConfig(v string)
SetConfig sets value to Config
func (*AutoScaleCreateRequest) SetDescription ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*AutoScaleCreateRequest) SetDisabled ¶ added in v1.9.0
func (o *AutoScaleCreateRequest) SetDisabled(v bool)
SetDisabled sets value to Disabled
func (*AutoScaleCreateRequest) SetIconID ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*AutoScaleCreateRequest) SetName ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetName(v string)
SetName sets value to Name
func (*AutoScaleCreateRequest) SetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScaleCreateRequest) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
SetRouterThresholdScaling sets value to RouterThresholdScaling
func (*AutoScaleCreateRequest) SetScheduleScaling ¶ added in v1.9.0
func (o *AutoScaleCreateRequest) SetScheduleScaling(v []*AutoScaleScheduleScaling)
SetScheduleScaling sets value to ScheduleScaling
func (*AutoScaleCreateRequest) SetTags ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*AutoScaleCreateRequest) SetTriggerType ¶ added in v1.7.0
func (o *AutoScaleCreateRequest) SetTriggerType(v types.EAutoScaleTriggerType)
SetTriggerType sets value to TriggerType
func (*AutoScaleCreateRequest) SetZones ¶ added in v1.1.0
func (o *AutoScaleCreateRequest) SetZones(v []string)
SetZones sets value to Zones
type AutoScaleFindResult ¶ added in v1.1.0
type AutoScaleFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page AutoScale []*AutoScale `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
AutoScaleFindResult represents the Result of API
func (*AutoScaleFindResult) Values ¶ added in v1.1.0
func (r *AutoScaleFindResult) Values() []interface{}
Values returns find results
type AutoScaleOp ¶ added in v1.1.0
type AutoScaleOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
AutoScaleOp implements AutoScaleAPI interface
func (*AutoScaleOp) Create ¶ added in v1.1.0
func (o *AutoScaleOp) Create(ctx context.Context, param *AutoScaleCreateRequest) (*AutoScale, error)
Create is API call
func (*AutoScaleOp) Find ¶ added in v1.1.0
func (o *AutoScaleOp) Find(ctx context.Context, conditions *FindCondition) (*AutoScaleFindResult, error)
Find is API call
func (*AutoScaleOp) Status ¶ added in v1.1.0
func (o *AutoScaleOp) Status(ctx context.Context, id types.ID) (*AutoScaleStatus, error)
Status is API call
func (*AutoScaleOp) Update ¶ added in v1.1.0
func (o *AutoScaleOp) Update(ctx context.Context, id types.ID, param *AutoScaleUpdateRequest) (*AutoScale, error)
Update is API call
func (*AutoScaleOp) UpdateSettings ¶ added in v1.1.0
func (o *AutoScaleOp) UpdateSettings(ctx context.Context, id types.ID, param *AutoScaleUpdateSettingsRequest) (*AutoScale, error)
UpdateSettings is API call
type AutoScaleRouterThresholdScaling ¶ added in v1.7.0
AutoScaleRouterThresholdScaling represents API parameter/response structure
func (*AutoScaleRouterThresholdScaling) GetDirection ¶ added in v1.7.0
func (o *AutoScaleRouterThresholdScaling) GetDirection() string
GetDirection returns value of Direction
func (*AutoScaleRouterThresholdScaling) GetMbps ¶ added in v1.7.0
func (o *AutoScaleRouterThresholdScaling) GetMbps() int
GetMbps returns value of Mbps
func (*AutoScaleRouterThresholdScaling) GetRouterPrefix ¶ added in v1.7.0
func (o *AutoScaleRouterThresholdScaling) GetRouterPrefix() string
GetRouterPrefix returns value of RouterPrefix
func (*AutoScaleRouterThresholdScaling) SetDirection ¶ added in v1.7.0
func (o *AutoScaleRouterThresholdScaling) SetDirection(v string)
SetDirection sets value to Direction
func (*AutoScaleRouterThresholdScaling) SetMbps ¶ added in v1.7.0
func (o *AutoScaleRouterThresholdScaling) SetMbps(v int)
SetMbps sets value to Mbps
func (*AutoScaleRouterThresholdScaling) SetRouterPrefix ¶ added in v1.7.0
func (o *AutoScaleRouterThresholdScaling) SetRouterPrefix(v string)
SetRouterPrefix sets value to RouterPrefix
type AutoScaleScheduleScaling ¶ added in v1.9.0
type AutoScaleScheduleScaling struct { Action types.EAutoScaleAction Hour int Minute int DayOfWeek []types.EDayOfTheWeek }
AutoScaleScheduleScaling represents API parameter/response structure
func (*AutoScaleScheduleScaling) GetAction ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) GetAction() types.EAutoScaleAction
GetAction returns value of Action
func (*AutoScaleScheduleScaling) GetDayOfWeek ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) GetDayOfWeek() []types.EDayOfTheWeek
GetDayOfWeek returns value of DayOfWeek
func (*AutoScaleScheduleScaling) GetHour ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) GetHour() int
GetHour returns value of Hour
func (*AutoScaleScheduleScaling) GetMinute ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) GetMinute() int
GetMinute returns value of Minute
func (*AutoScaleScheduleScaling) SetAction ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) SetAction(v types.EAutoScaleAction)
SetAction sets value to Action
func (*AutoScaleScheduleScaling) SetDayOfWeek ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) SetDayOfWeek(v []types.EDayOfTheWeek)
SetDayOfWeek sets value to DayOfWeek
func (*AutoScaleScheduleScaling) SetHour ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) SetHour(v int)
SetHour sets value to Hour
func (*AutoScaleScheduleScaling) SetMinute ¶ added in v1.9.0
func (o *AutoScaleScheduleScaling) SetMinute(v int)
SetMinute sets value to Minute
type AutoScaleStatus ¶ added in v1.1.0
AutoScaleStatus represents API parameter/response structure
func (*AutoScaleStatus) GetLatestLogs ¶ added in v1.1.0
func (o *AutoScaleStatus) GetLatestLogs() []string
GetLatestLogs returns value of LatestLogs
func (*AutoScaleStatus) GetResourcesText ¶ added in v1.1.0
func (o *AutoScaleStatus) GetResourcesText() string
GetResourcesText returns value of ResourcesText
func (*AutoScaleStatus) SetLatestLogs ¶ added in v1.1.0
func (o *AutoScaleStatus) SetLatestLogs(v []string)
SetLatestLogs sets value to LatestLogs
func (*AutoScaleStatus) SetResourcesText ¶ added in v1.1.0
func (o *AutoScaleStatus) SetResourcesText(v string)
SetResourcesText sets value to ResourcesText
type AutoScaleUpdateRequest ¶ added in v1.1.0
type AutoScaleUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Disabled bool `mapconv:"Settings.Disabled"` Zones []string `mapconv:"Settings.Zones"` Config string `mapconv:"Settings.Config"` TriggerType types.EAutoScaleTriggerType `mapconv:"Settings.TriggerType"` CPUThresholdScaling *AutoScaleCPUThresholdScaling `mapconv:"Settings.CPUThresholdScaling,recursive"` RouterThresholdScaling *AutoScaleRouterThresholdScaling `mapconv:"Settings.RouterThresholdScaling,recursive"` ScheduleScaling []*AutoScaleScheduleScaling `mapconv:"Settings.ScheduleScaling,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
AutoScaleUpdateRequest represents API parameter/response structure
func (*AutoScaleUpdateRequest) AppendTag ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*AutoScaleUpdateRequest) ClearTags ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*AutoScaleUpdateRequest) GetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScaleUpdateRequest) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
GetCPUThresholdScaling returns value of CPUThresholdScaling
func (*AutoScaleUpdateRequest) GetConfig ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetConfig() string
GetConfig returns value of Config
func (*AutoScaleUpdateRequest) GetDescription ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*AutoScaleUpdateRequest) GetDisabled ¶ added in v1.9.0
func (o *AutoScaleUpdateRequest) GetDisabled() bool
GetDisabled returns value of Disabled
func (*AutoScaleUpdateRequest) GetIconID ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*AutoScaleUpdateRequest) GetName ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetName() string
GetName returns value of Name
func (*AutoScaleUpdateRequest) GetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScaleUpdateRequest) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
GetRouterThresholdScaling returns value of RouterThresholdScaling
func (*AutoScaleUpdateRequest) GetScheduleScaling ¶ added in v1.9.0
func (o *AutoScaleUpdateRequest) GetScheduleScaling() []*AutoScaleScheduleScaling
GetScheduleScaling returns value of ScheduleScaling
func (*AutoScaleUpdateRequest) GetSettingsHash ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*AutoScaleUpdateRequest) GetTags ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*AutoScaleUpdateRequest) GetTriggerType ¶ added in v1.7.0
func (o *AutoScaleUpdateRequest) GetTriggerType() types.EAutoScaleTriggerType
GetTriggerType returns value of TriggerType
func (*AutoScaleUpdateRequest) GetZones ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) GetZones() []string
GetZones returns value of Zones
func (*AutoScaleUpdateRequest) HasTag ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*AutoScaleUpdateRequest) RemoveTag ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*AutoScaleUpdateRequest) SetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScaleUpdateRequest) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
SetCPUThresholdScaling sets value to CPUThresholdScaling
func (*AutoScaleUpdateRequest) SetConfig ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetConfig(v string)
SetConfig sets value to Config
func (*AutoScaleUpdateRequest) SetDescription ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*AutoScaleUpdateRequest) SetDisabled ¶ added in v1.9.0
func (o *AutoScaleUpdateRequest) SetDisabled(v bool)
SetDisabled sets value to Disabled
func (*AutoScaleUpdateRequest) SetIconID ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*AutoScaleUpdateRequest) SetName ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetName(v string)
SetName sets value to Name
func (*AutoScaleUpdateRequest) SetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScaleUpdateRequest) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
SetRouterThresholdScaling sets value to RouterThresholdScaling
func (*AutoScaleUpdateRequest) SetScheduleScaling ¶ added in v1.9.0
func (o *AutoScaleUpdateRequest) SetScheduleScaling(v []*AutoScaleScheduleScaling)
SetScheduleScaling sets value to ScheduleScaling
func (*AutoScaleUpdateRequest) SetSettingsHash ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*AutoScaleUpdateRequest) SetTags ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*AutoScaleUpdateRequest) SetTriggerType ¶ added in v1.7.0
func (o *AutoScaleUpdateRequest) SetTriggerType(v types.EAutoScaleTriggerType)
SetTriggerType sets value to TriggerType
func (*AutoScaleUpdateRequest) SetZones ¶ added in v1.1.0
func (o *AutoScaleUpdateRequest) SetZones(v []string)
SetZones sets value to Zones
type AutoScaleUpdateSettingsRequest ¶ added in v1.1.0
type AutoScaleUpdateSettingsRequest struct { Disabled bool `mapconv:"Settings.Disabled"` Zones []string `mapconv:"Settings.Zones"` Config string `mapconv:"Settings.Config"` TriggerType types.EAutoScaleTriggerType `mapconv:"Settings.TriggerType"` CPUThresholdScaling *AutoScaleCPUThresholdScaling `mapconv:"Settings.CPUThresholdScaling,recursive"` RouterThresholdScaling *AutoScaleRouterThresholdScaling `mapconv:"Settings.RouterThresholdScaling,recursive"` ScheduleScaling []*AutoScaleScheduleScaling `mapconv:"Settings.ScheduleScaling,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
AutoScaleUpdateSettingsRequest represents API parameter/response structure
func (*AutoScaleUpdateSettingsRequest) GetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScaleUpdateSettingsRequest) GetCPUThresholdScaling() *AutoScaleCPUThresholdScaling
GetCPUThresholdScaling returns value of CPUThresholdScaling
func (*AutoScaleUpdateSettingsRequest) GetConfig ¶ added in v1.1.0
func (o *AutoScaleUpdateSettingsRequest) GetConfig() string
GetConfig returns value of Config
func (*AutoScaleUpdateSettingsRequest) GetDisabled ¶ added in v1.9.0
func (o *AutoScaleUpdateSettingsRequest) GetDisabled() bool
GetDisabled returns value of Disabled
func (*AutoScaleUpdateSettingsRequest) GetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScaleUpdateSettingsRequest) GetRouterThresholdScaling() *AutoScaleRouterThresholdScaling
GetRouterThresholdScaling returns value of RouterThresholdScaling
func (*AutoScaleUpdateSettingsRequest) GetScheduleScaling ¶ added in v1.9.0
func (o *AutoScaleUpdateSettingsRequest) GetScheduleScaling() []*AutoScaleScheduleScaling
GetScheduleScaling returns value of ScheduleScaling
func (*AutoScaleUpdateSettingsRequest) GetSettingsHash ¶ added in v1.1.0
func (o *AutoScaleUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*AutoScaleUpdateSettingsRequest) GetTriggerType ¶ added in v1.7.0
func (o *AutoScaleUpdateSettingsRequest) GetTriggerType() types.EAutoScaleTriggerType
GetTriggerType returns value of TriggerType
func (*AutoScaleUpdateSettingsRequest) GetZones ¶ added in v1.1.0
func (o *AutoScaleUpdateSettingsRequest) GetZones() []string
GetZones returns value of Zones
func (*AutoScaleUpdateSettingsRequest) SetCPUThresholdScaling ¶ added in v1.1.1
func (o *AutoScaleUpdateSettingsRequest) SetCPUThresholdScaling(v *AutoScaleCPUThresholdScaling)
SetCPUThresholdScaling sets value to CPUThresholdScaling
func (*AutoScaleUpdateSettingsRequest) SetConfig ¶ added in v1.1.0
func (o *AutoScaleUpdateSettingsRequest) SetConfig(v string)
SetConfig sets value to Config
func (*AutoScaleUpdateSettingsRequest) SetDisabled ¶ added in v1.9.0
func (o *AutoScaleUpdateSettingsRequest) SetDisabled(v bool)
SetDisabled sets value to Disabled
func (*AutoScaleUpdateSettingsRequest) SetRouterThresholdScaling ¶ added in v1.7.0
func (o *AutoScaleUpdateSettingsRequest) SetRouterThresholdScaling(v *AutoScaleRouterThresholdScaling)
SetRouterThresholdScaling sets value to RouterThresholdScaling
func (*AutoScaleUpdateSettingsRequest) SetScheduleScaling ¶ added in v1.9.0
func (o *AutoScaleUpdateSettingsRequest) SetScheduleScaling(v []*AutoScaleScheduleScaling)
SetScheduleScaling sets value to ScheduleScaling
func (*AutoScaleUpdateSettingsRequest) SetSettingsHash ¶ added in v1.1.0
func (o *AutoScaleUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*AutoScaleUpdateSettingsRequest) SetTriggerType ¶ added in v1.7.0
func (o *AutoScaleUpdateSettingsRequest) SetTriggerType(v types.EAutoScaleTriggerType)
SetTriggerType sets value to TriggerType
func (*AutoScaleUpdateSettingsRequest) SetZones ¶ added in v1.1.0
func (o *AutoScaleUpdateSettingsRequest) SetZones(v []string)
SetZones sets value to Zones
type Bill ¶
type Bill struct { ID types.ID Amount int64 Date time.Time MemberID string Paid bool PayLimit time.Time PaymentClassID types.ID }
Bill represents API parameter/response structure
func (*Bill) GetMemberID ¶
GetMemberID returns value of MemberID
func (*Bill) GetPayLimit ¶
GetPayLimit returns value of PayLimit
func (*Bill) GetPaymentClassID ¶
GetPaymentClassID returns value of PaymentClassID
func (*Bill) SetPayLimit ¶
SetPayLimit sets value to PayLimit
func (*Bill) SetPaymentClassID ¶
SetPaymentClassID sets value to PaymentClassID
type BillAPI ¶
type BillAPI interface { ByContract(ctx context.Context, accountID types.ID) (*BillByContractResult, error) ByContractYear(ctx context.Context, accountID types.ID, year int) (*BillByContractYearResult, error) ByContractYearMonth(ctx context.Context, accountID types.ID, year int, month int) (*BillByContractYearMonthResult, error) Read(ctx context.Context, id types.ID) (*BillReadResult, error) Details(ctx context.Context, MemberCode string, id types.ID) (*BillDetailsResult, error) DetailsCSV(ctx context.Context, MemberCode string, id types.ID) (*BillDetailCSV, error) }
BillAPI is interface for operate Bill resource
type BillByContractResult ¶
type BillByContractResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"` }
BillByContractResult represents the Result of API
func (*BillByContractResult) Values ¶
func (r *BillByContractResult) Values() []interface{}
Values returns find results
type BillByContractYearMonthResult ¶
type BillByContractYearMonthResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"` }
BillByContractYearMonthResult represents the Result of API
func (*BillByContractYearMonthResult) Values ¶
func (r *BillByContractYearMonthResult) Values() []interface{}
Values returns find results
type BillByContractYearResult ¶
type BillByContractYearResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"` }
BillByContractYearResult represents the Result of API
func (*BillByContractYearResult) Values ¶
func (r *BillByContractYearResult) Values() []interface{}
Values returns find results
type BillDetail ¶
type BillDetail struct { ID types.ID Amount int64 Description string ServiceClassID types.ID ServiceClassPath string Usage int64 FormattedUsage string ServiceUsagePath string Zone string ContractEndAt time.Time }
BillDetail represents API parameter/response structure
func (*BillDetail) GetAmount ¶
func (o *BillDetail) GetAmount() int64
GetAmount returns value of Amount
func (*BillDetail) GetContractEndAt ¶
func (o *BillDetail) GetContractEndAt() time.Time
GetContractEndAt returns value of ContractEndAt
func (*BillDetail) GetDescription ¶
func (o *BillDetail) GetDescription() string
GetDescription returns value of Description
func (*BillDetail) GetFormattedUsage ¶
func (o *BillDetail) GetFormattedUsage() string
GetFormattedUsage returns value of FormattedUsage
func (*BillDetail) GetServiceClassID ¶
func (o *BillDetail) GetServiceClassID() types.ID
GetServiceClassID returns value of ServiceClassID
func (*BillDetail) GetServiceClassPath ¶
func (o *BillDetail) GetServiceClassPath() string
GetServiceClassPath returns value of ServiceClassPath
func (*BillDetail) GetServiceUsagePath ¶
func (o *BillDetail) GetServiceUsagePath() string
GetServiceUsagePath returns value of ServiceUsagePath
func (*BillDetail) SetAmount ¶
func (o *BillDetail) SetAmount(v int64)
SetAmount sets value to Amount
func (*BillDetail) SetContractEndAt ¶
func (o *BillDetail) SetContractEndAt(v time.Time)
SetContractEndAt sets value to ContractEndAt
func (*BillDetail) SetDescription ¶
func (o *BillDetail) SetDescription(v string)
SetDescription sets value to Description
func (*BillDetail) SetFormattedUsage ¶
func (o *BillDetail) SetFormattedUsage(v string)
SetFormattedUsage sets value to FormattedUsage
func (*BillDetail) SetServiceClassID ¶
func (o *BillDetail) SetServiceClassID(v types.ID)
SetServiceClassID sets value to ServiceClassID
func (*BillDetail) SetServiceClassPath ¶
func (o *BillDetail) SetServiceClassPath(v string)
SetServiceClassPath sets value to ServiceClassPath
func (*BillDetail) SetServiceUsagePath ¶
func (o *BillDetail) SetServiceUsagePath(v string)
SetServiceUsagePath sets value to ServiceUsagePath
type BillDetailCSV ¶
type BillDetailCSV struct { Count int ResponsedAt time.Time Filename string RawBody string HeaderRow []string BodyRows [][]string }
BillDetailCSV represents API parameter/response structure
func (*BillDetailCSV) GetBodyRows ¶
func (o *BillDetailCSV) GetBodyRows() [][]string
GetBodyRows returns value of BodyRows
func (*BillDetailCSV) GetCount ¶
func (o *BillDetailCSV) GetCount() int
GetCount returns value of Count
func (*BillDetailCSV) GetFilename ¶
func (o *BillDetailCSV) GetFilename() string
GetFilename returns value of Filename
func (*BillDetailCSV) GetHeaderRow ¶
func (o *BillDetailCSV) GetHeaderRow() []string
GetHeaderRow returns value of HeaderRow
func (*BillDetailCSV) GetRawBody ¶
func (o *BillDetailCSV) GetRawBody() string
GetRawBody returns value of RawBody
func (*BillDetailCSV) GetResponsedAt ¶
func (o *BillDetailCSV) GetResponsedAt() time.Time
GetResponsedAt returns value of ResponsedAt
func (*BillDetailCSV) SetBodyRows ¶
func (o *BillDetailCSV) SetBodyRows(v [][]string)
SetBodyRows sets value to BodyRows
func (*BillDetailCSV) SetCount ¶
func (o *BillDetailCSV) SetCount(v int)
SetCount sets value to Count
func (*BillDetailCSV) SetFilename ¶
func (o *BillDetailCSV) SetFilename(v string)
SetFilename sets value to Filename
func (*BillDetailCSV) SetHeaderRow ¶
func (o *BillDetailCSV) SetHeaderRow(v []string)
SetHeaderRow sets value to HeaderRow
func (*BillDetailCSV) SetRawBody ¶
func (o *BillDetailCSV) SetRawBody(v string)
SetRawBody sets value to RawBody
func (*BillDetailCSV) SetResponsedAt ¶
func (o *BillDetailCSV) SetResponsedAt(v time.Time)
SetResponsedAt sets value to ResponsedAt
type BillDetailsResult ¶
type BillDetailsResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page BillDetails []*BillDetail `json:",omitempty" mapconv:"[]BillDetails,omitempty,recursive"` }
BillDetailsResult represents the Result of API
func (*BillDetailsResult) Values ¶
func (r *BillDetailsResult) Values() []interface{}
Values returns find results
type BillOp ¶
type BillOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
BillOp implements BillAPI interface
func (*BillOp) ByContract ¶
ByContract is API call
func (*BillOp) ByContractYear ¶
func (o *BillOp) ByContractYear(ctx context.Context, accountID types.ID, year int) (*BillByContractYearResult, error)
ByContractYear is API call
func (*BillOp) ByContractYearMonth ¶
func (o *BillOp) ByContractYearMonth(ctx context.Context, accountID types.ID, year int, month int) (*BillByContractYearMonthResult, error)
ByContractYearMonth is API call
func (*BillOp) Details ¶
func (o *BillOp) Details(ctx context.Context, MemberCode string, id types.ID) (*BillDetailsResult, error)
Details is API call
func (*BillOp) DetailsCSV ¶
func (o *BillOp) DetailsCSV(ctx context.Context, MemberCode string, id types.ID) (*BillDetailCSV, error)
DetailsCSV is API call
type BillReadResult ¶
type BillReadResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Bills []*Bill `json:",omitempty" mapconv:"[]Bills,omitempty,recursive"` }
BillReadResult represents the Result of API
func (*BillReadResult) Values ¶
func (r *BillReadResult) Values() []interface{}
Values returns find results
type Bridge ¶
type Bridge struct { ID types.ID Name string Description string CreatedAt time.Time Region *Region `json:",omitempty"` BridgeInfo []*BridgeInfo `mapconv:"Info.[]Switches,recursive"` SwitchInZone *BridgeSwitchInfo }
Bridge represents API parameter/response structure
func (*Bridge) GetBridgeInfo ¶
func (o *Bridge) GetBridgeInfo() []*BridgeInfo
GetBridgeInfo returns value of BridgeInfo
func (*Bridge) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Bridge) GetDescription ¶
GetDescription returns value of Description
func (*Bridge) GetSwitchInZone ¶
func (o *Bridge) GetSwitchInZone() *BridgeSwitchInfo
GetSwitchInZone returns value of SwitchInZone
func (*Bridge) SetBridgeInfo ¶
func (o *Bridge) SetBridgeInfo(v []*BridgeInfo)
SetBridgeInfo sets value to BridgeInfo
func (*Bridge) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Bridge) SetDescription ¶
SetDescription sets value to Description
func (*Bridge) SetSwitchInZone ¶
func (o *Bridge) SetSwitchInZone(v *BridgeSwitchInfo)
SetSwitchInZone sets value to SwitchInZone
type BridgeAPI ¶
type BridgeAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*BridgeFindResult, error) Create(ctx context.Context, zone string, param *BridgeCreateRequest) (*Bridge, error) Read(ctx context.Context, zone string, id types.ID) (*Bridge, error) Update(ctx context.Context, zone string, id types.ID, param *BridgeUpdateRequest) (*Bridge, error) Delete(ctx context.Context, zone string, id types.ID) error }
BridgeAPI is interface for operate Bridge resource
func NewBridgeOp ¶
NewBridgeOp creates new BridgeOp instance
type BridgeCreateRequest ¶
BridgeCreateRequest represents API parameter/response structure
func (*BridgeCreateRequest) GetDescription ¶
func (o *BridgeCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*BridgeCreateRequest) GetName ¶
func (o *BridgeCreateRequest) GetName() string
GetName returns value of Name
func (*BridgeCreateRequest) SetDescription ¶
func (o *BridgeCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*BridgeCreateRequest) SetName ¶
func (o *BridgeCreateRequest) SetName(v string)
SetName sets value to Name
type BridgeFindResult ¶
type BridgeFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Bridges []*Bridge `json:",omitempty" mapconv:"[]Bridges,omitempty,recursive"` }
BridgeFindResult represents the Result of API
func (*BridgeFindResult) Values ¶
func (r *BridgeFindResult) Values() []interface{}
Values returns find results
type BridgeInfo ¶
type BridgeInfo struct { ID types.ID Name string ZoneID types.ID `mapconv:"Zone.ID"` ZoneName string `mapconv:"Zone.Name"` }
BridgeInfo represents API parameter/response structure
func (*BridgeInfo) GetZoneID ¶
func (o *BridgeInfo) GetZoneID() types.ID
GetZoneID returns value of ZoneID
func (*BridgeInfo) GetZoneName ¶
func (o *BridgeInfo) GetZoneName() string
GetZoneName returns value of ZoneName
func (*BridgeInfo) SetZoneID ¶
func (o *BridgeInfo) SetZoneID(v types.ID)
SetZoneID sets value to ZoneID
func (*BridgeInfo) SetZoneName ¶
func (o *BridgeInfo) SetZoneName(v string)
SetZoneName sets value to ZoneName
type BridgeOp ¶
type BridgeOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
BridgeOp implements BridgeAPI interface
func (*BridgeOp) Create ¶
func (o *BridgeOp) Create(ctx context.Context, zone string, param *BridgeCreateRequest) (*Bridge, error)
Create is API call
func (*BridgeOp) Find ¶
func (o *BridgeOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*BridgeFindResult, error)
Find is API call
type BridgeSwitchInfo ¶
type BridgeSwitchInfo struct { ID types.ID Name string Scope types.EScope ServerCount int ApplianceCount int }
BridgeSwitchInfo represents API parameter/response structure
func (*BridgeSwitchInfo) GetApplianceCount ¶
func (o *BridgeSwitchInfo) GetApplianceCount() int
GetApplianceCount returns value of ApplianceCount
func (*BridgeSwitchInfo) GetID ¶
func (o *BridgeSwitchInfo) GetID() types.ID
GetID returns value of ID
func (*BridgeSwitchInfo) GetName ¶
func (o *BridgeSwitchInfo) GetName() string
GetName returns value of Name
func (*BridgeSwitchInfo) GetScope ¶
func (o *BridgeSwitchInfo) GetScope() types.EScope
GetScope returns value of Scope
func (*BridgeSwitchInfo) GetServerCount ¶
func (o *BridgeSwitchInfo) GetServerCount() int
GetServerCount returns value of ServerCount
func (*BridgeSwitchInfo) GetStringID ¶
func (o *BridgeSwitchInfo) GetStringID() string
GetStringID .
func (*BridgeSwitchInfo) SetApplianceCount ¶
func (o *BridgeSwitchInfo) SetApplianceCount(v int)
SetApplianceCount sets value to ApplianceCount
func (*BridgeSwitchInfo) SetID ¶
func (o *BridgeSwitchInfo) SetID(v types.ID)
SetID sets value to ID
func (*BridgeSwitchInfo) SetName ¶
func (o *BridgeSwitchInfo) SetName(v string)
SetName sets value to Name
func (*BridgeSwitchInfo) SetScope ¶
func (o *BridgeSwitchInfo) SetScope(v types.EScope)
SetScope sets value to Scope
func (*BridgeSwitchInfo) SetServerCount ¶
func (o *BridgeSwitchInfo) SetServerCount(v int)
SetServerCount sets value to ServerCount
func (*BridgeSwitchInfo) SetStringID ¶
func (o *BridgeSwitchInfo) SetStringID(id string)
SetStringID .
type BridgeUpdateRequest ¶
BridgeUpdateRequest represents API parameter/response structure
func (*BridgeUpdateRequest) GetDescription ¶
func (o *BridgeUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*BridgeUpdateRequest) GetName ¶
func (o *BridgeUpdateRequest) GetName() string
GetName returns value of Name
func (*BridgeUpdateRequest) SetDescription ¶
func (o *BridgeUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*BridgeUpdateRequest) SetName ¶
func (o *BridgeUpdateRequest) SetName(v string)
SetName sets value to Name
type BundleInfo ¶
type BundleInfo struct { ID types.ID HostClass string `json:",omitempty" mapconv:",omitempty"` ServiceClass string `json:",omitempty" mapconv:",omitempty"` }
BundleInfo represents API parameter/response structure
func (*BundleInfo) GetHostClass ¶
func (o *BundleInfo) GetHostClass() string
GetHostClass returns value of HostClass
func (*BundleInfo) GetServiceClass ¶
func (o *BundleInfo) GetServiceClass() string
GetServiceClass returns value of ServiceClass
func (*BundleInfo) SetHostClass ¶
func (o *BundleInfo) SetHostClass(v string)
SetHostClass sets value to HostClass
func (*BundleInfo) SetServiceClass ¶
func (o *BundleInfo) SetServiceClass(v string)
SetServiceClass sets value to ServiceClass
type CDROM ¶
type CDROM struct { ID types.ID Name string Description string DisplayOrder int64 Tags types.Tags Availability types.EAvailability Scope types.EScope Storage *Storage `json:",omitempty" mapconv:",omitempty,recursive"` SizeMB int IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time }
CDROM represents API parameter/response structure
func (*CDROM) GetAvailability ¶
func (o *CDROM) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*CDROM) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*CDROM) GetDescription ¶
GetDescription returns value of Description
func (*CDROM) GetDisplayOrder ¶
GetDisplayOrder returns value of DisplayOrder
func (*CDROM) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*CDROM) GetStorage ¶
GetStorage returns value of Storage
func (*CDROM) SetAvailability ¶
func (o *CDROM) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*CDROM) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*CDROM) SetDescription ¶
SetDescription sets value to Description
func (*CDROM) SetDisplayOrder ¶
SetDisplayOrder sets value to DisplayOrder
func (*CDROM) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
type CDROMAPI ¶
type CDROMAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*CDROMFindResult, error) Create(ctx context.Context, zone string, param *CDROMCreateRequest) (*CDROM, *FTPServer, error) Read(ctx context.Context, zone string, id types.ID) (*CDROM, error) Update(ctx context.Context, zone string, id types.ID, param *CDROMUpdateRequest) (*CDROM, error) Delete(ctx context.Context, zone string, id types.ID) error OpenFTP(ctx context.Context, zone string, id types.ID, openOption *OpenFTPRequest) (*FTPServer, error) CloseFTP(ctx context.Context, zone string, id types.ID) error }
CDROMAPI is interface for operate CDROM resource
func NewCDROMOp ¶
NewCDROMOp creates new CDROMOp instance
type CDROMCreateRequest ¶
type CDROMCreateRequest struct { SizeMB int Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
CDROMCreateRequest represents API parameter/response structure
func (*CDROMCreateRequest) AppendTag ¶
func (o *CDROMCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*CDROMCreateRequest) GetDescription ¶
func (o *CDROMCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*CDROMCreateRequest) GetIconID ¶
func (o *CDROMCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*CDROMCreateRequest) GetName ¶
func (o *CDROMCreateRequest) GetName() string
GetName returns value of Name
func (*CDROMCreateRequest) GetSizeMB ¶
func (o *CDROMCreateRequest) GetSizeMB() int
GetSizeMB returns value of SizeMB
func (*CDROMCreateRequest) GetTags ¶
func (o *CDROMCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*CDROMCreateRequest) HasTag ¶
func (o *CDROMCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*CDROMCreateRequest) RemoveTag ¶
func (o *CDROMCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*CDROMCreateRequest) SetDescription ¶
func (o *CDROMCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*CDROMCreateRequest) SetIconID ¶
func (o *CDROMCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*CDROMCreateRequest) SetName ¶
func (o *CDROMCreateRequest) SetName(v string)
SetName sets value to Name
func (*CDROMCreateRequest) SetSizeMB ¶
func (o *CDROMCreateRequest) SetSizeMB(v int)
SetSizeMB sets value to SizeMB
func (*CDROMCreateRequest) SetTags ¶
func (o *CDROMCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type CDROMFindResult ¶
type CDROMFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page CDROMs []*CDROM `json:",omitempty" mapconv:"[]CDROMs,omitempty,recursive"` }
CDROMFindResult represents the Result of API
func (*CDROMFindResult) Values ¶
func (r *CDROMFindResult) Values() []interface{}
Values returns find results
type CDROMOp ¶
type CDROMOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
CDROMOp implements CDROMAPI interface
func (*CDROMOp) Create ¶
func (o *CDROMOp) Create(ctx context.Context, zone string, param *CDROMCreateRequest) (*CDROM, *FTPServer, error)
Create is API call
func (*CDROMOp) Find ¶
func (o *CDROMOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*CDROMFindResult, error)
Find is API call
func (*CDROMOp) OpenFTP ¶
func (o *CDROMOp) OpenFTP(ctx context.Context, zone string, id types.ID, openOption *OpenFTPRequest) (*FTPServer, error)
OpenFTP is API call
type CDROMUpdateRequest ¶
type CDROMUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
CDROMUpdateRequest represents API parameter/response structure
func (*CDROMUpdateRequest) AppendTag ¶
func (o *CDROMUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*CDROMUpdateRequest) GetDescription ¶
func (o *CDROMUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*CDROMUpdateRequest) GetIconID ¶
func (o *CDROMUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*CDROMUpdateRequest) GetName ¶
func (o *CDROMUpdateRequest) GetName() string
GetName returns value of Name
func (*CDROMUpdateRequest) GetTags ¶
func (o *CDROMUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*CDROMUpdateRequest) HasTag ¶
func (o *CDROMUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*CDROMUpdateRequest) RemoveTag ¶
func (o *CDROMUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*CDROMUpdateRequest) SetDescription ¶
func (o *CDROMUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*CDROMUpdateRequest) SetIconID ¶
func (o *CDROMUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*CDROMUpdateRequest) SetName ¶
func (o *CDROMUpdateRequest) SetName(v string)
SetName sets value to Name
func (*CDROMUpdateRequest) SetTags ¶
func (o *CDROMUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type CPUTimeActivity ¶
type CPUTimeActivity struct {
Values []*MonitorCPUTimeValue `mapconv:"[]CPU"`
}
CPUTimeActivity represents API parameter/response structure
func (*CPUTimeActivity) GetValues ¶
func (o *CPUTimeActivity) GetValues() []*MonitorCPUTimeValue
GetValues returns value of Values
func (*CPUTimeActivity) SetValues ¶
func (o *CPUTimeActivity) SetValues(v []*MonitorCPUTimeValue)
SetValues sets value to Values
type CertificateAuthority ¶
type CertificateAuthority struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Country string `mapconv:"Status.Country"` Organization string `mapconv:"Status.Organization"` OrganizationUnit []string `mapconv:"Status.OrganizationUnit"` CommonName string `mapconv:"Status.CommonName"` NotAfter time.Time `mapconv:"Status.NotAfter"` Subject string `mapconv:"Status.Subject"` }
CertificateAuthority represents API parameter/response structure
func (*CertificateAuthority) AppendTag ¶
func (o *CertificateAuthority) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*CertificateAuthority) ClearTags ¶
func (o *CertificateAuthority) ClearTags()
ClearTags タグを全クリア
func (*CertificateAuthority) GetAvailability ¶
func (o *CertificateAuthority) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*CertificateAuthority) GetCommonName ¶
func (o *CertificateAuthority) GetCommonName() string
GetCommonName returns value of CommonName
func (*CertificateAuthority) GetCountry ¶
func (o *CertificateAuthority) GetCountry() string
GetCountry returns value of Country
func (*CertificateAuthority) GetCreatedAt ¶
func (o *CertificateAuthority) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*CertificateAuthority) GetDescription ¶
func (o *CertificateAuthority) GetDescription() string
GetDescription returns value of Description
func (*CertificateAuthority) GetID ¶
func (o *CertificateAuthority) GetID() types.ID
GetID returns value of ID
func (*CertificateAuthority) GetIconID ¶
func (o *CertificateAuthority) GetIconID() types.ID
GetIconID returns value of IconID
func (*CertificateAuthority) GetInt64ID ¶
func (o *CertificateAuthority) GetInt64ID() int64
GetInt64ID .
func (*CertificateAuthority) GetModifiedAt ¶
func (o *CertificateAuthority) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*CertificateAuthority) GetName ¶
func (o *CertificateAuthority) GetName() string
GetName returns value of Name
func (*CertificateAuthority) GetNotAfter ¶
func (o *CertificateAuthority) GetNotAfter() time.Time
GetNotAfter returns value of NotAfter
func (*CertificateAuthority) GetOrganization ¶
func (o *CertificateAuthority) GetOrganization() string
GetOrganization returns value of Organization
func (*CertificateAuthority) GetOrganizationUnit ¶
func (o *CertificateAuthority) GetOrganizationUnit() []string
GetOrganizationUnit returns value of OrganizationUnit
func (*CertificateAuthority) GetStringID ¶
func (o *CertificateAuthority) GetStringID() string
GetStringID .
func (*CertificateAuthority) GetSubject ¶
func (o *CertificateAuthority) GetSubject() string
GetSubject returns value of Subject
func (*CertificateAuthority) GetTags ¶
func (o *CertificateAuthority) GetTags() types.Tags
GetTags returns value of Tags
func (*CertificateAuthority) HasTag ¶
func (o *CertificateAuthority) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*CertificateAuthority) RemoveTag ¶
func (o *CertificateAuthority) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*CertificateAuthority) SetAvailability ¶
func (o *CertificateAuthority) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*CertificateAuthority) SetCommonName ¶
func (o *CertificateAuthority) SetCommonName(v string)
SetCommonName sets value to CommonName
func (*CertificateAuthority) SetCountry ¶
func (o *CertificateAuthority) SetCountry(v string)
SetCountry sets value to Country
func (*CertificateAuthority) SetCreatedAt ¶
func (o *CertificateAuthority) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*CertificateAuthority) SetDescription ¶
func (o *CertificateAuthority) SetDescription(v string)
SetDescription sets value to Description
func (*CertificateAuthority) SetID ¶
func (o *CertificateAuthority) SetID(v types.ID)
SetID sets value to ID
func (*CertificateAuthority) SetIconID ¶
func (o *CertificateAuthority) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*CertificateAuthority) SetInt64ID ¶
func (o *CertificateAuthority) SetInt64ID(id int64)
SetInt64ID .
func (*CertificateAuthority) SetModifiedAt ¶
func (o *CertificateAuthority) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*CertificateAuthority) SetName ¶
func (o *CertificateAuthority) SetName(v string)
SetName sets value to Name
func (*CertificateAuthority) SetNotAfter ¶
func (o *CertificateAuthority) SetNotAfter(v time.Time)
SetNotAfter sets value to NotAfter
func (*CertificateAuthority) SetOrganization ¶
func (o *CertificateAuthority) SetOrganization(v string)
SetOrganization sets value to Organization
func (*CertificateAuthority) SetOrganizationUnit ¶
func (o *CertificateAuthority) SetOrganizationUnit(v []string)
SetOrganizationUnit sets value to OrganizationUnit
func (*CertificateAuthority) SetStringID ¶
func (o *CertificateAuthority) SetStringID(id string)
SetStringID .
func (*CertificateAuthority) SetSubject ¶
func (o *CertificateAuthority) SetSubject(v string)
SetSubject sets value to Subject
func (*CertificateAuthority) SetTags ¶
func (o *CertificateAuthority) SetTags(v types.Tags)
SetTags sets value to Tags
type CertificateAuthorityAPI ¶
type CertificateAuthorityAPI interface { Find(ctx context.Context, conditions *FindCondition) (*CertificateAuthorityFindResult, error) Create(ctx context.Context, param *CertificateAuthorityCreateRequest) (*CertificateAuthority, error) Read(ctx context.Context, id types.ID) (*CertificateAuthority, error) Update(ctx context.Context, id types.ID, param *CertificateAuthorityUpdateRequest) (*CertificateAuthority, error) Delete(ctx context.Context, id types.ID) error Detail(ctx context.Context, id types.ID) (*CertificateAuthorityDetail, error) AddClient(ctx context.Context, id types.ID, param *CertificateAuthorityAddClientParam) (*CertificateAuthorityAddClientOrServerResult, error) ListClients(ctx context.Context, id types.ID) (*CertificateAuthorityListClientsResult, error) ReadClient(ctx context.Context, id types.ID, clientID string) (*CertificateAuthorityClient, error) RevokeClient(ctx context.Context, id types.ID, clientID string) error HoldClient(ctx context.Context, id types.ID, clientID string) error ResumeClient(ctx context.Context, id types.ID, clientID string) error DenyClient(ctx context.Context, id types.ID, clientID string) error AddServer(ctx context.Context, id types.ID, param *CertificateAuthorityAddServerParam) (*CertificateAuthorityAddClientOrServerResult, error) ListServers(ctx context.Context, id types.ID) (*CertificateAuthorityListServersResult, error) ReadServer(ctx context.Context, id types.ID, serverID string) (*CertificateAuthorityServer, error) RevokeServer(ctx context.Context, id types.ID, serverID string) error HoldServer(ctx context.Context, id types.ID, serverID string) error ResumeServer(ctx context.Context, id types.ID, serverID string) error }
CertificateAuthorityAPI is interface for operate CertificateAuthority resource
func NewCertificateAuthorityOp ¶
func NewCertificateAuthorityOp(caller APICaller) CertificateAuthorityAPI
NewCertificateAuthorityOp creates new CertificateAuthorityOp instance
type CertificateAuthorityAddClientOrServerResult ¶
type CertificateAuthorityAddClientOrServerResult struct {
ID string
}
CertificateAuthorityAddClientOrServerResult represents API parameter/response structure
func (*CertificateAuthorityAddClientOrServerResult) GetID ¶
func (o *CertificateAuthorityAddClientOrServerResult) GetID() string
GetID returns value of ID
func (*CertificateAuthorityAddClientOrServerResult) SetID ¶
func (o *CertificateAuthorityAddClientOrServerResult) SetID(v string)
SetID sets value to ID
type CertificateAuthorityAddClientParam ¶
type CertificateAuthorityAddClientParam struct { Country string Organization string OrganizationUnit []string CommonName string NotAfter time.Time IssuanceMethod types.ECertificateAuthorityIssuanceMethod EMail string CertificateSigningRequest string PublicKey string }
CertificateAuthorityAddClientParam represents API parameter/response structure
func (*CertificateAuthorityAddClientParam) GetCertificateSigningRequest ¶
func (o *CertificateAuthorityAddClientParam) GetCertificateSigningRequest() string
GetCertificateSigningRequest returns value of CertificateSigningRequest
func (*CertificateAuthorityAddClientParam) GetCommonName ¶
func (o *CertificateAuthorityAddClientParam) GetCommonName() string
GetCommonName returns value of CommonName
func (*CertificateAuthorityAddClientParam) GetCountry ¶
func (o *CertificateAuthorityAddClientParam) GetCountry() string
GetCountry returns value of Country
func (*CertificateAuthorityAddClientParam) GetEMail ¶
func (o *CertificateAuthorityAddClientParam) GetEMail() string
GetEMail returns value of EMail
func (*CertificateAuthorityAddClientParam) GetIssuanceMethod ¶
func (o *CertificateAuthorityAddClientParam) GetIssuanceMethod() types.ECertificateAuthorityIssuanceMethod
GetIssuanceMethod returns value of IssuanceMethod
func (*CertificateAuthorityAddClientParam) GetNotAfter ¶
func (o *CertificateAuthorityAddClientParam) GetNotAfter() time.Time
GetNotAfter returns value of NotAfter
func (*CertificateAuthorityAddClientParam) GetOrganization ¶
func (o *CertificateAuthorityAddClientParam) GetOrganization() string
GetOrganization returns value of Organization
func (*CertificateAuthorityAddClientParam) GetOrganizationUnit ¶
func (o *CertificateAuthorityAddClientParam) GetOrganizationUnit() []string
GetOrganizationUnit returns value of OrganizationUnit
func (*CertificateAuthorityAddClientParam) GetPublicKey ¶
func (o *CertificateAuthorityAddClientParam) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*CertificateAuthorityAddClientParam) SetCertificateSigningRequest ¶
func (o *CertificateAuthorityAddClientParam) SetCertificateSigningRequest(v string)
SetCertificateSigningRequest sets value to CertificateSigningRequest
func (*CertificateAuthorityAddClientParam) SetCommonName ¶
func (o *CertificateAuthorityAddClientParam) SetCommonName(v string)
SetCommonName sets value to CommonName
func (*CertificateAuthorityAddClientParam) SetCountry ¶
func (o *CertificateAuthorityAddClientParam) SetCountry(v string)
SetCountry sets value to Country
func (*CertificateAuthorityAddClientParam) SetEMail ¶
func (o *CertificateAuthorityAddClientParam) SetEMail(v string)
SetEMail sets value to EMail
func (*CertificateAuthorityAddClientParam) SetIssuanceMethod ¶
func (o *CertificateAuthorityAddClientParam) SetIssuanceMethod(v types.ECertificateAuthorityIssuanceMethod)
SetIssuanceMethod sets value to IssuanceMethod
func (*CertificateAuthorityAddClientParam) SetNotAfter ¶
func (o *CertificateAuthorityAddClientParam) SetNotAfter(v time.Time)
SetNotAfter sets value to NotAfter
func (*CertificateAuthorityAddClientParam) SetOrganization ¶
func (o *CertificateAuthorityAddClientParam) SetOrganization(v string)
SetOrganization sets value to Organization
func (*CertificateAuthorityAddClientParam) SetOrganizationUnit ¶
func (o *CertificateAuthorityAddClientParam) SetOrganizationUnit(v []string)
SetOrganizationUnit sets value to OrganizationUnit
func (*CertificateAuthorityAddClientParam) SetPublicKey ¶
func (o *CertificateAuthorityAddClientParam) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
type CertificateAuthorityAddServerParam ¶
type CertificateAuthorityAddServerParam struct { Country string Organization string OrganizationUnit []string CommonName string NotAfter time.Time SANs []string CertificateSigningRequest string PublicKey string }
CertificateAuthorityAddServerParam represents API parameter/response structure
func (*CertificateAuthorityAddServerParam) GetCertificateSigningRequest ¶
func (o *CertificateAuthorityAddServerParam) GetCertificateSigningRequest() string
GetCertificateSigningRequest returns value of CertificateSigningRequest
func (*CertificateAuthorityAddServerParam) GetCommonName ¶
func (o *CertificateAuthorityAddServerParam) GetCommonName() string
GetCommonName returns value of CommonName
func (*CertificateAuthorityAddServerParam) GetCountry ¶
func (o *CertificateAuthorityAddServerParam) GetCountry() string
GetCountry returns value of Country
func (*CertificateAuthorityAddServerParam) GetNotAfter ¶
func (o *CertificateAuthorityAddServerParam) GetNotAfter() time.Time
GetNotAfter returns value of NotAfter
func (*CertificateAuthorityAddServerParam) GetOrganization ¶
func (o *CertificateAuthorityAddServerParam) GetOrganization() string
GetOrganization returns value of Organization
func (*CertificateAuthorityAddServerParam) GetOrganizationUnit ¶
func (o *CertificateAuthorityAddServerParam) GetOrganizationUnit() []string
GetOrganizationUnit returns value of OrganizationUnit
func (*CertificateAuthorityAddServerParam) GetPublicKey ¶
func (o *CertificateAuthorityAddServerParam) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*CertificateAuthorityAddServerParam) GetSANs ¶
func (o *CertificateAuthorityAddServerParam) GetSANs() []string
GetSANs returns value of SANs
func (*CertificateAuthorityAddServerParam) SetCertificateSigningRequest ¶
func (o *CertificateAuthorityAddServerParam) SetCertificateSigningRequest(v string)
SetCertificateSigningRequest sets value to CertificateSigningRequest
func (*CertificateAuthorityAddServerParam) SetCommonName ¶
func (o *CertificateAuthorityAddServerParam) SetCommonName(v string)
SetCommonName sets value to CommonName
func (*CertificateAuthorityAddServerParam) SetCountry ¶
func (o *CertificateAuthorityAddServerParam) SetCountry(v string)
SetCountry sets value to Country
func (*CertificateAuthorityAddServerParam) SetNotAfter ¶
func (o *CertificateAuthorityAddServerParam) SetNotAfter(v time.Time)
SetNotAfter sets value to NotAfter
func (*CertificateAuthorityAddServerParam) SetOrganization ¶
func (o *CertificateAuthorityAddServerParam) SetOrganization(v string)
SetOrganization sets value to Organization
func (*CertificateAuthorityAddServerParam) SetOrganizationUnit ¶
func (o *CertificateAuthorityAddServerParam) SetOrganizationUnit(v []string)
SetOrganizationUnit sets value to OrganizationUnit
func (*CertificateAuthorityAddServerParam) SetPublicKey ¶
func (o *CertificateAuthorityAddServerParam) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
func (*CertificateAuthorityAddServerParam) SetSANs ¶
func (o *CertificateAuthorityAddServerParam) SetSANs(v []string)
SetSANs sets value to SANs
type CertificateAuthorityClient ¶
type CertificateAuthorityClient struct { ID string Subject string EMail string IssuanceMethod types.ECertificateAuthorityIssuanceMethod IssueState string URL string CertificateData *CertificateData `mapconv:",recursive"` }
CertificateAuthorityClient represents API parameter/response structure
func (*CertificateAuthorityClient) GetCertificateData ¶
func (o *CertificateAuthorityClient) GetCertificateData() *CertificateData
GetCertificateData returns value of CertificateData
func (*CertificateAuthorityClient) GetEMail ¶
func (o *CertificateAuthorityClient) GetEMail() string
GetEMail returns value of EMail
func (*CertificateAuthorityClient) GetID ¶
func (o *CertificateAuthorityClient) GetID() string
GetID returns value of ID
func (*CertificateAuthorityClient) GetIssuanceMethod ¶
func (o *CertificateAuthorityClient) GetIssuanceMethod() types.ECertificateAuthorityIssuanceMethod
GetIssuanceMethod returns value of IssuanceMethod
func (*CertificateAuthorityClient) GetIssueState ¶
func (o *CertificateAuthorityClient) GetIssueState() string
GetIssueState returns value of IssueState
func (*CertificateAuthorityClient) GetSubject ¶
func (o *CertificateAuthorityClient) GetSubject() string
GetSubject returns value of Subject
func (*CertificateAuthorityClient) GetURL ¶
func (o *CertificateAuthorityClient) GetURL() string
GetURL returns value of URL
func (*CertificateAuthorityClient) SetCertificateData ¶
func (o *CertificateAuthorityClient) SetCertificateData(v *CertificateData)
SetCertificateData sets value to CertificateData
func (*CertificateAuthorityClient) SetEMail ¶
func (o *CertificateAuthorityClient) SetEMail(v string)
SetEMail sets value to EMail
func (*CertificateAuthorityClient) SetID ¶
func (o *CertificateAuthorityClient) SetID(v string)
SetID sets value to ID
func (*CertificateAuthorityClient) SetIssuanceMethod ¶
func (o *CertificateAuthorityClient) SetIssuanceMethod(v types.ECertificateAuthorityIssuanceMethod)
SetIssuanceMethod sets value to IssuanceMethod
func (*CertificateAuthorityClient) SetIssueState ¶
func (o *CertificateAuthorityClient) SetIssueState(v string)
SetIssueState sets value to IssueState
func (*CertificateAuthorityClient) SetSubject ¶
func (o *CertificateAuthorityClient) SetSubject(v string)
SetSubject sets value to Subject
func (*CertificateAuthorityClient) SetURL ¶
func (o *CertificateAuthorityClient) SetURL(v string)
SetURL sets value to URL
type CertificateAuthorityCreateRequest ¶
type CertificateAuthorityCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Country string `mapconv:"Status.Country"` Organization string `mapconv:"Status.Organization"` OrganizationUnit []string `mapconv:"Status.OrganizationUnit"` CommonName string `mapconv:"Status.CommonName"` NotAfter time.Time `mapconv:"Status.NotAfter"` }
CertificateAuthorityCreateRequest represents API parameter/response structure
func (*CertificateAuthorityCreateRequest) AppendTag ¶
func (o *CertificateAuthorityCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*CertificateAuthorityCreateRequest) ClearTags ¶
func (o *CertificateAuthorityCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*CertificateAuthorityCreateRequest) GetCommonName ¶
func (o *CertificateAuthorityCreateRequest) GetCommonName() string
GetCommonName returns value of CommonName
func (*CertificateAuthorityCreateRequest) GetCountry ¶
func (o *CertificateAuthorityCreateRequest) GetCountry() string
GetCountry returns value of Country
func (*CertificateAuthorityCreateRequest) GetDescription ¶
func (o *CertificateAuthorityCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*CertificateAuthorityCreateRequest) GetIconID ¶
func (o *CertificateAuthorityCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*CertificateAuthorityCreateRequest) GetName ¶
func (o *CertificateAuthorityCreateRequest) GetName() string
GetName returns value of Name
func (*CertificateAuthorityCreateRequest) GetNotAfter ¶
func (o *CertificateAuthorityCreateRequest) GetNotAfter() time.Time
GetNotAfter returns value of NotAfter
func (*CertificateAuthorityCreateRequest) GetOrganization ¶
func (o *CertificateAuthorityCreateRequest) GetOrganization() string
GetOrganization returns value of Organization
func (*CertificateAuthorityCreateRequest) GetOrganizationUnit ¶
func (o *CertificateAuthorityCreateRequest) GetOrganizationUnit() []string
GetOrganizationUnit returns value of OrganizationUnit
func (*CertificateAuthorityCreateRequest) GetTags ¶
func (o *CertificateAuthorityCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*CertificateAuthorityCreateRequest) HasTag ¶
func (o *CertificateAuthorityCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*CertificateAuthorityCreateRequest) RemoveTag ¶
func (o *CertificateAuthorityCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*CertificateAuthorityCreateRequest) SetCommonName ¶
func (o *CertificateAuthorityCreateRequest) SetCommonName(v string)
SetCommonName sets value to CommonName
func (*CertificateAuthorityCreateRequest) SetCountry ¶
func (o *CertificateAuthorityCreateRequest) SetCountry(v string)
SetCountry sets value to Country
func (*CertificateAuthorityCreateRequest) SetDescription ¶
func (o *CertificateAuthorityCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*CertificateAuthorityCreateRequest) SetIconID ¶
func (o *CertificateAuthorityCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*CertificateAuthorityCreateRequest) SetName ¶
func (o *CertificateAuthorityCreateRequest) SetName(v string)
SetName sets value to Name
func (*CertificateAuthorityCreateRequest) SetNotAfter ¶
func (o *CertificateAuthorityCreateRequest) SetNotAfter(v time.Time)
SetNotAfter sets value to NotAfter
func (*CertificateAuthorityCreateRequest) SetOrganization ¶
func (o *CertificateAuthorityCreateRequest) SetOrganization(v string)
SetOrganization sets value to Organization
func (*CertificateAuthorityCreateRequest) SetOrganizationUnit ¶
func (o *CertificateAuthorityCreateRequest) SetOrganizationUnit(v []string)
SetOrganizationUnit sets value to OrganizationUnit
func (*CertificateAuthorityCreateRequest) SetTags ¶
func (o *CertificateAuthorityCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type CertificateAuthorityDetail ¶
type CertificateAuthorityDetail struct { Subject string CertificateData *CertificateData `mapconv:",recursive"` }
CertificateAuthorityDetail represents API parameter/response structure
func (*CertificateAuthorityDetail) GetCertificateData ¶
func (o *CertificateAuthorityDetail) GetCertificateData() *CertificateData
GetCertificateData returns value of CertificateData
func (*CertificateAuthorityDetail) GetSubject ¶
func (o *CertificateAuthorityDetail) GetSubject() string
GetSubject returns value of Subject
func (*CertificateAuthorityDetail) SetCertificateData ¶
func (o *CertificateAuthorityDetail) SetCertificateData(v *CertificateData)
SetCertificateData sets value to CertificateData
func (*CertificateAuthorityDetail) SetSubject ¶
func (o *CertificateAuthorityDetail) SetSubject(v string)
SetSubject sets value to Subject
type CertificateAuthorityFindResult ¶
type CertificateAuthorityFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page CertificateAuthorities []*CertificateAuthority `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
CertificateAuthorityFindResult represents the Result of API
func (*CertificateAuthorityFindResult) Values ¶
func (r *CertificateAuthorityFindResult) Values() []interface{}
Values returns find results
type CertificateAuthorityListClientsResult ¶
type CertificateAuthorityListClientsResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page CertificateAuthority []*CertificateAuthorityClient `json:",omitempty" mapconv:"[]CertificateAuthority,omitempty,recursive"` }
CertificateAuthorityListClientsResult represents the Result of API
func (*CertificateAuthorityListClientsResult) Values ¶
func (r *CertificateAuthorityListClientsResult) Values() []interface{}
Values returns find results
type CertificateAuthorityListServersResult ¶
type CertificateAuthorityListServersResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page CertificateAuthority []*CertificateAuthorityServer `json:",omitempty" mapconv:"[]CertificateAuthority,omitempty,recursive"` }
CertificateAuthorityListServersResult represents the Result of API
func (*CertificateAuthorityListServersResult) Values ¶
func (r *CertificateAuthorityListServersResult) Values() []interface{}
Values returns find results
type CertificateAuthorityOp ¶
type CertificateAuthorityOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
CertificateAuthorityOp implements CertificateAuthorityAPI interface
func (*CertificateAuthorityOp) AddClient ¶
func (o *CertificateAuthorityOp) AddClient(ctx context.Context, id types.ID, param *CertificateAuthorityAddClientParam) (*CertificateAuthorityAddClientOrServerResult, error)
AddClient is API call
func (*CertificateAuthorityOp) AddServer ¶
func (o *CertificateAuthorityOp) AddServer(ctx context.Context, id types.ID, param *CertificateAuthorityAddServerParam) (*CertificateAuthorityAddClientOrServerResult, error)
AddServer is API call
func (*CertificateAuthorityOp) Create ¶
func (o *CertificateAuthorityOp) Create(ctx context.Context, param *CertificateAuthorityCreateRequest) (*CertificateAuthority, error)
Create is API call
func (*CertificateAuthorityOp) DenyClient ¶
func (o *CertificateAuthorityOp) DenyClient(ctx context.Context, id types.ID, clientID string) error
DenyClient is API call
func (*CertificateAuthorityOp) Detail ¶
func (o *CertificateAuthorityOp) Detail(ctx context.Context, id types.ID) (*CertificateAuthorityDetail, error)
Detail is API call
func (*CertificateAuthorityOp) Find ¶
func (o *CertificateAuthorityOp) Find(ctx context.Context, conditions *FindCondition) (*CertificateAuthorityFindResult, error)
Find is API call
func (*CertificateAuthorityOp) HoldClient ¶
func (o *CertificateAuthorityOp) HoldClient(ctx context.Context, id types.ID, clientID string) error
HoldClient is API call
func (*CertificateAuthorityOp) HoldServer ¶
func (o *CertificateAuthorityOp) HoldServer(ctx context.Context, id types.ID, serverID string) error
HoldServer is API call
func (*CertificateAuthorityOp) ListClients ¶
func (o *CertificateAuthorityOp) ListClients(ctx context.Context, id types.ID) (*CertificateAuthorityListClientsResult, error)
ListClients is API call
func (*CertificateAuthorityOp) ListServers ¶
func (o *CertificateAuthorityOp) ListServers(ctx context.Context, id types.ID) (*CertificateAuthorityListServersResult, error)
ListServers is API call
func (*CertificateAuthorityOp) Read ¶
func (o *CertificateAuthorityOp) Read(ctx context.Context, id types.ID) (*CertificateAuthority, error)
Read is API call
func (*CertificateAuthorityOp) ReadClient ¶
func (o *CertificateAuthorityOp) ReadClient(ctx context.Context, id types.ID, clientID string) (*CertificateAuthorityClient, error)
ReadClient is API call
func (*CertificateAuthorityOp) ReadServer ¶
func (o *CertificateAuthorityOp) ReadServer(ctx context.Context, id types.ID, serverID string) (*CertificateAuthorityServer, error)
ReadServer is API call
func (*CertificateAuthorityOp) ResumeClient ¶
func (o *CertificateAuthorityOp) ResumeClient(ctx context.Context, id types.ID, clientID string) error
ResumeClient is API call
func (*CertificateAuthorityOp) ResumeServer ¶
func (o *CertificateAuthorityOp) ResumeServer(ctx context.Context, id types.ID, serverID string) error
ResumeServer is API call
func (*CertificateAuthorityOp) RevokeClient ¶
func (o *CertificateAuthorityOp) RevokeClient(ctx context.Context, id types.ID, clientID string) error
RevokeClient is API call
func (*CertificateAuthorityOp) RevokeServer ¶
func (o *CertificateAuthorityOp) RevokeServer(ctx context.Context, id types.ID, serverID string) error
RevokeServer is API call
func (*CertificateAuthorityOp) Update ¶
func (o *CertificateAuthorityOp) Update(ctx context.Context, id types.ID, param *CertificateAuthorityUpdateRequest) (*CertificateAuthority, error)
Update is API call
type CertificateAuthorityServer ¶
type CertificateAuthorityServer struct { ID string Subject string SANs []string EMail string IssueState string CertificateData *CertificateData `mapconv:",recursive"` }
CertificateAuthorityServer represents API parameter/response structure
func (*CertificateAuthorityServer) GetCertificateData ¶
func (o *CertificateAuthorityServer) GetCertificateData() *CertificateData
GetCertificateData returns value of CertificateData
func (*CertificateAuthorityServer) GetEMail ¶
func (o *CertificateAuthorityServer) GetEMail() string
GetEMail returns value of EMail
func (*CertificateAuthorityServer) GetID ¶
func (o *CertificateAuthorityServer) GetID() string
GetID returns value of ID
func (*CertificateAuthorityServer) GetIssueState ¶
func (o *CertificateAuthorityServer) GetIssueState() string
GetIssueState returns value of IssueState
func (*CertificateAuthorityServer) GetSANs ¶
func (o *CertificateAuthorityServer) GetSANs() []string
GetSANs returns value of SANs
func (*CertificateAuthorityServer) GetSubject ¶
func (o *CertificateAuthorityServer) GetSubject() string
GetSubject returns value of Subject
func (*CertificateAuthorityServer) SetCertificateData ¶
func (o *CertificateAuthorityServer) SetCertificateData(v *CertificateData)
SetCertificateData sets value to CertificateData
func (*CertificateAuthorityServer) SetEMail ¶
func (o *CertificateAuthorityServer) SetEMail(v string)
SetEMail sets value to EMail
func (*CertificateAuthorityServer) SetID ¶
func (o *CertificateAuthorityServer) SetID(v string)
SetID sets value to ID
func (*CertificateAuthorityServer) SetIssueState ¶
func (o *CertificateAuthorityServer) SetIssueState(v string)
SetIssueState sets value to IssueState
func (*CertificateAuthorityServer) SetSANs ¶
func (o *CertificateAuthorityServer) SetSANs(v []string)
SetSANs sets value to SANs
func (*CertificateAuthorityServer) SetSubject ¶
func (o *CertificateAuthorityServer) SetSubject(v string)
SetSubject sets value to Subject
type CertificateAuthorityUpdateRequest ¶
type CertificateAuthorityUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
CertificateAuthorityUpdateRequest represents API parameter/response structure
func (*CertificateAuthorityUpdateRequest) AppendTag ¶
func (o *CertificateAuthorityUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*CertificateAuthorityUpdateRequest) ClearTags ¶
func (o *CertificateAuthorityUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*CertificateAuthorityUpdateRequest) GetDescription ¶
func (o *CertificateAuthorityUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*CertificateAuthorityUpdateRequest) GetIconID ¶
func (o *CertificateAuthorityUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*CertificateAuthorityUpdateRequest) GetName ¶
func (o *CertificateAuthorityUpdateRequest) GetName() string
GetName returns value of Name
func (*CertificateAuthorityUpdateRequest) GetTags ¶
func (o *CertificateAuthorityUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*CertificateAuthorityUpdateRequest) HasTag ¶
func (o *CertificateAuthorityUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*CertificateAuthorityUpdateRequest) RemoveTag ¶
func (o *CertificateAuthorityUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*CertificateAuthorityUpdateRequest) SetDescription ¶
func (o *CertificateAuthorityUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*CertificateAuthorityUpdateRequest) SetIconID ¶
func (o *CertificateAuthorityUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*CertificateAuthorityUpdateRequest) SetName ¶
func (o *CertificateAuthorityUpdateRequest) SetName(v string)
SetName sets value to Name
func (*CertificateAuthorityUpdateRequest) SetTags ¶
func (o *CertificateAuthorityUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type CertificateData ¶
type CertificateData struct { CertificatePEM string Subject string SerialNumber string NotBefore time.Time NotAfter time.Time }
CertificateData represents API parameter/response structure
func (*CertificateData) GetCertificatePEM ¶
func (o *CertificateData) GetCertificatePEM() string
GetCertificatePEM returns value of CertificatePEM
func (*CertificateData) GetNotAfter ¶
func (o *CertificateData) GetNotAfter() time.Time
GetNotAfter returns value of NotAfter
func (*CertificateData) GetNotBefore ¶
func (o *CertificateData) GetNotBefore() time.Time
GetNotBefore returns value of NotBefore
func (*CertificateData) GetSerialNumber ¶
func (o *CertificateData) GetSerialNumber() string
GetSerialNumber returns value of SerialNumber
func (*CertificateData) GetSubject ¶
func (o *CertificateData) GetSubject() string
GetSubject returns value of Subject
func (*CertificateData) SetCertificatePEM ¶
func (o *CertificateData) SetCertificatePEM(v string)
SetCertificatePEM sets value to CertificatePEM
func (*CertificateData) SetNotAfter ¶
func (o *CertificateData) SetNotAfter(v time.Time)
SetNotAfter sets value to NotAfter
func (*CertificateData) SetNotBefore ¶
func (o *CertificateData) SetNotBefore(v time.Time)
SetNotBefore sets value to NotBefore
func (*CertificateData) SetSerialNumber ¶
func (o *CertificateData) SetSerialNumber(v string)
SetSerialNumber sets value to SerialNumber
func (*CertificateData) SetSubject ¶
func (o *CertificateData) SetSubject(v string)
SetSubject sets value to Subject
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client APIクライアント、APICallerインターフェースを実装する
レスポンスステータスコード423、または503を受け取った場合、RetryMax回リトライする リトライ間隔はRetryMinからRetryMaxまで指数的に増加する(Exponential Backoff)
リトライ時にcontext.Canceled、またはcontext.DeadlineExceededの場合はリトライしない
func NewClientFromEnv ¶
func NewClientFromEnv() *Client
NewClientFromEnv 環境変数からAPIキーを取得してAPIクライアントを作成する
func NewClientWithOptions ¶
NewClientWithOptions 指定のオプションでAPIクライアントを作成する
func (*Client) Do ¶
Do APIコール実施
Example (Direct) ¶
// iaas.Clientを直接利用する例 // Note: 通常はiaas.xxxOpを通じて操作してください。 // クライアントの作成 if os.Getenv("SAKURACLOUD_ACCESS_TOKEN") == "" || os.Getenv("SAKURACLOUD_ACCESS_TOKEN_SECRET") == "" { log.Fatal("required: SAKURACLOUD_ACCESS_TOKEN and SAKURACLOUD_ACCESS_TOKEN_SECRET") } client := iaas.NewClientFromEnv() // ゾーン一覧を取得する例 url := "https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1/zone" data, err := client.Do(context.Background(), http.MethodGet, url, nil) if err != nil { log.Fatal(err) } var zones map[string]interface{} err = json.Unmarshal(data, &zones) if err != nil { log.Fatal(err) } fmt.Print(zones)
Output:
Example (WithNaked) ¶
// iaas.Clientを直接利用する例 // レスポンスとしてnakedパッケージを利用する // Note: 通常はiaas.xxxOpを通じて操作してください。 // クライアントの作成 if os.Getenv("SAKURACLOUD_ACCESS_TOKEN") == "" || os.Getenv("SAKURACLOUD_ACCESS_TOKEN_SECRET") == "" { log.Fatal("required: SAKURACLOUD_ACCESS_TOKEN and SAKURACLOUD_ACCESS_TOKEN_SECRET") } client := iaas.NewClientFromEnv() // ゾーン一覧を取得する例 url := "https://secure.sakura.ad.jp/cloud/zone/is1a/api/cloud/1.1/zone" data, err := client.Do(context.Background(), http.MethodGet, url, nil) if err != nil { log.Fatal(err) } // レスポンスを受けるためのstruct type searchResult struct { Zones []*naked.Zone } result := &searchResult{} err = json.Unmarshal(data, &result) if err != nil { log.Fatal(err) } for _, zone := range result.Zones { fmt.Printf("ID: %v Name: %v\n", zone.ID, zone.Name) }
Output:
type ConnectedSwitch ¶
ConnectedSwitch represents API parameter/response structure
func (*ConnectedSwitch) GetID ¶
func (o *ConnectedSwitch) GetID() types.ID
GetID returns value of ID
func (*ConnectedSwitch) GetScope ¶
func (o *ConnectedSwitch) GetScope() types.EScope
GetScope returns value of Scope
func (*ConnectedSwitch) SetScope ¶
func (o *ConnectedSwitch) SetScope(v types.EScope)
SetScope sets value to Scope
func (*ConnectedSwitch) SetStringID ¶
func (o *ConnectedSwitch) SetStringID(id string)
SetStringID .
type ConnectionActivity ¶
type ConnectionActivity struct {
Values []*MonitorConnectionValue `mapconv:"[]Connection"`
}
ConnectionActivity represents API parameter/response structure
func (*ConnectionActivity) GetValues ¶
func (o *ConnectionActivity) GetValues() []*MonitorConnectionValue
GetValues returns value of Values
func (*ConnectionActivity) SetValues ¶
func (o *ConnectionActivity) SetValues(v []*MonitorConnectionValue)
SetValues sets value to Values
type ContainerRegistry ¶
type ContainerRegistry struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time AccessLevel types.EContainerRegistryAccessLevel `mapconv:"Settings.ContainerRegistry.Public"` VirtualDomain string `mapconv:"Settings.ContainerRegistry.VirtualDomain"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` SubDomainLabel string `mapconv:"Status.RegistryName"` FQDN string `mapconv:"Status.FQDN"` }
ContainerRegistry represents API parameter/response structure
func (*ContainerRegistry) AppendTag ¶
func (o *ContainerRegistry) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ContainerRegistry) GetAccessLevel ¶
func (o *ContainerRegistry) GetAccessLevel() types.EContainerRegistryAccessLevel
GetAccessLevel returns value of AccessLevel
func (*ContainerRegistry) GetAvailability ¶
func (o *ContainerRegistry) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*ContainerRegistry) GetCreatedAt ¶
func (o *ContainerRegistry) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*ContainerRegistry) GetDescription ¶
func (o *ContainerRegistry) GetDescription() string
GetDescription returns value of Description
func (*ContainerRegistry) GetFQDN ¶
func (o *ContainerRegistry) GetFQDN() string
GetFQDN returns value of FQDN
func (*ContainerRegistry) GetID ¶
func (o *ContainerRegistry) GetID() types.ID
GetID returns value of ID
func (*ContainerRegistry) GetIconID ¶
func (o *ContainerRegistry) GetIconID() types.ID
GetIconID returns value of IconID
func (*ContainerRegistry) GetModifiedAt ¶
func (o *ContainerRegistry) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*ContainerRegistry) GetName ¶
func (o *ContainerRegistry) GetName() string
GetName returns value of Name
func (*ContainerRegistry) GetSettingsHash ¶
func (o *ContainerRegistry) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*ContainerRegistry) GetStringID ¶
func (o *ContainerRegistry) GetStringID() string
GetStringID .
func (*ContainerRegistry) GetSubDomainLabel ¶
func (o *ContainerRegistry) GetSubDomainLabel() string
GetSubDomainLabel returns value of SubDomainLabel
func (*ContainerRegistry) GetTags ¶
func (o *ContainerRegistry) GetTags() types.Tags
GetTags returns value of Tags
func (*ContainerRegistry) GetVirtualDomain ¶
func (o *ContainerRegistry) GetVirtualDomain() string
GetVirtualDomain returns value of VirtualDomain
func (*ContainerRegistry) HasTag ¶
func (o *ContainerRegistry) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ContainerRegistry) RemoveTag ¶
func (o *ContainerRegistry) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ContainerRegistry) SetAccessLevel ¶
func (o *ContainerRegistry) SetAccessLevel(v types.EContainerRegistryAccessLevel)
SetAccessLevel sets value to AccessLevel
func (*ContainerRegistry) SetAvailability ¶
func (o *ContainerRegistry) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*ContainerRegistry) SetCreatedAt ¶
func (o *ContainerRegistry) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*ContainerRegistry) SetDescription ¶
func (o *ContainerRegistry) SetDescription(v string)
SetDescription sets value to Description
func (*ContainerRegistry) SetFQDN ¶
func (o *ContainerRegistry) SetFQDN(v string)
SetFQDN sets value to FQDN
func (*ContainerRegistry) SetID ¶
func (o *ContainerRegistry) SetID(v types.ID)
SetID sets value to ID
func (*ContainerRegistry) SetIconID ¶
func (o *ContainerRegistry) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ContainerRegistry) SetInt64ID ¶
func (o *ContainerRegistry) SetInt64ID(id int64)
SetInt64ID .
func (*ContainerRegistry) SetModifiedAt ¶
func (o *ContainerRegistry) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*ContainerRegistry) SetName ¶
func (o *ContainerRegistry) SetName(v string)
SetName sets value to Name
func (*ContainerRegistry) SetSettingsHash ¶
func (o *ContainerRegistry) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*ContainerRegistry) SetStringID ¶
func (o *ContainerRegistry) SetStringID(id string)
SetStringID .
func (*ContainerRegistry) SetSubDomainLabel ¶
func (o *ContainerRegistry) SetSubDomainLabel(v string)
SetSubDomainLabel sets value to SubDomainLabel
func (*ContainerRegistry) SetTags ¶
func (o *ContainerRegistry) SetTags(v types.Tags)
SetTags sets value to Tags
func (*ContainerRegistry) SetVirtualDomain ¶
func (o *ContainerRegistry) SetVirtualDomain(v string)
SetVirtualDomain sets value to VirtualDomain
type ContainerRegistryAPI ¶
type ContainerRegistryAPI interface { Find(ctx context.Context, conditions *FindCondition) (*ContainerRegistryFindResult, error) Create(ctx context.Context, param *ContainerRegistryCreateRequest) (*ContainerRegistry, error) Read(ctx context.Context, id types.ID) (*ContainerRegistry, error) Update(ctx context.Context, id types.ID, param *ContainerRegistryUpdateRequest) (*ContainerRegistry, error) UpdateSettings(ctx context.Context, id types.ID, param *ContainerRegistryUpdateSettingsRequest) (*ContainerRegistry, error) Delete(ctx context.Context, id types.ID) error ListUsers(ctx context.Context, id types.ID) (*ContainerRegistryUsers, error) AddUser(ctx context.Context, id types.ID, param *ContainerRegistryUserCreateRequest) error UpdateUser(ctx context.Context, id types.ID, username string, param *ContainerRegistryUserUpdateRequest) error DeleteUser(ctx context.Context, id types.ID, username string) error }
ContainerRegistryAPI is interface for operate ContainerRegistry resource
func NewContainerRegistryOp ¶
func NewContainerRegistryOp(caller APICaller) ContainerRegistryAPI
NewContainerRegistryOp creates new ContainerRegistryOp instance
type ContainerRegistryCreateRequest ¶
type ContainerRegistryCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` AccessLevel types.EContainerRegistryAccessLevel `mapconv:"Settings.ContainerRegistry.Public"` VirtualDomain string `mapconv:"Settings.ContainerRegistry.VirtualDomain"` SubDomainLabel string `mapconv:"Status.RegistryName"` }
ContainerRegistryCreateRequest represents API parameter/response structure
func (*ContainerRegistryCreateRequest) AppendTag ¶
func (o *ContainerRegistryCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ContainerRegistryCreateRequest) ClearTags ¶
func (o *ContainerRegistryCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*ContainerRegistryCreateRequest) GetAccessLevel ¶
func (o *ContainerRegistryCreateRequest) GetAccessLevel() types.EContainerRegistryAccessLevel
GetAccessLevel returns value of AccessLevel
func (*ContainerRegistryCreateRequest) GetDescription ¶
func (o *ContainerRegistryCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*ContainerRegistryCreateRequest) GetIconID ¶
func (o *ContainerRegistryCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ContainerRegistryCreateRequest) GetName ¶
func (o *ContainerRegistryCreateRequest) GetName() string
GetName returns value of Name
func (*ContainerRegistryCreateRequest) GetSubDomainLabel ¶
func (o *ContainerRegistryCreateRequest) GetSubDomainLabel() string
GetSubDomainLabel returns value of SubDomainLabel
func (*ContainerRegistryCreateRequest) GetTags ¶
func (o *ContainerRegistryCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ContainerRegistryCreateRequest) GetVirtualDomain ¶
func (o *ContainerRegistryCreateRequest) GetVirtualDomain() string
GetVirtualDomain returns value of VirtualDomain
func (*ContainerRegistryCreateRequest) HasTag ¶
func (o *ContainerRegistryCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ContainerRegistryCreateRequest) RemoveTag ¶
func (o *ContainerRegistryCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ContainerRegistryCreateRequest) SetAccessLevel ¶
func (o *ContainerRegistryCreateRequest) SetAccessLevel(v types.EContainerRegistryAccessLevel)
SetAccessLevel sets value to AccessLevel
func (*ContainerRegistryCreateRequest) SetDescription ¶
func (o *ContainerRegistryCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ContainerRegistryCreateRequest) SetIconID ¶
func (o *ContainerRegistryCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ContainerRegistryCreateRequest) SetName ¶
func (o *ContainerRegistryCreateRequest) SetName(v string)
SetName sets value to Name
func (*ContainerRegistryCreateRequest) SetSubDomainLabel ¶
func (o *ContainerRegistryCreateRequest) SetSubDomainLabel(v string)
SetSubDomainLabel sets value to SubDomainLabel
func (*ContainerRegistryCreateRequest) SetTags ¶
func (o *ContainerRegistryCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*ContainerRegistryCreateRequest) SetVirtualDomain ¶
func (o *ContainerRegistryCreateRequest) SetVirtualDomain(v string)
SetVirtualDomain sets value to VirtualDomain
type ContainerRegistryFindResult ¶
type ContainerRegistryFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page ContainerRegistries []*ContainerRegistry `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
ContainerRegistryFindResult represents the Result of API
func (*ContainerRegistryFindResult) Values ¶
func (r *ContainerRegistryFindResult) Values() []interface{}
Values returns find results
type ContainerRegistryOp ¶
type ContainerRegistryOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ContainerRegistryOp implements ContainerRegistryAPI interface
func (*ContainerRegistryOp) AddUser ¶
func (o *ContainerRegistryOp) AddUser(ctx context.Context, id types.ID, param *ContainerRegistryUserCreateRequest) error
AddUser is API call
func (*ContainerRegistryOp) Create ¶
func (o *ContainerRegistryOp) Create(ctx context.Context, param *ContainerRegistryCreateRequest) (*ContainerRegistry, error)
Create is API call
func (*ContainerRegistryOp) DeleteUser ¶
DeleteUser is API call
func (*ContainerRegistryOp) Find ¶
func (o *ContainerRegistryOp) Find(ctx context.Context, conditions *FindCondition) (*ContainerRegistryFindResult, error)
Find is API call
func (*ContainerRegistryOp) ListUsers ¶
func (o *ContainerRegistryOp) ListUsers(ctx context.Context, id types.ID) (*ContainerRegistryUsers, error)
ListUsers is API call
func (*ContainerRegistryOp) Read ¶
func (o *ContainerRegistryOp) Read(ctx context.Context, id types.ID) (*ContainerRegistry, error)
Read is API call
func (*ContainerRegistryOp) Update ¶
func (o *ContainerRegistryOp) Update(ctx context.Context, id types.ID, param *ContainerRegistryUpdateRequest) (*ContainerRegistry, error)
Update is API call
func (*ContainerRegistryOp) UpdateSettings ¶
func (o *ContainerRegistryOp) UpdateSettings(ctx context.Context, id types.ID, param *ContainerRegistryUpdateSettingsRequest) (*ContainerRegistry, error)
UpdateSettings is API call
func (*ContainerRegistryOp) UpdateUser ¶
func (o *ContainerRegistryOp) UpdateUser(ctx context.Context, id types.ID, username string, param *ContainerRegistryUserUpdateRequest) error
UpdateUser is API call
type ContainerRegistryUpdateRequest ¶
type ContainerRegistryUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` AccessLevel types.EContainerRegistryAccessLevel `mapconv:"Settings.ContainerRegistry.Public"` VirtualDomain string `mapconv:"Settings.ContainerRegistry.VirtualDomain"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
ContainerRegistryUpdateRequest represents API parameter/response structure
func (*ContainerRegistryUpdateRequest) AppendTag ¶
func (o *ContainerRegistryUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ContainerRegistryUpdateRequest) ClearTags ¶
func (o *ContainerRegistryUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*ContainerRegistryUpdateRequest) GetAccessLevel ¶
func (o *ContainerRegistryUpdateRequest) GetAccessLevel() types.EContainerRegistryAccessLevel
GetAccessLevel returns value of AccessLevel
func (*ContainerRegistryUpdateRequest) GetDescription ¶
func (o *ContainerRegistryUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*ContainerRegistryUpdateRequest) GetIconID ¶
func (o *ContainerRegistryUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ContainerRegistryUpdateRequest) GetName ¶
func (o *ContainerRegistryUpdateRequest) GetName() string
GetName returns value of Name
func (*ContainerRegistryUpdateRequest) GetSettingsHash ¶
func (o *ContainerRegistryUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*ContainerRegistryUpdateRequest) GetTags ¶
func (o *ContainerRegistryUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ContainerRegistryUpdateRequest) GetVirtualDomain ¶
func (o *ContainerRegistryUpdateRequest) GetVirtualDomain() string
GetVirtualDomain returns value of VirtualDomain
func (*ContainerRegistryUpdateRequest) HasTag ¶
func (o *ContainerRegistryUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ContainerRegistryUpdateRequest) RemoveTag ¶
func (o *ContainerRegistryUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ContainerRegistryUpdateRequest) SetAccessLevel ¶
func (o *ContainerRegistryUpdateRequest) SetAccessLevel(v types.EContainerRegistryAccessLevel)
SetAccessLevel sets value to AccessLevel
func (*ContainerRegistryUpdateRequest) SetDescription ¶
func (o *ContainerRegistryUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ContainerRegistryUpdateRequest) SetIconID ¶
func (o *ContainerRegistryUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ContainerRegistryUpdateRequest) SetName ¶
func (o *ContainerRegistryUpdateRequest) SetName(v string)
SetName sets value to Name
func (*ContainerRegistryUpdateRequest) SetSettingsHash ¶
func (o *ContainerRegistryUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*ContainerRegistryUpdateRequest) SetTags ¶
func (o *ContainerRegistryUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*ContainerRegistryUpdateRequest) SetVirtualDomain ¶
func (o *ContainerRegistryUpdateRequest) SetVirtualDomain(v string)
SetVirtualDomain sets value to VirtualDomain
type ContainerRegistryUpdateSettingsRequest ¶
type ContainerRegistryUpdateSettingsRequest struct { AccessLevel types.EContainerRegistryAccessLevel `mapconv:"Settings.ContainerRegistry.Public"` VirtualDomain string `mapconv:"Settings.ContainerRegistry.VirtualDomain"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
ContainerRegistryUpdateSettingsRequest represents API parameter/response structure
func (*ContainerRegistryUpdateSettingsRequest) GetAccessLevel ¶
func (o *ContainerRegistryUpdateSettingsRequest) GetAccessLevel() types.EContainerRegistryAccessLevel
GetAccessLevel returns value of AccessLevel
func (*ContainerRegistryUpdateSettingsRequest) GetSettingsHash ¶
func (o *ContainerRegistryUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*ContainerRegistryUpdateSettingsRequest) GetVirtualDomain ¶
func (o *ContainerRegistryUpdateSettingsRequest) GetVirtualDomain() string
GetVirtualDomain returns value of VirtualDomain
func (*ContainerRegistryUpdateSettingsRequest) SetAccessLevel ¶
func (o *ContainerRegistryUpdateSettingsRequest) SetAccessLevel(v types.EContainerRegistryAccessLevel)
SetAccessLevel sets value to AccessLevel
func (*ContainerRegistryUpdateSettingsRequest) SetSettingsHash ¶
func (o *ContainerRegistryUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*ContainerRegistryUpdateSettingsRequest) SetVirtualDomain ¶
func (o *ContainerRegistryUpdateSettingsRequest) SetVirtualDomain(v string)
SetVirtualDomain sets value to VirtualDomain
type ContainerRegistryUser ¶
type ContainerRegistryUser struct { UserName string Permission types.EContainerRegistryPermission }
ContainerRegistryUser represents API parameter/response structure
func (*ContainerRegistryUser) GetPermission ¶
func (o *ContainerRegistryUser) GetPermission() types.EContainerRegistryPermission
GetPermission returns value of Permission
func (*ContainerRegistryUser) GetUserName ¶
func (o *ContainerRegistryUser) GetUserName() string
GetUserName returns value of UserName
func (*ContainerRegistryUser) SetPermission ¶
func (o *ContainerRegistryUser) SetPermission(v types.EContainerRegistryPermission)
SetPermission sets value to Permission
func (*ContainerRegistryUser) SetUserName ¶
func (o *ContainerRegistryUser) SetUserName(v string)
SetUserName sets value to UserName
type ContainerRegistryUserCreateRequest ¶
type ContainerRegistryUserCreateRequest struct { UserName string Password string Permission types.EContainerRegistryPermission }
ContainerRegistryUserCreateRequest represents API parameter/response structure
func (*ContainerRegistryUserCreateRequest) GetPassword ¶
func (o *ContainerRegistryUserCreateRequest) GetPassword() string
GetPassword returns value of Password
func (*ContainerRegistryUserCreateRequest) GetPermission ¶
func (o *ContainerRegistryUserCreateRequest) GetPermission() types.EContainerRegistryPermission
GetPermission returns value of Permission
func (*ContainerRegistryUserCreateRequest) GetUserName ¶
func (o *ContainerRegistryUserCreateRequest) GetUserName() string
GetUserName returns value of UserName
func (*ContainerRegistryUserCreateRequest) SetPassword ¶
func (o *ContainerRegistryUserCreateRequest) SetPassword(v string)
SetPassword sets value to Password
func (*ContainerRegistryUserCreateRequest) SetPermission ¶
func (o *ContainerRegistryUserCreateRequest) SetPermission(v types.EContainerRegistryPermission)
SetPermission sets value to Permission
func (*ContainerRegistryUserCreateRequest) SetUserName ¶
func (o *ContainerRegistryUserCreateRequest) SetUserName(v string)
SetUserName sets value to UserName
type ContainerRegistryUserUpdateRequest ¶
type ContainerRegistryUserUpdateRequest struct { Password string Permission types.EContainerRegistryPermission }
ContainerRegistryUserUpdateRequest represents API parameter/response structure
func (*ContainerRegistryUserUpdateRequest) GetPassword ¶
func (o *ContainerRegistryUserUpdateRequest) GetPassword() string
GetPassword returns value of Password
func (*ContainerRegistryUserUpdateRequest) GetPermission ¶
func (o *ContainerRegistryUserUpdateRequest) GetPermission() types.EContainerRegistryPermission
GetPermission returns value of Permission
func (*ContainerRegistryUserUpdateRequest) SetPassword ¶
func (o *ContainerRegistryUserUpdateRequest) SetPassword(v string)
SetPassword sets value to Password
func (*ContainerRegistryUserUpdateRequest) SetPermission ¶
func (o *ContainerRegistryUserUpdateRequest) SetPermission(v types.EContainerRegistryPermission)
SetPermission sets value to Permission
type ContainerRegistryUsers ¶
type ContainerRegistryUsers struct {
Users []*ContainerRegistryUser
}
ContainerRegistryUsers represents API parameter/response structure
func (*ContainerRegistryUsers) GetUsers ¶
func (o *ContainerRegistryUsers) GetUsers() []*ContainerRegistryUser
GetUsers returns value of Users
func (*ContainerRegistryUsers) SetUsers ¶
func (o *ContainerRegistryUsers) SetUsers(v []*ContainerRegistryUser)
SetUsers sets value to Users
type Coupon ¶
type Coupon struct { ID types.ID MemberID string ContractID types.ID ServiceClassID types.ID Discount int64 AppliedAt time.Time UntilAt time.Time }
Coupon represents API parameter/response structure
func (*Coupon) GetAppliedAt ¶
GetAppliedAt returns value of AppliedAt
func (*Coupon) GetContractID ¶
GetContractID returns value of ContractID
func (*Coupon) GetDiscount ¶
GetDiscount returns value of Discount
func (*Coupon) GetMemberID ¶
GetMemberID returns value of MemberID
func (*Coupon) GetServiceClassID ¶
GetServiceClassID returns value of ServiceClassID
func (*Coupon) GetUntilAt ¶
GetUntilAt returns value of UntilAt
func (*Coupon) SetAppliedAt ¶
SetAppliedAt sets value to AppliedAt
func (*Coupon) SetContractID ¶
SetContractID sets value to ContractID
func (*Coupon) SetDiscount ¶
SetDiscount sets value to Discount
func (*Coupon) SetMemberID ¶
SetMemberID sets value to MemberID
func (*Coupon) SetServiceClassID ¶
SetServiceClassID sets value to ServiceClassID
func (*Coupon) SetUntilAt ¶
SetUntilAt sets value to UntilAt
type CouponAPI ¶
type CouponAPI interface {
Find(ctx context.Context, accountID types.ID) (*CouponFindResult, error)
}
CouponAPI is interface for operate Coupon resource
func NewCouponOp ¶
NewCouponOp creates new CouponOp instance
type CouponFindResult ¶
type CouponFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Coupons []*Coupon `json:",omitempty" mapconv:"[]Coupon,omitempty,recursive"` }
CouponFindResult represents the Result of API
func (*CouponFindResult) Values ¶
func (r *CouponFindResult) Values() []interface{}
Values returns find results
type CouponOp ¶
type CouponOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
CouponOp implements CouponAPI interface
type DNS ¶
type DNS struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Records DNSRecords `mapconv:"Settings.DNS.[]ResourceRecordSets,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` DNSZone string `mapconv:"Status.Zone"` DNSNameServers []string `mapconv:"Status.NS"` }
DNS represents API parameter/response structure
func (*DNS) GetAvailability ¶
func (o *DNS) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*DNS) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*DNS) GetDNSNameServers ¶
GetDNSNameServers returns value of DNSNameServers
func (*DNS) GetDescription ¶
GetDescription returns value of Description
func (*DNS) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*DNS) GetSettingsHash ¶
GetSettingsHash returns value of SettingsHash
func (*DNS) SetAvailability ¶
func (o *DNS) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*DNS) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*DNS) SetDNSNameServers ¶
SetDNSNameServers sets value to DNSNameServers
func (*DNS) SetDescription ¶
SetDescription sets value to Description
func (*DNS) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*DNS) SetSettingsHash ¶
SetSettingsHash sets value to SettingsHash
type DNSAPI ¶
type DNSAPI interface { Find(ctx context.Context, conditions *FindCondition) (*DNSFindResult, error) Create(ctx context.Context, param *DNSCreateRequest) (*DNS, error) Read(ctx context.Context, id types.ID) (*DNS, error) Update(ctx context.Context, id types.ID, param *DNSUpdateRequest) (*DNS, error) UpdateSettings(ctx context.Context, id types.ID, param *DNSUpdateSettingsRequest) (*DNS, error) Delete(ctx context.Context, id types.ID) error }
DNSAPI is interface for operate DNS resource
type DNSCreateRequest ¶
type DNSCreateRequest struct { Name string `mapconv:"Name/Status.Zone"` Records DNSRecords `mapconv:"Settings.DNS.[]ResourceRecordSets,recursive"` Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
DNSCreateRequest represents API parameter/response structure
func (*DNSCreateRequest) AppendTag ¶
func (o *DNSCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*DNSCreateRequest) GetDescription ¶
func (o *DNSCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*DNSCreateRequest) GetIconID ¶
func (o *DNSCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*DNSCreateRequest) GetName ¶
func (o *DNSCreateRequest) GetName() string
GetName returns value of Name
func (*DNSCreateRequest) GetRecords ¶
func (o *DNSCreateRequest) GetRecords() DNSRecords
GetRecords returns value of Records
func (*DNSCreateRequest) GetTags ¶
func (o *DNSCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*DNSCreateRequest) HasTag ¶
func (o *DNSCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*DNSCreateRequest) RemoveTag ¶
func (o *DNSCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*DNSCreateRequest) SetDescription ¶
func (o *DNSCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*DNSCreateRequest) SetIconID ¶
func (o *DNSCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*DNSCreateRequest) SetName ¶
func (o *DNSCreateRequest) SetName(v string)
SetName sets value to Name
func (*DNSCreateRequest) SetRecords ¶
func (o *DNSCreateRequest) SetRecords(v DNSRecords)
SetRecords sets value to Records
func (*DNSCreateRequest) SetTags ¶
func (o *DNSCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type DNSFindResult ¶
type DNSFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page DNS []*DNS `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
DNSFindResult represents the Result of API
func (*DNSFindResult) Values ¶
func (r *DNSFindResult) Values() []interface{}
Values returns find results
type DNSOp ¶
type DNSOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
DNSOp implements DNSAPI interface
func (*DNSOp) Find ¶
func (o *DNSOp) Find(ctx context.Context, conditions *FindCondition) (*DNSFindResult, error)
Find is API call
func (*DNSOp) UpdateSettings ¶
func (o *DNSOp) UpdateSettings(ctx context.Context, id types.ID, param *DNSUpdateSettingsRequest) (*DNS, error)
UpdateSettings is API call
type DNSRecord ¶
type DNSRecord struct { Name string Type types.EDNSRecordType RData string TTL int }
DNSRecord represents API parameter/response structure
func NewDNSRecord ¶
func NewDNSRecord(t types.EDNSRecordType, name, rdata string, ttl int) *DNSRecord
NewDNSRecord レコードを生成して返す
func NewMXRecord ¶
NewMXRecord MXレコードを生成して返す
func NewSRVRecord ¶
NewSRVRecord SRVレコードを生成して返す
func (*DNSRecord) GetType ¶
func (o *DNSRecord) GetType() types.EDNSRecordType
GetType returns value of Type
func (*DNSRecord) SetType ¶
func (o *DNSRecord) SetType(v types.EDNSRecordType)
SetType sets value to Type
type DNSRecords ¶
type DNSRecords []*DNSRecord
func (*DNSRecords) Add ¶
func (o *DNSRecords) Add(rs ...*DNSRecord)
Add レコードを追加します。名前/タイプ/値が同じレコードが存在する場合は何もしません
func (*DNSRecords) Delete ¶
func (o *DNSRecords) Delete(rs ...*DNSRecord)
Delete 名前/タイプ/値が同じレコードを削除します
func (*DNSRecords) Exist ¶
func (o *DNSRecords) Exist(record *DNSRecord) bool
Exist 名前/タイプ/値が同じレコードが存在する場合にtrueを返す
func (*DNSRecords) Find ¶
func (o *DNSRecords) Find(name string, tp types.EDNSRecordType, rdata string) *DNSRecord
Find 名前/タイプ/値が同じレコードを返す
type DNSUpdateRequest ¶
type DNSUpdateRequest struct { Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Records DNSRecords `mapconv:"Settings.DNS.[]ResourceRecordSets,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
DNSUpdateRequest represents API parameter/response structure
func (*DNSUpdateRequest) AppendTag ¶
func (o *DNSUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*DNSUpdateRequest) GetDescription ¶
func (o *DNSUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*DNSUpdateRequest) GetIconID ¶
func (o *DNSUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*DNSUpdateRequest) GetRecords ¶
func (o *DNSUpdateRequest) GetRecords() DNSRecords
GetRecords returns value of Records
func (*DNSUpdateRequest) GetSettingsHash ¶
func (o *DNSUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*DNSUpdateRequest) GetTags ¶
func (o *DNSUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*DNSUpdateRequest) HasTag ¶
func (o *DNSUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*DNSUpdateRequest) RemoveTag ¶
func (o *DNSUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*DNSUpdateRequest) SetDescription ¶
func (o *DNSUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*DNSUpdateRequest) SetIconID ¶
func (o *DNSUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*DNSUpdateRequest) SetRecords ¶
func (o *DNSUpdateRequest) SetRecords(v DNSRecords)
SetRecords sets value to Records
func (*DNSUpdateRequest) SetSettingsHash ¶
func (o *DNSUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*DNSUpdateRequest) SetTags ¶
func (o *DNSUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type DNSUpdateSettingsRequest ¶
type DNSUpdateSettingsRequest struct { Records DNSRecords `mapconv:"Settings.DNS.[]ResourceRecordSets,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
DNSUpdateSettingsRequest represents API parameter/response structure
func (*DNSUpdateSettingsRequest) GetRecords ¶
func (o *DNSUpdateSettingsRequest) GetRecords() DNSRecords
GetRecords returns value of Records
func (*DNSUpdateSettingsRequest) GetSettingsHash ¶
func (o *DNSUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*DNSUpdateSettingsRequest) SetRecords ¶
func (o *DNSUpdateSettingsRequest) SetRecords(v DNSRecords)
SetRecords sets value to Records
func (*DNSUpdateSettingsRequest) SetSettingsHash ¶
func (o *DNSUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
type Database ¶
type Database struct { ID types.ID Class string Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time CommonSetting *DatabaseSettingCommon `mapconv:"Settings.DBConf.Common,recursive"` BackupSetting *DatabaseSettingBackup `mapconv:"Settings.DBConf.Backup,recursive"` ReplicationSetting *DatabaseReplicationSetting `mapconv:"Settings.DBConf.Replication,recursive"` InterfaceSettings []*DatabaseSettingsInterface `mapconv:"Settings.DBConf.[]Interfaces,omitempty,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` InstanceHostName string `mapconv:"Instance.Host.Name"` InstanceHostInfoURL string `mapconv:"Instance.Host.InfoURL"` InstanceStatus types.EServerInstanceStatus `mapconv:"Instance.Status"` InstanceStatusChangedAt time.Time `mapconv:"Instance.StatusChangedAt"` PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` SwitchID types.ID `mapconv:"Remark.Switch.ID"` Conf *DatabaseRemarkDBConfCommon `mapconv:"Remark.DBConf.Common,recursive"` DefaultRoute string `mapconv:"Remark.Network.DefaultRoute"` NetworkMaskLen int `mapconv:"Remark.Network.NetworkMaskLen"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` ZoneID types.ID `mapconv:"Remark.Zone.ID"` Interfaces []*InterfaceView `json:",omitempty" mapconv:"[]Interfaces,recursive,omitempty"` }
Database represents API parameter/response structure
func (*Database) GetAvailability ¶
func (o *Database) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*Database) GetBackupSetting ¶
func (o *Database) GetBackupSetting() *DatabaseSettingBackup
GetBackupSetting returns value of BackupSetting
func (*Database) GetCommonSetting ¶
func (o *Database) GetCommonSetting() *DatabaseSettingCommon
GetCommonSetting returns value of CommonSetting
func (*Database) GetConf ¶
func (o *Database) GetConf() *DatabaseRemarkDBConfCommon
GetConf returns value of Conf
func (*Database) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Database) GetDefaultRoute ¶
GetDefaultRoute returns value of DefaultRoute
func (*Database) GetDescription ¶
GetDescription returns value of Description
func (*Database) GetIPAddresses ¶
GetIPAddresses returns value of IPAddresses
func (*Database) GetInstanceHostInfoURL ¶
GetInstanceHostInfoURL returns value of InstanceHostInfoURL
func (*Database) GetInstanceHostName ¶
GetInstanceHostName returns value of InstanceHostName
func (*Database) GetInstanceStatus ¶
func (o *Database) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus returns value of InstanceStatus
func (*Database) GetInstanceStatusChangedAt ¶
GetInstanceStatusChangedAt returns value of InstanceStatusChangedAt
func (*Database) GetInterfaceSettings ¶ added in v1.2.0
func (o *Database) GetInterfaceSettings() []*DatabaseSettingsInterface
GetInterfaceSettings returns value of InterfaceSettings
func (*Database) GetInterfaces ¶
func (o *Database) GetInterfaces() []*InterfaceView
GetInterfaces returns value of Interfaces
func (*Database) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Database) GetNetworkMaskLen ¶
GetNetworkMaskLen returns value of NetworkMaskLen
func (*Database) GetReplicationSetting ¶
func (o *Database) GetReplicationSetting() *DatabaseReplicationSetting
GetReplicationSetting returns value of ReplicationSetting
func (*Database) GetSettingsHash ¶
GetSettingsHash returns value of SettingsHash
func (*Database) GetSwitchID ¶
GetSwitchID returns value of SwitchID
func (*Database) SetAvailability ¶
func (o *Database) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*Database) SetBackupSetting ¶
func (o *Database) SetBackupSetting(v *DatabaseSettingBackup)
SetBackupSetting sets value to BackupSetting
func (*Database) SetCommonSetting ¶
func (o *Database) SetCommonSetting(v *DatabaseSettingCommon)
SetCommonSetting sets value to CommonSetting
func (*Database) SetConf ¶
func (o *Database) SetConf(v *DatabaseRemarkDBConfCommon)
SetConf sets value to Conf
func (*Database) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Database) SetDefaultRoute ¶
SetDefaultRoute sets value to DefaultRoute
func (*Database) SetDescription ¶
SetDescription sets value to Description
func (*Database) SetIPAddresses ¶
SetIPAddresses sets value to IPAddresses
func (*Database) SetInstanceHostInfoURL ¶
SetInstanceHostInfoURL sets value to InstanceHostInfoURL
func (*Database) SetInstanceHostName ¶
SetInstanceHostName sets value to InstanceHostName
func (*Database) SetInstanceStatus ¶
func (o *Database) SetInstanceStatus(v types.EServerInstanceStatus)
SetInstanceStatus sets value to InstanceStatus
func (*Database) SetInstanceStatusChangedAt ¶
SetInstanceStatusChangedAt sets value to InstanceStatusChangedAt
func (*Database) SetInterfaceSettings ¶ added in v1.2.0
func (o *Database) SetInterfaceSettings(v []*DatabaseSettingsInterface)
SetInterfaceSettings sets value to InterfaceSettings
func (*Database) SetInterfaces ¶
func (o *Database) SetInterfaces(v []*InterfaceView)
SetInterfaces sets value to Interfaces
func (*Database) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*Database) SetNetworkMaskLen ¶
SetNetworkMaskLen sets value to NetworkMaskLen
func (*Database) SetReplicationSetting ¶
func (o *Database) SetReplicationSetting(v *DatabaseReplicationSetting)
SetReplicationSetting sets value to ReplicationSetting
func (*Database) SetSettingsHash ¶
SetSettingsHash sets value to SettingsHash
func (*Database) SetSwitchID ¶
SetSwitchID sets value to SwitchID
type DatabaseAPI ¶
type DatabaseAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*DatabaseFindResult, error) Create(ctx context.Context, zone string, param *DatabaseCreateRequest) (*Database, error) Read(ctx context.Context, zone string, id types.ID) (*Database, error) Update(ctx context.Context, zone string, id types.ID, param *DatabaseUpdateRequest) (*Database, error) UpdateSettings(ctx context.Context, zone string, id types.ID, param *DatabaseUpdateSettingsRequest) (*Database, error) Delete(ctx context.Context, zone string, id types.ID) error Config(ctx context.Context, zone string, id types.ID) error Boot(ctx context.Context, zone string, id types.ID) error Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error Reset(ctx context.Context, zone string, id types.ID) error MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error) MonitorDatabase(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DatabaseActivity, error) Status(ctx context.Context, zone string, id types.ID) (*DatabaseStatus, error) GetParameter(ctx context.Context, zone string, id types.ID) (*DatabaseParameter, error) SetParameter(ctx context.Context, zone string, id types.ID, param map[string]interface{}) error }
DatabaseAPI is interface for operate Database resource
func NewDatabaseOp ¶
func NewDatabaseOp(caller APICaller) DatabaseAPI
NewDatabaseOp creates new DatabaseOp instance
type DatabaseActivity ¶
type DatabaseActivity struct {
Values []*MonitorDatabaseValue `mapconv:"[]Database"`
}
DatabaseActivity represents API parameter/response structure
func (*DatabaseActivity) GetValues ¶
func (o *DatabaseActivity) GetValues() []*MonitorDatabaseValue
GetValues returns value of Values
func (*DatabaseActivity) SetValues ¶
func (o *DatabaseActivity) SetValues(v []*MonitorDatabaseValue)
SetValues sets value to Values
type DatabaseBackupHistory ¶
type DatabaseBackupHistory struct { CreatedAt time.Time Availability string RecoveredAt time.Time Size int64 }
DatabaseBackupHistory represents API parameter/response structure
func (*DatabaseBackupHistory) GetAvailability ¶
func (o *DatabaseBackupHistory) GetAvailability() string
GetAvailability returns value of Availability
func (*DatabaseBackupHistory) GetCreatedAt ¶
func (o *DatabaseBackupHistory) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*DatabaseBackupHistory) GetRecoveredAt ¶
func (o *DatabaseBackupHistory) GetRecoveredAt() time.Time
GetRecoveredAt returns value of RecoveredAt
func (*DatabaseBackupHistory) GetSize ¶
func (o *DatabaseBackupHistory) GetSize() int64
GetSize returns value of Size
func (*DatabaseBackupHistory) SetAvailability ¶
func (o *DatabaseBackupHistory) SetAvailability(v string)
SetAvailability sets value to Availability
func (*DatabaseBackupHistory) SetCreatedAt ¶
func (o *DatabaseBackupHistory) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*DatabaseBackupHistory) SetRecoveredAt ¶
func (o *DatabaseBackupHistory) SetRecoveredAt(v time.Time)
SetRecoveredAt sets value to RecoveredAt
func (*DatabaseBackupHistory) SetSize ¶
func (o *DatabaseBackupHistory) SetSize(v int64)
SetSize sets value to Size
type DatabaseCreateRequest ¶
type DatabaseCreateRequest struct { PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` SwitchID types.ID `mapconv:"Remark.Switch.ID"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` NetworkMaskLen int `mapconv:"Remark.Network.NetworkMaskLen"` DefaultRoute string `mapconv:"Remark.Network.DefaultRoute"` Conf *DatabaseRemarkDBConfCommon `mapconv:"Remark.DBConf.Common,recursive"` SourceID types.ID `mapconv:"Remark.SourceAppliance.ID"` CommonSetting *DatabaseSettingCommon `mapconv:"Settings.DBConf.Common,recursive"` BackupSetting *DatabaseSettingBackup `mapconv:"Settings.DBConf.Backup,recursive"` ReplicationSetting *DatabaseReplicationSetting `mapconv:"Settings.DBConf.Replication,recursive"` InterfaceSettings []*DatabaseSettingsInterface `mapconv:"Settings.DBConf.[]Interfaces,omitempty,recursive"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
DatabaseCreateRequest represents API parameter/response structure
func (*DatabaseCreateRequest) AppendTag ¶
func (o *DatabaseCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*DatabaseCreateRequest) ClearTags ¶
func (o *DatabaseCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*DatabaseCreateRequest) GetBackupSetting ¶
func (o *DatabaseCreateRequest) GetBackupSetting() *DatabaseSettingBackup
GetBackupSetting returns value of BackupSetting
func (*DatabaseCreateRequest) GetCommonSetting ¶
func (o *DatabaseCreateRequest) GetCommonSetting() *DatabaseSettingCommon
GetCommonSetting returns value of CommonSetting
func (*DatabaseCreateRequest) GetConf ¶
func (o *DatabaseCreateRequest) GetConf() *DatabaseRemarkDBConfCommon
GetConf returns value of Conf
func (*DatabaseCreateRequest) GetDefaultRoute ¶
func (o *DatabaseCreateRequest) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*DatabaseCreateRequest) GetDescription ¶
func (o *DatabaseCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*DatabaseCreateRequest) GetIPAddresses ¶
func (o *DatabaseCreateRequest) GetIPAddresses() []string
GetIPAddresses returns value of IPAddresses
func (*DatabaseCreateRequest) GetIconID ¶
func (o *DatabaseCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*DatabaseCreateRequest) GetInterfaceSettings ¶ added in v1.2.0
func (o *DatabaseCreateRequest) GetInterfaceSettings() []*DatabaseSettingsInterface
GetInterfaceSettings returns value of InterfaceSettings
func (*DatabaseCreateRequest) GetName ¶
func (o *DatabaseCreateRequest) GetName() string
GetName returns value of Name
func (*DatabaseCreateRequest) GetNetworkMaskLen ¶
func (o *DatabaseCreateRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*DatabaseCreateRequest) GetPlanID ¶
func (o *DatabaseCreateRequest) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*DatabaseCreateRequest) GetReplicationSetting ¶
func (o *DatabaseCreateRequest) GetReplicationSetting() *DatabaseReplicationSetting
GetReplicationSetting returns value of ReplicationSetting
func (*DatabaseCreateRequest) GetSourceID ¶
func (o *DatabaseCreateRequest) GetSourceID() types.ID
GetSourceID returns value of SourceID
func (*DatabaseCreateRequest) GetSwitchID ¶
func (o *DatabaseCreateRequest) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*DatabaseCreateRequest) GetTags ¶
func (o *DatabaseCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*DatabaseCreateRequest) HasTag ¶
func (o *DatabaseCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*DatabaseCreateRequest) RemoveTag ¶
func (o *DatabaseCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*DatabaseCreateRequest) SetBackupSetting ¶
func (o *DatabaseCreateRequest) SetBackupSetting(v *DatabaseSettingBackup)
SetBackupSetting sets value to BackupSetting
func (*DatabaseCreateRequest) SetCommonSetting ¶
func (o *DatabaseCreateRequest) SetCommonSetting(v *DatabaseSettingCommon)
SetCommonSetting sets value to CommonSetting
func (*DatabaseCreateRequest) SetConf ¶
func (o *DatabaseCreateRequest) SetConf(v *DatabaseRemarkDBConfCommon)
SetConf sets value to Conf
func (*DatabaseCreateRequest) SetDefaultRoute ¶
func (o *DatabaseCreateRequest) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*DatabaseCreateRequest) SetDescription ¶
func (o *DatabaseCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*DatabaseCreateRequest) SetIPAddresses ¶
func (o *DatabaseCreateRequest) SetIPAddresses(v []string)
SetIPAddresses sets value to IPAddresses
func (*DatabaseCreateRequest) SetIconID ¶
func (o *DatabaseCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*DatabaseCreateRequest) SetInterfaceSettings ¶ added in v1.2.0
func (o *DatabaseCreateRequest) SetInterfaceSettings(v []*DatabaseSettingsInterface)
SetInterfaceSettings sets value to InterfaceSettings
func (*DatabaseCreateRequest) SetName ¶
func (o *DatabaseCreateRequest) SetName(v string)
SetName sets value to Name
func (*DatabaseCreateRequest) SetNetworkMaskLen ¶
func (o *DatabaseCreateRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*DatabaseCreateRequest) SetPlanID ¶
func (o *DatabaseCreateRequest) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*DatabaseCreateRequest) SetReplicationSetting ¶
func (o *DatabaseCreateRequest) SetReplicationSetting(v *DatabaseReplicationSetting)
SetReplicationSetting sets value to ReplicationSetting
func (*DatabaseCreateRequest) SetSourceID ¶
func (o *DatabaseCreateRequest) SetSourceID(v types.ID)
SetSourceID sets value to SourceID
func (*DatabaseCreateRequest) SetSwitchID ¶
func (o *DatabaseCreateRequest) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*DatabaseCreateRequest) SetTags ¶
func (o *DatabaseCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type DatabaseFindResult ¶
type DatabaseFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Databases []*Database `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"` }
DatabaseFindResult represents the Result of API
func (*DatabaseFindResult) Values ¶
func (r *DatabaseFindResult) Values() []interface{}
Values returns find results
type DatabaseLog ¶
type DatabaseLog struct { Name string Data string Size types.StringNumber }
DatabaseLog represents API parameter/response structure
func (*DatabaseLog) GetSize ¶
func (o *DatabaseLog) GetSize() types.StringNumber
GetSize returns value of Size
func (*DatabaseLog) SetSize ¶
func (o *DatabaseLog) SetSize(v types.StringNumber)
SetSize sets value to Size
type DatabaseOp ¶
type DatabaseOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
DatabaseOp implements DatabaseAPI interface
func (*DatabaseOp) Create ¶
func (o *DatabaseOp) Create(ctx context.Context, zone string, param *DatabaseCreateRequest) (*Database, error)
Create is API call
func (*DatabaseOp) Find ¶
func (o *DatabaseOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*DatabaseFindResult, error)
Find is API call
func (*DatabaseOp) GetParameter ¶
func (o *DatabaseOp) GetParameter(ctx context.Context, zone string, id types.ID) (*DatabaseParameter, error)
GetParameter is API call
func (*DatabaseOp) MonitorCPU ¶
func (o *DatabaseOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
MonitorCPU is API call
func (*DatabaseOp) MonitorDatabase ¶
func (o *DatabaseOp) MonitorDatabase(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DatabaseActivity, error)
MonitorDatabase is API call
func (*DatabaseOp) MonitorDisk ¶
func (o *DatabaseOp) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error)
MonitorDisk is API call
func (*DatabaseOp) MonitorInterface ¶
func (o *DatabaseOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
MonitorInterface is API call
func (*DatabaseOp) SetParameter ¶
func (o *DatabaseOp) SetParameter(ctx context.Context, zone string, id types.ID, param map[string]interface{}) error
SetParameter is API call
func (*DatabaseOp) Shutdown ¶
func (o *DatabaseOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
Shutdown is API call
func (*DatabaseOp) Status ¶
func (o *DatabaseOp) Status(ctx context.Context, zone string, id types.ID) (*DatabaseStatus, error)
Status is API call
func (*DatabaseOp) Update ¶
func (o *DatabaseOp) Update(ctx context.Context, zone string, id types.ID, param *DatabaseUpdateRequest) (*Database, error)
Update is API call
func (*DatabaseOp) UpdateSettings ¶
func (o *DatabaseOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *DatabaseUpdateSettingsRequest) (*Database, error)
UpdateSettings is API call
type DatabaseParameter ¶
type DatabaseParameter struct { Settings map[string]interface{} `mapconv:"Parameter.Attr"` MetaInfo []*DatabaseParameterMeta `mapconv:"Remark.[]Form,recursive"` }
DatabaseParameter represents API parameter/response structure
func (*DatabaseParameter) GetMetaInfo ¶
func (o *DatabaseParameter) GetMetaInfo() []*DatabaseParameterMeta
GetMetaInfo returns value of MetaInfo
func (*DatabaseParameter) GetSettings ¶
func (o *DatabaseParameter) GetSettings() map[string]interface{}
GetSettings returns value of Settings
func (*DatabaseParameter) SetMetaInfo ¶
func (o *DatabaseParameter) SetMetaInfo(v []*DatabaseParameterMeta)
SetMetaInfo sets value to MetaInfo
func (*DatabaseParameter) SetSettings ¶
func (o *DatabaseParameter) SetSettings(v map[string]interface{})
SetSettings sets value to Settings
type DatabaseParameterMeta ¶
type DatabaseParameterMeta struct { Type string `mapconv:"Options.Type"` Name string Label string Text string `mapconv:"Options.Text"` Example string `mapconv:"Options.Example"` Min float64 `mapconv:"Options.Min"` Max float64 `mapconv:"Options.Max"` MaxLen int `mapconv:"Options.MaxLen"` Reboot string `mapconv:"Options.Reboot"` }
DatabaseParameterMeta represents API parameter/response structure
func (*DatabaseParameterMeta) GetExample ¶
func (o *DatabaseParameterMeta) GetExample() string
GetExample returns value of Example
func (*DatabaseParameterMeta) GetLabel ¶
func (o *DatabaseParameterMeta) GetLabel() string
GetLabel returns value of Label
func (*DatabaseParameterMeta) GetMax ¶
func (o *DatabaseParameterMeta) GetMax() float64
GetMax returns value of Max
func (*DatabaseParameterMeta) GetMaxLen ¶
func (o *DatabaseParameterMeta) GetMaxLen() int
GetMaxLen returns value of MaxLen
func (*DatabaseParameterMeta) GetMin ¶
func (o *DatabaseParameterMeta) GetMin() float64
GetMin returns value of Min
func (*DatabaseParameterMeta) GetName ¶
func (o *DatabaseParameterMeta) GetName() string
GetName returns value of Name
func (*DatabaseParameterMeta) GetReboot ¶
func (o *DatabaseParameterMeta) GetReboot() string
GetReboot returns value of Reboot
func (*DatabaseParameterMeta) GetText ¶
func (o *DatabaseParameterMeta) GetText() string
GetText returns value of Text
func (*DatabaseParameterMeta) GetType ¶
func (o *DatabaseParameterMeta) GetType() string
GetType returns value of Type
func (*DatabaseParameterMeta) SetExample ¶
func (o *DatabaseParameterMeta) SetExample(v string)
SetExample sets value to Example
func (*DatabaseParameterMeta) SetLabel ¶
func (o *DatabaseParameterMeta) SetLabel(v string)
SetLabel sets value to Label
func (*DatabaseParameterMeta) SetMax ¶
func (o *DatabaseParameterMeta) SetMax(v float64)
SetMax sets value to Max
func (*DatabaseParameterMeta) SetMaxLen ¶
func (o *DatabaseParameterMeta) SetMaxLen(v int)
SetMaxLen sets value to MaxLen
func (*DatabaseParameterMeta) SetMin ¶
func (o *DatabaseParameterMeta) SetMin(v float64)
SetMin sets value to Min
func (*DatabaseParameterMeta) SetName ¶
func (o *DatabaseParameterMeta) SetName(v string)
SetName sets value to Name
func (*DatabaseParameterMeta) SetReboot ¶
func (o *DatabaseParameterMeta) SetReboot(v string)
SetReboot sets value to Reboot
func (*DatabaseParameterMeta) SetText ¶
func (o *DatabaseParameterMeta) SetText(v string)
SetText sets value to Text
func (*DatabaseParameterMeta) SetType ¶
func (o *DatabaseParameterMeta) SetType(v string)
SetType sets value to Type
type DatabaseRemarkDBConfCommon ¶
type DatabaseRemarkDBConfCommon struct { DatabaseName string DatabaseVersion string DatabaseRevision string DefaultUser string UserPassword string }
DatabaseRemarkDBConfCommon represents API parameter/response structure
func (*DatabaseRemarkDBConfCommon) GetDatabaseName ¶
func (o *DatabaseRemarkDBConfCommon) GetDatabaseName() string
GetDatabaseName returns value of DatabaseName
func (*DatabaseRemarkDBConfCommon) GetDatabaseRevision ¶
func (o *DatabaseRemarkDBConfCommon) GetDatabaseRevision() string
GetDatabaseRevision returns value of DatabaseRevision
func (*DatabaseRemarkDBConfCommon) GetDatabaseVersion ¶
func (o *DatabaseRemarkDBConfCommon) GetDatabaseVersion() string
GetDatabaseVersion returns value of DatabaseVersion
func (*DatabaseRemarkDBConfCommon) GetDefaultUser ¶
func (o *DatabaseRemarkDBConfCommon) GetDefaultUser() string
GetDefaultUser returns value of DefaultUser
func (*DatabaseRemarkDBConfCommon) GetUserPassword ¶
func (o *DatabaseRemarkDBConfCommon) GetUserPassword() string
GetUserPassword returns value of UserPassword
func (*DatabaseRemarkDBConfCommon) SetDatabaseName ¶
func (o *DatabaseRemarkDBConfCommon) SetDatabaseName(v string)
SetDatabaseName sets value to DatabaseName
func (*DatabaseRemarkDBConfCommon) SetDatabaseRevision ¶
func (o *DatabaseRemarkDBConfCommon) SetDatabaseRevision(v string)
SetDatabaseRevision sets value to DatabaseRevision
func (*DatabaseRemarkDBConfCommon) SetDatabaseVersion ¶
func (o *DatabaseRemarkDBConfCommon) SetDatabaseVersion(v string)
SetDatabaseVersion sets value to DatabaseVersion
func (*DatabaseRemarkDBConfCommon) SetDefaultUser ¶
func (o *DatabaseRemarkDBConfCommon) SetDefaultUser(v string)
SetDefaultUser sets value to DefaultUser
func (*DatabaseRemarkDBConfCommon) SetUserPassword ¶
func (o *DatabaseRemarkDBConfCommon) SetUserPassword(v string)
SetUserPassword sets value to UserPassword
type DatabaseReplicationSetting ¶
type DatabaseReplicationSetting struct { Model types.EDatabaseReplicationModel IPAddress string Port int User string Password string ApplianceID types.ID `mapconv:"Appliance.ID"` }
DatabaseReplicationSetting represents API parameter/response structure
func (*DatabaseReplicationSetting) GetApplianceID ¶
func (o *DatabaseReplicationSetting) GetApplianceID() types.ID
GetApplianceID returns value of ApplianceID
func (*DatabaseReplicationSetting) GetIPAddress ¶
func (o *DatabaseReplicationSetting) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*DatabaseReplicationSetting) GetModel ¶
func (o *DatabaseReplicationSetting) GetModel() types.EDatabaseReplicationModel
GetModel returns value of Model
func (*DatabaseReplicationSetting) GetPassword ¶
func (o *DatabaseReplicationSetting) GetPassword() string
GetPassword returns value of Password
func (*DatabaseReplicationSetting) GetPort ¶
func (o *DatabaseReplicationSetting) GetPort() int
GetPort returns value of Port
func (*DatabaseReplicationSetting) GetUser ¶
func (o *DatabaseReplicationSetting) GetUser() string
GetUser returns value of User
func (*DatabaseReplicationSetting) SetApplianceID ¶
func (o *DatabaseReplicationSetting) SetApplianceID(v types.ID)
SetApplianceID sets value to ApplianceID
func (*DatabaseReplicationSetting) SetIPAddress ¶
func (o *DatabaseReplicationSetting) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*DatabaseReplicationSetting) SetModel ¶
func (o *DatabaseReplicationSetting) SetModel(v types.EDatabaseReplicationModel)
SetModel sets value to Model
func (*DatabaseReplicationSetting) SetPassword ¶
func (o *DatabaseReplicationSetting) SetPassword(v string)
SetPassword sets value to Password
func (*DatabaseReplicationSetting) SetPort ¶
func (o *DatabaseReplicationSetting) SetPort(v int)
SetPort sets value to Port
func (*DatabaseReplicationSetting) SetUser ¶
func (o *DatabaseReplicationSetting) SetUser(v string)
SetUser sets value to User
type DatabaseSettingBackup ¶
type DatabaseSettingBackup struct { Rotate int Time string DayOfWeek []types.EDayOfTheWeek Connect string }
DatabaseSettingBackup represents API parameter/response structure
func (*DatabaseSettingBackup) GetConnect ¶ added in v1.2.0
func (o *DatabaseSettingBackup) GetConnect() string
GetConnect returns value of Connect
func (*DatabaseSettingBackup) GetDayOfWeek ¶
func (o *DatabaseSettingBackup) GetDayOfWeek() []types.EDayOfTheWeek
GetDayOfWeek returns value of DayOfWeek
func (*DatabaseSettingBackup) GetRotate ¶
func (o *DatabaseSettingBackup) GetRotate() int
GetRotate returns value of Rotate
func (*DatabaseSettingBackup) GetTime ¶
func (o *DatabaseSettingBackup) GetTime() string
GetTime returns value of Time
func (*DatabaseSettingBackup) SetConnect ¶ added in v1.2.0
func (o *DatabaseSettingBackup) SetConnect(v string)
SetConnect sets value to Connect
func (*DatabaseSettingBackup) SetDayOfWeek ¶
func (o *DatabaseSettingBackup) SetDayOfWeek(v []types.EDayOfTheWeek)
SetDayOfWeek sets value to DayOfWeek
func (*DatabaseSettingBackup) SetRotate ¶
func (o *DatabaseSettingBackup) SetRotate(v int)
SetRotate sets value to Rotate
func (*DatabaseSettingBackup) SetTime ¶
func (o *DatabaseSettingBackup) SetTime(v string)
SetTime sets value to Time
type DatabaseSettingCommon ¶
type DatabaseSettingCommon struct { WebUI types.WebUI ServicePort int SourceNetwork []string DefaultUser string UserPassword string ReplicaUser string ReplicaPassword string }
DatabaseSettingCommon represents API parameter/response structure
func (*DatabaseSettingCommon) GetDefaultUser ¶
func (o *DatabaseSettingCommon) GetDefaultUser() string
GetDefaultUser returns value of DefaultUser
func (*DatabaseSettingCommon) GetReplicaPassword ¶
func (o *DatabaseSettingCommon) GetReplicaPassword() string
GetReplicaPassword returns value of ReplicaPassword
func (*DatabaseSettingCommon) GetReplicaUser ¶
func (o *DatabaseSettingCommon) GetReplicaUser() string
GetReplicaUser returns value of ReplicaUser
func (*DatabaseSettingCommon) GetServicePort ¶
func (o *DatabaseSettingCommon) GetServicePort() int
GetServicePort returns value of ServicePort
func (*DatabaseSettingCommon) GetSourceNetwork ¶
func (o *DatabaseSettingCommon) GetSourceNetwork() []string
GetSourceNetwork returns value of SourceNetwork
func (*DatabaseSettingCommon) GetUserPassword ¶
func (o *DatabaseSettingCommon) GetUserPassword() string
GetUserPassword returns value of UserPassword
func (*DatabaseSettingCommon) GetWebUI ¶
func (o *DatabaseSettingCommon) GetWebUI() types.WebUI
GetWebUI returns value of WebUI
func (*DatabaseSettingCommon) SetDefaultUser ¶
func (o *DatabaseSettingCommon) SetDefaultUser(v string)
SetDefaultUser sets value to DefaultUser
func (*DatabaseSettingCommon) SetReplicaPassword ¶
func (o *DatabaseSettingCommon) SetReplicaPassword(v string)
SetReplicaPassword sets value to ReplicaPassword
func (*DatabaseSettingCommon) SetReplicaUser ¶
func (o *DatabaseSettingCommon) SetReplicaUser(v string)
SetReplicaUser sets value to ReplicaUser
func (*DatabaseSettingCommon) SetServicePort ¶
func (o *DatabaseSettingCommon) SetServicePort(v int)
SetServicePort sets value to ServicePort
func (*DatabaseSettingCommon) SetSourceNetwork ¶
func (o *DatabaseSettingCommon) SetSourceNetwork(v []string)
SetSourceNetwork sets value to SourceNetwork
func (*DatabaseSettingCommon) SetUserPassword ¶
func (o *DatabaseSettingCommon) SetUserPassword(v string)
SetUserPassword sets value to UserPassword
func (*DatabaseSettingCommon) SetWebUI ¶
func (o *DatabaseSettingCommon) SetWebUI(v types.WebUI)
SetWebUI sets value to WebUI
type DatabaseSettingsInterface ¶ added in v1.2.0
DatabaseSettingsInterface represents API parameter/response structure
func (*DatabaseSettingsInterface) GetIndex ¶ added in v1.2.0
func (o *DatabaseSettingsInterface) GetIndex() int
GetIndex returns value of Index
func (*DatabaseSettingsInterface) GetVirtualIPAddress ¶ added in v1.2.0
func (o *DatabaseSettingsInterface) GetVirtualIPAddress() string
GetVirtualIPAddress returns value of VirtualIPAddress
func (*DatabaseSettingsInterface) SetIndex ¶ added in v1.2.0
func (o *DatabaseSettingsInterface) SetIndex(v int)
SetIndex sets value to Index
func (*DatabaseSettingsInterface) SetVirtualIPAddress ¶ added in v1.2.0
func (o *DatabaseSettingsInterface) SetVirtualIPAddress(v string)
SetVirtualIPAddress sets value to VirtualIPAddress
type DatabaseStatus ¶
type DatabaseStatus struct { Status types.EServerInstanceStatus `mapconv:"SettingsResponse.Status"` MariaDBStatus string `mapconv:"SettingsResponse.DBConf.MariaDB.Status"` PostgresStatus string `mapconv:"SettingsResponse.DBConf.Postgres.Status"` IsFatal bool `mapconv:"SettingsResponse.IsFatal"` Version *DatabaseVersionInfo `mapconv:"SettingsResponse.DBConf.Version,recursive"` Logs []*DatabaseLog `mapconv:"SettingsResponse.DBConf.[]Log,recursive"` Backups []*DatabaseBackupHistory `mapconv:"SettingsResponse.DBConf.Backup.[]History,recursive"` }
DatabaseStatus represents API parameter/response structure
func (*DatabaseStatus) GetBackups ¶
func (o *DatabaseStatus) GetBackups() []*DatabaseBackupHistory
GetBackups returns value of Backups
func (*DatabaseStatus) GetInstanceStatus ¶
func (o *DatabaseStatus) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus データベース(サービス)ステータスを返すためのアダプター実装 PostgreSQLまたはMariaDBのステータス(詳細は以下)をInstanceStatusにラップして返す
ステータス: GET /appliance/:id/status -> Appliance.ResponseStatus.DBConf.{MariaDB | postgres}.status
主にStateWaiterで利用する。
func (*DatabaseStatus) GetIsFatal ¶
func (o *DatabaseStatus) GetIsFatal() bool
GetIsFatal returns value of IsFatal
func (*DatabaseStatus) GetLogs ¶
func (o *DatabaseStatus) GetLogs() []*DatabaseLog
GetLogs returns value of Logs
func (*DatabaseStatus) GetMariaDBStatus ¶
func (o *DatabaseStatus) GetMariaDBStatus() string
GetMariaDBStatus returns value of MariaDBStatus
func (*DatabaseStatus) GetPostgresStatus ¶
func (o *DatabaseStatus) GetPostgresStatus() string
GetPostgresStatus returns value of PostgresStatus
func (*DatabaseStatus) GetStatus ¶
func (o *DatabaseStatus) GetStatus() types.EServerInstanceStatus
GetStatus returns value of Status
func (*DatabaseStatus) GetVersion ¶
func (o *DatabaseStatus) GetVersion() *DatabaseVersionInfo
GetVersion returns value of Version
func (*DatabaseStatus) SetBackups ¶
func (o *DatabaseStatus) SetBackups(v []*DatabaseBackupHistory)
SetBackups sets value to Backups
func (*DatabaseStatus) SetInstanceStatus ¶
func (o *DatabaseStatus) SetInstanceStatus(types.EServerInstanceStatus)
SetInstanceStatus データベース(サービス)ステータスを返すためのアダプター実装 accessor.InstanceStatusを満たすためのスタブ実装
func (*DatabaseStatus) SetIsFatal ¶
func (o *DatabaseStatus) SetIsFatal(v bool)
SetIsFatal sets value to IsFatal
func (*DatabaseStatus) SetLogs ¶
func (o *DatabaseStatus) SetLogs(v []*DatabaseLog)
SetLogs sets value to Logs
func (*DatabaseStatus) SetMariaDBStatus ¶
func (o *DatabaseStatus) SetMariaDBStatus(v string)
SetMariaDBStatus sets value to MariaDBStatus
func (*DatabaseStatus) SetPostgresStatus ¶
func (o *DatabaseStatus) SetPostgresStatus(v string)
SetPostgresStatus sets value to PostgresStatus
func (*DatabaseStatus) SetStatus ¶
func (o *DatabaseStatus) SetStatus(v types.EServerInstanceStatus)
SetStatus sets value to Status
func (*DatabaseStatus) SetVersion ¶
func (o *DatabaseStatus) SetVersion(v *DatabaseVersionInfo)
SetVersion sets value to Version
type DatabaseUpdateRequest ¶
type DatabaseUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` CommonSetting *DatabaseSettingCommon `mapconv:"Settings.DBConf.Common,recursive"` BackupSetting *DatabaseSettingBackup `mapconv:"Settings.DBConf.Backup,recursive"` ReplicationSetting *DatabaseReplicationSetting `mapconv:"Settings.DBConf.Replication,recursive"` InterfaceSettings []*DatabaseSettingsInterface `mapconv:"Settings.DBConf.[]Interfaces,omitempty,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
DatabaseUpdateRequest represents API parameter/response structure
func (*DatabaseUpdateRequest) AppendTag ¶
func (o *DatabaseUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*DatabaseUpdateRequest) ClearTags ¶
func (o *DatabaseUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*DatabaseUpdateRequest) GetBackupSetting ¶
func (o *DatabaseUpdateRequest) GetBackupSetting() *DatabaseSettingBackup
GetBackupSetting returns value of BackupSetting
func (*DatabaseUpdateRequest) GetCommonSetting ¶
func (o *DatabaseUpdateRequest) GetCommonSetting() *DatabaseSettingCommon
GetCommonSetting returns value of CommonSetting
func (*DatabaseUpdateRequest) GetDescription ¶
func (o *DatabaseUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*DatabaseUpdateRequest) GetIconID ¶
func (o *DatabaseUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*DatabaseUpdateRequest) GetInterfaceSettings ¶ added in v1.2.0
func (o *DatabaseUpdateRequest) GetInterfaceSettings() []*DatabaseSettingsInterface
GetInterfaceSettings returns value of InterfaceSettings
func (*DatabaseUpdateRequest) GetName ¶
func (o *DatabaseUpdateRequest) GetName() string
GetName returns value of Name
func (*DatabaseUpdateRequest) GetReplicationSetting ¶
func (o *DatabaseUpdateRequest) GetReplicationSetting() *DatabaseReplicationSetting
GetReplicationSetting returns value of ReplicationSetting
func (*DatabaseUpdateRequest) GetSettingsHash ¶
func (o *DatabaseUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*DatabaseUpdateRequest) GetTags ¶
func (o *DatabaseUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*DatabaseUpdateRequest) HasTag ¶
func (o *DatabaseUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*DatabaseUpdateRequest) RemoveTag ¶
func (o *DatabaseUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*DatabaseUpdateRequest) SetBackupSetting ¶
func (o *DatabaseUpdateRequest) SetBackupSetting(v *DatabaseSettingBackup)
SetBackupSetting sets value to BackupSetting
func (*DatabaseUpdateRequest) SetCommonSetting ¶
func (o *DatabaseUpdateRequest) SetCommonSetting(v *DatabaseSettingCommon)
SetCommonSetting sets value to CommonSetting
func (*DatabaseUpdateRequest) SetDescription ¶
func (o *DatabaseUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*DatabaseUpdateRequest) SetIconID ¶
func (o *DatabaseUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*DatabaseUpdateRequest) SetInterfaceSettings ¶ added in v1.2.0
func (o *DatabaseUpdateRequest) SetInterfaceSettings(v []*DatabaseSettingsInterface)
SetInterfaceSettings sets value to InterfaceSettings
func (*DatabaseUpdateRequest) SetName ¶
func (o *DatabaseUpdateRequest) SetName(v string)
SetName sets value to Name
func (*DatabaseUpdateRequest) SetReplicationSetting ¶
func (o *DatabaseUpdateRequest) SetReplicationSetting(v *DatabaseReplicationSetting)
SetReplicationSetting sets value to ReplicationSetting
func (*DatabaseUpdateRequest) SetSettingsHash ¶
func (o *DatabaseUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*DatabaseUpdateRequest) SetTags ¶
func (o *DatabaseUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type DatabaseUpdateSettingsRequest ¶
type DatabaseUpdateSettingsRequest struct { CommonSetting *DatabaseSettingCommon `mapconv:"Settings.DBConf.Common,recursive"` BackupSetting *DatabaseSettingBackup `mapconv:"Settings.DBConf.Backup,recursive"` ReplicationSetting *DatabaseReplicationSetting `mapconv:"Settings.DBConf.Replication,recursive"` InterfaceSettings []*DatabaseSettingsInterface `mapconv:"Settings.DBConf.[]Interfaces,omitempty,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
DatabaseUpdateSettingsRequest represents API parameter/response structure
func (*DatabaseUpdateSettingsRequest) GetBackupSetting ¶
func (o *DatabaseUpdateSettingsRequest) GetBackupSetting() *DatabaseSettingBackup
GetBackupSetting returns value of BackupSetting
func (*DatabaseUpdateSettingsRequest) GetCommonSetting ¶
func (o *DatabaseUpdateSettingsRequest) GetCommonSetting() *DatabaseSettingCommon
GetCommonSetting returns value of CommonSetting
func (*DatabaseUpdateSettingsRequest) GetInterfaceSettings ¶ added in v1.2.0
func (o *DatabaseUpdateSettingsRequest) GetInterfaceSettings() []*DatabaseSettingsInterface
GetInterfaceSettings returns value of InterfaceSettings
func (*DatabaseUpdateSettingsRequest) GetReplicationSetting ¶
func (o *DatabaseUpdateSettingsRequest) GetReplicationSetting() *DatabaseReplicationSetting
GetReplicationSetting returns value of ReplicationSetting
func (*DatabaseUpdateSettingsRequest) GetSettingsHash ¶
func (o *DatabaseUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*DatabaseUpdateSettingsRequest) SetBackupSetting ¶
func (o *DatabaseUpdateSettingsRequest) SetBackupSetting(v *DatabaseSettingBackup)
SetBackupSetting sets value to BackupSetting
func (*DatabaseUpdateSettingsRequest) SetCommonSetting ¶
func (o *DatabaseUpdateSettingsRequest) SetCommonSetting(v *DatabaseSettingCommon)
SetCommonSetting sets value to CommonSetting
func (*DatabaseUpdateSettingsRequest) SetInterfaceSettings ¶ added in v1.2.0
func (o *DatabaseUpdateSettingsRequest) SetInterfaceSettings(v []*DatabaseSettingsInterface)
SetInterfaceSettings sets value to InterfaceSettings
func (*DatabaseUpdateSettingsRequest) SetReplicationSetting ¶
func (o *DatabaseUpdateSettingsRequest) SetReplicationSetting(v *DatabaseReplicationSetting)
SetReplicationSetting sets value to ReplicationSetting
func (*DatabaseUpdateSettingsRequest) SetSettingsHash ¶
func (o *DatabaseUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
type DatabaseVersionInfo ¶
type DatabaseVersionInfo struct { LastModified string CommitHash string Status string Tag string Expire string }
DatabaseVersionInfo represents API parameter/response structure
func (*DatabaseVersionInfo) GetCommitHash ¶
func (o *DatabaseVersionInfo) GetCommitHash() string
GetCommitHash returns value of CommitHash
func (*DatabaseVersionInfo) GetExpire ¶
func (o *DatabaseVersionInfo) GetExpire() string
GetExpire returns value of Expire
func (*DatabaseVersionInfo) GetLastModified ¶
func (o *DatabaseVersionInfo) GetLastModified() string
GetLastModified returns value of LastModified
func (*DatabaseVersionInfo) GetStatus ¶
func (o *DatabaseVersionInfo) GetStatus() string
GetStatus returns value of Status
func (*DatabaseVersionInfo) GetTag ¶
func (o *DatabaseVersionInfo) GetTag() string
GetTag returns value of Tag
func (*DatabaseVersionInfo) SetCommitHash ¶
func (o *DatabaseVersionInfo) SetCommitHash(v string)
SetCommitHash sets value to CommitHash
func (*DatabaseVersionInfo) SetExpire ¶
func (o *DatabaseVersionInfo) SetExpire(v string)
SetExpire sets value to Expire
func (*DatabaseVersionInfo) SetLastModified ¶
func (o *DatabaseVersionInfo) SetLastModified(v string)
SetLastModified sets value to LastModified
func (*DatabaseVersionInfo) SetStatus ¶
func (o *DatabaseVersionInfo) SetStatus(v string)
SetStatus sets value to Status
func (*DatabaseVersionInfo) SetTag ¶
func (o *DatabaseVersionInfo) SetTag(v string)
SetTag sets value to Tag
type Disk ¶
type Disk struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Connection types.EDiskConnection `json:",omitempty" mapconv:",omitempty"` ConnectionOrder int EncryptionAlgorithm types.EDiskEncryptionAlgorithm `json:",omitempty" mapconv:",omitempty"` ReinstallCount int JobStatus *JobStatus SizeMB int MigratedMB int DiskPlanID types.ID `mapconv:"Plan.ID"` DiskPlanName string `mapconv:"Plan.Name"` DiskPlanStorageClass string `mapconv:"Plan.StorageClass"` SourceDiskID types.ID `mapconv:"SourceDisk.ID,omitempty"` SourceDiskAvailability types.EAvailability `mapconv:"SourceDisk.Availability,omitempty"` SourceArchiveID types.ID `mapconv:"SourceArchive.ID,omitempty"` SourceArchiveAvailability types.EAvailability `mapconv:"SourceArchive.Availability,omitempty"` BundleInfo *BundleInfo `json:",omitempty" mapconv:",omitempty,recursive"` Storage *Storage `json:",omitempty" mapconv:",omitempty,recursive"` ServerID types.ID `mapconv:"Server.ID,omitempty"` ServerName string `mapconv:"Server.Name,omitempty"` IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time }
Disk represents API parameter/response structure
func (*Disk) GetAvailability ¶
func (o *Disk) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*Disk) GetBundleInfo ¶
func (o *Disk) GetBundleInfo() *BundleInfo
GetBundleInfo returns value of BundleInfo
func (*Disk) GetConnection ¶
func (o *Disk) GetConnection() types.EDiskConnection
GetConnection returns value of Connection
func (*Disk) GetConnectionOrder ¶
GetConnectionOrder returns value of ConnectionOrder
func (*Disk) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Disk) GetDescription ¶
GetDescription returns value of Description
func (*Disk) GetDiskPlanID ¶
GetDiskPlanID returns value of DiskPlanID
func (*Disk) GetDiskPlanName ¶
GetDiskPlanName returns value of DiskPlanName
func (*Disk) GetDiskPlanStorageClass ¶
GetDiskPlanStorageClass returns value of DiskPlanStorageClass
func (*Disk) GetEncryptionAlgorithm ¶ added in v1.12.0
func (o *Disk) GetEncryptionAlgorithm() types.EDiskEncryptionAlgorithm
GetEncryptionAlgorithm returns value of EncryptionAlgorithm
func (*Disk) GetJobStatus ¶
GetJobStatus returns value of JobStatus
func (*Disk) GetMigratedMB ¶
GetMigratedMB returns value of MigratedMB
func (*Disk) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Disk) GetReinstallCount ¶
GetReinstallCount returns value of ReinstallCount
func (*Disk) GetServerID ¶
GetServerID returns value of ServerID
func (*Disk) GetServerName ¶
GetServerName returns value of ServerName
func (*Disk) GetSourceArchiveAvailability ¶
func (o *Disk) GetSourceArchiveAvailability() types.EAvailability
GetSourceArchiveAvailability returns value of SourceArchiveAvailability
func (*Disk) GetSourceArchiveID ¶
GetSourceArchiveID returns value of SourceArchiveID
func (*Disk) GetSourceDiskAvailability ¶
func (o *Disk) GetSourceDiskAvailability() types.EAvailability
GetSourceDiskAvailability returns value of SourceDiskAvailability
func (*Disk) GetSourceDiskID ¶
GetSourceDiskID returns value of SourceDiskID
func (*Disk) SetAvailability ¶
func (o *Disk) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*Disk) SetBundleInfo ¶
func (o *Disk) SetBundleInfo(v *BundleInfo)
SetBundleInfo sets value to BundleInfo
func (*Disk) SetConnection ¶
func (o *Disk) SetConnection(v types.EDiskConnection)
SetConnection sets value to Connection
func (*Disk) SetConnectionOrder ¶
SetConnectionOrder sets value to ConnectionOrder
func (*Disk) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Disk) SetDescription ¶
SetDescription sets value to Description
func (*Disk) SetDiskPlanID ¶
SetDiskPlanID sets value to DiskPlanID
func (*Disk) SetDiskPlanName ¶
SetDiskPlanName sets value to DiskPlanName
func (*Disk) SetDiskPlanStorageClass ¶
SetDiskPlanStorageClass sets value to DiskPlanStorageClass
func (*Disk) SetEncryptionAlgorithm ¶ added in v1.12.0
func (o *Disk) SetEncryptionAlgorithm(v types.EDiskEncryptionAlgorithm)
SetEncryptionAlgorithm sets value to EncryptionAlgorithm
func (*Disk) SetJobStatus ¶
SetJobStatus sets value to JobStatus
func (*Disk) SetMigratedMB ¶
SetMigratedMB sets value to MigratedMB
func (*Disk) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*Disk) SetReinstallCount ¶
SetReinstallCount sets value to ReinstallCount
func (*Disk) SetServerID ¶
SetServerID sets value to ServerID
func (*Disk) SetServerName ¶
SetServerName sets value to ServerName
func (*Disk) SetSourceArchiveAvailability ¶
func (o *Disk) SetSourceArchiveAvailability(v types.EAvailability)
SetSourceArchiveAvailability sets value to SourceArchiveAvailability
func (*Disk) SetSourceArchiveID ¶
SetSourceArchiveID sets value to SourceArchiveID
func (*Disk) SetSourceDiskAvailability ¶
func (o *Disk) SetSourceDiskAvailability(v types.EAvailability)
SetSourceDiskAvailability sets value to SourceDiskAvailability
func (*Disk) SetSourceDiskID ¶
SetSourceDiskID sets value to SourceDiskID
type DiskAPI ¶
type DiskAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*DiskFindResult, error) Create(ctx context.Context, zone string, createParam *DiskCreateRequest, distantFrom []types.ID) (*Disk, error) Config(ctx context.Context, zone string, id types.ID, edit *DiskEditRequest) error CreateWithConfig(ctx context.Context, zone string, createParam *DiskCreateRequest, editParam *DiskEditRequest, bootAtAvailable bool, distantFrom []types.ID) (*Disk, error) ResizePartition(ctx context.Context, zone string, id types.ID, param *DiskResizePartitionRequest) error ConnectToServer(ctx context.Context, zone string, id types.ID, serverID types.ID) error DisconnectFromServer(ctx context.Context, zone string, id types.ID) error Read(ctx context.Context, zone string, id types.ID) (*Disk, error) Update(ctx context.Context, zone string, id types.ID, param *DiskUpdateRequest) (*Disk, error) Delete(ctx context.Context, zone string, id types.ID) error Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error) }
DiskAPI is interface for operate Disk resource
type DiskActivity ¶
type DiskActivity struct {
Values []*MonitorDiskValue `mapconv:"[]Disk"`
}
DiskActivity represents API parameter/response structure
func (*DiskActivity) GetValues ¶
func (o *DiskActivity) GetValues() []*MonitorDiskValue
GetValues returns value of Values
func (*DiskActivity) SetValues ¶
func (o *DiskActivity) SetValues(v []*MonitorDiskValue)
SetValues sets value to Values
type DiskCreateRequest ¶
type DiskCreateRequest struct { DiskPlanID types.ID `mapconv:"Plan.ID"` Connection types.EDiskConnection `json:",omitempty" mapconv:",omitempty"` EncryptionAlgorithm types.EDiskEncryptionAlgorithm `json:",omitempty" mapconv:",omitempty"` SourceDiskID types.ID `mapconv:"SourceDisk.ID,omitempty"` SourceArchiveID types.ID `mapconv:"SourceArchive.ID,omitempty"` ServerID types.ID `mapconv:"Server.ID,omitempty"` SizeMB int Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
DiskCreateRequest represents API parameter/response structure
func (*DiskCreateRequest) AppendTag ¶
func (o *DiskCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*DiskCreateRequest) GetConnection ¶
func (o *DiskCreateRequest) GetConnection() types.EDiskConnection
GetConnection returns value of Connection
func (*DiskCreateRequest) GetDescription ¶
func (o *DiskCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*DiskCreateRequest) GetDiskPlanID ¶
func (o *DiskCreateRequest) GetDiskPlanID() types.ID
GetDiskPlanID returns value of DiskPlanID
func (*DiskCreateRequest) GetEncryptionAlgorithm ¶ added in v1.12.0
func (o *DiskCreateRequest) GetEncryptionAlgorithm() types.EDiskEncryptionAlgorithm
GetEncryptionAlgorithm returns value of EncryptionAlgorithm
func (*DiskCreateRequest) GetIconID ¶
func (o *DiskCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*DiskCreateRequest) GetName ¶
func (o *DiskCreateRequest) GetName() string
GetName returns value of Name
func (*DiskCreateRequest) GetServerID ¶
func (o *DiskCreateRequest) GetServerID() types.ID
GetServerID returns value of ServerID
func (*DiskCreateRequest) GetSizeMB ¶
func (o *DiskCreateRequest) GetSizeMB() int
GetSizeMB returns value of SizeMB
func (*DiskCreateRequest) GetSourceArchiveID ¶
func (o *DiskCreateRequest) GetSourceArchiveID() types.ID
GetSourceArchiveID returns value of SourceArchiveID
func (*DiskCreateRequest) GetSourceDiskID ¶
func (o *DiskCreateRequest) GetSourceDiskID() types.ID
GetSourceDiskID returns value of SourceDiskID
func (*DiskCreateRequest) GetTags ¶
func (o *DiskCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*DiskCreateRequest) HasTag ¶
func (o *DiskCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*DiskCreateRequest) RemoveTag ¶
func (o *DiskCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*DiskCreateRequest) SetConnection ¶
func (o *DiskCreateRequest) SetConnection(v types.EDiskConnection)
SetConnection sets value to Connection
func (*DiskCreateRequest) SetDescription ¶
func (o *DiskCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*DiskCreateRequest) SetDiskPlanID ¶
func (o *DiskCreateRequest) SetDiskPlanID(v types.ID)
SetDiskPlanID sets value to DiskPlanID
func (*DiskCreateRequest) SetEncryptionAlgorithm ¶ added in v1.12.0
func (o *DiskCreateRequest) SetEncryptionAlgorithm(v types.EDiskEncryptionAlgorithm)
SetEncryptionAlgorithm sets value to EncryptionAlgorithm
func (*DiskCreateRequest) SetIconID ¶
func (o *DiskCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*DiskCreateRequest) SetName ¶
func (o *DiskCreateRequest) SetName(v string)
SetName sets value to Name
func (*DiskCreateRequest) SetServerID ¶
func (o *DiskCreateRequest) SetServerID(v types.ID)
SetServerID sets value to ServerID
func (*DiskCreateRequest) SetSizeMB ¶
func (o *DiskCreateRequest) SetSizeMB(v int)
SetSizeMB sets value to SizeMB
func (*DiskCreateRequest) SetSourceArchiveID ¶
func (o *DiskCreateRequest) SetSourceArchiveID(v types.ID)
SetSourceArchiveID sets value to SourceArchiveID
func (*DiskCreateRequest) SetSourceDiskID ¶
func (o *DiskCreateRequest) SetSourceDiskID(v types.ID)
SetSourceDiskID sets value to SourceDiskID
func (*DiskCreateRequest) SetTags ¶
func (o *DiskCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type DiskEditNote ¶
type DiskEditNote struct { ID types.ID `json:",omitempty" mapconv:",omitempty"` APIKeyID types.ID `json:",omitempty" mapconv:"APIKey.ID,omitempty"` Variables map[string]interface{} `json:",omitempty" mapconv:",omitempty"` }
DiskEditNote represents API parameter/response structure
func (*DiskEditNote) GetAPIKeyID ¶
func (o *DiskEditNote) GetAPIKeyID() types.ID
GetAPIKeyID returns value of APIKeyID
func (*DiskEditNote) GetVariables ¶
func (o *DiskEditNote) GetVariables() map[string]interface{}
GetVariables returns value of Variables
func (*DiskEditNote) SetAPIKeyID ¶
func (o *DiskEditNote) SetAPIKeyID(v types.ID)
SetAPIKeyID sets value to APIKeyID
func (*DiskEditNote) SetVariables ¶
func (o *DiskEditNote) SetVariables(v map[string]interface{})
SetVariables sets value to Variables
type DiskEditRequest ¶
type DiskEditRequest struct { Background bool `json:",omitempty" mapconv:",omitempty"` Password string `json:",omitempty" mapconv:",omitempty"` SSHKey *DiskEditSSHKey `json:",omitempty" mapconv:",omitempty,recursive"` SSHKeys []*DiskEditSSHKey `json:",omitempty" mapconv:"[]SSHKeys,omitempty,recursive"` DisablePWAuth bool `json:",omitempty" mapconv:",omitempty"` EnableDHCP bool `json:",omitempty" mapconv:",omitempty"` ChangePartitionUUID bool `json:",omitempty" mapconv:",omitempty"` HostName string `json:",omitempty" mapconv:",omitempty"` Notes []*DiskEditNote `json:",omitempty" mapconv:"[]Notes,omitempty,recursive"` UserIPAddress string `json:",omitempty" mapconv:",omitempty"` UserSubnet *DiskEditUserSubnet `json:",omitempty" mapconv:",omitempty"` }
DiskEditRequest represents API parameter/response structure
func (*DiskEditRequest) GetBackground ¶
func (o *DiskEditRequest) GetBackground() bool
GetBackground returns value of Background
func (*DiskEditRequest) GetChangePartitionUUID ¶
func (o *DiskEditRequest) GetChangePartitionUUID() bool
GetChangePartitionUUID returns value of ChangePartitionUUID
func (*DiskEditRequest) GetDisablePWAuth ¶
func (o *DiskEditRequest) GetDisablePWAuth() bool
GetDisablePWAuth returns value of DisablePWAuth
func (*DiskEditRequest) GetEnableDHCP ¶
func (o *DiskEditRequest) GetEnableDHCP() bool
GetEnableDHCP returns value of EnableDHCP
func (*DiskEditRequest) GetHostName ¶
func (o *DiskEditRequest) GetHostName() string
GetHostName returns value of HostName
func (*DiskEditRequest) GetNotes ¶
func (o *DiskEditRequest) GetNotes() []*DiskEditNote
GetNotes returns value of Notes
func (*DiskEditRequest) GetPassword ¶
func (o *DiskEditRequest) GetPassword() string
GetPassword returns value of Password
func (*DiskEditRequest) GetSSHKey ¶
func (o *DiskEditRequest) GetSSHKey() *DiskEditSSHKey
GetSSHKey returns value of SSHKey
func (*DiskEditRequest) GetSSHKeys ¶
func (o *DiskEditRequest) GetSSHKeys() []*DiskEditSSHKey
GetSSHKeys returns value of SSHKeys
func (*DiskEditRequest) GetUserIPAddress ¶
func (o *DiskEditRequest) GetUserIPAddress() string
GetUserIPAddress returns value of UserIPAddress
func (*DiskEditRequest) GetUserSubnet ¶
func (o *DiskEditRequest) GetUserSubnet() *DiskEditUserSubnet
GetUserSubnet returns value of UserSubnet
func (*DiskEditRequest) SetBackground ¶
func (o *DiskEditRequest) SetBackground(v bool)
SetBackground sets value to Background
func (*DiskEditRequest) SetChangePartitionUUID ¶
func (o *DiskEditRequest) SetChangePartitionUUID(v bool)
SetChangePartitionUUID sets value to ChangePartitionUUID
func (*DiskEditRequest) SetDisablePWAuth ¶
func (o *DiskEditRequest) SetDisablePWAuth(v bool)
SetDisablePWAuth sets value to DisablePWAuth
func (*DiskEditRequest) SetEnableDHCP ¶
func (o *DiskEditRequest) SetEnableDHCP(v bool)
SetEnableDHCP sets value to EnableDHCP
func (*DiskEditRequest) SetHostName ¶
func (o *DiskEditRequest) SetHostName(v string)
SetHostName sets value to HostName
func (*DiskEditRequest) SetNotes ¶
func (o *DiskEditRequest) SetNotes(v []*DiskEditNote)
SetNotes sets value to Notes
func (*DiskEditRequest) SetPassword ¶
func (o *DiskEditRequest) SetPassword(v string)
SetPassword sets value to Password
func (*DiskEditRequest) SetSSHKey ¶
func (o *DiskEditRequest) SetSSHKey(v *DiskEditSSHKey)
SetSSHKey sets value to SSHKey
func (*DiskEditRequest) SetSSHKeys ¶
func (o *DiskEditRequest) SetSSHKeys(v []*DiskEditSSHKey)
SetSSHKeys sets value to SSHKeys
func (*DiskEditRequest) SetUserIPAddress ¶
func (o *DiskEditRequest) SetUserIPAddress(v string)
SetUserIPAddress sets value to UserIPAddress
func (*DiskEditRequest) SetUserSubnet ¶
func (o *DiskEditRequest) SetUserSubnet(v *DiskEditUserSubnet)
SetUserSubnet sets value to UserSubnet
type DiskEditSSHKey ¶
type DiskEditSSHKey struct { ID types.ID `json:",omitempty" mapconv:",omitempty"` PublicKey string `json:",omitempty" mapconv:",omitempty"` }
DiskEditSSHKey represents API parameter/response structure
func (*DiskEditSSHKey) GetPublicKey ¶
func (o *DiskEditSSHKey) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*DiskEditSSHKey) SetPublicKey ¶
func (o *DiskEditSSHKey) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
type DiskEditUserSubnet ¶
type DiskEditUserSubnet struct { DefaultRoute string `json:",omitempty" mapconv:",omitempty"` NetworkMaskLen int `json:",omitempty" mapconv:",omitempty"` }
DiskEditUserSubnet represents API parameter/response structure
func (*DiskEditUserSubnet) GetDefaultRoute ¶
func (o *DiskEditUserSubnet) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*DiskEditUserSubnet) GetNetworkMaskLen ¶
func (o *DiskEditUserSubnet) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*DiskEditUserSubnet) SetDefaultRoute ¶
func (o *DiskEditUserSubnet) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*DiskEditUserSubnet) SetNetworkMaskLen ¶
func (o *DiskEditUserSubnet) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
type DiskFindResult ¶
type DiskFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Disks []*Disk `json:",omitempty" mapconv:"[]Disks,omitempty,recursive"` }
DiskFindResult represents the Result of API
func (*DiskFindResult) Values ¶
func (r *DiskFindResult) Values() []interface{}
Values returns find results
type DiskOp ¶
type DiskOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
DiskOp implements DiskAPI interface
func (*DiskOp) ConnectToServer ¶
func (o *DiskOp) ConnectToServer(ctx context.Context, zone string, id types.ID, serverID types.ID) error
ConnectToServer is API call
func (*DiskOp) Create ¶
func (o *DiskOp) Create(ctx context.Context, zone string, createParam *DiskCreateRequest, distantFrom []types.ID) (*Disk, error)
Create is API call
func (*DiskOp) CreateWithConfig ¶
func (o *DiskOp) CreateWithConfig(ctx context.Context, zone string, createParam *DiskCreateRequest, editParam *DiskEditRequest, bootAtAvailable bool, distantFrom []types.ID) (*Disk, error)
CreateWithConfig is API call
func (*DiskOp) DisconnectFromServer ¶
DisconnectFromServer is API call
func (*DiskOp) Find ¶
func (o *DiskOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*DiskFindResult, error)
Find is API call
func (*DiskOp) Monitor ¶
func (o *DiskOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error)
Monitor is API call
func (*DiskOp) MonitorDisk ¶
func (o *DiskOp) MonitorDisk(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*DiskActivity, error)
MonitorDisk is API call
func (*DiskOp) ResizePartition ¶
func (o *DiskOp) ResizePartition(ctx context.Context, zone string, id types.ID, param *DiskResizePartitionRequest) error
ResizePartition is API call
type DiskPlan ¶
type DiskPlan struct { ID types.ID Name string StorageClass string Availability types.EAvailability Size []*DiskPlanSizeInfo `mapconv:"[]Size,recursive"` }
DiskPlan represents API parameter/response structure
func (*DiskPlan) GetAvailability ¶
func (o *DiskPlan) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*DiskPlan) GetSize ¶
func (o *DiskPlan) GetSize() []*DiskPlanSizeInfo
GetSize returns value of Size
func (*DiskPlan) GetStorageClass ¶
GetStorageClass returns value of StorageClass
func (*DiskPlan) SetAvailability ¶
func (o *DiskPlan) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*DiskPlan) SetSize ¶
func (o *DiskPlan) SetSize(v []*DiskPlanSizeInfo)
SetSize sets value to Size
func (*DiskPlan) SetStorageClass ¶
SetStorageClass sets value to StorageClass
type DiskPlanAPI ¶
type DiskPlanAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*DiskPlanFindResult, error) Read(ctx context.Context, zone string, id types.ID) (*DiskPlan, error) }
DiskPlanAPI is interface for operate DiskPlan resource
func NewDiskPlanOp ¶
func NewDiskPlanOp(caller APICaller) DiskPlanAPI
NewDiskPlanOp creates new DiskPlanOp instance
type DiskPlanFindResult ¶
type DiskPlanFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page DiskPlans []*DiskPlan `json:",omitempty" mapconv:"[]DiskPlans,omitempty,recursive"` }
DiskPlanFindResult represents the Result of API
func (*DiskPlanFindResult) Values ¶
func (r *DiskPlanFindResult) Values() []interface{}
Values returns find results
type DiskPlanOp ¶
type DiskPlanOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
DiskPlanOp implements DiskPlanAPI interface
func (*DiskPlanOp) Find ¶
func (o *DiskPlanOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*DiskPlanFindResult, error)
Find is API call
type DiskPlanSizeInfo ¶
type DiskPlanSizeInfo struct { Availability types.EAvailability DisplaySize int DisplaySuffix string SizeMB int }
DiskPlanSizeInfo represents API parameter/response structure
func (*DiskPlanSizeInfo) GetAvailability ¶
func (o *DiskPlanSizeInfo) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*DiskPlanSizeInfo) GetDisplaySize ¶
func (o *DiskPlanSizeInfo) GetDisplaySize() int
GetDisplaySize returns value of DisplaySize
func (*DiskPlanSizeInfo) GetDisplaySuffix ¶
func (o *DiskPlanSizeInfo) GetDisplaySuffix() string
GetDisplaySuffix returns value of DisplaySuffix
func (*DiskPlanSizeInfo) GetSizeMB ¶
func (o *DiskPlanSizeInfo) GetSizeMB() int
GetSizeMB returns value of SizeMB
func (*DiskPlanSizeInfo) SetAvailability ¶
func (o *DiskPlanSizeInfo) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*DiskPlanSizeInfo) SetDisplaySize ¶
func (o *DiskPlanSizeInfo) SetDisplaySize(v int)
SetDisplaySize sets value to DisplaySize
func (*DiskPlanSizeInfo) SetDisplaySuffix ¶
func (o *DiskPlanSizeInfo) SetDisplaySuffix(v string)
SetDisplaySuffix sets value to DisplaySuffix
func (*DiskPlanSizeInfo) SetSizeMB ¶
func (o *DiskPlanSizeInfo) SetSizeMB(v int)
SetSizeMB sets value to SizeMB
type DiskResizePartitionRequest ¶
type DiskResizePartitionRequest struct {
Background bool
}
DiskResizePartitionRequest represents API parameter/response structure
func (*DiskResizePartitionRequest) GetBackground ¶
func (o *DiskResizePartitionRequest) GetBackground() bool
GetBackground returns value of Background
func (*DiskResizePartitionRequest) SetBackground ¶
func (o *DiskResizePartitionRequest) SetBackground(v bool)
SetBackground sets value to Background
type DiskUpdateRequest ¶
type DiskUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Connection types.EDiskConnection `json:",omitempty" mapconv:",omitempty"` }
DiskUpdateRequest represents API parameter/response structure
func (*DiskUpdateRequest) AppendTag ¶
func (o *DiskUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*DiskUpdateRequest) GetConnection ¶
func (o *DiskUpdateRequest) GetConnection() types.EDiskConnection
GetConnection returns value of Connection
func (*DiskUpdateRequest) GetDescription ¶
func (o *DiskUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*DiskUpdateRequest) GetIconID ¶
func (o *DiskUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*DiskUpdateRequest) GetName ¶
func (o *DiskUpdateRequest) GetName() string
GetName returns value of Name
func (*DiskUpdateRequest) GetTags ¶
func (o *DiskUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*DiskUpdateRequest) HasTag ¶
func (o *DiskUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*DiskUpdateRequest) RemoveTag ¶
func (o *DiskUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*DiskUpdateRequest) SetConnection ¶
func (o *DiskUpdateRequest) SetConnection(v types.EDiskConnection)
SetConnection sets value to Connection
func (*DiskUpdateRequest) SetDescription ¶
func (o *DiskUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*DiskUpdateRequest) SetIconID ¶
func (o *DiskUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*DiskUpdateRequest) SetName ¶
func (o *DiskUpdateRequest) SetName(v string)
SetName sets value to Name
func (*DiskUpdateRequest) SetTags ¶
func (o *DiskUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ESME ¶
type ESME struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time }
ESME represents API parameter/response structure
func (*ESME) GetAvailability ¶
func (o *ESME) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*ESME) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*ESME) GetDescription ¶
GetDescription returns value of Description
func (*ESME) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*ESME) SetAvailability ¶
func (o *ESME) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*ESME) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*ESME) SetDescription ¶
SetDescription sets value to Description
func (*ESME) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
type ESMEAPI ¶
type ESMEAPI interface { Find(ctx context.Context, conditions *FindCondition) (*ESMEFindResult, error) Create(ctx context.Context, param *ESMECreateRequest) (*ESME, error) Read(ctx context.Context, id types.ID) (*ESME, error) Update(ctx context.Context, id types.ID, param *ESMEUpdateRequest) (*ESME, error) Delete(ctx context.Context, id types.ID) error SendMessageWithGeneratedOTP(ctx context.Context, id types.ID, param *ESMESendMessageWithGeneratedOTPRequest) (*ESMESendMessageResult, error) SendMessageWithInputtedOTP(ctx context.Context, id types.ID, param *ESMESendMessageWithInputtedOTPRequest) (*ESMESendMessageResult, error) Logs(ctx context.Context, id types.ID) ([]*ESMELogs, error) }
ESMEAPI is interface for operate ESME resource
type ESMECreateRequest ¶
type ESMECreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ESMECreateRequest represents API parameter/response structure
func (*ESMECreateRequest) AppendTag ¶
func (o *ESMECreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ESMECreateRequest) GetDescription ¶
func (o *ESMECreateRequest) GetDescription() string
GetDescription returns value of Description
func (*ESMECreateRequest) GetIconID ¶
func (o *ESMECreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ESMECreateRequest) GetName ¶
func (o *ESMECreateRequest) GetName() string
GetName returns value of Name
func (*ESMECreateRequest) GetTags ¶
func (o *ESMECreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ESMECreateRequest) HasTag ¶
func (o *ESMECreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ESMECreateRequest) RemoveTag ¶
func (o *ESMECreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ESMECreateRequest) SetDescription ¶
func (o *ESMECreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ESMECreateRequest) SetIconID ¶
func (o *ESMECreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ESMECreateRequest) SetName ¶
func (o *ESMECreateRequest) SetName(v string)
SetName sets value to Name
func (*ESMECreateRequest) SetTags ¶
func (o *ESMECreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ESMEFindResult ¶
type ESMEFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page ESME []*ESME `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
ESMEFindResult represents the Result of API
func (*ESMEFindResult) Values ¶
func (r *ESMEFindResult) Values() []interface{}
Values returns find results
type ESMELogs ¶
type ESMELogs struct { MessageID string Status string OTP string Destination string SentAt time.Time DoneAt time.Time RetryCount int }
ESMELogs represents API parameter/response structure
func (*ESMELogs) GetDestination ¶
GetDestination returns value of Destination
func (*ESMELogs) GetMessageID ¶
GetMessageID returns value of MessageID
func (*ESMELogs) GetRetryCount ¶
GetRetryCount returns value of RetryCount
func (*ESMELogs) SetDestination ¶
SetDestination sets value to Destination
func (*ESMELogs) SetMessageID ¶
SetMessageID sets value to MessageID
func (*ESMELogs) SetRetryCount ¶
SetRetryCount sets value to RetryCount
type ESMEOp ¶
type ESMEOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ESMEOp implements ESMEAPI interface
func (*ESMEOp) Find ¶
func (o *ESMEOp) Find(ctx context.Context, conditions *FindCondition) (*ESMEFindResult, error)
Find is API call
func (*ESMEOp) SendMessageWithGeneratedOTP ¶
func (o *ESMEOp) SendMessageWithGeneratedOTP(ctx context.Context, id types.ID, param *ESMESendMessageWithGeneratedOTPRequest) (*ESMESendMessageResult, error)
SendMessageWithGeneratedOTP is API call
func (*ESMEOp) SendMessageWithInputtedOTP ¶
func (o *ESMEOp) SendMessageWithInputtedOTP(ctx context.Context, id types.ID, param *ESMESendMessageWithInputtedOTPRequest) (*ESMESendMessageResult, error)
SendMessageWithInputtedOTP is API call
type ESMESendMessageResult ¶
ESMESendMessageResult represents API parameter/response structure
func (*ESMESendMessageResult) GetMessageID ¶
func (o *ESMESendMessageResult) GetMessageID() string
GetMessageID returns value of MessageID
func (*ESMESendMessageResult) GetOTP ¶
func (o *ESMESendMessageResult) GetOTP() string
GetOTP returns value of OTP
func (*ESMESendMessageResult) GetStatus ¶
func (o *ESMESendMessageResult) GetStatus() string
GetStatus returns value of Status
func (*ESMESendMessageResult) SetMessageID ¶
func (o *ESMESendMessageResult) SetMessageID(v string)
SetMessageID sets value to MessageID
func (*ESMESendMessageResult) SetOTP ¶
func (o *ESMESendMessageResult) SetOTP(v string)
SetOTP sets value to OTP
func (*ESMESendMessageResult) SetStatus ¶
func (o *ESMESendMessageResult) SetStatus(v string)
SetStatus sets value to Status
type ESMESendMessageWithGeneratedOTPRequest ¶
type ESMESendMessageWithGeneratedOTPRequest struct { Destination string Sender string DomainName string }
ESMESendMessageWithGeneratedOTPRequest represents API parameter/response structure
func (*ESMESendMessageWithGeneratedOTPRequest) GetDestination ¶
func (o *ESMESendMessageWithGeneratedOTPRequest) GetDestination() string
GetDestination returns value of Destination
func (*ESMESendMessageWithGeneratedOTPRequest) GetDomainName ¶
func (o *ESMESendMessageWithGeneratedOTPRequest) GetDomainName() string
GetDomainName returns value of DomainName
func (*ESMESendMessageWithGeneratedOTPRequest) GetSender ¶
func (o *ESMESendMessageWithGeneratedOTPRequest) GetSender() string
GetSender returns value of Sender
func (*ESMESendMessageWithGeneratedOTPRequest) SetDestination ¶
func (o *ESMESendMessageWithGeneratedOTPRequest) SetDestination(v string)
SetDestination sets value to Destination
func (*ESMESendMessageWithGeneratedOTPRequest) SetDomainName ¶
func (o *ESMESendMessageWithGeneratedOTPRequest) SetDomainName(v string)
SetDomainName sets value to DomainName
func (*ESMESendMessageWithGeneratedOTPRequest) SetSender ¶
func (o *ESMESendMessageWithGeneratedOTPRequest) SetSender(v string)
SetSender sets value to Sender
type ESMESendMessageWithInputtedOTPRequest ¶
type ESMESendMessageWithInputtedOTPRequest struct { Destination string Sender string DomainName string OTP string }
ESMESendMessageWithInputtedOTPRequest represents API parameter/response structure
func (*ESMESendMessageWithInputtedOTPRequest) GetDestination ¶
func (o *ESMESendMessageWithInputtedOTPRequest) GetDestination() string
GetDestination returns value of Destination
func (*ESMESendMessageWithInputtedOTPRequest) GetDomainName ¶
func (o *ESMESendMessageWithInputtedOTPRequest) GetDomainName() string
GetDomainName returns value of DomainName
func (*ESMESendMessageWithInputtedOTPRequest) GetOTP ¶
func (o *ESMESendMessageWithInputtedOTPRequest) GetOTP() string
GetOTP returns value of OTP
func (*ESMESendMessageWithInputtedOTPRequest) GetSender ¶
func (o *ESMESendMessageWithInputtedOTPRequest) GetSender() string
GetSender returns value of Sender
func (*ESMESendMessageWithInputtedOTPRequest) SetDestination ¶
func (o *ESMESendMessageWithInputtedOTPRequest) SetDestination(v string)
SetDestination sets value to Destination
func (*ESMESendMessageWithInputtedOTPRequest) SetDomainName ¶
func (o *ESMESendMessageWithInputtedOTPRequest) SetDomainName(v string)
SetDomainName sets value to DomainName
func (*ESMESendMessageWithInputtedOTPRequest) SetOTP ¶
func (o *ESMESendMessageWithInputtedOTPRequest) SetOTP(v string)
SetOTP sets value to OTP
func (*ESMESendMessageWithInputtedOTPRequest) SetSender ¶
func (o *ESMESendMessageWithInputtedOTPRequest) SetSender(v string)
SetSender sets value to Sender
type ESMEUpdateRequest ¶
type ESMEUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ESMEUpdateRequest represents API parameter/response structure
func (*ESMEUpdateRequest) AppendTag ¶
func (o *ESMEUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ESMEUpdateRequest) GetDescription ¶
func (o *ESMEUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*ESMEUpdateRequest) GetIconID ¶
func (o *ESMEUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ESMEUpdateRequest) GetName ¶
func (o *ESMEUpdateRequest) GetName() string
GetName returns value of Name
func (*ESMEUpdateRequest) GetTags ¶
func (o *ESMEUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ESMEUpdateRequest) HasTag ¶
func (o *ESMEUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ESMEUpdateRequest) RemoveTag ¶
func (o *ESMEUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ESMEUpdateRequest) SetDescription ¶
func (o *ESMEUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ESMEUpdateRequest) SetIconID ¶
func (o *ESMEUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ESMEUpdateRequest) SetName ¶
func (o *ESMEUpdateRequest) SetName(v string)
SetName sets value to Name
func (*ESMEUpdateRequest) SetTags ¶
func (o *ESMEUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type EjectCDROMRequest ¶
EjectCDROMRequest represents API parameter/response structure
func (*EjectCDROMRequest) GetID ¶
func (o *EjectCDROMRequest) GetID() types.ID
GetID returns value of ID
func (*EjectCDROMRequest) GetStringID ¶
func (o *EjectCDROMRequest) GetStringID() string
GetStringID .
func (*EjectCDROMRequest) SetID ¶
func (o *EjectCDROMRequest) SetID(v types.ID)
SetID sets value to ID
func (*EjectCDROMRequest) SetInt64ID ¶
func (o *EjectCDROMRequest) SetInt64ID(id int64)
SetInt64ID .
func (*EjectCDROMRequest) SetStringID ¶
func (o *EjectCDROMRequest) SetStringID(id string)
SetStringID .
type EnhancedDB ¶
type EnhancedDB struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time SettingsHash string `json:",omitempty" mapconv:",omitempty"` DatabaseName string `mapconv:"Status.DatabaseName"` DatabaseType types.EnhancedDBType `mapconv:"Status.DatabaseType"` Region types.EnhancedDBRegion `mapconv:"Status.Region"` HostName string `mapconv:"Status.HostName"` Port int `mapconv:"Status.Port"` }
EnhancedDB represents API parameter/response structure
func (*EnhancedDB) GetAvailability ¶
func (o *EnhancedDB) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*EnhancedDB) GetCreatedAt ¶
func (o *EnhancedDB) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*EnhancedDB) GetDatabaseName ¶
func (o *EnhancedDB) GetDatabaseName() string
GetDatabaseName returns value of DatabaseName
func (*EnhancedDB) GetDatabaseType ¶
func (o *EnhancedDB) GetDatabaseType() types.EnhancedDBType
GetDatabaseType returns value of DatabaseType
func (*EnhancedDB) GetDescription ¶
func (o *EnhancedDB) GetDescription() string
GetDescription returns value of Description
func (*EnhancedDB) GetHostName ¶
func (o *EnhancedDB) GetHostName() string
GetHostName returns value of HostName
func (*EnhancedDB) GetIconID ¶
func (o *EnhancedDB) GetIconID() types.ID
GetIconID returns value of IconID
func (*EnhancedDB) GetModifiedAt ¶
func (o *EnhancedDB) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*EnhancedDB) GetRegion ¶
func (o *EnhancedDB) GetRegion() types.EnhancedDBRegion
GetRegion returns value of Region
func (*EnhancedDB) GetSettingsHash ¶
func (o *EnhancedDB) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*EnhancedDB) GetTags ¶
func (o *EnhancedDB) GetTags() types.Tags
GetTags returns value of Tags
func (*EnhancedDB) SetAvailability ¶
func (o *EnhancedDB) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*EnhancedDB) SetCreatedAt ¶
func (o *EnhancedDB) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*EnhancedDB) SetDatabaseName ¶
func (o *EnhancedDB) SetDatabaseName(v string)
SetDatabaseName sets value to DatabaseName
func (*EnhancedDB) SetDatabaseType ¶
func (o *EnhancedDB) SetDatabaseType(v types.EnhancedDBType)
SetDatabaseType sets value to DatabaseType
func (*EnhancedDB) SetDescription ¶
func (o *EnhancedDB) SetDescription(v string)
SetDescription sets value to Description
func (*EnhancedDB) SetHostName ¶
func (o *EnhancedDB) SetHostName(v string)
SetHostName sets value to HostName
func (*EnhancedDB) SetIconID ¶
func (o *EnhancedDB) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*EnhancedDB) SetModifiedAt ¶
func (o *EnhancedDB) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*EnhancedDB) SetRegion ¶
func (o *EnhancedDB) SetRegion(v types.EnhancedDBRegion)
SetRegion sets value to Region
func (*EnhancedDB) SetSettingsHash ¶
func (o *EnhancedDB) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
type EnhancedDBAPI ¶
type EnhancedDBAPI interface { Find(ctx context.Context, conditions *FindCondition) (*EnhancedDBFindResult, error) Create(ctx context.Context, param *EnhancedDBCreateRequest) (*EnhancedDB, error) Read(ctx context.Context, id types.ID) (*EnhancedDB, error) Update(ctx context.Context, id types.ID, param *EnhancedDBUpdateRequest) (*EnhancedDB, error) Delete(ctx context.Context, id types.ID) error SetPassword(ctx context.Context, id types.ID, param *EnhancedDBSetPasswordRequest) error GetConfig(ctx context.Context, id types.ID) (*EnhancedDBConfig, error) SetConfig(ctx context.Context, id types.ID, param *EnhancedDBSetConfigRequest) error }
EnhancedDBAPI is interface for operate EnhancedDB resource
func NewEnhancedDBOp ¶
func NewEnhancedDBOp(caller APICaller) EnhancedDBAPI
NewEnhancedDBOp creates new EnhancedDBOp instance
type EnhancedDBConfig ¶ added in v1.10.0
EnhancedDBConfig represents API parameter/response structure
func (*EnhancedDBConfig) GetAllowedNetworks ¶ added in v1.11.0
func (o *EnhancedDBConfig) GetAllowedNetworks() []string
GetAllowedNetworks returns value of AllowedNetworks
func (*EnhancedDBConfig) GetMaxConnections ¶ added in v1.10.0
func (o *EnhancedDBConfig) GetMaxConnections() int
GetMaxConnections returns value of MaxConnections
func (*EnhancedDBConfig) SetAllowedNetworks ¶ added in v1.11.0
func (o *EnhancedDBConfig) SetAllowedNetworks(v []string)
SetAllowedNetworks sets value to AllowedNetworks
func (*EnhancedDBConfig) SetMaxConnections ¶ added in v1.10.0
func (o *EnhancedDBConfig) SetMaxConnections(v int)
SetMaxConnections sets value to MaxConnections
type EnhancedDBCreateRequest ¶
type EnhancedDBCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` DatabaseName string `mapconv:"Status.DatabaseName"` DatabaseType types.EnhancedDBType `mapconv:"Status.DatabaseType"` Region types.EnhancedDBRegion `mapconv:"Status.Region"` }
EnhancedDBCreateRequest represents API parameter/response structure
func (*EnhancedDBCreateRequest) AppendTag ¶
func (o *EnhancedDBCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*EnhancedDBCreateRequest) ClearTags ¶
func (o *EnhancedDBCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*EnhancedDBCreateRequest) GetDatabaseName ¶
func (o *EnhancedDBCreateRequest) GetDatabaseName() string
GetDatabaseName returns value of DatabaseName
func (*EnhancedDBCreateRequest) GetDatabaseType ¶ added in v1.11.0
func (o *EnhancedDBCreateRequest) GetDatabaseType() types.EnhancedDBType
GetDatabaseType returns value of DatabaseType
func (*EnhancedDBCreateRequest) GetDescription ¶
func (o *EnhancedDBCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*EnhancedDBCreateRequest) GetIconID ¶
func (o *EnhancedDBCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*EnhancedDBCreateRequest) GetName ¶
func (o *EnhancedDBCreateRequest) GetName() string
GetName returns value of Name
func (*EnhancedDBCreateRequest) GetRegion ¶ added in v1.11.0
func (o *EnhancedDBCreateRequest) GetRegion() types.EnhancedDBRegion
GetRegion returns value of Region
func (*EnhancedDBCreateRequest) GetTags ¶
func (o *EnhancedDBCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*EnhancedDBCreateRequest) HasTag ¶
func (o *EnhancedDBCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*EnhancedDBCreateRequest) RemoveTag ¶
func (o *EnhancedDBCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*EnhancedDBCreateRequest) SetDatabaseName ¶
func (o *EnhancedDBCreateRequest) SetDatabaseName(v string)
SetDatabaseName sets value to DatabaseName
func (*EnhancedDBCreateRequest) SetDatabaseType ¶ added in v1.11.0
func (o *EnhancedDBCreateRequest) SetDatabaseType(v types.EnhancedDBType)
SetDatabaseType sets value to DatabaseType
func (*EnhancedDBCreateRequest) SetDescription ¶
func (o *EnhancedDBCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*EnhancedDBCreateRequest) SetIconID ¶
func (o *EnhancedDBCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*EnhancedDBCreateRequest) SetName ¶
func (o *EnhancedDBCreateRequest) SetName(v string)
SetName sets value to Name
func (*EnhancedDBCreateRequest) SetRegion ¶ added in v1.11.0
func (o *EnhancedDBCreateRequest) SetRegion(v types.EnhancedDBRegion)
SetRegion sets value to Region
func (*EnhancedDBCreateRequest) SetTags ¶
func (o *EnhancedDBCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type EnhancedDBFindResult ¶
type EnhancedDBFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page EnhancedDBs []*EnhancedDB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
EnhancedDBFindResult represents the Result of API
func (*EnhancedDBFindResult) Values ¶
func (r *EnhancedDBFindResult) Values() []interface{}
Values returns find results
type EnhancedDBOp ¶
type EnhancedDBOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
EnhancedDBOp implements EnhancedDBAPI interface
func (*EnhancedDBOp) Create ¶
func (o *EnhancedDBOp) Create(ctx context.Context, param *EnhancedDBCreateRequest) (*EnhancedDB, error)
Create is API call
func (*EnhancedDBOp) Find ¶
func (o *EnhancedDBOp) Find(ctx context.Context, conditions *FindCondition) (*EnhancedDBFindResult, error)
Find is API call
func (*EnhancedDBOp) GetConfig ¶ added in v1.10.0
func (o *EnhancedDBOp) GetConfig(ctx context.Context, id types.ID) (*EnhancedDBConfig, error)
GetConfig is API call
func (*EnhancedDBOp) Read ¶
func (o *EnhancedDBOp) Read(ctx context.Context, id types.ID) (*EnhancedDB, error)
Read is API call
func (*EnhancedDBOp) SetConfig ¶ added in v1.11.0
func (o *EnhancedDBOp) SetConfig(ctx context.Context, id types.ID, param *EnhancedDBSetConfigRequest) error
SetConfig is API call
func (*EnhancedDBOp) SetPassword ¶
func (o *EnhancedDBOp) SetPassword(ctx context.Context, id types.ID, param *EnhancedDBSetPasswordRequest) error
SetPassword is API call
func (*EnhancedDBOp) Update ¶
func (o *EnhancedDBOp) Update(ctx context.Context, id types.ID, param *EnhancedDBUpdateRequest) (*EnhancedDB, error)
Update is API call
type EnhancedDBSetConfigRequest ¶ added in v1.11.0
type EnhancedDBSetConfigRequest struct {
AllowedNetworks []string `mapconv:"EnhancedDB.AllowedNetworks"`
}
EnhancedDBSetConfigRequest represents API parameter/response structure
func (*EnhancedDBSetConfigRequest) GetAllowedNetworks ¶ added in v1.11.0
func (o *EnhancedDBSetConfigRequest) GetAllowedNetworks() []string
GetAllowedNetworks returns value of AllowedNetworks
func (*EnhancedDBSetConfigRequest) SetAllowedNetworks ¶ added in v1.11.0
func (o *EnhancedDBSetConfigRequest) SetAllowedNetworks(v []string)
SetAllowedNetworks sets value to AllowedNetworks
type EnhancedDBSetPasswordRequest ¶
type EnhancedDBSetPasswordRequest struct {
Password string `mapconv:"EnhancedDB.Password"`
}
EnhancedDBSetPasswordRequest represents API parameter/response structure
func (*EnhancedDBSetPasswordRequest) GetPassword ¶
func (o *EnhancedDBSetPasswordRequest) GetPassword() string
GetPassword returns value of Password
func (*EnhancedDBSetPasswordRequest) SetPassword ¶
func (o *EnhancedDBSetPasswordRequest) SetPassword(v string)
SetPassword sets value to Password
type EnhancedDBUpdateRequest ¶
type EnhancedDBUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
EnhancedDBUpdateRequest represents API parameter/response structure
func (*EnhancedDBUpdateRequest) AppendTag ¶
func (o *EnhancedDBUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*EnhancedDBUpdateRequest) ClearTags ¶
func (o *EnhancedDBUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*EnhancedDBUpdateRequest) GetDescription ¶
func (o *EnhancedDBUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*EnhancedDBUpdateRequest) GetIconID ¶
func (o *EnhancedDBUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*EnhancedDBUpdateRequest) GetName ¶
func (o *EnhancedDBUpdateRequest) GetName() string
GetName returns value of Name
func (*EnhancedDBUpdateRequest) GetSettingsHash ¶
func (o *EnhancedDBUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*EnhancedDBUpdateRequest) GetTags ¶
func (o *EnhancedDBUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*EnhancedDBUpdateRequest) HasTag ¶
func (o *EnhancedDBUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*EnhancedDBUpdateRequest) RemoveTag ¶
func (o *EnhancedDBUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*EnhancedDBUpdateRequest) SetDescription ¶
func (o *EnhancedDBUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*EnhancedDBUpdateRequest) SetIconID ¶
func (o *EnhancedDBUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*EnhancedDBUpdateRequest) SetName ¶
func (o *EnhancedDBUpdateRequest) SetName(v string)
SetName sets value to Name
func (*EnhancedDBUpdateRequest) SetSettingsHash ¶
func (o *EnhancedDBUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*EnhancedDBUpdateRequest) SetTags ¶
func (o *EnhancedDBUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type FTPServer ¶
FTPServer represents API parameter/response structure
func (*FTPServer) GetHostName ¶
GetHostName returns value of HostName
func (*FTPServer) GetIPAddress ¶
GetIPAddress returns value of IPAddress
func (*FTPServer) GetPassword ¶
GetPassword returns value of Password
func (*FTPServer) SetHostName ¶
SetHostName sets value to HostName
func (*FTPServer) SetIPAddress ¶
SetIPAddress sets value to IPAddress
func (*FTPServer) SetPassword ¶
SetPassword sets value to Password
type FTPServerInfo ¶
FTPServerInfo represents API parameter/response structure
func (*FTPServerInfo) GetHostName ¶
func (o *FTPServerInfo) GetHostName() string
GetHostName returns value of HostName
func (*FTPServerInfo) GetIPAddress ¶
func (o *FTPServerInfo) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*FTPServerInfo) SetHostName ¶
func (o *FTPServerInfo) SetHostName(v string)
SetHostName sets value to HostName
func (*FTPServerInfo) SetIPAddress ¶
func (o *FTPServerInfo) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
type FindCondition ¶
type FindCondition struct { Count int `mapconv:",omitempty"` From int `mapconv:",omitempty"` Sort search.SortKeys `json:",omitempty" mapconv:",omitempty"` Filter search.Filter `json:",omitempty" mapconv:",omitempty"` Include []string `json:",omitempty" mapconv:",omitempty"` Exclude []string `json:",omitempty" mapconv:",omitempty"` }
FindCondition represents API parameter/response structure
func (*FindCondition) GetCount ¶
func (o *FindCondition) GetCount() int
GetCount returns value of Count
func (*FindCondition) GetExclude ¶
func (o *FindCondition) GetExclude() []string
GetExclude returns value of Exclude
func (*FindCondition) GetFilter ¶
func (o *FindCondition) GetFilter() search.Filter
GetFilter returns value of Filter
func (*FindCondition) GetInclude ¶
func (o *FindCondition) GetInclude() []string
GetInclude returns value of Include
func (*FindCondition) GetSort ¶
func (o *FindCondition) GetSort() search.SortKeys
GetSort returns value of Sort
func (*FindCondition) SetCount ¶
func (o *FindCondition) SetCount(v int)
SetCount sets value to Count
func (*FindCondition) SetExclude ¶
func (o *FindCondition) SetExclude(v []string)
SetExclude sets value to Exclude
func (*FindCondition) SetFilter ¶
func (o *FindCondition) SetFilter(v search.Filter)
SetFilter sets value to Filter
func (*FindCondition) SetInclude ¶
func (o *FindCondition) SetInclude(v []string)
SetInclude sets value to Include
func (*FindCondition) SetSort ¶
func (o *FindCondition) SetSort(v search.SortKeys)
SetSort sets value to Sort
type FindResultsValuer ¶
type FindResultsValuer interface {
Values() []interface{}
}
FindResultsValuer 検索結果を保持するstructが実装するインターフェイス
type FreeDiskSizeActivity ¶
type FreeDiskSizeActivity struct {
Values []*MonitorFreeDiskSizeValue `mapconv:"[]FreeDiskSize"`
}
FreeDiskSizeActivity represents API parameter/response structure
func (*FreeDiskSizeActivity) GetValues ¶
func (o *FreeDiskSizeActivity) GetValues() []*MonitorFreeDiskSizeValue
GetValues returns value of Values
func (*FreeDiskSizeActivity) SetValues ¶
func (o *FreeDiskSizeActivity) SetValues(v []*MonitorFreeDiskSizeValue)
SetValues sets value to Values
type GSLB ¶
type GSLB struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time SettingsHash string `json:",omitempty" mapconv:",omitempty"` FQDN string `mapconv:"Status.FQDN"` DelayLoop int `mapconv:"Settings.GSLB.DelayLoop"` Weighted types.StringFlag `mapconv:"Settings.GSLB.Weighted"` HealthCheck *GSLBHealthCheck `mapconv:"Settings.GSLB.HealthCheck,recursive"` SorryServer string `mapconv:"Settings.GSLB.SorryServer"` DestinationServers GSLBServers `mapconv:"Settings.GSLB.[]Servers,recursive"` }
GSLB represents API parameter/response structure
func (*GSLB) GetAvailability ¶
func (o *GSLB) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*GSLB) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*GSLB) GetDelayLoop ¶
GetDelayLoop returns value of DelayLoop
func (*GSLB) GetDescription ¶
GetDescription returns value of Description
func (*GSLB) GetDestinationServers ¶
func (o *GSLB) GetDestinationServers() GSLBServers
GetDestinationServers returns value of DestinationServers
func (*GSLB) GetHealthCheck ¶
func (o *GSLB) GetHealthCheck() *GSLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*GSLB) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*GSLB) GetSettingsHash ¶
GetSettingsHash returns value of SettingsHash
func (*GSLB) GetSorryServer ¶
GetSorryServer returns value of SorryServer
func (*GSLB) GetWeighted ¶
func (o *GSLB) GetWeighted() types.StringFlag
GetWeighted returns value of Weighted
func (*GSLB) SetAvailability ¶
func (o *GSLB) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*GSLB) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*GSLB) SetDescription ¶
SetDescription sets value to Description
func (*GSLB) SetDestinationServers ¶
func (o *GSLB) SetDestinationServers(v GSLBServers)
SetDestinationServers sets value to DestinationServers
func (*GSLB) SetHealthCheck ¶
func (o *GSLB) SetHealthCheck(v *GSLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*GSLB) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*GSLB) SetSettingsHash ¶
SetSettingsHash sets value to SettingsHash
func (*GSLB) SetSorryServer ¶
SetSorryServer sets value to SorryServer
func (*GSLB) SetWeighted ¶
func (o *GSLB) SetWeighted(v types.StringFlag)
SetWeighted sets value to Weighted
type GSLBAPI ¶
type GSLBAPI interface { Find(ctx context.Context, conditions *FindCondition) (*GSLBFindResult, error) Create(ctx context.Context, param *GSLBCreateRequest) (*GSLB, error) Read(ctx context.Context, id types.ID) (*GSLB, error) Update(ctx context.Context, id types.ID, param *GSLBUpdateRequest) (*GSLB, error) UpdateSettings(ctx context.Context, id types.ID, param *GSLBUpdateSettingsRequest) (*GSLB, error) Delete(ctx context.Context, id types.ID) error }
GSLBAPI is interface for operate GSLB resource
type GSLBCreateRequest ¶
type GSLBCreateRequest struct { HealthCheck *GSLBHealthCheck `mapconv:"Settings.GSLB.HealthCheck,recursive"` DelayLoop int `mapconv:"Settings.GSLB.DelayLoop"` Weighted types.StringFlag `mapconv:"Settings.GSLB.Weighted"` SorryServer string `mapconv:"Settings.GSLB.SorryServer"` DestinationServers GSLBServers `mapconv:"Settings.GSLB.[]Servers,recursive"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
GSLBCreateRequest represents API parameter/response structure
func (*GSLBCreateRequest) AppendTag ¶
func (o *GSLBCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*GSLBCreateRequest) GetDelayLoop ¶
func (o *GSLBCreateRequest) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*GSLBCreateRequest) GetDescription ¶
func (o *GSLBCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*GSLBCreateRequest) GetDestinationServers ¶
func (o *GSLBCreateRequest) GetDestinationServers() GSLBServers
GetDestinationServers returns value of DestinationServers
func (*GSLBCreateRequest) GetHealthCheck ¶
func (o *GSLBCreateRequest) GetHealthCheck() *GSLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*GSLBCreateRequest) GetIconID ¶
func (o *GSLBCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*GSLBCreateRequest) GetName ¶
func (o *GSLBCreateRequest) GetName() string
GetName returns value of Name
func (*GSLBCreateRequest) GetSorryServer ¶
func (o *GSLBCreateRequest) GetSorryServer() string
GetSorryServer returns value of SorryServer
func (*GSLBCreateRequest) GetTags ¶
func (o *GSLBCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*GSLBCreateRequest) GetWeighted ¶
func (o *GSLBCreateRequest) GetWeighted() types.StringFlag
GetWeighted returns value of Weighted
func (*GSLBCreateRequest) HasTag ¶
func (o *GSLBCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*GSLBCreateRequest) RemoveTag ¶
func (o *GSLBCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*GSLBCreateRequest) SetDelayLoop ¶
func (o *GSLBCreateRequest) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*GSLBCreateRequest) SetDescription ¶
func (o *GSLBCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*GSLBCreateRequest) SetDestinationServers ¶
func (o *GSLBCreateRequest) SetDestinationServers(v GSLBServers)
SetDestinationServers sets value to DestinationServers
func (*GSLBCreateRequest) SetHealthCheck ¶
func (o *GSLBCreateRequest) SetHealthCheck(v *GSLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*GSLBCreateRequest) SetIconID ¶
func (o *GSLBCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*GSLBCreateRequest) SetName ¶
func (o *GSLBCreateRequest) SetName(v string)
SetName sets value to Name
func (*GSLBCreateRequest) SetSorryServer ¶
func (o *GSLBCreateRequest) SetSorryServer(v string)
SetSorryServer sets value to SorryServer
func (*GSLBCreateRequest) SetTags ¶
func (o *GSLBCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*GSLBCreateRequest) SetWeighted ¶
func (o *GSLBCreateRequest) SetWeighted(v types.StringFlag)
SetWeighted sets value to Weighted
type GSLBFindResult ¶
type GSLBFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page GSLBs []*GSLB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
GSLBFindResult represents the Result of API
func (*GSLBFindResult) Values ¶
func (r *GSLBFindResult) Values() []interface{}
Values returns find results
type GSLBHealthCheck ¶
type GSLBHealthCheck struct { Protocol types.EGSLBHealthCheckProtocol HostHeader string `mapconv:"Host"` Path string `mapconv:"Path"` ResponseCode types.StringNumber `mapconv:"Status"` Port types.StringNumber `mapconv:"Port"` }
GSLBHealthCheck represents API parameter/response structure
func (*GSLBHealthCheck) GetHostHeader ¶
func (o *GSLBHealthCheck) GetHostHeader() string
GetHostHeader returns value of HostHeader
func (*GSLBHealthCheck) GetPath ¶
func (o *GSLBHealthCheck) GetPath() string
GetPath returns value of Path
func (*GSLBHealthCheck) GetPort ¶
func (o *GSLBHealthCheck) GetPort() types.StringNumber
GetPort returns value of Port
func (*GSLBHealthCheck) GetProtocol ¶
func (o *GSLBHealthCheck) GetProtocol() types.EGSLBHealthCheckProtocol
GetProtocol returns value of Protocol
func (*GSLBHealthCheck) GetResponseCode ¶
func (o *GSLBHealthCheck) GetResponseCode() types.StringNumber
GetResponseCode returns value of ResponseCode
func (*GSLBHealthCheck) SetHostHeader ¶
func (o *GSLBHealthCheck) SetHostHeader(v string)
SetHostHeader sets value to HostHeader
func (*GSLBHealthCheck) SetPath ¶
func (o *GSLBHealthCheck) SetPath(v string)
SetPath sets value to Path
func (*GSLBHealthCheck) SetPort ¶
func (o *GSLBHealthCheck) SetPort(v types.StringNumber)
SetPort sets value to Port
func (*GSLBHealthCheck) SetProtocol ¶
func (o *GSLBHealthCheck) SetProtocol(v types.EGSLBHealthCheckProtocol)
SetProtocol sets value to Protocol
func (*GSLBHealthCheck) SetResponseCode ¶
func (o *GSLBHealthCheck) SetResponseCode(v types.StringNumber)
SetResponseCode sets value to ResponseCode
type GSLBOp ¶
type GSLBOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
GSLBOp implements GSLBAPI interface
func (*GSLBOp) Find ¶
func (o *GSLBOp) Find(ctx context.Context, conditions *FindCondition) (*GSLBFindResult, error)
Find is API call
func (*GSLBOp) UpdateSettings ¶
func (o *GSLBOp) UpdateSettings(ctx context.Context, id types.ID, param *GSLBUpdateSettingsRequest) (*GSLB, error)
UpdateSettings is API call
type GSLBServer ¶
type GSLBServer struct { IPAddress string Enabled types.StringFlag Weight types.StringNumber }
GSLBServer represents API parameter/response structure
func (*GSLBServer) GetEnabled ¶
func (o *GSLBServer) GetEnabled() types.StringFlag
GetEnabled returns value of Enabled
func (*GSLBServer) GetIPAddress ¶
func (o *GSLBServer) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*GSLBServer) GetWeight ¶
func (o *GSLBServer) GetWeight() types.StringNumber
GetWeight returns value of Weight
func (*GSLBServer) SetEnabled ¶
func (o *GSLBServer) SetEnabled(v types.StringFlag)
SetEnabled sets value to Enabled
func (*GSLBServer) SetIPAddress ¶
func (o *GSLBServer) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*GSLBServer) SetWeight ¶
func (o *GSLBServer) SetWeight(v types.StringNumber)
SetWeight sets value to Weight
type GSLBServers ¶
type GSLBServers []*GSLBServer
func (*GSLBServers) Update ¶
func (o *GSLBServers) Update(old *GSLBServer, new *GSLBServer)
Update サーバの更新
func (*GSLBServers) UpdateAt ¶
func (o *GSLBServers) UpdateAt(ip string, new *GSLBServer)
UpdateAt サーバの更新
type GSLBUpdateRequest ¶
type GSLBUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` HealthCheck *GSLBHealthCheck `mapconv:"Settings.GSLB.HealthCheck,recursive"` DelayLoop int `mapconv:"Settings.GSLB.DelayLoop"` Weighted types.StringFlag `mapconv:"Settings.GSLB.Weighted"` SorryServer string `mapconv:"Settings.GSLB.SorryServer"` DestinationServers GSLBServers `mapconv:"Settings.GSLB.[]Servers,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
GSLBUpdateRequest represents API parameter/response structure
func (*GSLBUpdateRequest) AppendTag ¶
func (o *GSLBUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*GSLBUpdateRequest) GetDelayLoop ¶
func (o *GSLBUpdateRequest) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*GSLBUpdateRequest) GetDescription ¶
func (o *GSLBUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*GSLBUpdateRequest) GetDestinationServers ¶
func (o *GSLBUpdateRequest) GetDestinationServers() GSLBServers
GetDestinationServers returns value of DestinationServers
func (*GSLBUpdateRequest) GetHealthCheck ¶
func (o *GSLBUpdateRequest) GetHealthCheck() *GSLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*GSLBUpdateRequest) GetIconID ¶
func (o *GSLBUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*GSLBUpdateRequest) GetName ¶
func (o *GSLBUpdateRequest) GetName() string
GetName returns value of Name
func (*GSLBUpdateRequest) GetSettingsHash ¶
func (o *GSLBUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*GSLBUpdateRequest) GetSorryServer ¶
func (o *GSLBUpdateRequest) GetSorryServer() string
GetSorryServer returns value of SorryServer
func (*GSLBUpdateRequest) GetTags ¶
func (o *GSLBUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*GSLBUpdateRequest) GetWeighted ¶
func (o *GSLBUpdateRequest) GetWeighted() types.StringFlag
GetWeighted returns value of Weighted
func (*GSLBUpdateRequest) HasTag ¶
func (o *GSLBUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*GSLBUpdateRequest) RemoveTag ¶
func (o *GSLBUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*GSLBUpdateRequest) SetDelayLoop ¶
func (o *GSLBUpdateRequest) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*GSLBUpdateRequest) SetDescription ¶
func (o *GSLBUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*GSLBUpdateRequest) SetDestinationServers ¶
func (o *GSLBUpdateRequest) SetDestinationServers(v GSLBServers)
SetDestinationServers sets value to DestinationServers
func (*GSLBUpdateRequest) SetHealthCheck ¶
func (o *GSLBUpdateRequest) SetHealthCheck(v *GSLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*GSLBUpdateRequest) SetIconID ¶
func (o *GSLBUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*GSLBUpdateRequest) SetName ¶
func (o *GSLBUpdateRequest) SetName(v string)
SetName sets value to Name
func (*GSLBUpdateRequest) SetSettingsHash ¶
func (o *GSLBUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*GSLBUpdateRequest) SetSorryServer ¶
func (o *GSLBUpdateRequest) SetSorryServer(v string)
SetSorryServer sets value to SorryServer
func (*GSLBUpdateRequest) SetTags ¶
func (o *GSLBUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*GSLBUpdateRequest) SetWeighted ¶
func (o *GSLBUpdateRequest) SetWeighted(v types.StringFlag)
SetWeighted sets value to Weighted
type GSLBUpdateSettingsRequest ¶
type GSLBUpdateSettingsRequest struct { HealthCheck *GSLBHealthCheck `mapconv:"Settings.GSLB.HealthCheck,recursive"` DelayLoop int `mapconv:"Settings.GSLB.DelayLoop"` Weighted types.StringFlag `mapconv:"Settings.GSLB.Weighted"` SorryServer string `mapconv:"Settings.GSLB.SorryServer"` DestinationServers GSLBServers `mapconv:"Settings.GSLB.[]Servers,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
GSLBUpdateSettingsRequest represents API parameter/response structure
func (*GSLBUpdateSettingsRequest) GetDelayLoop ¶
func (o *GSLBUpdateSettingsRequest) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*GSLBUpdateSettingsRequest) GetDestinationServers ¶
func (o *GSLBUpdateSettingsRequest) GetDestinationServers() GSLBServers
GetDestinationServers returns value of DestinationServers
func (*GSLBUpdateSettingsRequest) GetHealthCheck ¶
func (o *GSLBUpdateSettingsRequest) GetHealthCheck() *GSLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*GSLBUpdateSettingsRequest) GetSettingsHash ¶
func (o *GSLBUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*GSLBUpdateSettingsRequest) GetSorryServer ¶
func (o *GSLBUpdateSettingsRequest) GetSorryServer() string
GetSorryServer returns value of SorryServer
func (*GSLBUpdateSettingsRequest) GetWeighted ¶
func (o *GSLBUpdateSettingsRequest) GetWeighted() types.StringFlag
GetWeighted returns value of Weighted
func (*GSLBUpdateSettingsRequest) SetDelayLoop ¶
func (o *GSLBUpdateSettingsRequest) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*GSLBUpdateSettingsRequest) SetDestinationServers ¶
func (o *GSLBUpdateSettingsRequest) SetDestinationServers(v GSLBServers)
SetDestinationServers sets value to DestinationServers
func (*GSLBUpdateSettingsRequest) SetHealthCheck ¶
func (o *GSLBUpdateSettingsRequest) SetHealthCheck(v *GSLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*GSLBUpdateSettingsRequest) SetSettingsHash ¶
func (o *GSLBUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*GSLBUpdateSettingsRequest) SetSorryServer ¶
func (o *GSLBUpdateSettingsRequest) SetSorryServer(v string)
SetSorryServer sets value to SorryServer
func (*GSLBUpdateSettingsRequest) SetWeighted ¶
func (o *GSLBUpdateSettingsRequest) SetWeighted(v types.StringFlag)
SetWeighted sets value to Weighted
type IPAddress ¶
type IPAddress struct { HostName string IPAddress string InterfaceID types.ID `mapconv:"Interface.ID,omitempty"` SubnetID types.ID `mapconv:"Subnet.ID,omitempty"` }
IPAddress represents API parameter/response structure
func (*IPAddress) GetHostName ¶
GetHostName returns value of HostName
func (*IPAddress) GetIPAddress ¶
GetIPAddress returns value of IPAddress
func (*IPAddress) GetInterfaceID ¶
GetInterfaceID returns value of InterfaceID
func (*IPAddress) GetSubnetID ¶
GetSubnetID returns value of SubnetID
func (*IPAddress) SetHostName ¶
SetHostName sets value to HostName
func (*IPAddress) SetIPAddress ¶
SetIPAddress sets value to IPAddress
func (*IPAddress) SetInterfaceID ¶
SetInterfaceID sets value to InterfaceID
func (*IPAddress) SetSubnetID ¶
SetSubnetID sets value to SubnetID
type IPAddressAPI ¶
type IPAddressAPI interface { List(ctx context.Context, zone string) (*IPAddressListResult, error) Read(ctx context.Context, zone string, ipAddress string) (*IPAddress, error) UpdateHostName(ctx context.Context, zone string, ipAddress string, hostName string) (*IPAddress, error) }
IPAddressAPI is interface for operate IPAddress resource
func NewIPAddressOp ¶
func NewIPAddressOp(caller APICaller) IPAddressAPI
NewIPAddressOp creates new IPAddressOp instance
type IPAddressListResult ¶
type IPAddressListResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page IPAddress []*IPAddress `json:",omitempty" mapconv:"[]IPAddress,omitempty,recursive"` }
IPAddressListResult represents the Result of API
func (*IPAddressListResult) Values ¶
func (r *IPAddressListResult) Values() []interface{}
Values returns find results
type IPAddressOp ¶
type IPAddressOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
IPAddressOp implements IPAddressAPI interface
func (*IPAddressOp) List ¶
func (o *IPAddressOp) List(ctx context.Context, zone string) (*IPAddressListResult, error)
List is API call
func (*IPAddressOp) UpdateHostName ¶
func (o *IPAddressOp) UpdateHostName(ctx context.Context, zone string, ipAddress string, hostName string) (*IPAddress, error)
UpdateHostName is API call
type IPv6Addr ¶
type IPv6Addr struct { IPv6Addr string HostName string IPv6NetID types.ID `mapconv:"IPv6Net.ID"` SwitchID types.ID `mapconv:"IPv6Net.Switch.ID"` InterfaceID types.ID `mapconv:"Interface.ID,omitempty"` }
IPv6Addr represents API parameter/response structure
func (*IPv6Addr) GetHostName ¶
GetHostName returns value of HostName
func (*IPv6Addr) GetIPv6Addr ¶
GetIPv6Addr returns value of IPv6Addr
func (*IPv6Addr) GetIPv6NetID ¶
GetIPv6NetID returns value of IPv6NetID
func (*IPv6Addr) GetInterfaceID ¶
GetInterfaceID returns value of InterfaceID
func (*IPv6Addr) GetSwitchID ¶
GetSwitchID returns value of SwitchID
func (*IPv6Addr) SetHostName ¶
SetHostName sets value to HostName
func (*IPv6Addr) SetIPv6Addr ¶
SetIPv6Addr sets value to IPv6Addr
func (*IPv6Addr) SetIPv6NetID ¶
SetIPv6NetID sets value to IPv6NetID
func (*IPv6Addr) SetInterfaceID ¶
SetInterfaceID sets value to InterfaceID
func (*IPv6Addr) SetSwitchID ¶
SetSwitchID sets value to SwitchID
type IPv6AddrAPI ¶
type IPv6AddrAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*IPv6AddrFindResult, error) Create(ctx context.Context, zone string, param *IPv6AddrCreateRequest) (*IPv6Addr, error) Read(ctx context.Context, zone string, ipv6addr string) (*IPv6Addr, error) Update(ctx context.Context, zone string, ipv6addr string, param *IPv6AddrUpdateRequest) (*IPv6Addr, error) Delete(ctx context.Context, zone string, ipv6addr string) error }
IPv6AddrAPI is interface for operate IPv6Addr resource
func NewIPv6AddrOp ¶
func NewIPv6AddrOp(caller APICaller) IPv6AddrAPI
NewIPv6AddrOp creates new IPv6AddrOp instance
type IPv6AddrCreateRequest ¶
IPv6AddrCreateRequest represents API parameter/response structure
func (*IPv6AddrCreateRequest) GetHostName ¶
func (o *IPv6AddrCreateRequest) GetHostName() string
GetHostName returns value of HostName
func (*IPv6AddrCreateRequest) GetIPv6Addr ¶
func (o *IPv6AddrCreateRequest) GetIPv6Addr() string
GetIPv6Addr returns value of IPv6Addr
func (*IPv6AddrCreateRequest) SetHostName ¶
func (o *IPv6AddrCreateRequest) SetHostName(v string)
SetHostName sets value to HostName
func (*IPv6AddrCreateRequest) SetIPv6Addr ¶
func (o *IPv6AddrCreateRequest) SetIPv6Addr(v string)
SetIPv6Addr sets value to IPv6Addr
type IPv6AddrFindResult ¶
type IPv6AddrFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page IPv6Addrs []*IPv6Addr `json:",omitempty" mapconv:"[]IPv6Addrs,omitempty,recursive"` }
IPv6AddrFindResult represents the Result of API
func (*IPv6AddrFindResult) Values ¶
func (r *IPv6AddrFindResult) Values() []interface{}
Values returns find results
type IPv6AddrOp ¶
type IPv6AddrOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
IPv6AddrOp implements IPv6AddrAPI interface
func (*IPv6AddrOp) Create ¶
func (o *IPv6AddrOp) Create(ctx context.Context, zone string, param *IPv6AddrCreateRequest) (*IPv6Addr, error)
Create is API call
func (*IPv6AddrOp) Find ¶
func (o *IPv6AddrOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*IPv6AddrFindResult, error)
Find is API call
func (*IPv6AddrOp) Update ¶
func (o *IPv6AddrOp) Update(ctx context.Context, zone string, ipv6addr string, param *IPv6AddrUpdateRequest) (*IPv6Addr, error)
Update is API call
type IPv6AddrUpdateRequest ¶
type IPv6AddrUpdateRequest struct {
HostName string
}
IPv6AddrUpdateRequest represents API parameter/response structure
func (*IPv6AddrUpdateRequest) GetHostName ¶
func (o *IPv6AddrUpdateRequest) GetHostName() string
GetHostName returns value of HostName
func (*IPv6AddrUpdateRequest) SetHostName ¶
func (o *IPv6AddrUpdateRequest) SetHostName(v string)
SetHostName sets value to HostName
type IPv6Net ¶
type IPv6Net struct { ID types.ID ServiceID types.ID IPv6Prefix string IPv6PrefixLen int IPv6PrefixTail string ServiceClass string IPv6TableID types.ID `mapconv:"IPv6Table.ID"` NamedIPv6AddrCount int CreatedAt time.Time SwitchID types.ID `mapconv:"Switch.ID,omitempty"` }
IPv6Net represents API parameter/response structure
func (*IPv6Net) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*IPv6Net) GetIPv6Prefix ¶
GetIPv6Prefix returns value of IPv6Prefix
func (*IPv6Net) GetIPv6PrefixLen ¶
GetIPv6PrefixLen returns value of IPv6PrefixLen
func (*IPv6Net) GetIPv6PrefixTail ¶
GetIPv6PrefixTail returns value of IPv6PrefixTail
func (*IPv6Net) GetIPv6TableID ¶
GetIPv6TableID returns value of IPv6TableID
func (*IPv6Net) GetNamedIPv6AddrCount ¶
GetNamedIPv6AddrCount returns value of NamedIPv6AddrCount
func (*IPv6Net) GetServiceClass ¶
GetServiceClass returns value of ServiceClass
func (*IPv6Net) GetServiceID ¶
GetServiceID returns value of ServiceID
func (*IPv6Net) GetSwitchID ¶
GetSwitchID returns value of SwitchID
func (*IPv6Net) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*IPv6Net) SetIPv6Prefix ¶
SetIPv6Prefix sets value to IPv6Prefix
func (*IPv6Net) SetIPv6PrefixLen ¶
SetIPv6PrefixLen sets value to IPv6PrefixLen
func (*IPv6Net) SetIPv6PrefixTail ¶
SetIPv6PrefixTail sets value to IPv6PrefixTail
func (*IPv6Net) SetIPv6TableID ¶
SetIPv6TableID sets value to IPv6TableID
func (*IPv6Net) SetNamedIPv6AddrCount ¶
SetNamedIPv6AddrCount sets value to NamedIPv6AddrCount
func (*IPv6Net) SetServiceClass ¶
SetServiceClass sets value to ServiceClass
func (*IPv6Net) SetServiceID ¶
SetServiceID sets value to ServiceID
func (*IPv6Net) SetSwitchID ¶
SetSwitchID sets value to SwitchID
type IPv6NetAPI ¶
type IPv6NetAPI interface { List(ctx context.Context, zone string) (*IPv6NetListResult, error) Find(ctx context.Context, zone string, conditions *FindCondition) (*IPv6NetFindResult, error) Read(ctx context.Context, zone string, id types.ID) (*IPv6Net, error) }
IPv6NetAPI is interface for operate IPv6Net resource
func NewIPv6NetOp ¶
func NewIPv6NetOp(caller APICaller) IPv6NetAPI
NewIPv6NetOp creates new IPv6NetOp instance
type IPv6NetFindResult ¶
type IPv6NetFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page IPv6Nets []*IPv6Net `json:",omitempty" mapconv:"[]IPv6Nets,omitempty,recursive"` }
IPv6NetFindResult represents the Result of API
func (*IPv6NetFindResult) Values ¶
func (r *IPv6NetFindResult) Values() []interface{}
Values returns find results
type IPv6NetInfo ¶
IPv6NetInfo represents API parameter/response structure
func (*IPv6NetInfo) GetIPv6Prefix ¶
func (o *IPv6NetInfo) GetIPv6Prefix() string
GetIPv6Prefix returns value of IPv6Prefix
func (*IPv6NetInfo) GetIPv6PrefixLen ¶
func (o *IPv6NetInfo) GetIPv6PrefixLen() int
GetIPv6PrefixLen returns value of IPv6PrefixLen
func (*IPv6NetInfo) SetIPv6Prefix ¶
func (o *IPv6NetInfo) SetIPv6Prefix(v string)
SetIPv6Prefix sets value to IPv6Prefix
func (*IPv6NetInfo) SetIPv6PrefixLen ¶
func (o *IPv6NetInfo) SetIPv6PrefixLen(v int)
SetIPv6PrefixLen sets value to IPv6PrefixLen
type IPv6NetListResult ¶
type IPv6NetListResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page IPv6Nets []*IPv6Net `json:",omitempty" mapconv:"[]IPv6Nets,omitempty,recursive"` }
IPv6NetListResult represents the Result of API
func (*IPv6NetListResult) Values ¶
func (r *IPv6NetListResult) Values() []interface{}
Values returns find results
type IPv6NetOp ¶
type IPv6NetOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
IPv6NetOp implements IPv6NetAPI interface
func (*IPv6NetOp) Find ¶
func (o *IPv6NetOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*IPv6NetFindResult, error)
Find is API call
type Icon ¶
type Icon struct { ID types.ID Name string Tags types.Tags Availability types.EAvailability Scope types.EScope URL string CreatedAt time.Time ModifiedAt time.Time }
Icon represents API parameter/response structure
func (*Icon) GetAvailability ¶
func (o *Icon) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*Icon) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Icon) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Icon) SetAvailability ¶
func (o *Icon) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*Icon) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Icon) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
type IconAPI ¶
type IconAPI interface { Find(ctx context.Context, conditions *FindCondition) (*IconFindResult, error) Create(ctx context.Context, param *IconCreateRequest) (*Icon, error) Read(ctx context.Context, id types.ID) (*Icon, error) Update(ctx context.Context, id types.ID, param *IconUpdateRequest) (*Icon, error) Delete(ctx context.Context, id types.ID) error }
IconAPI is interface for operate Icon resource
type IconCreateRequest ¶
IconCreateRequest represents API parameter/response structure
func (*IconCreateRequest) AppendTag ¶
func (o *IconCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*IconCreateRequest) GetImage ¶
func (o *IconCreateRequest) GetImage() string
GetImage returns value of Image
func (*IconCreateRequest) GetName ¶
func (o *IconCreateRequest) GetName() string
GetName returns value of Name
func (*IconCreateRequest) GetTags ¶
func (o *IconCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*IconCreateRequest) HasTag ¶
func (o *IconCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*IconCreateRequest) RemoveTag ¶
func (o *IconCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*IconCreateRequest) SetImage ¶
func (o *IconCreateRequest) SetImage(v string)
SetImage sets value to Image
func (*IconCreateRequest) SetName ¶
func (o *IconCreateRequest) SetName(v string)
SetName sets value to Name
func (*IconCreateRequest) SetTags ¶
func (o *IconCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type IconFindResult ¶
type IconFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Icons []*Icon `json:",omitempty" mapconv:"[]Icons,omitempty,recursive"` }
IconFindResult represents the Result of API
func (*IconFindResult) Values ¶
func (r *IconFindResult) Values() []interface{}
Values returns find results
type IconOp ¶
type IconOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
IconOp implements IconAPI interface
func (*IconOp) Find ¶
func (o *IconOp) Find(ctx context.Context, conditions *FindCondition) (*IconFindResult, error)
Find is API call
type IconUpdateRequest ¶
IconUpdateRequest represents API parameter/response structure
func (*IconUpdateRequest) AppendTag ¶
func (o *IconUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*IconUpdateRequest) GetName ¶
func (o *IconUpdateRequest) GetName() string
GetName returns value of Name
func (*IconUpdateRequest) GetTags ¶
func (o *IconUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*IconUpdateRequest) HasTag ¶
func (o *IconUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*IconUpdateRequest) RemoveTag ¶
func (o *IconUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*IconUpdateRequest) SetName ¶
func (o *IconUpdateRequest) SetName(v string)
SetName sets value to Name
func (*IconUpdateRequest) SetTags ¶
func (o *IconUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type InsertCDROMRequest ¶
InsertCDROMRequest represents API parameter/response structure
func (*InsertCDROMRequest) GetID ¶
func (o *InsertCDROMRequest) GetID() types.ID
GetID returns value of ID
func (*InsertCDROMRequest) GetInt64ID ¶
func (o *InsertCDROMRequest) GetInt64ID() int64
GetInt64ID .
func (*InsertCDROMRequest) GetStringID ¶
func (o *InsertCDROMRequest) GetStringID() string
GetStringID .
func (*InsertCDROMRequest) SetID ¶
func (o *InsertCDROMRequest) SetID(v types.ID)
SetID sets value to ID
func (*InsertCDROMRequest) SetInt64ID ¶
func (o *InsertCDROMRequest) SetInt64ID(id int64)
SetInt64ID .
func (*InsertCDROMRequest) SetStringID ¶
func (o *InsertCDROMRequest) SetStringID(id string)
SetStringID .
type Interface ¶
type Interface struct { ID types.ID MACAddress string IPAddress string UserIPAddress string HostName string SwitchID types.ID `mapconv:"Switch.ID,omitempty"` SwitchScope types.EScope `mapconv:"Switch.Scope,omitempty"` PacketFilterID types.ID `mapconv:"PacketFilter.ID,omitempty"` ServerID types.ID `mapconv:"Server.ID,omitempty"` CreatedAt time.Time }
Interface represents API parameter/response structure
func (*Interface) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Interface) GetHostName ¶
GetHostName returns value of HostName
func (*Interface) GetIPAddress ¶
GetIPAddress returns value of IPAddress
func (*Interface) GetMACAddress ¶
GetMACAddress returns value of MACAddress
func (*Interface) GetPacketFilterID ¶
GetPacketFilterID returns value of PacketFilterID
func (*Interface) GetServerID ¶
GetServerID returns value of ServerID
func (*Interface) GetSwitchID ¶
GetSwitchID returns value of SwitchID
func (*Interface) GetSwitchScope ¶
GetSwitchScope returns value of SwitchScope
func (*Interface) GetUserIPAddress ¶
GetUserIPAddress returns value of UserIPAddress
func (*Interface) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Interface) SetHostName ¶
SetHostName sets value to HostName
func (*Interface) SetIPAddress ¶
SetIPAddress sets value to IPAddress
func (*Interface) SetMACAddress ¶
SetMACAddress sets value to MACAddress
func (*Interface) SetPacketFilterID ¶
SetPacketFilterID sets value to PacketFilterID
func (*Interface) SetServerID ¶
SetServerID sets value to ServerID
func (*Interface) SetSwitchID ¶
SetSwitchID sets value to SwitchID
func (*Interface) SetSwitchScope ¶
SetSwitchScope sets value to SwitchScope
func (*Interface) SetUserIPAddress ¶
SetUserIPAddress sets value to UserIPAddress
type InterfaceAPI ¶
type InterfaceAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*InterfaceFindResult, error) Create(ctx context.Context, zone string, param *InterfaceCreateRequest) (*Interface, error) Read(ctx context.Context, zone string, id types.ID) (*Interface, error) Update(ctx context.Context, zone string, id types.ID, param *InterfaceUpdateRequest) (*Interface, error) Delete(ctx context.Context, zone string, id types.ID) error Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error ConnectToPacketFilter(ctx context.Context, zone string, id types.ID, packetFilterID types.ID) error DisconnectFromPacketFilter(ctx context.Context, zone string, id types.ID) error }
InterfaceAPI is interface for operate Interface resource
func NewInterfaceOp ¶
func NewInterfaceOp(caller APICaller) InterfaceAPI
NewInterfaceOp creates new InterfaceOp instance
type InterfaceActivity ¶
type InterfaceActivity struct {
Values []*MonitorInterfaceValue `mapconv:"[]Interface"`
}
InterfaceActivity represents API parameter/response structure
func (*InterfaceActivity) GetValues ¶
func (o *InterfaceActivity) GetValues() []*MonitorInterfaceValue
GetValues returns value of Values
func (*InterfaceActivity) SetValues ¶
func (o *InterfaceActivity) SetValues(v []*MonitorInterfaceValue)
SetValues sets value to Values
type InterfaceCreateRequest ¶
InterfaceCreateRequest represents API parameter/response structure
func (*InterfaceCreateRequest) GetServerID ¶
func (o *InterfaceCreateRequest) GetServerID() types.ID
GetServerID returns value of ServerID
func (*InterfaceCreateRequest) SetServerID ¶
func (o *InterfaceCreateRequest) SetServerID(v types.ID)
SetServerID sets value to ServerID
type InterfaceFindResult ¶
type InterfaceFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Interfaces []*Interface `json:",omitempty" mapconv:"[]Interfaces,omitempty,recursive"` }
InterfaceFindResult represents the Result of API
func (*InterfaceFindResult) Values ¶
func (r *InterfaceFindResult) Values() []interface{}
Values returns find results
type InterfaceOp ¶
type InterfaceOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
InterfaceOp implements InterfaceAPI interface
func (*InterfaceOp) ConnectToPacketFilter ¶
func (o *InterfaceOp) ConnectToPacketFilter(ctx context.Context, zone string, id types.ID, packetFilterID types.ID) error
ConnectToPacketFilter is API call
func (*InterfaceOp) ConnectToSharedSegment ¶
ConnectToSharedSegment is API call
func (*InterfaceOp) ConnectToSwitch ¶
func (o *InterfaceOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
ConnectToSwitch is API call
func (*InterfaceOp) Create ¶
func (o *InterfaceOp) Create(ctx context.Context, zone string, param *InterfaceCreateRequest) (*Interface, error)
Create is API call
func (*InterfaceOp) DisconnectFromPacketFilter ¶
func (o *InterfaceOp) DisconnectFromPacketFilter(ctx context.Context, zone string, id types.ID) error
DisconnectFromPacketFilter is API call
func (*InterfaceOp) DisconnectFromSwitch ¶
DisconnectFromSwitch is API call
func (*InterfaceOp) Find ¶
func (o *InterfaceOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*InterfaceFindResult, error)
Find is API call
func (*InterfaceOp) Monitor ¶
func (o *InterfaceOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
Monitor is API call
type InterfaceUpdateRequest ¶
type InterfaceUpdateRequest struct {
UserIPAddress string
}
InterfaceUpdateRequest represents API parameter/response structure
func (*InterfaceUpdateRequest) GetUserIPAddress ¶
func (o *InterfaceUpdateRequest) GetUserIPAddress() string
GetUserIPAddress returns value of UserIPAddress
func (*InterfaceUpdateRequest) SetUserIPAddress ¶
func (o *InterfaceUpdateRequest) SetUserIPAddress(v string)
SetUserIPAddress sets value to UserIPAddress
type InterfaceView ¶
type InterfaceView struct { ID types.ID MACAddress string IPAddress string UserIPAddress string HostName string SwitchID types.ID `mapconv:"Switch.ID"` SwitchName string `mapconv:"Switch.Name"` SwitchScope types.EScope `mapconv:"Switch.Scope"` UserSubnetDefaultRoute string `mapconv:"Switch.UserSubnet.DefaultRoute"` UserSubnetNetworkMaskLen int `mapconv:"Switch.UserSubnet.NetworkMaskLen"` SubnetDefaultRoute string `mapconv:"Switch.Subnet.DefaultRoute"` SubnetNetworkMaskLen int `mapconv:"Switch.Subnet.NetworkMaskLen"` SubnetNetworkAddress string `mapconv:"Switch.Subnet.NetworkAddress"` SubnetBandWidthMbps int `mapconv:"Switch.Subnet.Internet.BandWidthMbps"` PacketFilterID types.ID `mapconv:"PacketFilter.ID"` PacketFilterName string `mapconv:"PacketFilter.Name"` PacketFilterRequiredHostVersion types.StringNumber `mapconv:"PacketFilter.RequiredHostVersionn"` UpstreamType types.EUpstreamNetworkType }
InterfaceView represents API parameter/response structure
func (*InterfaceView) GetHostName ¶
func (o *InterfaceView) GetHostName() string
GetHostName returns value of HostName
func (*InterfaceView) GetIPAddress ¶
func (o *InterfaceView) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*InterfaceView) GetMACAddress ¶
func (o *InterfaceView) GetMACAddress() string
GetMACAddress returns value of MACAddress
func (*InterfaceView) GetPacketFilterID ¶
func (o *InterfaceView) GetPacketFilterID() types.ID
GetPacketFilterID returns value of PacketFilterID
func (*InterfaceView) GetPacketFilterName ¶
func (o *InterfaceView) GetPacketFilterName() string
GetPacketFilterName returns value of PacketFilterName
func (*InterfaceView) GetPacketFilterRequiredHostVersion ¶
func (o *InterfaceView) GetPacketFilterRequiredHostVersion() types.StringNumber
GetPacketFilterRequiredHostVersion returns value of PacketFilterRequiredHostVersion
func (*InterfaceView) GetSubnetBandWidthMbps ¶
func (o *InterfaceView) GetSubnetBandWidthMbps() int
GetSubnetBandWidthMbps returns value of SubnetBandWidthMbps
func (*InterfaceView) GetSubnetDefaultRoute ¶
func (o *InterfaceView) GetSubnetDefaultRoute() string
GetSubnetDefaultRoute returns value of SubnetDefaultRoute
func (*InterfaceView) GetSubnetNetworkAddress ¶
func (o *InterfaceView) GetSubnetNetworkAddress() string
GetSubnetNetworkAddress returns value of SubnetNetworkAddress
func (*InterfaceView) GetSubnetNetworkMaskLen ¶
func (o *InterfaceView) GetSubnetNetworkMaskLen() int
GetSubnetNetworkMaskLen returns value of SubnetNetworkMaskLen
func (*InterfaceView) GetSwitchID ¶
func (o *InterfaceView) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*InterfaceView) GetSwitchName ¶
func (o *InterfaceView) GetSwitchName() string
GetSwitchName returns value of SwitchName
func (*InterfaceView) GetSwitchScope ¶
func (o *InterfaceView) GetSwitchScope() types.EScope
GetSwitchScope returns value of SwitchScope
func (*InterfaceView) GetUpstreamType ¶
func (o *InterfaceView) GetUpstreamType() types.EUpstreamNetworkType
GetUpstreamType returns value of UpstreamType
func (*InterfaceView) GetUserIPAddress ¶
func (o *InterfaceView) GetUserIPAddress() string
GetUserIPAddress returns value of UserIPAddress
func (*InterfaceView) GetUserSubnetDefaultRoute ¶
func (o *InterfaceView) GetUserSubnetDefaultRoute() string
GetUserSubnetDefaultRoute returns value of UserSubnetDefaultRoute
func (*InterfaceView) GetUserSubnetNetworkMaskLen ¶
func (o *InterfaceView) GetUserSubnetNetworkMaskLen() int
GetUserSubnetNetworkMaskLen returns value of UserSubnetNetworkMaskLen
func (*InterfaceView) SetHostName ¶
func (o *InterfaceView) SetHostName(v string)
SetHostName sets value to HostName
func (*InterfaceView) SetIPAddress ¶
func (o *InterfaceView) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*InterfaceView) SetMACAddress ¶
func (o *InterfaceView) SetMACAddress(v string)
SetMACAddress sets value to MACAddress
func (*InterfaceView) SetPacketFilterID ¶
func (o *InterfaceView) SetPacketFilterID(v types.ID)
SetPacketFilterID sets value to PacketFilterID
func (*InterfaceView) SetPacketFilterName ¶
func (o *InterfaceView) SetPacketFilterName(v string)
SetPacketFilterName sets value to PacketFilterName
func (*InterfaceView) SetPacketFilterRequiredHostVersion ¶
func (o *InterfaceView) SetPacketFilterRequiredHostVersion(v types.StringNumber)
SetPacketFilterRequiredHostVersion sets value to PacketFilterRequiredHostVersion
func (*InterfaceView) SetSubnetBandWidthMbps ¶
func (o *InterfaceView) SetSubnetBandWidthMbps(v int)
SetSubnetBandWidthMbps sets value to SubnetBandWidthMbps
func (*InterfaceView) SetSubnetDefaultRoute ¶
func (o *InterfaceView) SetSubnetDefaultRoute(v string)
SetSubnetDefaultRoute sets value to SubnetDefaultRoute
func (*InterfaceView) SetSubnetNetworkAddress ¶
func (o *InterfaceView) SetSubnetNetworkAddress(v string)
SetSubnetNetworkAddress sets value to SubnetNetworkAddress
func (*InterfaceView) SetSubnetNetworkMaskLen ¶
func (o *InterfaceView) SetSubnetNetworkMaskLen(v int)
SetSubnetNetworkMaskLen sets value to SubnetNetworkMaskLen
func (*InterfaceView) SetSwitchID ¶
func (o *InterfaceView) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*InterfaceView) SetSwitchName ¶
func (o *InterfaceView) SetSwitchName(v string)
SetSwitchName sets value to SwitchName
func (*InterfaceView) SetSwitchScope ¶
func (o *InterfaceView) SetSwitchScope(v types.EScope)
SetSwitchScope sets value to SwitchScope
func (*InterfaceView) SetUpstreamType ¶
func (o *InterfaceView) SetUpstreamType(v types.EUpstreamNetworkType)
SetUpstreamType sets value to UpstreamType
func (*InterfaceView) SetUserIPAddress ¶
func (o *InterfaceView) SetUserIPAddress(v string)
SetUserIPAddress sets value to UserIPAddress
func (*InterfaceView) SetUserSubnetDefaultRoute ¶
func (o *InterfaceView) SetUserSubnetDefaultRoute(v string)
SetUserSubnetDefaultRoute sets value to UserSubnetDefaultRoute
func (*InterfaceView) SetUserSubnetNetworkMaskLen ¶
func (o *InterfaceView) SetUserSubnetNetworkMaskLen(v int)
SetUserSubnetNetworkMaskLen sets value to UserSubnetNetworkMaskLen
type Internet ¶
type Internet struct { ID types.ID Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time BandWidthMbps int NetworkMaskLen int Switch *SwitchInfo `mapconv:",recursive"` }
Internet represents API parameter/response structure
func (*Internet) GetBandWidthMbps ¶
GetBandWidthMbps returns value of BandWidthMbps
func (*Internet) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Internet) GetDescription ¶
GetDescription returns value of Description
func (*Internet) GetNetworkMaskLen ¶
GetNetworkMaskLen returns value of NetworkMaskLen
func (*Internet) GetSwitch ¶
func (o *Internet) GetSwitch() *SwitchInfo
GetSwitch returns value of Switch
func (*Internet) SetBandWidthMbps ¶
SetBandWidthMbps sets value to BandWidthMbps
func (*Internet) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Internet) SetDescription ¶
SetDescription sets value to Description
func (*Internet) SetNetworkMaskLen ¶
SetNetworkMaskLen sets value to NetworkMaskLen
func (*Internet) SetSwitch ¶
func (o *Internet) SetSwitch(v *SwitchInfo)
SetSwitch sets value to Switch
type InternetAPI ¶
type InternetAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*InternetFindResult, error) Create(ctx context.Context, zone string, param *InternetCreateRequest) (*Internet, error) Read(ctx context.Context, zone string, id types.ID) (*Internet, error) Update(ctx context.Context, zone string, id types.ID, param *InternetUpdateRequest) (*Internet, error) Delete(ctx context.Context, zone string, id types.ID) error UpdateBandWidth(ctx context.Context, zone string, id types.ID, param *InternetUpdateBandWidthRequest) (*Internet, error) AddSubnet(ctx context.Context, zone string, id types.ID, param *InternetAddSubnetRequest) (*InternetSubnetOperationResult, error) UpdateSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID, param *InternetUpdateSubnetRequest) (*InternetSubnetOperationResult, error) DeleteSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID) error Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*RouterActivity, error) MonitorRouter(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*RouterActivity, error) EnableIPv6(ctx context.Context, zone string, id types.ID) (*IPv6NetInfo, error) DisableIPv6(ctx context.Context, zone string, id types.ID, ipv6netID types.ID) error }
InternetAPI is interface for operate Internet resource
func NewInternetOp ¶
func NewInternetOp(caller APICaller) InternetAPI
NewInternetOp creates new InternetOp instance
type InternetAddSubnetRequest ¶
InternetAddSubnetRequest represents API parameter/response structure
func (*InternetAddSubnetRequest) GetNetworkMaskLen ¶
func (o *InternetAddSubnetRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*InternetAddSubnetRequest) GetNextHop ¶
func (o *InternetAddSubnetRequest) GetNextHop() string
GetNextHop returns value of NextHop
func (*InternetAddSubnetRequest) SetNetworkMaskLen ¶
func (o *InternetAddSubnetRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*InternetAddSubnetRequest) SetNextHop ¶
func (o *InternetAddSubnetRequest) SetNextHop(v string)
SetNextHop sets value to NextHop
type InternetCreateRequest ¶
type InternetCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` NetworkMaskLen int BandWidthMbps int }
InternetCreateRequest represents API parameter/response structure
func (*InternetCreateRequest) AppendTag ¶
func (o *InternetCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*InternetCreateRequest) ClearTags ¶
func (o *InternetCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*InternetCreateRequest) GetBandWidthMbps ¶
func (o *InternetCreateRequest) GetBandWidthMbps() int
GetBandWidthMbps returns value of BandWidthMbps
func (*InternetCreateRequest) GetDescription ¶
func (o *InternetCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*InternetCreateRequest) GetIconID ¶
func (o *InternetCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*InternetCreateRequest) GetName ¶
func (o *InternetCreateRequest) GetName() string
GetName returns value of Name
func (*InternetCreateRequest) GetNetworkMaskLen ¶
func (o *InternetCreateRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*InternetCreateRequest) GetTags ¶
func (o *InternetCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*InternetCreateRequest) HasTag ¶
func (o *InternetCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*InternetCreateRequest) RemoveTag ¶
func (o *InternetCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*InternetCreateRequest) SetBandWidthMbps ¶
func (o *InternetCreateRequest) SetBandWidthMbps(v int)
SetBandWidthMbps sets value to BandWidthMbps
func (*InternetCreateRequest) SetDescription ¶
func (o *InternetCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*InternetCreateRequest) SetIconID ¶
func (o *InternetCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*InternetCreateRequest) SetName ¶
func (o *InternetCreateRequest) SetName(v string)
SetName sets value to Name
func (*InternetCreateRequest) SetNetworkMaskLen ¶
func (o *InternetCreateRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*InternetCreateRequest) SetTags ¶
func (o *InternetCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type InternetFindResult ¶
type InternetFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Internet []*Internet `json:",omitempty" mapconv:"[]Internet,omitempty,recursive"` }
InternetFindResult represents the Result of API
func (*InternetFindResult) Values ¶
func (r *InternetFindResult) Values() []interface{}
Values returns find results
type InternetOp ¶
type InternetOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
InternetOp implements InternetAPI interface
func (*InternetOp) AddSubnet ¶
func (o *InternetOp) AddSubnet(ctx context.Context, zone string, id types.ID, param *InternetAddSubnetRequest) (*InternetSubnetOperationResult, error)
AddSubnet is API call
func (*InternetOp) Create ¶
func (o *InternetOp) Create(ctx context.Context, zone string, param *InternetCreateRequest) (*Internet, error)
Create is API call
func (*InternetOp) DeleteSubnet ¶
func (o *InternetOp) DeleteSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID) error
DeleteSubnet is API call
func (*InternetOp) DisableIPv6 ¶
func (o *InternetOp) DisableIPv6(ctx context.Context, zone string, id types.ID, ipv6netID types.ID) error
DisableIPv6 is API call
func (*InternetOp) EnableIPv6 ¶
func (o *InternetOp) EnableIPv6(ctx context.Context, zone string, id types.ID) (*IPv6NetInfo, error)
EnableIPv6 is API call
func (*InternetOp) Find ¶
func (o *InternetOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*InternetFindResult, error)
Find is API call
func (*InternetOp) Monitor ¶
func (o *InternetOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*RouterActivity, error)
Monitor is API call
func (*InternetOp) MonitorRouter ¶
func (o *InternetOp) MonitorRouter(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*RouterActivity, error)
MonitorRouter is API call
func (*InternetOp) Update ¶
func (o *InternetOp) Update(ctx context.Context, zone string, id types.ID, param *InternetUpdateRequest) (*Internet, error)
Update is API call
func (*InternetOp) UpdateBandWidth ¶
func (o *InternetOp) UpdateBandWidth(ctx context.Context, zone string, id types.ID, param *InternetUpdateBandWidthRequest) (*Internet, error)
UpdateBandWidth is API call
func (*InternetOp) UpdateSubnet ¶
func (o *InternetOp) UpdateSubnet(ctx context.Context, zone string, id types.ID, subnetID types.ID, param *InternetUpdateSubnetRequest) (*InternetSubnetOperationResult, error)
UpdateSubnet is API call
type InternetPlan ¶
type InternetPlan struct { ID types.ID Name string BandWidthMbps int Availability types.EAvailability }
InternetPlan represents API parameter/response structure
func (*InternetPlan) GetAvailability ¶
func (o *InternetPlan) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*InternetPlan) GetBandWidthMbps ¶
func (o *InternetPlan) GetBandWidthMbps() int
GetBandWidthMbps returns value of BandWidthMbps
func (*InternetPlan) GetName ¶
func (o *InternetPlan) GetName() string
GetName returns value of Name
func (*InternetPlan) SetAvailability ¶
func (o *InternetPlan) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*InternetPlan) SetBandWidthMbps ¶
func (o *InternetPlan) SetBandWidthMbps(v int)
SetBandWidthMbps sets value to BandWidthMbps
type InternetPlanAPI ¶
type InternetPlanAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*InternetPlanFindResult, error) Read(ctx context.Context, zone string, id types.ID) (*InternetPlan, error) }
InternetPlanAPI is interface for operate InternetPlan resource
func NewInternetPlanOp ¶
func NewInternetPlanOp(caller APICaller) InternetPlanAPI
NewInternetPlanOp creates new InternetPlanOp instance
type InternetPlanFindResult ¶
type InternetPlanFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page InternetPlans []*InternetPlan `json:",omitempty" mapconv:"[]InternetPlans,omitempty,recursive"` }
InternetPlanFindResult represents the Result of API
func (*InternetPlanFindResult) Values ¶
func (r *InternetPlanFindResult) Values() []interface{}
Values returns find results
type InternetPlanOp ¶
type InternetPlanOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
InternetPlanOp implements InternetPlanAPI interface
func (*InternetPlanOp) Find ¶
func (o *InternetPlanOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*InternetPlanFindResult, error)
Find is API call
func (*InternetPlanOp) Read ¶
func (o *InternetPlanOp) Read(ctx context.Context, zone string, id types.ID) (*InternetPlan, error)
Read is API call
type InternetSubnet ¶
type InternetSubnet struct { ID types.ID DefaultRoute string NextHop string StaticRoute string NetworkAddress string NetworkMaskLen int }
InternetSubnet represents API parameter/response structure
func (*InternetSubnet) GetDefaultRoute ¶
func (o *InternetSubnet) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*InternetSubnet) GetNetworkAddress ¶
func (o *InternetSubnet) GetNetworkAddress() string
GetNetworkAddress returns value of NetworkAddress
func (*InternetSubnet) GetNetworkMaskLen ¶
func (o *InternetSubnet) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*InternetSubnet) GetNextHop ¶
func (o *InternetSubnet) GetNextHop() string
GetNextHop returns value of NextHop
func (*InternetSubnet) GetStaticRoute ¶
func (o *InternetSubnet) GetStaticRoute() string
GetStaticRoute returns value of StaticRoute
func (*InternetSubnet) SetDefaultRoute ¶
func (o *InternetSubnet) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*InternetSubnet) SetNetworkAddress ¶
func (o *InternetSubnet) SetNetworkAddress(v string)
SetNetworkAddress sets value to NetworkAddress
func (*InternetSubnet) SetNetworkMaskLen ¶
func (o *InternetSubnet) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*InternetSubnet) SetNextHop ¶
func (o *InternetSubnet) SetNextHop(v string)
SetNextHop sets value to NextHop
func (*InternetSubnet) SetStaticRoute ¶
func (o *InternetSubnet) SetStaticRoute(v string)
SetStaticRoute sets value to StaticRoute
type InternetSubnetOperationResult ¶
type InternetSubnetOperationResult struct { ID types.ID DefaultRoute string NextHop string StaticRoute string NetworkAddress string NetworkMaskLen int IPAddresses []string `mapconv:"[]IPAddresses.IPAddress"` }
InternetSubnetOperationResult represents API parameter/response structure
func (*InternetSubnetOperationResult) GetDefaultRoute ¶
func (o *InternetSubnetOperationResult) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*InternetSubnetOperationResult) GetID ¶
func (o *InternetSubnetOperationResult) GetID() types.ID
GetID returns value of ID
func (*InternetSubnetOperationResult) GetIPAddresses ¶
func (o *InternetSubnetOperationResult) GetIPAddresses() []string
GetIPAddresses returns value of IPAddresses
func (*InternetSubnetOperationResult) GetInt64ID ¶
func (o *InternetSubnetOperationResult) GetInt64ID() int64
GetInt64ID .
func (*InternetSubnetOperationResult) GetNetworkAddress ¶
func (o *InternetSubnetOperationResult) GetNetworkAddress() string
GetNetworkAddress returns value of NetworkAddress
func (*InternetSubnetOperationResult) GetNetworkMaskLen ¶
func (o *InternetSubnetOperationResult) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*InternetSubnetOperationResult) GetNextHop ¶
func (o *InternetSubnetOperationResult) GetNextHop() string
GetNextHop returns value of NextHop
func (*InternetSubnetOperationResult) GetStaticRoute ¶
func (o *InternetSubnetOperationResult) GetStaticRoute() string
GetStaticRoute returns value of StaticRoute
func (*InternetSubnetOperationResult) GetStringID ¶
func (o *InternetSubnetOperationResult) GetStringID() string
GetStringID .
func (*InternetSubnetOperationResult) SetDefaultRoute ¶
func (o *InternetSubnetOperationResult) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*InternetSubnetOperationResult) SetID ¶
func (o *InternetSubnetOperationResult) SetID(v types.ID)
SetID sets value to ID
func (*InternetSubnetOperationResult) SetIPAddresses ¶
func (o *InternetSubnetOperationResult) SetIPAddresses(v []string)
SetIPAddresses sets value to IPAddresses
func (*InternetSubnetOperationResult) SetInt64ID ¶
func (o *InternetSubnetOperationResult) SetInt64ID(id int64)
SetInt64ID .
func (*InternetSubnetOperationResult) SetNetworkAddress ¶
func (o *InternetSubnetOperationResult) SetNetworkAddress(v string)
SetNetworkAddress sets value to NetworkAddress
func (*InternetSubnetOperationResult) SetNetworkMaskLen ¶
func (o *InternetSubnetOperationResult) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*InternetSubnetOperationResult) SetNextHop ¶
func (o *InternetSubnetOperationResult) SetNextHop(v string)
SetNextHop sets value to NextHop
func (*InternetSubnetOperationResult) SetStaticRoute ¶
func (o *InternetSubnetOperationResult) SetStaticRoute(v string)
SetStaticRoute sets value to StaticRoute
func (*InternetSubnetOperationResult) SetStringID ¶
func (o *InternetSubnetOperationResult) SetStringID(id string)
SetStringID .
type InternetUpdateBandWidthRequest ¶
type InternetUpdateBandWidthRequest struct {
BandWidthMbps int
}
InternetUpdateBandWidthRequest represents API parameter/response structure
func (*InternetUpdateBandWidthRequest) GetBandWidthMbps ¶
func (o *InternetUpdateBandWidthRequest) GetBandWidthMbps() int
GetBandWidthMbps returns value of BandWidthMbps
func (*InternetUpdateBandWidthRequest) SetBandWidthMbps ¶
func (o *InternetUpdateBandWidthRequest) SetBandWidthMbps(v int)
SetBandWidthMbps sets value to BandWidthMbps
type InternetUpdateRequest ¶
type InternetUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
InternetUpdateRequest represents API parameter/response structure
func (*InternetUpdateRequest) AppendTag ¶
func (o *InternetUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*InternetUpdateRequest) ClearTags ¶
func (o *InternetUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*InternetUpdateRequest) GetDescription ¶
func (o *InternetUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*InternetUpdateRequest) GetIconID ¶
func (o *InternetUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*InternetUpdateRequest) GetName ¶
func (o *InternetUpdateRequest) GetName() string
GetName returns value of Name
func (*InternetUpdateRequest) GetTags ¶
func (o *InternetUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*InternetUpdateRequest) HasTag ¶
func (o *InternetUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*InternetUpdateRequest) RemoveTag ¶
func (o *InternetUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*InternetUpdateRequest) SetDescription ¶
func (o *InternetUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*InternetUpdateRequest) SetIconID ¶
func (o *InternetUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*InternetUpdateRequest) SetName ¶
func (o *InternetUpdateRequest) SetName(v string)
SetName sets value to Name
func (*InternetUpdateRequest) SetTags ¶
func (o *InternetUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type InternetUpdateSubnetRequest ¶
type InternetUpdateSubnetRequest struct {
NextHop string
}
InternetUpdateSubnetRequest represents API parameter/response structure
func (*InternetUpdateSubnetRequest) GetNextHop ¶
func (o *InternetUpdateSubnetRequest) GetNextHop() string
GetNextHop returns value of NextHop
func (*InternetUpdateSubnetRequest) SetNextHop ¶
func (o *InternetUpdateSubnetRequest) SetNextHop(v string)
SetNextHop sets value to NextHop
type JobConfigError ¶
JobConfigError represents API parameter/response structure
func (*JobConfigError) GetErrorCode ¶
func (o *JobConfigError) GetErrorCode() string
GetErrorCode returns value of ErrorCode
func (*JobConfigError) GetErrorMsg ¶
func (o *JobConfigError) GetErrorMsg() string
GetErrorMsg returns value of ErrorMsg
func (*JobConfigError) GetStatus ¶
func (o *JobConfigError) GetStatus() string
GetStatus returns value of Status
func (*JobConfigError) SetErrorCode ¶
func (o *JobConfigError) SetErrorCode(v string)
SetErrorCode sets value to ErrorCode
func (*JobConfigError) SetErrorMsg ¶
func (o *JobConfigError) SetErrorMsg(v string)
SetErrorMsg sets value to ErrorMsg
func (*JobConfigError) SetStatus ¶
func (o *JobConfigError) SetStatus(v string)
SetStatus sets value to Status
type JobStatus ¶
type JobStatus struct { Status string ConfigError *JobConfigError }
JobStatus represents API parameter/response structure
func (*JobStatus) GetConfigError ¶
func (o *JobStatus) GetConfigError() *JobConfigError
GetConfigError returns value of ConfigError
func (*JobStatus) SetConfigError ¶
func (o *JobStatus) SetConfigError(v *JobConfigError)
SetConfigError sets value to ConfigError
type License ¶
type License struct { ID types.ID Name string LicenseInfoID types.ID `mapconv:"LicenseInfo.ID"` LicenseInfoName string `mapconv:"LicenseInfo.Name"` CreatedAt time.Time ModifiedAt time.Time }
License represents API parameter/response structure
func (*License) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*License) GetLicenseInfoID ¶
GetLicenseInfoID returns value of LicenseInfoID
func (*License) GetLicenseInfoName ¶
GetLicenseInfoName returns value of LicenseInfoName
func (*License) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*License) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*License) SetLicenseInfoID ¶
SetLicenseInfoID sets value to LicenseInfoID
func (*License) SetLicenseInfoName ¶
SetLicenseInfoName sets value to LicenseInfoName
func (*License) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
type LicenseAPI ¶
type LicenseAPI interface { Find(ctx context.Context, conditions *FindCondition) (*LicenseFindResult, error) Create(ctx context.Context, param *LicenseCreateRequest) (*License, error) Read(ctx context.Context, id types.ID) (*License, error) Update(ctx context.Context, id types.ID, param *LicenseUpdateRequest) (*License, error) Delete(ctx context.Context, id types.ID) error }
LicenseAPI is interface for operate License resource
func NewLicenseOp ¶
func NewLicenseOp(caller APICaller) LicenseAPI
NewLicenseOp creates new LicenseOp instance
type LicenseCreateRequest ¶
LicenseCreateRequest represents API parameter/response structure
func (*LicenseCreateRequest) GetLicenseInfoID ¶
func (o *LicenseCreateRequest) GetLicenseInfoID() types.ID
GetLicenseInfoID returns value of LicenseInfoID
func (*LicenseCreateRequest) GetName ¶
func (o *LicenseCreateRequest) GetName() string
GetName returns value of Name
func (*LicenseCreateRequest) SetLicenseInfoID ¶
func (o *LicenseCreateRequest) SetLicenseInfoID(v types.ID)
SetLicenseInfoID sets value to LicenseInfoID
func (*LicenseCreateRequest) SetName ¶
func (o *LicenseCreateRequest) SetName(v string)
SetName sets value to Name
type LicenseFindResult ¶
type LicenseFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Licenses []*License `json:",omitempty" mapconv:"[]Licenses,omitempty,recursive"` }
LicenseFindResult represents the Result of API
func (*LicenseFindResult) Values ¶
func (r *LicenseFindResult) Values() []interface{}
Values returns find results
type LicenseInfo ¶
type LicenseInfo struct { ID types.ID Name string CreatedAt time.Time ModifiedAt time.Time TermsOfUse string }
LicenseInfo represents API parameter/response structure
func (*LicenseInfo) GetCreatedAt ¶
func (o *LicenseInfo) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*LicenseInfo) GetModifiedAt ¶
func (o *LicenseInfo) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*LicenseInfo) GetTermsOfUse ¶
func (o *LicenseInfo) GetTermsOfUse() string
GetTermsOfUse returns value of TermsOfUse
func (*LicenseInfo) SetCreatedAt ¶
func (o *LicenseInfo) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*LicenseInfo) SetModifiedAt ¶
func (o *LicenseInfo) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*LicenseInfo) SetTermsOfUse ¶
func (o *LicenseInfo) SetTermsOfUse(v string)
SetTermsOfUse sets value to TermsOfUse
type LicenseInfoAPI ¶
type LicenseInfoAPI interface { Find(ctx context.Context, conditions *FindCondition) (*LicenseInfoFindResult, error) Read(ctx context.Context, id types.ID) (*LicenseInfo, error) }
LicenseInfoAPI is interface for operate LicenseInfo resource
func NewLicenseInfoOp ¶
func NewLicenseInfoOp(caller APICaller) LicenseInfoAPI
NewLicenseInfoOp creates new LicenseInfoOp instance
type LicenseInfoFindResult ¶
type LicenseInfoFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page LicenseInfo []*LicenseInfo `json:",omitempty" mapconv:"[]LicenseInfo,omitempty,recursive"` }
LicenseInfoFindResult represents the Result of API
func (*LicenseInfoFindResult) Values ¶
func (r *LicenseInfoFindResult) Values() []interface{}
Values returns find results
type LicenseInfoOp ¶
type LicenseInfoOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
LicenseInfoOp implements LicenseInfoAPI interface
func (*LicenseInfoOp) Find ¶
func (o *LicenseInfoOp) Find(ctx context.Context, conditions *FindCondition) (*LicenseInfoFindResult, error)
Find is API call
func (*LicenseInfoOp) Read ¶
func (o *LicenseInfoOp) Read(ctx context.Context, id types.ID) (*LicenseInfo, error)
Read is API call
type LicenseOp ¶
type LicenseOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
LicenseOp implements LicenseAPI interface
func (*LicenseOp) Find ¶
func (o *LicenseOp) Find(ctx context.Context, conditions *FindCondition) (*LicenseFindResult, error)
Find is API call
type LicenseUpdateRequest ¶
type LicenseUpdateRequest struct {
Name string
}
LicenseUpdateRequest represents API parameter/response structure
func (*LicenseUpdateRequest) GetName ¶
func (o *LicenseUpdateRequest) GetName() string
GetName returns value of Name
func (*LicenseUpdateRequest) SetName ¶
func (o *LicenseUpdateRequest) SetName(v string)
SetName sets value to Name
type LinkActivity ¶
type LinkActivity struct {
Values []*MonitorLinkValue `mapconv:"[]Link"`
}
LinkActivity represents API parameter/response structure
func (*LinkActivity) GetValues ¶
func (o *LinkActivity) GetValues() []*MonitorLinkValue
GetValues returns value of Values
func (*LinkActivity) SetValues ¶
func (o *LinkActivity) SetValues(v []*MonitorLinkValue)
SetValues sets value to Values
type LoadBalancer ¶
type LoadBalancer struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Class string IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time InstanceHostName string `mapconv:"Instance.Host.Name"` InstanceHostInfoURL string `mapconv:"Instance.Host.InfoURL"` InstanceStatus types.EServerInstanceStatus `mapconv:"Instance.Status"` InstanceStatusChangedAt time.Time `mapconv:"Instance.StatusChangedAt"` PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` SwitchID types.ID `mapconv:"Remark.Switch.ID"` DefaultRoute string `mapconv:"Remark.Network.DefaultRoute"` NetworkMaskLen int `mapconv:"Remark.Network.NetworkMaskLen"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` ZoneID types.ID `mapconv:"Remark.Zone.ID"` VRID int `mapconv:"Remark.VRRP.VRID"` VirtualIPAddresses LoadBalancerVirtualIPAddresses `mapconv:"Settings.[]LoadBalancer,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` Interfaces []*InterfaceView `json:",omitempty" mapconv:"[]Interfaces,recursive,omitempty"` }
LoadBalancer represents API parameter/response structure
func (*LoadBalancer) GetAvailability ¶
func (o *LoadBalancer) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*LoadBalancer) GetClass ¶
func (o *LoadBalancer) GetClass() string
GetClass returns value of Class
func (*LoadBalancer) GetCreatedAt ¶
func (o *LoadBalancer) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*LoadBalancer) GetDefaultRoute ¶
func (o *LoadBalancer) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*LoadBalancer) GetDescription ¶
func (o *LoadBalancer) GetDescription() string
GetDescription returns value of Description
func (*LoadBalancer) GetIPAddresses ¶
func (o *LoadBalancer) GetIPAddresses() []string
GetIPAddresses returns value of IPAddresses
func (*LoadBalancer) GetIconID ¶
func (o *LoadBalancer) GetIconID() types.ID
GetIconID returns value of IconID
func (*LoadBalancer) GetInstanceHostInfoURL ¶
func (o *LoadBalancer) GetInstanceHostInfoURL() string
GetInstanceHostInfoURL returns value of InstanceHostInfoURL
func (*LoadBalancer) GetInstanceHostName ¶
func (o *LoadBalancer) GetInstanceHostName() string
GetInstanceHostName returns value of InstanceHostName
func (*LoadBalancer) GetInstanceStatus ¶
func (o *LoadBalancer) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus returns value of InstanceStatus
func (*LoadBalancer) GetInstanceStatusChangedAt ¶
func (o *LoadBalancer) GetInstanceStatusChangedAt() time.Time
GetInstanceStatusChangedAt returns value of InstanceStatusChangedAt
func (*LoadBalancer) GetInterfaces ¶
func (o *LoadBalancer) GetInterfaces() []*InterfaceView
GetInterfaces returns value of Interfaces
func (*LoadBalancer) GetModifiedAt ¶
func (o *LoadBalancer) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*LoadBalancer) GetName ¶
func (o *LoadBalancer) GetName() string
GetName returns value of Name
func (*LoadBalancer) GetNetworkMaskLen ¶
func (o *LoadBalancer) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*LoadBalancer) GetPlanID ¶
func (o *LoadBalancer) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*LoadBalancer) GetSettingsHash ¶
func (o *LoadBalancer) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*LoadBalancer) GetSwitchID ¶
func (o *LoadBalancer) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*LoadBalancer) GetTags ¶
func (o *LoadBalancer) GetTags() types.Tags
GetTags returns value of Tags
func (*LoadBalancer) GetVirtualIPAddresses ¶
func (o *LoadBalancer) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
GetVirtualIPAddresses returns value of VirtualIPAddresses
func (*LoadBalancer) GetZoneID ¶
func (o *LoadBalancer) GetZoneID() types.ID
GetZoneID returns value of ZoneID
func (*LoadBalancer) HasTag ¶
func (o *LoadBalancer) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*LoadBalancer) SetAvailability ¶
func (o *LoadBalancer) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*LoadBalancer) SetClass ¶
func (o *LoadBalancer) SetClass(v string)
SetClass sets value to Class
func (*LoadBalancer) SetCreatedAt ¶
func (o *LoadBalancer) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*LoadBalancer) SetDefaultRoute ¶
func (o *LoadBalancer) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*LoadBalancer) SetDescription ¶
func (o *LoadBalancer) SetDescription(v string)
SetDescription sets value to Description
func (*LoadBalancer) SetIPAddresses ¶
func (o *LoadBalancer) SetIPAddresses(v []string)
SetIPAddresses sets value to IPAddresses
func (*LoadBalancer) SetIconID ¶
func (o *LoadBalancer) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*LoadBalancer) SetInstanceHostInfoURL ¶
func (o *LoadBalancer) SetInstanceHostInfoURL(v string)
SetInstanceHostInfoURL sets value to InstanceHostInfoURL
func (*LoadBalancer) SetInstanceHostName ¶
func (o *LoadBalancer) SetInstanceHostName(v string)
SetInstanceHostName sets value to InstanceHostName
func (*LoadBalancer) SetInstanceStatus ¶
func (o *LoadBalancer) SetInstanceStatus(v types.EServerInstanceStatus)
SetInstanceStatus sets value to InstanceStatus
func (*LoadBalancer) SetInstanceStatusChangedAt ¶
func (o *LoadBalancer) SetInstanceStatusChangedAt(v time.Time)
SetInstanceStatusChangedAt sets value to InstanceStatusChangedAt
func (*LoadBalancer) SetInterfaces ¶
func (o *LoadBalancer) SetInterfaces(v []*InterfaceView)
SetInterfaces sets value to Interfaces
func (*LoadBalancer) SetModifiedAt ¶
func (o *LoadBalancer) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*LoadBalancer) SetNetworkMaskLen ¶
func (o *LoadBalancer) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*LoadBalancer) SetPlanID ¶
func (o *LoadBalancer) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*LoadBalancer) SetSettingsHash ¶
func (o *LoadBalancer) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*LoadBalancer) SetSwitchID ¶
func (o *LoadBalancer) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*LoadBalancer) SetTags ¶
func (o *LoadBalancer) SetTags(v types.Tags)
SetTags sets value to Tags
func (*LoadBalancer) SetVirtualIPAddresses ¶
func (o *LoadBalancer) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
SetVirtualIPAddresses sets value to VirtualIPAddresses
func (*LoadBalancer) SetZoneID ¶
func (o *LoadBalancer) SetZoneID(v types.ID)
SetZoneID sets value to ZoneID
type LoadBalancerAPI ¶
type LoadBalancerAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*LoadBalancerFindResult, error) Create(ctx context.Context, zone string, param *LoadBalancerCreateRequest) (*LoadBalancer, error) Read(ctx context.Context, zone string, id types.ID) (*LoadBalancer, error) Update(ctx context.Context, zone string, id types.ID, param *LoadBalancerUpdateRequest) (*LoadBalancer, error) UpdateSettings(ctx context.Context, zone string, id types.ID, param *LoadBalancerUpdateSettingsRequest) (*LoadBalancer, error) Delete(ctx context.Context, zone string, id types.ID) error Config(ctx context.Context, zone string, id types.ID) error Boot(ctx context.Context, zone string, id types.ID) error Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error Reset(ctx context.Context, zone string, id types.ID) error MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error) Status(ctx context.Context, zone string, id types.ID) (*LoadBalancerStatusResult, error) }
LoadBalancerAPI is interface for operate LoadBalancer resource
func NewLoadBalancerOp ¶
func NewLoadBalancerOp(caller APICaller) LoadBalancerAPI
NewLoadBalancerOp creates new LoadBalancerOp instance
type LoadBalancerCreateRequest ¶
type LoadBalancerCreateRequest struct { SwitchID types.ID `mapconv:"Remark.Switch.ID"` PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` VRID int `mapconv:"Remark.VRRP.VRID"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` NetworkMaskLen int `mapconv:"Remark.Network.NetworkMaskLen"` DefaultRoute string `mapconv:"Remark.Network.DefaultRoute"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` VirtualIPAddresses LoadBalancerVirtualIPAddresses `mapconv:"Settings.[]LoadBalancer,recursive"` }
LoadBalancerCreateRequest represents API parameter/response structure
func (*LoadBalancerCreateRequest) AppendTag ¶
func (o *LoadBalancerCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*LoadBalancerCreateRequest) ClearTags ¶
func (o *LoadBalancerCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*LoadBalancerCreateRequest) GetDefaultRoute ¶
func (o *LoadBalancerCreateRequest) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*LoadBalancerCreateRequest) GetDescription ¶
func (o *LoadBalancerCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*LoadBalancerCreateRequest) GetIPAddresses ¶
func (o *LoadBalancerCreateRequest) GetIPAddresses() []string
GetIPAddresses returns value of IPAddresses
func (*LoadBalancerCreateRequest) GetIconID ¶
func (o *LoadBalancerCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*LoadBalancerCreateRequest) GetName ¶
func (o *LoadBalancerCreateRequest) GetName() string
GetName returns value of Name
func (*LoadBalancerCreateRequest) GetNetworkMaskLen ¶
func (o *LoadBalancerCreateRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*LoadBalancerCreateRequest) GetPlanID ¶
func (o *LoadBalancerCreateRequest) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*LoadBalancerCreateRequest) GetSwitchID ¶
func (o *LoadBalancerCreateRequest) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*LoadBalancerCreateRequest) GetTags ¶
func (o *LoadBalancerCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*LoadBalancerCreateRequest) GetVRID ¶
func (o *LoadBalancerCreateRequest) GetVRID() int
GetVRID returns value of VRID
func (*LoadBalancerCreateRequest) GetVirtualIPAddresses ¶
func (o *LoadBalancerCreateRequest) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
GetVirtualIPAddresses returns value of VirtualIPAddresses
func (*LoadBalancerCreateRequest) HasTag ¶
func (o *LoadBalancerCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*LoadBalancerCreateRequest) RemoveTag ¶
func (o *LoadBalancerCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*LoadBalancerCreateRequest) SetDefaultRoute ¶
func (o *LoadBalancerCreateRequest) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*LoadBalancerCreateRequest) SetDescription ¶
func (o *LoadBalancerCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*LoadBalancerCreateRequest) SetIPAddresses ¶
func (o *LoadBalancerCreateRequest) SetIPAddresses(v []string)
SetIPAddresses sets value to IPAddresses
func (*LoadBalancerCreateRequest) SetIconID ¶
func (o *LoadBalancerCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*LoadBalancerCreateRequest) SetName ¶
func (o *LoadBalancerCreateRequest) SetName(v string)
SetName sets value to Name
func (*LoadBalancerCreateRequest) SetNetworkMaskLen ¶
func (o *LoadBalancerCreateRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*LoadBalancerCreateRequest) SetPlanID ¶
func (o *LoadBalancerCreateRequest) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*LoadBalancerCreateRequest) SetSwitchID ¶
func (o *LoadBalancerCreateRequest) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*LoadBalancerCreateRequest) SetTags ¶
func (o *LoadBalancerCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*LoadBalancerCreateRequest) SetVRID ¶
func (o *LoadBalancerCreateRequest) SetVRID(v int)
SetVRID sets value to VRID
func (*LoadBalancerCreateRequest) SetVirtualIPAddresses ¶
func (o *LoadBalancerCreateRequest) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
SetVirtualIPAddresses sets value to VirtualIPAddresses
type LoadBalancerFindResult ¶
type LoadBalancerFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page LoadBalancers []*LoadBalancer `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"` }
LoadBalancerFindResult represents the Result of API
func (*LoadBalancerFindResult) Values ¶
func (r *LoadBalancerFindResult) Values() []interface{}
Values returns find results
type LoadBalancerOp ¶
type LoadBalancerOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
LoadBalancerOp implements LoadBalancerAPI interface
func (*LoadBalancerOp) Create ¶
func (o *LoadBalancerOp) Create(ctx context.Context, zone string, param *LoadBalancerCreateRequest) (*LoadBalancer, error)
Create is API call
func (*LoadBalancerOp) Find ¶
func (o *LoadBalancerOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*LoadBalancerFindResult, error)
Find is API call
func (*LoadBalancerOp) MonitorCPU ¶
func (o *LoadBalancerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
MonitorCPU is API call
func (*LoadBalancerOp) MonitorInterface ¶
func (o *LoadBalancerOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
MonitorInterface is API call
func (*LoadBalancerOp) Read ¶
func (o *LoadBalancerOp) Read(ctx context.Context, zone string, id types.ID) (*LoadBalancer, error)
Read is API call
func (*LoadBalancerOp) Shutdown ¶
func (o *LoadBalancerOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
Shutdown is API call
func (*LoadBalancerOp) Status ¶
func (o *LoadBalancerOp) Status(ctx context.Context, zone string, id types.ID) (*LoadBalancerStatusResult, error)
Status is API call
func (*LoadBalancerOp) Update ¶
func (o *LoadBalancerOp) Update(ctx context.Context, zone string, id types.ID, param *LoadBalancerUpdateRequest) (*LoadBalancer, error)
Update is API call
func (*LoadBalancerOp) UpdateSettings ¶
func (o *LoadBalancerOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *LoadBalancerUpdateSettingsRequest) (*LoadBalancer, error)
UpdateSettings is API call
type LoadBalancerServer ¶
type LoadBalancerServer struct { IPAddress string Port types.StringNumber Enabled types.StringFlag HealthCheck *LoadBalancerServerHealthCheck `mapconv:"HealthCheck,recursive"` }
LoadBalancerServer represents API parameter/response structure
func (*LoadBalancerServer) GetEnabled ¶
func (o *LoadBalancerServer) GetEnabled() types.StringFlag
GetEnabled returns value of Enabled
func (*LoadBalancerServer) GetHealthCheck ¶
func (o *LoadBalancerServer) GetHealthCheck() *LoadBalancerServerHealthCheck
GetHealthCheck returns value of HealthCheck
func (*LoadBalancerServer) GetIPAddress ¶
func (o *LoadBalancerServer) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*LoadBalancerServer) GetPort ¶
func (o *LoadBalancerServer) GetPort() types.StringNumber
GetPort returns value of Port
func (*LoadBalancerServer) SetEnabled ¶
func (o *LoadBalancerServer) SetEnabled(v types.StringFlag)
SetEnabled sets value to Enabled
func (*LoadBalancerServer) SetHealthCheck ¶
func (o *LoadBalancerServer) SetHealthCheck(v *LoadBalancerServerHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*LoadBalancerServer) SetIPAddress ¶
func (o *LoadBalancerServer) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*LoadBalancerServer) SetPort ¶
func (o *LoadBalancerServer) SetPort(v types.StringNumber)
SetPort sets value to Port
type LoadBalancerServerHealthCheck ¶
type LoadBalancerServerHealthCheck struct { Protocol types.ELoadBalancerHealthCheckProtocol Path string ResponseCode types.StringNumber `mapconv:"Status"` Retry types.StringNumber ConnectTimeout types.StringNumber }
LoadBalancerServerHealthCheck represents API parameter/response structure
func (*LoadBalancerServerHealthCheck) GetConnectTimeout ¶
func (o *LoadBalancerServerHealthCheck) GetConnectTimeout() types.StringNumber
GetConnectTimeout returns value of ConnectTimeout
func (*LoadBalancerServerHealthCheck) GetPath ¶
func (o *LoadBalancerServerHealthCheck) GetPath() string
GetPath returns value of Path
func (*LoadBalancerServerHealthCheck) GetProtocol ¶
func (o *LoadBalancerServerHealthCheck) GetProtocol() types.ELoadBalancerHealthCheckProtocol
GetProtocol returns value of Protocol
func (*LoadBalancerServerHealthCheck) GetResponseCode ¶
func (o *LoadBalancerServerHealthCheck) GetResponseCode() types.StringNumber
GetResponseCode returns value of ResponseCode
func (*LoadBalancerServerHealthCheck) GetRetry ¶
func (o *LoadBalancerServerHealthCheck) GetRetry() types.StringNumber
GetRetry returns value of Retry
func (*LoadBalancerServerHealthCheck) SetConnectTimeout ¶
func (o *LoadBalancerServerHealthCheck) SetConnectTimeout(v types.StringNumber)
SetConnectTimeout sets value to ConnectTimeout
func (*LoadBalancerServerHealthCheck) SetPath ¶
func (o *LoadBalancerServerHealthCheck) SetPath(v string)
SetPath sets value to Path
func (*LoadBalancerServerHealthCheck) SetProtocol ¶
func (o *LoadBalancerServerHealthCheck) SetProtocol(v types.ELoadBalancerHealthCheckProtocol)
SetProtocol sets value to Protocol
func (*LoadBalancerServerHealthCheck) SetResponseCode ¶
func (o *LoadBalancerServerHealthCheck) SetResponseCode(v types.StringNumber)
SetResponseCode sets value to ResponseCode
func (*LoadBalancerServerHealthCheck) SetRetry ¶
func (o *LoadBalancerServerHealthCheck) SetRetry(v types.StringNumber)
SetRetry sets value to Retry
type LoadBalancerServerStatus ¶
type LoadBalancerServerStatus struct { ActiveConn types.StringNumber Status types.EServerInstanceStatus IPAddress string Port types.StringNumber CPS types.StringNumber }
LoadBalancerServerStatus represents API parameter/response structure
func (*LoadBalancerServerStatus) GetActiveConn ¶
func (o *LoadBalancerServerStatus) GetActiveConn() types.StringNumber
GetActiveConn returns value of ActiveConn
func (*LoadBalancerServerStatus) GetCPS ¶
func (o *LoadBalancerServerStatus) GetCPS() types.StringNumber
GetCPS returns value of CPS
func (*LoadBalancerServerStatus) GetIPAddress ¶
func (o *LoadBalancerServerStatus) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*LoadBalancerServerStatus) GetPort ¶
func (o *LoadBalancerServerStatus) GetPort() types.StringNumber
GetPort returns value of Port
func (*LoadBalancerServerStatus) GetStatus ¶
func (o *LoadBalancerServerStatus) GetStatus() types.EServerInstanceStatus
GetStatus returns value of Status
func (*LoadBalancerServerStatus) SetActiveConn ¶
func (o *LoadBalancerServerStatus) SetActiveConn(v types.StringNumber)
SetActiveConn sets value to ActiveConn
func (*LoadBalancerServerStatus) SetCPS ¶
func (o *LoadBalancerServerStatus) SetCPS(v types.StringNumber)
SetCPS sets value to CPS
func (*LoadBalancerServerStatus) SetIPAddress ¶
func (o *LoadBalancerServerStatus) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*LoadBalancerServerStatus) SetPort ¶
func (o *LoadBalancerServerStatus) SetPort(v types.StringNumber)
SetPort sets value to Port
func (*LoadBalancerServerStatus) SetStatus ¶
func (o *LoadBalancerServerStatus) SetStatus(v types.EServerInstanceStatus)
SetStatus sets value to Status
type LoadBalancerServers ¶
type LoadBalancerServers []*LoadBalancerServer
func (*LoadBalancerServers) Add ¶
func (o *LoadBalancerServers) Add(server *LoadBalancerServer)
AddGSLBServer サーバの追加
func (*LoadBalancerServers) Delete ¶
func (o *LoadBalancerServers) Delete(server *LoadBalancerServer)
Delete サーバの削除
func (*LoadBalancerServers) DeleteAt ¶
func (o *LoadBalancerServers) DeleteAt(ip string)
DeleteAt サーバの削除
func (*LoadBalancerServers) Exist ¶
func (o *LoadBalancerServers) Exist(server *LoadBalancerServer) bool
Exist サーバの存在確認
func (*LoadBalancerServers) ExistAt ¶
func (o *LoadBalancerServers) ExistAt(ip string) bool
ExistAt サーバの存在確認
func (*LoadBalancerServers) Find ¶
func (o *LoadBalancerServers) Find(server *LoadBalancerServer) *LoadBalancerServer
Find サーバの検索
func (*LoadBalancerServers) FindAt ¶
func (o *LoadBalancerServers) FindAt(ip string) *LoadBalancerServer
FindAt サーバの検索
func (*LoadBalancerServers) Update ¶
func (o *LoadBalancerServers) Update(old *LoadBalancerServer, new *LoadBalancerServer)
Update サーバの更新
func (*LoadBalancerServers) UpdateAt ¶
func (o *LoadBalancerServers) UpdateAt(ip string, new *LoadBalancerServer)
UpdateAt サーバの更新
type LoadBalancerStatus ¶
type LoadBalancerStatus struct { VirtualIPAddress string Port types.StringNumber CPS types.StringNumber Servers []*LoadBalancerServerStatus `mapconv:",recursive"` }
LoadBalancerStatus represents API parameter/response structure
func (*LoadBalancerStatus) GetCPS ¶
func (o *LoadBalancerStatus) GetCPS() types.StringNumber
GetCPS returns value of CPS
func (*LoadBalancerStatus) GetPort ¶
func (o *LoadBalancerStatus) GetPort() types.StringNumber
GetPort returns value of Port
func (*LoadBalancerStatus) GetServers ¶
func (o *LoadBalancerStatus) GetServers() []*LoadBalancerServerStatus
GetServers returns value of Servers
func (*LoadBalancerStatus) GetVirtualIPAddress ¶
func (o *LoadBalancerStatus) GetVirtualIPAddress() string
GetVirtualIPAddress returns value of VirtualIPAddress
func (*LoadBalancerStatus) SetCPS ¶
func (o *LoadBalancerStatus) SetCPS(v types.StringNumber)
SetCPS sets value to CPS
func (*LoadBalancerStatus) SetPort ¶
func (o *LoadBalancerStatus) SetPort(v types.StringNumber)
SetPort sets value to Port
func (*LoadBalancerStatus) SetServers ¶
func (o *LoadBalancerStatus) SetServers(v []*LoadBalancerServerStatus)
SetServers sets value to Servers
func (*LoadBalancerStatus) SetVirtualIPAddress ¶
func (o *LoadBalancerStatus) SetVirtualIPAddress(v string)
SetVirtualIPAddress sets value to VirtualIPAddress
type LoadBalancerStatusResult ¶
type LoadBalancerStatusResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Status []*LoadBalancerStatus `json:",omitempty" mapconv:"[]LoadBalancer,omitempty,recursive"` }
LoadBalancerStatusResult represents the Result of API
func (*LoadBalancerStatusResult) Values ¶
func (r *LoadBalancerStatusResult) Values() []interface{}
Values returns find results
type LoadBalancerUpdateRequest ¶
type LoadBalancerUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` VirtualIPAddresses LoadBalancerVirtualIPAddresses `mapconv:"Settings.[]LoadBalancer,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
LoadBalancerUpdateRequest represents API parameter/response structure
func (*LoadBalancerUpdateRequest) AppendTag ¶
func (o *LoadBalancerUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*LoadBalancerUpdateRequest) ClearTags ¶
func (o *LoadBalancerUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*LoadBalancerUpdateRequest) GetDescription ¶
func (o *LoadBalancerUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*LoadBalancerUpdateRequest) GetIconID ¶
func (o *LoadBalancerUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*LoadBalancerUpdateRequest) GetName ¶
func (o *LoadBalancerUpdateRequest) GetName() string
GetName returns value of Name
func (*LoadBalancerUpdateRequest) GetSettingsHash ¶
func (o *LoadBalancerUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*LoadBalancerUpdateRequest) GetTags ¶
func (o *LoadBalancerUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*LoadBalancerUpdateRequest) GetVirtualIPAddresses ¶
func (o *LoadBalancerUpdateRequest) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
GetVirtualIPAddresses returns value of VirtualIPAddresses
func (*LoadBalancerUpdateRequest) HasTag ¶
func (o *LoadBalancerUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*LoadBalancerUpdateRequest) RemoveTag ¶
func (o *LoadBalancerUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*LoadBalancerUpdateRequest) SetDescription ¶
func (o *LoadBalancerUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*LoadBalancerUpdateRequest) SetIconID ¶
func (o *LoadBalancerUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*LoadBalancerUpdateRequest) SetName ¶
func (o *LoadBalancerUpdateRequest) SetName(v string)
SetName sets value to Name
func (*LoadBalancerUpdateRequest) SetSettingsHash ¶
func (o *LoadBalancerUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*LoadBalancerUpdateRequest) SetTags ¶
func (o *LoadBalancerUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*LoadBalancerUpdateRequest) SetVirtualIPAddresses ¶
func (o *LoadBalancerUpdateRequest) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
SetVirtualIPAddresses sets value to VirtualIPAddresses
type LoadBalancerUpdateSettingsRequest ¶
type LoadBalancerUpdateSettingsRequest struct { VirtualIPAddresses LoadBalancerVirtualIPAddresses `mapconv:"Settings.[]LoadBalancer,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
LoadBalancerUpdateSettingsRequest represents API parameter/response structure
func (*LoadBalancerUpdateSettingsRequest) GetSettingsHash ¶
func (o *LoadBalancerUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*LoadBalancerUpdateSettingsRequest) GetVirtualIPAddresses ¶
func (o *LoadBalancerUpdateSettingsRequest) GetVirtualIPAddresses() LoadBalancerVirtualIPAddresses
GetVirtualIPAddresses returns value of VirtualIPAddresses
func (*LoadBalancerUpdateSettingsRequest) SetSettingsHash ¶
func (o *LoadBalancerUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*LoadBalancerUpdateSettingsRequest) SetVirtualIPAddresses ¶
func (o *LoadBalancerUpdateSettingsRequest) SetVirtualIPAddresses(v LoadBalancerVirtualIPAddresses)
SetVirtualIPAddresses sets value to VirtualIPAddresses
type LoadBalancerVirtualIPAddress ¶
type LoadBalancerVirtualIPAddress struct { VirtualIPAddress string Port types.StringNumber DelayLoop types.StringNumber `mapconv:",default=10"` SorryServer string Description string Servers LoadBalancerServers `mapconv:"[]Servers,recursive"` }
LoadBalancerVirtualIPAddress represents API parameter/response structure
func (*LoadBalancerVirtualIPAddress) GetDelayLoop ¶
func (o *LoadBalancerVirtualIPAddress) GetDelayLoop() types.StringNumber
GetDelayLoop returns value of DelayLoop
func (*LoadBalancerVirtualIPAddress) GetDescription ¶
func (o *LoadBalancerVirtualIPAddress) GetDescription() string
GetDescription returns value of Description
func (*LoadBalancerVirtualIPAddress) GetPort ¶
func (o *LoadBalancerVirtualIPAddress) GetPort() types.StringNumber
GetPort returns value of Port
func (*LoadBalancerVirtualIPAddress) GetServers ¶
func (o *LoadBalancerVirtualIPAddress) GetServers() LoadBalancerServers
GetServers returns value of Servers
func (*LoadBalancerVirtualIPAddress) GetSorryServer ¶
func (o *LoadBalancerVirtualIPAddress) GetSorryServer() string
GetSorryServer returns value of SorryServer
func (*LoadBalancerVirtualIPAddress) GetVirtualIPAddress ¶
func (o *LoadBalancerVirtualIPAddress) GetVirtualIPAddress() string
GetVirtualIPAddress returns value of VirtualIPAddress
func (*LoadBalancerVirtualIPAddress) SetDelayLoop ¶
func (o *LoadBalancerVirtualIPAddress) SetDelayLoop(v types.StringNumber)
SetDelayLoop sets value to DelayLoop
func (*LoadBalancerVirtualIPAddress) SetDescription ¶
func (o *LoadBalancerVirtualIPAddress) SetDescription(v string)
SetDescription sets value to Description
func (*LoadBalancerVirtualIPAddress) SetPort ¶
func (o *LoadBalancerVirtualIPAddress) SetPort(v types.StringNumber)
SetPort sets value to Port
func (*LoadBalancerVirtualIPAddress) SetServers ¶
func (o *LoadBalancerVirtualIPAddress) SetServers(v LoadBalancerServers)
SetServers sets value to Servers
func (*LoadBalancerVirtualIPAddress) SetSorryServer ¶
func (o *LoadBalancerVirtualIPAddress) SetSorryServer(v string)
SetSorryServer sets value to SorryServer
func (*LoadBalancerVirtualIPAddress) SetVirtualIPAddress ¶
func (o *LoadBalancerVirtualIPAddress) SetVirtualIPAddress(v string)
SetVirtualIPAddress sets value to VirtualIPAddress
type LoadBalancerVirtualIPAddresses ¶
type LoadBalancerVirtualIPAddresses []*LoadBalancerVirtualIPAddress
func (*LoadBalancerVirtualIPAddresses) Add ¶
func (o *LoadBalancerVirtualIPAddresses) Add(vip *LoadBalancerVirtualIPAddress)
AddGSLBServer サーバの追加
func (*LoadBalancerVirtualIPAddresses) Delete ¶
func (o *LoadBalancerVirtualIPAddresses) Delete(vip *LoadBalancerVirtualIPAddress)
Delete サーバの削除
func (*LoadBalancerVirtualIPAddresses) DeleteAt ¶
func (o *LoadBalancerVirtualIPAddresses) DeleteAt(vip string, port int)
DeleteAt サーバの削除
func (*LoadBalancerVirtualIPAddresses) Exist ¶
func (o *LoadBalancerVirtualIPAddresses) Exist(vip *LoadBalancerVirtualIPAddress) bool
Exist サーバの存在確認
func (*LoadBalancerVirtualIPAddresses) ExistAt ¶
func (o *LoadBalancerVirtualIPAddresses) ExistAt(vip string, port int) bool
ExistAt サーバの存在確認
func (*LoadBalancerVirtualIPAddresses) Find ¶
func (o *LoadBalancerVirtualIPAddresses) Find(vip *LoadBalancerVirtualIPAddress) *LoadBalancerVirtualIPAddress
Find サーバの検索
func (*LoadBalancerVirtualIPAddresses) FindAt ¶
func (o *LoadBalancerVirtualIPAddresses) FindAt(vip string, port int) *LoadBalancerVirtualIPAddress
FindAt サーバの検索
func (*LoadBalancerVirtualIPAddresses) Update ¶
func (o *LoadBalancerVirtualIPAddresses) Update(old *LoadBalancerVirtualIPAddress, new *LoadBalancerVirtualIPAddress)
Update サーバの更新
func (*LoadBalancerVirtualIPAddresses) UpdateAt ¶
func (o *LoadBalancerVirtualIPAddresses) UpdateAt(vip string, port int, new *LoadBalancerVirtualIPAddress)
UpdateAt サーバの更新
type LocalRouter ¶
type LocalRouter struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Switch *LocalRouterSwitch `mapconv:"Settings.LocalRouter.Switch,recursive"` Interface *LocalRouterInterface `mapconv:"Settings.LocalRouter.Interface,recursive"` Peers []*LocalRouterPeer `mapconv:"Settings.LocalRouter.[]Peers,recursive"` StaticRoutes []*LocalRouterStaticRoute `mapconv:"Settings.LocalRouter.[]StaticRoutes,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` SecretKeys []string `mapconv:"Status.SecretKeys"` }
LocalRouter represents API parameter/response structure
func (*LocalRouter) GetAvailability ¶
func (o *LocalRouter) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*LocalRouter) GetCreatedAt ¶
func (o *LocalRouter) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*LocalRouter) GetDescription ¶
func (o *LocalRouter) GetDescription() string
GetDescription returns value of Description
func (*LocalRouter) GetIconID ¶
func (o *LocalRouter) GetIconID() types.ID
GetIconID returns value of IconID
func (*LocalRouter) GetInterface ¶
func (o *LocalRouter) GetInterface() *LocalRouterInterface
GetInterface returns value of Interface
func (*LocalRouter) GetModifiedAt ¶
func (o *LocalRouter) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*LocalRouter) GetPeers ¶
func (o *LocalRouter) GetPeers() []*LocalRouterPeer
GetPeers returns value of Peers
func (*LocalRouter) GetSecretKeys ¶
func (o *LocalRouter) GetSecretKeys() []string
GetSecretKeys returns value of SecretKeys
func (*LocalRouter) GetSettingsHash ¶
func (o *LocalRouter) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*LocalRouter) GetStaticRoutes ¶
func (o *LocalRouter) GetStaticRoutes() []*LocalRouterStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*LocalRouter) GetSwitch ¶
func (o *LocalRouter) GetSwitch() *LocalRouterSwitch
GetSwitch returns value of Switch
func (*LocalRouter) GetTags ¶
func (o *LocalRouter) GetTags() types.Tags
GetTags returns value of Tags
func (*LocalRouter) HasTag ¶
func (o *LocalRouter) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*LocalRouter) SetAvailability ¶
func (o *LocalRouter) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*LocalRouter) SetCreatedAt ¶
func (o *LocalRouter) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*LocalRouter) SetDescription ¶
func (o *LocalRouter) SetDescription(v string)
SetDescription sets value to Description
func (*LocalRouter) SetIconID ¶
func (o *LocalRouter) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*LocalRouter) SetInterface ¶
func (o *LocalRouter) SetInterface(v *LocalRouterInterface)
SetInterface sets value to Interface
func (*LocalRouter) SetModifiedAt ¶
func (o *LocalRouter) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*LocalRouter) SetPeers ¶
func (o *LocalRouter) SetPeers(v []*LocalRouterPeer)
SetPeers sets value to Peers
func (*LocalRouter) SetSecretKeys ¶
func (o *LocalRouter) SetSecretKeys(v []string)
SetSecretKeys sets value to SecretKeys
func (*LocalRouter) SetSettingsHash ¶
func (o *LocalRouter) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*LocalRouter) SetStaticRoutes ¶
func (o *LocalRouter) SetStaticRoutes(v []*LocalRouterStaticRoute)
SetStaticRoutes sets value to StaticRoutes
func (*LocalRouter) SetSwitch ¶
func (o *LocalRouter) SetSwitch(v *LocalRouterSwitch)
SetSwitch sets value to Switch
func (*LocalRouter) SetTags ¶
func (o *LocalRouter) SetTags(v types.Tags)
SetTags sets value to Tags
type LocalRouterAPI ¶
type LocalRouterAPI interface { Find(ctx context.Context, conditions *FindCondition) (*LocalRouterFindResult, error) Create(ctx context.Context, param *LocalRouterCreateRequest) (*LocalRouter, error) Read(ctx context.Context, id types.ID) (*LocalRouter, error) Update(ctx context.Context, id types.ID, param *LocalRouterUpdateRequest) (*LocalRouter, error) UpdateSettings(ctx context.Context, id types.ID, param *LocalRouterUpdateSettingsRequest) (*LocalRouter, error) Delete(ctx context.Context, id types.ID) error HealthStatus(ctx context.Context, id types.ID) (*LocalRouterHealth, error) MonitorLocalRouter(ctx context.Context, id types.ID, condition *MonitorCondition) (*LocalRouterActivity, error) }
LocalRouterAPI is interface for operate LocalRouter resource
func NewLocalRouterOp ¶
func NewLocalRouterOp(caller APICaller) LocalRouterAPI
NewLocalRouterOp creates new LocalRouterOp instance
type LocalRouterActivity ¶
type LocalRouterActivity struct {
Values []*MonitorLocalRouterValue `mapconv:"[]LocalRouter"`
}
LocalRouterActivity represents API parameter/response structure
func (*LocalRouterActivity) GetValues ¶
func (o *LocalRouterActivity) GetValues() []*MonitorLocalRouterValue
GetValues returns value of Values
func (*LocalRouterActivity) SetValues ¶
func (o *LocalRouterActivity) SetValues(v []*MonitorLocalRouterValue)
SetValues sets value to Values
type LocalRouterCreateRequest ¶
type LocalRouterCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
LocalRouterCreateRequest represents API parameter/response structure
func (*LocalRouterCreateRequest) AppendTag ¶
func (o *LocalRouterCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*LocalRouterCreateRequest) ClearTags ¶
func (o *LocalRouterCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*LocalRouterCreateRequest) GetDescription ¶
func (o *LocalRouterCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*LocalRouterCreateRequest) GetIconID ¶
func (o *LocalRouterCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*LocalRouterCreateRequest) GetName ¶
func (o *LocalRouterCreateRequest) GetName() string
GetName returns value of Name
func (*LocalRouterCreateRequest) GetTags ¶
func (o *LocalRouterCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*LocalRouterCreateRequest) HasTag ¶
func (o *LocalRouterCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*LocalRouterCreateRequest) RemoveTag ¶
func (o *LocalRouterCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*LocalRouterCreateRequest) SetDescription ¶
func (o *LocalRouterCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*LocalRouterCreateRequest) SetIconID ¶
func (o *LocalRouterCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*LocalRouterCreateRequest) SetName ¶
func (o *LocalRouterCreateRequest) SetName(v string)
SetName sets value to Name
func (*LocalRouterCreateRequest) SetTags ¶
func (o *LocalRouterCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type LocalRouterFindResult ¶
type LocalRouterFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page LocalRouters []*LocalRouter `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
LocalRouterFindResult represents the Result of API
func (*LocalRouterFindResult) Values ¶
func (r *LocalRouterFindResult) Values() []interface{}
Values returns find results
type LocalRouterHealth ¶
type LocalRouterHealth struct {
Peers []*LocalRouterHealthPeer `mapconv:"[]Peers,recursive"`
}
LocalRouterHealth represents API parameter/response structure
func (*LocalRouterHealth) GetPeers ¶
func (o *LocalRouterHealth) GetPeers() []*LocalRouterHealthPeer
GetPeers returns value of Peers
func (*LocalRouterHealth) SetPeers ¶
func (o *LocalRouterHealth) SetPeers(v []*LocalRouterHealthPeer)
SetPeers sets value to Peers
type LocalRouterHealthPeer ¶
type LocalRouterHealthPeer struct { ID types.ID Status types.EServerInstanceStatus Routes []string }
LocalRouterHealthPeer represents API parameter/response structure
func (*LocalRouterHealthPeer) GetID ¶
func (o *LocalRouterHealthPeer) GetID() types.ID
GetID returns value of ID
func (*LocalRouterHealthPeer) GetRoutes ¶
func (o *LocalRouterHealthPeer) GetRoutes() []string
GetRoutes returns value of Routes
func (*LocalRouterHealthPeer) GetStatus ¶
func (o *LocalRouterHealthPeer) GetStatus() types.EServerInstanceStatus
GetStatus returns value of Status
func (*LocalRouterHealthPeer) SetID ¶
func (o *LocalRouterHealthPeer) SetID(v types.ID)
SetID sets value to ID
func (*LocalRouterHealthPeer) SetRoutes ¶
func (o *LocalRouterHealthPeer) SetRoutes(v []string)
SetRoutes sets value to Routes
func (*LocalRouterHealthPeer) SetStatus ¶
func (o *LocalRouterHealthPeer) SetStatus(v types.EServerInstanceStatus)
SetStatus sets value to Status
type LocalRouterInterface ¶
type LocalRouterInterface struct { VirtualIPAddress string IPAddress []string NetworkMaskLen int VRID int }
LocalRouterInterface represents API parameter/response structure
func (*LocalRouterInterface) GetIPAddress ¶
func (o *LocalRouterInterface) GetIPAddress() []string
GetIPAddress returns value of IPAddress
func (*LocalRouterInterface) GetNetworkMaskLen ¶
func (o *LocalRouterInterface) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*LocalRouterInterface) GetVRID ¶
func (o *LocalRouterInterface) GetVRID() int
GetVRID returns value of VRID
func (*LocalRouterInterface) GetVirtualIPAddress ¶
func (o *LocalRouterInterface) GetVirtualIPAddress() string
GetVirtualIPAddress returns value of VirtualIPAddress
func (*LocalRouterInterface) SetIPAddress ¶
func (o *LocalRouterInterface) SetIPAddress(v []string)
SetIPAddress sets value to IPAddress
func (*LocalRouterInterface) SetNetworkMaskLen ¶
func (o *LocalRouterInterface) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*LocalRouterInterface) SetVRID ¶
func (o *LocalRouterInterface) SetVRID(v int)
SetVRID sets value to VRID
func (*LocalRouterInterface) SetVirtualIPAddress ¶
func (o *LocalRouterInterface) SetVirtualIPAddress(v string)
SetVirtualIPAddress sets value to VirtualIPAddress
type LocalRouterOp ¶
type LocalRouterOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
LocalRouterOp implements LocalRouterAPI interface
func (*LocalRouterOp) Create ¶
func (o *LocalRouterOp) Create(ctx context.Context, param *LocalRouterCreateRequest) (*LocalRouter, error)
Create is API call
func (*LocalRouterOp) Find ¶
func (o *LocalRouterOp) Find(ctx context.Context, conditions *FindCondition) (*LocalRouterFindResult, error)
Find is API call
func (*LocalRouterOp) HealthStatus ¶
func (o *LocalRouterOp) HealthStatus(ctx context.Context, id types.ID) (*LocalRouterHealth, error)
HealthStatus is API call
func (*LocalRouterOp) MonitorLocalRouter ¶
func (o *LocalRouterOp) MonitorLocalRouter(ctx context.Context, id types.ID, condition *MonitorCondition) (*LocalRouterActivity, error)
MonitorLocalRouter is API call
func (*LocalRouterOp) Read ¶
func (o *LocalRouterOp) Read(ctx context.Context, id types.ID) (*LocalRouter, error)
Read is API call
func (*LocalRouterOp) Update ¶
func (o *LocalRouterOp) Update(ctx context.Context, id types.ID, param *LocalRouterUpdateRequest) (*LocalRouter, error)
Update is API call
func (*LocalRouterOp) UpdateSettings ¶
func (o *LocalRouterOp) UpdateSettings(ctx context.Context, id types.ID, param *LocalRouterUpdateSettingsRequest) (*LocalRouter, error)
UpdateSettings is API call
type LocalRouterPeer ¶
LocalRouterPeer represents API parameter/response structure
func (*LocalRouterPeer) GetDescription ¶
func (o *LocalRouterPeer) GetDescription() string
GetDescription returns value of Description
func (*LocalRouterPeer) GetEnabled ¶
func (o *LocalRouterPeer) GetEnabled() bool
GetEnabled returns value of Enabled
func (*LocalRouterPeer) GetID ¶
func (o *LocalRouterPeer) GetID() types.ID
GetID returns value of ID
func (*LocalRouterPeer) GetSecretKey ¶
func (o *LocalRouterPeer) GetSecretKey() string
GetSecretKey returns value of SecretKey
func (*LocalRouterPeer) SetDescription ¶
func (o *LocalRouterPeer) SetDescription(v string)
SetDescription sets value to Description
func (*LocalRouterPeer) SetEnabled ¶
func (o *LocalRouterPeer) SetEnabled(v bool)
SetEnabled sets value to Enabled
func (*LocalRouterPeer) SetSecretKey ¶
func (o *LocalRouterPeer) SetSecretKey(v string)
SetSecretKey sets value to SecretKey
type LocalRouterStaticRoute ¶
LocalRouterStaticRoute represents API parameter/response structure
func (*LocalRouterStaticRoute) GetNextHop ¶
func (o *LocalRouterStaticRoute) GetNextHop() string
GetNextHop returns value of NextHop
func (*LocalRouterStaticRoute) GetPrefix ¶
func (o *LocalRouterStaticRoute) GetPrefix() string
GetPrefix returns value of Prefix
func (*LocalRouterStaticRoute) SetNextHop ¶
func (o *LocalRouterStaticRoute) SetNextHop(v string)
SetNextHop sets value to NextHop
func (*LocalRouterStaticRoute) SetPrefix ¶
func (o *LocalRouterStaticRoute) SetPrefix(v string)
SetPrefix sets value to Prefix
type LocalRouterSwitch ¶
LocalRouterSwitch represents API parameter/response structure
func (*LocalRouterSwitch) GetCategory ¶
func (o *LocalRouterSwitch) GetCategory() string
GetCategory returns value of Category
func (*LocalRouterSwitch) GetCode ¶
func (o *LocalRouterSwitch) GetCode() string
GetCode returns value of Code
func (*LocalRouterSwitch) GetZoneID ¶
func (o *LocalRouterSwitch) GetZoneID() string
GetZoneID returns value of ZoneID
func (*LocalRouterSwitch) SetCategory ¶
func (o *LocalRouterSwitch) SetCategory(v string)
SetCategory sets value to Category
func (*LocalRouterSwitch) SetCode ¶
func (o *LocalRouterSwitch) SetCode(v string)
SetCode sets value to Code
func (*LocalRouterSwitch) SetZoneID ¶
func (o *LocalRouterSwitch) SetZoneID(v string)
SetZoneID sets value to ZoneID
type LocalRouterUpdateRequest ¶
type LocalRouterUpdateRequest struct { Switch *LocalRouterSwitch `mapconv:"Settings.LocalRouter.Switch,recursive"` Interface *LocalRouterInterface `mapconv:"Settings.LocalRouter.Interface,recursive"` Peers []*LocalRouterPeer `mapconv:"Settings.LocalRouter.[]Peers,recursive"` StaticRoutes []*LocalRouterStaticRoute `mapconv:"Settings.LocalRouter.[]StaticRoutes,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
LocalRouterUpdateRequest represents API parameter/response structure
func (*LocalRouterUpdateRequest) AppendTag ¶
func (o *LocalRouterUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*LocalRouterUpdateRequest) ClearTags ¶
func (o *LocalRouterUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*LocalRouterUpdateRequest) GetDescription ¶
func (o *LocalRouterUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*LocalRouterUpdateRequest) GetIconID ¶
func (o *LocalRouterUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*LocalRouterUpdateRequest) GetInterface ¶
func (o *LocalRouterUpdateRequest) GetInterface() *LocalRouterInterface
GetInterface returns value of Interface
func (*LocalRouterUpdateRequest) GetName ¶
func (o *LocalRouterUpdateRequest) GetName() string
GetName returns value of Name
func (*LocalRouterUpdateRequest) GetPeers ¶
func (o *LocalRouterUpdateRequest) GetPeers() []*LocalRouterPeer
GetPeers returns value of Peers
func (*LocalRouterUpdateRequest) GetSettingsHash ¶
func (o *LocalRouterUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*LocalRouterUpdateRequest) GetStaticRoutes ¶
func (o *LocalRouterUpdateRequest) GetStaticRoutes() []*LocalRouterStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*LocalRouterUpdateRequest) GetSwitch ¶
func (o *LocalRouterUpdateRequest) GetSwitch() *LocalRouterSwitch
GetSwitch returns value of Switch
func (*LocalRouterUpdateRequest) GetTags ¶
func (o *LocalRouterUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*LocalRouterUpdateRequest) HasTag ¶
func (o *LocalRouterUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*LocalRouterUpdateRequest) RemoveTag ¶
func (o *LocalRouterUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*LocalRouterUpdateRequest) SetDescription ¶
func (o *LocalRouterUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*LocalRouterUpdateRequest) SetIconID ¶
func (o *LocalRouterUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*LocalRouterUpdateRequest) SetInterface ¶
func (o *LocalRouterUpdateRequest) SetInterface(v *LocalRouterInterface)
SetInterface sets value to Interface
func (*LocalRouterUpdateRequest) SetName ¶
func (o *LocalRouterUpdateRequest) SetName(v string)
SetName sets value to Name
func (*LocalRouterUpdateRequest) SetPeers ¶
func (o *LocalRouterUpdateRequest) SetPeers(v []*LocalRouterPeer)
SetPeers sets value to Peers
func (*LocalRouterUpdateRequest) SetSettingsHash ¶
func (o *LocalRouterUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*LocalRouterUpdateRequest) SetStaticRoutes ¶
func (o *LocalRouterUpdateRequest) SetStaticRoutes(v []*LocalRouterStaticRoute)
SetStaticRoutes sets value to StaticRoutes
func (*LocalRouterUpdateRequest) SetSwitch ¶
func (o *LocalRouterUpdateRequest) SetSwitch(v *LocalRouterSwitch)
SetSwitch sets value to Switch
func (*LocalRouterUpdateRequest) SetTags ¶
func (o *LocalRouterUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type LocalRouterUpdateSettingsRequest ¶
type LocalRouterUpdateSettingsRequest struct { Switch *LocalRouterSwitch `mapconv:"Settings.LocalRouter.Switch,recursive"` Interface *LocalRouterInterface `mapconv:"Settings.LocalRouter.Interface,recursive"` Peers []*LocalRouterPeer `mapconv:"Settings.LocalRouter.[]Peers,recursive"` StaticRoutes []*LocalRouterStaticRoute `mapconv:"Settings.LocalRouter.[]StaticRoutes,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
LocalRouterUpdateSettingsRequest represents API parameter/response structure
func (*LocalRouterUpdateSettingsRequest) GetInterface ¶
func (o *LocalRouterUpdateSettingsRequest) GetInterface() *LocalRouterInterface
GetInterface returns value of Interface
func (*LocalRouterUpdateSettingsRequest) GetPeers ¶
func (o *LocalRouterUpdateSettingsRequest) GetPeers() []*LocalRouterPeer
GetPeers returns value of Peers
func (*LocalRouterUpdateSettingsRequest) GetSettingsHash ¶
func (o *LocalRouterUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*LocalRouterUpdateSettingsRequest) GetStaticRoutes ¶
func (o *LocalRouterUpdateSettingsRequest) GetStaticRoutes() []*LocalRouterStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*LocalRouterUpdateSettingsRequest) GetSwitch ¶
func (o *LocalRouterUpdateSettingsRequest) GetSwitch() *LocalRouterSwitch
GetSwitch returns value of Switch
func (*LocalRouterUpdateSettingsRequest) SetInterface ¶
func (o *LocalRouterUpdateSettingsRequest) SetInterface(v *LocalRouterInterface)
SetInterface sets value to Interface
func (*LocalRouterUpdateSettingsRequest) SetPeers ¶
func (o *LocalRouterUpdateSettingsRequest) SetPeers(v []*LocalRouterPeer)
SetPeers sets value to Peers
func (*LocalRouterUpdateSettingsRequest) SetSettingsHash ¶
func (o *LocalRouterUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*LocalRouterUpdateSettingsRequest) SetStaticRoutes ¶
func (o *LocalRouterUpdateSettingsRequest) SetStaticRoutes(v []*LocalRouterStaticRoute)
SetStaticRoutes sets value to StaticRoutes
func (*LocalRouterUpdateSettingsRequest) SetSwitch ¶
func (o *LocalRouterUpdateSettingsRequest) SetSwitch(v *LocalRouterSwitch)
SetSwitch sets value to Switch
type MobileGateway ¶
type MobileGateway struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Class string IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time InstanceHostName string `mapconv:"Instance.Host.Name"` InstanceHostInfoURL string `mapconv:"Instance.Host.InfoURL"` InstanceStatus types.EServerInstanceStatus `mapconv:"Instance.Status"` InstanceStatusChangedAt time.Time `mapconv:"Instance.StatusChangedAt"` Interfaces []*MobileGatewayInterface `json:",omitempty" mapconv:"[]Interfaces,recursive,omitempty"` ZoneID types.ID `mapconv:"Remark.Zone.ID"` GlobalAddress string `mapconv:"Remark.MobileGateway.GlobalAddress"` InterfaceSettings []*MobileGatewayInterfaceSetting `mapconv:"Settings.MobileGateway.[]Interfaces,recursive"` StaticRoutes []*MobileGatewayStaticRoute `mapconv:"Settings.MobileGateway.[]StaticRoutes,recursive"` InternetConnectionEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InternetConnection.Enabled"` InterDeviceCommunicationEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InterDeviceCommunication.Enabled"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
MobileGateway represents API parameter/response structure
func (*MobileGateway) GetAvailability ¶
func (o *MobileGateway) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*MobileGateway) GetClass ¶
func (o *MobileGateway) GetClass() string
GetClass returns value of Class
func (*MobileGateway) GetCreatedAt ¶
func (o *MobileGateway) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*MobileGateway) GetDescription ¶
func (o *MobileGateway) GetDescription() string
GetDescription returns value of Description
func (*MobileGateway) GetGlobalAddress ¶
func (o *MobileGateway) GetGlobalAddress() string
GetGlobalAddress returns value of GlobalAddress
func (*MobileGateway) GetIconID ¶
func (o *MobileGateway) GetIconID() types.ID
GetIconID returns value of IconID
func (*MobileGateway) GetInstanceHostInfoURL ¶
func (o *MobileGateway) GetInstanceHostInfoURL() string
GetInstanceHostInfoURL returns value of InstanceHostInfoURL
func (*MobileGateway) GetInstanceHostName ¶
func (o *MobileGateway) GetInstanceHostName() string
GetInstanceHostName returns value of InstanceHostName
func (*MobileGateway) GetInstanceStatus ¶
func (o *MobileGateway) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus returns value of InstanceStatus
func (*MobileGateway) GetInstanceStatusChangedAt ¶
func (o *MobileGateway) GetInstanceStatusChangedAt() time.Time
GetInstanceStatusChangedAt returns value of InstanceStatusChangedAt
func (*MobileGateway) GetInterDeviceCommunicationEnabled ¶
func (o *MobileGateway) GetInterDeviceCommunicationEnabled() types.StringFlag
GetInterDeviceCommunicationEnabled returns value of InterDeviceCommunicationEnabled
func (*MobileGateway) GetInterfaceSettings ¶
func (o *MobileGateway) GetInterfaceSettings() []*MobileGatewayInterfaceSetting
GetInterfaceSettings returns value of InterfaceSettings
func (*MobileGateway) GetInterfaces ¶
func (o *MobileGateway) GetInterfaces() []*MobileGatewayInterface
GetInterfaces returns value of Interfaces
func (*MobileGateway) GetInternetConnectionEnabled ¶
func (o *MobileGateway) GetInternetConnectionEnabled() types.StringFlag
GetInternetConnectionEnabled returns value of InternetConnectionEnabled
func (*MobileGateway) GetName ¶
func (o *MobileGateway) GetName() string
GetName returns value of Name
func (*MobileGateway) GetSettingsHash ¶
func (o *MobileGateway) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*MobileGateway) GetStaticRoutes ¶
func (o *MobileGateway) GetStaticRoutes() []*MobileGatewayStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*MobileGateway) GetTags ¶
func (o *MobileGateway) GetTags() types.Tags
GetTags returns value of Tags
func (*MobileGateway) GetZoneID ¶
func (o *MobileGateway) GetZoneID() types.ID
GetZoneID returns value of ZoneID
func (*MobileGateway) HasTag ¶
func (o *MobileGateway) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*MobileGateway) SetAvailability ¶
func (o *MobileGateway) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*MobileGateway) SetClass ¶
func (o *MobileGateway) SetClass(v string)
SetClass sets value to Class
func (*MobileGateway) SetCreatedAt ¶
func (o *MobileGateway) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*MobileGateway) SetDescription ¶
func (o *MobileGateway) SetDescription(v string)
SetDescription sets value to Description
func (*MobileGateway) SetGlobalAddress ¶
func (o *MobileGateway) SetGlobalAddress(v string)
SetGlobalAddress sets value to GlobalAddress
func (*MobileGateway) SetIconID ¶
func (o *MobileGateway) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*MobileGateway) SetInstanceHostInfoURL ¶
func (o *MobileGateway) SetInstanceHostInfoURL(v string)
SetInstanceHostInfoURL sets value to InstanceHostInfoURL
func (*MobileGateway) SetInstanceHostName ¶
func (o *MobileGateway) SetInstanceHostName(v string)
SetInstanceHostName sets value to InstanceHostName
func (*MobileGateway) SetInstanceStatus ¶
func (o *MobileGateway) SetInstanceStatus(v types.EServerInstanceStatus)
SetInstanceStatus sets value to InstanceStatus
func (*MobileGateway) SetInstanceStatusChangedAt ¶
func (o *MobileGateway) SetInstanceStatusChangedAt(v time.Time)
SetInstanceStatusChangedAt sets value to InstanceStatusChangedAt
func (*MobileGateway) SetInterDeviceCommunicationEnabled ¶
func (o *MobileGateway) SetInterDeviceCommunicationEnabled(v types.StringFlag)
SetInterDeviceCommunicationEnabled sets value to InterDeviceCommunicationEnabled
func (*MobileGateway) SetInterfaceSettings ¶
func (o *MobileGateway) SetInterfaceSettings(v []*MobileGatewayInterfaceSetting)
SetInterfaceSettings sets value to InterfaceSettings
func (*MobileGateway) SetInterfaces ¶
func (o *MobileGateway) SetInterfaces(v []*MobileGatewayInterface)
SetInterfaces sets value to Interfaces
func (*MobileGateway) SetInternetConnectionEnabled ¶
func (o *MobileGateway) SetInternetConnectionEnabled(v types.StringFlag)
SetInternetConnectionEnabled sets value to InternetConnectionEnabled
func (*MobileGateway) SetName ¶
func (o *MobileGateway) SetName(v string)
SetName sets value to Name
func (*MobileGateway) SetSettingsHash ¶
func (o *MobileGateway) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*MobileGateway) SetStaticRoutes ¶
func (o *MobileGateway) SetStaticRoutes(v []*MobileGatewayStaticRoute)
SetStaticRoutes sets value to StaticRoutes
func (*MobileGateway) SetTags ¶
func (o *MobileGateway) SetTags(v types.Tags)
SetTags sets value to Tags
func (*MobileGateway) SetZoneID ¶
func (o *MobileGateway) SetZoneID(v types.ID)
SetZoneID sets value to ZoneID
type MobileGatewayAPI ¶
type MobileGatewayAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*MobileGatewayFindResult, error) Create(ctx context.Context, zone string, param *MobileGatewayCreateRequest) (*MobileGateway, error) Read(ctx context.Context, zone string, id types.ID) (*MobileGateway, error) Update(ctx context.Context, zone string, id types.ID, param *MobileGatewayUpdateRequest) (*MobileGateway, error) UpdateSettings(ctx context.Context, zone string, id types.ID, param *MobileGatewayUpdateSettingsRequest) (*MobileGateway, error) Delete(ctx context.Context, zone string, id types.ID) error Config(ctx context.Context, zone string, id types.ID) error Boot(ctx context.Context, zone string, id types.ID) error Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error Reset(ctx context.Context, zone string, id types.ID) error ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error DisconnectFromSwitch(ctx context.Context, zone string, id types.ID) error GetDNS(ctx context.Context, zone string, id types.ID) (*MobileGatewayDNSSetting, error) SetDNS(ctx context.Context, zone string, id types.ID, param *MobileGatewayDNSSetting) error GetSIMRoutes(ctx context.Context, zone string, id types.ID) (MobileGatewaySIMRoutes, error) SetSIMRoutes(ctx context.Context, zone string, id types.ID, param []*MobileGatewaySIMRouteParam) error ListSIM(ctx context.Context, zone string, id types.ID) (MobileGatewaySIMs, error) AddSIM(ctx context.Context, zone string, id types.ID, param *MobileGatewayAddSIMRequest) error DeleteSIM(ctx context.Context, zone string, id types.ID, simID types.ID) error Logs(ctx context.Context, zone string, id types.ID) ([]*MobileGatewaySIMLogs, error) GetTrafficConfig(ctx context.Context, zone string, id types.ID) (*MobileGatewayTrafficControl, error) SetTrafficConfig(ctx context.Context, zone string, id types.ID, param *MobileGatewayTrafficControl) error DeleteTrafficConfig(ctx context.Context, zone string, id types.ID) error TrafficStatus(ctx context.Context, zone string, id types.ID) (*MobileGatewayTrafficStatus, error) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *MonitorCondition) (*InterfaceActivity, error) }
MobileGatewayAPI is interface for operate MobileGateway resource
func NewMobileGatewayOp ¶
func NewMobileGatewayOp(caller APICaller) MobileGatewayAPI
NewMobileGatewayOp creates new MobileGatewayOp instance
type MobileGatewayAddSIMRequest ¶
type MobileGatewayAddSIMRequest struct {
SIMID string `json:"resource_id" mapconv:"ResourceID"`
}
MobileGatewayAddSIMRequest represents API parameter/response structure
func (*MobileGatewayAddSIMRequest) GetSIMID ¶
func (o *MobileGatewayAddSIMRequest) GetSIMID() string
GetSIMID returns value of SIMID
func (*MobileGatewayAddSIMRequest) SetSIMID ¶
func (o *MobileGatewayAddSIMRequest) SetSIMID(v string)
SetSIMID sets value to SIMID
type MobileGatewayCreateRequest ¶
type MobileGatewayCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` StaticRoutes []*MobileGatewayStaticRoute `json:",omitempty" mapconv:"Settings.MobileGateway.[]StaticRoutes,omitempty,recursive"` InternetConnectionEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InternetConnection.Enabled"` InterDeviceCommunicationEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InterDeviceCommunication.Enabled"` }
MobileGatewayCreateRequest represents API parameter/response structure
func (*MobileGatewayCreateRequest) AppendTag ¶
func (o *MobileGatewayCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*MobileGatewayCreateRequest) ClearTags ¶
func (o *MobileGatewayCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*MobileGatewayCreateRequest) GetDescription ¶
func (o *MobileGatewayCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*MobileGatewayCreateRequest) GetIconID ¶
func (o *MobileGatewayCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*MobileGatewayCreateRequest) GetInterDeviceCommunicationEnabled ¶
func (o *MobileGatewayCreateRequest) GetInterDeviceCommunicationEnabled() types.StringFlag
GetInterDeviceCommunicationEnabled returns value of InterDeviceCommunicationEnabled
func (*MobileGatewayCreateRequest) GetInternetConnectionEnabled ¶
func (o *MobileGatewayCreateRequest) GetInternetConnectionEnabled() types.StringFlag
GetInternetConnectionEnabled returns value of InternetConnectionEnabled
func (*MobileGatewayCreateRequest) GetName ¶
func (o *MobileGatewayCreateRequest) GetName() string
GetName returns value of Name
func (*MobileGatewayCreateRequest) GetStaticRoutes ¶
func (o *MobileGatewayCreateRequest) GetStaticRoutes() []*MobileGatewayStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*MobileGatewayCreateRequest) GetTags ¶
func (o *MobileGatewayCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*MobileGatewayCreateRequest) HasTag ¶
func (o *MobileGatewayCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*MobileGatewayCreateRequest) RemoveTag ¶
func (o *MobileGatewayCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*MobileGatewayCreateRequest) SetDescription ¶
func (o *MobileGatewayCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*MobileGatewayCreateRequest) SetIconID ¶
func (o *MobileGatewayCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*MobileGatewayCreateRequest) SetInterDeviceCommunicationEnabled ¶
func (o *MobileGatewayCreateRequest) SetInterDeviceCommunicationEnabled(v types.StringFlag)
SetInterDeviceCommunicationEnabled sets value to InterDeviceCommunicationEnabled
func (*MobileGatewayCreateRequest) SetInternetConnectionEnabled ¶
func (o *MobileGatewayCreateRequest) SetInternetConnectionEnabled(v types.StringFlag)
SetInternetConnectionEnabled sets value to InternetConnectionEnabled
func (*MobileGatewayCreateRequest) SetName ¶
func (o *MobileGatewayCreateRequest) SetName(v string)
SetName sets value to Name
func (*MobileGatewayCreateRequest) SetStaticRoutes ¶
func (o *MobileGatewayCreateRequest) SetStaticRoutes(v []*MobileGatewayStaticRoute)
SetStaticRoutes sets value to StaticRoutes
func (*MobileGatewayCreateRequest) SetTags ¶
func (o *MobileGatewayCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type MobileGatewayDNSSetting ¶
MobileGatewayDNSSetting represents API parameter/response structure
func (*MobileGatewayDNSSetting) GetDNS1 ¶
func (o *MobileGatewayDNSSetting) GetDNS1() string
GetDNS1 returns value of DNS1
func (*MobileGatewayDNSSetting) GetDNS2 ¶
func (o *MobileGatewayDNSSetting) GetDNS2() string
GetDNS2 returns value of DNS2
func (*MobileGatewayDNSSetting) SetDNS1 ¶
func (o *MobileGatewayDNSSetting) SetDNS1(v string)
SetDNS1 sets value to DNS1
func (*MobileGatewayDNSSetting) SetDNS2 ¶
func (o *MobileGatewayDNSSetting) SetDNS2(v string)
SetDNS2 sets value to DNS2
type MobileGatewayFindResult ¶
type MobileGatewayFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page MobileGateways []*MobileGateway `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"` }
MobileGatewayFindResult represents the Result of API
func (*MobileGatewayFindResult) Values ¶
func (r *MobileGatewayFindResult) Values() []interface{}
Values returns find results
type MobileGatewayInterface ¶
type MobileGatewayInterface struct { ID types.ID MACAddress string IPAddress string UserIPAddress string HostName string SwitchID types.ID `mapconv:"Switch.ID"` SwitchName string `mapconv:"Switch.Name"` SwitchScope types.EScope `mapconv:"Switch.Scope"` UserSubnetDefaultRoute string `mapconv:"Switch.UserSubnet.DefaultRoute"` UserSubnetNetworkMaskLen int `mapconv:"Switch.UserSubnet.NetworkMaskLen"` SubnetDefaultRoute string `mapconv:"Switch.Subnet.DefaultRoute"` SubnetNetworkMaskLen int `mapconv:"Switch.Subnet.NetworkMaskLen"` SubnetNetworkAddress string `mapconv:"Switch.Subnet.NetworkAddress"` SubnetBandWidthMbps int `mapconv:"Switch.Subnet.Internet.BandWidthMbps"` PacketFilterID types.ID `mapconv:"PacketFilter.ID"` PacketFilterName string `mapconv:"PacketFilter.Name"` PacketFilterRequiredHostVersion types.StringNumber `mapconv:"PacketFilter.RequiredHostVersionn"` UpstreamType types.EUpstreamNetworkType Index int `mapconv:",omitempty"` }
MobileGatewayInterface represents API parameter/response structure
func (*MobileGatewayInterface) GetHostName ¶
func (o *MobileGatewayInterface) GetHostName() string
GetHostName returns value of HostName
func (*MobileGatewayInterface) GetID ¶
func (o *MobileGatewayInterface) GetID() types.ID
GetID returns value of ID
func (*MobileGatewayInterface) GetIPAddress ¶
func (o *MobileGatewayInterface) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*MobileGatewayInterface) GetIndex ¶
func (o *MobileGatewayInterface) GetIndex() int
GetIndex returns value of Index
func (*MobileGatewayInterface) GetInt64ID ¶
func (o *MobileGatewayInterface) GetInt64ID() int64
GetInt64ID .
func (*MobileGatewayInterface) GetMACAddress ¶
func (o *MobileGatewayInterface) GetMACAddress() string
GetMACAddress returns value of MACAddress
func (*MobileGatewayInterface) GetPacketFilterID ¶
func (o *MobileGatewayInterface) GetPacketFilterID() types.ID
GetPacketFilterID returns value of PacketFilterID
func (*MobileGatewayInterface) GetPacketFilterName ¶
func (o *MobileGatewayInterface) GetPacketFilterName() string
GetPacketFilterName returns value of PacketFilterName
func (*MobileGatewayInterface) GetPacketFilterRequiredHostVersion ¶
func (o *MobileGatewayInterface) GetPacketFilterRequiredHostVersion() types.StringNumber
GetPacketFilterRequiredHostVersion returns value of PacketFilterRequiredHostVersion
func (*MobileGatewayInterface) GetStringID ¶
func (o *MobileGatewayInterface) GetStringID() string
GetStringID .
func (*MobileGatewayInterface) GetSubnetBandWidthMbps ¶
func (o *MobileGatewayInterface) GetSubnetBandWidthMbps() int
GetSubnetBandWidthMbps returns value of SubnetBandWidthMbps
func (*MobileGatewayInterface) GetSubnetDefaultRoute ¶
func (o *MobileGatewayInterface) GetSubnetDefaultRoute() string
GetSubnetDefaultRoute returns value of SubnetDefaultRoute
func (*MobileGatewayInterface) GetSubnetNetworkAddress ¶
func (o *MobileGatewayInterface) GetSubnetNetworkAddress() string
GetSubnetNetworkAddress returns value of SubnetNetworkAddress
func (*MobileGatewayInterface) GetSubnetNetworkMaskLen ¶
func (o *MobileGatewayInterface) GetSubnetNetworkMaskLen() int
GetSubnetNetworkMaskLen returns value of SubnetNetworkMaskLen
func (*MobileGatewayInterface) GetSwitchID ¶
func (o *MobileGatewayInterface) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*MobileGatewayInterface) GetSwitchName ¶
func (o *MobileGatewayInterface) GetSwitchName() string
GetSwitchName returns value of SwitchName
func (*MobileGatewayInterface) GetSwitchScope ¶
func (o *MobileGatewayInterface) GetSwitchScope() types.EScope
GetSwitchScope returns value of SwitchScope
func (*MobileGatewayInterface) GetUpstreamType ¶
func (o *MobileGatewayInterface) GetUpstreamType() types.EUpstreamNetworkType
GetUpstreamType returns value of UpstreamType
func (*MobileGatewayInterface) GetUserIPAddress ¶
func (o *MobileGatewayInterface) GetUserIPAddress() string
GetUserIPAddress returns value of UserIPAddress
func (*MobileGatewayInterface) GetUserSubnetDefaultRoute ¶
func (o *MobileGatewayInterface) GetUserSubnetDefaultRoute() string
GetUserSubnetDefaultRoute returns value of UserSubnetDefaultRoute
func (*MobileGatewayInterface) GetUserSubnetNetworkMaskLen ¶
func (o *MobileGatewayInterface) GetUserSubnetNetworkMaskLen() int
GetUserSubnetNetworkMaskLen returns value of UserSubnetNetworkMaskLen
func (*MobileGatewayInterface) SetHostName ¶
func (o *MobileGatewayInterface) SetHostName(v string)
SetHostName sets value to HostName
func (*MobileGatewayInterface) SetID ¶
func (o *MobileGatewayInterface) SetID(v types.ID)
SetID sets value to ID
func (*MobileGatewayInterface) SetIPAddress ¶
func (o *MobileGatewayInterface) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*MobileGatewayInterface) SetIndex ¶
func (o *MobileGatewayInterface) SetIndex(v int)
SetIndex sets value to Index
func (*MobileGatewayInterface) SetInt64ID ¶
func (o *MobileGatewayInterface) SetInt64ID(id int64)
SetInt64ID .
func (*MobileGatewayInterface) SetMACAddress ¶
func (o *MobileGatewayInterface) SetMACAddress(v string)
SetMACAddress sets value to MACAddress
func (*MobileGatewayInterface) SetPacketFilterID ¶
func (o *MobileGatewayInterface) SetPacketFilterID(v types.ID)
SetPacketFilterID sets value to PacketFilterID
func (*MobileGatewayInterface) SetPacketFilterName ¶
func (o *MobileGatewayInterface) SetPacketFilterName(v string)
SetPacketFilterName sets value to PacketFilterName
func (*MobileGatewayInterface) SetPacketFilterRequiredHostVersion ¶
func (o *MobileGatewayInterface) SetPacketFilterRequiredHostVersion(v types.StringNumber)
SetPacketFilterRequiredHostVersion sets value to PacketFilterRequiredHostVersion
func (*MobileGatewayInterface) SetStringID ¶
func (o *MobileGatewayInterface) SetStringID(id string)
SetStringID .
func (*MobileGatewayInterface) SetSubnetBandWidthMbps ¶
func (o *MobileGatewayInterface) SetSubnetBandWidthMbps(v int)
SetSubnetBandWidthMbps sets value to SubnetBandWidthMbps
func (*MobileGatewayInterface) SetSubnetDefaultRoute ¶
func (o *MobileGatewayInterface) SetSubnetDefaultRoute(v string)
SetSubnetDefaultRoute sets value to SubnetDefaultRoute
func (*MobileGatewayInterface) SetSubnetNetworkAddress ¶
func (o *MobileGatewayInterface) SetSubnetNetworkAddress(v string)
SetSubnetNetworkAddress sets value to SubnetNetworkAddress
func (*MobileGatewayInterface) SetSubnetNetworkMaskLen ¶
func (o *MobileGatewayInterface) SetSubnetNetworkMaskLen(v int)
SetSubnetNetworkMaskLen sets value to SubnetNetworkMaskLen
func (*MobileGatewayInterface) SetSwitchID ¶
func (o *MobileGatewayInterface) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*MobileGatewayInterface) SetSwitchName ¶
func (o *MobileGatewayInterface) SetSwitchName(v string)
SetSwitchName sets value to SwitchName
func (*MobileGatewayInterface) SetSwitchScope ¶
func (o *MobileGatewayInterface) SetSwitchScope(v types.EScope)
SetSwitchScope sets value to SwitchScope
func (*MobileGatewayInterface) SetUpstreamType ¶
func (o *MobileGatewayInterface) SetUpstreamType(v types.EUpstreamNetworkType)
SetUpstreamType sets value to UpstreamType
func (*MobileGatewayInterface) SetUserIPAddress ¶
func (o *MobileGatewayInterface) SetUserIPAddress(v string)
SetUserIPAddress sets value to UserIPAddress
func (*MobileGatewayInterface) SetUserSubnetDefaultRoute ¶
func (o *MobileGatewayInterface) SetUserSubnetDefaultRoute(v string)
SetUserSubnetDefaultRoute sets value to UserSubnetDefaultRoute
func (*MobileGatewayInterface) SetUserSubnetNetworkMaskLen ¶
func (o *MobileGatewayInterface) SetUserSubnetNetworkMaskLen(v int)
SetUserSubnetNetworkMaskLen sets value to UserSubnetNetworkMaskLen
type MobileGatewayInterfaceSetting ¶
MobileGatewayInterfaceSetting represents API parameter/response structure
func (*MobileGatewayInterfaceSetting) GetIPAddress ¶
func (o *MobileGatewayInterfaceSetting) GetIPAddress() []string
GetIPAddress returns value of IPAddress
func (*MobileGatewayInterfaceSetting) GetIndex ¶
func (o *MobileGatewayInterfaceSetting) GetIndex() int
GetIndex returns value of Index
func (*MobileGatewayInterfaceSetting) GetNetworkMaskLen ¶
func (o *MobileGatewayInterfaceSetting) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*MobileGatewayInterfaceSetting) SetIPAddress ¶
func (o *MobileGatewayInterfaceSetting) SetIPAddress(v []string)
SetIPAddress sets value to IPAddress
func (*MobileGatewayInterfaceSetting) SetIndex ¶
func (o *MobileGatewayInterfaceSetting) SetIndex(v int)
SetIndex sets value to Index
func (*MobileGatewayInterfaceSetting) SetNetworkMaskLen ¶
func (o *MobileGatewayInterfaceSetting) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
type MobileGatewayOp ¶
type MobileGatewayOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
MobileGatewayOp implements MobileGatewayAPI interface
func (*MobileGatewayOp) AddSIM ¶
func (o *MobileGatewayOp) AddSIM(ctx context.Context, zone string, id types.ID, param *MobileGatewayAddSIMRequest) error
AddSIM is API call
func (*MobileGatewayOp) ConnectToSwitch ¶
func (o *MobileGatewayOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, switchID types.ID) error
ConnectToSwitch is API call
func (*MobileGatewayOp) Create ¶
func (o *MobileGatewayOp) Create(ctx context.Context, zone string, param *MobileGatewayCreateRequest) (*MobileGateway, error)
Create is API call
func (*MobileGatewayOp) DeleteSIM ¶
func (o *MobileGatewayOp) DeleteSIM(ctx context.Context, zone string, id types.ID, simID types.ID) error
DeleteSIM is API call
func (*MobileGatewayOp) DeleteTrafficConfig ¶
DeleteTrafficConfig is API call
func (*MobileGatewayOp) DisconnectFromSwitch ¶
DisconnectFromSwitch is API call
func (*MobileGatewayOp) Find ¶
func (o *MobileGatewayOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*MobileGatewayFindResult, error)
Find is API call
func (*MobileGatewayOp) GetDNS ¶
func (o *MobileGatewayOp) GetDNS(ctx context.Context, zone string, id types.ID) (*MobileGatewayDNSSetting, error)
GetDNS is API call
func (*MobileGatewayOp) GetSIMRoutes ¶
func (o *MobileGatewayOp) GetSIMRoutes(ctx context.Context, zone string, id types.ID) (MobileGatewaySIMRoutes, error)
GetSIMRoutes is API call
func (*MobileGatewayOp) GetTrafficConfig ¶
func (o *MobileGatewayOp) GetTrafficConfig(ctx context.Context, zone string, id types.ID) (*MobileGatewayTrafficControl, error)
GetTrafficConfig is API call
func (*MobileGatewayOp) ListSIM ¶
func (o *MobileGatewayOp) ListSIM(ctx context.Context, zone string, id types.ID) (MobileGatewaySIMs, error)
ListSIM is API call
func (*MobileGatewayOp) Logs ¶
func (o *MobileGatewayOp) Logs(ctx context.Context, zone string, id types.ID) ([]*MobileGatewaySIMLogs, error)
Logs is API call
func (*MobileGatewayOp) MonitorInterface ¶
func (o *MobileGatewayOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *MonitorCondition) (*InterfaceActivity, error)
MonitorInterface is API call
func (*MobileGatewayOp) Read ¶
func (o *MobileGatewayOp) Read(ctx context.Context, zone string, id types.ID) (*MobileGateway, error)
Read is API call
func (*MobileGatewayOp) SetDNS ¶
func (o *MobileGatewayOp) SetDNS(ctx context.Context, zone string, id types.ID, param *MobileGatewayDNSSetting) error
SetDNS is API call
func (*MobileGatewayOp) SetSIMRoutes ¶
func (o *MobileGatewayOp) SetSIMRoutes(ctx context.Context, zone string, id types.ID, param []*MobileGatewaySIMRouteParam) error
SetSIMRoutes is API call
func (*MobileGatewayOp) SetTrafficConfig ¶
func (o *MobileGatewayOp) SetTrafficConfig(ctx context.Context, zone string, id types.ID, param *MobileGatewayTrafficControl) error
SetTrafficConfig is API call
func (*MobileGatewayOp) Shutdown ¶
func (o *MobileGatewayOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
Shutdown is API call
func (*MobileGatewayOp) TrafficStatus ¶
func (o *MobileGatewayOp) TrafficStatus(ctx context.Context, zone string, id types.ID) (*MobileGatewayTrafficStatus, error)
TrafficStatus is API call
func (*MobileGatewayOp) Update ¶
func (o *MobileGatewayOp) Update(ctx context.Context, zone string, id types.ID, param *MobileGatewayUpdateRequest) (*MobileGateway, error)
Update is API call
func (*MobileGatewayOp) UpdateSettings ¶
func (o *MobileGatewayOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *MobileGatewayUpdateSettingsRequest) (*MobileGateway, error)
UpdateSettings is API call
type MobileGatewaySIMInfo ¶
type MobileGatewaySIMInfo struct { ICCID string IMSI []string IMEI string IP string SessionStatus string IMEILock bool Registered bool Activated bool ResourceID string RegisteredDate time.Time ActivatedDate time.Time DeactivatedDate time.Time SIMGroupID string TrafficBytesOfCurrentMonth *SIMTrafficBytes `mapconv:",recursive"` ConnectedIMEI string }
MobileGatewaySIMInfo represents API parameter/response structure
func (*MobileGatewaySIMInfo) GetActivated ¶
func (o *MobileGatewaySIMInfo) GetActivated() bool
GetActivated returns value of Activated
func (*MobileGatewaySIMInfo) GetActivatedDate ¶
func (o *MobileGatewaySIMInfo) GetActivatedDate() time.Time
GetActivatedDate returns value of ActivatedDate
func (*MobileGatewaySIMInfo) GetConnectedIMEI ¶
func (o *MobileGatewaySIMInfo) GetConnectedIMEI() string
GetConnectedIMEI returns value of ConnectedIMEI
func (*MobileGatewaySIMInfo) GetDeactivatedDate ¶
func (o *MobileGatewaySIMInfo) GetDeactivatedDate() time.Time
GetDeactivatedDate returns value of DeactivatedDate
func (*MobileGatewaySIMInfo) GetICCID ¶
func (o *MobileGatewaySIMInfo) GetICCID() string
GetICCID returns value of ICCID
func (*MobileGatewaySIMInfo) GetIMEI ¶
func (o *MobileGatewaySIMInfo) GetIMEI() string
GetIMEI returns value of IMEI
func (*MobileGatewaySIMInfo) GetIMEILock ¶
func (o *MobileGatewaySIMInfo) GetIMEILock() bool
GetIMEILock returns value of IMEILock
func (*MobileGatewaySIMInfo) GetIMSI ¶
func (o *MobileGatewaySIMInfo) GetIMSI() []string
GetIMSI returns value of IMSI
func (*MobileGatewaySIMInfo) GetIP ¶
func (o *MobileGatewaySIMInfo) GetIP() string
GetIP returns value of IP
func (*MobileGatewaySIMInfo) GetRegistered ¶
func (o *MobileGatewaySIMInfo) GetRegistered() bool
GetRegistered returns value of Registered
func (*MobileGatewaySIMInfo) GetRegisteredDate ¶
func (o *MobileGatewaySIMInfo) GetRegisteredDate() time.Time
GetRegisteredDate returns value of RegisteredDate
func (*MobileGatewaySIMInfo) GetResourceID ¶
func (o *MobileGatewaySIMInfo) GetResourceID() string
GetResourceID returns value of ResourceID
func (*MobileGatewaySIMInfo) GetSIMGroupID ¶
func (o *MobileGatewaySIMInfo) GetSIMGroupID() string
GetSIMGroupID returns value of SIMGroupID
func (*MobileGatewaySIMInfo) GetSessionStatus ¶
func (o *MobileGatewaySIMInfo) GetSessionStatus() string
GetSessionStatus returns value of SessionStatus
func (*MobileGatewaySIMInfo) GetTrafficBytesOfCurrentMonth ¶
func (o *MobileGatewaySIMInfo) GetTrafficBytesOfCurrentMonth() *SIMTrafficBytes
GetTrafficBytesOfCurrentMonth returns value of TrafficBytesOfCurrentMonth
func (*MobileGatewaySIMInfo) SetActivated ¶
func (o *MobileGatewaySIMInfo) SetActivated(v bool)
SetActivated sets value to Activated
func (*MobileGatewaySIMInfo) SetActivatedDate ¶
func (o *MobileGatewaySIMInfo) SetActivatedDate(v time.Time)
SetActivatedDate sets value to ActivatedDate
func (*MobileGatewaySIMInfo) SetConnectedIMEI ¶
func (o *MobileGatewaySIMInfo) SetConnectedIMEI(v string)
SetConnectedIMEI sets value to ConnectedIMEI
func (*MobileGatewaySIMInfo) SetDeactivatedDate ¶
func (o *MobileGatewaySIMInfo) SetDeactivatedDate(v time.Time)
SetDeactivatedDate sets value to DeactivatedDate
func (*MobileGatewaySIMInfo) SetICCID ¶
func (o *MobileGatewaySIMInfo) SetICCID(v string)
SetICCID sets value to ICCID
func (*MobileGatewaySIMInfo) SetIMEI ¶
func (o *MobileGatewaySIMInfo) SetIMEI(v string)
SetIMEI sets value to IMEI
func (*MobileGatewaySIMInfo) SetIMEILock ¶
func (o *MobileGatewaySIMInfo) SetIMEILock(v bool)
SetIMEILock sets value to IMEILock
func (*MobileGatewaySIMInfo) SetIMSI ¶
func (o *MobileGatewaySIMInfo) SetIMSI(v []string)
SetIMSI sets value to IMSI
func (*MobileGatewaySIMInfo) SetIP ¶
func (o *MobileGatewaySIMInfo) SetIP(v string)
SetIP sets value to IP
func (*MobileGatewaySIMInfo) SetRegistered ¶
func (o *MobileGatewaySIMInfo) SetRegistered(v bool)
SetRegistered sets value to Registered
func (*MobileGatewaySIMInfo) SetRegisteredDate ¶
func (o *MobileGatewaySIMInfo) SetRegisteredDate(v time.Time)
SetRegisteredDate sets value to RegisteredDate
func (*MobileGatewaySIMInfo) SetResourceID ¶
func (o *MobileGatewaySIMInfo) SetResourceID(v string)
SetResourceID sets value to ResourceID
func (*MobileGatewaySIMInfo) SetSIMGroupID ¶
func (o *MobileGatewaySIMInfo) SetSIMGroupID(v string)
SetSIMGroupID sets value to SIMGroupID
func (*MobileGatewaySIMInfo) SetSessionStatus ¶
func (o *MobileGatewaySIMInfo) SetSessionStatus(v string)
SetSessionStatus sets value to SessionStatus
func (*MobileGatewaySIMInfo) SetTrafficBytesOfCurrentMonth ¶
func (o *MobileGatewaySIMInfo) SetTrafficBytesOfCurrentMonth(v *SIMTrafficBytes)
SetTrafficBytesOfCurrentMonth sets value to TrafficBytesOfCurrentMonth
type MobileGatewaySIMLogs ¶
type MobileGatewaySIMLogs struct { Date time.Time SessionStatus string ResourceID string IMEI string IMSI string }
MobileGatewaySIMLogs represents API parameter/response structure
func (*MobileGatewaySIMLogs) GetDate ¶
func (o *MobileGatewaySIMLogs) GetDate() time.Time
GetDate returns value of Date
func (*MobileGatewaySIMLogs) GetIMEI ¶
func (o *MobileGatewaySIMLogs) GetIMEI() string
GetIMEI returns value of IMEI
func (*MobileGatewaySIMLogs) GetIMSI ¶
func (o *MobileGatewaySIMLogs) GetIMSI() string
GetIMSI returns value of IMSI
func (*MobileGatewaySIMLogs) GetResourceID ¶
func (o *MobileGatewaySIMLogs) GetResourceID() string
GetResourceID returns value of ResourceID
func (*MobileGatewaySIMLogs) GetSessionStatus ¶
func (o *MobileGatewaySIMLogs) GetSessionStatus() string
GetSessionStatus returns value of SessionStatus
func (*MobileGatewaySIMLogs) SetDate ¶
func (o *MobileGatewaySIMLogs) SetDate(v time.Time)
SetDate sets value to Date
func (*MobileGatewaySIMLogs) SetIMEI ¶
func (o *MobileGatewaySIMLogs) SetIMEI(v string)
SetIMEI sets value to IMEI
func (*MobileGatewaySIMLogs) SetIMSI ¶
func (o *MobileGatewaySIMLogs) SetIMSI(v string)
SetIMSI sets value to IMSI
func (*MobileGatewaySIMLogs) SetResourceID ¶
func (o *MobileGatewaySIMLogs) SetResourceID(v string)
SetResourceID sets value to ResourceID
func (*MobileGatewaySIMLogs) SetSessionStatus ¶
func (o *MobileGatewaySIMLogs) SetSessionStatus(v string)
SetSessionStatus sets value to SessionStatus
type MobileGatewaySIMRoute ¶
MobileGatewaySIMRoute represents API parameter/response structure
func (*MobileGatewaySIMRoute) GetICCID ¶
func (o *MobileGatewaySIMRoute) GetICCID() string
GetICCID returns value of ICCID
func (*MobileGatewaySIMRoute) GetPrefix ¶
func (o *MobileGatewaySIMRoute) GetPrefix() string
GetPrefix returns value of Prefix
func (*MobileGatewaySIMRoute) GetResourceID ¶
func (o *MobileGatewaySIMRoute) GetResourceID() string
GetResourceID returns value of ResourceID
func (*MobileGatewaySIMRoute) SetICCID ¶
func (o *MobileGatewaySIMRoute) SetICCID(v string)
SetICCID sets value to ICCID
func (*MobileGatewaySIMRoute) SetPrefix ¶
func (o *MobileGatewaySIMRoute) SetPrefix(v string)
SetPrefix sets value to Prefix
func (*MobileGatewaySIMRoute) SetResourceID ¶
func (o *MobileGatewaySIMRoute) SetResourceID(v string)
SetResourceID sets value to ResourceID
type MobileGatewaySIMRouteParam ¶
MobileGatewaySIMRouteParam represents API parameter/response structure
func (*MobileGatewaySIMRouteParam) GetPrefix ¶
func (o *MobileGatewaySIMRouteParam) GetPrefix() string
GetPrefix returns value of Prefix
func (*MobileGatewaySIMRouteParam) GetResourceID ¶
func (o *MobileGatewaySIMRouteParam) GetResourceID() string
GetResourceID returns value of ResourceID
func (*MobileGatewaySIMRouteParam) SetPrefix ¶
func (o *MobileGatewaySIMRouteParam) SetPrefix(v string)
SetPrefix sets value to Prefix
func (*MobileGatewaySIMRouteParam) SetResourceID ¶
func (o *MobileGatewaySIMRouteParam) SetResourceID(v string)
SetResourceID sets value to ResourceID
type MobileGatewaySIMRoutes ¶
type MobileGatewaySIMRoutes []*MobileGatewaySIMRoute
func (*MobileGatewaySIMRoutes) Add ¶
func (o *MobileGatewaySIMRoutes) Add(route *MobileGatewaySIMRoute) error
func (*MobileGatewaySIMRoutes) Delete ¶
func (o *MobileGatewaySIMRoutes) Delete(resourceID types.ID) error
func (*MobileGatewaySIMRoutes) Exists ¶
func (o *MobileGatewaySIMRoutes) Exists(resourceID types.ID) bool
func (*MobileGatewaySIMRoutes) FindByID ¶
func (o *MobileGatewaySIMRoutes) FindByID(resourceID types.ID) *MobileGatewaySIMRoute
func (*MobileGatewaySIMRoutes) ToRequestParameter ¶
func (o *MobileGatewaySIMRoutes) ToRequestParameter() []*MobileGatewaySIMRouteParam
func (*MobileGatewaySIMRoutes) Update ¶
func (o *MobileGatewaySIMRoutes) Update(route *MobileGatewaySIMRoute) error
type MobileGatewaySIMs ¶
type MobileGatewaySIMs []*MobileGatewaySIMInfo
func (*MobileGatewaySIMs) FindByID ¶
func (o *MobileGatewaySIMs) FindByID(resourceID types.ID) *MobileGatewaySIMInfo
type MobileGatewayStaticRoute ¶
MobileGatewayStaticRoute represents API parameter/response structure
func (*MobileGatewayStaticRoute) GetNextHop ¶
func (o *MobileGatewayStaticRoute) GetNextHop() string
GetNextHop returns value of NextHop
func (*MobileGatewayStaticRoute) GetPrefix ¶
func (o *MobileGatewayStaticRoute) GetPrefix() string
GetPrefix returns value of Prefix
func (*MobileGatewayStaticRoute) SetNextHop ¶
func (o *MobileGatewayStaticRoute) SetNextHop(v string)
SetNextHop sets value to NextHop
func (*MobileGatewayStaticRoute) SetPrefix ¶
func (o *MobileGatewayStaticRoute) SetPrefix(v string)
SetPrefix sets value to Prefix
type MobileGatewayTrafficControl ¶
type MobileGatewayTrafficControl struct { TrafficQuotaInMB int BandWidthLimitInKbps int EmailNotifyEnabled bool `mapconv:"EMailConfig.Enabled"` SlackNotifyEnabled bool `mapconv:"SlackConfig.Enabled"` SlackNotifyWebhooksURL string `mapconv:"SlackConfig.IncomingWebhooksURL"` AutoTrafficShaping bool }
MobileGatewayTrafficControl represents API parameter/response structure
func (*MobileGatewayTrafficControl) GetAutoTrafficShaping ¶
func (o *MobileGatewayTrafficControl) GetAutoTrafficShaping() bool
GetAutoTrafficShaping returns value of AutoTrafficShaping
func (*MobileGatewayTrafficControl) GetBandWidthLimitInKbps ¶
func (o *MobileGatewayTrafficControl) GetBandWidthLimitInKbps() int
GetBandWidthLimitInKbps returns value of BandWidthLimitInKbps
func (*MobileGatewayTrafficControl) GetEmailNotifyEnabled ¶
func (o *MobileGatewayTrafficControl) GetEmailNotifyEnabled() bool
GetEmailNotifyEnabled returns value of EmailNotifyEnabled
func (*MobileGatewayTrafficControl) GetSlackNotifyEnabled ¶
func (o *MobileGatewayTrafficControl) GetSlackNotifyEnabled() bool
GetSlackNotifyEnabled returns value of SlackNotifyEnabled
func (*MobileGatewayTrafficControl) GetSlackNotifyWebhooksURL ¶
func (o *MobileGatewayTrafficControl) GetSlackNotifyWebhooksURL() string
GetSlackNotifyWebhooksURL returns value of SlackNotifyWebhooksURL
func (*MobileGatewayTrafficControl) GetTrafficQuotaInMB ¶
func (o *MobileGatewayTrafficControl) GetTrafficQuotaInMB() int
GetTrafficQuotaInMB returns value of TrafficQuotaInMB
func (*MobileGatewayTrafficControl) SetAutoTrafficShaping ¶
func (o *MobileGatewayTrafficControl) SetAutoTrafficShaping(v bool)
SetAutoTrafficShaping sets value to AutoTrafficShaping
func (*MobileGatewayTrafficControl) SetBandWidthLimitInKbps ¶
func (o *MobileGatewayTrafficControl) SetBandWidthLimitInKbps(v int)
SetBandWidthLimitInKbps sets value to BandWidthLimitInKbps
func (*MobileGatewayTrafficControl) SetEmailNotifyEnabled ¶
func (o *MobileGatewayTrafficControl) SetEmailNotifyEnabled(v bool)
SetEmailNotifyEnabled sets value to EmailNotifyEnabled
func (*MobileGatewayTrafficControl) SetSlackNotifyEnabled ¶
func (o *MobileGatewayTrafficControl) SetSlackNotifyEnabled(v bool)
SetSlackNotifyEnabled sets value to SlackNotifyEnabled
func (*MobileGatewayTrafficControl) SetSlackNotifyWebhooksURL ¶
func (o *MobileGatewayTrafficControl) SetSlackNotifyWebhooksURL(v string)
SetSlackNotifyWebhooksURL sets value to SlackNotifyWebhooksURL
func (*MobileGatewayTrafficControl) SetTrafficQuotaInMB ¶
func (o *MobileGatewayTrafficControl) SetTrafficQuotaInMB(v int)
SetTrafficQuotaInMB sets value to TrafficQuotaInMB
type MobileGatewayTrafficStatus ¶
type MobileGatewayTrafficStatus struct { UplinkBytes types.StringNumber DownlinkBytes types.StringNumber TrafficShaping bool }
MobileGatewayTrafficStatus represents API parameter/response structure
func (*MobileGatewayTrafficStatus) GetDownlinkBytes ¶
func (o *MobileGatewayTrafficStatus) GetDownlinkBytes() types.StringNumber
GetDownlinkBytes returns value of DownlinkBytes
func (*MobileGatewayTrafficStatus) GetTrafficShaping ¶
func (o *MobileGatewayTrafficStatus) GetTrafficShaping() bool
GetTrafficShaping returns value of TrafficShaping
func (*MobileGatewayTrafficStatus) GetUplinkBytes ¶
func (o *MobileGatewayTrafficStatus) GetUplinkBytes() types.StringNumber
GetUplinkBytes returns value of UplinkBytes
func (*MobileGatewayTrafficStatus) SetDownlinkBytes ¶
func (o *MobileGatewayTrafficStatus) SetDownlinkBytes(v types.StringNumber)
SetDownlinkBytes sets value to DownlinkBytes
func (*MobileGatewayTrafficStatus) SetTrafficShaping ¶
func (o *MobileGatewayTrafficStatus) SetTrafficShaping(v bool)
SetTrafficShaping sets value to TrafficShaping
func (*MobileGatewayTrafficStatus) SetUplinkBytes ¶
func (o *MobileGatewayTrafficStatus) SetUplinkBytes(v types.StringNumber)
SetUplinkBytes sets value to UplinkBytes
type MobileGatewayUpdateRequest ¶
type MobileGatewayUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` InterfaceSettings []*MobileGatewayInterfaceSetting `mapconv:"Settings.MobileGateway.[]Interfaces,recursive"` StaticRoutes []*MobileGatewayStaticRoute `mapconv:"Settings.MobileGateway.[]StaticRoutes,recursive"` InternetConnectionEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InternetConnection.Enabled"` InterDeviceCommunicationEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InterDeviceCommunication.Enabled"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
MobileGatewayUpdateRequest represents API parameter/response structure
func (*MobileGatewayUpdateRequest) AppendTag ¶
func (o *MobileGatewayUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*MobileGatewayUpdateRequest) ClearTags ¶
func (o *MobileGatewayUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*MobileGatewayUpdateRequest) GetDescription ¶
func (o *MobileGatewayUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*MobileGatewayUpdateRequest) GetIconID ¶
func (o *MobileGatewayUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*MobileGatewayUpdateRequest) GetInterDeviceCommunicationEnabled ¶
func (o *MobileGatewayUpdateRequest) GetInterDeviceCommunicationEnabled() types.StringFlag
GetInterDeviceCommunicationEnabled returns value of InterDeviceCommunicationEnabled
func (*MobileGatewayUpdateRequest) GetInterfaceSettings ¶
func (o *MobileGatewayUpdateRequest) GetInterfaceSettings() []*MobileGatewayInterfaceSetting
GetInterfaceSettings returns value of InterfaceSettings
func (*MobileGatewayUpdateRequest) GetInternetConnectionEnabled ¶
func (o *MobileGatewayUpdateRequest) GetInternetConnectionEnabled() types.StringFlag
GetInternetConnectionEnabled returns value of InternetConnectionEnabled
func (*MobileGatewayUpdateRequest) GetName ¶
func (o *MobileGatewayUpdateRequest) GetName() string
GetName returns value of Name
func (*MobileGatewayUpdateRequest) GetSettingsHash ¶
func (o *MobileGatewayUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*MobileGatewayUpdateRequest) GetStaticRoutes ¶
func (o *MobileGatewayUpdateRequest) GetStaticRoutes() []*MobileGatewayStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*MobileGatewayUpdateRequest) GetTags ¶
func (o *MobileGatewayUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*MobileGatewayUpdateRequest) HasTag ¶
func (o *MobileGatewayUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*MobileGatewayUpdateRequest) RemoveTag ¶
func (o *MobileGatewayUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*MobileGatewayUpdateRequest) SetDescription ¶
func (o *MobileGatewayUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*MobileGatewayUpdateRequest) SetIconID ¶
func (o *MobileGatewayUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*MobileGatewayUpdateRequest) SetInterDeviceCommunicationEnabled ¶
func (o *MobileGatewayUpdateRequest) SetInterDeviceCommunicationEnabled(v types.StringFlag)
SetInterDeviceCommunicationEnabled sets value to InterDeviceCommunicationEnabled
func (*MobileGatewayUpdateRequest) SetInterfaceSettings ¶
func (o *MobileGatewayUpdateRequest) SetInterfaceSettings(v []*MobileGatewayInterfaceSetting)
SetInterfaceSettings sets value to InterfaceSettings
func (*MobileGatewayUpdateRequest) SetInternetConnectionEnabled ¶
func (o *MobileGatewayUpdateRequest) SetInternetConnectionEnabled(v types.StringFlag)
SetInternetConnectionEnabled sets value to InternetConnectionEnabled
func (*MobileGatewayUpdateRequest) SetName ¶
func (o *MobileGatewayUpdateRequest) SetName(v string)
SetName sets value to Name
func (*MobileGatewayUpdateRequest) SetSettingsHash ¶
func (o *MobileGatewayUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*MobileGatewayUpdateRequest) SetStaticRoutes ¶
func (o *MobileGatewayUpdateRequest) SetStaticRoutes(v []*MobileGatewayStaticRoute)
SetStaticRoutes sets value to StaticRoutes
func (*MobileGatewayUpdateRequest) SetTags ¶
func (o *MobileGatewayUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type MobileGatewayUpdateSettingsRequest ¶
type MobileGatewayUpdateSettingsRequest struct { InterfaceSettings []*MobileGatewayInterfaceSetting `mapconv:"Settings.MobileGateway.[]Interfaces,recursive"` StaticRoutes []*MobileGatewayStaticRoute `mapconv:"Settings.MobileGateway.[]StaticRoutes,recursive"` InternetConnectionEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InternetConnection.Enabled"` InterDeviceCommunicationEnabled types.StringFlag `mapconv:"Settings.MobileGateway.InterDeviceCommunication.Enabled"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
MobileGatewayUpdateSettingsRequest represents API parameter/response structure
func (*MobileGatewayUpdateSettingsRequest) GetInterDeviceCommunicationEnabled ¶
func (o *MobileGatewayUpdateSettingsRequest) GetInterDeviceCommunicationEnabled() types.StringFlag
GetInterDeviceCommunicationEnabled returns value of InterDeviceCommunicationEnabled
func (*MobileGatewayUpdateSettingsRequest) GetInterfaceSettings ¶
func (o *MobileGatewayUpdateSettingsRequest) GetInterfaceSettings() []*MobileGatewayInterfaceSetting
GetInterfaceSettings returns value of InterfaceSettings
func (*MobileGatewayUpdateSettingsRequest) GetInternetConnectionEnabled ¶
func (o *MobileGatewayUpdateSettingsRequest) GetInternetConnectionEnabled() types.StringFlag
GetInternetConnectionEnabled returns value of InternetConnectionEnabled
func (*MobileGatewayUpdateSettingsRequest) GetSettingsHash ¶
func (o *MobileGatewayUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*MobileGatewayUpdateSettingsRequest) GetStaticRoutes ¶
func (o *MobileGatewayUpdateSettingsRequest) GetStaticRoutes() []*MobileGatewayStaticRoute
GetStaticRoutes returns value of StaticRoutes
func (*MobileGatewayUpdateSettingsRequest) SetInterDeviceCommunicationEnabled ¶
func (o *MobileGatewayUpdateSettingsRequest) SetInterDeviceCommunicationEnabled(v types.StringFlag)
SetInterDeviceCommunicationEnabled sets value to InterDeviceCommunicationEnabled
func (*MobileGatewayUpdateSettingsRequest) SetInterfaceSettings ¶
func (o *MobileGatewayUpdateSettingsRequest) SetInterfaceSettings(v []*MobileGatewayInterfaceSetting)
SetInterfaceSettings sets value to InterfaceSettings
func (*MobileGatewayUpdateSettingsRequest) SetInternetConnectionEnabled ¶
func (o *MobileGatewayUpdateSettingsRequest) SetInternetConnectionEnabled(v types.StringFlag)
SetInternetConnectionEnabled sets value to InternetConnectionEnabled
func (*MobileGatewayUpdateSettingsRequest) SetSettingsHash ¶
func (o *MobileGatewayUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*MobileGatewayUpdateSettingsRequest) SetStaticRoutes ¶
func (o *MobileGatewayUpdateSettingsRequest) SetStaticRoutes(v []*MobileGatewayStaticRoute)
SetStaticRoutes sets value to StaticRoutes
type MonitorCPUTimeValue ¶
type MonitorCPUTimeValue struct { Time time.Time `mapconv:",omitempty"` CPUTime float64 `mapconv:",omitempty"` }
MonitorCPUTimeValue represents API parameter/response structure
func (*MonitorCPUTimeValue) GetCPUTime ¶
func (o *MonitorCPUTimeValue) GetCPUTime() float64
GetCPUTime returns value of CPUTime
func (*MonitorCPUTimeValue) GetTime ¶
func (o *MonitorCPUTimeValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorCPUTimeValue) SetCPUTime ¶
func (o *MonitorCPUTimeValue) SetCPUTime(v float64)
SetCPUTime sets value to CPUTime
func (*MonitorCPUTimeValue) SetTime ¶
func (o *MonitorCPUTimeValue) SetTime(v time.Time)
SetTime sets value to Time
type MonitorCondition ¶
type MonitorCondition struct { Start time.Time `json:",omitempty"` End time.Time `json:",omitempty"` }
MonitorCondition represents API parameter/response structure
func (*MonitorCondition) GetEnd ¶
func (o *MonitorCondition) GetEnd() time.Time
GetEnd returns value of End
func (*MonitorCondition) GetStart ¶
func (o *MonitorCondition) GetStart() time.Time
GetStart returns value of Start
func (*MonitorCondition) SetEnd ¶
func (o *MonitorCondition) SetEnd(v time.Time)
SetEnd sets value to End
func (*MonitorCondition) SetStart ¶
func (o *MonitorCondition) SetStart(v time.Time)
SetStart sets value to Start
type MonitorConnectionValue ¶
type MonitorConnectionValue struct { Time time.Time `mapconv:",omitempty"` ActiveConnections float64 `mapconv:",omitempty"` ConnectionsPerSec float64 `mapconv:",omitempty"` }
MonitorConnectionValue represents API parameter/response structure
func (*MonitorConnectionValue) GetActiveConnections ¶
func (o *MonitorConnectionValue) GetActiveConnections() float64
GetActiveConnections returns value of ActiveConnections
func (*MonitorConnectionValue) GetConnectionsPerSec ¶
func (o *MonitorConnectionValue) GetConnectionsPerSec() float64
GetConnectionsPerSec returns value of ConnectionsPerSec
func (*MonitorConnectionValue) GetTime ¶
func (o *MonitorConnectionValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorConnectionValue) SetActiveConnections ¶
func (o *MonitorConnectionValue) SetActiveConnections(v float64)
SetActiveConnections sets value to ActiveConnections
func (*MonitorConnectionValue) SetConnectionsPerSec ¶
func (o *MonitorConnectionValue) SetConnectionsPerSec(v float64)
SetConnectionsPerSec sets value to ConnectionsPerSec
func (*MonitorConnectionValue) SetTime ¶
func (o *MonitorConnectionValue) SetTime(v time.Time)
SetTime sets value to Time
type MonitorDatabaseValue ¶
type MonitorDatabaseValue struct { Time time.Time `mapconv:",omitempty"` TotalMemorySize float64 `mapconv:",omitempty"` UsedMemorySize float64 `mapconv:",omitempty"` TotalDisk1Size float64 `mapconv:",omitempty"` UsedDisk1Size float64 `mapconv:",omitempty"` TotalDisk2Size float64 `mapconv:",omitempty"` UsedDisk2Size float64 `mapconv:",omitempty"` BinlogUsedSizeKiB float64 `mapconv:",omitempty"` DelayTimeSec float64 `mapconv:",omitempty"` }
MonitorDatabaseValue represents API parameter/response structure
func (*MonitorDatabaseValue) GetBinlogUsedSizeKiB ¶
func (o *MonitorDatabaseValue) GetBinlogUsedSizeKiB() float64
GetBinlogUsedSizeKiB returns value of BinlogUsedSizeKiB
func (*MonitorDatabaseValue) GetDelayTimeSec ¶
func (o *MonitorDatabaseValue) GetDelayTimeSec() float64
GetDelayTimeSec returns value of DelayTimeSec
func (*MonitorDatabaseValue) GetTime ¶
func (o *MonitorDatabaseValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorDatabaseValue) GetTotalDisk1Size ¶
func (o *MonitorDatabaseValue) GetTotalDisk1Size() float64
GetTotalDisk1Size returns value of TotalDisk1Size
func (*MonitorDatabaseValue) GetTotalDisk2Size ¶
func (o *MonitorDatabaseValue) GetTotalDisk2Size() float64
GetTotalDisk2Size returns value of TotalDisk2Size
func (*MonitorDatabaseValue) GetTotalMemorySize ¶
func (o *MonitorDatabaseValue) GetTotalMemorySize() float64
GetTotalMemorySize returns value of TotalMemorySize
func (*MonitorDatabaseValue) GetUsedDisk1Size ¶
func (o *MonitorDatabaseValue) GetUsedDisk1Size() float64
GetUsedDisk1Size returns value of UsedDisk1Size
func (*MonitorDatabaseValue) GetUsedDisk2Size ¶
func (o *MonitorDatabaseValue) GetUsedDisk2Size() float64
GetUsedDisk2Size returns value of UsedDisk2Size
func (*MonitorDatabaseValue) GetUsedMemorySize ¶
func (o *MonitorDatabaseValue) GetUsedMemorySize() float64
GetUsedMemorySize returns value of UsedMemorySize
func (*MonitorDatabaseValue) SetBinlogUsedSizeKiB ¶
func (o *MonitorDatabaseValue) SetBinlogUsedSizeKiB(v float64)
SetBinlogUsedSizeKiB sets value to BinlogUsedSizeKiB
func (*MonitorDatabaseValue) SetDelayTimeSec ¶
func (o *MonitorDatabaseValue) SetDelayTimeSec(v float64)
SetDelayTimeSec sets value to DelayTimeSec
func (*MonitorDatabaseValue) SetTime ¶
func (o *MonitorDatabaseValue) SetTime(v time.Time)
SetTime sets value to Time
func (*MonitorDatabaseValue) SetTotalDisk1Size ¶
func (o *MonitorDatabaseValue) SetTotalDisk1Size(v float64)
SetTotalDisk1Size sets value to TotalDisk1Size
func (*MonitorDatabaseValue) SetTotalDisk2Size ¶
func (o *MonitorDatabaseValue) SetTotalDisk2Size(v float64)
SetTotalDisk2Size sets value to TotalDisk2Size
func (*MonitorDatabaseValue) SetTotalMemorySize ¶
func (o *MonitorDatabaseValue) SetTotalMemorySize(v float64)
SetTotalMemorySize sets value to TotalMemorySize
func (*MonitorDatabaseValue) SetUsedDisk1Size ¶
func (o *MonitorDatabaseValue) SetUsedDisk1Size(v float64)
SetUsedDisk1Size sets value to UsedDisk1Size
func (*MonitorDatabaseValue) SetUsedDisk2Size ¶
func (o *MonitorDatabaseValue) SetUsedDisk2Size(v float64)
SetUsedDisk2Size sets value to UsedDisk2Size
func (*MonitorDatabaseValue) SetUsedMemorySize ¶
func (o *MonitorDatabaseValue) SetUsedMemorySize(v float64)
SetUsedMemorySize sets value to UsedMemorySize
type MonitorDiskValue ¶
type MonitorDiskValue struct { Time time.Time `mapconv:",omitempty"` Read float64 `mapconv:",omitempty"` Write float64 `mapconv:",omitempty"` }
MonitorDiskValue represents API parameter/response structure
func (*MonitorDiskValue) GetRead ¶
func (o *MonitorDiskValue) GetRead() float64
GetRead returns value of Read
func (*MonitorDiskValue) GetTime ¶
func (o *MonitorDiskValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorDiskValue) GetWrite ¶
func (o *MonitorDiskValue) GetWrite() float64
GetWrite returns value of Write
func (*MonitorDiskValue) SetRead ¶
func (o *MonitorDiskValue) SetRead(v float64)
SetRead sets value to Read
func (*MonitorDiskValue) SetTime ¶
func (o *MonitorDiskValue) SetTime(v time.Time)
SetTime sets value to Time
func (*MonitorDiskValue) SetWrite ¶
func (o *MonitorDiskValue) SetWrite(v float64)
SetWrite sets value to Write
type MonitorFreeDiskSizeValue ¶
type MonitorFreeDiskSizeValue struct { Time time.Time `mapconv:",omitempty"` FreeDiskSize float64 `mapconv:",omitempty"` }
MonitorFreeDiskSizeValue represents API parameter/response structure
func (*MonitorFreeDiskSizeValue) GetFreeDiskSize ¶
func (o *MonitorFreeDiskSizeValue) GetFreeDiskSize() float64
GetFreeDiskSize returns value of FreeDiskSize
func (*MonitorFreeDiskSizeValue) GetTime ¶
func (o *MonitorFreeDiskSizeValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorFreeDiskSizeValue) SetFreeDiskSize ¶
func (o *MonitorFreeDiskSizeValue) SetFreeDiskSize(v float64)
SetFreeDiskSize sets value to FreeDiskSize
func (*MonitorFreeDiskSizeValue) SetTime ¶
func (o *MonitorFreeDiskSizeValue) SetTime(v time.Time)
SetTime sets value to Time
type MonitorInterfaceValue ¶
type MonitorInterfaceValue struct { Time time.Time `mapconv:",omitempty"` Receive float64 `mapconv:",omitempty"` Send float64 `mapconv:",omitempty"` }
MonitorInterfaceValue represents API parameter/response structure
func (*MonitorInterfaceValue) GetReceive ¶
func (o *MonitorInterfaceValue) GetReceive() float64
GetReceive returns value of Receive
func (*MonitorInterfaceValue) GetSend ¶
func (o *MonitorInterfaceValue) GetSend() float64
GetSend returns value of Send
func (*MonitorInterfaceValue) GetTime ¶
func (o *MonitorInterfaceValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorInterfaceValue) SetReceive ¶
func (o *MonitorInterfaceValue) SetReceive(v float64)
SetReceive sets value to Receive
func (*MonitorInterfaceValue) SetSend ¶
func (o *MonitorInterfaceValue) SetSend(v float64)
SetSend sets value to Send
func (*MonitorInterfaceValue) SetTime ¶
func (o *MonitorInterfaceValue) SetTime(v time.Time)
SetTime sets value to Time
type MonitorLinkValue ¶
type MonitorLinkValue struct { Time time.Time `mapconv:",omitempty"` UplinkBPS float64 `mapconv:",omitempty"` DownlinkBPS float64 `mapconv:",omitempty"` }
MonitorLinkValue represents API parameter/response structure
func (*MonitorLinkValue) GetDownlinkBPS ¶
func (o *MonitorLinkValue) GetDownlinkBPS() float64
GetDownlinkBPS returns value of DownlinkBPS
func (*MonitorLinkValue) GetTime ¶
func (o *MonitorLinkValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorLinkValue) GetUplinkBPS ¶
func (o *MonitorLinkValue) GetUplinkBPS() float64
GetUplinkBPS returns value of UplinkBPS
func (*MonitorLinkValue) SetDownlinkBPS ¶
func (o *MonitorLinkValue) SetDownlinkBPS(v float64)
SetDownlinkBPS sets value to DownlinkBPS
func (*MonitorLinkValue) SetTime ¶
func (o *MonitorLinkValue) SetTime(v time.Time)
SetTime sets value to Time
func (*MonitorLinkValue) SetUplinkBPS ¶
func (o *MonitorLinkValue) SetUplinkBPS(v float64)
SetUplinkBPS sets value to UplinkBPS
type MonitorLocalRouterValue ¶
type MonitorLocalRouterValue struct { Time time.Time `mapconv:",omitempty"` ReceiveBytesPerSec float64 `mapconv:",omitempty"` SendBytesPerSec float64 `mapconv:",omitempty"` }
MonitorLocalRouterValue represents API parameter/response structure
func (*MonitorLocalRouterValue) GetReceiveBytesPerSec ¶
func (o *MonitorLocalRouterValue) GetReceiveBytesPerSec() float64
GetReceiveBytesPerSec returns value of ReceiveBytesPerSec
func (*MonitorLocalRouterValue) GetSendBytesPerSec ¶
func (o *MonitorLocalRouterValue) GetSendBytesPerSec() float64
GetSendBytesPerSec returns value of SendBytesPerSec
func (*MonitorLocalRouterValue) GetTime ¶
func (o *MonitorLocalRouterValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorLocalRouterValue) SetReceiveBytesPerSec ¶
func (o *MonitorLocalRouterValue) SetReceiveBytesPerSec(v float64)
SetReceiveBytesPerSec sets value to ReceiveBytesPerSec
func (*MonitorLocalRouterValue) SetSendBytesPerSec ¶
func (o *MonitorLocalRouterValue) SetSendBytesPerSec(v float64)
SetSendBytesPerSec sets value to SendBytesPerSec
func (*MonitorLocalRouterValue) SetTime ¶
func (o *MonitorLocalRouterValue) SetTime(v time.Time)
SetTime sets value to Time
type MonitorResponseTimeSecValue ¶
type MonitorResponseTimeSecValue struct { Time time.Time `mapconv:",omitempty"` ResponseTimeSec float64 `mapconv:",omitempty"` }
MonitorResponseTimeSecValue represents API parameter/response structure
func (*MonitorResponseTimeSecValue) GetResponseTimeSec ¶
func (o *MonitorResponseTimeSecValue) GetResponseTimeSec() float64
GetResponseTimeSec returns value of ResponseTimeSec
func (*MonitorResponseTimeSecValue) GetTime ¶
func (o *MonitorResponseTimeSecValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorResponseTimeSecValue) SetResponseTimeSec ¶
func (o *MonitorResponseTimeSecValue) SetResponseTimeSec(v float64)
SetResponseTimeSec sets value to ResponseTimeSec
func (*MonitorResponseTimeSecValue) SetTime ¶
func (o *MonitorResponseTimeSecValue) SetTime(v time.Time)
SetTime sets value to Time
type MonitorRouterValue ¶
type MonitorRouterValue struct { Time time.Time `mapconv:",omitempty"` In float64 `mapconv:",omitempty"` Out float64 `mapconv:",omitempty"` }
MonitorRouterValue represents API parameter/response structure
func (*MonitorRouterValue) GetIn ¶
func (o *MonitorRouterValue) GetIn() float64
GetIn returns value of In
func (*MonitorRouterValue) GetOut ¶
func (o *MonitorRouterValue) GetOut() float64
GetOut returns value of Out
func (*MonitorRouterValue) GetTime ¶
func (o *MonitorRouterValue) GetTime() time.Time
GetTime returns value of Time
func (*MonitorRouterValue) SetIn ¶
func (o *MonitorRouterValue) SetIn(v float64)
SetIn sets value to In
func (*MonitorRouterValue) SetOut ¶
func (o *MonitorRouterValue) SetOut(v float64)
SetOut sets value to Out
func (*MonitorRouterValue) SetTime ¶
func (o *MonitorRouterValue) SetTime(v time.Time)
SetTime sets value to Time
type NFS ¶
type NFS struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Class string InstanceHostName string `mapconv:"Instance.Host.Name"` InstanceHostInfoURL string `mapconv:"Instance.Host.InfoURL"` InstanceStatus types.EServerInstanceStatus `mapconv:"Instance.Status"` InstanceStatusChangedAt time.Time `mapconv:"Instance.StatusChangedAt"` Interfaces []*InterfaceView `json:",omitempty" mapconv:"[]Interfaces,recursive,omitempty"` PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` SwitchID types.ID `mapconv:"Remark.Switch.ID"` DefaultRoute string `mapconv:"Remark.Network.DefaultRoute"` NetworkMaskLen int `mapconv:"Remark.Network.NetworkMaskLen"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` ZoneID types.ID `mapconv:"Remark.Zone.ID"` IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time SwitchName string `mapconv:"Switch.Name"` }
NFS represents API parameter/response structure
func (*NFS) GetAvailability ¶
func (o *NFS) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*NFS) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*NFS) GetDefaultRoute ¶
GetDefaultRoute returns value of DefaultRoute
func (*NFS) GetDescription ¶
GetDescription returns value of Description
func (*NFS) GetIPAddresses ¶
GetIPAddresses returns value of IPAddresses
func (*NFS) GetInstanceHostInfoURL ¶
GetInstanceHostInfoURL returns value of InstanceHostInfoURL
func (*NFS) GetInstanceHostName ¶
GetInstanceHostName returns value of InstanceHostName
func (*NFS) GetInstanceStatus ¶
func (o *NFS) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus returns value of InstanceStatus
func (*NFS) GetInstanceStatusChangedAt ¶
GetInstanceStatusChangedAt returns value of InstanceStatusChangedAt
func (*NFS) GetInterfaces ¶
func (o *NFS) GetInterfaces() []*InterfaceView
GetInterfaces returns value of Interfaces
func (*NFS) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*NFS) GetNetworkMaskLen ¶
GetNetworkMaskLen returns value of NetworkMaskLen
func (*NFS) GetSwitchID ¶
GetSwitchID returns value of SwitchID
func (*NFS) GetSwitchName ¶
GetSwitchName returns value of SwitchName
func (*NFS) SetAvailability ¶
func (o *NFS) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*NFS) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*NFS) SetDefaultRoute ¶
SetDefaultRoute sets value to DefaultRoute
func (*NFS) SetDescription ¶
SetDescription sets value to Description
func (*NFS) SetIPAddresses ¶
SetIPAddresses sets value to IPAddresses
func (*NFS) SetInstanceHostInfoURL ¶
SetInstanceHostInfoURL sets value to InstanceHostInfoURL
func (*NFS) SetInstanceHostName ¶
SetInstanceHostName sets value to InstanceHostName
func (*NFS) SetInstanceStatus ¶
func (o *NFS) SetInstanceStatus(v types.EServerInstanceStatus)
SetInstanceStatus sets value to InstanceStatus
func (*NFS) SetInstanceStatusChangedAt ¶
SetInstanceStatusChangedAt sets value to InstanceStatusChangedAt
func (*NFS) SetInterfaces ¶
func (o *NFS) SetInterfaces(v []*InterfaceView)
SetInterfaces sets value to Interfaces
func (*NFS) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*NFS) SetNetworkMaskLen ¶
SetNetworkMaskLen sets value to NetworkMaskLen
func (*NFS) SetSwitchName ¶
SetSwitchName sets value to SwitchName
type NFSAPI ¶
type NFSAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*NFSFindResult, error) Create(ctx context.Context, zone string, param *NFSCreateRequest) (*NFS, error) Read(ctx context.Context, zone string, id types.ID) (*NFS, error) Update(ctx context.Context, zone string, id types.ID, param *NFSUpdateRequest) (*NFS, error) Delete(ctx context.Context, zone string, id types.ID) error Boot(ctx context.Context, zone string, id types.ID) error Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error Reset(ctx context.Context, zone string, id types.ID) error MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error) MonitorFreeDiskSize(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*FreeDiskSizeActivity, error) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error) }
NFSAPI is interface for operate NFS resource
type NFSCreateRequest ¶
type NFSCreateRequest struct { SwitchID types.ID `mapconv:"Remark.Switch.ID"` PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` NetworkMaskLen int `mapconv:"Remark.Network.NetworkMaskLen"` DefaultRoute string `mapconv:"Remark.Network.DefaultRoute"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
NFSCreateRequest represents API parameter/response structure
func (*NFSCreateRequest) AppendTag ¶
func (o *NFSCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*NFSCreateRequest) GetDefaultRoute ¶
func (o *NFSCreateRequest) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*NFSCreateRequest) GetDescription ¶
func (o *NFSCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*NFSCreateRequest) GetIPAddresses ¶
func (o *NFSCreateRequest) GetIPAddresses() []string
GetIPAddresses returns value of IPAddresses
func (*NFSCreateRequest) GetIconID ¶
func (o *NFSCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*NFSCreateRequest) GetName ¶
func (o *NFSCreateRequest) GetName() string
GetName returns value of Name
func (*NFSCreateRequest) GetNetworkMaskLen ¶
func (o *NFSCreateRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*NFSCreateRequest) GetPlanID ¶
func (o *NFSCreateRequest) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*NFSCreateRequest) GetSwitchID ¶
func (o *NFSCreateRequest) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*NFSCreateRequest) GetTags ¶
func (o *NFSCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*NFSCreateRequest) HasTag ¶
func (o *NFSCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*NFSCreateRequest) RemoveTag ¶
func (o *NFSCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*NFSCreateRequest) SetDefaultRoute ¶
func (o *NFSCreateRequest) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*NFSCreateRequest) SetDescription ¶
func (o *NFSCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*NFSCreateRequest) SetIPAddresses ¶
func (o *NFSCreateRequest) SetIPAddresses(v []string)
SetIPAddresses sets value to IPAddresses
func (*NFSCreateRequest) SetIconID ¶
func (o *NFSCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*NFSCreateRequest) SetName ¶
func (o *NFSCreateRequest) SetName(v string)
SetName sets value to Name
func (*NFSCreateRequest) SetNetworkMaskLen ¶
func (o *NFSCreateRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*NFSCreateRequest) SetPlanID ¶
func (o *NFSCreateRequest) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*NFSCreateRequest) SetSwitchID ¶
func (o *NFSCreateRequest) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*NFSCreateRequest) SetTags ¶
func (o *NFSCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type NFSFindResult ¶
type NFSFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page NFS []*NFS `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"` }
NFSFindResult represents the Result of API
func (*NFSFindResult) Values ¶
func (r *NFSFindResult) Values() []interface{}
Values returns find results
type NFSOp ¶
type NFSOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
NFSOp implements NFSAPI interface
func (*NFSOp) Find ¶
func (o *NFSOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*NFSFindResult, error)
Find is API call
func (*NFSOp) MonitorCPU ¶
func (o *NFSOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
MonitorCPU is API call
func (*NFSOp) MonitorFreeDiskSize ¶
func (o *NFSOp) MonitorFreeDiskSize(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*FreeDiskSizeActivity, error)
MonitorFreeDiskSize is API call
func (*NFSOp) MonitorInterface ¶
func (o *NFSOp) MonitorInterface(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*InterfaceActivity, error)
MonitorInterface is API call
type NFSUpdateRequest ¶
type NFSUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
NFSUpdateRequest represents API parameter/response structure
func (*NFSUpdateRequest) AppendTag ¶
func (o *NFSUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*NFSUpdateRequest) GetDescription ¶
func (o *NFSUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*NFSUpdateRequest) GetIconID ¶
func (o *NFSUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*NFSUpdateRequest) GetName ¶
func (o *NFSUpdateRequest) GetName() string
GetName returns value of Name
func (*NFSUpdateRequest) GetTags ¶
func (o *NFSUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*NFSUpdateRequest) HasTag ¶
func (o *NFSUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*NFSUpdateRequest) RemoveTag ¶
func (o *NFSUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*NFSUpdateRequest) SetDescription ¶
func (o *NFSUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*NFSUpdateRequest) SetIconID ¶
func (o *NFSUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*NFSUpdateRequest) SetName ¶
func (o *NFSUpdateRequest) SetName(v string)
SetName sets value to Name
func (*NFSUpdateRequest) SetTags ¶
func (o *NFSUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type NoResultsError ¶
type NoResultsError struct {
// contains filtered or unexported fields
}
NoResultsError APIが返した応答に処理すべきデータが含まれていない場合を示すエラー型
func NewNoResultsError ¶
func NewNoResultsError() *NoResultsError
NewNoResultsError NoResultErrorを返す
type Note ¶
type Note struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Scope types.EScope Class string Content string IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time }
Note represents API parameter/response structure
func (*Note) GetAvailability ¶
func (o *Note) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*Note) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Note) GetDescription ¶
GetDescription returns value of Description
func (*Note) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Note) SetAvailability ¶
func (o *Note) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*Note) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Note) SetDescription ¶
SetDescription sets value to Description
func (*Note) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
type NoteAPI ¶
type NoteAPI interface { Find(ctx context.Context, conditions *FindCondition) (*NoteFindResult, error) Create(ctx context.Context, param *NoteCreateRequest) (*Note, error) Read(ctx context.Context, id types.ID) (*Note, error) Update(ctx context.Context, id types.ID, param *NoteUpdateRequest) (*Note, error) Delete(ctx context.Context, id types.ID) error }
NoteAPI is interface for operate Note resource
type NoteCreateRequest ¶
type NoteCreateRequest struct { Name string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Class string Content string }
NoteCreateRequest represents API parameter/response structure
func (*NoteCreateRequest) AppendTag ¶
func (o *NoteCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*NoteCreateRequest) GetClass ¶
func (o *NoteCreateRequest) GetClass() string
GetClass returns value of Class
func (*NoteCreateRequest) GetContent ¶
func (o *NoteCreateRequest) GetContent() string
GetContent returns value of Content
func (*NoteCreateRequest) GetIconID ¶
func (o *NoteCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*NoteCreateRequest) GetName ¶
func (o *NoteCreateRequest) GetName() string
GetName returns value of Name
func (*NoteCreateRequest) GetTags ¶
func (o *NoteCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*NoteCreateRequest) HasTag ¶
func (o *NoteCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*NoteCreateRequest) RemoveTag ¶
func (o *NoteCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*NoteCreateRequest) SetClass ¶
func (o *NoteCreateRequest) SetClass(v string)
SetClass sets value to Class
func (*NoteCreateRequest) SetContent ¶
func (o *NoteCreateRequest) SetContent(v string)
SetContent sets value to Content
func (*NoteCreateRequest) SetIconID ¶
func (o *NoteCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*NoteCreateRequest) SetName ¶
func (o *NoteCreateRequest) SetName(v string)
SetName sets value to Name
func (*NoteCreateRequest) SetTags ¶
func (o *NoteCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type NoteFindResult ¶
type NoteFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Notes []*Note `json:",omitempty" mapconv:"[]Notes,omitempty,recursive"` }
NoteFindResult represents the Result of API
func (*NoteFindResult) Values ¶
func (r *NoteFindResult) Values() []interface{}
Values returns find results
type NoteOp ¶
type NoteOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
NoteOp implements NoteAPI interface
func (*NoteOp) Find ¶
func (o *NoteOp) Find(ctx context.Context, conditions *FindCondition) (*NoteFindResult, error)
Find is API call
type NoteUpdateRequest ¶
type NoteUpdateRequest struct { Name string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Class string Content string }
NoteUpdateRequest represents API parameter/response structure
func (*NoteUpdateRequest) AppendTag ¶
func (o *NoteUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*NoteUpdateRequest) GetClass ¶
func (o *NoteUpdateRequest) GetClass() string
GetClass returns value of Class
func (*NoteUpdateRequest) GetContent ¶
func (o *NoteUpdateRequest) GetContent() string
GetContent returns value of Content
func (*NoteUpdateRequest) GetIconID ¶
func (o *NoteUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*NoteUpdateRequest) GetName ¶
func (o *NoteUpdateRequest) GetName() string
GetName returns value of Name
func (*NoteUpdateRequest) GetTags ¶
func (o *NoteUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*NoteUpdateRequest) HasTag ¶
func (o *NoteUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*NoteUpdateRequest) RemoveTag ¶
func (o *NoteUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*NoteUpdateRequest) SetClass ¶
func (o *NoteUpdateRequest) SetClass(v string)
SetClass sets value to Class
func (*NoteUpdateRequest) SetContent ¶
func (o *NoteUpdateRequest) SetContent(v string)
SetContent sets value to Content
func (*NoteUpdateRequest) SetIconID ¶
func (o *NoteUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*NoteUpdateRequest) SetName ¶
func (o *NoteUpdateRequest) SetName(v string)
SetName sets value to Name
func (*NoteUpdateRequest) SetTags ¶
func (o *NoteUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type OpenFTPRequest ¶
type OpenFTPRequest struct {
ChangePassword bool
}
OpenFTPRequest represents API parameter/response structure
func (*OpenFTPRequest) GetChangePassword ¶
func (o *OpenFTPRequest) GetChangePassword() bool
GetChangePassword returns value of ChangePassword
func (*OpenFTPRequest) SetChangePassword ¶
func (o *OpenFTPRequest) SetChangePassword(v bool)
SetChangePassword sets value to ChangePassword
type PacketFilter ¶
type PacketFilter struct { ID types.ID Name string Description string RequiredHostVersion types.StringNumber Expression []*PacketFilterExpression `mapconv:"[]Expression,recursive"` ExpressionHash string CreatedAt time.Time }
PacketFilter represents API parameter/response structure
func (*PacketFilter) GetCreatedAt ¶
func (o *PacketFilter) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*PacketFilter) GetDescription ¶
func (o *PacketFilter) GetDescription() string
GetDescription returns value of Description
func (*PacketFilter) GetExpression ¶
func (o *PacketFilter) GetExpression() []*PacketFilterExpression
GetExpression returns value of Expression
func (*PacketFilter) GetExpressionHash ¶
func (o *PacketFilter) GetExpressionHash() string
GetExpressionHash returns value of ExpressionHash
func (*PacketFilter) GetName ¶
func (o *PacketFilter) GetName() string
GetName returns value of Name
func (*PacketFilter) GetRequiredHostVersion ¶
func (o *PacketFilter) GetRequiredHostVersion() types.StringNumber
GetRequiredHostVersion returns value of RequiredHostVersion
func (*PacketFilter) SetCreatedAt ¶
func (o *PacketFilter) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*PacketFilter) SetDescription ¶
func (o *PacketFilter) SetDescription(v string)
SetDescription sets value to Description
func (*PacketFilter) SetExpression ¶
func (o *PacketFilter) SetExpression(v []*PacketFilterExpression)
SetExpression sets value to Expression
func (*PacketFilter) SetExpressionHash ¶
func (o *PacketFilter) SetExpressionHash(v string)
SetExpressionHash sets value to ExpressionHash
func (*PacketFilter) SetRequiredHostVersion ¶
func (o *PacketFilter) SetRequiredHostVersion(v types.StringNumber)
SetRequiredHostVersion sets value to RequiredHostVersion
type PacketFilterAPI ¶
type PacketFilterAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*PacketFilterFindResult, error) Create(ctx context.Context, zone string, param *PacketFilterCreateRequest) (*PacketFilter, error) Read(ctx context.Context, zone string, id types.ID) (*PacketFilter, error) Update(ctx context.Context, zone string, id types.ID, updateParam *PacketFilterUpdateRequest, originalExpressionHash string) (*PacketFilter, error) Delete(ctx context.Context, zone string, id types.ID) error }
PacketFilterAPI is interface for operate PacketFilter resource
func NewPacketFilterOp ¶
func NewPacketFilterOp(caller APICaller) PacketFilterAPI
NewPacketFilterOp creates new PacketFilterOp instance
type PacketFilterCreateRequest ¶
type PacketFilterCreateRequest struct { Name string Description string Expression []*PacketFilterExpression `mapconv:"[]Expression,recursive"` }
PacketFilterCreateRequest represents API parameter/response structure
func (*PacketFilterCreateRequest) GetDescription ¶
func (o *PacketFilterCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*PacketFilterCreateRequest) GetExpression ¶
func (o *PacketFilterCreateRequest) GetExpression() []*PacketFilterExpression
GetExpression returns value of Expression
func (*PacketFilterCreateRequest) GetName ¶
func (o *PacketFilterCreateRequest) GetName() string
GetName returns value of Name
func (*PacketFilterCreateRequest) SetDescription ¶
func (o *PacketFilterCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*PacketFilterCreateRequest) SetExpression ¶
func (o *PacketFilterCreateRequest) SetExpression(v []*PacketFilterExpression)
SetExpression sets value to Expression
func (*PacketFilterCreateRequest) SetName ¶
func (o *PacketFilterCreateRequest) SetName(v string)
SetName sets value to Name
type PacketFilterExpression ¶
type PacketFilterExpression struct { Protocol types.Protocol SourceNetwork types.PacketFilterNetwork SourcePort types.PacketFilterPort DestinationPort types.PacketFilterPort Action types.Action Description string }
PacketFilterExpression represents API parameter/response structure
func (*PacketFilterExpression) GetAction ¶
func (o *PacketFilterExpression) GetAction() types.Action
GetAction returns value of Action
func (*PacketFilterExpression) GetDescription ¶
func (o *PacketFilterExpression) GetDescription() string
GetDescription returns value of Description
func (*PacketFilterExpression) GetDestinationPort ¶
func (o *PacketFilterExpression) GetDestinationPort() types.PacketFilterPort
GetDestinationPort returns value of DestinationPort
func (*PacketFilterExpression) GetProtocol ¶
func (o *PacketFilterExpression) GetProtocol() types.Protocol
GetProtocol returns value of Protocol
func (*PacketFilterExpression) GetSourceNetwork ¶
func (o *PacketFilterExpression) GetSourceNetwork() types.PacketFilterNetwork
GetSourceNetwork returns value of SourceNetwork
func (*PacketFilterExpression) GetSourcePort ¶
func (o *PacketFilterExpression) GetSourcePort() types.PacketFilterPort
GetSourcePort returns value of SourcePort
func (*PacketFilterExpression) SetAction ¶
func (o *PacketFilterExpression) SetAction(v types.Action)
SetAction sets value to Action
func (*PacketFilterExpression) SetDescription ¶
func (o *PacketFilterExpression) SetDescription(v string)
SetDescription sets value to Description
func (*PacketFilterExpression) SetDestinationPort ¶
func (o *PacketFilterExpression) SetDestinationPort(v types.PacketFilterPort)
SetDestinationPort sets value to DestinationPort
func (*PacketFilterExpression) SetProtocol ¶
func (o *PacketFilterExpression) SetProtocol(v types.Protocol)
SetProtocol sets value to Protocol
func (*PacketFilterExpression) SetSourceNetwork ¶
func (o *PacketFilterExpression) SetSourceNetwork(v types.PacketFilterNetwork)
SetSourceNetwork sets value to SourceNetwork
func (*PacketFilterExpression) SetSourcePort ¶
func (o *PacketFilterExpression) SetSourcePort(v types.PacketFilterPort)
SetSourcePort sets value to SourcePort
type PacketFilterFindResult ¶
type PacketFilterFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page PacketFilters []*PacketFilter `json:",omitempty" mapconv:"[]PacketFilters,omitempty,recursive"` }
PacketFilterFindResult represents the Result of API
func (*PacketFilterFindResult) Values ¶
func (r *PacketFilterFindResult) Values() []interface{}
Values returns find results
type PacketFilterOp ¶
type PacketFilterOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
PacketFilterOp implements PacketFilterAPI interface
func (*PacketFilterOp) Create ¶
func (o *PacketFilterOp) Create(ctx context.Context, zone string, param *PacketFilterCreateRequest) (*PacketFilter, error)
Create is API call
func (*PacketFilterOp) Find ¶
func (o *PacketFilterOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*PacketFilterFindResult, error)
Find is API call
func (*PacketFilterOp) Read ¶
func (o *PacketFilterOp) Read(ctx context.Context, zone string, id types.ID) (*PacketFilter, error)
Read is API call
func (*PacketFilterOp) Update ¶
func (o *PacketFilterOp) Update(ctx context.Context, zone string, id types.ID, updateParam *PacketFilterUpdateRequest, originalExpressionHash string) (*PacketFilter, error)
Update is API call
type PacketFilterUpdateRequest ¶
type PacketFilterUpdateRequest struct { Name string Description string Expression []*PacketFilterExpression `mapconv:"[]Expression,recursive"` }
PacketFilterUpdateRequest represents API parameter/response structure
func (*PacketFilterUpdateRequest) GetDescription ¶
func (o *PacketFilterUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*PacketFilterUpdateRequest) GetExpression ¶
func (o *PacketFilterUpdateRequest) GetExpression() []*PacketFilterExpression
GetExpression returns value of Expression
func (*PacketFilterUpdateRequest) GetName ¶
func (o *PacketFilterUpdateRequest) GetName() string
GetName returns value of Name
func (*PacketFilterUpdateRequest) SetDescription ¶
func (o *PacketFilterUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*PacketFilterUpdateRequest) SetExpression ¶
func (o *PacketFilterUpdateRequest) SetExpression(v []*PacketFilterExpression)
SetExpression sets value to Expression
func (*PacketFilterUpdateRequest) SetName ¶
func (o *PacketFilterUpdateRequest) SetName(v string)
SetName sets value to Name
type Price ¶
type Price struct { Base int Daily int Hourly int Monthly int PerUse int Basic int Traffic int DocomoTraffic int KddiTraffic int SbTraffic int SimSheet int Zone string }
Price represents API parameter/response structure
func (*Price) GetDocomoTraffic ¶
GetDocomoTraffic returns value of DocomoTraffic
func (*Price) GetKddiTraffic ¶
GetKddiTraffic returns value of KddiTraffic
func (*Price) GetSbTraffic ¶
GetSbTraffic returns value of SbTraffic
func (*Price) SetDocomoTraffic ¶
SetDocomoTraffic sets value to DocomoTraffic
func (*Price) SetKddiTraffic ¶
SetKddiTraffic sets value to KddiTraffic
func (*Price) SetSbTraffic ¶
SetSbTraffic sets value to SbTraffic
type PrivateHost ¶
type PrivateHost struct { ID types.ID Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time PlanID types.ID `mapconv:"Plan.ID,omitempty"` PlanName string `mapconv:"Plan.Name"` PlanClass string `mapconv:"Plan.Class"` CPU int `mapconv:"Plan.CPU"` MemoryMB int `mapconv:"Plan.MemoryMB"` AssignedCPU int AssignedMemoryMB int HostName string `mapconv:"Host.Name"` }
PrivateHost represents API parameter/response structure
func (*PrivateHost) GetAssignedCPU ¶
func (o *PrivateHost) GetAssignedCPU() int
GetAssignedCPU returns value of AssignedCPU
func (*PrivateHost) GetAssignedMemoryGB ¶
func (o *PrivateHost) GetAssignedMemoryGB() int
GetAssignedMemoryGB .
func (*PrivateHost) GetAssignedMemoryMB ¶
func (o *PrivateHost) GetAssignedMemoryMB() int
GetAssignedMemoryMB returns value of AssignedMemoryMB
func (*PrivateHost) GetCreatedAt ¶
func (o *PrivateHost) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*PrivateHost) GetDescription ¶
func (o *PrivateHost) GetDescription() string
GetDescription returns value of Description
func (*PrivateHost) GetHostName ¶
func (o *PrivateHost) GetHostName() string
GetHostName returns value of HostName
func (*PrivateHost) GetIconID ¶
func (o *PrivateHost) GetIconID() types.ID
GetIconID returns value of IconID
func (*PrivateHost) GetMemoryMB ¶
func (o *PrivateHost) GetMemoryMB() int
GetMemoryMB returns value of MemoryMB
func (*PrivateHost) GetPlanClass ¶
func (o *PrivateHost) GetPlanClass() string
GetPlanClass returns value of PlanClass
func (*PrivateHost) GetPlanID ¶
func (o *PrivateHost) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*PrivateHost) GetPlanName ¶
func (o *PrivateHost) GetPlanName() string
GetPlanName returns value of PlanName
func (*PrivateHost) GetTags ¶
func (o *PrivateHost) GetTags() types.Tags
GetTags returns value of Tags
func (*PrivateHost) HasTag ¶
func (o *PrivateHost) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*PrivateHost) SetAssignedCPU ¶
func (o *PrivateHost) SetAssignedCPU(v int)
SetAssignedCPU sets value to AssignedCPU
func (*PrivateHost) SetAssignedMemoryGB ¶
func (o *PrivateHost) SetAssignedMemoryGB(memory int)
SetAssignedMemoryGB .
func (*PrivateHost) SetAssignedMemoryMB ¶
func (o *PrivateHost) SetAssignedMemoryMB(v int)
SetAssignedMemoryMB sets value to AssignedMemoryMB
func (*PrivateHost) SetCreatedAt ¶
func (o *PrivateHost) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*PrivateHost) SetDescription ¶
func (o *PrivateHost) SetDescription(v string)
SetDescription sets value to Description
func (*PrivateHost) SetHostName ¶
func (o *PrivateHost) SetHostName(v string)
SetHostName sets value to HostName
func (*PrivateHost) SetIconID ¶
func (o *PrivateHost) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*PrivateHost) SetMemoryMB ¶
func (o *PrivateHost) SetMemoryMB(v int)
SetMemoryMB sets value to MemoryMB
func (*PrivateHost) SetPlanClass ¶
func (o *PrivateHost) SetPlanClass(v string)
SetPlanClass sets value to PlanClass
func (*PrivateHost) SetPlanID ¶
func (o *PrivateHost) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*PrivateHost) SetPlanName ¶
func (o *PrivateHost) SetPlanName(v string)
SetPlanName sets value to PlanName
func (*PrivateHost) SetTags ¶
func (o *PrivateHost) SetTags(v types.Tags)
SetTags sets value to Tags
type PrivateHostAPI ¶
type PrivateHostAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*PrivateHostFindResult, error) Create(ctx context.Context, zone string, param *PrivateHostCreateRequest) (*PrivateHost, error) Read(ctx context.Context, zone string, id types.ID) (*PrivateHost, error) Update(ctx context.Context, zone string, id types.ID, param *PrivateHostUpdateRequest) (*PrivateHost, error) Delete(ctx context.Context, zone string, id types.ID) error }
PrivateHostAPI is interface for operate PrivateHost resource
func NewPrivateHostOp ¶
func NewPrivateHostOp(caller APICaller) PrivateHostAPI
NewPrivateHostOp creates new PrivateHostOp instance
type PrivateHostCreateRequest ¶
type PrivateHostCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` PlanID types.ID `mapconv:"Plan.ID,omitempty"` }
PrivateHostCreateRequest represents API parameter/response structure
func (*PrivateHostCreateRequest) AppendTag ¶
func (o *PrivateHostCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*PrivateHostCreateRequest) ClearTags ¶
func (o *PrivateHostCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*PrivateHostCreateRequest) GetDescription ¶
func (o *PrivateHostCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*PrivateHostCreateRequest) GetIconID ¶
func (o *PrivateHostCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*PrivateHostCreateRequest) GetName ¶
func (o *PrivateHostCreateRequest) GetName() string
GetName returns value of Name
func (*PrivateHostCreateRequest) GetPlanID ¶
func (o *PrivateHostCreateRequest) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*PrivateHostCreateRequest) GetTags ¶
func (o *PrivateHostCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*PrivateHostCreateRequest) HasTag ¶
func (o *PrivateHostCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*PrivateHostCreateRequest) RemoveTag ¶
func (o *PrivateHostCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*PrivateHostCreateRequest) SetDescription ¶
func (o *PrivateHostCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*PrivateHostCreateRequest) SetIconID ¶
func (o *PrivateHostCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*PrivateHostCreateRequest) SetName ¶
func (o *PrivateHostCreateRequest) SetName(v string)
SetName sets value to Name
func (*PrivateHostCreateRequest) SetPlanID ¶
func (o *PrivateHostCreateRequest) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*PrivateHostCreateRequest) SetTags ¶
func (o *PrivateHostCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type PrivateHostFindResult ¶
type PrivateHostFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page PrivateHosts []*PrivateHost `json:",omitempty" mapconv:"[]PrivateHosts,omitempty,recursive"` }
PrivateHostFindResult represents the Result of API
func (*PrivateHostFindResult) Values ¶
func (r *PrivateHostFindResult) Values() []interface{}
Values returns find results
type PrivateHostOp ¶
type PrivateHostOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
PrivateHostOp implements PrivateHostAPI interface
func (*PrivateHostOp) Create ¶
func (o *PrivateHostOp) Create(ctx context.Context, zone string, param *PrivateHostCreateRequest) (*PrivateHost, error)
Create is API call
func (*PrivateHostOp) Find ¶
func (o *PrivateHostOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*PrivateHostFindResult, error)
Find is API call
func (*PrivateHostOp) Read ¶
func (o *PrivateHostOp) Read(ctx context.Context, zone string, id types.ID) (*PrivateHost, error)
Read is API call
func (*PrivateHostOp) Update ¶
func (o *PrivateHostOp) Update(ctx context.Context, zone string, id types.ID, param *PrivateHostUpdateRequest) (*PrivateHost, error)
Update is API call
type PrivateHostPlan ¶
type PrivateHostPlan struct { ID types.ID Name string Class string CPU int MemoryMB int Availability types.EAvailability }
PrivateHostPlan represents API parameter/response structure
func (*PrivateHostPlan) GetAvailability ¶
func (o *PrivateHostPlan) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*PrivateHostPlan) GetClass ¶
func (o *PrivateHostPlan) GetClass() string
GetClass returns value of Class
func (*PrivateHostPlan) GetID ¶
func (o *PrivateHostPlan) GetID() types.ID
GetID returns value of ID
func (*PrivateHostPlan) GetMemoryMB ¶
func (o *PrivateHostPlan) GetMemoryMB() int
GetMemoryMB returns value of MemoryMB
func (*PrivateHostPlan) GetName ¶
func (o *PrivateHostPlan) GetName() string
GetName returns value of Name
func (*PrivateHostPlan) SetAvailability ¶
func (o *PrivateHostPlan) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*PrivateHostPlan) SetClass ¶
func (o *PrivateHostPlan) SetClass(v string)
SetClass sets value to Class
func (*PrivateHostPlan) SetMemoryGB ¶
func (o *PrivateHostPlan) SetMemoryGB(memory int)
SetMemoryGB .
func (*PrivateHostPlan) SetMemoryMB ¶
func (o *PrivateHostPlan) SetMemoryMB(v int)
SetMemoryMB sets value to MemoryMB
func (*PrivateHostPlan) SetName ¶
func (o *PrivateHostPlan) SetName(v string)
SetName sets value to Name
func (*PrivateHostPlan) SetStringID ¶
func (o *PrivateHostPlan) SetStringID(id string)
SetStringID .
type PrivateHostPlanAPI ¶
type PrivateHostPlanAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*PrivateHostPlanFindResult, error) Read(ctx context.Context, zone string, id types.ID) (*PrivateHostPlan, error) }
PrivateHostPlanAPI is interface for operate PrivateHostPlan resource
func NewPrivateHostPlanOp ¶
func NewPrivateHostPlanOp(caller APICaller) PrivateHostPlanAPI
NewPrivateHostPlanOp creates new PrivateHostPlanOp instance
type PrivateHostPlanFindResult ¶
type PrivateHostPlanFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page PrivateHostPlans []*PrivateHostPlan `json:",omitempty" mapconv:"[]PrivateHostPlans,omitempty,recursive"` }
PrivateHostPlanFindResult represents the Result of API
func (*PrivateHostPlanFindResult) Values ¶
func (r *PrivateHostPlanFindResult) Values() []interface{}
Values returns find results
type PrivateHostPlanOp ¶
type PrivateHostPlanOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
PrivateHostPlanOp implements PrivateHostPlanAPI interface
func (*PrivateHostPlanOp) Find ¶
func (o *PrivateHostPlanOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*PrivateHostPlanFindResult, error)
Find is API call
func (*PrivateHostPlanOp) Read ¶
func (o *PrivateHostPlanOp) Read(ctx context.Context, zone string, id types.ID) (*PrivateHostPlan, error)
Read is API call
type PrivateHostUpdateRequest ¶
type PrivateHostUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
PrivateHostUpdateRequest represents API parameter/response structure
func (*PrivateHostUpdateRequest) AppendTag ¶
func (o *PrivateHostUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*PrivateHostUpdateRequest) ClearTags ¶
func (o *PrivateHostUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*PrivateHostUpdateRequest) GetDescription ¶
func (o *PrivateHostUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*PrivateHostUpdateRequest) GetIconID ¶
func (o *PrivateHostUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*PrivateHostUpdateRequest) GetName ¶
func (o *PrivateHostUpdateRequest) GetName() string
GetName returns value of Name
func (*PrivateHostUpdateRequest) GetTags ¶
func (o *PrivateHostUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*PrivateHostUpdateRequest) HasTag ¶
func (o *PrivateHostUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*PrivateHostUpdateRequest) RemoveTag ¶
func (o *PrivateHostUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*PrivateHostUpdateRequest) SetDescription ¶
func (o *PrivateHostUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*PrivateHostUpdateRequest) SetIconID ¶
func (o *PrivateHostUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*PrivateHostUpdateRequest) SetName ¶
func (o *PrivateHostUpdateRequest) SetName(v string)
SetName sets value to Name
func (*PrivateHostUpdateRequest) SetTags ¶
func (o *PrivateHostUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ProxyLB ¶
type ProxyLB struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Plan types.EProxyLBPlan HealthCheck *ProxyLBHealthCheck `mapconv:"Settings.ProxyLB.HealthCheck,recursive"` SorryServer *ProxyLBSorryServer `mapconv:"Settings.ProxyLB.SorryServer,recursive"` BindPorts []*ProxyLBBindPort `mapconv:"Settings.ProxyLB.[]BindPorts,recursive"` Servers []*ProxyLBServer `mapconv:"Settings.ProxyLB.[]Servers,recursive"` Rules []*ProxyLBRule `mapconv:"Settings.ProxyLB.[]Rules,recursive"` LetsEncrypt *ProxyLBACMESetting `mapconv:"Settings.ProxyLB.LetsEncrypt,recursive"` StickySession *ProxyLBStickySession `mapconv:"Settings.ProxyLB.StickySession,recursive"` Gzip *ProxyLBGzip `mapconv:"Settings.ProxyLB.Gzip,recursive"` BackendHttpKeepAlive *ProxyLBBackendHttpKeepAlive `mapconv:"Settings.ProxyLB.BackendHttpKeepAlive,recursive"` ProxyProtocol *ProxyLBProxyProtocol `mapconv:"Settings.ProxyLB.ProxyProtocol,recursive"` Syslog *ProxyLBSyslog `mapconv:"Settings.ProxyLB.Syslog,recursive"` Timeout *ProxyLBTimeout `json:",omitempty" mapconv:"Settings.ProxyLB.Timeout,recursive,omitempty"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` UseVIPFailover bool `mapconv:"Status.UseVIPFailover"` Region types.EProxyLBRegion `mapconv:"Status.Region"` ProxyNetworks []string `mapconv:"Status.ProxyNetworks"` FQDN string `mapconv:"Status.FQDN"` VirtualIPAddress string `mapconv:"Status.VirtualIPAddress"` }
ProxyLB represents API parameter/response structure
func (*ProxyLB) GetAvailability ¶
func (o *ProxyLB) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*ProxyLB) GetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLB) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
GetBackendHttpKeepAlive returns value of BackendHttpKeepAlive
func (*ProxyLB) GetBindPorts ¶
func (o *ProxyLB) GetBindPorts() []*ProxyLBBindPort
GetBindPorts returns value of BindPorts
func (*ProxyLB) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*ProxyLB) GetDescription ¶
GetDescription returns value of Description
func (*ProxyLB) GetHealthCheck ¶
func (o *ProxyLB) GetHealthCheck() *ProxyLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*ProxyLB) GetLetsEncrypt ¶
func (o *ProxyLB) GetLetsEncrypt() *ProxyLBACMESetting
GetLetsEncrypt returns value of LetsEncrypt
func (*ProxyLB) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*ProxyLB) GetPlan ¶
func (o *ProxyLB) GetPlan() types.EProxyLBPlan
GetPlan returns value of Plan
func (*ProxyLB) GetProxyNetworks ¶
GetProxyNetworks returns value of ProxyNetworks
func (*ProxyLB) GetProxyProtocol ¶
func (o *ProxyLB) GetProxyProtocol() *ProxyLBProxyProtocol
GetProxyProtocol returns value of ProxyProtocol
func (*ProxyLB) GetRegion ¶
func (o *ProxyLB) GetRegion() types.EProxyLBRegion
GetRegion returns value of Region
func (*ProxyLB) GetRules ¶
func (o *ProxyLB) GetRules() []*ProxyLBRule
GetRules returns value of Rules
func (*ProxyLB) GetServers ¶
func (o *ProxyLB) GetServers() []*ProxyLBServer
GetServers returns value of Servers
func (*ProxyLB) GetSettingsHash ¶
GetSettingsHash returns value of SettingsHash
func (*ProxyLB) GetSorryServer ¶
func (o *ProxyLB) GetSorryServer() *ProxyLBSorryServer
GetSorryServer returns value of SorryServer
func (*ProxyLB) GetStickySession ¶
func (o *ProxyLB) GetStickySession() *ProxyLBStickySession
GetStickySession returns value of StickySession
func (*ProxyLB) GetSyslog ¶
func (o *ProxyLB) GetSyslog() *ProxyLBSyslog
GetSyslog returns value of Syslog
func (*ProxyLB) GetTimeout ¶
func (o *ProxyLB) GetTimeout() *ProxyLBTimeout
GetTimeout returns value of Timeout
func (*ProxyLB) GetUseVIPFailover ¶
GetUseVIPFailover returns value of UseVIPFailover
func (*ProxyLB) GetVirtualIPAddress ¶
GetVirtualIPAddress returns value of VirtualIPAddress
func (*ProxyLB) SetAvailability ¶
func (o *ProxyLB) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*ProxyLB) SetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLB) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
SetBackendHttpKeepAlive sets value to BackendHttpKeepAlive
func (*ProxyLB) SetBindPorts ¶
func (o *ProxyLB) SetBindPorts(v []*ProxyLBBindPort)
SetBindPorts sets value to BindPorts
func (*ProxyLB) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*ProxyLB) SetDescription ¶
SetDescription sets value to Description
func (*ProxyLB) SetHealthCheck ¶
func (o *ProxyLB) SetHealthCheck(v *ProxyLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*ProxyLB) SetLetsEncrypt ¶
func (o *ProxyLB) SetLetsEncrypt(v *ProxyLBACMESetting)
SetLetsEncrypt sets value to LetsEncrypt
func (*ProxyLB) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*ProxyLB) SetPlan ¶
func (o *ProxyLB) SetPlan(v types.EProxyLBPlan)
SetPlan sets value to Plan
func (*ProxyLB) SetProxyNetworks ¶
SetProxyNetworks sets value to ProxyNetworks
func (*ProxyLB) SetProxyProtocol ¶
func (o *ProxyLB) SetProxyProtocol(v *ProxyLBProxyProtocol)
SetProxyProtocol sets value to ProxyProtocol
func (*ProxyLB) SetRegion ¶
func (o *ProxyLB) SetRegion(v types.EProxyLBRegion)
SetRegion sets value to Region
func (*ProxyLB) SetRules ¶
func (o *ProxyLB) SetRules(v []*ProxyLBRule)
SetRules sets value to Rules
func (*ProxyLB) SetServers ¶
func (o *ProxyLB) SetServers(v []*ProxyLBServer)
SetServers sets value to Servers
func (*ProxyLB) SetSettingsHash ¶
SetSettingsHash sets value to SettingsHash
func (*ProxyLB) SetSorryServer ¶
func (o *ProxyLB) SetSorryServer(v *ProxyLBSorryServer)
SetSorryServer sets value to SorryServer
func (*ProxyLB) SetStickySession ¶
func (o *ProxyLB) SetStickySession(v *ProxyLBStickySession)
SetStickySession sets value to StickySession
func (*ProxyLB) SetSyslog ¶
func (o *ProxyLB) SetSyslog(v *ProxyLBSyslog)
SetSyslog sets value to Syslog
func (*ProxyLB) SetTimeout ¶
func (o *ProxyLB) SetTimeout(v *ProxyLBTimeout)
SetTimeout sets value to Timeout
func (*ProxyLB) SetUseVIPFailover ¶
SetUseVIPFailover sets value to UseVIPFailover
func (*ProxyLB) SetVirtualIPAddress ¶
SetVirtualIPAddress sets value to VirtualIPAddress
type ProxyLBACMESetting ¶
type ProxyLBACMESetting struct { CommonName string Enabled bool SubjectAltNames []string `json:",omitempty" mapconv:",omitempty"` }
ProxyLBACMESetting represents API parameter/response structure
func (*ProxyLBACMESetting) GetCommonName ¶
func (o *ProxyLBACMESetting) GetCommonName() string
GetCommonName returns value of CommonName
func (*ProxyLBACMESetting) GetEnabled ¶
func (o *ProxyLBACMESetting) GetEnabled() bool
GetEnabled returns value of Enabled
func (*ProxyLBACMESetting) GetSubjectAltNames ¶
func (o *ProxyLBACMESetting) GetSubjectAltNames() []string
GetSubjectAltNames returns value of SubjectAltNames
func (*ProxyLBACMESetting) SetCommonName ¶
func (o *ProxyLBACMESetting) SetCommonName(v string)
SetCommonName sets value to CommonName
func (*ProxyLBACMESetting) SetEnabled ¶
func (o *ProxyLBACMESetting) SetEnabled(v bool)
SetEnabled sets value to Enabled
func (*ProxyLBACMESetting) SetSubjectAltNames ¶
func (o *ProxyLBACMESetting) SetSubjectAltNames(v []string)
SetSubjectAltNames sets value to SubjectAltNames
type ProxyLBAPI ¶
type ProxyLBAPI interface { Find(ctx context.Context, conditions *FindCondition) (*ProxyLBFindResult, error) Create(ctx context.Context, param *ProxyLBCreateRequest) (*ProxyLB, error) Read(ctx context.Context, id types.ID) (*ProxyLB, error) Update(ctx context.Context, id types.ID, param *ProxyLBUpdateRequest) (*ProxyLB, error) UpdateSettings(ctx context.Context, id types.ID, param *ProxyLBUpdateSettingsRequest) (*ProxyLB, error) Delete(ctx context.Context, id types.ID) error ChangePlan(ctx context.Context, id types.ID, param *ProxyLBChangePlanRequest) (*ProxyLB, error) GetCertificates(ctx context.Context, id types.ID) (*ProxyLBCertificates, error) SetCertificates(ctx context.Context, id types.ID, param *ProxyLBSetCertificatesRequest) (*ProxyLBCertificates, error) DeleteCertificates(ctx context.Context, id types.ID) error RenewLetsEncryptCert(ctx context.Context, id types.ID) error HealthStatus(ctx context.Context, id types.ID) (*ProxyLBHealth, error) MonitorConnection(ctx context.Context, id types.ID, condition *MonitorCondition) (*ConnectionActivity, error) }
ProxyLBAPI is interface for operate ProxyLB resource
func NewProxyLBOp ¶
func NewProxyLBOp(caller APICaller) ProxyLBAPI
NewProxyLBOp creates new ProxyLBOp instance
type ProxyLBAdditionalCert ¶
type ProxyLBAdditionalCert struct { ServerCertificate string IntermediateCertificate string PrivateKey string CertificateEndDate time.Time CertificateCommonName string CertificateAltNames string }
ProxyLBAdditionalCert represents API parameter/response structure
func (*ProxyLBAdditionalCert) GetCertificateAltNames ¶
func (o *ProxyLBAdditionalCert) GetCertificateAltNames() string
GetCertificateAltNames returns value of CertificateAltNames
func (*ProxyLBAdditionalCert) GetCertificateCommonName ¶
func (o *ProxyLBAdditionalCert) GetCertificateCommonName() string
GetCertificateCommonName returns value of CertificateCommonName
func (*ProxyLBAdditionalCert) GetCertificateEndDate ¶
func (o *ProxyLBAdditionalCert) GetCertificateEndDate() time.Time
GetCertificateEndDate returns value of CertificateEndDate
func (*ProxyLBAdditionalCert) GetIntermediateCertificate ¶
func (o *ProxyLBAdditionalCert) GetIntermediateCertificate() string
GetIntermediateCertificate returns value of IntermediateCertificate
func (*ProxyLBAdditionalCert) GetPrivateKey ¶
func (o *ProxyLBAdditionalCert) GetPrivateKey() string
GetPrivateKey returns value of PrivateKey
func (*ProxyLBAdditionalCert) GetServerCertificate ¶
func (o *ProxyLBAdditionalCert) GetServerCertificate() string
GetServerCertificate returns value of ServerCertificate
func (*ProxyLBAdditionalCert) SetCertificateAltNames ¶
func (o *ProxyLBAdditionalCert) SetCertificateAltNames(v string)
SetCertificateAltNames sets value to CertificateAltNames
func (*ProxyLBAdditionalCert) SetCertificateCommonName ¶
func (o *ProxyLBAdditionalCert) SetCertificateCommonName(v string)
SetCertificateCommonName sets value to CertificateCommonName
func (*ProxyLBAdditionalCert) SetCertificateEndDate ¶
func (o *ProxyLBAdditionalCert) SetCertificateEndDate(v time.Time)
SetCertificateEndDate sets value to CertificateEndDate
func (*ProxyLBAdditionalCert) SetIntermediateCertificate ¶
func (o *ProxyLBAdditionalCert) SetIntermediateCertificate(v string)
SetIntermediateCertificate sets value to IntermediateCertificate
func (*ProxyLBAdditionalCert) SetPrivateKey ¶
func (o *ProxyLBAdditionalCert) SetPrivateKey(v string)
SetPrivateKey sets value to PrivateKey
func (*ProxyLBAdditionalCert) SetServerCertificate ¶
func (o *ProxyLBAdditionalCert) SetServerCertificate(v string)
SetServerCertificate sets value to ServerCertificate
type ProxyLBBackendHttpKeepAlive ¶ added in v1.9.0
type ProxyLBBackendHttpKeepAlive struct {
Mode types.EProxyLBBackendHttpKeepAlive
}
ProxyLBBackendHttpKeepAlive represents API parameter/response structure
func (*ProxyLBBackendHttpKeepAlive) GetMode ¶ added in v1.9.0
func (o *ProxyLBBackendHttpKeepAlive) GetMode() types.EProxyLBBackendHttpKeepAlive
GetMode returns value of Mode
func (*ProxyLBBackendHttpKeepAlive) SetMode ¶ added in v1.9.0
func (o *ProxyLBBackendHttpKeepAlive) SetMode(v types.EProxyLBBackendHttpKeepAlive)
SetMode sets value to Mode
type ProxyLBBindPort ¶
type ProxyLBBindPort struct { ProxyMode types.EProxyLBProxyMode Port int RedirectToHTTPS bool SupportHTTP2 bool AddResponseHeader []*ProxyLBResponseHeader `mapconv:"[]AddResponseHeader,recursive"` SSLPolicy string }
ProxyLBBindPort represents API parameter/response structure
func (*ProxyLBBindPort) GetAddResponseHeader ¶
func (o *ProxyLBBindPort) GetAddResponseHeader() []*ProxyLBResponseHeader
GetAddResponseHeader returns value of AddResponseHeader
func (*ProxyLBBindPort) GetPort ¶
func (o *ProxyLBBindPort) GetPort() int
GetPort returns value of Port
func (*ProxyLBBindPort) GetProxyMode ¶
func (o *ProxyLBBindPort) GetProxyMode() types.EProxyLBProxyMode
GetProxyMode returns value of ProxyMode
func (*ProxyLBBindPort) GetRedirectToHTTPS ¶
func (o *ProxyLBBindPort) GetRedirectToHTTPS() bool
GetRedirectToHTTPS returns value of RedirectToHTTPS
func (*ProxyLBBindPort) GetSSLPolicy ¶
func (o *ProxyLBBindPort) GetSSLPolicy() string
GetSSLPolicy returns value of SSLPolicy
func (*ProxyLBBindPort) GetSupportHTTP2 ¶
func (o *ProxyLBBindPort) GetSupportHTTP2() bool
GetSupportHTTP2 returns value of SupportHTTP2
func (*ProxyLBBindPort) SetAddResponseHeader ¶
func (o *ProxyLBBindPort) SetAddResponseHeader(v []*ProxyLBResponseHeader)
SetAddResponseHeader sets value to AddResponseHeader
func (*ProxyLBBindPort) SetPort ¶
func (o *ProxyLBBindPort) SetPort(v int)
SetPort sets value to Port
func (*ProxyLBBindPort) SetProxyMode ¶
func (o *ProxyLBBindPort) SetProxyMode(v types.EProxyLBProxyMode)
SetProxyMode sets value to ProxyMode
func (*ProxyLBBindPort) SetRedirectToHTTPS ¶
func (o *ProxyLBBindPort) SetRedirectToHTTPS(v bool)
SetRedirectToHTTPS sets value to RedirectToHTTPS
func (*ProxyLBBindPort) SetSSLPolicy ¶
func (o *ProxyLBBindPort) SetSSLPolicy(v string)
SetSSLPolicy sets value to SSLPolicy
func (*ProxyLBBindPort) SetSupportHTTP2 ¶
func (o *ProxyLBBindPort) SetSupportHTTP2(v bool)
SetSupportHTTP2 sets value to SupportHTTP2
type ProxyLBCertificates ¶
type ProxyLBCertificates struct { PrimaryCert *ProxyLBPrimaryCert AdditionalCerts []*ProxyLBAdditionalCert `mapconv:"[]AdditionalCerts, recursive"` }
ProxyLBCertificates represents API parameter/response structure
func (*ProxyLBCertificates) GetAdditionalCerts ¶
func (o *ProxyLBCertificates) GetAdditionalCerts() []*ProxyLBAdditionalCert
GetAdditionalCerts returns value of AdditionalCerts
func (*ProxyLBCertificates) GetPrimaryCert ¶
func (o *ProxyLBCertificates) GetPrimaryCert() *ProxyLBPrimaryCert
GetPrimaryCert returns value of PrimaryCert
func (*ProxyLBCertificates) SetAdditionalCerts ¶
func (o *ProxyLBCertificates) SetAdditionalCerts(v []*ProxyLBAdditionalCert)
SetAdditionalCerts sets value to AdditionalCerts
func (*ProxyLBCertificates) SetPrimaryCert ¶
func (o *ProxyLBCertificates) SetPrimaryCert(v *ProxyLBPrimaryCert)
SetPrimaryCert sets value to PrimaryCert
type ProxyLBChangePlanRequest ¶
type ProxyLBChangePlanRequest struct {
ServiceClass string
}
ProxyLBChangePlanRequest represents API parameter/response structure
func (*ProxyLBChangePlanRequest) GetServiceClass ¶
func (o *ProxyLBChangePlanRequest) GetServiceClass() string
GetServiceClass returns value of ServiceClass
func (*ProxyLBChangePlanRequest) SetServiceClass ¶
func (o *ProxyLBChangePlanRequest) SetServiceClass(v string)
SetServiceClass sets value to ServiceClass
type ProxyLBCreateRequest ¶
type ProxyLBCreateRequest struct { Plan types.EProxyLBPlan HealthCheck *ProxyLBHealthCheck `mapconv:"Settings.ProxyLB.HealthCheck,recursive"` SorryServer *ProxyLBSorryServer `mapconv:"Settings.ProxyLB.SorryServer,recursive"` BindPorts []*ProxyLBBindPort `mapconv:"Settings.ProxyLB.[]BindPorts,recursive"` Servers []*ProxyLBServer `mapconv:"Settings.ProxyLB.[]Servers,recursive"` Rules []*ProxyLBRule `mapconv:"Settings.ProxyLB.[]Rules,recursive"` LetsEncrypt *ProxyLBACMESetting `mapconv:"Settings.ProxyLB.LetsEncrypt,recursive"` StickySession *ProxyLBStickySession `mapconv:"Settings.ProxyLB.StickySession,recursive"` Timeout *ProxyLBTimeout `json:",omitempty" mapconv:"Settings.ProxyLB.Timeout,recursive,omitempty"` Gzip *ProxyLBGzip `mapconv:"Settings.ProxyLB.Gzip,recursive"` BackendHttpKeepAlive *ProxyLBBackendHttpKeepAlive `mapconv:"Settings.ProxyLB.BackendHttpKeepAlive,recursive"` ProxyProtocol *ProxyLBProxyProtocol `mapconv:"Settings.ProxyLB.ProxyProtocol,recursive"` Syslog *ProxyLBSyslog `mapconv:"Settings.ProxyLB.Syslog,recursive"` UseVIPFailover bool `mapconv:"Status.UseVIPFailover"` Region types.EProxyLBRegion `mapconv:"Status.Region"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ProxyLBCreateRequest represents API parameter/response structure
func (*ProxyLBCreateRequest) AppendTag ¶
func (o *ProxyLBCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ProxyLBCreateRequest) ClearTags ¶
func (o *ProxyLBCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*ProxyLBCreateRequest) GetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLBCreateRequest) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
GetBackendHttpKeepAlive returns value of BackendHttpKeepAlive
func (*ProxyLBCreateRequest) GetBindPorts ¶
func (o *ProxyLBCreateRequest) GetBindPorts() []*ProxyLBBindPort
GetBindPorts returns value of BindPorts
func (*ProxyLBCreateRequest) GetDescription ¶
func (o *ProxyLBCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*ProxyLBCreateRequest) GetGzip ¶
func (o *ProxyLBCreateRequest) GetGzip() *ProxyLBGzip
GetGzip returns value of Gzip
func (*ProxyLBCreateRequest) GetHealthCheck ¶
func (o *ProxyLBCreateRequest) GetHealthCheck() *ProxyLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*ProxyLBCreateRequest) GetIconID ¶
func (o *ProxyLBCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ProxyLBCreateRequest) GetLetsEncrypt ¶
func (o *ProxyLBCreateRequest) GetLetsEncrypt() *ProxyLBACMESetting
GetLetsEncrypt returns value of LetsEncrypt
func (*ProxyLBCreateRequest) GetName ¶
func (o *ProxyLBCreateRequest) GetName() string
GetName returns value of Name
func (*ProxyLBCreateRequest) GetPlan ¶
func (o *ProxyLBCreateRequest) GetPlan() types.EProxyLBPlan
GetPlan returns value of Plan
func (*ProxyLBCreateRequest) GetProxyProtocol ¶
func (o *ProxyLBCreateRequest) GetProxyProtocol() *ProxyLBProxyProtocol
GetProxyProtocol returns value of ProxyProtocol
func (*ProxyLBCreateRequest) GetRegion ¶
func (o *ProxyLBCreateRequest) GetRegion() types.EProxyLBRegion
GetRegion returns value of Region
func (*ProxyLBCreateRequest) GetRules ¶
func (o *ProxyLBCreateRequest) GetRules() []*ProxyLBRule
GetRules returns value of Rules
func (*ProxyLBCreateRequest) GetServers ¶
func (o *ProxyLBCreateRequest) GetServers() []*ProxyLBServer
GetServers returns value of Servers
func (*ProxyLBCreateRequest) GetSorryServer ¶
func (o *ProxyLBCreateRequest) GetSorryServer() *ProxyLBSorryServer
GetSorryServer returns value of SorryServer
func (*ProxyLBCreateRequest) GetStickySession ¶
func (o *ProxyLBCreateRequest) GetStickySession() *ProxyLBStickySession
GetStickySession returns value of StickySession
func (*ProxyLBCreateRequest) GetSyslog ¶
func (o *ProxyLBCreateRequest) GetSyslog() *ProxyLBSyslog
GetSyslog returns value of Syslog
func (*ProxyLBCreateRequest) GetTags ¶
func (o *ProxyLBCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ProxyLBCreateRequest) GetTimeout ¶
func (o *ProxyLBCreateRequest) GetTimeout() *ProxyLBTimeout
GetTimeout returns value of Timeout
func (*ProxyLBCreateRequest) GetUseVIPFailover ¶
func (o *ProxyLBCreateRequest) GetUseVIPFailover() bool
GetUseVIPFailover returns value of UseVIPFailover
func (*ProxyLBCreateRequest) HasTag ¶
func (o *ProxyLBCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ProxyLBCreateRequest) RemoveTag ¶
func (o *ProxyLBCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ProxyLBCreateRequest) SetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLBCreateRequest) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
SetBackendHttpKeepAlive sets value to BackendHttpKeepAlive
func (*ProxyLBCreateRequest) SetBindPorts ¶
func (o *ProxyLBCreateRequest) SetBindPorts(v []*ProxyLBBindPort)
SetBindPorts sets value to BindPorts
func (*ProxyLBCreateRequest) SetDescription ¶
func (o *ProxyLBCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ProxyLBCreateRequest) SetGzip ¶
func (o *ProxyLBCreateRequest) SetGzip(v *ProxyLBGzip)
SetGzip sets value to Gzip
func (*ProxyLBCreateRequest) SetHealthCheck ¶
func (o *ProxyLBCreateRequest) SetHealthCheck(v *ProxyLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*ProxyLBCreateRequest) SetIconID ¶
func (o *ProxyLBCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ProxyLBCreateRequest) SetLetsEncrypt ¶
func (o *ProxyLBCreateRequest) SetLetsEncrypt(v *ProxyLBACMESetting)
SetLetsEncrypt sets value to LetsEncrypt
func (*ProxyLBCreateRequest) SetName ¶
func (o *ProxyLBCreateRequest) SetName(v string)
SetName sets value to Name
func (*ProxyLBCreateRequest) SetPlan ¶
func (o *ProxyLBCreateRequest) SetPlan(v types.EProxyLBPlan)
SetPlan sets value to Plan
func (*ProxyLBCreateRequest) SetProxyProtocol ¶
func (o *ProxyLBCreateRequest) SetProxyProtocol(v *ProxyLBProxyProtocol)
SetProxyProtocol sets value to ProxyProtocol
func (*ProxyLBCreateRequest) SetRegion ¶
func (o *ProxyLBCreateRequest) SetRegion(v types.EProxyLBRegion)
SetRegion sets value to Region
func (*ProxyLBCreateRequest) SetRules ¶
func (o *ProxyLBCreateRequest) SetRules(v []*ProxyLBRule)
SetRules sets value to Rules
func (*ProxyLBCreateRequest) SetServers ¶
func (o *ProxyLBCreateRequest) SetServers(v []*ProxyLBServer)
SetServers sets value to Servers
func (*ProxyLBCreateRequest) SetSorryServer ¶
func (o *ProxyLBCreateRequest) SetSorryServer(v *ProxyLBSorryServer)
SetSorryServer sets value to SorryServer
func (*ProxyLBCreateRequest) SetStickySession ¶
func (o *ProxyLBCreateRequest) SetStickySession(v *ProxyLBStickySession)
SetStickySession sets value to StickySession
func (*ProxyLBCreateRequest) SetSyslog ¶
func (o *ProxyLBCreateRequest) SetSyslog(v *ProxyLBSyslog)
SetSyslog sets value to Syslog
func (*ProxyLBCreateRequest) SetTags ¶
func (o *ProxyLBCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*ProxyLBCreateRequest) SetTimeout ¶
func (o *ProxyLBCreateRequest) SetTimeout(v *ProxyLBTimeout)
SetTimeout sets value to Timeout
func (*ProxyLBCreateRequest) SetUseVIPFailover ¶
func (o *ProxyLBCreateRequest) SetUseVIPFailover(v bool)
SetUseVIPFailover sets value to UseVIPFailover
type ProxyLBFindResult ¶
type ProxyLBFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page ProxyLBs []*ProxyLB `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
ProxyLBFindResult represents the Result of API
func (*ProxyLBFindResult) Values ¶
func (r *ProxyLBFindResult) Values() []interface{}
Values returns find results
type ProxyLBGzip ¶
type ProxyLBGzip struct {
Enabled bool
}
ProxyLBGzip represents API parameter/response structure
func (*ProxyLBGzip) GetEnabled ¶
func (o *ProxyLBGzip) GetEnabled() bool
GetEnabled returns value of Enabled
func (*ProxyLBGzip) SetEnabled ¶
func (o *ProxyLBGzip) SetEnabled(v bool)
SetEnabled sets value to Enabled
type ProxyLBHealth ¶
type ProxyLBHealth struct { ActiveConn int CPS float64 CurrentVIP string Servers []*LoadBalancerServerStatus `mapconv:"[]Servers,recursive"` }
ProxyLBHealth represents API parameter/response structure
func (*ProxyLBHealth) GetActiveConn ¶
func (o *ProxyLBHealth) GetActiveConn() int
GetActiveConn returns value of ActiveConn
func (*ProxyLBHealth) GetCurrentVIP ¶
func (o *ProxyLBHealth) GetCurrentVIP() string
GetCurrentVIP returns value of CurrentVIP
func (*ProxyLBHealth) GetServers ¶
func (o *ProxyLBHealth) GetServers() []*LoadBalancerServerStatus
GetServers returns value of Servers
func (*ProxyLBHealth) SetActiveConn ¶
func (o *ProxyLBHealth) SetActiveConn(v int)
SetActiveConn sets value to ActiveConn
func (*ProxyLBHealth) SetCurrentVIP ¶
func (o *ProxyLBHealth) SetCurrentVIP(v string)
SetCurrentVIP sets value to CurrentVIP
func (*ProxyLBHealth) SetServers ¶
func (o *ProxyLBHealth) SetServers(v []*LoadBalancerServerStatus)
SetServers sets value to Servers
type ProxyLBHealthCheck ¶
type ProxyLBHealthCheck struct { Protocol types.EProxyLBHealthCheckProtocol Path string Host string DelayLoop int }
ProxyLBHealthCheck represents API parameter/response structure
func (*ProxyLBHealthCheck) GetDelayLoop ¶
func (o *ProxyLBHealthCheck) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*ProxyLBHealthCheck) GetHost ¶
func (o *ProxyLBHealthCheck) GetHost() string
GetHost returns value of Host
func (*ProxyLBHealthCheck) GetPath ¶
func (o *ProxyLBHealthCheck) GetPath() string
GetPath returns value of Path
func (*ProxyLBHealthCheck) GetProtocol ¶
func (o *ProxyLBHealthCheck) GetProtocol() types.EProxyLBHealthCheckProtocol
GetProtocol returns value of Protocol
func (*ProxyLBHealthCheck) SetDelayLoop ¶
func (o *ProxyLBHealthCheck) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*ProxyLBHealthCheck) SetHost ¶
func (o *ProxyLBHealthCheck) SetHost(v string)
SetHost sets value to Host
func (*ProxyLBHealthCheck) SetPath ¶
func (o *ProxyLBHealthCheck) SetPath(v string)
SetPath sets value to Path
func (*ProxyLBHealthCheck) SetProtocol ¶
func (o *ProxyLBHealthCheck) SetProtocol(v types.EProxyLBHealthCheckProtocol)
SetProtocol sets value to Protocol
type ProxyLBOp ¶
type ProxyLBOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ProxyLBOp implements ProxyLBAPI interface
func (*ProxyLBOp) ChangePlan ¶
func (o *ProxyLBOp) ChangePlan(ctx context.Context, id types.ID, param *ProxyLBChangePlanRequest) (*ProxyLB, error)
ChangePlan is API call
func (*ProxyLBOp) DeleteCertificates ¶
DeleteCertificates is API call
func (*ProxyLBOp) Find ¶
func (o *ProxyLBOp) Find(ctx context.Context, conditions *FindCondition) (*ProxyLBFindResult, error)
Find is API call
func (*ProxyLBOp) GetCertificates ¶
GetCertificates is API call
func (*ProxyLBOp) HealthStatus ¶
HealthStatus is API call
func (*ProxyLBOp) MonitorConnection ¶
func (o *ProxyLBOp) MonitorConnection(ctx context.Context, id types.ID, condition *MonitorCondition) (*ConnectionActivity, error)
MonitorConnection is API call
func (*ProxyLBOp) RenewLetsEncryptCert ¶
RenewLetsEncryptCert is API call
func (*ProxyLBOp) SetCertificates ¶
func (o *ProxyLBOp) SetCertificates(ctx context.Context, id types.ID, param *ProxyLBSetCertificatesRequest) (*ProxyLBCertificates, error)
SetCertificates is API call
func (*ProxyLBOp) Update ¶
func (o *ProxyLBOp) Update(ctx context.Context, id types.ID, param *ProxyLBUpdateRequest) (*ProxyLB, error)
Update is API call
func (*ProxyLBOp) UpdateSettings ¶
func (o *ProxyLBOp) UpdateSettings(ctx context.Context, id types.ID, param *ProxyLBUpdateSettingsRequest) (*ProxyLB, error)
UpdateSettings is API call
type ProxyLBPrimaryCert ¶
type ProxyLBPrimaryCert struct { ServerCertificate string IntermediateCertificate string PrivateKey string CertificateEndDate time.Time CertificateCommonName string CertificateAltNames string }
ProxyLBPrimaryCert represents API parameter/response structure
func (*ProxyLBPrimaryCert) GetCertificateAltNames ¶
func (o *ProxyLBPrimaryCert) GetCertificateAltNames() string
GetCertificateAltNames returns value of CertificateAltNames
func (*ProxyLBPrimaryCert) GetCertificateCommonName ¶
func (o *ProxyLBPrimaryCert) GetCertificateCommonName() string
GetCertificateCommonName returns value of CertificateCommonName
func (*ProxyLBPrimaryCert) GetCertificateEndDate ¶
func (o *ProxyLBPrimaryCert) GetCertificateEndDate() time.Time
GetCertificateEndDate returns value of CertificateEndDate
func (*ProxyLBPrimaryCert) GetIntermediateCertificate ¶
func (o *ProxyLBPrimaryCert) GetIntermediateCertificate() string
GetIntermediateCertificate returns value of IntermediateCertificate
func (*ProxyLBPrimaryCert) GetPrivateKey ¶
func (o *ProxyLBPrimaryCert) GetPrivateKey() string
GetPrivateKey returns value of PrivateKey
func (*ProxyLBPrimaryCert) GetServerCertificate ¶
func (o *ProxyLBPrimaryCert) GetServerCertificate() string
GetServerCertificate returns value of ServerCertificate
func (*ProxyLBPrimaryCert) SetCertificateAltNames ¶
func (o *ProxyLBPrimaryCert) SetCertificateAltNames(v string)
SetCertificateAltNames sets value to CertificateAltNames
func (*ProxyLBPrimaryCert) SetCertificateCommonName ¶
func (o *ProxyLBPrimaryCert) SetCertificateCommonName(v string)
SetCertificateCommonName sets value to CertificateCommonName
func (*ProxyLBPrimaryCert) SetCertificateEndDate ¶
func (o *ProxyLBPrimaryCert) SetCertificateEndDate(v time.Time)
SetCertificateEndDate sets value to CertificateEndDate
func (*ProxyLBPrimaryCert) SetIntermediateCertificate ¶
func (o *ProxyLBPrimaryCert) SetIntermediateCertificate(v string)
SetIntermediateCertificate sets value to IntermediateCertificate
func (*ProxyLBPrimaryCert) SetPrivateKey ¶
func (o *ProxyLBPrimaryCert) SetPrivateKey(v string)
SetPrivateKey sets value to PrivateKey
func (*ProxyLBPrimaryCert) SetServerCertificate ¶
func (o *ProxyLBPrimaryCert) SetServerCertificate(v string)
SetServerCertificate sets value to ServerCertificate
type ProxyLBProxyProtocol ¶
type ProxyLBProxyProtocol struct {
Enabled bool
}
ProxyLBProxyProtocol represents API parameter/response structure
func (*ProxyLBProxyProtocol) GetEnabled ¶
func (o *ProxyLBProxyProtocol) GetEnabled() bool
GetEnabled returns value of Enabled
func (*ProxyLBProxyProtocol) SetEnabled ¶
func (o *ProxyLBProxyProtocol) SetEnabled(v bool)
SetEnabled sets value to Enabled
type ProxyLBResponseHeader ¶
ProxyLBResponseHeader represents API parameter/response structure
func (*ProxyLBResponseHeader) GetHeader ¶
func (o *ProxyLBResponseHeader) GetHeader() string
GetHeader returns value of Header
func (*ProxyLBResponseHeader) GetValue ¶
func (o *ProxyLBResponseHeader) GetValue() string
GetValue returns value of Value
func (*ProxyLBResponseHeader) SetHeader ¶
func (o *ProxyLBResponseHeader) SetHeader(v string)
SetHeader sets value to Header
func (*ProxyLBResponseHeader) SetValue ¶
func (o *ProxyLBResponseHeader) SetValue(v string)
SetValue sets value to Value
type ProxyLBRule ¶
type ProxyLBRule struct { Host string Path string SourceIPs string RequestHeaderName string RequestHeaderValue string RequestHeaderValueIgnoreCase bool RequestHeaderValueNotMatch bool ServerGroup string `json:",omitempty" mapconv:",omitempty"` Action types.EProxyLBRuleAction `json:",omitempty" mapconv:",omitempty"` RedirectLocation string `json:",omitempty" mapconv:",omitempty"` RedirectStatusCode types.EProxyLBRedirectStatusCode `json:",omitempty" mapconv:",omitempty"` FixedStatusCode types.EProxyLBFixedStatusCode `json:",omitempty" mapconv:",omitempty"` FixedContentType types.EProxyLBFixedContentType `json:",omitempty" mapconv:",omitempty"` FixedMessageBody string `json:",omitempty" mapconv:",omitempty"` }
ProxyLBRule represents API parameter/response structure
func (*ProxyLBRule) GetAction ¶
func (o *ProxyLBRule) GetAction() types.EProxyLBRuleAction
GetAction returns value of Action
func (*ProxyLBRule) GetFixedContentType ¶
func (o *ProxyLBRule) GetFixedContentType() types.EProxyLBFixedContentType
GetFixedContentType returns value of FixedContentType
func (*ProxyLBRule) GetFixedMessageBody ¶
func (o *ProxyLBRule) GetFixedMessageBody() string
GetFixedMessageBody returns value of FixedMessageBody
func (*ProxyLBRule) GetFixedStatusCode ¶
func (o *ProxyLBRule) GetFixedStatusCode() types.EProxyLBFixedStatusCode
GetFixedStatusCode returns value of FixedStatusCode
func (*ProxyLBRule) GetRedirectLocation ¶
func (o *ProxyLBRule) GetRedirectLocation() string
GetRedirectLocation returns value of RedirectLocation
func (*ProxyLBRule) GetRedirectStatusCode ¶
func (o *ProxyLBRule) GetRedirectStatusCode() types.EProxyLBRedirectStatusCode
GetRedirectStatusCode returns value of RedirectStatusCode
func (*ProxyLBRule) GetRequestHeaderName ¶
func (o *ProxyLBRule) GetRequestHeaderName() string
GetRequestHeaderName returns value of RequestHeaderName
func (*ProxyLBRule) GetRequestHeaderValue ¶
func (o *ProxyLBRule) GetRequestHeaderValue() string
GetRequestHeaderValue returns value of RequestHeaderValue
func (*ProxyLBRule) GetRequestHeaderValueIgnoreCase ¶
func (o *ProxyLBRule) GetRequestHeaderValueIgnoreCase() bool
GetRequestHeaderValueIgnoreCase returns value of RequestHeaderValueIgnoreCase
func (*ProxyLBRule) GetRequestHeaderValueNotMatch ¶
func (o *ProxyLBRule) GetRequestHeaderValueNotMatch() bool
GetRequestHeaderValueNotMatch returns value of RequestHeaderValueNotMatch
func (*ProxyLBRule) GetServerGroup ¶
func (o *ProxyLBRule) GetServerGroup() string
GetServerGroup returns value of ServerGroup
func (*ProxyLBRule) GetSourceIPs ¶ added in v1.8.0
func (o *ProxyLBRule) GetSourceIPs() string
GetSourceIPs returns value of SourceIPs
func (*ProxyLBRule) SetAction ¶
func (o *ProxyLBRule) SetAction(v types.EProxyLBRuleAction)
SetAction sets value to Action
func (*ProxyLBRule) SetFixedContentType ¶
func (o *ProxyLBRule) SetFixedContentType(v types.EProxyLBFixedContentType)
SetFixedContentType sets value to FixedContentType
func (*ProxyLBRule) SetFixedMessageBody ¶
func (o *ProxyLBRule) SetFixedMessageBody(v string)
SetFixedMessageBody sets value to FixedMessageBody
func (*ProxyLBRule) SetFixedStatusCode ¶
func (o *ProxyLBRule) SetFixedStatusCode(v types.EProxyLBFixedStatusCode)
SetFixedStatusCode sets value to FixedStatusCode
func (*ProxyLBRule) SetRedirectLocation ¶
func (o *ProxyLBRule) SetRedirectLocation(v string)
SetRedirectLocation sets value to RedirectLocation
func (*ProxyLBRule) SetRedirectStatusCode ¶
func (o *ProxyLBRule) SetRedirectStatusCode(v types.EProxyLBRedirectStatusCode)
SetRedirectStatusCode sets value to RedirectStatusCode
func (*ProxyLBRule) SetRequestHeaderName ¶
func (o *ProxyLBRule) SetRequestHeaderName(v string)
SetRequestHeaderName sets value to RequestHeaderName
func (*ProxyLBRule) SetRequestHeaderValue ¶
func (o *ProxyLBRule) SetRequestHeaderValue(v string)
SetRequestHeaderValue sets value to RequestHeaderValue
func (*ProxyLBRule) SetRequestHeaderValueIgnoreCase ¶
func (o *ProxyLBRule) SetRequestHeaderValueIgnoreCase(v bool)
SetRequestHeaderValueIgnoreCase sets value to RequestHeaderValueIgnoreCase
func (*ProxyLBRule) SetRequestHeaderValueNotMatch ¶
func (o *ProxyLBRule) SetRequestHeaderValueNotMatch(v bool)
SetRequestHeaderValueNotMatch sets value to RequestHeaderValueNotMatch
func (*ProxyLBRule) SetServerGroup ¶
func (o *ProxyLBRule) SetServerGroup(v string)
SetServerGroup sets value to ServerGroup
func (*ProxyLBRule) SetSourceIPs ¶ added in v1.8.0
func (o *ProxyLBRule) SetSourceIPs(v string)
SetSourceIPs sets value to SourceIPs
type ProxyLBServer ¶
ProxyLBServer represents API parameter/response structure
func (*ProxyLBServer) GetEnabled ¶
func (o *ProxyLBServer) GetEnabled() bool
GetEnabled returns value of Enabled
func (*ProxyLBServer) GetIPAddress ¶
func (o *ProxyLBServer) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*ProxyLBServer) GetServerGroup ¶
func (o *ProxyLBServer) GetServerGroup() string
GetServerGroup returns value of ServerGroup
func (*ProxyLBServer) SetEnabled ¶
func (o *ProxyLBServer) SetEnabled(v bool)
SetEnabled sets value to Enabled
func (*ProxyLBServer) SetIPAddress ¶
func (o *ProxyLBServer) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*ProxyLBServer) SetServerGroup ¶
func (o *ProxyLBServer) SetServerGroup(v string)
SetServerGroup sets value to ServerGroup
type ProxyLBSetCertificatesRequest ¶
type ProxyLBSetCertificatesRequest struct { PrimaryCerts *ProxyLBPrimaryCert `mapconv:"PrimaryCert"` AdditionalCerts []*ProxyLBAdditionalCert `mapconv:"[]AdditionalCerts, recursive"` }
ProxyLBSetCertificatesRequest represents API parameter/response structure
func (*ProxyLBSetCertificatesRequest) GetAdditionalCerts ¶
func (o *ProxyLBSetCertificatesRequest) GetAdditionalCerts() []*ProxyLBAdditionalCert
GetAdditionalCerts returns value of AdditionalCerts
func (*ProxyLBSetCertificatesRequest) GetPrimaryCerts ¶
func (o *ProxyLBSetCertificatesRequest) GetPrimaryCerts() *ProxyLBPrimaryCert
GetPrimaryCerts returns value of PrimaryCerts
func (*ProxyLBSetCertificatesRequest) SetAdditionalCerts ¶
func (o *ProxyLBSetCertificatesRequest) SetAdditionalCerts(v []*ProxyLBAdditionalCert)
SetAdditionalCerts sets value to AdditionalCerts
func (*ProxyLBSetCertificatesRequest) SetPrimaryCerts ¶
func (o *ProxyLBSetCertificatesRequest) SetPrimaryCerts(v *ProxyLBPrimaryCert)
SetPrimaryCerts sets value to PrimaryCerts
type ProxyLBSorryServer ¶
ProxyLBSorryServer represents API parameter/response structure
func (*ProxyLBSorryServer) GetIPAddress ¶
func (o *ProxyLBSorryServer) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*ProxyLBSorryServer) GetPort ¶
func (o *ProxyLBSorryServer) GetPort() int
GetPort returns value of Port
func (*ProxyLBSorryServer) SetIPAddress ¶
func (o *ProxyLBSorryServer) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*ProxyLBSorryServer) SetPort ¶
func (o *ProxyLBSorryServer) SetPort(v int)
SetPort sets value to Port
type ProxyLBStickySession ¶
ProxyLBStickySession represents API parameter/response structure
func (*ProxyLBStickySession) GetEnabled ¶
func (o *ProxyLBStickySession) GetEnabled() bool
GetEnabled returns value of Enabled
func (*ProxyLBStickySession) GetMethod ¶
func (o *ProxyLBStickySession) GetMethod() string
GetMethod returns value of Method
func (*ProxyLBStickySession) SetEnabled ¶
func (o *ProxyLBStickySession) SetEnabled(v bool)
SetEnabled sets value to Enabled
func (*ProxyLBStickySession) SetMethod ¶
func (o *ProxyLBStickySession) SetMethod(v string)
SetMethod sets value to Method
type ProxyLBSyslog ¶
ProxyLBSyslog represents API parameter/response structure
func (*ProxyLBSyslog) GetServer ¶
func (o *ProxyLBSyslog) GetServer() string
GetServer returns value of Server
func (*ProxyLBSyslog) SetServer ¶
func (o *ProxyLBSyslog) SetServer(v string)
SetServer sets value to Server
type ProxyLBTimeout ¶
type ProxyLBTimeout struct {
InactiveSec int
}
ProxyLBTimeout represents API parameter/response structure
func (*ProxyLBTimeout) GetInactiveSec ¶
func (o *ProxyLBTimeout) GetInactiveSec() int
GetInactiveSec returns value of InactiveSec
func (*ProxyLBTimeout) SetInactiveSec ¶
func (o *ProxyLBTimeout) SetInactiveSec(v int)
SetInactiveSec sets value to InactiveSec
type ProxyLBUpdateRequest ¶
type ProxyLBUpdateRequest struct { HealthCheck *ProxyLBHealthCheck `mapconv:"Settings.ProxyLB.HealthCheck,recursive"` SorryServer *ProxyLBSorryServer `mapconv:"Settings.ProxyLB.SorryServer,recursive"` BindPorts []*ProxyLBBindPort `mapconv:"Settings.ProxyLB.[]BindPorts,recursive"` Servers []*ProxyLBServer `mapconv:"Settings.ProxyLB.[]Servers,recursive"` Rules []*ProxyLBRule `mapconv:"Settings.ProxyLB.[]Rules,recursive"` LetsEncrypt *ProxyLBACMESetting `mapconv:"Settings.ProxyLB.LetsEncrypt,recursive"` StickySession *ProxyLBStickySession `mapconv:"Settings.ProxyLB.StickySession,recursive"` Timeout *ProxyLBTimeout `json:",omitempty" mapconv:"Settings.ProxyLB.Timeout,recursive,omitempty"` Gzip *ProxyLBGzip `mapconv:"Settings.ProxyLB.Gzip,recursive"` BackendHttpKeepAlive *ProxyLBBackendHttpKeepAlive `mapconv:"Settings.ProxyLB.BackendHttpKeepAlive,recursive"` ProxyProtocol *ProxyLBProxyProtocol `mapconv:"Settings.ProxyLB.ProxyProtocol,recursive"` Syslog *ProxyLBSyslog `mapconv:"Settings.ProxyLB.Syslog,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
ProxyLBUpdateRequest represents API parameter/response structure
func (*ProxyLBUpdateRequest) AppendTag ¶
func (o *ProxyLBUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ProxyLBUpdateRequest) ClearTags ¶
func (o *ProxyLBUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*ProxyLBUpdateRequest) GetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLBUpdateRequest) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
GetBackendHttpKeepAlive returns value of BackendHttpKeepAlive
func (*ProxyLBUpdateRequest) GetBindPorts ¶
func (o *ProxyLBUpdateRequest) GetBindPorts() []*ProxyLBBindPort
GetBindPorts returns value of BindPorts
func (*ProxyLBUpdateRequest) GetDescription ¶
func (o *ProxyLBUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*ProxyLBUpdateRequest) GetGzip ¶
func (o *ProxyLBUpdateRequest) GetGzip() *ProxyLBGzip
GetGzip returns value of Gzip
func (*ProxyLBUpdateRequest) GetHealthCheck ¶
func (o *ProxyLBUpdateRequest) GetHealthCheck() *ProxyLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*ProxyLBUpdateRequest) GetIconID ¶
func (o *ProxyLBUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ProxyLBUpdateRequest) GetLetsEncrypt ¶
func (o *ProxyLBUpdateRequest) GetLetsEncrypt() *ProxyLBACMESetting
GetLetsEncrypt returns value of LetsEncrypt
func (*ProxyLBUpdateRequest) GetName ¶
func (o *ProxyLBUpdateRequest) GetName() string
GetName returns value of Name
func (*ProxyLBUpdateRequest) GetProxyProtocol ¶
func (o *ProxyLBUpdateRequest) GetProxyProtocol() *ProxyLBProxyProtocol
GetProxyProtocol returns value of ProxyProtocol
func (*ProxyLBUpdateRequest) GetRules ¶
func (o *ProxyLBUpdateRequest) GetRules() []*ProxyLBRule
GetRules returns value of Rules
func (*ProxyLBUpdateRequest) GetServers ¶
func (o *ProxyLBUpdateRequest) GetServers() []*ProxyLBServer
GetServers returns value of Servers
func (*ProxyLBUpdateRequest) GetSettingsHash ¶
func (o *ProxyLBUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*ProxyLBUpdateRequest) GetSorryServer ¶
func (o *ProxyLBUpdateRequest) GetSorryServer() *ProxyLBSorryServer
GetSorryServer returns value of SorryServer
func (*ProxyLBUpdateRequest) GetStickySession ¶
func (o *ProxyLBUpdateRequest) GetStickySession() *ProxyLBStickySession
GetStickySession returns value of StickySession
func (*ProxyLBUpdateRequest) GetSyslog ¶
func (o *ProxyLBUpdateRequest) GetSyslog() *ProxyLBSyslog
GetSyslog returns value of Syslog
func (*ProxyLBUpdateRequest) GetTags ¶
func (o *ProxyLBUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ProxyLBUpdateRequest) GetTimeout ¶
func (o *ProxyLBUpdateRequest) GetTimeout() *ProxyLBTimeout
GetTimeout returns value of Timeout
func (*ProxyLBUpdateRequest) HasTag ¶
func (o *ProxyLBUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ProxyLBUpdateRequest) RemoveTag ¶
func (o *ProxyLBUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ProxyLBUpdateRequest) SetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLBUpdateRequest) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
SetBackendHttpKeepAlive sets value to BackendHttpKeepAlive
func (*ProxyLBUpdateRequest) SetBindPorts ¶
func (o *ProxyLBUpdateRequest) SetBindPorts(v []*ProxyLBBindPort)
SetBindPorts sets value to BindPorts
func (*ProxyLBUpdateRequest) SetDescription ¶
func (o *ProxyLBUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ProxyLBUpdateRequest) SetGzip ¶
func (o *ProxyLBUpdateRequest) SetGzip(v *ProxyLBGzip)
SetGzip sets value to Gzip
func (*ProxyLBUpdateRequest) SetHealthCheck ¶
func (o *ProxyLBUpdateRequest) SetHealthCheck(v *ProxyLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*ProxyLBUpdateRequest) SetIconID ¶
func (o *ProxyLBUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ProxyLBUpdateRequest) SetLetsEncrypt ¶
func (o *ProxyLBUpdateRequest) SetLetsEncrypt(v *ProxyLBACMESetting)
SetLetsEncrypt sets value to LetsEncrypt
func (*ProxyLBUpdateRequest) SetName ¶
func (o *ProxyLBUpdateRequest) SetName(v string)
SetName sets value to Name
func (*ProxyLBUpdateRequest) SetProxyProtocol ¶
func (o *ProxyLBUpdateRequest) SetProxyProtocol(v *ProxyLBProxyProtocol)
SetProxyProtocol sets value to ProxyProtocol
func (*ProxyLBUpdateRequest) SetRules ¶
func (o *ProxyLBUpdateRequest) SetRules(v []*ProxyLBRule)
SetRules sets value to Rules
func (*ProxyLBUpdateRequest) SetServers ¶
func (o *ProxyLBUpdateRequest) SetServers(v []*ProxyLBServer)
SetServers sets value to Servers
func (*ProxyLBUpdateRequest) SetSettingsHash ¶
func (o *ProxyLBUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*ProxyLBUpdateRequest) SetSorryServer ¶
func (o *ProxyLBUpdateRequest) SetSorryServer(v *ProxyLBSorryServer)
SetSorryServer sets value to SorryServer
func (*ProxyLBUpdateRequest) SetStickySession ¶
func (o *ProxyLBUpdateRequest) SetStickySession(v *ProxyLBStickySession)
SetStickySession sets value to StickySession
func (*ProxyLBUpdateRequest) SetSyslog ¶
func (o *ProxyLBUpdateRequest) SetSyslog(v *ProxyLBSyslog)
SetSyslog sets value to Syslog
func (*ProxyLBUpdateRequest) SetTags ¶
func (o *ProxyLBUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*ProxyLBUpdateRequest) SetTimeout ¶
func (o *ProxyLBUpdateRequest) SetTimeout(v *ProxyLBTimeout)
SetTimeout sets value to Timeout
type ProxyLBUpdateSettingsRequest ¶
type ProxyLBUpdateSettingsRequest struct { HealthCheck *ProxyLBHealthCheck `mapconv:"Settings.ProxyLB.HealthCheck,recursive"` SorryServer *ProxyLBSorryServer `mapconv:"Settings.ProxyLB.SorryServer,recursive"` BindPorts []*ProxyLBBindPort `mapconv:"Settings.ProxyLB.[]BindPorts,recursive"` Servers []*ProxyLBServer `mapconv:"Settings.ProxyLB.[]Servers,recursive"` Rules []*ProxyLBRule `mapconv:"Settings.ProxyLB.[]Rules,recursive"` LetsEncrypt *ProxyLBACMESetting `mapconv:"Settings.ProxyLB.LetsEncrypt,recursive"` StickySession *ProxyLBStickySession `mapconv:"Settings.ProxyLB.StickySession,recursive"` Timeout *ProxyLBTimeout `json:",omitempty" mapconv:"Settings.ProxyLB.Timeout,recursive,omitempty"` Gzip *ProxyLBGzip `mapconv:"Settings.ProxyLB.Gzip,recursive"` BackendHttpKeepAlive *ProxyLBBackendHttpKeepAlive `mapconv:"Settings.ProxyLB.BackendHttpKeepAlive,recursive"` ProxyProtocol *ProxyLBProxyProtocol `mapconv:"Settings.ProxyLB.ProxyProtocol,recursive"` Syslog *ProxyLBSyslog `mapconv:"Settings.ProxyLB.Syslog,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
ProxyLBUpdateSettingsRequest represents API parameter/response structure
func (*ProxyLBUpdateSettingsRequest) GetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLBUpdateSettingsRequest) GetBackendHttpKeepAlive() *ProxyLBBackendHttpKeepAlive
GetBackendHttpKeepAlive returns value of BackendHttpKeepAlive
func (*ProxyLBUpdateSettingsRequest) GetBindPorts ¶
func (o *ProxyLBUpdateSettingsRequest) GetBindPorts() []*ProxyLBBindPort
GetBindPorts returns value of BindPorts
func (*ProxyLBUpdateSettingsRequest) GetGzip ¶
func (o *ProxyLBUpdateSettingsRequest) GetGzip() *ProxyLBGzip
GetGzip returns value of Gzip
func (*ProxyLBUpdateSettingsRequest) GetHealthCheck ¶
func (o *ProxyLBUpdateSettingsRequest) GetHealthCheck() *ProxyLBHealthCheck
GetHealthCheck returns value of HealthCheck
func (*ProxyLBUpdateSettingsRequest) GetLetsEncrypt ¶
func (o *ProxyLBUpdateSettingsRequest) GetLetsEncrypt() *ProxyLBACMESetting
GetLetsEncrypt returns value of LetsEncrypt
func (*ProxyLBUpdateSettingsRequest) GetProxyProtocol ¶
func (o *ProxyLBUpdateSettingsRequest) GetProxyProtocol() *ProxyLBProxyProtocol
GetProxyProtocol returns value of ProxyProtocol
func (*ProxyLBUpdateSettingsRequest) GetRules ¶
func (o *ProxyLBUpdateSettingsRequest) GetRules() []*ProxyLBRule
GetRules returns value of Rules
func (*ProxyLBUpdateSettingsRequest) GetServers ¶
func (o *ProxyLBUpdateSettingsRequest) GetServers() []*ProxyLBServer
GetServers returns value of Servers
func (*ProxyLBUpdateSettingsRequest) GetSettingsHash ¶
func (o *ProxyLBUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*ProxyLBUpdateSettingsRequest) GetSorryServer ¶
func (o *ProxyLBUpdateSettingsRequest) GetSorryServer() *ProxyLBSorryServer
GetSorryServer returns value of SorryServer
func (*ProxyLBUpdateSettingsRequest) GetStickySession ¶
func (o *ProxyLBUpdateSettingsRequest) GetStickySession() *ProxyLBStickySession
GetStickySession returns value of StickySession
func (*ProxyLBUpdateSettingsRequest) GetSyslog ¶
func (o *ProxyLBUpdateSettingsRequest) GetSyslog() *ProxyLBSyslog
GetSyslog returns value of Syslog
func (*ProxyLBUpdateSettingsRequest) GetTimeout ¶
func (o *ProxyLBUpdateSettingsRequest) GetTimeout() *ProxyLBTimeout
GetTimeout returns value of Timeout
func (*ProxyLBUpdateSettingsRequest) SetBackendHttpKeepAlive ¶ added in v1.9.0
func (o *ProxyLBUpdateSettingsRequest) SetBackendHttpKeepAlive(v *ProxyLBBackendHttpKeepAlive)
SetBackendHttpKeepAlive sets value to BackendHttpKeepAlive
func (*ProxyLBUpdateSettingsRequest) SetBindPorts ¶
func (o *ProxyLBUpdateSettingsRequest) SetBindPorts(v []*ProxyLBBindPort)
SetBindPorts sets value to BindPorts
func (*ProxyLBUpdateSettingsRequest) SetGzip ¶
func (o *ProxyLBUpdateSettingsRequest) SetGzip(v *ProxyLBGzip)
SetGzip sets value to Gzip
func (*ProxyLBUpdateSettingsRequest) SetHealthCheck ¶
func (o *ProxyLBUpdateSettingsRequest) SetHealthCheck(v *ProxyLBHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*ProxyLBUpdateSettingsRequest) SetLetsEncrypt ¶
func (o *ProxyLBUpdateSettingsRequest) SetLetsEncrypt(v *ProxyLBACMESetting)
SetLetsEncrypt sets value to LetsEncrypt
func (*ProxyLBUpdateSettingsRequest) SetProxyProtocol ¶
func (o *ProxyLBUpdateSettingsRequest) SetProxyProtocol(v *ProxyLBProxyProtocol)
SetProxyProtocol sets value to ProxyProtocol
func (*ProxyLBUpdateSettingsRequest) SetRules ¶
func (o *ProxyLBUpdateSettingsRequest) SetRules(v []*ProxyLBRule)
SetRules sets value to Rules
func (*ProxyLBUpdateSettingsRequest) SetServers ¶
func (o *ProxyLBUpdateSettingsRequest) SetServers(v []*ProxyLBServer)
SetServers sets value to Servers
func (*ProxyLBUpdateSettingsRequest) SetSettingsHash ¶
func (o *ProxyLBUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*ProxyLBUpdateSettingsRequest) SetSorryServer ¶
func (o *ProxyLBUpdateSettingsRequest) SetSorryServer(v *ProxyLBSorryServer)
SetSorryServer sets value to SorryServer
func (*ProxyLBUpdateSettingsRequest) SetStickySession ¶
func (o *ProxyLBUpdateSettingsRequest) SetStickySession(v *ProxyLBStickySession)
SetStickySession sets value to StickySession
func (*ProxyLBUpdateSettingsRequest) SetSyslog ¶
func (o *ProxyLBUpdateSettingsRequest) SetSyslog(v *ProxyLBSyslog)
SetSyslog sets value to Syslog
func (*ProxyLBUpdateSettingsRequest) SetTimeout ¶
func (o *ProxyLBUpdateSettingsRequest) SetTimeout(v *ProxyLBTimeout)
SetTimeout sets value to Timeout
type Region ¶
type Region struct { ID types.ID Name string Description string NameServers []string `json:",omitempty" mapconv:",omitempty"` }
Region represents API parameter/response structure
func (*Region) GetDescription ¶
GetDescription returns value of Description
func (*Region) GetNameServers ¶
GetNameServers returns value of NameServers
func (*Region) SetDescription ¶
SetDescription sets value to Description
func (*Region) SetNameServers ¶
SetNameServers sets value to NameServers
type RegionAPI ¶
type RegionAPI interface { Find(ctx context.Context, conditions *FindCondition) (*RegionFindResult, error) Read(ctx context.Context, id types.ID) (*Region, error) }
RegionAPI is interface for operate Region resource
func NewRegionOp ¶
NewRegionOp creates new RegionOp instance
type RegionFindResult ¶
type RegionFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Regions []*Region `json:",omitempty" mapconv:"[]Regions,omitempty,recursive"` }
RegionFindResult represents the Result of API
func (*RegionFindResult) Values ¶
func (r *RegionFindResult) Values() []interface{}
Values returns find results
type RegionOp ¶
type RegionOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
RegionOp implements RegionAPI interface
func (*RegionOp) Find ¶
func (o *RegionOp) Find(ctx context.Context, conditions *FindCondition) (*RegionFindResult, error)
Find is API call
type ResponseTimeSecActivity ¶
type ResponseTimeSecActivity struct {
Values []*MonitorResponseTimeSecValue `mapconv:"[]ResponseTimeSec"`
}
ResponseTimeSecActivity represents API parameter/response structure
func (*ResponseTimeSecActivity) GetValues ¶
func (o *ResponseTimeSecActivity) GetValues() []*MonitorResponseTimeSecValue
GetValues returns value of Values
func (*ResponseTimeSecActivity) SetValues ¶
func (o *ResponseTimeSecActivity) SetValues(v []*MonitorResponseTimeSecValue)
SetValues sets value to Values
type RouterActivity ¶
type RouterActivity struct {
Values []*MonitorRouterValue `mapconv:"[]Router"`
}
RouterActivity represents API parameter/response structure
func (*RouterActivity) GetValues ¶
func (o *RouterActivity) GetValues() []*MonitorRouterValue
GetValues returns value of Values
func (*RouterActivity) SetValues ¶
func (o *RouterActivity) SetValues(v []*MonitorRouterValue)
SetValues sets value to Values
type SIM ¶
type SIM struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Class string ICCID string `mapconv:"Status.ICCID"` Info *SIMInfo `mapconv:"Status.SIMInfo"` IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time }
SIM represents API parameter/response structure
func (*SIM) GetAvailability ¶
func (o *SIM) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*SIM) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*SIM) GetDescription ¶
GetDescription returns value of Description
func (*SIM) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*SIM) SetAvailability ¶
func (o *SIM) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*SIM) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*SIM) SetDescription ¶
SetDescription sets value to Description
func (*SIM) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
type SIMAPI ¶
type SIMAPI interface { Find(ctx context.Context, conditions *FindCondition) (*SIMFindResult, error) Create(ctx context.Context, param *SIMCreateRequest) (*SIM, error) Read(ctx context.Context, id types.ID) (*SIM, error) Update(ctx context.Context, id types.ID, param *SIMUpdateRequest) (*SIM, error) Delete(ctx context.Context, id types.ID) error Activate(ctx context.Context, id types.ID) error Deactivate(ctx context.Context, id types.ID) error AssignIP(ctx context.Context, id types.ID, param *SIMAssignIPRequest) error ClearIP(ctx context.Context, id types.ID) error IMEILock(ctx context.Context, id types.ID, param *SIMIMEILockRequest) error IMEIUnlock(ctx context.Context, id types.ID) error Logs(ctx context.Context, id types.ID) (*SIMLogsResult, error) GetNetworkOperator(ctx context.Context, id types.ID) ([]*SIMNetworkOperatorConfig, error) SetNetworkOperator(ctx context.Context, id types.ID, configs []*SIMNetworkOperatorConfig) error MonitorSIM(ctx context.Context, id types.ID, condition *MonitorCondition) (*LinkActivity, error) Status(ctx context.Context, id types.ID) (*SIMInfo, error) }
SIMAPI is interface for operate SIM resource
type SIMAssignIPRequest ¶
type SIMAssignIPRequest struct {
IP string
}
SIMAssignIPRequest represents API parameter/response structure
func (*SIMAssignIPRequest) GetIP ¶
func (o *SIMAssignIPRequest) GetIP() string
GetIP returns value of IP
func (*SIMAssignIPRequest) SetIP ¶
func (o *SIMAssignIPRequest) SetIP(v string)
SetIP sets value to IP
type SIMCreateRequest ¶
type SIMCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` ICCID string `mapconv:"Status.ICCID"` PassCode string `mapconv:"Remark.PassCode"` }
SIMCreateRequest represents API parameter/response structure
func (*SIMCreateRequest) AppendTag ¶
func (o *SIMCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*SIMCreateRequest) GetDescription ¶
func (o *SIMCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*SIMCreateRequest) GetICCID ¶
func (o *SIMCreateRequest) GetICCID() string
GetICCID returns value of ICCID
func (*SIMCreateRequest) GetIconID ¶
func (o *SIMCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*SIMCreateRequest) GetName ¶
func (o *SIMCreateRequest) GetName() string
GetName returns value of Name
func (*SIMCreateRequest) GetPassCode ¶
func (o *SIMCreateRequest) GetPassCode() string
GetPassCode returns value of PassCode
func (*SIMCreateRequest) GetTags ¶
func (o *SIMCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*SIMCreateRequest) HasTag ¶
func (o *SIMCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SIMCreateRequest) RemoveTag ¶
func (o *SIMCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*SIMCreateRequest) SetDescription ¶
func (o *SIMCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SIMCreateRequest) SetICCID ¶
func (o *SIMCreateRequest) SetICCID(v string)
SetICCID sets value to ICCID
func (*SIMCreateRequest) SetIconID ¶
func (o *SIMCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SIMCreateRequest) SetName ¶
func (o *SIMCreateRequest) SetName(v string)
SetName sets value to Name
func (*SIMCreateRequest) SetPassCode ¶
func (o *SIMCreateRequest) SetPassCode(v string)
SetPassCode sets value to PassCode
func (*SIMCreateRequest) SetTags ¶
func (o *SIMCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type SIMFindResult ¶
type SIMFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page SIMs []*SIM `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
SIMFindResult represents the Result of API
func (*SIMFindResult) Values ¶
func (r *SIMFindResult) Values() []interface{}
Values returns find results
type SIMIMEILockRequest ¶
type SIMIMEILockRequest struct {
IMEI string
}
SIMIMEILockRequest represents API parameter/response structure
func (*SIMIMEILockRequest) GetIMEI ¶
func (o *SIMIMEILockRequest) GetIMEI() string
GetIMEI returns value of IMEI
func (*SIMIMEILockRequest) SetIMEI ¶
func (o *SIMIMEILockRequest) SetIMEI(v string)
SetIMEI sets value to IMEI
type SIMInfo ¶
type SIMInfo struct { ICCID string IMSI []string IMEI string IP string SessionStatus string IMEILock bool Registered bool Activated bool ResourceID string RegisteredDate time.Time ActivatedDate time.Time DeactivatedDate time.Time SIMGroupID string TrafficBytesOfCurrentMonth *SIMTrafficBytes `mapconv:",recursive"` ConnectedIMEI string }
SIMInfo represents API parameter/response structure
func (*SIMInfo) GetActivated ¶
GetActivated returns value of Activated
func (*SIMInfo) GetActivatedDate ¶
GetActivatedDate returns value of ActivatedDate
func (*SIMInfo) GetConnectedIMEI ¶
GetConnectedIMEI returns value of ConnectedIMEI
func (*SIMInfo) GetDeactivatedDate ¶
GetDeactivatedDate returns value of DeactivatedDate
func (*SIMInfo) GetIMEILock ¶
GetIMEILock returns value of IMEILock
func (*SIMInfo) GetRegistered ¶
GetRegistered returns value of Registered
func (*SIMInfo) GetRegisteredDate ¶
GetRegisteredDate returns value of RegisteredDate
func (*SIMInfo) GetResourceID ¶
GetResourceID returns value of ResourceID
func (*SIMInfo) GetSIMGroupID ¶
GetSIMGroupID returns value of SIMGroupID
func (*SIMInfo) GetSessionStatus ¶
GetSessionStatus returns value of SessionStatus
func (*SIMInfo) GetTrafficBytesOfCurrentMonth ¶
func (o *SIMInfo) GetTrafficBytesOfCurrentMonth() *SIMTrafficBytes
GetTrafficBytesOfCurrentMonth returns value of TrafficBytesOfCurrentMonth
func (*SIMInfo) SetActivated ¶
SetActivated sets value to Activated
func (*SIMInfo) SetActivatedDate ¶
SetActivatedDate sets value to ActivatedDate
func (*SIMInfo) SetConnectedIMEI ¶
SetConnectedIMEI sets value to ConnectedIMEI
func (*SIMInfo) SetDeactivatedDate ¶
SetDeactivatedDate sets value to DeactivatedDate
func (*SIMInfo) SetIMEILock ¶
SetIMEILock sets value to IMEILock
func (*SIMInfo) SetRegistered ¶
SetRegistered sets value to Registered
func (*SIMInfo) SetRegisteredDate ¶
SetRegisteredDate sets value to RegisteredDate
func (*SIMInfo) SetResourceID ¶
SetResourceID sets value to ResourceID
func (*SIMInfo) SetSIMGroupID ¶
SetSIMGroupID sets value to SIMGroupID
func (*SIMInfo) SetSessionStatus ¶
SetSessionStatus sets value to SessionStatus
func (*SIMInfo) SetTrafficBytesOfCurrentMonth ¶
func (o *SIMInfo) SetTrafficBytesOfCurrentMonth(v *SIMTrafficBytes)
SetTrafficBytesOfCurrentMonth sets value to TrafficBytesOfCurrentMonth
type SIMLog ¶
type SIMLog struct { Date time.Time SessionStatus string ResourceID string IMEI string IMSI string }
SIMLog represents API parameter/response structure
func (*SIMLog) GetResourceID ¶
GetResourceID returns value of ResourceID
func (*SIMLog) GetSessionStatus ¶
GetSessionStatus returns value of SessionStatus
func (*SIMLog) SetResourceID ¶
SetResourceID sets value to ResourceID
func (*SIMLog) SetSessionStatus ¶
SetSessionStatus sets value to SessionStatus
type SIMLogsResult ¶
type SIMLogsResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Logs []*SIMLog `json:",omitempty" mapconv:"[]Logs,omitempty,recursive"` }
SIMLogsResult represents the Result of API
func (*SIMLogsResult) Values ¶
func (r *SIMLogsResult) Values() []interface{}
Values returns find results
type SIMNetworkOperatorConfig ¶
SIMNetworkOperatorConfig represents API parameter/response structure
func (*SIMNetworkOperatorConfig) GetAllow ¶
func (o *SIMNetworkOperatorConfig) GetAllow() bool
GetAllow returns value of Allow
func (*SIMNetworkOperatorConfig) GetCountryCode ¶
func (o *SIMNetworkOperatorConfig) GetCountryCode() string
GetCountryCode returns value of CountryCode
func (*SIMNetworkOperatorConfig) GetName ¶
func (o *SIMNetworkOperatorConfig) GetName() string
GetName returns value of Name
func (*SIMNetworkOperatorConfig) SetAllow ¶
func (o *SIMNetworkOperatorConfig) SetAllow(v bool)
SetAllow sets value to Allow
func (*SIMNetworkOperatorConfig) SetCountryCode ¶
func (o *SIMNetworkOperatorConfig) SetCountryCode(v string)
SetCountryCode sets value to CountryCode
func (*SIMNetworkOperatorConfig) SetName ¶
func (o *SIMNetworkOperatorConfig) SetName(v string)
SetName sets value to Name
type SIMOp ¶
type SIMOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
SIMOp implements SIMAPI interface
func (*SIMOp) Deactivate ¶
Deactivate is API call
func (*SIMOp) Find ¶
func (o *SIMOp) Find(ctx context.Context, conditions *FindCondition) (*SIMFindResult, error)
Find is API call
func (*SIMOp) GetNetworkOperator ¶
func (o *SIMOp) GetNetworkOperator(ctx context.Context, id types.ID) ([]*SIMNetworkOperatorConfig, error)
GetNetworkOperator is API call
func (*SIMOp) IMEIUnlock ¶
IMEIUnlock is API call
func (*SIMOp) MonitorSIM ¶
func (o *SIMOp) MonitorSIM(ctx context.Context, id types.ID, condition *MonitorCondition) (*LinkActivity, error)
MonitorSIM is API call
func (*SIMOp) SetNetworkOperator ¶
func (o *SIMOp) SetNetworkOperator(ctx context.Context, id types.ID, configs []*SIMNetworkOperatorConfig) error
SetNetworkOperator is API call
type SIMTrafficBytes ¶
SIMTrafficBytes represents API parameter/response structure
func (*SIMTrafficBytes) GetDownlinkBytes ¶
func (o *SIMTrafficBytes) GetDownlinkBytes() int64
GetDownlinkBytes returns value of DownlinkBytes
func (*SIMTrafficBytes) GetUplinkBytes ¶
func (o *SIMTrafficBytes) GetUplinkBytes() int64
GetUplinkBytes returns value of UplinkBytes
func (*SIMTrafficBytes) SetDownlinkBytes ¶
func (o *SIMTrafficBytes) SetDownlinkBytes(v int64)
SetDownlinkBytes sets value to DownlinkBytes
func (*SIMTrafficBytes) SetUplinkBytes ¶
func (o *SIMTrafficBytes) SetUplinkBytes(v int64)
SetUplinkBytes sets value to UplinkBytes
type SIMUpdateRequest ¶
type SIMUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
SIMUpdateRequest represents API parameter/response structure
func (*SIMUpdateRequest) AppendTag ¶
func (o *SIMUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*SIMUpdateRequest) GetDescription ¶
func (o *SIMUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*SIMUpdateRequest) GetIconID ¶
func (o *SIMUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*SIMUpdateRequest) GetName ¶
func (o *SIMUpdateRequest) GetName() string
GetName returns value of Name
func (*SIMUpdateRequest) GetTags ¶
func (o *SIMUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*SIMUpdateRequest) HasTag ¶
func (o *SIMUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SIMUpdateRequest) RemoveTag ¶
func (o *SIMUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*SIMUpdateRequest) SetDescription ¶
func (o *SIMUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SIMUpdateRequest) SetIconID ¶
func (o *SIMUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SIMUpdateRequest) SetName ¶
func (o *SIMUpdateRequest) SetName(v string)
SetName sets value to Name
func (*SIMUpdateRequest) SetTags ¶
func (o *SIMUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type SSHKey ¶
type SSHKey struct { ID types.ID Name string Description string CreatedAt time.Time PublicKey string Fingerprint string }
SSHKey represents API parameter/response structure
func (*SSHKey) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*SSHKey) GetDescription ¶
GetDescription returns value of Description
func (*SSHKey) GetFingerprint ¶
GetFingerprint returns value of Fingerprint
func (*SSHKey) GetPublicKey ¶
GetPublicKey returns value of PublicKey
func (*SSHKey) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*SSHKey) SetDescription ¶
SetDescription sets value to Description
func (*SSHKey) SetFingerprint ¶
SetFingerprint sets value to Fingerprint
func (*SSHKey) SetPublicKey ¶
SetPublicKey sets value to PublicKey
type SSHKeyAPI ¶
type SSHKeyAPI interface { Find(ctx context.Context, conditions *FindCondition) (*SSHKeyFindResult, error) Create(ctx context.Context, param *SSHKeyCreateRequest) (*SSHKey, error) Generate(ctx context.Context, param *SSHKeyGenerateRequest) (*SSHKeyGenerated, error) Read(ctx context.Context, id types.ID) (*SSHKey, error) Update(ctx context.Context, id types.ID, param *SSHKeyUpdateRequest) (*SSHKey, error) Delete(ctx context.Context, id types.ID) error }
SSHKeyAPI is interface for operate SSHKey resource
func NewSSHKeyOp ¶
NewSSHKeyOp creates new SSHKeyOp instance
type SSHKeyCreateRequest ¶
SSHKeyCreateRequest represents API parameter/response structure
func (*SSHKeyCreateRequest) GetDescription ¶
func (o *SSHKeyCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*SSHKeyCreateRequest) GetName ¶
func (o *SSHKeyCreateRequest) GetName() string
GetName returns value of Name
func (*SSHKeyCreateRequest) GetPublicKey ¶
func (o *SSHKeyCreateRequest) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*SSHKeyCreateRequest) SetDescription ¶
func (o *SSHKeyCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SSHKeyCreateRequest) SetName ¶
func (o *SSHKeyCreateRequest) SetName(v string)
SetName sets value to Name
func (*SSHKeyCreateRequest) SetPublicKey ¶
func (o *SSHKeyCreateRequest) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
type SSHKeyFindResult ¶
type SSHKeyFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page SSHKeys []*SSHKey `json:",omitempty" mapconv:"[]SSHKeys,omitempty,recursive"` }
SSHKeyFindResult represents the Result of API
func (*SSHKeyFindResult) Values ¶
func (r *SSHKeyFindResult) Values() []interface{}
Values returns find results
type SSHKeyGenerateRequest ¶
SSHKeyGenerateRequest represents API parameter/response structure
func (*SSHKeyGenerateRequest) GetDescription ¶
func (o *SSHKeyGenerateRequest) GetDescription() string
GetDescription returns value of Description
func (*SSHKeyGenerateRequest) GetName ¶
func (o *SSHKeyGenerateRequest) GetName() string
GetName returns value of Name
func (*SSHKeyGenerateRequest) GetPassPhrase ¶
func (o *SSHKeyGenerateRequest) GetPassPhrase() string
GetPassPhrase returns value of PassPhrase
func (*SSHKeyGenerateRequest) SetDescription ¶
func (o *SSHKeyGenerateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SSHKeyGenerateRequest) SetName ¶
func (o *SSHKeyGenerateRequest) SetName(v string)
SetName sets value to Name
func (*SSHKeyGenerateRequest) SetPassPhrase ¶
func (o *SSHKeyGenerateRequest) SetPassPhrase(v string)
SetPassPhrase sets value to PassPhrase
type SSHKeyGenerated ¶
type SSHKeyGenerated struct { ID types.ID Name string Description string CreatedAt time.Time PublicKey string Fingerprint string PrivateKey string }
SSHKeyGenerated represents API parameter/response structure
func (*SSHKeyGenerated) GetCreatedAt ¶
func (o *SSHKeyGenerated) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*SSHKeyGenerated) GetDescription ¶
func (o *SSHKeyGenerated) GetDescription() string
GetDescription returns value of Description
func (*SSHKeyGenerated) GetFingerprint ¶
func (o *SSHKeyGenerated) GetFingerprint() string
GetFingerprint returns value of Fingerprint
func (*SSHKeyGenerated) GetID ¶
func (o *SSHKeyGenerated) GetID() types.ID
GetID returns value of ID
func (*SSHKeyGenerated) GetName ¶
func (o *SSHKeyGenerated) GetName() string
GetName returns value of Name
func (*SSHKeyGenerated) GetPrivateKey ¶
func (o *SSHKeyGenerated) GetPrivateKey() string
GetPrivateKey returns value of PrivateKey
func (*SSHKeyGenerated) GetPublicKey ¶
func (o *SSHKeyGenerated) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*SSHKeyGenerated) SetCreatedAt ¶
func (o *SSHKeyGenerated) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*SSHKeyGenerated) SetDescription ¶
func (o *SSHKeyGenerated) SetDescription(v string)
SetDescription sets value to Description
func (*SSHKeyGenerated) SetFingerprint ¶
func (o *SSHKeyGenerated) SetFingerprint(v string)
SetFingerprint sets value to Fingerprint
func (*SSHKeyGenerated) SetName ¶
func (o *SSHKeyGenerated) SetName(v string)
SetName sets value to Name
func (*SSHKeyGenerated) SetPrivateKey ¶
func (o *SSHKeyGenerated) SetPrivateKey(v string)
SetPrivateKey sets value to PrivateKey
func (*SSHKeyGenerated) SetPublicKey ¶
func (o *SSHKeyGenerated) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
func (*SSHKeyGenerated) SetStringID ¶
func (o *SSHKeyGenerated) SetStringID(id string)
SetStringID .
type SSHKeyOp ¶
type SSHKeyOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
SSHKeyOp implements SSHKeyAPI interface
func (*SSHKeyOp) Find ¶
func (o *SSHKeyOp) Find(ctx context.Context, conditions *FindCondition) (*SSHKeyFindResult, error)
Find is API call
func (*SSHKeyOp) Generate ¶
func (o *SSHKeyOp) Generate(ctx context.Context, param *SSHKeyGenerateRequest) (*SSHKeyGenerated, error)
Generate is API call
type SSHKeyUpdateRequest ¶
SSHKeyUpdateRequest represents API parameter/response structure
func (*SSHKeyUpdateRequest) GetDescription ¶
func (o *SSHKeyUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*SSHKeyUpdateRequest) GetName ¶
func (o *SSHKeyUpdateRequest) GetName() string
GetName returns value of Name
func (*SSHKeyUpdateRequest) SetDescription ¶
func (o *SSHKeyUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SSHKeyUpdateRequest) SetName ¶
func (o *SSHKeyUpdateRequest) SetName(v string)
SetName sets value to Name
type SendKeyRequest ¶
SendKeyRequest represents API parameter/response structure
func (*SendKeyRequest) GetKey ¶
func (o *SendKeyRequest) GetKey() string
GetKey returns value of Key
func (*SendKeyRequest) GetKeys ¶
func (o *SendKeyRequest) GetKeys() []string
GetKeys returns value of Keys
func (*SendKeyRequest) SetKeys ¶
func (o *SendKeyRequest) SetKeys(v []string)
SetKeys sets value to Keys
type Server ¶
type Server struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability HostName string InterfaceDriver types.EInterfaceDriver ServerPlanID types.ID `mapconv:"ServerPlan.ID"` ServerPlanName string `mapconv:"ServerPlan.Name"` CPU int `mapconv:"ServerPlan.CPU"` MemoryMB int `mapconv:"ServerPlan.MemoryMB"` GPU int `mapconv:"ServerPlan.GPU"` ServerPlanCPUModel string `json:",omitempty" mapconv:"ServerPlan.CPUModel"` ServerPlanCommitment types.ECommitment `json:",omitempty" mapconv:"ServerPlan.Commitment"` ServerPlanGeneration types.EPlanGeneration `mapconv:"ServerPlan.Generation"` Zone *ZoneInfo `json:",omitempty" mapconv:",omitempty,recursive"` InstanceHostName string `mapconv:"Instance.Host.Name"` InstanceHostInfoURL string `mapconv:"Instance.Host.InfoURL"` InstanceStatus types.EServerInstanceStatus `mapconv:"Instance.Status"` InstanceBeforeStatus types.EServerInstanceStatus `mapconv:"Instance.BeforeStatus"` InstanceStatusChangedAt time.Time `mapconv:"Instance.StatusChangedAt"` InstanceWarnings string `mapconv:"Instance.Warnings"` InstanceWarningsValue int `mapconv:"Instance.WarningsValue"` Disks []*ServerConnectedDisk `json:",omitempty" mapconv:",recursive"` Interfaces []*InterfaceView `json:",omitempty" mapconv:"[]Interfaces,recursive,omitempty"` CDROMID types.ID `mapconv:"Instance.CDROM.ID"` PrivateHostID types.ID `mapconv:"PrivateHost.ID"` PrivateHostName string `mapconv:"PrivateHost.Name"` BundleInfo *BundleInfo `json:",omitempty" mapconv:",omitempty,recursive"` IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time }
Server represents API parameter/response structure
func (*Server) GetAvailability ¶
func (o *Server) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*Server) GetBundleInfo ¶
func (o *Server) GetBundleInfo() *BundleInfo
GetBundleInfo returns value of BundleInfo
func (*Server) GetCDROMID ¶
GetCDROMID returns value of CDROMID
func (*Server) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Server) GetDescription ¶
GetDescription returns value of Description
func (*Server) GetDisks ¶
func (o *Server) GetDisks() []*ServerConnectedDisk
GetDisks returns value of Disks
func (*Server) GetHostName ¶
GetHostName returns value of HostName
func (*Server) GetInstanceBeforeStatus ¶
func (o *Server) GetInstanceBeforeStatus() types.EServerInstanceStatus
GetInstanceBeforeStatus returns value of InstanceBeforeStatus
func (*Server) GetInstanceHostInfoURL ¶
GetInstanceHostInfoURL returns value of InstanceHostInfoURL
func (*Server) GetInstanceHostName ¶
GetInstanceHostName returns value of InstanceHostName
func (*Server) GetInstanceStatus ¶
func (o *Server) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus returns value of InstanceStatus
func (*Server) GetInstanceStatusChangedAt ¶
GetInstanceStatusChangedAt returns value of InstanceStatusChangedAt
func (*Server) GetInstanceWarnings ¶
GetInstanceWarnings returns value of InstanceWarnings
func (*Server) GetInstanceWarningsValue ¶
GetInstanceWarningsValue returns value of InstanceWarningsValue
func (*Server) GetInterfaceDriver ¶
func (o *Server) GetInterfaceDriver() types.EInterfaceDriver
GetInterfaceDriver returns value of InterfaceDriver
func (*Server) GetInterfaces ¶
func (o *Server) GetInterfaces() []*InterfaceView
GetInterfaces returns value of Interfaces
func (*Server) GetMemoryMB ¶
GetMemoryMB returns value of MemoryMB
func (*Server) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Server) GetPrivateHostID ¶
GetPrivateHostID returns value of PrivateHostID
func (*Server) GetPrivateHostName ¶
GetPrivateHostName returns value of PrivateHostName
func (*Server) GetServerPlanCPUModel ¶ added in v1.11.2
GetServerPlanCPUModel returns value of ServerPlanCPUModel
func (*Server) GetServerPlanCommitment ¶
func (o *Server) GetServerPlanCommitment() types.ECommitment
GetServerPlanCommitment returns value of ServerPlanCommitment
func (*Server) GetServerPlanGeneration ¶
func (o *Server) GetServerPlanGeneration() types.EPlanGeneration
GetServerPlanGeneration returns value of ServerPlanGeneration
func (*Server) GetServerPlanID ¶
GetServerPlanID returns value of ServerPlanID
func (*Server) GetServerPlanName ¶
GetServerPlanName returns value of ServerPlanName
func (*Server) SetAvailability ¶
func (o *Server) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*Server) SetBundleInfo ¶
func (o *Server) SetBundleInfo(v *BundleInfo)
SetBundleInfo sets value to BundleInfo
func (*Server) SetCDROMID ¶
SetCDROMID sets value to CDROMID
func (*Server) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Server) SetDescription ¶
SetDescription sets value to Description
func (*Server) SetDisks ¶
func (o *Server) SetDisks(v []*ServerConnectedDisk)
SetDisks sets value to Disks
func (*Server) SetHostName ¶
SetHostName sets value to HostName
func (*Server) SetInstanceBeforeStatus ¶
func (o *Server) SetInstanceBeforeStatus(v types.EServerInstanceStatus)
SetInstanceBeforeStatus sets value to InstanceBeforeStatus
func (*Server) SetInstanceHostInfoURL ¶
SetInstanceHostInfoURL sets value to InstanceHostInfoURL
func (*Server) SetInstanceHostName ¶
SetInstanceHostName sets value to InstanceHostName
func (*Server) SetInstanceStatus ¶
func (o *Server) SetInstanceStatus(v types.EServerInstanceStatus)
SetInstanceStatus sets value to InstanceStatus
func (*Server) SetInstanceStatusChangedAt ¶
SetInstanceStatusChangedAt sets value to InstanceStatusChangedAt
func (*Server) SetInstanceWarnings ¶
SetInstanceWarnings sets value to InstanceWarnings
func (*Server) SetInstanceWarningsValue ¶
SetInstanceWarningsValue sets value to InstanceWarningsValue
func (*Server) SetInterfaceDriver ¶
func (o *Server) SetInterfaceDriver(v types.EInterfaceDriver)
SetInterfaceDriver sets value to InterfaceDriver
func (*Server) SetInterfaces ¶
func (o *Server) SetInterfaces(v []*InterfaceView)
SetInterfaces sets value to Interfaces
func (*Server) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*Server) SetPrivateHostID ¶
SetPrivateHostID sets value to PrivateHostID
func (*Server) SetPrivateHostName ¶
SetPrivateHostName sets value to PrivateHostName
func (*Server) SetServerPlanCPUModel ¶ added in v1.11.2
SetServerPlanCPUModel sets value to ServerPlanCPUModel
func (*Server) SetServerPlanCommitment ¶
func (o *Server) SetServerPlanCommitment(v types.ECommitment)
SetServerPlanCommitment sets value to ServerPlanCommitment
func (*Server) SetServerPlanGeneration ¶
func (o *Server) SetServerPlanGeneration(v types.EPlanGeneration)
SetServerPlanGeneration sets value to ServerPlanGeneration
func (*Server) SetServerPlanID ¶
SetServerPlanID sets value to ServerPlanID
func (*Server) SetServerPlanName ¶
SetServerPlanName sets value to ServerPlanName
type ServerAPI ¶
type ServerAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*ServerFindResult, error) Create(ctx context.Context, zone string, param *ServerCreateRequest) (*Server, error) Read(ctx context.Context, zone string, id types.ID) (*Server, error) Update(ctx context.Context, zone string, id types.ID, param *ServerUpdateRequest) (*Server, error) Delete(ctx context.Context, zone string, id types.ID) error DeleteWithDisks(ctx context.Context, zone string, id types.ID, disks *ServerDeleteWithDisksRequest) error ChangePlan(ctx context.Context, zone string, id types.ID, plan *ServerChangePlanRequest) (*Server, error) InsertCDROM(ctx context.Context, zone string, id types.ID, insertParam *InsertCDROMRequest) error EjectCDROM(ctx context.Context, zone string, id types.ID, ejectParam *EjectCDROMRequest) error Boot(ctx context.Context, zone string, id types.ID) error Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error Reset(ctx context.Context, zone string, id types.ID) error BootWithVariables(ctx context.Context, zone string, id types.ID, param *ServerBootVariables) error SendKey(ctx context.Context, zone string, id types.ID, keyboardParam *SendKeyRequest) error SendNMI(ctx context.Context, zone string, id types.ID) error GetVNCProxy(ctx context.Context, zone string, id types.ID) (*VNCProxyInfo, error) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error) }
ServerAPI is interface for operate Server resource
func NewServerOp ¶
NewServerOp creates new ServerOp instance
type ServerBootVariables ¶
type ServerBootVariables struct {
UserData string `json:",omitempty" mapconv:"CloudInit.UserData,omitempty"`
}
ServerBootVariables represents API parameter/response structure
func (*ServerBootVariables) GetUserData ¶
func (o *ServerBootVariables) GetUserData() string
GetUserData returns value of UserData
func (*ServerBootVariables) SetUserData ¶
func (o *ServerBootVariables) SetUserData(v string)
SetUserData sets value to UserData
type ServerChangePlanRequest ¶
type ServerChangePlanRequest struct { CPU int MemoryMB int GPU int ServerPlanCPUModel string `json:"CPUModel,omitempty"` ServerPlanGeneration types.EPlanGeneration `json:"Generation,omitempty"` ServerPlanCommitment types.ECommitment `json:"Commitment,omitempty"` }
ServerChangePlanRequest represents API parameter/response structure
func (*ServerChangePlanRequest) GetCPU ¶
func (o *ServerChangePlanRequest) GetCPU() int
GetCPU returns value of CPU
func (*ServerChangePlanRequest) GetGPU ¶
func (o *ServerChangePlanRequest) GetGPU() int
GetGPU returns value of GPU
func (*ServerChangePlanRequest) GetMemoryGB ¶
func (o *ServerChangePlanRequest) GetMemoryGB() int
GetMemoryGB .
func (*ServerChangePlanRequest) GetMemoryMB ¶
func (o *ServerChangePlanRequest) GetMemoryMB() int
GetMemoryMB returns value of MemoryMB
func (*ServerChangePlanRequest) GetServerPlanCPUModel ¶ added in v1.11.2
func (o *ServerChangePlanRequest) GetServerPlanCPUModel() string
GetServerPlanCPUModel returns value of ServerPlanCPUModel
func (*ServerChangePlanRequest) GetServerPlanCommitment ¶
func (o *ServerChangePlanRequest) GetServerPlanCommitment() types.ECommitment
GetServerPlanCommitment returns value of ServerPlanCommitment
func (*ServerChangePlanRequest) GetServerPlanGeneration ¶
func (o *ServerChangePlanRequest) GetServerPlanGeneration() types.EPlanGeneration
GetServerPlanGeneration returns value of ServerPlanGeneration
func (*ServerChangePlanRequest) SetCPU ¶
func (o *ServerChangePlanRequest) SetCPU(v int)
SetCPU sets value to CPU
func (*ServerChangePlanRequest) SetGPU ¶
func (o *ServerChangePlanRequest) SetGPU(v int)
SetGPU sets value to GPU
func (*ServerChangePlanRequest) SetMemoryGB ¶
func (o *ServerChangePlanRequest) SetMemoryGB(memory int)
SetMemoryGB .
func (*ServerChangePlanRequest) SetMemoryMB ¶
func (o *ServerChangePlanRequest) SetMemoryMB(v int)
SetMemoryMB sets value to MemoryMB
func (*ServerChangePlanRequest) SetServerPlanCPUModel ¶ added in v1.11.2
func (o *ServerChangePlanRequest) SetServerPlanCPUModel(v string)
SetServerPlanCPUModel sets value to ServerPlanCPUModel
func (*ServerChangePlanRequest) SetServerPlanCommitment ¶
func (o *ServerChangePlanRequest) SetServerPlanCommitment(v types.ECommitment)
SetServerPlanCommitment sets value to ServerPlanCommitment
func (*ServerChangePlanRequest) SetServerPlanGeneration ¶
func (o *ServerChangePlanRequest) SetServerPlanGeneration(v types.EPlanGeneration)
SetServerPlanGeneration sets value to ServerPlanGeneration
type ServerConnectedDisk ¶
type ServerConnectedDisk struct { ID types.ID Name string Availability types.EAvailability Connection types.EDiskConnection `json:",omitempty" mapconv:",omitempty"` ConnectionOrder int EncryptionAlgorithm types.EDiskEncryptionAlgorithm `json:",omitempty" mapconv:",omitempty"` ReinstallCount int SizeMB int DiskPlanID types.ID `mapconv:"Plan.ID"` Storage *Storage `json:",omitempty" mapconv:",omitempty,recursive"` }
ServerConnectedDisk represents API parameter/response structure
func (*ServerConnectedDisk) GetAvailability ¶
func (o *ServerConnectedDisk) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*ServerConnectedDisk) GetConnection ¶
func (o *ServerConnectedDisk) GetConnection() types.EDiskConnection
GetConnection returns value of Connection
func (*ServerConnectedDisk) GetConnectionOrder ¶
func (o *ServerConnectedDisk) GetConnectionOrder() int
GetConnectionOrder returns value of ConnectionOrder
func (*ServerConnectedDisk) GetDiskPlanID ¶
func (o *ServerConnectedDisk) GetDiskPlanID() types.ID
GetDiskPlanID returns value of DiskPlanID
func (*ServerConnectedDisk) GetEncryptionAlgorithm ¶ added in v1.12.0
func (o *ServerConnectedDisk) GetEncryptionAlgorithm() types.EDiskEncryptionAlgorithm
GetEncryptionAlgorithm returns value of EncryptionAlgorithm
func (*ServerConnectedDisk) GetID ¶
func (o *ServerConnectedDisk) GetID() types.ID
GetID returns value of ID
func (*ServerConnectedDisk) GetInt64ID ¶
func (o *ServerConnectedDisk) GetInt64ID() int64
GetInt64ID .
func (*ServerConnectedDisk) GetName ¶
func (o *ServerConnectedDisk) GetName() string
GetName returns value of Name
func (*ServerConnectedDisk) GetReinstallCount ¶
func (o *ServerConnectedDisk) GetReinstallCount() int
GetReinstallCount returns value of ReinstallCount
func (*ServerConnectedDisk) GetSizeMB ¶
func (o *ServerConnectedDisk) GetSizeMB() int
GetSizeMB returns value of SizeMB
func (*ServerConnectedDisk) GetStorage ¶
func (o *ServerConnectedDisk) GetStorage() *Storage
GetStorage returns value of Storage
func (*ServerConnectedDisk) GetStringID ¶
func (o *ServerConnectedDisk) GetStringID() string
GetStringID .
func (*ServerConnectedDisk) SetAvailability ¶
func (o *ServerConnectedDisk) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*ServerConnectedDisk) SetConnection ¶
func (o *ServerConnectedDisk) SetConnection(v types.EDiskConnection)
SetConnection sets value to Connection
func (*ServerConnectedDisk) SetConnectionOrder ¶
func (o *ServerConnectedDisk) SetConnectionOrder(v int)
SetConnectionOrder sets value to ConnectionOrder
func (*ServerConnectedDisk) SetDiskPlanID ¶
func (o *ServerConnectedDisk) SetDiskPlanID(v types.ID)
SetDiskPlanID sets value to DiskPlanID
func (*ServerConnectedDisk) SetEncryptionAlgorithm ¶ added in v1.12.0
func (o *ServerConnectedDisk) SetEncryptionAlgorithm(v types.EDiskEncryptionAlgorithm)
SetEncryptionAlgorithm sets value to EncryptionAlgorithm
func (*ServerConnectedDisk) SetID ¶
func (o *ServerConnectedDisk) SetID(v types.ID)
SetID sets value to ID
func (*ServerConnectedDisk) SetInt64ID ¶
func (o *ServerConnectedDisk) SetInt64ID(id int64)
SetInt64ID .
func (*ServerConnectedDisk) SetName ¶
func (o *ServerConnectedDisk) SetName(v string)
SetName sets value to Name
func (*ServerConnectedDisk) SetReinstallCount ¶
func (o *ServerConnectedDisk) SetReinstallCount(v int)
SetReinstallCount sets value to ReinstallCount
func (*ServerConnectedDisk) SetSizeGB ¶
func (o *ServerConnectedDisk) SetSizeGB(size int)
SetSizeGB .
func (*ServerConnectedDisk) SetSizeMB ¶
func (o *ServerConnectedDisk) SetSizeMB(v int)
SetSizeMB sets value to SizeMB
func (*ServerConnectedDisk) SetStorage ¶
func (o *ServerConnectedDisk) SetStorage(v *Storage)
SetStorage sets value to Storage
func (*ServerConnectedDisk) SetStringID ¶
func (o *ServerConnectedDisk) SetStringID(id string)
SetStringID .
type ServerCreateRequest ¶
type ServerCreateRequest struct { CPU int `mapconv:"ServerPlan.CPU"` MemoryMB int `mapconv:"ServerPlan.MemoryMB"` GPU int `mapconv:"ServerPlan.GPU"` ServerPlanCPUModel string `json:",omitempty" mapconv:"ServerPlan.CPUModel"` ServerPlanCommitment types.ECommitment `json:",omitempty" mapconv:"ServerPlan.Commitment"` ServerPlanGeneration types.EPlanGeneration `mapconv:"ServerPlan.Generation"` ConnectedSwitches []*ConnectedSwitch `json:",omitempty" mapconv:"[]ConnectedSwitches,recursive"` InterfaceDriver types.EInterfaceDriver Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` WaitDiskMigration bool `json:",omitempty" mapconv:",omitempty"` PrivateHostID types.ID `mapconv:"PrivateHost.ID"` }
ServerCreateRequest represents API parameter/response structure
func (*ServerCreateRequest) AppendTag ¶
func (o *ServerCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ServerCreateRequest) GetCPU ¶
func (o *ServerCreateRequest) GetCPU() int
GetCPU returns value of CPU
func (*ServerCreateRequest) GetConnectedSwitches ¶
func (o *ServerCreateRequest) GetConnectedSwitches() []*ConnectedSwitch
GetConnectedSwitches returns value of ConnectedSwitches
func (*ServerCreateRequest) GetDescription ¶
func (o *ServerCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*ServerCreateRequest) GetGPU ¶
func (o *ServerCreateRequest) GetGPU() int
GetGPU returns value of GPU
func (*ServerCreateRequest) GetIconID ¶
func (o *ServerCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ServerCreateRequest) GetInterfaceDriver ¶
func (o *ServerCreateRequest) GetInterfaceDriver() types.EInterfaceDriver
GetInterfaceDriver returns value of InterfaceDriver
func (*ServerCreateRequest) GetMemoryGB ¶
func (o *ServerCreateRequest) GetMemoryGB() int
GetMemoryGB .
func (*ServerCreateRequest) GetMemoryMB ¶
func (o *ServerCreateRequest) GetMemoryMB() int
GetMemoryMB returns value of MemoryMB
func (*ServerCreateRequest) GetName ¶
func (o *ServerCreateRequest) GetName() string
GetName returns value of Name
func (*ServerCreateRequest) GetPrivateHostID ¶
func (o *ServerCreateRequest) GetPrivateHostID() types.ID
GetPrivateHostID returns value of PrivateHostID
func (*ServerCreateRequest) GetServerPlanCPUModel ¶ added in v1.11.2
func (o *ServerCreateRequest) GetServerPlanCPUModel() string
GetServerPlanCPUModel returns value of ServerPlanCPUModel
func (*ServerCreateRequest) GetServerPlanCommitment ¶
func (o *ServerCreateRequest) GetServerPlanCommitment() types.ECommitment
GetServerPlanCommitment returns value of ServerPlanCommitment
func (*ServerCreateRequest) GetServerPlanGeneration ¶
func (o *ServerCreateRequest) GetServerPlanGeneration() types.EPlanGeneration
GetServerPlanGeneration returns value of ServerPlanGeneration
func (*ServerCreateRequest) GetTags ¶
func (o *ServerCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ServerCreateRequest) GetWaitDiskMigration ¶
func (o *ServerCreateRequest) GetWaitDiskMigration() bool
GetWaitDiskMigration returns value of WaitDiskMigration
func (*ServerCreateRequest) HasTag ¶
func (o *ServerCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ServerCreateRequest) RemoveTag ¶
func (o *ServerCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ServerCreateRequest) SetCPU ¶
func (o *ServerCreateRequest) SetCPU(v int)
SetCPU sets value to CPU
func (*ServerCreateRequest) SetConnectedSwitches ¶
func (o *ServerCreateRequest) SetConnectedSwitches(v []*ConnectedSwitch)
SetConnectedSwitches sets value to ConnectedSwitches
func (*ServerCreateRequest) SetDescription ¶
func (o *ServerCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ServerCreateRequest) SetGPU ¶
func (o *ServerCreateRequest) SetGPU(v int)
SetGPU sets value to GPU
func (*ServerCreateRequest) SetIconID ¶
func (o *ServerCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ServerCreateRequest) SetInterfaceDriver ¶
func (o *ServerCreateRequest) SetInterfaceDriver(v types.EInterfaceDriver)
SetInterfaceDriver sets value to InterfaceDriver
func (*ServerCreateRequest) SetMemoryMB ¶
func (o *ServerCreateRequest) SetMemoryMB(v int)
SetMemoryMB sets value to MemoryMB
func (*ServerCreateRequest) SetName ¶
func (o *ServerCreateRequest) SetName(v string)
SetName sets value to Name
func (*ServerCreateRequest) SetPrivateHostID ¶
func (o *ServerCreateRequest) SetPrivateHostID(v types.ID)
SetPrivateHostID sets value to PrivateHostID
func (*ServerCreateRequest) SetServerPlanCPUModel ¶ added in v1.11.2
func (o *ServerCreateRequest) SetServerPlanCPUModel(v string)
SetServerPlanCPUModel sets value to ServerPlanCPUModel
func (*ServerCreateRequest) SetServerPlanCommitment ¶
func (o *ServerCreateRequest) SetServerPlanCommitment(v types.ECommitment)
SetServerPlanCommitment sets value to ServerPlanCommitment
func (*ServerCreateRequest) SetServerPlanGeneration ¶
func (o *ServerCreateRequest) SetServerPlanGeneration(v types.EPlanGeneration)
SetServerPlanGeneration sets value to ServerPlanGeneration
func (*ServerCreateRequest) SetTags ¶
func (o *ServerCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*ServerCreateRequest) SetWaitDiskMigration ¶
func (o *ServerCreateRequest) SetWaitDiskMigration(v bool)
SetWaitDiskMigration sets value to WaitDiskMigration
type ServerDeleteWithDisksRequest ¶
ServerDeleteWithDisksRequest represents API parameter/response structure
func (*ServerDeleteWithDisksRequest) GetIDs ¶
func (o *ServerDeleteWithDisksRequest) GetIDs() []types.ID
GetIDs returns value of IDs
func (*ServerDeleteWithDisksRequest) SetIDs ¶
func (o *ServerDeleteWithDisksRequest) SetIDs(v []types.ID)
SetIDs sets value to IDs
type ServerFindResult ¶
type ServerFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Servers []*Server `json:",omitempty" mapconv:"[]Servers,omitempty,recursive"` }
ServerFindResult represents the Result of API
func (*ServerFindResult) Values ¶
func (r *ServerFindResult) Values() []interface{}
Values returns find results
type ServerOp ¶
type ServerOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ServerOp implements ServerAPI interface
func (*ServerOp) BootWithVariables ¶
func (o *ServerOp) BootWithVariables(ctx context.Context, zone string, id types.ID, param *ServerBootVariables) error
BootWithVariables is API call
func (*ServerOp) ChangePlan ¶
func (o *ServerOp) ChangePlan(ctx context.Context, zone string, id types.ID, plan *ServerChangePlanRequest) (*Server, error)
ChangePlan is API call
func (*ServerOp) Create ¶
func (o *ServerOp) Create(ctx context.Context, zone string, param *ServerCreateRequest) (*Server, error)
Create is API call
func (*ServerOp) DeleteWithDisks ¶
func (o *ServerOp) DeleteWithDisks(ctx context.Context, zone string, id types.ID, disks *ServerDeleteWithDisksRequest) error
DeleteWithDisks is API call
func (*ServerOp) EjectCDROM ¶
func (o *ServerOp) EjectCDROM(ctx context.Context, zone string, id types.ID, ejectParam *EjectCDROMRequest) error
EjectCDROM is API call
func (*ServerOp) Find ¶
func (o *ServerOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*ServerFindResult, error)
Find is API call
func (*ServerOp) GetVNCProxy ¶
func (o *ServerOp) GetVNCProxy(ctx context.Context, zone string, id types.ID) (*VNCProxyInfo, error)
GetVNCProxy is API call
func (*ServerOp) InsertCDROM ¶
func (o *ServerOp) InsertCDROM(ctx context.Context, zone string, id types.ID, insertParam *InsertCDROMRequest) error
InsertCDROM is API call
func (*ServerOp) Monitor ¶
func (o *ServerOp) Monitor(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
Monitor is API call
func (*ServerOp) MonitorCPU ¶
func (o *ServerOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
MonitorCPU is API call
func (*ServerOp) SendKey ¶
func (o *ServerOp) SendKey(ctx context.Context, zone string, id types.ID, keyboardParam *SendKeyRequest) error
SendKey is API call
type ServerPlan ¶
type ServerPlan struct { ID types.ID Name string CPU int MemoryMB int GPU int CPUModel string Commitment types.ECommitment Generation types.EPlanGeneration Availability types.EAvailability }
ServerPlan represents API parameter/response structure
func (*ServerPlan) GetAvailability ¶
func (o *ServerPlan) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*ServerPlan) GetCPUModel ¶ added in v1.11.2
func (o *ServerPlan) GetCPUModel() string
GetCPUModel returns value of CPUModel
func (*ServerPlan) GetCommitment ¶
func (o *ServerPlan) GetCommitment() types.ECommitment
GetCommitment returns value of Commitment
func (*ServerPlan) GetGeneration ¶
func (o *ServerPlan) GetGeneration() types.EPlanGeneration
GetGeneration returns value of Generation
func (*ServerPlan) GetMemoryMB ¶
func (o *ServerPlan) GetMemoryMB() int
GetMemoryMB returns value of MemoryMB
func (*ServerPlan) SetAvailability ¶
func (o *ServerPlan) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*ServerPlan) SetCPUModel ¶ added in v1.11.2
func (o *ServerPlan) SetCPUModel(v string)
SetCPUModel sets value to CPUModel
func (*ServerPlan) SetCommitment ¶
func (o *ServerPlan) SetCommitment(v types.ECommitment)
SetCommitment sets value to Commitment
func (*ServerPlan) SetGeneration ¶
func (o *ServerPlan) SetGeneration(v types.EPlanGeneration)
SetGeneration sets value to Generation
func (*ServerPlan) SetMemoryMB ¶
func (o *ServerPlan) SetMemoryMB(v int)
SetMemoryMB sets value to MemoryMB
type ServerPlanAPI ¶
type ServerPlanAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*ServerPlanFindResult, error) Read(ctx context.Context, zone string, id types.ID) (*ServerPlan, error) }
ServerPlanAPI is interface for operate ServerPlan resource
func NewServerPlanOp ¶
func NewServerPlanOp(caller APICaller) ServerPlanAPI
NewServerPlanOp creates new ServerPlanOp instance
type ServerPlanFindResult ¶
type ServerPlanFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page ServerPlans []*ServerPlan `json:",omitempty" mapconv:"[]ServerPlans,omitempty,recursive"` }
ServerPlanFindResult represents the Result of API
func (*ServerPlanFindResult) Values ¶
func (r *ServerPlanFindResult) Values() []interface{}
Values returns find results
type ServerPlanOp ¶
type ServerPlanOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ServerPlanOp implements ServerPlanAPI interface
func (*ServerPlanOp) Find ¶
func (o *ServerPlanOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*ServerPlanFindResult, error)
Find is API call
func (*ServerPlanOp) Read ¶
func (o *ServerPlanOp) Read(ctx context.Context, zone string, id types.ID) (*ServerPlan, error)
Read is API call
type ServerUpdateRequest ¶
type ServerUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` PrivateHostID types.ID `mapconv:"PrivateHost.ID"` InterfaceDriver types.EInterfaceDriver }
ServerUpdateRequest represents API parameter/response structure
func (*ServerUpdateRequest) AppendTag ¶
func (o *ServerUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*ServerUpdateRequest) GetDescription ¶
func (o *ServerUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*ServerUpdateRequest) GetIconID ¶
func (o *ServerUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*ServerUpdateRequest) GetInterfaceDriver ¶
func (o *ServerUpdateRequest) GetInterfaceDriver() types.EInterfaceDriver
GetInterfaceDriver returns value of InterfaceDriver
func (*ServerUpdateRequest) GetName ¶
func (o *ServerUpdateRequest) GetName() string
GetName returns value of Name
func (*ServerUpdateRequest) GetPrivateHostID ¶
func (o *ServerUpdateRequest) GetPrivateHostID() types.ID
GetPrivateHostID returns value of PrivateHostID
func (*ServerUpdateRequest) GetTags ¶
func (o *ServerUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*ServerUpdateRequest) HasTag ¶
func (o *ServerUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*ServerUpdateRequest) RemoveTag ¶
func (o *ServerUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*ServerUpdateRequest) SetDescription ¶
func (o *ServerUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*ServerUpdateRequest) SetIconID ¶
func (o *ServerUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*ServerUpdateRequest) SetInterfaceDriver ¶
func (o *ServerUpdateRequest) SetInterfaceDriver(v types.EInterfaceDriver)
SetInterfaceDriver sets value to InterfaceDriver
func (*ServerUpdateRequest) SetName ¶
func (o *ServerUpdateRequest) SetName(v string)
SetName sets value to Name
func (*ServerUpdateRequest) SetPrivateHostID ¶
func (o *ServerUpdateRequest) SetPrivateHostID(v types.ID)
SetPrivateHostID sets value to PrivateHostID
func (*ServerUpdateRequest) SetTags ¶
func (o *ServerUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type ServiceClass ¶
type ServiceClass struct { ID types.ID ServiceClassName string ServiceClassPath string DisplayName string IsPublic bool Price *Price `mapconv:",recursive"` }
ServiceClass represents API parameter/response structure
func (*ServiceClass) GetDisplayName ¶
func (o *ServiceClass) GetDisplayName() string
GetDisplayName returns value of DisplayName
func (*ServiceClass) GetIsPublic ¶
func (o *ServiceClass) GetIsPublic() bool
GetIsPublic returns value of IsPublic
func (*ServiceClass) GetPrice ¶
func (o *ServiceClass) GetPrice() *Price
GetPrice returns value of Price
func (*ServiceClass) GetServiceClassName ¶
func (o *ServiceClass) GetServiceClassName() string
GetServiceClassName returns value of ServiceClassName
func (*ServiceClass) GetServiceClassPath ¶
func (o *ServiceClass) GetServiceClassPath() string
GetServiceClassPath returns value of ServiceClassPath
func (*ServiceClass) SetDisplayName ¶
func (o *ServiceClass) SetDisplayName(v string)
SetDisplayName sets value to DisplayName
func (*ServiceClass) SetIsPublic ¶
func (o *ServiceClass) SetIsPublic(v bool)
SetIsPublic sets value to IsPublic
func (*ServiceClass) SetPrice ¶
func (o *ServiceClass) SetPrice(v *Price)
SetPrice sets value to Price
func (*ServiceClass) SetServiceClassName ¶
func (o *ServiceClass) SetServiceClassName(v string)
SetServiceClassName sets value to ServiceClassName
func (*ServiceClass) SetServiceClassPath ¶
func (o *ServiceClass) SetServiceClassPath(v string)
SetServiceClassPath sets value to ServiceClassPath
type ServiceClassAPI ¶
type ServiceClassAPI interface {
Find(ctx context.Context, zone string, conditions *FindCondition) (*ServiceClassFindResult, error)
}
ServiceClassAPI is interface for operate ServiceClass resource
func NewServiceClassOp ¶
func NewServiceClassOp(caller APICaller) ServiceClassAPI
NewServiceClassOp creates new ServiceClassOp instance
type ServiceClassFindResult ¶
type ServiceClassFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page ServiceClasses []*ServiceClass `json:",omitempty" mapconv:"[]ServiceClasses,omitempty,recursive"` }
ServiceClassFindResult represents the Result of API
func (*ServiceClassFindResult) Values ¶
func (r *ServiceClassFindResult) Values() []interface{}
Values returns find results
type ServiceClassOp ¶
type ServiceClassOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ServiceClassOp implements ServiceClassAPI interface
func (*ServiceClassOp) Find ¶
func (o *ServiceClassOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*ServiceClassFindResult, error)
Find is API call
type ShutdownOption ¶
type ShutdownOption struct {
Force bool
}
ShutdownOption represents API parameter/response structure
func (*ShutdownOption) GetForce ¶
func (o *ShutdownOption) GetForce() bool
GetForce returns value of Force
func (*ShutdownOption) SetForce ¶
func (o *ShutdownOption) SetForce(v bool)
SetForce sets value to Force
type SimpleMonitor ¶
type SimpleMonitor struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Class string Target string `mapconv:"Status.Target"` DelayLoop int `mapconv:"Settings.SimpleMonitor.DelayLoop"` MaxCheckAttempts int `mapconv:"Settings.SimpleMonitor.MaxCheckAttempts"` RetryInterval int `mapconv:"Settings.SimpleMonitor.RetryInterval"` Enabled types.StringFlag `mapconv:"Settings.SimpleMonitor.Enabled"` HealthCheck *SimpleMonitorHealthCheck `mapconv:"Settings.SimpleMonitor.HealthCheck,recursive"` NotifyEmailEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.Enabled"` NotifyEmailHTML types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.HTML"` NotifySlackEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifySlack.Enabled"` SlackWebhooksURL string `mapconv:"Settings.SimpleMonitor.NotifySlack.IncomingWebhooksURL"` NotifyInterval int `mapconv:"Settings.SimpleMonitor.NotifyInterval"` Timeout int `mapconv:"Settings.SimpleMonitor.Timeout"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
SimpleMonitor represents API parameter/response structure
func (*SimpleMonitor) GetAvailability ¶
func (o *SimpleMonitor) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*SimpleMonitor) GetClass ¶
func (o *SimpleMonitor) GetClass() string
GetClass returns value of Class
func (*SimpleMonitor) GetCreatedAt ¶
func (o *SimpleMonitor) GetCreatedAt() time.Time
GetCreatedAt returns value of CreatedAt
func (*SimpleMonitor) GetDelayLoop ¶
func (o *SimpleMonitor) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*SimpleMonitor) GetDescription ¶
func (o *SimpleMonitor) GetDescription() string
GetDescription returns value of Description
func (*SimpleMonitor) GetEnabled ¶
func (o *SimpleMonitor) GetEnabled() types.StringFlag
GetEnabled returns value of Enabled
func (*SimpleMonitor) GetHealthCheck ¶
func (o *SimpleMonitor) GetHealthCheck() *SimpleMonitorHealthCheck
GetHealthCheck returns value of HealthCheck
func (*SimpleMonitor) GetIconID ¶
func (o *SimpleMonitor) GetIconID() types.ID
GetIconID returns value of IconID
func (*SimpleMonitor) GetMaxCheckAttempts ¶
func (o *SimpleMonitor) GetMaxCheckAttempts() int
GetMaxCheckAttempts returns value of MaxCheckAttempts
func (*SimpleMonitor) GetModifiedAt ¶
func (o *SimpleMonitor) GetModifiedAt() time.Time
GetModifiedAt returns value of ModifiedAt
func (*SimpleMonitor) GetName ¶
func (o *SimpleMonitor) GetName() string
GetName returns value of Name
func (*SimpleMonitor) GetNotifyEmailEnabled ¶
func (o *SimpleMonitor) GetNotifyEmailEnabled() types.StringFlag
GetNotifyEmailEnabled returns value of NotifyEmailEnabled
func (*SimpleMonitor) GetNotifyEmailHTML ¶
func (o *SimpleMonitor) GetNotifyEmailHTML() types.StringFlag
GetNotifyEmailHTML returns value of NotifyEmailHTML
func (*SimpleMonitor) GetNotifyInterval ¶
func (o *SimpleMonitor) GetNotifyInterval() int
GetNotifyInterval returns value of NotifyInterval
func (*SimpleMonitor) GetNotifySlackEnabled ¶
func (o *SimpleMonitor) GetNotifySlackEnabled() types.StringFlag
GetNotifySlackEnabled returns value of NotifySlackEnabled
func (*SimpleMonitor) GetRetryInterval ¶
func (o *SimpleMonitor) GetRetryInterval() int
GetRetryInterval returns value of RetryInterval
func (*SimpleMonitor) GetSettingsHash ¶
func (o *SimpleMonitor) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*SimpleMonitor) GetSlackWebhooksURL ¶
func (o *SimpleMonitor) GetSlackWebhooksURL() string
GetSlackWebhooksURL returns value of SlackWebhooksURL
func (*SimpleMonitor) GetTags ¶
func (o *SimpleMonitor) GetTags() types.Tags
GetTags returns value of Tags
func (*SimpleMonitor) GetTarget ¶
func (o *SimpleMonitor) GetTarget() string
GetTarget returns value of Target
func (*SimpleMonitor) GetTimeout ¶
func (o *SimpleMonitor) GetTimeout() int
GetTimeout returns value of Timeout
func (*SimpleMonitor) HasTag ¶
func (o *SimpleMonitor) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SimpleMonitor) SetAvailability ¶
func (o *SimpleMonitor) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*SimpleMonitor) SetClass ¶
func (o *SimpleMonitor) SetClass(v string)
SetClass sets value to Class
func (*SimpleMonitor) SetCreatedAt ¶
func (o *SimpleMonitor) SetCreatedAt(v time.Time)
SetCreatedAt sets value to CreatedAt
func (*SimpleMonitor) SetDelayLoop ¶
func (o *SimpleMonitor) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*SimpleMonitor) SetDescription ¶
func (o *SimpleMonitor) SetDescription(v string)
SetDescription sets value to Description
func (*SimpleMonitor) SetEnabled ¶
func (o *SimpleMonitor) SetEnabled(v types.StringFlag)
SetEnabled sets value to Enabled
func (*SimpleMonitor) SetHealthCheck ¶
func (o *SimpleMonitor) SetHealthCheck(v *SimpleMonitorHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*SimpleMonitor) SetIconID ¶
func (o *SimpleMonitor) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SimpleMonitor) SetMaxCheckAttempts ¶
func (o *SimpleMonitor) SetMaxCheckAttempts(v int)
SetMaxCheckAttempts sets value to MaxCheckAttempts
func (*SimpleMonitor) SetModifiedAt ¶
func (o *SimpleMonitor) SetModifiedAt(v time.Time)
SetModifiedAt sets value to ModifiedAt
func (*SimpleMonitor) SetName ¶
func (o *SimpleMonitor) SetName(v string)
SetName sets value to Name
func (*SimpleMonitor) SetNotifyEmailEnabled ¶
func (o *SimpleMonitor) SetNotifyEmailEnabled(v types.StringFlag)
SetNotifyEmailEnabled sets value to NotifyEmailEnabled
func (*SimpleMonitor) SetNotifyEmailHTML ¶
func (o *SimpleMonitor) SetNotifyEmailHTML(v types.StringFlag)
SetNotifyEmailHTML sets value to NotifyEmailHTML
func (*SimpleMonitor) SetNotifyInterval ¶
func (o *SimpleMonitor) SetNotifyInterval(v int)
SetNotifyInterval sets value to NotifyInterval
func (*SimpleMonitor) SetNotifySlackEnabled ¶
func (o *SimpleMonitor) SetNotifySlackEnabled(v types.StringFlag)
SetNotifySlackEnabled sets value to NotifySlackEnabled
func (*SimpleMonitor) SetRetryInterval ¶
func (o *SimpleMonitor) SetRetryInterval(v int)
SetRetryInterval sets value to RetryInterval
func (*SimpleMonitor) SetSettingsHash ¶
func (o *SimpleMonitor) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*SimpleMonitor) SetSlackWebhooksURL ¶
func (o *SimpleMonitor) SetSlackWebhooksURL(v string)
SetSlackWebhooksURL sets value to SlackWebhooksURL
func (*SimpleMonitor) SetTags ¶
func (o *SimpleMonitor) SetTags(v types.Tags)
SetTags sets value to Tags
func (*SimpleMonitor) SetTarget ¶
func (o *SimpleMonitor) SetTarget(v string)
SetTarget sets value to Target
func (*SimpleMonitor) SetTimeout ¶
func (o *SimpleMonitor) SetTimeout(v int)
SetTimeout sets value to Timeout
type SimpleMonitorAPI ¶
type SimpleMonitorAPI interface { Find(ctx context.Context, conditions *FindCondition) (*SimpleMonitorFindResult, error) Create(ctx context.Context, param *SimpleMonitorCreateRequest) (*SimpleMonitor, error) Read(ctx context.Context, id types.ID) (*SimpleMonitor, error) Update(ctx context.Context, id types.ID, param *SimpleMonitorUpdateRequest) (*SimpleMonitor, error) UpdateSettings(ctx context.Context, id types.ID, param *SimpleMonitorUpdateSettingsRequest) (*SimpleMonitor, error) Delete(ctx context.Context, id types.ID) error MonitorResponseTime(ctx context.Context, id types.ID, condition *MonitorCondition) (*ResponseTimeSecActivity, error) HealthStatus(ctx context.Context, id types.ID) (*SimpleMonitorHealthStatus, error) }
SimpleMonitorAPI is interface for operate SimpleMonitor resource
func NewSimpleMonitorOp ¶
func NewSimpleMonitorOp(caller APICaller) SimpleMonitorAPI
NewSimpleMonitorOp creates new SimpleMonitorOp instance
type SimpleMonitorCreateRequest ¶
type SimpleMonitorCreateRequest struct { Target string `mapconv:"Name/Status.Target"` MaxCheckAttempts int `mapconv:"Settings.SimpleMonitor.MaxCheckAttempts"` RetryInterval int `mapconv:"Settings.SimpleMonitor.RetryInterval"` DelayLoop int `mapconv:"Settings.SimpleMonitor.DelayLoop"` Enabled types.StringFlag `mapconv:"Settings.SimpleMonitor.Enabled"` HealthCheck *SimpleMonitorHealthCheck `mapconv:"Settings.SimpleMonitor.HealthCheck,recursive"` NotifyEmailEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.Enabled"` NotifyEmailHTML types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.HTML"` NotifySlackEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifySlack.Enabled"` SlackWebhooksURL string `mapconv:"Settings.SimpleMonitor.NotifySlack.IncomingWebhooksURL"` NotifyInterval int `mapconv:"Settings.SimpleMonitor.NotifyInterval"` Timeout int `mapconv:"Settings.SimpleMonitor.Timeout"` Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
SimpleMonitorCreateRequest represents API parameter/response structure
func (*SimpleMonitorCreateRequest) AppendTag ¶
func (o *SimpleMonitorCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*SimpleMonitorCreateRequest) ClearTags ¶
func (o *SimpleMonitorCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*SimpleMonitorCreateRequest) GetDelayLoop ¶
func (o *SimpleMonitorCreateRequest) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*SimpleMonitorCreateRequest) GetDescription ¶
func (o *SimpleMonitorCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*SimpleMonitorCreateRequest) GetEnabled ¶
func (o *SimpleMonitorCreateRequest) GetEnabled() types.StringFlag
GetEnabled returns value of Enabled
func (*SimpleMonitorCreateRequest) GetHealthCheck ¶
func (o *SimpleMonitorCreateRequest) GetHealthCheck() *SimpleMonitorHealthCheck
GetHealthCheck returns value of HealthCheck
func (*SimpleMonitorCreateRequest) GetIconID ¶
func (o *SimpleMonitorCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*SimpleMonitorCreateRequest) GetMaxCheckAttempts ¶
func (o *SimpleMonitorCreateRequest) GetMaxCheckAttempts() int
GetMaxCheckAttempts returns value of MaxCheckAttempts
func (*SimpleMonitorCreateRequest) GetNotifyEmailEnabled ¶
func (o *SimpleMonitorCreateRequest) GetNotifyEmailEnabled() types.StringFlag
GetNotifyEmailEnabled returns value of NotifyEmailEnabled
func (*SimpleMonitorCreateRequest) GetNotifyEmailHTML ¶
func (o *SimpleMonitorCreateRequest) GetNotifyEmailHTML() types.StringFlag
GetNotifyEmailHTML returns value of NotifyEmailHTML
func (*SimpleMonitorCreateRequest) GetNotifyInterval ¶
func (o *SimpleMonitorCreateRequest) GetNotifyInterval() int
GetNotifyInterval returns value of NotifyInterval
func (*SimpleMonitorCreateRequest) GetNotifySlackEnabled ¶
func (o *SimpleMonitorCreateRequest) GetNotifySlackEnabled() types.StringFlag
GetNotifySlackEnabled returns value of NotifySlackEnabled
func (*SimpleMonitorCreateRequest) GetRetryInterval ¶
func (o *SimpleMonitorCreateRequest) GetRetryInterval() int
GetRetryInterval returns value of RetryInterval
func (*SimpleMonitorCreateRequest) GetSlackWebhooksURL ¶
func (o *SimpleMonitorCreateRequest) GetSlackWebhooksURL() string
GetSlackWebhooksURL returns value of SlackWebhooksURL
func (*SimpleMonitorCreateRequest) GetTags ¶
func (o *SimpleMonitorCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*SimpleMonitorCreateRequest) GetTarget ¶
func (o *SimpleMonitorCreateRequest) GetTarget() string
GetTarget returns value of Target
func (*SimpleMonitorCreateRequest) GetTimeout ¶
func (o *SimpleMonitorCreateRequest) GetTimeout() int
GetTimeout returns value of Timeout
func (*SimpleMonitorCreateRequest) HasTag ¶
func (o *SimpleMonitorCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SimpleMonitorCreateRequest) RemoveTag ¶
func (o *SimpleMonitorCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*SimpleMonitorCreateRequest) SetDelayLoop ¶
func (o *SimpleMonitorCreateRequest) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*SimpleMonitorCreateRequest) SetDescription ¶
func (o *SimpleMonitorCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SimpleMonitorCreateRequest) SetEnabled ¶
func (o *SimpleMonitorCreateRequest) SetEnabled(v types.StringFlag)
SetEnabled sets value to Enabled
func (*SimpleMonitorCreateRequest) SetHealthCheck ¶
func (o *SimpleMonitorCreateRequest) SetHealthCheck(v *SimpleMonitorHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*SimpleMonitorCreateRequest) SetIconID ¶
func (o *SimpleMonitorCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SimpleMonitorCreateRequest) SetMaxCheckAttempts ¶
func (o *SimpleMonitorCreateRequest) SetMaxCheckAttempts(v int)
SetMaxCheckAttempts sets value to MaxCheckAttempts
func (*SimpleMonitorCreateRequest) SetNotifyEmailEnabled ¶
func (o *SimpleMonitorCreateRequest) SetNotifyEmailEnabled(v types.StringFlag)
SetNotifyEmailEnabled sets value to NotifyEmailEnabled
func (*SimpleMonitorCreateRequest) SetNotifyEmailHTML ¶
func (o *SimpleMonitorCreateRequest) SetNotifyEmailHTML(v types.StringFlag)
SetNotifyEmailHTML sets value to NotifyEmailHTML
func (*SimpleMonitorCreateRequest) SetNotifyInterval ¶
func (o *SimpleMonitorCreateRequest) SetNotifyInterval(v int)
SetNotifyInterval sets value to NotifyInterval
func (*SimpleMonitorCreateRequest) SetNotifySlackEnabled ¶
func (o *SimpleMonitorCreateRequest) SetNotifySlackEnabled(v types.StringFlag)
SetNotifySlackEnabled sets value to NotifySlackEnabled
func (*SimpleMonitorCreateRequest) SetRetryInterval ¶
func (o *SimpleMonitorCreateRequest) SetRetryInterval(v int)
SetRetryInterval sets value to RetryInterval
func (*SimpleMonitorCreateRequest) SetSlackWebhooksURL ¶
func (o *SimpleMonitorCreateRequest) SetSlackWebhooksURL(v string)
SetSlackWebhooksURL sets value to SlackWebhooksURL
func (*SimpleMonitorCreateRequest) SetTags ¶
func (o *SimpleMonitorCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*SimpleMonitorCreateRequest) SetTarget ¶
func (o *SimpleMonitorCreateRequest) SetTarget(v string)
SetTarget sets value to Target
func (*SimpleMonitorCreateRequest) SetTimeout ¶
func (o *SimpleMonitorCreateRequest) SetTimeout(v int)
SetTimeout sets value to Timeout
type SimpleMonitorFindResult ¶
type SimpleMonitorFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page SimpleMonitors []*SimpleMonitor `json:",omitempty" mapconv:"[]CommonServiceItems,omitempty,recursive"` }
SimpleMonitorFindResult represents the Result of API
func (*SimpleMonitorFindResult) Values ¶
func (r *SimpleMonitorFindResult) Values() []interface{}
Values returns find results
type SimpleMonitorHealthCheck ¶
type SimpleMonitorHealthCheck struct { Protocol types.ESimpleMonitorProtocol Port types.StringNumber Path string Status types.StringNumber SNI types.StringFlag Host string BasicAuthUsername string BasicAuthPassword string ContainsString string QName string ExpectedData string Community string SNMPVersion string OID string RemainingDays int HTTP2 types.StringFlag FTPS types.ESimpleMonitorFTPS VerifySNI types.StringFlag }
SimpleMonitorHealthCheck represents API parameter/response structure
func (*SimpleMonitorHealthCheck) GetBasicAuthPassword ¶
func (o *SimpleMonitorHealthCheck) GetBasicAuthPassword() string
GetBasicAuthPassword returns value of BasicAuthPassword
func (*SimpleMonitorHealthCheck) GetBasicAuthUsername ¶
func (o *SimpleMonitorHealthCheck) GetBasicAuthUsername() string
GetBasicAuthUsername returns value of BasicAuthUsername
func (*SimpleMonitorHealthCheck) GetCommunity ¶
func (o *SimpleMonitorHealthCheck) GetCommunity() string
GetCommunity returns value of Community
func (*SimpleMonitorHealthCheck) GetContainsString ¶
func (o *SimpleMonitorHealthCheck) GetContainsString() string
GetContainsString returns value of ContainsString
func (*SimpleMonitorHealthCheck) GetExpectedData ¶
func (o *SimpleMonitorHealthCheck) GetExpectedData() string
GetExpectedData returns value of ExpectedData
func (*SimpleMonitorHealthCheck) GetFTPS ¶
func (o *SimpleMonitorHealthCheck) GetFTPS() types.ESimpleMonitorFTPS
GetFTPS returns value of FTPS
func (*SimpleMonitorHealthCheck) GetHTTP2 ¶
func (o *SimpleMonitorHealthCheck) GetHTTP2() types.StringFlag
GetHTTP2 returns value of HTTP2
func (*SimpleMonitorHealthCheck) GetHost ¶
func (o *SimpleMonitorHealthCheck) GetHost() string
GetHost returns value of Host
func (*SimpleMonitorHealthCheck) GetOID ¶
func (o *SimpleMonitorHealthCheck) GetOID() string
GetOID returns value of OID
func (*SimpleMonitorHealthCheck) GetPath ¶
func (o *SimpleMonitorHealthCheck) GetPath() string
GetPath returns value of Path
func (*SimpleMonitorHealthCheck) GetPort ¶
func (o *SimpleMonitorHealthCheck) GetPort() types.StringNumber
GetPort returns value of Port
func (*SimpleMonitorHealthCheck) GetProtocol ¶
func (o *SimpleMonitorHealthCheck) GetProtocol() types.ESimpleMonitorProtocol
GetProtocol returns value of Protocol
func (*SimpleMonitorHealthCheck) GetQName ¶
func (o *SimpleMonitorHealthCheck) GetQName() string
GetQName returns value of QName
func (*SimpleMonitorHealthCheck) GetRemainingDays ¶
func (o *SimpleMonitorHealthCheck) GetRemainingDays() int
GetRemainingDays returns value of RemainingDays
func (*SimpleMonitorHealthCheck) GetSNI ¶
func (o *SimpleMonitorHealthCheck) GetSNI() types.StringFlag
GetSNI returns value of SNI
func (*SimpleMonitorHealthCheck) GetSNMPVersion ¶
func (o *SimpleMonitorHealthCheck) GetSNMPVersion() string
GetSNMPVersion returns value of SNMPVersion
func (*SimpleMonitorHealthCheck) GetStatus ¶
func (o *SimpleMonitorHealthCheck) GetStatus() types.StringNumber
GetStatus returns value of Status
func (*SimpleMonitorHealthCheck) GetVerifySNI ¶
func (o *SimpleMonitorHealthCheck) GetVerifySNI() types.StringFlag
GetVerifySNI returns value of VerifySNI
func (*SimpleMonitorHealthCheck) SetBasicAuthPassword ¶
func (o *SimpleMonitorHealthCheck) SetBasicAuthPassword(v string)
SetBasicAuthPassword sets value to BasicAuthPassword
func (*SimpleMonitorHealthCheck) SetBasicAuthUsername ¶
func (o *SimpleMonitorHealthCheck) SetBasicAuthUsername(v string)
SetBasicAuthUsername sets value to BasicAuthUsername
func (*SimpleMonitorHealthCheck) SetCommunity ¶
func (o *SimpleMonitorHealthCheck) SetCommunity(v string)
SetCommunity sets value to Community
func (*SimpleMonitorHealthCheck) SetContainsString ¶
func (o *SimpleMonitorHealthCheck) SetContainsString(v string)
SetContainsString sets value to ContainsString
func (*SimpleMonitorHealthCheck) SetExpectedData ¶
func (o *SimpleMonitorHealthCheck) SetExpectedData(v string)
SetExpectedData sets value to ExpectedData
func (*SimpleMonitorHealthCheck) SetFTPS ¶
func (o *SimpleMonitorHealthCheck) SetFTPS(v types.ESimpleMonitorFTPS)
SetFTPS sets value to FTPS
func (*SimpleMonitorHealthCheck) SetHTTP2 ¶
func (o *SimpleMonitorHealthCheck) SetHTTP2(v types.StringFlag)
SetHTTP2 sets value to HTTP2
func (*SimpleMonitorHealthCheck) SetHost ¶
func (o *SimpleMonitorHealthCheck) SetHost(v string)
SetHost sets value to Host
func (*SimpleMonitorHealthCheck) SetOID ¶
func (o *SimpleMonitorHealthCheck) SetOID(v string)
SetOID sets value to OID
func (*SimpleMonitorHealthCheck) SetPath ¶
func (o *SimpleMonitorHealthCheck) SetPath(v string)
SetPath sets value to Path
func (*SimpleMonitorHealthCheck) SetPort ¶
func (o *SimpleMonitorHealthCheck) SetPort(v types.StringNumber)
SetPort sets value to Port
func (*SimpleMonitorHealthCheck) SetProtocol ¶
func (o *SimpleMonitorHealthCheck) SetProtocol(v types.ESimpleMonitorProtocol)
SetProtocol sets value to Protocol
func (*SimpleMonitorHealthCheck) SetQName ¶
func (o *SimpleMonitorHealthCheck) SetQName(v string)
SetQName sets value to QName
func (*SimpleMonitorHealthCheck) SetRemainingDays ¶
func (o *SimpleMonitorHealthCheck) SetRemainingDays(v int)
SetRemainingDays sets value to RemainingDays
func (*SimpleMonitorHealthCheck) SetSNI ¶
func (o *SimpleMonitorHealthCheck) SetSNI(v types.StringFlag)
SetSNI sets value to SNI
func (*SimpleMonitorHealthCheck) SetSNMPVersion ¶
func (o *SimpleMonitorHealthCheck) SetSNMPVersion(v string)
SetSNMPVersion sets value to SNMPVersion
func (*SimpleMonitorHealthCheck) SetStatus ¶
func (o *SimpleMonitorHealthCheck) SetStatus(v types.StringNumber)
SetStatus sets value to Status
func (*SimpleMonitorHealthCheck) SetVerifySNI ¶
func (o *SimpleMonitorHealthCheck) SetVerifySNI(v types.StringFlag)
SetVerifySNI sets value to VerifySNI
type SimpleMonitorHealthStatus ¶
type SimpleMonitorHealthStatus struct { LastCheckedAt time.Time LastHealthChangedAt time.Time Health types.ESimpleMonitorHealth LatestLogs []string }
SimpleMonitorHealthStatus represents API parameter/response structure
func (*SimpleMonitorHealthStatus) GetHealth ¶
func (o *SimpleMonitorHealthStatus) GetHealth() types.ESimpleMonitorHealth
GetHealth returns value of Health
func (*SimpleMonitorHealthStatus) GetLastCheckedAt ¶
func (o *SimpleMonitorHealthStatus) GetLastCheckedAt() time.Time
GetLastCheckedAt returns value of LastCheckedAt
func (*SimpleMonitorHealthStatus) GetLastHealthChangedAt ¶
func (o *SimpleMonitorHealthStatus) GetLastHealthChangedAt() time.Time
GetLastHealthChangedAt returns value of LastHealthChangedAt
func (*SimpleMonitorHealthStatus) GetLatestLogs ¶
func (o *SimpleMonitorHealthStatus) GetLatestLogs() []string
GetLatestLogs returns value of LatestLogs
func (*SimpleMonitorHealthStatus) SetHealth ¶
func (o *SimpleMonitorHealthStatus) SetHealth(v types.ESimpleMonitorHealth)
SetHealth sets value to Health
func (*SimpleMonitorHealthStatus) SetLastCheckedAt ¶
func (o *SimpleMonitorHealthStatus) SetLastCheckedAt(v time.Time)
SetLastCheckedAt sets value to LastCheckedAt
func (*SimpleMonitorHealthStatus) SetLastHealthChangedAt ¶
func (o *SimpleMonitorHealthStatus) SetLastHealthChangedAt(v time.Time)
SetLastHealthChangedAt sets value to LastHealthChangedAt
func (*SimpleMonitorHealthStatus) SetLatestLogs ¶
func (o *SimpleMonitorHealthStatus) SetLatestLogs(v []string)
SetLatestLogs sets value to LatestLogs
type SimpleMonitorOp ¶
type SimpleMonitorOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
SimpleMonitorOp implements SimpleMonitorAPI interface
func (*SimpleMonitorOp) Create ¶
func (o *SimpleMonitorOp) Create(ctx context.Context, param *SimpleMonitorCreateRequest) (*SimpleMonitor, error)
Create is API call
func (*SimpleMonitorOp) Find ¶
func (o *SimpleMonitorOp) Find(ctx context.Context, conditions *FindCondition) (*SimpleMonitorFindResult, error)
Find is API call
func (*SimpleMonitorOp) HealthStatus ¶
func (o *SimpleMonitorOp) HealthStatus(ctx context.Context, id types.ID) (*SimpleMonitorHealthStatus, error)
HealthStatus is API call
func (*SimpleMonitorOp) MonitorResponseTime ¶
func (o *SimpleMonitorOp) MonitorResponseTime(ctx context.Context, id types.ID, condition *MonitorCondition) (*ResponseTimeSecActivity, error)
MonitorResponseTime is API call
func (*SimpleMonitorOp) Read ¶
func (o *SimpleMonitorOp) Read(ctx context.Context, id types.ID) (*SimpleMonitor, error)
Read is API call
func (*SimpleMonitorOp) Update ¶
func (o *SimpleMonitorOp) Update(ctx context.Context, id types.ID, param *SimpleMonitorUpdateRequest) (*SimpleMonitor, error)
Update is API call
func (*SimpleMonitorOp) UpdateSettings ¶
func (o *SimpleMonitorOp) UpdateSettings(ctx context.Context, id types.ID, param *SimpleMonitorUpdateSettingsRequest) (*SimpleMonitor, error)
UpdateSettings is API call
type SimpleMonitorUpdateRequest ¶
type SimpleMonitorUpdateRequest struct { Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` MaxCheckAttempts int `mapconv:"Settings.SimpleMonitor.MaxCheckAttempts"` RetryInterval int `mapconv:"Settings.SimpleMonitor.RetryInterval"` DelayLoop int `mapconv:"Settings.SimpleMonitor.DelayLoop"` Enabled types.StringFlag `mapconv:"Settings.SimpleMonitor.Enabled"` HealthCheck *SimpleMonitorHealthCheck `mapconv:"Settings.SimpleMonitor.HealthCheck,recursive"` NotifyEmailEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.Enabled"` NotifyEmailHTML types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.HTML"` NotifySlackEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifySlack.Enabled"` SlackWebhooksURL string `mapconv:"Settings.SimpleMonitor.NotifySlack.IncomingWebhooksURL"` NotifyInterval int `mapconv:"Settings.SimpleMonitor.NotifyInterval"` Timeout int `mapconv:"Settings.SimpleMonitor.Timeout"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
SimpleMonitorUpdateRequest represents API parameter/response structure
func (*SimpleMonitorUpdateRequest) AppendTag ¶
func (o *SimpleMonitorUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*SimpleMonitorUpdateRequest) ClearTags ¶
func (o *SimpleMonitorUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*SimpleMonitorUpdateRequest) GetDelayLoop ¶
func (o *SimpleMonitorUpdateRequest) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*SimpleMonitorUpdateRequest) GetDescription ¶
func (o *SimpleMonitorUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*SimpleMonitorUpdateRequest) GetEnabled ¶
func (o *SimpleMonitorUpdateRequest) GetEnabled() types.StringFlag
GetEnabled returns value of Enabled
func (*SimpleMonitorUpdateRequest) GetHealthCheck ¶
func (o *SimpleMonitorUpdateRequest) GetHealthCheck() *SimpleMonitorHealthCheck
GetHealthCheck returns value of HealthCheck
func (*SimpleMonitorUpdateRequest) GetIconID ¶
func (o *SimpleMonitorUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*SimpleMonitorUpdateRequest) GetMaxCheckAttempts ¶
func (o *SimpleMonitorUpdateRequest) GetMaxCheckAttempts() int
GetMaxCheckAttempts returns value of MaxCheckAttempts
func (*SimpleMonitorUpdateRequest) GetNotifyEmailEnabled ¶
func (o *SimpleMonitorUpdateRequest) GetNotifyEmailEnabled() types.StringFlag
GetNotifyEmailEnabled returns value of NotifyEmailEnabled
func (*SimpleMonitorUpdateRequest) GetNotifyEmailHTML ¶
func (o *SimpleMonitorUpdateRequest) GetNotifyEmailHTML() types.StringFlag
GetNotifyEmailHTML returns value of NotifyEmailHTML
func (*SimpleMonitorUpdateRequest) GetNotifyInterval ¶
func (o *SimpleMonitorUpdateRequest) GetNotifyInterval() int
GetNotifyInterval returns value of NotifyInterval
func (*SimpleMonitorUpdateRequest) GetNotifySlackEnabled ¶
func (o *SimpleMonitorUpdateRequest) GetNotifySlackEnabled() types.StringFlag
GetNotifySlackEnabled returns value of NotifySlackEnabled
func (*SimpleMonitorUpdateRequest) GetRetryInterval ¶
func (o *SimpleMonitorUpdateRequest) GetRetryInterval() int
GetRetryInterval returns value of RetryInterval
func (*SimpleMonitorUpdateRequest) GetSettingsHash ¶
func (o *SimpleMonitorUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*SimpleMonitorUpdateRequest) GetSlackWebhooksURL ¶
func (o *SimpleMonitorUpdateRequest) GetSlackWebhooksURL() string
GetSlackWebhooksURL returns value of SlackWebhooksURL
func (*SimpleMonitorUpdateRequest) GetTags ¶
func (o *SimpleMonitorUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*SimpleMonitorUpdateRequest) GetTimeout ¶
func (o *SimpleMonitorUpdateRequest) GetTimeout() int
GetTimeout returns value of Timeout
func (*SimpleMonitorUpdateRequest) HasTag ¶
func (o *SimpleMonitorUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SimpleMonitorUpdateRequest) RemoveTag ¶
func (o *SimpleMonitorUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*SimpleMonitorUpdateRequest) SetDelayLoop ¶
func (o *SimpleMonitorUpdateRequest) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*SimpleMonitorUpdateRequest) SetDescription ¶
func (o *SimpleMonitorUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SimpleMonitorUpdateRequest) SetEnabled ¶
func (o *SimpleMonitorUpdateRequest) SetEnabled(v types.StringFlag)
SetEnabled sets value to Enabled
func (*SimpleMonitorUpdateRequest) SetHealthCheck ¶
func (o *SimpleMonitorUpdateRequest) SetHealthCheck(v *SimpleMonitorHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*SimpleMonitorUpdateRequest) SetIconID ¶
func (o *SimpleMonitorUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SimpleMonitorUpdateRequest) SetMaxCheckAttempts ¶
func (o *SimpleMonitorUpdateRequest) SetMaxCheckAttempts(v int)
SetMaxCheckAttempts sets value to MaxCheckAttempts
func (*SimpleMonitorUpdateRequest) SetNotifyEmailEnabled ¶
func (o *SimpleMonitorUpdateRequest) SetNotifyEmailEnabled(v types.StringFlag)
SetNotifyEmailEnabled sets value to NotifyEmailEnabled
func (*SimpleMonitorUpdateRequest) SetNotifyEmailHTML ¶
func (o *SimpleMonitorUpdateRequest) SetNotifyEmailHTML(v types.StringFlag)
SetNotifyEmailHTML sets value to NotifyEmailHTML
func (*SimpleMonitorUpdateRequest) SetNotifyInterval ¶
func (o *SimpleMonitorUpdateRequest) SetNotifyInterval(v int)
SetNotifyInterval sets value to NotifyInterval
func (*SimpleMonitorUpdateRequest) SetNotifySlackEnabled ¶
func (o *SimpleMonitorUpdateRequest) SetNotifySlackEnabled(v types.StringFlag)
SetNotifySlackEnabled sets value to NotifySlackEnabled
func (*SimpleMonitorUpdateRequest) SetRetryInterval ¶
func (o *SimpleMonitorUpdateRequest) SetRetryInterval(v int)
SetRetryInterval sets value to RetryInterval
func (*SimpleMonitorUpdateRequest) SetSettingsHash ¶
func (o *SimpleMonitorUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*SimpleMonitorUpdateRequest) SetSlackWebhooksURL ¶
func (o *SimpleMonitorUpdateRequest) SetSlackWebhooksURL(v string)
SetSlackWebhooksURL sets value to SlackWebhooksURL
func (*SimpleMonitorUpdateRequest) SetTags ¶
func (o *SimpleMonitorUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*SimpleMonitorUpdateRequest) SetTimeout ¶
func (o *SimpleMonitorUpdateRequest) SetTimeout(v int)
SetTimeout sets value to Timeout
type SimpleMonitorUpdateSettingsRequest ¶
type SimpleMonitorUpdateSettingsRequest struct { MaxCheckAttempts int `mapconv:"Settings.SimpleMonitor.MaxCheckAttempts"` RetryInterval int `mapconv:"Settings.SimpleMonitor.RetryInterval"` DelayLoop int `mapconv:"Settings.SimpleMonitor.DelayLoop"` Enabled types.StringFlag `mapconv:"Settings.SimpleMonitor.Enabled"` HealthCheck *SimpleMonitorHealthCheck `mapconv:"Settings.SimpleMonitor.HealthCheck,recursive"` NotifyEmailEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.Enabled"` NotifyEmailHTML types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifyEmail.HTML"` NotifySlackEnabled types.StringFlag `mapconv:"Settings.SimpleMonitor.NotifySlack.Enabled"` SlackWebhooksURL string `mapconv:"Settings.SimpleMonitor.NotifySlack.IncomingWebhooksURL"` NotifyInterval int `mapconv:"Settings.SimpleMonitor.NotifyInterval"` Timeout int `mapconv:"Settings.SimpleMonitor.Timeout"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
SimpleMonitorUpdateSettingsRequest represents API parameter/response structure
func (*SimpleMonitorUpdateSettingsRequest) GetDelayLoop ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetDelayLoop() int
GetDelayLoop returns value of DelayLoop
func (*SimpleMonitorUpdateSettingsRequest) GetEnabled ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetEnabled() types.StringFlag
GetEnabled returns value of Enabled
func (*SimpleMonitorUpdateSettingsRequest) GetHealthCheck ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetHealthCheck() *SimpleMonitorHealthCheck
GetHealthCheck returns value of HealthCheck
func (*SimpleMonitorUpdateSettingsRequest) GetMaxCheckAttempts ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetMaxCheckAttempts() int
GetMaxCheckAttempts returns value of MaxCheckAttempts
func (*SimpleMonitorUpdateSettingsRequest) GetNotifyEmailEnabled ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetNotifyEmailEnabled() types.StringFlag
GetNotifyEmailEnabled returns value of NotifyEmailEnabled
func (*SimpleMonitorUpdateSettingsRequest) GetNotifyEmailHTML ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetNotifyEmailHTML() types.StringFlag
GetNotifyEmailHTML returns value of NotifyEmailHTML
func (*SimpleMonitorUpdateSettingsRequest) GetNotifyInterval ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetNotifyInterval() int
GetNotifyInterval returns value of NotifyInterval
func (*SimpleMonitorUpdateSettingsRequest) GetNotifySlackEnabled ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetNotifySlackEnabled() types.StringFlag
GetNotifySlackEnabled returns value of NotifySlackEnabled
func (*SimpleMonitorUpdateSettingsRequest) GetRetryInterval ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetRetryInterval() int
GetRetryInterval returns value of RetryInterval
func (*SimpleMonitorUpdateSettingsRequest) GetSettingsHash ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*SimpleMonitorUpdateSettingsRequest) GetSlackWebhooksURL ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetSlackWebhooksURL() string
GetSlackWebhooksURL returns value of SlackWebhooksURL
func (*SimpleMonitorUpdateSettingsRequest) GetTimeout ¶
func (o *SimpleMonitorUpdateSettingsRequest) GetTimeout() int
GetTimeout returns value of Timeout
func (*SimpleMonitorUpdateSettingsRequest) SetDelayLoop ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetDelayLoop(v int)
SetDelayLoop sets value to DelayLoop
func (*SimpleMonitorUpdateSettingsRequest) SetEnabled ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetEnabled(v types.StringFlag)
SetEnabled sets value to Enabled
func (*SimpleMonitorUpdateSettingsRequest) SetHealthCheck ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetHealthCheck(v *SimpleMonitorHealthCheck)
SetHealthCheck sets value to HealthCheck
func (*SimpleMonitorUpdateSettingsRequest) SetMaxCheckAttempts ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetMaxCheckAttempts(v int)
SetMaxCheckAttempts sets value to MaxCheckAttempts
func (*SimpleMonitorUpdateSettingsRequest) SetNotifyEmailEnabled ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetNotifyEmailEnabled(v types.StringFlag)
SetNotifyEmailEnabled sets value to NotifyEmailEnabled
func (*SimpleMonitorUpdateSettingsRequest) SetNotifyEmailHTML ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetNotifyEmailHTML(v types.StringFlag)
SetNotifyEmailHTML sets value to NotifyEmailHTML
func (*SimpleMonitorUpdateSettingsRequest) SetNotifyInterval ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetNotifyInterval(v int)
SetNotifyInterval sets value to NotifyInterval
func (*SimpleMonitorUpdateSettingsRequest) SetNotifySlackEnabled ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetNotifySlackEnabled(v types.StringFlag)
SetNotifySlackEnabled sets value to NotifySlackEnabled
func (*SimpleMonitorUpdateSettingsRequest) SetRetryInterval ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetRetryInterval(v int)
SetRetryInterval sets value to RetryInterval
func (*SimpleMonitorUpdateSettingsRequest) SetSettingsHash ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*SimpleMonitorUpdateSettingsRequest) SetSlackWebhooksURL ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetSlackWebhooksURL(v string)
SetSlackWebhooksURL sets value to SlackWebhooksURL
func (*SimpleMonitorUpdateSettingsRequest) SetTimeout ¶
func (o *SimpleMonitorUpdateSettingsRequest) SetTimeout(v int)
SetTimeout sets value to Timeout
type SourceArchiveInfo ¶
type SourceArchiveInfo struct { ID types.ID `mapconv:"ArchiveUnderZone.ID"` AccountID types.ID `mapconv:"ArchiveUnderZone.Account.ID"` ZoneID types.ID `mapconv:"ArchiveUnderZone.Zone.ID"` ZoneName string `mapconv:"ArchiveUnderZone.Zone.Name"` }
SourceArchiveInfo represents API parameter/response structure
func (*SourceArchiveInfo) GetAccountID ¶
func (o *SourceArchiveInfo) GetAccountID() types.ID
GetAccountID returns value of AccountID
func (*SourceArchiveInfo) GetID ¶
func (o *SourceArchiveInfo) GetID() types.ID
GetID returns value of ID
func (*SourceArchiveInfo) GetZoneID ¶
func (o *SourceArchiveInfo) GetZoneID() types.ID
GetZoneID returns value of ZoneID
func (*SourceArchiveInfo) GetZoneName ¶
func (o *SourceArchiveInfo) GetZoneName() string
GetZoneName returns value of ZoneName
func (*SourceArchiveInfo) SetAccountID ¶
func (o *SourceArchiveInfo) SetAccountID(v types.ID)
SetAccountID sets value to AccountID
func (*SourceArchiveInfo) SetID ¶
func (o *SourceArchiveInfo) SetID(v types.ID)
SetID sets value to ID
func (*SourceArchiveInfo) SetZoneID ¶
func (o *SourceArchiveInfo) SetZoneID(v types.ID)
SetZoneID sets value to ZoneID
func (*SourceArchiveInfo) SetZoneName ¶
func (o *SourceArchiveInfo) SetZoneName(v string)
SetZoneName sets value to ZoneName
type StatePollingWaiter ¶
type StatePollingWaiter struct { // ReadFunc 対象リソースの状態を取得するためのfunc ReadFunc wait.StateReadFunc // StateCheckFunc ReadFuncで得たリソースの情報を元に待ちを継続するかの判定を行うためのfunc StateCheckFunc wait.StateCheckFunc // Timeout タイムアウト Timeout time.Duration // タイムアウト // Interval ポーリング間隔 Interval time.Duration // NotFoundRetry Readで404が返ってきた場合のリトライ回数 // // アプライアンスなどの一部のリソースでは作成~起動完了までの間に404を返すことがある。 // これに対応するためこのフィールドにて404発生の許容回数を指定可能にする。 NotFoundRetry int // TargetAvailability 対象リソースのAvailabilityがこの状態になった場合になるまで待つ // // この値を指定する場合、ReadFuncにてAvailabilityHolderを返す必要がある。 // AvailabilityがTargetAvailabilityとPendingAvailabilityで指定されていない状態になった場合はUnexpectedAvailabilityErrorを返す // // TargetAvailability(Pending)とTargetInstanceState(Pending)の両方が指定された場合は両方を満たすまで待つ // StateCheckFuncとの併用は不可。併用した場合はpanicする。 TargetAvailability []types.EAvailability // PendingAvailability 対象リソースのAvailabilityがこの状態になった場合は待ちを継続する。 // // 詳細はTargetAvailabilityのコメントを参照 PendingAvailability []types.EAvailability // TargetInstanceStatus 対象リソースのInstanceStatusがこの状態になった場合になるまで待つ // // この値を指定する場合、ReadFuncにてInstanceStatusHolderを返す必要がある。 // InstanceStatusがTargetInstanceStatusとPendingInstanceStatusで指定されていない状態になった場合はUnexpectedInstanceStatusErrorを返す // // TargetAvailabilityとTargetInstanceStateの両方が指定された場合は両方を満たすまで待つ // // StateCheckFuncとの併用は不可。併用した場合はpanicする。 TargetInstanceStatus []types.EServerInstanceStatus // PendingInstanceStatus 対象リソースのInstanceStatusがこの状態になった場合は待ちを継続する。 // // 詳細はTargetInstanceStatusのコメントを参照 PendingInstanceStatus []types.EServerInstanceStatus // RaiseErrorWithUnknownState State(AvailabilityとInstanceStatus)が予期しない値だった場合にエラーとするか RaiseErrorWithUnknownState bool }
StatePollingWaiter ポーリングによりリソースの状態が変わるまで待機する
func (*StatePollingWaiter) WaitForState ¶
func (w *StatePollingWaiter) WaitForState(ctx context.Context) (interface{}, error)
WaitForState リソースが指定の状態になるまで待つ
func (*StatePollingWaiter) WaitForStateAsync ¶
func (w *StatePollingWaiter) WaitForStateAsync(ctx context.Context) (<-chan interface{}, <-chan interface{}, <-chan error)
WaitForStateAsync リソースが指定の状態になるまで待つ
type Storage ¶
type Storage struct { ID types.ID Name string Class string `json:",omitempty" mapconv:",omitempty"` Generation int `json:",omitempty" mapconv:",omitempty"` }
Storage represents API parameter/response structure
func (*Storage) GetGeneration ¶
GetGeneration returns value of Generation
func (*Storage) SetGeneration ¶
SetGeneration sets value to Generation
type Subnet ¶
type Subnet struct { ID types.ID SwitchID types.ID `mapconv:"Switch.ID,omitempty"` InternetID types.ID `mapconv:"Switch.Internet.ID,omitempty"` DefaultRoute string NextHop string StaticRoute string NetworkAddress string NetworkMaskLen int IPAddresses []*SubnetIPAddress `mapconv:"[]IPAddresses,recursive"` }
Subnet represents API parameter/response structure
func (*Subnet) GetDefaultRoute ¶
GetDefaultRoute returns value of DefaultRoute
func (*Subnet) GetIPAddresses ¶
func (o *Subnet) GetIPAddresses() []*SubnetIPAddress
GetIPAddresses returns value of IPAddresses
func (*Subnet) GetInternetID ¶
GetInternetID returns value of InternetID
func (*Subnet) GetNetworkAddress ¶
GetNetworkAddress returns value of NetworkAddress
func (*Subnet) GetNetworkMaskLen ¶
GetNetworkMaskLen returns value of NetworkMaskLen
func (*Subnet) GetNextHop ¶
GetNextHop returns value of NextHop
func (*Subnet) GetStaticRoute ¶
GetStaticRoute returns value of StaticRoute
func (*Subnet) GetSwitchID ¶
GetSwitchID returns value of SwitchID
func (*Subnet) SetDefaultRoute ¶
SetDefaultRoute sets value to DefaultRoute
func (*Subnet) SetIPAddresses ¶
func (o *Subnet) SetIPAddresses(v []*SubnetIPAddress)
SetIPAddresses sets value to IPAddresses
func (*Subnet) SetInternetID ¶
SetInternetID sets value to InternetID
func (*Subnet) SetNetworkAddress ¶
SetNetworkAddress sets value to NetworkAddress
func (*Subnet) SetNetworkMaskLen ¶
SetNetworkMaskLen sets value to NetworkMaskLen
func (*Subnet) SetStaticRoute ¶
SetStaticRoute sets value to StaticRoute
func (*Subnet) SetSwitchID ¶
SetSwitchID sets value to SwitchID
type SubnetAPI ¶
type SubnetAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*SubnetFindResult, error) Read(ctx context.Context, zone string, id types.ID) (*Subnet, error) }
SubnetAPI is interface for operate Subnet resource
func NewSubnetOp ¶
NewSubnetOp creates new SubnetOp instance
type SubnetFindResult ¶
type SubnetFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Subnets []*Subnet `json:",omitempty" mapconv:"[]Subnets,omitempty,recursive"` }
SubnetFindResult represents the Result of API
func (*SubnetFindResult) Values ¶
func (r *SubnetFindResult) Values() []interface{}
Values returns find results
type SubnetIPAddress ¶
SubnetIPAddress represents API parameter/response structure
func (*SubnetIPAddress) GetHostName ¶
func (o *SubnetIPAddress) GetHostName() string
GetHostName returns value of HostName
func (*SubnetIPAddress) GetIPAddress ¶
func (o *SubnetIPAddress) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*SubnetIPAddress) SetHostName ¶
func (o *SubnetIPAddress) SetHostName(v string)
SetHostName sets value to HostName
func (*SubnetIPAddress) SetIPAddress ¶
func (o *SubnetIPAddress) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
type SubnetOp ¶
type SubnetOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
SubnetOp implements SubnetAPI interface
func (*SubnetOp) Find ¶
func (o *SubnetOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*SubnetFindResult, error)
Find is API call
type Switch ¶
type Switch struct { ID types.ID Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time ModifiedAt time.Time Scope types.EScope ServerCount int NetworkMaskLen int `mapconv:"UserSubnet.NetworkMaskLen"` DefaultRoute string `mapconv:"UserSubnet.DefaultRoute"` Subnets []*SwitchSubnet `json:",omitempty" mapconv:"[]Subnets,omitempty,recursive"` BridgeID types.ID `mapconv:"Bridge.ID,omitempty"` HybridConnectionID types.ID `mapconv:"HybridConnection.ID,omitempty"` }
Switch represents API parameter/response structure
func (*Switch) GetBridgeID ¶
GetBridgeID returns value of BridgeID
func (*Switch) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*Switch) GetDefaultRoute ¶
GetDefaultRoute returns value of DefaultRoute
func (*Switch) GetDescription ¶
GetDescription returns value of Description
func (*Switch) GetHybridConnectionID ¶
GetHybridConnectionID returns value of HybridConnectionID
func (*Switch) GetModifiedAt ¶
GetModifiedAt returns value of ModifiedAt
func (*Switch) GetNetworkMaskLen ¶
GetNetworkMaskLen returns value of NetworkMaskLen
func (*Switch) GetServerCount ¶
GetServerCount returns value of ServerCount
func (*Switch) GetSubnets ¶
func (o *Switch) GetSubnets() []*SwitchSubnet
GetSubnets returns value of Subnets
func (*Switch) SetBridgeID ¶
SetBridgeID sets value to BridgeID
func (*Switch) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*Switch) SetDefaultRoute ¶
SetDefaultRoute sets value to DefaultRoute
func (*Switch) SetDescription ¶
SetDescription sets value to Description
func (*Switch) SetHybridConnectionID ¶
SetHybridConnectionID sets value to HybridConnectionID
func (*Switch) SetModifiedAt ¶
SetModifiedAt sets value to ModifiedAt
func (*Switch) SetNetworkMaskLen ¶
SetNetworkMaskLen sets value to NetworkMaskLen
func (*Switch) SetServerCount ¶
SetServerCount sets value to ServerCount
func (*Switch) SetSubnets ¶
func (o *Switch) SetSubnets(v []*SwitchSubnet)
SetSubnets sets value to Subnets
type SwitchAPI ¶
type SwitchAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*SwitchFindResult, error) Create(ctx context.Context, zone string, param *SwitchCreateRequest) (*Switch, error) Read(ctx context.Context, zone string, id types.ID) (*Switch, error) Update(ctx context.Context, zone string, id types.ID, param *SwitchUpdateRequest) (*Switch, error) Delete(ctx context.Context, zone string, id types.ID) error ConnectToBridge(ctx context.Context, zone string, id types.ID, bridgeID types.ID) error DisconnectFromBridge(ctx context.Context, zone string, id types.ID) error GetServers(ctx context.Context, zone string, id types.ID) (*SwitchGetServersResult, error) }
SwitchAPI is interface for operate Switch resource
func NewSwitchOp ¶
NewSwitchOp creates new SwitchOp instance
type SwitchCreateRequest ¶
type SwitchCreateRequest struct { Name string NetworkMaskLen int `mapconv:"UserSubnet.NetworkMaskLen"` DefaultRoute string `mapconv:"UserSubnet.DefaultRoute"` Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
SwitchCreateRequest represents API parameter/response structure
func (*SwitchCreateRequest) AppendTag ¶
func (o *SwitchCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*SwitchCreateRequest) GetDefaultRoute ¶
func (o *SwitchCreateRequest) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*SwitchCreateRequest) GetDescription ¶
func (o *SwitchCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*SwitchCreateRequest) GetIconID ¶
func (o *SwitchCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*SwitchCreateRequest) GetName ¶
func (o *SwitchCreateRequest) GetName() string
GetName returns value of Name
func (*SwitchCreateRequest) GetNetworkMaskLen ¶
func (o *SwitchCreateRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*SwitchCreateRequest) GetTags ¶
func (o *SwitchCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*SwitchCreateRequest) HasTag ¶
func (o *SwitchCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SwitchCreateRequest) RemoveTag ¶
func (o *SwitchCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*SwitchCreateRequest) SetDefaultRoute ¶
func (o *SwitchCreateRequest) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*SwitchCreateRequest) SetDescription ¶
func (o *SwitchCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SwitchCreateRequest) SetIconID ¶
func (o *SwitchCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SwitchCreateRequest) SetName ¶
func (o *SwitchCreateRequest) SetName(v string)
SetName sets value to Name
func (*SwitchCreateRequest) SetNetworkMaskLen ¶
func (o *SwitchCreateRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*SwitchCreateRequest) SetTags ¶
func (o *SwitchCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type SwitchFindResult ¶
type SwitchFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Switches []*Switch `json:",omitempty" mapconv:"[]Switches,omitempty,recursive"` }
SwitchFindResult represents the Result of API
func (*SwitchFindResult) Values ¶
func (r *SwitchFindResult) Values() []interface{}
Values returns find results
type SwitchGetServersResult ¶
type SwitchGetServersResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Servers []*Server `json:",omitempty" mapconv:"[]Servers,omitempty,recursive"` }
SwitchGetServersResult represents the Result of API
func (*SwitchGetServersResult) Values ¶
func (r *SwitchGetServersResult) Values() []interface{}
Values returns find results
type SwitchInfo ¶
type SwitchInfo struct { ID types.ID Name string Description string Tags types.Tags Scope types.EScope Subnets []*InternetSubnet `mapconv:"[]Subnets,recursive"` IPv6Nets []*IPv6NetInfo `mapconv:"[]IPv6Nets,recursive,omitempty"` }
SwitchInfo represents API parameter/response structure
func (*SwitchInfo) GetDescription ¶
func (o *SwitchInfo) GetDescription() string
GetDescription returns value of Description
func (*SwitchInfo) GetIPv6Nets ¶
func (o *SwitchInfo) GetIPv6Nets() []*IPv6NetInfo
GetIPv6Nets returns value of IPv6Nets
func (*SwitchInfo) GetScope ¶
func (o *SwitchInfo) GetScope() types.EScope
GetScope returns value of Scope
func (*SwitchInfo) GetSubnets ¶
func (o *SwitchInfo) GetSubnets() []*InternetSubnet
GetSubnets returns value of Subnets
func (*SwitchInfo) GetTags ¶
func (o *SwitchInfo) GetTags() types.Tags
GetTags returns value of Tags
func (*SwitchInfo) SetDescription ¶
func (o *SwitchInfo) SetDescription(v string)
SetDescription sets value to Description
func (*SwitchInfo) SetIPv6Nets ¶
func (o *SwitchInfo) SetIPv6Nets(v []*IPv6NetInfo)
SetIPv6Nets sets value to IPv6Nets
func (*SwitchInfo) SetScope ¶
func (o *SwitchInfo) SetScope(v types.EScope)
SetScope sets value to Scope
func (*SwitchInfo) SetSubnets ¶
func (o *SwitchInfo) SetSubnets(v []*InternetSubnet)
SetSubnets sets value to Subnets
type SwitchOp ¶
type SwitchOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
SwitchOp implements SwitchAPI interface
func (*SwitchOp) ConnectToBridge ¶
func (o *SwitchOp) ConnectToBridge(ctx context.Context, zone string, id types.ID, bridgeID types.ID) error
ConnectToBridge is API call
func (*SwitchOp) Create ¶
func (o *SwitchOp) Create(ctx context.Context, zone string, param *SwitchCreateRequest) (*Switch, error)
Create is API call
func (*SwitchOp) DisconnectFromBridge ¶
DisconnectFromBridge is API call
func (*SwitchOp) Find ¶
func (o *SwitchOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*SwitchFindResult, error)
Find is API call
func (*SwitchOp) GetServers ¶
func (o *SwitchOp) GetServers(ctx context.Context, zone string, id types.ID) (*SwitchGetServersResult, error)
GetServers is API call
type SwitchSubnet ¶
type SwitchSubnet struct { ID types.ID DefaultRoute string NextHop string StaticRoute string NetworkAddress string NetworkMaskLen int Internet *Internet AssignedIPAddressMax string `mapconv:"IPAddresses.Max"` AssignedIPAddressMin string `mapconv:"IPAddresses.Min"` }
SwitchSubnet represents API parameter/response structure
func (*SwitchSubnet) GetAssignedIPAddressMax ¶
func (o *SwitchSubnet) GetAssignedIPAddressMax() string
GetAssignedIPAddressMax returns value of AssignedIPAddressMax
func (*SwitchSubnet) GetAssignedIPAddressMin ¶
func (o *SwitchSubnet) GetAssignedIPAddressMin() string
GetAssignedIPAddressMin returns value of AssignedIPAddressMin
func (*SwitchSubnet) GetAssignedIPAddresses ¶
func (o *SwitchSubnet) GetAssignedIPAddresses() []string
GetAssignedIPAddresses 割り当てられたIPアドレスのリスト
func (*SwitchSubnet) GetDefaultRoute ¶
func (o *SwitchSubnet) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*SwitchSubnet) GetInternet ¶
func (o *SwitchSubnet) GetInternet() *Internet
GetInternet returns value of Internet
func (*SwitchSubnet) GetNetworkAddress ¶
func (o *SwitchSubnet) GetNetworkAddress() string
GetNetworkAddress returns value of NetworkAddress
func (*SwitchSubnet) GetNetworkMaskLen ¶
func (o *SwitchSubnet) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*SwitchSubnet) GetNextHop ¶
func (o *SwitchSubnet) GetNextHop() string
GetNextHop returns value of NextHop
func (*SwitchSubnet) GetStaticRoute ¶
func (o *SwitchSubnet) GetStaticRoute() string
GetStaticRoute returns value of StaticRoute
func (*SwitchSubnet) SetAssignedIPAddressMax ¶
func (o *SwitchSubnet) SetAssignedIPAddressMax(v string)
SetAssignedIPAddressMax sets value to AssignedIPAddressMax
func (*SwitchSubnet) SetAssignedIPAddressMin ¶
func (o *SwitchSubnet) SetAssignedIPAddressMin(v string)
SetAssignedIPAddressMin sets value to AssignedIPAddressMin
func (*SwitchSubnet) SetDefaultRoute ¶
func (o *SwitchSubnet) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*SwitchSubnet) SetInternet ¶
func (o *SwitchSubnet) SetInternet(v *Internet)
SetInternet sets value to Internet
func (*SwitchSubnet) SetNetworkAddress ¶
func (o *SwitchSubnet) SetNetworkAddress(v string)
SetNetworkAddress sets value to NetworkAddress
func (*SwitchSubnet) SetNetworkMaskLen ¶
func (o *SwitchSubnet) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*SwitchSubnet) SetNextHop ¶
func (o *SwitchSubnet) SetNextHop(v string)
SetNextHop sets value to NextHop
func (*SwitchSubnet) SetStaticRoute ¶
func (o *SwitchSubnet) SetStaticRoute(v string)
SetStaticRoute sets value to StaticRoute
type SwitchUpdateRequest ¶
type SwitchUpdateRequest struct { Name string NetworkMaskLen int `mapconv:"UserSubnet.NetworkMaskLen"` DefaultRoute string `mapconv:"UserSubnet.DefaultRoute"` Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` }
SwitchUpdateRequest represents API parameter/response structure
func (*SwitchUpdateRequest) AppendTag ¶
func (o *SwitchUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*SwitchUpdateRequest) GetDefaultRoute ¶
func (o *SwitchUpdateRequest) GetDefaultRoute() string
GetDefaultRoute returns value of DefaultRoute
func (*SwitchUpdateRequest) GetDescription ¶
func (o *SwitchUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*SwitchUpdateRequest) GetIconID ¶
func (o *SwitchUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*SwitchUpdateRequest) GetName ¶
func (o *SwitchUpdateRequest) GetName() string
GetName returns value of Name
func (*SwitchUpdateRequest) GetNetworkMaskLen ¶
func (o *SwitchUpdateRequest) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*SwitchUpdateRequest) GetTags ¶
func (o *SwitchUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*SwitchUpdateRequest) HasTag ¶
func (o *SwitchUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*SwitchUpdateRequest) RemoveTag ¶
func (o *SwitchUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*SwitchUpdateRequest) SetDefaultRoute ¶
func (o *SwitchUpdateRequest) SetDefaultRoute(v string)
SetDefaultRoute sets value to DefaultRoute
func (*SwitchUpdateRequest) SetDescription ¶
func (o *SwitchUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*SwitchUpdateRequest) SetIconID ¶
func (o *SwitchUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*SwitchUpdateRequest) SetName ¶
func (o *SwitchUpdateRequest) SetName(v string)
SetName sets value to Name
func (*SwitchUpdateRequest) SetNetworkMaskLen ¶
func (o *SwitchUpdateRequest) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*SwitchUpdateRequest) SetTags ¶
func (o *SwitchUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type UnexpectedAvailabilityError ¶
type UnexpectedAvailabilityError struct { // Err エラー詳細 Err error }
UnexpectedAvailabilityError 予期しないAvailabilityとなった場合のerror
func (*UnexpectedAvailabilityError) Error ¶
func (e *UnexpectedAvailabilityError) Error() string
Error errorインターフェース実装
type UnexpectedInstanceStatusError ¶
type UnexpectedInstanceStatusError struct { // Err エラー詳細 Err error }
UnexpectedInstanceStatusError 予期しないInstanceStatusとなった場合のerror
func (*UnexpectedInstanceStatusError) Error ¶
func (e *UnexpectedInstanceStatusError) Error() string
Error errorインターフェース実装
type VNCProxy ¶
type VNCProxy struct { HostName string `json:",omitempty" mapconv:",omitempty"` IPAddress string `json:",omitempty" mapconv:",omitempty"` }
VNCProxy represents API parameter/response structure
func (*VNCProxy) GetHostName ¶
GetHostName returns value of HostName
func (*VNCProxy) GetIPAddress ¶
GetIPAddress returns value of IPAddress
func (*VNCProxy) SetHostName ¶
SetHostName sets value to HostName
func (*VNCProxy) SetIPAddress ¶
SetIPAddress sets value to IPAddress
type VNCProxyInfo ¶
type VNCProxyInfo struct { Status string Host string IOServerHost string Port types.StringNumber Password string VNCFile string }
VNCProxyInfo represents API parameter/response structure
func (*VNCProxyInfo) GetHost ¶
func (o *VNCProxyInfo) GetHost() string
GetHost returns value of Host
func (*VNCProxyInfo) GetIOServerHost ¶
func (o *VNCProxyInfo) GetIOServerHost() string
GetIOServerHost returns value of IOServerHost
func (*VNCProxyInfo) GetPassword ¶
func (o *VNCProxyInfo) GetPassword() string
GetPassword returns value of Password
func (*VNCProxyInfo) GetPort ¶
func (o *VNCProxyInfo) GetPort() types.StringNumber
GetPort returns value of Port
func (*VNCProxyInfo) GetStatus ¶
func (o *VNCProxyInfo) GetStatus() string
GetStatus returns value of Status
func (*VNCProxyInfo) GetVNCFile ¶
func (o *VNCProxyInfo) GetVNCFile() string
GetVNCFile returns value of VNCFile
func (*VNCProxyInfo) SetIOServerHost ¶
func (o *VNCProxyInfo) SetIOServerHost(v string)
SetIOServerHost sets value to IOServerHost
func (*VNCProxyInfo) SetPassword ¶
func (o *VNCProxyInfo) SetPassword(v string)
SetPassword sets value to Password
func (*VNCProxyInfo) SetPort ¶
func (o *VNCProxyInfo) SetPort(v types.StringNumber)
SetPort sets value to Port
func (*VNCProxyInfo) SetStatus ¶
func (o *VNCProxyInfo) SetStatus(v string)
SetStatus sets value to Status
func (*VNCProxyInfo) SetVNCFile ¶
func (o *VNCProxyInfo) SetVNCFile(v string)
SetVNCFile sets value to VNCFile
type VPCRouter ¶
type VPCRouter struct { ID types.ID Name string Description string Tags types.Tags Availability types.EAvailability Class string IconID types.ID `mapconv:"Icon.ID"` CreatedAt time.Time PlanID types.ID `mapconv:"Remark.Plan.ID/Plan.ID"` Version int `mapconv:"Remark.Router.VPCRouterVersion"` Settings *VPCRouterSetting `mapconv:",omitempty,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` InstanceHostName string `mapconv:"Instance.Host.Name"` InstanceHostInfoURL string `mapconv:"Instance.Host.InfoURL"` InstanceStatus types.EServerInstanceStatus `mapconv:"Instance.Status"` InstanceStatusChangedAt time.Time `mapconv:"Instance.StatusChangedAt"` Interfaces []*VPCRouterInterface `json:",omitempty" mapconv:"[]Interfaces,recursive,omitempty"` ZoneID types.ID `mapconv:"Remark.Zone.ID"` }
VPCRouter represents API parameter/response structure
func (*VPCRouter) GetAvailability ¶
func (o *VPCRouter) GetAvailability() types.EAvailability
GetAvailability returns value of Availability
func (*VPCRouter) GetCreatedAt ¶
GetCreatedAt returns value of CreatedAt
func (*VPCRouter) GetDescription ¶
GetDescription returns value of Description
func (*VPCRouter) GetInstanceHostInfoURL ¶
GetInstanceHostInfoURL returns value of InstanceHostInfoURL
func (*VPCRouter) GetInstanceHostName ¶
GetInstanceHostName returns value of InstanceHostName
func (*VPCRouter) GetInstanceStatus ¶
func (o *VPCRouter) GetInstanceStatus() types.EServerInstanceStatus
GetInstanceStatus returns value of InstanceStatus
func (*VPCRouter) GetInstanceStatusChangedAt ¶
GetInstanceStatusChangedAt returns value of InstanceStatusChangedAt
func (*VPCRouter) GetInterfaces ¶
func (o *VPCRouter) GetInterfaces() []*VPCRouterInterface
GetInterfaces returns value of Interfaces
func (*VPCRouter) GetSettings ¶
func (o *VPCRouter) GetSettings() *VPCRouterSetting
GetSettings returns value of Settings
func (*VPCRouter) GetSettingsHash ¶
GetSettingsHash returns value of SettingsHash
func (*VPCRouter) GetVersion ¶
GetVersion returns value of Version
func (*VPCRouter) SetAvailability ¶
func (o *VPCRouter) SetAvailability(v types.EAvailability)
SetAvailability sets value to Availability
func (*VPCRouter) SetCreatedAt ¶
SetCreatedAt sets value to CreatedAt
func (*VPCRouter) SetDescription ¶
SetDescription sets value to Description
func (*VPCRouter) SetInstanceHostInfoURL ¶
SetInstanceHostInfoURL sets value to InstanceHostInfoURL
func (*VPCRouter) SetInstanceHostName ¶
SetInstanceHostName sets value to InstanceHostName
func (*VPCRouter) SetInstanceStatus ¶
func (o *VPCRouter) SetInstanceStatus(v types.EServerInstanceStatus)
SetInstanceStatus sets value to InstanceStatus
func (*VPCRouter) SetInstanceStatusChangedAt ¶
SetInstanceStatusChangedAt sets value to InstanceStatusChangedAt
func (*VPCRouter) SetInterfaces ¶
func (o *VPCRouter) SetInterfaces(v []*VPCRouterInterface)
SetInterfaces sets value to Interfaces
func (*VPCRouter) SetSettings ¶
func (o *VPCRouter) SetSettings(v *VPCRouterSetting)
SetSettings sets value to Settings
func (*VPCRouter) SetSettingsHash ¶
SetSettingsHash sets value to SettingsHash
func (*VPCRouter) SetVersion ¶
SetVersion sets value to Version
type VPCRouterAPI ¶
type VPCRouterAPI interface { Find(ctx context.Context, zone string, conditions *FindCondition) (*VPCRouterFindResult, error) Create(ctx context.Context, zone string, param *VPCRouterCreateRequest) (*VPCRouter, error) Read(ctx context.Context, zone string, id types.ID) (*VPCRouter, error) Update(ctx context.Context, zone string, id types.ID, param *VPCRouterUpdateRequest) (*VPCRouter, error) UpdateSettings(ctx context.Context, zone string, id types.ID, param *VPCRouterUpdateSettingsRequest) (*VPCRouter, error) Delete(ctx context.Context, zone string, id types.ID) error Config(ctx context.Context, zone string, id types.ID) error Boot(ctx context.Context, zone string, id types.ID) error Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error Reset(ctx context.Context, zone string, id types.ID) error ConnectToSwitch(ctx context.Context, zone string, id types.ID, nicIndex int, switchID types.ID) error DisconnectFromSwitch(ctx context.Context, zone string, id types.ID, nicIndex int) error MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *MonitorCondition) (*InterfaceActivity, error) Status(ctx context.Context, zone string, id types.ID) (*VPCRouterStatus, error) Logs(ctx context.Context, zone string, id types.ID) (*VPCRouterLog, error) Ping(ctx context.Context, zone string, id types.ID, destination string) (*VPCRouterPingResults, error) }
VPCRouterAPI is interface for operate VPCRouter resource
func NewVPCRouterOp ¶
func NewVPCRouterOp(caller APICaller) VPCRouterAPI
NewVPCRouterOp creates new VPCRouterOp instance
type VPCRouterCreateRequest ¶
type VPCRouterCreateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` PlanID types.ID `mapconv:"Plan.ID"` Switch *ApplianceConnectedSwitch `json:",omitempty" mapconv:"Remark.Switch,recursive"` IPAddresses []string `mapconv:"Remark.[]Servers.IPAddress"` Version int `mapconv:"Remark.Router.VPCRouterVersion"` Settings *VPCRouterSetting `mapconv:",omitempty,recursive"` }
VPCRouterCreateRequest represents API parameter/response structure
func (*VPCRouterCreateRequest) AppendTag ¶
func (o *VPCRouterCreateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*VPCRouterCreateRequest) ClearTags ¶
func (o *VPCRouterCreateRequest) ClearTags()
ClearTags タグを全クリア
func (*VPCRouterCreateRequest) GetDescription ¶
func (o *VPCRouterCreateRequest) GetDescription() string
GetDescription returns value of Description
func (*VPCRouterCreateRequest) GetIPAddresses ¶
func (o *VPCRouterCreateRequest) GetIPAddresses() []string
GetIPAddresses returns value of IPAddresses
func (*VPCRouterCreateRequest) GetIconID ¶
func (o *VPCRouterCreateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*VPCRouterCreateRequest) GetName ¶
func (o *VPCRouterCreateRequest) GetName() string
GetName returns value of Name
func (*VPCRouterCreateRequest) GetPlanID ¶
func (o *VPCRouterCreateRequest) GetPlanID() types.ID
GetPlanID returns value of PlanID
func (*VPCRouterCreateRequest) GetSettings ¶
func (o *VPCRouterCreateRequest) GetSettings() *VPCRouterSetting
GetSettings returns value of Settings
func (*VPCRouterCreateRequest) GetSwitch ¶
func (o *VPCRouterCreateRequest) GetSwitch() *ApplianceConnectedSwitch
GetSwitch returns value of Switch
func (*VPCRouterCreateRequest) GetTags ¶
func (o *VPCRouterCreateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*VPCRouterCreateRequest) GetVersion ¶
func (o *VPCRouterCreateRequest) GetVersion() int
GetVersion returns value of Version
func (*VPCRouterCreateRequest) HasTag ¶
func (o *VPCRouterCreateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*VPCRouterCreateRequest) RemoveTag ¶
func (o *VPCRouterCreateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*VPCRouterCreateRequest) SetDescription ¶
func (o *VPCRouterCreateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*VPCRouterCreateRequest) SetIPAddresses ¶
func (o *VPCRouterCreateRequest) SetIPAddresses(v []string)
SetIPAddresses sets value to IPAddresses
func (*VPCRouterCreateRequest) SetIconID ¶
func (o *VPCRouterCreateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*VPCRouterCreateRequest) SetName ¶
func (o *VPCRouterCreateRequest) SetName(v string)
SetName sets value to Name
func (*VPCRouterCreateRequest) SetPlanID ¶
func (o *VPCRouterCreateRequest) SetPlanID(v types.ID)
SetPlanID sets value to PlanID
func (*VPCRouterCreateRequest) SetSettings ¶
func (o *VPCRouterCreateRequest) SetSettings(v *VPCRouterSetting)
SetSettings sets value to Settings
func (*VPCRouterCreateRequest) SetSwitch ¶
func (o *VPCRouterCreateRequest) SetSwitch(v *ApplianceConnectedSwitch)
SetSwitch sets value to Switch
func (*VPCRouterCreateRequest) SetTags ¶
func (o *VPCRouterCreateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
func (*VPCRouterCreateRequest) SetVersion ¶
func (o *VPCRouterCreateRequest) SetVersion(v int)
SetVersion sets value to Version
type VPCRouterDHCPServer ¶
type VPCRouterDHCPServer struct { Interface string RangeStart string RangeStop string DNSServers []string }
VPCRouterDHCPServer represents API parameter/response structure
func (*VPCRouterDHCPServer) GetDNSServers ¶
func (o *VPCRouterDHCPServer) GetDNSServers() []string
GetDNSServers returns value of DNSServers
func (*VPCRouterDHCPServer) GetInterface ¶
func (o *VPCRouterDHCPServer) GetInterface() string
GetInterface returns value of Interface
func (*VPCRouterDHCPServer) GetRangeStart ¶
func (o *VPCRouterDHCPServer) GetRangeStart() string
GetRangeStart returns value of RangeStart
func (*VPCRouterDHCPServer) GetRangeStop ¶
func (o *VPCRouterDHCPServer) GetRangeStop() string
GetRangeStop returns value of RangeStop
func (*VPCRouterDHCPServer) SetDNSServers ¶
func (o *VPCRouterDHCPServer) SetDNSServers(v []string)
SetDNSServers sets value to DNSServers
func (*VPCRouterDHCPServer) SetInterface ¶
func (o *VPCRouterDHCPServer) SetInterface(v string)
SetInterface sets value to Interface
func (*VPCRouterDHCPServer) SetRangeStart ¶
func (o *VPCRouterDHCPServer) SetRangeStart(v string)
SetRangeStart sets value to RangeStart
func (*VPCRouterDHCPServer) SetRangeStop ¶
func (o *VPCRouterDHCPServer) SetRangeStop(v string)
SetRangeStop sets value to RangeStop
type VPCRouterDHCPServerLease ¶
VPCRouterDHCPServerLease represents API parameter/response structure
func (*VPCRouterDHCPServerLease) GetIPAddress ¶
func (o *VPCRouterDHCPServerLease) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterDHCPServerLease) GetMACAddress ¶
func (o *VPCRouterDHCPServerLease) GetMACAddress() string
GetMACAddress returns value of MACAddress
func (*VPCRouterDHCPServerLease) SetIPAddress ¶
func (o *VPCRouterDHCPServerLease) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterDHCPServerLease) SetMACAddress ¶
func (o *VPCRouterDHCPServerLease) SetMACAddress(v string)
SetMACAddress sets value to MACAddress
type VPCRouterDHCPStaticMapping ¶
VPCRouterDHCPStaticMapping represents API parameter/response structure
func (*VPCRouterDHCPStaticMapping) GetIPAddress ¶
func (o *VPCRouterDHCPStaticMapping) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterDHCPStaticMapping) GetMACAddress ¶
func (o *VPCRouterDHCPStaticMapping) GetMACAddress() string
GetMACAddress returns value of MACAddress
func (*VPCRouterDHCPStaticMapping) SetIPAddress ¶
func (o *VPCRouterDHCPStaticMapping) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterDHCPStaticMapping) SetMACAddress ¶
func (o *VPCRouterDHCPStaticMapping) SetMACAddress(v string)
SetMACAddress sets value to MACAddress
type VPCRouterDNSForwarding ¶
VPCRouterDNSForwarding represents API parameter/response structure
func (*VPCRouterDNSForwarding) GetDNSServers ¶
func (o *VPCRouterDNSForwarding) GetDNSServers() []string
GetDNSServers returns value of DNSServers
func (*VPCRouterDNSForwarding) GetInterface ¶
func (o *VPCRouterDNSForwarding) GetInterface() string
GetInterface returns value of Interface
func (*VPCRouterDNSForwarding) SetDNSServers ¶
func (o *VPCRouterDNSForwarding) SetDNSServers(v []string)
SetDNSServers sets value to DNSServers
func (*VPCRouterDNSForwarding) SetInterface ¶
func (o *VPCRouterDNSForwarding) SetInterface(v string)
SetInterface sets value to Interface
type VPCRouterFindResult ¶
type VPCRouterFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page VPCRouters []*VPCRouter `json:",omitempty" mapconv:"[]Appliances,omitempty,recursive"` }
VPCRouterFindResult represents the Result of API
func (*VPCRouterFindResult) Values ¶
func (r *VPCRouterFindResult) Values() []interface{}
Values returns find results
type VPCRouterFirewall ¶
type VPCRouterFirewall struct { Send []*VPCRouterFirewallRule Receive []*VPCRouterFirewallRule Index int }
VPCRouterFirewall represents API parameter/response structure
func (*VPCRouterFirewall) GetIndex ¶
func (o *VPCRouterFirewall) GetIndex() int
GetIndex returns value of Index
func (*VPCRouterFirewall) GetReceive ¶
func (o *VPCRouterFirewall) GetReceive() []*VPCRouterFirewallRule
GetReceive returns value of Receive
func (*VPCRouterFirewall) GetSend ¶
func (o *VPCRouterFirewall) GetSend() []*VPCRouterFirewallRule
GetSend returns value of Send
func (*VPCRouterFirewall) SetIndex ¶
func (o *VPCRouterFirewall) SetIndex(v int)
SetIndex sets value to Index
func (*VPCRouterFirewall) SetReceive ¶
func (o *VPCRouterFirewall) SetReceive(v []*VPCRouterFirewallRule)
SetReceive sets value to Receive
func (*VPCRouterFirewall) SetSend ¶
func (o *VPCRouterFirewall) SetSend(v []*VPCRouterFirewallRule)
SetSend sets value to Send
type VPCRouterFirewallRule ¶
type VPCRouterFirewallRule struct { Protocol types.Protocol SourceNetwork types.VPCFirewallNetwork SourcePort types.VPCFirewallPort DestinationNetwork types.VPCFirewallNetwork DestinationPort types.VPCFirewallPort Action types.Action Logging types.StringFlag Description string }
VPCRouterFirewallRule represents API parameter/response structure
func (*VPCRouterFirewallRule) GetAction ¶
func (o *VPCRouterFirewallRule) GetAction() types.Action
GetAction returns value of Action
func (*VPCRouterFirewallRule) GetDescription ¶
func (o *VPCRouterFirewallRule) GetDescription() string
GetDescription returns value of Description
func (*VPCRouterFirewallRule) GetDestinationNetwork ¶
func (o *VPCRouterFirewallRule) GetDestinationNetwork() types.VPCFirewallNetwork
GetDestinationNetwork returns value of DestinationNetwork
func (*VPCRouterFirewallRule) GetDestinationPort ¶
func (o *VPCRouterFirewallRule) GetDestinationPort() types.VPCFirewallPort
GetDestinationPort returns value of DestinationPort
func (*VPCRouterFirewallRule) GetLogging ¶
func (o *VPCRouterFirewallRule) GetLogging() types.StringFlag
GetLogging returns value of Logging
func (*VPCRouterFirewallRule) GetProtocol ¶
func (o *VPCRouterFirewallRule) GetProtocol() types.Protocol
GetProtocol returns value of Protocol
func (*VPCRouterFirewallRule) GetSourceNetwork ¶
func (o *VPCRouterFirewallRule) GetSourceNetwork() types.VPCFirewallNetwork
GetSourceNetwork returns value of SourceNetwork
func (*VPCRouterFirewallRule) GetSourcePort ¶
func (o *VPCRouterFirewallRule) GetSourcePort() types.VPCFirewallPort
GetSourcePort returns value of SourcePort
func (*VPCRouterFirewallRule) SetAction ¶
func (o *VPCRouterFirewallRule) SetAction(v types.Action)
SetAction sets value to Action
func (*VPCRouterFirewallRule) SetDescription ¶
func (o *VPCRouterFirewallRule) SetDescription(v string)
SetDescription sets value to Description
func (*VPCRouterFirewallRule) SetDestinationNetwork ¶
func (o *VPCRouterFirewallRule) SetDestinationNetwork(v types.VPCFirewallNetwork)
SetDestinationNetwork sets value to DestinationNetwork
func (*VPCRouterFirewallRule) SetDestinationPort ¶
func (o *VPCRouterFirewallRule) SetDestinationPort(v types.VPCFirewallPort)
SetDestinationPort sets value to DestinationPort
func (*VPCRouterFirewallRule) SetLogging ¶
func (o *VPCRouterFirewallRule) SetLogging(v types.StringFlag)
SetLogging sets value to Logging
func (*VPCRouterFirewallRule) SetProtocol ¶
func (o *VPCRouterFirewallRule) SetProtocol(v types.Protocol)
SetProtocol sets value to Protocol
func (*VPCRouterFirewallRule) SetSourceNetwork ¶
func (o *VPCRouterFirewallRule) SetSourceNetwork(v types.VPCFirewallNetwork)
SetSourceNetwork sets value to SourceNetwork
func (*VPCRouterFirewallRule) SetSourcePort ¶
func (o *VPCRouterFirewallRule) SetSourcePort(v types.VPCFirewallPort)
SetSourcePort sets value to SourcePort
type VPCRouterInterface ¶
type VPCRouterInterface struct { ID types.ID MACAddress string IPAddress string UserIPAddress string HostName string SwitchID types.ID `mapconv:"Switch.ID"` SwitchName string `mapconv:"Switch.Name"` SwitchScope types.EScope `mapconv:"Switch.Scope"` UserSubnetDefaultRoute string `mapconv:"Switch.UserSubnet.DefaultRoute"` UserSubnetNetworkMaskLen int `mapconv:"Switch.UserSubnet.NetworkMaskLen"` SubnetDefaultRoute string `mapconv:"Switch.Subnet.DefaultRoute"` SubnetNetworkMaskLen int `mapconv:"Switch.Subnet.NetworkMaskLen"` SubnetNetworkAddress string `mapconv:"Switch.Subnet.NetworkAddress"` SubnetBandWidthMbps int `mapconv:"Switch.Subnet.Internet.BandWidthMbps"` PacketFilterID types.ID `mapconv:"PacketFilter.ID"` PacketFilterName string `mapconv:"PacketFilter.Name"` PacketFilterRequiredHostVersion types.StringNumber `mapconv:"PacketFilter.RequiredHostVersionn"` UpstreamType types.EUpstreamNetworkType Index int `mapconv:",omitempty"` }
VPCRouterInterface represents API parameter/response structure
func (*VPCRouterInterface) GetHostName ¶
func (o *VPCRouterInterface) GetHostName() string
GetHostName returns value of HostName
func (*VPCRouterInterface) GetID ¶
func (o *VPCRouterInterface) GetID() types.ID
GetID returns value of ID
func (*VPCRouterInterface) GetIPAddress ¶
func (o *VPCRouterInterface) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterInterface) GetIndex ¶
func (o *VPCRouterInterface) GetIndex() int
GetIndex returns value of Index
func (*VPCRouterInterface) GetInt64ID ¶
func (o *VPCRouterInterface) GetInt64ID() int64
GetInt64ID .
func (*VPCRouterInterface) GetMACAddress ¶
func (o *VPCRouterInterface) GetMACAddress() string
GetMACAddress returns value of MACAddress
func (*VPCRouterInterface) GetPacketFilterID ¶
func (o *VPCRouterInterface) GetPacketFilterID() types.ID
GetPacketFilterID returns value of PacketFilterID
func (*VPCRouterInterface) GetPacketFilterName ¶
func (o *VPCRouterInterface) GetPacketFilterName() string
GetPacketFilterName returns value of PacketFilterName
func (*VPCRouterInterface) GetPacketFilterRequiredHostVersion ¶
func (o *VPCRouterInterface) GetPacketFilterRequiredHostVersion() types.StringNumber
GetPacketFilterRequiredHostVersion returns value of PacketFilterRequiredHostVersion
func (*VPCRouterInterface) GetStringID ¶
func (o *VPCRouterInterface) GetStringID() string
GetStringID .
func (*VPCRouterInterface) GetSubnetBandWidthMbps ¶
func (o *VPCRouterInterface) GetSubnetBandWidthMbps() int
GetSubnetBandWidthMbps returns value of SubnetBandWidthMbps
func (*VPCRouterInterface) GetSubnetDefaultRoute ¶
func (o *VPCRouterInterface) GetSubnetDefaultRoute() string
GetSubnetDefaultRoute returns value of SubnetDefaultRoute
func (*VPCRouterInterface) GetSubnetNetworkAddress ¶
func (o *VPCRouterInterface) GetSubnetNetworkAddress() string
GetSubnetNetworkAddress returns value of SubnetNetworkAddress
func (*VPCRouterInterface) GetSubnetNetworkMaskLen ¶
func (o *VPCRouterInterface) GetSubnetNetworkMaskLen() int
GetSubnetNetworkMaskLen returns value of SubnetNetworkMaskLen
func (*VPCRouterInterface) GetSwitchID ¶
func (o *VPCRouterInterface) GetSwitchID() types.ID
GetSwitchID returns value of SwitchID
func (*VPCRouterInterface) GetSwitchName ¶
func (o *VPCRouterInterface) GetSwitchName() string
GetSwitchName returns value of SwitchName
func (*VPCRouterInterface) GetSwitchScope ¶
func (o *VPCRouterInterface) GetSwitchScope() types.EScope
GetSwitchScope returns value of SwitchScope
func (*VPCRouterInterface) GetUpstreamType ¶
func (o *VPCRouterInterface) GetUpstreamType() types.EUpstreamNetworkType
GetUpstreamType returns value of UpstreamType
func (*VPCRouterInterface) GetUserIPAddress ¶
func (o *VPCRouterInterface) GetUserIPAddress() string
GetUserIPAddress returns value of UserIPAddress
func (*VPCRouterInterface) GetUserSubnetDefaultRoute ¶
func (o *VPCRouterInterface) GetUserSubnetDefaultRoute() string
GetUserSubnetDefaultRoute returns value of UserSubnetDefaultRoute
func (*VPCRouterInterface) GetUserSubnetNetworkMaskLen ¶
func (o *VPCRouterInterface) GetUserSubnetNetworkMaskLen() int
GetUserSubnetNetworkMaskLen returns value of UserSubnetNetworkMaskLen
func (*VPCRouterInterface) SetHostName ¶
func (o *VPCRouterInterface) SetHostName(v string)
SetHostName sets value to HostName
func (*VPCRouterInterface) SetID ¶
func (o *VPCRouterInterface) SetID(v types.ID)
SetID sets value to ID
func (*VPCRouterInterface) SetIPAddress ¶
func (o *VPCRouterInterface) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterInterface) SetIndex ¶
func (o *VPCRouterInterface) SetIndex(v int)
SetIndex sets value to Index
func (*VPCRouterInterface) SetInt64ID ¶
func (o *VPCRouterInterface) SetInt64ID(id int64)
SetInt64ID .
func (*VPCRouterInterface) SetMACAddress ¶
func (o *VPCRouterInterface) SetMACAddress(v string)
SetMACAddress sets value to MACAddress
func (*VPCRouterInterface) SetPacketFilterID ¶
func (o *VPCRouterInterface) SetPacketFilterID(v types.ID)
SetPacketFilterID sets value to PacketFilterID
func (*VPCRouterInterface) SetPacketFilterName ¶
func (o *VPCRouterInterface) SetPacketFilterName(v string)
SetPacketFilterName sets value to PacketFilterName
func (*VPCRouterInterface) SetPacketFilterRequiredHostVersion ¶
func (o *VPCRouterInterface) SetPacketFilterRequiredHostVersion(v types.StringNumber)
SetPacketFilterRequiredHostVersion sets value to PacketFilterRequiredHostVersion
func (*VPCRouterInterface) SetStringID ¶
func (o *VPCRouterInterface) SetStringID(id string)
SetStringID .
func (*VPCRouterInterface) SetSubnetBandWidthMbps ¶
func (o *VPCRouterInterface) SetSubnetBandWidthMbps(v int)
SetSubnetBandWidthMbps sets value to SubnetBandWidthMbps
func (*VPCRouterInterface) SetSubnetDefaultRoute ¶
func (o *VPCRouterInterface) SetSubnetDefaultRoute(v string)
SetSubnetDefaultRoute sets value to SubnetDefaultRoute
func (*VPCRouterInterface) SetSubnetNetworkAddress ¶
func (o *VPCRouterInterface) SetSubnetNetworkAddress(v string)
SetSubnetNetworkAddress sets value to SubnetNetworkAddress
func (*VPCRouterInterface) SetSubnetNetworkMaskLen ¶
func (o *VPCRouterInterface) SetSubnetNetworkMaskLen(v int)
SetSubnetNetworkMaskLen sets value to SubnetNetworkMaskLen
func (*VPCRouterInterface) SetSwitchID ¶
func (o *VPCRouterInterface) SetSwitchID(v types.ID)
SetSwitchID sets value to SwitchID
func (*VPCRouterInterface) SetSwitchName ¶
func (o *VPCRouterInterface) SetSwitchName(v string)
SetSwitchName sets value to SwitchName
func (*VPCRouterInterface) SetSwitchScope ¶
func (o *VPCRouterInterface) SetSwitchScope(v types.EScope)
SetSwitchScope sets value to SwitchScope
func (*VPCRouterInterface) SetUpstreamType ¶
func (o *VPCRouterInterface) SetUpstreamType(v types.EUpstreamNetworkType)
SetUpstreamType sets value to UpstreamType
func (*VPCRouterInterface) SetUserIPAddress ¶
func (o *VPCRouterInterface) SetUserIPAddress(v string)
SetUserIPAddress sets value to UserIPAddress
func (*VPCRouterInterface) SetUserSubnetDefaultRoute ¶
func (o *VPCRouterInterface) SetUserSubnetDefaultRoute(v string)
SetUserSubnetDefaultRoute sets value to UserSubnetDefaultRoute
func (*VPCRouterInterface) SetUserSubnetNetworkMaskLen ¶
func (o *VPCRouterInterface) SetUserSubnetNetworkMaskLen(v int)
SetUserSubnetNetworkMaskLen sets value to UserSubnetNetworkMaskLen
type VPCRouterInterfaceSetting ¶
type VPCRouterInterfaceSetting struct { IPAddress []string VirtualIPAddress string IPAliases []string NetworkMaskLen int Index int }
VPCRouterInterfaceSetting represents API parameter/response structure
func (*VPCRouterInterfaceSetting) GetIPAddress ¶
func (o *VPCRouterInterfaceSetting) GetIPAddress() []string
GetIPAddress returns value of IPAddress
func (*VPCRouterInterfaceSetting) GetIPAliases ¶
func (o *VPCRouterInterfaceSetting) GetIPAliases() []string
GetIPAliases returns value of IPAliases
func (*VPCRouterInterfaceSetting) GetIndex ¶
func (o *VPCRouterInterfaceSetting) GetIndex() int
GetIndex returns value of Index
func (*VPCRouterInterfaceSetting) GetNetworkMaskLen ¶
func (o *VPCRouterInterfaceSetting) GetNetworkMaskLen() int
GetNetworkMaskLen returns value of NetworkMaskLen
func (*VPCRouterInterfaceSetting) GetVirtualIPAddress ¶
func (o *VPCRouterInterfaceSetting) GetVirtualIPAddress() string
GetVirtualIPAddress returns value of VirtualIPAddress
func (*VPCRouterInterfaceSetting) SetIPAddress ¶
func (o *VPCRouterInterfaceSetting) SetIPAddress(v []string)
SetIPAddress sets value to IPAddress
func (*VPCRouterInterfaceSetting) SetIPAliases ¶
func (o *VPCRouterInterfaceSetting) SetIPAliases(v []string)
SetIPAliases sets value to IPAliases
func (*VPCRouterInterfaceSetting) SetIndex ¶
func (o *VPCRouterInterfaceSetting) SetIndex(v int)
SetIndex sets value to Index
func (*VPCRouterInterfaceSetting) SetNetworkMaskLen ¶
func (o *VPCRouterInterfaceSetting) SetNetworkMaskLen(v int)
SetNetworkMaskLen sets value to NetworkMaskLen
func (*VPCRouterInterfaceSetting) SetVirtualIPAddress ¶
func (o *VPCRouterInterfaceSetting) SetVirtualIPAddress(v string)
SetVirtualIPAddress sets value to VirtualIPAddress
type VPCRouterL2TPIPsecServer ¶
VPCRouterL2TPIPsecServer represents API parameter/response structure
func (*VPCRouterL2TPIPsecServer) GetPreSharedSecret ¶
func (o *VPCRouterL2TPIPsecServer) GetPreSharedSecret() string
GetPreSharedSecret returns value of PreSharedSecret
func (*VPCRouterL2TPIPsecServer) GetRangeStart ¶
func (o *VPCRouterL2TPIPsecServer) GetRangeStart() string
GetRangeStart returns value of RangeStart
func (*VPCRouterL2TPIPsecServer) GetRangeStop ¶
func (o *VPCRouterL2TPIPsecServer) GetRangeStop() string
GetRangeStop returns value of RangeStop
func (*VPCRouterL2TPIPsecServer) SetPreSharedSecret ¶
func (o *VPCRouterL2TPIPsecServer) SetPreSharedSecret(v string)
SetPreSharedSecret sets value to PreSharedSecret
func (*VPCRouterL2TPIPsecServer) SetRangeStart ¶
func (o *VPCRouterL2TPIPsecServer) SetRangeStart(v string)
SetRangeStart sets value to RangeStart
func (*VPCRouterL2TPIPsecServer) SetRangeStop ¶
func (o *VPCRouterL2TPIPsecServer) SetRangeStop(v string)
SetRangeStop sets value to RangeStop
type VPCRouterL2TPIPsecServerSession ¶
VPCRouterL2TPIPsecServerSession represents API parameter/response structure
func (*VPCRouterL2TPIPsecServerSession) GetIPAddress ¶
func (o *VPCRouterL2TPIPsecServerSession) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterL2TPIPsecServerSession) GetTimeSec ¶
func (o *VPCRouterL2TPIPsecServerSession) GetTimeSec() int
GetTimeSec returns value of TimeSec
func (*VPCRouterL2TPIPsecServerSession) GetUser ¶
func (o *VPCRouterL2TPIPsecServerSession) GetUser() string
GetUser returns value of User
func (*VPCRouterL2TPIPsecServerSession) SetIPAddress ¶
func (o *VPCRouterL2TPIPsecServerSession) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterL2TPIPsecServerSession) SetTimeSec ¶
func (o *VPCRouterL2TPIPsecServerSession) SetTimeSec(v int)
SetTimeSec sets value to TimeSec
func (*VPCRouterL2TPIPsecServerSession) SetUser ¶
func (o *VPCRouterL2TPIPsecServerSession) SetUser(v string)
SetUser sets value to User
type VPCRouterLog ¶ added in v1.1.0
type VPCRouterLog struct {
Log string
}
VPCRouterLog represents API parameter/response structure
func (*VPCRouterLog) GetLog ¶ added in v1.1.0
func (o *VPCRouterLog) GetLog() string
GetLog returns value of Log
func (*VPCRouterLog) SetLog ¶ added in v1.1.0
func (o *VPCRouterLog) SetLog(v string)
SetLog sets value to Log
type VPCRouterOp ¶
type VPCRouterOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
VPCRouterOp implements VPCRouterAPI interface
func (*VPCRouterOp) ConnectToSwitch ¶
func (o *VPCRouterOp) ConnectToSwitch(ctx context.Context, zone string, id types.ID, nicIndex int, switchID types.ID) error
ConnectToSwitch is API call
func (*VPCRouterOp) Create ¶
func (o *VPCRouterOp) Create(ctx context.Context, zone string, param *VPCRouterCreateRequest) (*VPCRouter, error)
Create is API call
func (*VPCRouterOp) DisconnectFromSwitch ¶
func (o *VPCRouterOp) DisconnectFromSwitch(ctx context.Context, zone string, id types.ID, nicIndex int) error
DisconnectFromSwitch is API call
func (*VPCRouterOp) Find ¶
func (o *VPCRouterOp) Find(ctx context.Context, zone string, conditions *FindCondition) (*VPCRouterFindResult, error)
Find is API call
func (*VPCRouterOp) Logs ¶ added in v1.1.0
func (o *VPCRouterOp) Logs(ctx context.Context, zone string, id types.ID) (*VPCRouterLog, error)
Logs is API call
func (*VPCRouterOp) MonitorCPU ¶
func (o *VPCRouterOp) MonitorCPU(ctx context.Context, zone string, id types.ID, condition *MonitorCondition) (*CPUTimeActivity, error)
MonitorCPU is API call
func (*VPCRouterOp) MonitorInterface ¶
func (o *VPCRouterOp) MonitorInterface(ctx context.Context, zone string, id types.ID, index int, condition *MonitorCondition) (*InterfaceActivity, error)
MonitorInterface is API call
func (*VPCRouterOp) Ping ¶ added in v1.8.1
func (o *VPCRouterOp) Ping(ctx context.Context, zone string, id types.ID, destination string) (*VPCRouterPingResults, error)
Ping is API call
func (*VPCRouterOp) Shutdown ¶
func (o *VPCRouterOp) Shutdown(ctx context.Context, zone string, id types.ID, shutdownOption *ShutdownOption) error
Shutdown is API call
func (*VPCRouterOp) Status ¶
func (o *VPCRouterOp) Status(ctx context.Context, zone string, id types.ID) (*VPCRouterStatus, error)
Status is API call
func (*VPCRouterOp) Update ¶
func (o *VPCRouterOp) Update(ctx context.Context, zone string, id types.ID, param *VPCRouterUpdateRequest) (*VPCRouter, error)
Update is API call
func (*VPCRouterOp) UpdateSettings ¶
func (o *VPCRouterOp) UpdateSettings(ctx context.Context, zone string, id types.ID, param *VPCRouterUpdateSettingsRequest) (*VPCRouter, error)
UpdateSettings is API call
type VPCRouterPPTPServer ¶
VPCRouterPPTPServer represents API parameter/response structure
func (*VPCRouterPPTPServer) GetRangeStart ¶
func (o *VPCRouterPPTPServer) GetRangeStart() string
GetRangeStart returns value of RangeStart
func (*VPCRouterPPTPServer) GetRangeStop ¶
func (o *VPCRouterPPTPServer) GetRangeStop() string
GetRangeStop returns value of RangeStop
func (*VPCRouterPPTPServer) SetRangeStart ¶
func (o *VPCRouterPPTPServer) SetRangeStart(v string)
SetRangeStart sets value to RangeStart
func (*VPCRouterPPTPServer) SetRangeStop ¶
func (o *VPCRouterPPTPServer) SetRangeStop(v string)
SetRangeStop sets value to RangeStop
type VPCRouterPPTPServerSession ¶
VPCRouterPPTPServerSession represents API parameter/response structure
func (*VPCRouterPPTPServerSession) GetIPAddress ¶
func (o *VPCRouterPPTPServerSession) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterPPTPServerSession) GetTimeSec ¶
func (o *VPCRouterPPTPServerSession) GetTimeSec() int
GetTimeSec returns value of TimeSec
func (*VPCRouterPPTPServerSession) GetUser ¶
func (o *VPCRouterPPTPServerSession) GetUser() string
GetUser returns value of User
func (*VPCRouterPPTPServerSession) SetIPAddress ¶
func (o *VPCRouterPPTPServerSession) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterPPTPServerSession) SetTimeSec ¶
func (o *VPCRouterPPTPServerSession) SetTimeSec(v int)
SetTimeSec sets value to TimeSec
func (*VPCRouterPPTPServerSession) SetUser ¶
func (o *VPCRouterPPTPServerSession) SetUser(v string)
SetUser sets value to User
type VPCRouterPingResults ¶ added in v1.8.1
type VPCRouterPingResults struct {
Result []string
}
VPCRouterPingResults represents API parameter/response structure
func (*VPCRouterPingResults) GetResult ¶ added in v1.8.1
func (o *VPCRouterPingResults) GetResult() []string
GetResult returns value of Result
func (*VPCRouterPingResults) SetResult ¶ added in v1.8.1
func (o *VPCRouterPingResults) SetResult(v []string)
SetResult sets value to Result
type VPCRouterPortForwarding ¶
type VPCRouterPortForwarding struct { Protocol types.EVPCRouterPortForwardingProtocol GlobalPort types.StringNumber PrivateAddress string `mapconv:"PrivateAddress"` PrivatePort types.StringNumber Description string }
VPCRouterPortForwarding represents API parameter/response structure
func (*VPCRouterPortForwarding) GetDescription ¶
func (o *VPCRouterPortForwarding) GetDescription() string
GetDescription returns value of Description
func (*VPCRouterPortForwarding) GetGlobalPort ¶
func (o *VPCRouterPortForwarding) GetGlobalPort() types.StringNumber
GetGlobalPort returns value of GlobalPort
func (*VPCRouterPortForwarding) GetPrivateAddress ¶
func (o *VPCRouterPortForwarding) GetPrivateAddress() string
GetPrivateAddress returns value of PrivateAddress
func (*VPCRouterPortForwarding) GetPrivatePort ¶
func (o *VPCRouterPortForwarding) GetPrivatePort() types.StringNumber
GetPrivatePort returns value of PrivatePort
func (*VPCRouterPortForwarding) GetProtocol ¶
func (o *VPCRouterPortForwarding) GetProtocol() types.EVPCRouterPortForwardingProtocol
GetProtocol returns value of Protocol
func (*VPCRouterPortForwarding) SetDescription ¶
func (o *VPCRouterPortForwarding) SetDescription(v string)
SetDescription sets value to Description
func (*VPCRouterPortForwarding) SetGlobalPort ¶
func (o *VPCRouterPortForwarding) SetGlobalPort(v types.StringNumber)
SetGlobalPort sets value to GlobalPort
func (*VPCRouterPortForwarding) SetPrivateAddress ¶
func (o *VPCRouterPortForwarding) SetPrivateAddress(v string)
SetPrivateAddress sets value to PrivateAddress
func (*VPCRouterPortForwarding) SetPrivatePort ¶
func (o *VPCRouterPortForwarding) SetPrivatePort(v types.StringNumber)
SetPrivatePort sets value to PrivatePort
func (*VPCRouterPortForwarding) SetProtocol ¶
func (o *VPCRouterPortForwarding) SetProtocol(v types.EVPCRouterPortForwardingProtocol)
SetProtocol sets value to Protocol
type VPCRouterRemoteAccessUser ¶
VPCRouterRemoteAccessUser represents API parameter/response structure
func (*VPCRouterRemoteAccessUser) GetPassword ¶
func (o *VPCRouterRemoteAccessUser) GetPassword() string
GetPassword returns value of Password
func (*VPCRouterRemoteAccessUser) GetUserName ¶
func (o *VPCRouterRemoteAccessUser) GetUserName() string
GetUserName returns value of UserName
func (*VPCRouterRemoteAccessUser) SetPassword ¶
func (o *VPCRouterRemoteAccessUser) SetPassword(v string)
SetPassword sets value to Password
func (*VPCRouterRemoteAccessUser) SetUserName ¶
func (o *VPCRouterRemoteAccessUser) SetUserName(v string)
SetUserName sets value to UserName
type VPCRouterScheduledMaintenance ¶ added in v1.2.0
VPCRouterScheduledMaintenance represents API parameter/response structure
func (*VPCRouterScheduledMaintenance) GetDayOfWeek ¶ added in v1.2.0
func (o *VPCRouterScheduledMaintenance) GetDayOfWeek() int
GetDayOfWeek returns value of DayOfWeek
func (*VPCRouterScheduledMaintenance) GetHour ¶ added in v1.2.0
func (o *VPCRouterScheduledMaintenance) GetHour() int
GetHour returns value of Hour
func (*VPCRouterScheduledMaintenance) SetDayOfWeek ¶ added in v1.2.0
func (o *VPCRouterScheduledMaintenance) SetDayOfWeek(v int)
SetDayOfWeek sets value to DayOfWeek
func (*VPCRouterScheduledMaintenance) SetHour ¶ added in v1.2.0
func (o *VPCRouterScheduledMaintenance) SetHour(v int)
SetHour sets value to Hour
type VPCRouterSessionAnalysis ¶
type VPCRouterSessionAnalysis struct { SourceAndDestination []*VPCRouterStatisticsValue DestinationAddress []*VPCRouterStatisticsValue DestinationPort []*VPCRouterStatisticsValue SourceAddress []*VPCRouterStatisticsValue }
VPCRouterSessionAnalysis represents API parameter/response structure
func (*VPCRouterSessionAnalysis) GetDestinationAddress ¶
func (o *VPCRouterSessionAnalysis) GetDestinationAddress() []*VPCRouterStatisticsValue
GetDestinationAddress returns value of DestinationAddress
func (*VPCRouterSessionAnalysis) GetDestinationPort ¶
func (o *VPCRouterSessionAnalysis) GetDestinationPort() []*VPCRouterStatisticsValue
GetDestinationPort returns value of DestinationPort
func (*VPCRouterSessionAnalysis) GetSourceAddress ¶
func (o *VPCRouterSessionAnalysis) GetSourceAddress() []*VPCRouterStatisticsValue
GetSourceAddress returns value of SourceAddress
func (*VPCRouterSessionAnalysis) GetSourceAndDestination ¶
func (o *VPCRouterSessionAnalysis) GetSourceAndDestination() []*VPCRouterStatisticsValue
GetSourceAndDestination returns value of SourceAndDestination
func (*VPCRouterSessionAnalysis) SetDestinationAddress ¶
func (o *VPCRouterSessionAnalysis) SetDestinationAddress(v []*VPCRouterStatisticsValue)
SetDestinationAddress sets value to DestinationAddress
func (*VPCRouterSessionAnalysis) SetDestinationPort ¶
func (o *VPCRouterSessionAnalysis) SetDestinationPort(v []*VPCRouterStatisticsValue)
SetDestinationPort sets value to DestinationPort
func (*VPCRouterSessionAnalysis) SetSourceAddress ¶
func (o *VPCRouterSessionAnalysis) SetSourceAddress(v []*VPCRouterStatisticsValue)
SetSourceAddress sets value to SourceAddress
func (*VPCRouterSessionAnalysis) SetSourceAndDestination ¶
func (o *VPCRouterSessionAnalysis) SetSourceAndDestination(v []*VPCRouterStatisticsValue)
SetSourceAndDestination sets value to SourceAndDestination
type VPCRouterSetting ¶
type VPCRouterSetting struct { VRID int `json:",omitempty" mapconv:"Router.VRID"` InternetConnectionEnabled types.StringFlag `mapconv:"Router.InternetConnection.Enabled"` Interfaces []*VPCRouterInterfaceSetting `mapconv:"Router.[]Interfaces,omitempty,recursive"` StaticNAT []*VPCRouterStaticNAT `mapconv:"Router.StaticNAT.[]Config,omitempty,recursive"` PortForwarding []*VPCRouterPortForwarding `mapconv:"Router.PortForwarding.[]Config,omitempty,recursive"` Firewall []*VPCRouterFirewall `mapconv:"Router.Firewall.[]Config,omitempty,recursive"` DHCPServer []*VPCRouterDHCPServer `mapconv:"Router.DHCPServer.[]Config,omitempty,recursive"` DHCPStaticMapping []*VPCRouterDHCPStaticMapping `mapconv:"Router.DHCPStaticMapping.[]Config,omitempty,recursive"` DNSForwarding *VPCRouterDNSForwarding `mapconv:"Router.DNSForwarding,omitempty,recursive"` PPTPServer *VPCRouterPPTPServer `mapconv:"Router.PPTPServer.Config,omitempty,recursive"` PPTPServerEnabled types.StringFlag `mapconv:"Router.PPTPServer.Enabled"` L2TPIPsecServer *VPCRouterL2TPIPsecServer `mapconv:"Router.L2TPIPsecServer.Config,omitempty,recursive"` L2TPIPsecServerEnabled types.StringFlag `mapconv:"Router.L2TPIPsecServer.Enabled"` WireGuard *VPCRouterWireGuard `mapconv:"Router.WireGuard.Config,omitempty,recursive"` WireGuardEnabled types.StringFlag `mapconv:"Router.WireGuard.Enabled"` RemoteAccessUsers []*VPCRouterRemoteAccessUser `mapconv:"Router.RemoteAccessUsers.[]Config,omitempty,recursive"` SiteToSiteIPsecVPN *VPCRouterSiteToSiteIPsecVPN `mapconv:"Router.SiteToSiteIPsecVPN,omitempty,recursive"` StaticRoute []*VPCRouterStaticRoute `mapconv:"Router.StaticRoutes.[]Config,omitempty,recursive"` SyslogHost string `mapconv:"Router.SyslogHost"` ScheduledMaintenance *VPCRouterScheduledMaintenance `mapconv:"Router.ScheduledMaintenance,omitempty,recursive"` }
VPCRouterSetting represents API parameter/response structure
func (*VPCRouterSetting) GetDHCPServer ¶
func (o *VPCRouterSetting) GetDHCPServer() []*VPCRouterDHCPServer
GetDHCPServer returns value of DHCPServer
func (*VPCRouterSetting) GetDHCPStaticMapping ¶
func (o *VPCRouterSetting) GetDHCPStaticMapping() []*VPCRouterDHCPStaticMapping
GetDHCPStaticMapping returns value of DHCPStaticMapping
func (*VPCRouterSetting) GetDNSForwarding ¶
func (o *VPCRouterSetting) GetDNSForwarding() *VPCRouterDNSForwarding
GetDNSForwarding returns value of DNSForwarding
func (*VPCRouterSetting) GetFirewall ¶
func (o *VPCRouterSetting) GetFirewall() []*VPCRouterFirewall
GetFirewall returns value of Firewall
func (*VPCRouterSetting) GetInterfaces ¶
func (o *VPCRouterSetting) GetInterfaces() []*VPCRouterInterfaceSetting
GetInterfaces returns value of Interfaces
func (*VPCRouterSetting) GetInternetConnectionEnabled ¶
func (o *VPCRouterSetting) GetInternetConnectionEnabled() types.StringFlag
GetInternetConnectionEnabled returns value of InternetConnectionEnabled
func (*VPCRouterSetting) GetL2TPIPsecServer ¶
func (o *VPCRouterSetting) GetL2TPIPsecServer() *VPCRouterL2TPIPsecServer
GetL2TPIPsecServer returns value of L2TPIPsecServer
func (*VPCRouterSetting) GetL2TPIPsecServerEnabled ¶
func (o *VPCRouterSetting) GetL2TPIPsecServerEnabled() types.StringFlag
GetL2TPIPsecServerEnabled returns value of L2TPIPsecServerEnabled
func (*VPCRouterSetting) GetPPTPServer ¶
func (o *VPCRouterSetting) GetPPTPServer() *VPCRouterPPTPServer
GetPPTPServer returns value of PPTPServer
func (*VPCRouterSetting) GetPPTPServerEnabled ¶
func (o *VPCRouterSetting) GetPPTPServerEnabled() types.StringFlag
GetPPTPServerEnabled returns value of PPTPServerEnabled
func (*VPCRouterSetting) GetPortForwarding ¶
func (o *VPCRouterSetting) GetPortForwarding() []*VPCRouterPortForwarding
GetPortForwarding returns value of PortForwarding
func (*VPCRouterSetting) GetRemoteAccessUsers ¶
func (o *VPCRouterSetting) GetRemoteAccessUsers() []*VPCRouterRemoteAccessUser
GetRemoteAccessUsers returns value of RemoteAccessUsers
func (*VPCRouterSetting) GetScheduledMaintenance ¶ added in v1.2.0
func (o *VPCRouterSetting) GetScheduledMaintenance() *VPCRouterScheduledMaintenance
GetScheduledMaintenance returns value of ScheduledMaintenance
func (*VPCRouterSetting) GetSiteToSiteIPsecVPN ¶
func (o *VPCRouterSetting) GetSiteToSiteIPsecVPN() *VPCRouterSiteToSiteIPsecVPN
GetSiteToSiteIPsecVPN returns value of SiteToSiteIPsecVPN
func (*VPCRouterSetting) GetStaticNAT ¶
func (o *VPCRouterSetting) GetStaticNAT() []*VPCRouterStaticNAT
GetStaticNAT returns value of StaticNAT
func (*VPCRouterSetting) GetStaticRoute ¶
func (o *VPCRouterSetting) GetStaticRoute() []*VPCRouterStaticRoute
GetStaticRoute returns value of StaticRoute
func (*VPCRouterSetting) GetSyslogHost ¶
func (o *VPCRouterSetting) GetSyslogHost() string
GetSyslogHost returns value of SyslogHost
func (*VPCRouterSetting) GetVRID ¶
func (o *VPCRouterSetting) GetVRID() int
GetVRID returns value of VRID
func (*VPCRouterSetting) GetWireGuard ¶
func (o *VPCRouterSetting) GetWireGuard() *VPCRouterWireGuard
GetWireGuard returns value of WireGuard
func (*VPCRouterSetting) GetWireGuardEnabled ¶
func (o *VPCRouterSetting) GetWireGuardEnabled() types.StringFlag
GetWireGuardEnabled returns value of WireGuardEnabled
func (*VPCRouterSetting) SetDHCPServer ¶
func (o *VPCRouterSetting) SetDHCPServer(v []*VPCRouterDHCPServer)
SetDHCPServer sets value to DHCPServer
func (*VPCRouterSetting) SetDHCPStaticMapping ¶
func (o *VPCRouterSetting) SetDHCPStaticMapping(v []*VPCRouterDHCPStaticMapping)
SetDHCPStaticMapping sets value to DHCPStaticMapping
func (*VPCRouterSetting) SetDNSForwarding ¶
func (o *VPCRouterSetting) SetDNSForwarding(v *VPCRouterDNSForwarding)
SetDNSForwarding sets value to DNSForwarding
func (*VPCRouterSetting) SetFirewall ¶
func (o *VPCRouterSetting) SetFirewall(v []*VPCRouterFirewall)
SetFirewall sets value to Firewall
func (*VPCRouterSetting) SetInterfaces ¶
func (o *VPCRouterSetting) SetInterfaces(v []*VPCRouterInterfaceSetting)
SetInterfaces sets value to Interfaces
func (*VPCRouterSetting) SetInternetConnectionEnabled ¶
func (o *VPCRouterSetting) SetInternetConnectionEnabled(v types.StringFlag)
SetInternetConnectionEnabled sets value to InternetConnectionEnabled
func (*VPCRouterSetting) SetL2TPIPsecServer ¶
func (o *VPCRouterSetting) SetL2TPIPsecServer(v *VPCRouterL2TPIPsecServer)
SetL2TPIPsecServer sets value to L2TPIPsecServer
func (*VPCRouterSetting) SetL2TPIPsecServerEnabled ¶
func (o *VPCRouterSetting) SetL2TPIPsecServerEnabled(v types.StringFlag)
SetL2TPIPsecServerEnabled sets value to L2TPIPsecServerEnabled
func (*VPCRouterSetting) SetPPTPServer ¶
func (o *VPCRouterSetting) SetPPTPServer(v *VPCRouterPPTPServer)
SetPPTPServer sets value to PPTPServer
func (*VPCRouterSetting) SetPPTPServerEnabled ¶
func (o *VPCRouterSetting) SetPPTPServerEnabled(v types.StringFlag)
SetPPTPServerEnabled sets value to PPTPServerEnabled
func (*VPCRouterSetting) SetPortForwarding ¶
func (o *VPCRouterSetting) SetPortForwarding(v []*VPCRouterPortForwarding)
SetPortForwarding sets value to PortForwarding
func (*VPCRouterSetting) SetRemoteAccessUsers ¶
func (o *VPCRouterSetting) SetRemoteAccessUsers(v []*VPCRouterRemoteAccessUser)
SetRemoteAccessUsers sets value to RemoteAccessUsers
func (*VPCRouterSetting) SetScheduledMaintenance ¶ added in v1.2.0
func (o *VPCRouterSetting) SetScheduledMaintenance(v *VPCRouterScheduledMaintenance)
SetScheduledMaintenance sets value to ScheduledMaintenance
func (*VPCRouterSetting) SetSiteToSiteIPsecVPN ¶
func (o *VPCRouterSetting) SetSiteToSiteIPsecVPN(v *VPCRouterSiteToSiteIPsecVPN)
SetSiteToSiteIPsecVPN sets value to SiteToSiteIPsecVPN
func (*VPCRouterSetting) SetStaticNAT ¶
func (o *VPCRouterSetting) SetStaticNAT(v []*VPCRouterStaticNAT)
SetStaticNAT sets value to StaticNAT
func (*VPCRouterSetting) SetStaticRoute ¶
func (o *VPCRouterSetting) SetStaticRoute(v []*VPCRouterStaticRoute)
SetStaticRoute sets value to StaticRoute
func (*VPCRouterSetting) SetSyslogHost ¶
func (o *VPCRouterSetting) SetSyslogHost(v string)
SetSyslogHost sets value to SyslogHost
func (*VPCRouterSetting) SetVRID ¶
func (o *VPCRouterSetting) SetVRID(v int)
SetVRID sets value to VRID
func (*VPCRouterSetting) SetWireGuard ¶
func (o *VPCRouterSetting) SetWireGuard(v *VPCRouterWireGuard)
SetWireGuard sets value to WireGuard
func (*VPCRouterSetting) SetWireGuardEnabled ¶
func (o *VPCRouterSetting) SetWireGuardEnabled(v types.StringFlag)
SetWireGuardEnabled sets value to WireGuardEnabled
type VPCRouterSiteToSiteIPsecVPN ¶
type VPCRouterSiteToSiteIPsecVPN struct { Config []*VPCRouterSiteToSiteIPsecVPNConfig `mapconv:"[]Config,omitempty,recursive"` IKE *VPCRouterSiteToSiteIPsecVPNIKE `mapconv:",omitempty,recursive"` ESP *VPCRouterSiteToSiteIPsecVPNESP `mapconv:",omitempty,recursive"` EncryptionAlgo string HashAlgo string DHGroup string }
VPCRouterSiteToSiteIPsecVPN represents API parameter/response structure
func (*VPCRouterSiteToSiteIPsecVPN) GetConfig ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) GetConfig() []*VPCRouterSiteToSiteIPsecVPNConfig
GetConfig returns value of Config
func (*VPCRouterSiteToSiteIPsecVPN) GetDHGroup ¶ added in v1.7.0
func (o *VPCRouterSiteToSiteIPsecVPN) GetDHGroup() string
GetDHGroup returns value of DHGroup
func (*VPCRouterSiteToSiteIPsecVPN) GetESP ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) GetESP() *VPCRouterSiteToSiteIPsecVPNESP
GetESP returns value of ESP
func (*VPCRouterSiteToSiteIPsecVPN) GetEncryptionAlgo ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) GetEncryptionAlgo() string
GetEncryptionAlgo returns value of EncryptionAlgo
func (*VPCRouterSiteToSiteIPsecVPN) GetHashAlgo ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) GetHashAlgo() string
GetHashAlgo returns value of HashAlgo
func (*VPCRouterSiteToSiteIPsecVPN) GetIKE ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) GetIKE() *VPCRouterSiteToSiteIPsecVPNIKE
GetIKE returns value of IKE
func (*VPCRouterSiteToSiteIPsecVPN) SetConfig ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) SetConfig(v []*VPCRouterSiteToSiteIPsecVPNConfig)
SetConfig sets value to Config
func (*VPCRouterSiteToSiteIPsecVPN) SetDHGroup ¶ added in v1.7.0
func (o *VPCRouterSiteToSiteIPsecVPN) SetDHGroup(v string)
SetDHGroup sets value to DHGroup
func (*VPCRouterSiteToSiteIPsecVPN) SetESP ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) SetESP(v *VPCRouterSiteToSiteIPsecVPNESP)
SetESP sets value to ESP
func (*VPCRouterSiteToSiteIPsecVPN) SetEncryptionAlgo ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) SetEncryptionAlgo(v string)
SetEncryptionAlgo sets value to EncryptionAlgo
func (*VPCRouterSiteToSiteIPsecVPN) SetHashAlgo ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) SetHashAlgo(v string)
SetHashAlgo sets value to HashAlgo
func (*VPCRouterSiteToSiteIPsecVPN) SetIKE ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPN) SetIKE(v *VPCRouterSiteToSiteIPsecVPNIKE)
SetIKE sets value to IKE
type VPCRouterSiteToSiteIPsecVPNConfig ¶ added in v1.2.0
type VPCRouterSiteToSiteIPsecVPNConfig struct { Peer string RemoteID string Routes []string LocalPrefix []string }
VPCRouterSiteToSiteIPsecVPNConfig represents API parameter/response structure
func (*VPCRouterSiteToSiteIPsecVPNConfig) GetLocalPrefix ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetLocalPrefix() []string
GetLocalPrefix returns value of LocalPrefix
func (*VPCRouterSiteToSiteIPsecVPNConfig) GetPeer ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetPeer() string
GetPeer returns value of Peer
func (*VPCRouterSiteToSiteIPsecVPNConfig) GetPreSharedSecret ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetPreSharedSecret() string
GetPreSharedSecret returns value of PreSharedSecret
func (*VPCRouterSiteToSiteIPsecVPNConfig) GetRemoteID ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetRemoteID() string
GetRemoteID returns value of RemoteID
func (*VPCRouterSiteToSiteIPsecVPNConfig) GetRoutes ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) GetRoutes() []string
GetRoutes returns value of Routes
func (*VPCRouterSiteToSiteIPsecVPNConfig) SetLocalPrefix ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetLocalPrefix(v []string)
SetLocalPrefix sets value to LocalPrefix
func (*VPCRouterSiteToSiteIPsecVPNConfig) SetPeer ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetPeer(v string)
SetPeer sets value to Peer
func (*VPCRouterSiteToSiteIPsecVPNConfig) SetPreSharedSecret ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetPreSharedSecret(v string)
SetPreSharedSecret sets value to PreSharedSecret
func (*VPCRouterSiteToSiteIPsecVPNConfig) SetRemoteID ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetRemoteID(v string)
SetRemoteID sets value to RemoteID
func (*VPCRouterSiteToSiteIPsecVPNConfig) SetRoutes ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNConfig) SetRoutes(v []string)
SetRoutes sets value to Routes
type VPCRouterSiteToSiteIPsecVPNESP ¶ added in v1.2.0
type VPCRouterSiteToSiteIPsecVPNESP struct {
Lifetime int
}
VPCRouterSiteToSiteIPsecVPNESP represents API parameter/response structure
func (*VPCRouterSiteToSiteIPsecVPNESP) GetLifetime ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNESP) GetLifetime() int
GetLifetime returns value of Lifetime
func (*VPCRouterSiteToSiteIPsecVPNESP) SetLifetime ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNESP) SetLifetime(v int)
SetLifetime sets value to Lifetime
type VPCRouterSiteToSiteIPsecVPNIKE ¶ added in v1.2.0
type VPCRouterSiteToSiteIPsecVPNIKE struct { Lifetime int DPD *VPCRouterSiteToSiteIPsecVPNIKEDPD `mapconv:",omitempty,recursive"` }
VPCRouterSiteToSiteIPsecVPNIKE represents API parameter/response structure
func (*VPCRouterSiteToSiteIPsecVPNIKE) GetDPD ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKE) GetDPD() *VPCRouterSiteToSiteIPsecVPNIKEDPD
GetDPD returns value of DPD
func (*VPCRouterSiteToSiteIPsecVPNIKE) GetLifetime ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKE) GetLifetime() int
GetLifetime returns value of Lifetime
func (*VPCRouterSiteToSiteIPsecVPNIKE) SetDPD ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKE) SetDPD(v *VPCRouterSiteToSiteIPsecVPNIKEDPD)
SetDPD sets value to DPD
func (*VPCRouterSiteToSiteIPsecVPNIKE) SetLifetime ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKE) SetLifetime(v int)
SetLifetime sets value to Lifetime
type VPCRouterSiteToSiteIPsecVPNIKEDPD ¶ added in v1.2.0
VPCRouterSiteToSiteIPsecVPNIKEDPD represents API parameter/response structure
func (*VPCRouterSiteToSiteIPsecVPNIKEDPD) GetInterval ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKEDPD) GetInterval() int
GetInterval returns value of Interval
func (*VPCRouterSiteToSiteIPsecVPNIKEDPD) GetTimeout ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKEDPD) GetTimeout() int
GetTimeout returns value of Timeout
func (*VPCRouterSiteToSiteIPsecVPNIKEDPD) SetInterval ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKEDPD) SetInterval(v int)
SetInterval sets value to Interval
func (*VPCRouterSiteToSiteIPsecVPNIKEDPD) SetTimeout ¶ added in v1.2.0
func (o *VPCRouterSiteToSiteIPsecVPNIKEDPD) SetTimeout(v int)
SetTimeout sets value to Timeout
type VPCRouterSiteToSiteIPsecVPNPeer ¶
VPCRouterSiteToSiteIPsecVPNPeer represents API parameter/response structure
func (*VPCRouterSiteToSiteIPsecVPNPeer) GetPeer ¶
func (o *VPCRouterSiteToSiteIPsecVPNPeer) GetPeer() string
GetPeer returns value of Peer
func (*VPCRouterSiteToSiteIPsecVPNPeer) GetStatus ¶
func (o *VPCRouterSiteToSiteIPsecVPNPeer) GetStatus() string
GetStatus returns value of Status
func (*VPCRouterSiteToSiteIPsecVPNPeer) SetPeer ¶
func (o *VPCRouterSiteToSiteIPsecVPNPeer) SetPeer(v string)
SetPeer sets value to Peer
func (*VPCRouterSiteToSiteIPsecVPNPeer) SetStatus ¶
func (o *VPCRouterSiteToSiteIPsecVPNPeer) SetStatus(v string)
SetStatus sets value to Status
type VPCRouterStaticNAT ¶
type VPCRouterStaticNAT struct { GlobalAddress string `mapconv:"GlobalAddress"` PrivateAddress string `mapconv:"PrivateAddress"` Description string }
VPCRouterStaticNAT represents API parameter/response structure
func (*VPCRouterStaticNAT) GetDescription ¶
func (o *VPCRouterStaticNAT) GetDescription() string
GetDescription returns value of Description
func (*VPCRouterStaticNAT) GetGlobalAddress ¶
func (o *VPCRouterStaticNAT) GetGlobalAddress() string
GetGlobalAddress returns value of GlobalAddress
func (*VPCRouterStaticNAT) GetPrivateAddress ¶
func (o *VPCRouterStaticNAT) GetPrivateAddress() string
GetPrivateAddress returns value of PrivateAddress
func (*VPCRouterStaticNAT) SetDescription ¶
func (o *VPCRouterStaticNAT) SetDescription(v string)
SetDescription sets value to Description
func (*VPCRouterStaticNAT) SetGlobalAddress ¶
func (o *VPCRouterStaticNAT) SetGlobalAddress(v string)
SetGlobalAddress sets value to GlobalAddress
func (*VPCRouterStaticNAT) SetPrivateAddress ¶
func (o *VPCRouterStaticNAT) SetPrivateAddress(v string)
SetPrivateAddress sets value to PrivateAddress
type VPCRouterStaticRoute ¶
VPCRouterStaticRoute represents API parameter/response structure
func (*VPCRouterStaticRoute) GetNextHop ¶
func (o *VPCRouterStaticRoute) GetNextHop() string
GetNextHop returns value of NextHop
func (*VPCRouterStaticRoute) GetPrefix ¶
func (o *VPCRouterStaticRoute) GetPrefix() string
GetPrefix returns value of Prefix
func (*VPCRouterStaticRoute) SetNextHop ¶
func (o *VPCRouterStaticRoute) SetNextHop(v string)
SetNextHop sets value to NextHop
func (*VPCRouterStaticRoute) SetPrefix ¶
func (o *VPCRouterStaticRoute) SetPrefix(v string)
SetPrefix sets value to Prefix
type VPCRouterStatisticsValue ¶
VPCRouterStatisticsValue represents API parameter/response structure
func (*VPCRouterStatisticsValue) GetCount ¶
func (o *VPCRouterStatisticsValue) GetCount() int
GetCount returns value of Count
func (*VPCRouterStatisticsValue) GetName ¶
func (o *VPCRouterStatisticsValue) GetName() string
GetName returns value of Name
func (*VPCRouterStatisticsValue) SetCount ¶
func (o *VPCRouterStatisticsValue) SetCount(v int)
SetCount sets value to Count
func (*VPCRouterStatisticsValue) SetName ¶
func (o *VPCRouterStatisticsValue) SetName(v string)
SetName sets value to Name
type VPCRouterStatus ¶
type VPCRouterStatus struct { FirewallReceiveLogs []string FirewallSendLogs []string VPNLogs []string SessionCount int PercentageOfMemoryFree []types.StringNumber WireGuard *WireGuardStatus DHCPServerLeases []*VPCRouterDHCPServerLease `mapconv:"[]DHCPServerLeases,recursive"` L2TPIPsecServerSessions []*VPCRouterL2TPIPsecServerSession `mapconv:"[]L2TPIPsecServerSessions,recursive"` PPTPServerSessions []*VPCRouterPPTPServerSession `mapconv:"[]PPTPServerSessions,recursive"` SiteToSiteIPsecVPNPeers []*VPCRouterSiteToSiteIPsecVPNPeer `mapconv:"[]SiteToSiteIPsecVPNPeers,recursive"` SessionAnalysis *VPCRouterSessionAnalysis }
VPCRouterStatus represents API parameter/response structure
func (*VPCRouterStatus) GetDHCPServerLeases ¶
func (o *VPCRouterStatus) GetDHCPServerLeases() []*VPCRouterDHCPServerLease
GetDHCPServerLeases returns value of DHCPServerLeases
func (*VPCRouterStatus) GetFirewallReceiveLogs ¶
func (o *VPCRouterStatus) GetFirewallReceiveLogs() []string
GetFirewallReceiveLogs returns value of FirewallReceiveLogs
func (*VPCRouterStatus) GetFirewallSendLogs ¶
func (o *VPCRouterStatus) GetFirewallSendLogs() []string
GetFirewallSendLogs returns value of FirewallSendLogs
func (*VPCRouterStatus) GetL2TPIPsecServerSessions ¶
func (o *VPCRouterStatus) GetL2TPIPsecServerSessions() []*VPCRouterL2TPIPsecServerSession
GetL2TPIPsecServerSessions returns value of L2TPIPsecServerSessions
func (*VPCRouterStatus) GetPPTPServerSessions ¶
func (o *VPCRouterStatus) GetPPTPServerSessions() []*VPCRouterPPTPServerSession
GetPPTPServerSessions returns value of PPTPServerSessions
func (*VPCRouterStatus) GetPercentageOfMemoryFree ¶
func (o *VPCRouterStatus) GetPercentageOfMemoryFree() []types.StringNumber
GetPercentageOfMemoryFree returns value of PercentageOfMemoryFree
func (*VPCRouterStatus) GetSessionAnalysis ¶
func (o *VPCRouterStatus) GetSessionAnalysis() *VPCRouterSessionAnalysis
GetSessionAnalysis returns value of SessionAnalysis
func (*VPCRouterStatus) GetSessionCount ¶
func (o *VPCRouterStatus) GetSessionCount() int
GetSessionCount returns value of SessionCount
func (*VPCRouterStatus) GetSiteToSiteIPsecVPNPeers ¶
func (o *VPCRouterStatus) GetSiteToSiteIPsecVPNPeers() []*VPCRouterSiteToSiteIPsecVPNPeer
GetSiteToSiteIPsecVPNPeers returns value of SiteToSiteIPsecVPNPeers
func (*VPCRouterStatus) GetVPNLogs ¶
func (o *VPCRouterStatus) GetVPNLogs() []string
GetVPNLogs returns value of VPNLogs
func (*VPCRouterStatus) GetWireGuard ¶
func (o *VPCRouterStatus) GetWireGuard() *WireGuardStatus
GetWireGuard returns value of WireGuard
func (*VPCRouterStatus) SetDHCPServerLeases ¶
func (o *VPCRouterStatus) SetDHCPServerLeases(v []*VPCRouterDHCPServerLease)
SetDHCPServerLeases sets value to DHCPServerLeases
func (*VPCRouterStatus) SetFirewallReceiveLogs ¶
func (o *VPCRouterStatus) SetFirewallReceiveLogs(v []string)
SetFirewallReceiveLogs sets value to FirewallReceiveLogs
func (*VPCRouterStatus) SetFirewallSendLogs ¶
func (o *VPCRouterStatus) SetFirewallSendLogs(v []string)
SetFirewallSendLogs sets value to FirewallSendLogs
func (*VPCRouterStatus) SetL2TPIPsecServerSessions ¶
func (o *VPCRouterStatus) SetL2TPIPsecServerSessions(v []*VPCRouterL2TPIPsecServerSession)
SetL2TPIPsecServerSessions sets value to L2TPIPsecServerSessions
func (*VPCRouterStatus) SetPPTPServerSessions ¶
func (o *VPCRouterStatus) SetPPTPServerSessions(v []*VPCRouterPPTPServerSession)
SetPPTPServerSessions sets value to PPTPServerSessions
func (*VPCRouterStatus) SetPercentageOfMemoryFree ¶
func (o *VPCRouterStatus) SetPercentageOfMemoryFree(v []types.StringNumber)
SetPercentageOfMemoryFree sets value to PercentageOfMemoryFree
func (*VPCRouterStatus) SetSessionAnalysis ¶
func (o *VPCRouterStatus) SetSessionAnalysis(v *VPCRouterSessionAnalysis)
SetSessionAnalysis sets value to SessionAnalysis
func (*VPCRouterStatus) SetSessionCount ¶
func (o *VPCRouterStatus) SetSessionCount(v int)
SetSessionCount sets value to SessionCount
func (*VPCRouterStatus) SetSiteToSiteIPsecVPNPeers ¶
func (o *VPCRouterStatus) SetSiteToSiteIPsecVPNPeers(v []*VPCRouterSiteToSiteIPsecVPNPeer)
SetSiteToSiteIPsecVPNPeers sets value to SiteToSiteIPsecVPNPeers
func (*VPCRouterStatus) SetVPNLogs ¶
func (o *VPCRouterStatus) SetVPNLogs(v []string)
SetVPNLogs sets value to VPNLogs
func (*VPCRouterStatus) SetWireGuard ¶
func (o *VPCRouterStatus) SetWireGuard(v *WireGuardStatus)
SetWireGuard sets value to WireGuard
type VPCRouterUpdateRequest ¶
type VPCRouterUpdateRequest struct { Name string Description string Tags types.Tags IconID types.ID `mapconv:"Icon.ID"` Settings *VPCRouterSetting `mapconv:",omitempty,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
VPCRouterUpdateRequest represents API parameter/response structure
func (*VPCRouterUpdateRequest) AppendTag ¶
func (o *VPCRouterUpdateRequest) AppendTag(tag string)
AppendTag 指定のタグを追加
func (*VPCRouterUpdateRequest) ClearTags ¶
func (o *VPCRouterUpdateRequest) ClearTags()
ClearTags タグを全クリア
func (*VPCRouterUpdateRequest) GetDescription ¶
func (o *VPCRouterUpdateRequest) GetDescription() string
GetDescription returns value of Description
func (*VPCRouterUpdateRequest) GetIconID ¶
func (o *VPCRouterUpdateRequest) GetIconID() types.ID
GetIconID returns value of IconID
func (*VPCRouterUpdateRequest) GetName ¶
func (o *VPCRouterUpdateRequest) GetName() string
GetName returns value of Name
func (*VPCRouterUpdateRequest) GetSettings ¶
func (o *VPCRouterUpdateRequest) GetSettings() *VPCRouterSetting
GetSettings returns value of Settings
func (*VPCRouterUpdateRequest) GetSettingsHash ¶
func (o *VPCRouterUpdateRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*VPCRouterUpdateRequest) GetTags ¶
func (o *VPCRouterUpdateRequest) GetTags() types.Tags
GetTags returns value of Tags
func (*VPCRouterUpdateRequest) HasTag ¶
func (o *VPCRouterUpdateRequest) HasTag(tag string) bool
HasTag 指定のタグが存在する場合trueを返す
func (*VPCRouterUpdateRequest) RemoveTag ¶
func (o *VPCRouterUpdateRequest) RemoveTag(tag string)
RemoveTag 指定のタグを削除
func (*VPCRouterUpdateRequest) SetDescription ¶
func (o *VPCRouterUpdateRequest) SetDescription(v string)
SetDescription sets value to Description
func (*VPCRouterUpdateRequest) SetIconID ¶
func (o *VPCRouterUpdateRequest) SetIconID(v types.ID)
SetIconID sets value to IconID
func (*VPCRouterUpdateRequest) SetName ¶
func (o *VPCRouterUpdateRequest) SetName(v string)
SetName sets value to Name
func (*VPCRouterUpdateRequest) SetSettings ¶
func (o *VPCRouterUpdateRequest) SetSettings(v *VPCRouterSetting)
SetSettings sets value to Settings
func (*VPCRouterUpdateRequest) SetSettingsHash ¶
func (o *VPCRouterUpdateRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
func (*VPCRouterUpdateRequest) SetTags ¶
func (o *VPCRouterUpdateRequest) SetTags(v types.Tags)
SetTags sets value to Tags
type VPCRouterUpdateSettingsRequest ¶
type VPCRouterUpdateSettingsRequest struct { Settings *VPCRouterSetting `mapconv:",omitempty,recursive"` SettingsHash string `json:",omitempty" mapconv:",omitempty"` }
VPCRouterUpdateSettingsRequest represents API parameter/response structure
func (*VPCRouterUpdateSettingsRequest) GetSettings ¶
func (o *VPCRouterUpdateSettingsRequest) GetSettings() *VPCRouterSetting
GetSettings returns value of Settings
func (*VPCRouterUpdateSettingsRequest) GetSettingsHash ¶
func (o *VPCRouterUpdateSettingsRequest) GetSettingsHash() string
GetSettingsHash returns value of SettingsHash
func (*VPCRouterUpdateSettingsRequest) SetSettings ¶
func (o *VPCRouterUpdateSettingsRequest) SetSettings(v *VPCRouterSetting)
SetSettings sets value to Settings
func (*VPCRouterUpdateSettingsRequest) SetSettingsHash ¶
func (o *VPCRouterUpdateSettingsRequest) SetSettingsHash(v string)
SetSettingsHash sets value to SettingsHash
type VPCRouterWireGuard ¶
type VPCRouterWireGuard struct { IPAddress string Peers []*VPCRouterWireGuardPeer `mapconv:"[]Peers,omitempty,recursive"` }
VPCRouterWireGuard represents API parameter/response structure
func (*VPCRouterWireGuard) GetIPAddress ¶
func (o *VPCRouterWireGuard) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterWireGuard) GetPeers ¶
func (o *VPCRouterWireGuard) GetPeers() []*VPCRouterWireGuardPeer
GetPeers returns value of Peers
func (*VPCRouterWireGuard) SetIPAddress ¶
func (o *VPCRouterWireGuard) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterWireGuard) SetPeers ¶
func (o *VPCRouterWireGuard) SetPeers(v []*VPCRouterWireGuardPeer)
SetPeers sets value to Peers
type VPCRouterWireGuardPeer ¶
VPCRouterWireGuardPeer represents API parameter/response structure
func (*VPCRouterWireGuardPeer) GetIPAddress ¶
func (o *VPCRouterWireGuardPeer) GetIPAddress() string
GetIPAddress returns value of IPAddress
func (*VPCRouterWireGuardPeer) GetName ¶
func (o *VPCRouterWireGuardPeer) GetName() string
GetName returns value of Name
func (*VPCRouterWireGuardPeer) GetPublicKey ¶
func (o *VPCRouterWireGuardPeer) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*VPCRouterWireGuardPeer) SetIPAddress ¶
func (o *VPCRouterWireGuardPeer) SetIPAddress(v string)
SetIPAddress sets value to IPAddress
func (*VPCRouterWireGuardPeer) SetName ¶
func (o *VPCRouterWireGuardPeer) SetName(v string)
SetName sets value to Name
func (*VPCRouterWireGuardPeer) SetPublicKey ¶
func (o *VPCRouterWireGuardPeer) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
type WireGuardStatus ¶
type WireGuardStatus struct {
PublicKey string
}
WireGuardStatus represents API parameter/response structure
func (*WireGuardStatus) GetPublicKey ¶
func (o *WireGuardStatus) GetPublicKey() string
GetPublicKey returns value of PublicKey
func (*WireGuardStatus) SetPublicKey ¶
func (o *WireGuardStatus) SetPublicKey(v string)
SetPublicKey sets value to PublicKey
type Zone ¶
type Zone struct { ID types.ID Name string Description string DisplayOrder int64 IsDummy bool VNCProxy *VNCProxy `json:",omitempty"` FTPServer *FTPServerInfo `json:",omitempty"` Region *Region `json:",omitempty"` }
Zone represents API parameter/response structure
func (*Zone) GetDescription ¶
GetDescription returns value of Description
func (*Zone) GetDisplayOrder ¶
GetDisplayOrder returns value of DisplayOrder
func (*Zone) GetFTPServer ¶
func (o *Zone) GetFTPServer() *FTPServerInfo
GetFTPServer returns value of FTPServer
func (*Zone) GetVNCProxy ¶
GetVNCProxy returns value of VNCProxy
func (*Zone) SetDescription ¶
SetDescription sets value to Description
func (*Zone) SetDisplayOrder ¶
SetDisplayOrder sets value to DisplayOrder
func (*Zone) SetFTPServer ¶
func (o *Zone) SetFTPServer(v *FTPServerInfo)
SetFTPServer sets value to FTPServer
func (*Zone) SetVNCProxy ¶
SetVNCProxy sets value to VNCProxy
type ZoneAPI ¶
type ZoneAPI interface { Find(ctx context.Context, conditions *FindCondition) (*ZoneFindResult, error) Read(ctx context.Context, id types.ID) (*Zone, error) }
ZoneAPI is interface for operate Zone resource
type ZoneFindResult ¶
type ZoneFindResult struct { Total int `json:",omitempty"` // Total count of target resources From int `json:",omitempty"` // Current page number Count int `json:",omitempty"` // Count of current page Zones []*Zone `json:",omitempty" mapconv:"[]Zones,omitempty,recursive"` }
ZoneFindResult represents the Result of API
func (*ZoneFindResult) Values ¶
func (r *ZoneFindResult) Values() []interface{}
Values returns find results
type ZoneInfo ¶
type ZoneInfo struct { ID types.ID Name string DisplayName string `json:",omitempty" mapconv:"Description,omitempty"` IsDummy bool `json:",omitempty" mapconv:",omitempty"` VNCProxy *VNCProxy `json:",omitempty" mapconv:",omitempty,recursive"` FTPServer *FTPServerInfo `json:",omitempty" mapconv:",omitempty,recursive"` Region *Region `json:",omitempty" mapconv:",omitempty,recursive"` }
ZoneInfo represents API parameter/response structure
func (*ZoneInfo) GetDisplayName ¶
GetDisplayName returns value of DisplayName
func (*ZoneInfo) GetFTPServer ¶
func (o *ZoneInfo) GetFTPServer() *FTPServerInfo
GetFTPServer returns value of FTPServer
func (*ZoneInfo) GetIsDummy ¶
GetIsDummy returns value of IsDummy
func (*ZoneInfo) GetVNCProxy ¶
GetVNCProxy returns value of VNCProxy
func (*ZoneInfo) SetDisplayName ¶
SetDisplayName sets value to DisplayName
func (*ZoneInfo) SetFTPServer ¶
func (o *ZoneInfo) SetFTPServer(v *FTPServerInfo)
SetFTPServer sets value to FTPServer
func (*ZoneInfo) SetIsDummy ¶
SetIsDummy sets value to IsDummy
func (*ZoneInfo) SetVNCProxy ¶
SetVNCProxy sets value to VNCProxy
type ZoneOp ¶
type ZoneOp struct { // Client APICaller Client APICaller // PathSuffix is used when building URL PathSuffix string // PathName is used when building URL PathName string }
ZoneOp implements ZoneAPI interface
func (*ZoneOp) Find ¶
func (o *ZoneOp) Find(ctx context.Context, conditions *FindCondition) (*ZoneFindResult, error)
Find is API call
Source Files
¶
- argument_defaulter.go
- client.go
- customize_dns.go
- customize_dns_record.go
- customize_envelope.go
- customize_gslb.go
- customize_load_balancer_server.go
- customize_load_balancer_vip.go
- customize_mobile_gateway.go
- customize_server.go
- doc.go
- error.go
- factory.go
- find_results.go
- functions.go
- state.go
- state_functions.go
- version.go
- zz_api_ops.go
- zz_api_transformers.go
- zz_apis.go
- zz_envelopes.go
- zz_models.go
- zz_result.go
Directories
¶
Path | Synopsis |
---|---|
helper
|
|
power
Package power サーバやアプライアンスの電源操作ユーティリティ
|
Package power サーバやアプライアンスの電源操作ユーティリティ |
internal
|
|
define
Package define .
|
Package define . |
dsl
Package dsl コード生成用の定義DSL
|
Package dsl コード生成用の定義DSL |
Package ostype is define OS type of SakuraCloud public archive
|
Package ostype is define OS type of SakuraCloud public archive |
Package test iaas.xxxAPIのテストのためのパッケージ
|
Package test iaas.xxxAPIのテストのためのパッケージ |
otel
Module
|
|