Documentation ¶
Index ¶
- type FilterSpecsByRangeRequest
- type Range
- type RestFilterSpecsResponse
- type RestGetAllImageResponse
- type RestGetAllSecurityGroupResponse
- type RestGetAllSpecResponse
- type RestGetAllSshKeyResponse
- type RestGetAllVNetResponse
- type RestGetAvailableDataDisksResponse
- type RestLookupImageRequest
- type RestLookupSpecRequest
- type RestSearchImageRequest
- type SpiderGpuInfo
- type SpiderGpuInfos
- type SpiderImageInfo
- type SpiderImageInfos
- type SpiderSpecInfo
- type SpiderSpecInfos
- type SpiderSubnetInfo
- type SpiderSubnetInfos
- type SpiderSubnetReqInfo
- type SpiderVCpuInfo
- type TbAttachDetachDataDiskReq
- type TbCustomImageInfo
- type TbCustomImageReq
- type TbDataDiskInfo
- type TbDataDiskReq
- type TbDataDiskUpsizeReq
- type TbFirewallRuleInfo
- type TbFirewallRulesWrapper
- type TbImageInfo
- type TbImageInfos
- type TbImageReq
- type TbSecurityGroupInfo
- type TbSecurityGroupInfos
- type TbSecurityGroupReq
- type TbSpecInfo
- type TbSpecInfos
- type TbSpecReq
- type TbSshKeyInfo
- type TbSshKeyInfos
- type TbSshKeyReq
- type TbSubnetInfo
- type TbSubnetInfos
- type TbSubnetReq
- type TbSubnetReqs
- type TbVNetInfo
- type TbVNetInfos
- type TbVNetReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterSpecsByRangeRequest ¶
type FilterSpecsByRangeRequest struct { ID string `json:"id"` Name string `json:"name"` ProviderName string `json:"providerName"` RegionName string `json:"regionName"` Description string `json:"description"` ConnectionName string `json:"connectionName"` CspSpecName string `json:"cspSpecName"` OsType string `json:"osType"` CostPerHour Range `json:"costPerHour"` EbsBwMbps Range `json:"ebsBwMbps"` EvaluationScore01 Range `json:"evaluationScore01"` EvaluationScore02 Range `json:"evaluationScore02"` EvaluationScore03 Range `json:"evaluationScore03"` EvaluationScore04 Range `json:"evaluationScore04"` EvaluationScore05 Range `json:"evaluationScore05"` EvaluationScore06 Range `json:"evaluationScore06"` EvaluationScore07 Range `json:"evaluationScore07"` EvaluationScore08 Range `json:"evaluationScore08"` EvaluationScore09 Range `json:"evaluationScore09"` EvaluationScore10 Range `json:"evaluationScore10"` EvaluationStatus string `json:"evaluationStatus"` GpuModel string `json:"gpuModel"` GpuP2p string `json:"gpuP2p"` MaxNumStorage Range `json:"maxNumStorage"` MaxTotalStorageTiB Range `json:"maxTotalStorageTiB"` MemGiB Range `json:"memGiB"` NetBwGbps Range `json:"netBwGbps"` NumCore Range `json:"numCore"` NumGpu Range `json:"numGpu"` NumStorage Range `json:"numStorage"` NumVCPU Range `json:"numvCPU"` StorageGiB Range `json:"storageGiB"` }
type RestFilterSpecsResponse ¶
type RestFilterSpecsResponse struct {
SpaceInfo []TbSpecInfo `json:"spec"`
}
type RestGetAllImageResponse ¶
type RestGetAllImageResponse struct {
Image []TbImageInfo `json:"image"`
}
type RestGetAllSecurityGroupResponse ¶
type RestGetAllSecurityGroupResponse struct {
SecurityGroup TbSecurityGroupInfo `json:"securityGroup"`
}
type RestGetAllSpecResponse ¶
type RestGetAllSpecResponse struct {
Spec []TbSpecInfo `json:"spec"`
}
type RestGetAllSshKeyResponse ¶
type RestGetAllSshKeyResponse struct {
SshKey TbSshKeyInfo `json:"sshKey"`
}
type RestGetAllVNetResponse ¶
type RestGetAllVNetResponse struct {
// contains filtered or unexported fields
}
type RestGetAvailableDataDisksResponse ¶ added in v0.6.1
type RestGetAvailableDataDisksResponse struct { //DataDisk []string `json:"dataDisk"` DataDisk []TbDataDiskInfo `json:"dataDisk"` }
type RestLookupImageRequest ¶
type RestLookupSpecRequest ¶
type RestSearchImageRequest ¶
type RestSearchImageRequest struct {
Keywords []string `json:"keywords"`
}
type SpiderGpuInfo ¶
type SpiderGpuInfos ¶
type SpiderGpuInfos []SpiderGpuInfo
type SpiderImageInfo ¶
type SpiderImageInfos ¶
type SpiderImageInfos []SpiderImageInfo
type SpiderSpecInfo ¶
type SpiderSpecInfo struct { Gpu SpiderGpuInfo `json:"gpu"` KeyValueList tbcommon.TbKeyValue `json:"keyValueList"` Mem string `json:"mem"` Name string `json:"name"` Region string `json:"region"` Vcpu SpiderVCpuInfo `json:"vCpu"` }
type SpiderSpecInfos ¶
type SpiderSpecInfos []SpiderSpecInfo
type SpiderSubnetInfo ¶
type SpiderSubnetInfo struct { IID tbcommon.TbIID `json:"iid"` Ipv4_CIDR string `json:"ipv4_CIDR"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` }
type SpiderSubnetInfos ¶
type SpiderSubnetInfos []SpiderSubnetInfo
type SpiderSubnetReqInfo ¶
type SpiderSubnetReqInfo struct { Name string `json:"name"` Ipv4_CIDR string `json:"ipv4_CIDR"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` }
type SpiderVCpuInfo ¶
type TbAttachDetachDataDiskReq ¶ added in v0.6.1
type TbAttachDetachDataDiskReq struct {
DataDiskId string `json:"dataDiskId"`
}
type TbCustomImageInfo ¶ added in v0.6.1
type TbCustomImageInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CreationDate string `json:"creationDate"` CspCustomImageId string `json:"cspCustomImageId"` CspCustomImageName string `json:"cspCustomImageName"` Description string `json:"description"` GuestOS string `json:"guestOS"` ID string `json:"id"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` NameSpaceID string `json:"namespace"` Status string `json:"status"` SystemLabel string `json:"systemLabel"` SourceVmId string `json:"sourceVmId"` // contains filtered or unexported fields }
type TbCustomImageReq ¶ added in v0.6.1
type TbDataDiskInfo ¶ added in v0.6.1
type TbDataDiskInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CreatedTime string `json:"createdTime"` CspDataDiskId string `json:"cspDataDiskId"` CspDataDiskName string `json:"cspDataDiskName"` Description string `json:"description"` DiskSize string `json:"diskSize"` DiskType string `json:"diskType"` ID string `json:"id"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` Status string `json:"status"` SystemLabel string `json:"systemLabel"` // contains filtered or unexported fields }
type TbDataDiskReq ¶ added in v0.6.1
type TbDataDiskUpsizeReq ¶ added in v0.6.1
type TbFirewallRuleInfo ¶ added in v0.5.1
type TbFirewallRulesWrapper ¶ added in v0.5.1
type TbFirewallRulesWrapper struct {
FirewallRules []TbFirewallRuleInfo `json:"firewallRules"`
}
type TbImageInfo ¶
type TbImageInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CreationDate string `json:"creationDate"` CspImageId string `json:"cspImageId"` CspImageName string `json:"cspImageName"` Description string `json:"description"` GuestOS string `json:"guestOS"` ID string `json:"id"` IsAutoGenerated string `json:"isAutoGenerated"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` Namespace string `json:"namespace"` //required Status string `json:"status"` SystemLabel string `json:"systemLabel"` }
type TbImageInfos ¶
type TbImageInfos []TbImageInfo
type TbImageReq ¶
type TbSecurityGroupInfo ¶
type TbSecurityGroupInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CspSecurityGroupId string `json:"cspSecurityGroupId"` CspSecurityGroupName string `json:"cspSecurityGroupName"` Description string `json:"description"` FirewallRules []TbFirewallRuleInfo `json:"firewallRules"` ID string `json:"id"` IsAutoGenerated string `json:"isAutoGenerated"` KeyValueList []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` SystemLabel string `json:"systemLabel"` VNetID string `json:"vNetId"` }
type TbSecurityGroupInfos ¶
type TbSecurityGroupInfos []TbSecurityGroupInfo
type TbSecurityGroupReq ¶
type TbSpecInfo ¶
type TbSpecInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` ProviderName string `json:"providerName"` RegionName string `json:"regionName"` SystemLabel string `json:"systemLabel"` CostPerHour float32 `json:"costPerHour"` CspSpecName string `json:"cspSpecName"` Description string `json:"description"` EbsBwMbps int `json:"ebsBwMbps"` EvaluationScore01 float32 `json:"evaluationScore01"` EvaluationScore02 float32 `json:"evaluationScore02"` EvaluationScore03 float32 `json:"evaluationScore03"` EvaluationScore04 float32 `json:"evaluationScore04"` EvaluationScore05 float32 `json:"evaluationScore05"` EvaluationScore06 float32 `json:"evaluationScore06"` EvaluationScore07 float32 `json:"evaluationScore07"` EvaluationScore08 float32 `json:"evaluationScore08"` EvaluationScore09 float32 `json:"evaluationScore09"` EvaluationScore10 float32 `json:"evaluationScore10"` EvaluationStatus string `json:"evaluationStatus"` GpuMemGiB float32 `json:"gpuMemGiB"` GpuModel string `json:"gpuModel"` GpuP2p string `json:"gpuP2p"` ID string `json:"id"` IsAutoGenerated bool `json:"isAutoGenerated"` MaxNumStorage int `json:"maxNumStorage"` MaxTotalStorageTiB int `json:"maxTotalStorageTiB"` MemGiB float32 `json:"memGiB"` Name string `json:"name"` Namespace string `json:"namespace"` NetBwGbps int `json:"netBwGbps"` NumCore int `json:"numCore"` NumGpu int `json:"numGpu"` NumStorage int `json:"numStorage"` NumVCPU int `json:"numvCPU"` OrderInFilteredResult int `json:"orderInFilteredResult"` OsType string `json:"osType"` StorageGiB int `json:"storageGiB"` RootDiskSize string `json:"rootDiskSize"` RootDiskType string `json:"rootDiskType"` }
type TbSpecInfos ¶
type TbSpecInfos []TbSpecInfo
type TbSshKeyInfo ¶
type TbSshKeyInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` ConnectionName string `json:"connectionName"` CspSshKeyName string `json:"cspSshKeyName"` CspSshKeyId string `json:"cspSshKeyId"` SystemLabel string `json:"systemLabel"` Description string `json:"description"` Fingerprint string `json:"fingerprint"` ID string `json:"id"` IsAutoGenerated bool `json:"isAutoGenerated"` KeyValueInfos []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` PrivateKey string `json:"privateKey"` PublicKey string `json:"publicKey"` Username string `json:"username"` VerifiedUsername string `json:"verifiedUsername"` }
type TbSshKeyInfos ¶
type TbSshKeyInfos []TbSshKeyInfo
type TbSshKeyReq ¶
type TbSshKeyReq struct { ConnectionName string `json:"connectionName"` CspSshKeyId string `json:"cspSshKeyId"` Description string `json:"description"` Fingerprint string `json:"fingerprint"` Name string `json:"name"` PrivateKey string `json:"privateKey"` PublicKey string `json:"publicKey"` Username string `json:"username"` VerifiedUsername string `json:"verifiedUsername"` }
type TbSubnetInfo ¶
type TbSubnetInfos ¶
type TbSubnetInfos []TbSubnetInfo
type TbSubnetReq ¶
type TbSubnetReq struct { Description string `json:"description"` Ipv4_CIDR string `json:"ipv4_CIDR"` KeyValueInfos []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` }
type TbSubnetReqs ¶
type TbSubnetReqs []TbSubnetReq
type TbVNetInfo ¶
type TbVNetInfo struct { AssociatedObjectList []string `json:"associatedObjectList"` CidrBlock string `json:"cidrBlock"` ConnectionName string `json:"connectionName"` CspVNetID string `json:"cspVNetId"` CspVNetName string `json:"cspVNetName"` Description string `json:"description"` ID string `json:"id"` IsAutoGenerated bool `json:"isAutoGenerated"` KeyValueInfos []tbcommon.TbKeyValue `json:"keyValueList"` Name string `json:"name"` Statue string `json:"status"` SubnetInfoList []TbSubnetInfo `json:"subnetInfoList"` SystemLabel string `json:"systemLabel"` }
type TbVNetInfos ¶
type TbVNetInfos []TbVNetInfo
Source Files ¶
- FilterSpecsByRangeRequest.go
- Range.go
- RestFilterSpecsResponse.go
- RestGetAllImageResponse.go
- RestGetAllSecurityGroupResponse.go
- RestGetAllSpecResponse.go
- RestGetAllSshKeyResponse.go
- RestGetAllVNetResponse.go
- RestGetAvailableDataDisksResponse.go
- RestLookupImageRequest.go
- RestLookupSpecRequest.go
- RestSearchImageRequest.go
- SpiderGpuInfo.go
- SpiderImageInfo.go
- SpiderSpecInfo.go
- SpiderSubnetInfo.go
- SpiderSubnetReqInfo.go
- SpiderVCpuInfo.go
- TbAttachDetachDataDiskReq.go
- TbCustomImageInfo.go
- TbCustomImageReq.go
- TbDataDiskInfo.go
- TbDataDiskReq.go
- TbDataDiskUpsizeReq.go
- TbFirewallRuleInfo.go
- TbFirewallRulesWrapper.go
- TbImageInfo.go
- TbImageReq.go
- TbSecurityGroupInfo.go
- TbSecurityGroupReq.go
- TbSpecInfo.go
- TbSpecReq.go
- TbSshKeyInfo.go
- TbSshKeyReq.go
- TbSubnetInfo.go
- TbSubnetReq.go
- TbVNetInfo.go
- TbVNetReq.go
Click to show internal directories.
Click to hide internal directories.