v3

package
v0.1.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

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 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 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 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 GenReqDefForShowResourceTag

func GenReqDefForShowResourceTag() *def.HttpRequestDef

func GenReqDefForShowVirtualGateway

func GenReqDefForShowVirtualGateway() *def.HttpRequestDef

func GenReqDefForShowVirtualInterface

func GenReqDefForShowVirtualInterface() *def.HttpRequestDef

func GenReqDefForUpdateDirectConnect

func GenReqDefForUpdateDirectConnect() *def.HttpRequestDef

func GenReqDefForUpdateHostedDirectConnect

func GenReqDefForUpdateHostedDirectConnect() *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

type CreateHostedDirectConnectInvoker

type CreateHostedDirectConnectInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateHostedDirectConnectInvoker) Invoke

type CreateResourceTagInvoker

type CreateResourceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateResourceTagInvoker) Invoke

type CreateVirtualGatewayInvoker

type CreateVirtualGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateVirtualGatewayInvoker) Invoke

type CreateVirtualInterfaceInvoker

type CreateVirtualInterfaceInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateVirtualInterfaceInvoker) Invoke

type DcClient

type DcClient struct {
	HcClient *http_client.HcHttpClient
}

func NewDcClient

func NewDcClient(hcClient *http_client.HcHttpClient) *DcClient

func (*DcClient) BatchCreateResourceTags

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

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) 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

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

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) 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

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

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) ListTagResourceInstances

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

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

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) 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) 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

UpdateHostedDirectConnect 更新托管专线连接

合作伙伴创建托管专线.

Please refer to HUAWEI cloud API Explorer for details.

func (*DcClient) UpdateHostedDirectConnectInvoker

func (c *DcClient) UpdateHostedDirectConnectInvoker(request *model.UpdateHostedDirectConnectRequest) *UpdateHostedDirectConnectInvoker

UpdateHostedDirectConnectInvoker 更新托管专线连接

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

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

type DeleteHostedDirectConnectInvoker

type DeleteHostedDirectConnectInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteHostedDirectConnectInvoker) Invoke

type DeleteResourceTagInvoker

type DeleteResourceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteResourceTagInvoker) Invoke

type DeleteVirtualGatewayInvoker

type DeleteVirtualGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteVirtualGatewayInvoker) Invoke

type DeleteVirtualInterfaceInvoker

type DeleteVirtualInterfaceInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteVirtualInterfaceInvoker) Invoke

type ListDirectConnectsInvoker

type ListDirectConnectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListDirectConnectsInvoker) Invoke

type ListHostedDirectConnectsInvoker

type ListHostedDirectConnectsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListHostedDirectConnectsInvoker) Invoke

type ListProjectTagsInvoker

type ListProjectTagsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListProjectTagsInvoker) Invoke

type ListTagResourceInstancesInvoker

type ListTagResourceInstancesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTagResourceInstancesInvoker) Invoke

type ListVirtualGatewaysInvoker

type ListVirtualGatewaysInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVirtualGatewaysInvoker) Invoke

type ListVirtualInterfacesInvoker

type ListVirtualInterfacesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListVirtualInterfacesInvoker) Invoke

type ShowDirectConnectInvoker

type ShowDirectConnectInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowDirectConnectInvoker) Invoke

type ShowHostedDirectConnectInvoker

type ShowHostedDirectConnectInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowHostedDirectConnectInvoker) Invoke

type ShowResourceTagInvoker

type ShowResourceTagInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowResourceTagInvoker) Invoke

type ShowVirtualGatewayInvoker

type ShowVirtualGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVirtualGatewayInvoker) Invoke

type ShowVirtualInterfaceInvoker

type ShowVirtualInterfaceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowVirtualInterfaceInvoker) Invoke

type UpdateDirectConnectInvoker

type UpdateDirectConnectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateDirectConnectInvoker) Invoke

type UpdateHostedDirectConnectInvoker

type UpdateHostedDirectConnectInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateHostedDirectConnectInvoker) Invoke

type UpdateVirtualGatewayInvoker

type UpdateVirtualGatewayInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateVirtualGatewayInvoker) Invoke

type UpdateVirtualInterfaceInvoker

type UpdateVirtualInterfaceInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateVirtualInterfaceInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL