Documentation ¶
Index ¶
- type CpsClient
- func (c *CpsClient) AddServers(request *cps.AddServersRequest) (*cps.AddServersResponse, error)
- func (c *CpsClient) ApplyElasticIps(request *cps.ApplyElasticIpsRequest) (*cps.ApplyElasticIpsResponse, error)
- func (c *CpsClient) AssociateElasticIp(request *cps.AssociateElasticIpRequest) (*cps.AssociateElasticIpResponse, error)
- func (c *CpsClient) AssociateElasticIpLB(request *cps.AssociateElasticIpLBRequest) (*cps.AssociateElasticIpLBResponse, error)
- func (c *CpsClient) CreateInstances(request *cps.CreateInstancesRequest) (*cps.CreateInstancesResponse, error)
- func (c *CpsClient) CreateKeypairs(request *cps.CreateKeypairsRequest) (*cps.CreateKeypairsResponse, error)
- func (c *CpsClient) CreateListener(request *cps.CreateListenerRequest) (*cps.CreateListenerResponse, error)
- func (c *CpsClient) CreateLoadBalancer(request *cps.CreateLoadBalancerRequest) (*cps.CreateLoadBalancerResponse, error)
- func (c *CpsClient) CreateServerGroup(request *cps.CreateServerGroupRequest) (*cps.CreateServerGroupResponse, error)
- func (c *CpsClient) CreateSubnet(request *cps.CreateSubnetRequest) (*cps.CreateSubnetResponse, error)
- func (c *CpsClient) CreateVpc(request *cps.CreateVpcRequest) (*cps.CreateVpcResponse, error)
- func (c *CpsClient) DeleteKeypairs(request *cps.DeleteKeypairsRequest) (*cps.DeleteKeypairsResponse, error)
- func (c *CpsClient) DeleteListener(request *cps.DeleteListenerRequest) (*cps.DeleteListenerResponse, error)
- func (c *CpsClient) DeleteServerGroup(request *cps.DeleteServerGroupRequest) (*cps.DeleteServerGroupResponse, error)
- func (c *CpsClient) DeleteSubnet(request *cps.DeleteSubnetRequest) (*cps.DeleteSubnetResponse, error)
- func (c *CpsClient) DeleteVpc(request *cps.DeleteVpcRequest) (*cps.DeleteVpcResponse, error)
- func (c *CpsClient) DescribeBasicSubnet(request *cps.DescribeBasicSubnetRequest) (*cps.DescribeBasicSubnetResponse, error)
- func (c *CpsClient) DescribeCPSLBRegions(request *cps.DescribeCPSLBRegionsRequest) (*cps.DescribeCPSLBRegionsResponse, error)
- func (c *CpsClient) DescribeDeviceRaids(request *cps.DescribeDeviceRaidsRequest) (*cps.DescribeDeviceRaidsResponse, error)
- func (c *CpsClient) DescribeDeviceTypes(request *cps.DescribeDeviceTypesRequest) (*cps.DescribeDeviceTypesResponse, error)
- func (c *CpsClient) DescribeElasticIp(request *cps.DescribeElasticIpRequest) (*cps.DescribeElasticIpResponse, error)
- func (c *CpsClient) DescribeElasticIps(request *cps.DescribeElasticIpsRequest) (*cps.DescribeElasticIpsResponse, error)
- func (c *CpsClient) DescribeInstance(request *cps.DescribeInstanceRequest) (*cps.DescribeInstanceResponse, error)
- func (c *CpsClient) DescribeInstanceMonitorInfo(request *cps.DescribeInstanceMonitorInfoRequest) (*cps.DescribeInstanceMonitorInfoResponse, error)
- func (c *CpsClient) DescribeInstanceName(request *cps.DescribeInstanceNameRequest) (*cps.DescribeInstanceNameResponse, error)
- func (c *CpsClient) DescribeInstanceRaid(request *cps.DescribeInstanceRaidRequest) (*cps.DescribeInstanceRaidResponse, error)
- func (c *CpsClient) DescribeInstanceStatus(request *cps.DescribeInstanceStatusRequest) (*cps.DescribeInstanceStatusResponse, error)
- func (c *CpsClient) DescribeInstances(request *cps.DescribeInstancesRequest) (*cps.DescribeInstancesResponse, error)
- func (c *CpsClient) DescribeKeypair(request *cps.DescribeKeypairRequest) (*cps.DescribeKeypairResponse, error)
- func (c *CpsClient) DescribeKeypairs(request *cps.DescribeKeypairsRequest) (*cps.DescribeKeypairsResponse, error)
- func (c *CpsClient) DescribeListener(request *cps.DescribeListenerRequest) (*cps.DescribeListenerResponse, error)
- func (c *CpsClient) DescribeListeners(request *cps.DescribeListenersRequest) (*cps.DescribeListenersResponse, error)
- func (c *CpsClient) DescribeLoadBalancer(request *cps.DescribeLoadBalancerRequest) (*cps.DescribeLoadBalancerResponse, error)
- func (c *CpsClient) DescribeLoadBalancers(request *cps.DescribeLoadBalancersRequest) (*cps.DescribeLoadBalancersResponse, error)
- func (c *CpsClient) DescribeOS(request *cps.DescribeOSRequest) (*cps.DescribeOSResponse, error)
- func (c *CpsClient) DescribeRegiones(request *cps.DescribeRegionesRequest) (*cps.DescribeRegionesResponse, error)
- func (c *CpsClient) DescribeRouteTable(request *cps.DescribeRouteTableRequest) (*cps.DescribeRouteTableResponse, error)
- func (c *CpsClient) DescribeRouteTables(request *cps.DescribeRouteTablesRequest) (*cps.DescribeRouteTablesResponse, error)
- func (c *CpsClient) DescribeServerGroup(request *cps.DescribeServerGroupRequest) (*cps.DescribeServerGroupResponse, error)
- func (c *CpsClient) DescribeServerGroups(request *cps.DescribeServerGroupsRequest) (*cps.DescribeServerGroupsResponse, error)
- func (c *CpsClient) DescribeServers(request *cps.DescribeServersRequest) (*cps.DescribeServersResponse, error)
- func (c *CpsClient) DescribeSubnet(request *cps.DescribeSubnetRequest) (*cps.DescribeSubnetResponse, error)
- func (c *CpsClient) DescribeSubnets(request *cps.DescribeSubnetsRequest) (*cps.DescribeSubnetsResponse, error)
- func (c *CpsClient) DescribeVpc(request *cps.DescribeVpcRequest) (*cps.DescribeVpcResponse, error)
- func (c *CpsClient) DescribeVpcs(request *cps.DescribeVpcsRequest) (*cps.DescribeVpcsResponse, error)
- func (c *CpsClient) DisableLogger()
- func (c *CpsClient) DisassociateElasticIp(request *cps.DisassociateElasticIpRequest) (*cps.DisassociateElasticIpResponse, error)
- func (c *CpsClient) DisassociateElasticIpLB(request *cps.DisassociateElasticIpLBRequest) (*cps.DisassociateElasticIpLBResponse, error)
- func (c *CpsClient) ImportKeypairs(request *cps.ImportKeypairsRequest) (*cps.ImportKeypairsResponse, error)
- func (c *CpsClient) ModifyBandwidth(request *cps.ModifyBandwidthRequest) (*cps.ModifyBandwidthResponse, error)
- func (c *CpsClient) ModifyElasticIpBandwidth(request *cps.ModifyElasticIpBandwidthRequest) (*cps.ModifyElasticIpBandwidthResponse, error)
- func (c *CpsClient) ModifyInstance(request *cps.ModifyInstanceRequest) (*cps.ModifyInstanceResponse, error)
- func (c *CpsClient) ModifyListener(request *cps.ModifyListenerRequest) (*cps.ModifyListenerResponse, error)
- func (c *CpsClient) ModifyLoadBalancer(request *cps.ModifyLoadBalancerRequest) (*cps.ModifyLoadBalancerResponse, error)
- func (c *CpsClient) ModifyServer(request *cps.ModifyServerRequest) (*cps.ModifyServerResponse, error)
- func (c *CpsClient) ModifyServerGroup(request *cps.ModifyServerGroupRequest) (*cps.ModifyServerGroupResponse, error)
- func (c *CpsClient) ModifySubnet(request *cps.ModifySubnetRequest) (*cps.ModifySubnetResponse, error)
- func (c *CpsClient) ModifyVpc(request *cps.ModifyVpcRequest) (*cps.ModifyVpcResponse, error)
- func (c *CpsClient) ReinstallInstance(request *cps.ReinstallInstanceRequest) (*cps.ReinstallInstanceResponse, error)
- func (c *CpsClient) RemoveServer(request *cps.RemoveServerRequest) (*cps.RemoveServerResponse, error)
- func (c *CpsClient) ResetPassword(request *cps.ResetPasswordRequest) (*cps.ResetPasswordResponse, error)
- func (c *CpsClient) RestartInstance(request *cps.RestartInstanceRequest) (*cps.RestartInstanceResponse, error)
- func (c *CpsClient) SetConfig(config *core.Config)
- func (c *CpsClient) SetLogger(logger core.Logger)
- func (c *CpsClient) StartInstance(request *cps.StartInstanceRequest) (*cps.StartInstanceResponse, error)
- func (c *CpsClient) StartListener(request *cps.StartListenerRequest) (*cps.StartListenerResponse, error)
- func (c *CpsClient) StartLoadBalancer(request *cps.StartLoadBalancerRequest) (*cps.StartLoadBalancerResponse, error)
- func (c *CpsClient) StopInstance(request *cps.StopInstanceRequest) (*cps.StopInstanceResponse, error)
- func (c *CpsClient) StopListener(request *cps.StopListenerRequest) (*cps.StopListenerResponse, error)
- func (c *CpsClient) StopLoadBalancer(request *cps.StopLoadBalancerRequest) (*cps.StopLoadBalancerResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CpsClient ¶
type CpsClient struct {
core.JDCloudClient
}
func NewCpsClient ¶
func NewCpsClient(credential *core.Credential) *CpsClient
func (*CpsClient) AddServers ¶ added in v1.11.0
func (c *CpsClient) AddServers(request *cps.AddServersRequest) (*cps.AddServersResponse, error)
添加后端服务器
func (*CpsClient) ApplyElasticIps ¶ added in v1.8.0
func (c *CpsClient) ApplyElasticIps(request *cps.ApplyElasticIpsRequest) (*cps.ApplyElasticIpsResponse, error)
申请弹性公网IP
func (*CpsClient) AssociateElasticIp ¶ added in v1.8.0
func (c *CpsClient) AssociateElasticIp(request *cps.AssociateElasticIpRequest) (*cps.AssociateElasticIpResponse, error)
绑定弹性公网IP
func (*CpsClient) AssociateElasticIpLB ¶ added in v1.11.0
func (c *CpsClient) AssociateElasticIpLB(request *cps.AssociateElasticIpLBRequest) (*cps.AssociateElasticIpLBResponse, error)
绑定弹性公网IP
func (*CpsClient) CreateInstances ¶
func (c *CpsClient) CreateInstances(request *cps.CreateInstancesRequest) (*cps.CreateInstancesResponse, error)
创建一台或多台指定配置的云物理服务器<br/>
- 地域与可用区<br/>
- 调用接口(describeRegiones)获取云物理服务器支持的地域与可用区<br/>
- 实例类型<br/>
- 调用接口(describeDeviceTypes)获取物理实例类型列表<br/>
- 不能使用已下线、或已售馨的实例类型<br/>
- 操作系统<br/>
- 可调用接口(describeOS)获取云物理服务器支持的操作系统列表<br/>
- 存储<br/>
- 数据盘多种RAID可选,可调用接口(describeDeviceRaids)获取服务器支持的RAID列表<br/>
- 网络<br/>
- 网络类型目前支持basic、vpc<br/>
- 线路目前只支持bgp<br/>
- 支持不启用外网,如果启用外网,带宽范围[1,200] 单位Mbps<br/>
- 其他<br/>
- 购买时长,可按年或月购买:月取值范围[1,9], 年取值范围[1,3]<br/>
- 密码设置参考公共参数规范<br/>
func (*CpsClient) CreateKeypairs ¶ added in v1.13.0
func (c *CpsClient) CreateKeypairs(request *cps.CreateKeypairsRequest) (*cps.CreateKeypairsResponse, error)
创建密钥对
func (*CpsClient) CreateListener ¶ added in v1.11.0
func (c *CpsClient) CreateListener(request *cps.CreateListenerRequest) (*cps.CreateListenerResponse, error)
创建监听器
func (*CpsClient) CreateLoadBalancer ¶ added in v1.11.0
func (c *CpsClient) CreateLoadBalancer(request *cps.CreateLoadBalancerRequest) (*cps.CreateLoadBalancerResponse, error)
创建负载均衡实例
func (*CpsClient) CreateServerGroup ¶ added in v1.11.0
func (c *CpsClient) CreateServerGroup(request *cps.CreateServerGroupRequest) (*cps.CreateServerGroupResponse, error)
创建虚拟服务器组
func (*CpsClient) CreateSubnet ¶ added in v1.8.0
func (c *CpsClient) CreateSubnet(request *cps.CreateSubnetRequest) (*cps.CreateSubnetResponse, error)
创建子网
func (*CpsClient) CreateVpc ¶ added in v1.8.0
func (c *CpsClient) CreateVpc(request *cps.CreateVpcRequest) (*cps.CreateVpcResponse, error)
创建私有网络
func (*CpsClient) DeleteKeypairs ¶ added in v1.13.0
func (c *CpsClient) DeleteKeypairs(request *cps.DeleteKeypairsRequest) (*cps.DeleteKeypairsResponse, error)
删除密钥对
func (*CpsClient) DeleteListener ¶ added in v1.11.0
func (c *CpsClient) DeleteListener(request *cps.DeleteListenerRequest) (*cps.DeleteListenerResponse, error)
删除监听器
func (*CpsClient) DeleteServerGroup ¶ added in v1.11.0
func (c *CpsClient) DeleteServerGroup(request *cps.DeleteServerGroupRequest) (*cps.DeleteServerGroupResponse, error)
删除虚拟服务器组
func (*CpsClient) DeleteSubnet ¶ added in v1.8.0
func (c *CpsClient) DeleteSubnet(request *cps.DeleteSubnetRequest) (*cps.DeleteSubnetResponse, error)
删除子网
func (*CpsClient) DeleteVpc ¶ added in v1.8.0
func (c *CpsClient) DeleteVpc(request *cps.DeleteVpcRequest) (*cps.DeleteVpcResponse, error)
删除私有网络
func (*CpsClient) DescribeBasicSubnet ¶ added in v1.8.0
func (c *CpsClient) DescribeBasicSubnet(request *cps.DescribeBasicSubnetRequest) (*cps.DescribeBasicSubnetResponse, error)
查询基础网络子网
func (*CpsClient) DescribeCPSLBRegions ¶ added in v1.15.0
func (c *CpsClient) DescribeCPSLBRegions(request *cps.DescribeCPSLBRegionsRequest) (*cps.DescribeCPSLBRegionsResponse, error)
查询负载均衡地域列表
func (*CpsClient) DescribeDeviceRaids ¶
func (c *CpsClient) DescribeDeviceRaids(request *cps.DescribeDeviceRaidsRequest) (*cps.DescribeDeviceRaidsResponse, error)
查询某种实例类型的云物理服务器支持的RAID类型,可查询系统盘RAID类型和数据盘RAID类型
func (*CpsClient) DescribeDeviceTypes ¶
func (c *CpsClient) DescribeDeviceTypes(request *cps.DescribeDeviceTypesRequest) (*cps.DescribeDeviceTypesResponse, error)
查询云物理服务器实例类型
func (*CpsClient) DescribeElasticIp ¶ added in v1.8.0
func (c *CpsClient) DescribeElasticIp(request *cps.DescribeElasticIpRequest) (*cps.DescribeElasticIpResponse, error)
查询弹性公网IP详情
func (*CpsClient) DescribeElasticIps ¶ added in v1.8.0
func (c *CpsClient) DescribeElasticIps(request *cps.DescribeElasticIpsRequest) (*cps.DescribeElasticIpsResponse, error)
查询弹性公网IP列表<br/>
支持分页查询,默认每页20条<br/>
func (*CpsClient) DescribeInstance ¶
func (c *CpsClient) DescribeInstance(request *cps.DescribeInstanceRequest) (*cps.DescribeInstanceResponse, error)
查询单台云物理服务器详细信息
func (*CpsClient) DescribeInstanceMonitorInfo ¶ added in v1.11.0
func (c *CpsClient) DescribeInstanceMonitorInfo(request *cps.DescribeInstanceMonitorInfoRequest) (*cps.DescribeInstanceMonitorInfoResponse, error)
查询云物理服务器监控信息
func (*CpsClient) DescribeInstanceName ¶
func (c *CpsClient) DescribeInstanceName(request *cps.DescribeInstanceNameRequest) (*cps.DescribeInstanceNameResponse, error)
查询云物理服务器名称
func (*CpsClient) DescribeInstanceRaid ¶
func (c *CpsClient) DescribeInstanceRaid(request *cps.DescribeInstanceRaidRequest) (*cps.DescribeInstanceRaidResponse, error)
查询单个云物理服务器已安装的RAID信息,包括系统盘RAID信息和数据盘RAID信息
func (*CpsClient) DescribeInstanceStatus ¶
func (c *CpsClient) DescribeInstanceStatus(request *cps.DescribeInstanceStatusRequest) (*cps.DescribeInstanceStatusResponse, error)
查询单个云物理服务器硬件监控信息
func (*CpsClient) DescribeInstances ¶
func (c *CpsClient) DescribeInstances(request *cps.DescribeInstancesRequest) (*cps.DescribeInstancesResponse, error)
批量查询云物理服务器详细信息<br/>
支持分页查询,默认每页20条<br/>
func (*CpsClient) DescribeKeypair ¶ added in v1.15.0
func (c *CpsClient) DescribeKeypair(request *cps.DescribeKeypairRequest) (*cps.DescribeKeypairResponse, error)
查询密钥对详情
func (*CpsClient) DescribeKeypairs ¶ added in v1.15.0
func (c *CpsClient) DescribeKeypairs(request *cps.DescribeKeypairsRequest) (*cps.DescribeKeypairsResponse, error)
查询密钥对列表
func (*CpsClient) DescribeListener ¶ added in v1.15.0
func (c *CpsClient) DescribeListener(request *cps.DescribeListenerRequest) (*cps.DescribeListenerResponse, error)
查询监听器详情
func (*CpsClient) DescribeListeners ¶ added in v1.15.0
func (c *CpsClient) DescribeListeners(request *cps.DescribeListenersRequest) (*cps.DescribeListenersResponse, error)
查询监听器
func (*CpsClient) DescribeLoadBalancer ¶ added in v1.15.0
func (c *CpsClient) DescribeLoadBalancer(request *cps.DescribeLoadBalancerRequest) (*cps.DescribeLoadBalancerResponse, error)
查询负载均衡实例详情
func (*CpsClient) DescribeLoadBalancers ¶ added in v1.15.0
func (c *CpsClient) DescribeLoadBalancers(request *cps.DescribeLoadBalancersRequest) (*cps.DescribeLoadBalancersResponse, error)
查询负载均衡实例列表
func (*CpsClient) DescribeOS ¶
func (c *CpsClient) DescribeOS(request *cps.DescribeOSRequest) (*cps.DescribeOSResponse, error)
查询云物理服务器支持的操作系统
func (*CpsClient) DescribeRegiones ¶
func (c *CpsClient) DescribeRegiones(request *cps.DescribeRegionesRequest) (*cps.DescribeRegionesResponse, error)
查询云物理服务器地域列表
func (*CpsClient) DescribeRouteTable ¶ added in v1.15.0
func (c *CpsClient) DescribeRouteTable(request *cps.DescribeRouteTableRequest) (*cps.DescribeRouteTableResponse, error)
查询路由表详情
func (*CpsClient) DescribeRouteTables ¶ added in v1.15.0
func (c *CpsClient) DescribeRouteTables(request *cps.DescribeRouteTablesRequest) (*cps.DescribeRouteTablesResponse, error)
查询路由表列表
func (*CpsClient) DescribeServerGroup ¶ added in v1.15.0
func (c *CpsClient) DescribeServerGroup(request *cps.DescribeServerGroupRequest) (*cps.DescribeServerGroupResponse, error)
查询虚拟服务器组
func (*CpsClient) DescribeServerGroups ¶ added in v1.15.0
func (c *CpsClient) DescribeServerGroups(request *cps.DescribeServerGroupsRequest) (*cps.DescribeServerGroupsResponse, error)
查询虚拟服务器组列表
func (*CpsClient) DescribeServers ¶ added in v1.15.0
func (c *CpsClient) DescribeServers(request *cps.DescribeServersRequest) (*cps.DescribeServersResponse, error)
查询后端服务器列表
func (*CpsClient) DescribeSubnet ¶
func (c *CpsClient) DescribeSubnet(request *cps.DescribeSubnetRequest) (*cps.DescribeSubnetResponse, error)
查询子网详情
func (*CpsClient) DescribeSubnets ¶ added in v1.8.0
func (c *CpsClient) DescribeSubnets(request *cps.DescribeSubnetsRequest) (*cps.DescribeSubnetsResponse, error)
查询子网列表
func (*CpsClient) DescribeVpc ¶ added in v1.8.0
func (c *CpsClient) DescribeVpc(request *cps.DescribeVpcRequest) (*cps.DescribeVpcResponse, error)
查询私有网络详情
func (*CpsClient) DescribeVpcs ¶ added in v1.8.0
func (c *CpsClient) DescribeVpcs(request *cps.DescribeVpcsRequest) (*cps.DescribeVpcsResponse, error)
查询私有网络列表
func (*CpsClient) DisableLogger ¶ added in v1.15.0
func (c *CpsClient) DisableLogger()
func (*CpsClient) DisassociateElasticIp ¶ added in v1.8.0
func (c *CpsClient) DisassociateElasticIp(request *cps.DisassociateElasticIpRequest) (*cps.DisassociateElasticIpResponse, error)
解绑弹性公网IP
func (*CpsClient) DisassociateElasticIpLB ¶ added in v1.11.0
func (c *CpsClient) DisassociateElasticIpLB(request *cps.DisassociateElasticIpLBRequest) (*cps.DisassociateElasticIpLBResponse, error)
解绑弹性公网IP
func (*CpsClient) ImportKeypairs ¶ added in v1.13.0
func (c *CpsClient) ImportKeypairs(request *cps.ImportKeypairsRequest) (*cps.ImportKeypairsResponse, error)
导入密钥对
func (*CpsClient) ModifyBandwidth ¶
func (c *CpsClient) ModifyBandwidth(request *cps.ModifyBandwidthRequest) (*cps.ModifyBandwidthResponse, error)
升级云物理服务器外网带宽,只能操作running或者stopped状态的服务器<br/>
- 不支持未启用外网的服务器升级带宽 - 外网带宽不支持降级
func (*CpsClient) ModifyElasticIpBandwidth ¶ added in v1.8.0
func (c *CpsClient) ModifyElasticIpBandwidth(request *cps.ModifyElasticIpBandwidthRequest) (*cps.ModifyElasticIpBandwidthResponse, error)
修改弹性公网IP带宽
func (*CpsClient) ModifyInstance ¶
func (c *CpsClient) ModifyInstance(request *cps.ModifyInstanceRequest) (*cps.ModifyInstanceResponse, error)
修改云物理服务器部分信息,包括名称、描述
func (*CpsClient) ModifyListener ¶ added in v1.11.0
func (c *CpsClient) ModifyListener(request *cps.ModifyListenerRequest) (*cps.ModifyListenerResponse, error)
修改监听器
func (*CpsClient) ModifyLoadBalancer ¶ added in v1.11.0
func (c *CpsClient) ModifyLoadBalancer(request *cps.ModifyLoadBalancerRequest) (*cps.ModifyLoadBalancerResponse, error)
修改负载均衡实例
func (*CpsClient) ModifyServer ¶ added in v1.11.0
func (c *CpsClient) ModifyServer(request *cps.ModifyServerRequest) (*cps.ModifyServerResponse, error)
修改后端服务器
func (*CpsClient) ModifyServerGroup ¶ added in v1.11.0
func (c *CpsClient) ModifyServerGroup(request *cps.ModifyServerGroupRequest) (*cps.ModifyServerGroupResponse, error)
修改虚拟服务器组
func (*CpsClient) ModifySubnet ¶ added in v1.8.0
func (c *CpsClient) ModifySubnet(request *cps.ModifySubnetRequest) (*cps.ModifySubnetResponse, error)
修改子网
func (*CpsClient) ModifyVpc ¶ added in v1.8.0
func (c *CpsClient) ModifyVpc(request *cps.ModifyVpcRequest) (*cps.ModifyVpcResponse, error)
修改私有网络
func (*CpsClient) ReinstallInstance ¶
func (c *CpsClient) ReinstallInstance(request *cps.ReinstallInstanceRequest) (*cps.ReinstallInstanceResponse, error)
重装云物理服务器,只能重装stopped状态的服务器<br/>
- 可调用接口(describeOS)获取云物理服务器支持的操作系统列表 [MFA enabled]
func (*CpsClient) RemoveServer ¶ added in v1.11.0
func (c *CpsClient) RemoveServer(request *cps.RemoveServerRequest) (*cps.RemoveServerResponse, error)
移除后端服务器
func (*CpsClient) ResetPassword ¶ added in v1.13.0
func (c *CpsClient) ResetPassword(request *cps.ResetPasswordRequest) (*cps.ResetPasswordResponse, error)
重置云物理服务器密码
func (*CpsClient) RestartInstance ¶
func (c *CpsClient) RestartInstance(request *cps.RestartInstanceRequest) (*cps.RestartInstanceResponse, error)
重启单台云物理服务器,只能重启running状态的服务器 [MFA enabled]
func (*CpsClient) StartInstance ¶
func (c *CpsClient) StartInstance(request *cps.StartInstanceRequest) (*cps.StartInstanceResponse, error)
对单台云物理服务器执行开机操作,只能启动stopped状态的服务器
func (*CpsClient) StartListener ¶ added in v1.11.0
func (c *CpsClient) StartListener(request *cps.StartListenerRequest) (*cps.StartListenerResponse, error)
开启监听器
func (*CpsClient) StartLoadBalancer ¶ added in v1.11.0
func (c *CpsClient) StartLoadBalancer(request *cps.StartLoadBalancerRequest) (*cps.StartLoadBalancerResponse, error)
开启负载均衡实例
func (*CpsClient) StopInstance ¶
func (c *CpsClient) StopInstance(request *cps.StopInstanceRequest) (*cps.StopInstanceResponse, error)
对单台云物理服务器执行关机操作,只能停止running状态的服务器 [MFA enabled]
func (*CpsClient) StopListener ¶ added in v1.11.0
func (c *CpsClient) StopListener(request *cps.StopListenerRequest) (*cps.StopListenerResponse, error)
关闭监听器
func (*CpsClient) StopLoadBalancer ¶ added in v1.11.0
func (c *CpsClient) StopLoadBalancer(request *cps.StopLoadBalancerRequest) (*cps.StopLoadBalancerResponse, error)
关闭负载均衡实例