Documentation ¶
Index ¶
- type AvailabilityZones
- type BandWidth
- type CbhInstances
- type ChangeInstanceNetwork
- type ChangeInstanceNetworkRequest
- type ChangeInstanceNetworkResponse
- type CreateInstanceBody
- type CreateInstanceOrder
- type CreateInstanceOrderRequest
- type CreateInstanceOrderResponse
- type CreateInstanceRequest
- type CreateInstanceResponse
- type DataVolumes
- type Eip
- type ExtendParam
- type InstallInstanceEipRequest
- type InstallInstanceEipResponse
- type InstanceDetail
- type ListCbhInstanceRequest
- type ListCbhInstanceResponse
- type ListQuotaStateRequest
- type ListQuotaStateResponse
- type NetworkRequestBody
- type Nics
- type OperateEipRequestBody
- type Personality
- type ProductInfos
- type PublicIp
- type QuotaDetail
- type RebootCbhRequestBody
- type RebootType
- type ResetLoginMethodRequest
- type ResetLoginMethodResponse
- type ResetPassword
- type ResetPasswordRequest
- type ResetPasswordResponse
- type RestartCbhInstanceRequest
- type RestartCbhInstanceResponse
- type RootVolume
- type SearchQuotaRequest
- type SearchQuotaResponse
- type SecurityGroup
- type ShowAvailableZoneInfoRequest
- type ShowAvailableZoneInfoResponse
- type ShowNetworkConfigurationRequest
- type ShowNetworkConfigurationResponse
- type StartCbhInstanceRequest
- type StartCbhInstanceResponse
- type StartCbhRequestBody
- type StopCbhInstanceRequest
- type StopCbhInstanceResponse
- type StopCbhRequestBody
- type UninstallInstanceEipRequest
- type UninstallInstanceEipResponse
- type UpgradeCbhInstanceRequest
- type UpgradeCbhInstanceResponse
- type UpgradeCbhRequestBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailabilityZones ¶ added in v0.1.15
type AvailabilityZones struct { // 可用区id Id string `json:"id"` // 可用区显示名称 DisplayName string `json:"display_name"` // region id RegionId string `json:"region_id"` // 可用区状态 Status string `json:"status"` }
CBH服务可用区对象
func (AvailabilityZones) String ¶ added in v0.1.15
func (o AvailabilityZones) String() string
type BandWidth ¶ added in v0.1.15
type BandWidth struct { // 带宽,按需1-100,包年包月1-300 Size string `json:"size"` ShareType string `json:"share_type"` // 带宽计费类型 未traffic或为空 ChargeMode string `json:"charge_mode"` // 带宽对应产品ID ProductId string `json:"product_id"` }
带宽参数
type CbhInstances ¶ added in v0.1.15
type CbhInstances struct { // 镜像ID ImageRef *string `json:"image_ref,omitempty"` // 规格ID FlavorRef string `json:"flavor_ref"` // 堡垒机实例名称 InstanceName string `json:"instance_name"` // 名字 Name *string `json:"name,omitempty"` Personality *Personality `json:"personality,omitempty"` // 注入用户数据 UserData *string `json:"user_data,omitempty"` // 初始登录密码 AdminPassword *string `json:"admin_password,omitempty"` // 管理员SSH秘钥登录 KeyName *string `json:"key_name,omitempty"` // VPC ID VpcId string `json:"vpc_id"` // 网卡信息 Nics []Nics `json:"nics"` PublicIp *PublicIp `json:"public_ip"` // 弹性数量 Count *int32 `json:"count,omitempty"` RootVolume *RootVolume `json:"root_volume,omitempty"` DataVolumes *DataVolumes `json:"data_volumes,omitempty"` // 网卡信息 SecurityGroups []SecurityGroup `json:"security_groups"` // 分区信息 AvailabilityZone string `json:"availability_zone"` // 备用区 SlaveAvailabilityZone string `json:"slave_availability_zone"` ExtendParam *ExtendParam `json:"extend_param,omitempty"` // 创建云服务云数据 Metadata *string `json:"metadata,omitempty"` // 描述 Comment *string `json:"comment,omitempty"` // 云服务所在区域ID Region string `json:"region"` // region标识 RegionId *string `json:"region_id,omitempty"` // 资源规格 ResourceSpecCode *string `json:"resource_spec_code,omitempty"` // 前端登录密码 HxPassword string `json:"hx_password"` // 堡垒机机机型 BastionType string `json:"bastion_type"` // 分区信息 Ipv6Enable *bool `json:"ipv6_enable,omitempty"` // 订购截止日期 EndTime *string `json:"end_time,omitempty"` }
创建堡垒机实例请求body
func (CbhInstances) String ¶ added in v0.1.15
func (o CbhInstances) String() string
type ChangeInstanceNetwork ¶ added in v0.1.15
type ChangeInstanceNetwork struct { // 状态 Type string `json:"type"` // 安全组信息 SecurityGroups []SecurityGroup `json:"security_groups"` // 网卡信息 Nics []Nics `json:"nics"` }
修改网络请求body
func (ChangeInstanceNetwork) String ¶ added in v0.1.15
func (o ChangeInstanceNetwork) String() string
type ChangeInstanceNetworkRequest ¶ added in v0.1.15
type ChangeInstanceNetworkRequest struct { // 实例ID ServerId string `json:"server_id"` Body *ChangeInstanceNetwork `json:"body,omitempty"` }
Request Object
func (ChangeInstanceNetworkRequest) String ¶ added in v0.1.15
func (o ChangeInstanceNetworkRequest) String() string
type ChangeInstanceNetworkResponse ¶ added in v0.1.15
type ChangeInstanceNetworkResponse struct { // 状态 Type *string `json:"type,omitempty"` // 安全组 SecurityGroups *string `json:"security_groups,omitempty"` // 防火墙状态 FirewallStatus *bool `json:"firewall_status,omitempty"` // 公共EIP状态 PublicEipStatu *bool `json:"public_eip_statu,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ChangeInstanceNetworkResponse) String ¶ added in v0.1.15
func (o ChangeInstanceNetworkResponse) String() string
type CreateInstanceBody ¶ added in v0.1.15
type CreateInstanceBody struct {
Server *CbhInstances `json:"server"`
}
创建堡垒机实例请求body
func (CreateInstanceBody) String ¶ added in v0.1.15
func (o CreateInstanceBody) String() string
type CreateInstanceOrder ¶ added in v0.1.15
type CreateInstanceOrder struct { // 实例的instance_id InstanceKey int32 `json:"instance_key"` // CBH云服务类型 CloudServiceType string `json:"cloud_service_type"` // region id RegionId string `json:"region_id"` // 计费模式 ChargingMode int32 `json:"charging_mode"` // 订购周期类型 PeriodType int32 `json:"period_type"` // 订购周期数 PeriodNum int32 `json:"period_num"` // 订购截止日期 EndTime *string `json:"end_time,omitempty"` // 产品信息 ProductInfos []ProductInfos `json:"product_infos"` // 是否支持续费0/1 IsAutoRenew int32 `json:"is_auto_renew"` // 订购数量 SubscriptionNum int32 `json:"subscription_num"` // 扩容新添 RelativeResourceId *string `json:"relative_resource_id,omitempty"` }
生成订单接口请求参数
func (CreateInstanceOrder) String ¶ added in v0.1.15
func (o CreateInstanceOrder) String() string
type CreateInstanceOrderRequest ¶ added in v0.1.15
type CreateInstanceOrderRequest struct {
Body *CreateInstanceOrder `json:"body,omitempty"`
}
Request Object
func (CreateInstanceOrderRequest) String ¶ added in v0.1.15
func (o CreateInstanceOrderRequest) String() string
type CreateInstanceOrderResponse ¶ added in v0.1.15
type CreateInstanceOrderResponse struct { // 订单ID OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (CreateInstanceOrderResponse) String ¶ added in v0.1.15
func (o CreateInstanceOrderResponse) String() string
type CreateInstanceRequest ¶ added in v0.1.15
type CreateInstanceRequest struct {
Body *CreateInstanceBody `json:"body,omitempty"`
}
Request Object
func (CreateInstanceRequest) String ¶ added in v0.1.15
func (o CreateInstanceRequest) String() string
type CreateInstanceResponse ¶ added in v0.1.15
type CreateInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (CreateInstanceResponse) String ¶ added in v0.1.15
func (o CreateInstanceResponse) String() string
type DataVolumes ¶ added in v0.1.15
type DataVolumes struct { // 对应的系统盘类型 SAS SATA SSD VolumeType string `json:"volume_type"` // 系统盘大小,容量单位为GB,输入大 小范围为[1-1024] Size string `json:"size"` // 磁盘产品信息 ExtendParam string `json:"extend_param"` }
数据盘
func (DataVolumes) String ¶ added in v0.1.15
func (o DataVolumes) String() string
type Eip ¶ added in v0.1.15
type Eip struct { // eip的类型 IpType string `json:"ip_type"` // IP地址对应产品ID IpProductId string `json:"ip_product_id"` Bandwidth *BandWidth `json:"bandwidth"` }
弹性IP
type ExtendParam ¶ added in v0.1.15
type ExtendParam struct { // 计费模式 0:按需 1:包年包月 ChargingMode string `json:"charging_mode"` // 磁盘资源类型 RegionId string `json:"region_id"` }
安全组
func (ExtendParam) String ¶ added in v0.1.15
func (o ExtendParam) String() string
type InstallInstanceEipRequest ¶ added in v0.1.15
type InstallInstanceEipRequest struct { // server_id ServerId string `json:"server_id"` Body *OperateEipRequestBody `json:"body,omitempty"` }
Request Object
func (InstallInstanceEipRequest) String ¶ added in v0.1.15
func (o InstallInstanceEipRequest) String() string
type InstallInstanceEipResponse ¶ added in v0.1.15
type InstallInstanceEipResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (InstallInstanceEipResponse) String ¶ added in v0.1.15
func (o InstallInstanceEipResponse) String() string
type InstanceDetail ¶
type InstanceDetail struct { // 弹性ip PublicIp string `json:"public_ip"` // 过期时间,要求用UTC时间表示 ExpTime string `json:"exp_time"` // 开始时间,要求用UTC时间表示 StartTime string `json:"start_time"` // 结束时间,要求用UTC时间表示 EndTime string `json:"end_time"` // 释放时间,要求用UTC时间表示 ReleaseTime string `json:"release_time"` // 实例名称 Name string `json:"name"` // 实例的server id InstanceId string `json:"instance_id"` // 实例私有ip PrivateIp string `json:"private_ip"` // 实例当前的任务状态 TaskStatus string `json:"task_status"` // 实例状态 Status string `json:"status"` // 实例创建时间,要求用UTC时间表示 Created string `json:"created"` // 实例所在region Region string `json:"region"` // 实例所在可用区id Zone string `json:"zone"` // 实例所在可用区名称 AvailabilityZoneDisplay string `json:"availability_zone_display"` // 实例所在vpc的id VpcId string `json:"vpc_id"` // 实例所在子网的id SubnetId string `json:"subnet_id"` // 实例所属的安全组的id SecurityGroupId string `json:"security_group_id"` // 实例规格 Specification string `json:"specification"` // 实例镜像是否可以升级 Update string `json:"update"` // 在创建实例过程中的过程状态信息 CreateinstanceStatus string `json:"createinstance_status"` // 创建实例失败原因 FailReason string `json:"fail_reason"` // 实例ID InstanceKey string `json:"instance_key"` // 订单id OrderId string `json:"order_id"` // 租户购买的时长 PeriodNum string `json:"period_num"` // 实例的资源id ResourceId string `json:"resource_id"` // 堡垒机类型 BastionType string `json:"bastion_type"` // 前端是否显示扩容按钮 AlterPermit string `json:"alter_permit"` // 实例绑定的弹性IP的id PublicId string `json:"public_id"` // 实例镜像当前版本号 BastionVersion string `json:"bastion_version"` // 实例镜像最新版本号 NewBastionVersion string `json:"new_bastion_version"` // 实例状态 InstanceStatus string `json:"instance_status"` // 实例描述 InstanceDescription string `json:"instance_description"` // 是否支持续费 IsAutoRenew int32 `json:"is_auto_renew"` }
CBH实例详情
func (InstanceDetail) String ¶
func (o InstanceDetail) String() string
type ListCbhInstanceRequest ¶
type ListCbhInstanceRequest struct { }
Request Object
func (ListCbhInstanceRequest) String ¶
func (o ListCbhInstanceRequest) String() string
type ListCbhInstanceResponse ¶
type ListCbhInstanceResponse struct { // 实例总数 Total *int32 `json:"total,omitempty"` QuotaDetail *QuotaDetail `json:"quota_detail,omitempty"` // 实例列表 Instance *[]InstanceDetail `json:"instance,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListCbhInstanceResponse) String ¶
func (o ListCbhInstanceResponse) String() string
type ListQuotaStateRequest ¶ added in v0.1.15
type ListQuotaStateRequest struct { // 可用区(cn-north-7a) AvailabilityZone string `json:"availability_zone"` // 资源规格(cbh.basic.50) ResourceSpecCode string `json:"resource_spec_code"` }
Request Object
func (ListQuotaStateRequest) String ¶ added in v0.1.15
func (o ListQuotaStateRequest) String() string
type ListQuotaStateResponse ¶ added in v0.1.15
type ListQuotaStateResponse struct { // 配额 Quota *string `json:"quota,omitempty"` // 支持IPv6 ECS资源信息 StatusV6 *string `json:"status_v6,omitempty"` // ECS资源状态 Status *string `json:"status,omitempty"` // EIP配额信息 EipQuota *string `json:"eip_quota,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ListQuotaStateResponse) String ¶ added in v0.1.15
func (o ListQuotaStateResponse) String() string
type NetworkRequestBody ¶ added in v0.1.15
type NetworkRequestBody struct { // 状态 Type string `json:"type"` // 安全组信息 SecurityGroups []SecurityGroup `json:"security_groups"` // 网卡信息 Nics []Nics `json:"nics"` }
检查网络请求body
func (NetworkRequestBody) String ¶ added in v0.1.15
func (o NetworkRequestBody) String() string
type Nics ¶ added in v0.1.15
type Nics struct { // 子网ID SubnetId string `json:"subnet_id"` // IP地址,不填或空字符串为自动分配 IpAddress *string `json:"ip_address,omitempty"` }
网卡信息
type OperateEipRequestBody ¶ added in v0.1.15
type OperateEipRequestBody struct { // 弹性ip的id PublicipId string `json:"publicip_id"` // 弹性ip PublicEip string `json:"public_eip"` }
管理CBH实例Eip响应对象
func (OperateEipRequestBody) String ¶ added in v0.1.15
func (o OperateEipRequestBody) String() string
type Personality ¶ added in v0.1.15
type Personality struct { // 注入路径 Path string `json:"path"` // 注入内容,需要base64格式编码 Content string `json:"content"` }
注入文件
func (Personality) String ¶ added in v0.1.15
func (o Personality) String() string
type ProductInfos ¶ added in v0.1.15
type ProductInfos struct { // 产品标识,通过订购询价接口获得 ProductId string `json:"product_id"` // CBH云服务类型 CloudServiceType string `json:"cloud_service_type"` // CBH资源类型 ResourceType string `json:"resource_type"` // CBH资源规格 ResourceSpecCode string `json:"resource_spec_code"` // 可用区id AvailableZoneId *string `json:"available_zone_id,omitempty"` // 资源容量度量标识 ResourceSizeMeasureId string `json:"resource_size_measure_id"` // 资源容量大小 ResourceSize string `json:"resource_size"` }
产品信息
func (ProductInfos) String ¶ added in v0.1.15
func (o ProductInfos) String() string
type PublicIp ¶ added in v0.1.15
type PublicIp struct { // 已分配的弹性IP 和EIP只能有一个 Id string `json:"id"` // 已分配的弹性IP的地址Address PublicEip string `json:"public_eip"` Eip *Eip `json:"eip,omitempty"` }
弹性IP
type QuotaDetail ¶
type QuotaDetail struct { // 中文配额描述 ZhCn string `json:"zh_cn"` // 英文配额描述 EnUs string `json:"en_us"` // 租户剩余配额数量 Remaining int32 `json:"remaining"` }
当前租户CBH的配额信息
func (QuotaDetail) String ¶
func (o QuotaDetail) String() string
type RebootCbhRequestBody ¶ added in v0.1.15
type RebootCbhRequestBody struct { // 实例的server id InstanceId string `json:"instance_id"` Reboot *RebootType `json:"reboot"` }
重启CBH实例请求对象
func (RebootCbhRequestBody) String ¶ added in v0.1.15
func (o RebootCbhRequestBody) String() string
type RebootType ¶ added in v0.1.15
type RebootType struct { // 关闭实例 Type string `json:"type"` }
关闭实例
func (RebootType) String ¶ added in v0.1.15
func (o RebootType) String() string
type ResetLoginMethodRequest ¶ added in v0.1.15
type ResetLoginMethodRequest struct { // Cbh Server Id ServerId string `json:"server_id"` }
Request Object
func (ResetLoginMethodRequest) String ¶ added in v0.1.15
func (o ResetLoginMethodRequest) String() string
type ResetLoginMethodResponse ¶ added in v0.1.15
type ResetLoginMethodResponse struct { // 操作结果 Code *int32 `json:"code,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 任务 id TaskId *string `json:"task_id,omitempty"` // 订单 id OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetLoginMethodResponse) String ¶ added in v0.1.15
func (o ResetLoginMethodResponse) String() string
type ResetPassword ¶ added in v0.1.15
type ResetPassword struct { // 新密码 NewPassword string `json:"new_password"` // Cbh Server Id ServerId string `json:"server_id"` }
CBH服务实例修改密码
func (ResetPassword) String ¶ added in v0.1.15
func (o ResetPassword) String() string
type ResetPasswordRequest ¶ added in v0.1.15
type ResetPasswordRequest struct {
Body *ResetPassword `json:"body,omitempty"`
}
Request Object
func (ResetPasswordRequest) String ¶ added in v0.1.15
func (o ResetPasswordRequest) String() string
type ResetPasswordResponse ¶ added in v0.1.15
type ResetPasswordResponse struct { // 操作结果 Code *int32 `json:"code,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 任务 id TaskId *string `json:"task_id,omitempty"` // 订单 id OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ResetPasswordResponse) String ¶ added in v0.1.15
func (o ResetPasswordResponse) String() string
type RestartCbhInstanceRequest ¶ added in v0.1.15
type RestartCbhInstanceRequest struct {
Body *RebootCbhRequestBody `json:"body,omitempty"`
}
Request Object
func (RestartCbhInstanceRequest) String ¶ added in v0.1.15
func (o RestartCbhInstanceRequest) String() string
type RestartCbhInstanceResponse ¶ added in v0.1.15
type RestartCbhInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (RestartCbhInstanceResponse) String ¶ added in v0.1.15
func (o RestartCbhInstanceResponse) String() string
type RootVolume ¶ added in v0.1.15
type RootVolume struct { // 对应的系统盘类型 SAS SATA SSD VolumeType string `json:"volume_type"` // 系统盘大小,容量单位为GB,输入大 小范围为[1-1024] Size string `json:"size"` // 磁盘产品信息 ExtendParam string `json:"extend_param"` }
系统盘
func (RootVolume) String ¶ added in v0.1.15
func (o RootVolume) String() string
type SearchQuotaRequest ¶ added in v0.1.15
type SearchQuotaRequest struct { }
Request Object
func (SearchQuotaRequest) String ¶ added in v0.1.15
func (o SearchQuotaRequest) String() string
type SearchQuotaResponse ¶ added in v0.1.15
type SearchQuotaResponse struct { // 配额 Quota *int32 `json:"quota,omitempty"` // EIP配额 EipQuota *int32 `json:"eip_quota,omitempty"` // 状态 Status *string `json:"status,omitempty"` // v6状态 StatusV6 *string `json:"status_v6,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (SearchQuotaResponse) String ¶ added in v0.1.15
func (o SearchQuotaResponse) String() string
type SecurityGroup ¶ added in v0.1.15
type SecurityGroup struct { // 安全组ID Id string `json:"id"` }
安全组
func (SecurityGroup) String ¶ added in v0.1.15
func (o SecurityGroup) String() string
type ShowAvailableZoneInfoRequest ¶ added in v0.1.15
type ShowAvailableZoneInfoRequest struct { }
Request Object
func (ShowAvailableZoneInfoRequest) String ¶ added in v0.1.15
func (o ShowAvailableZoneInfoRequest) String() string
type ShowAvailableZoneInfoResponse ¶ added in v0.1.15
type ShowAvailableZoneInfoResponse struct { AvailabilityZones *AvailabilityZones `json:"availability_zones,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowAvailableZoneInfoResponse) String ¶ added in v0.1.15
func (o ShowAvailableZoneInfoResponse) String() string
type ShowNetworkConfigurationRequest ¶ added in v0.1.15
type ShowNetworkConfigurationRequest struct {
Body *NetworkRequestBody `json:"body,omitempty"`
}
Request Object
func (ShowNetworkConfigurationRequest) String ¶ added in v0.1.15
func (o ShowNetworkConfigurationRequest) String() string
type ShowNetworkConfigurationResponse ¶ added in v0.1.15
type ShowNetworkConfigurationResponse struct { // 状态 Status *bool `json:"status,omitempty"` // 安全组状态 SecurityGrpStatus *bool `json:"security_grp_status,omitempty"` // 防火墙状态 FirewallStatus *bool `json:"firewall_status,omitempty"` // 公网IP状态 PublicEipStatus *bool `json:"public_eip_status,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (ShowNetworkConfigurationResponse) String ¶ added in v0.1.15
func (o ShowNetworkConfigurationResponse) String() string
type StartCbhInstanceRequest ¶ added in v0.1.15
type StartCbhInstanceRequest struct {
Body *StartCbhRequestBody `json:"body,omitempty"`
}
Request Object
func (StartCbhInstanceRequest) String ¶ added in v0.1.15
func (o StartCbhInstanceRequest) String() string
type StartCbhInstanceResponse ¶ added in v0.1.15
type StartCbhInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (StartCbhInstanceResponse) String ¶ added in v0.1.15
func (o StartCbhInstanceResponse) String() string
type StartCbhRequestBody ¶ added in v0.1.15
type StartCbhRequestBody struct { // 实例的server id InstanceId string `json:"instance_id"` }
启动CBH实例请求对象
func (StartCbhRequestBody) String ¶ added in v0.1.15
func (o StartCbhRequestBody) String() string
type StopCbhInstanceRequest ¶ added in v0.1.15
type StopCbhInstanceRequest struct {
Body *StopCbhRequestBody `json:"body,omitempty"`
}
Request Object
func (StopCbhInstanceRequest) String ¶ added in v0.1.15
func (o StopCbhInstanceRequest) String() string
type StopCbhInstanceResponse ¶ added in v0.1.15
type StopCbhInstanceResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (StopCbhInstanceResponse) String ¶ added in v0.1.15
func (o StopCbhInstanceResponse) String() string
type StopCbhRequestBody ¶ added in v0.1.15
type StopCbhRequestBody struct { // 实例的server id InstanceId string `json:"instance_id"` Reboot *RebootType `json:"reboot,omitempty"` }
关闭CBH实例请求对象
func (StopCbhRequestBody) String ¶ added in v0.1.15
func (o StopCbhRequestBody) String() string
type UninstallInstanceEipRequest ¶ added in v0.1.15
type UninstallInstanceEipRequest struct { // server_id ServerId string `json:"server_id"` Body *OperateEipRequestBody `json:"body,omitempty"` }
Request Object
func (UninstallInstanceEipRequest) String ¶ added in v0.1.15
func (o UninstallInstanceEipRequest) String() string
type UninstallInstanceEipResponse ¶ added in v0.1.15
type UninstallInstanceEipResponse struct {
HttpStatusCode int `json:"-"`
}
Response Object
func (UninstallInstanceEipResponse) String ¶ added in v0.1.15
func (o UninstallInstanceEipResponse) String() string
type UpgradeCbhInstanceRequest ¶ added in v0.1.15
type UpgradeCbhInstanceRequest struct {
Body *UpgradeCbhRequestBody `json:"body,omitempty"`
}
Request Object
func (UpgradeCbhInstanceRequest) String ¶ added in v0.1.15
func (o UpgradeCbhInstanceRequest) String() string
type UpgradeCbhInstanceResponse ¶ added in v0.1.15
type UpgradeCbhInstanceResponse struct { // 操作结果 Code *int32 `json:"code,omitempty"` // 描述 Description *string `json:"description,omitempty"` // 任务 id TaskId *string `json:"task_id,omitempty"` // 订单 id OrderId *string `json:"order_id,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (UpgradeCbhInstanceResponse) String ¶ added in v0.1.15
func (o UpgradeCbhInstanceResponse) String() string
type UpgradeCbhRequestBody ¶ added in v0.1.15
type UpgradeCbhRequestBody struct { // 实例的server id InstanceId string `json:"instance_id"` }
升级CBH实例请求对象
func (UpgradeCbhRequestBody) String ¶ added in v0.1.15
func (o UpgradeCbhRequestBody) String() string
Source Files ¶
- model_availability_zones.go
- model_band_width.go
- model_cbh_instances.go
- model_change_instance_network.go
- model_change_instance_network_request.go
- model_change_instance_network_response.go
- model_create_instance_body.go
- model_create_instance_order.go
- model_create_instance_order_request.go
- model_create_instance_order_response.go
- model_create_instance_request.go
- model_create_instance_response.go
- model_data_volumes.go
- model_eip.go
- model_extend_param.go
- model_install_instance_eip_request.go
- model_install_instance_eip_response.go
- model_instance_detail.go
- model_list_cbh_instance_request.go
- model_list_cbh_instance_response.go
- model_list_quota_state_request.go
- model_list_quota_state_response.go
- model_network_request_body.go
- model_nics.go
- model_operate_eip_request_body.go
- model_personality.go
- model_product_infos.go
- model_public_ip.go
- model_quota_detail.go
- model_reboot_cbh_request_body.go
- model_reboot_type.go
- model_reset_login_method_request.go
- model_reset_login_method_response.go
- model_reset_password.go
- model_reset_password_request.go
- model_reset_password_response.go
- model_restart_cbh_instance_request.go
- model_restart_cbh_instance_response.go
- model_root_volume.go
- model_search_quota_request.go
- model_search_quota_response.go
- model_security_group.go
- model_show_available_zone_info_request.go
- model_show_available_zone_info_response.go
- model_show_network_configuration_request.go
- model_show_network_configuration_response.go
- model_start_cbh_instance_request.go
- model_start_cbh_instance_response.go
- model_start_cbh_request_body.go
- model_stop_cbh_instance_request.go
- model_stop_cbh_instance_response.go
- model_stop_cbh_request_body.go
- model_uninstall_instance_eip_request.go
- model_uninstall_instance_eip_response.go
- model_upgrade_cbh_instance_request.go
- model_upgrade_cbh_instance_response.go
- model_upgrade_cbh_request_body.go