类 AppBlbClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.blb.AppBlbClient
-
public class AppBlbClient extends AbstractBceClient
Provides the client for accessing the Baidu Cloud network Service Baidu Application Load Balance (APPBLB).
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 AppBlbClient()Constructs a new client to invoke service methods on blb.AppBlbClient(BlbClientConfiguration clientConfiguration)Constructs a new blb client using the client configuration to access network.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AppIgResponsecreateAppIpGroup(AppIgRequest appIgRequest)Create an appIpGroup with the specified options.AppIgResponsecreateAppIpGroup(String blbId, String name, String desc, List<AppIpGroupMember> memberList)Create an appIpGroup with the specified options.voidcreateAppIpGroupBackendPolicy(AppBackendPolicyRequest appBackendPolicyRequest)Create an appIpGroupBackendPolicy with the specified options.AppSgResponsecreateAppServerGroup(AppSgRequest appSgRequest)Create an appServerGroup with the specified options.AppSgResponsecreateAppServerGroup(String blbId, String name, String desc, List<AppBackendServer> backendServerList)Create an appServerGroup with the specified options.AppSgPortResponsecreateAppServerGroupPort(AppSgPortRequest appSgPortRequest)Create a appServerGroupPort with the specified options.CreateBlbResponsecreateBlb(CreateBlbRequest createBlbRequest)Create a blb with the specified options.CreateBlbResponsecreateBlb(String name, String desc, String vpcId, String subnetId, List<Tag> tags)Create a blb with the specified options.voidcreateBlbRs(AppSgRequest appSgRequest)Add backend servers to the specified blb appServerGroup.voidcreateBlbRs(String blbId, String sgId, List<AppBackendServer> backendServerList)Add backend servers to the specified blb appServerGroup.voidcreateIpGroupMember(AppIgRequest appIgRequest)Add member to the specified blb appIpGroup.voidcreateIpGroupMember(String blbId, String ipGroupId, List<AppIpGroupMember> memberList)Add member to the specified blb appIpGroup.voidcreateListener(BlbListenerRequest blbListenerRequest)Create a listener with the specified options.CreateAppPolicyResponsecreatePolicys(AppPolicyRequest appPolicyRequest)Create a policy with the specified options.CreateAppPolicyResponsecreatePolicys(String blbId, Integer listenerPort, String type, List<AppPolicy> appPolicyVos)Create a policy with the specified options.voiddeleteAppIpGroup(AppIgRequest appIgRequest)Delete the special appIpGroup.voiddeleteAppIpGroup(String blbId, String ipGroupId)Delete an appIpGroup with the specified options.voiddeleteAppIpGroupBackendPolicy(AppBackendPolicyRequest appBackendPolicyRequest)Delete the special AppBackendPolicy.voiddeleteAppIpGroupBackendPolicy(String blbId, String ipGroupId, List<String> backendPolicyIdList)Delete an appIpGroupBackendPolicy with the specified options.voiddeleteAppServerGroup(AppSgRequest appSgRequest)Delete the special appServerGroup.voiddeleteAppServerGroup(String blbId, String sgId)Delete a appServerGroup with the specified options.voiddeleteAppServerGroupPort(AppSgPortRequest appSgPortRequest)Delete the special appServerGroupPort.voiddeleteAppServerGroupPort(String blbId, String sgId, List<String> portIdList)Delete a appServerGroup with the specified options.voiddeleteBlb(DeleteBlbRequest deleteBlbRequest)Delete the specified blb.voiddeleteBlb(String blbId)Delete the specified blb.voiddeleteBlbRs(AppRsRequest appRsRequest)Delete the specified backend server from the specified blb appServerGroup.voiddeleteBlbRs(String blbId, String sgId, List<String> backendServerIdList)Delete the specified backend server from the specified blb appServerGroup.voiddeleteIpGroupMember(AppIpGroupMemberRequest appIpGroupMemberRequest)Delete the specified member from the specified blb appIpGroup.voiddeleteIpGroupMember(String blbId, String ipGroupId, List<String> memberIdList)Delete the specified member from the specified blb appIpGroup.voiddeleteListener(DeleteListenerRequest deleteListenerRequest)Delete the specified listener.voiddeleteListener(String blbId, List<Integer> portList)Delete the specified listener.voiddeletePolicys(DeleteAppPolicyRequest deleteAppPolicyRequest)Delete the special policy.voiddeletePolicys(String blbId, Integer port, List<String> policyIdList)Delete a appServerGroup with the specified options.protected voidfillPayload(InternalRequest internalRequest, AbstractBceRequest bceRequest)the method to fill the internalRequest's content field with bceRequest only support HttpMethodName.POST or HttpMethodName.PUTListAppIgResponselistAppIpGroup(ListAppIgRequest listAppIgRequest)Return a list of appIpGroup of the specified blbListAppIgResponselistAppIpGroup(String blbId, String name)Return a list of appIpGroup of the specified blb.ListAppSgResponselistAppServerGroup(ListAppSgRequest listAppSgRequest)Return a list of appServerGroup of the specified blbListAppSgResponselistAppServerGroup(String blbId, String name)Return a list of appServerGroup of the specified blb.ListBackendServerStatusResponselistBackendServerStatus(ListBackendServerStatusRequest listBackendServerStatusRequest)Return a list of healthStatus of backend server with the specified blb and listener port.ListBackendServerStatusResponselistBackendServerStatus(String blbId, int listenerPort)Return a list of healthStatus of backend servers with the specified blb and listener port.ListAppRsResponselistBlbRs(ListAppRsRequest listAppRsRequest)Return a list of backend server of the specified blb appServerGroupListAppRsResponselistBlbRs(String blbId, String sgId)Return a list of backend server of the specified blb appServerGroup.List<AppBackendServer>listBlbRsMount(ListAppRsRequest listAppRsRequest)Return a list of backend server of the specified blb appServerGroupList<AppBackendServer>listBlbRsMount(String blbId, String sgId)Return a list of backend server of the specified blb appServerGroup.List<AppBackendServer>listBlbRsUnMount(ListAppRsRequest listAppRsRequest)Return a list of backend server of the specified blb appServerGroupList<AppBackendServer>listBlbRsUnMount(String blbId, String sgId)Return a list of backend server of the specified blb appServerGroup.ListBlbResponselistBlbs(ListBlbRequest listBlbRequest)Return a list of blbs with the specified options.ListBlbResponselistBlbs(String address, String name, String blbId, String bccId)Return a list of blbs with the specified options.ListListenerResponse<HttpListener>listHttpListener(String blbId)Return a list of http listener with the specified options.ListListenerResponse<HttpsListener>listHttpsListener(String blbId)Return a list of https listener with the specified options.ListAppIpGroupMemberResponselistIpGroupMember(ListAppIpGroupMemberRequest listAppIpGroupMemberRequest)Return a list of member of the specified blb appIpGroupListAppIpGroupMemberResponselistIpGroupMember(String blbId, String ipGroupId)Return a list of member of the specified blb appIpGroup.ListListenerResponselistListener(ListListenerRequest listListenerRequest)Return a list of listener with the specified options.ListAppPolicyResponselistPolicys(ListAppPolicyRequest listAppPolicyRequest)Return a list of policy of the specified blbListAppPolicyResponselistPolicys(String blbId, Integer port)Return a list of backend server of the specified blb appServerGroup.ListListenerResponse<SslListener>listSslListener(String blbId)Return a list of ssl listener with the specified options.ListListenerResponse<TcpListener>listTcpListener(String blbId)Return a list of tcp listener with the specified options.ListListenerResponse<UdpListener>listUdpListener(String blbId)Return a list of udp listener with the specified options.voidmodifyAppIpGroupAttributes(AppIgRequest appIgRequest)Modifying the special attribute to new appIpGroup.voidmodifyAppIpGroupAttributes(String blbId, String ipGroupId, String name, String desc)Update an appIpGroup with the specified options.voidmodifyAppIpGroupBackendPolicyAttributes(AppBackendPolicyRequest appBackendPolicyRequest)Modifying the special attribute to new appIpGroupBackendPolicy.voidmodifyAppServerGroupAttributes(AppSgRequest appSgRequest)Modifying the special attribute to new appServerGroup.voidmodifyAppServerGroupAttributes(String blbId, String sgId, String name, String desc)Update a appServerGroup with the specified options.voidmodifyAppServerGroupPortAttributes(AppSgPortRequest appSgPortRequest)Modifying the special attribute to new appServerGroupPort.voidmodifyBlbAttributes(ModifyBlbAttributesRequest modifyBlbAttributesRequest)Modifying the special attribute to new blb.voidmodifyBlbAttributes(String blbId, String name, String desc)Modifying the special attribute to new blb.voidmodifyBlbRs(AppSgRequest appSgRequest)Modifying the special backend servers of the specified blb appServerGroup.voidmodifyBlbRs(String blbId, String sgId, List<AppBackendServer> backendServerList)Modifying the special backend servers of the specified blb appServerGroup.voidmodifyIpGroupMember(AppIgRequest appIgRequest)Modifying the special members of the specified blb appIpGroup.voidmodifyIpGroupMember(String blbId, String ipGroupId, List<AppIpGroupMember> memberList)Modifying the special members of the specified blb appIpGroup.voidmodifyListenerAttributes(BlbListenerRequest modifyListenerAttributesRequest)Modifying the special attribute to new listener.-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
AppBlbClient
public AppBlbClient()
Constructs a new client to invoke service methods on blb.
-
AppBlbClient
public AppBlbClient(BlbClientConfiguration clientConfiguration)
Constructs a new blb client using the client configuration to access network.- 参数:
clientConfiguration- The blb client configuration options controlling how this client connects to network (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
fillPayload
protected void fillPayload(InternalRequest internalRequest, AbstractBceRequest bceRequest)
the method to fill the internalRequest's content field with bceRequest only support HttpMethodName.POST or HttpMethodName.PUT- 参数:
internalRequest- A request object, populated with endpoint, resource path, ready for callers to populate any additional headers or parameters, and execute.bceRequest- The original request, as created by the user.
-
createBlb
public CreateBlbResponse createBlb(String name, String desc, String vpcId, String subnetId, List<Tag> tags)
Create a blb with the specified options.- 参数:
name- The name of blbdesc- The description of blbvpcId- The vpcId of blb- 返回:
- The response contains detail of the blb.
-
createBlb
public CreateBlbResponse createBlb(CreateBlbRequest createBlbRequest)
Create a blb with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
createBlbRequest- The request containing all options for creating a blb.- 返回:
- The response contains detail of the blb.
-
listBlbs
public ListBlbResponse listBlbs(String address, String name, String blbId, String bccId)
Return a list of blbs with the specified options.- 参数:
address- The address of the blbname- The name of the blb.blbId- The id of the blb.bccId- The bcc id of the blb.- 返回:
- The response containing a list of blbs owned by the specified options.
-
listBlbs
public ListBlbResponse listBlbs(ListBlbRequest listBlbRequest)
Return a list of blbs with the specified options.- 参数:
listBlbRequest- The request containing all options for listing blbs.- 返回:
- The response containing a list of blbs with the specified options.
-
modifyBlbAttributes
public void modifyBlbAttributes(String blbId, String name, String desc)
Modifying the special attribute to new blb.- 参数:
blbId- The id of the blb.name- The name after modifying.desc- The description after modifying.
-
modifyBlbAttributes
public void modifyBlbAttributes(ModifyBlbAttributesRequest modifyBlbAttributesRequest)
Modifying the special attribute to new blb.- 参数:
modifyBlbAttributesRequest- The request containing all options for modifying a blb.
-
deleteBlb
public void deleteBlb(String blbId)
Delete the specified blb.- 参数:
blbId- The id of the blb to delete.
-
deleteBlb
public void deleteBlb(DeleteBlbRequest deleteBlbRequest)
Delete the specified blb.- 参数:
deleteBlbRequest- The request containing all options for deleting blb.
-
createListener
public void createListener(BlbListenerRequest blbListenerRequest)
Create a listener with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
blbListenerRequest- The request containing all options for creating a listener.
-
listTcpListener
public ListListenerResponse<TcpListener> listTcpListener(String blbId)
Return a list of tcp listener with the specified options.- 参数:
blbId- The blb id of the listener.- 返回:
- The response containing a list of listener owned by the specified options.
-
listUdpListener
public ListListenerResponse<UdpListener> listUdpListener(String blbId)
Return a list of udp listener with the specified options.- 参数:
blbId- The blb id of the listener.- 返回:
- The response containing a list of listener owned by the specified options.
-
listHttpListener
public ListListenerResponse<HttpListener> listHttpListener(String blbId)
Return a list of http listener with the specified options.- 参数:
blbId- The blb id of the listener.- 返回:
- The response containing a list of listener owned by the specified options.
-
listHttpsListener
public ListListenerResponse<HttpsListener> listHttpsListener(String blbId)
Return a list of https listener with the specified options.- 参数:
blbId- The blb id of the listener.- 返回:
- The response containing a list of listener owned by the specified options.
-
listSslListener
public ListListenerResponse<SslListener> listSslListener(String blbId)
Return a list of ssl listener with the specified options.- 参数:
blbId- The blb id of the listener.- 返回:
- The response containing a list of listener owned by the specified options.
-
listListener
public ListListenerResponse listListener(ListListenerRequest listListenerRequest)
Return a list of listener with the specified options.- 参数:
listListenerRequest- The request containing all options for listing listeners.- 返回:
- The response containing a list of listener with the specified options.
-
modifyListenerAttributes
public void modifyListenerAttributes(BlbListenerRequest modifyListenerAttributesRequest)
Modifying the special attribute to new listener.- 参数:
modifyListenerAttributesRequest- The request containing all options for modifying listener.
-
deleteListener
public void deleteListener(String blbId, List<Integer> portList)
Delete the specified listener.- 参数:
blbId- The blb id of the listener to delete.portList- The ports of the listener to delete.
-
deleteListener
public void deleteListener(DeleteListenerRequest deleteListenerRequest)
Delete the specified listener.- 参数:
deleteListenerRequest- The request containing all options for deleting listener.
-
createBlbRs
public void createBlbRs(String blbId, String sgId, List<AppBackendServer> backendServerList)
Add backend servers to the specified blb appServerGroup.- 参数:
blbId- The id of blb to add backend server.sgId- The id of blb appServerGroup to add backend server.backendServerList- The backend servers to add.
-
createBlbRs
public void createBlbRs(AppSgRequest appSgRequest)
Add backend servers to the specified blb appServerGroup.- 参数:
appSgRequest- The request containing all backend servers for adding to the specified blb appServerGroup.
-
createIpGroupMember
public void createIpGroupMember(String blbId, String ipGroupId, List<AppIpGroupMember> memberList)
Add member to the specified blb appIpGroup.- 参数:
blbId- The id of blb to add ipGroup member.ipGroupId- The id of blb appIpGroup to add member.memberList- The ipGroup members to add.
-
createIpGroupMember
public void createIpGroupMember(AppIgRequest appIgRequest)
Add member to the specified blb appIpGroup.- 参数:
appIgRequest- The request containing all members for adding to the specified blb appIpGroup.
-
listBackendServerStatus
public ListBackendServerStatusResponse listBackendServerStatus(String blbId, int listenerPort)
Return a list of healthStatus of backend servers with the specified blb and listener port.- 参数:
blbId- The id of the specified blb.listenerPort- The specified listener port.- 返回:
- The response containing a list healthStatus of backend servers.
-
listBackendServerStatus
public ListBackendServerStatusResponse listBackendServerStatus(ListBackendServerStatusRequest listBackendServerStatusRequest)
Return a list of healthStatus of backend server with the specified blb and listener port.- 参数:
listBackendServerStatusRequest- The request containing all options for listing backend server healtStatus.- 返回:
- The response containing a list healthStatus of backend servers.
-
listAppServerGroup
public ListAppSgResponse listAppServerGroup(String blbId, String name)
Return a list of appServerGroup of the specified blb.- 参数:
blbId- The id of the blb.name- The name of the appServerGroup.- 返回:
- The response containing a list of backend servers of the specified blb.
-
listAppServerGroup
public ListAppSgResponse listAppServerGroup(ListAppSgRequest listAppSgRequest)
Return a list of appServerGroup of the specified blb- 参数:
listAppSgRequest- The request containing all options for listing appServerGroup.- 返回:
- The response containing a list of appServerGroup of the specified blb.
-
listAppIpGroup
public ListAppIgResponse listAppIpGroup(String blbId, String name)
Return a list of appIpGroup of the specified blb.- 参数:
blbId- The id of the blb.name- The name of the appIpGroup.- 返回:
- The response containing a list of backend servers of the specified blb.
-
listAppIpGroup
public ListAppIgResponse listAppIpGroup(ListAppIgRequest listAppIgRequest)
Return a list of appIpGroup of the specified blb- 参数:
listAppIgRequest- The request containing all options for listing appIpGroup.- 返回:
- The response containing a list of appIpGroup of the specified blb.
-
listBlbRsMount
public List<AppBackendServer> listBlbRsMount(String blbId, String sgId)
Return a list of backend server of the specified blb appServerGroup.- 参数:
blbId- The id of the blb.sgId- The id of the appServerGroup.- 返回:
- The response containing a list of backend servers of the specified blb appServerGroup.
-
listBlbRsMount
public List<AppBackendServer> listBlbRsMount(ListAppRsRequest listAppRsRequest)
Return a list of backend server of the specified blb appServerGroup- 参数:
listAppRsRequest- The request containing all options for listing backend server.- 返回:
- The response containing a list of backend servers of the specified blb appServerGroup.
-
listBlbRsUnMount
public List<AppBackendServer> listBlbRsUnMount(String blbId, String sgId)
Return a list of backend server of the specified blb appServerGroup.- 参数:
blbId- The id of the blb.sgId- The id of the appServerGroup.- 返回:
- The response containing a list of backend servers of the specified blb appServerGroup.
-
listBlbRsUnMount
public List<AppBackendServer> listBlbRsUnMount(ListAppRsRequest listAppRsRequest)
Return a list of backend server of the specified blb appServerGroup- 参数:
listAppRsRequest- The request containing all options for listing backend server.- 返回:
- The response containing a list of backend servers of the specified blb appServerGroup.
-
listBlbRs
public ListAppRsResponse listBlbRs(String blbId, String sgId)
Return a list of backend server of the specified blb appServerGroup.- 参数:
blbId- The id of the blb.sgId- The id of the appServerGroup.- 返回:
- The response containing a list of backend servers of the specified blb appServerGroup.
-
listBlbRs
public ListAppRsResponse listBlbRs(ListAppRsRequest listAppRsRequest)
Return a list of backend server of the specified blb appServerGroup- 参数:
listAppRsRequest- The request containing all options for listing backend server.- 返回:
- The response containing a list of backend servers of the specified blb appServerGroup.
-
listIpGroupMember
public ListAppIpGroupMemberResponse listIpGroupMember(String blbId, String ipGroupId)
Return a list of member of the specified blb appIpGroup.- 参数:
blbId- The id of the blb.ipGroupId- The id of the appIpGroup.- 返回:
- The response containing a list of member of the specified blb appIpGroup.
-
listIpGroupMember
public ListAppIpGroupMemberResponse listIpGroupMember(ListAppIpGroupMemberRequest listAppIpGroupMemberRequest)
Return a list of member of the specified blb appIpGroup- 参数:
listAppIpGroupMemberRequest- The request containing all options for listing member.- 返回:
- The response containing a list of member of the specified blb appIpGroup.
-
modifyBlbRs
public void modifyBlbRs(String blbId, String sgId, List<AppBackendServer> backendServerList)
Modifying the special backend servers of the specified blb appServerGroup.- 参数:
blbId- The id of the specified blb.sgId- The id of blb appServerGroup.backendServerList- The backend servers to modifying.
-
modifyBlbRs
public void modifyBlbRs(AppSgRequest appSgRequest)
Modifying the special backend servers of the specified blb appServerGroup.- 参数:
appSgRequest- The request containing all options for modifying backend servers.
-
modifyIpGroupMember
public void modifyIpGroupMember(String blbId, String ipGroupId, List<AppIpGroupMember> memberList)
Modifying the special members of the specified blb appIpGroup.- 参数:
blbId- The id of the specified blb.ipGroupId- The id of blb appIpGroup.memberList- The ipGroup members to modifying.
-
modifyIpGroupMember
public void modifyIpGroupMember(AppIgRequest appIgRequest)
Modifying the special members of the specified blb appIpGroup.- 参数:
appIgRequest- The request containing all options for modifying members.
-
deleteBlbRs
public void deleteBlbRs(String blbId, String sgId, List<String> backendServerIdList)
Delete the specified backend server from the specified blb appServerGroup.- 参数:
blbId- The id of the blb.sgId- The id of the appServerGroup.backendServerIdList- The id list of the backend server id to deleting.
-
deleteBlbRs
public void deleteBlbRs(AppRsRequest appRsRequest)
Delete the specified backend server from the specified blb appServerGroup.- 参数:
appRsRequest- The request containing all options for deleting backend server from the specified blb appServerGroup.
-
deleteIpGroupMember
public void deleteIpGroupMember(String blbId, String ipGroupId, List<String> memberIdList)
Delete the specified member from the specified blb appIpGroup.- 参数:
blbId- The id of the blb.ipGroupId- The id of the appIpGroup.memberIdList- The id list of the member id to deleting.
-
deleteIpGroupMember
public void deleteIpGroupMember(AppIpGroupMemberRequest appIpGroupMemberRequest)
Delete the specified member from the specified blb appIpGroup.- 参数:
appIpGroupMemberRequest- The request containing all options for deleting member from the specified blb appIpGroup.
-
createAppServerGroup
public AppSgResponse createAppServerGroup(String blbId, String name, String desc, List<AppBackendServer> backendServerList)
Create an appServerGroup with the specified options.- 参数:
blbId- The id of blbname- The name of appServerGroupdesc- The description of appServerGroupbackendServerList- The backendServers of appServerGroup- 返回:
- The response contains detail of the appServerGroup.
-
createAppServerGroup
public AppSgResponse createAppServerGroup(AppSgRequest appSgRequest)
Create an appServerGroup with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
appSgRequest- The request containing all options for creating a appSg.
-
createAppIpGroup
public AppIgResponse createAppIpGroup(AppIgRequest appIgRequest)
Create an appIpGroup with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
appIgRequest- The request containing all options for creating an appIg.
-
createAppIpGroup
public AppIgResponse createAppIpGroup(String blbId, String name, String desc, List<AppIpGroupMember> memberList)
Create an appIpGroup with the specified options.- 参数:
blbId- The id of blbname- The name of appIpGroupdesc- The description of appIpGroupmemberList- The backen of appIpGroup- 返回:
- The response contains detail of the appIpGroup.
-
modifyAppServerGroupAttributes
public void modifyAppServerGroupAttributes(String blbId, String sgId, String name, String desc)
Update a appServerGroup with the specified options.- 参数:
blbId- The id of blbsgId- The id of appServerGroupname- The name of appServerGroupdesc- The description of appServerGroup
-
modifyAppServerGroupAttributes
public void modifyAppServerGroupAttributes(AppSgRequest appSgRequest)
Modifying the special attribute to new appServerGroup.- 参数:
appSgRequest- The request containing all options for modifying appSgRequest.
-
modifyAppIpGroupAttributes
public void modifyAppIpGroupAttributes(String blbId, String ipGroupId, String name, String desc)
Update an appIpGroup with the specified options.- 参数:
blbId- The id of blbipGroupId- The id of appIpGroupname- The name of appIpGroupdesc- The description of appIpGroup
-
modifyAppIpGroupAttributes
public void modifyAppIpGroupAttributes(AppIgRequest appIgRequest)
Modifying the special attribute to new appIpGroup.- 参数:
appIgRequest- The request containing all options for modifying appIgRequest.
-
deleteAppServerGroup
public void deleteAppServerGroup(String blbId, String sgId)
Delete a appServerGroup with the specified options.- 参数:
blbId- The id of blbsgId- The id of appServerGroup
-
deleteAppServerGroup
public void deleteAppServerGroup(AppSgRequest appSgRequest)
Delete the special appServerGroup.- 参数:
appSgRequest- The request containing all options for deleting appSgRequest.
-
deleteAppIpGroup
public void deleteAppIpGroup(String blbId, String ipGroupId)
Delete an appIpGroup with the specified options.- 参数:
blbId- The id of blbipGroupId- The id of appIpGroup
-
deleteAppIpGroup
public void deleteAppIpGroup(AppIgRequest appIgRequest)
Delete the special appIpGroup.- 参数:
appIgRequest- The request containing all options for deleting appIpGroup.
-
createAppIpGroupBackendPolicy
public void createAppIpGroupBackendPolicy(AppBackendPolicyRequest appBackendPolicyRequest)
Create an appIpGroupBackendPolicy with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
appBackendPolicyRequest- The request containing all options for creating an appIpGroupBackendPolicy.
-
modifyAppIpGroupBackendPolicyAttributes
public void modifyAppIpGroupBackendPolicyAttributes(AppBackendPolicyRequest appBackendPolicyRequest)
Modifying the special attribute to new appIpGroupBackendPolicy.- 参数:
appBackendPolicyRequest- The request containing all options for modifying appIpGroupBackendPolicy.
-
deleteAppIpGroupBackendPolicy
public void deleteAppIpGroupBackendPolicy(String blbId, String ipGroupId, List<String> backendPolicyIdList)
Delete an appIpGroupBackendPolicy with the specified options.- 参数:
blbId- The id of blbipGroupId- The id of appServerGroupbackendPolicyIdList- The id of appIpGroupBackendPolicy list
-
deleteAppIpGroupBackendPolicy
public void deleteAppIpGroupBackendPolicy(AppBackendPolicyRequest appBackendPolicyRequest)
Delete the special AppBackendPolicy.- 参数:
appBackendPolicyRequest- The request containing all options for deleting appBackendPolicy.
-
createAppServerGroupPort
public AppSgPortResponse createAppServerGroupPort(AppSgPortRequest appSgPortRequest)
Create a appServerGroupPort with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
appSgPortRequest- The request containing all options for creating a appSgPort.
-
modifyAppServerGroupPortAttributes
public void modifyAppServerGroupPortAttributes(AppSgPortRequest appSgPortRequest)
Modifying the special attribute to new appServerGroupPort.- 参数:
appSgPortRequest- The request containing all options for modifying appSgPortRequest.
-
deleteAppServerGroupPort
public void deleteAppServerGroupPort(String blbId, String sgId, List<String> portIdList)
Delete a appServerGroup with the specified options.- 参数:
blbId- The id of blbsgId- The id of appServerGroupportIdList- The id of appServerGroupPort list
-
deleteAppServerGroupPort
public void deleteAppServerGroupPort(AppSgPortRequest appSgPortRequest)
Delete the special appServerGroupPort.- 参数:
appSgPortRequest- The request containing all options for deleting AppSgPortRequest.
-
createPolicys
public CreateAppPolicyResponse createPolicys(String blbId, Integer listenerPort, String type, List<AppPolicy> appPolicyVos)
Create a policy with the specified options.- 参数:
blbId- The id of blblistenerPort- The listenerPort of policytype- The listenerType of PolicyappPolicyVos- The appPolicyVos of policy
-
createPolicys
public CreateAppPolicyResponse createPolicys(AppPolicyRequest appPolicyRequest)
Create a policy with the specified options. You must fill the field of clientToken,which is especially for keeping idempotent.- 参数:
appPolicyRequest- The request containing all options for creating a policy.
-
listPolicys
public ListAppPolicyResponse listPolicys(String blbId, Integer port)
Return a list of backend server of the specified blb appServerGroup.- 参数:
blbId- The id of the blb.port- The port of the policy.- 返回:
- The response containing a list of policy of the specified blb.
-
listPolicys
public ListAppPolicyResponse listPolicys(ListAppPolicyRequest listAppPolicyRequest)
Return a list of policy of the specified blb- 参数:
listAppPolicyRequest- The request containing all options for listing policy.- 返回:
- The response containing a list of policy of the specified blb.
-
deletePolicys
public void deletePolicys(String blbId, Integer port, List<String> policyIdList)
Delete a appServerGroup with the specified options.- 参数:
blbId- The id of blbport- The port of policypolicyIdList- The id of policy list
-
deletePolicys
public void deletePolicys(DeleteAppPolicyRequest deleteAppPolicyRequest)
Delete the special policy.- 参数:
deleteAppPolicyRequest- The request containing all options for deleting policy.
-
-