Documentation ¶
Index ¶
- func DcClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchCreateResourceTags() *def.HttpRequestDef
- func GenReqDefForCreateHostedDirectConnect() *def.HttpRequestDef
- func GenReqDefForCreateResourceTag() *def.HttpRequestDef
- func GenReqDefForCreateVifPeer() *def.HttpRequestDef
- func GenReqDefForCreateVirtualGateway() *def.HttpRequestDef
- func GenReqDefForCreateVirtualInterface() *def.HttpRequestDef
- func GenReqDefForDeleteDirectConnect() *def.HttpRequestDef
- func GenReqDefForDeleteHostedDirectConnect() *def.HttpRequestDef
- func GenReqDefForDeleteResourceTag() *def.HttpRequestDef
- func GenReqDefForDeleteVifPeer() *def.HttpRequestDef
- func GenReqDefForDeleteVirtualGateway() *def.HttpRequestDef
- func GenReqDefForDeleteVirtualInterface() *def.HttpRequestDef
- func GenReqDefForListDirectConnects() *def.HttpRequestDef
- func GenReqDefForListHostedDirectConnects() *def.HttpRequestDef
- func GenReqDefForListProjectTags() *def.HttpRequestDef
- func GenReqDefForListSwitchoverTestRecords() *def.HttpRequestDef
- func GenReqDefForListTagResourceInstances() *def.HttpRequestDef
- func GenReqDefForListVirtualGateways() *def.HttpRequestDef
- func GenReqDefForListVirtualInterfaces() *def.HttpRequestDef
- func GenReqDefForShowDirectConnect() *def.HttpRequestDef
- func GenReqDefForShowHostedDirectConnect() *def.HttpRequestDef
- func GenReqDefForShowQuotas() *def.HttpRequestDef
- func GenReqDefForShowResourceTag() *def.HttpRequestDef
- func GenReqDefForShowVirtualGateway() *def.HttpRequestDef
- func GenReqDefForShowVirtualInterface() *def.HttpRequestDef
- func GenReqDefForSwitchoverTest() *def.HttpRequestDef
- func GenReqDefForUpdateDirectConnect() *def.HttpRequestDef
- func GenReqDefForUpdateHostedDirectConnect() *def.HttpRequestDef
- func GenReqDefForUpdateVifPeer() *def.HttpRequestDef
- func GenReqDefForUpdateVirtualGateway() *def.HttpRequestDef
- func GenReqDefForUpdateVirtualInterface() *def.HttpRequestDef
- type BatchCreateResourceTagsInvoker
- type CreateHostedDirectConnectInvoker
- type CreateResourceTagInvoker
- type CreateVifPeerInvoker
- type CreateVirtualGatewayInvoker
- type CreateVirtualInterfaceInvoker
- type DcClient
- func (c *DcClient) BatchCreateResourceTags(request *model.BatchCreateResourceTagsRequest) (*model.BatchCreateResourceTagsResponse, error)
- func (c *DcClient) BatchCreateResourceTagsInvoker(request *model.BatchCreateResourceTagsRequest) *BatchCreateResourceTagsInvoker
- func (c *DcClient) CreateHostedDirectConnect(request *model.CreateHostedDirectConnectRequest) (*model.CreateHostedDirectConnectResponse, error)
- func (c *DcClient) CreateHostedDirectConnectInvoker(request *model.CreateHostedDirectConnectRequest) *CreateHostedDirectConnectInvoker
- func (c *DcClient) CreateResourceTag(request *model.CreateResourceTagRequest) (*model.CreateResourceTagResponse, error)
- func (c *DcClient) CreateResourceTagInvoker(request *model.CreateResourceTagRequest) *CreateResourceTagInvoker
- func (c *DcClient) CreateVifPeer(request *model.CreateVifPeerRequest) (*model.CreateVifPeerResponse, error)
- func (c *DcClient) CreateVifPeerInvoker(request *model.CreateVifPeerRequest) *CreateVifPeerInvoker
- func (c *DcClient) CreateVirtualGateway(request *model.CreateVirtualGatewayRequest) (*model.CreateVirtualGatewayResponse, error)
- func (c *DcClient) CreateVirtualGatewayInvoker(request *model.CreateVirtualGatewayRequest) *CreateVirtualGatewayInvoker
- func (c *DcClient) CreateVirtualInterface(request *model.CreateVirtualInterfaceRequest) (*model.CreateVirtualInterfaceResponse, error)
- func (c *DcClient) CreateVirtualInterfaceInvoker(request *model.CreateVirtualInterfaceRequest) *CreateVirtualInterfaceInvoker
- func (c *DcClient) DeleteDirectConnect(request *model.DeleteDirectConnectRequest) (*model.DeleteDirectConnectResponse, error)
- func (c *DcClient) DeleteDirectConnectInvoker(request *model.DeleteDirectConnectRequest) *DeleteDirectConnectInvoker
- func (c *DcClient) DeleteHostedDirectConnect(request *model.DeleteHostedDirectConnectRequest) (*model.DeleteHostedDirectConnectResponse, error)
- func (c *DcClient) DeleteHostedDirectConnectInvoker(request *model.DeleteHostedDirectConnectRequest) *DeleteHostedDirectConnectInvoker
- func (c *DcClient) DeleteResourceTag(request *model.DeleteResourceTagRequest) (*model.DeleteResourceTagResponse, error)
- func (c *DcClient) DeleteResourceTagInvoker(request *model.DeleteResourceTagRequest) *DeleteResourceTagInvoker
- func (c *DcClient) DeleteVifPeer(request *model.DeleteVifPeerRequest) (*model.DeleteVifPeerResponse, error)
- func (c *DcClient) DeleteVifPeerInvoker(request *model.DeleteVifPeerRequest) *DeleteVifPeerInvoker
- func (c *DcClient) DeleteVirtualGateway(request *model.DeleteVirtualGatewayRequest) (*model.DeleteVirtualGatewayResponse, error)
- func (c *DcClient) DeleteVirtualGatewayInvoker(request *model.DeleteVirtualGatewayRequest) *DeleteVirtualGatewayInvoker
- func (c *DcClient) DeleteVirtualInterface(request *model.DeleteVirtualInterfaceRequest) (*model.DeleteVirtualInterfaceResponse, error)
- func (c *DcClient) DeleteVirtualInterfaceInvoker(request *model.DeleteVirtualInterfaceRequest) *DeleteVirtualInterfaceInvoker
- func (c *DcClient) ListDirectConnects(request *model.ListDirectConnectsRequest) (*model.ListDirectConnectsResponse, error)
- func (c *DcClient) ListDirectConnectsInvoker(request *model.ListDirectConnectsRequest) *ListDirectConnectsInvoker
- func (c *DcClient) ListHostedDirectConnects(request *model.ListHostedDirectConnectsRequest) (*model.ListHostedDirectConnectsResponse, error)
- func (c *DcClient) ListHostedDirectConnectsInvoker(request *model.ListHostedDirectConnectsRequest) *ListHostedDirectConnectsInvoker
- func (c *DcClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
- func (c *DcClient) ListProjectTagsInvoker(request *model.ListProjectTagsRequest) *ListProjectTagsInvoker
- func (c *DcClient) ListSwitchoverTestRecords(request *model.ListSwitchoverTestRecordsRequest) (*model.ListSwitchoverTestRecordsResponse, error)
- func (c *DcClient) ListSwitchoverTestRecordsInvoker(request *model.ListSwitchoverTestRecordsRequest) *ListSwitchoverTestRecordsInvoker
- func (c *DcClient) ListTagResourceInstances(request *model.ListTagResourceInstancesRequest) (*model.ListTagResourceInstancesResponse, error)
- func (c *DcClient) ListTagResourceInstancesInvoker(request *model.ListTagResourceInstancesRequest) *ListTagResourceInstancesInvoker
- func (c *DcClient) ListVirtualGateways(request *model.ListVirtualGatewaysRequest) (*model.ListVirtualGatewaysResponse, error)
- func (c *DcClient) ListVirtualGatewaysInvoker(request *model.ListVirtualGatewaysRequest) *ListVirtualGatewaysInvoker
- func (c *DcClient) ListVirtualInterfaces(request *model.ListVirtualInterfacesRequest) (*model.ListVirtualInterfacesResponse, error)
- func (c *DcClient) ListVirtualInterfacesInvoker(request *model.ListVirtualInterfacesRequest) *ListVirtualInterfacesInvoker
- func (c *DcClient) ShowDirectConnect(request *model.ShowDirectConnectRequest) (*model.ShowDirectConnectResponse, error)
- func (c *DcClient) ShowDirectConnectInvoker(request *model.ShowDirectConnectRequest) *ShowDirectConnectInvoker
- func (c *DcClient) ShowHostedDirectConnect(request *model.ShowHostedDirectConnectRequest) (*model.ShowHostedDirectConnectResponse, error)
- func (c *DcClient) ShowHostedDirectConnectInvoker(request *model.ShowHostedDirectConnectRequest) *ShowHostedDirectConnectInvoker
- func (c *DcClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
- func (c *DcClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
- func (c *DcClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)
- func (c *DcClient) ShowResourceTagInvoker(request *model.ShowResourceTagRequest) *ShowResourceTagInvoker
- func (c *DcClient) ShowVirtualGateway(request *model.ShowVirtualGatewayRequest) (*model.ShowVirtualGatewayResponse, error)
- func (c *DcClient) ShowVirtualGatewayInvoker(request *model.ShowVirtualGatewayRequest) *ShowVirtualGatewayInvoker
- func (c *DcClient) ShowVirtualInterface(request *model.ShowVirtualInterfaceRequest) (*model.ShowVirtualInterfaceResponse, error)
- func (c *DcClient) ShowVirtualInterfaceInvoker(request *model.ShowVirtualInterfaceRequest) *ShowVirtualInterfaceInvoker
- func (c *DcClient) SwitchoverTest(request *model.SwitchoverTestRequest) (*model.SwitchoverTestResponse, error)
- func (c *DcClient) SwitchoverTestInvoker(request *model.SwitchoverTestRequest) *SwitchoverTestInvoker
- func (c *DcClient) UpdateDirectConnect(request *model.UpdateDirectConnectRequest) (*model.UpdateDirectConnectResponse, error)
- func (c *DcClient) UpdateDirectConnectInvoker(request *model.UpdateDirectConnectRequest) *UpdateDirectConnectInvoker
- func (c *DcClient) UpdateHostedDirectConnect(request *model.UpdateHostedDirectConnectRequest) (*model.UpdateHostedDirectConnectResponse, error)
- func (c *DcClient) UpdateHostedDirectConnectInvoker(request *model.UpdateHostedDirectConnectRequest) *UpdateHostedDirectConnectInvoker
- func (c *DcClient) UpdateVifPeer(request *model.UpdateVifPeerRequest) (*model.UpdateVifPeerResponse, error)
- func (c *DcClient) UpdateVifPeerInvoker(request *model.UpdateVifPeerRequest) *UpdateVifPeerInvoker
- func (c *DcClient) UpdateVirtualGateway(request *model.UpdateVirtualGatewayRequest) (*model.UpdateVirtualGatewayResponse, error)
- func (c *DcClient) UpdateVirtualGatewayInvoker(request *model.UpdateVirtualGatewayRequest) *UpdateVirtualGatewayInvoker
- func (c *DcClient) UpdateVirtualInterface(request *model.UpdateVirtualInterfaceRequest) (*model.UpdateVirtualInterfaceResponse, error)
- func (c *DcClient) UpdateVirtualInterfaceInvoker(request *model.UpdateVirtualInterfaceRequest) *UpdateVirtualInterfaceInvoker
- type DeleteDirectConnectInvoker
- type DeleteHostedDirectConnectInvoker
- type DeleteResourceTagInvoker
- type DeleteVifPeerInvoker
- type DeleteVirtualGatewayInvoker
- type DeleteVirtualInterfaceInvoker
- type ListDirectConnectsInvoker
- type ListHostedDirectConnectsInvoker
- type ListProjectTagsInvoker
- type ListSwitchoverTestRecordsInvoker
- type ListTagResourceInstancesInvoker
- type ListVirtualGatewaysInvoker
- type ListVirtualInterfacesInvoker
- type ShowDirectConnectInvoker
- type ShowHostedDirectConnectInvoker
- type ShowQuotasInvoker
- type ShowResourceTagInvoker
- type ShowVirtualGatewayInvoker
- type ShowVirtualInterfaceInvoker
- type SwitchoverTestInvoker
- type UpdateDirectConnectInvoker
- type UpdateHostedDirectConnectInvoker
- type UpdateVifPeerInvoker
- type UpdateVirtualGatewayInvoker
- type UpdateVirtualInterfaceInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DcClientBuilder ¶
func DcClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchCreateResourceTags ¶
func GenReqDefForBatchCreateResourceTags() *def.HttpRequestDef
func GenReqDefForCreateHostedDirectConnect ¶
func GenReqDefForCreateHostedDirectConnect() *def.HttpRequestDef
func GenReqDefForCreateResourceTag ¶
func GenReqDefForCreateResourceTag() *def.HttpRequestDef
func GenReqDefForCreateVifPeer ¶ added in v0.1.61
func GenReqDefForCreateVifPeer() *def.HttpRequestDef
func GenReqDefForCreateVirtualGateway ¶
func GenReqDefForCreateVirtualGateway() *def.HttpRequestDef
func GenReqDefForCreateVirtualInterface ¶
func GenReqDefForCreateVirtualInterface() *def.HttpRequestDef
func GenReqDefForDeleteDirectConnect ¶
func GenReqDefForDeleteDirectConnect() *def.HttpRequestDef
func GenReqDefForDeleteHostedDirectConnect ¶
func GenReqDefForDeleteHostedDirectConnect() *def.HttpRequestDef
func GenReqDefForDeleteResourceTag ¶
func GenReqDefForDeleteResourceTag() *def.HttpRequestDef
func GenReqDefForDeleteVifPeer ¶ added in v0.1.61
func GenReqDefForDeleteVifPeer() *def.HttpRequestDef
func GenReqDefForDeleteVirtualGateway ¶
func GenReqDefForDeleteVirtualGateway() *def.HttpRequestDef
func GenReqDefForDeleteVirtualInterface ¶
func GenReqDefForDeleteVirtualInterface() *def.HttpRequestDef
func GenReqDefForListDirectConnects ¶
func GenReqDefForListDirectConnects() *def.HttpRequestDef
func GenReqDefForListHostedDirectConnects ¶
func GenReqDefForListHostedDirectConnects() *def.HttpRequestDef
func GenReqDefForListProjectTags ¶
func GenReqDefForListProjectTags() *def.HttpRequestDef
func GenReqDefForListSwitchoverTestRecords ¶ added in v0.1.61
func GenReqDefForListSwitchoverTestRecords() *def.HttpRequestDef
func GenReqDefForListTagResourceInstances ¶
func GenReqDefForListTagResourceInstances() *def.HttpRequestDef
func GenReqDefForListVirtualGateways ¶
func GenReqDefForListVirtualGateways() *def.HttpRequestDef
func GenReqDefForListVirtualInterfaces ¶
func GenReqDefForListVirtualInterfaces() *def.HttpRequestDef
func GenReqDefForShowDirectConnect ¶
func GenReqDefForShowDirectConnect() *def.HttpRequestDef
func GenReqDefForShowHostedDirectConnect ¶
func GenReqDefForShowHostedDirectConnect() *def.HttpRequestDef
func GenReqDefForShowQuotas ¶ added in v0.1.61
func GenReqDefForShowQuotas() *def.HttpRequestDef
func GenReqDefForShowResourceTag ¶
func GenReqDefForShowResourceTag() *def.HttpRequestDef
func GenReqDefForShowVirtualGateway ¶
func GenReqDefForShowVirtualGateway() *def.HttpRequestDef
func GenReqDefForShowVirtualInterface ¶
func GenReqDefForShowVirtualInterface() *def.HttpRequestDef
func GenReqDefForSwitchoverTest ¶ added in v0.1.61
func GenReqDefForSwitchoverTest() *def.HttpRequestDef
func GenReqDefForUpdateDirectConnect ¶
func GenReqDefForUpdateDirectConnect() *def.HttpRequestDef
func GenReqDefForUpdateHostedDirectConnect ¶
func GenReqDefForUpdateHostedDirectConnect() *def.HttpRequestDef
func GenReqDefForUpdateVifPeer ¶ added in v0.1.61
func GenReqDefForUpdateVifPeer() *def.HttpRequestDef
func GenReqDefForUpdateVirtualGateway ¶
func GenReqDefForUpdateVirtualGateway() *def.HttpRequestDef
func GenReqDefForUpdateVirtualInterface ¶
func GenReqDefForUpdateVirtualInterface() *def.HttpRequestDef
Types ¶
type BatchCreateResourceTagsInvoker ¶
type BatchCreateResourceTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateResourceTagsInvoker) Invoke ¶
func (i *BatchCreateResourceTagsInvoker) Invoke() (*model.BatchCreateResourceTagsResponse, error)
type CreateHostedDirectConnectInvoker ¶
type CreateHostedDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*CreateHostedDirectConnectInvoker) Invoke ¶
func (i *CreateHostedDirectConnectInvoker) Invoke() (*model.CreateHostedDirectConnectResponse, error)
type CreateResourceTagInvoker ¶
type CreateResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*CreateResourceTagInvoker) Invoke ¶
func (i *CreateResourceTagInvoker) Invoke() (*model.CreateResourceTagResponse, error)
type CreateVifPeerInvoker ¶ added in v0.1.61
type CreateVifPeerInvoker struct {
*invoker.BaseInvoker
}
func (*CreateVifPeerInvoker) Invoke ¶ added in v0.1.61
func (i *CreateVifPeerInvoker) Invoke() (*model.CreateVifPeerResponse, error)
type CreateVirtualGatewayInvoker ¶
type CreateVirtualGatewayInvoker struct {
*invoker.BaseInvoker
}
func (*CreateVirtualGatewayInvoker) Invoke ¶
func (i *CreateVirtualGatewayInvoker) Invoke() (*model.CreateVirtualGatewayResponse, error)
type CreateVirtualInterfaceInvoker ¶
type CreateVirtualInterfaceInvoker struct {
*invoker.BaseInvoker
}
func (*CreateVirtualInterfaceInvoker) Invoke ¶
func (i *CreateVirtualInterfaceInvoker) Invoke() (*model.CreateVirtualInterfaceResponse, error)
type DcClient ¶
type DcClient struct {
HcClient *http_client.HcHttpClient
}
func NewDcClient ¶
func NewDcClient(hcClient *http_client.HcHttpClient) *DcClient
func (*DcClient) BatchCreateResourceTags ¶
func (c *DcClient) BatchCreateResourceTags(request *model.BatchCreateResourceTagsRequest) (*model.BatchCreateResourceTagsResponse, error)
BatchCreateResourceTags 批量添加删除资源标签
- 为指定实例批量添加或删除标签 - 标签管理服务需要使用该接口批量管理实例的标签。 - 一个资源上最多有10个标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) BatchCreateResourceTagsInvoker ¶
func (c *DcClient) BatchCreateResourceTagsInvoker(request *model.BatchCreateResourceTagsRequest) *BatchCreateResourceTagsInvoker
BatchCreateResourceTagsInvoker 批量添加删除资源标签
func (*DcClient) CreateHostedDirectConnect ¶
func (c *DcClient) CreateHostedDirectConnect(request *model.CreateHostedDirectConnectRequest) (*model.CreateHostedDirectConnectResponse, error)
CreateHostedDirectConnect 创建托管专线连接
用于合作伙伴用户最终租户创建托管专线 创建者必须拥有合作伙伴资质,并且已经构建好运营(hosting)专线
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) CreateHostedDirectConnectInvoker ¶
func (c *DcClient) CreateHostedDirectConnectInvoker(request *model.CreateHostedDirectConnectRequest) *CreateHostedDirectConnectInvoker
CreateHostedDirectConnectInvoker 创建托管专线连接
func (*DcClient) CreateResourceTag ¶
func (c *DcClient) CreateResourceTag(request *model.CreateResourceTagRequest) (*model.CreateResourceTagResponse, error)
CreateResourceTag 添加资源标签
- 一个资源上最多有10个标签。 - 此接口为幂等接口: - 创建时,如果创建的标签已经存在(key相同),则覆盖。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) CreateResourceTagInvoker ¶
func (c *DcClient) CreateResourceTagInvoker(request *model.CreateResourceTagRequest) *CreateResourceTagInvoker
CreateResourceTagInvoker 添加资源标签
func (*DcClient) CreateVifPeer ¶ added in v0.1.61
func (c *DcClient) CreateVifPeer(request *model.CreateVifPeerRequest) (*model.CreateVifPeerResponse, error)
CreateVifPeer 创建虚拟接口对等体
每个虚拟接口可支持两个对等体,IPv4和IPv6对等体,在创建虚拟接口时默认创建IPv4对等体, 本接口一般用于增加ipv6对等体。创建虚拟接口对接体之后,可以通过虚拟接口查询配置结果 本接口只在支持Ipv6的区域开放,如需要使用请联系客服
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) CreateVifPeerInvoker ¶ added in v0.1.61
func (c *DcClient) CreateVifPeerInvoker(request *model.CreateVifPeerRequest) *CreateVifPeerInvoker
CreateVifPeerInvoker 创建虚拟接口对等体
func (*DcClient) CreateVirtualGateway ¶
func (c *DcClient) CreateVirtualGateway(request *model.CreateVirtualGatewayRequest) (*model.CreateVirtualGatewayResponse, error)
CreateVirtualGateway 创建虚拟网关
创建虚拟网关
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) CreateVirtualGatewayInvoker ¶
func (c *DcClient) CreateVirtualGatewayInvoker(request *model.CreateVirtualGatewayRequest) *CreateVirtualGatewayInvoker
CreateVirtualGatewayInvoker 创建虚拟网关
func (*DcClient) CreateVirtualInterface ¶
func (c *DcClient) CreateVirtualInterface(request *model.CreateVirtualInterfaceRequest) (*model.CreateVirtualInterfaceResponse, error)
CreateVirtualInterface 创建虚拟接口
虚拟接口配置物理专线上与客户互联的IP和路由等相关信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) CreateVirtualInterfaceInvoker ¶
func (c *DcClient) CreateVirtualInterfaceInvoker(request *model.CreateVirtualInterfaceRequest) *CreateVirtualInterfaceInvoker
CreateVirtualInterfaceInvoker 创建虚拟接口
func (*DcClient) DeleteDirectConnect ¶
func (c *DcClient) DeleteDirectConnect(request *model.DeleteDirectConnectRequest) (*model.DeleteDirectConnectResponse, error)
DeleteDirectConnect 删除物理连接
删除物理连接,本接口只适用于按需计费物理专线,对于包周期购买的专线通过订单退订的方式删除物理连接
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) DeleteDirectConnectInvoker ¶
func (c *DcClient) DeleteDirectConnectInvoker(request *model.DeleteDirectConnectRequest) *DeleteDirectConnectInvoker
DeleteDirectConnectInvoker 删除物理连接
func (*DcClient) DeleteHostedDirectConnect ¶
func (c *DcClient) DeleteHostedDirectConnect(request *model.DeleteHostedDirectConnectRequest) (*model.DeleteHostedDirectConnectResponse, error)
DeleteHostedDirectConnect 删除托管专线连接
合作伙伴删除托管专线
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) DeleteHostedDirectConnectInvoker ¶
func (c *DcClient) DeleteHostedDirectConnectInvoker(request *model.DeleteHostedDirectConnectRequest) *DeleteHostedDirectConnectInvoker
DeleteHostedDirectConnectInvoker 删除托管专线连接
func (*DcClient) DeleteResourceTag ¶
func (c *DcClient) DeleteResourceTag(request *model.DeleteResourceTagRequest) (*model.DeleteResourceTagResponse, error)
DeleteResourceTag 删除资源标签
删除时,不对标签字符集做校验,调用接口前必须要做encodeURI,服务端需要对接口uri做decodeURI。删除的key不存在报404,Key不能为空或者空字符串。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) DeleteResourceTagInvoker ¶
func (c *DcClient) DeleteResourceTagInvoker(request *model.DeleteResourceTagRequest) *DeleteResourceTagInvoker
DeleteResourceTagInvoker 删除资源标签
func (*DcClient) DeleteVifPeer ¶ added in v0.1.61
func (c *DcClient) DeleteVifPeer(request *model.DeleteVifPeerRequest) (*model.DeleteVifPeerResponse, error)
DeleteVifPeer 删除虚拟接口对应的对等体
删除虚拟接口对等体信息,虚拟接口到少要含一个对等体,最后一个对等体不能删除 本接口只在支持Ipv6的区域开放,如需要使用请联系客服
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) DeleteVifPeerInvoker ¶ added in v0.1.61
func (c *DcClient) DeleteVifPeerInvoker(request *model.DeleteVifPeerRequest) *DeleteVifPeerInvoker
DeleteVifPeerInvoker 删除虚拟接口对应的对等体
func (*DcClient) DeleteVirtualGateway ¶
func (c *DcClient) DeleteVirtualGateway(request *model.DeleteVirtualGatewayRequest) (*model.DeleteVirtualGatewayResponse, error)
DeleteVirtualGateway 删除虚拟网关
删除指定的虚拟网关
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) DeleteVirtualGatewayInvoker ¶
func (c *DcClient) DeleteVirtualGatewayInvoker(request *model.DeleteVirtualGatewayRequest) *DeleteVirtualGatewayInvoker
DeleteVirtualGatewayInvoker 删除虚拟网关
func (*DcClient) DeleteVirtualInterface ¶
func (c *DcClient) DeleteVirtualInterface(request *model.DeleteVirtualInterfaceRequest) (*model.DeleteVirtualInterfaceResponse, error)
DeleteVirtualInterface 删除虚拟接口
删除虚拟接口
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) DeleteVirtualInterfaceInvoker ¶
func (c *DcClient) DeleteVirtualInterfaceInvoker(request *model.DeleteVirtualInterfaceRequest) *DeleteVirtualInterfaceInvoker
DeleteVirtualInterfaceInvoker 删除虚拟接口
func (*DcClient) ListDirectConnects ¶
func (c *DcClient) ListDirectConnects(request *model.ListDirectConnectsRequest) (*model.ListDirectConnectsResponse, error)
ListDirectConnects 查询物理连接列表
查询租户创建的所有的direct connect对象.
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListDirectConnectsInvoker ¶
func (c *DcClient) ListDirectConnectsInvoker(request *model.ListDirectConnectsRequest) *ListDirectConnectsInvoker
ListDirectConnectsInvoker 查询物理连接列表
func (*DcClient) ListHostedDirectConnects ¶
func (c *DcClient) ListHostedDirectConnects(request *model.ListHostedDirectConnectsRequest) (*model.ListHostedDirectConnectsResponse, error)
ListHostedDirectConnects 查询租户的托管专线列表
查询合作伙伴创建的托管专线连接列表.
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListHostedDirectConnectsInvoker ¶
func (c *DcClient) ListHostedDirectConnectsInvoker(request *model.ListHostedDirectConnectsRequest) *ListHostedDirectConnectsInvoker
ListHostedDirectConnectsInvoker 查询租户的托管专线列表
func (*DcClient) ListProjectTags ¶
func (c *DcClient) ListProjectTags(request *model.ListProjectTagsRequest) (*model.ListProjectTagsResponse, error)
ListProjectTags 查询项目标签
- 查询租户在指定Project中实例类型的所有资源标签集合。 - 标签管理服务需要能够列出当前租户全部已使用的资源标签集合,为各服务打资源标签和过滤实例时提供标签联想功能。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListProjectTagsInvoker ¶
func (c *DcClient) ListProjectTagsInvoker(request *model.ListProjectTagsRequest) *ListProjectTagsInvoker
ListProjectTagsInvoker 查询项目标签
func (*DcClient) ListSwitchoverTestRecords ¶ added in v0.1.61
func (c *DcClient) ListSwitchoverTestRecords(request *model.ListSwitchoverTestRecordsRequest) (*model.ListSwitchoverTestRecordsResponse, error)
ListSwitchoverTestRecords 查询虚拟接口倒换测试记录列表
查询倒换测试记录列表,只展示operate_status为COMPELTE的记录。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListSwitchoverTestRecordsInvoker ¶ added in v0.1.61
func (c *DcClient) ListSwitchoverTestRecordsInvoker(request *model.ListSwitchoverTestRecordsRequest) *ListSwitchoverTestRecordsInvoker
ListSwitchoverTestRecordsInvoker 查询虚拟接口倒换测试记录列表
func (*DcClient) ListTagResourceInstances ¶
func (c *DcClient) ListTagResourceInstances(request *model.ListTagResourceInstancesRequest) (*model.ListTagResourceInstancesResponse, error)
ListTagResourceInstances 通过标签查询资源实例
通过标签查询资源实例
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListTagResourceInstancesInvoker ¶
func (c *DcClient) ListTagResourceInstancesInvoker(request *model.ListTagResourceInstancesRequest) *ListTagResourceInstancesInvoker
ListTagResourceInstancesInvoker 通过标签查询资源实例
func (*DcClient) ListVirtualGateways ¶
func (c *DcClient) ListVirtualGateways(request *model.ListVirtualGatewaysRequest) (*model.ListVirtualGatewaysResponse, error)
ListVirtualGateways 查询虚拟网关列表
查询虚拟网关列表
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListVirtualGatewaysInvoker ¶
func (c *DcClient) ListVirtualGatewaysInvoker(request *model.ListVirtualGatewaysRequest) *ListVirtualGatewaysInvoker
ListVirtualGatewaysInvoker 查询虚拟网关列表
func (*DcClient) ListVirtualInterfaces ¶
func (c *DcClient) ListVirtualInterfaces(request *model.ListVirtualInterfacesRequest) (*model.ListVirtualInterfacesResponse, error)
ListVirtualInterfaces 查询虚拟接口列表
查询租户所有的虚拟接口列表
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ListVirtualInterfacesInvoker ¶
func (c *DcClient) ListVirtualInterfacesInvoker(request *model.ListVirtualInterfacesRequest) *ListVirtualInterfacesInvoker
ListVirtualInterfacesInvoker 查询虚拟接口列表
func (*DcClient) ShowDirectConnect ¶
func (c *DcClient) ShowDirectConnect(request *model.ShowDirectConnectRequest) (*model.ShowDirectConnectResponse, error)
ShowDirectConnect 查询物理连接详情
查询物理连接详细信息.
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ShowDirectConnectInvoker ¶
func (c *DcClient) ShowDirectConnectInvoker(request *model.ShowDirectConnectRequest) *ShowDirectConnectInvoker
ShowDirectConnectInvoker 查询物理连接详情
func (*DcClient) ShowHostedDirectConnect ¶
func (c *DcClient) ShowHostedDirectConnect(request *model.ShowHostedDirectConnectRequest) (*model.ShowHostedDirectConnectResponse, error)
ShowHostedDirectConnect 查询租户的托管专线详情
查询合法作伙伴的Hosted专线类型.
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ShowHostedDirectConnectInvoker ¶
func (c *DcClient) ShowHostedDirectConnectInvoker(request *model.ShowHostedDirectConnectRequest) *ShowHostedDirectConnectInvoker
ShowHostedDirectConnectInvoker 查询租户的托管专线详情
func (*DcClient) ShowQuotas ¶ added in v0.1.61
func (c *DcClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
ShowQuotas 查询配额
查询租户各类资源的使用情况,如Directconnect的使用量,虚拟接口的使用量等。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ShowQuotasInvoker ¶ added in v0.1.61
func (c *DcClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
ShowQuotasInvoker 查询配额
func (*DcClient) ShowResourceTag ¶
func (c *DcClient) ShowResourceTag(request *model.ShowResourceTagRequest) (*model.ShowResourceTagResponse, error)
ShowResourceTag 查询资源标签
查询资源标签
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ShowResourceTagInvoker ¶
func (c *DcClient) ShowResourceTagInvoker(request *model.ShowResourceTagRequest) *ShowResourceTagInvoker
ShowResourceTagInvoker 查询资源标签
func (*DcClient) ShowVirtualGateway ¶
func (c *DcClient) ShowVirtualGateway(request *model.ShowVirtualGatewayRequest) (*model.ShowVirtualGatewayResponse, error)
ShowVirtualGateway 查询虚拟网关详情
查询指定虚拟网关的详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ShowVirtualGatewayInvoker ¶
func (c *DcClient) ShowVirtualGatewayInvoker(request *model.ShowVirtualGatewayRequest) *ShowVirtualGatewayInvoker
ShowVirtualGatewayInvoker 查询虚拟网关详情
func (*DcClient) ShowVirtualInterface ¶
func (c *DcClient) ShowVirtualInterface(request *model.ShowVirtualInterfaceRequest) (*model.ShowVirtualInterfaceResponse, error)
ShowVirtualInterface 查询虚拟接口详情
查询虚拟接口详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) ShowVirtualInterfaceInvoker ¶
func (c *DcClient) ShowVirtualInterfaceInvoker(request *model.ShowVirtualInterfaceRequest) *ShowVirtualInterfaceInvoker
ShowVirtualInterfaceInvoker 查询虚拟接口详情
func (*DcClient) SwitchoverTest ¶ added in v0.1.61
func (c *DcClient) SwitchoverTest(request *model.SwitchoverTestRequest) (*model.SwitchoverTestResponse, error)
SwitchoverTest 执行虚拟接口倒换测试
客户双专线接入,需要支持双线自动倒换,方便进行功能测试。 虚拟接口进行倒换测试会导致接口关闭,业务流量中断。 对于虚拟接口,支持“关闭接口”和“开放接口”两种操作。 1、关闭接口:下发shutdown命令,关闭接口; 2、开放接口:下发undo_shutdown命令,使能接口。 倒换测试选择shutdown时,虚拟接口的状态为ADMIN_SHUTDOWN,此状态不允许虚拟接口的其他操作。 倒换测试选择undo_shutdown时,虚拟接口的状态为ACTIVE。
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) SwitchoverTestInvoker ¶ added in v0.1.61
func (c *DcClient) SwitchoverTestInvoker(request *model.SwitchoverTestRequest) *SwitchoverTestInvoker
SwitchoverTestInvoker 执行虚拟接口倒换测试
func (*DcClient) UpdateDirectConnect ¶
func (c *DcClient) UpdateDirectConnect(request *model.UpdateDirectConnectRequest) (*model.UpdateDirectConnectResponse, error)
UpdateDirectConnect 更新物理连接信息
更新物理连接信息,包括名字,描述等信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) UpdateDirectConnectInvoker ¶
func (c *DcClient) UpdateDirectConnectInvoker(request *model.UpdateDirectConnectRequest) *UpdateDirectConnectInvoker
UpdateDirectConnectInvoker 更新物理连接信息
func (*DcClient) UpdateHostedDirectConnect ¶
func (c *DcClient) UpdateHostedDirectConnect(request *model.UpdateHostedDirectConnectRequest) (*model.UpdateHostedDirectConnectResponse, error)
UpdateHostedDirectConnect 更新托管专线连接
合作伙伴更新托管专线.
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) UpdateHostedDirectConnectInvoker ¶
func (c *DcClient) UpdateHostedDirectConnectInvoker(request *model.UpdateHostedDirectConnectRequest) *UpdateHostedDirectConnectInvoker
UpdateHostedDirectConnectInvoker 更新托管专线连接
func (*DcClient) UpdateVifPeer ¶ added in v0.1.61
func (c *DcClient) UpdateVifPeer(request *model.UpdateVifPeerRequest) (*model.UpdateVifPeerResponse, error)
UpdateVifPeer 更新虚拟接口对等体
更新虚拟接口对等体信息,包括远端子网,名字和描述等。 本接口只在支持Ipv6的区域开放,如需要使用请联系客服
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) UpdateVifPeerInvoker ¶ added in v0.1.61
func (c *DcClient) UpdateVifPeerInvoker(request *model.UpdateVifPeerRequest) *UpdateVifPeerInvoker
UpdateVifPeerInvoker 更新虚拟接口对等体
func (*DcClient) UpdateVirtualGateway ¶
func (c *DcClient) UpdateVirtualGateway(request *model.UpdateVirtualGatewayRequest) (*model.UpdateVirtualGatewayResponse, error)
UpdateVirtualGateway 更新虚拟网关信息
更新虚拟网关的信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) UpdateVirtualGatewayInvoker ¶
func (c *DcClient) UpdateVirtualGatewayInvoker(request *model.UpdateVirtualGatewayRequest) *UpdateVirtualGatewayInvoker
UpdateVirtualGatewayInvoker 更新虚拟网关信息
func (*DcClient) UpdateVirtualInterface ¶
func (c *DcClient) UpdateVirtualInterface(request *model.UpdateVirtualInterfaceRequest) (*model.UpdateVirtualInterfaceResponse, error)
UpdateVirtualInterface 更新虚拟接口
更新虚拟接口的详细信息
Please refer to HUAWEI cloud API Explorer for details.
func (*DcClient) UpdateVirtualInterfaceInvoker ¶
func (c *DcClient) UpdateVirtualInterfaceInvoker(request *model.UpdateVirtualInterfaceRequest) *UpdateVirtualInterfaceInvoker
UpdateVirtualInterfaceInvoker 更新虚拟接口
type DeleteDirectConnectInvoker ¶
type DeleteDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDirectConnectInvoker) Invoke ¶
func (i *DeleteDirectConnectInvoker) Invoke() (*model.DeleteDirectConnectResponse, error)
type DeleteHostedDirectConnectInvoker ¶
type DeleteHostedDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteHostedDirectConnectInvoker) Invoke ¶
func (i *DeleteHostedDirectConnectInvoker) Invoke() (*model.DeleteHostedDirectConnectResponse, error)
type DeleteResourceTagInvoker ¶
type DeleteResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteResourceTagInvoker) Invoke ¶
func (i *DeleteResourceTagInvoker) Invoke() (*model.DeleteResourceTagResponse, error)
type DeleteVifPeerInvoker ¶ added in v0.1.61
type DeleteVifPeerInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteVifPeerInvoker) Invoke ¶ added in v0.1.61
func (i *DeleteVifPeerInvoker) Invoke() (*model.DeleteVifPeerResponse, error)
type DeleteVirtualGatewayInvoker ¶
type DeleteVirtualGatewayInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteVirtualGatewayInvoker) Invoke ¶
func (i *DeleteVirtualGatewayInvoker) Invoke() (*model.DeleteVirtualGatewayResponse, error)
type DeleteVirtualInterfaceInvoker ¶
type DeleteVirtualInterfaceInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteVirtualInterfaceInvoker) Invoke ¶
func (i *DeleteVirtualInterfaceInvoker) Invoke() (*model.DeleteVirtualInterfaceResponse, error)
type ListDirectConnectsInvoker ¶
type ListDirectConnectsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDirectConnectsInvoker) Invoke ¶
func (i *ListDirectConnectsInvoker) Invoke() (*model.ListDirectConnectsResponse, error)
type ListHostedDirectConnectsInvoker ¶
type ListHostedDirectConnectsInvoker struct {
*invoker.BaseInvoker
}
func (*ListHostedDirectConnectsInvoker) Invoke ¶
func (i *ListHostedDirectConnectsInvoker) Invoke() (*model.ListHostedDirectConnectsResponse, error)
type ListProjectTagsInvoker ¶
type ListProjectTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ListProjectTagsInvoker) Invoke ¶
func (i *ListProjectTagsInvoker) Invoke() (*model.ListProjectTagsResponse, error)
type ListSwitchoverTestRecordsInvoker ¶ added in v0.1.61
type ListSwitchoverTestRecordsInvoker struct {
*invoker.BaseInvoker
}
func (*ListSwitchoverTestRecordsInvoker) Invoke ¶ added in v0.1.61
func (i *ListSwitchoverTestRecordsInvoker) Invoke() (*model.ListSwitchoverTestRecordsResponse, error)
type ListTagResourceInstancesInvoker ¶
type ListTagResourceInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListTagResourceInstancesInvoker) Invoke ¶
func (i *ListTagResourceInstancesInvoker) Invoke() (*model.ListTagResourceInstancesResponse, error)
type ListVirtualGatewaysInvoker ¶
type ListVirtualGatewaysInvoker struct {
*invoker.BaseInvoker
}
func (*ListVirtualGatewaysInvoker) Invoke ¶
func (i *ListVirtualGatewaysInvoker) Invoke() (*model.ListVirtualGatewaysResponse, error)
type ListVirtualInterfacesInvoker ¶
type ListVirtualInterfacesInvoker struct {
*invoker.BaseInvoker
}
func (*ListVirtualInterfacesInvoker) Invoke ¶
func (i *ListVirtualInterfacesInvoker) Invoke() (*model.ListVirtualInterfacesResponse, error)
type ShowDirectConnectInvoker ¶
type ShowDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDirectConnectInvoker) Invoke ¶
func (i *ShowDirectConnectInvoker) Invoke() (*model.ShowDirectConnectResponse, error)
type ShowHostedDirectConnectInvoker ¶
type ShowHostedDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHostedDirectConnectInvoker) Invoke ¶
func (i *ShowHostedDirectConnectInvoker) Invoke() (*model.ShowHostedDirectConnectResponse, error)
type ShowQuotasInvoker ¶ added in v0.1.61
type ShowQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotasInvoker) Invoke ¶ added in v0.1.61
func (i *ShowQuotasInvoker) Invoke() (*model.ShowQuotasResponse, error)
type ShowResourceTagInvoker ¶
type ShowResourceTagInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResourceTagInvoker) Invoke ¶
func (i *ShowResourceTagInvoker) Invoke() (*model.ShowResourceTagResponse, error)
type ShowVirtualGatewayInvoker ¶
type ShowVirtualGatewayInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVirtualGatewayInvoker) Invoke ¶
func (i *ShowVirtualGatewayInvoker) Invoke() (*model.ShowVirtualGatewayResponse, error)
type ShowVirtualInterfaceInvoker ¶
type ShowVirtualInterfaceInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVirtualInterfaceInvoker) Invoke ¶
func (i *ShowVirtualInterfaceInvoker) Invoke() (*model.ShowVirtualInterfaceResponse, error)
type SwitchoverTestInvoker ¶ added in v0.1.61
type SwitchoverTestInvoker struct {
*invoker.BaseInvoker
}
func (*SwitchoverTestInvoker) Invoke ¶ added in v0.1.61
func (i *SwitchoverTestInvoker) Invoke() (*model.SwitchoverTestResponse, error)
type UpdateDirectConnectInvoker ¶
type UpdateDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDirectConnectInvoker) Invoke ¶
func (i *UpdateDirectConnectInvoker) Invoke() (*model.UpdateDirectConnectResponse, error)
type UpdateHostedDirectConnectInvoker ¶
type UpdateHostedDirectConnectInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateHostedDirectConnectInvoker) Invoke ¶
func (i *UpdateHostedDirectConnectInvoker) Invoke() (*model.UpdateHostedDirectConnectResponse, error)
type UpdateVifPeerInvoker ¶ added in v0.1.61
type UpdateVifPeerInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateVifPeerInvoker) Invoke ¶ added in v0.1.61
func (i *UpdateVifPeerInvoker) Invoke() (*model.UpdateVifPeerResponse, error)
type UpdateVirtualGatewayInvoker ¶
type UpdateVirtualGatewayInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateVirtualGatewayInvoker) Invoke ¶
func (i *UpdateVirtualGatewayInvoker) Invoke() (*model.UpdateVirtualGatewayResponse, error)
type UpdateVirtualInterfaceInvoker ¶
type UpdateVirtualInterfaceInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateVirtualInterfaceInvoker) Invoke ¶
func (i *UpdateVirtualInterfaceInvoker) Invoke() (*model.UpdateVirtualInterfaceResponse, error)