model

package
v0.1.102 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionMatch

type ActionMatch struct {

	// 键。目前只支持resource_name。表示匹配资源实例的名称。
	Key string `json:"key"`

	// 值。每个值最大长度255个unicode字符 。当key为resource_name时,表示待匹配的资源实例的名称。
	Value string `json:"value"`
}

ActionMatch 根据标签查询资源时,match字段结构。

func (ActionMatch) String

func (o ActionMatch) String() string

type ActionTag

type ActionTag struct {

	// 标签的键。最大长度127个unicode字符。
	Key string `json:"key"`

	// 标签的值列表。每个值最大长度255个unicode字符, value之间为或的关系。
	Values []string `json:"values"`
}

ActionTag 要搜索的标签值。

func (ActionTag) String

func (o ActionTag) String() string

type BatchCreateListenerTagsRequest

type BatchCreateListenerTagsRequest struct {

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

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

BatchCreateListenerTagsRequest Request Object

func (BatchCreateListenerTagsRequest) String

type BatchCreateListenerTagsRequestBody

type BatchCreateListenerTagsRequestBody struct {

	// 操作类型。 取值范围:create - 创建标签。
	Action BatchCreateListenerTagsRequestBodyAction `json:"action"`

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

BatchCreateListenerTagsRequestBody This is a auto create Body Object

func (BatchCreateListenerTagsRequestBody) String

type BatchCreateListenerTagsRequestBodyAction

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

func (BatchCreateListenerTagsRequestBodyAction) MarshalJSON

func (*BatchCreateListenerTagsRequestBodyAction) UnmarshalJSON

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

func (BatchCreateListenerTagsRequestBodyAction) Value added in v0.0.90

type BatchCreateListenerTagsRequestBodyActionEnum

type BatchCreateListenerTagsRequestBodyActionEnum struct {
	CREATE BatchCreateListenerTagsRequestBodyAction
}

func GetBatchCreateListenerTagsRequestBodyActionEnum

func GetBatchCreateListenerTagsRequestBodyActionEnum() BatchCreateListenerTagsRequestBodyActionEnum

type BatchCreateListenerTagsResponse

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

BatchCreateListenerTagsResponse Response Object

func (BatchCreateListenerTagsResponse) String

type BatchCreateLoadbalancerTagsRequest

type BatchCreateLoadbalancerTagsRequest struct {

	// 负载均衡器ID。
	LoadbalancerId string `json:"loadbalancer_id"`

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

BatchCreateLoadbalancerTagsRequest Request Object

func (BatchCreateLoadbalancerTagsRequest) String

type BatchCreateLoadbalancerTagsRequestBody

type BatchCreateLoadbalancerTagsRequestBody struct {

	// 操作类型。 取值范围:create - 创建标签。
	Action BatchCreateLoadbalancerTagsRequestBodyAction `json:"action"`

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

BatchCreateLoadbalancerTagsRequestBody This is a auto create Body Object

func (BatchCreateLoadbalancerTagsRequestBody) String

type BatchCreateLoadbalancerTagsRequestBodyAction

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

func (BatchCreateLoadbalancerTagsRequestBodyAction) MarshalJSON

func (*BatchCreateLoadbalancerTagsRequestBodyAction) UnmarshalJSON

func (BatchCreateLoadbalancerTagsRequestBodyAction) Value added in v0.0.90

type BatchCreateLoadbalancerTagsRequestBodyActionEnum

type BatchCreateLoadbalancerTagsRequestBodyActionEnum struct {
	CREATE BatchCreateLoadbalancerTagsRequestBodyAction
}

func GetBatchCreateLoadbalancerTagsRequestBodyActionEnum

func GetBatchCreateLoadbalancerTagsRequestBodyActionEnum() BatchCreateLoadbalancerTagsRequestBodyActionEnum

type BatchCreateLoadbalancerTagsResponse

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

BatchCreateLoadbalancerTagsResponse Response Object

func (BatchCreateLoadbalancerTagsResponse) String

type BatchDeleteListenerTagsRequest

type BatchDeleteListenerTagsRequest struct {

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

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

BatchDeleteListenerTagsRequest Request Object

func (BatchDeleteListenerTagsRequest) String

type BatchDeleteListenerTagsRequestBody

type BatchDeleteListenerTagsRequestBody struct {

	// 操作类型。 取值范围:delete- 删除标签。
	Action BatchDeleteListenerTagsRequestBodyAction `json:"action"`

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

BatchDeleteListenerTagsRequestBody This is a auto create Body Object

func (BatchDeleteListenerTagsRequestBody) String

type BatchDeleteListenerTagsRequestBodyAction

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

func (BatchDeleteListenerTagsRequestBodyAction) MarshalJSON

func (*BatchDeleteListenerTagsRequestBodyAction) UnmarshalJSON

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

func (BatchDeleteListenerTagsRequestBodyAction) Value added in v0.0.90

type BatchDeleteListenerTagsRequestBodyActionEnum

type BatchDeleteListenerTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteListenerTagsRequestBodyAction
}

func GetBatchDeleteListenerTagsRequestBodyActionEnum

func GetBatchDeleteListenerTagsRequestBodyActionEnum() BatchDeleteListenerTagsRequestBodyActionEnum

type BatchDeleteListenerTagsResponse

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

BatchDeleteListenerTagsResponse Response Object

func (BatchDeleteListenerTagsResponse) String

type BatchDeleteLoadbalancerTagsRequest

type BatchDeleteLoadbalancerTagsRequest struct {

	// 负载均衡器ID。
	LoadbalancerId string `json:"loadbalancer_id"`

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

BatchDeleteLoadbalancerTagsRequest Request Object

func (BatchDeleteLoadbalancerTagsRequest) String

type BatchDeleteLoadbalancerTagsRequestBody

type BatchDeleteLoadbalancerTagsRequestBody struct {

	// 操作类型。 取值范围:delete - 删除标签。
	Action BatchDeleteLoadbalancerTagsRequestBodyAction `json:"action"`

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

BatchDeleteLoadbalancerTagsRequestBody This is a auto create Body Object

func (BatchDeleteLoadbalancerTagsRequestBody) String

type BatchDeleteLoadbalancerTagsRequestBodyAction

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

func (BatchDeleteLoadbalancerTagsRequestBodyAction) MarshalJSON

func (*BatchDeleteLoadbalancerTagsRequestBodyAction) UnmarshalJSON

func (BatchDeleteLoadbalancerTagsRequestBodyAction) Value added in v0.0.90

type BatchDeleteLoadbalancerTagsRequestBodyActionEnum

type BatchDeleteLoadbalancerTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteLoadbalancerTagsRequestBodyAction
}

func GetBatchDeleteLoadbalancerTagsRequestBodyActionEnum

func GetBatchDeleteLoadbalancerTagsRequestBodyActionEnum() BatchDeleteLoadbalancerTagsRequestBodyActionEnum

type BatchDeleteLoadbalancerTagsResponse

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

BatchDeleteLoadbalancerTagsResponse Response Object

func (BatchDeleteLoadbalancerTagsResponse) String

type CertificateResp

type CertificateResp struct {

	// SSL证书id
	Id string `json:"id"`

	// SSL证书所在的项目ID
	TenantId string `json:"tenant_id"`

	// SSL证书的管理状态;暂不支持
	AdminStateUp bool `json:"admin_state_up"`

	// SSL证书的名称。
	Name string `json:"name"`

	// SSL证书的描述。
	Description string `json:"description"`

	// SSL证书的类型。分为服务器证书(server)和CA证书(client)。
	Type CertificateRespType `json:"type"`

	// 服务器证书所签域名。该字段仅type为server时有效。
	Domain string `json:"domain"`

	// 服务器证书的私钥。仅type为server时有效。type为server时必选。
	PrivateKey string `json:"private_key"`

	// 当type为server时,表示服务器证书的公钥;当type为client时,表示用于认证客户端证书的CA证书。
	Certificate string `json:"certificate"`

	// SSL证书的过期时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	ExpireTime string `json:"expire_time"`

	// SSL证书的创建时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	CreateTime string `json:"create_time"`

	// SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	UpdateTime string `json:"update_time"`
}

CertificateResp 证书信息

func (CertificateResp) String

func (o CertificateResp) String() string

type CertificateRespType

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

func (CertificateRespType) MarshalJSON

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

func (*CertificateRespType) UnmarshalJSON

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

func (CertificateRespType) Value added in v0.0.90

func (c CertificateRespType) Value() string

type CertificateRespTypeEnum

type CertificateRespTypeEnum struct {
	SERVER CertificateRespType
	CLIENT CertificateRespType
}

func GetCertificateRespTypeEnum

func GetCertificateRespTypeEnum() CertificateRespTypeEnum

type CreateCertificateRequest

type CreateCertificateRequest struct {
	Body *CreateCertificateRequestBody `json:"body,omitempty"`
}

CreateCertificateRequest Request Object

func (CreateCertificateRequest) String

func (o CreateCertificateRequest) String() string

type CreateCertificateRequestBody

type CreateCertificateRequestBody struct {

	// 服务端公有密钥证书或者用于认证客户端证书的CA证书,由type字段区分。 格式:证书为PEM格式。
	Certificate string `json:"certificate"`

	// 服务端的私有密钥。 格式:私钥为PEM格式。 该字段仅type为server时有效且为必选。 该字段在type为client时无效。
	PrivateKey *string `json:"private_key,omitempty"`

	// SSL证书的描述信息。支持的最大字符长度:255
	Description *string `json:"description,omitempty"`

	// 服务端证书所签的域名。  取值:总长度为0-1024。  普通域名由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符,只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。  泛域名仅允许首段为\"*\",其他取值限制与普通域名一致。如:*.domain.com,但不能是:*my.domain.com  该字段仅type为server时有效。
	Domain *string `json:"domain,omitempty"`

	// SSL证书的名称。支持的最大字符长度:255
	Name *string `json:"name,omitempty"`

	// SSL证书的管理状态; 取值范围: true/false。 该字段为预留字段,暂未启用。只支持设定为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// SSL证书的类型。默认值:server; 取值范围: server:服务端证书; client:客户端证书;
	Type *string `json:"type,omitempty"`

	// 企业项目ID。  传入all_granted_eps表示查询所有有权限的企业项目资源;\"0\"表示查询默认企业项目资源;或者指定的企业项目ID下的资源。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

CreateCertificateRequestBody This is a auto create Body Object

func (CreateCertificateRequestBody) String

type CreateCertificateResponse

type CreateCertificateResponse struct {

	// SSL证书id
	Id *string `json:"id,omitempty"`

	// SSL证书所在的项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// SSL证书的管理状态;暂不支持
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// SSL证书的名称。
	Name *string `json:"name,omitempty"`

	// SSL证书的描述。
	Description *string `json:"description,omitempty"`

	// SSL证书的类型。分为服务器证书(server)和CA证书(client)。
	Type *CreateCertificateResponseType `json:"type,omitempty"`

	// 服务器证书所签域名。该字段仅type为server时有效。
	Domain *string `json:"domain,omitempty"`

	// 服务器证书的私钥。仅type为server时有效。type为server时必选。
	PrivateKey *string `json:"private_key,omitempty"`

	// 当type为server时,表示服务器证书的公钥;当type为client时,表示用于认证客户端证书的CA证书。
	Certificate *string `json:"certificate,omitempty"`

	// SSL证书的过期时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	ExpireTime *string `json:"expire_time,omitempty"`

	// SSL证书的创建时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	CreateTime *string `json:"create_time,omitempty"`

	// SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateCertificateResponse Response Object

func (CreateCertificateResponse) String

func (o CreateCertificateResponse) String() string

type CreateCertificateResponseType

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

func (CreateCertificateResponseType) MarshalJSON

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

func (*CreateCertificateResponseType) UnmarshalJSON

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

func (CreateCertificateResponseType) Value added in v0.0.90

type CreateCertificateResponseTypeEnum

type CreateCertificateResponseTypeEnum struct {
	SERVER CreateCertificateResponseType
	CLIENT CreateCertificateResponseType
}

func GetCreateCertificateResponseTypeEnum

func GetCreateCertificateResponseTypeEnum() CreateCertificateResponseTypeEnum

type CreateHealthmonitorReq

type CreateHealthmonitorReq struct {

	// 健康检查所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 健康检查名称。
	Name *string `json:"name,omitempty"`

	// 健康检查的管理状态;该字段虽然支持创建、更新,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 健康检查端口号。默认为空,表示使用后端云服务器组的端口。
	MonitorPort *int32 `json:"monitor_port,omitempty"`

	// 健康检查的超时时间。建议该值小于delay的值。
	Timeout int32 `json:"timeout"`

	// 健康检查类型
	Type CreateHealthmonitorReqType `json:"type"`

	// 期望HTTP响应状态码,指定下列值:单值,例如200;列表,例如200,202;区间,例如200-204。仅当type为HTTP时生效。该字段为预留字段,暂未启用。
	ExpectedCodes *string `json:"expected_codes,omitempty"`

	// 功能说明:健康检查测试member健康状态时,发送的http请求的域名。仅当type为HTTP时生效。使用说明:默认为空,表示使用负载均衡器的vip作为http请求的目的地址。以数字或字母开头,只能包含数字、字母、’-’、’.’。
	DomainName *string `json:"domain_name,omitempty"`

	// 健康检查请求的请求路径。以\"/\"开头,默认为\"/\"。 支持使用字母、数字和短划线(-)、正斜线(/)、半角句号(.)、百分号(%)、半角问号(?)、井号(#)和and(&)以及扩展字符集_;~!()*[]@$^:',+  使用说明:当type为HTTP/HTTPS时生效。
	UrlPath *string `json:"url_path,omitempty"`

	// HTTP方法,可以为GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH。仅当type为HTTP时生效。该字段为预留字段,暂未启用。
	HttpMethod *string `json:"http_method,omitempty"`

	// 健康检查间隔
	Delay int32 `json:"delay"`

	// 最大重试次数
	MaxRetries int32 `json:"max_retries"`

	// 健康检查关联的后端云服务器组ID
	PoolId string `json:"pool_id"`
}

CreateHealthmonitorReq 创建健康检查请求

func (CreateHealthmonitorReq) String

func (o CreateHealthmonitorReq) String() string

type CreateHealthmonitorReqType

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

func (CreateHealthmonitorReqType) MarshalJSON

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

func (*CreateHealthmonitorReqType) UnmarshalJSON

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

func (CreateHealthmonitorReqType) Value added in v0.0.90

type CreateHealthmonitorReqTypeEnum

type CreateHealthmonitorReqTypeEnum struct {
	TCP         CreateHealthmonitorReqType
	UDP_CONNECT CreateHealthmonitorReqType
	HTTP        CreateHealthmonitorReqType
}

func GetCreateHealthmonitorReqTypeEnum

func GetCreateHealthmonitorReqTypeEnum() CreateHealthmonitorReqTypeEnum

type CreateHealthmonitorRequest

type CreateHealthmonitorRequest struct {
	Body *CreateHealthmonitorRequestBody `json:"body,omitempty"`
}

CreateHealthmonitorRequest Request Object

func (CreateHealthmonitorRequest) String

type CreateHealthmonitorRequestBody

type CreateHealthmonitorRequestBody struct {
	Healthmonitor *CreateHealthmonitorReq `json:"healthmonitor"`
}

CreateHealthmonitorRequestBody This is a auto create Body Object

func (CreateHealthmonitorRequestBody) String

type CreateHealthmonitorResponse

type CreateHealthmonitorResponse struct {
	Healthmonitor  *HealthmonitorResp `json:"healthmonitor,omitempty"`
	HttpStatusCode int                `json:"-"`
}

CreateHealthmonitorResponse Response Object

func (CreateHealthmonitorResponse) String

type CreateL7policyReq

type CreateL7policyReq struct {

	// 转发策略名称
	Name *string `json:"name,omitempty"`

	// 转发策略的转发动作;取值:REDIRECT_TO_POOL:转发到后端云服务器组;REDIRECT_TO_LISTENER:重定向到监听器
	Action CreateL7policyReqAction `json:"action"`

	// 转发策略所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 转发策略的管理状态;该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 转发策略额描述信息
	Description *string `json:"description,omitempty"`

	// 转发策略对应的监听器ID。当action为REDIRECT_TO_POOL时,只支持创建在PROTOCOL为HTTP或TERMINATED_HTTPS的listener上。 当action为REDIRECT_TO_LISTENER时,只支持创建在PROTOCOL为HTTP的listener上。
	ListenerId string `json:"listener_id"`

	// 转发到pool的ID。转发到pool的ID。当action为REDIRECT_TO_POOL时生效。当action为REDIRECT_TO_POOL时必选
	RedirectPoolId *string `json:"redirect_pool_id,omitempty"`

	// 转发到的listener的ID,当action为REDIRECT_TO_LISTENER时生效。当action为REDIRECT_TO_LISTENER时必选
	RedirectListenerId *string `json:"redirect_listener_id,omitempty"`

	// 转发到的url。该字段未启用。
	RedirectUrl *string `json:"redirect_url,omitempty"`

	// 转发策略的优先级,从1递增,最高100。该字段为预留字段,暂未启用。
	Position *int32 `json:"position,omitempty"`

	// 指定L7rule的参数,可以在创建L7policy的同时创建L7rule
	Rules *[]CreateL7ruleReqInPolicy `json:"rules,omitempty"`
}

CreateL7policyReq 转发策略对象

func (CreateL7policyReq) String

func (o CreateL7policyReq) String() string

type CreateL7policyReqAction

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

func (CreateL7policyReqAction) MarshalJSON

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

func (*CreateL7policyReqAction) UnmarshalJSON

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

func (CreateL7policyReqAction) Value added in v0.0.90

func (c CreateL7policyReqAction) Value() string

type CreateL7policyReqActionEnum

type CreateL7policyReqActionEnum struct {
	REDIRECT_TO_POOL     CreateL7policyReqAction
	REDIRECT_TO_LISTENER CreateL7policyReqAction
}

func GetCreateL7policyReqActionEnum

func GetCreateL7policyReqActionEnum() CreateL7policyReqActionEnum

type CreateL7policyRequest

type CreateL7policyRequest struct {
	Body *CreateL7policyRequestBody `json:"body,omitempty"`
}

CreateL7policyRequest Request Object

func (CreateL7policyRequest) String

func (o CreateL7policyRequest) String() string

type CreateL7policyRequestBody

type CreateL7policyRequestBody struct {
	L7policy *CreateL7policyReq `json:"l7policy"`
}

CreateL7policyRequestBody This is a auto create Body Object

func (CreateL7policyRequestBody) String

func (o CreateL7policyRequestBody) String() string

type CreateL7policyResponse

type CreateL7policyResponse struct {
	L7policy       *L7policyResp `json:"l7policy,omitempty"`
	HttpStatusCode int           `json:"-"`
}

CreateL7policyResponse Response Object

func (CreateL7policyResponse) String

func (o CreateL7policyResponse) String() string

type CreateL7ruleReq

type CreateL7ruleReq struct {

	// 转发规则所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 转发规则的管理状态;该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 转发规则的匹配内容
	Type CreateL7ruleReqType `json:"type"`

	// 转发规则的匹配方式。type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX, STARTS_WITH,EQUAL_TO。
	CompareType string `json:"compare_type"`

	// 匹配内容的键值。目前匹配内容为HOST_NAME和PATH时,该字段不生效。该字段能更新但不会生效。
	Key *string `json:"key,omitempty"`

	// 匹配内容的值。其值不能包含空格。使用说明:当type为HOST_NAME时,取值范围:String(100),字符串只能包含英文字母、数字、“-”或“.”,且必须以字母或数字开头。当type为PATH时,取值范围:String(128)。当转发规则的compare_type为STARTS_WITH,EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:| /()[]{},且必须以\"/\"开头。
	Value string `json:"value"`

	// 是否反向匹配; 取值范围:true/false。默认值:false; 该字段为预留字段,暂未启用。
	Invert *bool `json:"invert,omitempty"`
}

CreateL7ruleReq 创建转发规则的请求体

func (CreateL7ruleReq) String

func (o CreateL7ruleReq) String() string

type CreateL7ruleReqInPolicy

type CreateL7ruleReqInPolicy struct {

	// 转发规则的管理状态;该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 转发规则的匹配内容
	Type CreateL7ruleReqInPolicyType `json:"type"`

	// 转发规则的匹配方式。type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX, STARTS_WITH,EQUAL_TO。
	CompareType string `json:"compare_type"`

	// 匹配内容的键值。目前匹配内容为HOST_NAME和PATH时,该字段不生效。该字段能更新但不会生效。
	Key *string `json:"key,omitempty"`

	// 匹配内容的值。其值不能包含空格。使用说明:当type为HOST_NAME时,取值范围:String(100),字符串只能包含英文字母、数字、“-”或“.”,且必须以字母或数字开头。当type为PATH时,取值范围:String(128)。当转发规则的compare_type为STARTS_WITH,EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:| /()[]{},且必须以\"/\"开头。
	Value string `json:"value"`

	// 是否反向匹配;取值范围:true/false。默认值:false;该字段为预留字段,暂未启用。
	Invert *bool `json:"invert,omitempty"`
}

CreateL7ruleReqInPolicy 创建转发规则的请求体

func (CreateL7ruleReqInPolicy) String

func (o CreateL7ruleReqInPolicy) String() string

type CreateL7ruleReqInPolicyType

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

func (CreateL7ruleReqInPolicyType) MarshalJSON

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

func (*CreateL7ruleReqInPolicyType) UnmarshalJSON

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

func (CreateL7ruleReqInPolicyType) Value added in v0.0.90

type CreateL7ruleReqInPolicyTypeEnum

type CreateL7ruleReqInPolicyTypeEnum struct {
	HOST_NAME CreateL7ruleReqInPolicyType
	PATH      CreateL7ruleReqInPolicyType
}

func GetCreateL7ruleReqInPolicyTypeEnum

func GetCreateL7ruleReqInPolicyTypeEnum() CreateL7ruleReqInPolicyTypeEnum

type CreateL7ruleReqType

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

func (CreateL7ruleReqType) MarshalJSON

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

func (*CreateL7ruleReqType) UnmarshalJSON

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

func (CreateL7ruleReqType) Value added in v0.0.90

func (c CreateL7ruleReqType) Value() string

type CreateL7ruleReqTypeEnum

type CreateL7ruleReqTypeEnum struct {
	HOST_NAME CreateL7ruleReqType
	PATH      CreateL7ruleReqType
}

func GetCreateL7ruleReqTypeEnum

func GetCreateL7ruleReqTypeEnum() CreateL7ruleReqTypeEnum

type CreateL7ruleRequest

type CreateL7ruleRequest struct {

	// 转发策略id
	L7policyId string `json:"l7policy_id"`

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

CreateL7ruleRequest Request Object

func (CreateL7ruleRequest) String

func (o CreateL7ruleRequest) String() string

type CreateL7ruleRequestBody

type CreateL7ruleRequestBody struct {
	Rule *CreateL7ruleReq `json:"rule"`
}

CreateL7ruleRequestBody This is a auto create Body Object

func (CreateL7ruleRequestBody) String

func (o CreateL7ruleRequestBody) String() string

type CreateL7ruleResponse

type CreateL7ruleResponse struct {
	Rule           *L7ruleResp `json:"rule,omitempty"`
	HttpStatusCode int         `json:"-"`
}

CreateL7ruleResponse Response Object

func (CreateL7ruleResponse) String

func (o CreateL7ruleResponse) String() string

type CreateListenerReq

type CreateListenerReq struct {

	// 监听器关联的负载均衡器 ID
	LoadbalancerId string `json:"loadbalancer_id"`

	// 监听器的监听协议
	Protocol CreateListenerReqProtocol `json:"protocol"`

	// 监听器的监听端口。如果监听协议为UDP,端口号不支持4789。
	ProtocolPort int32 `json:"protocol_port"`

	// 监听器所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 监听器名称。
	Name *string `json:"name,omitempty"`

	// 监听器的描述信息
	Description *string `json:"description,omitempty"`

	// 监听器器的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 监听器的最大连接数。该字段为预留字段,暂未启用。默认为-1。
	ConnectionLimit *int32 `json:"connection_limit,omitempty"`

	// HTTP2功能的开启状态。该字段只有当监听器的协议是TERMINATED_HTTPS时才有意义。
	Http2Enable *bool `json:"http2_enable,omitempty"`

	// 监听器的默认后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。当该字段为null时,表示监听器无默认的后端云服务器组。
	DefaultPoolId *string `json:"default_pool_id,omitempty"`

	// 监听器使用的服务器证书ID。当protocol参数为TERMINATED_HTTPS时,为必选字段
	DefaultTlsContainerRef *string `json:"default_tls_container_ref,omitempty"`

	// 监听器使用的CA证书ID。
	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,omitempty"`

	// 监听器使用的SNI证书(带域名的服务器证书)ID的列表,最大支持50个sni证书 该字段不为空列表时,SNI特性开启。该字段为空列表时,SNI特性关闭。
	SniContainerRefs *[]string `json:"sni_container_refs,omitempty"`

	InsertHeaders *InsertHeader `json:"insert_headers,omitempty"`

	// 监听器使用的安全策略,仅对TERMINATED_HTTPS协议类型的监听器有效,且默认值为tls-1-0。  取值包括:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict多种安全策略。
	TlsCiphersPolicy *CreateListenerReqTlsCiphersPolicy `json:"tls_ciphers_policy,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
	ProtectionStatus *CreateListenerReqProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

CreateListenerReq 创建监听器的请求体

func (CreateListenerReq) String

func (o CreateListenerReq) String() string

type CreateListenerReqProtectionStatus added in v0.1.78

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

func (CreateListenerReqProtectionStatus) MarshalJSON added in v0.1.78

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

func (*CreateListenerReqProtectionStatus) UnmarshalJSON added in v0.1.78

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

func (CreateListenerReqProtectionStatus) Value added in v0.1.78

type CreateListenerReqProtectionStatusEnum added in v0.1.78

type CreateListenerReqProtectionStatusEnum struct {
	NON_PROTECTION     CreateListenerReqProtectionStatus
	CONSOLE_PROTECTION CreateListenerReqProtectionStatus
}

func GetCreateListenerReqProtectionStatusEnum added in v0.1.78

func GetCreateListenerReqProtectionStatusEnum() CreateListenerReqProtectionStatusEnum

type CreateListenerReqProtocol

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

func (CreateListenerReqProtocol) MarshalJSON

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

func (*CreateListenerReqProtocol) UnmarshalJSON

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

func (CreateListenerReqProtocol) Value added in v0.0.90

type CreateListenerReqProtocolEnum

type CreateListenerReqProtocolEnum struct {
	UDP              CreateListenerReqProtocol
	TCP              CreateListenerReqProtocol
	HTTP             CreateListenerReqProtocol
	TERMINATED_HTTPS CreateListenerReqProtocol
}

func GetCreateListenerReqProtocolEnum

func GetCreateListenerReqProtocolEnum() CreateListenerReqProtocolEnum

type CreateListenerReqTlsCiphersPolicy

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

func (CreateListenerReqTlsCiphersPolicy) MarshalJSON

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

func (*CreateListenerReqTlsCiphersPolicy) UnmarshalJSON

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

func (CreateListenerReqTlsCiphersPolicy) Value added in v0.0.90

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 *CreateListenerReq `json:"listener"`
}

CreateListenerRequestBody This is a auto create Body Object

func (CreateListenerRequestBody) String

func (o CreateListenerRequestBody) String() string

type CreateListenerResponse

type CreateListenerResponse struct {
	Listener       *ListenerResp `json:"listener,omitempty"`
	HttpStatusCode int           `json:"-"`
}

CreateListenerResponse Response Object

func (CreateListenerResponse) String

func (o CreateListenerResponse) String() string

type CreateListenerTagsRequest

type CreateListenerTagsRequest struct {

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

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

CreateListenerTagsRequest Request Object

func (CreateListenerTagsRequest) String

func (o CreateListenerTagsRequest) String() string

type CreateListenerTagsRequestBody

type CreateListenerTagsRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

CreateListenerTagsRequestBody This is a auto create Body Object

func (CreateListenerTagsRequestBody) String

type CreateListenerTagsResponse

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

CreateListenerTagsResponse Response Object

func (CreateListenerTagsResponse) String

type CreateLoadbalancerReq

type CreateLoadbalancerReq struct {

	// 负载均衡器所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 负载均衡器名称。
	Name *string `json:"name,omitempty"`

	// 负载均衡器的描述信息
	Description *string `json:"description,omitempty"`

	// 负载均衡器所在的子网IPv4子网ID
	VipSubnetId string `json:"vip_subnet_id"`

	// 负载均衡器的虚拟IP。
	VipAddress *string `json:"vip_address,omitempty"`

	// 负载均衡器的供应者名称。只支持vlb
	Provider *CreateLoadbalancerReqProvider `json:"provider,omitempty"`

	// 负载均衡器的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 企业项目ID。创建负载均衡器时,给负载均衡器绑定企业项目ID。取值范围:最大长度36字节,带“-”连字符的UUID格式,或者是字符串“0”。“0”表示默认企业项目。 关于企业项目ID的获取及企业项目特性的详细信息,请参见《企业管理用户指南》。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
	ProtectionStatus *CreateLoadbalancerReqProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

CreateLoadbalancerReq 创建负载均衡器的请求体

func (CreateLoadbalancerReq) String

func (o CreateLoadbalancerReq) String() string

type CreateLoadbalancerReqProtectionStatus added in v0.1.77

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

func (CreateLoadbalancerReqProtectionStatus) MarshalJSON added in v0.1.77

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

func (*CreateLoadbalancerReqProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (CreateLoadbalancerReqProtectionStatus) Value added in v0.1.77

type CreateLoadbalancerReqProtectionStatusEnum added in v0.1.77

type CreateLoadbalancerReqProtectionStatusEnum struct {
	NON_PROTECTION     CreateLoadbalancerReqProtectionStatus
	CONSOLE_PROTECTION CreateLoadbalancerReqProtectionStatus
}

func GetCreateLoadbalancerReqProtectionStatusEnum added in v0.1.77

func GetCreateLoadbalancerReqProtectionStatusEnum() CreateLoadbalancerReqProtectionStatusEnum

type CreateLoadbalancerReqProvider

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

func (CreateLoadbalancerReqProvider) MarshalJSON

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

func (*CreateLoadbalancerReqProvider) UnmarshalJSON

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

func (CreateLoadbalancerReqProvider) Value added in v0.0.90

type CreateLoadbalancerReqProviderEnum

type CreateLoadbalancerReqProviderEnum struct {
	VLB CreateLoadbalancerReqProvider
}

func GetCreateLoadbalancerReqProviderEnum

func GetCreateLoadbalancerReqProviderEnum() CreateLoadbalancerReqProviderEnum

type CreateLoadbalancerRequest

type CreateLoadbalancerRequest struct {
	Body *CreateLoadbalancerRequestBody `json:"body,omitempty"`
}

CreateLoadbalancerRequest Request Object

func (CreateLoadbalancerRequest) String

func (o CreateLoadbalancerRequest) String() string

type CreateLoadbalancerRequestBody

type CreateLoadbalancerRequestBody struct {
	Loadbalancer *CreateLoadbalancerReq `json:"loadbalancer"`
}

CreateLoadbalancerRequestBody This is a auto create Body Object

func (CreateLoadbalancerRequestBody) String

type CreateLoadbalancerResponse

type CreateLoadbalancerResponse struct {
	Loadbalancer *LoadbalancerResp `json:"loadbalancer,omitempty"`

	// 订单号[(包周期场景返回该字段)](tag:hws)
	OrderId *string `json:"order_id,omitempty"`

	// 负载均衡器的ID[(包周期场景返回该字段)](tag:hws)
	LoadbalancerId *string `json:"loadbalancer_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateLoadbalancerResponse Response Object

func (CreateLoadbalancerResponse) String

type CreateLoadbalancerTagsRequest

type CreateLoadbalancerTagsRequest struct {

	// 负载均衡器ID
	LoadbalancerId string `json:"loadbalancer_id"`

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

CreateLoadbalancerTagsRequest Request Object

func (CreateLoadbalancerTagsRequest) String

type CreateLoadbalancerTagsRequestBody

type CreateLoadbalancerTagsRequestBody struct {
	Tag *ResourceTag `json:"tag"`
}

CreateLoadbalancerTagsRequestBody This is a auto create Body Object

func (CreateLoadbalancerTagsRequestBody) String

type CreateLoadbalancerTagsResponse

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

CreateLoadbalancerTagsResponse Response Object

func (CreateLoadbalancerTagsResponse) String

type CreateMemberReq

type CreateMemberReq struct {

	// 后端云服务器所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 后端云服务器名称。
	Name *string `json:"name,omitempty"`

	// 后端云服务器的管理状态;该字段虽然支持创建、更新,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 后端端口和协议号
	ProtocolPort int32 `json:"protocol_port"`

	// 后端云服务器所在的子网ID。该子网和后端云服务器关联的负载均衡器的子网必须在同一VPC下。只支持指定IPv4的子网ID。暂不支持IPv6。
	SubnetId string `json:"subnet_id"`

	// 后端云服务器的对应的IP地址,这个IP必须在subnet_id字段的子网网段中。例如:192.168.3.11。只能指定为主网卡的IP。
	Address string `json:"address"`

	// 后端云服务器的权重,请求按权重在同一后端云服务器组下的后端云服务器间分发。权重为0的后端不再接受新的请求。当后端云服务器所在的后端云服务器组的lb_algorithm的取值为SOURCE_IP时,该字段无效。
	Weight *int32 `json:"weight,omitempty"`
}

CreateMemberReq 创建后端云服务器的请求体

func (CreateMemberReq) String

func (o CreateMemberReq) String() string

type CreateMemberRequest

type CreateMemberRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`

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

CreateMemberRequest Request Object

func (CreateMemberRequest) String

func (o CreateMemberRequest) String() string

type CreateMemberRequestBody

type CreateMemberRequestBody struct {
	Member *CreateMemberReq `json:"member"`
}

CreateMemberRequestBody This is a auto create Body Object

func (CreateMemberRequestBody) String

func (o CreateMemberRequestBody) String() string

type CreateMemberResponse

type CreateMemberResponse struct {
	Member         *MemberResp `json:"member,omitempty"`
	HttpStatusCode int         `json:"-"`
}

CreateMemberResponse Response Object

func (CreateMemberResponse) String

func (o CreateMemberResponse) String() string

type CreatePoolReq

type CreatePoolReq struct {

	// 后端云服务器组的后端协议。取值:UDP、TCP、HTTP。当指定istener_id创建后端云服务器组时,后端云服务器组的protocol和它关联的监听器的protocol有如下关系:监听器的protocol为TCP时,后端云服务器组的protocol必须为TCP。监听器的protocol为UDP时,后端云服务器组的protocol必须为UDP。监听器的protocol为HTTP或TERMINATED_HTTPS时,后端云服务器组的protocol必须为HTTP。
	Protocol CreatePoolReqProtocol `json:"protocol"`

	// 后端云服务器组的负载均衡算法,取值:ROUND_ROBIN:加权轮询算法;LEAST_CONNECTIONS:加权最少连接算法;SOURCE_IP:源IP算法;当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。
	LbAlgorithm string `json:"lb_algorithm"`

	// 后端云服务器组关联的负载均衡器ID。listener_id和loadbalancer_id中至少指定一个。
	LoadbalancerId *string `json:"loadbalancer_id,omitempty"`

	// 后端云服务器组关联的监听器的ID。listener_id和loadbalancer_id中至少指定一个。
	ListenerId *string `json:"listener_id,omitempty"`

	// 后端云服务器组所在的项目ID。
	TenantId *string `json:"tenant_id,omitempty"`

	// 后端云服务器组的名称。
	Name *string `json:"name,omitempty"`

	// 后端云服务器组的描述信息
	Description *string `json:"description,omitempty"`

	// 后端云服务器组的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	SessionPersistence *SessionPersistence `json:"session_persistence,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
	ProtectionStatus *CreatePoolReqProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

CreatePoolReq 创建后端云服务器组的请求体

func (CreatePoolReq) String

func (o CreatePoolReq) String() string

type CreatePoolReqProtectionStatus added in v0.1.77

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

func (CreatePoolReqProtectionStatus) MarshalJSON added in v0.1.77

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

func (*CreatePoolReqProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (CreatePoolReqProtectionStatus) Value added in v0.1.77

type CreatePoolReqProtectionStatusEnum added in v0.1.77

type CreatePoolReqProtectionStatusEnum struct {
	NON_PROTECTION     CreatePoolReqProtectionStatus
	CONSOLE_PROTECTION CreatePoolReqProtectionStatus
}

func GetCreatePoolReqProtectionStatusEnum added in v0.1.77

func GetCreatePoolReqProtectionStatusEnum() CreatePoolReqProtectionStatusEnum

type CreatePoolReqProtocol

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

func (CreatePoolReqProtocol) MarshalJSON

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

func (*CreatePoolReqProtocol) UnmarshalJSON

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

func (CreatePoolReqProtocol) Value added in v0.0.90

func (c CreatePoolReqProtocol) Value() string

type CreatePoolReqProtocolEnum

type CreatePoolReqProtocolEnum struct {
	UDP  CreatePoolReqProtocol
	TCP  CreatePoolReqProtocol
	HTTP CreatePoolReqProtocol
}

func GetCreatePoolReqProtocolEnum

func GetCreatePoolReqProtocolEnum() CreatePoolReqProtocolEnum

type CreatePoolRequest

type CreatePoolRequest struct {
	Body *CreatePoolRequestBody `json:"body,omitempty"`
}

CreatePoolRequest Request Object

func (CreatePoolRequest) String

func (o CreatePoolRequest) String() string

type CreatePoolRequestBody

type CreatePoolRequestBody struct {
	Pool *CreatePoolReq `json:"pool"`
}

CreatePoolRequestBody This is a auto create Body Object

func (CreatePoolRequestBody) String

func (o CreatePoolRequestBody) String() string

type CreatePoolResponse

type CreatePoolResponse struct {
	Pool           *PoolResp `json:"pool,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreatePoolResponse Response Object

func (CreatePoolResponse) String

func (o CreatePoolResponse) String() string

type CreateWhitelistReq

type CreateWhitelistReq struct {

	// 白名单所在的项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// 白名单关联的监听器ID
	ListenerId string `json:"listener_id"`

	// 是否开启白名单访问控制开关。true:开启;false:关闭
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 白名单IP列表。可以是ip,例如192.168.10.123。也可以是一个网段,例如192.168.10.1/24。不同的值之间用逗号分隔。 不传,默认为空。
	Whitelist *string `json:"whitelist,omitempty"`
}

CreateWhitelistReq

func (CreateWhitelistReq) String

func (o CreateWhitelistReq) String() string

type CreateWhitelistRequest

type CreateWhitelistRequest struct {
	Body *CreateWhitelistRequestBody `json:"body,omitempty"`
}

CreateWhitelistRequest Request Object

func (CreateWhitelistRequest) String

func (o CreateWhitelistRequest) String() string

type CreateWhitelistRequestBody

type CreateWhitelistRequestBody struct {
	Whitelist *CreateWhitelistReq `json:"whitelist"`
}

CreateWhitelistRequestBody This is a auto create Body Object

func (CreateWhitelistRequestBody) String

type CreateWhitelistResponse

type CreateWhitelistResponse struct {
	Whitelist      *WhitelistResp `json:"whitelist,omitempty"`
	HttpStatusCode int            `json:"-"`
}

CreateWhitelistResponse Response Object

func (CreateWhitelistResponse) String

func (o CreateWhitelistResponse) String() string

type DeleteCertificateRequest

type DeleteCertificateRequest struct {

	// SSL证书ID
	CertificateId string `json:"certificate_id"`
}

DeleteCertificateRequest Request Object

func (DeleteCertificateRequest) String

func (o DeleteCertificateRequest) String() string

type DeleteCertificateResponse

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

DeleteCertificateResponse Response Object

func (DeleteCertificateResponse) String

func (o DeleteCertificateResponse) String() string

type DeleteHealthmonitorRequest

type DeleteHealthmonitorRequest struct {

	// 健康检查id
	HealthmonitorId string `json:"healthmonitor_id"`
}

DeleteHealthmonitorRequest Request Object

func (DeleteHealthmonitorRequest) String

type DeleteHealthmonitorResponse

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

DeleteHealthmonitorResponse Response Object

func (DeleteHealthmonitorResponse) String

type DeleteL7policyRequest

type DeleteL7policyRequest struct {

	// 转发策略id
	L7policyId string `json:"l7policy_id"`
}

DeleteL7policyRequest Request Object

func (DeleteL7policyRequest) String

func (o DeleteL7policyRequest) String() string

type DeleteL7policyResponse

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

DeleteL7policyResponse Response Object

func (DeleteL7policyResponse) String

func (o DeleteL7policyResponse) String() string

type DeleteL7ruleRequest

type DeleteL7ruleRequest struct {

	// 转发策略id
	L7policyId string `json:"l7policy_id"`

	// 转发规则id
	L7ruleId string `json:"l7rule_id"`
}

DeleteL7ruleRequest Request Object

func (DeleteL7ruleRequest) String

func (o DeleteL7ruleRequest) String() string

type DeleteL7ruleResponse

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

DeleteL7ruleResponse Response Object

func (DeleteL7ruleResponse) String

func (o DeleteL7ruleResponse) 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 DeleteListenerTagsRequest

type DeleteListenerTagsRequest struct {

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

	// 待删除标签的key值。
	Key string `json:"key"`
}

DeleteListenerTagsRequest Request Object

func (DeleteListenerTagsRequest) String

func (o DeleteListenerTagsRequest) String() string

type DeleteListenerTagsResponse

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

DeleteListenerTagsResponse Response Object

func (DeleteListenerTagsResponse) String

type DeleteLoadbalancerRequest

type DeleteLoadbalancerRequest struct {

	// 负载均衡器id
	LoadbalancerId string `json:"loadbalancer_id"`
}

DeleteLoadbalancerRequest Request Object

func (DeleteLoadbalancerRequest) String

func (o DeleteLoadbalancerRequest) String() string

type DeleteLoadbalancerResponse

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

DeleteLoadbalancerResponse Response Object

func (DeleteLoadbalancerResponse) String

type DeleteLoadbalancerTagsRequest

type DeleteLoadbalancerTagsRequest struct {

	// 负载均衡器ID。
	LoadbalancerId string `json:"loadbalancer_id"`

	// 待删除标签的key值
	Key string `json:"key"`
}

DeleteLoadbalancerTagsRequest Request Object

func (DeleteLoadbalancerTagsRequest) String

type DeleteLoadbalancerTagsResponse

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

DeleteLoadbalancerTagsResponse Response Object

func (DeleteLoadbalancerTagsResponse) String

type DeleteMemberRequest

type DeleteMemberRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`

	// 后端云服务器id
	MemberId string `json:"member_id"`
}

DeleteMemberRequest Request Object

func (DeleteMemberRequest) String

func (o DeleteMemberRequest) String() string

type DeleteMemberResponse

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

DeleteMemberResponse Response Object

func (DeleteMemberResponse) String

func (o DeleteMemberResponse) String() string

type DeletePoolRequest

type DeletePoolRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`
}

DeletePoolRequest Request Object

func (DeletePoolRequest) String

func (o DeletePoolRequest) String() string

type DeletePoolResponse

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

DeletePoolResponse Response Object

func (DeletePoolResponse) String

func (o DeletePoolResponse) String() string

type DeleteWhitelistRequest

type DeleteWhitelistRequest struct {

	// 白名单id
	WhitelistId string `json:"whitelist_id"`
}

DeleteWhitelistRequest Request Object

func (DeleteWhitelistRequest) String

func (o DeleteWhitelistRequest) String() string

type DeleteWhitelistResponse

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

DeleteWhitelistResponse Response Object

func (DeleteWhitelistResponse) String

func (o DeleteWhitelistResponse) String() string

type HealthmonitorResp

type HealthmonitorResp struct {

	// 健康检查ID
	Id string `json:"id"`

	// 健康检查所在的项目ID。
	ProjectId string `json:"project_id"`

	// 健康检查所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 健康检查名称。
	Name string `json:"name"`

	// 健康检查的管理状态;该字段虽然支持创建、更新,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
	AdminStateUp bool `json:"admin_state_up"`

	// 健康检查端口号。默认为空,表示使用后端云服务器组的端口。
	MonitorPort int32 `json:"monitor_port"`

	// 健康检查的超时时间。建议该值小于delay的值。
	Timeout int32 `json:"timeout"`

	// 健康检查类型
	Type HealthmonitorRespType `json:"type"`

	// 期望HTTP响应状态码,指定下列值:单值,例如200;列表,例如200,202;区间,例如200-204。仅当type为HTTP时生效。该字段为预留字段,暂未启用。
	ExpectedCodes string `json:"expected_codes"`

	// 功能说明:健康检查测试member健康状态时,发送的http请求的域名。仅当type为HTTP时生效。使用说明:默认为空,表示使用负载均衡器的vip作为http请求的目的地址。以数字或字母开头,只能包含数字、字母、’-’、’.’。
	DomainName string `json:"domain_name"`

	// 健康检查请求的请求路径。以\"/\"开头,默认为\"/\"。 支持使用字母、数字和短划线(-)、正斜线(/)、半角句号(.)、百分号(%)、半角问号(?)、井号(#)和and(&)以及扩展字符集_;~!()*[]@$^:',+  使用说明:当type为HTTP/HTTPS时生效。
	UrlPath string `json:"url_path"`

	// HTTP方法,可以为GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH。仅当type为HTTP时生效。该字段为预留字段,暂未启用。
	HttpMethod string `json:"http_method"`

	// 健康检查间隔,单位秒
	Delay int32 `json:"delay"`

	// 最大重试次数
	MaxRetries int32 `json:"max_retries"`

	// 健康检查关联的后端云服务器组列表
	Pools []ResourceList `json:"pools"`

	// 健康检查连续失败多少次后,将后端服务器的健康检查状态由ONLINE判定为OFFLINE。取值范围:1-10。
	MaxRetriesDown int32 `json:"max_retries_down"`
}

HealthmonitorResp 健康检查响应体

func (HealthmonitorResp) String

func (o HealthmonitorResp) String() string

type HealthmonitorRespType

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

func (HealthmonitorRespType) MarshalJSON

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

func (*HealthmonitorRespType) UnmarshalJSON

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

func (HealthmonitorRespType) Value added in v0.0.90

func (c HealthmonitorRespType) Value() string

type HealthmonitorRespTypeEnum

type HealthmonitorRespTypeEnum struct {
	TCP         HealthmonitorRespType
	UDP_CONNECT HealthmonitorRespType
	HTTP        HealthmonitorRespType
}

func GetHealthmonitorRespTypeEnum

func GetHealthmonitorRespTypeEnum() HealthmonitorRespTypeEnum

type HealthmonitorsInStatusResp

type HealthmonitorsInStatusResp struct {

	// 健康检查ID
	Id string `json:"id"`

	// 健康检查名称
	Name string `json:"name"`

	// 健康检查类型
	Type HealthmonitorsInStatusRespType `json:"type"`

	// 健康检查的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`
}

HealthmonitorsInStatusResp 健康检查对象,用于状态树中

func (HealthmonitorsInStatusResp) String

type HealthmonitorsInStatusRespType

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

func (HealthmonitorsInStatusRespType) MarshalJSON

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

func (*HealthmonitorsInStatusRespType) UnmarshalJSON

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

func (HealthmonitorsInStatusRespType) Value added in v0.0.90

type HealthmonitorsInStatusRespTypeEnum

type HealthmonitorsInStatusRespTypeEnum struct {
	UDP_CONNECT HealthmonitorsInStatusRespType
	TCP         HealthmonitorsInStatusRespType
	HTTP        HealthmonitorsInStatusRespType
}

func GetHealthmonitorsInStatusRespTypeEnum

func GetHealthmonitorsInStatusRespTypeEnum() HealthmonitorsInStatusRespTypeEnum

type InsertHeader

type InsertHeader struct {

	// 负载均衡器弹性公网IP透传开关。
	XForwardedELBIP *bool `json:"X-Forwarded-ELB-IP,omitempty"`

	// X-Forwarded-Host设为true可以将客户请求头的第一个X-Forwarded-Host设置为请求头的Host带到后端云服务器。
	XForwardedHost *bool `json:"X-Forwarded-Host,omitempty"`
}

InsertHeader 监听器HTTP扩展头部对象。

func (InsertHeader) String

func (o InsertHeader) String() string

type L7policiesInStatusResp

type L7policiesInStatusResp struct {

	// 转发策略ID
	Id string `json:"id"`

	// 转发策略名称
	Name string `json:"name"`

	// 转发策略关联的转发规则列表
	Rules []L7rulesInStatusResp `json:"rules"`

	// 转发策略的转发动作;取值:REDIRECT_TO_POOL:转发到后端云服务器组;REDIRECT_TO_LISTENER:重定向到监听器
	Action L7policiesInStatusRespAction `json:"action"`

	// 健康检查的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`
}

L7policiesInStatusResp 转发策略对象,用于状态树

func (L7policiesInStatusResp) String

func (o L7policiesInStatusResp) String() string

type L7policiesInStatusRespAction

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

func (L7policiesInStatusRespAction) MarshalJSON

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

func (*L7policiesInStatusRespAction) UnmarshalJSON

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

func (L7policiesInStatusRespAction) Value added in v0.0.90

type L7policiesInStatusRespActionEnum

type L7policiesInStatusRespActionEnum struct {
	REDIRECT_TO_POOL     L7policiesInStatusRespAction
	REDIRECT_TO_LISTENER L7policiesInStatusRespAction
}

func GetL7policiesInStatusRespActionEnum

func GetL7policiesInStatusRespActionEnum() L7policiesInStatusRespActionEnum

type L7policyResp

type L7policyResp struct {

	// 转发策略ID
	Id string `json:"id"`

	// 转发策略名称
	Name string `json:"name"`

	// 转发策略关联的转发规则列表
	Rules []ResourceList `json:"rules"`

	// 转发策略的转发动作;取值:REDIRECT_TO_POOL:转发到后端云服务器组;REDIRECT_TO_LISTENER:重定向到监听器
	Action L7policyRespAction `json:"action"`

	// 健康检查的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`

	// 转发策略所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 转发策略所在的项目ID。
	ProjectId string `json:"project_id"`

	// 转发策略的管理状态;该字段为预留字段,暂未启用。默认为true。
	AdminStateUp bool `json:"admin_state_up"`

	// 转发策略额描述信息
	Description string `json:"description"`

	// 转发策略对应的监听器ID
	ListenerId string `json:"listener_id"`

	// 转发到pool的ID。转发到pool的ID。当action为REDIRECT_TO_POOL时生效。
	RedirectPoolId string `json:"redirect_pool_id"`

	// 转发到的listener的ID,当action为REDIRECT_TO_LISTENER时生效。
	RedirectListenerId string `json:"redirect_listener_id"`

	// 转发到的url。该字段未启用。
	RedirectUrl string `json:"redirect_url"`

	// 转发策略的优先级,从1递增,最高100。该字段为预留字段,暂未启用。
	Position int32 `json:"position"`
}

L7policyResp 转发策略对象

func (L7policyResp) String

func (o L7policyResp) String() string

type L7policyRespAction

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

func (L7policyRespAction) MarshalJSON

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

func (*L7policyRespAction) UnmarshalJSON

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

func (L7policyRespAction) Value added in v0.0.90

func (c L7policyRespAction) Value() string

type L7policyRespActionEnum

type L7policyRespActionEnum struct {
	REDIRECT_TO_POOL     L7policyRespAction
	REDIRECT_TO_LISTENER L7policyRespAction
}

func GetL7policyRespActionEnum

func GetL7policyRespActionEnum() L7policyRespActionEnum

type L7ruleResp

type L7ruleResp struct {

	// 转发规则ID
	Id string `json:"id"`

	// 转发规则的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`

	// 转发规则所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 转发规则所在的项目ID。
	ProjectId string `json:"project_id"`

	// 转发规则的管理状态;该字段为预留字段,暂未启用。默认为true。
	AdminStateUp bool `json:"admin_state_up"`

	// 转发规则的匹配内容
	Type L7ruleRespType `json:"type"`

	// 转发规则的匹配方式。type为HOST_NAME时可以为EQUAL_TO。type为PATH时可以为REGEX, STARTS_WITH,EQUAL_TO。
	CompareType string `json:"compare_type"`

	// 是否反向匹配。使用说明:固定为false。该字段能更新但不会生效。
	Invert bool `json:"invert"`

	// 匹配内容的键值。目前匹配内容为HOST_NAME和PATH时,该字段不生效。该字段能更新但不会生效。
	Key string `json:"key"`

	// 匹配内容的值。其值不能包含空格。使用说明:当type为HOST_NAME时,取值范围:String(100),字符串只能包含英文字母、数字、“-”或“.”,且必须以字母或数字开头。当type为PATH时,取值范围:String(128)。当转发规则的compare_type为STARTS_WITH,EQUAL_TO时,字符串只能包含英文字母、数字、^-%#&$.*+?,=!:| /()[]{},且必须以\"/\"开头。
	Value string `json:"value"`
}

L7ruleResp 转发规则对象

func (L7ruleResp) String

func (o L7ruleResp) String() string

type L7ruleRespType

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

func (L7ruleRespType) MarshalJSON

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

func (*L7ruleRespType) UnmarshalJSON

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

func (L7ruleRespType) Value added in v0.0.90

func (c L7ruleRespType) Value() string

type L7ruleRespTypeEnum

type L7ruleRespTypeEnum struct {
	HOST_NAME L7ruleRespType
	PATH      L7ruleRespType
}

func GetL7ruleRespTypeEnum

func GetL7ruleRespTypeEnum() L7ruleRespTypeEnum

type L7rulesInStatusResp

type L7rulesInStatusResp struct {

	// 转发规则的匹配内容。PATH:匹配请求中的路径;HOST_NAME:匹配请求中的域名
	Type L7rulesInStatusRespType `json:"type"`

	// 转发规则ID
	Id string `json:"id"`

	// 转发规则的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`
}

L7rulesInStatusResp 转发规则对象,用于状态树中

func (L7rulesInStatusResp) String

func (o L7rulesInStatusResp) String() string

type L7rulesInStatusRespType

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

func (L7rulesInStatusRespType) MarshalJSON

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

func (*L7rulesInStatusRespType) UnmarshalJSON

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

func (L7rulesInStatusRespType) Value added in v0.0.90

func (c L7rulesInStatusRespType) Value() string

type L7rulesInStatusRespTypeEnum

type L7rulesInStatusRespTypeEnum struct {
	PATH      L7rulesInStatusRespType
	HOST_NAME L7rulesInStatusRespType
}

func GetL7rulesInStatusRespTypeEnum

func GetL7rulesInStatusRespTypeEnum() L7rulesInStatusRespTypeEnum

type ListCertificatesRequest

type ListCertificatesRequest struct {

	// 每页返回的个数。 取值范围:0~intmax。
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询起始的证书id,为空时为查询第一页。 仅当和limit一起使用时生效
	Marker *string `json:"marker,omitempty"`

	// 分页的顺序,true表示从后往前分页,false表示从前往后分页,默认为false。 仅当和limit一起使用时生效。
	PageReverse *string `json:"page_reverse,omitempty"`

	// SSL证书ID。
	Id *string `json:"id,omitempty"`

	// SSL证书的名称。
	Name *string `json:"name,omitempty"`

	// 证书描述SSL证书描述。
	Description *string `json:"description,omitempty"`

	// SSL证书的类型。默认值:server;取值范围:server:服务端证书;client:客户端证书;
	Type *string `json:"type,omitempty"`

	// 服务端证书所签的域名。 取值:总长度为0-1024。  普通域名由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符,只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。  泛域名仅允许首段为\"*\",其他取值限制与普通域名一致。如:*.domain.com,但不能是:*my.domain.com   该字段仅type为server时有效。
	Domain *string `json:"domain,omitempty"`

	// PEM格式的服务端私有密钥。
	PrivateKey *string `json:"private_key,omitempty"`

	// PEM格式的服务端公有密钥或者用于认证客户端证书的CA证书,由type字段区分。
	Certificate *string `json:"certificate,omitempty"`
}

ListCertificatesRequest Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {

	// SSL证书列表对象
	Certificates *[]CertificateResp `json:"certificates,omitempty"`

	// 证书的个数
	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListCertificatesResponse Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListHealthmonitorsRequest

type ListHealthmonitorsRequest struct {

	// 分页查询中每页的健康检查个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的健康检查的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

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

	// 健康检查名称。
	Name *string `json:"name,omitempty"`

	// 健康检查间隔,单位秒,取值范围[1,50]。
	Delay *int32 `json:"delay,omitempty"`

	// 健康检查最大重试次数,取值范围[1,10]。
	MaxRetries *int32 `json:"max_retries,omitempty"`

	// 健康检查的管理状态。取值范围:true/false。默认为true;true表示开启健康检查;false表示关闭健康检查。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 健康检查超时时间,单位秒,取值范围[1,50]。 建议该值小于delay的值。
	Timeout *int32 `json:"timeout,omitempty"`

	// 健康检查的类型。取值范围:TCP、UDP_CONNECT、HTTP。
	Type *string `json:"type,omitempty"`

	// 健康检查端口号]。默认为空,表示使用后端云服务器的protocol_port作为健康检查的检查端口。
	MonitorPort *int32 `json:"monitor_port,omitempty"`

	// 期望HTTP响应状态码;默认值:“200”。取值范围:单值,例如200;列表,例如200,202;区间,例如200-204。仅当type为HTTP时生效。 该字段为预留字段,暂未启用。
	ExpectedCodes *string `json:"expected_codes,omitempty"`

	// 健康检查时,发送的http请求的域名。仅当type为HTTP时生效。默认为空,表示使用负载均衡器的vip_address作为http请求的目的地址。以数字或字母开头,只能包含数字、字母、’-’、’.’。例如:www.huaweitest.com
	DomainName *string `json:"domain_name,omitempty"`

	// 健康检查时发送的http请求路径。默认为“/”。以“/”开头。仅当type为HTTP时生效。例如:“/test”
	UrlPath *string `json:"url_path,omitempty"`

	// HTTP请求的方法;默认值:GET取值范围:GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH。仅当type为HTTP时生效。
	HttpMethod *string `json:"http_method,omitempty"`
}

ListHealthmonitorsRequest Request Object

func (ListHealthmonitorsRequest) String

func (o ListHealthmonitorsRequest) String() string

type ListHealthmonitorsResponse

type ListHealthmonitorsResponse struct {

	// 健康检查对象的列表
	Healthmonitors *[]HealthmonitorResp `json:"healthmonitors,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ListHealthmonitorsResponse Response Object

func (ListHealthmonitorsResponse) String

type ListL7policiesRequest

type ListL7policiesRequest struct {

	// 分页查询中每页的转发策略个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的转发策略的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

	// 转发策略ID。
	Id *string `json:"id,omitempty"`

	// 转发策略名称。
	Name *string `json:"name,omitempty"`

	// 转发策略的描述信息。
	Description *string `json:"description,omitempty"`

	// 转发策略的管理状态;取值范围: true/false。该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 转发策略所在的监听器ID。
	ListenerId *string `json:"listener_id,omitempty"`

	// 转发策略的匹配动作。 取值范围:REDIRECT_TO_POOL:将匹配的流量转发到redirect_pool_id指定的后端云服务器组上;REDIRECT_TO_LISTENER:将listener_id指定的HTTP监听器的流量重定向到redirect_listener_id指定的TERMINATED_HTTPS监听器上。
	Action *string `json:"action,omitempty"`

	// 流量匹配后转发到后端云服务器组的ID。
	RedirectPoolId *string `json:"redirect_pool_id,omitempty"`

	// 流量匹配后转发到的监听器的ID。
	RedirectListenerId *string `json:"redirect_listener_id,omitempty"`

	// 转发策略重定向到的url。该字段为预留字段,暂未启用。
	RedirectUrl *string `json:"redirect_url,omitempty"`

	// 转发优先级,从1递增,最高100。默认值:100;该字段为预留字段,暂未启用。
	Position *int32 `json:"position,omitempty"`

	// 转发策略的配置状态,可以为ACTIVE、PENDING_CREATE 或者ERROR。默认值:ACTIVE;该字段为预留字段,暂未启用。
	ProvisioningStatus *string `json:"provisioning_status,omitempty"`

	// 企业项目ID。  传入all_granted_eps表示查询所有有权限的企业项目资源;\"0\"表示查询默认企业项目资源;或者指定的企业项目ID下的资源。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 是否显示所有的rule信息。取值范围:false表示不显示(跟以前一样只显示ID);true表示显示。
	DisplayAllRules *bool `json:"display_all_rules,omitempty"`
}

ListL7policiesRequest Request Object

func (ListL7policiesRequest) String

func (o ListL7policiesRequest) String() string

type ListL7policiesResponse

type ListL7policiesResponse struct {

	// 转发策略对象的列表
	L7policies     *[]L7policyResp `json:"l7policies,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListL7policiesResponse Response Object

func (ListL7policiesResponse) String

func (o ListL7policiesResponse) String() string

type ListL7rulesRequest

type ListL7rulesRequest struct {

	// 分页查询中每页的转发规则个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的转发规则的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

	// 转发策略id
	L7policyId string `json:"l7policy_id"`

	// 转发规则ID。
	Id *string `json:"id,omitempty"`

	// 转发规则的管理状态;取值范围: true/false。该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 转发规则的匹配类型。取值范围:HOST_NAME:匹配请求中的域名;PATH:匹配请求中的路径;同一个转发策略下转发规则的type不能重复。
	Type *string `json:"type,omitempty"`

	// 转发匹配方式: type为HOST_NAME时,取值范围:EQUAL_TO:精确匹配; type为PATH时,取值范围:REGEX:正则匹配;STARTS_WITH:前缀匹配;EQUAL_TO:精确匹配。
	CompareType *string `json:"compare_type,omitempty"`

	// 是否反向匹配;取值范围:true/false。默认值:false;该字段为预留字段,暂未启用。
	Invert *bool `json:"invert,omitempty"`

	// 匹配内容的键值。默认为null。该字段为预留字段,暂未启用。
	Key *string `json:"key,omitempty"`

	// 匹配内容的值。 当type为HOST_NAME时,取值范围:String (100),字符串只能包含英文字母、数字、“-”或“.”,且必须以字母或数字开头。 当type为PATH时,取值范围:String (128)。当转发规则的compare_type为STARTS_WITH、EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:| /()[]{},且必须以\"/\"开头。
	Value *string `json:"value,omitempty"`

	// 转发规则的配置状态,可以为ACTIVE、PENDING_CREATE 或者ERROR。默认值:ACTIVE;该字段为预留字段,暂未启用。
	ProvisioningStatus *string `json:"provisioning_status,omitempty"`
}

ListL7rulesRequest Request Object

func (ListL7rulesRequest) String

func (o ListL7rulesRequest) String() string

type ListL7rulesResponse

type ListL7rulesResponse struct {

	// 转发规则对象的列表
	Rules          *[]L7ruleResp `json:"rules,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListL7rulesResponse Response Object

func (ListL7rulesResponse) String

func (o ListL7rulesResponse) String() string

type ListListenerTagsRequest

type ListListenerTagsRequest struct {
}

ListListenerTagsRequest Request Object

func (ListListenerTagsRequest) String

func (o ListListenerTagsRequest) String() string

type ListListenerTagsResponse

type ListListenerTagsResponse struct {

	// 标签列表
	Tags           *[]ListTag `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListListenerTagsResponse Response Object

func (ListListenerTagsResponse) String

func (o ListListenerTagsResponse) String() string

type ListListenersByTagsRequest

type ListListenersByTagsRequest struct {
	Body *ListListenersByTagsRequestBody `json:"body,omitempty"`
}

ListListenersByTagsRequest Request Object

func (ListListenersByTagsRequest) String

type ListListenersByTagsRequestBody

type ListListenersByTagsRequestBody struct {

	// 分页起始。
	Offset *int32 `json:"offset,omitempty"`

	// 分页大小。
	Limit *int32 `json:"limit,omitempty"`

	// 操作标识(仅限于filter,count): filter(过滤),如果是filter就是分页查询 count(查询总条数),按照条件将总条数返回。
	Action string `json:"action"`

	// 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。key为固定字典值。根据不同的字段确认是否需要模糊匹配,如resource_name默认为模糊搜索,如果value为空字符串精确匹配。key如果是resource_id则精确匹配。
	Matches *[]ActionMatch `json:"matches,omitempty"`

	// 要搜索的标签值
	Tags *[]ActionTag `json:"tags,omitempty"`
}

ListListenersByTagsRequestBody This is a auto create Body Object

func (ListListenersByTagsRequestBody) String

type ListListenersByTagsResponse

type ListListenersByTagsResponse struct {

	// 总记录数。当resources为空时,表示名称为matches字段中指定的value的资源个数;resources不为空时,表示和tags字段匹配的资源的个数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 根据tag查询出的资源对象。 当请求中的action为filters,返回体中有该字段。 当请求中的action为count时,返回体中无该字段。
	Resources      *[]ResourcesByTag `json:"resources,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListListenersByTagsResponse Response Object

func (ListListenersByTagsResponse) String

type ListListenersRequest

type ListListenersRequest struct {

	// 分页查询中每页的监听器个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的监听器的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

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

	// 监听器名称。
	Name *string `json:"name,omitempty"`

	// 监听器的描述信息。
	Description *string `json:"description,omitempty"`

	// 监听器所在的负载均衡器ID。
	LoadbalancerId *string `json:"loadbalancer_id,omitempty"`

	// 监听器的最大连接数。
	ConnectionLimit *int32 `json:"connection_limit,omitempty"`

	// 监听器的管理状态。该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 监听器的默认后端云服务器组ID。
	DefaultPoolId *string `json:"default_pool_id,omitempty"`

	// 监听器使用的服务器证书ID。
	DefaultTlsContainerRef *string `json:"default_tls_container_ref,omitempty"`

	// 监听器使用的CA证书ID。
	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,omitempty"`

	// 监听器的监听协议。取值范围:TCP、HTTP、UDP、TERMINATED_HTTPS。
	Protocol *string `json:"protocol,omitempty"`

	// 监听器的监听端口。
	ProtocolPort *int32 `json:"protocol_port,omitempty"`

	// 监听器使用的安全策略,仅对TERMINATED_HTTPS协议类型的监听器有效,且默认值为tls-1-0。取值包括:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict四种安全策略。
	TlsCiphersPolicy *string `json:"tls_ciphers_policy,omitempty"`

	// 查询证书所关联的监听器
	TlsContainerId *string `json:"tls_container_id,omitempty"`

	// HTTP2功能的开启状态。取值范围:true/false。true:开启。false:关闭。
	Http2Enable *bool `json:"http2_enable,omitempty"`

	// 企业项目ID。  传入all_granted_eps表示查询所有有权限的企业项目资源;\"0\"表示查询默认企业项目资源;或者指定的企业项目ID下的资源。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListListenersRequest Request Object

func (ListListenersRequest) String

func (o ListListenersRequest) String() string

type ListListenersResponse

type ListListenersResponse struct {

	// 监听器对象列表
	Listeners      *[]ListenerResp `json:"listeners,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListListenersResponse Response Object

func (ListListenersResponse) String

func (o ListListenersResponse) String() string

type ListLoadbalancerTagsRequest

type ListLoadbalancerTagsRequest struct {
}

ListLoadbalancerTagsRequest Request Object

func (ListLoadbalancerTagsRequest) String

type ListLoadbalancerTagsResponse

type ListLoadbalancerTagsResponse struct {

	// 标签列表
	Tags           *[]ListTag `json:"tags,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListLoadbalancerTagsResponse Response Object

func (ListLoadbalancerTagsResponse) String

type ListLoadbalancersByTagsRequest

type ListLoadbalancersByTagsRequest struct {
	Body *ListLoadbalancersByTagsRequestBody `json:"body,omitempty"`
}

ListLoadbalancersByTagsRequest Request Object

func (ListLoadbalancersByTagsRequest) String

type ListLoadbalancersByTagsRequestBody

type ListLoadbalancersByTagsRequestBody struct {

	// 分页起始。
	Offset *int32 `json:"offset,omitempty"`

	// 分页大小。
	Limit *int32 `json:"limit,omitempty"`

	// 操作标识(仅限于filter,count): filter(过滤),如果是filter就是分页查询 count(查询总条数),按照条件将总条数返回。
	Action string `json:"action"`

	// 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。key为固定字典值。根据不同的字段确认是否需要模糊匹配,如resource_name默认为模糊搜索,如果value为空字符串精确匹配。key如果是resource_id则精确匹配。
	Matches *[]ActionMatch `json:"matches,omitempty"`

	// 要搜索的标签值
	Tags *[]ActionTag `json:"tags,omitempty"`
}

ListLoadbalancersByTagsRequestBody This is a auto create Body Object

func (ListLoadbalancersByTagsRequestBody) String

type ListLoadbalancersByTagsResponse

type ListLoadbalancersByTagsResponse struct {

	// 总记录数。当resources为空时,表示名称为matches字段中指定的value的负载均衡器个数;resources不为空时,表示和tags字段匹配的负载均衡器的个数。
	TotalCount *int32 `json:"total_count,omitempty"`

	// 根据tag查询出的负载均衡器对象。 当请求中的action为filters,返回体中有该字段。 当请求中的action为count时,返回体中无该字段。
	Resources      *[]ResourcesByTag `json:"resources,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListLoadbalancersByTagsResponse Response Object

func (ListLoadbalancersByTagsResponse) String

type ListLoadbalancersRequest

type ListLoadbalancersRequest struct {

	// 分页查询中每页的负载均衡器个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的负载均衡器的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

	// 负载均衡器的ID。
	Id *string `json:"id,omitempty"`

	// 负载均衡器的描述信息。
	Description *string `json:"description,omitempty"`

	// 负载均衡器的名称。
	Name *string `json:"name,omitempty"`

	// 负载均衡器的操作状态。取值范围:可以为ONLINE、OFFLINE、DEGRADED、DISABLED或NO_MONITOR。
	OperatingStatus *string `json:"operating_status,omitempty"`

	// 负载均衡器的配置状态。取值范围:可以为ACTIVE、PENDING_CREATE 或者ERROR。
	ProvisioningStatus *string `json:"provisioning_status,omitempty"`

	// 负载均衡器的内网IP。
	VipAddress *string `json:"vip_address,omitempty"`

	// 负载均衡器内网IP对应的端口ID。
	VipPortId *string `json:"vip_port_id,omitempty"`

	// 负载均衡器所在的子网IPv4子网ID。
	VipSubnetId *string `json:"vip_subnet_id,omitempty"`

	// 负载均衡器所在的虚拟私有云ID。
	VpcId *string `json:"vpc_id,omitempty"`

	// 企业项目ID。  传入all_granted_eps表示查询所有有权限的企业项目资源;\"0\"表示查询默认企业项目资源;或者指定的企业项目ID下的资源。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 负载均衡器的管理状态。负载均衡器停用时不再接收流量。取值范围:true:启用负载均衡器;false:停用负载均衡器。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 负载均衡器的后端服务器的IP地址
	MemberAddress *string `json:"member_address,omitempty"`

	// 负载均衡器的后端服务器对应的弹性云服务器ID
	MemberDeviceId *string `json:"member_device_id,omitempty"`
}

ListLoadbalancersRequest Request Object

func (ListLoadbalancersRequest) String

func (o ListLoadbalancersRequest) String() string

type ListLoadbalancersResponse

type ListLoadbalancersResponse struct {

	// 负载均衡器对象列表
	Loadbalancers  *[]LoadbalancerResp `json:"loadbalancers,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListLoadbalancersResponse Response Object

func (ListLoadbalancersResponse) String

func (o ListLoadbalancersResponse) String() string

type ListMembersRequest

type ListMembersRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`

	// 分页查询中每页的后端服务器个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的后端服务器的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

	// 后端云服务器的ID。
	Id *string `json:"id,omitempty"`

	// 后端云服务器的名称。
	Name *string `json:"name,omitempty"`

	// 后端云服务器对应的IP地址。
	Address *string `json:"address,omitempty"`

	// 后端云服务器后端端口的协议号。
	ProtocolPort *int32 `json:"protocol_port,omitempty"`

	// 后端云服务器所在的子网ID。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 后端云服务器的管理状态。取值范围:true/false。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 后端云服务器的权重。
	Weight *int32 `json:"weight,omitempty"`
}

ListMembersRequest Request Object

func (ListMembersRequest) String

func (o ListMembersRequest) String() string

type ListMembersResponse

type ListMembersResponse struct {

	// 后端云服务器对象的列表
	Members        *[]MemberResp `json:"members,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListMembersResponse Response Object

func (ListMembersResponse) String

func (o ListMembersResponse) String() string

type ListPoolsRequest

type ListPoolsRequest struct {

	// 分页查询中每页的后端服务器组个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的后端服务器组的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

	// 后端云服务器组ID。
	Id *string `json:"id,omitempty"`

	// 后端云服务器组名称。
	Name *string `json:"name,omitempty"`

	// 后端云服务器组的描述信息。
	Description *string `json:"description,omitempty"`

	// 后端云服务器组关联的健康检查的ID。
	HealthmonitorId *string `json:"healthmonitor_id,omitempty"`

	// 后端云服务器组关联的负载均衡器ID。
	LoadbalancerId *string `json:"loadbalancer_id,omitempty"`

	// 后端云服务器组的后端协议。支持TCP、UDP和HTTP。
	Protocol *string `json:"protocol,omitempty"`

	// 后端云服务器组的负载均衡算法。取值范围:ROUND_ROBIN:加权轮询算法。LEAST_CONNECTIONS:加权最少连接算法。SOURCE_IP:源IP算法。当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。
	LbAlgorithm *string `json:"lb_algorithm,omitempty"`

	// 后端云服务器组关联的后端云服务器IP。
	MemberAddress *string `json:"member_address,omitempty"`

	// 后端云服务器组关联的后端云服务器对应的弹性云服务器的ID。
	MemberDeviceId *string `json:"member_device_id,omitempty"`

	// 企业项目ID。  传入all_granted_eps表示查询所有有权限的企业项目资源;\"0\"表示查询默认企业项目资源;或者指定的企业项目ID下的资源。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

ListPoolsRequest Request Object

func (ListPoolsRequest) String

func (o ListPoolsRequest) String() string

type ListPoolsResponse

type ListPoolsResponse struct {

	// 后端云服务器对象组列表
	Pools          *[]PoolResp `json:"pools,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListPoolsResponse Response Object

func (ListPoolsResponse) String

func (o ListPoolsResponse) String() string

type ListTag

type ListTag struct {

	// 键。最大长度36个unicode字符。 key不能为空。不能包含非打印字符\"=\",“*”,“<”,“>”,“\\”,“,”,\"|\",“/”。
	Key string `json:"key"`

	// 值列表。每个值最大长度43个unicode字符,可以为空字符串。 如果values为空列表,则表示any_value。value之间为或的关系。
	Values []string `json:"values"`
}

ListTag 项目下的某资源的标签列表。

func (ListTag) String

func (o ListTag) String() string

type ListWhitelistsRequest

type ListWhitelistsRequest struct {

	// 分页查询中每页的白名单个数
	Limit *int32 `json:"limit,omitempty"`

	// 分页查询的起始的资源id,表示上一页最后一条查询记录的白名单的id。不指定时表示查询第一页。
	Marker *string `json:"marker,omitempty"`

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

	// 白名单ID。
	Id *string `json:"id,omitempty"`

	// 是否开启访问控制开关。true:打开false:关闭
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 白名单关联的监听器ID。
	ListenerId *string `json:"listener_id,omitempty"`

	// 白名单IP的字符串。
	Whitelist *string `json:"whitelist,omitempty"`
}

ListWhitelistsRequest Request Object

func (ListWhitelistsRequest) String

func (o ListWhitelistsRequest) String() string

type ListWhitelistsResponse

type ListWhitelistsResponse struct {

	// 白名单对象的列表
	Whitelists     *[]WhitelistResp `json:"whitelists,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListWhitelistsResponse Response Object

func (ListWhitelistsResponse) String

func (o ListWhitelistsResponse) String() string

type ListenerResp

type ListenerResp struct {

	// 监听器ID
	Id string `json:"id"`

	// 监听器所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 监听器名称。
	Name string `json:"name"`

	// 监听器的描述信息
	Description string `json:"description"`

	// 监听器的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp bool `json:"admin_state_up"`

	// 监听器绑定的负载均衡器ID的列表。
	Loadbalancers []ResourceList `json:"loadbalancers"`

	// 监听器的最大连接数。该字段为预留字段,暂未启用。默认为-1。
	ConnectionLimit int32 `json:"connection_limit"`

	// HTTP2功能的开启状态。该字段只有当监听器的协议是TERMINATED_HTTPS时生效。
	Http2Enable bool `json:"http2_enable"`

	// 监听器的监听协议
	Protocol ListenerRespProtocol `json:"protocol"`

	// 监听器的监听端口。
	ProtocolPort int32 `json:"protocol_port"`

	// 监听器的默认后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。
	DefaultPoolId string `json:"default_pool_id"`

	// 监听器使用的服务器证书ID。
	DefaultTlsContainerRef string `json:"default_tls_container_ref"`

	// 监听器使用的CA证书ID。
	ClientCaTlsContainerRef string `json:"client_ca_tls_container_ref"`

	// 监听器使用的SNI证书(带域名的服务器证书)ID的列表。
	SniContainerRefs []string `json:"sni_container_refs"`

	// 监听器的标签。
	Tags []string `json:"tags"`

	// 监听器的创建时间。
	CreatedAt string `json:"created_at"`

	// 监听器的更新时间。
	UpdatedAt string `json:"updated_at"`

	InsertHeaders *InsertHeader `json:"insert_headers"`

	// 监听器所在的项目ID。
	ProjectId string `json:"project_id"`

	// 监听器使用的安全策略,仅对TERMINATED_HTTPS协议类型的监听器有效,且默认值为tls-1-0。  取值包括:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict多种安全策略
	TlsCiphersPolicy string `json:"tls_ciphers_policy"`

	// 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
	ProtectionStatus *ListenerRespProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因。 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

ListenerResp 监听器响应体

func (ListenerResp) String

func (o ListenerResp) String() string

type ListenerRespProtectionStatus added in v0.1.77

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

func (ListenerRespProtectionStatus) MarshalJSON added in v0.1.77

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

func (*ListenerRespProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (ListenerRespProtectionStatus) Value added in v0.1.77

type ListenerRespProtectionStatusEnum added in v0.1.77

type ListenerRespProtectionStatusEnum struct {
	NON_PROTECTION     ListenerRespProtectionStatus
	CONSOLE_PROTECTION ListenerRespProtectionStatus
}

func GetListenerRespProtectionStatusEnum added in v0.1.77

func GetListenerRespProtectionStatusEnum() ListenerRespProtectionStatusEnum

type ListenerRespProtocol

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

func (ListenerRespProtocol) MarshalJSON

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

func (*ListenerRespProtocol) UnmarshalJSON

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

func (ListenerRespProtocol) Value added in v0.0.90

func (c ListenerRespProtocol) Value() string

type ListenerRespProtocolEnum

type ListenerRespProtocolEnum struct {
	UDP              ListenerRespProtocol
	TCP              ListenerRespProtocol
	HTTP             ListenerRespProtocol
	TERMINATED_HTTPS ListenerRespProtocol
}

func GetListenerRespProtocolEnum

func GetListenerRespProtocolEnum() ListenerRespProtocolEnum

type ListenersInStatusResp

type ListenersInStatusResp struct {

	// 监听器ID
	Id string `json:"id"`

	// 监听器名称
	Name string `json:"name"`

	// 监听器关联的后端云服务器组列表
	Pools []PoolsInStatusResp `json:"pools"`

	// 监听器关联的转发策略列表
	L7policies []L7policiesInStatusResp `json:"l7policies"`

	// 监听器的操作状态;该字段为预留字段,暂未启用。默认为ONLINE。
	OperatingStatus string `json:"operating_status"`

	// 监听器的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`
}

ListenersInStatusResp 监听器对象列表,用于状态树中

func (ListenersInStatusResp) String

func (o ListenersInStatusResp) String() string

type LoadbalancerInStatusResp

type LoadbalancerInStatusResp struct {

	// 负载均衡器名称
	Name string `json:"name"`

	// 负载均衡器ID
	Id string `json:"id"`

	// 负载均衡器关联的监听器列表
	Listeners []ListenersInStatusResp `json:"listeners"`

	// 负载均衡器关联的后端云服务器组列表
	Pools []PoolsInStatusResp `json:"pools"`

	// 负载均衡器的操作状态;该字段为预留字段,暂未启用。默认为ONLINE。
	OperatingStatus LoadbalancerInStatusRespOperatingStatus `json:"operating_status"`

	// 负载均衡器的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus LoadbalancerInStatusRespProvisioningStatus `json:"provisioning_status"`
}

LoadbalancerInStatusResp 负载均衡器对象,用于负载均衡器状态树中

func (LoadbalancerInStatusResp) String

func (o LoadbalancerInStatusResp) String() string

type LoadbalancerInStatusRespOperatingStatus

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

func (LoadbalancerInStatusRespOperatingStatus) MarshalJSON

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

func (*LoadbalancerInStatusRespOperatingStatus) UnmarshalJSON

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

func (LoadbalancerInStatusRespOperatingStatus) Value added in v0.0.90

type LoadbalancerInStatusRespProvisioningStatus

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

func (LoadbalancerInStatusRespProvisioningStatus) MarshalJSON

func (*LoadbalancerInStatusRespProvisioningStatus) UnmarshalJSON

func (LoadbalancerInStatusRespProvisioningStatus) Value added in v0.0.90

type LoadbalancerResp

type LoadbalancerResp struct {

	// 负载均衡器ID
	Id string `json:"id"`

	// 负载均衡器所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 负载均衡器名称。
	Name string `json:"name"`

	// 负载均衡器的描述信息
	Description string `json:"description"`

	// 负载均衡器所在的子网的IPv4子网ID。仅支持内网类型。
	VipSubnetId string `json:"vip_subnet_id"`

	// 负载均衡器虚拟IP对应的端口ID
	VipPortId string `json:"vip_port_id"`

	// 负载均衡器的虚拟IP。
	VipAddress string `json:"vip_address"`

	// 负载均衡器关联的监听器ID的列表
	Listeners []ResourceList `json:"listeners"`

	// 负载均衡器关联的后端云服务器组ID的列表。
	Pools []ResourceList `json:"pools"`

	// 负载均衡器的供应者名称。只支持vlb
	Provider string `json:"provider"`

	// 负载均衡器的操作状态
	OperatingStatus LoadbalancerRespOperatingStatus `json:"operating_status"`

	// 负载均衡器的配置状态
	ProvisioningStatus LoadbalancerRespProvisioningStatus `json:"provisioning_status"`

	// 负载均衡器的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp bool `json:"admin_state_up"`

	// 负载均衡器的创建时间
	CreatedAt string `json:"created_at"`

	// 负载均衡器的更新时间
	UpdatedAt string `json:"updated_at"`

	// 负载均衡器的企业项目ID。
	EnterpriseProjectId string `json:"enterprise_project_id"`

	// 负载均衡器所在的项目ID。
	ProjectId string `json:"project_id"`

	// 负载均衡器的标签列表
	Tags []string `json:"tags"`

	// 负载均衡器绑定的公网IP。只支持绑定一个公网IP。
	Publicips []PublicIpInfo `json:"publicips"`

	// 收费模式。取值:  flavor:按规格计费 lcu:按使用量计费 说明:弹性扩缩容实例该字段无效,按lcu收费;包周期实例该字段无效,预付费收费。
	ChargeMode string `json:"charge_mode"`

	// 资源账单信息,取值:     - 空:按需计费。     - 非空:包周期计费,  包周期计费billing_info字段的格式为:order_id:product_id:region_id:project_id。
	BillingInfo string `json:"billing_info"`

	// 负载均衡器的冻结场景。若负载均衡器有多个冻结场景,用逗号分隔。取值:  POLICE:公安冻结场景。 ILLEGAL:违规冻结场景。 VERIFY:客户未实名认证冻结场景。 PARTNER:合作伙伴冻结(合作伙伴冻结子客户资源)。 AREAR:欠费冻结场景。
	FrozenScene *string `json:"frozen_scene,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
	ProtectionStatus *LoadbalancerRespProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

LoadbalancerResp 负载均衡器响应体

func (LoadbalancerResp) String

func (o LoadbalancerResp) String() string

type LoadbalancerRespOperatingStatus

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

func (LoadbalancerRespOperatingStatus) MarshalJSON

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

func (*LoadbalancerRespOperatingStatus) UnmarshalJSON

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

func (LoadbalancerRespOperatingStatus) Value added in v0.0.90

type LoadbalancerRespProtectionStatus added in v0.1.78

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

func (LoadbalancerRespProtectionStatus) MarshalJSON added in v0.1.78

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

func (*LoadbalancerRespProtectionStatus) UnmarshalJSON added in v0.1.78

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

func (LoadbalancerRespProtectionStatus) Value added in v0.1.78

type LoadbalancerRespProtectionStatusEnum added in v0.1.78

type LoadbalancerRespProtectionStatusEnum struct {
	NON_PROTECTION     LoadbalancerRespProtectionStatus
	CONSOLE_PROTECTION LoadbalancerRespProtectionStatus
}

func GetLoadbalancerRespProtectionStatusEnum added in v0.1.78

func GetLoadbalancerRespProtectionStatusEnum() LoadbalancerRespProtectionStatusEnum

type LoadbalancerRespProvisioningStatus

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

func (LoadbalancerRespProvisioningStatus) MarshalJSON

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

func (*LoadbalancerRespProvisioningStatus) UnmarshalJSON

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

func (LoadbalancerRespProvisioningStatus) Value added in v0.0.90

type LoadbalancerRespProvisioningStatusEnum

type LoadbalancerRespProvisioningStatusEnum struct {
	ACTIVE         LoadbalancerRespProvisioningStatus
	PENDING_CREATE LoadbalancerRespProvisioningStatus
	ERROR          LoadbalancerRespProvisioningStatus
}

func GetLoadbalancerRespProvisioningStatusEnum

func GetLoadbalancerRespProvisioningStatusEnum() LoadbalancerRespProvisioningStatusEnum

type MemberResp

type MemberResp struct {

	// 后端云服务器ID
	Id string `json:"id"`

	// 后端云服务器所在的项目ID。
	ProjectId string `json:"project_id"`

	// 后端云服务器所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 后端云服务器名称。
	Name string `json:"name"`

	// 后端云服务器的管理状态;该字段虽然支持创建、更新,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
	AdminStateUp bool `json:"admin_state_up"`

	// 后端端口和协议号
	ProtocolPort int32 `json:"protocol_port"`

	// 后端云服务器所在的子网ID。该子网和后端云服务器关联的负载均衡器的子网必须在同一VPC下。只支持指定IPv4的子网ID。暂不支持IPv6。
	SubnetId string `json:"subnet_id"`

	// 后端云服务器的对应的IP地址,这个IP必须在subnet_id字段的子网网段中。例如:192.168.3.11。只能指定为主网卡的IP。
	Address string `json:"address"`

	// 后端云服务器的权重,请求按权重在同一后端云服务器组下的后端云服务器间分发。权重为0的后端不再接受新的请求。当后端云服务器所在的后端云服务器组的lb_algorithm的取值为SOURCE_IP时,该字段无效。
	Weight int32 `json:"weight"`

	// 后端云服务器的健康状态,取值:  ONLINE:健康检查在线,后端服务正常。 OFFLINE:健康检查离线,后端服务异常,负载均衡器不再向异常的后端发送流量。 NO_MONITOR:无检查检查。未创建检查检查或健康检查的admin_state_up字段为false。
	OperatingStatus string `json:"operating_status"`
}

MemberResp 后端云服务器响应体

func (MemberResp) String

func (o MemberResp) String() string

type MembersInStatusResp

type MembersInStatusResp struct {

	// 后端云服务器ID
	Id string `json:"id"`

	// 后端云服务器的IP地址
	Address string `json:"address"`

	// 后端云服务器的端口号
	ProtocolPort int32 `json:"protocol_port"`

	// 后端云服务器的健康检状态;可以为:ONLINE:健康检查在线;OFFLINE:健康检查离线;DISABLED:后端云服务器无对应的弹性云服务器;NO_MONITOR:健康检查未开启
	OperatingStatus MembersInStatusRespOperatingStatus `json:"operating_status"`

	// 监听器的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`
}

MembersInStatusResp 后端云服务器对象列表,用于状态树中

func (MembersInStatusResp) String

func (o MembersInStatusResp) String() string

type MembersInStatusRespOperatingStatus

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

func (MembersInStatusRespOperatingStatus) MarshalJSON

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

func (*MembersInStatusRespOperatingStatus) UnmarshalJSON

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

func (MembersInStatusRespOperatingStatus) Value added in v0.0.90

type PoolResp

type PoolResp struct {

	// 后端云服务器组的ID
	Id string `json:"id"`

	// 后端云服务器组所在的项目ID。
	ProjectId string `json:"project_id"`

	// 后端云服务器组所在的项目ID。
	TenantId string `json:"tenant_id"`

	// 后端云服务器组的名称。
	Name string `json:"name"`

	// 后端云服务器组的描述信息
	Description string `json:"description"`

	// 后端云服务器组的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp bool `json:"admin_state_up"`

	// 后端云服务器组绑定的负载均衡器ID的列表。
	Loadbalancers []ResourceList `json:"loadbalancers"`

	// 后端云服务器组关联的监听器ID的列表。
	Listeners []ResourceList `json:"listeners"`

	// 后端云服务器组关联的后端云服务器ID的列表。
	Members []ResourceList `json:"members"`

	// 后端云服务器组关联的健康检查的ID。
	HealthmonitorId string `json:"healthmonitor_id"`

	SessionPersistence *SessionPersistence `json:"session_persistence"`

	// 后端云服务器组的后端协议。
	Protocol PoolRespProtocol `json:"protocol"`

	// 后端云服务器组的负载均衡算法,取值:ROUND_ROBIN:加权轮询算法;LEAST_CONNECTIONS:加权最少连接算法;SOURCE_IP:源IP算法。当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。
	LbAlgorithm PoolRespLbAlgorithm `json:"lb_algorithm"`

	// 修改保护状态, 取值: - nonProtection: 不保护,默认值为nonProtection - consoleProtection: 控制台修改保护
	ProtectionStatus *PoolRespProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

PoolResp 后端云服务器组响应体

func (PoolResp) String

func (o PoolResp) String() string

type PoolRespLbAlgorithm

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

func (PoolRespLbAlgorithm) MarshalJSON

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

func (*PoolRespLbAlgorithm) UnmarshalJSON

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

func (PoolRespLbAlgorithm) Value added in v0.0.90

func (c PoolRespLbAlgorithm) Value() string

type PoolRespLbAlgorithmEnum

type PoolRespLbAlgorithmEnum struct {
	ROUND_ROBIN       PoolRespLbAlgorithm
	LEAST_CONNECTIONS PoolRespLbAlgorithm
	SOURCE_IP         PoolRespLbAlgorithm
}

func GetPoolRespLbAlgorithmEnum

func GetPoolRespLbAlgorithmEnum() PoolRespLbAlgorithmEnum

type PoolRespProtectionStatus added in v0.1.77

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

func (PoolRespProtectionStatus) MarshalJSON added in v0.1.77

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

func (*PoolRespProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (PoolRespProtectionStatus) Value added in v0.1.77

func (c PoolRespProtectionStatus) Value() string

type PoolRespProtectionStatusEnum added in v0.1.77

type PoolRespProtectionStatusEnum struct {
	NON_PROTECTION     PoolRespProtectionStatus
	CONSOLE_PROTECTION PoolRespProtectionStatus
}

func GetPoolRespProtectionStatusEnum added in v0.1.77

func GetPoolRespProtectionStatusEnum() PoolRespProtectionStatusEnum

type PoolRespProtocol

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

func (PoolRespProtocol) MarshalJSON

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

func (*PoolRespProtocol) UnmarshalJSON

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

func (PoolRespProtocol) Value added in v0.0.90

func (c PoolRespProtocol) Value() string

type PoolRespProtocolEnum

type PoolRespProtocolEnum struct {
	UDP  PoolRespProtocol
	TCP  PoolRespProtocol
	HTTP PoolRespProtocol
}

func GetPoolRespProtocolEnum

func GetPoolRespProtocolEnum() PoolRespProtocolEnum

type PoolsInStatusResp

type PoolsInStatusResp struct {

	// 后端云服务器组ID
	Id string `json:"id"`

	// 后端云服务器组名称
	Name string `json:"name"`

	// 后端云服务器组关联的后端云服务器列表
	Members []MembersInStatusResp `json:"members"`

	// 后端云服务器组的操作状态;该字段为预留字段,暂未启用。默认为ONLINE。
	OperatingStatus string `json:"operating_status"`

	// 后端云服务器组的配置状态;该字段为预留字段,暂未启用。默认为ACTIVE。
	ProvisioningStatus string `json:"provisioning_status"`

	Healthmonitor *HealthmonitorsInStatusResp `json:"healthmonitor"`
}

PoolsInStatusResp 后端云服务器对象列表,用于状态树中

func (PoolsInStatusResp) String

func (o PoolsInStatusResp) String() string

type PublicIpInfo added in v0.1.77

type PublicIpInfo struct {

	// 弹性公网ip配置id
	PublicipId string `json:"publicip_id"`

	// IP地址
	PublicipAddress string `json:"publicip_address"`

	// IP版本信息。 取值范围:4和6 4:IPv4 6:IPv6  [不支持IPv6,请勿设置为6。](tag:dt,dt_test)
	IpVersion int32 `json:"ip_version"`
}

PublicIpInfo 弹性公网EIP信息

func (PublicIpInfo) String added in v0.1.77

func (o PublicIpInfo) String() string

type ResourceList

type ResourceList struct {

	// 资源ID
	Id string `json:"id"`
}

ResourceList 资源对象id列表。

func (ResourceList) String

func (o ResourceList) String() string

type ResourceTag

type ResourceTag struct {

	// 键。最大长度36个unicode字符。 key不能为空。 搜索时不对此参数做校验 不能包含非打印字符\"=\",“*”,“<”,“>”,“\\”,“,”,\"|\",“/”。
	Key string `json:"key"`

	// 值列表。每个值最大长度255个unicode字符,如果values为空列表,则表示any_value。value之间为或的关系。不能包含非打印字符\"=\",“*”,“<”,“>”,“\\”,“,”,\"|\",“/”。
	Value string `json:"value"`
}

ResourceTag 资源标签

func (ResourceTag) String

func (o ResourceTag) String() string

type ResourcesByTag

type ResourcesByTag struct {

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

	// 资源名称。
	ResourceName string `json:"resource_name"`

	// 资源描述。
	ResourceDetail string `json:"resource_detail"`

	// 资源标签。
	Tags []ResourceTag `json:"tags"`

	// 父级资源ID。
	SuperResourceId *string `json:"super_resource_id,omitempty"`
}

ResourcesByTag 根据标签查询资源响应返回对象。

func (ResourcesByTag) String

func (o ResourcesByTag) String() string

type SessionPersistence

type SessionPersistence struct {

	// 会话保持的类型。SOURCE_IP:根据请求的源IP,将同一IP的请求发送到同一个后端云服务器上。HTTP_COOKIE:客户端第一次发送请求时,负载均衡器自动生成cookie并将该cookie插入响应消息中,后续请求会发送到处理第一个请求的后端云服务器上。APP_COOKIE:客户端第一次发送请求时,后端服务器生成cookie并将该cookie插入响应消息中,后续请求会发送到处理第一个请求的后端云服务器上。当后端云服务器的protocol为TCP时,只按SOURCE_IP生效当后端云服务器的protocol为HTTP时,只按HTTP_COOKIE或APP_COOKIE生效
	Type SessionPersistenceType `json:"type"`

	// cookie的名称。只有当会话保持的类型是APP_COOKIE时可以指定。
	CookieName *string `json:"cookie_name,omitempty"`

	// 会话保持的超时时间。取值范围:[1,60](分钟):当后端云服务器的protocol为TCP、UDP时[1,1440](分钟):当后端云服务器的protocol为HTTP时。当type为APP_COOKIE时该字段不生效。
	PersistenceTimeout *int32 `json:"persistence_timeout,omitempty"`
}

SessionPersistence 后端云服务器组的会话持久性。 当开启会话保持后,在一定时间内,来自同一客户端的请求会发送到同一个后端云服务器上。 当会话保持关闭时,该字段取值为null。

func (SessionPersistence) String

func (o SessionPersistence) String() string

type SessionPersistenceType

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

func (SessionPersistenceType) MarshalJSON

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

func (*SessionPersistenceType) UnmarshalJSON

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

func (SessionPersistenceType) Value added in v0.0.90

func (c SessionPersistenceType) Value() string

type SessionPersistenceTypeEnum

type SessionPersistenceTypeEnum struct {
	SOURCE_IP   SessionPersistenceType
	HTTP_COOKIE SessionPersistenceType
	APP_COOKIE  SessionPersistenceType
}

func GetSessionPersistenceTypeEnum

func GetSessionPersistenceTypeEnum() SessionPersistenceTypeEnum

type ShowCertificateRequest

type ShowCertificateRequest struct {

	// 证书id。
	CertificateId string `json:"certificate_id"`
}

ShowCertificateRequest Request Object

func (ShowCertificateRequest) String

func (o ShowCertificateRequest) String() string

type ShowCertificateResponse

type ShowCertificateResponse struct {

	// SSL证书id
	Id *string `json:"id,omitempty"`

	// SSL证书所在的项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// SSL证书的管理状态;暂不支持
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// SSL证书的名称。
	Name *string `json:"name,omitempty"`

	// SSL证书的描述。
	Description *string `json:"description,omitempty"`

	// SSL证书的类型。分为服务器证书(server)和CA证书(client)。
	Type *ShowCertificateResponseType `json:"type,omitempty"`

	// 服务器证书所签域名。该字段仅type为server时有效。
	Domain *string `json:"domain,omitempty"`

	// 服务器证书的私钥。仅type为server时有效。type为server时必选。
	PrivateKey *string `json:"private_key,omitempty"`

	// 当type为server时,表示服务器证书的公钥;当type为client时,表示用于认证客户端证书的CA证书。
	Certificate *string `json:"certificate,omitempty"`

	// SSL证书的过期时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	ExpireTime *string `json:"expire_time,omitempty"`

	// SSL证书的创建时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	CreateTime *string `json:"create_time,omitempty"`

	// SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowCertificateResponse Response Object

func (ShowCertificateResponse) String

func (o ShowCertificateResponse) String() string

type ShowCertificateResponseType

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

func (ShowCertificateResponseType) MarshalJSON

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

func (*ShowCertificateResponseType) UnmarshalJSON

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

func (ShowCertificateResponseType) Value added in v0.0.90

type ShowCertificateResponseTypeEnum

type ShowCertificateResponseTypeEnum struct {
	SERVER ShowCertificateResponseType
	CLIENT ShowCertificateResponseType
}

func GetShowCertificateResponseTypeEnum

func GetShowCertificateResponseTypeEnum() ShowCertificateResponseTypeEnum

type ShowHealthmonitorsRequest

type ShowHealthmonitorsRequest struct {

	// 健康检查id
	HealthmonitorId string `json:"healthmonitor_id"`
}

ShowHealthmonitorsRequest Request Object

func (ShowHealthmonitorsRequest) String

func (o ShowHealthmonitorsRequest) String() string

type ShowHealthmonitorsResponse

type ShowHealthmonitorsResponse struct {
	Healthmonitor  *HealthmonitorResp `json:"healthmonitor,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ShowHealthmonitorsResponse Response Object

func (ShowHealthmonitorsResponse) String

type ShowL7policyRequest

type ShowL7policyRequest struct {

	// 转发策略id
	L7policyId string `json:"l7policy_id"`
}

ShowL7policyRequest Request Object

func (ShowL7policyRequest) String

func (o ShowL7policyRequest) String() string

type ShowL7policyResponse

type ShowL7policyResponse struct {
	L7policy       *L7policyResp `json:"l7policy,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowL7policyResponse Response Object

func (ShowL7policyResponse) String

func (o ShowL7policyResponse) String() string

type ShowL7ruleRequest

type ShowL7ruleRequest struct {

	// 转发策略id
	L7policyId string `json:"l7policy_id"`

	// 转发规则id
	L7ruleId string `json:"l7rule_id"`
}

ShowL7ruleRequest Request Object

func (ShowL7ruleRequest) String

func (o ShowL7ruleRequest) String() string

type ShowL7ruleResponse

type ShowL7ruleResponse struct {
	Rule           *L7ruleResp `json:"rule,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowL7ruleResponse Response Object

func (ShowL7ruleResponse) String

func (o ShowL7ruleResponse) 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       *ListenerResp `json:"listener,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ShowListenerResponse Response Object

func (ShowListenerResponse) String

func (o ShowListenerResponse) String() string

type ShowListenerTagsRequest

type ShowListenerTagsRequest struct {

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

ShowListenerTagsRequest Request Object

func (ShowListenerTagsRequest) String

func (o ShowListenerTagsRequest) String() string

type ShowListenerTagsResponse

type ShowListenerTagsResponse struct {

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

ShowListenerTagsResponse Response Object

func (ShowListenerTagsResponse) String

func (o ShowListenerTagsResponse) String() string

type ShowLoadbalancerRequest

type ShowLoadbalancerRequest struct {

	// 负载均衡器ID
	LoadbalancerId string `json:"loadbalancer_id"`
}

ShowLoadbalancerRequest Request Object

func (ShowLoadbalancerRequest) String

func (o ShowLoadbalancerRequest) String() string

type ShowLoadbalancerResponse

type ShowLoadbalancerResponse struct {
	Loadbalancer   *LoadbalancerResp `json:"loadbalancer,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ShowLoadbalancerResponse Response Object

func (ShowLoadbalancerResponse) String

func (o ShowLoadbalancerResponse) String() string

type ShowLoadbalancerTagsRequest

type ShowLoadbalancerTagsRequest struct {

	// 负载均衡器所在的项目id
	LoadbalancerId string `json:"loadbalancer_id"`
}

ShowLoadbalancerTagsRequest Request Object

func (ShowLoadbalancerTagsRequest) String

type ShowLoadbalancerTagsResponse

type ShowLoadbalancerTagsResponse struct {

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

ShowLoadbalancerTagsResponse Response Object

func (ShowLoadbalancerTagsResponse) String

type ShowLoadbalancersStatusRequest

type ShowLoadbalancersStatusRequest struct {

	// 负载均衡器id
	LoadbalancerId string `json:"loadbalancer_id"`
}

ShowLoadbalancersStatusRequest Request Object

func (ShowLoadbalancersStatusRequest) String

type ShowLoadbalancersStatusResponse

type ShowLoadbalancersStatusResponse struct {
	Statuses       *StatusResp `json:"statuses,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowLoadbalancersStatusResponse Response Object

func (ShowLoadbalancersStatusResponse) String

type ShowMemberRequest

type ShowMemberRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`

	// 后端云服务器id
	MemberId string `json:"member_id"`
}

ShowMemberRequest Request Object

func (ShowMemberRequest) String

func (o ShowMemberRequest) String() string

type ShowMemberResponse

type ShowMemberResponse struct {
	Member         *MemberResp `json:"member,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ShowMemberResponse Response Object

func (ShowMemberResponse) String

func (o ShowMemberResponse) String() string

type ShowPoolRequest

type ShowPoolRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`
}

ShowPoolRequest Request Object

func (ShowPoolRequest) String

func (o ShowPoolRequest) String() string

type ShowPoolResponse

type ShowPoolResponse struct {
	Pool           *PoolResp `json:"pool,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowPoolResponse Response Object

func (ShowPoolResponse) String

func (o ShowPoolResponse) String() string

type ShowWhitelistRequest

type ShowWhitelistRequest struct {

	// 白名单的id
	WhitelistId string `json:"whitelist_id"`
}

ShowWhitelistRequest Request Object

func (ShowWhitelistRequest) String

func (o ShowWhitelistRequest) String() string

type ShowWhitelistResponse

type ShowWhitelistResponse struct {
	Whitelist      *WhitelistResp `json:"whitelist,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ShowWhitelistResponse Response Object

func (ShowWhitelistResponse) String

func (o ShowWhitelistResponse) String() string

type StatusResp

type StatusResp struct {
	Loadbalancer *LoadbalancerInStatusResp `json:"loadbalancer"`
}

StatusResp 负载均衡器状态树对象

func (StatusResp) String

func (o StatusResp) String() string

type UpdateCertificateRequest

type UpdateCertificateRequest struct {

	// SSL证书ID
	CertificateId string `json:"certificate_id"`

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

UpdateCertificateRequest Request Object

func (UpdateCertificateRequest) String

func (o UpdateCertificateRequest) String() string

type UpdateCertificateRequestBody

type UpdateCertificateRequestBody struct {

	// SSL证书对象 最大长度65536字符。 支持证书链,最大11层(含证书和证书链)
	Certificate *string `json:"certificate,omitempty"`

	// 服务端的私有密钥。  格式:私钥为PEM格式。 最大长度8192字符。
	PrivateKey *string `json:"private_key,omitempty"`

	// SSL证书的描述信息。  支持的最大字符长度:255
	Description *string `json:"description,omitempty"`

	// 服务端证书所签的域名。 取值:总长度为0-1024字符。  普通域名由若干字符串组成,字符串间以\".\"分割,单个字符串长度不超过63个字符,只能包含英文字母、数字或\"-\",且必须以字母或数字开头和结尾。  泛域名仅允许首段为\"*\",其他取值限制与普通域名一致。如:*.domain.com,但不能是:*my.domain.com   该字段仅type为server时有效。
	Domain *string `json:"domain,omitempty"`

	// SSL证书的名称。  支持的最大字符长度:255
	Name *string `json:"name,omitempty"`

	// SSL证书的管理状态;  取值范围: true/false。  该字段为预留字段,暂未启用。只支持设定为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`
}

UpdateCertificateRequestBody This is a auto create Body Object

func (UpdateCertificateRequestBody) String

type UpdateCertificateResponse

type UpdateCertificateResponse struct {

	// SSL证书id
	Id *string `json:"id,omitempty"`

	// SSL证书所在的项目ID
	TenantId *string `json:"tenant_id,omitempty"`

	// SSL证书的管理状态;暂不支持
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// SSL证书的名称。
	Name *string `json:"name,omitempty"`

	// SSL证书的描述。
	Description *string `json:"description,omitempty"`

	// SSL证书的类型。分为服务器证书(server)和CA证书(client)。
	Type *UpdateCertificateResponseType `json:"type,omitempty"`

	// 服务器证书所签域名。该字段仅type为server时有效。
	Domain *string `json:"domain,omitempty"`

	// 服务器证书的私钥。仅type为server时有效。type为server时必选。
	PrivateKey *string `json:"private_key,omitempty"`

	// 当type为server时,表示服务器证书的公钥;当type为client时,表示用于认证客户端证书的CA证书。
	Certificate *string `json:"certificate,omitempty"`

	// SSL证书的过期时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	ExpireTime *string `json:"expire_time,omitempty"`

	// SSL证书的创建时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	CreateTime *string `json:"create_time,omitempty"`

	// SSL证书的更新时间。 UTC时间,格式为:yyyy-MM-dd HH:mm:ss ,如2020-05-28 08:30:09
	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateCertificateResponse Response Object

func (UpdateCertificateResponse) String

func (o UpdateCertificateResponse) String() string

type UpdateCertificateResponseType

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

func (UpdateCertificateResponseType) MarshalJSON

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

func (*UpdateCertificateResponseType) UnmarshalJSON

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

func (UpdateCertificateResponseType) Value added in v0.0.90

type UpdateCertificateResponseTypeEnum

type UpdateCertificateResponseTypeEnum struct {
	SERVER UpdateCertificateResponseType
	CLIENT UpdateCertificateResponseType
}

func GetUpdateCertificateResponseTypeEnum

func GetUpdateCertificateResponseTypeEnum() UpdateCertificateResponseTypeEnum

type UpdateHealthmonitorReq

type UpdateHealthmonitorReq struct {

	// 健康检查名称。
	Name *string `json:"name,omitempty"`

	// 健康检查的管理状态;该字段虽然支持创建、更新,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 健康检查端口号。默认为空,表示使用后端云服务器组的端口。
	MonitorPort *int32 `json:"monitor_port,omitempty"`

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

	// 期望HTTP响应状态码,指定下列值:单值,例如200;列表,例如200,202;区间,例如200-204。仅当type为HTTP时生效。该字段为预留字段,暂未启用。
	ExpectedCodes *string `json:"expected_codes,omitempty"`

	// 功能说明:健康检查测试member健康状态时,发送的http请求的域名。仅当type为HTTP时生效。使用说明:默认为空,表示使用负载均衡器的vip作为http请求的目的地址。以数字或字母开头,只能包含数字、字母、’-’、’.’。
	DomainName *string `json:"domain_name,omitempty"`

	// 健康检查请求的请求路径。以\"/\"开头,默认为\"/\"。 支持使用字母、数字和短划线(-)、正斜线(/)、半角句号(.)、百分号(%)、半角问号(?)、井号(#)和and(&)以及扩展字符集_;~!()*[]@$^:',+  使用说明:当type为HTTP/HTTPS时生效。
	UrlPath *string `json:"url_path,omitempty"`

	// HTTP方法,可以为GET、HEAD、POST、PUT、DELETE、TRACE、OPTIONS、CONNECT、PATCH。仅当type为HTTP时生效。该字段为预留字段,暂未启用。
	HttpMethod *string `json:"http_method,omitempty"`

	// 健康检查间隔
	Delay *int32 `json:"delay,omitempty"`

	// 最大重试次数
	MaxRetries *int32 `json:"max_retries,omitempty"`

	// 健康检查的类型。  取值范围:TCP、UDP_CONNECT、HTTP。
	Type *string `json:"type,omitempty"`
}

UpdateHealthmonitorReq 更新健康检查请求

func (UpdateHealthmonitorReq) String

func (o UpdateHealthmonitorReq) String() string

type UpdateHealthmonitorRequest

type UpdateHealthmonitorRequest struct {

	// 健康检查id
	HealthmonitorId string `json:"healthmonitor_id"`

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

UpdateHealthmonitorRequest Request Object

func (UpdateHealthmonitorRequest) String

type UpdateHealthmonitorRequestBody

type UpdateHealthmonitorRequestBody struct {
	Healthmonitor *UpdateHealthmonitorReq `json:"healthmonitor"`
}

UpdateHealthmonitorRequestBody This is a auto create Body Object

func (UpdateHealthmonitorRequestBody) String

type UpdateHealthmonitorResponse

type UpdateHealthmonitorResponse struct {
	Healthmonitor  *HealthmonitorResp `json:"healthmonitor,omitempty"`
	HttpStatusCode int                `json:"-"`
}

UpdateHealthmonitorResponse Response Object

func (UpdateHealthmonitorResponse) String

type UpdateL7policiesRequest

type UpdateL7policiesRequest struct {

	// 待更新的转发策略id
	L7policyId string `json:"l7policy_id"`

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

UpdateL7policiesRequest Request Object

func (UpdateL7policiesRequest) String

func (o UpdateL7policiesRequest) String() string

type UpdateL7policiesRequestBody

type UpdateL7policiesRequestBody struct {
	L7policy *UpdateL7policyReq `json:"l7policy"`
}

UpdateL7policiesRequestBody This is a auto create Body Object

func (UpdateL7policiesRequestBody) String

type UpdateL7policiesResponse

type UpdateL7policiesResponse struct {
	L7policy       *L7policyResp `json:"l7policy,omitempty"`
	HttpStatusCode int           `json:"-"`
}

UpdateL7policiesResponse Response Object

func (UpdateL7policiesResponse) String

func (o UpdateL7policiesResponse) String() string

type UpdateL7policyReq

type UpdateL7policyReq struct {

	// 转发策略名称
	Name *string `json:"name,omitempty"`

	// 转发策略的管理状态;该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 转发策略额描述信息
	Description *string `json:"description,omitempty"`

	// 转发到的listener的ID,当action为REDIRECT_TO_LISTENER时生效。当action为REDIRECT_TO_LISTENER时必选
	RedirectListenerId *string `json:"redirect_listener_id,omitempty"`

	// 转发到pool的ID。当action为REDIRECT_TO_POOL时生效。使用说明:redirect_pool不能是listener的default_pool,不能已经被其他listener的l7policy所使用。当action为REDIRECT_TO_LISTENER时,不可指定。不允许更新为空。
	RedirectPoolId *string `json:"redirect_pool_id,omitempty"`
}

UpdateL7policyReq 更新转发策略对象请求体

func (UpdateL7policyReq) String

func (o UpdateL7policyReq) String() string

type UpdateL7ruleReq

type UpdateL7ruleReq struct {

	// 转发匹配方式: type为HOST_NAME时,取值范围:EQUAL_TO:精确匹配;t ype为PATH时,取值范围:REGEX:正则匹配;STARTS_WITH:前缀匹配;EQUAL_TO:精确匹配。
	CompareType *string `json:"compare_type,omitempty"`

	// 转发规则的管理状态;取值范围: true/false。该字段为预留字段,暂未启用。默认为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 是否反向匹配;取值范围:true/false。默认值:false;该字段为预留字段,暂未启用。
	Invert *bool `json:"invert,omitempty"`

	// 匹配内容的键值。默认为null。该字段为预留字段,暂未启用。
	Key *string `json:"key,omitempty"`

	// 匹配内容的值。不能包含空格。 当type为HOST_NAME时,取值范围:String (100),字符串只能包含英文字母、数字、“-”或“.”,且必须以字母或数字开头。 当type为PATH时,取值范围:String (128)。当转发规则的compare_type为STARTS_WITH、EQUAL_TO时,字符串只能包含英文字母、数字、_~';@^-%#&$.*+?,=!:| /()[]{},且必须以\"/\"开头。
	Value *string `json:"value,omitempty"`
}

UpdateL7ruleReq L7转发策略请求实体

func (UpdateL7ruleReq) String

func (o UpdateL7ruleReq) String() string

type UpdateL7ruleRequest

type UpdateL7ruleRequest struct {

	// 待更新的转发规则所在的转发策略id
	L7policyId string `json:"l7policy_id"`

	// 待更新的转发规则id
	L7ruleId string `json:"l7rule_id"`

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

UpdateL7ruleRequest Request Object

func (UpdateL7ruleRequest) String

func (o UpdateL7ruleRequest) String() string

type UpdateL7ruleRequestBody

type UpdateL7ruleRequestBody struct {
	Rule *UpdateL7ruleReq `json:"rule"`
}

UpdateL7ruleRequestBody This is a auto create Body Object

func (UpdateL7ruleRequestBody) String

func (o UpdateL7ruleRequestBody) String() string

type UpdateL7ruleResponse

type UpdateL7ruleResponse struct {
	Rule           *L7ruleResp `json:"rule,omitempty"`
	HttpStatusCode int         `json:"-"`
}

UpdateL7ruleResponse Response Object

func (UpdateL7ruleResponse) String

func (o UpdateL7ruleResponse) String() string

type UpdateListenerReq

type UpdateListenerReq struct {

	// 监听器名称。
	Name *string `json:"name,omitempty"`

	// 监听器的描述信息
	Description *string `json:"description,omitempty"`

	// 监听器的最大连接数。该字段为预留字段,暂未启用。默认为-1。
	ConnectionLimit *int32 `json:"connection_limit,omitempty"`

	// HTTP2功能的开启状态。该字段只有当监听器的协议是TERMINATED_HTTPS时才有意义。
	Http2Enable *bool `json:"http2_enable,omitempty"`

	// 监听器的默认后端云服务器组ID。当请求没有匹配的转发策略时,转发到默认后端云服务器上处理。当该字段为null时,表示监听器无默认的后端云服务器组。
	DefaultPoolId *string `json:"default_pool_id,omitempty"`

	// 监听器使用的服务器证书ID。当protocol参数为TERMINATED_HTTPS时,为必选字段
	DefaultTlsContainerRef *string `json:"default_tls_container_ref,omitempty"`

	// 监听器使用的CA证书ID。
	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,omitempty"`

	// 监听器使用的SNI证书(带域名的服务器证书)ID的列表。
	SniContainerRefs *[]string `json:"sni_container_refs,omitempty"`

	InsertHeaders *InsertHeader `json:"insert_headers,omitempty"`

	// 监听器使用的安全策略,仅对TERMINATED_HTTPS协议类型的监听器有效。  取值包括:tls-1-0, tls-1-1, tls-1-2, tls-1-2-strict多种安全策略。  加密套件的排序为国密套件、ecc套件、rsa套件、tls1.3协议的套件(即支持ecc又支持rsa)
	TlsCiphersPolicy *string `json:"tls_ciphers_policy,omitempty"`

	// 监听器的管理状态。  该字段为预留字段,暂未启动。只支持设定为true
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
	ProtectionStatus *UpdateListenerReqProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

UpdateListenerReq 更新监听器的请求体。

func (UpdateListenerReq) String

func (o UpdateListenerReq) String() string

type UpdateListenerReqProtectionStatus added in v0.1.77

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

func (UpdateListenerReqProtectionStatus) MarshalJSON added in v0.1.77

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

func (*UpdateListenerReqProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (UpdateListenerReqProtectionStatus) Value added in v0.1.77

type UpdateListenerReqProtectionStatusEnum added in v0.1.77

type UpdateListenerReqProtectionStatusEnum struct {
	NON_PROTECTION     UpdateListenerReqProtectionStatus
	CONSOLE_PROTECTION UpdateListenerReqProtectionStatus
}

func GetUpdateListenerReqProtectionStatusEnum added in v0.1.77

func GetUpdateListenerReqProtectionStatusEnum() UpdateListenerReqProtectionStatusEnum

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 *UpdateListenerReq `json:"listener"`
}

UpdateListenerRequestBody This is a auto create Body Object

func (UpdateListenerRequestBody) String

func (o UpdateListenerRequestBody) String() string

type UpdateListenerResponse

type UpdateListenerResponse struct {
	Listener       *ListenerResp `json:"listener,omitempty"`
	HttpStatusCode int           `json:"-"`
}

UpdateListenerResponse Response Object

func (UpdateListenerResponse) String

func (o UpdateListenerResponse) String() string

type UpdateLoadbalancerReq

type UpdateLoadbalancerReq struct {

	// 负载均衡器名称。
	Name *string `json:"name,omitempty"`

	// 负载均衡器的描述信息
	Description *string `json:"description,omitempty"`

	// 负载均衡器的管理状态。只支持设定为true,该字段的值无实际意义。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
	ProtectionStatus *UpdateLoadbalancerReqProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

UpdateLoadbalancerReq 更新负载均衡器的请求体

func (UpdateLoadbalancerReq) String

func (o UpdateLoadbalancerReq) String() string

type UpdateLoadbalancerReqProtectionStatus added in v0.1.77

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

func (UpdateLoadbalancerReqProtectionStatus) MarshalJSON added in v0.1.77

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

func (*UpdateLoadbalancerReqProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (UpdateLoadbalancerReqProtectionStatus) Value added in v0.1.77

type UpdateLoadbalancerReqProtectionStatusEnum added in v0.1.77

type UpdateLoadbalancerReqProtectionStatusEnum struct {
	NON_PROTECTION     UpdateLoadbalancerReqProtectionStatus
	CONSOLE_PROTECTION UpdateLoadbalancerReqProtectionStatus
}

func GetUpdateLoadbalancerReqProtectionStatusEnum added in v0.1.77

func GetUpdateLoadbalancerReqProtectionStatusEnum() UpdateLoadbalancerReqProtectionStatusEnum

type UpdateLoadbalancerRequest

type UpdateLoadbalancerRequest struct {

	// 待更新的负载均衡器id
	LoadbalancerId string `json:"loadbalancer_id"`

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

UpdateLoadbalancerRequest Request Object

func (UpdateLoadbalancerRequest) String

func (o UpdateLoadbalancerRequest) String() string

type UpdateLoadbalancerRequestBody

type UpdateLoadbalancerRequestBody struct {
	Loadbalancer *UpdateLoadbalancerReq `json:"loadbalancer"`
}

UpdateLoadbalancerRequestBody This is a auto create Body Object

func (UpdateLoadbalancerRequestBody) String

type UpdateLoadbalancerResponse

type UpdateLoadbalancerResponse struct {
	Loadbalancer   *LoadbalancerResp `json:"loadbalancer,omitempty"`
	HttpStatusCode int               `json:"-"`
}

UpdateLoadbalancerResponse Response Object

func (UpdateLoadbalancerResponse) String

type UpdateMemberReq

type UpdateMemberReq struct {

	// 后端云服务器名称。
	Name *string `json:"name,omitempty"`

	// 后端云服务器的管理状态;该字段虽然支持创建、更新,但实际取值决定于后端云服务器对应的弹性云服务器是否存在。若存在,该值为true,否则,该值为false。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	// 后端云服务器的权重,请求按权重在同一后端云服务器组下的后端云服务器间分发。权重为0的后端不再接受新的请求。当后端云服务器所在的后端云服务器组的lb_algorithm的取值为SOURCE_IP时,该字段无效。
	Weight *int32 `json:"weight,omitempty"`
}

UpdateMemberReq 更新后端云服务器的请求体

func (UpdateMemberReq) String

func (o UpdateMemberReq) String() string

type UpdateMemberRequest

type UpdateMemberRequest struct {

	// 后端云服务器id
	MemberId string `json:"member_id"`

	// 后端云服务器组id
	PoolId string `json:"pool_id"`

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

UpdateMemberRequest Request Object

func (UpdateMemberRequest) String

func (o UpdateMemberRequest) String() string

type UpdateMemberRequestBody

type UpdateMemberRequestBody struct {
	Member *UpdateMemberReq `json:"member"`
}

UpdateMemberRequestBody This is a auto create Body Object

func (UpdateMemberRequestBody) String

func (o UpdateMemberRequestBody) String() string

type UpdateMemberResponse

type UpdateMemberResponse struct {
	Member         *MemberResp `json:"member,omitempty"`
	HttpStatusCode int         `json:"-"`
}

UpdateMemberResponse Response Object

func (UpdateMemberResponse) String

func (o UpdateMemberResponse) String() string

type UpdatePoolReq

type UpdatePoolReq struct {

	// 后端云服务器组的负载均衡算法,取值:ROUND_ROBIN:加权轮询算法;LEAST_CONNECTIONS:加权最少连接算法;SOURCE_IP:源IP算法;当该字段的取值为SOURCE_IP时,后端云服务器组绑定的后端云服务器的weight字段无效。
	LbAlgorithm *string `json:"lb_algorithm,omitempty"`

	// 后端云服务器组的名称。
	Name *string `json:"name,omitempty"`

	// 后端云服务器组的描述信息
	Description *string `json:"description,omitempty"`

	// 后端云服务器组的管理状态;该字段为预留字段,暂未启用。只支持更新为true。
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	SessionPersistence *SessionPersistence `json:"session_persistence,omitempty"`

	// 修改保护状态, 取值: - nonProtection: 不保护 - consoleProtection: 控制台修改保护
	ProtectionStatus *UpdatePoolReqProtectionStatus `json:"protection_status,omitempty"`

	// 设置保护的原因 >仅当protection_status为consoleProtection时有效。
	ProtectionReason *string `json:"protection_reason,omitempty"`
}

UpdatePoolReq 更新后端云服务器组的请求体

func (UpdatePoolReq) String

func (o UpdatePoolReq) String() string

type UpdatePoolReqProtectionStatus added in v0.1.77

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

func (UpdatePoolReqProtectionStatus) MarshalJSON added in v0.1.77

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

func (*UpdatePoolReqProtectionStatus) UnmarshalJSON added in v0.1.77

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

func (UpdatePoolReqProtectionStatus) Value added in v0.1.77

type UpdatePoolReqProtectionStatusEnum added in v0.1.77

type UpdatePoolReqProtectionStatusEnum struct {
	NON_PROTECTION     UpdatePoolReqProtectionStatus
	CONSOLE_PROTECTION UpdatePoolReqProtectionStatus
}

func GetUpdatePoolReqProtectionStatusEnum added in v0.1.77

func GetUpdatePoolReqProtectionStatusEnum() UpdatePoolReqProtectionStatusEnum

type UpdatePoolRequest

type UpdatePoolRequest struct {

	// 后端云服务器组id
	PoolId string `json:"pool_id"`

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

UpdatePoolRequest Request Object

func (UpdatePoolRequest) String

func (o UpdatePoolRequest) String() string

type UpdatePoolRequestBody

type UpdatePoolRequestBody struct {
	Pool *UpdatePoolReq `json:"pool"`
}

UpdatePoolRequestBody This is a auto create Body Object

func (UpdatePoolRequestBody) String

func (o UpdatePoolRequestBody) String() string

type UpdatePoolResponse

type UpdatePoolResponse struct {
	Pool           *PoolResp `json:"pool,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdatePoolResponse Response Object

func (UpdatePoolResponse) String

func (o UpdatePoolResponse) String() string

type UpdateWhitelistReq

type UpdateWhitelistReq struct {

	// 是否开启白名单访问控制开关。true:开启;false:关闭
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	// 白名单IP列表。可以是ip,例如192.168.10.123;也可以是一个网段,例如192.168.10.1/24;不同的值之间用逗号分隔
	Whitelist *string `json:"whitelist,omitempty"`
}

UpdateWhitelistReq

func (UpdateWhitelistReq) String

func (o UpdateWhitelistReq) String() string

type UpdateWhitelistRequest

type UpdateWhitelistRequest struct {

	// 待更新的白名单id
	WhitelistId string `json:"whitelist_id"`

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

UpdateWhitelistRequest Request Object

func (UpdateWhitelistRequest) String

func (o UpdateWhitelistRequest) String() string

type UpdateWhitelistRequestBody

type UpdateWhitelistRequestBody struct {
	Whitelist *UpdateWhitelistReq `json:"whitelist"`
}

UpdateWhitelistRequestBody This is a auto create Body Object

func (UpdateWhitelistRequestBody) String

type UpdateWhitelistResponse

type UpdateWhitelistResponse struct {
	Whitelist      *WhitelistResp `json:"whitelist,omitempty"`
	HttpStatusCode int            `json:"-"`
}

UpdateWhitelistResponse Response Object

func (UpdateWhitelistResponse) String

func (o UpdateWhitelistResponse) String() string

type WhitelistResp

type WhitelistResp struct {

	// 白名单id
	Id string `json:"id"`

	// 白名单所在的项目ID
	TenantId string `json:"tenant_id"`

	// 白名单关联的监听器ID
	ListenerId string `json:"listener_id"`

	// 是否开启白名单访问控制开关。true:开启;false:关闭
	EnableWhitelist bool `json:"enable_whitelist"`

	// 白名单IP列表。可以是ip,例如192.168.10.123;也可以是一个网段,例如192.168.10.1/24;不同的值之间用逗号分隔
	Whitelist string `json:"whitelist"`
}

WhitelistResp

func (WhitelistResp) String

func (o WhitelistResp) String() string

Source Files

Jump to

Keyboard shortcuts

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