model

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptOrRejectEndpointRequest

type AcceptOrRejectEndpointRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *AcceptOrRejectEndpointRequestBody `json:"body,omitempty"`
}

Request Object

func (AcceptOrRejectEndpointRequest) String

type AcceptOrRejectEndpointRequestBody

type AcceptOrRejectEndpointRequestBody struct {

	// 允许或拒绝连接。 ● receive:允许连接。 ● reject:拒绝连接。
	Action AcceptOrRejectEndpointRequestBodyAction `json:"action"`

	// 终端节点ID列表。 每次请求目前支持单条endpoint的接受或拒绝。
	Endpoints []string `json:"endpoints"`
}

连接终端节点列表请求结构体

func (AcceptOrRejectEndpointRequestBody) String

type AcceptOrRejectEndpointRequestBodyAction

type AcceptOrRejectEndpointRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (AcceptOrRejectEndpointRequestBodyAction) MarshalJSON

func (c AcceptOrRejectEndpointRequestBodyAction) MarshalJSON() ([]byte, error)

func (*AcceptOrRejectEndpointRequestBodyAction) UnmarshalJSON

func (c *AcceptOrRejectEndpointRequestBodyAction) UnmarshalJSON(b []byte) error

func (AcceptOrRejectEndpointRequestBodyAction) Value added in v0.0.90

type AcceptOrRejectEndpointRequestBodyActionEnum

type AcceptOrRejectEndpointRequestBodyActionEnum struct {
	RECEIVE AcceptOrRejectEndpointRequestBodyAction
	REJECT  AcceptOrRejectEndpointRequestBodyAction
}

func GetAcceptOrRejectEndpointRequestBodyActionEnum

func GetAcceptOrRejectEndpointRequestBodyActionEnum() AcceptOrRejectEndpointRequestBodyActionEnum

type AcceptOrRejectEndpointResponse

type AcceptOrRejectEndpointResponse struct {

	// 连接列表
	Connections    *[]ConnectionEndpoints `json:"connections,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (AcceptOrRejectEndpointResponse) String

type AddOrRemoveServicePermissionsRequest

type AddOrRemoveServicePermissionsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *AddOrRemoveServicePermissionsRequestBody `json:"body,omitempty"`
}

Request Object

func (AddOrRemoveServicePermissionsRequest) String

type AddOrRemoveServicePermissionsRequestBody

type AddOrRemoveServicePermissionsRequestBody struct {

	// permission列表。 权限格式为:iam:domain::domain_id其中, ● “iam:domain::”为固定格式。 ● “domain_id”为可连接用户的帐号ID。 支持输入1~64个字符,包括“a~z”、“A~Z”、“0~9”或者“*”。 “*”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd
	Permissions []string `json:"permissions"`

	// 要执行的操作。 add/remove。
	Action AddOrRemoveServicePermissionsRequestBodyAction `json:"action"`
}

操作权限请求结构体

func (AddOrRemoveServicePermissionsRequestBody) String

type AddOrRemoveServicePermissionsRequestBodyAction

type AddOrRemoveServicePermissionsRequestBodyAction struct {
	// contains filtered or unexported fields
}

func (AddOrRemoveServicePermissionsRequestBodyAction) MarshalJSON

func (*AddOrRemoveServicePermissionsRequestBodyAction) UnmarshalJSON

func (AddOrRemoveServicePermissionsRequestBodyAction) Value added in v0.0.90

type AddOrRemoveServicePermissionsResponse

type AddOrRemoveServicePermissionsResponse struct {

	// permission列表。 权限格式为iam:domain::6e9dfd51d1124e8d8498dce894923a0d或“*”, “*”表示所有用户的终端节点可连接。 其中6e9dfd51d1124e8d8498dce894923a0d为可连接的用户domian_id。
	Permissions    *[]string `json:"permissions,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (AddOrRemoveServicePermissionsResponse) String

type BatchAddEndpointServicePermissionsRequest added in v0.1.5

type BatchAddEndpointServicePermissionsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *BatchAddPermissionRequest `json:"body,omitempty"`
}

Request Object

func (BatchAddEndpointServicePermissionsRequest) String added in v0.1.5

type BatchAddEndpointServicePermissionsResponse added in v0.1.5

type BatchAddEndpointServicePermissionsResponse struct {
	Permissions    *[]EpsPermission `json:"permissions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (BatchAddEndpointServicePermissionsResponse) String added in v0.1.5

type BatchAddOrRemoveResourceInstanceBody

type BatchAddOrRemoveResourceInstanceBody struct {

	// 标签列表,没有标签默认为空数组。
	Tags *[]ResourceTag `json:"tags,omitempty"`

	// 操作标识:仅限于 create(创建) delete(删除)
	Action string `json:"action"`
}

批量添加或删除资源标签接口请求结构体

func (BatchAddOrRemoveResourceInstanceBody) String

type BatchAddOrRemoveResourceInstanceRequest

type BatchAddOrRemoveResourceInstanceRequest struct {

	// 资源类型,值为:endpoint_service或endpoint。
	ResourceType string `json:"resource_type"`

	// 资源ID,Endpoint ServiceID或Endpoint ID。
	ResourceId string `json:"resource_id"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *BatchAddOrRemoveResourceInstanceBody `json:"body,omitempty"`
}

Request Object

func (BatchAddOrRemoveResourceInstanceRequest) String

type BatchAddOrRemoveResourceInstanceResponse

type BatchAddOrRemoveResourceInstanceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (BatchAddOrRemoveResourceInstanceResponse) String

type BatchAddPermissionRequest added in v0.1.5

type BatchAddPermissionRequest struct {

	// 终端节点服务白名单列表
	Permissions []EpsAddPermissionRequest `json:"permissions"`
}

批量添加终端节点服务白名单列表。

func (BatchAddPermissionRequest) String added in v0.1.5

func (o BatchAddPermissionRequest) String() string

type BatchRemoveEndpointServicePermissionsRequest added in v0.1.5

type BatchRemoveEndpointServicePermissionsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *BatchRemovePermissionRequest `json:"body,omitempty"`
}

Request Object

func (BatchRemoveEndpointServicePermissionsRequest) String added in v0.1.5

type BatchRemoveEndpointServicePermissionsResponse added in v0.1.5

type BatchRemoveEndpointServicePermissionsResponse struct {
	Permissions    *[]EpsPermission `json:"permissions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (BatchRemoveEndpointServicePermissionsResponse) String added in v0.1.5

type BatchRemovePermissionRequest added in v0.1.5

type BatchRemovePermissionRequest struct {
	Permissions []EpsRemovePermissionRequest `json:"permissions"`
}

批量删除终端节点服务白名单列表。

func (BatchRemovePermissionRequest) String added in v0.1.5

type ConnectionEndpoints added in v0.0.69

type ConnectionEndpoints struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 用户的Domain ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 错误信息。  当终端节点服务状态异常,即“status”的值为“failed”时,会返回该字段。
	Error *[]QueryError `json:"error,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败 ● deleting:删除中
	Status *ConnectionEndpointsStatus `json:"status,omitempty"`

	// 终端节点连接描述。
	Description *string `json:"description,omitempty"`
}

终端节点列表

func (ConnectionEndpoints) String added in v0.0.69

func (o ConnectionEndpoints) String() string

type ConnectionEndpointsStatus added in v0.0.69

type ConnectionEndpointsStatus struct {
	// contains filtered or unexported fields
}

func (ConnectionEndpointsStatus) MarshalJSON added in v0.0.69

func (c ConnectionEndpointsStatus) MarshalJSON() ([]byte, error)

func (*ConnectionEndpointsStatus) UnmarshalJSON added in v0.0.69

func (c *ConnectionEndpointsStatus) UnmarshalJSON(b []byte) error

func (ConnectionEndpointsStatus) Value added in v0.0.90

type ConnectionEndpointsStatusEnum added in v0.0.69

type ConnectionEndpointsStatusEnum struct {
	PENDING_ACCEPTANCE ConnectionEndpointsStatus
	CREATING           ConnectionEndpointsStatus
	ACCEPTED           ConnectionEndpointsStatus
	REJECTED           ConnectionEndpointsStatus
	FAILED             ConnectionEndpointsStatus
	DELETING           ConnectionEndpointsStatus
}

func GetConnectionEndpointsStatusEnum added in v0.0.69

func GetConnectionEndpointsStatusEnum() ConnectionEndpointsStatusEnum

type ConnectionsDesc added in v0.1.5

type ConnectionsDesc struct {

	// 终端节点ID,UUID格式字符
	Id string `json:"id"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description string `json:"description"`
}

func (ConnectionsDesc) String added in v0.1.5

func (o ConnectionsDesc) String() string

type CreateEndpointRequest

type CreateEndpointRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *CreateEndpointRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateEndpointRequest) String

func (o CreateEndpointRequest) String() string

type CreateEndpointRequestBody

type CreateEndpointRequestBody struct {

	// 说明: 创建Interface类型Client必选。 需要指定vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。 详细内容请参考《虚拟私有云API参考》中的“查询子网”,详见响应消息中的“id”字段。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。 说明 ● VPC的子网网段不能与198.19.128.0/17重叠 ● VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点服务的ID。 可以通过查询终端节点服务概 要获取要连接的终端节点服务 ID。
	EndpointServiceId string `json:"endpoint_service_id"`

	// 终端节点所在的VPC的ID。 详细内容请参考《虚拟私有云API参考》中的“查询VPC”, 详见响应消息中的“id”字段。
	VpcId string `json:"vpc_id"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 默认值为false。 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	// 路由表ID列表。详细内容请参考《虚拟私有云API参考》中的“查询VPC路由”, 详见响应消息中的“id”字段。 创建连接gateway类型终端节点服务的终节点时,此参数必选。 说明 不设置此参数时,选择默认路由表。
	Routetables *[]string `json:"routetables,omitempty"`

	// 访问所连接的终端节点服务的IP。 创建终端节点时,可以指定访问所连接的终端节点服务的IP,目前只支持IPv4类型 。 创建连接Interface类型终端节点服务的终端节点时,此参数必选。
	PortIp *string `json:"port_ip,omitempty"`

	// 添加用于控制访问终端节点的白名单。 创建终端节点时,支持访问控制,使用此参数可以添加IPv4或CIDR,默认空列表。 仅当创建连接Interface类型终端节点服务的终端节点时,支持设置此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`
}

创建终端节接口请求结构体

func (CreateEndpointRequestBody) String

func (o CreateEndpointRequestBody) String() string

type CreateEndpointResponse

type CreateEndpointResponse struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
	ServiceType *CreateEndpointResponseServiceType `json:"service_type,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
	Status *CreateEndpointResponseStatus `json:"status,omitempty"`

	// 帐号状态。 ● frozen:冻结 ● active:解冻
	ActiveStatus *[]string `json:"active_status,omitempty"`

	// 终端节点服务的名称。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点服务的ID。
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
	DnsNames *[]string `json:"dns_names,omitempty"`

	// vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	// 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
	Routetables *[]string `json:"routetables,omitempty"`

	// 规格名称
	SpecificationName *string `json:"specification_name,omitempty"`

	// 描述
	Description *string `json:"description,omitempty"`

	// 只涉及开启双端固定的网关型终端节点,响应体展示此字段
	PolicyStatement *[]string `json:"policy_statement,omitempty"`

	// 终端节点是否已停用,取值【enable/disable】
	EnableStatus   *string `json:"enable_status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEndpointResponse) String

func (o CreateEndpointResponse) String() string

type CreateEndpointResponseServiceType

type CreateEndpointResponseServiceType struct {
	// contains filtered or unexported fields
}

func (CreateEndpointResponseServiceType) MarshalJSON

func (c CreateEndpointResponseServiceType) MarshalJSON() ([]byte, error)

func (*CreateEndpointResponseServiceType) UnmarshalJSON

func (c *CreateEndpointResponseServiceType) UnmarshalJSON(b []byte) error

func (CreateEndpointResponseServiceType) Value added in v0.0.90

type CreateEndpointResponseServiceTypeEnum

type CreateEndpointResponseServiceTypeEnum struct {
	INTERFACE CreateEndpointResponseServiceType
	GATEWAY   CreateEndpointResponseServiceType
}

func GetCreateEndpointResponseServiceTypeEnum

func GetCreateEndpointResponseServiceTypeEnum() CreateEndpointResponseServiceTypeEnum

type CreateEndpointResponseStatus

type CreateEndpointResponseStatus struct {
	// contains filtered or unexported fields
}

func (CreateEndpointResponseStatus) MarshalJSON

func (c CreateEndpointResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateEndpointResponseStatus) UnmarshalJSON

func (c *CreateEndpointResponseStatus) UnmarshalJSON(b []byte) error

func (CreateEndpointResponseStatus) Value added in v0.0.90

type CreateEndpointServiceRequest

type CreateEndpointServiceRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *CreateEndpointServiceRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateEndpointServiceRequest) String

type CreateEndpointServiceRequestBody

type CreateEndpointServiceRequestBody struct {

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:增强型负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”, 详见响应消息中的“vip_port_id”字段。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。 说明 ● 创建终端节点服务时,VPC的子网网段不能与198.19.128.0/17重叠。 ● VPC路由表中自定义路由的目的地址不能与198.19.128.0/17重叠。
	PortId string `json:"port_id"`

	// 虚拟IP的网卡ID。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 终端节点服务的名称,长度不大于16,允许传入大小写字母、数字、下划线、中划线。 ● 传入为空,存入值为regionName+.+serviceId ● 传入不为空并校验通过,存入值为regionName+.+serviceName+.+serviceId
	ServiceName *string `json:"service_name,omitempty"`

	// 终端节点服务对应后端资源所在的VPC的ID。 详细内容请参考《虚拟私有云API参考》中的“查询VPC”,详见响应消息中的“id”字段。
	VpcId string `json:"vpc_id"`

	// 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	// 终端节点服务类型。 仅支持将用户私有服务创建为interface类型的终端节点服务。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *string `json:"service_type,omitempty"`

	// 资源类型。 ● VM:云服务器,适用于作为服务器使用。 ● VIP:虚拟IP,适用于作为虚拟资源的物理服务器使用。 ● LB:增强型负载均衡,适用于高访问量业务和对可靠性和容灾性要求较高的业务。
	ServerType CreateEndpointServiceRequestBodyServerType `json:"server_type"`

	// 服务开放的端口映射列表,详细内容请参见表4-10。 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。
	Ports []PortList `json:"ports"`

	// 用于控制是否将客户端的源IP、源端口、marker_id等信息携带到服务端。 信息携带支持两种方式: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端相关信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。
	TcpProxy *CreateEndpointServiceRequestBodyTcpProxy `json:"tcp_proxy,omitempty"`

	// 资源标签列表。同一个终端节点服务最多可添加10个标签。
	Tags *[]TagList `json:"tags,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。  描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`
}

创建终端节点服务接口请求结构体

func (CreateEndpointServiceRequestBody) String

type CreateEndpointServiceRequestBodyServerType

type CreateEndpointServiceRequestBodyServerType struct {
	// contains filtered or unexported fields
}

func (CreateEndpointServiceRequestBodyServerType) MarshalJSON

func (*CreateEndpointServiceRequestBodyServerType) UnmarshalJSON

func (CreateEndpointServiceRequestBodyServerType) Value added in v0.0.90

type CreateEndpointServiceRequestBodyTcpProxy

type CreateEndpointServiceRequestBodyTcpProxy struct {
	// contains filtered or unexported fields
}

func (CreateEndpointServiceRequestBodyTcpProxy) MarshalJSON

func (*CreateEndpointServiceRequestBodyTcpProxy) UnmarshalJSON

func (c *CreateEndpointServiceRequestBodyTcpProxy) UnmarshalJSON(b []byte) error

func (CreateEndpointServiceRequestBodyTcpProxy) Value added in v0.0.90

type CreateEndpointServiceResponse

type CreateEndpointServiceResponse struct {

	// 终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:增强型负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。
	PortId *string `json:"port_id,omitempty"`

	// 虚拟IP的网卡ID。 仅当“port_id”为“VIP类型”时,返回该参数。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 终端节点服务的名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。
	ServerType *CreateEndpointServiceResponseServerType `json:"server_type,omitempty"`

	// 终端节点服务对应后端资源所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 终端节点服务对应的集群id
	PoolId *string `json:"pool_id,omitempty"`

	// 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	// 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败
	Status *CreateEndpointServiceResponseStatus `json:"status,omitempty"`

	// 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *string `json:"service_type,omitempty"`

	// 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 网段类型。 ● public:公网网段 ● internal:内网网段 默认值为internal。
	CidrType *CreateEndpointServiceResponseCidrType `json:"cidr_type,omitempty"`

	// 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
	Ports *[]PortList `json:"ports,omitempty"`

	// 用于控制是否将客户端的源IP、源端口、marker_id等信息携带到服务端。 信息携带支持两种方式: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端相关信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。
	TcpProxy *CreateEndpointServiceResponseTcpProxy `json:"tcp_proxy,omitempty"`

	// 资源标签列表
	Tags *[]TagList `json:"tags,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateEndpointServiceResponse) String

type CreateEndpointServiceResponseCidrType

type CreateEndpointServiceResponseCidrType struct {
	// contains filtered or unexported fields
}

func (CreateEndpointServiceResponseCidrType) MarshalJSON

func (c CreateEndpointServiceResponseCidrType) MarshalJSON() ([]byte, error)

func (*CreateEndpointServiceResponseCidrType) UnmarshalJSON

func (c *CreateEndpointServiceResponseCidrType) UnmarshalJSON(b []byte) error

func (CreateEndpointServiceResponseCidrType) Value added in v0.0.90

type CreateEndpointServiceResponseCidrTypeEnum

type CreateEndpointServiceResponseCidrTypeEnum struct {
	PUBLIC   CreateEndpointServiceResponseCidrType
	INTERNAL CreateEndpointServiceResponseCidrType
}

func GetCreateEndpointServiceResponseCidrTypeEnum

func GetCreateEndpointServiceResponseCidrTypeEnum() CreateEndpointServiceResponseCidrTypeEnum

type CreateEndpointServiceResponseServerType

type CreateEndpointServiceResponseServerType struct {
	// contains filtered or unexported fields
}

func (CreateEndpointServiceResponseServerType) MarshalJSON

func (c CreateEndpointServiceResponseServerType) MarshalJSON() ([]byte, error)

func (*CreateEndpointServiceResponseServerType) UnmarshalJSON

func (c *CreateEndpointServiceResponseServerType) UnmarshalJSON(b []byte) error

func (CreateEndpointServiceResponseServerType) Value added in v0.0.90

type CreateEndpointServiceResponseStatus

type CreateEndpointServiceResponseStatus struct {
	// contains filtered or unexported fields
}

func (CreateEndpointServiceResponseStatus) MarshalJSON

func (c CreateEndpointServiceResponseStatus) MarshalJSON() ([]byte, error)

func (*CreateEndpointServiceResponseStatus) UnmarshalJSON

func (c *CreateEndpointServiceResponseStatus) UnmarshalJSON(b []byte) error

func (CreateEndpointServiceResponseStatus) Value added in v0.0.90

type CreateEndpointServiceResponseTcpProxy

type CreateEndpointServiceResponseTcpProxy struct {
	// contains filtered or unexported fields
}

func (CreateEndpointServiceResponseTcpProxy) MarshalJSON

func (c CreateEndpointServiceResponseTcpProxy) MarshalJSON() ([]byte, error)

func (*CreateEndpointServiceResponseTcpProxy) UnmarshalJSON

func (c *CreateEndpointServiceResponseTcpProxy) UnmarshalJSON(b []byte) error

func (CreateEndpointServiceResponseTcpProxy) Value added in v0.0.90

type DeleteEndpointPolicyRequest added in v0.1.5

type DeleteEndpointPolicyRequest struct {

	// 终端节点的ID。
	VpcEndpointId string `json:"vpc_endpoint_id"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`
}

Request Object

func (DeleteEndpointPolicyRequest) String added in v0.1.5

type DeleteEndpointPolicyResponse added in v0.1.5

type DeleteEndpointPolicyResponse struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
	ServiceType *DeleteEndpointPolicyResponseServiceType `json:"service_type,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
	Status *DeleteEndpointPolicyResponseStatus `json:"status,omitempty"`

	// 帐号状态。 ● frozen:冻结 ● active:解冻
	ActiveStatus *[]string `json:"active_status,omitempty"`

	// 终端节点服务的名称。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点服务的ID。
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
	DnsNames *[]string `json:"dns_names,omitempty"`

	// 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
	Ip *string `json:"ip,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	// 错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
	Error *[]QueryError `json:"error,omitempty"`

	// 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
	Routetables *[]string `json:"routetables,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`

	// 只涉及开启双端固定的网关型终端节点,响应体展示此字段
	PolicyStatement *[]PolicyStatement `json:"policy_statement,omitempty"`

	// 终端节点相关联的Pood的ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

	// 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
	HttpStatusCode    int     `json:"-"`
}

Response Object

func (DeleteEndpointPolicyResponse) String added in v0.1.5

type DeleteEndpointPolicyResponseServiceType added in v0.1.5

type DeleteEndpointPolicyResponseServiceType struct {
	// contains filtered or unexported fields
}

func (DeleteEndpointPolicyResponseServiceType) MarshalJSON added in v0.1.5

func (c DeleteEndpointPolicyResponseServiceType) MarshalJSON() ([]byte, error)

func (*DeleteEndpointPolicyResponseServiceType) UnmarshalJSON added in v0.1.5

func (c *DeleteEndpointPolicyResponseServiceType) UnmarshalJSON(b []byte) error

func (DeleteEndpointPolicyResponseServiceType) Value added in v0.1.5

type DeleteEndpointPolicyResponseServiceTypeEnum added in v0.1.5

type DeleteEndpointPolicyResponseServiceTypeEnum struct {
	INTERFACE DeleteEndpointPolicyResponseServiceType
	GATEWAY   DeleteEndpointPolicyResponseServiceType
}

func GetDeleteEndpointPolicyResponseServiceTypeEnum added in v0.1.5

func GetDeleteEndpointPolicyResponseServiceTypeEnum() DeleteEndpointPolicyResponseServiceTypeEnum

type DeleteEndpointPolicyResponseStatus added in v0.1.5

type DeleteEndpointPolicyResponseStatus struct {
	// contains filtered or unexported fields
}

func (DeleteEndpointPolicyResponseStatus) MarshalJSON added in v0.1.5

func (c DeleteEndpointPolicyResponseStatus) MarshalJSON() ([]byte, error)

func (*DeleteEndpointPolicyResponseStatus) UnmarshalJSON added in v0.1.5

func (c *DeleteEndpointPolicyResponseStatus) UnmarshalJSON(b []byte) error

func (DeleteEndpointPolicyResponseStatus) Value added in v0.1.5

type DeleteEndpointPolicyResponseStatusEnum added in v0.1.5

func GetDeleteEndpointPolicyResponseStatusEnum added in v0.1.5

func GetDeleteEndpointPolicyResponseStatusEnum() DeleteEndpointPolicyResponseStatusEnum

type DeleteEndpointRequest

type DeleteEndpointRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点的ID。
	VpcEndpointId string `json:"vpc_endpoint_id"`
}

Request Object

func (DeleteEndpointRequest) String

func (o DeleteEndpointRequest) String() string

type DeleteEndpointResponse

type DeleteEndpointResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteEndpointResponse) String

func (o DeleteEndpointResponse) String() string

type DeleteEndpointServiceRequest

type DeleteEndpointServiceRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`
}

Request Object

func (DeleteEndpointServiceRequest) String

type DeleteEndpointServiceResponse

type DeleteEndpointServiceResponse struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (DeleteEndpointServiceResponse) String

type EndpointResp

type EndpointResp struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
	ServiceType *EndpointRespServiceType `json:"service_type,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
	Status *EndpointRespStatus `json:"status,omitempty"`

	// 帐号状态。 ● frozen:冻结 ● active:解冻
	ActiveStatus *[]string `json:"active_status,omitempty"`

	// 终端节点服务的名称。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点服务的ID。
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
	DnsNames *[]string `json:"dns_names,omitempty"`

	// 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
	Ip *string `json:"ip,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	// 错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
	Error *[]QueryError `json:"error,omitempty"`

	// 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
	Routetables *[]string `json:"routetables,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`

	// 只涉及开启双端固定的网关型终端节点,响应体展示此字段
	PolicyStatement *[]PolicyStatement `json:"policy_statement,omitempty"`

	// 终端节点相关联的Pood的ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

	// 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

终端节接口响应结构体

func (EndpointResp) String

func (o EndpointResp) String() string

type EndpointRespServiceType

type EndpointRespServiceType struct {
	// contains filtered or unexported fields
}

func (EndpointRespServiceType) MarshalJSON

func (c EndpointRespServiceType) MarshalJSON() ([]byte, error)

func (*EndpointRespServiceType) UnmarshalJSON

func (c *EndpointRespServiceType) UnmarshalJSON(b []byte) error

func (EndpointRespServiceType) Value added in v0.0.90

func (c EndpointRespServiceType) Value() string

type EndpointRespServiceTypeEnum

type EndpointRespServiceTypeEnum struct {
	INTERFACE EndpointRespServiceType
	GATEWAY   EndpointRespServiceType
}

func GetEndpointRespServiceTypeEnum

func GetEndpointRespServiceTypeEnum() EndpointRespServiceTypeEnum

type EndpointRespStatus

type EndpointRespStatus struct {
	// contains filtered or unexported fields
}

func (EndpointRespStatus) MarshalJSON

func (c EndpointRespStatus) MarshalJSON() ([]byte, error)

func (*EndpointRespStatus) UnmarshalJSON

func (c *EndpointRespStatus) UnmarshalJSON(b []byte) error

func (EndpointRespStatus) Value added in v0.0.90

func (c EndpointRespStatus) Value() string

type EndpointRespStatusEnum

type EndpointRespStatusEnum struct {
	PENDING_ACCEPTANCE EndpointRespStatus
	CREATING           EndpointRespStatus
	ACCEPTED           EndpointRespStatus
	REJECTED           EndpointRespStatus
	FAILED             EndpointRespStatus
	DELETING           EndpointRespStatus
}

func GetEndpointRespStatusEnum

func GetEndpointRespStatusEnum() EndpointRespStatusEnum

type EndpointService added in v0.0.69

type EndpointService struct {

	// 公共终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点服务的所有者。
	Owner *string `json:"owner,omitempty"`

	// 公共终端节点服务的名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *EndpointServiceServiceType `json:"service_type,omitempty"`

	// 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYYMM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费
	IsCharge *bool `json:"is_charge,omitempty"`
}

终端节点服务列表

func (EndpointService) String added in v0.0.69

func (o EndpointService) String() string

type EndpointServiceServiceType added in v0.0.69

type EndpointServiceServiceType struct {
	// contains filtered or unexported fields
}

func (EndpointServiceServiceType) MarshalJSON added in v0.0.69

func (c EndpointServiceServiceType) MarshalJSON() ([]byte, error)

func (*EndpointServiceServiceType) UnmarshalJSON added in v0.0.69

func (c *EndpointServiceServiceType) UnmarshalJSON(b []byte) error

func (EndpointServiceServiceType) Value added in v0.0.90

type EndpointServiceServiceTypeEnum added in v0.0.69

type EndpointServiceServiceTypeEnum struct {
	INTERFACE EndpointServiceServiceType
	GATEWAY   EndpointServiceServiceType
}

func GetEndpointServiceServiceTypeEnum added in v0.0.69

func GetEndpointServiceServiceTypeEnum() EndpointServiceServiceTypeEnum

type EpsAddPermissionRequest added in v0.1.5

type EpsAddPermissionRequest struct {

	// 权限格式为:iam:domain::domain_id其中, ● “iam:domain::”为固定格式。 ● “domain_id”为可连接用户的帐号ID。 支持输入1~64个字符,包括“a~z”、“A~Z”、“0~9”或者“”。 “”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd
	Permission string `json:"permission"`

	// 终端节点服务白名单描述
	Description string `json:"description"`
}

添加终端节点服务白名单请求体。

func (EpsAddPermissionRequest) String added in v0.1.5

func (o EpsAddPermissionRequest) String() string

type EpsPermission added in v0.1.5

type EpsPermission struct {

	// 白名单表主键ID
	Id *string `json:"id,omitempty"`

	// 权限格式为:iam:domain::domain_id其中, ● “iam:domain::”为固定格式。 ● “domain_id”为可连接用户的帐号ID。 支持输入1~64个字符,包括“a~z”、“A~Z”、“0~9”或者“”。 “”表示所有终端节点可连接。 例如:iam:domain::6e9dfd51d1124e8d8498dce894923a0dd
	Permission *string `json:"permission,omitempty"`

	// 终端节点服务白名单描述
	Description *string `json:"description,omitempty"`

	// 白名单创建时间
	CreatedAt *string `json:"created_at,omitempty"`
}

终端节点服务白名单响应体。

func (EpsPermission) String added in v0.1.5

func (o EpsPermission) String() string

type EpsRemovePermissionRequest added in v0.1.5

type EpsRemovePermissionRequest struct {

	// 终端节点服务白名单表主键ID
	Id string `json:"id"`
}

删除终端节点服务白名单请求体。

func (EpsRemovePermissionRequest) String added in v0.1.5

type EpsUpdatePermissionDesc added in v0.1.5

type EpsUpdatePermissionDesc struct {

	// 终端节点服务白名单描述
	Description string `json:"description"`
}

更新终端节点服务白名单描述请求体。

func (EpsUpdatePermissionDesc) String added in v0.1.5

func (o EpsUpdatePermissionDesc) String() string

type Error added in v0.0.69

type Error struct {

	// 任务异常错误信息描述
	Message *string `json:"message,omitempty"`

	// 任务异常错误信息编码
	Code *string `json:"code,omitempty"`
}

提交任务异常时返回的异常信息

func (Error) String added in v0.0.69

func (o Error) String() string
type Link struct {

	// 当前API版本的引用地址。
	Href *string `json:"href,omitempty"`

	// 发送的实体的MIME类型,取值为application/json。
	Type *string `json:"type,omitempty"`

	// 当前API版本和被引用地址的关系。
	Rel *string `json:"rel,omitempty"`
}

API的url地址

func (Link) String added in v0.0.69

func (o Link) String() string

type ListEndpointInfoDetailsRequest

type ListEndpointInfoDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点的ID。
	VpcEndpointId string `json:"vpc_endpoint_id"`
}

Request Object

func (ListEndpointInfoDetailsRequest) String

type ListEndpointInfoDetailsResponse

type ListEndpointInfoDetailsResponse struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
	ServiceType *ListEndpointInfoDetailsResponseServiceType `json:"service_type,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
	Status *ListEndpointInfoDetailsResponseStatus `json:"status,omitempty"`

	// 帐号状态。 ● frozen:冻结 ● active:解冻
	ActiveStatus *[]string `json:"active_status,omitempty"`

	// 终端节点是否可用。 ● enable:启用 ● disable:不启用
	EnableStatus *ListEndpointInfoDetailsResponseEnableStatus `json:"enable_status,omitempty"`

	// 终端节点服务规格的名称。
	SpecificationName *string `json:"specification_name,omitempty"`

	// 终端节点服务的名称。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点服务的ID。
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
	DnsNames *[]string `json:"dns_names,omitempty"`

	// 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
	Ip *string `json:"ip,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	Error *QueryError `json:"error,omitempty"`

	// 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
	Routetables *[]string `json:"routetables,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`

	// 只涉及开启双端固定的网关型终端节点,响应体展示此字段
	PolicyStatement *[]string `json:"policy_statement,omitempty"`
	HttpStatusCode  int       `json:"-"`
}

Response Object

func (ListEndpointInfoDetailsResponse) String

type ListEndpointInfoDetailsResponseEnableStatus added in v0.0.74

type ListEndpointInfoDetailsResponseEnableStatus struct {
	// contains filtered or unexported fields
}

func (ListEndpointInfoDetailsResponseEnableStatus) MarshalJSON added in v0.0.74

func (*ListEndpointInfoDetailsResponseEnableStatus) UnmarshalJSON added in v0.0.74

func (ListEndpointInfoDetailsResponseEnableStatus) Value added in v0.0.90

type ListEndpointInfoDetailsResponseEnableStatusEnum added in v0.0.74

type ListEndpointInfoDetailsResponseEnableStatusEnum struct {
	ENABLE  ListEndpointInfoDetailsResponseEnableStatus
	DISABLE ListEndpointInfoDetailsResponseEnableStatus
}

func GetListEndpointInfoDetailsResponseEnableStatusEnum added in v0.0.74

func GetListEndpointInfoDetailsResponseEnableStatusEnum() ListEndpointInfoDetailsResponseEnableStatusEnum

type ListEndpointInfoDetailsResponseServiceType

type ListEndpointInfoDetailsResponseServiceType struct {
	// contains filtered or unexported fields
}

func (ListEndpointInfoDetailsResponseServiceType) MarshalJSON

func (*ListEndpointInfoDetailsResponseServiceType) UnmarshalJSON

func (ListEndpointInfoDetailsResponseServiceType) Value added in v0.0.90

type ListEndpointInfoDetailsResponseServiceTypeEnum

type ListEndpointInfoDetailsResponseServiceTypeEnum struct {
	INTERFACE ListEndpointInfoDetailsResponseServiceType
	GATEWAY   ListEndpointInfoDetailsResponseServiceType
}

func GetListEndpointInfoDetailsResponseServiceTypeEnum

func GetListEndpointInfoDetailsResponseServiceTypeEnum() ListEndpointInfoDetailsResponseServiceTypeEnum

type ListEndpointInfoDetailsResponseStatus

type ListEndpointInfoDetailsResponseStatus struct {
	// contains filtered or unexported fields
}

func (ListEndpointInfoDetailsResponseStatus) MarshalJSON

func (c ListEndpointInfoDetailsResponseStatus) MarshalJSON() ([]byte, error)

func (*ListEndpointInfoDetailsResponseStatus) UnmarshalJSON

func (c *ListEndpointInfoDetailsResponseStatus) UnmarshalJSON(b []byte) error

func (ListEndpointInfoDetailsResponseStatus) Value added in v0.0.90

type ListEndpointServiceRequest

type ListEndpointServiceRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的名称,支持大小写,前后模糊匹配。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中
	Status *ListEndpointServiceRequestStatus `json:"status,omitempty"`

	// 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。
	SortKey *ListEndpointServiceRequestSortKey `json:"sort_key,omitempty"`

	// 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。
	SortDir *ListEndpointServiceRequestSortDir `json:"sort_dir,omitempty"`

	// 查询返回的终端节点服务数量限制,即每页返回的终端节点服务的个数。 取值范围:0~1000,取值一般为10,20或者50,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。
	Offset *int32 `json:"offset,omitempty"`

	// 筛选结果中匹配边缘属性的EPS
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

Request Object

func (ListEndpointServiceRequest) String

type ListEndpointServiceRequestSortDir

type ListEndpointServiceRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListEndpointServiceRequestSortDir) MarshalJSON

func (c ListEndpointServiceRequestSortDir) MarshalJSON() ([]byte, error)

func (*ListEndpointServiceRequestSortDir) UnmarshalJSON

func (c *ListEndpointServiceRequestSortDir) UnmarshalJSON(b []byte) error

func (ListEndpointServiceRequestSortDir) Value added in v0.0.90

type ListEndpointServiceRequestSortDirEnum

type ListEndpointServiceRequestSortDirEnum struct {
	ASC  ListEndpointServiceRequestSortDir
	DESC ListEndpointServiceRequestSortDir
}

func GetListEndpointServiceRequestSortDirEnum

func GetListEndpointServiceRequestSortDirEnum() ListEndpointServiceRequestSortDirEnum

type ListEndpointServiceRequestSortKey

type ListEndpointServiceRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListEndpointServiceRequestSortKey) MarshalJSON

func (c ListEndpointServiceRequestSortKey) MarshalJSON() ([]byte, error)

func (*ListEndpointServiceRequestSortKey) UnmarshalJSON

func (c *ListEndpointServiceRequestSortKey) UnmarshalJSON(b []byte) error

func (ListEndpointServiceRequestSortKey) Value added in v0.0.90

type ListEndpointServiceRequestSortKeyEnum

type ListEndpointServiceRequestSortKeyEnum struct {
	CREATE_AT ListEndpointServiceRequestSortKey
	UPDATE_AT ListEndpointServiceRequestSortKey
}

func GetListEndpointServiceRequestSortKeyEnum

func GetListEndpointServiceRequestSortKeyEnum() ListEndpointServiceRequestSortKeyEnum

type ListEndpointServiceRequestStatus

type ListEndpointServiceRequestStatus struct {
	// contains filtered or unexported fields
}

func (ListEndpointServiceRequestStatus) MarshalJSON

func (c ListEndpointServiceRequestStatus) MarshalJSON() ([]byte, error)

func (*ListEndpointServiceRequestStatus) UnmarshalJSON

func (c *ListEndpointServiceRequestStatus) UnmarshalJSON(b []byte) error

func (ListEndpointServiceRequestStatus) Value added in v0.0.90

type ListEndpointServiceResponse

type ListEndpointServiceResponse struct {

	// 终端节点服务列表
	EndpointServices *[]ServiceList `json:"endpoint_services,omitempty"`

	// 满足查询条件的终端节点服务总条数,不受分页(即limit、offset参数)影响。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEndpointServiceResponse) String

type ListEndpointsRequest added in v0.0.69

type ListEndpointsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的名称,支持大小写,前后模糊匹配。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 查询返回终端节点的数量限制,即每页返回的资源个数。 取值范围:0~1000,取值一般为10,20或者50,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。
	Offset *int32 `json:"offset,omitempty"`

	// 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。
	SortKey *string `json:"sort_key,omitempty"`

	// 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。
	SortDir *string `json:"sort_dir,omitempty"`

	// 筛选结果中匹配边缘属性的EPS
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

Request Object

func (ListEndpointsRequest) String added in v0.0.69

func (o ListEndpointsRequest) String() string

type ListEndpointsResponse added in v0.0.69

type ListEndpointsResponse struct {

	// 终端节点列表。
	Endpoints *[]EndpointResp `json:"endpoints,omitempty"`

	// 满足查询条件的终端节点总条数,不受分页(即limit、offset参数)影响。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEndpointsResponse) String added in v0.0.69

func (o ListEndpointsResponse) String() string

type ListQueryProjectResourceTagsRequest

type ListQueryProjectResourceTagsRequest struct {

	// 资源类型,值为:endpoint_service或endpoint。
	ResourceType string `json:"resource_type"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`
}

Request Object

func (ListQueryProjectResourceTagsRequest) String

type ListQueryProjectResourceTagsResponse

type ListQueryProjectResourceTagsResponse struct {

	// 包含标签,最多包含10个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。 Key不能重复,同一个key中values不能重复。结果返回包含所有标签的资源列表, key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据。
	Tags           *[]TagValuesList `json:"tags,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListQueryProjectResourceTagsResponse) String

type ListQuotaDetailsRequest

type ListQuotaDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 资源类型。 ● endpoint_service:终端节点服务 ● endpoint:终端节点
	Type *ListQuotaDetailsRequestType `json:"type,omitempty"`
}

Request Object

func (ListQuotaDetailsRequest) String

func (o ListQuotaDetailsRequest) String() string

type ListQuotaDetailsRequestType

type ListQuotaDetailsRequestType struct {
	// contains filtered or unexported fields
}

func (ListQuotaDetailsRequestType) MarshalJSON

func (c ListQuotaDetailsRequestType) MarshalJSON() ([]byte, error)

func (*ListQuotaDetailsRequestType) UnmarshalJSON

func (c *ListQuotaDetailsRequestType) UnmarshalJSON(b []byte) error

func (ListQuotaDetailsRequestType) Value added in v0.0.90

type ListQuotaDetailsRequestTypeEnum

type ListQuotaDetailsRequestTypeEnum struct {
	ENDPOINT_SERVICE ListQuotaDetailsRequestType
	ENDPOINT         ListQuotaDetailsRequestType
}

func GetListQuotaDetailsRequestTypeEnum

func GetListQuotaDetailsRequestTypeEnum() ListQuotaDetailsRequestTypeEnum

type ListQuotaDetailsResponse

type ListQuotaDetailsResponse struct {
	Quotas         *ResourcesResp `json:"quotas,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListQuotaDetailsResponse) String

func (o ListQuotaDetailsResponse) String() string

type ListResourceInstancesRequest

type ListResourceInstancesRequest struct {

	// 资源类型,值为:endpoint_service或endpoint。
	ResourceType string `json:"resource_type"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *QueryResourceInstanceTagsBody `json:"body,omitempty"`
}

Request Object

func (ListResourceInstancesRequest) String

type ListResourceInstancesResponse

type ListResourceInstancesResponse struct {

	// 资源实例详情
	Resources *[]ResourceInstance `json:"resources,omitempty"`

	// 总记录数。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListResourceInstancesResponse) String

type ListServiceConnectionsRequest

type ListServiceConnectionsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点的报文标识。
	MarkerId *string `json:"marker_id,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● accepted:已接受 ● rejected:已拒绝 ● failed:失败
	Status *string `json:"status,omitempty"`

	// 查询结果中终端节点列表的排序字段,取值为: ● create_at:终端节点的创建时间 ● update_at:终端节点的更新时间 默认值为create_at。
	SortKey *ListServiceConnectionsRequestSortKey `json:"sort_key,omitempty"`

	// 查询结果中终端节点列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。
	SortDir *ListServiceConnectionsRequestSortDir `json:"sort_dir,omitempty"`

	// 查询返回终端节点服务的连接列表限制每页个数,即每页返回的个数。 取值范围:0~1000,取值一般为10,20或者50,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。
	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListServiceConnectionsRequest) String

type ListServiceConnectionsRequestSortDir

type ListServiceConnectionsRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListServiceConnectionsRequestSortDir) MarshalJSON

func (c ListServiceConnectionsRequestSortDir) MarshalJSON() ([]byte, error)

func (*ListServiceConnectionsRequestSortDir) UnmarshalJSON

func (c *ListServiceConnectionsRequestSortDir) UnmarshalJSON(b []byte) error

func (ListServiceConnectionsRequestSortDir) Value added in v0.0.90

type ListServiceConnectionsRequestSortDirEnum

type ListServiceConnectionsRequestSortDirEnum struct {
	ASC  ListServiceConnectionsRequestSortDir
	DESC ListServiceConnectionsRequestSortDir
}

func GetListServiceConnectionsRequestSortDirEnum

func GetListServiceConnectionsRequestSortDirEnum() ListServiceConnectionsRequestSortDirEnum

type ListServiceConnectionsRequestSortKey

type ListServiceConnectionsRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListServiceConnectionsRequestSortKey) MarshalJSON

func (c ListServiceConnectionsRequestSortKey) MarshalJSON() ([]byte, error)

func (*ListServiceConnectionsRequestSortKey) UnmarshalJSON

func (c *ListServiceConnectionsRequestSortKey) UnmarshalJSON(b []byte) error

func (ListServiceConnectionsRequestSortKey) Value added in v0.0.90

type ListServiceConnectionsRequestSortKeyEnum

type ListServiceConnectionsRequestSortKeyEnum struct {
	CREATE_AT ListServiceConnectionsRequestSortKey
	UPDATE_AT ListServiceConnectionsRequestSortKey
}

func GetListServiceConnectionsRequestSortKeyEnum

func GetListServiceConnectionsRequestSortKeyEnum() ListServiceConnectionsRequestSortKeyEnum

type ListServiceConnectionsResponse

type ListServiceConnectionsResponse struct {

	// 连接列表。
	Connections *[]ConnectionEndpoints `json:"connections,omitempty"`

	// 满足查询条件的终端节点总条数,不受分页(即limit、offset参数)影响。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListServiceConnectionsResponse) String

type ListServiceDescribeDetailsRequest

type ListServiceDescribeDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的名称。说明:该字段和id字段必须二选一,否则会出现错误。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点服务的ID,唯一标识。 说明:该字段必须和endpoint_service_name字段二选一,否则会出现错误。
	Id *string `json:"id,omitempty"`
}

Request Object

func (ListServiceDescribeDetailsRequest) String

type ListServiceDescribeDetailsResponse

type ListServiceDescribeDetailsResponse struct {

	// 终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点服务的名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 终端节点服务类型。仅支持将用户私有服务创建为interface类型的终端节点服务。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *ListServiceDescribeDetailsResponseServiceType `json:"service_type,omitempty"`

	// 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 连接该终端节点服务的终端节点是否计费。 ● true:计费 ● false:不计费
	IsCharge       *bool `json:"is_charge,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListServiceDescribeDetailsResponse) String

type ListServiceDescribeDetailsResponseServiceType

type ListServiceDescribeDetailsResponseServiceType struct {
	// contains filtered or unexported fields
}

func (ListServiceDescribeDetailsResponseServiceType) MarshalJSON

func (*ListServiceDescribeDetailsResponseServiceType) UnmarshalJSON

func (ListServiceDescribeDetailsResponseServiceType) Value added in v0.0.90

type ListServiceDescribeDetailsResponseServiceTypeEnum

type ListServiceDescribeDetailsResponseServiceTypeEnum struct {
	INTERFACE ListServiceDescribeDetailsResponseServiceType
}

func GetListServiceDescribeDetailsResponseServiceTypeEnum

func GetListServiceDescribeDetailsResponseServiceTypeEnum() ListServiceDescribeDetailsResponseServiceTypeEnum

type ListServiceDetailsRequest

type ListServiceDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`
}

Request Object

func (ListServiceDetailsRequest) String

func (o ListServiceDetailsRequest) String() string

type ListServiceDetailsResponse

type ListServiceDetailsResponse struct {

	// 终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:增强型负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。
	PortId *string `json:"port_id,omitempty"`

	// 虚拟IP的网卡ID。 仅当“port_id”为“VIP类型”时,返回该参数。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 终端节点服务的名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。
	ServerType *ListServiceDetailsResponseServerType `json:"server_type,omitempty"`

	// 终端节点服务对应后端资源所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	// 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中
	Status *ListServiceDetailsResponseStatus `json:"status,omitempty"`

	// 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节。
	ServiceType *ListServiceDetailsResponseServiceType `json:"service_type,omitempty"`

	// 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 网段类型。 public:公网网段 internal:内网网段 默认值为internal。
	CidrType *string `json:"cidr_type,omitempty"`

	// 服务开放的端口映射列表,详细内容请参见表4-17 同一个终端节点服务下,不允许重复的端口映射。若多个终端节点服务共用一个port_id,则 终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
	Ports *[]PortList `json:"ports,omitempty"`

	// 用于控制是否将客户端的源IP、源端口、marker_id等信息携带到服务端。 信息携带支持两种方式: ● TCP TOA:表示将客户端信息插入到tcpoption字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端相关信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。
	TcpProxy *ListServiceDetailsResponseTcpProxy `json:"tcp_proxy,omitempty"`

	// 资源标签列表
	Tags *[]TagList `json:"tags,omitempty"`

	// 提交任务异常时返回的异常信息
	Error *[]Error `json:"error,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListServiceDetailsResponse) String

type ListServiceDetailsResponseServerType

type ListServiceDetailsResponseServerType struct {
	// contains filtered or unexported fields
}

func (ListServiceDetailsResponseServerType) MarshalJSON

func (c ListServiceDetailsResponseServerType) MarshalJSON() ([]byte, error)

func (*ListServiceDetailsResponseServerType) UnmarshalJSON

func (c *ListServiceDetailsResponseServerType) UnmarshalJSON(b []byte) error

func (ListServiceDetailsResponseServerType) Value added in v0.0.90

type ListServiceDetailsResponseServiceType added in v0.1.5

type ListServiceDetailsResponseServiceType struct {
	// contains filtered or unexported fields
}

func (ListServiceDetailsResponseServiceType) MarshalJSON added in v0.1.5

func (c ListServiceDetailsResponseServiceType) MarshalJSON() ([]byte, error)

func (*ListServiceDetailsResponseServiceType) UnmarshalJSON added in v0.1.5

func (c *ListServiceDetailsResponseServiceType) UnmarshalJSON(b []byte) error

func (ListServiceDetailsResponseServiceType) Value added in v0.1.5

type ListServiceDetailsResponseServiceTypeEnum added in v0.1.5

type ListServiceDetailsResponseServiceTypeEnum struct {
	GATAWAY   ListServiceDetailsResponseServiceType
	INTERFACE ListServiceDetailsResponseServiceType
}

func GetListServiceDetailsResponseServiceTypeEnum added in v0.1.5

func GetListServiceDetailsResponseServiceTypeEnum() ListServiceDetailsResponseServiceTypeEnum

type ListServiceDetailsResponseStatus

type ListServiceDetailsResponseStatus struct {
	// contains filtered or unexported fields
}

func (ListServiceDetailsResponseStatus) MarshalJSON

func (c ListServiceDetailsResponseStatus) MarshalJSON() ([]byte, error)

func (*ListServiceDetailsResponseStatus) UnmarshalJSON

func (c *ListServiceDetailsResponseStatus) UnmarshalJSON(b []byte) error

func (ListServiceDetailsResponseStatus) Value added in v0.0.90

type ListServiceDetailsResponseStatusEnum

type ListServiceDetailsResponseStatusEnum struct {
	CREATING  ListServiceDetailsResponseStatus
	AVAILABLE ListServiceDetailsResponseStatus
	FAILED    ListServiceDetailsResponseStatus
}

func GetListServiceDetailsResponseStatusEnum

func GetListServiceDetailsResponseStatusEnum() ListServiceDetailsResponseStatusEnum

type ListServiceDetailsResponseTcpProxy

type ListServiceDetailsResponseTcpProxy struct {
	// contains filtered or unexported fields
}

func (ListServiceDetailsResponseTcpProxy) MarshalJSON

func (c ListServiceDetailsResponseTcpProxy) MarshalJSON() ([]byte, error)

func (*ListServiceDetailsResponseTcpProxy) UnmarshalJSON

func (c *ListServiceDetailsResponseTcpProxy) UnmarshalJSON(b []byte) error

func (ListServiceDetailsResponseTcpProxy) Value added in v0.0.90

type ListServicePermissionsDetailsRequest

type ListServicePermissionsDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	// 权限帐号ID,格式为“iam:domain::domain_id”。 其中“domain_id”为授权用户的帐号ID, 例如“iam:domain::6e9dfd51d1124e8d8498dce894923a0d”,支持模糊搜索。
	Permission *string `json:"permission,omitempty"`

	// 查询返回终端节点服务的白名单数量限制,即每页返回的个数。 取值范围:0~500,取值一般为10,20或者50,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。
	Offset *int32 `json:"offset,omitempty"`

	// 查询结果中白名单列表的排序字段,取值为create_at,表示白名单的添加时间。
	SortKey *ListServicePermissionsDetailsRequestSortKey `json:"sort_key,omitempty"`

	// 查询结果中白名单列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。
	SortDir *ListServicePermissionsDetailsRequestSortDir `json:"sort_dir,omitempty"`
}

Request Object

func (ListServicePermissionsDetailsRequest) String

type ListServicePermissionsDetailsRequestSortDir

type ListServicePermissionsDetailsRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListServicePermissionsDetailsRequestSortDir) MarshalJSON

func (*ListServicePermissionsDetailsRequestSortDir) UnmarshalJSON

func (ListServicePermissionsDetailsRequestSortDir) Value added in v0.0.90

type ListServicePermissionsDetailsRequestSortKey

type ListServicePermissionsDetailsRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListServicePermissionsDetailsRequestSortKey) MarshalJSON

func (*ListServicePermissionsDetailsRequestSortKey) UnmarshalJSON

func (ListServicePermissionsDetailsRequestSortKey) Value added in v0.0.90

type ListServicePermissionsDetailsRequestSortKeyEnum

type ListServicePermissionsDetailsRequestSortKeyEnum struct {
	CREATE_AT ListServicePermissionsDetailsRequestSortKey
	UPDATE_AT ListServicePermissionsDetailsRequestSortKey
}

func GetListServicePermissionsDetailsRequestSortKeyEnum

func GetListServicePermissionsDetailsRequestSortKeyEnum() ListServicePermissionsDetailsRequestSortKeyEnum

type ListServicePermissionsDetailsResponse

type ListServicePermissionsDetailsResponse struct {

	// permission列表。
	Permissions *[]PermissionObject `json:"permissions,omitempty"`

	// 满足查询条件的终端节点服务的白名单总条数,不受分页(即limit、offset参数)影响。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListServicePermissionsDetailsResponse) String

type ListServicePublicDetailsRequest

type ListServicePublicDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 查询返回公共的终端节点服务数量限制,即每页返回的个数。 取值范围:0~1000,取值一般为10,20或者50,默认为10。
	Limit *int32 `json:"limit,omitempty"`

	// 偏移量。 偏移量为一个大于0小于终端节点服务总个数的整数, 表示从偏移量后面的终端节点服务开始查询。
	Offset *int32 `json:"offset,omitempty"`

	// 公共终端节点服务的名称,支持大小写以及模糊匹配。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 公共终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 查询结果中终端节点服务列表的排序字段,取值为: ● create_at:终端节点服务的创建时间 ● update_at:终端节点服务的更新时间 默认值为create_at。
	SortKey *ListServicePublicDetailsRequestSortKey `json:"sort_key,omitempty"`

	// 查询结果中终端节点服务列表的排序方式,取值为: ● desc:降序排序 ● asc:升序排序 默认值为desc。
	SortDir *ListServicePublicDetailsRequestSortDir `json:"sort_dir,omitempty"`
}

Request Object

func (ListServicePublicDetailsRequest) String

type ListServicePublicDetailsRequestSortDir

type ListServicePublicDetailsRequestSortDir struct {
	// contains filtered or unexported fields
}

func (ListServicePublicDetailsRequestSortDir) MarshalJSON

func (c ListServicePublicDetailsRequestSortDir) MarshalJSON() ([]byte, error)

func (*ListServicePublicDetailsRequestSortDir) UnmarshalJSON

func (c *ListServicePublicDetailsRequestSortDir) UnmarshalJSON(b []byte) error

func (ListServicePublicDetailsRequestSortDir) Value added in v0.0.90

type ListServicePublicDetailsRequestSortKey

type ListServicePublicDetailsRequestSortKey struct {
	// contains filtered or unexported fields
}

func (ListServicePublicDetailsRequestSortKey) MarshalJSON

func (c ListServicePublicDetailsRequestSortKey) MarshalJSON() ([]byte, error)

func (*ListServicePublicDetailsRequestSortKey) UnmarshalJSON

func (c *ListServicePublicDetailsRequestSortKey) UnmarshalJSON(b []byte) error

func (ListServicePublicDetailsRequestSortKey) Value added in v0.0.90

type ListServicePublicDetailsRequestSortKeyEnum

type ListServicePublicDetailsRequestSortKeyEnum struct {
	CREATE_AT ListServicePublicDetailsRequestSortKey
	UPDATE_AT ListServicePublicDetailsRequestSortKey
}

func GetListServicePublicDetailsRequestSortKeyEnum

func GetListServicePublicDetailsRequestSortKeyEnum() ListServicePublicDetailsRequestSortKeyEnum

type ListServicePublicDetailsResponse

type ListServicePublicDetailsResponse struct {

	// 终端节点服务列表。
	EndpointServices *[]EndpointService `json:"endpoint_services,omitempty"`

	// 满足查询条件的公共终端节点服务总条数,不受分页(即limit、offset参数)影响。
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListServicePublicDetailsResponse) String

type ListSpecifiedVersionDetailsRequest

type ListSpecifiedVersionDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 待查询版本号。 取值以v开头,例如v1。若为空,表示查询所有API的版本号。
	Version string `json:"version"`
}

Request Object

func (ListSpecifiedVersionDetailsRequest) String

type ListSpecifiedVersionDetailsResponse

type ListSpecifiedVersionDetailsResponse struct {
	Version        *VersionObject `json:"version,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListSpecifiedVersionDetailsResponse) String

type ListVersionDetailsRequest

type ListVersionDetailsRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`
}

Request Object

func (ListVersionDetailsRequest) String

func (o ListVersionDetailsRequest) String() string

type ListVersionDetailsResponse

type ListVersionDetailsResponse struct {

	// VPC终端节点版本信息列表。
	Versions       *[]VersionObject `json:"versions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListVersionDetailsResponse) String

type Match added in v0.0.69

type Match struct {

	// 键。第一期限定为resource_name,后续扩展。
	Key string `json:"key"`

	// 值。每个值最大长度255个unicode字符。不校验字符集范。
	Value string `json:"value"`
}

func (Match) String added in v0.0.69

func (o Match) String() string

type PermissionObject added in v0.1.5

type PermissionObject struct {

	// permission的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// permission列表。 权限格式为“iam:domain::6e9dfd51d1124e8d8498dce894923a0d”或“*”, “*”表示所有用户的终端节点可连接。 其中6e9dfd51d1124e8d8498dce894923a0d为可连接的用户domian_id。
	Permission *string `json:"permission,omitempty"`

	// 白名单的添加时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`
}

permission列表。

func (PermissionObject) String added in v0.1.5

func (o PermissionObject) String() string

type PolicyStatement added in v0.1.5

type PolicyStatement struct {

	// 允许或拒绝,控制访问权限
	Effect string `json:"Effect"`

	// obs访问权限
	Action []string `json:"Action"`

	// obs对象
	Resource []string `json:"Resource"`
}

policy

func (PolicyStatement) String added in v0.1.5

func (o PolicyStatement) String() string

type PortList

type PortList struct {

	// 终端节点访问的端口。 终端节点提供给用户,作为访问终端节点服务的端口,范围1-65535。
	ClientPort *int32 `json:"client_port,omitempty"`

	// 终端节点服务的端口。 终端节点服务绑定了后端资源,作为提供服务的端口,范围1-65535。
	ServerPort *int32 `json:"server_port,omitempty"`

	// 端口映射协议,支持TCP。
	Protocol *PortListProtocol `json:"protocol,omitempty"`
}

服务开放的端口映射列表

func (PortList) String

func (o PortList) String() string

type PortListProtocol

type PortListProtocol struct {
	// contains filtered or unexported fields
}

func (PortListProtocol) MarshalJSON

func (c PortListProtocol) MarshalJSON() ([]byte, error)

func (*PortListProtocol) UnmarshalJSON

func (c *PortListProtocol) UnmarshalJSON(b []byte) error

func (PortListProtocol) Value added in v0.0.90

func (c PortListProtocol) Value() string

type PortListProtocolEnum

type PortListProtocolEnum struct {
	TCP PortListProtocol
}

func GetPortListProtocolEnum

func GetPortListProtocolEnum() PortListProtocolEnum

type QueryError

type QueryError struct {

	// 错误编码。
	ErrorCode *string `json:"error_code,omitempty"`

	// 错误信息。
	ErrorMessage *string `json:"error_message,omitempty"`
}

查询资源返回的异常信息

func (QueryError) String

func (o QueryError) String() string

type QueryResourceInstanceTagsBody

type QueryResourceInstanceTagsBody struct {

	// 包含标签,最多包含10个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复, 同一个key中values不能重复。结果返回包含所有标签的资源列表, key之间是与的关系,key-value结构中value是或的关系。 无tag过滤条件时返回全量数据。
	Tags *[]TagValuesList `json:"tags,omitempty"`

	// 包含任意标签,最多包含10个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。 Key不能重复,同一个key中values不能重复。 结果返回包含标签的资源列表,key之间是或的关系,key、value结构中value是或的关系。 无过滤条件时返回全量数据。
	TagsAny *[]TagValuesList `json:"tags_any,omitempty"`

	// 不包含标签,最多包含10个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复, 同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是与的关系, key、value结构中value是或的关系。 无过滤条件时返回全量数据。
	NotTags *[]TagValuesList `json:"not_tags,omitempty"`

	// 不包含任意标签,最多包含10个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复, 同一个key中values不能重复。结果返回不包含标签的资源列表, key之间是与的关系,key、value结构中value是或的关系。 无过滤条件时返回全量数据。
	NotTagsAny *[]TagValuesList `json:"not_tags_any,omitempty"`

	// 系统标签,
	SysTags *[]TagValuesList `json:"sys_tags,omitempty"`

	// 查询记录数(action为count时无此参数)如果action为filter默认为1000, limit最多为1000,不能为负数,最小值为1。
	Limit *string `json:"limit,omitempty"`

	// 索引位置,偏移量(action为count时无此参数)从第一条数据偏移offset条数据后开始查询, 如果action为filter默认为0(偏移0条数据,表示从第一条数据开始查询), 必须为数字,不能为负数。
	Offset *string `json:"offset,omitempty"`

	// 操作标识(仅限于filter,count):filter(过滤), count(查询总条数)如果是filter就按照过滤条件查询, 如果是count,只需要返回总条数,禁止返回其他字段。
	Action string `json:"action"`

	// 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。 key为固定字典值,不能包含重复的key或不支持的key。 根据key的值确认是否需要模糊匹配,如resource_name默认为模糊搜索(不区分大小写), 如果value为空字符串精确匹配(多数服务不存在资源名称为空的情况, 因此此类情况返回空列表)。resource_id为精确匹配。 第一期只做resource_name,后续再扩展。
	Matches *[]Match `json:"matches,omitempty"`

	// 默认为false,取值【true/false】,当withoutAnyTag=true, 忽略tags、tagsAny、notTags、notTagsAny参数校验。
	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`
}

查询资源实例接口请求结构体

func (QueryResourceInstanceTagsBody) String

type Quotas

type Quotas struct {

	// 资源类型。支持根据资源类型过滤查询指定类型的配额。 ● endpoint_service:终端节点服务 ● endpoint:终端节点
	Type *QuotasType `json:"type,omitempty"`

	// 已创建的资源个数。 取值范围:0~quota数。
	Used *int32 `json:"used,omitempty"`

	// 资源的最大配额数。 取值范围:各类型资源默认配额数的最大值。
	Quota *int32 `json:"quota,omitempty"`
}

创建配额接口请求结构体

func (Quotas) String

func (o Quotas) String() string

type QuotasType

type QuotasType struct {
	// contains filtered or unexported fields
}

func (QuotasType) MarshalJSON

func (c QuotasType) MarshalJSON() ([]byte, error)

func (*QuotasType) UnmarshalJSON

func (c *QuotasType) UnmarshalJSON(b []byte) error

func (QuotasType) Value added in v0.0.90

func (c QuotasType) Value() string

type QuotasTypeEnum

type QuotasTypeEnum struct {
	ENDPOINT_SERVICE QuotasType
	ENDPOINT         QuotasType
}

func GetQuotasTypeEnum

func GetQuotasTypeEnum() QuotasTypeEnum

type ResourceInstance

type ResourceInstance struct {

	// 资源ID,Endpoint Service ID或Endpoint ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 标签列表。
	Tags *[]TagList `json:"tags,omitempty"`

	// 资源名称,资源没有名称时,返回ID。
	ResourceName *string `json:"resource_name,omitempty"`
}

资源实例详情

func (ResourceInstance) String

func (o ResourceInstance) String() string

type ResourceTag added in v0.0.69

type ResourceTag struct {

	// 键。最大长度36个unicode字符。 key需要满足标签字符集规范。
	Key string `json:"key"`

	// 值。action为create时必选,每个值最大长度43个unicode字符, 删除时如果value有值按照key/value删除, 如果value没值,则按照key删除。 value需要满足标签字符集规范。
	Value *string `json:"value,omitempty"`
}

func (ResourceTag) String added in v0.0.69

func (o ResourceTag) String() string

type ResourcesResp

type ResourcesResp struct {

	// 资源列表
	Resources *[]Quotas `json:"resources,omitempty"`
}

查询配额接口响应结构体

func (ResourcesResp) String

func (o ResourcesResp) String() string

type RoutetableInfoError

type RoutetableInfoError struct {

	// 绑定终端节点子网路由表失败信息。
	BindFailed *[]RoutetableInfoErrorDetial `json:"bind_failed,omitempty"`

	// 解绑终端节点子网路由表失败信息。
	UnbindFailed *[]RoutetableInfoErrorDetial `json:"unbind_failed,omitempty"`
}

当修改终端节点子网路由表失败时,返回错误提示信息

func (RoutetableInfoError) String

func (o RoutetableInfoError) String() string

type RoutetableInfoErrorDetial

type RoutetableInfoErrorDetial struct {

	// 路由表ID。
	Id *string `json:"id,omitempty"`

	// 详细错误信息。
	ErrorMessage *string `json:"error_message,omitempty"`
}

func (RoutetableInfoErrorDetial) String

func (o RoutetableInfoErrorDetial) String() string

type ServiceList added in v0.0.69

type ServiceList struct {

	// 终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。取值为: ● LB类型:增强型负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。
	PortId *string `json:"port_id,omitempty"`

	// 虚拟IP的网卡ID。 仅当“port_id”为“VIP类型”时,返回该参数。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 终端节点服务的名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。
	ServerType *string `json:"server_type,omitempty"`

	// 终端节点服务对应后端资源所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	// 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败 ● deleting:删除中
	Status *ServiceListStatus `json:"status,omitempty"`

	// 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *ServiceListServiceType `json:"service_type,omitempty"`

	// 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// Domain ID
	DomainId *string `json:"domain_id,omitempty"`

	// 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
	Ports *[]PortList `json:"ports,omitempty"`

	// 资源标签列表
	Tags *[]TagList `json:"tags,omitempty"`

	// 终端节点服务下连接的状态为“创建中”或“已接受”的终端节点的个数。
	ConnectionCount *int32 `json:"connection_count,omitempty"`

	// 用于控制是否将客户端的源IP、源端口、marker_id等信息携带到服务端。 信息携带支持两种方式: ● TCP TOA:表示将客户端信息插入到tcp,option字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端相关信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。
	TcpProxy *ServiceListTcpProxy `json:"tcp_proxy,omitempty"`

	// 提交任务异常时返回的异常信息
	Error *[]Error `json:"error,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`

	// 终端节点服务对应Pool的Public Border Group信息
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
}

func (ServiceList) String added in v0.0.69

func (o ServiceList) String() string

type ServiceListServiceType added in v0.1.5

type ServiceListServiceType struct {
	// contains filtered or unexported fields
}

func (ServiceListServiceType) MarshalJSON added in v0.1.5

func (c ServiceListServiceType) MarshalJSON() ([]byte, error)

func (*ServiceListServiceType) UnmarshalJSON added in v0.1.5

func (c *ServiceListServiceType) UnmarshalJSON(b []byte) error

func (ServiceListServiceType) Value added in v0.1.5

func (c ServiceListServiceType) Value() string

type ServiceListServiceTypeEnum added in v0.1.5

type ServiceListServiceTypeEnum struct {
	VM  ServiceListServiceType
	VIP ServiceListServiceType
	LB  ServiceListServiceType
}

func GetServiceListServiceTypeEnum added in v0.1.5

func GetServiceListServiceTypeEnum() ServiceListServiceTypeEnum

type ServiceListStatus added in v0.0.69

type ServiceListStatus struct {
	// contains filtered or unexported fields
}

func (ServiceListStatus) MarshalJSON added in v0.0.69

func (c ServiceListStatus) MarshalJSON() ([]byte, error)

func (*ServiceListStatus) UnmarshalJSON added in v0.0.69

func (c *ServiceListStatus) UnmarshalJSON(b []byte) error

func (ServiceListStatus) Value added in v0.0.90

func (c ServiceListStatus) Value() string

type ServiceListStatusEnum added in v0.0.69

type ServiceListStatusEnum struct {
	CREATING  ServiceListStatus
	AVAILABLE ServiceListStatus
	FAILED    ServiceListStatus
}

func GetServiceListStatusEnum added in v0.0.69

func GetServiceListStatusEnum() ServiceListStatusEnum

type ServiceListTcpProxy added in v0.0.69

type ServiceListTcpProxy struct {
	// contains filtered or unexported fields
}

func (ServiceListTcpProxy) MarshalJSON added in v0.0.69

func (c ServiceListTcpProxy) MarshalJSON() ([]byte, error)

func (*ServiceListTcpProxy) UnmarshalJSON added in v0.0.69

func (c *ServiceListTcpProxy) UnmarshalJSON(b []byte) error

func (ServiceListTcpProxy) Value added in v0.0.90

func (c ServiceListTcpProxy) Value() string

type ServiceListTcpProxyEnum added in v0.0.69

type ServiceListTcpProxyEnum struct {
	CLOSE      ServiceListTcpProxy
	TOA_OPEN   ServiceListTcpProxy
	PROXY_OPEN ServiceListTcpProxy
	OPEN       ServiceListTcpProxy
}

func GetServiceListTcpProxyEnum added in v0.0.69

func GetServiceListTcpProxyEnum() ServiceListTcpProxyEnum

type TagList

type TagList struct {

	// 键。 最大长度36个unicode字符。  key不能为空。不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。
	Key *string `json:"key,omitempty"`

	// 值。 每个值最大长度43个unicode字符,可以为空字符串。  不能包含“=”、“*”、“<”、“>”、“\\”、“,”、“|”和“/”,且首尾字符不能为空格。
	Value *string `json:"value,omitempty"`
}

标签列表,没有标签默认为空数组。

func (TagList) String

func (o TagList) String() string

type TagValuesList

type TagValuesList struct {

	// 键。 最大长度127个unicode字符。key不能为空。(搜索时不对此参数做字符集校), key不能为空或者空字符串,不能为空格,校验和使用之前先trim前后半角空格。
	Key string `json:"key"`

	// 值列表。 每个值最大长度255个unicode字符,校验和使用之前先trim前后半角空格。 value可为空数组但不可缺省。如果values为空列表,则表示any_value(查询任意value)。 value之间为或的关系。(搜索时不对此参数做字符集校验,只做长度校验)。
	Values []string `json:"values"`
}

func (TagValuesList) String

func (o TagValuesList) String() string

type UpdateEndpointConnectionsDescRequest added in v0.1.5

type UpdateEndpointConnectionsDescRequest struct {

	// 终端节点服务ID
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *UpdateEpConnections `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointConnectionsDescRequest) String added in v0.1.5

type UpdateEndpointConnectionsDescResponse added in v0.1.5

type UpdateEndpointConnectionsDescResponse struct {

	// 连接列表
	Connections    *[]ConnectionEndpoints `json:"connections,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (UpdateEndpointConnectionsDescResponse) String added in v0.1.5

type UpdateEndpointPolicyRequest added in v0.1.5

type UpdateEndpointPolicyRequest struct {

	// 终端节点的ID。
	VpcEndpointId string `json:"vpc_endpoint_id"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *UpdateEndpointPolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointPolicyRequest) String added in v0.1.5

type UpdateEndpointPolicyRequestBody added in v0.1.5

type UpdateEndpointPolicyRequestBody struct {

	// 只涉及开启双端固定的网关型终端节点
	PolicyStatement []PolicyStatement `json:"policy_statement"`
}

更新网关型终端节点policy请求结构体

func (UpdateEndpointPolicyRequestBody) String added in v0.1.5

type UpdateEndpointPolicyResponse added in v0.1.5

type UpdateEndpointPolicyResponse struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
	ServiceType *UpdateEndpointPolicyResponseServiceType `json:"service_type,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
	Status *UpdateEndpointPolicyResponseStatus `json:"status,omitempty"`

	// 帐号状态。 ● frozen:冻结 ● active:解冻
	ActiveStatus *[]string `json:"active_status,omitempty"`

	// 终端节点服务的名称。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点服务的ID。
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
	DnsNames *[]string `json:"dns_names,omitempty"`

	// 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: 当查询连接interface类型终端节点服务的终端节点时。 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
	Ip *string `json:"ip,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	// 错误信息。 当终端节点状态异常,即“status”的值为“failed”时,会返回该字段。
	Error *[]QueryError `json:"error,omitempty"`

	// 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 路由表ID列表。 若未指定,返回默认VPC下路由表ID。 创建连接Gateway类型终端节点服务的终端节点时,显示此参数。
	Routetables *[]string `json:"routetables,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`

	// 只涉及开启双端固定的网关型终端节点,响应体展示此字段
	PolicyStatement *[]PolicyStatement `json:"policy_statement,omitempty"`

	// 终端节点相关联的Pood的ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

	// 终端节点关联的Public Border Group信息,只有当终端节点和边缘Pool相关联时才会返回改字段
	PublicBorderGroup *string `json:"public_border_group,omitempty"`
	HttpStatusCode    int     `json:"-"`
}

Response Object

func (UpdateEndpointPolicyResponse) String added in v0.1.5

type UpdateEndpointPolicyResponseServiceType added in v0.1.5

type UpdateEndpointPolicyResponseServiceType struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointPolicyResponseServiceType) MarshalJSON added in v0.1.5

func (c UpdateEndpointPolicyResponseServiceType) MarshalJSON() ([]byte, error)

func (*UpdateEndpointPolicyResponseServiceType) UnmarshalJSON added in v0.1.5

func (c *UpdateEndpointPolicyResponseServiceType) UnmarshalJSON(b []byte) error

func (UpdateEndpointPolicyResponseServiceType) Value added in v0.1.5

type UpdateEndpointPolicyResponseServiceTypeEnum added in v0.1.5

type UpdateEndpointPolicyResponseServiceTypeEnum struct {
	INTERFACE UpdateEndpointPolicyResponseServiceType
	GATEWAY   UpdateEndpointPolicyResponseServiceType
}

func GetUpdateEndpointPolicyResponseServiceTypeEnum added in v0.1.5

func GetUpdateEndpointPolicyResponseServiceTypeEnum() UpdateEndpointPolicyResponseServiceTypeEnum

type UpdateEndpointPolicyResponseStatus added in v0.1.5

type UpdateEndpointPolicyResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointPolicyResponseStatus) MarshalJSON added in v0.1.5

func (c UpdateEndpointPolicyResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateEndpointPolicyResponseStatus) UnmarshalJSON added in v0.1.5

func (c *UpdateEndpointPolicyResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateEndpointPolicyResponseStatus) Value added in v0.1.5

type UpdateEndpointPolicyResponseStatusEnum added in v0.1.5

func GetUpdateEndpointPolicyResponseStatusEnum added in v0.1.5

func GetUpdateEndpointPolicyResponseStatusEnum() UpdateEndpointPolicyResponseStatusEnum

type UpdateEndpointRoutetableRequest

type UpdateEndpointRoutetableRequest struct {

	// 终端节点的ID。
	VpcEndpointId string `json:"vpc_endpoint_id"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *UpdateEndpointRoutetableRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointRoutetableRequest) String

type UpdateEndpointRoutetableRequestBody

type UpdateEndpointRoutetableRequestBody struct {

	// 路由表ID列表。
	Routetables []string `json:"routetables"`
}

更新终端节点路由表请求结构体

func (UpdateEndpointRoutetableRequestBody) String

type UpdateEndpointRoutetableResponse

type UpdateEndpointRoutetableResponse struct {

	// 路由表ID列表。节点的白名单。 此参数可以添加IPv4或CIDR: ● 当取值不为空时,表示将白名单更新为取值所示内容。 ● 当取值为空时,表示删除所有白名单。 默认为空列表。
	Routetables *[]string `json:"routetables,omitempty"`

	// 当修改终端节点子网路由表失败时,返回错误提示信息
	Error          *[]RoutetableInfoError `json:"error,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (UpdateEndpointRoutetableResponse) String

type UpdateEndpointServiceNameMode added in v0.1.5

type UpdateEndpointServiceNameMode struct {

	// 终端节点服务名称
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`
}

修改终端节点服务名称

func (UpdateEndpointServiceNameMode) String added in v0.1.5

type UpdateEndpointServiceNameRequest added in v0.1.5

type UpdateEndpointServiceNameRequest struct {

	// 终端节点服务ID
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *UpdateEndpointServiceNameMode `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointServiceNameRequest) String added in v0.1.5

type UpdateEndpointServiceNameResponse added in v0.1.5

type UpdateEndpointServiceNameResponse struct {

	// 终端节点服务名称
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`
	HttpStatusCode      int     `json:"-"`
}

Response Object

func (UpdateEndpointServiceNameResponse) String added in v0.1.5

type UpdateEndpointServicePermissionDescRequest added in v0.1.5

type UpdateEndpointServicePermissionDescRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID。
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	// 白名单的ID。
	PermissionId string `json:"permission_id"`

	Body *UpdatePermissionDescRequest `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointServicePermissionDescRequest) String added in v0.1.5

type UpdateEndpointServicePermissionDescResponse added in v0.1.5

type UpdateEndpointServicePermissionDescResponse struct {
	Permissions    *[]EpsPermission `json:"permissions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (UpdateEndpointServicePermissionDescResponse) String added in v0.1.5

type UpdateEndpointServiceRequest

type UpdateEndpointServiceRequest struct {

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	// 终端节点服务的ID
	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Body *UpdateEndpointServiceRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointServiceRequest) String

type UpdateEndpointServiceRequestBody

type UpdateEndpointServiceRequestBody struct {

	// 是否需要审批。 ● false:不需审批,创建的终端节点连接直接为accepted状态。 ● true:需审批,创建的终端节点连接需要终端节点服务所属用户审核后方可使用。 默认为true,需要审批。
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	// 终端节点服务的名称,长度不大于16,允许传入大小写字母、数字、下划线、中划线。
	ServiceName *string `json:"service_name,omitempty"`

	// 服务开放的端口映射列表,详细内容请参见表4-22。 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点之间服务的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。
	Ports *[]PortList `json:"ports,omitempty"`

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为: ● LB类型:增强型负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”, 详见响应消息中的“vip_port_id”字段。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。 说明 当后端资源为“LB类型”时,仅支持修改为同类型后端资源的“vip_port_id”。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。
	PortId *string `json:"port_id,omitempty"`

	// 虚拟IP的网卡ID。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description *string `json:"description,omitempty"`
}

修改终端节点服务接口请求结构体

func (UpdateEndpointServiceRequestBody) String

type UpdateEndpointServiceResponse

type UpdateEndpointServiceResponse struct {

	// 终端节点服务的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为: ● LB类型:增强型负载均衡器内网IP对应的端口ID。 ● VM类型:弹性云服务器IP地址对应的网卡ID。 ● VIP类型:虚拟资源所在物理服务器对应的网卡ID。
	PortId *string `json:"port_id,omitempty"`

	// 虚拟IP的网卡ID。 仅当“port_id”为“VIP类型”时,返回该参数。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 终端节点服务的名称。
	ServiceName *string `json:"service_name,omitempty"`

	// 资源类型。 ● VM:云服务器。 ● VIP:虚拟IP。 ● LB:增强负载均衡型。
	ServerType *UpdateEndpointServiceResponseServerType `json:"server_type,omitempty"`

	// 终端节点服务对应后端资源所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 终端节点服务对应的集群id
	PoolId *string `json:"pool_id,omitempty"`

	// 是否需要审批。 ● false:不需要审批,创建的终端节点连接直接为accepted状态。 ● true:需要审批,创建的终端节点连接为pendingAcceptance状态, 需要终端节点服务所属用户审核后方可使用。
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	// 终端节点服务的状态。 ● creating:创建中 ● available:可连接 ● failed:失败
	Status *UpdateEndpointServiceResponseStatus `json:"status,omitempty"`

	// 终端节点服务类型。 终端节点服务类型包括“网关(gataway)型”和“接口(interface)型”: ● gataway:由运维人员配置。用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *string `json:"service_type,omitempty"`

	// 终端节点服务的创建时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 网段类型。 ● public:公网网段 ● internal:内网网段 默认值为internal。
	CidrType *UpdateEndpointServiceResponseCidrType `json:"cidr_type,omitempty"`

	// 服务开放的端口映射列表 同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点服务之间的所有端口映射的server_port和protocol的组合不能重复。
	Ports *[]PortList `json:"ports,omitempty"`

	// 用于控制是否将客户端的源IP、源端口、marker_id等信息携带到服务端。 信息携带支持两种方式: ● TCP TOA:表示将客户端信息插入到tcp option字段中携带至服务端。 说明 仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。 ● Proxy Protocol:表示将客户端相关信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 参数的取值包括: ● close:表示关闭代理协议。 ● toa_open:表示开启代理协议“tcp_toa”。 ● proxy_open:表示开启代理协议“proxy_protocol”。 ● open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。 默认值为“close”。
	TcpProxy *UpdateEndpointServiceResponseTcpProxy `json:"tcp_proxy,omitempty"`

	// 资源标签列表
	Tags *[]TagList `json:"tags,omitempty"`

	// 描述字段,支持中英文字母、数字等字符,不支持“<”或“>”字符。
	Description    *string `json:"description,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateEndpointServiceResponse) String

type UpdateEndpointServiceResponseCidrType

type UpdateEndpointServiceResponseCidrType struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointServiceResponseCidrType) MarshalJSON

func (c UpdateEndpointServiceResponseCidrType) MarshalJSON() ([]byte, error)

func (*UpdateEndpointServiceResponseCidrType) UnmarshalJSON

func (c *UpdateEndpointServiceResponseCidrType) UnmarshalJSON(b []byte) error

func (UpdateEndpointServiceResponseCidrType) Value added in v0.0.90

type UpdateEndpointServiceResponseCidrTypeEnum

type UpdateEndpointServiceResponseCidrTypeEnum struct {
	PUBLIC   UpdateEndpointServiceResponseCidrType
	INTERNAL UpdateEndpointServiceResponseCidrType
}

func GetUpdateEndpointServiceResponseCidrTypeEnum

func GetUpdateEndpointServiceResponseCidrTypeEnum() UpdateEndpointServiceResponseCidrTypeEnum

type UpdateEndpointServiceResponseServerType

type UpdateEndpointServiceResponseServerType struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointServiceResponseServerType) MarshalJSON

func (c UpdateEndpointServiceResponseServerType) MarshalJSON() ([]byte, error)

func (*UpdateEndpointServiceResponseServerType) UnmarshalJSON

func (c *UpdateEndpointServiceResponseServerType) UnmarshalJSON(b []byte) error

func (UpdateEndpointServiceResponseServerType) Value added in v0.0.90

type UpdateEndpointServiceResponseStatus

type UpdateEndpointServiceResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointServiceResponseStatus) MarshalJSON

func (c UpdateEndpointServiceResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateEndpointServiceResponseStatus) UnmarshalJSON

func (c *UpdateEndpointServiceResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateEndpointServiceResponseStatus) Value added in v0.0.90

type UpdateEndpointServiceResponseTcpProxy

type UpdateEndpointServiceResponseTcpProxy struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointServiceResponseTcpProxy) MarshalJSON

func (c UpdateEndpointServiceResponseTcpProxy) MarshalJSON() ([]byte, error)

func (*UpdateEndpointServiceResponseTcpProxy) UnmarshalJSON

func (c *UpdateEndpointServiceResponseTcpProxy) UnmarshalJSON(b []byte) error

func (UpdateEndpointServiceResponseTcpProxy) Value added in v0.0.90

type UpdateEndpointWhiteRequest

type UpdateEndpointWhiteRequest struct {

	// 终端节点的ID。
	VpcEndpointId string `json:"vpc_endpoint_id"`

	// 发送的实体的MIME类型。推荐用户默认使用application/json, 如果API是对象、镜像上传等接口,媒体类型可按照流类型的不同进行确定。
	ContentType string `json:"Content-Type"`

	Body *UpdateEndpointWhiteRequestBody `json:"body,omitempty"`
}

Request Object

func (UpdateEndpointWhiteRequest) String

type UpdateEndpointWhiteRequestBody

type UpdateEndpointWhiteRequestBody struct {

	// 更新或删除用于控制访问终端节点的白名单。此参数可以添加IPv4或CIDR: ● 当取值不为空时,表示将白名单更新为取值所示内容。 ● 当取值为空时,表示删除所有白名单。 默认为空列表。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 默认值为false。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`
}

更新终端节点白名单接口请求结构体

func (UpdateEndpointWhiteRequestBody) String

type UpdateEndpointWhiteResponse

type UpdateEndpointWhiteResponse struct {

	// 终端节点的ID,唯一标识。
	Id *string `json:"id,omitempty"`

	// 终端节点连接的终端节点服务类型。 ● gataway:由运维人员配置,用户无需创建,可直接使用。 ● interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建,用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点服务创建Interface类型的终端节点服务。
	ServiceType *UpdateEndpointWhiteResponseServiceType `json:"service_type,omitempty"`

	// 终端节点的连接状态。 ● pendingAcceptance:待接受 ● creating:创建中 ● accepted:已接受 ● failed:失败
	Status *UpdateEndpointWhiteResponseStatus `json:"status,omitempty"`

	// 访问所连接的终端节点服务的IP。 仅当同时满足如下条件时,返回该参数: ● 当查询连接interface类型终端节点服务的终端节点时。 ● 终端节点服务启用“连接审批”功能,且已经“接受”连接审批。 “status”可以是“accepted”或者“rejected(仅支持“接受”连接审批后再“拒绝”的情况)”。
	Ip *string `json:"ip,omitempty"`

	// 帐号状态。 ● frozen:冻结 ● active:解冻
	ActiveStatus *[]string `json:"active_status,omitempty"`

	// 终端节点服务的名称。
	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	// 终端节点的报文标识。
	MarkerId *int32 `json:"marker_id,omitempty"`

	// 终端节点服务的ID。
	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	// 是否创建域名。 ● true:创建域名 ● false:不创建域名 说明 当创建连接gateway类型终端节点服务的终端节点时, “enable_dns”设置为true或者false,均不创建域名。
	EnableDns *bool `json:"enable_dns,omitempty"`

	// 访问所连接的终端节点服务的域名。 当“enable_dns”为true时,该参数可见。
	DnsNames *[]string `json:"dns_names,omitempty"`

	// vpc_id对应VPC下已创建的网络(network)的ID,UUID格式。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 终端节点所在的VPC的ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 终端节点的创建时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	CreatedAt *string `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *string `json:"updated_at,omitempty"`

	// 项目ID,获取方法请参见获取项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 标签列表,没有标签默认为空数组。
	Tags *[]TagList `json:"tags,omitempty"`

	// 控制访问终端节点的白名单。 若未创建,则返回空列表。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	Whitelist *[]string `json:"whitelist,omitempty"`

	// 是否开启网络ACL隔离。 ● true:开启网络ACL隔离 ● false:不开启网络ACL隔离 若未指定,则返回false。 创建连接Interface类型终端节点服务的终端节点时,显示此参数。
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

Response Object

func (UpdateEndpointWhiteResponse) String

type UpdateEndpointWhiteResponseServiceType

type UpdateEndpointWhiteResponseServiceType struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointWhiteResponseServiceType) MarshalJSON

func (c UpdateEndpointWhiteResponseServiceType) MarshalJSON() ([]byte, error)

func (*UpdateEndpointWhiteResponseServiceType) UnmarshalJSON

func (c *UpdateEndpointWhiteResponseServiceType) UnmarshalJSON(b []byte) error

func (UpdateEndpointWhiteResponseServiceType) Value added in v0.0.90

type UpdateEndpointWhiteResponseServiceTypeEnum

type UpdateEndpointWhiteResponseServiceTypeEnum struct {
	INTERFACE UpdateEndpointWhiteResponseServiceType
	GATEWAY   UpdateEndpointWhiteResponseServiceType
}

func GetUpdateEndpointWhiteResponseServiceTypeEnum

func GetUpdateEndpointWhiteResponseServiceTypeEnum() UpdateEndpointWhiteResponseServiceTypeEnum

type UpdateEndpointWhiteResponseStatus

type UpdateEndpointWhiteResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateEndpointWhiteResponseStatus) MarshalJSON

func (c UpdateEndpointWhiteResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateEndpointWhiteResponseStatus) UnmarshalJSON

func (c *UpdateEndpointWhiteResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateEndpointWhiteResponseStatus) Value added in v0.0.90

type UpdateEpConnections added in v0.1.5

type UpdateEpConnections struct {

	// 连接管理描述字段列表
	Connections []ConnectionsDesc `json:"connections"`
}

func (UpdateEpConnections) String added in v0.1.5

func (o UpdateEpConnections) String() string

type UpdatePermissionDescRequest added in v0.1.5

type UpdatePermissionDescRequest struct {
	Permission *EpsUpdatePermissionDesc `json:"permission"`
}

更新终端节点服务白名单描述

func (UpdatePermissionDescRequest) String added in v0.1.5

type VersionObject added in v0.1.5

type VersionObject struct {

	// 版本状态。 ● CURRENT:表示该版本为主推版本。 ● SUPPORT:表示为老版本,但是现在还在继续支持。 ● DEPRECATED:表示为废弃版本,存在后续删除的可能。
	Status *VersionObjectStatus `json:"status,omitempty"`

	// 版本ID。
	Id *VersionObjectId `json:"id,omitempty"`

	// 版本发布时间。采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	Updated *string `json:"updated,omitempty"`

	// 支持的版本号。
	Version *string `json:"version,omitempty"`

	// 支持的微版本号。若该版本API不支持微版本,则为空。
	MinVersion *string `json:"min_version,omitempty"`

	// API的URL地址
	Links *[]Link `json:"links,omitempty"`
}

描述VPCEP服务API版本信息列表

func (VersionObject) String added in v0.1.5

func (o VersionObject) String() string

type VersionObjectId added in v0.1.5

type VersionObjectId struct {
	// contains filtered or unexported fields
}

func (VersionObjectId) MarshalJSON added in v0.1.5

func (c VersionObjectId) MarshalJSON() ([]byte, error)

func (*VersionObjectId) UnmarshalJSON added in v0.1.5

func (c *VersionObjectId) UnmarshalJSON(b []byte) error

func (VersionObjectId) Value added in v0.1.5

func (c VersionObjectId) Value() string

type VersionObjectIdEnum added in v0.1.5

type VersionObjectIdEnum struct {
	V1 VersionObjectId
}

func GetVersionObjectIdEnum added in v0.1.5

func GetVersionObjectIdEnum() VersionObjectIdEnum

type VersionObjectStatus added in v0.1.5

type VersionObjectStatus struct {
	// contains filtered or unexported fields
}

func (VersionObjectStatus) MarshalJSON added in v0.1.5

func (c VersionObjectStatus) MarshalJSON() ([]byte, error)

func (*VersionObjectStatus) UnmarshalJSON added in v0.1.5

func (c *VersionObjectStatus) UnmarshalJSON(b []byte) error

func (VersionObjectStatus) Value added in v0.1.5

func (c VersionObjectStatus) Value() string

type VersionObjectStatusEnum added in v0.1.5

type VersionObjectStatusEnum struct {
	CURRENT    VersionObjectStatus
	SUPPORT    VersionObjectStatus
	DEPRECATED VersionObjectStatus
}

func GetVersionObjectStatusEnum added in v0.1.5

func GetVersionObjectStatusEnum() VersionObjectStatusEnum

Source Files

Jump to

Keyboard shortcuts

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