model

package
v0.0.62 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilityZone

type AvailabilityZone struct {
	Code string `json:"code"`

	State string `json:"state"`
}

可用区

func (AvailabilityZone) String

func (o AvailabilityZone) String() string

type BandwidthRef

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

带宽信息id引用对象

func (BandwidthRef) String

func (o BandwidthRef) String() string

type CertificateInfo

type CertificateInfo struct {
	AdminStateUp bool `json:"admin_state_up"`

	Certificate string `json:"certificate"`

	Description string `json:"description"`

	Domain string `json:"domain"`

	Id string `json:"id"`

	Name string `json:"name"`

	PrivateKey string `json:"private_key"`

	Type string `json:"type"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	ExpireTime string `json:"expire_time"`

	ProjectId string `json:"project_id"`
}

创建服务器证书请求返回对象

func (CertificateInfo) String

func (o CertificateInfo) String() string

type CountPreoccupyIpNumRequest

type CountPreoccupyIpNumRequest struct {
	AvailabilityZoneId *[]string `json:"availability_zone_id,omitempty"`

	IpTargetEnable *bool `json:"ip_target_enable,omitempty"`

	IpVersion *int32 `json:"ip_version,omitempty"`

	L7FlavorId *string `json:"l7_flavor_id,omitempty"`

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

Request Object

func (CountPreoccupyIpNumRequest) String

type CountPreoccupyIpNumResponse

type CountPreoccupyIpNumResponse struct {
	PreoccupyIp *PreoccupyIp `json:"preoccupy_ip,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CountPreoccupyIpNumResponse) String

type CreateCertificateOption

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

	Certificate string `json:"certificate"`

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

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

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

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

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

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

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

创建证书请求参数

func (CreateCertificateOption) String

func (o CreateCertificateOption) String() string

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 *CreateCertificateOption `json:"certificate"`
}

This is a auto create Body Object

func (CreateCertificateRequestBody) String

type CreateCertificateResponse

type CreateCertificateResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Certificate    *CertificateInfo `json:"certificate,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (CreateCertificateResponse) String

func (o CreateCertificateResponse) String() string

type CreateHealthMonitorOption

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

	Delay int32 `json:"delay"`

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

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

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

	MaxRetries int32 `json:"max_retries"`

	MaxRetriesDown *int32 `json:"max_retries_down,omitempty"`

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

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

	PoolId string `json:"pool_id"`

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

	Timeout int32 `json:"timeout"`

	Type string `json:"type"`

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

健康检查对象。

func (CreateHealthMonitorOption) String

func (o CreateHealthMonitorOption) String() string

type CreateHealthMonitorRequest

type CreateHealthMonitorRequest struct {
	Body *CreateHealthMonitorRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateHealthMonitorRequest) String

type CreateHealthMonitorRequestBody

type CreateHealthMonitorRequestBody struct {
	Healthmonitor *CreateHealthMonitorOption `json:"healthmonitor"`
}

This is a auto create Body Object

func (CreateHealthMonitorRequestBody) String

type CreateHealthMonitorResponse

type CreateHealthMonitorResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Healthmonitor  *HealthMonitor `json:"healthmonitor,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (CreateHealthMonitorResponse) String

type CreateIpGroupIpOption

type CreateIpGroupIpOption struct {
	Ip string `json:"ip"`

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

ip地址组中的包含的ip 信息对象

func (CreateIpGroupIpOption) String

func (o CreateIpGroupIpOption) String() string

type CreateIpGroupOption

type CreateIpGroupOption struct {
	ProjectId *string `json:"project_id,omitempty"`

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

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

	IpList []CreateIpGroupIpOption `json:"ip_list"`

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

创建IP地址组请求参数对象

func (CreateIpGroupOption) String

func (o CreateIpGroupOption) String() string

type CreateIpGroupRequest

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

Request Object

func (CreateIpGroupRequest) String

func (o CreateIpGroupRequest) String() string

type CreateIpGroupRequestBody

type CreateIpGroupRequestBody struct {
	Ipgroup *CreateIpGroupOption `json:"ipgroup"`
}

This is a auto create Body Object

func (CreateIpGroupRequestBody) String

func (o CreateIpGroupRequestBody) String() string

type CreateIpGroupResponse

type CreateIpGroupResponse struct {
	Ipgroup *IpGroup `json:"ipgroup,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateIpGroupResponse) String

func (o CreateIpGroupResponse) String() string

type CreateL7PolicyOption

type CreateL7PolicyOption struct {
	Action string `json:"action"`

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

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

	ListenerId string `json:"listener_id"`

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

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

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

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

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

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

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

转发策略

func (CreateL7PolicyOption) String

func (o CreateL7PolicyOption) String() string

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 *CreateL7PolicyOption `json:"l7policy"`
}

This is a auto create Body Object

func (CreateL7PolicyRequestBody) String

func (o CreateL7PolicyRequestBody) String() string

type CreateL7PolicyResponse

type CreateL7PolicyResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	L7policy       *L7Policy `json:"l7policy,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateL7PolicyResponse) String

func (o CreateL7PolicyResponse) String() string

type CreateL7PolicyRuleOption

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

	Type string `json:"type"`

	CompareType string `json:"compare_type"`

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

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

	Value string `json:"value"`
}

转发规则匹配策略

func (CreateL7PolicyRuleOption) String

func (o CreateL7PolicyRuleOption) String() string

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 *CreateRuleOption `json:"rule"`
}

This is a auto create Body Object

func (CreateL7RuleRequestBody) String

func (o CreateL7RuleRequestBody) String() string

type CreateL7RuleResponse

type CreateL7RuleResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Rule           *L7Rule `json:"rule,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateL7RuleResponse) String

func (o CreateL7RuleResponse) String() string

type CreateListenerIpGroupOption

type CreateListenerIpGroupOption struct {
	IpgroupId string `json:"ipgroup_id"`

	EnableIpgroup bool `json:"enable_ipgroup"`

	Type CreateListenerIpGroupOptionType `json:"type"`
}

listener对象中的ipgroup信息

func (CreateListenerIpGroupOption) String

type CreateListenerIpGroupOptionType

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

func (CreateListenerIpGroupOptionType) MarshalJSON

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

func (*CreateListenerIpGroupOptionType) UnmarshalJSON

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

type CreateListenerIpGroupOptionTypeEnum

type CreateListenerIpGroupOptionTypeEnum struct {
	WHITE CreateListenerIpGroupOptionType
	BLACK CreateListenerIpGroupOptionType
}

func GetCreateListenerIpGroupOptionTypeEnum

func GetCreateListenerIpGroupOptionTypeEnum() CreateListenerIpGroupOptionTypeEnum

type CreateListenerOption

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

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

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

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

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

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

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

	LoadbalancerId string `json:"loadbalancer_id"`

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

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

	Protocol string `json:"protocol"`

	ProtocolPort int32 `json:"protocol_port"`

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

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

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

	EnableMemberRetry *bool `json:"enable_member_retry,omitempty"`

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

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

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

	Ipgroup *CreateListenerIpGroupOption `json:"ipgroup,omitempty"`

	TransparentClientIpEnable *bool `json:"transparent_client_ip_enable,omitempty"`
}

创建监听器的请求体

func (CreateListenerOption) String

func (o CreateListenerOption) String() string

type CreateListenerOptionTlsCiphersPolicy

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

func (CreateListenerOptionTlsCiphersPolicy) MarshalJSON

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

func (*CreateListenerOptionTlsCiphersPolicy) UnmarshalJSON

func (c *CreateListenerOptionTlsCiphersPolicy) 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 *CreateListenerOption `json:"listener"`
}

This is a auto create Body Object

func (CreateListenerRequestBody) String

func (o CreateListenerRequestBody) String() string

type CreateListenerResponse

type CreateListenerResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Listener       *Listener `json:"listener,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (CreateListenerResponse) String

func (o CreateListenerResponse) String() string

type CreateLoadBalancerBandwidthOption

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

	Size int32 `json:"size"`

	ChargeMode CreateLoadBalancerBandwidthOptionChargeMode `json:"charge_mode"`

	ShareType CreateLoadBalancerBandwidthOptionShareType `json:"share_type"`

	BillingInfo *string `json:"billing_info,omitempty"`
}

带宽信息

func (CreateLoadBalancerBandwidthOption) String

type CreateLoadBalancerBandwidthOptionChargeMode

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

func (CreateLoadBalancerBandwidthOptionChargeMode) MarshalJSON

func (*CreateLoadBalancerBandwidthOptionChargeMode) UnmarshalJSON

type CreateLoadBalancerBandwidthOptionChargeModeEnum

type CreateLoadBalancerBandwidthOptionChargeModeEnum struct {
	BANDWIDTH CreateLoadBalancerBandwidthOptionChargeMode
	TRAFFIC   CreateLoadBalancerBandwidthOptionChargeMode
}

func GetCreateLoadBalancerBandwidthOptionChargeModeEnum

func GetCreateLoadBalancerBandwidthOptionChargeModeEnum() CreateLoadBalancerBandwidthOptionChargeModeEnum

type CreateLoadBalancerBandwidthOptionShareType

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

func (CreateLoadBalancerBandwidthOptionShareType) MarshalJSON

func (*CreateLoadBalancerBandwidthOptionShareType) UnmarshalJSON

type CreateLoadBalancerOption

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

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

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

	VipSubnetCidrId *string `json:"vip_subnet_cidr_id,omitempty"`

	Ipv6VipVirsubnetId *string `json:"ipv6_vip_virsubnet_id,omitempty"`

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

	L4FlavorId *string `json:"l4_flavor_id,omitempty"`

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

	Guaranteed *bool `json:"guaranteed,omitempty"`

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

	AvailabilityZoneList []string `json:"availability_zone_list"`

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

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

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

	L7FlavorId *string `json:"l7_flavor_id,omitempty"`

	BillingInfo *string `json:"billing_info,omitempty"`

	Ipv6Bandwidth *BandwidthRef `json:"ipv6_bandwidth,omitempty"`

	PublicipIds *[]string `json:"publicip_ids,omitempty"`

	Publicip *CreateLoadBalancerPublicIpOption `json:"publicip,omitempty"`

	ElbVirsubnetIds *[]string `json:"elb_virsubnet_ids,omitempty"`

	IpTargetEnable *bool `json:"ip_target_enable,omitempty"`

	DeletionProtectionEnable *bool `json:"deletion_protection_enable,omitempty"`
}

创建lb实例,支持创建或者绑定ipv4弹性公网和ipv6弹性公网

func (CreateLoadBalancerOption) String

func (o CreateLoadBalancerOption) String() string

type CreateLoadBalancerPublicIpOption

type CreateLoadBalancerPublicIpOption struct {
	IpVersion *int32 `json:"ip_version,omitempty"`

	NetworkType string `json:"network_type"`

	BillingInfo *string `json:"billing_info,omitempty"`

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

	Bandwidth *CreateLoadBalancerBandwidthOption `json:"bandwidth"`
}

创建ELB时,新建公网IP请求参数

func (CreateLoadBalancerPublicIpOption) String

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 *CreateLoadBalancerOption `json:"loadbalancer"`
}

This is a auto create Body Object

func (CreateLoadBalancerRequestBody) String

type CreateLoadBalancerResponse

type CreateLoadBalancerResponse struct {
	Loadbalancer *LoadBalancer `json:"loadbalancer,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateLoadBalancerResponse) String

type CreateMemberOption

type CreateMemberOption struct {
	Address string `json:"address"`

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

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

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

	ProtocolPort int32 `json:"protocol_port"`

	SubnetCidrId *string `json:"subnet_cidr_id,omitempty"`

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

func (CreateMemberOption) String

func (o CreateMemberOption) 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 *CreateMemberOption `json:"member"`
}

This is a auto create Body Object

func (CreateMemberRequestBody) String

func (o CreateMemberRequestBody) String() string

type CreateMemberResponse

type CreateMemberResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Member         *Member `json:"member,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (CreateMemberResponse) String

func (o CreateMemberResponse) String() string

type CreatePoolOption

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

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

	LbAlgorithm string `json:"lb_algorithm"`

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

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

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

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

	Protocol string `json:"protocol"`

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

	SlowStart *CreatePoolSlowStartOption `json:"slow_start,omitempty"`

	MemberDeletionProtectionEnable *bool `json:"member_deletion_protection_enable,omitempty"`
}

创建主机组请求

func (CreatePoolOption) String

func (o CreatePoolOption) String() string

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 *CreatePoolOption `json:"pool"`
}

This is a auto create Body Object

func (CreatePoolRequestBody) String

func (o CreatePoolRequestBody) String() string

type CreatePoolResponse

type CreatePoolResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Pool           *Pool `json:"pool,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (CreatePoolResponse) String

func (o CreatePoolResponse) String() string

type CreatePoolSessionPersistenceOption

type CreatePoolSessionPersistenceOption struct {
	CookieName *string `json:"cookie_name,omitempty"`

	Type string `json:"type"`

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

会话持久性对象。

func (CreatePoolSessionPersistenceOption) String

type CreatePoolSlowStartOption

type CreatePoolSlowStartOption struct {
	Enable bool `json:"enable"`

	Duration int32 `json:"duration"`
}

慢启动信息

func (CreatePoolSlowStartOption) String

func (o CreatePoolSlowStartOption) String() string

type CreateRuleOption

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

	CompareType string `json:"compare_type"`

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

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

	Type string `json:"type"`

	Value string `json:"value"`

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

创建L7转发规则器请求

func (CreateRuleOption) String

func (o CreateRuleOption) 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 DeleteIpGroupRequest

type DeleteIpGroupRequest struct {
	IpgroupId string `json:"ipgroup_id"`
}

Request Object

func (DeleteIpGroupRequest) String

func (o DeleteIpGroupRequest) String() string

type DeleteIpGroupResponse

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

Response Object

func (DeleteIpGroupResponse) String

func (o DeleteIpGroupResponse) String() 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 {
	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 DeleteLoadBalancerRequest

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

Request Object

func (DeleteLoadBalancerRequest) String

func (o DeleteLoadBalancerRequest) String() string

type DeleteLoadBalancerResponse

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

Response Object

func (DeleteLoadBalancerResponse) String

type DeleteMemberRequest

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

	PoolId string `json:"pool_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 EipInfo

type EipInfo struct {
	EipId *string `json:"eip_id,omitempty"`

	EipAddress *string `json:"eip_address,omitempty"`
}

弹性ip,同publicips

func (EipInfo) String

func (o EipInfo) String() string

type Flavor

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

	Info *FlavorInfo `json:"info"`

	Name string `json:"name"`

	Shared bool `json:"shared"`

	ProjectId string `json:"project_id"`

	Type string `json:"type"`

	AvailabilityZoneIds *[]string `json:"availability_zone_ids,omitempty"`
}

负载均衡器规格信息

func (Flavor) String

func (o Flavor) String() string

type FlavorInfo

type FlavorInfo struct {
	Connection int32 `json:"connection"`

	Cps int32 `json:"cps"`

	Qps *int32 `json:"qps,omitempty"`

	Bandwidth *int32 `json:"bandwidth,omitempty"`
}

规格内容信息

func (FlavorInfo) String

func (o FlavorInfo) String() string

type HealthMonitor

type HealthMonitor struct {
	AdminStateUp bool `json:"admin_state_up"`

	Delay int32 `json:"delay"`

	DomainName string `json:"domain_name"`

	ExpectedCodes string `json:"expected_codes"`

	HttpMethod string `json:"http_method"`

	Id string `json:"id"`

	MaxRetries int32 `json:"max_retries"`

	MaxRetriesDown int32 `json:"max_retries_down"`

	MonitorPort int32 `json:"monitor_port"`

	Name string `json:"name"`

	Pools []PoolRef `json:"pools"`

	ProjectId string `json:"project_id"`

	Timeout int32 `json:"timeout"`

	Type string `json:"type"`

	UrlPath string `json:"url_path"`
}

健康检查对象

func (HealthMonitor) String

func (o HealthMonitor) String() string

type IpGroup

type IpGroup struct {
	CreatedAt string `json:"created_at"`

	Description string `json:"description"`

	Id string `json:"id"`

	IpList []IpInfo `json:"ip_list"`

	Listeners []ListenerRef `json:"listeners"`

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

	UpdatedAt string `json:"updated_at"`
}

查询IP地址组返回对象

func (IpGroup) String

func (o IpGroup) String() string

type IpInfo

type IpInfo struct {
	Ip string `json:"ip"`

	Description string `json:"description"`
}

ip地址组中的包含的ip 信息对象

func (IpInfo) String

func (o IpInfo) String() string

type L7Policy

type L7Policy struct {
	Action string `json:"action"`

	AdminStateUp bool `json:"admin_state_up"`

	Description string `json:"description"`

	Id string `json:"id"`

	ListenerId string `json:"listener_id"`

	Name string `json:"name"`

	Position int32 `json:"position"`

	ProjectId string `json:"project_id"`

	ProvisioningStatus string `json:"provisioning_status"`

	RedirectListenerId string `json:"redirect_listener_id"`

	RedirectPoolId string `json:"redirect_pool_id"`

	RedirectUrl string `json:"redirect_url"`

	Rules []RuleRef `json:"rules"`
}

policy对象。

func (L7Policy) String

func (o L7Policy) String() string

type L7Rule

type L7Rule struct {
	AdminStateUp bool `json:"admin_state_up"`

	CompareType string `json:"compare_type"`

	Key string `json:"key"`

	ProjectId string `json:"project_id"`

	Type string `json:"type"`

	Value string `json:"value"`

	ProvisioningStatus string `json:"provisioning_status"`

	Invert bool `json:"invert"`

	Id string `json:"id"`
}

L7转发规则

func (L7Rule) String

func (o L7Rule) String() string

type ListAllMembersRequest

type ListAllMembersRequest struct {
	Address *[]string `json:"address,omitempty"`

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

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

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

	IpVersion *string `json:"ip_version,omitempty"`

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

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

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

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

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

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

	PoolId *string `json:"pool_id,omitempty"`

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

	SubnetCidrId *[]string `json:"subnet_cidr_id,omitempty"`

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

Request Object

func (ListAllMembersRequest) String

func (o ListAllMembersRequest) String() string

type ListAllMembersResponse

type ListAllMembersResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Members        *[]Member `json:"members,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListAllMembersResponse) String

func (o ListAllMembersResponse) String() string

type ListAvailabilityZonesRequest

type ListAvailabilityZonesRequest struct {
}

Request Object

func (ListAvailabilityZonesRequest) String

type ListAvailabilityZonesResponse

type ListAvailabilityZonesResponse struct {
	AvailabilityZones *[][]AvailabilityZone `json:"availability_zones,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListAvailabilityZonesResponse) String

type ListCertificatesRequest

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

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

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

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

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

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

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

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

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

Request Object

func (ListCertificatesRequest) String

func (o ListCertificatesRequest) String() string

type ListCertificatesResponse

type ListCertificatesResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Certificates   *[]CertificateInfo `json:"certificates,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListCertificatesResponse) String

func (o ListCertificatesResponse) String() string

type ListFlavorsRequest

type ListFlavorsRequest struct {
	Id *[]string `json:"id,omitempty"`

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

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

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

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

	Shared *bool `json:"shared,omitempty"`

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

Request Object

func (ListFlavorsRequest) String

func (o ListFlavorsRequest) String() string

type ListFlavorsResponse

type ListFlavorsResponse struct {
	Flavors *[]Flavor `json:"flavors,omitempty"`

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

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListFlavorsResponse) String

func (o ListFlavorsResponse) String() string

type ListHealthMonitorsRequest

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

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

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

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

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

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

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

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

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

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

	MaxRetriesDown *[]int32 `json:"max_retries_down,omitempty"`

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

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

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

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

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

	UrlPath *[]string `json:"url_path,omitempty"`
}

Request Object

func (ListHealthMonitorsRequest) String

func (o ListHealthMonitorsRequest) String() string

type ListHealthMonitorsResponse

type ListHealthMonitorsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Healthmonitors *[]HealthMonitor `json:"healthmonitors,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListHealthMonitorsResponse) String

type ListIpGroupsRequest

type ListIpGroupsRequest struct {
	Description *[]string `json:"description,omitempty"`

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

	IpList *[]string `json:"ip_list,omitempty"`

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

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

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

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

Request Object

func (ListIpGroupsRequest) String

func (o ListIpGroupsRequest) String() string

type ListIpGroupsResponse

type ListIpGroupsResponse struct {
	Ipgroups *[]IpGroup `json:"ipgroups,omitempty"`

	RequestId *string `json:"request_id,omitempty"`

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

Response Object

func (ListIpGroupsResponse) String

func (o ListIpGroupsResponse) String() string

type ListL7PoliciesRequest

type ListL7PoliciesRequest struct {
	Action *[]string `json:"action,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	RedirectUrl *[]string `json:"redirect_url,omitempty"`
}

Request Object

func (ListL7PoliciesRequest) String

func (o ListL7PoliciesRequest) String() string

type ListL7PoliciesResponse

type ListL7PoliciesResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	L7policies     *[]L7Policy `json:"l7policies,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListL7PoliciesResponse) String

func (o ListL7PoliciesResponse) String() string

type ListL7RulesRequest

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

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

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

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

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

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

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

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

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

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

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

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

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

Request Object

func (ListL7RulesRequest) String

func (o ListL7RulesRequest) String() string

type ListL7RulesResponse

type ListL7RulesResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Rules          *[]L7Rule `json:"rules,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListL7RulesResponse) String

func (o ListL7RulesResponse) String() string

type ListListenersRequest

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

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

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

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

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

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

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

	EnableMemberRetry *bool `json:"enable_member_retry,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

	ProtocolPort *[]string `json:"protocol_port,omitempty"`

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

	TransparentClientIpEnable *bool `json:"transparent_client_ip_enable,omitempty"`
}

Request Object

func (ListListenersRequest) String

func (o ListListenersRequest) String() string

type ListListenersResponse

type ListListenersResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Listeners      *[]Listener `json:"listeners,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListListenersResponse) String

func (o ListListenersResponse) String() string

type ListLoadBalancersRequest

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

	AvailabilityZoneList *[]string `json:"availability_zone_list,omitempty"`

	BillingInfo *[]string `json:"billing_info,omitempty"`

	DeletionProtectionEnable *bool `json:"deletion_protection_enable,omitempty"`

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

	Eips *[]string `json:"eips,omitempty"`

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

	Guaranteed *bool `json:"guaranteed,omitempty"`

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

	IpVersion *[]int32 `json:"ip_version,omitempty"`

	Ipv6VipAddress *[]string `json:"ipv6_vip_address,omitempty"`

	Ipv6VipPortId *[]string `json:"ipv6_vip_port_id,omitempty"`

	Ipv6VipVirsubnetId *[]string `json:"ipv6_vip_virsubnet_id,omitempty"`

	L4FlavorId *[]string `json:"l4_flavor_id,omitempty"`

	L4ScaleFlavorId *[]string `json:"l4_scale_flavor_id,omitempty"`

	L7FlavorId *[]string `json:"l7_flavor_id,omitempty"`

	L7ScaleFlavorId *[]string `json:"l7_scale_flavor_id,omitempty"`

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

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

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

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

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

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

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

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

	Publicips *[]string `json:"publicips,omitempty"`

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

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

	VipSubnetCidrId *[]string `json:"vip_subnet_cidr_id,omitempty"`

	VpcId *[]string `json:"vpc_id,omitempty"`
}

Request Object

func (ListLoadBalancersRequest) String

func (o ListLoadBalancersRequest) String() string

type ListLoadBalancersResponse

type ListLoadBalancersResponse struct {
	Loadbalancers *[]LoadBalancer `json:"loadbalancers,omitempty"`

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

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListLoadBalancersResponse) String

func (o ListLoadBalancersResponse) String() string

type ListMembersRequest

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

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

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

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

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

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

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

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

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

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

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

	SubnetCidrId *[]string `json:"subnet_cidr_id,omitempty"`

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

Request Object

func (ListMembersRequest) String

func (o ListMembersRequest) String() string

type ListMembersResponse

type ListMembersResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Members        *[]Member `json:"members,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListMembersResponse) String

func (o ListMembersResponse) String() string

type ListPoolsRequest

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

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

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

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

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

	IpVersion *[]string `json:"ip_version,omitempty"`

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

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

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

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

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

	MemberDeletionProtectionEnable *bool `json:"member_deletion_protection_enable,omitempty"`

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

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

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

	Protocol *[]string `json:"protocol,omitempty"`
}

Request Object

func (ListPoolsRequest) String

func (o ListPoolsRequest) String() string

type ListPoolsResponse

type ListPoolsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

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

	Pools          *[]Pool `json:"pools,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ListPoolsResponse) String

func (o ListPoolsResponse) String() string

type Listener

type Listener struct {
	AdminStateUp bool `json:"admin_state_up"`

	ClientCaTlsContainerRef string `json:"client_ca_tls_container_ref"`

	ConnectionLimit int32 `json:"connection_limit"`

	CreatedAt string `json:"created_at"`

	DefaultPoolId string `json:"default_pool_id"`

	DefaultTlsContainerRef string `json:"default_tls_container_ref"`

	Description string `json:"description"`

	Http2Enable bool `json:"http2_enable"`

	Id string `json:"id"`

	InsertHeaders *ListenerInsertHeaders `json:"insert_headers"`

	Loadbalancers []LoadBalancerRef `json:"loadbalancers"`

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

	Protocol string `json:"protocol"`

	ProtocolPort int32 `json:"protocol_port"`

	SniContainerRefs []string `json:"sni_container_refs"`

	Tags []Tag `json:"tags"`

	UpdatedAt string `json:"updated_at"`

	TlsCiphersPolicy string `json:"tls_ciphers_policy"`

	EnableMemberRetry bool `json:"enable_member_retry"`

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

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

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

	Ipgroup *ListenerIpGroup `json:"ipgroup"`
}

创建监听器的响应体

func (Listener) String

func (o Listener) String() string

type ListenerInsertHeaders

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

	XForwardedPort *bool `json:"X-Forwarded-Port,omitempty"`

	XForwardedForPort *bool `json:"X-Forwarded-For-Port,omitempty"`

	XForwardedHost bool `json:"X-Forwarded-Host"`
}

可选HTTP头插入。

func (ListenerInsertHeaders) String

func (o ListenerInsertHeaders) String() string

type ListenerIpGroup

type ListenerIpGroup struct {
	IpgroupId string `json:"ipgroup_id"`

	EnableIpgroup bool `json:"enable_ipgroup"`

	Type string `json:"type"`
}

listener对象中的ipgroup信息

func (ListenerIpGroup) String

func (o ListenerIpGroup) String() string

type ListenerRef

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

监听器

func (ListenerRef) String

func (o ListenerRef) String() string

type LoadBalancer

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

	Description string `json:"description"`

	ProvisioningStatus string `json:"provisioning_status"`

	AdminStateUp bool `json:"admin_state_up"`

	Provider string `json:"provider"`

	Pools []PoolRef `json:"pools"`

	Listeners []ListenerRef `json:"listeners"`

	OperatingStatus LoadBalancerOperatingStatus `json:"operating_status"`

	VipAddress string `json:"vip_address"`

	VipSubnetCidrId string `json:"vip_subnet_cidr_id"`

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

	VipPortId string `json:"vip_port_id"`

	Tags []Tag `json:"tags"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`

	Guaranteed bool `json:"guaranteed"`

	VpcId string `json:"vpc_id"`

	Eips []EipInfo `json:"eips"`

	Ipv6VipAddress string `json:"ipv6_vip_address"`

	Ipv6VipVirsubnetId string `json:"ipv6_vip_virsubnet_id"`

	Ipv6VipPortId string `json:"ipv6_vip_port_id"`

	AvailabilityZoneList []string `json:"availability_zone_list"`

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

	L4FlavorId string `json:"l4_flavor_id"`

	L4ScaleFlavorId string `json:"l4_scale_flavor_id"`

	L7FlavorId string `json:"l7_flavor_id"`

	L7ScaleFlavorId string `json:"l7_scale_flavor_id"`

	Publicips *[]PublicIpInfo `json:"publicips,omitempty"`

	ElbVirsubnetIds *[]string `json:"elb_virsubnet_ids,omitempty"`

	ElbVirsubnetType *LoadBalancerElbVirsubnetType `json:"elb_virsubnet_type,omitempty"`

	IpTargetEnable *bool `json:"ip_target_enable,omitempty"`

	DeletionProtectionEnable *bool `json:"deletion_protection_enable,omitempty"`

	FrozenScene string `json:"frozen_scene"`

	Ipv6Bandwidth *BandwidthRef `json:"ipv6_bandwidth,omitempty"`
}

创建loadbalancer的消息返回体

func (LoadBalancer) String

func (o LoadBalancer) String() string

type LoadBalancerElbVirsubnetType

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

func (LoadBalancerElbVirsubnetType) MarshalJSON

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

func (*LoadBalancerElbVirsubnetType) UnmarshalJSON

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

type LoadBalancerElbVirsubnetTypeEnum

type LoadBalancerElbVirsubnetTypeEnum struct {
	IPV4      LoadBalancerElbVirsubnetType
	DUALSTACK LoadBalancerElbVirsubnetType
}

func GetLoadBalancerElbVirsubnetTypeEnum

func GetLoadBalancerElbVirsubnetTypeEnum() LoadBalancerElbVirsubnetTypeEnum

type LoadBalancerOperatingStatus

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

func (LoadBalancerOperatingStatus) MarshalJSON

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

func (*LoadBalancerOperatingStatus) UnmarshalJSON

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

type LoadBalancerRef

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

负载均衡器信息

func (LoadBalancerRef) String

func (o LoadBalancerRef) String() string

type LoadBalancerStatus

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

	ProvisioningStatus string `json:"provisioning_status"`

	Listeners []LoadBalancerStatusListener `json:"listeners"`

	Pools []LoadBalancerStatusPool `json:"pools"`

	Id string `json:"id"`

	OperatingStatus string `json:"operating_status"`
}

func (LoadBalancerStatus) String

func (o LoadBalancerStatus) String() string

type LoadBalancerStatusHealthMonitor

type LoadBalancerStatusHealthMonitor struct {
	Type *string `json:"type,omitempty"`

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

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

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

lb状态树的主机组健康检查器状态信息

func (LoadBalancerStatusHealthMonitor) String

type LoadBalancerStatusL7Rule

type LoadBalancerStatusL7Rule struct {
}

查询负载均衡状态树返回对象中的rule数据模型

func (LoadBalancerStatusL7Rule) String

func (o LoadBalancerStatusL7Rule) String() string

type LoadBalancerStatusListener

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

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

	Pools *[]LoadBalancerStatusPool `json:"pools,omitempty"`

	L7policies *[]LoadBalancerStatusPolicy `json:"l7policies,omitempty"`

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

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

lb状态树的监听器状态信息

func (LoadBalancerStatusListener) String

type LoadBalancerStatusMember

type LoadBalancerStatusMember struct {
	ProvisioningStatus *string `json:"provisioning_status,omitempty"`

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

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

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

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

lb状态树的主机组的主机状态信息

func (LoadBalancerStatusMember) String

func (o LoadBalancerStatusMember) String() string

type LoadBalancerStatusPolicy

type LoadBalancerStatusPolicy struct {
	Action *string `json:"action,omitempty"`

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

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

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

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

lb状态树的策略状态信息

func (LoadBalancerStatusPolicy) String

func (o LoadBalancerStatusPolicy) String() string

type LoadBalancerStatusPool

type LoadBalancerStatusPool struct {
	ProvisioningStatus *string `json:"provisioning_status,omitempty"`

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

	Healthmonitor *LoadBalancerStatusHealthMonitor `json:"healthmonitor,omitempty"`

	Members *[]LoadBalancerStatusMember `json:"members,omitempty"`

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

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

lb状态树的主机组状态信息

func (LoadBalancerStatusPool) String

func (o LoadBalancerStatusPool) String() string

type LoadBalancerStatusResult

type LoadBalancerStatusResult struct {
	Loadbalancer *LoadBalancerStatus `json:"loadbalancer"`
}

func (LoadBalancerStatusResult) String

func (o LoadBalancerStatusResult) String() string

type Member

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

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

	PoolId *string `json:"pool_id,omitempty"`

	AdminStateUp bool `json:"admin_state_up"`

	SubnetCidrId *string `json:"subnet_cidr_id,omitempty"`

	ProtocolPort int32 `json:"protocol_port"`

	Weight int32 `json:"weight"`

	Address string `json:"address"`

	IpVersion string `json:"ip_version"`

	DeviceOwner *string `json:"device_owner,omitempty"`

	DeviceId *string `json:"device_id,omitempty"`

	OperatingStatus string `json:"operating_status"`

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

后端云服务器组列表查询返回对象。

func (Member) String

func (o Member) String() string

type MemberRef

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

func (MemberRef) String

func (o MemberRef) String() string

type PageInfo

type PageInfo struct {
	PreviousMarker string `json:"previous_marker"`

	NextMarker *string `json:"next_marker,omitempty"`

	CurrentCount int32 `json:"current_count"`
}

翻页信息

func (PageInfo) String

func (o PageInfo) String() string

type Pool

type Pool struct {
	AdminStateUp bool `json:"admin_state_up"`

	Description string `json:"description"`

	HealthmonitorId string `json:"healthmonitor_id"`

	Id string `json:"id"`

	LbAlgorithm string `json:"lb_algorithm"`

	Listeners []ListenerRef `json:"listeners"`

	Loadbalancers []LoadBalancerRef `json:"loadbalancers"`

	Members []MemberRef `json:"members"`

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

	Protocol string `json:"protocol"`

	SessionPersistence *SessionPersistence `json:"session_persistence"`

	IpVersion string `json:"ip_version"`

	SlowStart *SlowStart `json:"slow_start"`

	MemberDeletionProtectionEnable *bool `json:"member_deletion_protection_enable,omitempty"`
}

创建云服务器组请求返回对象

func (Pool) String

func (o Pool) String() string

type PoolRef

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

func (PoolRef) String

func (o PoolRef) String() string

type PreoccupyIp

type PreoccupyIp struct {
	Total int32 `json:"total"`
}

func (PreoccupyIp) String

func (o PreoccupyIp) String() string

type PublicIpInfo

type PublicIpInfo struct {
	PublicipId string `json:"publicip_id"`

	PublicipAddress string `json:"publicip_address"`

	IpVersion int32 `json:"ip_version"`
}

弹性公网EIP信息

func (PublicIpInfo) String

func (o PublicIpInfo) String() string

type Quota

type Quota struct {
	Certificate int32 `json:"certificate"`

	Healthmonitor int32 `json:"healthmonitor"`

	L7policy int32 `json:"l7policy"`

	Listener int32 `json:"listener"`

	Loadbalancer int32 `json:"loadbalancer"`

	Member int32 `json:"member"`

	Pool int32 `json:"pool"`

	ProjectId string `json:"project_id"`
}

查询配额限制去请求返回对象

func (Quota) String

func (o Quota) String() string

type RuleRef

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

func (RuleRef) String

func (o RuleRef) String() string

type SessionPersistence

type SessionPersistence struct {
	CookieName *string `json:"cookie_name,omitempty"`

	Type string `json:"type"`

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

会话持久性对象。

func (SessionPersistence) String

func (o SessionPersistence) String() string

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 {
	RequestId *string `json:"request_id,omitempty"`

	Certificate    *CertificateInfo `json:"certificate,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ShowCertificateResponse) String

func (o ShowCertificateResponse) String() string

type ShowFlavorRequest

type ShowFlavorRequest struct {
	FlavorId string `json:"flavor_id"`
}

Request Object

func (ShowFlavorRequest) String

func (o ShowFlavorRequest) String() string

type ShowFlavorResponse

type ShowFlavorResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Flavor         *Flavor `json:"flavor,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowFlavorResponse) String

func (o ShowFlavorResponse) String() string

type ShowHealthMonitorRequest

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

Request Object

func (ShowHealthMonitorRequest) String

func (o ShowHealthMonitorRequest) String() string

type ShowHealthMonitorResponse

type ShowHealthMonitorResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Healthmonitor  *HealthMonitor `json:"healthmonitor,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ShowHealthMonitorResponse) String

func (o ShowHealthMonitorResponse) String() string

type ShowIpGroupRequest

type ShowIpGroupRequest struct {
	IpgroupId string `json:"ipgroup_id"`
}

Request Object

func (ShowIpGroupRequest) String

func (o ShowIpGroupRequest) String() string

type ShowIpGroupResponse

type ShowIpGroupResponse struct {
	Ipgroup *IpGroup `json:"ipgroup,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowIpGroupResponse) String

func (o ShowIpGroupResponse) String() 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 {
	RequestId *string `json:"request_id,omitempty"`

	L7policy       *L7Policy `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 {
	RequestId *string `json:"request_id,omitempty"`

	Rule           *L7Rule `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 {
	RequestId *string `json:"request_id,omitempty"`

	Listener       *Listener `json:"listener,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ShowListenerResponse) String

func (o ShowListenerResponse) 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 {
	RequestId *string `json:"request_id,omitempty"`

	Loadbalancer   *LoadBalancer `json:"loadbalancer,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ShowLoadBalancerResponse) String

func (o ShowLoadBalancerResponse) String() string

type ShowLoadBalancerStatusRequest

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

Request Object

func (ShowLoadBalancerStatusRequest) String

type ShowLoadBalancerStatusResponse

type ShowLoadBalancerStatusResponse struct {
	Statuses *LoadBalancerStatusResult `json:"statuses,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (ShowLoadBalancerStatusResponse) String

type ShowMemberRequest

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

	PoolId string `json:"pool_id"`
}

Request Object

func (ShowMemberRequest) String

func (o ShowMemberRequest) String() string

type ShowMemberResponse

type ShowMemberResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Member         *Member `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 {
	RequestId *string `json:"request_id,omitempty"`

	Pool           *Pool `json:"pool,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (ShowPoolResponse) String

func (o ShowPoolResponse) String() string

type ShowQuotaDefaultsRequest

type ShowQuotaDefaultsRequest struct {
}

Request Object

func (ShowQuotaDefaultsRequest) String

func (o ShowQuotaDefaultsRequest) String() string

type ShowQuotaDefaultsResponse

type ShowQuotaDefaultsResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Quota          *Quota `json:"quota,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowQuotaDefaultsResponse) String

func (o ShowQuotaDefaultsResponse) String() string

type ShowQuotaRequest

type ShowQuotaRequest struct {
}

Request Object

func (ShowQuotaRequest) String

func (o ShowQuotaRequest) String() string

type ShowQuotaResponse

type ShowQuotaResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Quota          *Quota `json:"quota,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (ShowQuotaResponse) String

func (o ShowQuotaResponse) String() string

type SlowStart

type SlowStart struct {
	Enable bool `json:"enable"`

	Duration int32 `json:"duration"`
}

慢启动信息

func (SlowStart) String

func (o SlowStart) String() string

type Tag

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

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

标签

func (Tag) String

func (o Tag) String() string

type UpadateIpGroupIpOption

type UpadateIpGroupIpOption struct {
	Ip string `json:"ip"`

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

ip地址组中的包含的ip 信息对象

func (UpadateIpGroupIpOption) String

func (o UpadateIpGroupIpOption) String() string

type UpdateCertificateOption

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

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

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

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

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

func (UpdateCertificateOption) String

func (o UpdateCertificateOption) 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 *UpdateCertificateOption `json:"certificate"`
}

This is a auto create Body Object

func (UpdateCertificateRequestBody) String

type UpdateCertificateResponse

type UpdateCertificateResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Certificate    *CertificateInfo `json:"certificate,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (UpdateCertificateResponse) String

func (o UpdateCertificateResponse) String() string

type UpdateHealthMonitorOption

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

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

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

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

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

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

	MaxRetriesDown *int32 `json:"max_retries_down,omitempty"`

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

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

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

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

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

健康检查对象。

func (UpdateHealthMonitorOption) String

func (o UpdateHealthMonitorOption) 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 *UpdateHealthMonitorOption `json:"healthmonitor"`
}

This is a auto create Body Object

func (UpdateHealthMonitorRequestBody) String

type UpdateHealthMonitorResponse

type UpdateHealthMonitorResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Healthmonitor  *HealthMonitor `json:"healthmonitor,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (UpdateHealthMonitorResponse) String

type UpdateIpGroupOption

type UpdateIpGroupOption struct {
	Description *string `json:"description,omitempty"`

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

	IpList *[]UpadateIpGroupIpOption `json:"ip_list,omitempty"`
}

func (UpdateIpGroupOption) String

func (o UpdateIpGroupOption) String() string

type UpdateIpGroupRequest

type UpdateIpGroupRequest struct {
	IpgroupId string `json:"ipgroup_id"`

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

Request Object

func (UpdateIpGroupRequest) String

func (o UpdateIpGroupRequest) String() string

type UpdateIpGroupRequestBody

type UpdateIpGroupRequestBody struct {
	Ipgroup *UpdateIpGroupOption `json:"ipgroup"`
}

This is a auto create Body Object

func (UpdateIpGroupRequestBody) String

func (o UpdateIpGroupRequestBody) String() string

type UpdateIpGroupResponse

type UpdateIpGroupResponse struct {
	Ipgroup *IpGroup `json:"ipgroup,omitempty"`

	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateIpGroupResponse) String

func (o UpdateIpGroupResponse) String() string

type UpdateL7PolicyOption

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

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

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

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

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

func (UpdateL7PolicyOption) String

func (o UpdateL7PolicyOption) String() string

type UpdateL7PolicyRequest

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

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

Request Object

func (UpdateL7PolicyRequest) String

func (o UpdateL7PolicyRequest) String() string

type UpdateL7PolicyRequestBody

type UpdateL7PolicyRequestBody struct {
	L7policy *UpdateL7PolicyOption `json:"l7policy"`
}

This is a auto create Body Object

func (UpdateL7PolicyRequestBody) String

func (o UpdateL7PolicyRequestBody) String() string

type UpdateL7PolicyResponse

type UpdateL7PolicyResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	L7policy       *L7Policy `json:"l7policy,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateL7PolicyResponse) String

func (o UpdateL7PolicyResponse) String() string

type UpdateL7RuleOption

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

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

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

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

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

func (UpdateL7RuleOption) String

func (o UpdateL7RuleOption) 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 *UpdateL7RuleOption `json:"rule"`
}

This is a auto create Body Object

func (UpdateL7RuleRequestBody) String

func (o UpdateL7RuleRequestBody) String() string

type UpdateL7RuleResponse

type UpdateL7RuleResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Rule           *L7Rule `json:"rule,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateL7RuleResponse) String

func (o UpdateL7RuleResponse) String() string

type UpdateListenerIpGroupOption

type UpdateListenerIpGroupOption struct {
	IpgroupId string `json:"ipgroup_id"`

	EnableIpgroup bool `json:"enable_ipgroup"`

	Type UpdateListenerIpGroupOptionType `json:"type"`
}

listener对象中的ipgroup信息

func (UpdateListenerIpGroupOption) String

type UpdateListenerIpGroupOptionType

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

func (UpdateListenerIpGroupOptionType) MarshalJSON

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

func (*UpdateListenerIpGroupOptionType) UnmarshalJSON

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

type UpdateListenerIpGroupOptionTypeEnum

type UpdateListenerIpGroupOptionTypeEnum struct {
	WHITE UpdateListenerIpGroupOptionType
	BLACK UpdateListenerIpGroupOptionType
}

func GetUpdateListenerIpGroupOptionTypeEnum

func GetUpdateListenerIpGroupOptionTypeEnum() UpdateListenerIpGroupOptionTypeEnum

type UpdateListenerOption

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

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

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

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

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

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

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

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

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

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

	EnableMemberRetry *bool `json:"enable_member_retry,omitempty"`

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

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

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

	Ipgroup *UpdateListenerIpGroupOption `json:"ipgroup,omitempty"`

	TransparentClientIpEnable *bool `json:"transparent_client_ip_enable,omitempty"`
}

更新监听器请求体

func (UpdateListenerOption) String

func (o UpdateListenerOption) String() string

type UpdateListenerOptionTlsCiphersPolicy

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

func (UpdateListenerOptionTlsCiphersPolicy) MarshalJSON

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

func (*UpdateListenerOptionTlsCiphersPolicy) UnmarshalJSON

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

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

This is a auto create Body Object

func (UpdateListenerRequestBody) String

func (o UpdateListenerRequestBody) String() string

type UpdateListenerResponse

type UpdateListenerResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Listener       *Listener `json:"listener,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (UpdateListenerResponse) String

func (o UpdateListenerResponse) String() string

type UpdateLoadBalancerOption

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

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

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

	Ipv6VipVirsubnetId *string `json:"ipv6_vip_virsubnet_id,omitempty"`

	VipSubnetCidrId *string `json:"vip_subnet_cidr_id,omitempty"`

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

	L4FlavorId *string `json:"l4_flavor_id,omitempty"`

	L7FlavorId *string `json:"l7_flavor_id,omitempty"`

	Ipv6Bandwidth *BandwidthRef `json:"ipv6_bandwidth,omitempty"`

	IpTargetEnable *bool `json:"ip_target_enable,omitempty"`

	DeletionProtectionEnable *bool `json:"deletion_protection_enable,omitempty"`

	ElbVirsubnetIds *[]string `json:"elb_virsubnet_ids,omitempty"`
}

更新负载均衡器的消息请求体

func (UpdateLoadBalancerOption) String

func (o UpdateLoadBalancerOption) 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 *UpdateLoadBalancerOption `json:"loadbalancer"`
}

This is a auto create Body Object

func (UpdateLoadBalancerRequestBody) String

type UpdateLoadBalancerResponse

type UpdateLoadBalancerResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Loadbalancer   *LoadBalancer `json:"loadbalancer,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (UpdateLoadBalancerResponse) String

type UpdateMemberOption

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

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

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

func (UpdateMemberOption) String

func (o UpdateMemberOption) 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 *UpdateMemberOption `json:"member"`
}

This is a auto create Body Object

func (UpdateMemberRequestBody) String

func (o UpdateMemberRequestBody) String() string

type UpdateMemberResponse

type UpdateMemberResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Member         *Member `json:"member,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateMemberResponse) String

func (o UpdateMemberResponse) String() string

type UpdatePoolOption

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

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

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

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

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

	SlowStart *UpdatePoolSlowStartOption `json:"slow_start,omitempty"`

	MemberDeletionProtectionEnable *bool `json:"member_deletion_protection_enable,omitempty"`
}

func (UpdatePoolOption) String

func (o UpdatePoolOption) 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 *UpdatePoolOption `json:"pool"`
}

This is a auto create Body Object

func (UpdatePoolRequestBody) String

func (o UpdatePoolRequestBody) String() string

type UpdatePoolResponse

type UpdatePoolResponse struct {
	RequestId *string `json:"request_id,omitempty"`

	Pool           *Pool `json:"pool,omitempty"`
	HttpStatusCode int   `json:"-"`
}

Response Object

func (UpdatePoolResponse) String

func (o UpdatePoolResponse) String() string

type UpdatePoolSessionPersistenceOption

type UpdatePoolSessionPersistenceOption struct {
	CookieName *string `json:"cookie_name,omitempty"`

	Type string `json:"type"`

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

会话持久性对象。

func (UpdatePoolSessionPersistenceOption) String

type UpdatePoolSlowStartOption

type UpdatePoolSlowStartOption struct {
	Enable bool `json:"enable"`

	Duration int32 `json:"duration"`
}

慢启动信息

func (UpdatePoolSlowStartOption) String

func (o UpdatePoolSlowStartOption) String() string

Source Files

Jump to

Keyboard shortcuts

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