naked

package
v0.0.0-...-dc6ba75 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppliancePlan

type AppliancePlan struct {
	ID types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
}

AppliancePlan アプライアンスプラン

type ApplianceRemark

type ApplianceRemark struct {
	Zone    *ApplianceRemarkZone    `json:",omitempty" yaml:"zone,omitempty" structs:",omitempty"`
	Switch  *ApplianceRemarkSwitch  `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
	VRRP    *ApplianceVRRP          `json:",omitempty" yaml:"vrrp,omitempty" structs:",omitempty"`
	Network *ApplianceRemarkNetwork `json:",omitempty" yaml:"network,omitempty" structs:",omitempty"`
	Servers ApplianceRemarkServers  `yaml:"servers"`
	Plan    *AppliancePlan          `json:",omitempty" yaml:"plan,omitempty" structs:",omitempty"`
}

ApplianceRemark アプライアンスの設定/ステータスなど

Appliance.Remarkを表現する

type ApplianceRemarkNetwork

type ApplianceRemarkNetwork struct {
	DefaultRoute   string `json:",omitempty" yaml:"default_route,omitempty" structs:",omitempty"`
	NetworkMaskLen int    `json:",omitempty" yaml:"network_mask_len,omitempty" structs:",omitempty"`
}

ApplianceRemarkNetwork Appliance ネットワーク設定

func (*ApplianceRemarkNetwork) UnmarshalJSON

func (s *ApplianceRemarkNetwork) UnmarshalJSON(b []byte) error

UnmarshalJSON 配列/オブジェクトが混在することへの対応

type ApplianceRemarkServer

type ApplianceRemarkServer struct {
	IPAddress string `json:",omitempty" yaml:"ipaddress,omitempty" structs:",omitempty"`
}

ApplianceRemarkServer Applianceの稼働している仮想サーバのIPアドレス

func (*ApplianceRemarkServer) UnmarshalJSON

func (s *ApplianceRemarkServer) UnmarshalJSON(b []byte) error

UnmarshalJSON 配列/オブジェクトが混在することへの対応

type ApplianceRemarkServers

type ApplianceRemarkServers []*ApplianceRemarkServer

ApplianceRemarkServers Applianceの稼働している仮想サーバのIPアドレス

func (*ApplianceRemarkServers) MarshalJSON

func (s *ApplianceRemarkServers) MarshalJSON() ([]byte, error)

MarshalJSON APIの要求するJSONフォーマットへの変換

値がからの場合に配列、かつ内部に空オブジェクトを指定する。(主にVPCルータへの対応)

func (*ApplianceRemarkServers) UnmarshalJSON

func (s *ApplianceRemarkServers) UnmarshalJSON(b []byte) error

UnmarshalJSON 配列/オブジェクトが混在することへの対応

type ApplianceRemarkSwitch

type ApplianceRemarkSwitch struct {
	ID    types.ID     `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Scope types.EScope `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
}

ApplianceRemarkSwitch Applianceに接続されているスイッチのID

type ApplianceRemarkZone

type ApplianceRemarkZone struct {
	ID types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
}

ApplianceRemarkZone Applianceの属するゾーンのID

type ApplianceVRRP

type ApplianceVRRP struct {
	VRID int `json:",omitempty" yaml:"vrid,omitempty" structs:",omitempty"`
}

ApplianceVRRP アプライアンスのVRRPの設定

type Archive

type Archive struct {
	ID              types.ID            `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name            string              `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description     string              `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags            []string            `json:"" yaml:"tags"`
	Icon            *Icon               `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt       *time.Time          `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt      *time.Time          `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Availability    types.EAvailability `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	DisplayOrder    int                 `json:",omitempty" yaml:"display_order,omitempty" structs:",omitempty"`
	ServiceClass    string              `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	SizeMB          int                 `json:",omitempty" yaml:"size_mb,omitempty" structs:",omitempty"`
	MigratedMB      int                 `json:",omitempty" yaml:"migrated_mb,omitempty" structs:",omitempty"`
	JobStatus       *MigrationJobStatus `json:",omitempty" yaml:"job_status,omitempty" structs:",omitempty"`
	Plan            *DiskPlan           `json:",omitempty" yaml:"plan,omitempty" structs:",omitempty"`
	SourceDisk      *Disk               `json:",omitempty" yaml:"source_disk,omitempty" structs:",omitempty"`
	SourceArchive   *Archive            `json:",omitempty" yaml:"source_archive,omitempty" structs:",omitempty"`
	BundleInfo      *BundleInfo         `json:",omitempty" yaml:"bundle_info,omitempty" structs:",omitempty"`
	Storage         *Storage            `json:",omitempty" yaml:"storage,omitempty" structs:",omitempty"`
	Scope           types.EScope        `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	OriginalArchive *OriginalArchive    `json:",omitempty" yaml:"original_archive,omitempty" structs:",omitempty"`
	SourceInfo      *SourceArchive      `json:",omitempty" yaml:"source_info,omitempty" structs:",omitempty"`
}

Archive アーカイブ

type Bridge

type Bridge struct {
	ID           types.ID          `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string            `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string            `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	ServiceClass string            `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time        `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	Region       *Region           `json:",omitempty" yaml:"region,omitempty" structs:",omitempty"`
	SwitchInZone *BridgeSwitchInfo `json:",omitempty" yaml:"switch_in_zone,omitempty" structs:",omitempty"`
}

Bridge ブリッジ

type BridgeInfo

type BridgeInfo struct {
	Switches []*Switch `json:",omitempty" yaml:"switches,omitempty" structs:",omitempty"`
}

BridgeInfo ブリッジに接続されているスイッチの情報

type BridgeSwitchInfo

type BridgeSwitchInfo struct {
	ID             types.ID     `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Scope          types.EScope `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	Name           string       `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	ServerCount    int          `json:",omitempty" yaml:"server_count,omitempty" structs:",omitempty"`
	ApplianceCount int          `json:",omitempty" yaml:"appliance_count,omitempty" structs:",omitempty"`
}

BridgeSwitchInfo ゾーン内での接続スイッチ情報

type BundleInfo

type BundleInfo struct {
	ID           types.ID `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	HostClass    string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	ServiceClass string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

BundleInfo バンドル情報

type CDROM

type CDROM struct {
	ID           types.ID            `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string              `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string              `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags         []string            `json:"" yaml:"tags"`
	DisplayOrder int                 `json:",omitempty" yaml:"display_order,omitempty" structs:",omitempty"`
	Availability types.EAvailability `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	Scope        types.EScope        `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	StorageClass string              `json:",omitempty" yaml:"storage_class,omitempty" structs:",omitempty"`
	SizeMB       int                 `json:",omitempty" yaml:"size_mb,omitempty" structs:",omitempty"`
	Storage      *Storage            `json:",omitempty" yaml:"storage,omitempty" structs:",omitempty"`
	Icon         *Icon               `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time          `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt   *time.Time          `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
}

CDROM ISOイメージ

type ConnectedSwitch

type ConnectedSwitch struct {
	ID    types.ID     `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Scope types.EScope `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
}

ConnectedSwitch サーバ作成時に指定する接続先スイッチ

type Disk

type Disk struct {
	ID              types.ID              `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name            string                `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description     string                `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags            []string              `json:"" yaml:"tags"`
	Icon            *Icon                 `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt       *time.Time            `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt      *time.Time            `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Availability    types.EAvailability   `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	ServiceClass    string                `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	SizeMB          int                   `json:",omitempty" yaml:"size_mb,omitempty" structs:",omitempty"`
	MigratedMB      int                   `json:",omitempty" yaml:"migrated_mb,omitempty" structs:",omitempty"`
	Connection      types.EDiskConnection `json:",omitempty" yaml:"connection,omitempty" structs:",omitempty"`
	ConnectionOrder int                   `json:",omitempty" yaml:"connection_order,omitempty" structs:",omitempty"`
	ReinstallCount  int                   `json:",omitempty" yaml:"reinstall_count,omitempty" structs:",omitempty"`
	JobStatus       *MigrationJobStatus   `json:",omitempty" yaml:"job_status,omitempty" structs:",omitempty"`
	Plan            *DiskPlan             `json:",omitempty" yaml:"plan,omitempty" structs:",omitempty"`
	SourceDisk      *Disk                 `json:",omitempty" yaml:"source_disk,omitempty" structs:",omitempty"`
	SourceArchive   *Archive              `json:",omitempty" yaml:"source_archive,omitempty" structs:",omitempty"`
	BundleInfo      *BundleInfo           `json:",omitempty" yaml:"bundle_info,omitempty" structs:",omitempty"`
	Storage         *Storage              `json:",omitempty" yaml:"storage,omitempty" structs:",omitempty"`
	Server          *Server               `json:",omitempty" yaml:"server,omitempty" structs:",omitempty"`
}

Disk ディスク

type DiskEdit

type DiskEdit struct {
	Password            string            `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // パスワード
	SSHKey              *DiskEditSSHKey   `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // 公開鍵(単体)
	SSHKeys             []*DiskEditSSHKey `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // 公開鍵(複数)
	DisablePWAuth       bool              `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // パスワード認証無効化フラグ
	EnableDHCP          bool              `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // DHCPの有効化
	ChangePartitionUUID bool              `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // パーティションのUUID変更
	HostName            string            `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // ホスト名
	Notes               []DiskEditNote    `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // スタートアップスクリプト
	UserIPAddress       string            `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // IPアドレス
	UserSubnet          *UserSubnet       `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // デフォルトルート/サブネットマスク長
}

DiskEdit ディスクの修正パラメータ

type DiskEditNote

type DiskEditNote struct {
	ID        types.ID               `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Variables map[string]interface{} `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

DiskEditNote ディスクの修正で指定するスタートアップスクリプト

type DiskEditSSHKey

type DiskEditSSHKey struct {
	ID        types.ID `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	PublicKey string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

DiskEditSSHKey ディスク修正時のSSHキー

type DiskPlan

type DiskPlan struct {
	ID           types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string   `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	StorageClass string   `json:",omitempty" yaml:"storage_class,omitempty" structs:",omitempty"`
}

DiskPlan ディスクプラン

type FTPServer

type FTPServer struct {
	HostName  string `json:",omitempty" yaml:"host_name,omitempty" structs:",omitempty"`
	IPAddress string `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"`
}

FTPServer FTPサーバ

ZoneAPIの戻り値などに含まれる

type GSLB

type GSLB struct {
	ID           types.ID            `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string              `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string              `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags         []string            `json:"" yaml:"tags"`
	Icon         *Icon               `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time          `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt   *time.Time          `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Availability types.EAvailability `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	ServiceClass string              `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	Provider     *Provider           `json:",omitempty" yaml:"provider,omitempty" structs:",omitempty"`
	Settings     *GSLBSettings       `json:",omitempty" yaml:"settings,omitempty" structs:",omitempty"`
	SettingsHash string              `json:",omitempty" yaml:"settings_hash,omitempty" structs:",omitempty"`
	Status       *GSLBStatus         `json:",omitempty" yaml:"status,omitempty" structs:",omitempty"`
}

GSLB GSLB

type GSLBServer

type GSLBServer struct {
	IPAddress string             `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"` // IPアドレス
	Enabled   types.StringFlag   `yaml:"enabled" `                                                    // 有効/無効
	Weight    types.StringNumber `json:",omitempty" yaml:"weight,omitempty" structs:",omitempty"`     // ウェイト
}

GSLBServer GSLB配下のサーバー

type GSLBSetting

type GSLBSetting struct {
	DelayLoop   int              `json:",omitempty" yaml:"delay_loop,omitempty" structs:",omitempty"`
	HealthCheck *HealthCheck     `json:",omitempty" yaml:"health_check,omitempty" structs:",omitempty"`
	Weighted    types.StringFlag `yaml:"weighted"`
	Servers     []*GSLBServer    `yaml:"servers"`
	SorryServer string           `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // ソーリーサーバー
}

GSLBSetting GSLBの設定

type GSLBSettings

type GSLBSettings struct {
	GSLB *GSLBSetting `json:",omitempty" yaml:"gslb,omitempty" structs:",omitempty"`
}

GSLBSettings GSLBの設定

type GSLBStatus

type GSLBStatus struct {
	FQDN string `json:",omitempty" yaml:"fqdn,omitempty" structs:",omitempty"`
}

GSLBStatus GSLBステータス

type HealthCheck

type HealthCheck struct {
	Protocol types.Protocol     `json:",omitempty" yaml:"protocol,omitempty" structs:""` // プロトコル
	Host     string             `json:",omitempty" yaml:"host,omitempty" structs:""`     // 対象ホスト
	Path     string             `json:",omitempty" yaml:"path,omitempty" structs:""`     // HTTP/HTTPSの場合のリクエストパス
	Status   types.StringNumber `json:",omitempty" yaml:"status,omitempty" structs:""`   // 期待するステータスコード
	Port     types.StringNumber `json:",omitempty" yaml:"port,omitempty" structs:""`     // ポート番号
}

HealthCheck ヘルスチェック

type Host

type Host struct {
	InfoURL string `json:",omitempty" yaml:"info_url,omitempty" structs:",omitempty"`
	Name    string `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
}

Host 仮想マシンの起動しているホスト情報

type IPv6Net

type IPv6Net struct {
	ID                 types.ID   `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	ServiceID          string     `json:",omitempty" yaml:"service_id,omitempty" structs:",omitempty"`
	IPv6Prefix         string     `json:",omitempty" yaml:"ipv6prefix,omitempty" structs:",omitempty"`
	IPv6PrefixLen      int        `json:",omitempty" yaml:"ipv6prefix_len,omitempty" structs:",omitempty"`
	IPv6PrefixTail     string     `json:",omitempty" yaml:"ipv6prefix_tail,omitempty" structs:",omitempty"`
	ServiceClass       string     `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	IPv6Table          *IPv6Table `json:",omitempty" yaml:"ipv6table,omitempty" structs:",omitempty"`
	NamedIPv6AddrCount int        `json:",omitempty" yaml:"named_ipv6addr_count,omitempty" structs:",omitempty"`
	CreatedAt          *time.Time `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	Switch             *Switch    `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
}

IPv6Net InternetリソースでのIPv6アドレス帯を表す

type IPv6Table

type IPv6Table struct {
	ID types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
}

IPv6Table IPv6テーブル

type Icon

type Icon struct {
	ID           types.ID            `json:"ID,omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string              `json:"Name,omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Tags         []string            `json:"Tags" yaml:"tags"`
	Availability types.EAvailability `json:"Availability,omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	Scope        string              `json:"Scope,omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	URL          string              `json:"URL,omitempty" yaml:"url,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time          `json:"CreatedAt,omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt   *time.Time          `json:"ModifiedAt,omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
}

Icon アイコン

type Instance

type Instance struct {
	Host            *Host                       `json:",omitempty" yaml:"host,omitempty" structs:",omitempty"`
	Status          types.EServerInstanceStatus `json:",omitempty" yaml:"status,omitempty" structs:",omitempty"`
	BeforeStatus    types.EServerInstanceStatus `json:",omitempty" yaml:"before_status,omitempty" structs:",omitempty"`
	StatusChangedAt *time.Time                  `json:",omitempty" yaml:"status_changed_at,omitempty" structs:",omitempty"`
	ModifiedAt      *time.Time                  `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Warnings        string                      `json:",omitempty" yaml:"warnings,omitempty" structs:",omitempty"`
	WarningsValue   int                         `json:",omitempty" yaml:"warnings_value,omitempty" structs:",omitempty"`
}

Instance サーバなどの起動情報

type Interface

type Interface struct {
	ID            types.ID          `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	MACAddress    string            `json:",omitempty" yaml:"mac_address,omitempty" structs:",omitempty"`
	IPAddress     string            `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"`
	UserIPAddress string            `json:",omitempty" yaml:"user_ip_address,omitempty" structs:",omitempty"`
	HostName      string            `json:",omitempty" yaml:"host_name,omitempty" structs:",omitempty"`
	Switch        *Switch           `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
	PacketFilter  *PacketFilterInfo `json:",omitempty" yaml:"packet_filter,omitempty" structs:",omitempty"`
	Server        *Server           `json:",omitempty" yaml:"server,omitempty" structs:",omitempty"`

	// Index 仮想フィールド、VPCルータなどでInterfaces(実体は[]*Interface)を扱う場合にUnmarshalJSONの中で設定される
	//
	// Findした際のAPIからの応答にも同名のフィールドが含まれるが無関係。
	Index int `json:"-" yaml:"-" structs:"-"`
}

Interface サーバなどに接続されているNICの情報

type Interfaces

type Interfaces []*Interface

Interfaces Interface配列

配列中にnullが返ってくる(VPCルータなど)への対応のためのtype

func (*Interfaces) MarshalJSON

func (i *Interfaces) MarshalJSON() ([]byte, error)

MarshalJSON 配列中にnullが入る場合(VPCルータなど)への対応

func (*Interfaces) UnmarshalJSON

func (i *Interfaces) UnmarshalJSON(b []byte) error

UnmarshalJSON 配列中にnullが返ってくる(VPCルータなど)への対応

type Internet

type Internet struct {
	ID             types.ID     `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name           string       `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description    string       `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags           []string     `json:"" yaml:"tags"`
	Icon           *Icon        `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt      *time.Time   `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	Scope          types.EScope `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	ServiceClass   string       `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	Switch         *Switch      `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
	BandWidthMbps  int          `json:",omitempty" yaml:"band_width_mbps,omitempty" structs:",omitempty"`
	NetworkMaskLen int          `json:",omitempty" yaml:"network_mask_len,omitempty" structs:",omitempty"`
}

Internet ルータ+スイッチのルータ部分

type LoadBalancer

type LoadBalancer struct {
	ID           types.ID              `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string                `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string                `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags         []string              `json:"" yaml:"tags"`
	Icon         *Icon                 `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time            `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt   *time.Time            `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Availability types.EAvailability   `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	Class        string                `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	ServiceClass string                `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	Plan         *AppliancePlan        `json:",omitempty" yaml:"plan,omitempty" structs:",omitempty"`
	Instance     *Instance             `json:",omitempty" yaml:"instance,omitempty" structs:",omitempty"`
	Interfaces   []*Interface          `json:",omitempty" yaml:"interfaces,omitempty" structs:",omitempty"`
	Switch       *Switch               `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
	Settings     *LoadBalancerSettings `json:",omitempty" yaml:"settings,omitempty" structs:",omitempty"`
	SettingsHash string                `json:",omitempty" yaml:"settings_hash,omitempty" structs:",omitempty"`
	Remark       *ApplianceRemark      `json:",omitempty" yaml:"remark,omitempty" structs:",omitempty"`
}

LoadBalancer ロードバランサ

type LoadBalancerDestinationServer

type LoadBalancerDestinationServer struct {
	IPAddress   string             `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"`
	Port        types.StringNumber `json:",omitempty" yaml:"port,omitempty" structs:",omitempty"`
	Enabled     types.StringFlag   `json:",omitempty" yaml:"enabled,omitempty" structs:",omitempty"`
	HealthCheck *HealthCheck       `json:",omitempty" yaml:"health_check,omitempty" structs:",omitempty"`
}

LoadBalancerDestinationServer ロードバランサ配下の実サーバ

type LoadBalancerServerStatus

type LoadBalancerServerStatus struct {
	ActiveConn types.StringNumber          `json:",omitempty" yaml:"active_conn,omitempty" structs:",omitempty"`
	Status     types.EServerInstanceStatus `json:",omitempty" yaml:"status,omitempty" structs:",omitempty"`
	IPAddress  string                      `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"`
	Port       types.StringNumber          `json:",omitempty" yaml:"port,omitempty" structs:",omitempty"`
	CPS        types.StringNumber          `json:",omitempty" yaml:"cps,omitempty" structs:",omitempty"`
}

LoadBalancerServerStatus ロードバランサの実サーバのステータス

type LoadBalancerSetting

type LoadBalancerSetting struct {
	VirtualIPAddress string                           `json:",omitempty" yaml:"virtual_ip_address,omitempty" structs:",omitempty"`
	Port             types.StringNumber               `json:",omitempty" yaml:"port,omitempty" structs:",omitempty"`
	DelayLoop        types.StringNumber               `json:",omitempty" yaml:"delay_loop,omitempty" structs:",omitempty"`
	SorryServer      string                           `json:",omitempty" yaml:"sorry_server,omitempty" structs:",omitempty"`
	Description      string                           `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Servers          []*LoadBalancerDestinationServer `json:",omitempty" yaml:"servers,omitempty" structs:",omitempty"`
}

LoadBalancerSetting ロードバランサの設定

type LoadBalancerSettings

type LoadBalancerSettings struct {
	LoadBalancer []*LoadBalancerSetting `json:",omitempty" yaml:"load_balancer,omitempty" structs:",omitempty"`
}

LoadBalancerSettings ロードバランサの設定

type LoadBalancerStatus

type LoadBalancerStatus struct {
	VirtualIPAddress string                      `json:",omitempty" yaml:"virtual_ip_address,omitempty" structs:",omitempty"`
	Port             types.StringNumber          `json:",omitempty" yaml:"port,omitempty" structs:",omitempty"`
	CPS              types.StringNumber          `json:",omitempty" yaml:"cps,omitempty" structs:",omitempty"`
	Servers          []*LoadBalancerServerStatus `json:",omitempty" yaml:"servers,omitempty" structs:",omitempty"`
}

LoadBalancerStatus ロードバランサのステータス

type MigrationJobStatus

type MigrationJobStatus struct {
	Status string `json:",omitempty" yaml:"status,omitempty" structs:",omitempty"` // ステータス
	Delays *struct {
		Start *struct {
			Max int `json:",omitempty" yaml:"max,omitempty" structs:",omitempty"` // 最大
			Min int `json:",omitempty" yaml:"min,omitempty" structs:",omitempty"` // 最小
		} `json:",omitempty" yaml:"start,omitempty" structs:",omitempty"`

		Finish *struct {
			Max int `json:",omitempty" yaml:"max,omitempty" structs:",omitempty"` // 最大
			Min int `json:",omitempty" yaml:"min,omitempty" structs:",omitempty"` // 最小
		} `json:",omitempty" yaml:"finish,omitempty" structs:",omitempty"`
	}
}

MigrationJobStatus マイグレーションジョブステータス

type MobileGateway

type MobileGateway struct {
	ID           int64                  `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Class        string                 `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	Name         string                 `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Tags         []string               `yaml:"tags"`
	Description  string                 `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Plan         *AppliancePlan         `json:",omitempty" yaml:"plan,omitempty" structs:",omitempty"`
	Settings     *MobileGatewaySettings `json:",omitempty" yaml:"settings,omitempty" structs:",omitempty"`
	SettingsHash string                 `json:",omitempty" yaml:"settings_hash,omitempty" structs:",omitempty"`
	Remark       *ApplianceRemark       `json:",omitempty" yaml:"remark,omitempty" structs:",omitempty"`
	Availability types.EAvailability    `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	Instance     *Instance              `json:",omitempty" yaml:"instance,omitempty" structs:",omitempty"`
	ServiceClass string                 `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	CreatedAt    time.Time              `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	Icon         *Icon                  `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	Switch       *Switch                `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
	Interfaces   []*Interface           `json:",omitempty" yaml:"interfaces,omitempty" structs:",omitempty"`
}

MobileGateway モバイルゲートウェイ

type MobileGatewayInterDeviceCommunication

type MobileGatewayInterDeviceCommunication struct {
	Enabled string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

MobileGatewayInterDeviceCommunication デバイス間通信

type MobileGatewayInterface

type MobileGatewayInterface struct {
	IPAddress      []string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	NetworkMaskLen int      `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

MobileGatewayInterface インターフェース

type MobileGatewayInternetConnection

type MobileGatewayInternetConnection struct {
	Enabled string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

MobileGatewayInternetConnection インターネット接続

type MobileGatewayResolver

type MobileGatewayResolver struct {
	SimGroup *MobileGatewaySIMGroup `json:"sim_group,omitempty" yaml:"sim_group,omitempty" structs:",omitempty"`
}

MobileGatewayResolver DNS登録用パラメータ

type MobileGatewaySIMGroup

type MobileGatewaySIMGroup struct {
	DNS1 string `json:"dns_1,omitempty" yaml:"dns_1,omitempty" structs:",omitempty"`
	DNS2 string `json:"dns_2,omitempty" yaml:"dns_2,omitempty" structs:",omitempty"`
}

MobileGatewaySIMGroup DNS登録用SIMグループ値

func (*MobileGatewaySIMGroup) UnmarshalJSON

func (m *MobileGatewaySIMGroup) UnmarshalJSON(data []byte) error

UnmarshalJSON JSONアンマーシャル(配列、オブジェクトが混在するためここで対応)

type MobileGatewaySIMRoute

type MobileGatewaySIMRoute struct {
	ICCID      string `json:"iccid,omitempty" yaml:"iccid,omitempty" structs:",omitempty"`
	Prefix     string `json:"prefix,omitempty" yaml:"prefix,omitempty" structs:",omitempty"`
	ResourceID string `json:"resource_id,omitempty" yaml:"resource_id,omitempty" structs:",omitempty"`
}

MobileGatewaySIMRoute SIルート

type MobileGatewaySIMRoutes

type MobileGatewaySIMRoutes struct {
	SIMRoutes []*MobileGatewaySIMRoute `json:"sim_routes" yaml:"sim_routes,omitempty" structs:",omitempty"`
}

MobileGatewaySIMRoutes SIMルート一覧

type MobileGatewaySetting

type MobileGatewaySetting struct {
	Interfaces               []*MobileGatewayInterface              `json:",omitempty" yaml:"interfaces,omitempty" structs:",omitempty"`
	InternetConnection       *MobileGatewayInternetConnection       `json:",omitempty" yaml:"internet_connection,omitempty" structs:",omitempty"`
	StaticRoutes             []*MobileGatewayStaticRoute            `json:",omitempty" yaml:"static_routes,omitempty" structs:",omitempty"`
	InterDeviceCommunication *MobileGatewayInterDeviceCommunication `json:",omitempty" yaml:"inter_device_communication,omitempty" structs:",omitempty"`
}

MobileGatewaySetting モバイルゲートウェイ セッティング

type MobileGatewaySettings

type MobileGatewaySettings struct {
	MobileGateway *MobileGatewaySetting `json:",omitempty" yaml:"mobile_gateway,omitempty" structs:",omitempty"`
}

MobileGatewaySettings モバイルゲートウェイ セッティング

type MobileGatewayStaticRoute

type MobileGatewayStaticRoute struct {
	Prefix  string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	NextHop string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

MobileGatewayStaticRoute スタティックルート

type MonitorCPUTimeValue

type MonitorCPUTimeValue struct {
	Time    time.Time // 対象時刻
	CPUTime float64
}

MonitorCPUTimeValue CPU-TIMEアクティビティモニタ

type MonitorCPUTimeValues

type MonitorCPUTimeValues []*MonitorCPUTimeValue

MonitorCPUTimeValues CPU-TIMEアクティビティモニタ

func (*MonitorCPUTimeValues) UnmarshalJSON

func (m *MonitorCPUTimeValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorConnectionValue

type MonitorConnectionValue struct {
	Time              time.Time
	ActiveConnections float64
	ConnectionsPerSec float64
}

MonitorConnectionValue アクティビティモニタ

type MonitorConnectionValues

type MonitorConnectionValues []*MonitorConnectionValue

MonitorConnectionValues アクティビティモニタ

func (*MonitorConnectionValues) UnmarshalJSON

func (m *MonitorConnectionValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorDatabaseValue

type MonitorDatabaseValue struct {
	Time              time.Time // 対象時刻
	TotalMemorySize   float64
	UsedMemorySize    float64
	TotalDisk1Size    float64
	UsedDisk1Size     float64
	TotalDisk2Size    float64
	UsedDisk2Size     float64
	BinlogUsedSizeKiB float64
	DelayTimeSec      float64
}

MonitorDatabaseValue アクティビティモニタ

type MonitorDatabaseValues

type MonitorDatabaseValues []*MonitorDatabaseValue

MonitorDatabaseValues アクティビティモニタ

func (*MonitorDatabaseValues) UnmarshalJSON

func (m *MonitorDatabaseValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorDiskValue

type MonitorDiskValue struct {
	Time  time.Time
	Write float64
	Read  float64
}

MonitorDiskValue アクティビティモニタ

type MonitorDiskValues

type MonitorDiskValues []*MonitorDiskValue

MonitorDiskValues アクティビティモニタ

func (*MonitorDiskValues) UnmarshalJSON

func (m *MonitorDiskValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorFreeDiskSizeValue

type MonitorFreeDiskSizeValue struct {
	Time         time.Time // 対象時刻
	FreeDiskSize float64
}

MonitorFreeDiskSizeValue アクティビティモニタ

type MonitorFreeDiskSizeValues

type MonitorFreeDiskSizeValues []*MonitorFreeDiskSizeValue

MonitorFreeDiskSizeValues アクティビティモニタ

func (*MonitorFreeDiskSizeValues) UnmarshalJSON

func (m *MonitorFreeDiskSizeValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorInterfaceValue

type MonitorInterfaceValue struct {
	Time    time.Time
	Send    float64
	Receive float64
}

MonitorInterfaceValue アクティビティモニタ

type MonitorInterfaceValues

type MonitorInterfaceValues []*MonitorInterfaceValue

MonitorInterfaceValues アクティビティモニタ

func (*MonitorInterfaceValues) UnmarshalJSON

func (m *MonitorInterfaceValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorLinkValue

type MonitorLinkValue struct {
	Time        time.Time
	UplinkBPS   float64
	DownlinkBPS float64
}

MonitorLinkValue アクティビティモニタ

type MonitorLinkValues

type MonitorLinkValues []*MonitorLinkValue

MonitorLinkValues アクティビティモニタ

func (*MonitorLinkValues) UnmarshalJSON

func (m *MonitorLinkValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorResponseTimeSecValue

type MonitorResponseTimeSecValue struct {
	Time            time.Time // 対象時刻
	ResponseTimeSec float64
}

MonitorResponseTimeSecValue アクティビティモニタ

type MonitorResponseTimeSecValues

type MonitorResponseTimeSecValues []*MonitorResponseTimeSecValue

MonitorResponseTimeSecValues アクティビティモニタ

func (*MonitorResponseTimeSecValues) UnmarshalJSON

func (m *MonitorResponseTimeSecValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorRouterValue

type MonitorRouterValue struct {
	Time time.Time
	In   float64
	Out  float64
}

MonitorRouterValue アクティビティモニタ

type MonitorRouterValues

type MonitorRouterValues []*MonitorRouterValue

MonitorRouterValues アクティビティモニタ

func (*MonitorRouterValues) UnmarshalJSON

func (m *MonitorRouterValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type MonitorValues

type MonitorValues struct {
	// CPU CPU-TIME
	CPU MonitorCPUTimeValues
	// Disk Read/Write
	Disk MonitorDiskValues
	// Interface Send/Receive
	Interface MonitorInterfaceValues
	// Router In/Out
	Router MonitorRouterValues
	// Database データベース
	Database MonitorDatabaseValues
	// FreeDiskSize 空きディスクサイズ(NFS)
	FreeDiskSize MonitorFreeDiskSizeValues
	// ResponseTimeSec 応答時間(シンプル監視)
	ResponseTimeSec MonitorResponseTimeSecValues
	// Link UplinkBPS/DownlinkBPS
	Link MonitorLinkValues
	// Connection 接続数
	Connection MonitorConnectionValues
}

MonitorValues アクティビティモニタのレスポンス向け汎用エンベロープ

func (*MonitorValues) UnmarshalJSON

func (m *MonitorValues) UnmarshalJSON(data []byte) error

UnmarshalJSON アクティビティモニタ向けUnmarshalJSON実装

type NFS

type NFS struct {
	ID           types.ID            `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string              `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string              `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags         []string            `json:"" yaml:"tags"`
	Icon         *Icon               `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time          `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt   *time.Time          `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Availability types.EAvailability `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	Class        string              `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	Instance     *Instance           `json:",omitempty" yaml:"instance,omitempty" structs:",omitempty"`
	Interfaces   []*Interface        `json:",omitempty" yaml:"interfaces,omitempty" structs:",omitempty"`
	Plan         *AppliancePlan      `json:",omitempty" yaml:"plan,omitempty" structs:",omitempty"`
	Remark       *ApplianceRemark    `json:",omitempty" yaml:"remark,omitempty" structs:",omitempty"`
	ServiceClass string              `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	Switch       *Switch             `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
}

NFS NFS

type Note

type Note struct {
	ID           types.ID            `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string              `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string              `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags         []string            `json:"" yaml:"tags"`
	Availability types.EAvailability `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	Scope        types.EScope        `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	Class        string              `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	Content      string              `json:",omitempty" yaml:"content,omitempty" structs:",omitempty"`
	Icon         *Icon               `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt    *time.Time          `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt   *time.Time          `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
}

Note スタートアップスクリプト

type OpeningFTPServer

type OpeningFTPServer struct {
	HostName  string `json:",omitempty" yaml:"host_name,omitempty" structs:",omitempty"`
	IPAddress string `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"`
	User      string `json:",omitempty" yaml:"user,omitempty" structs:",omitempty"`
	Password  string `json:",omitempty" yaml:"password,omitempty" structs:",omitempty"`
}

OpeningFTPServer 接続可能な状態のFTPサーバ

ISOイメージやアーカイブのOpenなどで返される

type OriginalArchive

type OriginalArchive struct {
	ID types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
}

OriginalArchive オリジナルアーカイブ

type PacketFilter

type PacketFilter struct {
	ID                  types.ID                  `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name                string                    `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description         string                    `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	RequiredHostVersion types.StringNumber        `json:",omitempty" yaml:"require_host_version,omitempty" structs:",omitempty"`
	Expression          []*PacketFilterExpression `yaml:"expression"`
	ExpressionHash      string                    `json:",omitempty" yaml:"expression_hash,omitempty" structs:",omitempty"`
	CreatedAt           time.Time                 `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
}

PacketFilter パケットフィルタ

type PacketFilterExpression

type PacketFilterExpression struct {
	Protocol        types.Protocol            `yaml:"protocol"`
	SourceNetwork   types.PacketFilterNetwork `yaml:"source_network"`
	DestinationPort types.PacketFilterPort    `yaml:"destination_port"`
	Action          types.Action              `yaml:"action"`
	SourcePort      types.PacketFilterPort    `yaml:"source_port"`
}

PacketFilterExpression パケットフィルタのルール

type PacketFilterInfo

type PacketFilterInfo struct {
	ID                  types.ID           `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name                string             `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	RequiredHostVersion types.StringNumber `json:",omitempty" yaml:"require_host_version,omitempty" structs:",omitempty"`
}

PacketFilterInfo パケットフィルタ - Interface配下などでの参照用

type PrivateHost

type PrivateHost struct {
	ID types.ID `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

PrivateHost プライベートホスト

TODO 後で

type Provider

type Provider struct {
	ID           types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string   `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Class        string   `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	ServiceClass string   `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
}

Provider CommonServiceItemなどで利用されるProvider

type Region

type Region struct {
	ID          types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name        string   `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description string   `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	NameServers []string `json:",omitempty" yaml:"name_servers,omitempty" structs:",omitempty"`
}

Region リージョン

type SIM

type SIM struct {
	ID           types.ID     `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string       `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string       `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags         []string     `json:",omitempty" yaml:"tags"`
	Status       *SIMStatus   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	ServiceClass string       `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Availability string       `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	CreatedAt    time.Time    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	ModifiedAt   time.Time    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Provider     *SIMProvider `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Icon         *Icon        `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Remark       *SIMRemark   `json:",omitempty" yaml:",omitempty" structs:",omitempty"` // Remark
}

SIM SIM

type SIMAssignIPRequest

type SIMAssignIPRequest struct {
	IP string `json:"ip"`
}

SIMAssignIPRequest IPアドレスアサイン リクエストパラメータ

type SIMIMEILockRequest

type SIMIMEILockRequest struct {
	IMEI string `json:"imei"`
}

SIMIMEILockRequest IMEIロック リクエストパラメータ

type SIMInfo

type SIMInfo struct {
	ICCID                      string           `json:"iccid,omitempty" yaml:"iccid,omitempty" structs:",omitempty"`
	IMSI                       []string         `json:"imsi,omitempty" yaml:"imsi,omitempty" structs:",omitempty"`
	IP                         string           `json:"ip,omitempty" yaml:"ip,omitempty" structs:",omitempty"`
	SessionStatus              string           `json:"session_status,omitempty" yaml:"session_status,omitempty" structs:",omitempty"`
	IMEILock                   bool             `json:"imei_lock,omitempty" yaml:"imei_lock,omitempty" structs:",omitempty"`
	Registered                 bool             `json:"registered,omitempty" yaml:"registered,omitempty" structs:",omitempty"`
	Activated                  bool             `json:"activated,omitempty" yaml:"activated,omitempty" structs:",omitempty"`
	ResourceID                 string           `json:"resource_id,omitempty" yaml:"resource_id,omitempty" structs:",omitempty"`
	RegisteredDate             time.Time        `json:"registered_date,omitempty" yaml:"registered_date,omitempty" structs:",omitempty"`
	ActivatedDate              time.Time        `json:"activated_date,omitempty" yaml:"activated_date,omitempty" structs:",omitempty"`
	DeactivatedDate            time.Time        `json:"deactivated_date,omitempty" yaml:"deactivated_date,omitempty" structs:",omitempty"`
	SIMGroupID                 string           `json:"simgroup_id,omitempty" yaml:"simgroup_id,omitempty" structs:",omitempty"`
	TrafficBytesOfCurrentMonth *SIMTrafficBytes `json:"traffic_bytes_of_current_month,omitempty" yaml:"traffic_bytes_of_current_month,omitempty" structs:",omitempty"`
	ConnectedIMEI              string           `json:"connected_imei,omitempty" yaml:"connected_imei,omitempty" structs:",omitempty"`
}

SIMInfo SIM詳細情報

type SIMLog

type SIMLog struct {
	Date          *time.Time `json:"date,omitempty" yaml:"date,omitempty" structs:",omitempty"`
	SessionStatus string     `json:"session_status,omitempty" yaml:"session_status,omitempty" structs:",omitempty"`
	ResourceID    string     `json:"resource_id,omitempty" yaml:"resource_id,omitempty" structs:",omitempty"`
	IMEI          string     `json:"imei,omitempty" yaml:"imei,omitempty" structs:",omitempty"`
	IMSI          string     `json:"imsi,omitempty" yaml:"imsi,omitempty" structs:",omitempty"`
}

SIMLog SIMログ

type SIMNetworkOperatorConfig

type SIMNetworkOperatorConfig struct {
	Allow       bool   `json:"allow,omitempty" yaml:"allow,omitempty" structs:",omitempty"`
	CountryCode string `json:"country_code,omitempty" yaml:"country_code,omitempty" structs:",omitempty"`
	Name        string `json:"name,omitempty" yaml:"name,omitempty" structs:",omitempty"`
}

SIMNetworkOperatorConfig SIM通信キャリア設定

type SIMNetworkOperatorConfigs

type SIMNetworkOperatorConfigs struct {
	NetworkOperatorConfigs []*SIMNetworkOperatorConfig `json:"network_operator_config,omitempty" yaml:"network_operator_config,omitempty" structs:",omitempty"`
}

SIMNetworkOperatorConfigs SIM通信キャリア設定 リクエストパラメータ

type SIMProvider

type SIMProvider struct {
	ID           int    `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Class        string `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	Name         string `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	ServiceClass string `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
}

SIMProvider SIMプロバイダー

type SIMRemark

type SIMRemark struct {
	PassCode string `json:",omitempty" yaml:"pass_code,omitempty" structs:",omitempty"`
}

SIMRemark remark

type SIMStatus

type SIMStatus struct {
	ICCID   string   `json:",omitempty" yaml:"iccid,omitempty" structs:",omitempty"`  // ICCID
	SIMInfo *SIMInfo `json:"sim,omitempty" yaml:"sim,omitempty" structs:",omitempty"` // SIM詳細情報
}

SIMStatus SIMステータス

type SIMTrafficBytes

type SIMTrafficBytes struct {
	UplinkBytes   uint64 `json:"uplink_bytes,omitempty" yaml:"uplink_bytes,omitempty" structs:",omitempty"`
	DownlinkBytes uint64 `json:"downlink_bytes,omitempty" yaml:"downlink_bytes,omitempty" structs:",omitempty"`
}

SIMTrafficBytes 当月通信量

func (*SIMTrafficBytes) UnmarshalJSON

func (s *SIMTrafficBytes) UnmarshalJSON(data []byte) error

UnmarshalJSON JSONアンマーシャル(配列、オブジェクトが混在するためここで対応)

type Server

type Server struct {
	ID                types.ID               `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name              string                 `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description       string                 `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags              []string               `json:"" yaml:"tags"`
	Icon              *Icon                  `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt         *time.Time             `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt        *time.Time             `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Availability      types.EAvailability    `json:",omitempty" yaml:"availability,omitempty" structs:",omitempty"`
	HostName          string                 `json:",omitempty" yaml:"host_name,omitempty" structs:",omitempty"`
	ServiceClass      string                 `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	InterfaceDriver   types.EInterfaceDriver `json:",omitempty" yaml:"interface_driver,omitempty" structs:",omitempty"`
	ServerPlan        *ServerPlan            `json:",omitempty" yaml:"server_plan,omitempty" structs:",omitempty"`
	Zone              *Zone                  `json:",omitempty" yaml:"zone,omitempty" structs:",omitempty"`
	Instance          *Instance              `json:",omitempty" yaml:"instance,omitempty" structs:",omitempty"`
	Disks             []*Disk                `json:",omitempty" yaml:"disks,omitempty" structs:",omitempty"`
	Interfaces        []*Interface           `json:",omitempty" yaml:"interfaces,omitempty" structs:",omitempty"`
	PrivateHost       *PrivateHost           `json:",omitempty" yaml:"private_host,omitempty" structs:",omitempty"`
	WaitDiskMigration bool                   `json:",omitempty" yaml:"wait_disk_migration,omitempty" structs:",omitempty"`
	ConnectedSwitches []*ConnectedSwitch     `json:",omitempty" yaml:"connected_switches,omitempty" structs:",omitempty"`
}

Server サーバ

type ServerPlan

type ServerPlan struct {
	ID           types.ID          `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name         string            `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	CPU          int               `json:",omitempty" yaml:"cpu,omitempty" structs:",omitempty"`
	MemoryMB     int               `json:",omitempty" yaml:"memory_mb,omitempty" structs:",omitempty"`
	Commitment   types.ECommitment `json:",omitempty" yaml:"commitment,omitempty" structs:",omitempty"`
	Generation   int               `json:",omitempty" yaml:"generation,omitempty" structs:",omitempty"`
	ServiceClass string            `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
}

ServerPlan サーバープラン

type SourceArchive

type SourceArchive struct {
	ArchiveUnderZone *SourceArchiveInfo `json:",omitempty" yaml:"archive_under_zone,omitempty" structs:",omitempty"`
}

SourceArchive 他ゾーンから転送したアーカイブの情報

type SourceArchiveInfo

type SourceArchiveInfo struct {
	ID      types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Account *struct {
		ID types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	} `json:",omitempty" yaml:"account,omitempty" structs:",omitempty"`
	Zone *struct {
		ID   types.ID `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
		Name string   `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	} `json:",omitempty" yaml:"zone,omitempty" structs:",omitempty"`
}

SourceArchiveInfo 他ゾーンから転送したアーカイブの情報

type Storage

type Storage struct {
	ID          types.ID  `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name        string    `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description string    `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Generation  int       `json:",omimtempty" yaml:"generation,omitempty" structs:",omitempty"`
	Class       string    `json:",omitempty" yaml:"class,omitempty" structs:",omitempty"`
	DiskPlan    *DiskPlan `json:",omitempty" yaml:"disk_plan,omitempty" structs:",omitempty"`
	Zone        *Zone     `json:",omitempty" yaml:"zone,omitempty" structs:",omitempty"`
}

Storage ストレージ

type Subnet

type Subnet struct {
	ID             types.ID    `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	ServiceClass   string      `json:",omitempty" yaml:"service_class,omitempty" structs:",omitempty"`
	CreatedAt      *time.Time  `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	DefaultRoute   string      `json:",omitempty" yaml:"default_route,omitempty" structs:",omitempty"`
	NetworkAddress string      `json:",omitempty" yaml:"network_address,omitempty" structs:",omitempty"`
	NetworkMaskLen int         `json:",omitempty" yaml:"network_mask_len,omitempty" structs:",omitempty"`
	ServiceID      int64       `json:",omitempty" yaml:"service_id,omitempty" structs:",omitempty"`
	StaticRoute    string      `json:",omitempty" yaml:"static_route,omitempty" structs:",omitempty"`
	NextHop        string      `json:",omitempty" yaml:"next_hop,omitempty" structs:",omitempty"`
	Switch         *Switch     `json:",omitempty" yaml:"switch,omitempty" structs:",omitempty"`
	Internet       *Internet   `json:",omitempty" yaml:"internet,omitempty" structs:",omitempty"`
	IPAddresses    interface{} `json:",omitempty" yaml:"ip_addresses,omitempty" structs:",omitempty"`
}

Subnet サブネット

type SubnetIPAddressRange

type SubnetIPAddressRange struct {
	Min string `yaml:"min"`
	Max string `yaml:"max"`
}

SubnetIPAddressRange ルータ+スイッチのスイッチ配下から参照できるSubnetでの割り当てられているIPアドレス範囲

type SubnetOperationRequest

type SubnetOperationRequest struct {
	NetworkMaskLen int    `json:",omitempty" yaml:"network_mask_len,omitempty" structs:",omitempty"`
	NextHop        string `json:",omitempty" yaml:"next_hop,omitempty" structs:",omitempty"`
}

SubnetOperationRequest サブネット追加時のリクエストパラメータ

type Switch

type Switch struct {
	ID          types.ID     `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	Name        string       `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description string       `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	Tags        []string     `json:"" yaml:"tags"`
	Icon        *Icon        `json:",omitempty" yaml:"icon,omitempty" structs:",omitempty"`
	CreatedAt   *time.Time   `json:",omitempty" yaml:"created_at,omitempty" structs:",omitempty"`
	ModifiedAt  *time.Time   `json:",omitempty" yaml:"modified_at,omitempty" structs:",omitempty"`
	Scope       types.EScope `json:",omitempty" yaml:"scope,omitempty" structs:",omitempty"`
	Subnet      *Subnet      `json:",omitempty" yaml:"subnet,omitempty" structs:",omitempty"`
	UserSubnet  *UserSubnet  `json:",omitempty" yaml:"user_subnet,omitempty" structs:",omitempty"`
	Zone        *Zone        `json:",omitempty" yaml:"zone,omitempty" structs:",omitempty"`
	Internet    *Internet    `json:",omitempty" yaml:"internet,omitempty" structs:",omitempty"`
	Subnets     []*Subnet    `json:",omitempty" yaml:"subnets,omitempty" structs:",omitempty"`
	IPv6Nets    []*IPv6Net   `json:",omitempty" yaml:"ipv6nets,omitempty" structs:",omitempty"`
	Bridge      *Bridge      `json:",omitempty" yaml:"bridge,omitempty" structs:",omitempty"`
}

Switch スイッチ

type TrafficMonitoringConfig

type TrafficMonitoringConfig struct {
	TrafficQuotaInMB     int                           `json:"traffic_quota_in_mb,omitempty" yaml:"traffic_quota_in_mb" structs:",omitempty"`
	BandWidthLimitInKbps int                           `json:"bandwidth_limit_in_kbps,omitempty" yaml:"bandwidth_limit_in_kbps" structs:",omitempty"`
	EMailConfig          *TrafficMonitoringNotifyEmail `json:"email_config,omitempty" yaml:"email_config,omitempty" structs:",omitempty"`
	SlackConfig          *TrafficMonitoringNotifySlack `json:"slack_config,omitempty" yaml:"slack_config,omitempty" structs:",omitempty"`
	AutoTrafficShaping   bool                          `json:"auto_traffic_shaping,omitempty" yaml:"auto_traffic_shaping,omitempty" structs:",omitempty"`
}

TrafficMonitoringConfig トラフィックコントロール 設定

type TrafficMonitoringNotifyEmail

type TrafficMonitoringNotifyEmail struct {
	Enabled bool `json:"enabled" yaml:"enabled"` // 有効/無効
}

TrafficMonitoringNotifyEmail トラフィックコントロール通知設定

type TrafficMonitoringNotifySlack

type TrafficMonitoringNotifySlack struct {
	Enabled             bool   `json:"enabled" yaml:"enabled"`                         // 有効/無効
	IncomingWebhooksURL string `json:"slack_url,omitempty" yaml:"slack_url,omitempty"` // Slack通知の場合のWebhook URL
}

TrafficMonitoringNotifySlack トラフィックコントロール通知設定

type TrafficStatus

type TrafficStatus struct {
	UplinkBytes    types.StringNumber `json:"uplink_bytes,omitempty" yaml:"uplink_bytes,omitempty" structs:",omitempty"`
	DownlinkBytes  types.StringNumber `json:"downlink_bytes,omitempty" yaml:"downlink_bytes,omitempty" structs:",omitempty"`
	TrafficShaping bool               `json:"traffic_shaping" yaml:"traffic_shaping,omitempty" structs:",omitempty"` // 帯域制限
}

TrafficStatus トラフィックコントロール 当月通信量

func (*TrafficStatus) UnmarshalJSON

func (s *TrafficStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON JSONアンマーシャル(uint64文字列対応)

type UserSubnet

type UserSubnet struct {
	DefaultRoute   string `json:",omitempty" yaml:"default_route,omitempty" structs:",omitempty" `
	NetworkMaskLen int    `json:",omitempty" yaml:"network_mask_len,omitempty" structs:",omitempty"`
}

UserSubnet ユーザーサブネット

type VNCProxy

type VNCProxy struct {
	HostName  string `json:",omitempty" yaml:"host_name,omitempty" structs:",omitempty"`
	IPAddress string `json:",omitempty" yaml:"ip_address,omitempty" structs:",omitempty"`
}

VNCProxy VNCプロキシ

type VPCRouter

type VPCRouter struct {
	ID           types.ID            `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Class        string              `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Name         string              `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Description  string              `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Plan         *AppliancePlan      `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Settings     *VPCRouterSettings  `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	SettingsHash string              `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Remark       *ApplianceRemark    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Availability types.EAvailability `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Instance     *Instance           `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	ServiceClass string              `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	CreatedAt    *time.Time          `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Icon         *Icon               `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Switch       *Switch             `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Interfaces   Interfaces          `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Tags         []string            `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouter VPCルータ

type VPCRouterDHCPServer

type VPCRouterDHCPServer struct {
	Config  []*VPCRouterDHCPServerConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag             `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterDHCPServer DHCPサーバ

func (*VPCRouterDHCPServer) MarshalJSON

func (f *VPCRouterDHCPServer) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type VPCRouterDHCPServerConfig

type VPCRouterDHCPServerConfig struct {
	Interface  string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	RangeStop  string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	RangeStart string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	DNSServers []string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterDHCPServerConfig DHCPサーバ

type VPCRouterDHCPStaticMappingConfig

type VPCRouterDHCPStaticMappingConfig struct {
	MACAddress string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	IPAddress  string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterDHCPStaticMappingConfig DHCPスタティックマッピング

type VPCRouterDHCPStaticMappings

type VPCRouterDHCPStaticMappings struct {
	Config  []*VPCRouterDHCPStaticMappingConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag                    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterDHCPStaticMappings DHCPスタティックマッピング

func (*VPCRouterDHCPStaticMappings) MarshalJSON

func (f *VPCRouterDHCPStaticMappings) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type VPCRouterFirewall

type VPCRouterFirewall struct {
	Config  []*VPCRouterFirewallConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag           `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterFirewall ファイアウォール

func (*VPCRouterFirewall) MarshalJSON

func (f *VPCRouterFirewall) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type VPCRouterFirewallConfig

type VPCRouterFirewallConfig struct {
	Receive []*VPCRouterFirewallRule `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Send    []*VPCRouterFirewallRule `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterFirewallConfig ファイアウォール

type VPCRouterFirewallRule

type VPCRouterFirewallRule struct {
	Protocol           types.Protocol           `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	SourceNetwork      types.VPCFirewallNetwork `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	SourcePort         types.VPCFirewallPort    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	DestinationNetwork types.VPCFirewallNetwork `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	DestinationPort    types.VPCFirewallPort    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Action             types.Action             `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Logging            types.StringFlag         `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Description        string                   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterFirewallRule ファイアウォール ルール

type VPCRouterInterface

type VPCRouterInterface struct {
	IPAddress        []string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	VirtualIPAddress string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	IPAliases        []string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	NetworkMaskLen   int      `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	// Index 仮想フィールド、VPCルータなどでInterfaces(実体は[]*Interface)を扱う場合にUnmarshalJSONの中で設定される
	//
	// Findした際のAPIからの応答にも同名のフィールドが含まれるが無関係。
	Index int `json:"-" yaml:"-" structs:"-"`
}

VPCRouterInterface インターフェース

func (*VPCRouterInterface) UnmarshalJSON

func (i *VPCRouterInterface) UnmarshalJSON(b []byte) error

UnmarshalJSON JSON

type VPCRouterInterfaces

type VPCRouterInterfaces []*VPCRouterInterface

VPCRouterInterfaces Interface配列

配列中にnullが返ってくる(VPCルータなど)への対応のためのtype

func (*VPCRouterInterfaces) MarshalJSON

func (i *VPCRouterInterfaces) MarshalJSON() ([]byte, error)

MarshalJSON 配列中にnullが入る場合(VPCルータなど)への対応

func (*VPCRouterInterfaces) UnmarshalJSON

func (i *VPCRouterInterfaces) UnmarshalJSON(b []byte) error

UnmarshalJSON 配列中にnullが返ってくる(VPCルータなど)への対応

type VPCRouterInternetConnection

type VPCRouterInternetConnection struct {
	Enabled types.StringFlag `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterInternetConnection インターフェース

type VPCRouterL2TPIPsecServer

type VPCRouterL2TPIPsecServer struct {
	Config  *VPCRouterL2TPIPsecServerConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag                `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterL2TPIPsecServer L2TP

type VPCRouterL2TPIPsecServerConfig

type VPCRouterL2TPIPsecServerConfig struct {
	RangeStart      string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	RangeStop       string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	PreSharedSecret string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterL2TPIPsecServerConfig L2TP

type VPCRouterPPTPServer

type VPCRouterPPTPServer struct {
	Config  *VPCRouterPPTPServerConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag           `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterPPTPServer PPTP

type VPCRouterPPTPServerConfig

type VPCRouterPPTPServerConfig struct {
	RangeStart string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	RangeStop  string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterPPTPServerConfig PPTP

type VPCRouterRemoteAccessUserConfig

type VPCRouterRemoteAccessUserConfig struct {
	UserName string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Password string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterRemoteAccessUserConfig リモートアクセスユーザー

type VPCRouterRemoteAccessUsers

type VPCRouterRemoteAccessUsers struct {
	Config  []*VPCRouterRemoteAccessUserConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag                   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterRemoteAccessUsers リモートアクセスユーザー

func (*VPCRouterRemoteAccessUsers) MarshalJSON

func (f *VPCRouterRemoteAccessUsers) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type VPCRouterSetting

type VPCRouterSetting struct {
	InternetConnection *VPCRouterInternetConnection `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Interfaces         []*VPCRouterInterface        `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	VRID               int                          `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	StaticNAT          *VPCRouterStaticNAT          `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Firewall           *VPCRouterFirewall           `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	DHCPServer         *VPCRouterDHCPServer         `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	DHCPStaticMapping  *VPCRouterDHCPStaticMappings `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	PPTPServer         *VPCRouterPPTPServer         `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	L2TPIPsecServer    *VPCRouterL2TPIPsecServer    `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	RemoteAccessUsers  *VPCRouterRemoteAccessUsers  `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	SiteToSiteIPsecVPN *VPCRouterSiteToSiteIPsecVPN `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	StaticRoutes       *VPCRouterStaticRoutes       `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterSetting VPCルータ 設定

type VPCRouterSettings

type VPCRouterSettings struct {
	Router *VPCRouterSetting `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterSettings VPCルータ 設定

type VPCRouterSiteToSiteIPsecVPN

type VPCRouterSiteToSiteIPsecVPN struct {
	Config  []*VPCRouterSiteToSiteIPsecVPNConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag                     `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterSiteToSiteIPsecVPN サイト間VPN

func (*VPCRouterSiteToSiteIPsecVPN) MarshalJSON

func (f *VPCRouterSiteToSiteIPsecVPN) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type VPCRouterSiteToSiteIPsecVPNConfig

type VPCRouterSiteToSiteIPsecVPNConfig struct {
	Peer            string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	PreSharedSecret string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	RemoteID        string   `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Routes          []string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	LocalPrefix     []string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterSiteToSiteIPsecVPNConfig サイト間VPN

type VPCRouterStaticNAT

type VPCRouterStaticNAT struct {
	Config  []*VPCRouterStaticNATConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag            `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterStaticNAT スタティックNAT

func (*VPCRouterStaticNAT) MarshalJSON

func (f *VPCRouterStaticNAT) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type VPCRouterStaticNATConfig

type VPCRouterStaticNATConfig struct {
	GlobalAddress  string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	PrivateAddress string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Description    string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterStaticNATConfig スタティックNAT

type VPCRouterStaticRouteConfig

type VPCRouterStaticRouteConfig struct {
	Prefix  string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	NextHop string `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterStaticRouteConfig スタティックルート

type VPCRouterStaticRoutes

type VPCRouterStaticRoutes struct {
	Config  []*VPCRouterStaticRouteConfig `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
	Enabled types.StringFlag              `json:",omitempty" yaml:",omitempty" structs:",omitempty"`
}

VPCRouterStaticRoutes スタティックルート

func (*VPCRouterStaticRoutes) MarshalJSON

func (f *VPCRouterStaticRoutes) MarshalJSON() ([]byte, error)

MarshalJSON Configが一つ以上ある場合にEnabledをtrueに設定する

type Zone

type Zone struct {
	ID           types.ID   `json:",omitempty" yaml:"id,omitempty" structs:",omitempty"`
	DisplayOrder int        `json:",omitempty" yaml:"display_order,omitempty" structs:",omitempty"`
	Name         string     `json:",omitempty" yaml:"name,omitempty" structs:",omitempty"`
	Description  string     `json:",omitempty" yaml:"description,omitempty" structs:",omitempty"`
	IsDummy      bool       `json:",omitempty" yaml:"is_dummy,omitempty" structs:",omitempty"`
	VNCProxy     *VNCProxy  `json:",omitempty" yaml:"vnc_proxy,omitempty" structs:",omitempty"`
	FTPServer    *FTPServer `json:",omitempty" yaml:"ftp_server,omitempty" structs:",omitempty"`
	Region       *Region    `json:",omitempty" yaml:"region,omitempty" structs:",omitempty"`
}

Zone ゾーン情報

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL