model

package
v0.0.70 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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 AutoscalingRef added in v0.0.70

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

	MinL4FlavorId *string `json:"min_l4_flavor_id,omitempty"`

	MinL7FlavorId *string `json:"min_l7_flavor_id,omitempty"`
}

弹性扩缩容配置信息。负载均衡器配置并开启弹性扩缩容后,可根据负载情况自动调整负载均衡器的规格。 使用说明: - 仅当局点支持弹性扩缩特性才会返回该字段。 - 开启弹性扩缩容后,l4_flavor_id和l7_flavor_id不再起作用。

func (AutoscalingRef) String added in v0.0.70

func (o AutoscalingRef) String() string

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,仅在创建或更新公网IPv6负载均衡器时有效。若选择创建新EIP并指定共享带宽时,此EIP会被分进共享带宽里面。 [不支持IPv6,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (BandwidthRef) String

func (o BandwidthRef) String() string

type BatchDeleteIpListOption added in v0.0.70

type BatchDeleteIpListOption struct {
	IpList *[]IpGroupIp `json:"ip_list,omitempty"`
}

批量删除IP地址组中的IP。

func (BatchDeleteIpListOption) String added in v0.0.70

func (o BatchDeleteIpListOption) String() string

type BatchDeleteIpListRequest added in v0.0.70

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

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

Request Object

func (BatchDeleteIpListRequest) String added in v0.0.70

func (o BatchDeleteIpListRequest) String() string

type BatchDeleteIpListRequestBody added in v0.0.70

type BatchDeleteIpListRequestBody struct {
	Ipgroup *BatchDeleteIpListOption `json:"ipgroup,omitempty"`
}

This is a auto create Response Object

func (BatchDeleteIpListRequestBody) String added in v0.0.70

type BatchDeleteIpListResponse added in v0.0.70

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

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

Response Object

func (BatchDeleteIpListResponse) String added in v0.0.70

func (o BatchDeleteIpListResponse) String() string

type BatchUpdatePoliciesPriorityRequest added in v0.0.70

type BatchUpdatePoliciesPriorityRequest struct {
	Body *BatchUpdatePoliciesPriorityRequestBody `json:"body,omitempty"`
}

Request Object

func (BatchUpdatePoliciesPriorityRequest) String added in v0.0.70

type BatchUpdatePoliciesPriorityRequestBody added in v0.0.70

type BatchUpdatePoliciesPriorityRequestBody struct {
	L7policies *[]BatchUpdatePriorityRequestBody `json:"l7policies,omitempty"`
}

This is a auto create Body Object

func (BatchUpdatePoliciesPriorityRequestBody) String added in v0.0.70

type BatchUpdatePoliciesPriorityResponse added in v0.0.70

type BatchUpdatePoliciesPriorityResponse struct {
	RequestId      *string `json:"request_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (BatchUpdatePoliciesPriorityResponse) String added in v0.0.70

type BatchUpdatePriorityRequestBody added in v0.0.70

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

	Priority int32 `json:"priority"`
}

批量更新转发策略优先级的请求参数。

func (BatchUpdatePriorityRequestBody) String added in v0.0.70

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

	EncCertificate *string `json:"enc_certificate,omitempty"`

	EncPrivateKey *string `json:"enc_private_key,omitempty"`
}

证书信息。

func (CertificateInfo) String

func (o CertificateInfo) String() string

type ChangeLoadbalancerChargeModeRequest added in v0.0.70

type ChangeLoadbalancerChargeModeRequest struct {
	Body *ChangeLoadbalancerChargeModeRequestBody `json:"body,omitempty"`
}

Request Object

func (ChangeLoadbalancerChargeModeRequest) String added in v0.0.70

type ChangeLoadbalancerChargeModeRequestBody added in v0.0.70

type ChangeLoadbalancerChargeModeRequestBody struct {
	LoadbalancerIds []string `json:"loadbalancer_ids"`

	ChargeMode ChangeLoadbalancerChargeModeRequestBodyChargeMode `json:"charge_mode"`

	PrepaidOptions *PrepaidChangeChargeModeOption `json:"prepaid_options,omitempty"`
}

This is a auto create Body Object

func (ChangeLoadbalancerChargeModeRequestBody) String added in v0.0.70

type ChangeLoadbalancerChargeModeRequestBodyChargeMode added in v0.0.70

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

func (ChangeLoadbalancerChargeModeRequestBodyChargeMode) MarshalJSON added in v0.0.70

func (*ChangeLoadbalancerChargeModeRequestBodyChargeMode) UnmarshalJSON added in v0.0.70

type ChangeLoadbalancerChargeModeRequestBodyChargeModeEnum added in v0.0.70

type ChangeLoadbalancerChargeModeRequestBodyChargeModeEnum struct {
	PREPAID ChangeLoadbalancerChargeModeRequestBodyChargeMode
}

func GetChangeLoadbalancerChargeModeRequestBodyChargeModeEnum added in v0.0.70

func GetChangeLoadbalancerChargeModeRequestBodyChargeModeEnum() ChangeLoadbalancerChargeModeRequestBodyChargeModeEnum

type ChangeLoadbalancerChargeModeResponse added in v0.0.70

type ChangeLoadbalancerChargeModeResponse struct {
	EipIdList *[]string `json:"eip_id_list,omitempty"`

	LoadbalancerIdList *[]string `json:"loadbalancer_id_list,omitempty"`

	OrderId *string `json:"order_id,omitempty"`

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

Response Object

func (ChangeLoadbalancerChargeModeResponse) String added in v0.0.70

type CountPreoccupyIpNumRequest

type CountPreoccupyIpNumRequest struct {
	L7FlavorId *string `json:"l7_flavor_id,omitempty"`

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

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

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

	AvailabilityZoneId *[]string `json:"availability_zone_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 *CreateCertificateOptionType `json:"type,omitempty"`

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

	EncCertificate *string `json:"enc_certificate,omitempty"`

	EncPrivateKey *string `json:"enc_private_key,omitempty"`
}

创建证书请求参数。

func (CreateCertificateOption) String

func (o CreateCertificateOption) String() string

type CreateCertificateOptionType added in v0.0.70

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

func (CreateCertificateOptionType) MarshalJSON added in v0.0.70

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

func (*CreateCertificateOptionType) UnmarshalJSON added in v0.0.70

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

type CreateCertificateOptionTypeEnum added in v0.0.70

type CreateCertificateOptionTypeEnum struct {
	SERVER CreateCertificateOptionType
	CLIENT CreateCertificateOptionType
}

func GetCreateCertificateOptionTypeEnum added in v0.0.70

func GetCreateCertificateOptionTypeEnum() CreateCertificateOptionTypeEnum

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 CreateFixtedResponseConfig added in v0.0.70

type CreateFixtedResponseConfig struct {
	StatusCode string `json:"status_code"`

	ContentType *CreateFixtedResponseConfigContentType `json:"content_type,omitempty"`

	MessageBody *string `json:"message_body,omitempty"`
}

固定返回页面的配置。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。共享型负载均衡器下的转发策略不支持该字段,传入会报错。 [当action为FIXED_RESPONSE时生效,且为必选字段,其他action不可指定。](tag:hc,hws,hk,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42) [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (CreateFixtedResponseConfig) String added in v0.0.70

type CreateFixtedResponseConfigContentType added in v0.0.70

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

func (CreateFixtedResponseConfigContentType) MarshalJSON added in v0.0.70

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

func (*CreateFixtedResponseConfigContentType) UnmarshalJSON added in v0.0.70

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

type CreateFixtedResponseConfigContentTypeEnum added in v0.0.70

type CreateFixtedResponseConfigContentTypeEnum struct {
	TEXT_PLAIN             CreateFixtedResponseConfigContentType
	TEXT_CSS               CreateFixtedResponseConfigContentType
	TEXT_HTML              CreateFixtedResponseConfigContentType
	APPLICATION_JAVASCRIPT CreateFixtedResponseConfigContentType
	APPLICATION_JSON       CreateFixtedResponseConfigContentType
}

func GetCreateFixtedResponseConfigContentTypeEnum added in v0.0.70

func GetCreateFixtedResponseConfigContentTypeEnum() CreateFixtedResponseConfigContentTypeEnum

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

	Priority *int32 `json:"priority,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"`

	RedirectUrlConfig *CreateRedirectUrlConfig `json:"redirect_url_config,omitempty"`

	FixedResponseConfig *CreateFixtedResponseConfig `json:"fixed_response_config,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"`

	Conditions *[]CreateRuleCondition `json:"conditions,omitempty"`
}

转发规则匹配策略

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

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

listener对象中的控制组(ipgroup)信息,可以不传或传null或{},表示监听器不绑定访问控制组。若需要绑定访问控制组,则ipgroup_id是必须的。 [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

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

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

	ClientCaTlsContainerRef *string `json:"client_ca_tls_container_ref,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 *string `json:"tls_ciphers_policy,omitempty"`

	SecurityPolicyId *string `json:"security_policy_id,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"`

	EnhanceL7policyEnable *bool `json:"enhance_l7policy_enable,omitempty"`
}

创建监听器的请求参数。

func (CreateListenerOption) String

func (o CreateListenerOption) String() string

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

	Size *int32 `json:"size,omitempty"`

	ChargeMode *CreateLoadBalancerBandwidthOptionChargeMode `json:"charge_mode,omitempty"`

	ShareType *CreateLoadBalancerBandwidthOptionShareType `json:"share_type,omitempty"`

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

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

	PrepaidOptions *PrepaidCreateOption `json:"prepaid_options,omitempty"`

	Autoscaling *CreateLoadbalancerAutoscalingOption `json:"autoscaling,omitempty"`
}

创建负载均衡器参数。

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

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

	OrderId *string `json:"order_id,omitempty"`

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

Response Object

func (CreateLoadBalancerResponse) String

type CreateLoadbalancerAutoscalingOption added in v0.0.70

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

	MinL4FlavorId *string `json:"min_l4_flavor_id,omitempty"`

	MinL7FlavorId *string `json:"min_l7_flavor_id,omitempty"`
}

弹性扩缩容配置信息。负载均衡器配置并开启弹性扩缩容后,可根据负载情况自动调整负载均衡器的规格。 使用说明: - 仅当局点支持弹性扩缩特性该字段才有效。可咨询客服了解当前局点是否支持弹性扩缩容特性。 - 开启弹性扩缩容后,l4_flavor_id和l7_flavor_id不再起作用。

func (CreateLoadbalancerAutoscalingOption) String added in v0.0.70

type CreateMemberOption

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

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

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

	ProjectId *CreateMemberOptionProjectId `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 CreateMemberOptionProjectId added in v0.0.70

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

func (CreateMemberOptionProjectId) MarshalJSON added in v0.0.70

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

func (*CreateMemberOptionProjectId) UnmarshalJSON added in v0.0.70

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

type CreateMemberOptionProjectIdEnum added in v0.0.70

type CreateMemberOptionProjectIdEnum struct {
	E_0_9A_F_A_F32 CreateMemberOptionProjectId
}

func GetCreateMemberOptionProjectIdEnum added in v0.0.70

func GetCreateMemberOptionProjectIdEnum() CreateMemberOptionProjectIdEnum

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 CreatePoolSessionPersistenceOptionType `json:"type"`

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

会话持久性对象。

func (CreatePoolSessionPersistenceOption) String

type CreatePoolSessionPersistenceOptionType added in v0.0.70

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

func (CreatePoolSessionPersistenceOptionType) MarshalJSON added in v0.0.70

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

func (*CreatePoolSessionPersistenceOptionType) UnmarshalJSON added in v0.0.70

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

type CreatePoolSessionPersistenceOptionTypeEnum added in v0.0.70

type CreatePoolSessionPersistenceOptionTypeEnum struct {
	SOURCE_IP   CreatePoolSessionPersistenceOptionType
	HTTP_COOKIE CreatePoolSessionPersistenceOptionType
	APP_COOKIE  CreatePoolSessionPersistenceOptionType
}

func GetCreatePoolSessionPersistenceOptionTypeEnum added in v0.0.70

func GetCreatePoolSessionPersistenceOptionTypeEnum() CreatePoolSessionPersistenceOptionTypeEnum

type CreatePoolSlowStartOption

type CreatePoolSlowStartOption struct {
	Enable *bool `json:"enable,omitempty"`

	Duration *int32 `json:"duration,omitempty"`
}

慢启动信息。开启慢启动后,将会在设定的时间段(duration)内对新添加到后端服务器组的后端服务器进行预热,转发到该服务器的请求数量线性增加。 当后端服务器组的协议为HTTP/HTTPS时有效,其他协议传入该字段将报错。 [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (CreatePoolSlowStartOption) String

func (o CreatePoolSlowStartOption) String() string

type CreateRedirectUrlConfig added in v0.0.70

type CreateRedirectUrlConfig struct {
	Protocol *CreateRedirectUrlConfigProtocol `json:"protocol,omitempty"`

	Host *string `json:"host,omitempty"`

	Port *string `json:"port,omitempty"`

	Path *string `json:"path,omitempty"`

	Query *string `json:"query,omitempty"`

	StatusCode CreateRedirectUrlConfigStatusCode `json:"status_code"`
}

转发到的url配置。 共享型负载均衡器下的转发策略不支持该字段,传入会报错。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 [当action为REDIRECT_TO_URL时生效,且为必选字段,其他action不可指定,否则报错。](tag:hc,hws,hk,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42) 格式:protocol://host:port/path?query protocol、host、port、path不允许同时不传或同时传${xxx}(${xxx}表示原值,如${host}表示被转发的请求URL的host部分)。protocol和port传入的值不能与l7policy关联的监听器一致且host、path同时不传或同时传${xxx}。 [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (CreateRedirectUrlConfig) String added in v0.0.70

func (o CreateRedirectUrlConfig) String() string

type CreateRedirectUrlConfigProtocol added in v0.0.70

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

func (CreateRedirectUrlConfigProtocol) MarshalJSON added in v0.0.70

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

func (*CreateRedirectUrlConfigProtocol) UnmarshalJSON added in v0.0.70

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

type CreateRedirectUrlConfigProtocolEnum added in v0.0.70

type CreateRedirectUrlConfigProtocolEnum struct {
	HTTP  CreateRedirectUrlConfigProtocol
	HTTPS CreateRedirectUrlConfigProtocol
	// contains filtered or unexported fields
}

func GetCreateRedirectUrlConfigProtocolEnum added in v0.0.70

func GetCreateRedirectUrlConfigProtocolEnum() CreateRedirectUrlConfigProtocolEnum

type CreateRedirectUrlConfigStatusCode added in v0.0.70

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

func (CreateRedirectUrlConfigStatusCode) MarshalJSON added in v0.0.70

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

func (*CreateRedirectUrlConfigStatusCode) UnmarshalJSON added in v0.0.70

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

type CreateRuleCondition added in v0.0.70

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

	Value string `json:"value"`
}

func (CreateRuleCondition) String added in v0.0.70

func (o CreateRuleCondition) String() string

type CreateRuleOption

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

	CompareType string `json:"compare_type"`

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

	Value string `json:"value"`

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

	Type string `json:"type"`

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

	Conditions *[]CreateRuleCondition `json:"conditions,omitempty"`
}

创建L7转发规则器请求

func (CreateRuleOption) String

func (o CreateRuleOption) String() string

type CreateSecurityPolicyOption added in v0.0.70

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

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

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

	Protocols []string `json:"protocols"`

	Ciphers []CreateSecurityPolicyOptionCiphers `json:"ciphers"`
}

自定义安全策略创建参数。

func (CreateSecurityPolicyOption) String added in v0.0.70

type CreateSecurityPolicyOptionCiphers added in v0.0.70

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

func (CreateSecurityPolicyOptionCiphers) MarshalJSON added in v0.0.70

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

func (*CreateSecurityPolicyOptionCiphers) UnmarshalJSON added in v0.0.70

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

type CreateSecurityPolicyOptionCiphersEnum added in v0.0.70

type CreateSecurityPolicyOptionCiphersEnum struct {
	ECDHE_RSA_AES256_GCM_SHA384   CreateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES128_GCM_SHA256   CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES256_GCM_SHA384 CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES128_GCM_SHA256 CreateSecurityPolicyOptionCiphers
	AES128_GCM_SHA256             CreateSecurityPolicyOptionCiphers
	AES256_GCM_SHA384             CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES128_SHA256     CreateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES128_SHA256       CreateSecurityPolicyOptionCiphers
	AES128_SHA256                 CreateSecurityPolicyOptionCiphers
	AES256_SHA256                 CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES256_SHA384     CreateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES256_SHA384       CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES128_SHA        CreateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES128_SHA          CreateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES256_SHA          CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES256_SHA        CreateSecurityPolicyOptionCiphers
	AES128_SHA                    CreateSecurityPolicyOptionCiphers
	AES256_SHA                    CreateSecurityPolicyOptionCiphers
	CAMELLIA128_SHA               CreateSecurityPolicyOptionCiphers
	DES_CBC3_SHA                  CreateSecurityPolicyOptionCiphers
	CAMELLIA256_SHA               CreateSecurityPolicyOptionCiphers
	ECDHE_RSA_CHACHA20_POLY1305   CreateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_CHACHA20_POLY1305 CreateSecurityPolicyOptionCiphers
	TLS_AES_128_GCM_SHA256        CreateSecurityPolicyOptionCiphers
	TLS_AES_256_GCM_SHA384        CreateSecurityPolicyOptionCiphers
	TLS_CHACHA20_POLY1305_SHA256  CreateSecurityPolicyOptionCiphers
	TLS_AES_128_CCM_SHA256        CreateSecurityPolicyOptionCiphers
	TLS_AES_128_CCM_8_SHA256      CreateSecurityPolicyOptionCiphers
	ECC_SM4_SM3                   CreateSecurityPolicyOptionCiphers
	ECDHE_SM4_SM3                 CreateSecurityPolicyOptionCiphers
}

func GetCreateSecurityPolicyOptionCiphersEnum added in v0.0.70

func GetCreateSecurityPolicyOptionCiphersEnum() CreateSecurityPolicyOptionCiphersEnum

type CreateSecurityPolicyRequest added in v0.0.70

type CreateSecurityPolicyRequest struct {
	Body *CreateSecurityPolicyRequestBody `json:"body,omitempty"`
}

Request Object

func (CreateSecurityPolicyRequest) String added in v0.0.70

type CreateSecurityPolicyRequestBody added in v0.0.70

type CreateSecurityPolicyRequestBody struct {
	SecurityPolicy *CreateSecurityPolicyOption `json:"security_policy"`
}

This is a auto create Body Object

func (CreateSecurityPolicyRequestBody) String added in v0.0.70

type CreateSecurityPolicyResponse added in v0.0.70

type CreateSecurityPolicyResponse struct {
	SecurityPolicy *SecurityPolicy `json:"security_policy,omitempty"`

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

Response Object

func (CreateSecurityPolicyResponse) String added in v0.0.70

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 {
	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 DeleteSecurityPolicyRequest added in v0.0.70

type DeleteSecurityPolicyRequest struct {
	SecurityPolicyId string `json:"security_policy_id"`
}

Request Object

func (DeleteSecurityPolicyRequest) String added in v0.0.70

type DeleteSecurityPolicyResponse added in v0.0.70

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

Response Object

func (DeleteSecurityPolicyResponse) String added in v0.0.70

type EipInfo

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

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

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

弹性ip,同publicips

func (EipInfo) String

func (o EipInfo) String() string

type FixtedResponseConfig added in v0.0.70

type FixtedResponseConfig struct {
	StatusCode string `json:"status_code"`

	ContentType FixtedResponseConfigContentType `json:"content_type"`

	MessageBody string `json:"message_body"`
}

固定返回页面的配置。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。共享型负载均衡器下的转发策略不支持该字段,传入会报错。 [当action为FIXED_RESPONSE时生效,且为必选字段,其他action不可指定。](tag:hc,hws,hk,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42) [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (FixtedResponseConfig) String added in v0.0.70

func (o FixtedResponseConfig) String() string

type FixtedResponseConfigContentType added in v0.0.70

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

func (FixtedResponseConfigContentType) MarshalJSON added in v0.0.70

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

func (*FixtedResponseConfigContentType) UnmarshalJSON added in v0.0.70

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

type FixtedResponseConfigContentTypeEnum added in v0.0.70

type FixtedResponseConfigContentTypeEnum struct {
	TEXT_PLAIN             FixtedResponseConfigContentType
	TEXT_CSS               FixtedResponseConfigContentType
	TEXT_HTML              FixtedResponseConfigContentType
	APPLICATION_JAVASCRIPT FixtedResponseConfigContentType
	APPLICATION_JSON       FixtedResponseConfigContentType
}

func GetFixtedResponseConfigContentTypeEnum added in v0.0.70

func GetFixtedResponseConfigContentTypeEnum() FixtedResponseConfigContentTypeEnum

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

	FlavorSoldOut bool `json:"flavor_sold_out"`
}

负载均衡器规格信息。

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

	Lcu *int32 `json:"lcu,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 IpGroupIp added in v0.0.70

type IpGroupIp struct {
	Ip string `json:"ip"`
}

IP地址组的IP地址对象。

func (IpGroupIp) String added in v0.0.70

func (o IpGroupIp) 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"`

	Priority *int32 `json:"priority,omitempty"`

	ProjectId string `json:"project_id"`

	ProvisioningStatus string `json:"provisioning_status"`

	RedirectPoolId string `json:"redirect_pool_id"`

	RedirectListenerId string `json:"redirect_listener_id"`

	RedirectUrl string `json:"redirect_url"`

	Rules []RuleRef `json:"rules"`

	RedirectUrlConfig *RedirectUrlConfig `json:"redirect_url_config"`

	FixedResponseConfig *FixtedResponseConfig `json:"fixed_response_config"`
}

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 L7RuleType `json:"type"`

	Value string `json:"value"`

	ProvisioningStatus string `json:"provisioning_status"`

	Invert bool `json:"invert"`

	Id string `json:"id"`

	Conditions []RuleCondition `json:"conditions"`
}

L7转发规则

func (L7Rule) String

func (o L7Rule) String() string

type L7RuleType added in v0.0.70

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

func (L7RuleType) MarshalJSON added in v0.0.70

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

func (*L7RuleType) UnmarshalJSON added in v0.0.70

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

type L7RuleTypeEnum added in v0.0.70

type L7RuleTypeEnum struct {
	HOST_NAME    L7RuleType
	PATH         L7RuleType
	METHOD       L7RuleType
	HEADER       L7RuleType
	QUERY_STRING L7RuleType
	SOURCE_IP    L7RuleType
}

func GetL7RuleTypeEnum added in v0.0.70

func GetL7RuleTypeEnum() L7RuleTypeEnum

type ListAllMembersRequest

type ListAllMembersRequest struct {
	Marker *string `json:"marker,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

	LoadbalancerId *[]string `json:"loadbalancer_id,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 ListApiVersionsRequest added in v0.0.70

type ListApiVersionsRequest struct {
}

Request Object

func (ListApiVersionsRequest) String added in v0.0.70

func (o ListApiVersionsRequest) String() string

type ListApiVersionsResponse added in v0.0.70

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

	Status         *ListApiVersionsResponseStatus `json:"status,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

Response Object

func (ListApiVersionsResponse) String added in v0.0.70

func (o ListApiVersionsResponse) String() string

type ListApiVersionsResponseStatus added in v0.0.70

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

func (ListApiVersionsResponseStatus) MarshalJSON added in v0.0.70

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

func (*ListApiVersionsResponseStatus) UnmarshalJSON added in v0.0.70

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

type ListApiVersionsResponseStatusEnum added in v0.0.70

type ListApiVersionsResponseStatusEnum struct {
	CURRENT    ListApiVersionsResponseStatus
	STABLE     ListApiVersionsResponseStatus
	DEPRECATED ListApiVersionsResponseStatus
}

func GetListApiVersionsResponseStatusEnum added in v0.0.70

func GetListApiVersionsResponseStatusEnum() ListApiVersionsResponseStatusEnum

type ListAvailabilityZonesRequest

type ListAvailabilityZonesRequest struct {
}

Request Object

func (ListAvailabilityZonesRequest) String

type ListAvailabilityZonesResponse

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

	AvailabilityZones *[][]AvailabilityZone `json:"availability_zones,omitempty"`
	HttpStatusCode    int                   `json:"-"`
}

Response Object

func (ListAvailabilityZonesResponse) String

type ListCertificatesRequest

type ListCertificatesRequest struct {
	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,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"`

	Domain *[]string `json:"domain,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 {
	Marker *string `json:"marker,omitempty"`

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

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

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

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

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

	Shared *bool `json:"shared,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 {
	Marker *string `json:"marker,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	EnterpriseProjectId *[]string `json:"enterprise_project_id,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 {
	Marker *string `json:"marker,omitempty"`

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

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

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

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

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

	IpList *[]string `json:"ip_list,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 {
	Marker *string `json:"marker,omitempty"`

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

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

	EnterpriseProjectId *[]string `json:"enterprise_project_id,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"`

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

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

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

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

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

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

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

	Priority *[]int32 `json:"priority,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"`

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

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

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

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

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

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

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

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

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

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

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

	EnterpriseProjectId *[]string `json:"enterprise_project_id,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 {
	Limit *int32 `json:"limit,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	EnterpriseProjectId *[]string `json:"enterprise_project_id,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"`

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

	EnhanceL7policyEnable *bool `json:"enhance_l7policy_enable,omitempty"`

	MemberInstanceId *[]string `json:"member_instance_id,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 {
	Marker *string `json:"marker,omitempty"`

	Limit *int32 `json:"limit,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"`

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

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

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

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

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

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

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

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

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

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

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

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

	AvailabilityZoneList *[]string `json:"availability_zone_list,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"`

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

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

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

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

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

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

	ElbVirsubnetType *[]string `json:"elb_virsubnet_type,omitempty"`

	Autoscaling *[]string `json:"autoscaling,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"`

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

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

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

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

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

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

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

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

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

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

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

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

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

	MemberType *[]string `json:"member_type,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 {
	Marker *string `json:"marker,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

	MemberInstanceId *[]string `json:"member_instance_id,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 ListQuotaDetailsRequest added in v0.0.70

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

Request Object

func (ListQuotaDetailsRequest) String added in v0.0.70

func (o ListQuotaDetailsRequest) String() string

type ListQuotaDetailsResponse added in v0.0.70

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

	Quotas         *[]QuotaInfo `json:"quotas,omitempty"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ListQuotaDetailsResponse) String added in v0.0.70

func (o ListQuotaDetailsResponse) String() string

type ListSecurityPoliciesRequest added in v0.0.70

type ListSecurityPoliciesRequest struct {
	Marker *string `json:"marker,omitempty"`

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

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

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

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

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

	Protocols *[]string `json:"protocols,omitempty"`

	Ciphers *[]string `json:"ciphers,omitempty"`
}

Request Object

func (ListSecurityPoliciesRequest) String added in v0.0.70

type ListSecurityPoliciesResponse added in v0.0.70

type ListSecurityPoliciesResponse struct {
	SecurityPolicies *[]SecurityPolicy `json:"security_policies,omitempty"`

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

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

Response Object

func (ListSecurityPoliciesResponse) String added in v0.0.70

type ListSystemSecurityPoliciesRequest added in v0.0.70

type ListSystemSecurityPoliciesRequest struct {
}

Request Object

func (ListSystemSecurityPoliciesRequest) String added in v0.0.70

type ListSystemSecurityPoliciesResponse added in v0.0.70

type ListSystemSecurityPoliciesResponse struct {
	SystemSecurityPolicies *[]SystemSecurityPolicy `json:"system_security_policies,omitempty"`

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

Response Object

func (ListSystemSecurityPoliciesResponse) String added in v0.0.70

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

	SecurityPolicyId string `json:"security_policy_id"`

	EnableMemberRetry bool `json:"enable_member_retry"`

	KeepaliveTimeout int32 `json:"keepalive_timeout"`

	ClientTimeout int32 `json:"client_timeout"`

	MemberTimeout int32 `json:"member_timeout"`

	Ipgroup *ListenerIpGroup `json:"ipgroup"`

	TransparentClientIpEnable bool `json:"transparent_client_ip_enable"`

	EnhanceL7policyEnable bool `json:"enhance_l7policy_enable"`
}

监听器信息。

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

可选的HTTP头插入,可以将从负载均衡器到后端云服务器的路径中需要被后端云服务器用到的信息写入HTTP中,随报文传递到后端云服务器使。例如可通过X-Forwarded-ELB-IP开关,将负载均衡器的弹性公网IP传到后端云服务器。

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

	Name string `json:"name"`

	ProjectId string `json:"project_id"`

	VipSubnetCidrId string `json:"vip_subnet_cidr_id"`

	VipAddress string `json:"vip_address"`

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

	BillingInfo string `json:"billing_info"`

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

	ElbVirsubnetIds []string `json:"elb_virsubnet_ids"`

	ElbVirsubnetType LoadBalancerElbVirsubnetType `json:"elb_virsubnet_type"`

	IpTargetEnable bool `json:"ip_target_enable"`

	FrozenScene string `json:"frozen_scene"`

	Ipv6Bandwidth *BandwidthRef `json:"ipv6_bandwidth"`

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

	Autoscaling *AutoscalingRef `json:"autoscaling,omitempty"`
}

负载均衡器的详细信息。

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

	Type string `json:"type"`

	ProvisioningStatus string `json:"provisioning_status"`
}

查询负载均衡状态树返回对象中的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"`

	MemberType *string `json:"member_type,omitempty"`

	InstanceId *string `json:"instance_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"`
}

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

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 PrepaidChangeChargeModeOption added in v0.0.70

type PrepaidChangeChargeModeOption struct {
	IncludePublicip *bool `json:"include_publicip,omitempty"`

	PeriodType PrepaidChangeChargeModeOptionPeriodType `json:"period_type"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	AutoRenew *bool `json:"auto_renew,omitempty"`

	AutoPay *bool `json:"auto_pay,omitempty"`
}

包周期选项,charge_mode为prepaid时填写。

func (PrepaidChangeChargeModeOption) String added in v0.0.70

type PrepaidChangeChargeModeOptionPeriodType added in v0.0.70

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

func (PrepaidChangeChargeModeOptionPeriodType) MarshalJSON added in v0.0.70

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

func (*PrepaidChangeChargeModeOptionPeriodType) UnmarshalJSON added in v0.0.70

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

type PrepaidChangeChargeModeOptionPeriodTypeEnum added in v0.0.70

type PrepaidChangeChargeModeOptionPeriodTypeEnum struct {
	MONTH PrepaidChangeChargeModeOptionPeriodType
	YEAR  PrepaidChangeChargeModeOptionPeriodType
}

func GetPrepaidChangeChargeModeOptionPeriodTypeEnum added in v0.0.70

func GetPrepaidChangeChargeModeOptionPeriodTypeEnum() PrepaidChangeChargeModeOptionPeriodTypeEnum

type PrepaidCreateOption added in v0.0.70

type PrepaidCreateOption struct {
	PeriodType PrepaidCreateOptionPeriodType `json:"period_type"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	AutoRenew *bool `json:"auto_renew,omitempty"`

	AutoPay *bool `json:"auto_pay,omitempty"`
}

创建负载均衡器的包周期信息,若传入该结构体,则创建包周期的LB

func (PrepaidCreateOption) String added in v0.0.70

func (o PrepaidCreateOption) String() string

type PrepaidCreateOptionPeriodType added in v0.0.70

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

func (PrepaidCreateOptionPeriodType) MarshalJSON added in v0.0.70

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

func (*PrepaidCreateOptionPeriodType) UnmarshalJSON added in v0.0.70

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

type PrepaidCreateOptionPeriodTypeEnum added in v0.0.70

type PrepaidCreateOptionPeriodTypeEnum struct {
	MONTH PrepaidCreateOptionPeriodType
	YEAR  PrepaidCreateOptionPeriodType
}

func GetPrepaidCreateOptionPeriodTypeEnum added in v0.0.70

func GetPrepaidCreateOptionPeriodTypeEnum() PrepaidCreateOptionPeriodTypeEnum

type PrepaidUpdateOption added in v0.0.70

type PrepaidUpdateOption struct {
	AutoPay *bool `json:"auto_pay,omitempty"`

	ChangeMode *PrepaidUpdateOptionChangeMode `json:"change_mode,omitempty"`

	CloudServiceConsoleUrl *string `json:"cloud_service_console_url,omitempty"`

	PeriodNum *int32 `json:"period_num,omitempty"`

	PeriodType *PrepaidUpdateOptionPeriodType `json:"period_type,omitempty"`
}

负载均衡器的包周期规格变更信息

func (PrepaidUpdateOption) String added in v0.0.70

func (o PrepaidUpdateOption) String() string

type PrepaidUpdateOptionChangeMode added in v0.0.70

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

func (PrepaidUpdateOptionChangeMode) MarshalJSON added in v0.0.70

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

func (*PrepaidUpdateOptionChangeMode) UnmarshalJSON added in v0.0.70

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

type PrepaidUpdateOptionChangeModeEnum added in v0.0.70

type PrepaidUpdateOptionChangeModeEnum struct {
	IMMEDIATE PrepaidUpdateOptionChangeMode
	DELAY     PrepaidUpdateOptionChangeMode
}

func GetPrepaidUpdateOptionChangeModeEnum added in v0.0.70

func GetPrepaidUpdateOptionChangeModeEnum() PrepaidUpdateOptionChangeModeEnum

type PrepaidUpdateOptionPeriodType added in v0.0.70

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

func (PrepaidUpdateOptionPeriodType) MarshalJSON added in v0.0.70

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

func (*PrepaidUpdateOptionPeriodType) UnmarshalJSON added in v0.0.70

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

type PrepaidUpdateOptionPeriodTypeEnum added in v0.0.70

type PrepaidUpdateOptionPeriodTypeEnum struct {
	MONTH PrepaidUpdateOptionPeriodType
	YEAR  PrepaidUpdateOptionPeriodType
}

func GetPrepaidUpdateOptionPeriodTypeEnum added in v0.0.70

func GetPrepaidUpdateOptionPeriodTypeEnum() PrepaidUpdateOptionPeriodTypeEnum

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 {
	ProjectId string `json:"project_id"`

	Loadbalancer int32 `json:"loadbalancer"`

	Certificate int32 `json:"certificate"`

	Listener int32 `json:"listener"`

	L7policy int32 `json:"l7policy"`

	Pool int32 `json:"pool"`

	Healthmonitor int32 `json:"healthmonitor"`

	Member int32 `json:"member"`

	MembersPerPool int32 `json:"members_per_pool"`
}

负载均衡相关各类资源的配额信息。仅返回资源的总配额,不包括剩余可用配额。

func (Quota) String

func (o Quota) String() string

type QuotaInfo added in v0.0.70

type QuotaInfo struct {
	QuotaKey string `json:"quota_key"`

	QuotaLimit int32 `json:"quota_limit"`

	Used int32 `json:"used"`

	Unit string `json:"unit"`
}

配额信息,包括总配额和已使用配额。

func (QuotaInfo) String added in v0.0.70

func (o QuotaInfo) String() string

type RedirectUrlConfig added in v0.0.70

type RedirectUrlConfig struct {
	Protocol RedirectUrlConfigProtocol `json:"protocol"`

	Host string `json:"host"`

	Port string `json:"port"`

	Path string `json:"path"`

	Query string `json:"query"`

	StatusCode RedirectUrlConfigStatusCode `json:"status_code"`
}

转发到的url配置。 共享型负载均衡器下的转发策略不支持该字段,传入会报错。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 [当action为REDIRECT_TO_URL时生效,且为必选字段,其他action不可指定,否则报错。](tag:hc,hws,hk,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42) 格式:protocol://host:port/path?query protocol、host、port、path不允许同时不传或同时传${xxx}(${xxx}表示原值,如${host}表示被转发的请求URL的host部分)。protocol和port传入的值不能与l7policy关联的监听器一致且host、path同时不传或同时传${xxx}。 [ 不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (RedirectUrlConfig) String added in v0.0.70

func (o RedirectUrlConfig) String() string

type RedirectUrlConfigProtocol added in v0.0.70

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

func (RedirectUrlConfigProtocol) MarshalJSON added in v0.0.70

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

func (*RedirectUrlConfigProtocol) UnmarshalJSON added in v0.0.70

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

type RedirectUrlConfigProtocolEnum added in v0.0.70

type RedirectUrlConfigProtocolEnum struct {
	HTTP  RedirectUrlConfigProtocol
	HTTPS RedirectUrlConfigProtocol
	// contains filtered or unexported fields
}

func GetRedirectUrlConfigProtocolEnum added in v0.0.70

func GetRedirectUrlConfigProtocolEnum() RedirectUrlConfigProtocolEnum

type RedirectUrlConfigStatusCode added in v0.0.70

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

func (RedirectUrlConfigStatusCode) MarshalJSON added in v0.0.70

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

func (*RedirectUrlConfigStatusCode) UnmarshalJSON added in v0.0.70

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

type RedirectUrlConfigStatusCodeEnum added in v0.0.70

func GetRedirectUrlConfigStatusCodeEnum added in v0.0.70

func GetRedirectUrlConfigStatusCodeEnum() RedirectUrlConfigStatusCodeEnum

type RuleCondition added in v0.0.70

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

	Value string `json:"value"`
}

func (RuleCondition) String added in v0.0.70

func (o RuleCondition) String() string

type RuleRef

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

func (RuleRef) String

func (o RuleRef) String() string

type SecurityPolicy added in v0.0.70

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

	ProjectId string `json:"project_id"`

	Name string `json:"name"`

	Description string `json:"description"`

	Listeners *ListenerRef `json:"listeners"`

	Protocols []string `json:"protocols"`

	Ciphers []string `json:"ciphers"`

	CreatedAt string `json:"created_at"`

	UpdatedAt string `json:"updated_at"`
}

自定义安全策略信息

func (SecurityPolicy) String added in v0.0.70

func (o SecurityPolicy) 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 {
	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 {
	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 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 ShowSecurityPolicyRequest added in v0.0.70

type ShowSecurityPolicyRequest struct {
	SecurityPolicyId string `json:"security_policy_id"`
}

Request Object

func (ShowSecurityPolicyRequest) String added in v0.0.70

func (o ShowSecurityPolicyRequest) String() string

type ShowSecurityPolicyResponse added in v0.0.70

type ShowSecurityPolicyResponse struct {
	SecurityPolicy *SecurityPolicy `json:"security_policy,omitempty"`

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

Response Object

func (ShowSecurityPolicyResponse) String added in v0.0.70

type SlowStart

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

	Duration int32 `json:"duration"`
}

慢启动信息。开启慢启动后,将会在设定的时间段(duration)内对新添加到后端服务器组的后端服务器进行预热,转发到该服务器的请求数量线性增加。 当后端服务器组的协议为HTTP/HTTPS时有效,其他协议传入该字段将报错。 [ 不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (SlowStart) String

func (o SlowStart) String() string

type SystemSecurityPolicy added in v0.0.70

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

	Protocols []string `json:"protocols"`

	Ciphers []string `json:"ciphers"`

	ProjectId string `json:"project_id"`
}

func (SystemSecurityPolicy) String added in v0.0.70

func (o SystemSecurityPolicy) 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地址更新参数。

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

	EncCertificate *string `json:"enc_certificate,omitempty"`

	EncPrivateKey *string `json:"enc_private_key,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 UpdateFixtedResponseConfig added in v0.0.70

type UpdateFixtedResponseConfig struct {
	StatusCode *string `json:"status_code,omitempty"`

	ContentType *UpdateFixtedResponseConfigContentType `json:"content_type,omitempty"`

	MessageBody *string `json:"message_body,omitempty"`
}

固定返回页面的配置。当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。共享型负载均衡器下的转发策略不支持该字段,传入会报错。 [当action为FIXED_RESPONSE时生效,且为必选字段,其他action不可指定,否则报错。](tag:hc,hws,hk,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42) [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (UpdateFixtedResponseConfig) String added in v0.0.70

type UpdateFixtedResponseConfigContentType added in v0.0.70

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

func (UpdateFixtedResponseConfigContentType) MarshalJSON added in v0.0.70

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

func (*UpdateFixtedResponseConfigContentType) UnmarshalJSON added in v0.0.70

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

type UpdateFixtedResponseConfigContentTypeEnum added in v0.0.70

type UpdateFixtedResponseConfigContentTypeEnum struct {
	TEXT_PLAIN             UpdateFixtedResponseConfigContentType
	TEXT_CSS               UpdateFixtedResponseConfigContentType
	TEXT_HTML              UpdateFixtedResponseConfigContentType
	APPLICATION_JAVASCRIPT UpdateFixtedResponseConfigContentType
	APPLICATION_JSON       UpdateFixtedResponseConfigContentType
}

func GetUpdateFixtedResponseConfigContentTypeEnum added in v0.0.70

func GetUpdateFixtedResponseConfigContentTypeEnum() UpdateFixtedResponseConfigContentTypeEnum

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 *UpdateHealthMonitorOptionHttpMethod `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 UpdateHealthMonitorOptionHttpMethod added in v0.0.70

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

func (UpdateHealthMonitorOptionHttpMethod) MarshalJSON added in v0.0.70

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

func (*UpdateHealthMonitorOptionHttpMethod) UnmarshalJSON added in v0.0.70

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

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 UpdateIpGroupIpListOption added in v0.0.70

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

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

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

更新IP地址组IP列表请求参数。

func (UpdateIpGroupIpListOption) String added in v0.0.70

func (o UpdateIpGroupIpListOption) String() 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 UpdateIpListRequest added in v0.0.70

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

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

Request Object

func (UpdateIpListRequest) String added in v0.0.70

func (o UpdateIpListRequest) String() string

type UpdateIpListRequestBody added in v0.0.70

type UpdateIpListRequestBody struct {
	Ipgroup *UpdateIpGroupIpListOption `json:"ipgroup,omitempty"`
}

This is a auto create Body Object

func (UpdateIpListRequestBody) String added in v0.0.70

func (o UpdateIpListRequestBody) String() string

type UpdateIpListResponse added in v0.0.70

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

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

Response Object

func (UpdateIpListResponse) String added in v0.0.70

func (o UpdateIpListResponse) 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"`

	RedirectUrlConfig *UpdateRedirectUrlConfig `json:"redirect_url_config,omitempty"`

	FixedResponseConfig *UpdateFixtedResponseConfig `json:"fixed_response_config,omitempty"`

	Rules *[]CreateRuleOption `json:"rules,omitempty"`

	Priority *int32 `json:"priority,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"`

	Conditions *[]UpdateRuleCondition `json:"conditions,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,omitempty"`

	EnableIpgroup *bool `json:"enable_ipgroup,omitempty"`

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

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

	SecurityPolicyId *string `json:"security_policy_id,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"`

	EnhanceL7policyEnable *bool `json:"enhance_l7policy_enable,omitempty"`
}

更新监听器请求参数

func (UpdateListenerOption) String

func (o UpdateListenerOption) 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 *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"`

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

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

	PrepaidOptions *PrepaidUpdateOption `json:"prepaid_options,omitempty"`

	Autoscaling *UpdateLoadbalancerAutoscalingOption `json:"autoscaling,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 {
	Loadbalancer *LoadBalancer `json:"loadbalancer,omitempty"`

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

	OrderId *string `json:"order_id,omitempty"`

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

Response Object

func (UpdateLoadBalancerResponse) String

type UpdateLoadbalancerAutoscalingOption added in v0.0.70

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

	MinL4FlavorId *string `json:"min_l4_flavor_id,omitempty"`

	MinL7FlavorId *string `json:"min_l7_flavor_id,omitempty"`
}

弹性扩缩容配置信息。负载均衡器配置并开启弹性扩缩容后,可根据负载情况自动调整负载均衡器的规格。 使用说明: - 仅当局点支持弹性扩缩特性该字段才有效。可咨询客服了解当前局点是否支持弹性扩缩容特性。 - 开启弹性扩缩容后,l4_flavor_id和l7_flavor_id不再起作用。

func (UpdateLoadbalancerAutoscalingOption) String added in v0.0.70

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

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

会话持久性对象。

func (UpdatePoolSessionPersistenceOption) String

type UpdatePoolSessionPersistenceOptionType added in v0.0.70

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

func (UpdatePoolSessionPersistenceOptionType) MarshalJSON added in v0.0.70

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

func (*UpdatePoolSessionPersistenceOptionType) UnmarshalJSON added in v0.0.70

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

type UpdatePoolSessionPersistenceOptionTypeEnum added in v0.0.70

type UpdatePoolSessionPersistenceOptionTypeEnum struct {
	SOURCE_IP   UpdatePoolSessionPersistenceOptionType
	HTTP_COOKIE UpdatePoolSessionPersistenceOptionType
	APP_COOKIE  UpdatePoolSessionPersistenceOptionType
}

func GetUpdatePoolSessionPersistenceOptionTypeEnum added in v0.0.70

func GetUpdatePoolSessionPersistenceOptionTypeEnum() UpdatePoolSessionPersistenceOptionTypeEnum

type UpdatePoolSlowStartOption

type UpdatePoolSlowStartOption struct {
	Enable *bool `json:"enable,omitempty"`

	Duration *int32 `json:"duration,omitempty"`
}

慢启动信息。开启慢启动后,将会在设定的时间段(duration)内对新添加到后端服务器组的后端服务器进行预热,转发到该服务器的请求数量线性增加。 当后端服务器组的协议为HTTP/HTTPS时有效,其他协议传入该字段将报错。 [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (UpdatePoolSlowStartOption) String

func (o UpdatePoolSlowStartOption) String() string

type UpdateRedirectUrlConfig added in v0.0.70

type UpdateRedirectUrlConfig struct {
	Protocol *UpdateRedirectUrlConfigProtocol `json:"protocol,omitempty"`

	Host *string `json:"host,omitempty"`

	Port *string `json:"port,omitempty"`

	Path *string `json:"path,omitempty"`

	Query *string `json:"query,omitempty"`

	StatusCode *UpdateRedirectUrlConfigStatusCode `json:"status_code,omitempty"`
}

转发到的url配置。 共享型负载均衡器下的转发策略不支持该字段,传入会报错。 当监听器的高级转发策略功能(enhance_l7policy_enable)开启后才会生效,未开启传入该字段会报错。 [当action为REDIRECT_TO_URL时生效,且为必选字段,其他action不可指定,否则报错。](tag:hc,hws,hk,ocb,tlf,ctc,hcso,sbc,g42,tm,cmcc,hk-g42) 格式:protocol://host:port/path?query protocol、host、port、path不允许同时不传或同时传${xxx}(${xxx}表示原值,如${host}表示被转发的请求URL的host部分)。protocol和port传入的值不能与l7policy关联的监听器一致且host、path同时不传或同时传${xxx}。 [不支持该字段,请勿使用。](tag:otc,otc_test,dt,dt_test)

func (UpdateRedirectUrlConfig) String added in v0.0.70

func (o UpdateRedirectUrlConfig) String() string

type UpdateRedirectUrlConfigProtocol added in v0.0.70

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

func (UpdateRedirectUrlConfigProtocol) MarshalJSON added in v0.0.70

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

func (*UpdateRedirectUrlConfigProtocol) UnmarshalJSON added in v0.0.70

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

type UpdateRedirectUrlConfigProtocolEnum added in v0.0.70

type UpdateRedirectUrlConfigProtocolEnum struct {
	HTTP  UpdateRedirectUrlConfigProtocol
	HTTPS UpdateRedirectUrlConfigProtocol
	// contains filtered or unexported fields
}

func GetUpdateRedirectUrlConfigProtocolEnum added in v0.0.70

func GetUpdateRedirectUrlConfigProtocolEnum() UpdateRedirectUrlConfigProtocolEnum

type UpdateRedirectUrlConfigStatusCode added in v0.0.70

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

func (UpdateRedirectUrlConfigStatusCode) MarshalJSON added in v0.0.70

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

func (*UpdateRedirectUrlConfigStatusCode) UnmarshalJSON added in v0.0.70

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

type UpdateRuleCondition added in v0.0.70

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

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

func (UpdateRuleCondition) String added in v0.0.70

func (o UpdateRuleCondition) String() string

type UpdateSecurityPolicyOption added in v0.0.70

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

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

	Protocols *[]string `json:"protocols,omitempty"`

	Ciphers *[]UpdateSecurityPolicyOptionCiphers `json:"ciphers,omitempty"`
}

更新自定义安全策略的请求参数。

func (UpdateSecurityPolicyOption) String added in v0.0.70

type UpdateSecurityPolicyOptionCiphers added in v0.0.70

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

func (UpdateSecurityPolicyOptionCiphers) MarshalJSON added in v0.0.70

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

func (*UpdateSecurityPolicyOptionCiphers) UnmarshalJSON added in v0.0.70

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

type UpdateSecurityPolicyOptionCiphersEnum added in v0.0.70

type UpdateSecurityPolicyOptionCiphersEnum struct {
	ECDHE_RSA_AES256_GCM_SHA384   UpdateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES128_GCM_SHA256   UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES256_GCM_SHA384 UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES128_GCM_SHA256 UpdateSecurityPolicyOptionCiphers
	AES128_GCM_SHA256             UpdateSecurityPolicyOptionCiphers
	AES256_GCM_SHA384             UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES128_SHA256     UpdateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES128_SHA256       UpdateSecurityPolicyOptionCiphers
	AES128_SHA256                 UpdateSecurityPolicyOptionCiphers
	AES256_SHA256                 UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES256_SHA384     UpdateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES256_SHA384       UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES128_SHA        UpdateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES128_SHA          UpdateSecurityPolicyOptionCiphers
	ECDHE_RSA_AES256_SHA          UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_AES256_SHA        UpdateSecurityPolicyOptionCiphers
	AES128_SHA                    UpdateSecurityPolicyOptionCiphers
	AES256_SHA                    UpdateSecurityPolicyOptionCiphers
	CAMELLIA128_SHA               UpdateSecurityPolicyOptionCiphers
	DES_CBC3_SHA                  UpdateSecurityPolicyOptionCiphers
	CAMELLIA256_SHA               UpdateSecurityPolicyOptionCiphers
	ECDHE_RSA_CHACHA20_POLY1305   UpdateSecurityPolicyOptionCiphers
	ECDHE_ECDSA_CHACHA20_POLY1305 UpdateSecurityPolicyOptionCiphers
	TLS_AES_128_GCM_SHA256        UpdateSecurityPolicyOptionCiphers
	TLS_AES_256_GCM_SHA384        UpdateSecurityPolicyOptionCiphers
	TLS_CHACHA20_POLY1305_SHA256  UpdateSecurityPolicyOptionCiphers
	TLS_AES_128_CCM_SHA256        UpdateSecurityPolicyOptionCiphers
	TLS_AES_128_CCM_8_SHA256      UpdateSecurityPolicyOptionCiphers
	ECC_SM4_SM3                   UpdateSecurityPolicyOptionCiphers
	ECDHE_SM4_SM3                 UpdateSecurityPolicyOptionCiphers
}

func GetUpdateSecurityPolicyOptionCiphersEnum added in v0.0.70

func GetUpdateSecurityPolicyOptionCiphersEnum() UpdateSecurityPolicyOptionCiphersEnum

type UpdateSecurityPolicyRequest added in v0.0.70

type UpdateSecurityPolicyRequest struct {
	SecurityPolicyId string `json:"security_policy_id"`

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

Request Object

func (UpdateSecurityPolicyRequest) String added in v0.0.70

type UpdateSecurityPolicyRequestBody added in v0.0.70

type UpdateSecurityPolicyRequestBody struct {
	SecurityPolicy *UpdateSecurityPolicyOption `json:"security_policy"`
}

This is a auto create Body Object

func (UpdateSecurityPolicyRequestBody) String added in v0.0.70

type UpdateSecurityPolicyResponse added in v0.0.70

type UpdateSecurityPolicyResponse struct {
	SecurityPolicy *SecurityPolicy `json:"security_policy,omitempty"`

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

Response Object

func (UpdateSecurityPolicyResponse) String added in v0.0.70

Source Files

Jump to

Keyboard shortcuts

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