Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.huaweicloud.sdk.er.v3.ErClient Maven / Gradle / Ivy
package com.huaweicloud.sdk.er.v3;
import com.huaweicloud.sdk.core.ClientBuilder;
import com.huaweicloud.sdk.core.HcClient;
import com.huaweicloud.sdk.core.invoker.SyncInvoker;
import com.huaweicloud.sdk.er.v3.model.AcceptAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.AcceptAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.AssociateRouteTableRequest;
import com.huaweicloud.sdk.er.v3.model.AssociateRouteTableResponse;
import com.huaweicloud.sdk.er.v3.model.BatchCreateResourceTagsRequest;
import com.huaweicloud.sdk.er.v3.model.BatchCreateResourceTagsResponse;
import com.huaweicloud.sdk.er.v3.model.ChangeAvailabilityZoneRequest;
import com.huaweicloud.sdk.er.v3.model.ChangeAvailabilityZoneResponse;
import com.huaweicloud.sdk.er.v3.model.CreateEnterpriseRouterRequest;
import com.huaweicloud.sdk.er.v3.model.CreateEnterpriseRouterResponse;
import com.huaweicloud.sdk.er.v3.model.CreateFlowLogRequest;
import com.huaweicloud.sdk.er.v3.model.CreateFlowLogResponse;
import com.huaweicloud.sdk.er.v3.model.CreateResourceTagRequest;
import com.huaweicloud.sdk.er.v3.model.CreateResourceTagResponse;
import com.huaweicloud.sdk.er.v3.model.CreateRouteTableRequest;
import com.huaweicloud.sdk.er.v3.model.CreateRouteTableResponse;
import com.huaweicloud.sdk.er.v3.model.CreateStaticRouteRequest;
import com.huaweicloud.sdk.er.v3.model.CreateStaticRouteResponse;
import com.huaweicloud.sdk.er.v3.model.CreateVpcAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.CreateVpcAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.DeleteEnterpriseRouterRequest;
import com.huaweicloud.sdk.er.v3.model.DeleteEnterpriseRouterResponse;
import com.huaweicloud.sdk.er.v3.model.DeleteFlowLogRequest;
import com.huaweicloud.sdk.er.v3.model.DeleteFlowLogResponse;
import com.huaweicloud.sdk.er.v3.model.DeleteResourceTagRequest;
import com.huaweicloud.sdk.er.v3.model.DeleteResourceTagResponse;
import com.huaweicloud.sdk.er.v3.model.DeleteRouteTableRequest;
import com.huaweicloud.sdk.er.v3.model.DeleteRouteTableResponse;
import com.huaweicloud.sdk.er.v3.model.DeleteStaticRouteRequest;
import com.huaweicloud.sdk.er.v3.model.DeleteStaticRouteResponse;
import com.huaweicloud.sdk.er.v3.model.DeleteVpcAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.DeleteVpcAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.DisableFlowLogRequest;
import com.huaweicloud.sdk.er.v3.model.DisableFlowLogResponse;
import com.huaweicloud.sdk.er.v3.model.DisablePropagationRequest;
import com.huaweicloud.sdk.er.v3.model.DisablePropagationResponse;
import com.huaweicloud.sdk.er.v3.model.DisassociateRouteTableRequest;
import com.huaweicloud.sdk.er.v3.model.DisassociateRouteTableResponse;
import com.huaweicloud.sdk.er.v3.model.EnableFlowLogRequest;
import com.huaweicloud.sdk.er.v3.model.EnableFlowLogResponse;
import com.huaweicloud.sdk.er.v3.model.EnablePropagationRequest;
import com.huaweicloud.sdk.er.v3.model.EnablePropagationResponse;
import com.huaweicloud.sdk.er.v3.model.ListAssociationsRequest;
import com.huaweicloud.sdk.er.v3.model.ListAssociationsResponse;
import com.huaweicloud.sdk.er.v3.model.ListAttachmentsRequest;
import com.huaweicloud.sdk.er.v3.model.ListAttachmentsResponse;
import com.huaweicloud.sdk.er.v3.model.ListAvailabilityZoneRequest;
import com.huaweicloud.sdk.er.v3.model.ListAvailabilityZoneResponse;
import com.huaweicloud.sdk.er.v3.model.ListEffectiveRoutesRequest;
import com.huaweicloud.sdk.er.v3.model.ListEffectiveRoutesResponse;
import com.huaweicloud.sdk.er.v3.model.ListEnterpriseRoutersRequest;
import com.huaweicloud.sdk.er.v3.model.ListEnterpriseRoutersResponse;
import com.huaweicloud.sdk.er.v3.model.ListFlowLogsRequest;
import com.huaweicloud.sdk.er.v3.model.ListFlowLogsResponse;
import com.huaweicloud.sdk.er.v3.model.ListProjectTagsRequest;
import com.huaweicloud.sdk.er.v3.model.ListProjectTagsResponse;
import com.huaweicloud.sdk.er.v3.model.ListPropagationsRequest;
import com.huaweicloud.sdk.er.v3.model.ListPropagationsResponse;
import com.huaweicloud.sdk.er.v3.model.ListRouteTablesRequest;
import com.huaweicloud.sdk.er.v3.model.ListRouteTablesResponse;
import com.huaweicloud.sdk.er.v3.model.ListStaticRoutesRequest;
import com.huaweicloud.sdk.er.v3.model.ListStaticRoutesResponse;
import com.huaweicloud.sdk.er.v3.model.ListVpcAttachmentsRequest;
import com.huaweicloud.sdk.er.v3.model.ListVpcAttachmentsResponse;
import com.huaweicloud.sdk.er.v3.model.RejectAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.RejectAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.ShowAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.ShowAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.ShowEnterpriseRouterRequest;
import com.huaweicloud.sdk.er.v3.model.ShowEnterpriseRouterResponse;
import com.huaweicloud.sdk.er.v3.model.ShowFlowLogRequest;
import com.huaweicloud.sdk.er.v3.model.ShowFlowLogResponse;
import com.huaweicloud.sdk.er.v3.model.ShowQuotasRequest;
import com.huaweicloud.sdk.er.v3.model.ShowQuotasResponse;
import com.huaweicloud.sdk.er.v3.model.ShowResourceTagRequest;
import com.huaweicloud.sdk.er.v3.model.ShowResourceTagResponse;
import com.huaweicloud.sdk.er.v3.model.ShowRouteTableRequest;
import com.huaweicloud.sdk.er.v3.model.ShowRouteTableResponse;
import com.huaweicloud.sdk.er.v3.model.ShowStaticRouteRequest;
import com.huaweicloud.sdk.er.v3.model.ShowStaticRouteResponse;
import com.huaweicloud.sdk.er.v3.model.ShowVpcAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.ShowVpcAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.UpdateAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.UpdateAttachmentResponse;
import com.huaweicloud.sdk.er.v3.model.UpdateEnterpriseRouterRequest;
import com.huaweicloud.sdk.er.v3.model.UpdateEnterpriseRouterResponse;
import com.huaweicloud.sdk.er.v3.model.UpdateFlowLogRequest;
import com.huaweicloud.sdk.er.v3.model.UpdateFlowLogResponse;
import com.huaweicloud.sdk.er.v3.model.UpdateRouteTableRequest;
import com.huaweicloud.sdk.er.v3.model.UpdateRouteTableResponse;
import com.huaweicloud.sdk.er.v3.model.UpdateStaticRouteRequest;
import com.huaweicloud.sdk.er.v3.model.UpdateStaticRouteResponse;
import com.huaweicloud.sdk.er.v3.model.UpdateVpcAttachmentRequest;
import com.huaweicloud.sdk.er.v3.model.UpdateVpcAttachmentResponse;
public class ErClient {
protected HcClient hcClient;
public ErClient(HcClient hcClient) {
this.hcClient = hcClient;
}
public static ClientBuilder newBuilder() {
ClientBuilder clientBuilder = new ClientBuilder<>(ErClient::new);
return clientBuilder;
}
/**
* 创建路由关联
*
* 每个连接只能关联到一张路由表。通过创建关联将连接关联到路由表,从该连接收到的报文会用被关联的路由表进行路由。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AssociateRouteTableRequest 请求对象
* @return AssociateRouteTableResponse
*/
public AssociateRouteTableResponse associateRouteTable(AssociateRouteTableRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.associateRouteTable);
}
/**
* 创建路由关联
*
* 每个连接只能关联到一张路由表。通过创建关联将连接关联到路由表,从该连接收到的报文会用被关联的路由表进行路由。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AssociateRouteTableRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker associateRouteTableInvoker(
AssociateRouteTableRequest request) {
return new SyncInvoker(request,
ErMeta.associateRouteTable, hcClient);
}
/**
* 删除路由关联
*
* 解绑连接和路由表的关联关系。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DisassociateRouteTableRequest 请求对象
* @return DisassociateRouteTableResponse
*/
public DisassociateRouteTableResponse disassociateRouteTable(DisassociateRouteTableRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.disassociateRouteTable);
}
/**
* 删除路由关联
*
* 解绑连接和路由表的关联关系。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DisassociateRouteTableRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker disassociateRouteTableInvoker(
DisassociateRouteTableRequest request) {
return new SyncInvoker(request,
ErMeta.disassociateRouteTable, hcClient);
}
/**
* 查询路由关联列表
*
* 查询路由关联列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAssociationsRequest 请求对象
* @return ListAssociationsResponse
*/
public ListAssociationsResponse listAssociations(ListAssociationsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listAssociations);
}
/**
* 查询路由关联列表
*
* 查询路由关联列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAssociationsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listAssociationsInvoker(
ListAssociationsRequest request) {
return new SyncInvoker(request, ErMeta.listAssociations,
hcClient);
}
/**
* 接受共享连接创建
*
* 接受共享连接创建
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AcceptAttachmentRequest 请求对象
* @return AcceptAttachmentResponse
*/
public AcceptAttachmentResponse acceptAttachment(AcceptAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.acceptAttachment);
}
/**
* 接受共享连接创建
*
* 接受共享连接创建
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param AcceptAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker acceptAttachmentInvoker(
AcceptAttachmentRequest request) {
return new SyncInvoker(request, ErMeta.acceptAttachment,
hcClient);
}
/**
* 查询连接列表
*
* 查询企业路由器实例下的连接列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAttachmentsRequest 请求对象
* @return ListAttachmentsResponse
*/
public ListAttachmentsResponse listAttachments(ListAttachmentsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listAttachments);
}
/**
* 查询连接列表
*
* 查询企业路由器实例下的连接列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAttachmentsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listAttachmentsInvoker(
ListAttachmentsRequest request) {
return new SyncInvoker(request, ErMeta.listAttachments,
hcClient);
}
/**
* 拒绝共享连接创建
*
* 拒绝共享连接创建
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param RejectAttachmentRequest 请求对象
* @return RejectAttachmentResponse
*/
public RejectAttachmentResponse rejectAttachment(RejectAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.rejectAttachment);
}
/**
* 拒绝共享连接创建
*
* 拒绝共享连接创建
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param RejectAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker rejectAttachmentInvoker(
RejectAttachmentRequest request) {
return new SyncInvoker(request, ErMeta.rejectAttachment,
hcClient);
}
/**
* 查询连接详情
*
* 查询连接详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowAttachmentRequest 请求对象
* @return ShowAttachmentResponse
*/
public ShowAttachmentResponse showAttachment(ShowAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showAttachment);
}
/**
* 查询连接详情
*
* 查询连接详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showAttachmentInvoker(
ShowAttachmentRequest request) {
return new SyncInvoker(request, ErMeta.showAttachment, hcClient);
}
/**
* 更新连接基本信息
*
* 修改连接基本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateAttachmentRequest 请求对象
* @return UpdateAttachmentResponse
*/
public UpdateAttachmentResponse updateAttachment(UpdateAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.updateAttachment);
}
/**
* 更新连接基本信息
*
* 修改连接基本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker updateAttachmentInvoker(
UpdateAttachmentRequest request) {
return new SyncInvoker(request, ErMeta.updateAttachment,
hcClient);
}
/**
* 查询可用区列表
*
* 查询支持创建企业路由器实例的可用区列表,当可用区状态为available时,表示可以创建企业路由器实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAvailabilityZoneRequest 请求对象
* @return ListAvailabilityZoneResponse
*/
public ListAvailabilityZoneResponse listAvailabilityZone(ListAvailabilityZoneRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listAvailabilityZone);
}
/**
* 查询可用区列表
*
* 查询支持创建企业路由器实例的可用区列表,当可用区状态为available时,表示可以创建企业路由器实例。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListAvailabilityZoneRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listAvailabilityZoneInvoker(
ListAvailabilityZoneRequest request) {
return new SyncInvoker(request,
ErMeta.listAvailabilityZone, hcClient);
}
/**
* 更新企业路由器的可用区信息
*
* 更新企业路由器的可用区信息,企业路由器实例状态为available的时候才能更新。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ChangeAvailabilityZoneRequest 请求对象
* @return ChangeAvailabilityZoneResponse
*/
public ChangeAvailabilityZoneResponse changeAvailabilityZone(ChangeAvailabilityZoneRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.changeAvailabilityZone);
}
/**
* 更新企业路由器的可用区信息
*
* 更新企业路由器的可用区信息,企业路由器实例状态为available的时候才能更新。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ChangeAvailabilityZoneRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker changeAvailabilityZoneInvoker(
ChangeAvailabilityZoneRequest request) {
return new SyncInvoker(request,
ErMeta.changeAvailabilityZone, hcClient);
}
/**
* 创建企业路由器
*
* 创建企业路由器实例,如果使能默认关联路由表或使能默认传递路由表,那么系统会默认创建一张路由表,作为默认关联路由表或默认传递路由表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateEnterpriseRouterRequest 请求对象
* @return CreateEnterpriseRouterResponse
*/
public CreateEnterpriseRouterResponse createEnterpriseRouter(CreateEnterpriseRouterRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.createEnterpriseRouter);
}
/**
* 创建企业路由器
*
* 创建企业路由器实例,如果使能默认关联路由表或使能默认传递路由表,那么系统会默认创建一张路由表,作为默认关联路由表或默认传递路由表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateEnterpriseRouterRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker createEnterpriseRouterInvoker(
CreateEnterpriseRouterRequest request) {
return new SyncInvoker(request,
ErMeta.createEnterpriseRouter, hcClient);
}
/**
* 删除企业路由器
*
* 删除企业路由器。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteEnterpriseRouterRequest 请求对象
* @return DeleteEnterpriseRouterResponse
*/
public DeleteEnterpriseRouterResponse deleteEnterpriseRouter(DeleteEnterpriseRouterRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.deleteEnterpriseRouter);
}
/**
* 删除企业路由器
*
* 删除企业路由器。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteEnterpriseRouterRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker deleteEnterpriseRouterInvoker(
DeleteEnterpriseRouterRequest request) {
return new SyncInvoker(request,
ErMeta.deleteEnterpriseRouter, hcClient);
}
/**
* 查询企业路由器列表
*
* 查询企业路由器列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListEnterpriseRoutersRequest 请求对象
* @return ListEnterpriseRoutersResponse
*/
public ListEnterpriseRoutersResponse listEnterpriseRouters(ListEnterpriseRoutersRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listEnterpriseRouters);
}
/**
* 查询企业路由器列表
*
* 查询企业路由器列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListEnterpriseRoutersRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listEnterpriseRoutersInvoker(
ListEnterpriseRoutersRequest request) {
return new SyncInvoker(request,
ErMeta.listEnterpriseRouters, hcClient);
}
/**
* 查询企业路由器详情
*
* 查询企业路由器详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowEnterpriseRouterRequest 请求对象
* @return ShowEnterpriseRouterResponse
*/
public ShowEnterpriseRouterResponse showEnterpriseRouter(ShowEnterpriseRouterRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showEnterpriseRouter);
}
/**
* 查询企业路由器详情
*
* 查询企业路由器详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowEnterpriseRouterRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showEnterpriseRouterInvoker(
ShowEnterpriseRouterRequest request) {
return new SyncInvoker(request,
ErMeta.showEnterpriseRouter, hcClient);
}
/**
* 更新企业路由器
*
* 更新企业路由器基本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateEnterpriseRouterRequest 请求对象
* @return UpdateEnterpriseRouterResponse
*/
public UpdateEnterpriseRouterResponse updateEnterpriseRouter(UpdateEnterpriseRouterRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.updateEnterpriseRouter);
}
/**
* 更新企业路由器
*
* 更新企业路由器基本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateEnterpriseRouterRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker updateEnterpriseRouterInvoker(
UpdateEnterpriseRouterRequest request) {
return new SyncInvoker(request,
ErMeta.updateEnterpriseRouter, hcClient);
}
/**
* 创建流日志
*
* 给ER实例创建流日志。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateFlowLogRequest 请求对象
* @return CreateFlowLogResponse
*/
public CreateFlowLogResponse createFlowLog(CreateFlowLogRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.createFlowLog);
}
/**
* 创建流日志
*
* 给ER实例创建流日志。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateFlowLogRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker createFlowLogInvoker(CreateFlowLogRequest request) {
return new SyncInvoker(request, ErMeta.createFlowLog, hcClient);
}
/**
* 删除流日志
*
* 删除流日志
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteFlowLogRequest 请求对象
* @return DeleteFlowLogResponse
*/
public DeleteFlowLogResponse deleteFlowLog(DeleteFlowLogRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.deleteFlowLog);
}
/**
* 删除流日志
*
* 删除流日志
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteFlowLogRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker deleteFlowLogInvoker(DeleteFlowLogRequest request) {
return new SyncInvoker(request, ErMeta.deleteFlowLog, hcClient);
}
/**
* 关闭流日志
*
* 关闭流日志
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DisableFlowLogRequest 请求对象
* @return DisableFlowLogResponse
*/
public DisableFlowLogResponse disableFlowLog(DisableFlowLogRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.disableFlowLog);
}
/**
* 关闭流日志
*
* 关闭流日志
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DisableFlowLogRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker disableFlowLogInvoker(
DisableFlowLogRequest request) {
return new SyncInvoker(request, ErMeta.disableFlowLog, hcClient);
}
/**
* 开启流日志
*
* 开启流日志
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param EnableFlowLogRequest 请求对象
* @return EnableFlowLogResponse
*/
public EnableFlowLogResponse enableFlowLog(EnableFlowLogRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.enableFlowLog);
}
/**
* 开启流日志
*
* 开启流日志
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param EnableFlowLogRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker enableFlowLogInvoker(EnableFlowLogRequest request) {
return new SyncInvoker(request, ErMeta.enableFlowLog, hcClient);
}
/**
* 查询流日志列表
*
* 查询企业路由器实例下的流日志列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListFlowLogsRequest 请求对象
* @return ListFlowLogsResponse
*/
public ListFlowLogsResponse listFlowLogs(ListFlowLogsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listFlowLogs);
}
/**
* 查询流日志列表
*
* 查询企业路由器实例下的流日志列表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListFlowLogsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listFlowLogsInvoker(ListFlowLogsRequest request) {
return new SyncInvoker(request, ErMeta.listFlowLogs, hcClient);
}
/**
* 查询流日志详情
*
* 查询流日志详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowFlowLogRequest 请求对象
* @return ShowFlowLogResponse
*/
public ShowFlowLogResponse showFlowLog(ShowFlowLogRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showFlowLog);
}
/**
* 查询流日志详情
*
* 查询流日志详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowFlowLogRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showFlowLogInvoker(ShowFlowLogRequest request) {
return new SyncInvoker(request, ErMeta.showFlowLog, hcClient);
}
/**
* 更新流日志基本信息
*
* 更新流日志基本信息
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateFlowLogRequest 请求对象
* @return UpdateFlowLogResponse
*/
public UpdateFlowLogResponse updateFlowLog(UpdateFlowLogRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.updateFlowLog);
}
/**
* 更新流日志基本信息
*
* 更新流日志基本信息
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateFlowLogRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker updateFlowLogInvoker(UpdateFlowLogRequest request) {
return new SyncInvoker(request, ErMeta.updateFlowLog, hcClient);
}
/**
* 删除路由传播
*
* 解绑连接和路由表的传播关系。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DisablePropagationRequest 请求对象
* @return DisablePropagationResponse
*/
public DisablePropagationResponse disablePropagation(DisablePropagationRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.disablePropagation);
}
/**
* 删除路由传播
*
* 解绑连接和路由表的传播关系。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DisablePropagationRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker disablePropagationInvoker(
DisablePropagationRequest request) {
return new SyncInvoker(request,
ErMeta.disablePropagation, hcClient);
}
/**
* 创建路由传播
*
* 每个连接可以和多个路由表建立传播关系,从该连接学习到的路由会应用到具有传播关系的路由表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param EnablePropagationRequest 请求对象
* @return EnablePropagationResponse
*/
public EnablePropagationResponse enablePropagation(EnablePropagationRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.enablePropagation);
}
/**
* 创建路由传播
*
* 每个连接可以和多个路由表建立传播关系,从该连接学习到的路由会应用到具有传播关系的路由表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param EnablePropagationRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker enablePropagationInvoker(
EnablePropagationRequest request) {
return new SyncInvoker(request, ErMeta.enablePropagation,
hcClient);
}
/**
* 查询路由传播列表
*
* 查询路由传播列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListPropagationsRequest 请求对象
* @return ListPropagationsResponse
*/
public ListPropagationsResponse listPropagations(ListPropagationsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listPropagations);
}
/**
* 查询路由传播列表
*
* 查询路由传播列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListPropagationsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listPropagationsInvoker(
ListPropagationsRequest request) {
return new SyncInvoker(request, ErMeta.listPropagations,
hcClient);
}
/**
* 查询配额
*
* 查询租户各类资源的使用情况,如企业路由器的使用量,VPC连接的使用量等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowQuotasRequest 请求对象
* @return ShowQuotasResponse
*/
public ShowQuotasResponse showQuotas(ShowQuotasRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showQuotas);
}
/**
* 查询配额
*
* 查询租户各类资源的使用情况,如企业路由器的使用量,VPC连接的使用量等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowQuotasRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showQuotasInvoker(ShowQuotasRequest request) {
return new SyncInvoker(request, ErMeta.showQuotas, hcClient);
}
/**
* 创建静态路由
*
* 创建静态路由
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateStaticRouteRequest 请求对象
* @return CreateStaticRouteResponse
*/
public CreateStaticRouteResponse createStaticRoute(CreateStaticRouteRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.createStaticRoute);
}
/**
* 创建静态路由
*
* 创建静态路由
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateStaticRouteRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker createStaticRouteInvoker(
CreateStaticRouteRequest request) {
return new SyncInvoker(request, ErMeta.createStaticRoute,
hcClient);
}
/**
* 删除静态路由
*
* 删除静态路由
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteStaticRouteRequest 请求对象
* @return DeleteStaticRouteResponse
*/
public DeleteStaticRouteResponse deleteStaticRoute(DeleteStaticRouteRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.deleteStaticRoute);
}
/**
* 删除静态路由
*
* 删除静态路由
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteStaticRouteRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker deleteStaticRouteInvoker(
DeleteStaticRouteRequest request) {
return new SyncInvoker(request, ErMeta.deleteStaticRoute,
hcClient);
}
/**
* 查询有效路由列表
*
* 查询有效的路由列表,支持分页查询能力
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListEffectiveRoutesRequest 请求对象
* @return ListEffectiveRoutesResponse
*/
public ListEffectiveRoutesResponse listEffectiveRoutes(ListEffectiveRoutesRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listEffectiveRoutes);
}
/**
* 查询有效路由列表
*
* 查询有效的路由列表,支持分页查询能力
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListEffectiveRoutesRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listEffectiveRoutesInvoker(
ListEffectiveRoutesRequest request) {
return new SyncInvoker(request,
ErMeta.listEffectiveRoutes, hcClient);
}
/**
* 查询静态路由列表
*
* 查询静态路由列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListStaticRoutesRequest 请求对象
* @return ListStaticRoutesResponse
*/
public ListStaticRoutesResponse listStaticRoutes(ListStaticRoutesRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listStaticRoutes);
}
/**
* 查询静态路由列表
*
* 查询静态路由列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListStaticRoutesRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listStaticRoutesInvoker(
ListStaticRoutesRequest request) {
return new SyncInvoker(request, ErMeta.listStaticRoutes,
hcClient);
}
/**
* 查询静态路由详情
*
* 查询静态路由详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowStaticRouteRequest 请求对象
* @return ShowStaticRouteResponse
*/
public ShowStaticRouteResponse showStaticRoute(ShowStaticRouteRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showStaticRoute);
}
/**
* 查询静态路由详情
*
* 查询静态路由详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowStaticRouteRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showStaticRouteInvoker(
ShowStaticRouteRequest request) {
return new SyncInvoker(request, ErMeta.showStaticRoute,
hcClient);
}
/**
* 更新静态路由
*
* 更新静态路由
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateStaticRouteRequest 请求对象
* @return UpdateStaticRouteResponse
*/
public UpdateStaticRouteResponse updateStaticRoute(UpdateStaticRouteRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.updateStaticRoute);
}
/**
* 更新静态路由
*
* 更新静态路由
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateStaticRouteRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker updateStaticRouteInvoker(
UpdateStaticRouteRequest request) {
return new SyncInvoker(request, ErMeta.updateStaticRoute,
hcClient);
}
/**
* 创建路由表
*
* 路由表是企业路由器收发报文的依据,包含了连接的关联关系,传播关系以及路由信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateRouteTableRequest 请求对象
* @return CreateRouteTableResponse
*/
public CreateRouteTableResponse createRouteTable(CreateRouteTableRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.createRouteTable);
}
/**
* 创建路由表
*
* 路由表是企业路由器收发报文的依据,包含了连接的关联关系,传播关系以及路由信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateRouteTableRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker createRouteTableInvoker(
CreateRouteTableRequest request) {
return new SyncInvoker(request, ErMeta.createRouteTable,
hcClient);
}
/**
* 删除路由表
*
* 删除路由表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteRouteTableRequest 请求对象
* @return DeleteRouteTableResponse
*/
public DeleteRouteTableResponse deleteRouteTable(DeleteRouteTableRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.deleteRouteTable);
}
/**
* 删除路由表
*
* 删除路由表
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteRouteTableRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker deleteRouteTableInvoker(
DeleteRouteTableRequest request) {
return new SyncInvoker(request, ErMeta.deleteRouteTable,
hcClient);
}
/**
* 查询路由表列表
*
* 查询路由表列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRouteTablesRequest 请求对象
* @return ListRouteTablesResponse
*/
public ListRouteTablesResponse listRouteTables(ListRouteTablesRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listRouteTables);
}
/**
* 查询路由表列表
*
* 查询路由表列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListRouteTablesRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listRouteTablesInvoker(
ListRouteTablesRequest request) {
return new SyncInvoker(request, ErMeta.listRouteTables,
hcClient);
}
/**
* 查询路由表详情
*
* 查询路由表详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowRouteTableRequest 请求对象
* @return ShowRouteTableResponse
*/
public ShowRouteTableResponse showRouteTable(ShowRouteTableRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showRouteTable);
}
/**
* 查询路由表详情
*
* 查询路由表详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowRouteTableRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showRouteTableInvoker(
ShowRouteTableRequest request) {
return new SyncInvoker(request, ErMeta.showRouteTable, hcClient);
}
/**
* 更新路由表信息
*
* 更新路由表基本信息,如名称,描述等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateRouteTableRequest 请求对象
* @return UpdateRouteTableResponse
*/
public UpdateRouteTableResponse updateRouteTable(UpdateRouteTableRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.updateRouteTable);
}
/**
* 更新路由表信息
*
* 更新路由表基本信息,如名称,描述等。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateRouteTableRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker updateRouteTableInvoker(
UpdateRouteTableRequest request) {
return new SyncInvoker(request, ErMeta.updateRouteTable,
hcClient);
}
/**
* 批量添加删除资源标签
*
* - 为指定实例批量添加或删除标签
* - 标签管理服务需要使用该接口批量管理实例的标签。
* - 一个资源上最多有10个标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param BatchCreateResourceTagsRequest 请求对象
* @return BatchCreateResourceTagsResponse
*/
public BatchCreateResourceTagsResponse batchCreateResourceTags(BatchCreateResourceTagsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.batchCreateResourceTags);
}
/**
* 批量添加删除资源标签
*
* - 为指定实例批量添加或删除标签
* - 标签管理服务需要使用该接口批量管理实例的标签。
* - 一个资源上最多有10个标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param BatchCreateResourceTagsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker batchCreateResourceTagsInvoker(
BatchCreateResourceTagsRequest request) {
return new SyncInvoker(request,
ErMeta.batchCreateResourceTags, hcClient);
}
/**
* 创建资源标签
*
* 为特定类型的资源创建标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateResourceTagRequest 请求对象
* @return CreateResourceTagResponse
*/
public CreateResourceTagResponse createResourceTag(CreateResourceTagRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.createResourceTag);
}
/**
* 创建资源标签
*
* 为特定类型的资源创建标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateResourceTagRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker createResourceTagInvoker(
CreateResourceTagRequest request) {
return new SyncInvoker(request, ErMeta.createResourceTag,
hcClient);
}
/**
* 删除资源标签
*
* 删除特定类型资源的标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteResourceTagRequest 请求对象
* @return DeleteResourceTagResponse
*/
public DeleteResourceTagResponse deleteResourceTag(DeleteResourceTagRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.deleteResourceTag);
}
/**
* 删除资源标签
*
* 删除特定类型资源的标签。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteResourceTagRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker deleteResourceTagInvoker(
DeleteResourceTagRequest request) {
return new SyncInvoker(request, ErMeta.deleteResourceTag,
hcClient);
}
/**
* 查询项目标签
*
* 查询特定类型资源的标签集合。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListProjectTagsRequest 请求对象
* @return ListProjectTagsResponse
*/
public ListProjectTagsResponse listProjectTags(ListProjectTagsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listProjectTags);
}
/**
* 查询项目标签
*
* 查询特定类型资源的标签集合。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListProjectTagsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listProjectTagsInvoker(
ListProjectTagsRequest request) {
return new SyncInvoker(request, ErMeta.listProjectTags,
hcClient);
}
/**
* 查询资源标签
*
* 查询特定类型资源的标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowResourceTagRequest 请求对象
* @return ShowResourceTagResponse
*/
public ShowResourceTagResponse showResourceTag(ShowResourceTagRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showResourceTag);
}
/**
* 查询资源标签
*
* 查询特定类型资源的标签信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowResourceTagRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showResourceTagInvoker(
ShowResourceTagRequest request) {
return new SyncInvoker(request, ErMeta.showResourceTag,
hcClient);
}
/**
* 创建VPC连接
*
* 给ER实例创建VPC连接。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateVpcAttachmentRequest 请求对象
* @return CreateVpcAttachmentResponse
*/
public CreateVpcAttachmentResponse createVpcAttachment(CreateVpcAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.createVpcAttachment);
}
/**
* 创建VPC连接
*
* 给ER实例创建VPC连接。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param CreateVpcAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker createVpcAttachmentInvoker(
CreateVpcAttachmentRequest request) {
return new SyncInvoker(request,
ErMeta.createVpcAttachment, hcClient);
}
/**
* 删除VPC连接
*
* 删除VPC连接。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteVpcAttachmentRequest 请求对象
* @return DeleteVpcAttachmentResponse
*/
public DeleteVpcAttachmentResponse deleteVpcAttachment(DeleteVpcAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.deleteVpcAttachment);
}
/**
* 删除VPC连接
*
* 删除VPC连接。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param DeleteVpcAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker deleteVpcAttachmentInvoker(
DeleteVpcAttachmentRequest request) {
return new SyncInvoker(request,
ErMeta.deleteVpcAttachment, hcClient);
}
/**
* 查询VPC连接列表
*
* 查询企业路由器实例下的VPC连接列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListVpcAttachmentsRequest 请求对象
* @return ListVpcAttachmentsResponse
*/
public ListVpcAttachmentsResponse listVpcAttachments(ListVpcAttachmentsRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.listVpcAttachments);
}
/**
* 查询VPC连接列表
*
* 查询企业路由器实例下的VPC连接列表。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ListVpcAttachmentsRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker listVpcAttachmentsInvoker(
ListVpcAttachmentsRequest request) {
return new SyncInvoker(request,
ErMeta.listVpcAttachments, hcClient);
}
/**
* 查询VPC连接详情
*
* 查询VPC连接详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowVpcAttachmentRequest 请求对象
* @return ShowVpcAttachmentResponse
*/
public ShowVpcAttachmentResponse showVpcAttachment(ShowVpcAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.showVpcAttachment);
}
/**
* 查询VPC连接详情
*
* 查询VPC连接详情
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param ShowVpcAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker showVpcAttachmentInvoker(
ShowVpcAttachmentRequest request) {
return new SyncInvoker(request, ErMeta.showVpcAttachment,
hcClient);
}
/**
* 更新VPC连接基本信息
*
* 修改VPC连接基本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateVpcAttachmentRequest 请求对象
* @return UpdateVpcAttachmentResponse
*/
public UpdateVpcAttachmentResponse updateVpcAttachment(UpdateVpcAttachmentRequest request) {
return hcClient.syncInvokeHttp(request, ErMeta.updateVpcAttachment);
}
/**
* 更新VPC连接基本信息
*
* 修改VPC连接基本信息。
*
* Please refer to HUAWEI cloud API Explorer for details.
*
* @param UpdateVpcAttachmentRequest 请求对象
* @return SyncInvoker
*/
public SyncInvoker updateVpcAttachmentInvoker(
UpdateVpcAttachmentRequest request) {
return new SyncInvoker(request,
ErMeta.updateVpcAttachment, hcClient);
}
}