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 GenReqDefForListEndpointDetails() *def.HttpRequestDef
- func GenReqDefForListEndpointInfoDetails() *def.HttpRequestDef
- func GenReqDefForListEndpointService() *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) ListEndpointDetails(request *model.ListEndpointDetailsRequest) (*model.ListEndpointDetailsResponse, error)
- func (c *VpcepClient) ListEndpointInfoDetails(request *model.ListEndpointInfoDetailsRequest) (*model.ListEndpointInfoDetailsResponse, error)
- func (c *VpcepClient) ListEndpointService(request *model.ListEndpointServiceRequest) (*model.ListEndpointServiceResponse, 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 GenReqDefForListEndpointDetails ¶
func GenReqDefForListEndpointDetails() *def.HttpRequestDef
func GenReqDefForListEndpointInfoDetails ¶
func GenReqDefForListEndpointInfoDetails() *def.HttpRequestDef
func GenReqDefForListEndpointService ¶
func GenReqDefForListEndpointService() *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)
功能介绍 接受或者拒绝终端节点连接到当前的终端节点服务。
func (*VpcepClient) AddOrRemoveServicePermissions ¶
func (c *VpcepClient) AddOrRemoveServicePermissions(request *model.AddOrRemoveServicePermissionsRequest) (*model.AddOrRemoveServicePermissionsResponse, error)
功能介绍 批量添加或移除当前用户下终端节点服务的白名单。 说明 本帐号默认在自身用户的终端节点服务的白名单中。
func (*VpcepClient) BatchAddOrRemoveResourceInstance ¶
func (c *VpcepClient) BatchAddOrRemoveResourceInstance(request *model.BatchAddOrRemoveResourceInstanceRequest) (*model.BatchAddOrRemoveResourceInstanceResponse, error)
功能介绍 为指定Endpoint Service或Endpoint批量添加或删除标签。 ● 一个资源上最多有10个标签。
func (*VpcepClient) CreateEndpoint ¶
func (c *VpcepClient) CreateEndpoint(request *model.CreateEndpointRequest) (*model.CreateEndpointResponse, error)
功能介绍 创建终端节点,以便访问终端节点服务。
func (*VpcepClient) CreateEndpointService ¶
func (c *VpcepClient) CreateEndpointService(request *model.CreateEndpointServiceRequest) (*model.CreateEndpointServiceResponse, error)
功能介绍 创建终端节点服务,允许其他用户创建终端节点连接您创建的终端节点服务,使用您 所提供的服务。 说明 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。通常创建终端节点服务 需要1~2分钟,可以通过查询终端节点服务详情查看创建结果。
func (*VpcepClient) DeleteEndpoint ¶
func (c *VpcepClient) DeleteEndpoint(request *model.DeleteEndpointRequest) (*model.DeleteEndpointResponse, error)
功能介绍 删除终端节点。
func (*VpcepClient) DeleteEndpointService ¶
func (c *VpcepClient) DeleteEndpointService(request *model.DeleteEndpointServiceRequest) (*model.DeleteEndpointServiceResponse, error)
功能介绍 删除终端节点服务。
func (*VpcepClient) ListEndpointDetails ¶
func (c *VpcepClient) ListEndpointDetails(request *model.ListEndpointDetailsRequest) (*model.ListEndpointDetailsResponse, error)
功能介绍 查询当前用户下的终端节点的列表。
func (*VpcepClient) ListEndpointInfoDetails ¶
func (c *VpcepClient) ListEndpointInfoDetails(request *model.ListEndpointInfoDetailsRequest) (*model.ListEndpointInfoDetailsResponse, error)
功能介绍 查询终端节点的详细信息。
func (*VpcepClient) ListEndpointService ¶
func (c *VpcepClient) ListEndpointService(request *model.ListEndpointServiceRequest) (*model.ListEndpointServiceResponse, error)
功能介绍 查询当前用户下的终端节点服务的列表。
func (*VpcepClient) ListQueryProjectResourceTags ¶
func (c *VpcepClient) ListQueryProjectResourceTags(request *model.ListQueryProjectResourceTagsRequest) (*model.ListQueryProjectResourceTagsResponse, error)
功能介绍 根据租户ID和资源类型,获取租户下资源的标签。
func (*VpcepClient) ListQuotaDetails ¶
func (c *VpcepClient) ListQuotaDetails(request *model.ListQuotaDetailsRequest) (*model.ListQuotaDetailsResponse, error)
功能介绍 查询用户的资源配额,包括终端节点服务和终端节点。
func (*VpcepClient) ListResourceInstances ¶
func (c *VpcepClient) ListResourceInstances(request *model.ListResourceInstancesRequest) (*model.ListResourceInstancesResponse, error)
功能介绍 使用标签过滤查询租户下资源的实例。
func (*VpcepClient) ListServiceConnections ¶
func (c *VpcepClient) ListServiceConnections(request *model.ListServiceConnectionsRequest) (*model.ListServiceConnectionsResponse, error)
功能介绍 查询连接当前用户下的某一个终端节点服务的连接列表。marker_id是连接的唯一标 识。
func (*VpcepClient) ListServiceDescribeDetails ¶
func (c *VpcepClient) ListServiceDescribeDetails(request *model.ListServiceDescribeDetailsRequest) (*model.ListServiceDescribeDetailsResponse, error)
功能介绍 查询终端节点服务的概要信息,此接口是供创建终端节点的用户来查询需要连接的终 端节点服务信息。此接口既可以方便其他用户查询到您的终端节点服务概要信息又可 以避免您的终端节点服务的细节信息暴露给其他用户。
func (*VpcepClient) ListServiceDetails ¶
func (c *VpcepClient) ListServiceDetails(request *model.ListServiceDetailsRequest) (*model.ListServiceDetailsResponse, error)
功能介绍 查询终端节点服务的详细信息。
func (*VpcepClient) ListServicePermissionsDetails ¶
func (c *VpcepClient) ListServicePermissionsDetails(request *model.ListServicePermissionsDetailsRequest) (*model.ListServicePermissionsDetailsResponse, error)
功能介绍 查询当前用户下终端节点服务的白名单列表。 说明 本帐号默认在当前用户下终端节点服务的白名单中。
func (*VpcepClient) ListServicePublicDetails ¶
func (c *VpcepClient) ListServicePublicDetails(request *model.ListServicePublicDetailsRequest) (*model.ListServicePublicDetailsResponse, error)
功能介绍 查询公共终端节点服务的列表,公共终端节点服务是所有用户可见且可连接的终端节 点服务,由运维人员创建,用户可直接使用,但无权创建。
func (*VpcepClient) ListSpecifiedVersionDetails ¶
func (c *VpcepClient) ListSpecifiedVersionDetails(request *model.ListSpecifiedVersionDetailsRequest) (*model.ListSpecifiedVersionDetailsResponse, error)
功能介绍 查询指定VPC终端节点接口版本信息。
func (*VpcepClient) ListVersionDetails ¶
func (c *VpcepClient) ListVersionDetails(request *model.ListVersionDetailsRequest) (*model.ListVersionDetailsResponse, error)
功能介绍 查询VPC终端节点接口版本列表。
func (*VpcepClient) UpdateEndpointRoutetable ¶
func (c *VpcepClient) UpdateEndpointRoutetable(request *model.UpdateEndpointRoutetableRequest) (*model.UpdateEndpointRoutetableResponse, error)
功能介绍 修改终端节点路由表。
func (*VpcepClient) UpdateEndpointService ¶
func (c *VpcepClient) UpdateEndpointService(request *model.UpdateEndpointServiceRequest) (*model.UpdateEndpointServiceResponse, error)
功能介绍 修改终端节点服务。
func (*VpcepClient) UpdateEndpointWhite ¶
func (c *VpcepClient) UpdateEndpointWhite(request *model.UpdateEndpointWhiteRequest) (*model.UpdateEndpointWhiteResponse, error)
功能介绍 更新或删除允许访问终端节点的白名单。