Documentation ¶
Index ¶
- func GenReqDefForAcceptOrRejectEndpoint() *def.HttpRequestDef
- func GenReqDefForAddOrRemoveServicePermissions() *def.HttpRequestDef
- func GenReqDefForBatchAddOrRemoveResourceInstance() *def.HttpRequestDef
- func GenReqDefForCreateEndpoint() *def.HttpRequestDef
- func GenReqDefForCreateEndpointService() *def.HttpRequestDef
- func GenReqDefForDeleteEndpoint() *def.HttpRequestDef
- func GenReqDefForDeleteEndpointService() *def.HttpRequestDef
- func GenReqDefForListEndpointInfoDetails() *def.HttpRequestDef
- func GenReqDefForListEndpointService() *def.HttpRequestDef
- func GenReqDefForListEndpoints() *def.HttpRequestDef
- func GenReqDefForListQueryProjectResourceTags() *def.HttpRequestDef
- func GenReqDefForListQuotaDetails() *def.HttpRequestDef
- func GenReqDefForListResourceInstances() *def.HttpRequestDef
- func GenReqDefForListServiceConnections() *def.HttpRequestDef
- func GenReqDefForListServiceDescribeDetails() *def.HttpRequestDef
- func GenReqDefForListServiceDetails() *def.HttpRequestDef
- func GenReqDefForListServicePermissionsDetails() *def.HttpRequestDef
- func GenReqDefForListServicePublicDetails() *def.HttpRequestDef
- func GenReqDefForListSpecifiedVersionDetails() *def.HttpRequestDef
- func GenReqDefForListVersionDetails() *def.HttpRequestDef
- func GenReqDefForUpdateEndpointRoutetable() *def.HttpRequestDef
- func GenReqDefForUpdateEndpointService() *def.HttpRequestDef
- func GenReqDefForUpdateEndpointWhite() *def.HttpRequestDef
- func VpcepClientBuilder() *http_client.HcHttpClientBuilder
- type VpcepClient
- func (c *VpcepClient) AcceptOrRejectEndpoint(request *model.AcceptOrRejectEndpointRequest) (*model.AcceptOrRejectEndpointResponse, error)
- func (c *VpcepClient) AddOrRemoveServicePermissions(request *model.AddOrRemoveServicePermissionsRequest) (*model.AddOrRemoveServicePermissionsResponse, error)
- func (c *VpcepClient) BatchAddOrRemoveResourceInstance(request *model.BatchAddOrRemoveResourceInstanceRequest) (*model.BatchAddOrRemoveResourceInstanceResponse, error)
- func (c *VpcepClient) CreateEndpoint(request *model.CreateEndpointRequest) (*model.CreateEndpointResponse, error)
- func (c *VpcepClient) CreateEndpointService(request *model.CreateEndpointServiceRequest) (*model.CreateEndpointServiceResponse, error)
- func (c *VpcepClient) DeleteEndpoint(request *model.DeleteEndpointRequest) (*model.DeleteEndpointResponse, error)
- func (c *VpcepClient) DeleteEndpointService(request *model.DeleteEndpointServiceRequest) (*model.DeleteEndpointServiceResponse, error)
- func (c *VpcepClient) ListEndpointInfoDetails(request *model.ListEndpointInfoDetailsRequest) (*model.ListEndpointInfoDetailsResponse, error)
- func (c *VpcepClient) ListEndpointService(request *model.ListEndpointServiceRequest) (*model.ListEndpointServiceResponse, error)
- func (c *VpcepClient) ListEndpoints(request *model.ListEndpointsRequest) (*model.ListEndpointsResponse, error)
- func (c *VpcepClient) ListQueryProjectResourceTags(request *model.ListQueryProjectResourceTagsRequest) (*model.ListQueryProjectResourceTagsResponse, error)
- func (c *VpcepClient) ListQuotaDetails(request *model.ListQuotaDetailsRequest) (*model.ListQuotaDetailsResponse, error)
- func (c *VpcepClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
- func (c *VpcepClient) ListServiceConnections(request *model.ListServiceConnectionsRequest) (*model.ListServiceConnectionsResponse, error)
- func (c *VpcepClient) ListServiceDescribeDetails(request *model.ListServiceDescribeDetailsRequest) (*model.ListServiceDescribeDetailsResponse, error)
- func (c *VpcepClient) ListServiceDetails(request *model.ListServiceDetailsRequest) (*model.ListServiceDetailsResponse, error)
- func (c *VpcepClient) ListServicePermissionsDetails(request *model.ListServicePermissionsDetailsRequest) (*model.ListServicePermissionsDetailsResponse, error)
- func (c *VpcepClient) ListServicePublicDetails(request *model.ListServicePublicDetailsRequest) (*model.ListServicePublicDetailsResponse, error)
- func (c *VpcepClient) ListSpecifiedVersionDetails(request *model.ListSpecifiedVersionDetailsRequest) (*model.ListSpecifiedVersionDetailsResponse, error)
- func (c *VpcepClient) ListVersionDetails(request *model.ListVersionDetailsRequest) (*model.ListVersionDetailsResponse, error)
- func (c *VpcepClient) UpdateEndpointRoutetable(request *model.UpdateEndpointRoutetableRequest) (*model.UpdateEndpointRoutetableResponse, error)
- func (c *VpcepClient) UpdateEndpointService(request *model.UpdateEndpointServiceRequest) (*model.UpdateEndpointServiceResponse, error)
- func (c *VpcepClient) UpdateEndpointWhite(request *model.UpdateEndpointWhiteRequest) (*model.UpdateEndpointWhiteResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenReqDefForAcceptOrRejectEndpoint ¶
func GenReqDefForAcceptOrRejectEndpoint() *def.HttpRequestDef
func GenReqDefForAddOrRemoveServicePermissions ¶
func GenReqDefForAddOrRemoveServicePermissions() *def.HttpRequestDef
func GenReqDefForBatchAddOrRemoveResourceInstance ¶
func GenReqDefForBatchAddOrRemoveResourceInstance() *def.HttpRequestDef
func GenReqDefForCreateEndpoint ¶
func GenReqDefForCreateEndpoint() *def.HttpRequestDef
func GenReqDefForCreateEndpointService ¶
func GenReqDefForCreateEndpointService() *def.HttpRequestDef
func GenReqDefForDeleteEndpoint ¶
func GenReqDefForDeleteEndpoint() *def.HttpRequestDef
func GenReqDefForDeleteEndpointService ¶
func GenReqDefForDeleteEndpointService() *def.HttpRequestDef
func GenReqDefForListEndpointInfoDetails ¶
func GenReqDefForListEndpointInfoDetails() *def.HttpRequestDef
func GenReqDefForListEndpointService ¶
func GenReqDefForListEndpointService() *def.HttpRequestDef
func GenReqDefForListEndpoints ¶ added in v0.0.69
func GenReqDefForListEndpoints() *def.HttpRequestDef
func GenReqDefForListQueryProjectResourceTags ¶
func GenReqDefForListQueryProjectResourceTags() *def.HttpRequestDef
func GenReqDefForListQuotaDetails ¶
func GenReqDefForListQuotaDetails() *def.HttpRequestDef
func GenReqDefForListResourceInstances ¶
func GenReqDefForListResourceInstances() *def.HttpRequestDef
func GenReqDefForListServiceConnections ¶
func GenReqDefForListServiceConnections() *def.HttpRequestDef
func GenReqDefForListServiceDescribeDetails ¶
func GenReqDefForListServiceDescribeDetails() *def.HttpRequestDef
func GenReqDefForListServiceDetails ¶
func GenReqDefForListServiceDetails() *def.HttpRequestDef
func GenReqDefForListServicePermissionsDetails ¶
func GenReqDefForListServicePermissionsDetails() *def.HttpRequestDef
func GenReqDefForListServicePublicDetails ¶
func GenReqDefForListServicePublicDetails() *def.HttpRequestDef
func GenReqDefForListSpecifiedVersionDetails ¶
func GenReqDefForListSpecifiedVersionDetails() *def.HttpRequestDef
func GenReqDefForListVersionDetails ¶
func GenReqDefForListVersionDetails() *def.HttpRequestDef
func GenReqDefForUpdateEndpointRoutetable ¶
func GenReqDefForUpdateEndpointRoutetable() *def.HttpRequestDef
func GenReqDefForUpdateEndpointService ¶
func GenReqDefForUpdateEndpointService() *def.HttpRequestDef
func GenReqDefForUpdateEndpointWhite ¶
func GenReqDefForUpdateEndpointWhite() *def.HttpRequestDef
func VpcepClientBuilder ¶
func VpcepClientBuilder() *http_client.HcHttpClientBuilder
Types ¶
type VpcepClient ¶
type VpcepClient struct {
HcClient *http_client.HcHttpClient
}
func NewVpcepClient ¶
func NewVpcepClient(hcClient *http_client.HcHttpClient) *VpcepClient
func (*VpcepClient) AcceptOrRejectEndpoint ¶
func (c *VpcepClient) AcceptOrRejectEndpoint(request *model.AcceptOrRejectEndpointRequest) (*model.AcceptOrRejectEndpointResponse, error)
接受或拒绝终端节点的连接
功能介绍 接受或者拒绝终端节点连接到当前的终端节点服务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) AddOrRemoveServicePermissions ¶
func (c *VpcepClient) AddOrRemoveServicePermissions(request *model.AddOrRemoveServicePermissionsRequest) (*model.AddOrRemoveServicePermissionsResponse, error)
批量添加或移除终端节点服务的白名单
功能介绍 批量添加或移除当前用户下终端节点服务的白名单。 说明 本帐号默认在自身用户的终端节点服务的白名单中。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) BatchAddOrRemoveResourceInstance ¶
func (c *VpcepClient) BatchAddOrRemoveResourceInstance(request *model.BatchAddOrRemoveResourceInstanceRequest) (*model.BatchAddOrRemoveResourceInstanceResponse, error)
批量添加或删除资源标签接口
功能介绍 为指定Endpoint Service或Endpoint批量添加或删除标签。 ● 一个资源上最多有10个标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) CreateEndpoint ¶
func (c *VpcepClient) CreateEndpoint(request *model.CreateEndpointRequest) (*model.CreateEndpointResponse, error)
创建终端节点
功能介绍 创建终端节点,以便访问终端节点服务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) CreateEndpointService ¶
func (c *VpcepClient) CreateEndpointService(request *model.CreateEndpointServiceRequest) (*model.CreateEndpointServiceResponse, error)
创建终端节点服务
功能介绍 创建终端节点服务,允许其他用户创建终端节点连接您创建的终端节点服务,使用您所提供的服务。 说明 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。通常创建终端节点服务需要1~2分钟,可以通过查询终端节点服务详情查看创建结果。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) DeleteEndpoint ¶
func (c *VpcepClient) DeleteEndpoint(request *model.DeleteEndpointRequest) (*model.DeleteEndpointResponse, error)
删除终端节点
功能介绍 删除终端节点。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) DeleteEndpointService ¶
func (c *VpcepClient) DeleteEndpointService(request *model.DeleteEndpointServiceRequest) (*model.DeleteEndpointServiceResponse, error)
删除终端节点服务
功能介绍 删除终端节点服务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListEndpointInfoDetails ¶
func (c *VpcepClient) ListEndpointInfoDetails(request *model.ListEndpointInfoDetailsRequest) (*model.ListEndpointInfoDetailsResponse, error)
查询终端节点详情
功能介绍 查询终端节点的详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListEndpointService ¶
func (c *VpcepClient) ListEndpointService(request *model.ListEndpointServiceRequest) (*model.ListEndpointServiceResponse, error)
查询终端节点服务列表
功能介绍 查询当前用户下的终端节点服务的列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListEndpoints ¶ added in v0.0.69
func (c *VpcepClient) ListEndpoints(request *model.ListEndpointsRequest) (*model.ListEndpointsResponse, error)
查询终端节点列表
功能介绍 查询当前用户下的终端节点的列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListQueryProjectResourceTags ¶
func (c *VpcepClient) ListQueryProjectResourceTags(request *model.ListQueryProjectResourceTagsRequest) (*model.ListQueryProjectResourceTagsResponse, error)
查询租户资源标签接口
功能介绍 根据租户ID和资源类型,获取租户下资源的标签。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListQuotaDetails ¶
func (c *VpcepClient) ListQuotaDetails(request *model.ListQuotaDetailsRequest) (*model.ListQuotaDetailsResponse, error)
查询配额
功能介绍 查询用户的资源配额,包括终端节点服务和终端节点。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListResourceInstances ¶
func (c *VpcepClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
查询资源实例接口
功能介绍 使用标签过滤查询租户下资源的实例。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListServiceConnections ¶
func (c *VpcepClient) ListServiceConnections(request *model.ListServiceConnectionsRequest) (*model.ListServiceConnectionsResponse, error)
查询连接终端节点服务的连接列表
功能介绍 查询连接当前用户下的某一个终端节点服务的连接列表。marker_id是连接的唯一标识。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListServiceDescribeDetails ¶
func (c *VpcepClient) ListServiceDescribeDetails(request *model.ListServiceDescribeDetailsRequest) (*model.ListServiceDescribeDetailsResponse, error)
查询终端节点服务概要
功能介绍 查询终端节点服务的概要信息,此接口是供创建终端节点的用户来查询需要连接的终端节点服务信息。此接口既可以方便其他用户查询到您的终端节点服务概要信息又可以避免您的终端节点服务的细节信息暴露给其他用户。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListServiceDetails ¶
func (c *VpcepClient) ListServiceDetails(request *model.ListServiceDetailsRequest) (*model.ListServiceDetailsResponse, error)
查询终端节点服务详情
功能介绍 查询终端节点服务的详细信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListServicePermissionsDetails ¶
func (c *VpcepClient) ListServicePermissionsDetails(request *model.ListServicePermissionsDetailsRequest) (*model.ListServicePermissionsDetailsResponse, error)
查询终端节点服务的白名单列表
功能介绍 查询当前用户下终端节点服务的白名单列表。 说明 本帐号默认在当前用户下终端节点服务的白名单中。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListServicePublicDetails ¶
func (c *VpcepClient) ListServicePublicDetails(request *model.ListServicePublicDetailsRequest) (*model.ListServicePublicDetailsResponse, error)
查询公共终端节点服务列表
功能介绍 查询公共终端节点服务的列表,公共终端节点服务是所有用户可见且可连接的终端节点服务,由运维人员创建,用户可直接使用,但无权创建。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListSpecifiedVersionDetails ¶
func (c *VpcepClient) ListSpecifiedVersionDetails(request *model.ListSpecifiedVersionDetailsRequest) (*model.ListSpecifiedVersionDetailsResponse, error)
查询指定VPC终端节点接口版本信息
功能介绍 查询指定VPC终端节点接口版本信息。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) ListVersionDetails ¶
func (c *VpcepClient) ListVersionDetails(request *model.ListVersionDetailsRequest) (*model.ListVersionDetailsResponse, error)
查询VPC终端节点接口版本列表
功能介绍 查询VPC终端节点接口版本列表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) UpdateEndpointRoutetable ¶
func (c *VpcepClient) UpdateEndpointRoutetable(request *model.UpdateEndpointRoutetableRequest) (*model.UpdateEndpointRoutetableResponse, error)
修改终端节点路由表
功能介绍 修改终端节点路由表。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) UpdateEndpointService ¶
func (c *VpcepClient) UpdateEndpointService(request *model.UpdateEndpointServiceRequest) (*model.UpdateEndpointServiceResponse, error)
修改终端节点服务
功能介绍 修改终端节点服务。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.
func (*VpcepClient) UpdateEndpointWhite ¶
func (c *VpcepClient) UpdateEndpointWhite(request *model.UpdateEndpointWhiteRequest) (*model.UpdateEndpointWhiteResponse, error)
更新终端节点的白名单
功能介绍 更新或删除允许访问终端节点的白名单。
详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.