Documentation ¶
Index ¶
- func ErClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAssociateRouteTable() *def.HttpRequestDef
- func GenReqDefForChangeAvailabilityZone() *def.HttpRequestDef
- func GenReqDefForCreateEnterpriseRouter() *def.HttpRequestDef
- func GenReqDefForCreateRouteTable() *def.HttpRequestDef
- func GenReqDefForCreateStaticRoute() *def.HttpRequestDef
- func GenReqDefForCreateVpcAttachment() *def.HttpRequestDef
- func GenReqDefForDeleteEnterpriseRouter() *def.HttpRequestDef
- func GenReqDefForDeleteRouteTable() *def.HttpRequestDef
- func GenReqDefForDeleteStaticRoute() *def.HttpRequestDef
- func GenReqDefForDeleteVpcAttachment() *def.HttpRequestDef
- func GenReqDefForDisablePropagation() *def.HttpRequestDef
- func GenReqDefForDisassociateRouteTable() *def.HttpRequestDef
- func GenReqDefForEnablePropagation() *def.HttpRequestDef
- func GenReqDefForListAssociations() *def.HttpRequestDef
- func GenReqDefForListAttachments() *def.HttpRequestDef
- func GenReqDefForListAvailabilityZone() *def.HttpRequestDef
- func GenReqDefForListEffectiveRoutes() *def.HttpRequestDef
- func GenReqDefForListEnterpriseRouters() *def.HttpRequestDef
- func GenReqDefForListPropagations() *def.HttpRequestDef
- func GenReqDefForListRouteTables() *def.HttpRequestDef
- func GenReqDefForListStaticRoutes() *def.HttpRequestDef
- func GenReqDefForListVpcAttachments() *def.HttpRequestDef
- func GenReqDefForShowAttachment() *def.HttpRequestDef
- func GenReqDefForShowEnterpriseRouter() *def.HttpRequestDef
- func GenReqDefForShowRouteTable() *def.HttpRequestDef
- func GenReqDefForShowStaticRoute() *def.HttpRequestDef
- func GenReqDefForShowVpcAttachment() *def.HttpRequestDef
- func GenReqDefForUpdateAttachment() *def.HttpRequestDef
- func GenReqDefForUpdateEnterpriseRouter() *def.HttpRequestDef
- func GenReqDefForUpdateRouteTable() *def.HttpRequestDef
- func GenReqDefForUpdateStaticRoute() *def.HttpRequestDef
- func GenReqDefForUpdateVpcAttachment() *def.HttpRequestDef
- type AssociateRouteTableInvoker
- type ChangeAvailabilityZoneInvoker
- type CreateEnterpriseRouterInvoker
- type CreateRouteTableInvoker
- type CreateStaticRouteInvoker
- type CreateVpcAttachmentInvoker
- type DeleteEnterpriseRouterInvoker
- type DeleteRouteTableInvoker
- type DeleteStaticRouteInvoker
- type DeleteVpcAttachmentInvoker
- type DisablePropagationInvoker
- type DisassociateRouteTableInvoker
- type EnablePropagationInvoker
- type ErClient
- func (c *ErClient) AssociateRouteTable(request *model.AssociateRouteTableRequest) (*model.AssociateRouteTableResponse, error)
- func (c *ErClient) AssociateRouteTableInvoker(request *model.AssociateRouteTableRequest) *AssociateRouteTableInvoker
- func (c *ErClient) ChangeAvailabilityZone(request *model.ChangeAvailabilityZoneRequest) (*model.ChangeAvailabilityZoneResponse, error)
- func (c *ErClient) ChangeAvailabilityZoneInvoker(request *model.ChangeAvailabilityZoneRequest) *ChangeAvailabilityZoneInvoker
- func (c *ErClient) CreateEnterpriseRouter(request *model.CreateEnterpriseRouterRequest) (*model.CreateEnterpriseRouterResponse, error)
- func (c *ErClient) CreateEnterpriseRouterInvoker(request *model.CreateEnterpriseRouterRequest) *CreateEnterpriseRouterInvoker
- func (c *ErClient) CreateRouteTable(request *model.CreateRouteTableRequest) (*model.CreateRouteTableResponse, error)
- func (c *ErClient) CreateRouteTableInvoker(request *model.CreateRouteTableRequest) *CreateRouteTableInvoker
- func (c *ErClient) CreateStaticRoute(request *model.CreateStaticRouteRequest) (*model.CreateStaticRouteResponse, error)
- func (c *ErClient) CreateStaticRouteInvoker(request *model.CreateStaticRouteRequest) *CreateStaticRouteInvoker
- func (c *ErClient) CreateVpcAttachment(request *model.CreateVpcAttachmentRequest) (*model.CreateVpcAttachmentResponse, error)
- func (c *ErClient) CreateVpcAttachmentInvoker(request *model.CreateVpcAttachmentRequest) *CreateVpcAttachmentInvoker
- func (c *ErClient) DeleteEnterpriseRouter(request *model.DeleteEnterpriseRouterRequest) (*model.DeleteEnterpriseRouterResponse, error)
- func (c *ErClient) DeleteEnterpriseRouterInvoker(request *model.DeleteEnterpriseRouterRequest) *DeleteEnterpriseRouterInvoker
- func (c *ErClient) DeleteRouteTable(request *model.DeleteRouteTableRequest) (*model.DeleteRouteTableResponse, error)
- func (c *ErClient) DeleteRouteTableInvoker(request *model.DeleteRouteTableRequest) *DeleteRouteTableInvoker
- func (c *ErClient) DeleteStaticRoute(request *model.DeleteStaticRouteRequest) (*model.DeleteStaticRouteResponse, error)
- func (c *ErClient) DeleteStaticRouteInvoker(request *model.DeleteStaticRouteRequest) *DeleteStaticRouteInvoker
- func (c *ErClient) DeleteVpcAttachment(request *model.DeleteVpcAttachmentRequest) (*model.DeleteVpcAttachmentResponse, error)
- func (c *ErClient) DeleteVpcAttachmentInvoker(request *model.DeleteVpcAttachmentRequest) *DeleteVpcAttachmentInvoker
- func (c *ErClient) DisablePropagation(request *model.DisablePropagationRequest) (*model.DisablePropagationResponse, error)
- func (c *ErClient) DisablePropagationInvoker(request *model.DisablePropagationRequest) *DisablePropagationInvoker
- func (c *ErClient) DisassociateRouteTable(request *model.DisassociateRouteTableRequest) (*model.DisassociateRouteTableResponse, error)
- func (c *ErClient) DisassociateRouteTableInvoker(request *model.DisassociateRouteTableRequest) *DisassociateRouteTableInvoker
- func (c *ErClient) EnablePropagation(request *model.EnablePropagationRequest) (*model.EnablePropagationResponse, error)
- func (c *ErClient) EnablePropagationInvoker(request *model.EnablePropagationRequest) *EnablePropagationInvoker
- func (c *ErClient) ListAssociations(request *model.ListAssociationsRequest) (*model.ListAssociationsResponse, error)
- func (c *ErClient) ListAssociationsInvoker(request *model.ListAssociationsRequest) *ListAssociationsInvoker
- func (c *ErClient) ListAttachments(request *model.ListAttachmentsRequest) (*model.ListAttachmentsResponse, error)
- func (c *ErClient) ListAttachmentsInvoker(request *model.ListAttachmentsRequest) *ListAttachmentsInvoker
- func (c *ErClient) ListAvailabilityZone(request *model.ListAvailabilityZoneRequest) (*model.ListAvailabilityZoneResponse, error)
- func (c *ErClient) ListAvailabilityZoneInvoker(request *model.ListAvailabilityZoneRequest) *ListAvailabilityZoneInvoker
- func (c *ErClient) ListEffectiveRoutes(request *model.ListEffectiveRoutesRequest) (*model.ListEffectiveRoutesResponse, error)
- func (c *ErClient) ListEffectiveRoutesInvoker(request *model.ListEffectiveRoutesRequest) *ListEffectiveRoutesInvoker
- func (c *ErClient) ListEnterpriseRouters(request *model.ListEnterpriseRoutersRequest) (*model.ListEnterpriseRoutersResponse, error)
- func (c *ErClient) ListEnterpriseRoutersInvoker(request *model.ListEnterpriseRoutersRequest) *ListEnterpriseRoutersInvoker
- func (c *ErClient) ListPropagations(request *model.ListPropagationsRequest) (*model.ListPropagationsResponse, error)
- func (c *ErClient) ListPropagationsInvoker(request *model.ListPropagationsRequest) *ListPropagationsInvoker
- func (c *ErClient) ListRouteTables(request *model.ListRouteTablesRequest) (*model.ListRouteTablesResponse, error)
- func (c *ErClient) ListRouteTablesInvoker(request *model.ListRouteTablesRequest) *ListRouteTablesInvoker
- func (c *ErClient) ListStaticRoutes(request *model.ListStaticRoutesRequest) (*model.ListStaticRoutesResponse, error)
- func (c *ErClient) ListStaticRoutesInvoker(request *model.ListStaticRoutesRequest) *ListStaticRoutesInvoker
- func (c *ErClient) ListVpcAttachments(request *model.ListVpcAttachmentsRequest) (*model.ListVpcAttachmentsResponse, error)
- func (c *ErClient) ListVpcAttachmentsInvoker(request *model.ListVpcAttachmentsRequest) *ListVpcAttachmentsInvoker
- func (c *ErClient) ShowAttachment(request *model.ShowAttachmentRequest) (*model.ShowAttachmentResponse, error)
- func (c *ErClient) ShowAttachmentInvoker(request *model.ShowAttachmentRequest) *ShowAttachmentInvoker
- func (c *ErClient) ShowEnterpriseRouter(request *model.ShowEnterpriseRouterRequest) (*model.ShowEnterpriseRouterResponse, error)
- func (c *ErClient) ShowEnterpriseRouterInvoker(request *model.ShowEnterpriseRouterRequest) *ShowEnterpriseRouterInvoker
- func (c *ErClient) ShowRouteTable(request *model.ShowRouteTableRequest) (*model.ShowRouteTableResponse, error)
- func (c *ErClient) ShowRouteTableInvoker(request *model.ShowRouteTableRequest) *ShowRouteTableInvoker
- func (c *ErClient) ShowStaticRoute(request *model.ShowStaticRouteRequest) (*model.ShowStaticRouteResponse, error)
- func (c *ErClient) ShowStaticRouteInvoker(request *model.ShowStaticRouteRequest) *ShowStaticRouteInvoker
- func (c *ErClient) ShowVpcAttachment(request *model.ShowVpcAttachmentRequest) (*model.ShowVpcAttachmentResponse, error)
- func (c *ErClient) ShowVpcAttachmentInvoker(request *model.ShowVpcAttachmentRequest) *ShowVpcAttachmentInvoker
- func (c *ErClient) UpdateAttachment(request *model.UpdateAttachmentRequest) (*model.UpdateAttachmentResponse, error)
- func (c *ErClient) UpdateAttachmentInvoker(request *model.UpdateAttachmentRequest) *UpdateAttachmentInvoker
- func (c *ErClient) UpdateEnterpriseRouter(request *model.UpdateEnterpriseRouterRequest) (*model.UpdateEnterpriseRouterResponse, error)
- func (c *ErClient) UpdateEnterpriseRouterInvoker(request *model.UpdateEnterpriseRouterRequest) *UpdateEnterpriseRouterInvoker
- func (c *ErClient) UpdateRouteTable(request *model.UpdateRouteTableRequest) (*model.UpdateRouteTableResponse, error)
- func (c *ErClient) UpdateRouteTableInvoker(request *model.UpdateRouteTableRequest) *UpdateRouteTableInvoker
- func (c *ErClient) UpdateStaticRoute(request *model.UpdateStaticRouteRequest) (*model.UpdateStaticRouteResponse, error)
- func (c *ErClient) UpdateStaticRouteInvoker(request *model.UpdateStaticRouteRequest) *UpdateStaticRouteInvoker
- func (c *ErClient) UpdateVpcAttachment(request *model.UpdateVpcAttachmentRequest) (*model.UpdateVpcAttachmentResponse, error)
- func (c *ErClient) UpdateVpcAttachmentInvoker(request *model.UpdateVpcAttachmentRequest) *UpdateVpcAttachmentInvoker
- type ListAssociationsInvoker
- type ListAttachmentsInvoker
- type ListAvailabilityZoneInvoker
- type ListEffectiveRoutesInvoker
- type ListEnterpriseRoutersInvoker
- type ListPropagationsInvoker
- type ListRouteTablesInvoker
- type ListStaticRoutesInvoker
- type ListVpcAttachmentsInvoker
- type ShowAttachmentInvoker
- type ShowEnterpriseRouterInvoker
- type ShowRouteTableInvoker
- type ShowStaticRouteInvoker
- type ShowVpcAttachmentInvoker
- type UpdateAttachmentInvoker
- type UpdateEnterpriseRouterInvoker
- type UpdateRouteTableInvoker
- type UpdateStaticRouteInvoker
- type UpdateVpcAttachmentInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErClientBuilder ¶
func ErClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAssociateRouteTable ¶
func GenReqDefForAssociateRouteTable() *def.HttpRequestDef
func GenReqDefForChangeAvailabilityZone ¶
func GenReqDefForChangeAvailabilityZone() *def.HttpRequestDef
func GenReqDefForCreateEnterpriseRouter ¶
func GenReqDefForCreateEnterpriseRouter() *def.HttpRequestDef
func GenReqDefForCreateRouteTable ¶
func GenReqDefForCreateRouteTable() *def.HttpRequestDef
func GenReqDefForCreateStaticRoute ¶
func GenReqDefForCreateStaticRoute() *def.HttpRequestDef
func GenReqDefForCreateVpcAttachment ¶
func GenReqDefForCreateVpcAttachment() *def.HttpRequestDef
func GenReqDefForDeleteEnterpriseRouter ¶
func GenReqDefForDeleteEnterpriseRouter() *def.HttpRequestDef
func GenReqDefForDeleteRouteTable ¶
func GenReqDefForDeleteRouteTable() *def.HttpRequestDef
func GenReqDefForDeleteStaticRoute ¶
func GenReqDefForDeleteStaticRoute() *def.HttpRequestDef
func GenReqDefForDeleteVpcAttachment ¶
func GenReqDefForDeleteVpcAttachment() *def.HttpRequestDef
func GenReqDefForDisablePropagation ¶
func GenReqDefForDisablePropagation() *def.HttpRequestDef
func GenReqDefForDisassociateRouteTable ¶
func GenReqDefForDisassociateRouteTable() *def.HttpRequestDef
func GenReqDefForEnablePropagation ¶
func GenReqDefForEnablePropagation() *def.HttpRequestDef
func GenReqDefForListAssociations ¶
func GenReqDefForListAssociations() *def.HttpRequestDef
func GenReqDefForListAttachments ¶
func GenReqDefForListAttachments() *def.HttpRequestDef
func GenReqDefForListAvailabilityZone ¶
func GenReqDefForListAvailabilityZone() *def.HttpRequestDef
func GenReqDefForListEffectiveRoutes ¶
func GenReqDefForListEffectiveRoutes() *def.HttpRequestDef
func GenReqDefForListEnterpriseRouters ¶
func GenReqDefForListEnterpriseRouters() *def.HttpRequestDef
func GenReqDefForListPropagations ¶
func GenReqDefForListPropagations() *def.HttpRequestDef
func GenReqDefForListRouteTables ¶
func GenReqDefForListRouteTables() *def.HttpRequestDef
func GenReqDefForListStaticRoutes ¶
func GenReqDefForListStaticRoutes() *def.HttpRequestDef
func GenReqDefForListVpcAttachments ¶
func GenReqDefForListVpcAttachments() *def.HttpRequestDef
func GenReqDefForShowAttachment ¶
func GenReqDefForShowAttachment() *def.HttpRequestDef
func GenReqDefForShowEnterpriseRouter ¶
func GenReqDefForShowEnterpriseRouter() *def.HttpRequestDef
func GenReqDefForShowRouteTable ¶
func GenReqDefForShowRouteTable() *def.HttpRequestDef
func GenReqDefForShowStaticRoute ¶
func GenReqDefForShowStaticRoute() *def.HttpRequestDef
func GenReqDefForShowVpcAttachment ¶
func GenReqDefForShowVpcAttachment() *def.HttpRequestDef
func GenReqDefForUpdateAttachment ¶
func GenReqDefForUpdateAttachment() *def.HttpRequestDef
func GenReqDefForUpdateEnterpriseRouter ¶
func GenReqDefForUpdateEnterpriseRouter() *def.HttpRequestDef
func GenReqDefForUpdateRouteTable ¶
func GenReqDefForUpdateRouteTable() *def.HttpRequestDef
func GenReqDefForUpdateStaticRoute ¶
func GenReqDefForUpdateStaticRoute() *def.HttpRequestDef
func GenReqDefForUpdateVpcAttachment ¶
func GenReqDefForUpdateVpcAttachment() *def.HttpRequestDef
Types ¶
type AssociateRouteTableInvoker ¶
type AssociateRouteTableInvoker struct {
*invoker.BaseInvoker
}
func (*AssociateRouteTableInvoker) Invoke ¶
func (i *AssociateRouteTableInvoker) Invoke() (*model.AssociateRouteTableResponse, error)
type ChangeAvailabilityZoneInvoker ¶
type ChangeAvailabilityZoneInvoker struct {
*invoker.BaseInvoker
}
func (*ChangeAvailabilityZoneInvoker) Invoke ¶
func (i *ChangeAvailabilityZoneInvoker) Invoke() (*model.ChangeAvailabilityZoneResponse, error)
type CreateEnterpriseRouterInvoker ¶
type CreateEnterpriseRouterInvoker struct {
*invoker.BaseInvoker
}
func (*CreateEnterpriseRouterInvoker) Invoke ¶
func (i *CreateEnterpriseRouterInvoker) Invoke() (*model.CreateEnterpriseRouterResponse, error)
type CreateRouteTableInvoker ¶
type CreateRouteTableInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRouteTableInvoker) Invoke ¶
func (i *CreateRouteTableInvoker) Invoke() (*model.CreateRouteTableResponse, error)
type CreateStaticRouteInvoker ¶
type CreateStaticRouteInvoker struct {
*invoker.BaseInvoker
}
func (*CreateStaticRouteInvoker) Invoke ¶
func (i *CreateStaticRouteInvoker) Invoke() (*model.CreateStaticRouteResponse, error)
type CreateVpcAttachmentInvoker ¶
type CreateVpcAttachmentInvoker struct {
*invoker.BaseInvoker
}
func (*CreateVpcAttachmentInvoker) Invoke ¶
func (i *CreateVpcAttachmentInvoker) Invoke() (*model.CreateVpcAttachmentResponse, error)
type DeleteEnterpriseRouterInvoker ¶
type DeleteEnterpriseRouterInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteEnterpriseRouterInvoker) Invoke ¶
func (i *DeleteEnterpriseRouterInvoker) Invoke() (*model.DeleteEnterpriseRouterResponse, error)
type DeleteRouteTableInvoker ¶
type DeleteRouteTableInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteRouteTableInvoker) Invoke ¶
func (i *DeleteRouteTableInvoker) Invoke() (*model.DeleteRouteTableResponse, error)
type DeleteStaticRouteInvoker ¶
type DeleteStaticRouteInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteStaticRouteInvoker) Invoke ¶
func (i *DeleteStaticRouteInvoker) Invoke() (*model.DeleteStaticRouteResponse, error)
type DeleteVpcAttachmentInvoker ¶
type DeleteVpcAttachmentInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteVpcAttachmentInvoker) Invoke ¶
func (i *DeleteVpcAttachmentInvoker) Invoke() (*model.DeleteVpcAttachmentResponse, error)
type DisablePropagationInvoker ¶
type DisablePropagationInvoker struct {
*invoker.BaseInvoker
}
func (*DisablePropagationInvoker) Invoke ¶
func (i *DisablePropagationInvoker) Invoke() (*model.DisablePropagationResponse, error)
type DisassociateRouteTableInvoker ¶
type DisassociateRouteTableInvoker struct {
*invoker.BaseInvoker
}
func (*DisassociateRouteTableInvoker) Invoke ¶
func (i *DisassociateRouteTableInvoker) Invoke() (*model.DisassociateRouteTableResponse, error)
type EnablePropagationInvoker ¶
type EnablePropagationInvoker struct {
*invoker.BaseInvoker
}
func (*EnablePropagationInvoker) Invoke ¶
func (i *EnablePropagationInvoker) Invoke() (*model.EnablePropagationResponse, error)
type ErClient ¶
type ErClient struct {
HcClient *http_client.HcHttpClient
}
func NewErClient ¶
func NewErClient(hcClient *http_client.HcHttpClient) *ErClient
func (*ErClient) AssociateRouteTable ¶
func (c *ErClient) AssociateRouteTable(request *model.AssociateRouteTableRequest) (*model.AssociateRouteTableResponse, error)
AssociateRouteTable 创建路由关联
每个连接只能关联到一张路由表。通过创建关联将连接关联到路由表,从该连接收到的报文会用被关联的路由表进行路由。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) AssociateRouteTableInvoker ¶
func (c *ErClient) AssociateRouteTableInvoker(request *model.AssociateRouteTableRequest) *AssociateRouteTableInvoker
AssociateRouteTableInvoker 创建路由关联
func (*ErClient) ChangeAvailabilityZone ¶
func (c *ErClient) ChangeAvailabilityZone(request *model.ChangeAvailabilityZoneRequest) (*model.ChangeAvailabilityZoneResponse, error)
ChangeAvailabilityZone 更新企业路由器的可用区信息
更新企业路由器的可用区信息,企业路由器实例状态为available的时候才能更新。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ChangeAvailabilityZoneInvoker ¶
func (c *ErClient) ChangeAvailabilityZoneInvoker(request *model.ChangeAvailabilityZoneRequest) *ChangeAvailabilityZoneInvoker
ChangeAvailabilityZoneInvoker 更新企业路由器的可用区信息
func (*ErClient) CreateEnterpriseRouter ¶
func (c *ErClient) CreateEnterpriseRouter(request *model.CreateEnterpriseRouterRequest) (*model.CreateEnterpriseRouterResponse, error)
CreateEnterpriseRouter 创建企业路由器
创建企业路由器实例,如果使能默认关联路由表或使能默认传递路由表,那么系统会默认创建一张路由表,作为默认关联路由表或默认传递路由表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) CreateEnterpriseRouterInvoker ¶
func (c *ErClient) CreateEnterpriseRouterInvoker(request *model.CreateEnterpriseRouterRequest) *CreateEnterpriseRouterInvoker
CreateEnterpriseRouterInvoker 创建企业路由器
func (*ErClient) CreateRouteTable ¶
func (c *ErClient) CreateRouteTable(request *model.CreateRouteTableRequest) (*model.CreateRouteTableResponse, error)
CreateRouteTable 创建路由表
路由表是企业路由器收发报文的依据,包含了连接的关联关系,传播关系以及路由信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) CreateRouteTableInvoker ¶
func (c *ErClient) CreateRouteTableInvoker(request *model.CreateRouteTableRequest) *CreateRouteTableInvoker
CreateRouteTableInvoker 创建路由表
func (*ErClient) CreateStaticRoute ¶
func (c *ErClient) CreateStaticRoute(request *model.CreateStaticRouteRequest) (*model.CreateStaticRouteResponse, error)
CreateStaticRoute 创建静态路由
创建静态路由
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) CreateStaticRouteInvoker ¶
func (c *ErClient) CreateStaticRouteInvoker(request *model.CreateStaticRouteRequest) *CreateStaticRouteInvoker
CreateStaticRouteInvoker 创建静态路由
func (*ErClient) CreateVpcAttachment ¶
func (c *ErClient) CreateVpcAttachment(request *model.CreateVpcAttachmentRequest) (*model.CreateVpcAttachmentResponse, error)
CreateVpcAttachment 创建VPC连接
给ER实例创建VPC连接。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) CreateVpcAttachmentInvoker ¶
func (c *ErClient) CreateVpcAttachmentInvoker(request *model.CreateVpcAttachmentRequest) *CreateVpcAttachmentInvoker
CreateVpcAttachmentInvoker 创建VPC连接
func (*ErClient) DeleteEnterpriseRouter ¶
func (c *ErClient) DeleteEnterpriseRouter(request *model.DeleteEnterpriseRouterRequest) (*model.DeleteEnterpriseRouterResponse, error)
DeleteEnterpriseRouter 删除企业路由器
1. 只能删除企业路由器实例和其创建的默认路由表,如果存在其他路由表和连接,那么需要先删除其他路由表、连接、关联、传播和路由条目等。 2. 企业路由器实例状态为available,deleting和failed的时候才能删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) DeleteEnterpriseRouterInvoker ¶
func (c *ErClient) DeleteEnterpriseRouterInvoker(request *model.DeleteEnterpriseRouterRequest) *DeleteEnterpriseRouterInvoker
DeleteEnterpriseRouterInvoker 删除企业路由器
func (*ErClient) DeleteRouteTable ¶
func (c *ErClient) DeleteRouteTable(request *model.DeleteRouteTableRequest) (*model.DeleteRouteTableResponse, error)
DeleteRouteTable 删除路由表
删除路由表
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) DeleteRouteTableInvoker ¶
func (c *ErClient) DeleteRouteTableInvoker(request *model.DeleteRouteTableRequest) *DeleteRouteTableInvoker
DeleteRouteTableInvoker 删除路由表
func (*ErClient) DeleteStaticRoute ¶
func (c *ErClient) DeleteStaticRoute(request *model.DeleteStaticRouteRequest) (*model.DeleteStaticRouteResponse, error)
DeleteStaticRoute 删除静态路由
删除静态路由
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) DeleteStaticRouteInvoker ¶
func (c *ErClient) DeleteStaticRouteInvoker(request *model.DeleteStaticRouteRequest) *DeleteStaticRouteInvoker
DeleteStaticRouteInvoker 删除静态路由
func (*ErClient) DeleteVpcAttachment ¶
func (c *ErClient) DeleteVpcAttachment(request *model.DeleteVpcAttachmentRequest) (*model.DeleteVpcAttachmentResponse, error)
DeleteVpcAttachment 删除VPC连接
VPC连接状态为available,deleting和failed的时候才能删除。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) DeleteVpcAttachmentInvoker ¶
func (c *ErClient) DeleteVpcAttachmentInvoker(request *model.DeleteVpcAttachmentRequest) *DeleteVpcAttachmentInvoker
DeleteVpcAttachmentInvoker 删除VPC连接
func (*ErClient) DisablePropagation ¶
func (c *ErClient) DisablePropagation(request *model.DisablePropagationRequest) (*model.DisablePropagationResponse, error)
DisablePropagation 删除路由传播
解绑连接和路由表的传播关系。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) DisablePropagationInvoker ¶
func (c *ErClient) DisablePropagationInvoker(request *model.DisablePropagationRequest) *DisablePropagationInvoker
DisablePropagationInvoker 删除路由传播
func (*ErClient) DisassociateRouteTable ¶
func (c *ErClient) DisassociateRouteTable(request *model.DisassociateRouteTableRequest) (*model.DisassociateRouteTableResponse, error)
DisassociateRouteTable 删除路由关联
解绑连接和路由表的关联关系。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) DisassociateRouteTableInvoker ¶
func (c *ErClient) DisassociateRouteTableInvoker(request *model.DisassociateRouteTableRequest) *DisassociateRouteTableInvoker
DisassociateRouteTableInvoker 删除路由关联
func (*ErClient) EnablePropagation ¶
func (c *ErClient) EnablePropagation(request *model.EnablePropagationRequest) (*model.EnablePropagationResponse, error)
EnablePropagation 创建路由传播
每个连接可以和多个路由表建立传播关系,从该连接学习到的路由会应用到具有传播关系的路由表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) EnablePropagationInvoker ¶
func (c *ErClient) EnablePropagationInvoker(request *model.EnablePropagationRequest) *EnablePropagationInvoker
EnablePropagationInvoker 创建路由传播
func (*ErClient) ListAssociations ¶
func (c *ErClient) ListAssociations(request *model.ListAssociationsRequest) (*model.ListAssociationsResponse, error)
ListAssociations 查询路由关联列表
支持分页查询, 支持过滤查询:state, resource_type, attachment_id。支持单字段排序,排序字段有[id,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListAssociationsInvoker ¶
func (c *ErClient) ListAssociationsInvoker(request *model.ListAssociationsRequest) *ListAssociationsInvoker
ListAssociationsInvoker 查询路由关联列表
func (*ErClient) ListAttachments ¶
func (c *ErClient) ListAttachments(request *model.ListAttachmentsRequest) (*model.ListAttachmentsResponse, error)
ListAttachments 查询连接列表
查询企业路由器实例下的连接列表:
1,支持过滤查询,过滤条件有state,resource_type,resource_id过滤条件可以重复和组合
2,支持分页查询,limit和marker组合实现分页查询 3,支持单字段排序,排序字段有[id,name,description,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListAttachmentsInvoker ¶
func (c *ErClient) ListAttachmentsInvoker(request *model.ListAttachmentsRequest) *ListAttachmentsInvoker
ListAttachmentsInvoker 查询连接列表
func (*ErClient) ListAvailabilityZone ¶
func (c *ErClient) ListAvailabilityZone(request *model.ListAvailabilityZoneRequest) (*model.ListAvailabilityZoneResponse, error)
ListAvailabilityZone 查询可用区列表
查询支持创建企业路由器实例的可用区列表,当可用区状态为available时,表示可以创建企业路由器实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListAvailabilityZoneInvoker ¶
func (c *ErClient) ListAvailabilityZoneInvoker(request *model.ListAvailabilityZoneRequest) *ListAvailabilityZoneInvoker
ListAvailabilityZoneInvoker 查询可用区列表
func (*ErClient) ListEffectiveRoutes ¶
func (c *ErClient) ListEffectiveRoutes(request *model.ListEffectiveRoutesRequest) (*model.ListEffectiveRoutesResponse, error)
ListEffectiveRoutes 查询有效路由列表
查询有效的路由列表,支持分页查询能力
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListEffectiveRoutesInvoker ¶
func (c *ErClient) ListEffectiveRoutesInvoker(request *model.ListEffectiveRoutesRequest) *ListEffectiveRoutesInvoker
ListEffectiveRoutesInvoker 查询有效路由列表
func (*ErClient) ListEnterpriseRouters ¶
func (c *ErClient) ListEnterpriseRouters(request *model.ListEnterpriseRoutersRequest) (*model.ListEnterpriseRoutersResponse, error)
ListEnterpriseRouters 查询企业路由器实例列表
分页查询使用的参数为marker、limit。marker和limit一起使用时才会生效,单独使用无效。支持单字段排序,排序字段有[id,name,description,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListEnterpriseRoutersInvoker ¶
func (c *ErClient) ListEnterpriseRoutersInvoker(request *model.ListEnterpriseRoutersRequest) *ListEnterpriseRoutersInvoker
ListEnterpriseRoutersInvoker 查询企业路由器实例列表
func (*ErClient) ListPropagations ¶
func (c *ErClient) ListPropagations(request *model.ListPropagationsRequest) (*model.ListPropagationsResponse, error)
ListPropagations 查询路由传播列表
支持分页查询, 支持过滤查询:state, resource_type, attachment_id。支持单字段排序,排序字段有[id,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListPropagationsInvoker ¶
func (c *ErClient) ListPropagationsInvoker(request *model.ListPropagationsRequest) *ListPropagationsInvoker
ListPropagationsInvoker 查询路由传播列表
func (*ErClient) ListRouteTables ¶
func (c *ErClient) ListRouteTables(request *model.ListRouteTablesRequest) (*model.ListRouteTablesResponse, error)
ListRouteTables 查询路由表列表
支持分页查询, 支持过滤查询:state, is_default_propagation_route_table, is_default_association_route_table。支持单字段排序,排序字段有[id,name,description,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListRouteTablesInvoker ¶
func (c *ErClient) ListRouteTablesInvoker(request *model.ListRouteTablesRequest) *ListRouteTablesInvoker
ListRouteTablesInvoker 查询路由表列表
func (*ErClient) ListStaticRoutes ¶
func (c *ErClient) ListStaticRoutes(request *model.ListStaticRoutesRequest) (*model.ListStaticRoutesResponse, error)
ListStaticRoutes 查询静态路由列表
支持分页查询,支持过滤查询:destination,attachment_id, resource_type, type.支持单字段排序,排序字段有[id,destination,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListStaticRoutesInvoker ¶
func (c *ErClient) ListStaticRoutesInvoker(request *model.ListStaticRoutesRequest) *ListStaticRoutesInvoker
ListStaticRoutesInvoker 查询静态路由列表
func (*ErClient) ListVpcAttachments ¶
func (c *ErClient) ListVpcAttachments(request *model.ListVpcAttachmentsRequest) (*model.ListVpcAttachmentsResponse, error)
ListVpcAttachments 查询VPC连接列表
查询企业路由器实例下的VPC连接列表: 1,支持过滤查询,过滤条件有id,state,enterprise_project_id,vpc_id,过滤条件可以重复和组合 2,支持分页查询,limit和marker组合实现分页查询 3,支持单字段排序功能,排序字段有[id,name,description,created_at,updated_at],不支持多字段排序。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ListVpcAttachmentsInvoker ¶
func (c *ErClient) ListVpcAttachmentsInvoker(request *model.ListVpcAttachmentsRequest) *ListVpcAttachmentsInvoker
ListVpcAttachmentsInvoker 查询VPC连接列表
func (*ErClient) ShowAttachment ¶
func (c *ErClient) ShowAttachment(request *model.ShowAttachmentRequest) (*model.ShowAttachmentResponse, error)
ShowAttachment 查询连接详情
查询连接详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ShowAttachmentInvoker ¶
func (c *ErClient) ShowAttachmentInvoker(request *model.ShowAttachmentRequest) *ShowAttachmentInvoker
ShowAttachmentInvoker 查询连接详情
func (*ErClient) ShowEnterpriseRouter ¶
func (c *ErClient) ShowEnterpriseRouter(request *model.ShowEnterpriseRouterRequest) (*model.ShowEnterpriseRouterResponse, error)
ShowEnterpriseRouter 查询企业路由器详情
查询企业路由器详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ShowEnterpriseRouterInvoker ¶
func (c *ErClient) ShowEnterpriseRouterInvoker(request *model.ShowEnterpriseRouterRequest) *ShowEnterpriseRouterInvoker
ShowEnterpriseRouterInvoker 查询企业路由器详情
func (*ErClient) ShowRouteTable ¶
func (c *ErClient) ShowRouteTable(request *model.ShowRouteTableRequest) (*model.ShowRouteTableResponse, error)
ShowRouteTable 查询路由表详情
查询路由表详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ShowRouteTableInvoker ¶
func (c *ErClient) ShowRouteTableInvoker(request *model.ShowRouteTableRequest) *ShowRouteTableInvoker
ShowRouteTableInvoker 查询路由表详情
func (*ErClient) ShowStaticRoute ¶
func (c *ErClient) ShowStaticRoute(request *model.ShowStaticRouteRequest) (*model.ShowStaticRouteResponse, error)
ShowStaticRoute 查询路由详情
查询路由详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ShowStaticRouteInvoker ¶
func (c *ErClient) ShowStaticRouteInvoker(request *model.ShowStaticRouteRequest) *ShowStaticRouteInvoker
ShowStaticRouteInvoker 查询路由详情
func (*ErClient) ShowVpcAttachment ¶
func (c *ErClient) ShowVpcAttachment(request *model.ShowVpcAttachmentRequest) (*model.ShowVpcAttachmentResponse, error)
ShowVpcAttachment 查询VPC连接详情
查询VPC连接详情
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) ShowVpcAttachmentInvoker ¶
func (c *ErClient) ShowVpcAttachmentInvoker(request *model.ShowVpcAttachmentRequest) *ShowVpcAttachmentInvoker
ShowVpcAttachmentInvoker 查询VPC连接详情
func (*ErClient) UpdateAttachment ¶
func (c *ErClient) UpdateAttachment(request *model.UpdateAttachmentRequest) (*model.UpdateAttachmentResponse, error)
UpdateAttachment 更新连接基本信息
修改连接基本信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) UpdateAttachmentInvoker ¶
func (c *ErClient) UpdateAttachmentInvoker(request *model.UpdateAttachmentRequest) *UpdateAttachmentInvoker
UpdateAttachmentInvoker 更新连接基本信息
func (*ErClient) UpdateEnterpriseRouter ¶
func (c *ErClient) UpdateEnterpriseRouter(request *model.UpdateEnterpriseRouterRequest) (*model.UpdateEnterpriseRouterResponse, error)
UpdateEnterpriseRouter 更新企业路由器
除了name和description,其它信息只有在企业路由器实例状态为available的时候才能更新。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) UpdateEnterpriseRouterInvoker ¶
func (c *ErClient) UpdateEnterpriseRouterInvoker(request *model.UpdateEnterpriseRouterRequest) *UpdateEnterpriseRouterInvoker
UpdateEnterpriseRouterInvoker 更新企业路由器
func (*ErClient) UpdateRouteTable ¶
func (c *ErClient) UpdateRouteTable(request *model.UpdateRouteTableRequest) (*model.UpdateRouteTableResponse, error)
UpdateRouteTable 更新路由表信息
更新路由表基本信息,如名称,描述等。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) UpdateRouteTableInvoker ¶
func (c *ErClient) UpdateRouteTableInvoker(request *model.UpdateRouteTableRequest) *UpdateRouteTableInvoker
UpdateRouteTableInvoker 更新路由表信息
func (*ErClient) UpdateStaticRoute ¶
func (c *ErClient) UpdateStaticRoute(request *model.UpdateStaticRouteRequest) (*model.UpdateStaticRouteResponse, error)
UpdateStaticRoute 修改路由
修改静态路由
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) UpdateStaticRouteInvoker ¶
func (c *ErClient) UpdateStaticRouteInvoker(request *model.UpdateStaticRouteRequest) *UpdateStaticRouteInvoker
UpdateStaticRouteInvoker 修改路由
func (*ErClient) UpdateVpcAttachment ¶
func (c *ErClient) UpdateVpcAttachment(request *model.UpdateVpcAttachmentRequest) (*model.UpdateVpcAttachmentResponse, error)
UpdateVpcAttachment 更新VPC连接基本信息
修改VPC连接基本信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*ErClient) UpdateVpcAttachmentInvoker ¶
func (c *ErClient) UpdateVpcAttachmentInvoker(request *model.UpdateVpcAttachmentRequest) *UpdateVpcAttachmentInvoker
UpdateVpcAttachmentInvoker 更新VPC连接基本信息
type ListAssociationsInvoker ¶
type ListAssociationsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAssociationsInvoker) Invoke ¶
func (i *ListAssociationsInvoker) Invoke() (*model.ListAssociationsResponse, error)
type ListAttachmentsInvoker ¶
type ListAttachmentsInvoker struct {
*invoker.BaseInvoker
}
func (*ListAttachmentsInvoker) Invoke ¶
func (i *ListAttachmentsInvoker) Invoke() (*model.ListAttachmentsResponse, error)
type ListAvailabilityZoneInvoker ¶
type ListAvailabilityZoneInvoker struct {
*invoker.BaseInvoker
}
func (*ListAvailabilityZoneInvoker) Invoke ¶
func (i *ListAvailabilityZoneInvoker) Invoke() (*model.ListAvailabilityZoneResponse, error)
type ListEffectiveRoutesInvoker ¶
type ListEffectiveRoutesInvoker struct {
*invoker.BaseInvoker
}
func (*ListEffectiveRoutesInvoker) Invoke ¶
func (i *ListEffectiveRoutesInvoker) Invoke() (*model.ListEffectiveRoutesResponse, error)
type ListEnterpriseRoutersInvoker ¶
type ListEnterpriseRoutersInvoker struct {
*invoker.BaseInvoker
}
func (*ListEnterpriseRoutersInvoker) Invoke ¶
func (i *ListEnterpriseRoutersInvoker) Invoke() (*model.ListEnterpriseRoutersResponse, error)
type ListPropagationsInvoker ¶
type ListPropagationsInvoker struct {
*invoker.BaseInvoker
}
func (*ListPropagationsInvoker) Invoke ¶
func (i *ListPropagationsInvoker) Invoke() (*model.ListPropagationsResponse, error)
type ListRouteTablesInvoker ¶
type ListRouteTablesInvoker struct {
*invoker.BaseInvoker
}
func (*ListRouteTablesInvoker) Invoke ¶
func (i *ListRouteTablesInvoker) Invoke() (*model.ListRouteTablesResponse, error)
type ListStaticRoutesInvoker ¶
type ListStaticRoutesInvoker struct {
*invoker.BaseInvoker
}
func (*ListStaticRoutesInvoker) Invoke ¶
func (i *ListStaticRoutesInvoker) Invoke() (*model.ListStaticRoutesResponse, error)
type ListVpcAttachmentsInvoker ¶
type ListVpcAttachmentsInvoker struct {
*invoker.BaseInvoker
}
func (*ListVpcAttachmentsInvoker) Invoke ¶
func (i *ListVpcAttachmentsInvoker) Invoke() (*model.ListVpcAttachmentsResponse, error)
type ShowAttachmentInvoker ¶
type ShowAttachmentInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAttachmentInvoker) Invoke ¶
func (i *ShowAttachmentInvoker) Invoke() (*model.ShowAttachmentResponse, error)
type ShowEnterpriseRouterInvoker ¶
type ShowEnterpriseRouterInvoker struct {
*invoker.BaseInvoker
}
func (*ShowEnterpriseRouterInvoker) Invoke ¶
func (i *ShowEnterpriseRouterInvoker) Invoke() (*model.ShowEnterpriseRouterResponse, error)
type ShowRouteTableInvoker ¶
type ShowRouteTableInvoker struct {
*invoker.BaseInvoker
}
func (*ShowRouteTableInvoker) Invoke ¶
func (i *ShowRouteTableInvoker) Invoke() (*model.ShowRouteTableResponse, error)
type ShowStaticRouteInvoker ¶
type ShowStaticRouteInvoker struct {
*invoker.BaseInvoker
}
func (*ShowStaticRouteInvoker) Invoke ¶
func (i *ShowStaticRouteInvoker) Invoke() (*model.ShowStaticRouteResponse, error)
type ShowVpcAttachmentInvoker ¶
type ShowVpcAttachmentInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVpcAttachmentInvoker) Invoke ¶
func (i *ShowVpcAttachmentInvoker) Invoke() (*model.ShowVpcAttachmentResponse, error)
type UpdateAttachmentInvoker ¶
type UpdateAttachmentInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAttachmentInvoker) Invoke ¶
func (i *UpdateAttachmentInvoker) Invoke() (*model.UpdateAttachmentResponse, error)
type UpdateEnterpriseRouterInvoker ¶
type UpdateEnterpriseRouterInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateEnterpriseRouterInvoker) Invoke ¶
func (i *UpdateEnterpriseRouterInvoker) Invoke() (*model.UpdateEnterpriseRouterResponse, error)
type UpdateRouteTableInvoker ¶
type UpdateRouteTableInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRouteTableInvoker) Invoke ¶
func (i *UpdateRouteTableInvoker) Invoke() (*model.UpdateRouteTableResponse, error)
type UpdateStaticRouteInvoker ¶
type UpdateStaticRouteInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateStaticRouteInvoker) Invoke ¶
func (i *UpdateStaticRouteInvoker) Invoke() (*model.UpdateStaticRouteResponse, error)
type UpdateVpcAttachmentInvoker ¶
type UpdateVpcAttachmentInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateVpcAttachmentInvoker) Invoke ¶
func (i *UpdateVpcAttachmentInvoker) Invoke() (*model.UpdateVpcAttachmentResponse, error)