Documentation ¶
Index ¶
- func Delete(service *services.Service, ecGroupID int) (*http.Response, error)
- type DNS
- type ECInstances
- type EcGroup
- func Get(service *services.Service, ecGroupID int) (*EcGroup, error)
- func GetAll(service *services.Service) ([]EcGroup, error)
- func GetByName(service *services.Service, ecGroupName string) (*EcGroup, error)
- func GetEcGroupLiteByName(service *services.Service, ecGroupLiteName string) (*EcGroup, error)
- func GetEcGroupLiteID(service *services.Service, ecGroupID int) (*EcGroup, error)
- type LBIPAddr
- type ManagementNw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ECInstances ¶
type ECInstances struct { ServiceNw *ManagementNw `json:"serviceNw,omitempty"` VirtualNw *ManagementNw `json:"virtualNw,omitempty"` ECInstanceType string `json:"ecInstanceType,omitempty"` OutGwIp string `json:"outGwIp,omitempty"` NatIP string `json:"natIp,omitempty"` DNSIp string `json:"dnsIp,omitempty"` }
type EcGroup ¶
type EcGroup struct { ID int `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"desc,omitempty"` DeployType string `json:"deployType,omitempty"` Status []string `json:"status,omitempty"` Platform string `json:"platform,omitempty"` AWSAvailabilityZone string `json:"awsAvailabilityZone,omitempty"` AzureAvailabilityZone string `json:"azureAvailabilityZone,omitempty"` MaxEcCount int `json:"maxEcCount,omitempty"` TunnelMode string `json:"tunnelMode,omitempty"` Location *common.GeneralPurpose `json:"location,omitempty"` ProvTemplate *common.GeneralPurpose `json:"provTemplate,omitempty"` ECVMs []common.ECVMs `json:"ecVMs,omitempty"` }
func GetEcGroupLiteByName ¶ added in v2.61.0
type ManagementNw ¶
type ManagementNw struct { ID int `json:"id,omitempty"` IPStart string `json:"ipStart,omitempty"` IPEnd string `json:"ipEnd,omitempty"` Netmask string `json:"netmask,omitempty"` DefaultGateway string `json:"defaultGateway,omitempty"` NWType string `json:"nwType,omitempty"` DNS *DNS `json:"dns,omitempty"` }
Click to show internal directories.
Click to hide internal directories.