model

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptOrRejectEndpointRequest

type AcceptOrRejectEndpointRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

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

Request Object

func (AcceptOrRejectEndpointRequest) String

type AcceptOrRejectEndpointRequestBody

type AcceptOrRejectEndpointRequestBody struct {
	Action AcceptOrRejectEndpointRequestBodyAction `json:"action"`

	Endpoints []string `json:"endpoints"`
}

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

func (AcceptOrRejectEndpointRequestBody) String

type AcceptOrRejectEndpointRequestBodyAction

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

func (AcceptOrRejectEndpointRequestBodyAction) MarshalJSON

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

func (*AcceptOrRejectEndpointRequestBodyAction) UnmarshalJSON

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

type AcceptOrRejectEndpointRequestBodyActionEnum

type AcceptOrRejectEndpointRequestBodyActionEnum struct {
	RECEIVE AcceptOrRejectEndpointRequestBodyAction
	REJECT  AcceptOrRejectEndpointRequestBodyAction
}

func GetAcceptOrRejectEndpointRequestBodyActionEnum

func GetAcceptOrRejectEndpointRequestBodyActionEnum() AcceptOrRejectEndpointRequestBodyActionEnum

type AcceptOrRejectEndpointResponse

type AcceptOrRejectEndpointResponse struct {
	Connections    *[]ConnectionEndpoints `json:"connections,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (AcceptOrRejectEndpointResponse) String

type AddOrRemoveServicePermissionsRequest

type AddOrRemoveServicePermissionsRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

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

Request Object

func (AddOrRemoveServicePermissionsRequest) String

type AddOrRemoveServicePermissionsRequestBody

type AddOrRemoveServicePermissionsRequestBody struct {
	Permissions []string `json:"permissions"`

	Action AddOrRemoveServicePermissionsRequestBodyAction `json:"action"`
}

操作权限请求结构体

func (AddOrRemoveServicePermissionsRequestBody) String

type AddOrRemoveServicePermissionsRequestBodyAction

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

func (AddOrRemoveServicePermissionsRequestBodyAction) MarshalJSON

func (*AddOrRemoveServicePermissionsRequestBodyAction) UnmarshalJSON

type AddOrRemoveServicePermissionsResponse

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

Response Object

func (AddOrRemoveServicePermissionsResponse) String

type BatchAddOrRemoveResourceInstanceBody

type BatchAddOrRemoveResourceInstanceBody struct {
	Tags *[]ResourceTag `json:"tags,omitempty"`

	Action string `json:"action"`
}

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

func (BatchAddOrRemoveResourceInstanceBody) String

type BatchAddOrRemoveResourceInstanceRequest

type BatchAddOrRemoveResourceInstanceRequest struct {
	ResourceType string `json:"resource_type"`

	ResourceId string `json:"resource_id"`

	ContentType string `json:"Content-Type"`

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

Request Object

func (BatchAddOrRemoveResourceInstanceRequest) String

type BatchAddOrRemoveResourceInstanceResponse

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

Response Object

func (BatchAddOrRemoveResourceInstanceResponse) String

type Connection

type Connection struct {
	Id *string `json:"id,omitempty"`

	MarkerId *int32 `json:"marker_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Status *ConnectionStatus `json:"status,omitempty"`
}

终端节点列表

func (Connection) String

func (o Connection) String() string

type ConnectionEndpoints

type ConnectionEndpoints struct {
	Id *string `json:"id,omitempty"`

	MarkerId *int32 `json:"marker_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	DomainId *string `json:"domain_id,omitempty"`

	Status *ConnectionEndpointsStatus `json:"status,omitempty"`

	Error *[]QueryError `json:"error,omitempty"`
}

终端节点列表

func (ConnectionEndpoints) String

func (o ConnectionEndpoints) String() string

type ConnectionEndpointsStatus

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

func (ConnectionEndpointsStatus) MarshalJSON

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

func (*ConnectionEndpointsStatus) UnmarshalJSON

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

type ConnectionEndpointsStatusEnum

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

func GetConnectionEndpointsStatusEnum

func GetConnectionEndpointsStatusEnum() ConnectionEndpointsStatusEnum

type ConnectionStatus

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

func (ConnectionStatus) MarshalJSON

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

func (*ConnectionStatus) UnmarshalJSON

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

type ConnectionStatusEnum

type ConnectionStatusEnum struct {
	PENDING_ACCEPTANCE ConnectionStatus
	CREATING           ConnectionStatus
	ACCEPTED           ConnectionStatus
	REJECTED           ConnectionStatus
	FAILED             ConnectionStatus
	DELETING           ConnectionStatus
}

func GetConnectionStatusEnum

func GetConnectionStatusEnum() ConnectionStatusEnum

type CreateEndpointRequest

type CreateEndpointRequest struct {
	ContentType string `json:"Content-Type"`

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

Request Object

func (CreateEndpointRequest) String

func (o CreateEndpointRequest) String() string

type CreateEndpointRequestBody

type CreateEndpointRequestBody struct {
	SubnetId *string `json:"subnet_id,omitempty"`

	EndpointServiceId string `json:"endpoint_service_id"`

	VpcId string `json:"vpc_id"`

	EnableDns *bool `json:"enable_dns,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

	Routetables *[]string `json:"routetables,omitempty"`

	PortIp *string `json:"port_ip,omitempty"`

	Whitelist *[]string `json:"whitelist,omitempty"`

	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`
}

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

func (CreateEndpointRequestBody) String

func (o CreateEndpointRequestBody) String() string

type CreateEndpointResponse

type CreateEndpointResponse struct {
	Id *string `json:"id,omitempty"`

	ServiceType *CreateEndpointResponseServiceType `json:"service_type,omitempty"`

	Status *CreateEndpointResponseStatus `json:"status,omitempty"`

	ActiveStatus *[]string `json:"active_status,omitempty"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	MarkerId *int32 `json:"marker_id,omitempty"`

	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	EnableDns *bool `json:"enable_dns,omitempty"`

	DnsNames *[]string `json:"dns_names,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

	Whitelist *[]string `json:"whitelist,omitempty"`

	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	Routetables    *[]string `json:"routetables,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateEndpointResponse) String

func (o CreateEndpointResponse) String() string

type CreateEndpointResponseServiceType

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

func (CreateEndpointResponseServiceType) MarshalJSON

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

func (*CreateEndpointResponseServiceType) UnmarshalJSON

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

type CreateEndpointResponseServiceTypeEnum

type CreateEndpointResponseServiceTypeEnum struct {
	INTERFACE CreateEndpointResponseServiceType
	GATEWAY   CreateEndpointResponseServiceType
}

func GetCreateEndpointResponseServiceTypeEnum

func GetCreateEndpointResponseServiceTypeEnum() CreateEndpointResponseServiceTypeEnum

type CreateEndpointResponseStatus

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

func (CreateEndpointResponseStatus) MarshalJSON

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

func (*CreateEndpointResponseStatus) UnmarshalJSON

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

type CreateEndpointServiceRequest

type CreateEndpointServiceRequest struct {
	ContentType string `json:"Content-Type"`

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

Request Object

func (CreateEndpointServiceRequest) String

type CreateEndpointServiceRequestBody

type CreateEndpointServiceRequestBody struct {
	PortId string `json:"port_id"`

	VipPortId *string `json:"vip_port_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	VpcId string `json:"vpc_id"`

	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	ServerType CreateEndpointServiceRequestBodyServerType `json:"server_type"`

	Ports []PortList `json:"ports"`

	TcpProxy *CreateEndpointServiceRequestBodyTcpProxy `json:"tcp_proxy,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`
}

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

func (CreateEndpointServiceRequestBody) String

type CreateEndpointServiceRequestBodyServerType

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

func (CreateEndpointServiceRequestBodyServerType) MarshalJSON

func (*CreateEndpointServiceRequestBodyServerType) UnmarshalJSON

type CreateEndpointServiceRequestBodyTcpProxy

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

func (CreateEndpointServiceRequestBodyTcpProxy) MarshalJSON

func (*CreateEndpointServiceRequestBodyTcpProxy) UnmarshalJSON

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

type CreateEndpointServiceResponse

type CreateEndpointServiceResponse struct {
	Id *string `json:"id,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	VipPortId *string `json:"vip_port_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServerType *CreateEndpointServiceResponseServerType `json:"server_type,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	Status *CreateEndpointServiceResponseStatus `json:"status,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	CidrType *CreateEndpointServiceResponseCidrType `json:"cidr_type,omitempty"`

	Ports *[]PortList `json:"ports,omitempty"`

	TcpProxy *CreateEndpointServiceResponseTcpProxy `json:"tcp_proxy,omitempty"`

	Tags           *[]TagList `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (CreateEndpointServiceResponse) String

type CreateEndpointServiceResponseCidrType

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

func (CreateEndpointServiceResponseCidrType) MarshalJSON

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

func (*CreateEndpointServiceResponseCidrType) UnmarshalJSON

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

type CreateEndpointServiceResponseCidrTypeEnum

type CreateEndpointServiceResponseCidrTypeEnum struct {
	PUBLIC   CreateEndpointServiceResponseCidrType
	INTERNAL CreateEndpointServiceResponseCidrType
}

func GetCreateEndpointServiceResponseCidrTypeEnum

func GetCreateEndpointServiceResponseCidrTypeEnum() CreateEndpointServiceResponseCidrTypeEnum

type CreateEndpointServiceResponseServerType

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

func (CreateEndpointServiceResponseServerType) MarshalJSON

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

func (*CreateEndpointServiceResponseServerType) UnmarshalJSON

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

type CreateEndpointServiceResponseStatus

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

func (CreateEndpointServiceResponseStatus) MarshalJSON

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

func (*CreateEndpointServiceResponseStatus) UnmarshalJSON

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

type CreateEndpointServiceResponseTcpProxy

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

func (CreateEndpointServiceResponseTcpProxy) MarshalJSON

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

func (*CreateEndpointServiceResponseTcpProxy) UnmarshalJSON

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

type DeleteEndpointRequest

type DeleteEndpointRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointId string `json:"vpc_endpoint_id"`
}

Request Object

func (DeleteEndpointRequest) String

func (o DeleteEndpointRequest) String() string

type DeleteEndpointResponse

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

Response Object

func (DeleteEndpointResponse) String

func (o DeleteEndpointResponse) String() string

type DeleteEndpointServiceRequest

type DeleteEndpointServiceRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`
}

Request Object

func (DeleteEndpointServiceRequest) String

type DeleteEndpointServiceResponse

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

Response Object

func (DeleteEndpointServiceResponse) String

type EndpointResp

type EndpointResp struct {
	Id *string `json:"id,omitempty"`

	ServiceType *EndpointRespServiceType `json:"service_type,omitempty"`

	Status *EndpointRespStatus `json:"status,omitempty"`

	ActiveStatus *[]string `json:"active_status,omitempty"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	MarkerId *int32 `json:"marker_id,omitempty"`

	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	EnableDns *bool `json:"enable_dns,omitempty"`

	DnsNames *[]string `json:"dns_names,omitempty"`

	Ip *string `json:"ip,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

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

	Whitelist *[]string `json:"whitelist,omitempty"`

	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	Routetables *[]string `json:"routetables,omitempty"`
}

终端节接口响应结构体

func (EndpointResp) String

func (o EndpointResp) String() string

type EndpointRespServiceType

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

func (EndpointRespServiceType) MarshalJSON

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

func (*EndpointRespServiceType) UnmarshalJSON

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

type EndpointRespServiceTypeEnum

type EndpointRespServiceTypeEnum struct {
	INTERFACE EndpointRespServiceType
	GATEWAY   EndpointRespServiceType
}

func GetEndpointRespServiceTypeEnum

func GetEndpointRespServiceTypeEnum() EndpointRespServiceTypeEnum

type EndpointRespStatus

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

func (EndpointRespStatus) MarshalJSON

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

func (*EndpointRespStatus) UnmarshalJSON

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

type EndpointRespStatusEnum

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

func GetEndpointRespStatusEnum

func GetEndpointRespStatusEnum() EndpointRespStatusEnum

type EndpointService

type EndpointService struct {
	Id *string `json:"id,omitempty"`

	Owner *string `json:"owner,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServiceType *EndpointServiceServiceType `json:"service_type,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	IsCharge *bool `json:"is_charge,omitempty"`
}

终端节点服务列表

func (EndpointService) String

func (o EndpointService) String() string

type EndpointServiceServiceType

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

func (EndpointServiceServiceType) MarshalJSON

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

func (*EndpointServiceServiceType) UnmarshalJSON

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

type EndpointServiceServiceTypeEnum

type EndpointServiceServiceTypeEnum struct {
	INTERFACE EndpointServiceServiceType
	GATEWAY   EndpointServiceServiceType
}

func GetEndpointServiceServiceTypeEnum

func GetEndpointServiceServiceTypeEnum() EndpointServiceServiceTypeEnum

type Error

type Error struct {
	Message *string `json:"message,omitempty"`

	Code *string `json:"code,omitempty"`
}

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

func (Error) String

func (o Error) String() string
type Link struct {
	Href *string `json:"href,omitempty"`

	Type *string `json:"type,omitempty"`

	Rel *string `json:"rel,omitempty"`
}

API的url地址

func (Link) String

func (o Link) String() string

type ListEndpointInfoDetailsRequest

type ListEndpointInfoDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointId string `json:"vpc_endpoint_id"`
}

Request Object

func (ListEndpointInfoDetailsRequest) String

type ListEndpointInfoDetailsResponse

type ListEndpointInfoDetailsResponse struct {
	Id *string `json:"id,omitempty"`

	ServiceType *ListEndpointInfoDetailsResponseServiceType `json:"service_type,omitempty"`

	Status *ListEndpointInfoDetailsResponseStatus `json:"status,omitempty"`

	ActiveStatus *[]string `json:"active_status,omitempty"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	MarkerId *int32 `json:"marker_id,omitempty"`

	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	EnableDns *bool `json:"enable_dns,omitempty"`

	DnsNames *[]string `json:"dns_names,omitempty"`

	Ip *string `json:"ip,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

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

	Whitelist *[]string `json:"whitelist,omitempty"`

	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	Routetables    *[]string `json:"routetables,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListEndpointInfoDetailsResponse) String

type ListEndpointInfoDetailsResponseServiceType

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

func (ListEndpointInfoDetailsResponseServiceType) MarshalJSON

func (*ListEndpointInfoDetailsResponseServiceType) UnmarshalJSON

type ListEndpointInfoDetailsResponseServiceTypeEnum

type ListEndpointInfoDetailsResponseServiceTypeEnum struct {
	INTERFACE ListEndpointInfoDetailsResponseServiceType
	GATEWAY   ListEndpointInfoDetailsResponseServiceType
}

func GetListEndpointInfoDetailsResponseServiceTypeEnum

func GetListEndpointInfoDetailsResponseServiceTypeEnum() ListEndpointInfoDetailsResponseServiceTypeEnum

type ListEndpointInfoDetailsResponseStatus

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

func (ListEndpointInfoDetailsResponseStatus) MarshalJSON

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

func (*ListEndpointInfoDetailsResponseStatus) UnmarshalJSON

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

type ListEndpointServiceRequest

type ListEndpointServiceRequest struct {
	ContentType string `json:"Content-Type"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	Id *string `json:"id,omitempty"`

	Status *ListEndpointServiceRequestStatus `json:"status,omitempty"`

	SortKey *ListEndpointServiceRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListEndpointServiceRequestSortDir `json:"sort_dir,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListEndpointServiceRequest) String

type ListEndpointServiceRequestSortDir

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

func (ListEndpointServiceRequestSortDir) MarshalJSON

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

func (*ListEndpointServiceRequestSortDir) UnmarshalJSON

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

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

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

type ListEndpointServiceResponse

type ListEndpointServiceResponse struct {
	EndpointServices *[]ServiceList `json:"endpoint_services,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEndpointServiceResponse) String

type ListEndpointsRequest

type ListEndpointsRequest struct {
	ContentType string `json:"Content-Type"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	Id *string `json:"id,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SortKey *string `json:"sort_key,omitempty"`

	SortDir *string `json:"sort_dir,omitempty"`
}

Request Object

func (ListEndpointsRequest) String

func (o ListEndpointsRequest) String() string

type ListEndpointsResponse

type ListEndpointsResponse struct {
	Endpoints *[]EndpointResp `json:"endpoints,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListEndpointsResponse) String

func (o ListEndpointsResponse) String() string

type ListQueryProjectResourceTagsRequest

type ListQueryProjectResourceTagsRequest struct {
	ResourceType string `json:"resource_type"`

	ContentType string `json:"Content-Type"`
}

Request Object

func (ListQueryProjectResourceTagsRequest) String

type ListQueryProjectResourceTagsResponse

type ListQueryProjectResourceTagsResponse struct {
	Tags           *[]TagValuesList `json:"tags,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListQueryProjectResourceTagsResponse) String

type ListQuotaDetailsRequest

type ListQuotaDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	Type *ListQuotaDetailsRequestType `json:"type,omitempty"`
}

Request Object

func (ListQuotaDetailsRequest) String

func (o ListQuotaDetailsRequest) String() string

type ListQuotaDetailsRequestType

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

func (ListQuotaDetailsRequestType) MarshalJSON

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

func (*ListQuotaDetailsRequestType) UnmarshalJSON

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

type ListQuotaDetailsRequestTypeEnum

type ListQuotaDetailsRequestTypeEnum struct {
	ENDPOINT_SERVICE ListQuotaDetailsRequestType
	ENDPOINT         ListQuotaDetailsRequestType
}

func GetListQuotaDetailsRequestTypeEnum

func GetListQuotaDetailsRequestTypeEnum() ListQuotaDetailsRequestTypeEnum

type ListQuotaDetailsResponse

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

Response Object

func (ListQuotaDetailsResponse) String

func (o ListQuotaDetailsResponse) String() string

type ListResourceInstancesRequest

type ListResourceInstancesRequest struct {
	ResourceType string `json:"resource_type"`

	ContentType string `json:"Content-Type"`

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

Request Object

func (ListResourceInstancesRequest) String

type ListResourceInstancesResponse

type ListResourceInstancesResponse struct {
	Resources *[]ResourceInstance `json:"resources,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListResourceInstancesResponse) String

type ListServiceConnectionsRequest

type ListServiceConnectionsRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Id *string `json:"id,omitempty"`

	MarkerId *string `json:"marker_id,omitempty"`

	Status *string `json:"status,omitempty"`

	SortKey *ListServiceConnectionsRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListServiceConnectionsRequestSortDir `json:"sort_dir,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`
}

Request Object

func (ListServiceConnectionsRequest) String

type ListServiceConnectionsRequestSortDir

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

func (ListServiceConnectionsRequestSortDir) MarshalJSON

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

func (*ListServiceConnectionsRequestSortDir) UnmarshalJSON

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

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

type ListServiceConnectionsRequestSortKeyEnum

type ListServiceConnectionsRequestSortKeyEnum struct {
	CREATE_AT ListServiceConnectionsRequestSortKey
	UPDATE_AT ListServiceConnectionsRequestSortKey
}

func GetListServiceConnectionsRequestSortKeyEnum

func GetListServiceConnectionsRequestSortKeyEnum() ListServiceConnectionsRequestSortKeyEnum

type ListServiceConnectionsResponse

type ListServiceConnectionsResponse struct {
	Connections *[]Connection `json:"connections,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListServiceConnectionsResponse) String

type ListServiceDescribeDetailsRequest

type ListServiceDescribeDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	Id *string `json:"id,omitempty"`
}

Request Object

func (ListServiceDescribeDetailsRequest) String

type ListServiceDescribeDetailsResponse

type ListServiceDescribeDetailsResponse struct {
	Id *string `json:"id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServiceType *ListServiceDescribeDetailsResponseServiceType `json:"service_type,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	IsCharge       *bool `json:"is_charge,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ListServiceDescribeDetailsResponse) String

type ListServiceDescribeDetailsResponseServiceType

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

func (ListServiceDescribeDetailsResponseServiceType) MarshalJSON

func (*ListServiceDescribeDetailsResponseServiceType) UnmarshalJSON

type ListServiceDescribeDetailsResponseServiceTypeEnum

type ListServiceDescribeDetailsResponseServiceTypeEnum struct {
	INTERFACE ListServiceDescribeDetailsResponseServiceType
}

func GetListServiceDescribeDetailsResponseServiceTypeEnum

func GetListServiceDescribeDetailsResponseServiceTypeEnum() ListServiceDescribeDetailsResponseServiceTypeEnum

type ListServiceDetailsRequest

type ListServiceDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`
}

Request Object

func (ListServiceDetailsRequest) String

func (o ListServiceDetailsRequest) String() string

type ListServiceDetailsResponse

type ListServiceDetailsResponse struct {
	Id *string `json:"id,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	VipPortId *string `json:"vip_port_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	Status *ListServiceDetailsResponseStatus `json:"status,omitempty"`

	ServerType *ListServiceDetailsResponseServerType `json:"server_type,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	CidrType *string `json:"cidr_type,omitempty"`

	Ports *[]PortList `json:"ports,omitempty"`

	TcpProxy *ListServiceDetailsResponseTcpProxy `json:"tcp_proxy,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

	Error          *[]Error `json:"error,omitempty"`
	HttpStatusCode int      `json:"-"`
}

Response Object

func (ListServiceDetailsResponse) String

type ListServiceDetailsResponseServerType

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

func (ListServiceDetailsResponseServerType) MarshalJSON

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

func (*ListServiceDetailsResponseServerType) UnmarshalJSON

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

type ListServiceDetailsResponseStatus

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

func (ListServiceDetailsResponseStatus) MarshalJSON

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

func (*ListServiceDetailsResponseStatus) UnmarshalJSON

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

type ListServiceDetailsResponseStatusEnum

type ListServiceDetailsResponseStatusEnum struct {
	CREATING  ListServiceDetailsResponseStatus
	AVAILABLE ListServiceDetailsResponseStatus
	FAILED    ListServiceDetailsResponseStatus
}

func GetListServiceDetailsResponseStatusEnum

func GetListServiceDetailsResponseStatusEnum() ListServiceDetailsResponseStatusEnum

type ListServiceDetailsResponseTcpProxy

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

func (ListServiceDetailsResponseTcpProxy) MarshalJSON

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

func (*ListServiceDetailsResponseTcpProxy) UnmarshalJSON

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

type ListServicePermissionsDetailsRequest

type ListServicePermissionsDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

	Permission *string `json:"permission,omitempty"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	SortKey *ListServicePermissionsDetailsRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListServicePermissionsDetailsRequestSortDir `json:"sort_dir,omitempty"`
}

Request Object

func (ListServicePermissionsDetailsRequest) String

type ListServicePermissionsDetailsRequestSortDir

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

func (ListServicePermissionsDetailsRequestSortDir) MarshalJSON

func (*ListServicePermissionsDetailsRequestSortDir) UnmarshalJSON

type ListServicePermissionsDetailsRequestSortKey

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

func (ListServicePermissionsDetailsRequestSortKey) MarshalJSON

func (*ListServicePermissionsDetailsRequestSortKey) UnmarshalJSON

type ListServicePermissionsDetailsRequestSortKeyEnum

type ListServicePermissionsDetailsRequestSortKeyEnum struct {
	CREATE_AT ListServicePermissionsDetailsRequestSortKey
	UPDATE_AT ListServicePermissionsDetailsRequestSortKey
}

func GetListServicePermissionsDetailsRequestSortKeyEnum

func GetListServicePermissionsDetailsRequestSortKeyEnum() ListServicePermissionsDetailsRequestSortKeyEnum

type ListServicePermissionsDetailsResponse

type ListServicePermissionsDetailsResponse struct {
	Permissions *[]Permission `json:"permissions,omitempty"`

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListServicePermissionsDetailsResponse) String

type ListServicePublicDetailsRequest

type ListServicePublicDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	Limit *int32 `json:"limit,omitempty"`

	Offset *int32 `json:"offset,omitempty"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	Id *string `json:"id,omitempty"`

	SortKey *ListServicePublicDetailsRequestSortKey `json:"sort_key,omitempty"`

	SortDir *ListServicePublicDetailsRequestSortDir `json:"sort_dir,omitempty"`
}

Request Object

func (ListServicePublicDetailsRequest) String

type ListServicePublicDetailsRequestSortDir

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

func (ListServicePublicDetailsRequestSortDir) MarshalJSON

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

func (*ListServicePublicDetailsRequestSortDir) UnmarshalJSON

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

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

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

	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListServicePublicDetailsResponse) String

type ListSpecifiedVersionDetailsRequest

type ListSpecifiedVersionDetailsRequest struct {
	ContentType string `json:"Content-Type"`

	Version string `json:"version"`
}

Request Object

func (ListSpecifiedVersionDetailsRequest) String

type ListSpecifiedVersionDetailsResponse

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

Response Object

func (ListSpecifiedVersionDetailsResponse) String

type ListVersionDetailsRequest

type ListVersionDetailsRequest struct {
	ContentType string `json:"Content-Type"`
}

Request Object

func (ListVersionDetailsRequest) String

func (o ListVersionDetailsRequest) String() string

type ListVersionDetailsResponse

type ListVersionDetailsResponse struct {
	Versions       *[]Version `json:"versions,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (ListVersionDetailsResponse) String

type Match

type Match struct {
	Key string `json:"key"`

	Value string `json:"value"`
}

func (Match) String

func (o Match) String() string

type Permission

type Permission struct {
	Id *string `json:"id,omitempty"`

	Permission *string `json:"permission,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`
}

permission列表。

func (Permission) String

func (o Permission) String() string

type PortList

type PortList struct {
	ClientPort *int32 `json:"client_port,omitempty"`

	ServerPort *int32 `json:"server_port,omitempty"`

	Protocol *PortListProtocol `json:"protocol,omitempty"`
}

服务开放的端口映射列表

func (PortList) String

func (o PortList) String() string

type PortListProtocol

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

func (PortListProtocol) MarshalJSON

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

func (*PortListProtocol) UnmarshalJSON

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

type PortListProtocolEnum

type PortListProtocolEnum struct {
	TCP PortListProtocol
}

func GetPortListProtocolEnum

func GetPortListProtocolEnum() PortListProtocolEnum

type QueryError

type QueryError struct {
	ErrorCode *string `json:"error_code,omitempty"`

	ErrorMessage *string `json:"error_message,omitempty"`
}

查询资源返回的异常信息

func (QueryError) String

func (o QueryError) String() string

type QueryResourceInstanceTagsBody

type QueryResourceInstanceTagsBody struct {
	Tags *[]Tag `json:"tags,omitempty"`

	TagsAny *[]Tag `json:"tags_any,omitempty"`

	NotTags *[]Tag `json:"not_tags,omitempty"`

	NotTagsAny *[]Tag `json:"not_tags_any,omitempty"`

	Limit *string `json:"limit,omitempty"`

	Offset *string `json:"offset,omitempty"`

	Action string `json:"action"`

	Matches *[]Match `json:"matches,omitempty"`
}

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

func (QueryResourceInstanceTagsBody) String

type Quotas

type Quotas struct {
	Type *QuotasType `json:"type,omitempty"`

	Used *int32 `json:"used,omitempty"`

	Quota *int32 `json:"quota,omitempty"`
}

创建配额接口请求结构体

func (Quotas) String

func (o Quotas) String() string

type QuotasType

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

func (QuotasType) MarshalJSON

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

func (*QuotasType) UnmarshalJSON

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

type QuotasTypeEnum

type QuotasTypeEnum struct {
	ENDPOINT_SERVICE QuotasType
	ENDPOINT         QuotasType
}

func GetQuotasTypeEnum

func GetQuotasTypeEnum() QuotasTypeEnum

type ResourceInstance

type ResourceInstance struct {
	ResourceId *string `json:"resource_id,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

	ResourceName *string `json:"resource_name,omitempty"`
}

资源实例详情

func (ResourceInstance) String

func (o ResourceInstance) String() string

type ResourceTag

type ResourceTag struct {
	Key string `json:"key"`

	Value *string `json:"value,omitempty"`
}

func (ResourceTag) String

func (o ResourceTag) String() string

type ResourcesResp

type ResourcesResp struct {
	Resources *[]Quotas `json:"resources,omitempty"`
}

查询配额接口响应结构体

func (ResourcesResp) String

func (o ResourcesResp) String() string

type RoutetableInfoError

type RoutetableInfoError struct {
	BindFailed *[]RoutetableInfoErrorDetial `json:"bind_failed,omitempty"`

	UnbindFailed *[]RoutetableInfoErrorDetial `json:"unbind_failed,omitempty"`
}

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

func (RoutetableInfoError) String

func (o RoutetableInfoError) String() string

type RoutetableInfoErrorDetial

type RoutetableInfoErrorDetial struct {
	Id *string `json:"id,omitempty"`

	ErrorMessage *string `json:"error_message,omitempty"`
}

func (RoutetableInfoErrorDetial) String

func (o RoutetableInfoErrorDetial) String() string

type ServiceList

type ServiceList struct {
	Id *string `json:"id,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	VipPortId *string `json:"vip_port_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	Status *ServiceListStatus `json:"status,omitempty"`

	ServerType *ServiceListServerType `json:"server_type,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Ports *[]PortList `json:"ports,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

	ConnectionCount *int32 `json:"connection_count,omitempty"`

	TcpProxy *ServiceListTcpProxy `json:"tcp_proxy,omitempty"`

	Error *[]Error `json:"error,omitempty"`
}

func (ServiceList) String

func (o ServiceList) String() string

type ServiceListServerType

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

func (ServiceListServerType) MarshalJSON

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

func (*ServiceListServerType) UnmarshalJSON

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

type ServiceListServerTypeEnum

type ServiceListServerTypeEnum struct {
	VM  ServiceListServerType
	VIP ServiceListServerType
	LB  ServiceListServerType
}

func GetServiceListServerTypeEnum

func GetServiceListServerTypeEnum() ServiceListServerTypeEnum

type ServiceListStatus

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

func (ServiceListStatus) MarshalJSON

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

func (*ServiceListStatus) UnmarshalJSON

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

type ServiceListStatusEnum

type ServiceListStatusEnum struct {
	CREATING  ServiceListStatus
	AVAILABLE ServiceListStatus
	FAILED    ServiceListStatus
}

func GetServiceListStatusEnum

func GetServiceListStatusEnum() ServiceListStatusEnum

type ServiceListTcpProxy

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

func (ServiceListTcpProxy) MarshalJSON

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

func (*ServiceListTcpProxy) UnmarshalJSON

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

type ServiceListTcpProxyEnum

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

func GetServiceListTcpProxyEnum

func GetServiceListTcpProxyEnum() ServiceListTcpProxyEnum

type Tag

type Tag struct {
	Key string `json:"key"`

	Value []string `json:"value"`
}

func (Tag) String

func (o Tag) String() string

type TagList

type TagList struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

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

func (TagList) String

func (o TagList) String() string

type TagValuesList

type TagValuesList struct {
	Key string `json:"key"`

	Values []string `json:"values"`
}

func (TagValuesList) String

func (o TagValuesList) String() string

type UpdateEndpointRoutetableRequest

type UpdateEndpointRoutetableRequest struct {
	VpcEndpointId string `json:"vpc_endpoint_id"`

	ContentType string `json:"Content-Type"`

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

Request Object

func (UpdateEndpointRoutetableRequest) String

type UpdateEndpointRoutetableRequestBody

type UpdateEndpointRoutetableRequestBody struct {
	Routetables []string `json:"routetables"`
}

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

func (UpdateEndpointRoutetableRequestBody) String

type UpdateEndpointRoutetableResponse

type UpdateEndpointRoutetableResponse struct {
	Routetables *[]string `json:"routetables,omitempty"`

	Error          *[]RoutetableInfoError `json:"error,omitempty"`
	HttpStatusCode int                    `json:"-"`
}

Response Object

func (UpdateEndpointRoutetableResponse) String

type UpdateEndpointServiceRequest

type UpdateEndpointServiceRequest struct {
	ContentType string `json:"Content-Type"`

	VpcEndpointServiceId string `json:"vpc_endpoint_service_id"`

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

Request Object

func (UpdateEndpointServiceRequest) String

type UpdateEndpointServiceRequestBody

type UpdateEndpointServiceRequestBody struct {
	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	Ports *[]PortList `json:"ports,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	VipPortId *string `json:"vip_port_id,omitempty"`
}

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

func (UpdateEndpointServiceRequestBody) String

type UpdateEndpointServiceResponse

type UpdateEndpointServiceResponse struct {
	Id *string `json:"id,omitempty"`

	PortId *string `json:"port_id,omitempty"`

	VipPortId *string `json:"vip_port_id,omitempty"`

	ServiceName *string `json:"service_name,omitempty"`

	ServerType *UpdateEndpointServiceResponseServerType `json:"server_type,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	ApprovalEnabled *bool `json:"approval_enabled,omitempty"`

	Status *UpdateEndpointServiceResponseStatus `json:"status,omitempty"`

	ServiceType *string `json:"service_type,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	CidrType *UpdateEndpointServiceResponseCidrType `json:"cidr_type,omitempty"`

	Ports *[]PortList `json:"ports,omitempty"`

	TcpProxy *UpdateEndpointServiceResponseTcpProxy `json:"tcp_proxy,omitempty"`

	Tags           *[]TagList `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

Response Object

func (UpdateEndpointServiceResponse) String

type UpdateEndpointServiceResponseCidrType

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

func (UpdateEndpointServiceResponseCidrType) MarshalJSON

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

func (*UpdateEndpointServiceResponseCidrType) UnmarshalJSON

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

type UpdateEndpointServiceResponseCidrTypeEnum

type UpdateEndpointServiceResponseCidrTypeEnum struct {
	PUBLIC   UpdateEndpointServiceResponseCidrType
	INTERNAL UpdateEndpointServiceResponseCidrType
}

func GetUpdateEndpointServiceResponseCidrTypeEnum

func GetUpdateEndpointServiceResponseCidrTypeEnum() UpdateEndpointServiceResponseCidrTypeEnum

type UpdateEndpointServiceResponseServerType

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

func (UpdateEndpointServiceResponseServerType) MarshalJSON

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

func (*UpdateEndpointServiceResponseServerType) UnmarshalJSON

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

type UpdateEndpointServiceResponseStatus

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

func (UpdateEndpointServiceResponseStatus) MarshalJSON

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

func (*UpdateEndpointServiceResponseStatus) UnmarshalJSON

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

type UpdateEndpointServiceResponseTcpProxy

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

func (UpdateEndpointServiceResponseTcpProxy) MarshalJSON

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

func (*UpdateEndpointServiceResponseTcpProxy) UnmarshalJSON

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

type UpdateEndpointWhiteRequest

type UpdateEndpointWhiteRequest struct {
	VpcEndpointId string `json:"vpc_endpoint_id"`

	ContentType string `json:"Content-Type"`

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

Request Object

func (UpdateEndpointWhiteRequest) String

type UpdateEndpointWhiteRequestBody

type UpdateEndpointWhiteRequestBody struct {
	Whitelist *[]string `json:"whitelist,omitempty"`

	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`
}

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

func (UpdateEndpointWhiteRequestBody) String

type UpdateEndpointWhiteResponse

type UpdateEndpointWhiteResponse struct {
	Id *string `json:"id,omitempty"`

	ServiceType *UpdateEndpointWhiteResponseServiceType `json:"service_type,omitempty"`

	Status *UpdateEndpointWhiteResponseStatus `json:"status,omitempty"`

	Ip *string `json:"ip,omitempty"`

	ActiveStatus *[]string `json:"active_status,omitempty"`

	EndpointServiceName *string `json:"endpoint_service_name,omitempty"`

	MarkerId *int32 `json:"marker_id,omitempty"`

	EndpointServiceId *string `json:"endpoint_service_id,omitempty"`

	EnableDns *bool `json:"enable_dns,omitempty"`

	DnsNames *[]string `json:"dns_names,omitempty"`

	SubnetId *string `json:"subnet_id,omitempty"`

	VpcId *string `json:"vpc_id,omitempty"`

	CreatedAt *string `json:"created_at,omitempty"`

	UpdatedAt *string `json:"updated_at,omitempty"`

	ProjectId *string `json:"project_id,omitempty"`

	Tags *[]TagList `json:"tags,omitempty"`

	Whitelist *[]string `json:"whitelist,omitempty"`

	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`
	HttpStatusCode  int   `json:"-"`
}

Response Object

func (UpdateEndpointWhiteResponse) String

type UpdateEndpointWhiteResponseServiceType

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

func (UpdateEndpointWhiteResponseServiceType) MarshalJSON

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

func (*UpdateEndpointWhiteResponseServiceType) UnmarshalJSON

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

type UpdateEndpointWhiteResponseServiceTypeEnum

type UpdateEndpointWhiteResponseServiceTypeEnum struct {
	INTERFACE UpdateEndpointWhiteResponseServiceType
	GATEWAY   UpdateEndpointWhiteResponseServiceType
}

func GetUpdateEndpointWhiteResponseServiceTypeEnum

func GetUpdateEndpointWhiteResponseServiceTypeEnum() UpdateEndpointWhiteResponseServiceTypeEnum

type UpdateEndpointWhiteResponseStatus

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

func (UpdateEndpointWhiteResponseStatus) MarshalJSON

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

func (*UpdateEndpointWhiteResponseStatus) UnmarshalJSON

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

type Version

type Version struct {
	Status *VersionStatus `json:"status,omitempty"`

	Id *VersionId `json:"id,omitempty"`

	Updated *string `json:"updated,omitempty"`

	Version *string `json:"version,omitempty"`

	MinVersion *string `json:"min_version,omitempty"`

	Links *[]Link `json:"links,omitempty"`
}

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

func (Version) String

func (o Version) String() string

type VersionId

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

func (VersionId) MarshalJSON

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

func (*VersionId) UnmarshalJSON

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

type VersionIdEnum

type VersionIdEnum struct {
	V1 VersionId
}

func GetVersionIdEnum

func GetVersionIdEnum() VersionIdEnum

type VersionStatus

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

func (VersionStatus) MarshalJSON

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

func (*VersionStatus) UnmarshalJSON

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

type VersionStatusEnum

type VersionStatusEnum struct {
	CURRENT    VersionStatus
	SUPPORT    VersionStatus
	DEPRECATED VersionStatus
}

func GetVersionStatusEnum

func GetVersionStatusEnum() VersionStatusEnum

Source Files

Jump to

Keyboard shortcuts

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