Documentation
¶
Index ¶
Constants ¶
View Source
const HOST = "lighthouse.tencentcloudapi.com"
View Source
const SERVICE = "lighthouse"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DescribeInstancesRawResponse ¶
type DescribeInstancesRawResponse struct {
Response DescribeInstancesResponse
}
type Instance ¶
type Instance struct { CPU int `json:"CPU"` CamRoleName string `json:"CamRoleName"` CreatedTime string `json:"CreatedTime"` // DataRisks []string `json:"DataRisks"` DeicayedClusterId string `json:"DeicayedClusterId"` DefaultLoginPort int `json:"DefaultLoginPort"` DefaultLoginUser string `json:"DefaultLoginUser"` DisableApiTermination bool `json:"DisableApiTermination"` DisasterRecoverGroupId string `json:"DisasterRecoverGroupId"` // ExpiredTime time.Time `json:"ExpiredTime"` HpcClusterId string `json:"HpcClusterId"` // IPv6Addresses []string `json:"IPv6Addresses"` ImageId string `json:"ImageId"` InstanceChargeType string `json:"InstanceChargeType"` InstanceId string `json:"InstanceId"` InstanceName string `json:"InstanceName"` InstanceState string `json:"InstanceState"` InstanceType string `json:"InstanceType"` InternetAccessible struct { InternetChargeType string `json:"InternetChargeType"` InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut"` } IsolatedSource string `json:"IsolatedSource"` // LatestOperation string `json:"LatestOperation"` // LatestOperationRequestId string `json:"LatestOperationRequestId"` // LatestOperationState string `json:"LatestOperationState"` LoginSettings struct { KeyIds []string `json:"KeyIds"` } Memory int `json:"Memory"` OsName string `json:"OsName"` Placement struct { // HostId string `json:"HostId"` ProjectId int `json:"ProjectId"` Zone string `json:"Zone"` } PlatformProjectId string `json:"PlatformProjectId"` PrivateAddresses []string `json:"PrivateAddresses"` PublicAddresses []string `json:"PublicAddresses"` // RdmaIpAddresses []string `json:"RdmaIpAddresses"` // RenewFlag string `json:"RenewFlag"` RestrictState string `json:"RestrictState"` SecurityGroupIds []string `json:"SecurityGroupIds"` StopChargingMode string `json:"StopChargingMode"` SystemDisk struct { // CdcId string `json:"CdcId"` DiskId string `json:"DiskId"` DiskSize int `json:"DiskSize"` DiskType string `json:"DiskType"` Encrypt bool `json:"Encrypt"` // KmsKeyId string `json:"KmsKeyId"` ThroughputPerformance int `json:"ThroughputPerformance"` } // Tags []string `json:"Tags"` Uuid string `json:"Uuid"` VirtualPrivateCloud struct { AsVpcGateway bool `json:"AsVpcGateway"` SubnetId string `json:"SubnetId"` VpcId string `json:"VpcId"` } }
type LighthouseService ¶
type LighthouseService struct {
// contains filtered or unexported fields
}
func New ¶
func New(config *Config) *LighthouseService
func (*LighthouseService) DescribeInstances ¶
func (cs *LighthouseService) DescribeInstances(conditions ...*DescribeInstancesConditions) (*DescribeInstancesResponse, error)
func (*LighthouseService) DescribeInstancesPost ¶
func (cs *LighthouseService) DescribeInstancesPost(conditions map[string]interface{}) (*DescribeInstancesResponse, error)
Click to show internal directories.
Click to hide internal directories.