model

package
v0.0.43-rc Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 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 {
	Key string `json:"key"`

	Value string `json:"value"`
}

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

func (ActionMatch) String

func (o ActionMatch) String() string

type ActionTag

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

	Values *[]string `json:"values,omitempty"`
}

要搜索的标签值。

func (ActionTag) String

func (o ActionTag) String() string

type BatchCreateListenerTagsRequest

type BatchCreateListenerTagsRequest struct {
	ListenerId string `json:"listener_id"`

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

Request Object

func (BatchCreateListenerTagsRequest) String

type BatchCreateListenerTagsRequestBody

type BatchCreateListenerTagsRequestBody struct {
	Action BatchCreateListenerTagsRequestBodyAction `json:"action"`

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

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

type BatchCreateListenerTagsRequestBodyActionEnum

type BatchCreateListenerTagsRequestBodyActionEnum struct {
	CREATE BatchCreateListenerTagsRequestBodyAction
}

func GetBatchCreateListenerTagsRequestBodyActionEnum

func GetBatchCreateListenerTagsRequestBodyActionEnum() BatchCreateListenerTagsRequestBodyActionEnum

type BatchCreateListenerTagsResponse

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

Response Object

func (BatchCreateListenerTagsResponse) String

type BatchCreateLoadbalancerTagsRequest

type BatchCreateLoadbalancerTagsRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`

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

Request Object

func (BatchCreateLoadbalancerTagsRequest) String

type BatchCreateLoadbalancerTagsRequestBody

type BatchCreateLoadbalancerTagsRequestBody struct {
	Action BatchCreateLoadbalancerTagsRequestBodyAction `json:"action"`

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

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

type BatchCreateLoadbalancerTagsRequestBodyActionEnum

type BatchCreateLoadbalancerTagsRequestBodyActionEnum struct {
	CREATE BatchCreateLoadbalancerTagsRequestBodyAction
}

func GetBatchCreateLoadbalancerTagsRequestBodyActionEnum

func GetBatchCreateLoadbalancerTagsRequestBodyActionEnum() BatchCreateLoadbalancerTagsRequestBodyActionEnum

type BatchCreateLoadbalancerTagsResponse

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

Response Object

func (BatchCreateLoadbalancerTagsResponse) String

type BatchDeleteListenerTagsRequest

type BatchDeleteListenerTagsRequest struct {
	ListenerId string `json:"listener_id"`

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

Request Object

func (BatchDeleteListenerTagsRequest) String

type BatchDeleteListenerTagsRequestBody

type BatchDeleteListenerTagsRequestBody struct {
	Action BatchDeleteListenerTagsRequestBodyAction `json:"action"`

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

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

type BatchDeleteListenerTagsRequestBodyActionEnum

type BatchDeleteListenerTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteListenerTagsRequestBodyAction
}

func GetBatchDeleteListenerTagsRequestBodyActionEnum

func GetBatchDeleteListenerTagsRequestBodyActionEnum() BatchDeleteListenerTagsRequestBodyActionEnum

type BatchDeleteListenerTagsResponse

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

Response Object

func (BatchDeleteListenerTagsResponse) String

type BatchDeleteLoadbalancerTagsRequest

type BatchDeleteLoadbalancerTagsRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`

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

Request Object

func (BatchDeleteLoadbalancerTagsRequest) String

type BatchDeleteLoadbalancerTagsRequestBody

type BatchDeleteLoadbalancerTagsRequestBody struct {
	Action BatchDeleteLoadbalancerTagsRequestBodyAction `json:"action"`

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

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

type BatchDeleteLoadbalancerTagsRequestBodyActionEnum

type BatchDeleteLoadbalancerTagsRequestBodyActionEnum struct {
	DELETE BatchDeleteLoadbalancerTagsRequestBodyAction
}

func GetBatchDeleteLoadbalancerTagsRequestBodyActionEnum

func GetBatchDeleteLoadbalancerTagsRequestBodyActionEnum() BatchDeleteLoadbalancerTagsRequestBodyActionEnum

type BatchDeleteLoadbalancerTagsResponse

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

Response Object

func (BatchDeleteLoadbalancerTagsResponse) String

type CertificateResp

type CertificateResp struct {
	Id string `json:"id"`

	TenantId string `json:"tenant_id"`

	AdminStateUp bool `json:"admin_state_up"`

	Name string `json:"name"`

	Description string `json:"description"`

	Type CertificateRespType `json:"type"`

	Domain string `json:"domain"`

	PrivateKey string `json:"private_key"`

	Certificate string `json:"certificate"`

	ExpireTime string `json:"expire_time"`

	CreateTime string `json:"create_time"`

	UpdateTime string `json:"update_time"`
}

证书接口增删改查响应体

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

type CertificateRespTypeEnum

type CertificateRespTypeEnum struct {
	SERVER CertificateRespType
	CLIENT CertificateRespType
}

func GetCertificateRespTypeEnum

func GetCertificateRespTypeEnum() CertificateRespTypeEnum

type CreateCertificateRequest

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

Request Object

func (CreateCertificateRequest) String

func (o CreateCertificateRequest) String() string

type CreateCertificateRequestBody

type CreateCertificateRequestBody struct {
	Certificate string `json:"certificate"`

	PrivateKey *string `json:"private_key,omitempty"`

	Description *string `json:"description,omitempty"`

	Domain *string `json:"domain,omitempty"`

	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

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

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

This is a auto create Body Object

func (CreateCertificateRequestBody) String

type CreateCertificateResponse

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

	TenantId *string `json:"tenant_id,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Domain *string `json:"domain,omitempty"`

	PrivateKey *string `json:"private_key,omitempty"`

	Certificate *string `json:"certificate,omitempty"`

	ExpireTime *string `json:"expire_time,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

type CreateCertificateResponseTypeEnum

type CreateCertificateResponseTypeEnum struct {
	SERVER CreateCertificateResponseType
	CLIENT CreateCertificateResponseType
}

func GetCreateCertificateResponseTypeEnum

func GetCreateCertificateResponseTypeEnum() CreateCertificateResponseTypeEnum

type CreateHealthmonitorReq

type CreateHealthmonitorReq struct {
	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	MonitorPort *int32 `json:"monitor_port,omitempty"`

	Timeout int32 `json:"timeout"`

	Type CreateHealthmonitorReqType `json:"type"`

	ExpectedCodes *string `json:"expected_codes,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	UrlPath *string `json:"url_path,omitempty"`

	HttpMethod *string `json:"http_method,omitempty"`

	Delay int32 `json:"delay"`

	MaxRetries int32 `json:"max_retries"`

	PoolId string `json:"pool_id"`
}

创建健康检查请求

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

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

Request Object

func (CreateHealthmonitorRequest) String

type CreateHealthmonitorRequestBody

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

This is a auto create Body Object

func (CreateHealthmonitorRequestBody) String

type CreateHealthmonitorResponse

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

Response Object

func (CreateHealthmonitorResponse) String

type CreateL7policyReq

type CreateL7policyReq struct {
	Name *string `json:"name,omitempty"`

	Action CreateL7policyReqAction `json:"action"`

	TenantId *string `json:"tenant_id,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Description *string `json:"description,omitempty"`

	ListenerId string `json:"listener_id"`

	RedirectPoolId *string `json:"redirect_pool_id,omitempty"`

	RedirectListenerId *string `json:"redirect_listener_id,omitempty"`

	RedirectUrl *string `json:"redirect_url,omitempty"`

	Position *int32 `json:"position,omitempty"`

	Rules *[]CreateL7ruleReqInPolicy `json:"rules,omitempty"`
}

转发策略对象

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

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

Request Object

func (CreateL7policyRequest) String

func (o CreateL7policyRequest) String() string

type CreateL7policyRequestBody

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

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

Response Object

func (CreateL7policyResponse) String

func (o CreateL7policyResponse) String() string

type CreateL7ruleReq

type CreateL7ruleReq struct {
	TenantId *string `json:"tenant_id,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Type CreateL7ruleReqType `json:"type"`

	CompareType string `json:"compare_type"`

	Key *string `json:"key,omitempty"`

	Value string `json:"value"`

	Invert *bool `json:"invert,omitempty"`
}

创建转发规则的请求体

func (CreateL7ruleReq) String

func (o CreateL7ruleReq) String() string

type CreateL7ruleReqInPolicy

type CreateL7ruleReqInPolicy struct {
	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Type CreateL7ruleReqInPolicyType `json:"type"`

	CompareType string `json:"compare_type"`

	Key *string `json:"key,omitempty"`

	Value string `json:"value"`

	Invert *bool `json:"invert,omitempty"`
}

创建转发规则的请求体

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

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

type CreateL7ruleReqTypeEnum

type CreateL7ruleReqTypeEnum struct {
	HOST_NAME CreateL7ruleReqType
	PATH      CreateL7ruleReqType
}

func GetCreateL7ruleReqTypeEnum

func GetCreateL7ruleReqTypeEnum() CreateL7ruleReqTypeEnum

type CreateL7ruleRequest

type CreateL7ruleRequest struct {
	L7policyId string `json:"l7policy_id"`

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

Request Object

func (CreateL7ruleRequest) String

func (o CreateL7ruleRequest) String() string

type CreateL7ruleRequestBody

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

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

Response Object

func (CreateL7ruleResponse) String

func (o CreateL7ruleResponse) String() string

type CreateListenerReq

type CreateListenerReq struct {
	LoadbalancerId string `json:"loadbalancer_id"`

	Protocol CreateListenerReqProtocol `json:"protocol"`

	ProtocolPort int32 `json:"protocol_port"`

	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	ConnectionLimit *int32 `json:"connection_limit,omitempty"`

	Http2Enable *bool `json:"http2_enable,omitempty"`

	DefaultPoolId *string `json:"default_pool_id,omitempty"`

	DefaultTlsContainerRef *string `json:"default_tls_container_ref,omitempty"`

	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,omitempty"`

	SniContainerRefs *[]string `json:"sni_container_refs,omitempty"`

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

	TlsCiphersPolicy *CreateListenerReqTlsCiphersPolicy `json:"tls_ciphers_policy,omitempty"`
}

创建监听器的结构体

func (CreateListenerReq) String

func (o CreateListenerReq) String() string

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

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

type CreateListenerRequest

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

Request Object

func (CreateListenerRequest) String

func (o CreateListenerRequest) String() string

type CreateListenerRequestBody

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

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

Response Object

func (CreateListenerResponse) String

func (o CreateListenerResponse) String() string

type CreateListenerTagsRequest

type CreateListenerTagsRequest struct {
	ListenerId string `json:"listener_id"`

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

Request Object

func (CreateListenerTagsRequest) String

func (o CreateListenerTagsRequest) String() string

type CreateListenerTagsRequestBody

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

This is a auto create Body Object

func (CreateListenerTagsRequestBody) String

type CreateListenerTagsResponse

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

Response Object

func (CreateListenerTagsResponse) String

type CreateLoadbalancerReq

type CreateLoadbalancerReq struct {
	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	VipSubnetId string `json:"vip_subnet_id"`

	VipAddress *string `json:"vip_address,omitempty"`

	Provider *CreateLoadbalancerReqProvider `json:"provider,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

创建负载均衡器的请求体

func (CreateLoadbalancerReq) String

func (o CreateLoadbalancerReq) String() string

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

type CreateLoadbalancerReqProviderEnum

type CreateLoadbalancerReqProviderEnum struct {
	VLB CreateLoadbalancerReqProvider
}

func GetCreateLoadbalancerReqProviderEnum

func GetCreateLoadbalancerReqProviderEnum() CreateLoadbalancerReqProviderEnum

type CreateLoadbalancerRequest

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

Request Object

func (CreateLoadbalancerRequest) String

func (o CreateLoadbalancerRequest) String() string

type CreateLoadbalancerRequestBody

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

This is a auto create Body Object

func (CreateLoadbalancerRequestBody) String

type CreateLoadbalancerResponse

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

Response Object

func (CreateLoadbalancerResponse) String

type CreateLoadbalancerTagsRequest

type CreateLoadbalancerTagsRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`

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

Request Object

func (CreateLoadbalancerTagsRequest) String

type CreateLoadbalancerTagsRequestBody

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

This is a auto create Body Object

func (CreateLoadbalancerTagsRequestBody) String

type CreateLoadbalancerTagsResponse

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

Response Object

func (CreateLoadbalancerTagsResponse) String

type CreateMemberReq

type CreateMemberReq struct {
	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	ProtocolPort int32 `json:"protocol_port"`

	SubnetId string `json:"subnet_id"`

	Address string `json:"address"`

	Weight *int32 `json:"weight,omitempty"`
}

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

func (CreateMemberReq) String

func (o CreateMemberReq) String() string

type CreateMemberRequest

type CreateMemberRequest struct {
	PoolId string `json:"pool_id"`

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

Request Object

func (CreateMemberRequest) String

func (o CreateMemberRequest) String() string

type CreateMemberRequestBody

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

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

Response Object

func (CreateMemberResponse) String

func (o CreateMemberResponse) String() string

type CreatePoolReq

type CreatePoolReq struct {
	Protocol CreatePoolReqProtocol `json:"protocol"`

	LbAlgorithm string `json:"lb_algorithm"`

	LoadbalancerId *string `json:"loadbalancer_id,omitempty"`

	ListenerId *string `json:"listener_id,omitempty"`

	TenantId *string `json:"tenant_id,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

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

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

func (CreatePoolReq) String

func (o CreatePoolReq) String() string

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

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

Request Object

func (CreatePoolRequest) String

func (o CreatePoolRequest) String() string

type CreatePoolRequestBody

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

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

Response Object

func (CreatePoolResponse) String

func (o CreatePoolResponse) String() string

type CreateWhitelistReq

type CreateWhitelistReq struct {
	TenantId *string `json:"tenant_id,omitempty"`

	ListenerId string `json:"listener_id"`

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

	Whitelist *string `json:"whitelist,omitempty"`
}

func (CreateWhitelistReq) String

func (o CreateWhitelistReq) String() string

type CreateWhitelistRequest

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

Request Object

func (CreateWhitelistRequest) String

func (o CreateWhitelistRequest) String() string

type CreateWhitelistRequestBody

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

This is a auto create Body Object

func (CreateWhitelistRequestBody) String

type CreateWhitelistResponse

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

Response Object

func (CreateWhitelistResponse) String

func (o CreateWhitelistResponse) String() string

type DeleteCertificateRequest

type DeleteCertificateRequest struct {
	CertificateId string `json:"certificate_id"`
}

Request Object

func (DeleteCertificateRequest) String

func (o DeleteCertificateRequest) String() string

type DeleteCertificateResponse

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

Response Object

func (DeleteCertificateResponse) String

func (o DeleteCertificateResponse) String() string

type DeleteHealthmonitorRequest

type DeleteHealthmonitorRequest struct {
	HealthmonitorId string `json:"healthmonitor_id"`
}

Request Object

func (DeleteHealthmonitorRequest) String

type DeleteHealthmonitorResponse

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

Response Object

func (DeleteHealthmonitorResponse) String

type DeleteL7policyRequest

type DeleteL7policyRequest struct {
	L7policyId string `json:"l7policy_id"`
}

Request Object

func (DeleteL7policyRequest) String

func (o DeleteL7policyRequest) String() string

type DeleteL7policyResponse

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

Response Object

func (DeleteL7policyResponse) String

func (o DeleteL7policyResponse) String() string

type DeleteL7ruleRequest

type DeleteL7ruleRequest struct {
	L7policyId string `json:"l7policy_id"`

	L7ruleId string `json:"l7rule_id"`
}

Request Object

func (DeleteL7ruleRequest) String

func (o DeleteL7ruleRequest) String() string

type DeleteL7ruleResponse

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

Response Object

func (DeleteL7ruleResponse) String

func (o DeleteL7ruleResponse) String() string

type DeleteListenerRequest

type DeleteListenerRequest struct {
	Cascade *bool `json:"cascade,omitempty"`

	ListenerId string `json:"listener_id"`
}

Request Object

func (DeleteListenerRequest) String

func (o DeleteListenerRequest) String() string

type DeleteListenerResponse

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

Response Object

func (DeleteListenerResponse) String

func (o DeleteListenerResponse) String() string

type DeleteListenerTagsRequest

type DeleteListenerTagsRequest struct {
	ListenerId string `json:"listener_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteListenerTagsRequest) String

func (o DeleteListenerTagsRequest) String() string

type DeleteListenerTagsResponse

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

Response Object

func (DeleteListenerTagsResponse) String

type DeleteLoadbalancerRequest

type DeleteLoadbalancerRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`

	Cascade *bool `json:"cascade,omitempty"`
}

Request Object

func (DeleteLoadbalancerRequest) String

func (o DeleteLoadbalancerRequest) String() string

type DeleteLoadbalancerResponse

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

Response Object

func (DeleteLoadbalancerResponse) String

type DeleteLoadbalancerTagsRequest

type DeleteLoadbalancerTagsRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`

	Key string `json:"key"`
}

Request Object

func (DeleteLoadbalancerTagsRequest) String

type DeleteLoadbalancerTagsResponse

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

Response Object

func (DeleteLoadbalancerTagsResponse) String

type DeleteMemberRequest

type DeleteMemberRequest struct {
	PoolId string `json:"pool_id"`

	MemberId string `json:"member_id"`
}

Request Object

func (DeleteMemberRequest) String

func (o DeleteMemberRequest) String() string

type DeleteMemberResponse

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

Response Object

func (DeleteMemberResponse) String

func (o DeleteMemberResponse) String() string

type DeletePoolRequest

type DeletePoolRequest struct {
	PoolId string `json:"pool_id"`
}

Request Object

func (DeletePoolRequest) String

func (o DeletePoolRequest) String() string

type DeletePoolResponse

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

Response Object

func (DeletePoolResponse) String

func (o DeletePoolResponse) String() string

type DeleteWhitelistRequest

type DeleteWhitelistRequest struct {
	WhitelistId string `json:"whitelist_id"`
}

Request Object

func (DeleteWhitelistRequest) String

func (o DeleteWhitelistRequest) String() string

type DeleteWhitelistResponse

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

Response Object

func (DeleteWhitelistResponse) String

func (o DeleteWhitelistResponse) String() string

type HealthmonitorResp

type HealthmonitorResp struct {
	Id string `json:"id"`

	ProjectId string `json:"project_id"`

	TenantId string `json:"tenant_id"`

	Name string `json:"name"`

	AdminStateUp bool `json:"admin_state_up"`

	MonitorPort int32 `json:"monitor_port"`

	Timeout int32 `json:"timeout"`

	Type HealthmonitorRespType `json:"type"`

	ExpectedCodes string `json:"expected_codes"`

	DomainName string `json:"domain_name"`

	UrlPath string `json:"url_path"`

	HttpMethod string `json:"http_method"`

	Delay int32 `json:"delay"`

	MaxRetries int32 `json:"max_retries"`

	Pools []ResourceList `json:"pools"`
}

健康检查响应体

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

type HealthmonitorRespTypeEnum

type HealthmonitorRespTypeEnum struct {
	TCP         HealthmonitorRespType
	UDP_CONNECT HealthmonitorRespType
	HTTP        HealthmonitorRespType
}

func GetHealthmonitorRespTypeEnum

func GetHealthmonitorRespTypeEnum() HealthmonitorRespTypeEnum

type HealthmonitorsInStatusResp

type HealthmonitorsInStatusResp struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Type HealthmonitorsInStatusRespType `json:"type"`

	ProvisioningStatus string `json:"provisioning_status"`
}

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

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

type HealthmonitorsInStatusRespTypeEnum

type HealthmonitorsInStatusRespTypeEnum struct {
	UDP_CONNECT HealthmonitorsInStatusRespType
	TCP         HealthmonitorsInStatusRespType
	HTTP        HealthmonitorsInStatusRespType
}

func GetHealthmonitorsInStatusRespTypeEnum

func GetHealthmonitorsInStatusRespTypeEnum() HealthmonitorsInStatusRespTypeEnum

type InsertHeader

type InsertHeader struct {
	XForwardedELBIP *bool `json:"X-Forwarded-ELB-IP,omitempty"`

	XForwardedHost *bool `json:"X-Forwarded-Host,omitempty"`
}

监听器HTTP扩展头部对象。

func (InsertHeader) String

func (o InsertHeader) String() string

type L7policiesInStatusResp

type L7policiesInStatusResp struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Rules []L7rulesInStatusResp `json:"rules"`

	Action L7policiesInStatusRespAction `json:"action"`

	ProvisioningStatus string `json:"provisioning_status"`
}

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

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

type L7policiesInStatusRespActionEnum

type L7policiesInStatusRespActionEnum struct {
	REDIRECT_TO_POOL     L7policiesInStatusRespAction
	REDIRECT_TO_LISTENER L7policiesInStatusRespAction
}

func GetL7policiesInStatusRespActionEnum

func GetL7policiesInStatusRespActionEnum() L7policiesInStatusRespActionEnum

type L7policyResp

type L7policyResp struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Rules []ResourceList `json:"rules"`

	Action L7policyRespAction `json:"action"`

	ProvisioningStatus string `json:"provisioning_status"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`

	AdminStateUp bool `json:"admin_state_up"`

	Description string `json:"description"`

	ListenerId string `json:"listener_id"`

	RedirectPoolId string `json:"redirect_pool_id"`

	RedirectListenerId string `json:"redirect_listener_id"`

	RedirectUrl string `json:"redirect_url"`

	Position int32 `json:"position"`
}

转发策略对象

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

type L7policyRespActionEnum

type L7policyRespActionEnum struct {
	REDIRECT_TO_POOL     L7policyRespAction
	REDIRECT_TO_LISTENER L7policyRespAction
}

func GetL7policyRespActionEnum

func GetL7policyRespActionEnum() L7policyRespActionEnum

type L7ruleResp

type L7ruleResp struct {
	Id string `json:"id"`

	ProvisioningStatus string `json:"provisioning_status"`

	TenantId string `json:"tenant_id"`

	ProjectId string `json:"project_id"`

	AdminStateUp bool `json:"admin_state_up"`

	Type L7ruleRespType `json:"type"`

	CompareType string `json:"compare_type"`

	Invert bool `json:"invert"`

	Key string `json:"key"`

	Value string `json:"value"`
}

转发规则对象

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

type L7ruleRespTypeEnum

type L7ruleRespTypeEnum struct {
	HOST_NAME L7ruleRespType
	PATH      L7ruleRespType
}

func GetL7ruleRespTypeEnum

func GetL7ruleRespTypeEnum() L7ruleRespTypeEnum

type L7rulesInStatusResp

type L7rulesInStatusResp struct {
	Type L7rulesInStatusRespType `json:"type"`

	Id string `json:"id"`

	ProvisioningStatus string `json:"provisioning_status"`
}

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

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

type L7rulesInStatusRespTypeEnum

type L7rulesInStatusRespTypeEnum struct {
	PATH      L7rulesInStatusRespType
	HOST_NAME L7rulesInStatusRespType
}

func GetL7rulesInStatusRespTypeEnum

func GetL7rulesInStatusRespTypeEnum() L7rulesInStatusRespTypeEnum

type ListCertificatesRequest

type ListCertificatesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *string `json:"page_reverse,omitempty"`

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

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Domain *string `json:"domain,omitempty"`

	PrivateKey *string `json:"private_key,omitempty"`

	Certificate *string `json:"certificate,omitempty"`
}

Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {
	Certificates *[]CertificateResp `json:"certificates,omitempty"`

	InstanceNum    *int32 `json:"instance_num,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListHealthmonitorsRequest

type ListHealthmonitorsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	Name *string `json:"name,omitempty"`

	Delay *int32 `json:"delay,omitempty"`

	MaxRetries *int32 `json:"max_retries,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

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

	MonitorPort *int32 `json:"monitor_port,omitempty"`

	ExpectedCodes *string `json:"expected_codes,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	UrlPath *string `json:"url_path,omitempty"`

	HttpMethod *string `json:"http_method,omitempty"`
}

Request Object

func (ListHealthmonitorsRequest) String

func (o ListHealthmonitorsRequest) String() string

type ListHealthmonitorsResponse

type ListHealthmonitorsResponse struct {
	Healthmonitors *[]HealthmonitorResp `json:"healthmonitors,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (ListHealthmonitorsResponse) String

type ListL7policiesRequest

type ListL7policiesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	ListenerId *string `json:"listener_id,omitempty"`

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

	RedirectPoolId *string `json:"redirect_pool_id,omitempty"`

	RedirectListenerId *string `json:"redirect_listener_id,omitempty"`

	RedirectUrl *string `json:"redirect_url,omitempty"`

	Position *int32 `json:"position,omitempty"`

	ProvisioningStatus *string `json:"provisioning_status,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	DisplayAllRules *bool `json:"display_all_rules,omitempty"`
}

Request Object

func (ListL7policiesRequest) String

func (o ListL7policiesRequest) String() string

type ListL7policiesResponse

type ListL7policiesResponse struct {
	L7policies     *[]L7policyResp `json:"l7policies,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListL7policiesResponse) String

func (o ListL7policiesResponse) String() string

type ListL7rulesRequest

type ListL7rulesRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

	L7policyId string `json:"l7policy_id"`

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

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

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

	CompareType *string `json:"compare_type,omitempty"`

	Invert *bool `json:"invert,omitempty"`

	Key *string `json:"key,omitempty"`

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

	ProvisioningStatus *string `json:"provisioning_status,omitempty"`
}

Request Object

func (ListL7rulesRequest) String

func (o ListL7rulesRequest) String() string

type ListL7rulesResponse

type ListL7rulesResponse struct {
	Rules          *[]L7ruleResp `json:"rules,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListL7rulesResponse) String

func (o ListL7rulesResponse) String() string

type ListListenerTagsRequest

type ListListenerTagsRequest struct {
}

Request Object

func (ListListenerTagsRequest) String

func (o ListListenerTagsRequest) String() string

type ListListenerTagsResponse

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

Response Object

func (ListListenerTagsResponse) String

func (o ListListenerTagsResponse) String() string

type ListListenersByTagsRequest

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

Request Object

func (ListListenersByTagsRequest) String

type ListListenersByTagsRequestBody

type ListListenersByTagsRequestBody struct {
	Offset *int32 `json:"offset,omitempty"`

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

	Action string `json:"action"`

	Matches *[]ActionMatch `json:"matches,omitempty"`

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

	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`
}

This is a auto create Body Object

func (ListListenersByTagsRequestBody) String

type ListListenersByTagsResponse

type ListListenersByTagsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Resources      *[]ResourcesByTag `json:"resources,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListListenersByTagsResponse) String

type ListListenersRequest

type ListListenersRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	DefaultPoolId *string `json:"default_pool_id,omitempty"`

	DefaultTlsContainerRef *string `json:"default_tls_container_ref,omitempty"`

	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,omitempty"`

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

	ProtocolPort *int32 `json:"protocol_port,omitempty"`

	TlsCiphersPolicy *string `json:"tls_ciphers_policy,omitempty"`

	MemberTimeout *int32 `json:"member_timeout,omitempty"`

	ClientTimeout *int32 `json:"client_timeout,omitempty"`

	KeepaliveTimeout *int32 `json:"keepalive_timeout,omitempty"`

	TlsContainerId *string `json:"tls_container_id,omitempty"`
}

Request Object

func (ListListenersRequest) String

func (o ListListenersRequest) String() string

type ListListenersResponse

type ListListenersResponse struct {
	Listeners      *[]ListenerResp `json:"listeners,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (ListListenersResponse) String

func (o ListListenersResponse) String() string

type ListLoadbalancerTagsRequest

type ListLoadbalancerTagsRequest struct {
}

Request Object

func (ListLoadbalancerTagsRequest) String

type ListLoadbalancerTagsResponse

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

Response Object

func (ListLoadbalancerTagsResponse) String

type ListLoadbalancersByTagsRequest

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

Request Object

func (ListLoadbalancersByTagsRequest) String

type ListLoadbalancersByTagsRequestBody

type ListLoadbalancersByTagsRequestBody struct {
	Offset *int32 `json:"offset,omitempty"`

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

	Action string `json:"action"`

	Matches *[]ActionMatch `json:"matches,omitempty"`

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

	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`
}

This is a auto create Body Object

func (ListLoadbalancersByTagsRequestBody) String

type ListLoadbalancersByTagsResponse

type ListLoadbalancersByTagsResponse struct {
	TotalCount *int32 `json:"total_count,omitempty"`

	Resources      *[]ResourcesByTag `json:"resources,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListLoadbalancersByTagsResponse) String

type ListLoadbalancersRequest

type ListLoadbalancersRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	Description *string `json:"description,omitempty"`

	Name *string `json:"name,omitempty"`

	OperatingStatus *string `json:"operating_status,omitempty"`

	ProvisioningStatus *string `json:"provisioning_status,omitempty"`

	VipAddress *string `json:"vip_address,omitempty"`

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

	VipSubnetId *string `json:"vip_subnet_id,omitempty"`

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

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	MemberAddress *string `json:"member_address,omitempty"`

	MemberDeviceId *string `json:"member_device_id,omitempty"`
}

Request Object

func (ListLoadbalancersRequest) String

func (o ListLoadbalancersRequest) String() string

type ListLoadbalancersResponse

type ListLoadbalancersResponse struct {
	Loadbalancers  *[]LoadbalancerResp `json:"loadbalancers,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListLoadbalancersResponse) String

func (o ListLoadbalancersResponse) String() string

type ListMembersRequest

type ListMembersRequest struct {
	PoolId string `json:"pool_id"`

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

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	Name *string `json:"name,omitempty"`

	Address *string `json:"address,omitempty"`

	ProtocolPort *int32 `json:"protocol_port,omitempty"`

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

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Weight *int32 `json:"weight,omitempty"`
}

Request Object

func (ListMembersRequest) String

func (o ListMembersRequest) String() string

type ListMembersResponse

type ListMembersResponse struct {
	Members        *[]MemberResp `json:"members,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListMembersResponse) String

func (o ListMembersResponse) String() string

type ListPoolsRequest

type ListPoolsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	HealthmonitorId *string `json:"healthmonitor_id,omitempty"`

	LoadbalancerId *string `json:"loadbalancer_id,omitempty"`

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

	LbAlgorithm *string `json:"lb_algorithm,omitempty"`

	MemberAddress *string `json:"member_address,omitempty"`

	MemberDeviceId *string `json:"member_device_id,omitempty"`

	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`
}

Request Object

func (ListPoolsRequest) String

func (o ListPoolsRequest) String() string

type ListPoolsResponse

type ListPoolsResponse struct {
	Pools          *[]PoolResp `json:"pools,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListPoolsResponse) String

func (o ListPoolsResponse) String() string

type ListTag

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

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

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

func (ListTag) String

func (o ListTag) String() string

type ListWhitelistsRequest

type ListWhitelistsRequest struct {
	Limit *int32 `json:"limit,omitempty"`

	Marker *string `json:"marker,omitempty"`

	PageReverse *bool `json:"page_reverse,omitempty"`

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

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

	ListenerId *string `json:"listener_id,omitempty"`

	Whitelist *string `json:"whitelist,omitempty"`
}

Request Object

func (ListWhitelistsRequest) String

func (o ListWhitelistsRequest) String() string

type ListWhitelistsResponse

type ListWhitelistsResponse struct {
	Whitelists     *[]WhitelistResp `json:"whitelists,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListWhitelistsResponse) String

func (o ListWhitelistsResponse) String() string

type ListenerResp

type ListenerResp struct {
	Id string `json:"id"`

	TenantId string `json:"tenant_id"`

	Name string `json:"name"`

	Description string `json:"description"`

	AdminStateUp bool `json:"admin_state_up"`

	Loadbalancers []ResourceList `json:"loadbalancers"`

	ConnectionLimit int32 `json:"connection_limit"`

	Http2Enable bool `json:"http2_enable"`

	Protocol ListenerRespProtocol `json:"protocol"`

	ProtocolPort int32 `json:"protocol_port"`

	DefaultPoolId string `json:"default_pool_id"`

	DefaultTlsContainerRef string `json:"default_tls_container_ref"`

	ClientCaTlsContainerRef string `json:"client_ca_tls_container_ref"`

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

	ProjectId string `json:"project_id"`

	TlsCiphersPolicy string `json:"tls_ciphers_policy"`
}

监听器响应体

func (ListenerResp) String

func (o ListenerResp) String() string

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

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 string `json:"id"`

	Name string `json:"name"`

	Pools []PoolsInStatusResp `json:"pools"`

	L7policies []L7policiesInStatusResp `json:"l7policies"`

	OperatingStatus string `json:"operating_status"`

	ProvisioningStatus string `json:"provisioning_status"`
}

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

func (ListenersInStatusResp) String

func (o ListenersInStatusResp) String() string

type LoadbalancerInStatusResp

type LoadbalancerInStatusResp struct {
	Name string `json:"name"`

	Id string `json:"id"`

	Listeners []ListenersInStatusResp `json:"listeners"`

	Pools []PoolsInStatusResp `json:"pools"`

	OperatingStatus LoadbalancerInStatusRespOperatingStatus `json:"operating_status"`

	ProvisioningStatus LoadbalancerInStatusRespProvisioningStatus `json:"provisioning_status"`
}

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

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

type LoadbalancerInStatusRespProvisioningStatus

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

func (LoadbalancerInStatusRespProvisioningStatus) MarshalJSON

func (*LoadbalancerInStatusRespProvisioningStatus) UnmarshalJSON

type LoadbalancerResp

type LoadbalancerResp struct {
	Id string `json:"id"`

	TenantId string `json:"tenant_id"`

	Name string `json:"name"`

	Description string `json:"description"`

	VipSubnetId string `json:"vip_subnet_id"`

	VipPortId string `json:"vip_port_id"`

	VipAddress string `json:"vip_address"`

	Listeners []ResourceList `json:"listeners"`

	Pools []ResourceList `json:"pools"`

	Provider string `json:"provider"`

	OperatingStatus LoadbalancerRespOperatingStatus `json:"operating_status"`

	ProvisioningStatus LoadbalancerRespProvisioningStatus `json:"provisioning_status"`

	AdminStateUp bool `json:"admin_state_up"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	EnterpriseProjectId string `json:"enterprise_project_id"`

	ProjectId string `json:"project_id"`

	Tags []string `json:"tags"`
}

负载均衡器响应体

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

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

type LoadbalancerRespProvisioningStatusEnum

type LoadbalancerRespProvisioningStatusEnum struct {
	ACTIVE         LoadbalancerRespProvisioningStatus
	PENDING_CREATE LoadbalancerRespProvisioningStatus
	ERROR          LoadbalancerRespProvisioningStatus
}

func GetLoadbalancerRespProvisioningStatusEnum

func GetLoadbalancerRespProvisioningStatusEnum() LoadbalancerRespProvisioningStatusEnum

type MemberResp

type MemberResp struct {
	Id string `json:"id"`

	ProjectId string `json:"project_id"`

	TenantId string `json:"tenant_id"`

	Name string `json:"name"`

	AdminStateUp bool `json:"admin_state_up"`

	ProtocolPort int32 `json:"protocol_port"`

	SubnetId string `json:"subnet_id"`

	Address string `json:"address"`

	Weight int32 `json:"weight"`

	OperatingStatus string `json:"operating_status"`
}

后端云服务器响应体

func (MemberResp) String

func (o MemberResp) String() string

type MembersInStatusResp

type MembersInStatusResp struct {
	Id string `json:"id"`

	Address string `json:"address"`

	ProtocolPort int32 `json:"protocol_port"`

	OperatingStatus MembersInStatusRespOperatingStatus `json:"operating_status"`

	ProvisioningStatus string `json:"provisioning_status"`
}

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

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

type PoolResp

type PoolResp struct {
	Id string `json:"id"`

	ProjectId string `json:"project_id"`

	TenantId string `json:"tenant_id"`

	Name string `json:"name"`

	Description string `json:"description"`

	AdminStateUp bool `json:"admin_state_up"`

	Loadbalancers []ResourceList `json:"loadbalancers"`

	Listeners []ResourceList `json:"listeners"`

	Members []ResourceList `json:"members"`

	HealthmonitorId string `json:"healthmonitor_id"`

	SessionPersistence *SessionPersistence `json:"session_persistence"`

	Protocol PoolRespProtocol `json:"protocol"`

	LbAlgorithm PoolRespLbAlgorithm `json:"lb_algorithm"`
}

后端云服务器组响应体

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

type PoolRespLbAlgorithmEnum

type PoolRespLbAlgorithmEnum struct {
	ROUND_ROBIN       PoolRespLbAlgorithm
	LEAST_CONNECTIONS PoolRespLbAlgorithm
	SOURCE_IP         PoolRespLbAlgorithm
}

func GetPoolRespLbAlgorithmEnum

func GetPoolRespLbAlgorithmEnum() PoolRespLbAlgorithmEnum

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

type PoolRespProtocolEnum

type PoolRespProtocolEnum struct {
	UDP  PoolRespProtocol
	TCP  PoolRespProtocol
	HTTP PoolRespProtocol
}

func GetPoolRespProtocolEnum

func GetPoolRespProtocolEnum() PoolRespProtocolEnum

type PoolsInStatusResp

type PoolsInStatusResp struct {
	Id string `json:"id"`

	Name string `json:"name"`

	Members []MembersInStatusResp `json:"members"`

	OperatingStatus string `json:"operating_status"`

	ProvisioningStatus string `json:"provisioning_status"`

	Healthmonitor *HealthmonitorsInStatusResp `json:"healthmonitor"`
}

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

func (PoolsInStatusResp) String

func (o PoolsInStatusResp) String() string

type ResourceList

type ResourceList struct {
	Id string `json:"id"`
}

用于资源对象id列表,{“id”:id值}

func (ResourceList) String

func (o ResourceList) String() string

type ResourceTag

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

	Value string `json:"value"`
}

资源标签

func (ResourceTag) String

func (o ResourceTag) String() string

type ResourcesByTag

type ResourcesByTag struct {
	ResourceId string `json:"resource_id"`

	ResourceName string `json:"resource_name"`

	ResourceDetail string `json:"resource_detail"`

	Tags []ResourceTag `json:"tags"`

	SuperResourceId *string `json:"super_resource_id,omitempty"`
}

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

func (ResourcesByTag) String

func (o ResourcesByTag) String() string

type SessionPersistence

type SessionPersistence struct {
	Type SessionPersistenceType `json:"type"`

	CookieName *string `json:"cookie_name,omitempty"`

	PersistenceTimeout *int32 `json:"persistence_timeout,omitempty"`
}

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

type SessionPersistenceTypeEnum

type SessionPersistenceTypeEnum struct {
	SOURCE_IP   SessionPersistenceType
	HTTP_COOKIE SessionPersistenceType
	APP_COOKIE  SessionPersistenceType
}

func GetSessionPersistenceTypeEnum

func GetSessionPersistenceTypeEnum() SessionPersistenceTypeEnum

type ShowCertificateRequest

type ShowCertificateRequest struct {
	CertificateId string `json:"certificate_id"`
}

Request Object

func (ShowCertificateRequest) String

func (o ShowCertificateRequest) String() string

type ShowCertificateResponse

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

	TenantId *string `json:"tenant_id,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Domain *string `json:"domain,omitempty"`

	PrivateKey *string `json:"private_key,omitempty"`

	Certificate *string `json:"certificate,omitempty"`

	ExpireTime *string `json:"expire_time,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

type ShowCertificateResponseTypeEnum

type ShowCertificateResponseTypeEnum struct {
	SERVER ShowCertificateResponseType
	CLIENT ShowCertificateResponseType
}

func GetShowCertificateResponseTypeEnum

func GetShowCertificateResponseTypeEnum() ShowCertificateResponseTypeEnum

type ShowHealthmonitorsRequest

type ShowHealthmonitorsRequest struct {
	HealthmonitorId string `json:"healthmonitor_id"`
}

Request Object

func (ShowHealthmonitorsRequest) String

func (o ShowHealthmonitorsRequest) String() string

type ShowHealthmonitorsResponse

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

Response Object

func (ShowHealthmonitorsResponse) String

type ShowL7policyRequest

type ShowL7policyRequest struct {
	L7policyId string `json:"l7policy_id"`
}

Request Object

func (ShowL7policyRequest) String

func (o ShowL7policyRequest) String() string

type ShowL7policyResponse

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

Response Object

func (ShowL7policyResponse) String

func (o ShowL7policyResponse) String() string

type ShowL7ruleRequest

type ShowL7ruleRequest struct {
	L7policyId string `json:"l7policy_id"`

	L7ruleId string `json:"l7rule_id"`
}

Request Object

func (ShowL7ruleRequest) String

func (o ShowL7ruleRequest) String() string

type ShowL7ruleResponse

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

Response Object

func (ShowL7ruleResponse) String

func (o ShowL7ruleResponse) String() string

type ShowListenerRequest

type ShowListenerRequest struct {
	ListenerId string `json:"listener_id"`
}

Request Object

func (ShowListenerRequest) String

func (o ShowListenerRequest) String() string

type ShowListenerResponse

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

Response Object

func (ShowListenerResponse) String

func (o ShowListenerResponse) String() string

type ShowListenerTagsRequest

type ShowListenerTagsRequest struct {
	ListenerId string `json:"listener_id"`
}

Request Object

func (ShowListenerTagsRequest) String

func (o ShowListenerTagsRequest) String() string

type ShowListenerTagsResponse

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

Response Object

func (ShowListenerTagsResponse) String

func (o ShowListenerTagsResponse) String() string

type ShowLoadbalancerRequest

type ShowLoadbalancerRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`
}

Request Object

func (ShowLoadbalancerRequest) String

func (o ShowLoadbalancerRequest) String() string

type ShowLoadbalancerResponse

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

Response Object

func (ShowLoadbalancerResponse) String

func (o ShowLoadbalancerResponse) String() string

type ShowLoadbalancerTagsRequest

type ShowLoadbalancerTagsRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`
}

Request Object

func (ShowLoadbalancerTagsRequest) String

type ShowLoadbalancerTagsResponse

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

Response Object

func (ShowLoadbalancerTagsResponse) String

type ShowLoadbalancersStatusRequest

type ShowLoadbalancersStatusRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`
}

Request Object

func (ShowLoadbalancersStatusRequest) String

type ShowLoadbalancersStatusResponse

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

Response Object

func (ShowLoadbalancersStatusResponse) String

type ShowMemberRequest

type ShowMemberRequest struct {
	PoolId string `json:"pool_id"`

	MemberId string `json:"member_id"`
}

Request Object

func (ShowMemberRequest) String

func (o ShowMemberRequest) String() string

type ShowMemberResponse

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

Response Object

func (ShowMemberResponse) String

func (o ShowMemberResponse) String() string

type ShowPoolRequest

type ShowPoolRequest struct {
	PoolId string `json:"pool_id"`
}

Request Object

func (ShowPoolRequest) String

func (o ShowPoolRequest) String() string

type ShowPoolResponse

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

Response Object

func (ShowPoolResponse) String

func (o ShowPoolResponse) String() string

type ShowWhitelistRequest

type ShowWhitelistRequest struct {
	WhitelistId string `json:"whitelist_id"`
}

Request Object

func (ShowWhitelistRequest) String

func (o ShowWhitelistRequest) String() string

type ShowWhitelistResponse

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

Response Object

func (ShowWhitelistResponse) String

func (o ShowWhitelistResponse) String() string

type StatusResp

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

负载均衡器状态树对象

func (StatusResp) String

func (o StatusResp) String() string

type UpdateCertificateRequest

type UpdateCertificateRequest struct {
	CertificateId string `json:"certificate_id"`

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

Request Object

func (UpdateCertificateRequest) String

func (o UpdateCertificateRequest) String() string

type UpdateCertificateRequestBody

type UpdateCertificateRequestBody struct {
	Certificate *string `json:"certificate,omitempty"`

	PrivateKey *string `json:"private_key,omitempty"`

	Description *string `json:"description,omitempty"`

	Domain *string `json:"domain,omitempty"`

	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`
}

This is a auto create Body Object

func (UpdateCertificateRequestBody) String

type UpdateCertificateResponse

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

	TenantId *string `json:"tenant_id,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

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

	Domain *string `json:"domain,omitempty"`

	PrivateKey *string `json:"private_key,omitempty"`

	Certificate *string `json:"certificate,omitempty"`

	ExpireTime *string `json:"expire_time,omitempty"`

	CreateTime *string `json:"create_time,omitempty"`

	UpdateTime     *string `json:"update_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

type UpdateCertificateResponseTypeEnum

type UpdateCertificateResponseTypeEnum struct {
	SERVER UpdateCertificateResponseType
	CLIENT UpdateCertificateResponseType
}

func GetUpdateCertificateResponseTypeEnum

func GetUpdateCertificateResponseTypeEnum() UpdateCertificateResponseTypeEnum

type UpdateHealthmonitorReq

type UpdateHealthmonitorReq struct {
	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	MonitorPort *int32 `json:"monitor_port,omitempty"`

	Timeout *int32 `json:"timeout,omitempty"`

	ExpectedCodes *string `json:"expected_codes,omitempty"`

	DomainName *string `json:"domain_name,omitempty"`

	UrlPath *string `json:"url_path,omitempty"`

	HttpMethod *string `json:"http_method,omitempty"`

	Delay *int32 `json:"delay,omitempty"`

	MaxRetries *int32 `json:"max_retries,omitempty"`

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

更新健康检查请求

func (UpdateHealthmonitorReq) String

func (o UpdateHealthmonitorReq) String() string

type UpdateHealthmonitorRequest

type UpdateHealthmonitorRequest struct {
	HealthmonitorId string `json:"healthmonitor_id"`

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

Request Object

func (UpdateHealthmonitorRequest) String

type UpdateHealthmonitorRequestBody

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

This is a auto create Body Object

func (UpdateHealthmonitorRequestBody) String

type UpdateHealthmonitorResponse

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

Response Object

func (UpdateHealthmonitorResponse) String

type UpdateL7policiesRequest

type UpdateL7policiesRequest struct {
	L7policyId string `json:"l7policy_id"`

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

Request Object

func (UpdateL7policiesRequest) String

func (o UpdateL7policiesRequest) String() string

type UpdateL7policiesRequestBody

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

This is a auto create Body Object

func (UpdateL7policiesRequestBody) String

type UpdateL7policiesResponse

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

Response Object

func (UpdateL7policiesResponse) String

func (o UpdateL7policiesResponse) String() string

type UpdateL7policyReq

type UpdateL7policyReq struct {
	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Description *string `json:"description,omitempty"`

	RedirectListenerId *string `json:"redirect_listener_id,omitempty"`

	RedirectPoolId *string `json:"redirect_pool_id,omitempty"`
}

更新转发策略对象请求体

func (UpdateL7policyReq) String

func (o UpdateL7policyReq) String() string

type UpdateL7ruleReq

type UpdateL7ruleReq struct {
	CompareType *string `json:"compare_type,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Invert *bool `json:"invert,omitempty"`

	Key *string `json:"key,omitempty"`

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

L7转发策略请求实体

func (UpdateL7ruleReq) String

func (o UpdateL7ruleReq) String() string

type UpdateL7ruleRequest

type UpdateL7ruleRequest struct {
	L7policyId string `json:"l7policy_id"`

	L7ruleId string `json:"l7rule_id"`

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

Request Object

func (UpdateL7ruleRequest) String

func (o UpdateL7ruleRequest) String() string

type UpdateL7ruleRequestBody

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

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

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

	ConnectionLimit *int32 `json:"connection_limit,omitempty"`

	Http2Enable *bool `json:"http2_enable,omitempty"`

	DefaultPoolId *string `json:"default_pool_id,omitempty"`

	DefaultTlsContainerRef *string `json:"default_tls_container_ref,omitempty"`

	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,omitempty"`

	SniContainerRefs *[]string `json:"sni_container_refs,omitempty"`

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

	TlsCiphersPolicy *string `json:"tls_ciphers_policy,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`
}

更新监听器的结构体

func (UpdateListenerReq) String

func (o UpdateListenerReq) String() string

type UpdateListenerRequest

type UpdateListenerRequest struct {
	ListenerId string `json:"listener_id"`

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

Request Object

func (UpdateListenerRequest) String

func (o UpdateListenerRequest) String() string

type UpdateListenerRequestBody

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

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

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

	AdminStateUp *bool `json:"admin_state_up,omitempty"`
}

更新负载均衡器的请求体

func (UpdateLoadbalancerReq) String

func (o UpdateLoadbalancerReq) String() string

type UpdateLoadbalancerRequest

type UpdateLoadbalancerRequest struct {
	LoadbalancerId string `json:"loadbalancer_id"`

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

Request Object

func (UpdateLoadbalancerRequest) String

func (o UpdateLoadbalancerRequest) String() string

type UpdateLoadbalancerRequestBody

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

This is a auto create Body Object

func (UpdateLoadbalancerRequestBody) String

type UpdateLoadbalancerResponse

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

Response Object

func (UpdateLoadbalancerResponse) String

type UpdateMemberReq

type UpdateMemberReq struct {
	Name *string `json:"name,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

	Weight *int32 `json:"weight,omitempty"`
}

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

func (UpdateMemberReq) String

func (o UpdateMemberReq) String() string

type UpdateMemberRequest

type UpdateMemberRequest struct {
	MemberId string `json:"member_id"`

	PoolId string `json:"pool_id"`

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

Request Object

func (UpdateMemberRequest) String

func (o UpdateMemberRequest) String() string

type UpdateMemberRequestBody

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

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

Response Object

func (UpdateMemberResponse) String

func (o UpdateMemberResponse) String() string

type UpdatePoolReq

type UpdatePoolReq struct {
	LbAlgorithm *string `json:"lb_algorithm,omitempty"`

	Name *string `json:"name,omitempty"`

	Description *string `json:"description,omitempty"`

	AdminStateUp *bool `json:"admin_state_up,omitempty"`

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

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

func (UpdatePoolReq) String

func (o UpdatePoolReq) String() string

type UpdatePoolRequest

type UpdatePoolRequest struct {
	PoolId string `json:"pool_id"`

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

Request Object

func (UpdatePoolRequest) String

func (o UpdatePoolRequest) String() string

type UpdatePoolRequestBody

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

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

Response Object

func (UpdatePoolResponse) String

func (o UpdatePoolResponse) String() string

type UpdateWhitelistReq

type UpdateWhitelistReq struct {
	EnableWhitelist *bool `json:"enable_whitelist,omitempty"`

	Whitelist *string `json:"whitelist,omitempty"`
}

func (UpdateWhitelistReq) String

func (o UpdateWhitelistReq) String() string

type UpdateWhitelistRequest

type UpdateWhitelistRequest struct {
	WhitelistId string `json:"whitelist_id"`

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

Request Object

func (UpdateWhitelistRequest) String

func (o UpdateWhitelistRequest) String() string

type UpdateWhitelistRequestBody

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

This is a auto create Body Object

func (UpdateWhitelistRequestBody) String

type UpdateWhitelistResponse

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

Response Object

func (UpdateWhitelistResponse) String

func (o UpdateWhitelistResponse) String() string

type WhitelistResp

type WhitelistResp struct {
	Id string `json:"id"`

	TenantId string `json:"tenant_id"`

	ListenerId string `json:"listener_id"`

	EnableWhitelist bool `json:"enable_whitelist"`

	Whitelist string `json:"whitelist"`
}

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