model

package
v0.0.66 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 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 {
	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    *[]Endpoints `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 *[]TagList `json:"tags,omitempty"`

	Action *string `json:"action,omitempty"`
}

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

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

	UpdatedAt *sdktime.SdkTime `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,omitempty"`

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

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

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

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

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

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

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

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

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `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"`

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

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `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"`
}

终端节接口响应结构体

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 EndpointServiceS

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

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

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

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

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

终端节点服务列表

func (EndpointServiceS) String

func (o EndpointServiceS) String() string

type EndpointServiceSServiceType

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

func (EndpointServiceSServiceType) MarshalJSON

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

func (*EndpointServiceSServiceType) UnmarshalJSON

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

type EndpointServiceSServiceTypeEnum

type EndpointServiceSServiceTypeEnum struct {
	INTERFACE EndpointServiceSServiceType
	GATEWAY   EndpointServiceSServiceType
}

func GetEndpointServiceSServiceTypeEnum

func GetEndpointServiceSServiceTypeEnum() EndpointServiceSServiceTypeEnum

type Endpoints

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

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

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

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

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

终端节点列表

func (Endpoints) String

func (o Endpoints) String() string

type EndpointsStatus

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

func (EndpointsStatus) MarshalJSON

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

func (*EndpointsStatus) UnmarshalJSON

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

type EndpointsStatusEnum

type EndpointsStatusEnum struct {
	PENDING_ACCEPTANCE EndpointsStatus
	CREATING           EndpointsStatus
	ACCEPTED           EndpointsStatus
	REJECTED           EndpointsStatus
	FAILED             EndpointsStatus
	DELETING           EndpointsStatus
}

func GetEndpointsStatusEnum

func GetEndpointsStatusEnum() EndpointsStatusEnum
type Links struct {
	Href *string `json:"href,omitempty"`

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

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

API的url地址

func (Links) String

func (o Links) String() string

type ListEndpointDetailsRequest

type ListEndpointDetailsRequest 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 (ListEndpointDetailsRequest) String

type ListEndpointDetailsResponse

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

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

Response Object

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

	UpdatedAt *sdktime.SdkTime `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 *[]ServiceDetailsResp `json:"endpoint_services,omitempty"`

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

Response Object

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

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

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

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

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

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

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

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

Response Object

func (ListServiceDetailsResponse) String

type ListServiceDetailsResponseCidrType

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

func (ListServiceDetailsResponseCidrType) MarshalJSON

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

func (*ListServiceDetailsResponseCidrType) UnmarshalJSON

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

type ListServiceDetailsResponseCidrTypeEnum

type ListServiceDetailsResponseCidrTypeEnum struct {
	PUBLIC   ListServiceDetailsResponseCidrType
	INTERNAL ListServiceDetailsResponseCidrType
}

func GetListServiceDetailsResponseCidrTypeEnum

func GetListServiceDetailsResponseCidrTypeEnum() ListServiceDetailsResponseCidrTypeEnum

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 *[]Permissions `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 *[]EndpointServiceS `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 {
	Versions       *[]Versions `json:"versions,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       *[]Versions `json:"versions,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListVersionDetailsResponse) String

type NotTagsAnyValuesList

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

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

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

func (NotTagsAnyValuesList) String

func (o NotTagsAnyValuesList) String() string

type NotTagsValuesList

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

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

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

func (NotTagsValuesList) String

func (o NotTagsValuesList) String() string

type Permissions

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

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

permission列表。

func (Permissions) String

func (o Permissions) 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 *[]TagValuesList `json:"tags,omitempty"`

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

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

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

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

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

	Action *string `json:"action,omitempty"`

	Matches *[]TagMatchList `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 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 ServiceDetailsResp

type ServiceDetailsResp 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 *ServiceDetailsRespStatus `json:"status,omitempty"`

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

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

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

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

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

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

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

func (ServiceDetailsResp) String

func (o ServiceDetailsResp) String() string

type ServiceDetailsRespCidrType

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

func (ServiceDetailsRespCidrType) MarshalJSON

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

func (*ServiceDetailsRespCidrType) UnmarshalJSON

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

type ServiceDetailsRespCidrTypeEnum

type ServiceDetailsRespCidrTypeEnum struct {
	PUBLIC   ServiceDetailsRespCidrType
	INTERNAL ServiceDetailsRespCidrType
}

func GetServiceDetailsRespCidrTypeEnum

func GetServiceDetailsRespCidrTypeEnum() ServiceDetailsRespCidrTypeEnum

type ServiceDetailsRespServerType

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

func (ServiceDetailsRespServerType) MarshalJSON

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

func (*ServiceDetailsRespServerType) UnmarshalJSON

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

type ServiceDetailsRespStatus

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

func (ServiceDetailsRespStatus) MarshalJSON

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

func (*ServiceDetailsRespStatus) UnmarshalJSON

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

type ServiceDetailsRespStatusEnum

type ServiceDetailsRespStatusEnum struct {
	CREATING  ServiceDetailsRespStatus
	AVAILABLE ServiceDetailsRespStatus
	FAILED    ServiceDetailsRespStatus
}

func GetServiceDetailsRespStatusEnum

func GetServiceDetailsRespStatusEnum() ServiceDetailsRespStatusEnum

type ServiceDetailsRespTcpProxy

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

func (ServiceDetailsRespTcpProxy) MarshalJSON

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

func (*ServiceDetailsRespTcpProxy) UnmarshalJSON

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

type ServiceDetailsRespTcpProxyEnum

type ServiceDetailsRespTcpProxyEnum struct {
	CLOSE      ServiceDetailsRespTcpProxy
	TOA_OPEN   ServiceDetailsRespTcpProxy
	PROXY_OPEN ServiceDetailsRespTcpProxy
	OPEN       ServiceDetailsRespTcpProxy
}

func GetServiceDetailsRespTcpProxyEnum

func GetServiceDetailsRespTcpProxyEnum() ServiceDetailsRespTcpProxyEnum

type TagAnyValuesList

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

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

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

func (TagAnyValuesList) String

func (o TagAnyValuesList) 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 TagMatchList

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

	Value string `json:"value"`
}

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

func (TagMatchList) String

func (o TagMatchList) String() string

type TagValuesList

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

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

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

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

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

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

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

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

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

	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	UpdatedAt *sdktime.SdkTime `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"`

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

	UpdatedAt *sdktime.SdkTime `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 (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 Versions

type Versions struct {
	Status *VersionsStatus `json:"status,omitempty"`

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

	Updated *sdktime.SdkTime `json:"updated,omitempty"`

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

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

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

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

func (Versions) String

func (o Versions) String() string

type VersionsId

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

func (VersionsId) MarshalJSON

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

func (*VersionsId) UnmarshalJSON

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

type VersionsIdEnum

type VersionsIdEnum struct {
	V1 VersionsId
}

func GetVersionsIdEnum

func GetVersionsIdEnum() VersionsIdEnum

type VersionsStatus

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

func (VersionsStatus) MarshalJSON

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

func (*VersionsStatus) UnmarshalJSON

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

type VersionsStatusEnum

type VersionsStatusEnum struct {
	CURRENT    VersionsStatus
	SUPPORT    VersionsStatus
	DEPRECATED VersionsStatus
}

func GetVersionsStatusEnum

func GetVersionsStatusEnum() VersionsStatusEnum

Source Files

Jump to

Keyboard shortcuts

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