model

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccelerateIp

type AccelerateIp struct {

	// IP地址类型。
	IpType AccelerateIpIpType `json:"ip_type"`

	// IP地址。
	IpAddress *string `json:"ip_address,omitempty"`

	Area *Area `json:"area,omitempty"`
}

AccelerateIp accelerate Ip

func (AccelerateIp) String

func (o AccelerateIp) String() string

type AccelerateIpIpType

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

func (AccelerateIpIpType) MarshalJSON

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

func (*AccelerateIpIpType) UnmarshalJSON

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

func (AccelerateIpIpType) Value

func (c AccelerateIpIpType) Value() string

type AccelerateIpIpTypeEnum

type AccelerateIpIpTypeEnum struct {
	IPV4 AccelerateIpIpType
}

func GetAccelerateIpIpTypeEnum

func GetAccelerateIpIpTypeEnum() AccelerateIpIpTypeEnum

type AcceleratorDetail

type AcceleratorDetail struct {

	// 全球加速器ID。
	Id *string `json:"id,omitempty"`

	// 全球加速器名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 全球加速器描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

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

	// 全球加速器IP列表。
	IpSets *[]AccelerateIp `json:"ip_sets,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 租户ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 租户的企业项目ID。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 规格ID。
	FlavorId *string `json:"flavor_id,omitempty"`

	FrozenInfo *FrozenInfo `json:"frozen_info,omitempty"`

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

AcceleratorDetail 全球加速器实例。

func (AcceleratorDetail) String

func (o AcceleratorDetail) String() string

type AddIpGroupIpRequest

type AddIpGroupIpRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`

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

AddIpGroupIpRequest Request Object

func (AddIpGroupIpRequest) String

func (o AddIpGroupIpRequest) String() string

type AddIpGroupIpRequestBody

type AddIpGroupIpRequestBody struct {

	// IP地址组中的IP网段列表,一次最多支持添加20个条目。
	IpList []CreateIpGroupIpOption `json:"ip_list"`
}

AddIpGroupIpRequestBody add ip group ip request

func (AddIpGroupIpRequestBody) String

func (o AddIpGroupIpRequestBody) String() string

type AddIpGroupIpResponse

type AddIpGroupIpResponse struct {

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddIpGroupIpResponse Response Object

func (AddIpGroupIpResponse) String

func (o AddIpGroupIpResponse) String() string

type Area

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

Area 地区,取值: - OUTOFCM:中国大陆以外 - CM:中国大陆

func (Area) MarshalJSON

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

func (*Area) UnmarshalJSON

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

func (Area) Value

func (c Area) Value() string

type AreaEnum

type AreaEnum struct {
	OUTOFCM Area
	CM      Area
}

func GetAreaEnum

func GetAreaEnum() AreaEnum

type AssociateListenerRequest

type AssociateListenerRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`

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

AssociateListenerRequest Request Object

func (AssociateListenerRequest) String

func (o AssociateListenerRequest) String() string

type AssociateListenerRequestBody

type AssociateListenerRequestBody struct {

	// 监听器ID。
	ListenerId string `json:"listener_id"`

	Type *ListenerAccessControlType `json:"type"`
}

AssociateListenerRequestBody associate listener request

func (AssociateListenerRequestBody) String

type AssociateListenerResponse

type AssociateListenerResponse struct {

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AssociateListenerResponse Response Object

func (AssociateListenerResponse) String

func (o AssociateListenerResponse) String() string

type ClientAffinity

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

ClientAffinity 客户端亲和性,取值: - SOURCE_IP:按源IP保持会话。 - NONE:关闭。

func (ClientAffinity) MarshalJSON

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

func (*ClientAffinity) UnmarshalJSON

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

func (ClientAffinity) Value

func (c ClientAffinity) Value() string

type ClientAffinityEnum

type ClientAffinityEnum struct {
	SOURCE_IP ClientAffinity
	NONE      ClientAffinity
}

func GetClientAffinityEnum

func GetClientAffinityEnum() ClientAffinityEnum

type ConfigStatus

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

ConfigStatus 配置状态,取值: - ACTIVE:运行中 - PENDING:待定 - ERROR:错误 - DELETING:正在删除

func (ConfigStatus) MarshalJSON

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

func (*ConfigStatus) UnmarshalJSON

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

func (ConfigStatus) Value

func (c ConfigStatus) Value() string

type ConfigStatusEnum

type ConfigStatusEnum struct {
	ACTIVE   ConfigStatus
	PENDING  ConfigStatus
	ERROR    ConfigStatus
	DELETING ConfigStatus
}

func GetConfigStatusEnum

func GetConfigStatusEnum() ConfigStatusEnum

type CreateAcceleratorOption

type CreateAcceleratorOption struct {

	// 全球加速器名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name string `json:"name"`

	// 全球加速器描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	// 全球加速器IP列表。
	IpSets []CreateAcceleratorOptionIpSets `json:"ip_sets"`

	// 租户的企业项目ID,最大长度36个字符,带\"-\"连字符的UUID格式,或者是字符串\"0\"。\"0\"表示默认企业项目。
	EnterpriseProjectId string `json:"enterprise_project_id"`

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

CreateAcceleratorOption 创建全球加速器实例的详细信息。

func (CreateAcceleratorOption) String

func (o CreateAcceleratorOption) String() string

type CreateAcceleratorOptionIpSets

type CreateAcceleratorOptionIpSets struct {

	// IP地址类型,取值:IPV4
	IpType CreateAcceleratorOptionIpSetsIpType `json:"ip_type"`

	Area *Area `json:"area"`
}

func (CreateAcceleratorOptionIpSets) String

type CreateAcceleratorOptionIpSetsIpType

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

func (CreateAcceleratorOptionIpSetsIpType) MarshalJSON

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

func (*CreateAcceleratorOptionIpSetsIpType) UnmarshalJSON

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

func (CreateAcceleratorOptionIpSetsIpType) Value

type CreateAcceleratorOptionIpSetsIpTypeEnum

type CreateAcceleratorOptionIpSetsIpTypeEnum struct {
	IPV4 CreateAcceleratorOptionIpSetsIpType
}

func GetCreateAcceleratorOptionIpSetsIpTypeEnum

func GetCreateAcceleratorOptionIpSetsIpTypeEnum() CreateAcceleratorOptionIpSetsIpTypeEnum

type CreateAcceleratorRequest

type CreateAcceleratorRequest struct {
	Body *CreateAcceleratorRequestBody `json:"body,omitempty"`
}

CreateAcceleratorRequest Request Object

func (CreateAcceleratorRequest) String

func (o CreateAcceleratorRequest) String() string

type CreateAcceleratorRequestBody

type CreateAcceleratorRequestBody struct {
	Accelerator *CreateAcceleratorOption `json:"accelerator"`
}

CreateAcceleratorRequestBody create Accelerator request

func (CreateAcceleratorRequestBody) String

type CreateAcceleratorResponse

type CreateAcceleratorResponse struct {
	Accelerator *AcceleratorDetail `json:"accelerator,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAcceleratorResponse Response Object

func (CreateAcceleratorResponse) String

func (o CreateAcceleratorResponse) String() string

type CreateEndpointGroupOption

type CreateEndpointGroupOption struct {

	// 终端节点组名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name string `json:"name"`

	// 终端节点组描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	// 流量拨分到此组的百分比。
	TrafficDialPercentage *int32 `json:"traffic_dial_percentage,omitempty"`

	// 终端节点组所属区域ID。
	RegionId string `json:"region_id"`

	// 关联监听器列表。
	Listeners []Id `json:"listeners"`
}

CreateEndpointGroupOption 创建终端节点组的详细信息。

func (CreateEndpointGroupOption) String

func (o CreateEndpointGroupOption) String() string

type CreateEndpointGroupRequest

type CreateEndpointGroupRequest struct {
	Body *CreateEndpointGroupRequestBody `json:"body,omitempty"`
}

CreateEndpointGroupRequest Request Object

func (CreateEndpointGroupRequest) String

type CreateEndpointGroupRequestBody

type CreateEndpointGroupRequestBody struct {
	EndpointGroup *CreateEndpointGroupOption `json:"endpoint_group"`
}

CreateEndpointGroupRequestBody create Endpoint Group request

func (CreateEndpointGroupRequestBody) String

type CreateEndpointGroupResponse

type CreateEndpointGroupResponse struct {
	EndpointGroup *EndpointGroupDetail `json:"endpoint_group,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEndpointGroupResponse Response Object

func (CreateEndpointGroupResponse) String

type CreateEndpointOption

type CreateEndpointOption struct {

	// 对应后端资源的ID,比如EIP的ID。
	ResourceId string `json:"resource_id"`

	ResourceType *EndpointType `json:"resource_type"`

	// 终端节点权重。
	Weight *int32 `json:"weight,omitempty"`

	// IP地址。
	IpAddress string `json:"ip_address"`
}

CreateEndpointOption 创建终端节点详细信息。

func (CreateEndpointOption) String

func (o CreateEndpointOption) String() string

type CreateEndpointRequest

type CreateEndpointRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

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

CreateEndpointRequest Request Object

func (CreateEndpointRequest) String

func (o CreateEndpointRequest) String() string

type CreateEndpointRequestBody

type CreateEndpointRequestBody struct {
	Endpoint *CreateEndpointOption `json:"endpoint"`
}

CreateEndpointRequestBody create Endpoint request

func (CreateEndpointRequestBody) String

func (o CreateEndpointRequestBody) String() string

type CreateEndpointResponse

type CreateEndpointResponse struct {
	Endpoint *EndpointDetail `json:"endpoint,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEndpointResponse Response Object

func (CreateEndpointResponse) String

func (o CreateEndpointResponse) String() string

type CreateHealthCheckOption

type CreateHealthCheckOption struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

	Protocol *HealthCheckProtocol `json:"protocol"`

	// 健康检查的端口。
	Port int32 `json:"port"`

	// 健康检查的时间间隔,单位为秒。
	Interval int32 `json:"interval"`

	// 健康检查的超时时间,单位为秒。建议该值小于interval的值。
	Timeout int32 `json:"timeout"`

	// 最大重试次数。将终端节点的状态从“健康”设置为“不健康”或从“不健康”设置为“健康”所需的连续健康检查次数。
	MaxRetries int32 `json:"max_retries"`

	// 是否开启健康检查。
	Enabled bool `json:"enabled"`
}

CreateHealthCheckOption 创建健康检查的详细信息。

func (CreateHealthCheckOption) String

func (o CreateHealthCheckOption) String() string

type CreateHealthCheckRequest

type CreateHealthCheckRequest struct {
	Body *CreateHealthCheckRequestBody `json:"body,omitempty"`
}

CreateHealthCheckRequest Request Object

func (CreateHealthCheckRequest) String

func (o CreateHealthCheckRequest) String() string

type CreateHealthCheckRequestBody

type CreateHealthCheckRequestBody struct {
	HealthCheck *CreateHealthCheckOption `json:"health_check"`
}

CreateHealthCheckRequestBody create Health Check request

func (CreateHealthCheckRequestBody) String

type CreateHealthCheckResponse

type CreateHealthCheckResponse struct {
	HealthCheck *HealthCheckDetail `json:"health_check,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateHealthCheckResponse Response Object

func (CreateHealthCheckResponse) String

func (o CreateHealthCheckResponse) String() string

type CreateIpGroupIpOption

type CreateIpGroupIpOption struct {

	// IP地址组中的IP网段,cidr格式。
	Cidr string `json:"cidr"`

	// IP地址组中的IP网段描述,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`
}

CreateIpGroupIpOption create ip group ip option

func (CreateIpGroupIpOption) String

func (o CreateIpGroupIpOption) String() string

type CreateIpGroupOption

type CreateIpGroupOption struct {

	// IP地址组名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name string `json:"name"`

	// IP地址组的描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	// IP地址组中的IP网段列表,一次最多支持添加20个条目。
	IpList *[]CreateIpGroupIpOption `json:"ip_list,omitempty"`
}

CreateIpGroupOption 创建IP地址组的详细信息。

func (CreateIpGroupOption) String

func (o CreateIpGroupOption) String() string

type CreateIpGroupRequest

type CreateIpGroupRequest struct {
	Body *CreateIpGroupRequestBody `json:"body,omitempty"`
}

CreateIpGroupRequest Request Object

func (CreateIpGroupRequest) String

func (o CreateIpGroupRequest) String() string

type CreateIpGroupRequestBody

type CreateIpGroupRequestBody struct {
	IpGroup *CreateIpGroupOption `json:"ip_group"`
}

CreateIpGroupRequestBody create ip group request

func (CreateIpGroupRequestBody) String

func (o CreateIpGroupRequestBody) String() string

type CreateIpGroupResponse

type CreateIpGroupResponse struct {

	// 请求ID。
	RequestId *string `json:"request_id,omitempty"`

	IpGroup        *IpGroupDetail `json:"ip_group,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateIpGroupResponse Response Object

func (CreateIpGroupResponse) String

func (o CreateIpGroupResponse) String() string

type CreateListenerOption

type CreateListenerOption struct {

	// 监听器名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name string `json:"name"`

	// 监听器的描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	Protocol *ListenerProtocol `json:"protocol"`

	// 监听端口范围列表。
	PortRanges []PortRange `json:"port_ranges"`

	ClientAffinity *ClientAffinity `json:"client_affinity,omitempty"`

	// 全球加速实例ID。
	AcceleratorId string `json:"accelerator_id"`

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

CreateListenerOption 创建监听器的详细信息。

func (CreateListenerOption) String

func (o CreateListenerOption) String() string

type CreateListenerRequest

type CreateListenerRequest struct {
	Body *CreateListenerRequestBody `json:"body,omitempty"`
}

CreateListenerRequest Request Object

func (CreateListenerRequest) String

func (o CreateListenerRequest) String() string

type CreateListenerRequestBody

type CreateListenerRequestBody struct {
	Listener *CreateListenerOption `json:"listener"`
}

CreateListenerRequestBody create Listener request

func (CreateListenerRequestBody) String

func (o CreateListenerRequestBody) String() string

type CreateListenerResponse

type CreateListenerResponse struct {
	Listener *ListenerDetail `json:"listener,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateListenerResponse Response Object

func (CreateListenerResponse) String

func (o CreateListenerResponse) String() string

type CreateTagsRequest

type CreateTagsRequest struct {

	// 资源类型。
	ResourceType *ResourceType `json:"resource_type"`

	// 资源ID。
	ResourceId string `json:"resource_id"`

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

CreateTagsRequest Request Object

func (CreateTagsRequest) String

func (o CreateTagsRequest) String() string

type CreateTagsRequestBody

type CreateTagsRequestBody struct {

	// 标签列表。
	Tags []ResourceTag `json:"tags"`
}

CreateTagsRequestBody create tag request

func (CreateTagsRequestBody) String

func (o CreateTagsRequestBody) String() string

type CreateTagsResponse

type CreateTagsResponse struct {

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateTagsResponse Response Object

func (CreateTagsResponse) String

func (o CreateTagsResponse) String() string

type DeleteAcceleratorRequest

type DeleteAcceleratorRequest struct {

	// 全球加速器ID。
	AcceleratorId string `json:"accelerator_id"`
}

DeleteAcceleratorRequest Request Object

func (DeleteAcceleratorRequest) String

func (o DeleteAcceleratorRequest) String() string

type DeleteAcceleratorResponse

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

DeleteAcceleratorResponse Response Object

func (DeleteAcceleratorResponse) String

func (o DeleteAcceleratorResponse) String() string

type DeleteEndpointGroupRequest

type DeleteEndpointGroupRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`
}

DeleteEndpointGroupRequest Request Object

func (DeleteEndpointGroupRequest) String

type DeleteEndpointGroupResponse

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

DeleteEndpointGroupResponse Response Object

func (DeleteEndpointGroupResponse) String

type DeleteEndpointRequest

type DeleteEndpointRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

	// 终端节点ID。
	EndpointId string `json:"endpoint_id"`
}

DeleteEndpointRequest Request Object

func (DeleteEndpointRequest) String

func (o DeleteEndpointRequest) String() string

type DeleteEndpointResponse

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

DeleteEndpointResponse Response Object

func (DeleteEndpointResponse) String

func (o DeleteEndpointResponse) String() string

type DeleteHealthCheckRequest

type DeleteHealthCheckRequest struct {

	// 健康检查ID。
	HealthCheckId string `json:"health_check_id"`
}

DeleteHealthCheckRequest Request Object

func (DeleteHealthCheckRequest) String

func (o DeleteHealthCheckRequest) String() string

type DeleteHealthCheckResponse

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

DeleteHealthCheckResponse Response Object

func (DeleteHealthCheckResponse) String

func (o DeleteHealthCheckResponse) String() string

type DeleteIpGroupRequest

type DeleteIpGroupRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`
}

DeleteIpGroupRequest Request Object

func (DeleteIpGroupRequest) String

func (o DeleteIpGroupRequest) String() string

type DeleteIpGroupResponse

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

DeleteIpGroupResponse Response Object

func (DeleteIpGroupResponse) String

func (o DeleteIpGroupResponse) String() string

type DeleteListenerRequest

type DeleteListenerRequest struct {

	// 监听器ID。
	ListenerId string `json:"listener_id"`
}

DeleteListenerRequest Request Object

func (DeleteListenerRequest) String

func (o DeleteListenerRequest) String() string

type DeleteListenerResponse

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

DeleteListenerResponse Response Object

func (DeleteListenerResponse) String

func (o DeleteListenerResponse) String() string

type DeleteTagsRequest

type DeleteTagsRequest struct {

	// 资源类型。
	ResourceType *ResourceType `json:"resource_type"`

	// 资源ID。
	ResourceId string `json:"resource_id"`

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

DeleteTagsRequest Request Object

func (DeleteTagsRequest) String

func (o DeleteTagsRequest) String() string

type DeleteTagsRequestBody

type DeleteTagsRequestBody struct {

	// 标签列表。
	Tags []DeletingResourceTag `json:"tags"`
}

DeleteTagsRequestBody delete tag request

func (DeleteTagsRequestBody) String

func (o DeleteTagsRequestBody) String() string

type DeleteTagsResponse

type DeleteTagsResponse struct {

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteTagsResponse Response Object

func (DeleteTagsResponse) String

func (o DeleteTagsResponse) String() string

type DeletingResourceTag

type DeletingResourceTag struct {

	// 标签键,规则: - 1.key不能为空,长度1~128个字符(中文也可以输入128个字符)。 - 2.可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符_ . : = + - @。 - 3._sys_开头属于系统标签,租户不能输入。
	Key string `json:"key"`
}

DeletingResourceTag 标签。

func (DeletingResourceTag) String

func (o DeletingResourceTag) String() string

type DisassociateListenerRequest

type DisassociateListenerRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`

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

DisassociateListenerRequest Request Object

func (DisassociateListenerRequest) String

type DisassociateListenerRequestBody

type DisassociateListenerRequestBody struct {

	// 监听器ID。
	ListenerId string `json:"listener_id"`
}

DisassociateListenerRequestBody disassociate listener request

func (DisassociateListenerRequestBody) String

type DisassociateListenerResponse

type DisassociateListenerResponse struct {

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DisassociateListenerResponse Response Object

func (DisassociateListenerResponse) String

type EndpointDetail

type EndpointDetail struct {

	// 终端节点ID。
	Id *string `json:"id,omitempty"`

	// 对应后端资源ID。
	ResourceId *string `json:"resource_id,omitempty"`

	// 终端节点组ID。
	EndpointGroupId *string `json:"endpoint_group_id,omitempty"`

	ResourceType *EndpointType `json:"resource_type,omitempty"`

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

	// 终端节点权重。
	Weight *int32 `json:"weight,omitempty"`

	// 终端的健康状态,取值: - INITIAL:初始 - HEALTHY:正常 - UNHEALTHY:异常 - NO_MONITOR:未监控
	HealthState *EndpointDetailHealthState `json:"health_state,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 租户ID。
	DomainId *string `json:"domain_id,omitempty"`

	// IP地址。
	IpAddress *string `json:"ip_address,omitempty"`

	FrozenInfo *FrozenInfo `json:"frozen_info,omitempty"`
}

EndpointDetail 终端节点实例。

func (EndpointDetail) String

func (o EndpointDetail) String() string

type EndpointDetailHealthState

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

func (EndpointDetailHealthState) MarshalJSON

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

func (*EndpointDetailHealthState) UnmarshalJSON

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

func (EndpointDetailHealthState) Value

type EndpointDetailHealthStateEnum

type EndpointDetailHealthStateEnum struct {
	INITIAL    EndpointDetailHealthState
	HEALTHY    EndpointDetailHealthState
	UNHEALTHY  EndpointDetailHealthState
	NO_MONITOR EndpointDetailHealthState
}

func GetEndpointDetailHealthStateEnum

func GetEndpointDetailHealthStateEnum() EndpointDetailHealthStateEnum

type EndpointGroupDetail

type EndpointGroupDetail struct {

	// 终端节点组ID。
	Id *string `json:"id,omitempty"`

	// 终端节点组名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 终端节点组描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

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

	// 流量拨分到此组的百分比。
	TrafficDialPercentage *int32 `json:"traffic_dial_percentage,omitempty"`

	// 终端节点组所属区域ID。
	RegionId *string `json:"region_id,omitempty"`

	// 关联监听器列表。
	Listeners *[]Id `json:"listeners,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 租户ID。
	DomainId *string `json:"domain_id,omitempty"`

	FrozenInfo *FrozenInfo `json:"frozen_info,omitempty"`
}

EndpointGroupDetail 终端节点组实例。

func (EndpointGroupDetail) String

func (o EndpointGroupDetail) String() string

type EndpointType

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

EndpointType 终端节点类型。

func (EndpointType) MarshalJSON

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

func (*EndpointType) UnmarshalJSON

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

func (EndpointType) Value

func (c EndpointType) Value() string

type EndpointTypeEnum

type EndpointTypeEnum struct {
	EIP EndpointType
}

func GetEndpointTypeEnum

func GetEndpointTypeEnum() EndpointTypeEnum

type FrozenInfo

type FrozenInfo struct {

	// 云服务或资源实例状态,取值: - 0:解冻/正常(云服务恢复正常)。 - 1:冻结(资源和数据会保留,但租户无法再正常使用云服务)。 - 2:删除/终止(资源和数据将清除)。
	Status *int32 `json:"status,omitempty"`

	// 在冻结/解冻操作下,取值: - 1(默认值):冻结可释放。 - 2:冻结不可释放。 - 3:冻结后不可续费。
	Effect *int32 `json:"effect,omitempty"`

	// 更新云服务状态的业务场景列表,取值: - ARREAR(默认值):欠费场景。为正常的运营业务场景,包括包周期资源到期、按需资源扣费失败。 - POLICE:公安冻结场景。 - ILLEGAL:违规冻结场景。 - VERIFY:客户未实名认证冻结场景。 - PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。
	Scene *[]string `json:"scene,omitempty"`
}

FrozenInfo 云服务或资源实例冻结信息。

func (FrozenInfo) String

func (o FrozenInfo) String() string

type HealthCheckDetail

type HealthCheckDetail struct {

	// 健康检查ID。
	Id *string `json:"id,omitempty"`

	// 终端节点组ID。
	EndpointGroupId *string `json:"endpoint_group_id,omitempty"`

	Protocol *HealthCheckProtocol `json:"protocol,omitempty"`

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

	// 健康检查的端口。
	Port *int32 `json:"port,omitempty"`

	// 健康检查的时间间隔,单位为秒。
	Interval *int32 `json:"interval,omitempty"`

	// 健康检查的超时时间,单位为秒。建议该值小于interval的值。
	Timeout *int32 `json:"timeout,omitempty"`

	// 最大重试次数。将终端节点的状态从“健康”设置为“不健康”或从“不健康”设置为“健康”所需的连续健康检查次数。
	MaxRetries *int32 `json:"max_retries,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 租户ID。
	DomainId *string `json:"domain_id,omitempty"`

	// 是否开启健康检查。
	Enabled *bool `json:"enabled,omitempty"`

	FrozenInfo *FrozenInfo `json:"frozen_info,omitempty"`
}

HealthCheckDetail 健康检查实例。

func (HealthCheckDetail) String

func (o HealthCheckDetail) String() string

type HealthCheckProtocol

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

HealthCheckProtocol 健康检查的协议。

func (HealthCheckProtocol) MarshalJSON

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

func (*HealthCheckProtocol) UnmarshalJSON

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

func (HealthCheckProtocol) Value

func (c HealthCheckProtocol) Value() string

type HealthCheckProtocolEnum

type HealthCheckProtocolEnum struct {
	TCP HealthCheckProtocol
}

func GetHealthCheckProtocolEnum

func GetHealthCheckProtocolEnum() HealthCheckProtocolEnum

type Id

type Id struct {

	// 关联监听器ID。
	Id string `json:"id"`
}

Id id

func (Id) String

func (o Id) String() string

type IpGroupDetail

type IpGroupDetail struct {

	// IP地址组ID。
	Id *string `json:"id,omitempty"`

	// IP地址组名称。
	Name *string `json:"name,omitempty"`

	// IP地址组描述。
	Description *string `json:"description,omitempty"`

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

	// IP地址组中的IP网段列表。
	IpList *[]IpInfo `json:"ip_list,omitempty"`

	AssociatedListeners *[]ListenerAccessControlPolicy `json:"associated_listeners,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`
}

IpGroupDetail IP地址组详情。

func (IpGroupDetail) String

func (o IpGroupDetail) String() string

type IpInfo

type IpInfo struct {

	// IP地址组中的IP网段,cidr格式。
	Cidr *string `json:"cidr,omitempty"`

	// IP地址组中的IP网段描述。
	Description *string `json:"description,omitempty"`

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

IpInfo IP地址组中的IP网段。

func (IpInfo) String

func (o IpInfo) String() string

type ListAcceleratorsRequest

type ListAcceleratorsRequest struct {

	// 分页查询每页的资源个数。如果不设置,则默认为500。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源ID,表示上一页最后一条查询资源记录的ID。不指定时表示查询第一页。 必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。
	PageReverse *bool `json:"page_reverse,omitempty"`

	// 资源ID。
	Id *string `json:"id,omitempty"`

	// 资源名称,取值范围:0~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 配置状态,可选范围: - ACTIVE:运行中 - PENDING:待定 - ERROR:错误 - DELETING:正在删除
	Status *ListAcceleratorsRequestStatus `json:"status,omitempty"`

	// 租户的企业项目id。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListAcceleratorsRequest Request Object

func (ListAcceleratorsRequest) String

func (o ListAcceleratorsRequest) String() string

type ListAcceleratorsRequestStatus

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

func (ListAcceleratorsRequestStatus) MarshalJSON

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

func (*ListAcceleratorsRequestStatus) UnmarshalJSON

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

func (ListAcceleratorsRequestStatus) Value

type ListAcceleratorsResponse

type ListAcceleratorsResponse struct {

	// 全球加速器列表。
	Accelerators *[]AcceleratorDetail `json:"accelerators,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListAcceleratorsResponse Response Object

func (ListAcceleratorsResponse) String

func (o ListAcceleratorsResponse) String() string

type ListEndpointGroupsRequest

type ListEndpointGroupsRequest struct {

	// 分页查询每页的资源个数。如果不设置,则默认为500。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源ID,表示上一页最后一条查询资源记录的ID。不指定时表示查询第一页。 必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。
	PageReverse *bool `json:"page_reverse,omitempty"`

	// 资源ID。
	Id *string `json:"id,omitempty"`

	// 资源名称,取值范围:0~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 配置状态,可选范围: - ACTIVE:运行中 - PENDING:待定 - ERROR:错误 - DELETING:正在删除
	Status *ListEndpointGroupsRequestStatus `json:"status,omitempty"`

	// 监听器ID
	ListenerId *string `json:"listener_id,omitempty"`
}

ListEndpointGroupsRequest Request Object

func (ListEndpointGroupsRequest) String

func (o ListEndpointGroupsRequest) String() string

type ListEndpointGroupsRequestStatus

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

func (ListEndpointGroupsRequestStatus) MarshalJSON

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

func (*ListEndpointGroupsRequestStatus) UnmarshalJSON

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

func (ListEndpointGroupsRequestStatus) Value

type ListEndpointGroupsResponse

type ListEndpointGroupsResponse struct {

	// 终端节点组列表。
	EndpointGroups *[]EndpointGroupDetail `json:"endpoint_groups,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListEndpointGroupsResponse Response Object

func (ListEndpointGroupsResponse) String

type ListEndpointsRequest

type ListEndpointsRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

	// 分页查询每页的资源个数。如果不设置,则默认为500。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源ID,表示上一页最后一条查询资源记录的ID。不指定时表示查询第一页。 必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。
	PageReverse *bool `json:"page_reverse,omitempty"`

	// 资源ID。
	Id *string `json:"id,omitempty"`

	// 配置状态,可选范围: - ACTIVE:运行中 - PENDING:待定 - ERROR:错误 - DELETING:正在删除
	Status *ListEndpointsRequestStatus `json:"status,omitempty"`
}

ListEndpointsRequest Request Object

func (ListEndpointsRequest) String

func (o ListEndpointsRequest) String() string

type ListEndpointsRequestStatus

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

func (ListEndpointsRequestStatus) MarshalJSON

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

func (*ListEndpointsRequestStatus) UnmarshalJSON

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

func (ListEndpointsRequestStatus) Value

type ListEndpointsRequestStatusEnum

type ListEndpointsRequestStatusEnum struct {
	ACTIVE   ListEndpointsRequestStatus
	PENDING  ListEndpointsRequestStatus
	ERROR    ListEndpointsRequestStatus
	DELETING ListEndpointsRequestStatus
}

func GetListEndpointsRequestStatusEnum

func GetListEndpointsRequestStatusEnum() ListEndpointsRequestStatusEnum

type ListEndpointsResponse

type ListEndpointsResponse struct {

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

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListEndpointsResponse Response Object

func (ListEndpointsResponse) String

func (o ListEndpointsResponse) String() string

type ListHealthChecksRequest

type ListHealthChecksRequest struct {

	// 分页查询每页的资源个数。如果不设置,则默认为500。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源ID,表示上一页最后一条查询资源记录的ID。不指定时表示查询第一页。 必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。
	PageReverse *bool `json:"page_reverse,omitempty"`

	// 资源ID。
	Id *string `json:"id,omitempty"`

	// 配置状态,可选范围: - ACTIVE:运行中 - PENDING:待定 - ERROR:错误 - DELETING:正在删除
	Status *ListHealthChecksRequestStatus `json:"status,omitempty"`

	// 终端节点组ID。
	EndpointGroupId *string `json:"endpoint_group_id,omitempty"`
}

ListHealthChecksRequest Request Object

func (ListHealthChecksRequest) String

func (o ListHealthChecksRequest) String() string

type ListHealthChecksRequestStatus

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

func (ListHealthChecksRequestStatus) MarshalJSON

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

func (*ListHealthChecksRequestStatus) UnmarshalJSON

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

func (ListHealthChecksRequestStatus) Value

type ListHealthChecksResponse

type ListHealthChecksResponse struct {

	// 健康检查列表。
	HealthChecks *[]HealthCheckDetail `json:"health_checks,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListHealthChecksResponse Response Object

func (ListHealthChecksResponse) String

func (o ListHealthChecksResponse) String() string

type ListIpGroupsRequest

type ListIpGroupsRequest struct {

	// 分页查询每页的资源个数。如果不设置,则默认为500。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源ID,表示上一页最后一条查询资源记录的ID。不指定时表示查询第一页。 必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 监听器id,查询监听器绑定的IP地址组时使用该条件,当查询条件带listener_id时,结果中的associated_listeners也只包含该listener的记录
	ListenerId *string `json:"listener_id,omitempty"`
}

ListIpGroupsRequest Request Object

func (ListIpGroupsRequest) String

func (o ListIpGroupsRequest) String() string

type ListIpGroupsResponse

type ListIpGroupsResponse struct {

	// 请求ID。
	RequestId *string `json:"request_id,omitempty"`

	IpGroups *[]IpGroupDetail `json:"ip_groups,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListIpGroupsResponse Response Object

func (ListIpGroupsResponse) String

func (o ListIpGroupsResponse) String() string

type ListListenersRequest

type ListListenersRequest struct {

	// 分页查询每页的资源个数。如果不设置,则默认为500。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源ID,表示上一页最后一条查询资源记录的ID。不指定时表示查询第一页。 必须与limit一起使用。
	Marker *string `json:"marker,omitempty"`

	// 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。
	PageReverse *bool `json:"page_reverse,omitempty"`

	// 资源ID。
	Id *string `json:"id,omitempty"`

	// 资源名称,取值范围:0~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 配置状态,可选范围: - ACTIVE:运行中 - PENDING:待定 - ERROR:错误 - DELETING:正在删除
	Status *ListListenersRequestStatus `json:"status,omitempty"`

	// 全球加速器ID。
	AcceleratorId *string `json:"accelerator_id,omitempty"`
}

ListListenersRequest Request Object

func (ListListenersRequest) String

func (o ListListenersRequest) String() string

type ListListenersRequestStatus

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

func (ListListenersRequestStatus) MarshalJSON

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

func (*ListListenersRequestStatus) UnmarshalJSON

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

func (ListListenersRequestStatus) Value

type ListListenersRequestStatusEnum

type ListListenersRequestStatusEnum struct {
	ACTIVE   ListListenersRequestStatus
	PENDING  ListListenersRequestStatus
	ERROR    ListListenersRequestStatus
	DELETING ListListenersRequestStatus
}

func GetListListenersRequestStatusEnum

func GetListListenersRequestStatusEnum() ListListenersRequestStatusEnum

type ListListenersResponse

type ListListenersResponse struct {

	// 监听器列表。
	Listeners *[]ListenerDetail `json:"listeners,omitempty"`

	PageInfo *PageInfo `json:"page_info,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListListenersResponse Response Object

func (ListListenersResponse) String

func (o ListListenersResponse) String() string

type ListRegionsRequest

type ListRegionsRequest struct {
}

ListRegionsRequest Request Object

func (ListRegionsRequest) String

func (o ListRegionsRequest) String() string

type ListRegionsResponse

type ListRegionsResponse struct {

	// 区域列表。
	Regions *[]Region `json:"regions,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListRegionsResponse Response Object

func (ListRegionsResponse) String

func (o ListRegionsResponse) String() string

type ListenerAccessControlPolicy

type ListenerAccessControlPolicy struct {

	// 监听器ID。
	ListenerId *string `json:"listener_id,omitempty"`

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

ListenerAccessControlPolicy 监听器的访问控制策略。

func (ListenerAccessControlPolicy) String

type ListenerAccessControlType

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

ListenerAccessControlType 访问控制策略类型,即黑名单还是白名单, 取值: - BLACK:黑名单 - WHITE:白名单

func (ListenerAccessControlType) MarshalJSON

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

func (*ListenerAccessControlType) UnmarshalJSON

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

func (ListenerAccessControlType) Value

type ListenerAccessControlTypeEnum

type ListenerAccessControlTypeEnum struct {
	BLACK ListenerAccessControlType
	WHITE ListenerAccessControlType
}

func GetListenerAccessControlTypeEnum

func GetListenerAccessControlTypeEnum() ListenerAccessControlTypeEnum

type ListenerDetail

type ListenerDetail struct {

	// 监听器ID。
	Id *string `json:"id,omitempty"`

	// 监听器名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 监听器的描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	Protocol *ListenerProtocol `json:"protocol,omitempty"`

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

	// 监听端口范围列表。
	PortRanges *[]PortRange `json:"port_ranges,omitempty"`

	ClientAffinity *ClientAffinity `json:"client_affinity,omitempty"`

	// 全球加速实例ID。
	AcceleratorId *string `json:"accelerator_id,omitempty"`

	// 创建时间。
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`

	// 更新时间。
	UpdatedAt *sdktime.SdkTime `json:"updated_at,omitempty"`

	// 租户ID。
	DomainId *string `json:"domain_id,omitempty"`

	FrozenInfo *FrozenInfo `json:"frozen_info,omitempty"`

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

ListenerDetail 监听器实例。

func (ListenerDetail) String

func (o ListenerDetail) String() string

type ListenerProtocol

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

ListenerProtocol 监听的网络传输协议类型。

func (ListenerProtocol) MarshalJSON

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

func (*ListenerProtocol) UnmarshalJSON

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

func (ListenerProtocol) Value

func (c ListenerProtocol) Value() string

type ListenerProtocolEnum

type ListenerProtocolEnum struct {
	TCP ListenerProtocol
	UDP ListenerProtocol
}

func GetListenerProtocolEnum

func GetListenerProtocolEnum() ListenerProtocolEnum

type PageInfo

type PageInfo struct {

	// 下一页的marker,为空时表示最后一页。
	NextMarker *string `json:"next_marker,omitempty"`

	// 当前列表中资源数量。
	CurrentCount int32 `json:"current_count"`
}

PageInfo 分页查询页的信息。

func (PageInfo) String

func (o PageInfo) String() string

type PortRange

type PortRange struct {

	// 起始端口。
	FromPort int32 `json:"from_port"`

	// 结束端口。
	ToPort int32 `json:"to_port"`
}

PortRange port range

func (PortRange) String

func (o PortRange) String() string

type Region

type Region struct {

	// 区域ID。
	RegionId *string `json:"region_id,omitempty"`

	// 区域所属地区,取值: - OUTOFCM: 中国大陆以外 - CM:中国大陆
	Area *string `json:"area,omitempty"`

	// 区域支持的终端节点类型。取值: EIP:弹性公网IP
	SupportedEndpointTypes *[]RegionSupportedEndpointTypes `json:"supported_endpoint_types,omitempty"`
}

Region 区域。

func (Region) String

func (o Region) String() string

type RegionSupportedEndpointTypes

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

func (RegionSupportedEndpointTypes) MarshalJSON

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

func (*RegionSupportedEndpointTypes) UnmarshalJSON

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

func (RegionSupportedEndpointTypes) Value

type RegionSupportedEndpointTypesEnum

type RegionSupportedEndpointTypesEnum struct {
	EIP RegionSupportedEndpointTypes
}

func GetRegionSupportedEndpointTypesEnum

func GetRegionSupportedEndpointTypesEnum() RegionSupportedEndpointTypesEnum

type RemoveIpGroupIpRequest

type RemoveIpGroupIpRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`

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

RemoveIpGroupIpRequest Request Object

func (RemoveIpGroupIpRequest) String

func (o RemoveIpGroupIpRequest) String() string

type RemoveIpGroupIpRequestBody

type RemoveIpGroupIpRequestBody struct {

	// IP地址组中的IP网段列表,一次最多支持删除20个条目。
	IpList []string `json:"ip_list"`
}

RemoveIpGroupIpRequestBody remove ip group ip request

func (RemoveIpGroupIpRequestBody) String

type RemoveIpGroupIpResponse

type RemoveIpGroupIpResponse struct {

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RemoveIpGroupIpResponse Response Object

func (RemoveIpGroupIpResponse) String

func (o RemoveIpGroupIpResponse) String() string

type ResourceTag

type ResourceTag struct {

	// 标签键,规则: - 1.key不能为空,长度1~128个字符(中文也可以输入128个字符)。 - 2.可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符_ . : = + - @。 - 3._sys_开头属于系统标签,租户不能输入。
	Key string `json:"key"`

	// 标签值,规则: - 1.长度0~255个字符(中文也可以输入255个字符)。 - 2.可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符_ . : / = + - @。 - 3.资源标签值可以为空(empty or null)。
	Value string `json:"value"`
}

ResourceTag 标签。

func (ResourceTag) String

func (o ResourceTag) String() string

type ResourceType

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

ResourceType 资源类型,取值: - ga-accelerators:加速实例 - ga-listeners:监听器

func (ResourceType) MarshalJSON

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

func (*ResourceType) UnmarshalJSON

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

func (ResourceType) Value

func (c ResourceType) Value() string

type ResourceTypeEnum

type ResourceTypeEnum struct {
	GA_ACCELERATORS ResourceType
	GA_LISTENERS    ResourceType
}

func GetResourceTypeEnum

func GetResourceTypeEnum() ResourceTypeEnum

type ShowAcceleratorRequest

type ShowAcceleratorRequest struct {

	// 全球加速器ID。
	AcceleratorId string `json:"accelerator_id"`
}

ShowAcceleratorRequest Request Object

func (ShowAcceleratorRequest) String

func (o ShowAcceleratorRequest) String() string

type ShowAcceleratorResponse

type ShowAcceleratorResponse struct {
	Accelerator *AcceleratorDetail `json:"accelerator,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAcceleratorResponse Response Object

func (ShowAcceleratorResponse) String

func (o ShowAcceleratorResponse) String() string

type ShowEndpointGroupRequest

type ShowEndpointGroupRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`
}

ShowEndpointGroupRequest Request Object

func (ShowEndpointGroupRequest) String

func (o ShowEndpointGroupRequest) String() string

type ShowEndpointGroupResponse

type ShowEndpointGroupResponse struct {
	EndpointGroup *EndpointGroupDetail `json:"endpoint_group,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEndpointGroupResponse Response Object

func (ShowEndpointGroupResponse) String

func (o ShowEndpointGroupResponse) String() string

type ShowEndpointRequest

type ShowEndpointRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

	// 终端节点ID。
	EndpointId string `json:"endpoint_id"`
}

ShowEndpointRequest Request Object

func (ShowEndpointRequest) String

func (o ShowEndpointRequest) String() string

type ShowEndpointResponse

type ShowEndpointResponse struct {
	Endpoint *EndpointDetail `json:"endpoint,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowEndpointResponse Response Object

func (ShowEndpointResponse) String

func (o ShowEndpointResponse) String() string

type ShowHealthCheckRequest

type ShowHealthCheckRequest struct {

	// 健康检查ID。
	HealthCheckId string `json:"health_check_id"`
}

ShowHealthCheckRequest Request Object

func (ShowHealthCheckRequest) String

func (o ShowHealthCheckRequest) String() string

type ShowHealthCheckResponse

type ShowHealthCheckResponse struct {
	HealthCheck *HealthCheckDetail `json:"health_check,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowHealthCheckResponse Response Object

func (ShowHealthCheckResponse) String

func (o ShowHealthCheckResponse) String() string

type ShowIpGroupRequest

type ShowIpGroupRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`
}

ShowIpGroupRequest Request Object

func (ShowIpGroupRequest) String

func (o ShowIpGroupRequest) String() string

type ShowIpGroupResponse

type ShowIpGroupResponse struct {

	// 请求ID。
	RequestId *string `json:"request_id,omitempty"`

	IpGroup        *IpGroupDetail `json:"ip_group,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowIpGroupResponse Response Object

func (ShowIpGroupResponse) String

func (o ShowIpGroupResponse) String() string

type ShowListenerRequest

type ShowListenerRequest struct {

	// 监听器ID。
	ListenerId string `json:"listener_id"`
}

ShowListenerRequest Request Object

func (ShowListenerRequest) String

func (o ShowListenerRequest) String() string

type ShowListenerResponse

type ShowListenerResponse struct {
	Listener *ListenerDetail `json:"listener,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowListenerResponse Response Object

func (ShowListenerResponse) String

func (o ShowListenerResponse) String() string

type ShowResourceTagsRequest

type ShowResourceTagsRequest struct {

	// 资源类型。
	ResourceType *ResourceType `json:"resource_type"`

	// 资源ID。
	ResourceId string `json:"resource_id"`
}

ShowResourceTagsRequest Request Object

func (ShowResourceTagsRequest) String

func (o ShowResourceTagsRequest) String() string

type ShowResourceTagsResponse

type ShowResourceTagsResponse struct {

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

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowResourceTagsResponse Response Object

func (ShowResourceTagsResponse) String

func (o ShowResourceTagsResponse) String() string

type UpdateAcceleratorOption

type UpdateAcceleratorOption struct {

	// 全球加速器名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 全球加速器描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`
}

UpdateAcceleratorOption 更新全球加速器的详细信息。

func (UpdateAcceleratorOption) String

func (o UpdateAcceleratorOption) String() string

type UpdateAcceleratorRequest

type UpdateAcceleratorRequest struct {

	// 全球加速器ID。
	AcceleratorId string `json:"accelerator_id"`

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

UpdateAcceleratorRequest Request Object

func (UpdateAcceleratorRequest) String

func (o UpdateAcceleratorRequest) String() string

type UpdateAcceleratorRequestBody

type UpdateAcceleratorRequestBody struct {
	Accelerator *UpdateAcceleratorOption `json:"accelerator"`
}

UpdateAcceleratorRequestBody update Accelerator request

func (UpdateAcceleratorRequestBody) String

type UpdateAcceleratorResponse

type UpdateAcceleratorResponse struct {
	Accelerator *AcceleratorDetail `json:"accelerator,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateAcceleratorResponse Response Object

func (UpdateAcceleratorResponse) String

func (o UpdateAcceleratorResponse) String() string

type UpdateEndpointGroupOption

type UpdateEndpointGroupOption struct {

	// 终端节点组名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 终端节点组描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	// 流量拨分到此组的百分比。
	TrafficDialPercentage *int32 `json:"traffic_dial_percentage,omitempty"`
}

UpdateEndpointGroupOption 更新终端节点组的详细信息。

func (UpdateEndpointGroupOption) String

func (o UpdateEndpointGroupOption) String() string

type UpdateEndpointGroupRequest

type UpdateEndpointGroupRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

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

UpdateEndpointGroupRequest Request Object

func (UpdateEndpointGroupRequest) String

type UpdateEndpointGroupRequestBody

type UpdateEndpointGroupRequestBody struct {
	EndpointGroup *UpdateEndpointGroupOption `json:"endpoint_group"`
}

UpdateEndpointGroupRequestBody update Endpoint Group request

func (UpdateEndpointGroupRequestBody) String

type UpdateEndpointGroupResponse

type UpdateEndpointGroupResponse struct {
	EndpointGroup *EndpointGroupDetail `json:"endpoint_group,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEndpointGroupResponse Response Object

func (UpdateEndpointGroupResponse) String

type UpdateEndpointOption

type UpdateEndpointOption struct {

	// 终端节点权重。
	Weight *int32 `json:"weight,omitempty"`
}

UpdateEndpointOption 更新终端节点的详细信息。

func (UpdateEndpointOption) String

func (o UpdateEndpointOption) String() string

type UpdateEndpointRequest

type UpdateEndpointRequest struct {

	// 终端节点组ID。
	EndpointGroupId string `json:"endpoint_group_id"`

	// 终端节点ID。
	EndpointId string `json:"endpoint_id"`

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

UpdateEndpointRequest Request Object

func (UpdateEndpointRequest) String

func (o UpdateEndpointRequest) String() string

type UpdateEndpointRequestBody

type UpdateEndpointRequestBody struct {
	Endpoint *UpdateEndpointOption `json:"endpoint"`
}

UpdateEndpointRequestBody update Endpoint request

func (UpdateEndpointRequestBody) String

func (o UpdateEndpointRequestBody) String() string

type UpdateEndpointResponse

type UpdateEndpointResponse struct {
	Endpoint *EndpointDetail `json:"endpoint,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEndpointResponse Response Object

func (UpdateEndpointResponse) String

func (o UpdateEndpointResponse) String() string

type UpdateHealthCheckOption

type UpdateHealthCheckOption struct {
	Protocol *HealthCheckProtocol `json:"protocol,omitempty"`

	// 健康检查的端口。
	Port *int32 `json:"port,omitempty"`

	// 健康检查的时间间隔,单位为秒。
	Interval *int32 `json:"interval,omitempty"`

	// 健康检查的超时时间,单位为秒。建议该值小于interval的值。
	Timeout *int32 `json:"timeout,omitempty"`

	// 最大重试次数。将终端节点的状态从“健康”设置为“不健康”或从“不健康”设置为“健康”所需的连续健康检查次数。
	MaxRetries *int32 `json:"max_retries,omitempty"`

	// 是否开启健康检查。
	Enabled *bool `json:"enabled,omitempty"`
}

UpdateHealthCheckOption 更新健康检查的详细信息。

func (UpdateHealthCheckOption) String

func (o UpdateHealthCheckOption) String() string

type UpdateHealthCheckRequest

type UpdateHealthCheckRequest struct {

	// 健康检查ID。
	HealthCheckId string `json:"health_check_id"`

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

UpdateHealthCheckRequest Request Object

func (UpdateHealthCheckRequest) String

func (o UpdateHealthCheckRequest) String() string

type UpdateHealthCheckRequestBody

type UpdateHealthCheckRequestBody struct {
	HealthCheck *UpdateHealthCheckOption `json:"health_check"`
}

UpdateHealthCheckRequestBody update Health Check request

func (UpdateHealthCheckRequestBody) String

type UpdateHealthCheckResponse

type UpdateHealthCheckResponse struct {
	HealthCheck *HealthCheckDetail `json:"health_check,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateHealthCheckResponse Response Object

func (UpdateHealthCheckResponse) String

func (o UpdateHealthCheckResponse) String() string

type UpdateIpGroupOption

type UpdateIpGroupOption struct {

	// IP地址组名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// IP地址组的描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`
}

UpdateIpGroupOption 更新IP地址组的详细信息。

func (UpdateIpGroupOption) String

func (o UpdateIpGroupOption) String() string

type UpdateIpGroupRequest

type UpdateIpGroupRequest struct {

	// IP地址组ID。
	IpGroupId string `json:"ip_group_id"`

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

UpdateIpGroupRequest Request Object

func (UpdateIpGroupRequest) String

func (o UpdateIpGroupRequest) String() string

type UpdateIpGroupRequestBody

type UpdateIpGroupRequestBody struct {
	IpGroup *UpdateIpGroupOption `json:"ip_group"`
}

UpdateIpGroupRequestBody update ip group request

func (UpdateIpGroupRequestBody) String

func (o UpdateIpGroupRequestBody) String() string

type UpdateIpGroupResponse

type UpdateIpGroupResponse struct {

	// 请求ID。
	RequestId *string `json:"request_id,omitempty"`

	IpGroup        *IpGroupDetail `json:"ip_group,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateIpGroupResponse Response Object

func (UpdateIpGroupResponse) String

func (o UpdateIpGroupResponse) String() string

type UpdateListenerOption

type UpdateListenerOption struct {

	// 监听器名称,取值范围:1~64个字符之间,只能由数字、字母、中划线和中文组成。
	Name *string `json:"name,omitempty"`

	// 监听器的描述信息,取值范围:0~255个字符之间,禁止输入字符:<>。
	Description *string `json:"description,omitempty"`

	// 监听端口范围列表。
	PortRanges *[]PortRange `json:"port_ranges,omitempty"`

	ClientAffinity *ClientAffinity `json:"client_affinity,omitempty"`
}

UpdateListenerOption 更新监听器的详细信息。

func (UpdateListenerOption) String

func (o UpdateListenerOption) String() string

type UpdateListenerRequest

type UpdateListenerRequest struct {

	// 监听器ID。
	ListenerId string `json:"listener_id"`

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

UpdateListenerRequest Request Object

func (UpdateListenerRequest) String

func (o UpdateListenerRequest) String() string

type UpdateListenerRequestBody

type UpdateListenerRequestBody struct {
	Listener *UpdateListenerOption `json:"listener"`
}

UpdateListenerRequestBody update Listener request

func (UpdateListenerRequestBody) String

func (o UpdateListenerRequestBody) String() string

type UpdateListenerResponse

type UpdateListenerResponse struct {
	Listener *ListenerDetail `json:"listener,omitempty"`

	// 请求ID。
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateListenerResponse Response Object

func (UpdateListenerResponse) String

func (o UpdateListenerResponse) String() string

Source Files

Jump to

Keyboard shortcuts

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