类 BecClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.bec.BecClient
-
public class BecClient extends AbstractBceClient
Provides the client for accessing the Baidu Cloud Edge Service(bec).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 BecClient()Constructs a new client to invoke service methods on bec.BecClient(BceClientConfiguration clientConfiguration)Constructs a new bec client using the client configuration to access bec.
-
方法概要
-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
BecClient
public BecClient()
Constructs a new client to invoke service methods on bec.
-
BecClient
public BecClient(BceClientConfiguration clientConfiguration)
Constructs a new bec client using the client configuration to access bec.- 参数:
clientConfiguration- The bec client configuration options controlling how this client connects to bec (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
createBecVmService
public CreateBecVmServiceResponse createBecVmService(CreateBecVmServiceRequest request)
Create a new BEC virtual machine api.- 参数:
request- : The request containing all options for creating a bec virtual machine service.
-
createBecVmServiceInstances
public CreateBecVmServiceResponse createBecVmServiceInstances(CreateBecVmServiceRequest request)
create BEC virtual machine instances for service api- 参数:
request- : The request contains all options to create a bec virtual machine for the service.
-
getBecVmServices
public GetBecVmServicesResponse getBecVmServices(GetBecVmServicesRequest request)
Get BEC virtual machine service list- 参数:
request- : The request contains all options for getting a list of BEC virtual machine services.
-
updateBecVmService
public UpdateBecVmServiceResponse updateBecVmService(UpdateBecVmServiceRequest request)
Update BEC virtual machine service.- 参数:
request- : The request containing all options for updating the virtual machine service.
-
getBecVmService
public GetBecVmServiceResponse getBecVmService(GetBecVmServiceRequest request)
Get BEC virtual machine service details.- 参数:
request- : The request containing all options for getting the api details.
-
becVmServiceAction
public BecVmServiceActionResponse becVmServiceAction(BecVmServiceActionRequest request)
start/stop/release the BEC virtual machine service.- 参数:
request- : The request contains all options for operating the virtual machine service.
-
delBecVmService
public DelBecVmServiceResponse delBecVmService(DelBecVmServiceRequest request)
Delete BEC virtual machine service.- 参数:
request- : The request contains the api ID that should be deleted.
-
getBecVmServiceMetrics
public GetBecVmServiceMetricsResponse getBecVmServiceMetrics(GetBecVmServiceMetricsRequest request)
Get BEC service metrics.- 参数:
request- : The request containing all options for getting BEC service metrics.
-
getBecVmInstanceList
public GetBecVmInstanceListResponse getBecVmInstanceList(GetBecVmInstanceListRequest request)
Get the list of BEC virtual machine instances.- 参数:
request- : optional query parameter, the keyword for deployment name.
-
getBecNodeVmInstanceList
public GetBecNodeVmInstanceListResponse getBecNodeVmInstanceList(GetBecNodeVmInstanceListRequest request)
Get the BEC virtual machine list of the node.- 参数:
request- : optional query parameter, the keyword for deployment name.
-
getBecVirtualMachine
public GetBecVirtualMachineResponse getBecVirtualMachine(GetBecVirtualMachineRequest request)
Get the details of the BEC virtual machine.- 参数:
request- : The request contains all the options for getting the details of the BEC virtual machine.
-
deleteBecVmInstance
public DeleteBecVmInstanceResponse deleteBecVmInstance(DeleteBecVmInstanceRequest request)
Delete BEC virtual machine.- 参数:
request- : The request contains all options for deleting the BEC virtual machine.
-
updateBecVmDeployment
public UpdateBecVmDeploymentResponse updateBecVmDeployment(UpdateBecVmDeploymentRequest request)
Update BEC virtual machine resources.- 参数:
request- : The request contains all the options for updating BEC virtual machine resources.
-
reinstallBecVmInstance
public ReinstallBecVmInstanceResponse reinstallBecVmInstance(ReinstallBecVmInstanceRequest request)
Reinstall the BEC virtual machine system.- 参数:
request- : The request contains all the options for reinstalling the BEC virtual machine system.
-
operateBecVmDeployment
public OperateBecVmDeploymentResponse operateBecVmDeployment(OperateBecVmDeploymentRequest request)
start/stop/restart the BEC virtual machine instance.- 参数:
request- : The request contains all options for operating the BEC virtual machine instance.
-
getBecVmInstanceMetrics
public GetBecVmInstanceMetricsResponse getBecVmInstanceMetrics(GetBecVmInstanceMetricsRequest request)
Get the BEC virtual machine instance metrics.- 参数:
request- : The request containing all options for getting bec virtual machine instance metrics.
-
getVmNodeMetrics
public GetBecVmNodeLevelMetricsResponse getVmNodeMetrics(GetBecVmNodeLevelMetricsRequest request)
Get the BEC node level virtual machine instance metrics.- 参数:
request- : The request containing all options for getting bec node level virtual machine instance metrics.
-
getBecVmConfig
public GetBecVmConfigResponse getBecVmConfig(GetBecVmConfigRequest request)
Get the BEC virtual machine instance config.- 参数:
request- : The request containing all options for getting BEC virtual machine instance config.
-
createBecVmTemplate
public CreateBecVmTemplateResponse createBecVmTemplate(CreateBecVmTemplateRequest request)
Create a virtual machine template.- 参数:
request- : The request containing all options for creating the BEC vm template.
-
listBecVmTemplate
public GetBecVmTemplateListResponse listBecVmTemplate(GetBecVmTemplateListRequest request)
Get the list of BEC virtual machine templates.- 参数:
request- : The request containing all options for getting the BEC vm template list.
-
getBecVmTemplate
public GetBecVmTemplateResponse getBecVmTemplate(GetBecVmTemplateRequest request)
Get BEC virtual machine template details.- 参数:
request- : The request containing all options for getting the teplate details.
-
createBecBlb
public CreateBecBlbResponse createBecBlb(CreateBecBlbRequest request)
Create a BEC blb with the specified options.- 参数:
request- : The request containing all options for creating the BEC blb.
-
getBecBlbs
public GetBecBlbsResponse getBecBlbs(GetBecBlbsRequest request)
Get the BEC blb list.- 参数:
request- : The request containing all options for getting the BEC blb list.
-
getBecBlb
public GetBecBlbInstanceResponse getBecBlb(GetBecBlbInstanceRequest request)
Get the specific BEC blb instance.- 参数:
request- : The request containing all options for getting the BEC blb instance info.
-
deleteBecBlb
public DeleteBecBlbResponse deleteBecBlb(DeleteBecBlbRequest request)
Delete the specific BEC blb instance.- 参数:
request- : The request containing all options for deleting the BEC blb instance.
-
updateBecBlb
public UpdateBecBlbResponse updateBecBlb(UpdateBecBlbRequest request)
Update the the specific BEC blb instance.- 参数:
request- : The request containing all options for updating the BEC blb instance.
-
createBecBlbMonitorPort
public CreateBecBlbMonitorPortResponse createBecBlbMonitorPort(CreateBecBlbMonitorPortRequest request)
Create the BEC blb monitor port for assign blb.- 参数:
request- : The request containing all options for creating the BEC blb monitor port.
-
getBlbMonitorPortList
public GetBecBlbMonitorPortListResponse getBlbMonitorPortList(GetBecBlbMonitorPortListRequest request)
Get the BEC blb port monitor list for assign blb.- 参数:
request- : The request containing all options for getting the BEC blb port monitor list.- 返回:
- paged blb listeners port list, for brief info
-
getBecBlbMonitorPortDetails
public GetBecBlbMonitorPortDetailsResponse getBecBlbMonitorPortDetails(GetBecBlbMonitorPortDetailsRequest request)
Get the BEC blb monitor port details for assign blb and assign port.- 参数:
request- : The request containing all options for getting the BEC blb monitor port details.
-
updateBecBlbMonitorPort
public UpdateBecBlbMonitorPortResponse updateBecBlbMonitorPort(UpdateBecBlbMonitorPortRequest request)
Update the BEC blb monitor port for assign blb.- 参数:
request- : The request containing all options for updating the Blb monitor port.
-
getBecBlbBackendPodList
public GetBecBlbBackendPodListResponse getBecBlbBackendPodList(GetBecBlbBackendPodListRequest request)
Get the bind BEC blb backend Pod/Vm list for assign blb.- 参数:
request- : The request containing all options for getting the bind BEC blb backend Pod/Vm list.
-
getBecBlbBackendBindingStsList
public GetBecBlbBackendBindingStsListResponse getBecBlbBackendBindingStsList(GetBecBlbBackendBindingStsListRequest request)
Get the binding BEC blb backend StatefulSet/VmReplicas list for assign blb.- 参数:
request- : The request containing all options for getting the binding BEC blb backend StatefulSet/VmReplicas list.
-
getBecBlbBindingPodListWithSts
public GetBecBlbBindingPodListWithStsResponse getBecBlbBindingPodListWithSts(GetBecBlbBindingPodListWithStsRequest request)
Get the binding BEC blb backend Pod/Vm list for assign blb.- 参数:
request- : The request containing all options for getting the binding BEC blb backend Pod/Vm list.
-
createBecBlbBinding
public CreateBecBlbBindingResponse createBecBlbBinding(CreateBecBlbBindingRequest request)
Bind the backend StatefulSet/VmReplicas to the specified BEC blb.- 参数:
request- : The request containing all options for binding the backend StatefulSet/VmReplicas.
-
updateBecBlbBindPodWeight
public UpdateBecBlbBindPodWeightResponse updateBecBlbBindPodWeight(UpdateBecBlbBindPodWeightRequest request)
Modify the weight of the Pod/Vm bound to the specified BEC BLB backend.- 参数:
request- : The request containing all options for modifying the weight of the Pod/Vm.
-
getBecBlbResourceMetrics
public GetBecBlbResourceMetricsResponse getBecBlbResourceMetrics(GetBecBlbResourceMetricsRequest request)
Get the BEC blb monitor metrics.- 参数:
request- : The request containing all options for getting the BEC blb monitor metrics.
-
getBecResourceSummary
public GetBecResourceSummaryResponse getBecResourceSummary(GetBecResourceSummaryRequest request)
Get the BEC user level overview data.- 参数:
request- : The request containing all options for getting the BEC user level overview data.- 返回:
- user level data, include service/deployment/pod status
-
getBecContainerSummary
public GetBecContainerSummaryResponse getBecContainerSummary(GetBecContainerSummaryRequest request)
Get overview information of container services.- 参数:
request- : The request containing all options for getting overview information of container services.- 返回:
- user level data,container service overview information.
-
getBecVmSummary
public GetBecVMSummaryResponse getBecVmSummary(GetBecVMSummaryRequest request)
Get overview information of vm services.- 参数:
request- : The request containing all options for getting overview information of vm services.- 返回:
- user level data,vm service overview information.
-
getBecContainerMetrics
public GetBecContainerMetricsResponse getBecContainerMetrics(GetBecContainerMetricsRequest request)
Get BEC user level container metrics.- 参数:
request- : The request containing all options for getting BEC user level container metrics.- 返回:
- metrics data
-
getBecVmMetrics
public GetBecVmMetricsResponse getBecVmMetrics(GetBecVmMetricsRequest request)
Get BEC user level vm metrics.- 参数:
request- : The request containing all options for getting BEC user level vm metrics.- 返回:
- metrics data
-
listBecServicePackages
public ListBecServicePackagesResponse listBecServicePackages(ListBecServicePackagesRequest request)
List bec service packages.- 参数:
request- : The request containing all options for listing bec service packages.- 返回:
- bec service packages data
-
listBecPassThroughDiskPackages
public ListBecPassThroughDiskPackagesResponse listBecPassThroughDiskPackages(ListBecPassThroughDiskPackagesRequest request)
List bec passThrough disk packages.- 参数:
request- : The request containing all options for listing bec passThrough disk packages.- 返回:
- bec passThrough disk packages data
-
-