model

package
v0.1.93 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 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,omitempty"`

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

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

AcceptOrRejectEndpointRequest Request Object

func (AcceptOrRejectEndpointRequest) String

type AcceptOrRejectEndpointRequestBody

type AcceptOrRejectEndpointRequestBody struct {

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

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

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

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:"-"`
}

AcceptOrRejectEndpointResponse Response Object

func (AcceptOrRejectEndpointResponse) String

type AddOrRemoveServicePermissionsRequest

type AddOrRemoveServicePermissionsRequest struct {

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

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

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

AddOrRemoveServicePermissionsRequest Request Object

func (AddOrRemoveServicePermissionsRequest) String

type AddOrRemoveServicePermissionsRequestBody

type AddOrRemoveServicePermissionsRequestBody struct {

	// permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。  - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。  “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/_* - *
	Permissions []string `json:"permissions"`

	// 终端节点服务白名单类型。  - domainId:基于账户ID配置终端节点服务白名单。  - orgPath:基于账户所在组织路径配置终端节点服务白名单。
	PermissionType *AddOrRemoveServicePermissionsRequestBodyPermissionType `json:"permission_type,omitempty"`

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

AddOrRemoveServicePermissionsRequestBody 操作权限请求结构体

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 AddOrRemoveServicePermissionsRequestBodyPermissionType added in v0.1.46

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

func (AddOrRemoveServicePermissionsRequestBodyPermissionType) MarshalJSON added in v0.1.46

func (*AddOrRemoveServicePermissionsRequestBodyPermissionType) UnmarshalJSON added in v0.1.46

func (AddOrRemoveServicePermissionsRequestBodyPermissionType) Value added in v0.1.46

type AddOrRemoveServicePermissionsRequestBodyPermissionTypeEnum added in v0.1.46

type AddOrRemoveServicePermissionsRequestBodyPermissionTypeEnum struct {
	DOMAIN_ID AddOrRemoveServicePermissionsRequestBodyPermissionType
	ORG_PATH  AddOrRemoveServicePermissionsRequestBodyPermissionType
}

func GetAddOrRemoveServicePermissionsRequestBodyPermissionTypeEnum added in v0.1.46

func GetAddOrRemoveServicePermissionsRequestBodyPermissionTypeEnum() AddOrRemoveServicePermissionsRequestBodyPermissionTypeEnum

type AddOrRemoveServicePermissionsResponse

type AddOrRemoveServicePermissionsResponse struct {

	// permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。  - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。  “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/_* - *
	Permissions *[]string `json:"permissions,omitempty"`

	// 终端节点服务白名单类型。  - domainId:基于账户ID配置终端节点服务白名单。  - orgPath:基于账户所在组织路径配置终端节点服务白名单。
	PermissionType *string `json:"permission_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddOrRemoveServicePermissionsResponse Response Object

func (AddOrRemoveServicePermissionsResponse) String

type BatchAddEndpointServicePermissionsRequest added in v0.1.5

type BatchAddEndpointServicePermissionsRequest struct {

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

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

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

BatchAddEndpointServicePermissionsRequest Request Object

func (BatchAddEndpointServicePermissionsRequest) String added in v0.1.5

type BatchAddEndpointServicePermissionsRequestBody added in v0.1.86

type BatchAddEndpointServicePermissionsRequestBody struct {

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

	// 终端节点服务白名单类型。  - domainId:基于账户ID配置终端节点服务白名单。  - orgPath:基于账户所在组织路径配置终端节点服务白名单。
	PermissionType *BatchAddEndpointServicePermissionsRequestBodyPermissionType `json:"permission_type,omitempty"`
}

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

func (BatchAddEndpointServicePermissionsRequestBody) String added in v0.1.86

type BatchAddEndpointServicePermissionsRequestBodyPermissionType added in v0.1.86

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

func (BatchAddEndpointServicePermissionsRequestBodyPermissionType) MarshalJSON added in v0.1.86

func (*BatchAddEndpointServicePermissionsRequestBodyPermissionType) UnmarshalJSON added in v0.1.86

func (BatchAddEndpointServicePermissionsRequestBodyPermissionType) Value added in v0.1.86

type BatchAddEndpointServicePermissionsRequestBodyPermissionTypeEnum added in v0.1.86

type BatchAddEndpointServicePermissionsRequestBodyPermissionTypeEnum struct {
	DOMAIN_ID BatchAddEndpointServicePermissionsRequestBodyPermissionType
	ORG_PATH  BatchAddEndpointServicePermissionsRequestBodyPermissionType
}

func GetBatchAddEndpointServicePermissionsRequestBodyPermissionTypeEnum added in v0.1.86

func GetBatchAddEndpointServicePermissionsRequestBodyPermissionTypeEnum() BatchAddEndpointServicePermissionsRequestBodyPermissionTypeEnum

type BatchAddEndpointServicePermissionsResponse added in v0.1.5

type BatchAddEndpointServicePermissionsResponse struct {

	// 终端节点服务白名单
	Permissions    *[]EpsPermission `json:"permissions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

BatchAddEndpointServicePermissionsResponse Response Object

func (BatchAddEndpointServicePermissionsResponse) String added in v0.1.5

type BatchAddOrRemoveResourceInstanceRequest

type BatchAddOrRemoveResourceInstanceRequest struct {

	// 资源类型。  - endpoint_service:终端节点服务  - endpoint:终端节点
	ResourceType BatchAddOrRemoveResourceInstanceRequestResourceType `json:"resource_type"`

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

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

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

BatchAddOrRemoveResourceInstanceRequest Request Object

func (BatchAddOrRemoveResourceInstanceRequest) String

type BatchAddOrRemoveResourceInstanceRequestBody added in v0.1.86

type BatchAddOrRemoveResourceInstanceRequestBody struct {

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

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

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

func (BatchAddOrRemoveResourceInstanceRequestBody) String added in v0.1.86

type BatchAddOrRemoveResourceInstanceRequestBodyAction added in v0.1.86

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

func (BatchAddOrRemoveResourceInstanceRequestBodyAction) MarshalJSON added in v0.1.86

func (*BatchAddOrRemoveResourceInstanceRequestBodyAction) UnmarshalJSON added in v0.1.86

func (BatchAddOrRemoveResourceInstanceRequestBodyAction) Value added in v0.1.86

type BatchAddOrRemoveResourceInstanceRequestBodyActionEnum added in v0.1.86

type BatchAddOrRemoveResourceInstanceRequestBodyActionEnum struct {
	CREATE BatchAddOrRemoveResourceInstanceRequestBodyAction
	DELETE BatchAddOrRemoveResourceInstanceRequestBodyAction
}

func GetBatchAddOrRemoveResourceInstanceRequestBodyActionEnum added in v0.1.86

func GetBatchAddOrRemoveResourceInstanceRequestBodyActionEnum() BatchAddOrRemoveResourceInstanceRequestBodyActionEnum

type BatchAddOrRemoveResourceInstanceRequestResourceType added in v0.1.86

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

func (BatchAddOrRemoveResourceInstanceRequestResourceType) MarshalJSON added in v0.1.86

func (*BatchAddOrRemoveResourceInstanceRequestResourceType) UnmarshalJSON added in v0.1.86

func (BatchAddOrRemoveResourceInstanceRequestResourceType) Value added in v0.1.86

type BatchAddOrRemoveResourceInstanceRequestResourceTypeEnum added in v0.1.86

type BatchAddOrRemoveResourceInstanceRequestResourceTypeEnum struct {
	ENDPOINT_SERVICE BatchAddOrRemoveResourceInstanceRequestResourceType
	ENDPOINT         BatchAddOrRemoveResourceInstanceRequestResourceType
}

func GetBatchAddOrRemoveResourceInstanceRequestResourceTypeEnum added in v0.1.86

func GetBatchAddOrRemoveResourceInstanceRequestResourceTypeEnum() BatchAddOrRemoveResourceInstanceRequestResourceTypeEnum

type BatchAddOrRemoveResourceInstanceResponse

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

BatchAddOrRemoveResourceInstanceResponse Response Object

func (BatchAddOrRemoveResourceInstanceResponse) String

type BatchRemoveEndpointServicePermissionsRequest added in v0.1.5

type BatchRemoveEndpointServicePermissionsRequest struct {

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

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

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

BatchRemoveEndpointServicePermissionsRequest Request Object

func (BatchRemoveEndpointServicePermissionsRequest) String added in v0.1.5

type BatchRemoveEndpointServicePermissionsRequestBody added in v0.1.86

type BatchRemoveEndpointServicePermissionsRequestBody struct {

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

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

func (BatchRemoveEndpointServicePermissionsRequestBody) String added in v0.1.86

type BatchRemoveEndpointServicePermissionsResponse added in v0.1.5

type BatchRemoveEndpointServicePermissionsResponse struct {

	// 终端节点服务白名单
	Permissions    *[]EpsPermission `json:"permissions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

BatchRemoveEndpointServicePermissionsResponse Response Object

func (BatchRemoveEndpointServicePermissionsResponse) 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 *sdktime.SdkTime `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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 *string `json:"status,omitempty"`

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

ConnectionEndpoints 终端节点列表

func (ConnectionEndpoints) String added in v0.0.69

func (o ConnectionEndpoints) String() string

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,omitempty"`

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

CreateEndpointRequest 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"`
}

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

func (CreateEndpointRequestBody) String

func (o CreateEndpointRequestBody) String() string

type CreateEndpointResponse

type CreateEndpointResponse struct {

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

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

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

	// 终端节点ip
	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"`

	// 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 *sdktime.SdkTime `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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 *[]PolicyStatement `json:"policy_statement,omitempty"`

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

	// 待废弃,实例相关联的集群ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

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

CreateEndpointResponse Response Object

func (CreateEndpointResponse) String

func (o CreateEndpointResponse) String() string

type CreateEndpointServiceRequest

type CreateEndpointServiceRequest struct {

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

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

CreateEndpointServiceRequest Request Object

func (CreateEndpointServiceRequest) String

type CreateEndpointServiceRequestBody

type CreateEndpointServiceRequestBody struct {

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

	// 终端节点服务的名称,长度不大于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类型的终端节点服务。 终端节点服务类型包括“网关(gateway)型”和“接口(interface)型”:  - gateway:由运维人员配置。用户无需创建,可直接使用。  - interface:包括运维人员配置的云服务和用户自己创建的私有服务。 其中,运维人员配置的云服务无需创建, 用户可直接使用。 您可以通过查询公共终端节点服务列表, 查看由运维人员配置的所有用户可见且可连接的终端节点服务, 并通过创建终端节点创建访问Gateway和Interface类型终端节点服务的终端节点。
	ServiceType *CreateEndpointServiceRequestBodyServiceType `json:"service_type,omitempty"`

	// 资源类型。  - VM:云服务器,适用于作为服务器使用。  - VIP:虚拟IP,适用于作为虚IP场景使用。(该字段已废弃,请优先使用LB类型)  - 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”。  - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
	TcpProxy *CreateEndpointServiceRequestBodyTcpProxy `json:"tcp_proxy,omitempty"`

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

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

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy *bool `json:"enable_policy,omitempty"`
}

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

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 CreateEndpointServiceRequestBodyServiceType added in v0.1.86

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

func (CreateEndpointServiceRequestBodyServiceType) MarshalJSON added in v0.1.86

func (*CreateEndpointServiceRequestBodyServiceType) UnmarshalJSON added in v0.1.86

func (CreateEndpointServiceRequestBodyServiceType) Value added in v0.1.86

type CreateEndpointServiceRequestBodyServiceTypeEnum added in v0.1.86

type CreateEndpointServiceRequestBodyServiceTypeEnum struct {
	GATEWAY   CreateEndpointServiceRequestBodyServiceType
	INTERFACE CreateEndpointServiceRequestBodyServiceType
}

func GetCreateEndpointServiceRequestBodyServiceTypeEnum added in v0.1.86

func GetCreateEndpointServiceRequestBodyServiceTypeEnum() CreateEndpointServiceRequestBodyServiceTypeEnum

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。(该字段已废弃,请优先使用LB类型)
	PortId *string `json:"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"`

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

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

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

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

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

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

	// 项目ID
	ProjectId *string `json:"project_id,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”。  - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
	TcpProxy *string `json:"tcp_proxy,omitempty"`

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

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

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy   *bool `json:"enable_policy,omitempty"`
	HttpStatusCode int   `json:"-"`
}

CreateEndpointServiceResponse Response Object

func (CreateEndpointServiceResponse) String

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,omitempty"`
}

DeleteEndpointPolicyRequest 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"`

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

	// 终端节点的连接状态。  - pendingAcceptance:待接受  - creating:创建中  - accepted:已接受  - rejected:已拒绝  - failed:失败  - deleting:删除中
	Status *string `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"`

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

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

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

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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"`

	// 待废弃,实例相关联的集群ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

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

DeleteEndpointPolicyResponse Response Object

func (DeleteEndpointPolicyResponse) String added in v0.1.5

type DeleteEndpointRequest

type DeleteEndpointRequest struct {

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

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

DeleteEndpointRequest Request Object

func (DeleteEndpointRequest) String

func (o DeleteEndpointRequest) String() string

type DeleteEndpointResponse

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

DeleteEndpointResponse Response Object

func (DeleteEndpointResponse) String

func (o DeleteEndpointResponse) String() string

type DeleteEndpointServiceRequest

type DeleteEndpointServiceRequest struct {

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

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

DeleteEndpointServiceRequest Request Object

func (DeleteEndpointServiceRequest) String

type DeleteEndpointServiceResponse

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

DeleteEndpointServiceResponse Response Object

func (DeleteEndpointServiceResponse) String

type EndpointResponseBody added in v0.1.86

type EndpointResponseBody struct {

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

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

	// 终端节点的连接状态。  - pendingAcceptance:待接受  - creating:创建中  - accepted:已接受  - rejected:已拒绝  - failed:失败  - deleting:删除中
	Status *string `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 *sdktime.SdkTime `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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"`

	// 待废弃,实例相关联的集群ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

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

EndpointResponseBody 终端节接口响应结构体

func (EndpointResponseBody) String added in v0.1.86

func (o EndpointResponseBody) String() string

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"`

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

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

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

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy *bool `json:"enable_policy,omitempty"`
}

EndpointService 终端节点服务列表

func (EndpointService) String added in v0.0.69

func (o EndpointService) String() string

type EpsAddPermissionRequest added in v0.1.5

type EpsAddPermissionRequest struct {

	// permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。  - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。  “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/_* - *
	Permission string `json:"permission"`

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

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

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"`

	// permission列表。 权限格式为: - iam:domain::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。  - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。  “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/_* - *
	Permission *string `json:"permission,omitempty"`

	// 终端节点服务白名单类型。  - domainId:基于账户ID配置终端节点服务白名单。  - orgPath:基于账户所在组织路径配置终端节点服务白名单。
	PermissionType *EpsPermissionPermissionType `json:"permission_type,omitempty"`

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

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

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

func (EpsPermission) String added in v0.1.5

func (o EpsPermission) String() string

type EpsPermissionPermissionType added in v0.1.46

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

func (EpsPermissionPermissionType) MarshalJSON added in v0.1.46

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

func (*EpsPermissionPermissionType) UnmarshalJSON added in v0.1.46

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

func (EpsPermissionPermissionType) Value added in v0.1.46

type EpsPermissionPermissionTypeEnum added in v0.1.46

type EpsPermissionPermissionTypeEnum struct {
	DOMAIN_ID EpsPermissionPermissionType
	ORG_PATH  EpsPermissionPermissionType
}

func GetEpsPermissionPermissionTypeEnum added in v0.1.46

func GetEpsPermissionPermissionTypeEnum() EpsPermissionPermissionTypeEnum

type EpsRemovePermissionRequest added in v0.1.5

type EpsRemovePermissionRequest struct {

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

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

func (EpsRemovePermissionRequest) String added in v0.1.5

type EpsUpdatePermissionDesc added in v0.1.5

type EpsUpdatePermissionDesc struct {

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

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

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"`
}

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

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"`
}

Link 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,omitempty"`

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

ListEndpointInfoDetailsRequest Request Object

func (ListEndpointInfoDetailsRequest) String

type ListEndpointInfoDetailsResponse

type ListEndpointInfoDetailsResponse struct {

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

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

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

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

	// 终端节点是否可用。  - enable:启用  - disable:不启用
	EnableStatus *string `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 *sdktime.SdkTime `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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 *[]PolicyStatement `json:"policy_statement,omitempty"`

	// 待废弃,实例相关联的集群ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

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

ListEndpointInfoDetailsResponse Response Object

func (ListEndpointInfoDetailsResponse) String

type ListEndpointServiceRequest

type ListEndpointServiceRequest struct {

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

	// 终端节点服务的名称,支持大小写,前后模糊匹配。
	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"`
}

ListEndpointServiceRequest 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:"-"`
}

ListEndpointServiceResponse Response Object

func (ListEndpointServiceResponse) String

type ListEndpointsRequest added in v0.0.69

type ListEndpointsRequest struct {

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

	// 终端节点服务的名称,支持大小写,前后模糊匹配。
	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 *ListEndpointsRequestSortKey `json:"sort_key,omitempty"`

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

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

ListEndpointsRequest Request Object

func (ListEndpointsRequest) String added in v0.0.69

func (o ListEndpointsRequest) String() string

type ListEndpointsRequestSortDir added in v0.1.86

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

func (ListEndpointsRequestSortDir) MarshalJSON added in v0.1.86

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

func (*ListEndpointsRequestSortDir) UnmarshalJSON added in v0.1.86

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

func (ListEndpointsRequestSortDir) Value added in v0.1.86

type ListEndpointsRequestSortDirEnum added in v0.1.86

type ListEndpointsRequestSortDirEnum struct {
	DESC ListEndpointsRequestSortDir
	ASC  ListEndpointsRequestSortDir
}

func GetListEndpointsRequestSortDirEnum added in v0.1.86

func GetListEndpointsRequestSortDirEnum() ListEndpointsRequestSortDirEnum

type ListEndpointsRequestSortKey added in v0.1.86

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

func (ListEndpointsRequestSortKey) MarshalJSON added in v0.1.86

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

func (*ListEndpointsRequestSortKey) UnmarshalJSON added in v0.1.86

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

func (ListEndpointsRequestSortKey) Value added in v0.1.86

type ListEndpointsRequestSortKeyEnum added in v0.1.86

type ListEndpointsRequestSortKeyEnum struct {
	CREATE_AT ListEndpointsRequestSortKey
	UPDATE_AT ListEndpointsRequestSortKey
}

func GetListEndpointsRequestSortKeyEnum added in v0.1.86

func GetListEndpointsRequestSortKeyEnum() ListEndpointsRequestSortKeyEnum

type ListEndpointsResponse added in v0.0.69

type ListEndpointsResponse struct {

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

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

ListEndpointsResponse Response Object

func (ListEndpointsResponse) String added in v0.0.69

func (o ListEndpointsResponse) String() string

type ListQueryProjectResourceTagsRequest

type ListQueryProjectResourceTagsRequest struct {

	// 资源类型。  - endpoint_service:终端节点服务  - endpoint:终端节点
	ResourceType ListQueryProjectResourceTagsRequestResourceType `json:"resource_type"`

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

ListQueryProjectResourceTagsRequest Request Object

func (ListQueryProjectResourceTagsRequest) String

type ListQueryProjectResourceTagsRequestResourceType added in v0.1.86

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

func (ListQueryProjectResourceTagsRequestResourceType) MarshalJSON added in v0.1.86

func (*ListQueryProjectResourceTagsRequestResourceType) UnmarshalJSON added in v0.1.86

func (ListQueryProjectResourceTagsRequestResourceType) Value added in v0.1.86

type ListQueryProjectResourceTagsRequestResourceTypeEnum added in v0.1.86

type ListQueryProjectResourceTagsRequestResourceTypeEnum struct {
	ENDPOINT_SERVICE ListQueryProjectResourceTagsRequestResourceType
	ENDPOINT         ListQueryProjectResourceTagsRequestResourceType
}

func GetListQueryProjectResourceTagsRequestResourceTypeEnum added in v0.1.86

func GetListQueryProjectResourceTagsRequestResourceTypeEnum() ListQueryProjectResourceTagsRequestResourceTypeEnum

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:"-"`
}

ListQueryProjectResourceTagsResponse Response Object

func (ListQueryProjectResourceTagsResponse) String

type ListQuotaDetailsRequest

type ListQuotaDetailsRequest struct {

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

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

ListQuotaDetailsRequest 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         *ResourcesResponseBody `json:"quotas,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

ListQuotaDetailsResponse Response Object

func (ListQuotaDetailsResponse) String

func (o ListQuotaDetailsResponse) String() string

type ListResourceInstancesRequest

type ListResourceInstancesRequest struct {

	// 资源类型,值为:endpoint_service或endpoint。 - endpoint_service:云服务器,适用于作为服务器使用。 - endpoint:虚拟IP,适用于作为虚IP场景使用
	ResourceType ListResourceInstancesRequestResourceType `json:"resource_type"`

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

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

ListResourceInstancesRequest Request Object

func (ListResourceInstancesRequest) String

type ListResourceInstancesRequestResourceType added in v0.1.86

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

func (ListResourceInstancesRequestResourceType) MarshalJSON added in v0.1.86

func (*ListResourceInstancesRequestResourceType) UnmarshalJSON added in v0.1.86

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

func (ListResourceInstancesRequestResourceType) Value added in v0.1.86

type ListResourceInstancesRequestResourceTypeEnum added in v0.1.86

type ListResourceInstancesRequestResourceTypeEnum struct {
	ENDPOINT_SERVICE ListResourceInstancesRequestResourceType
	ENDPOINT         ListResourceInstancesRequestResourceType
}

func GetListResourceInstancesRequestResourceTypeEnum added in v0.1.86

func GetListResourceInstancesRequestResourceTypeEnum() ListResourceInstancesRequestResourceTypeEnum

type ListResourceInstancesResponse

type ListResourceInstancesResponse struct {

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

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

ListResourceInstancesResponse Response Object

func (ListResourceInstancesResponse) String

type ListServiceConnectionsRequest

type ListServiceConnectionsRequest struct {

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

	// 终端节点服务的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 *ListServiceConnectionsRequestStatus `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"`
}

ListServiceConnectionsRequest 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 ListServiceConnectionsRequestStatus added in v0.1.86

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

func (ListServiceConnectionsRequestStatus) MarshalJSON added in v0.1.86

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

func (*ListServiceConnectionsRequestStatus) UnmarshalJSON added in v0.1.86

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

func (ListServiceConnectionsRequestStatus) Value added in v0.1.86

type ListServiceConnectionsRequestStatusEnum added in v0.1.86

type ListServiceConnectionsRequestStatusEnum struct {
	PENDING_ACCEPTANCE ListServiceConnectionsRequestStatus
	ACCEPTED           ListServiceConnectionsRequestStatus
	REJECTED           ListServiceConnectionsRequestStatus
	FAILED             ListServiceConnectionsRequestStatus
}

func GetListServiceConnectionsRequestStatusEnum added in v0.1.86

func GetListServiceConnectionsRequestStatusEnum() ListServiceConnectionsRequestStatusEnum

type ListServiceConnectionsResponse

type ListServiceConnectionsResponse struct {

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

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

ListServiceConnectionsResponse Response Object

func (ListServiceConnectionsResponse) String

type ListServiceDescribeDetailsRequest

type ListServiceDescribeDetailsRequest struct {

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

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

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

ListServiceDescribeDetailsRequest Request Object

func (ListServiceDescribeDetailsRequest) String

type ListServiceDescribeDetailsResponse

type ListServiceDescribeDetailsResponse struct {

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

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

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

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

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

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

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy   *bool `json:"enable_policy,omitempty"`
	HttpStatusCode int   `json:"-"`
}

ListServiceDescribeDetailsResponse Response Object

func (ListServiceDescribeDetailsResponse) String

type ListServiceDetailsRequest

type ListServiceDetailsRequest struct {

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

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

ListServiceDetailsRequest 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。(该字段已废弃,请优先使用LB类型)
	PortId *string `json:"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 *string `json:"status,omitempty"`

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

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

	// 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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:表示将客户端信息插入到tcp option字段中携带至服务端。 说明:仅当后端资源为OBS时,支持TCP TOA类型信息携带方式。  - Proxy Protocol:表示将客户端信息插入到tcp payload字段中携带至服务端。 仅当服务端支持解析上述字段时,该参数设置才有效。 该参数的取值包括:  - close:表示关闭代理协议。  - toa_open:表示开启代理协议“tcp_toa”。  - proxy_open:表示开启代理协议“proxy_protocol”。  - open:表示同时开启代理协议“tcp_toa”和“proxy_protocol”。  - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
	TcpProxy *string `json:"tcp_proxy,omitempty"`

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

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

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy *bool `json:"enable_policy,omitempty"`

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

ListServiceDetailsResponse Response Object

func (ListServiceDetailsResponse) String

type ListServicePermissionsDetailsRequest

type ListServicePermissionsDetailsRequest struct {

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

	// 终端节点服务的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:终端节点服务的创建时间  - update_at:终端节点服务的更新时间 默认值为create_at。
	SortKey *ListServicePermissionsDetailsRequestSortKey `json:"sort_key,omitempty"`

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

ListServicePermissionsDetailsRequest 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:"-"`
}

ListServicePermissionsDetailsResponse Response Object

func (ListServicePermissionsDetailsResponse) String

type ListServicePublicDetailsRequest

type ListServicePublicDetailsRequest struct {

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

	// 查询返回公共的终端节点服务数量限制,即每页返回的个数。 取值范围: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"`
}

ListServicePublicDetailsRequest 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:"-"`
}

ListServicePublicDetailsResponse Response Object

func (ListServicePublicDetailsResponse) String

type ListSpecifiedVersionDetailsRequest

type ListSpecifiedVersionDetailsRequest struct {

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

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

ListSpecifiedVersionDetailsRequest Request Object

func (ListSpecifiedVersionDetailsRequest) String

type ListSpecifiedVersionDetailsResponse

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

ListSpecifiedVersionDetailsResponse Response Object

func (ListSpecifiedVersionDetailsResponse) String

type ListVersionDetailsRequest

type ListVersionDetailsRequest struct {

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

ListVersionDetailsRequest Request Object

func (ListVersionDetailsRequest) String

func (o ListVersionDetailsRequest) String() string

type ListVersionDetailsResponse

type ListVersionDetailsResponse struct {

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

ListVersionDetailsResponse 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::domain_id。其中: “iam:domain::”为固定格式,“domain_id”为可连接用户的帐号ID。 domain_id类型支持输入包括“a~z”、“A~Z”、“0~9”或者“*”,最大长度可以传64。  - organizations:orgPath::org_path。其中: “organizations:orgPath::”为固定格式,org_path为可连接用户的组织路径。 org_path类型支持“a~z”、“A~Z”、“0~9”、“/-*?”或者“*”,最大长度可以传1024。  “*”表示所有终端节点可连接。 示例: - iam:domain::6e9dfd51d1124e8d8498dce894923a0dd - organizations:orgPath::o-3j59d1231uprgk9yuvlidra7zbzfi578/r-rldbu1vmxdw5ahdkknxnvd5rgag77m2z/ou-7tuddd8nh99rebxltawsm6qct5z7rklv/_* - *
	Permission *string `json:"permission,omitempty"`

	// 终端节点服务白名单类型。  - domainId:基于账户ID配置终端节点服务白名单。  - orgPath:基于账户所在组织路径配置终端节点服务白名单。
	PermissionType *string `json:"permission_type,omitempty"`

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

PermissionObject permission列表。

func (PermissionObject) String added in v0.1.5

func (o PermissionObject) String() string

type PolicyStatement added in v0.1.5

type PolicyStatement struct {

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

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

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

PolicyStatement policy

func (PolicyStatement) String added in v0.1.5

func (o PolicyStatement) String() string

type PolicyStatementEffect added in v0.1.86

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

func (PolicyStatementEffect) MarshalJSON added in v0.1.86

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

func (*PolicyStatementEffect) UnmarshalJSON added in v0.1.86

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

func (PolicyStatementEffect) Value added in v0.1.86

func (c PolicyStatementEffect) Value() string

type PolicyStatementEffectEnum added in v0.1.86

type PolicyStatementEffectEnum struct {
	ALLOW  PolicyStatementEffect
	REFUSE PolicyStatementEffect
}

func GetPolicyStatementEffectEnum added in v0.1.86

func GetPolicyStatementEffectEnum() PolicyStatementEffectEnum

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"`
}

PortList 服务开放的端口映射列表

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"`
}

QueryError 查询资源返回的异常信息

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 QueryResourceInstanceTagsBodyAction `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"`
}

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

func (QueryResourceInstanceTagsBody) String

type QueryResourceInstanceTagsBodyAction added in v0.1.86

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

func (QueryResourceInstanceTagsBodyAction) MarshalJSON added in v0.1.86

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

func (*QueryResourceInstanceTagsBodyAction) UnmarshalJSON added in v0.1.86

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

func (QueryResourceInstanceTagsBodyAction) Value added in v0.1.86

type QueryResourceInstanceTagsBodyActionEnum added in v0.1.86

type QueryResourceInstanceTagsBodyActionEnum struct {
	FILTER QueryResourceInstanceTagsBodyAction
	COUNT  QueryResourceInstanceTagsBodyAction
}

func GetQueryResourceInstanceTagsBodyActionEnum added in v0.1.86

func GetQueryResourceInstanceTagsBodyActionEnum() QueryResourceInstanceTagsBodyActionEnum

type Quotas

type Quotas struct {

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

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

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

Quotas 创建配额接口请求结构体

func (Quotas) String

func (o Quotas) String() string

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"`
}

ResourceInstance 资源实例详情

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 ResourcesResponseBody added in v0.1.86

type ResourcesResponseBody struct {

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

ResourcesResponseBody 查询配额接口响应结构体

func (ResourcesResponseBody) String added in v0.1.86

func (o ResourcesResponseBody) String() string

type RoutetableInfoError

type RoutetableInfoError struct {

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

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

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

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。(该字段已废弃,请优先使用LB类型)
	PortId *string `json:"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 *string `json:"status,omitempty"`

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

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

	// 终端节点服务的更新时间。 采用UTC时间格式,格式为:YYYY-MMDDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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”。  - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
	TcpProxy *string `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"`

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy *bool `json:"enable_policy,omitempty"`
}

func (ServiceList) String added in v0.0.69

func (o ServiceList) String() string

type TagList

type TagList struct {

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

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

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

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 *UpdateEndpointConnectionsDescRequestBody `json:"body,omitempty"`
}

UpdateEndpointConnectionsDescRequest Request Object

func (UpdateEndpointConnectionsDescRequest) String added in v0.1.5

type UpdateEndpointConnectionsDescRequestBody added in v0.1.86

type UpdateEndpointConnectionsDescRequestBody struct {

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

func (UpdateEndpointConnectionsDescRequestBody) String added in v0.1.86

type UpdateEndpointConnectionsDescResponse added in v0.1.5

type UpdateEndpointConnectionsDescResponse struct {

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

UpdateEndpointConnectionsDescResponse 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,omitempty"`

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

UpdateEndpointPolicyRequest 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"`
}

UpdateEndpointPolicyRequestBody 更新网关型终端节点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"`

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

	// 终端节点的连接状态。  - pendingAcceptance:待接受  - creating:创建中  - accepted:已接受  - rejected:已拒绝  - failed:失败  - deleting:删除中
	Status *string `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"`

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

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

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

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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"`

	// 待废弃,实例相关联的集群ID
	EndpointPoolId *string `json:"endpoint_pool_id,omitempty"`

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

UpdateEndpointPolicyResponse Response Object

func (UpdateEndpointPolicyResponse) String added in v0.1.5

type UpdateEndpointRoutetableRequest

type UpdateEndpointRoutetableRequest struct {

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

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

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

UpdateEndpointRoutetableRequest Request Object

func (UpdateEndpointRoutetableRequest) String

type UpdateEndpointRoutetableRequestBody

type UpdateEndpointRoutetableRequestBody struct {

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

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

func (UpdateEndpointRoutetableRequestBody) String

type UpdateEndpointRoutetableResponse

type UpdateEndpointRoutetableResponse struct {

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

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

UpdateEndpointRoutetableResponse Response Object

func (UpdateEndpointRoutetableResponse) String

type UpdateEndpointServiceNameRequest added in v0.1.5

type UpdateEndpointServiceNameRequest struct {

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

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

UpdateEndpointServiceNameRequest Request Object

func (UpdateEndpointServiceNameRequest) String added in v0.1.5

type UpdateEndpointServiceNameRequestBody added in v0.1.86

type UpdateEndpointServiceNameRequestBody struct {

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

UpdateEndpointServiceNameRequestBody 修改终端节点服务名称

func (UpdateEndpointServiceNameRequestBody) String added in v0.1.86

type UpdateEndpointServiceNameResponse added in v0.1.5

type UpdateEndpointServiceNameResponse struct {

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

UpdateEndpointServiceNameResponse 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,omitempty"`

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

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

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

UpdateEndpointServicePermissionDescRequest Request Object

func (UpdateEndpointServicePermissionDescRequest) String added in v0.1.5

type UpdateEndpointServicePermissionDescRequestBody added in v0.1.86

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

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

func (UpdateEndpointServicePermissionDescRequestBody) String added in v0.1.86

type UpdateEndpointServicePermissionDescResponse added in v0.1.5

type UpdateEndpointServicePermissionDescResponse struct {

	// 终端节点服务白名单
	Permissions    *[]EpsPermission `json:"permissions,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateEndpointServicePermissionDescResponse Response Object

func (UpdateEndpointServicePermissionDescResponse) String added in v0.1.5

type UpdateEndpointServiceRequest

type UpdateEndpointServiceRequest struct {

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

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

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

UpdateEndpointServiceRequest 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"`

	// 服务开放的端口映射列表,同一个终端节点服务下,不允许重复的端口映射。 若多个终端节点服务共用一个port_id, 则终端节点之间服务的所有端口映射的server_port和protocol的组合不能重复, 单次最多添加200个。 该参数值将被全量更新。
	Ports *[]PortList `json:"ports,omitempty"`

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally UniqueIdentifier,下文简称UUID)。 取值为:  - LB类型:负载均衡器内网IP对应的端口ID。 详细内容请参考《弹性负载均衡API参考》中的“查询负载均衡详情”。  - VM类型:弹性云服务器IP地址对应的网卡ID。 详细内容请参考《弹性云服务器API参考》中的“查询云服务器网卡信息”, 详见响应消息中的“port_id”字段。  - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型) 说明: 当后端资源为“LB类型”时,仅支持修改为同类型后端资源。 例如,共享型负载均衡仅支持更换为共享型负载均衡,不支持更换为独享型负载均衡。
	PortId *string `json:"port_id,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”。  - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
	TcpProxy *UpdateEndpointServiceRequestBodyTcpProxy `json:"tcp_proxy,omitempty"`

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

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

func (UpdateEndpointServiceRequestBody) String

type UpdateEndpointServiceRequestBodyTcpProxy added in v0.1.37

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

func (UpdateEndpointServiceRequestBodyTcpProxy) MarshalJSON added in v0.1.37

func (*UpdateEndpointServiceRequestBodyTcpProxy) UnmarshalJSON added in v0.1.37

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

func (UpdateEndpointServiceRequestBodyTcpProxy) Value added in v0.1.37

type UpdateEndpointServiceResponse

type UpdateEndpointServiceResponse struct {

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

	// 标识终端节点服务后端资源的ID, 格式为通用唯一识别码(Universally Unique Identifier,下文简称UUID)。 取值为:  - LB类型:负载均衡器内网IP对应的端口ID。  - VM类型:弹性云服务器IP地址对应的网卡ID。  - VIP类型:虚拟资源所在物理服务器对应的网卡ID。(该字段已废弃,请优先使用LB类型)
	PortId *string `json:"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"`

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

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

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

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

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

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

	// 项目ID
	ProjectId *string `json:"project_id,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”。  - proxy_vni: 关闭toa,开启proxy和vni。 默认值为“close”。
	TcpProxy *string `json:"tcp_proxy,omitempty"`

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

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

	// 是否开启终端节点策略。  - false:不支持设置终端节点策略  - true:支持设置终端节点策略 默认为false
	EnablePolicy   *bool `json:"enable_policy,omitempty"`
	HttpStatusCode int   `json:"-"`
}

UpdateEndpointServiceResponse Response Object

func (UpdateEndpointServiceResponse) String

type UpdateEndpointWhiteRequest

type UpdateEndpointWhiteRequest struct {

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

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

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

UpdateEndpointWhiteRequest 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"`
}

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

func (UpdateEndpointWhiteRequestBody) String

type UpdateEndpointWhiteResponse

type UpdateEndpointWhiteResponse struct {

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

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

	// 终端节点的连接状态。  - pendingAcceptance:待接受  - creating:创建中  - accepted:已接受  - rejected:已拒绝  - failed:失败  - deleting:删除中
	Status *string `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 *sdktime.SdkTime `json:"created_at,omitempty"`

	// 终端节点的更新时间。 采用UTC时间格式,格式为:YYYY-MM-DDTHH:MM:SSZ
	UpdatedAt *sdktime.SdkTime `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:"-"`
}

UpdateEndpointWhiteResponse Response Object

func (UpdateEndpointWhiteResponse) String

type VersionObject added in v0.1.5

type VersionObject struct {

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

	// 版本ID。 - v1:当前主推版本
	Id *string `json:"id,omitempty"`

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

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

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

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

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

func (VersionObject) String added in v0.1.5

func (o VersionObject) String() string

Source Files

Jump to

Keyboard shortcuts

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