model

package
v0.0.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclApiBindingCreate

type AclApiBindingCreate struct {

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// API发布记录编号
	PublishIds *[]string `json:"publish_ids,omitempty"`
}

func (AclApiBindingCreate) String

func (o AclApiBindingCreate) String() string

type AclApiBindingInfo

type AclApiBindingInfo struct {

	// 绑定关系编号
	Id *string `json:"id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// 绑定时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

func (AclApiBindingInfo) String

func (o AclApiBindingInfo) String() string

type AclBatchDelete

type AclBatchDelete struct {

	// 需要删除的ACL策略ID列表
	Acls *[]string `json:"acls,omitempty"`
}

func (AclBatchDelete) String

func (o AclBatchDelete) String() string

type AclBatchResultFailureResp

type AclBatchResultFailureResp struct {

	// 删除失败的ACL策略ID
	AclId *string `json:"acl_id,omitempty"`

	// 删除失败的ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

	// 删除失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 删除失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (AclBatchResultFailureResp) String

func (o AclBatchResultFailureResp) String() string

type AclBindApiInfo

type AclBindApiInfo struct {

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API类型
	ApiType *int64 `json:"api_type,omitempty"`

	// API的描述信息
	ApiRemark *string `json:"api_remark,omitempty"`

	// 生效的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 生效的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 绑定关系编号
	BindId *string `json:"bind_id,omitempty"`

	// API分组名称
	GroupName *string `json:"group_name,omitempty"`

	// 绑定时间
	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`

	// API发布记录编号
	PublishId *string `json:"publish_id,omitempty"`
}

func (AclBindApiInfo) String

func (o AclBindApiInfo) String() string

type AclBindingBatchDelete

type AclBindingBatchDelete struct {

	// 需要解除绑定的API和ACL绑定关系ID列表
	AclBindings *[]string `json:"acl_bindings,omitempty"`
}

func (AclBindingBatchDelete) String

func (o AclBindingBatchDelete) String() string

type AclBindingBatchFailure

type AclBindingBatchFailure struct {

	// 解除绑定失败的API和ACL绑定关系ID
	BindId *string `json:"bind_id,omitempty"`

	// 解除绑定失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 解除绑定失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 解除绑定失败的API的ID
	ApiId *string `json:"api_id,omitempty"`

	// 解除绑定失败的API的名称
	ApiName *string `json:"api_name,omitempty"`
}

func (AclBindingBatchFailure) String

func (o AclBindingBatchFailure) String() string

type AddEipV2Request

type AddEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

AddEipV2Request Request Object

func (AddEipV2Request) String

func (o AddEipV2Request) String() string

type AddEipV2Response

type AddEipV2Response struct {

	// 弹性公网IP编号
	EipId *string `json:"eip_id,omitempty"`

	// 弹性公网IP
	EipAddress *string `json:"eip_address,omitempty"`

	// 弹性公网IP状态
	EipStatus *string `json:"eip_status,omitempty"`

	// 弹性公网IP(IPV6)
	EipIpv6Address *string `json:"eip_ipv6_address,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddEipV2Response Response Object

func (AddEipV2Response) String

func (o AddEipV2Response) String() string

type AddEngressEipV2Request

type AddEngressEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

AddEngressEipV2Request Request Object

func (AddEngressEipV2Request) String

func (o AddEngressEipV2Request) String() string

type AddEngressEipV2Response

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

AddEngressEipV2Response Response Object

func (AddEngressEipV2Response) String

func (o AddEngressEipV2Response) String() string

type AddIngressEipV2Request

type AddIngressEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

AddIngressEipV2Request Request Object

func (AddIngressEipV2Request) String

func (o AddIngressEipV2Request) String() string

type AddIngressEipV2Response

type AddIngressEipV2Response struct {

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 公网入口变更的任务信息
	Message *string `json:"message,omitempty"`

	// 任务编号
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddIngressEipV2Response Response Object

func (AddIngressEipV2Response) String

func (o AddIngressEipV2Response) String() string

type AddingBackendInstancesV2Request

type AddingBackendInstancesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

AddingBackendInstancesV2Request Request Object

func (AddingBackendInstancesV2Request) String

type AddingBackendInstancesV2Response

type AddingBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

AddingBackendInstancesV2Response Response Object

func (AddingBackendInstancesV2Response) String

type ApiAclCreate

type ApiAclCreate struct {

	// ACL策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	AclName string `json:"acl_name"`

	// 类型 -  PERMIT (白名单类型) -  DENY (黑名单类型)
	AclType ApiAclCreateAclType `json:"acl_type"`

	// ACL策略值,支持一个或多个值,使用英文半角逗号分隔
	AclValue string `json:"acl_value"`

	// 对象类型: - IP:IP地址 - DOMAIN:帐号名 - DOMAIN_ID:帐号ID
	EntityType ApiAclCreateEntityType `json:"entity_type"`
}

func (ApiAclCreate) String

func (o ApiAclCreate) String() string

type ApiAclCreateAclType

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

func (ApiAclCreateAclType) MarshalJSON

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

func (*ApiAclCreateAclType) UnmarshalJSON

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

func (ApiAclCreateAclType) Value

func (c ApiAclCreateAclType) Value() string

type ApiAclCreateAclTypeEnum

type ApiAclCreateAclTypeEnum struct {
	PERMIT ApiAclCreateAclType
	DENY   ApiAclCreateAclType
}

func GetApiAclCreateAclTypeEnum

func GetApiAclCreateAclTypeEnum() ApiAclCreateAclTypeEnum

type ApiAclCreateEntityType

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

func (ApiAclCreateEntityType) MarshalJSON

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

func (*ApiAclCreateEntityType) UnmarshalJSON

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

func (ApiAclCreateEntityType) Value

func (c ApiAclCreateEntityType) Value() string

type ApiAclCreateEntityTypeEnum

type ApiAclCreateEntityTypeEnum struct {
	IP        ApiAclCreateEntityType
	DOMAIN    ApiAclCreateEntityType
	DOMAIN_ID ApiAclCreateEntityType
}

func GetApiAclCreateEntityTypeEnum

func GetApiAclCreateEntityTypeEnum() ApiAclCreateEntityTypeEnum

type ApiAclInfoWithBindNum

type ApiAclInfoWithBindNum struct {

	// ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型 - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略的值
	AclValue *string `json:"acl_value,omitempty"`

	// 绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 对象类型 - IP - DOMAIN - DOMAIN_ID
	EntityType *string `json:"entity_type,omitempty"`

	// ACL策略编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (ApiAclInfoWithBindNum) String

func (o ApiAclInfoWithBindNum) String() string

type ApiActionInfo

type ApiActionInfo struct {

	// 需要进行的操作。 - online:发布 - offline:下线
	Action ApiActionInfoAction `json:"action"`

	// 环境的编号,即:API需要发布到哪个环境
	EnvId string `json:"env_id"`

	// API的编号,即:需要进行发布或下线的API的编号
	ApiId string `json:"api_id"`

	// 对发布动作的简述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (ApiActionInfo) String

func (o ApiActionInfo) String() string

type ApiActionInfoAction

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

func (ApiActionInfoAction) MarshalJSON

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

func (*ApiActionInfoAction) UnmarshalJSON

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

func (ApiActionInfoAction) Value

func (c ApiActionInfoAction) Value() string

type ApiActionInfoActionEnum

type ApiActionInfoActionEnum struct {
	ONLINE  ApiActionInfoAction
	OFFLINE ApiActionInfoAction
}

func GetApiActionInfoActionEnum

func GetApiActionInfoActionEnum() ApiActionInfoActionEnum

type ApiAuthBase

type ApiAuthBase struct {

	// 授权关系编号
	Id *string `json:"id,omitempty"`

	// API的编号
	ApiId *string `json:"api_id,omitempty"`

	// API的名称
	ApiName *string `json:"api_name,omitempty"`

	// API绑定的分组名称
	GroupName *string `json:"group_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API的描述信息
	ApiRemark *string `json:"api_remark,omitempty"`

	// api授权绑定的环境ID
	EnvId *string `json:"env_id,omitempty"`

	// 授权者
	AuthRole *string `json:"auth_role,omitempty"`

	// 授权创建的时间
	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	// APP的名称
	AppName *string `json:"app_name,omitempty"`

	// APP的描述
	AppRemark *string `json:"app_remark,omitempty"`

	// APP的类型:  默认为apig,暂不支持其他类型
	AppType *ApiAuthBaseAppType `json:"app_type,omitempty"`

	// APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持
	AppCreator *string `json:"app_creator,omitempty"`

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API绑定的分组ID
	GroupId *string `json:"group_id,omitempty"`

	// 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道  暂不支持,默认NORMAL
	AuthTunnel *ApiAuthBaseAuthTunnel `json:"auth_tunnel,omitempty"`

	// 绿色通道的白名单配置
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道的黑名单配置
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数。
	VisitParam *string `json:"visit_param,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType *string `json:"roma_app_type,omitempty"`
}

func (ApiAuthBase) String

func (o ApiAuthBase) String() string

type ApiAuthBaseAppType

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

func (ApiAuthBaseAppType) MarshalJSON

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

func (*ApiAuthBaseAppType) UnmarshalJSON

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

func (ApiAuthBaseAppType) Value

func (c ApiAuthBaseAppType) Value() string

type ApiAuthBaseAppTypeEnum

type ApiAuthBaseAppTypeEnum struct {
	APIG ApiAuthBaseAppType
	ROMA ApiAuthBaseAppType
}

func GetApiAuthBaseAppTypeEnum

func GetApiAuthBaseAppTypeEnum() ApiAuthBaseAppTypeEnum

type ApiAuthBaseAuthTunnel

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

func (ApiAuthBaseAuthTunnel) MarshalJSON

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

func (*ApiAuthBaseAuthTunnel) UnmarshalJSON

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

func (ApiAuthBaseAuthTunnel) Value

func (c ApiAuthBaseAuthTunnel) Value() string

type ApiAuthBaseAuthTunnelEnum

type ApiAuthBaseAuthTunnelEnum struct {
	NORMAL ApiAuthBaseAuthTunnel
	GREEN  ApiAuthBaseAuthTunnel
}

func GetApiAuthBaseAuthTunnelEnum

func GetApiAuthBaseAuthTunnelEnum() ApiAuthBaseAuthTunnelEnum

type ApiAuthCreate

type ApiAuthCreate struct {

	// 需要授权的环境编号
	EnvId string `json:"env_id"`

	// APP的编号列表
	AppIds []string `json:"app_ids"`

	// API的编号列表[,可以选择租户自己的API,也可以选择从云商店上购买的API](tag:hws)。
	ApiIds []string `json:"api_ids"`
}

func (ApiAuthCreate) String

func (o ApiAuthCreate) String() string

type ApiAuthInfo

type ApiAuthInfo struct {

	// 授权关系编号
	Id *string `json:"id,omitempty"`

	// API的编号
	ApiId *string `json:"api_id,omitempty"`

	// API的名称
	ApiName *string `json:"api_name,omitempty"`

	// API绑定的分组名称
	GroupName *string `json:"group_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API的描述信息
	ApiRemark *string `json:"api_remark,omitempty"`

	// api授权绑定的环境ID
	EnvId *string `json:"env_id,omitempty"`

	// 授权者
	AuthRole *string `json:"auth_role,omitempty"`

	// 授权创建的时间
	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	// APP的名称
	AppName *string `json:"app_name,omitempty"`

	// APP的描述
	AppRemark *string `json:"app_remark,omitempty"`

	// APP的类型:  默认为apig,暂不支持其他类型
	AppType *ApiAuthInfoAppType `json:"app_type,omitempty"`

	// APP的创建者,取值如下: - USER:租户自己创建 - MARKET:API市场分配,暂不支持
	AppCreator *string `json:"app_creator,omitempty"`

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API绑定的分组ID
	GroupId *string `json:"group_id,omitempty"`

	// 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道  暂不支持,默认NORMAL
	AuthTunnel *ApiAuthInfoAuthTunnel `json:"auth_tunnel,omitempty"`

	// 绿色通道的白名单配置
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道的黑名单配置
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数。
	VisitParam *string `json:"visit_param,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType *string `json:"roma_app_type,omitempty"`

	// api授权绑定的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// APP的编号
	AppId *string `json:"app_id,omitempty"`
}

func (ApiAuthInfo) String

func (o ApiAuthInfo) String() string

type ApiAuthInfoAppType

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

func (ApiAuthInfoAppType) MarshalJSON

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

func (*ApiAuthInfoAppType) UnmarshalJSON

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

func (ApiAuthInfoAppType) Value

func (c ApiAuthInfoAppType) Value() string

type ApiAuthInfoAppTypeEnum

type ApiAuthInfoAppTypeEnum struct {
	APIG ApiAuthInfoAppType
	ROMA ApiAuthInfoAppType
}

func GetApiAuthInfoAppTypeEnum

func GetApiAuthInfoAppTypeEnum() ApiAuthInfoAppTypeEnum

type ApiAuthInfoAuthTunnel

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

func (ApiAuthInfoAuthTunnel) MarshalJSON

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

func (*ApiAuthInfoAuthTunnel) UnmarshalJSON

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

func (ApiAuthInfoAuthTunnel) Value

func (c ApiAuthInfoAuthTunnel) Value() string

type ApiAuthInfoAuthTunnelEnum

type ApiAuthInfoAuthTunnelEnum struct {
	NORMAL ApiAuthInfoAuthTunnel
	GREEN  ApiAuthInfoAuthTunnel
}

func GetApiAuthInfoAuthTunnelEnum

func GetApiAuthInfoAuthTunnelEnum() ApiAuthInfoAuthTunnelEnum

type ApiAuthRelations

type ApiAuthRelations struct {

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	AuthResult *AuthResult `json:"auth_result,omitempty"`

	// 授权时间
	AuthTime *sdktime.SdkTime `json:"auth_time,omitempty"`

	// 授权关系编号
	Id *string `json:"id,omitempty"`

	// APP编号
	AppId *string `json:"app_id,omitempty"`

	// 授权者 - PROVIDER:API提供者授权 - CONSUMER:API消费者授权
	AuthRole *ApiAuthRelationsAuthRole `json:"auth_role,omitempty"`

	// 授权通道类型 - NORMAL:普通通道 - GREEN:绿色通道  暂不支持,默认NORMAL
	AuthTunnel *ApiAuthRelationsAuthTunnel `json:"auth_tunnel,omitempty"`

	// 绿色通道的白名单配置
	AuthWhitelist *[]string `json:"auth_whitelist,omitempty"`

	// 绿色通道的黑名单配置
	AuthBlacklist *[]string `json:"auth_blacklist,omitempty"`

	// 访问参数。
	VisitParams *string `json:"visit_params,omitempty"`
}

func (ApiAuthRelations) String

func (o ApiAuthRelations) String() string

type ApiAuthRelationsAuthRole

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

func (ApiAuthRelationsAuthRole) MarshalJSON

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

func (*ApiAuthRelationsAuthRole) UnmarshalJSON

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

func (ApiAuthRelationsAuthRole) Value

func (c ApiAuthRelationsAuthRole) Value() string

type ApiAuthRelationsAuthRoleEnum

type ApiAuthRelationsAuthRoleEnum struct {
	PROVIDER ApiAuthRelationsAuthRole
	CONSUMER ApiAuthRelationsAuthRole
}

func GetApiAuthRelationsAuthRoleEnum

func GetApiAuthRelationsAuthRoleEnum() ApiAuthRelationsAuthRoleEnum

type ApiAuthRelationsAuthTunnel

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

func (ApiAuthRelationsAuthTunnel) MarshalJSON

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

func (*ApiAuthRelationsAuthTunnel) UnmarshalJSON

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

func (ApiAuthRelationsAuthTunnel) Value

type ApiAuthRelationsAuthTunnelEnum

type ApiAuthRelationsAuthTunnelEnum struct {
	NORMAL ApiAuthRelationsAuthTunnel
	GREEN  ApiAuthRelationsAuthTunnel
}

func GetApiAuthRelationsAuthTunnelEnum

func GetApiAuthRelationsAuthTunnelEnum() ApiAuthRelationsAuthTunnelEnum

type ApiBackendVpcReq

type ApiBackendVpcReq struct {

	// 代理主机
	VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"`

	// VPC通道编号
	VpcChannelId string `json:"vpc_channel_id"`
}

ApiBackendVpcReq VPC通道详情。vpc_channel_status = 1,则这个object类型为必填信息

func (ApiBackendVpcReq) String

func (o ApiBackendVpcReq) String() string

type ApiBaseInfo

type ApiBaseInfo struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiBaseInfoType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiBaseInfoReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiBaseInfoReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiBaseInfoAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiBaseInfoMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiBaseInfoBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiBaseInfoContentType `json:"content_type,omitempty"`
}

func (ApiBaseInfo) String

func (o ApiBaseInfo) String() string

type ApiBaseInfoAuthType

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

func (ApiBaseInfoAuthType) MarshalJSON

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

func (*ApiBaseInfoAuthType) UnmarshalJSON

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

func (ApiBaseInfoAuthType) Value

func (c ApiBaseInfoAuthType) Value() string

type ApiBaseInfoAuthTypeEnum

type ApiBaseInfoAuthTypeEnum struct {
	NONE       ApiBaseInfoAuthType
	APP        ApiBaseInfoAuthType
	IAM        ApiBaseInfoAuthType
	AUTHORIZER ApiBaseInfoAuthType
}

func GetApiBaseInfoAuthTypeEnum

func GetApiBaseInfoAuthTypeEnum() ApiBaseInfoAuthTypeEnum

type ApiBaseInfoBackendType

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

func (ApiBaseInfoBackendType) MarshalJSON

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

func (*ApiBaseInfoBackendType) UnmarshalJSON

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

func (ApiBaseInfoBackendType) Value

func (c ApiBaseInfoBackendType) Value() string

type ApiBaseInfoBackendTypeEnum

type ApiBaseInfoBackendTypeEnum struct {
	HTTP     ApiBaseInfoBackendType
	FUNCTION ApiBaseInfoBackendType
	MOCK     ApiBaseInfoBackendType
}

func GetApiBaseInfoBackendTypeEnum

func GetApiBaseInfoBackendTypeEnum() ApiBaseInfoBackendTypeEnum

type ApiBaseInfoContentType

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

func (ApiBaseInfoContentType) MarshalJSON

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

func (*ApiBaseInfoContentType) UnmarshalJSON

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

func (ApiBaseInfoContentType) Value

func (c ApiBaseInfoContentType) Value() string

type ApiBaseInfoContentTypeEnum

type ApiBaseInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiBaseInfoContentType
	APPLICATION_XML     ApiBaseInfoContentType
	MULTIPART_FORM_DATE ApiBaseInfoContentType
	TEXT_PLAIN          ApiBaseInfoContentType
}

func GetApiBaseInfoContentTypeEnum

func GetApiBaseInfoContentTypeEnum() ApiBaseInfoContentTypeEnum

type ApiBaseInfoMatchMode

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

func (ApiBaseInfoMatchMode) MarshalJSON

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

func (*ApiBaseInfoMatchMode) UnmarshalJSON

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

func (ApiBaseInfoMatchMode) Value

func (c ApiBaseInfoMatchMode) Value() string

type ApiBaseInfoMatchModeEnum

type ApiBaseInfoMatchModeEnum struct {
	SWA    ApiBaseInfoMatchMode
	NORMAL ApiBaseInfoMatchMode
}

func GetApiBaseInfoMatchModeEnum

func GetApiBaseInfoMatchModeEnum() ApiBaseInfoMatchModeEnum

type ApiBaseInfoReqMethod

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

func (ApiBaseInfoReqMethod) MarshalJSON

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

func (*ApiBaseInfoReqMethod) UnmarshalJSON

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

func (ApiBaseInfoReqMethod) Value

func (c ApiBaseInfoReqMethod) Value() string

type ApiBaseInfoReqProtocol

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

func (ApiBaseInfoReqProtocol) MarshalJSON

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

func (*ApiBaseInfoReqProtocol) UnmarshalJSON

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

func (ApiBaseInfoReqProtocol) Value

func (c ApiBaseInfoReqProtocol) Value() string

type ApiBaseInfoReqProtocolEnum

type ApiBaseInfoReqProtocolEnum struct {
	HTTP  ApiBaseInfoReqProtocol
	HTTPS ApiBaseInfoReqProtocol
	BOTH  ApiBaseInfoReqProtocol
}

func GetApiBaseInfoReqProtocolEnum

func GetApiBaseInfoReqProtocolEnum() ApiBaseInfoReqProtocolEnum

type ApiBaseInfoType

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

func (ApiBaseInfoType) MarshalJSON

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

func (*ApiBaseInfoType) UnmarshalJSON

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

func (ApiBaseInfoType) Value

func (c ApiBaseInfoType) Value() int32

type ApiBaseInfoTypeEnum

type ApiBaseInfoTypeEnum struct {
	E_1 ApiBaseInfoType
	E_2 ApiBaseInfoType
}

func GetApiBaseInfoTypeEnum

func GetApiBaseInfoTypeEnum() ApiBaseInfoTypeEnum

type ApiBatchPublish

type ApiBatchPublish struct {

	// 需要发布或下线的API ID列表,单次更新上限为1000个API。必须指定apis或group_id。
	Apis *[]string `json:"apis,omitempty"`

	// 环境ID
	EnvId string `json:"env_id"`

	// API分组ID。必须指定apis或group_id。
	GroupId *string `json:"group_id,omitempty"`

	// 对本次发布的描述信息  字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (ApiBatchPublish) String

func (o ApiBatchPublish) String() string

type ApiBindAclInfo

type ApiBindAclInfo struct {

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

	// ACL策略作用的对象类型
	EntityType *ApiBindAclInfoEntityType `json:"entity_type,omitempty"`

	// ACL策略类型 - PERMIT:白名单类型 - DENY:黑名单类型
	AclType *ApiBindAclInfoAclType `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 生效的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 生效的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 绑定关系编号
	BindId *string `json:"bind_id,omitempty"`

	// 绑定时间
	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`
}

func (ApiBindAclInfo) String

func (o ApiBindAclInfo) String() string

type ApiBindAclInfoAclType

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

func (ApiBindAclInfoAclType) MarshalJSON

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

func (*ApiBindAclInfoAclType) UnmarshalJSON

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

func (ApiBindAclInfoAclType) Value

func (c ApiBindAclInfoAclType) Value() string

type ApiBindAclInfoAclTypeEnum

type ApiBindAclInfoAclTypeEnum struct {
	PERMIT ApiBindAclInfoAclType
	DENY   ApiBindAclInfoAclType
}

func GetApiBindAclInfoAclTypeEnum

func GetApiBindAclInfoAclTypeEnum() ApiBindAclInfoAclTypeEnum

type ApiBindAclInfoEntityType

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

func (ApiBindAclInfoEntityType) MarshalJSON

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

func (*ApiBindAclInfoEntityType) UnmarshalJSON

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

func (ApiBindAclInfoEntityType) Value

func (c ApiBindAclInfoEntityType) Value() string

type ApiBindAclInfoEntityTypeEnum

type ApiBindAclInfoEntityTypeEnum struct {
	IP        ApiBindAclInfoEntityType
	DOMAIN    ApiBindAclInfoEntityType
	DOMAIN_ID ApiBindAclInfoEntityType
}

func GetApiBindAclInfoEntityTypeEnum

func GetApiBindAclInfoEntityTypeEnum() ApiBindAclInfoEntityTypeEnum

type ApiCommon

type ApiCommon struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiCommonType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiCommonReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiCommonReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiCommonAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiCommonMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiCommonBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiCommonContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`
}

func (ApiCommon) String

func (o ApiCommon) String() string

type ApiCommonAuthType

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

func (ApiCommonAuthType) MarshalJSON

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

func (*ApiCommonAuthType) UnmarshalJSON

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

func (ApiCommonAuthType) Value

func (c ApiCommonAuthType) Value() string

type ApiCommonAuthTypeEnum

type ApiCommonAuthTypeEnum struct {
	NONE       ApiCommonAuthType
	APP        ApiCommonAuthType
	IAM        ApiCommonAuthType
	AUTHORIZER ApiCommonAuthType
}

func GetApiCommonAuthTypeEnum

func GetApiCommonAuthTypeEnum() ApiCommonAuthTypeEnum

type ApiCommonBackendType

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

func (ApiCommonBackendType) MarshalJSON

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

func (*ApiCommonBackendType) UnmarshalJSON

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

func (ApiCommonBackendType) Value

func (c ApiCommonBackendType) Value() string

type ApiCommonBackendTypeEnum

type ApiCommonBackendTypeEnum struct {
	HTTP     ApiCommonBackendType
	FUNCTION ApiCommonBackendType
	MOCK     ApiCommonBackendType
}

func GetApiCommonBackendTypeEnum

func GetApiCommonBackendTypeEnum() ApiCommonBackendTypeEnum

type ApiCommonContentType

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

func (ApiCommonContentType) MarshalJSON

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

func (*ApiCommonContentType) UnmarshalJSON

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

func (ApiCommonContentType) Value

func (c ApiCommonContentType) Value() string

type ApiCommonContentTypeEnum

type ApiCommonContentTypeEnum struct {
	APPLICATION_JSON    ApiCommonContentType
	APPLICATION_XML     ApiCommonContentType
	MULTIPART_FORM_DATE ApiCommonContentType
	TEXT_PLAIN          ApiCommonContentType
}

func GetApiCommonContentTypeEnum

func GetApiCommonContentTypeEnum() ApiCommonContentTypeEnum

type ApiCommonMatchMode

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

func (ApiCommonMatchMode) MarshalJSON

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

func (*ApiCommonMatchMode) UnmarshalJSON

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

func (ApiCommonMatchMode) Value

func (c ApiCommonMatchMode) Value() string

type ApiCommonMatchModeEnum

type ApiCommonMatchModeEnum struct {
	SWA    ApiCommonMatchMode
	NORMAL ApiCommonMatchMode
}

func GetApiCommonMatchModeEnum

func GetApiCommonMatchModeEnum() ApiCommonMatchModeEnum

type ApiCommonReqMethod

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

func (ApiCommonReqMethod) MarshalJSON

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

func (*ApiCommonReqMethod) UnmarshalJSON

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

func (ApiCommonReqMethod) Value

func (c ApiCommonReqMethod) Value() string

type ApiCommonReqProtocol

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

func (ApiCommonReqProtocol) MarshalJSON

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

func (*ApiCommonReqProtocol) UnmarshalJSON

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

func (ApiCommonReqProtocol) Value

func (c ApiCommonReqProtocol) Value() string

type ApiCommonReqProtocolEnum

type ApiCommonReqProtocolEnum struct {
	HTTP  ApiCommonReqProtocol
	HTTPS ApiCommonReqProtocol
	BOTH  ApiCommonReqProtocol
}

func GetApiCommonReqProtocolEnum

func GetApiCommonReqProtocolEnum() ApiCommonReqProtocolEnum

type ApiCommonType

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

func (ApiCommonType) MarshalJSON

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

func (*ApiCommonType) UnmarshalJSON

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

func (ApiCommonType) Value

func (c ApiCommonType) Value() int32

type ApiCommonTypeEnum

type ApiCommonTypeEnum struct {
	E_1 ApiCommonType
	E_2 ApiCommonType
}

func GetApiCommonTypeEnum

func GetApiCommonTypeEnum() ApiCommonTypeEnum

type ApiConditionBase

type ApiConditionBase struct {

	// 关联的请求参数对象名称。策略类型为param时必选
	ReqParamName *string `json:"req_param_name,omitempty"`

	// 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则  策略类型为param时必选
	ConditionType *ApiConditionBaseConditionType `json:"condition_type,omitempty"`

	// 策略类型 - param:参数 - source:源IP
	ConditionOrigin ApiConditionBaseConditionOrigin `json:"condition_origin"`

	// 策略值
	ConditionValue string `json:"condition_value"`
}

func (ApiConditionBase) String

func (o ApiConditionBase) String() string

type ApiConditionBaseConditionOrigin

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

func (ApiConditionBaseConditionOrigin) MarshalJSON

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

func (*ApiConditionBaseConditionOrigin) UnmarshalJSON

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

func (ApiConditionBaseConditionOrigin) Value

type ApiConditionBaseConditionOriginEnum

type ApiConditionBaseConditionOriginEnum struct {
	PARAM  ApiConditionBaseConditionOrigin
	SOURCE ApiConditionBaseConditionOrigin
}

func GetApiConditionBaseConditionOriginEnum

func GetApiConditionBaseConditionOriginEnum() ApiConditionBaseConditionOriginEnum

type ApiConditionBaseConditionType

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

func (ApiConditionBaseConditionType) MarshalJSON

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

func (*ApiConditionBaseConditionType) UnmarshalJSON

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

func (ApiConditionBaseConditionType) Value

type ApiConditionBaseConditionTypeEnum

type ApiConditionBaseConditionTypeEnum struct {
	EXACT   ApiConditionBaseConditionType
	ENUM    ApiConditionBaseConditionType
	PATTERN ApiConditionBaseConditionType
}

func GetApiConditionBaseConditionTypeEnum

func GetApiConditionBaseConditionTypeEnum() ApiConditionBaseConditionTypeEnum

type ApiCreate

type ApiCreate struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiCreateType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiCreateReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiCreateReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiCreateAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiCreateMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiCreateBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiCreateContentType `json:"content_type,omitempty"`

	MockInfo *ApiMockCreate `json:"mock_info,omitempty"`

	FuncInfo *ApiFuncCreate `json:"func_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParamBase `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"`

	BackendApi *BackendApiCreate `json:"backend_api,omitempty"`

	// web策略后端列表
	PolicyHttps *[]ApiPolicyHttpCreate `json:"policy_https,omitempty"`
}

func (ApiCreate) String

func (o ApiCreate) String() string

type ApiCreateAuthType

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

func (ApiCreateAuthType) MarshalJSON

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

func (*ApiCreateAuthType) UnmarshalJSON

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

func (ApiCreateAuthType) Value

func (c ApiCreateAuthType) Value() string

type ApiCreateAuthTypeEnum

type ApiCreateAuthTypeEnum struct {
	NONE       ApiCreateAuthType
	APP        ApiCreateAuthType
	IAM        ApiCreateAuthType
	AUTHORIZER ApiCreateAuthType
}

func GetApiCreateAuthTypeEnum

func GetApiCreateAuthTypeEnum() ApiCreateAuthTypeEnum

type ApiCreateBackendType

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

func (ApiCreateBackendType) MarshalJSON

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

func (*ApiCreateBackendType) UnmarshalJSON

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

func (ApiCreateBackendType) Value

func (c ApiCreateBackendType) Value() string

type ApiCreateBackendTypeEnum

type ApiCreateBackendTypeEnum struct {
	HTTP     ApiCreateBackendType
	FUNCTION ApiCreateBackendType
	MOCK     ApiCreateBackendType
}

func GetApiCreateBackendTypeEnum

func GetApiCreateBackendTypeEnum() ApiCreateBackendTypeEnum

type ApiCreateBase

type ApiCreateBase struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiCreateBaseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiCreateBaseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiCreateBaseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiCreateBaseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiCreateBaseMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiCreateBaseBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiCreateBaseContentType `json:"content_type,omitempty"`

	MockInfo *ApiMockCreate `json:"mock_info,omitempty"`

	FuncInfo *ApiFuncCreate `json:"func_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParamBase `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockCreate `json:"policy_mocks,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionCreate `json:"policy_functions,omitempty"`
}

func (ApiCreateBase) String

func (o ApiCreateBase) String() string

type ApiCreateBaseAuthType

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

func (ApiCreateBaseAuthType) MarshalJSON

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

func (*ApiCreateBaseAuthType) UnmarshalJSON

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

func (ApiCreateBaseAuthType) Value

func (c ApiCreateBaseAuthType) Value() string

type ApiCreateBaseAuthTypeEnum

type ApiCreateBaseAuthTypeEnum struct {
	NONE       ApiCreateBaseAuthType
	APP        ApiCreateBaseAuthType
	IAM        ApiCreateBaseAuthType
	AUTHORIZER ApiCreateBaseAuthType
}

func GetApiCreateBaseAuthTypeEnum

func GetApiCreateBaseAuthTypeEnum() ApiCreateBaseAuthTypeEnum

type ApiCreateBaseBackendType

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

func (ApiCreateBaseBackendType) MarshalJSON

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

func (*ApiCreateBaseBackendType) UnmarshalJSON

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

func (ApiCreateBaseBackendType) Value

func (c ApiCreateBaseBackendType) Value() string

type ApiCreateBaseBackendTypeEnum

type ApiCreateBaseBackendTypeEnum struct {
	HTTP     ApiCreateBaseBackendType
	FUNCTION ApiCreateBaseBackendType
	MOCK     ApiCreateBaseBackendType
}

func GetApiCreateBaseBackendTypeEnum

func GetApiCreateBaseBackendTypeEnum() ApiCreateBaseBackendTypeEnum

type ApiCreateBaseContentType

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

func (ApiCreateBaseContentType) MarshalJSON

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

func (*ApiCreateBaseContentType) UnmarshalJSON

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

func (ApiCreateBaseContentType) Value

func (c ApiCreateBaseContentType) Value() string

type ApiCreateBaseContentTypeEnum

type ApiCreateBaseContentTypeEnum struct {
	APPLICATION_JSON    ApiCreateBaseContentType
	APPLICATION_XML     ApiCreateBaseContentType
	MULTIPART_FORM_DATE ApiCreateBaseContentType
	TEXT_PLAIN          ApiCreateBaseContentType
}

func GetApiCreateBaseContentTypeEnum

func GetApiCreateBaseContentTypeEnum() ApiCreateBaseContentTypeEnum

type ApiCreateBaseMatchMode

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

func (ApiCreateBaseMatchMode) MarshalJSON

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

func (*ApiCreateBaseMatchMode) UnmarshalJSON

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

func (ApiCreateBaseMatchMode) Value

func (c ApiCreateBaseMatchMode) Value() string

type ApiCreateBaseMatchModeEnum

type ApiCreateBaseMatchModeEnum struct {
	SWA    ApiCreateBaseMatchMode
	NORMAL ApiCreateBaseMatchMode
}

func GetApiCreateBaseMatchModeEnum

func GetApiCreateBaseMatchModeEnum() ApiCreateBaseMatchModeEnum

type ApiCreateBaseReqMethod

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

func (ApiCreateBaseReqMethod) MarshalJSON

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

func (*ApiCreateBaseReqMethod) UnmarshalJSON

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

func (ApiCreateBaseReqMethod) Value

func (c ApiCreateBaseReqMethod) Value() string

type ApiCreateBaseReqProtocol

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

func (ApiCreateBaseReqProtocol) MarshalJSON

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

func (*ApiCreateBaseReqProtocol) UnmarshalJSON

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

func (ApiCreateBaseReqProtocol) Value

func (c ApiCreateBaseReqProtocol) Value() string

type ApiCreateBaseReqProtocolEnum

type ApiCreateBaseReqProtocolEnum struct {
	HTTP  ApiCreateBaseReqProtocol
	HTTPS ApiCreateBaseReqProtocol
	BOTH  ApiCreateBaseReqProtocol
}

func GetApiCreateBaseReqProtocolEnum

func GetApiCreateBaseReqProtocolEnum() ApiCreateBaseReqProtocolEnum

type ApiCreateBaseType

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

func (ApiCreateBaseType) MarshalJSON

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

func (*ApiCreateBaseType) UnmarshalJSON

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

func (ApiCreateBaseType) Value

func (c ApiCreateBaseType) Value() int32

type ApiCreateBaseTypeEnum

type ApiCreateBaseTypeEnum struct {
	E_1 ApiCreateBaseType
	E_2 ApiCreateBaseType
}

func GetApiCreateBaseTypeEnum

func GetApiCreateBaseTypeEnum() ApiCreateBaseTypeEnum

type ApiCreateContentType

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

func (ApiCreateContentType) MarshalJSON

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

func (*ApiCreateContentType) UnmarshalJSON

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

func (ApiCreateContentType) Value

func (c ApiCreateContentType) Value() string

type ApiCreateContentTypeEnum

type ApiCreateContentTypeEnum struct {
	APPLICATION_JSON    ApiCreateContentType
	APPLICATION_XML     ApiCreateContentType
	MULTIPART_FORM_DATE ApiCreateContentType
	TEXT_PLAIN          ApiCreateContentType
}

func GetApiCreateContentTypeEnum

func GetApiCreateContentTypeEnum() ApiCreateContentTypeEnum

type ApiCreateMatchMode

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

func (ApiCreateMatchMode) MarshalJSON

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

func (*ApiCreateMatchMode) UnmarshalJSON

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

func (ApiCreateMatchMode) Value

func (c ApiCreateMatchMode) Value() string

type ApiCreateMatchModeEnum

type ApiCreateMatchModeEnum struct {
	SWA    ApiCreateMatchMode
	NORMAL ApiCreateMatchMode
}

func GetApiCreateMatchModeEnum

func GetApiCreateMatchModeEnum() ApiCreateMatchModeEnum

type ApiCreateReqMethod

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

func (ApiCreateReqMethod) MarshalJSON

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

func (*ApiCreateReqMethod) UnmarshalJSON

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

func (ApiCreateReqMethod) Value

func (c ApiCreateReqMethod) Value() string

type ApiCreateReqProtocol

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

func (ApiCreateReqProtocol) MarshalJSON

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

func (*ApiCreateReqProtocol) UnmarshalJSON

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

func (ApiCreateReqProtocol) Value

func (c ApiCreateReqProtocol) Value() string

type ApiCreateReqProtocolEnum

type ApiCreateReqProtocolEnum struct {
	HTTP  ApiCreateReqProtocol
	HTTPS ApiCreateReqProtocol
	BOTH  ApiCreateReqProtocol
}

func GetApiCreateReqProtocolEnum

func GetApiCreateReqProtocolEnum() ApiCreateReqProtocolEnum

type ApiCreateType

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

func (ApiCreateType) MarshalJSON

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

func (*ApiCreateType) UnmarshalJSON

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

func (ApiCreateType) Value

func (c ApiCreateType) Value() int32

type ApiCreateTypeEnum

type ApiCreateTypeEnum struct {
	E_1 ApiCreateType
	E_2 ApiCreateType
}

func GetApiCreateTypeEnum

func GetApiCreateTypeEnum() ApiCreateTypeEnum

type ApiDebugInfo

type ApiDebugInfo struct {

	// 请求消息体,最长2097152字节
	Body *string `json:"body,omitempty"`

	// 头域参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写 - mode为MARKET或CONSUMER时,不支持取值为\"X-Auth-Token\"和\"Authorization\",不区分大小写 > 头域名称在使用前会被规范化,如:\"x-MY-hEaDer\"会被规范化为\"X-My-Header\"
	Header map[string][]string `json:"header,omitempty"`

	// API的请求方法
	Method ApiDebugInfoMethod `json:"method"`

	// 调试模式 - DEVELOPER 调试尚未发布的API定义 - MARKET [调试云商店已购买的API](tag:hws)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk) - CONSUMER 调试指定运行环境下的API定义 > DEVELOPER模式,接口调用者必须是API拥有者。    [MARKET模式,接口调用者必须是API购买者或拥有者。](tag:hws)    CONSUMER模式,接口调用者必须有API在指定环境上的授权信息或是API拥有者。
	Mode string `json:"mode"`

	// API的请求路径,需以\"/\"开头,最大长度1024 > 须符合路径规范,百分号编码格式可被正确解码
	Path string `json:"path"`

	// 查询参数,每个参数值为字符串数组,每个参数名称有如下约束: - 英文字母、数字、点、下划线、中连线组成 - 必须以英文字母开头,最长32字节 - 不支持以\"X-Apig-\"或\"X-Sdk-\"开头,不区分大小写 - 不支持取值为\"X-Stage\",不区分大小写
	Query map[string][]string `json:"query,omitempty"`

	// API的请求协议 - HTTP - HTTPS
	Scheme string `json:"scheme"`

	// 调试请求使用的APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 调试请求使用的APP的密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// API的访问域名,未提供时根据mode的取值使用如下默认值: - DEVELOPER API分组的子域名 - MARKET [云商店为API分组分配的域名](tag:hws)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk) - CONSUMER API分组的子域名
	Domain *string `json:"domain,omitempty"`

	// 调试请求指定的运行环境,仅在mode为CONSUMER时有效,未提供时有如下默认值: - CONSUMER RELEASE
	Stage *string `json:"stage,omitempty"`
}

func (ApiDebugInfo) String

func (o ApiDebugInfo) String() string

type ApiDebugInfoMethod

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

func (ApiDebugInfoMethod) MarshalJSON

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

func (*ApiDebugInfoMethod) UnmarshalJSON

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

func (ApiDebugInfoMethod) Value

func (c ApiDebugInfoMethod) Value() string

type ApiDebugInfoMethodEnum

type ApiDebugInfoMethodEnum struct {
	GET     ApiDebugInfoMethod
	POST    ApiDebugInfoMethod
	PUT     ApiDebugInfoMethod
	DELETE  ApiDebugInfoMethod
	HEAD    ApiDebugInfoMethod
	PATCH   ApiDebugInfoMethod
	OPTIONS ApiDebugInfoMethod
}

func GetApiDebugInfoMethodEnum

func GetApiDebugInfoMethodEnum() ApiDebugInfoMethodEnum

type ApiForSign

type ApiForSign struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`

	// API类型
	Type *int32 `json:"type,omitempty"`

	// 已绑定的签名密钥名称
	SignatureName *string `json:"signature_name,omitempty"`
}

func (ApiForSign) String

func (o ApiForSign) String() string

type ApiForThrottle

type ApiForThrottle struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API的发布记录编号
	PublishId *string `json:"publish_id,omitempty"`

	// 与流控策略的绑定关系编号
	ThrottleApplyId *string `json:"throttle_apply_id,omitempty"`

	// 已绑定的流控策略的绑定时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API类型
	Type *int32 `json:"type,omitempty"`

	// 绑定的流控策略名称
	ThrottleName *string `json:"throttle_name,omitempty"`

	// API的访问地址
	ReqUri *string `json:"req_uri,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`
}

func (ApiForThrottle) String

func (o ApiForThrottle) String() string

type ApiFunc

type ApiFunc struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiFuncInvocationType `json:"invocation_type"`

	// 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构
	NetworkType ApiFuncNetworkType `json:"network_type"`

	// 函数版本  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 后端状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

ApiFunc 函数工作流后端详情

func (ApiFunc) String

func (o ApiFunc) String() string

type ApiFuncCreate

type ApiFuncCreate struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiFuncCreateInvocationType `json:"invocation_type"`

	// 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构
	NetworkType ApiFuncCreateNetworkType `json:"network_type"`

	// 函数版本  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

ApiFuncCreate 函数后端详情

func (ApiFuncCreate) String

func (o ApiFuncCreate) String() string

type ApiFuncCreateInvocationType

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

func (ApiFuncCreateInvocationType) MarshalJSON

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

func (*ApiFuncCreateInvocationType) UnmarshalJSON

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

func (ApiFuncCreateInvocationType) Value

type ApiFuncCreateInvocationTypeEnum

type ApiFuncCreateInvocationTypeEnum struct {
	ASYNC ApiFuncCreateInvocationType
	SYNC  ApiFuncCreateInvocationType
}

func GetApiFuncCreateInvocationTypeEnum

func GetApiFuncCreateInvocationTypeEnum() ApiFuncCreateInvocationTypeEnum

type ApiFuncCreateNetworkType

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

func (ApiFuncCreateNetworkType) MarshalJSON

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

func (*ApiFuncCreateNetworkType) UnmarshalJSON

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

func (ApiFuncCreateNetworkType) Value

func (c ApiFuncCreateNetworkType) Value() string

type ApiFuncCreateNetworkTypeEnum

type ApiFuncCreateNetworkTypeEnum struct {
	V1 ApiFuncCreateNetworkType
	V2 ApiFuncCreateNetworkType
}

func GetApiFuncCreateNetworkTypeEnum

func GetApiFuncCreateNetworkTypeEnum() ApiFuncCreateNetworkTypeEnum

type ApiFuncInvocationType

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

func (ApiFuncInvocationType) MarshalJSON

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

func (*ApiFuncInvocationType) UnmarshalJSON

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

func (ApiFuncInvocationType) Value

func (c ApiFuncInvocationType) Value() string

type ApiFuncInvocationTypeEnum

type ApiFuncInvocationTypeEnum struct {
	ASYNC ApiFuncInvocationType
	SYNC  ApiFuncInvocationType
}

func GetApiFuncInvocationTypeEnum

func GetApiFuncInvocationTypeEnum() ApiFuncInvocationTypeEnum

type ApiFuncNetworkType

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

func (ApiFuncNetworkType) MarshalJSON

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

func (*ApiFuncNetworkType) UnmarshalJSON

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

func (ApiFuncNetworkType) Value

func (c ApiFuncNetworkType) Value() string

type ApiFuncNetworkTypeEnum

type ApiFuncNetworkTypeEnum struct {
	V1 ApiFuncNetworkType
	V2 ApiFuncNetworkType
}

func GetApiFuncNetworkTypeEnum

func GetApiFuncNetworkTypeEnum() ApiFuncNetworkTypeEnum

type ApiGroupBase

type ApiGroupBase struct {

	// API分组的名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API分组描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (ApiGroupBase) String

func (o ApiGroupBase) String() string

type ApiGroupCommonInfo

type ApiGroupCommonInfo struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status ApiGroupCommonInfoStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中  [暂不支持](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk)
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`
}

func (ApiGroupCommonInfo) String

func (o ApiGroupCommonInfo) String() string

type ApiGroupCommonInfoStatus

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

func (ApiGroupCommonInfoStatus) MarshalJSON

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

func (*ApiGroupCommonInfoStatus) UnmarshalJSON

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

func (ApiGroupCommonInfoStatus) Value

func (c ApiGroupCommonInfoStatus) Value() int32

type ApiGroupCommonInfoStatusEnum

type ApiGroupCommonInfoStatusEnum struct {
	E_1 ApiGroupCommonInfoStatus
}

func GetApiGroupCommonInfoStatusEnum

func GetApiGroupCommonInfoStatusEnum() ApiGroupCommonInfoStatusEnum

type ApiGroupCreate

type ApiGroupCreate struct {

	// API分组的名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API分组描述。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组  暂不支持,默认V1
	Version *string `json:"version,omitempty"`
}

func (ApiGroupCreate) String

func (o ApiGroupCreate) String() string

type ApiGroupInfo

type ApiGroupInfo struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status ApiGroupInfoStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中  [暂不支持](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk)
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组  暂不支持,默认为V1
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`
}

func (ApiGroupInfo) String

func (o ApiGroupInfo) String() string

type ApiGroupInfoStatus

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

func (ApiGroupInfoStatus) MarshalJSON

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

func (*ApiGroupInfoStatus) UnmarshalJSON

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

func (ApiGroupInfoStatus) Value

func (c ApiGroupInfoStatus) Value() int32

type ApiGroupInfoStatusEnum

type ApiGroupInfoStatusEnum struct {
	E_1 ApiGroupInfoStatus
}

func GetApiGroupInfoStatusEnum

func GetApiGroupInfoStatusEnum() ApiGroupInfoStatusEnum

type ApiInfo

type ApiInfo struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiInfoType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiInfoReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiInfoReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiInfoAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiInfoMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiInfoBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiInfoContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
}

func (ApiInfo) String

func (o ApiInfo) String() string

type ApiInfoAuthType

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

func (ApiInfoAuthType) MarshalJSON

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

func (*ApiInfoAuthType) UnmarshalJSON

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

func (ApiInfoAuthType) Value

func (c ApiInfoAuthType) Value() string

type ApiInfoAuthTypeEnum

type ApiInfoAuthTypeEnum struct {
	NONE       ApiInfoAuthType
	APP        ApiInfoAuthType
	IAM        ApiInfoAuthType
	AUTHORIZER ApiInfoAuthType
}

func GetApiInfoAuthTypeEnum

func GetApiInfoAuthTypeEnum() ApiInfoAuthTypeEnum

type ApiInfoBackendType

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

func (ApiInfoBackendType) MarshalJSON

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

func (*ApiInfoBackendType) UnmarshalJSON

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

func (ApiInfoBackendType) Value

func (c ApiInfoBackendType) Value() string

type ApiInfoBackendTypeEnum

type ApiInfoBackendTypeEnum struct {
	HTTP     ApiInfoBackendType
	FUNCTION ApiInfoBackendType
	MOCK     ApiInfoBackendType
}

func GetApiInfoBackendTypeEnum

func GetApiInfoBackendTypeEnum() ApiInfoBackendTypeEnum

type ApiInfoContentType

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

func (ApiInfoContentType) MarshalJSON

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

func (*ApiInfoContentType) UnmarshalJSON

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

func (ApiInfoContentType) Value

func (c ApiInfoContentType) Value() string

type ApiInfoContentTypeEnum

type ApiInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiInfoContentType
	APPLICATION_XML     ApiInfoContentType
	MULTIPART_FORM_DATE ApiInfoContentType
	TEXT_PLAIN          ApiInfoContentType
}

func GetApiInfoContentTypeEnum

func GetApiInfoContentTypeEnum() ApiInfoContentTypeEnum

type ApiInfoMatchMode

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

func (ApiInfoMatchMode) MarshalJSON

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

func (*ApiInfoMatchMode) UnmarshalJSON

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

func (ApiInfoMatchMode) Value

func (c ApiInfoMatchMode) Value() string

type ApiInfoMatchModeEnum

type ApiInfoMatchModeEnum struct {
	SWA    ApiInfoMatchMode
	NORMAL ApiInfoMatchMode
}

func GetApiInfoMatchModeEnum

func GetApiInfoMatchModeEnum() ApiInfoMatchModeEnum

type ApiInfoPerPage

type ApiInfoPerPage struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiInfoPerPageType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiInfoPerPageReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiInfoPerPageReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiInfoPerPageAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiInfoPerPageMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiInfoPerPageBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiInfoPerPageContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`
}

func (ApiInfoPerPage) String

func (o ApiInfoPerPage) String() string

type ApiInfoPerPageAuthType

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

func (ApiInfoPerPageAuthType) MarshalJSON

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

func (*ApiInfoPerPageAuthType) UnmarshalJSON

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

func (ApiInfoPerPageAuthType) Value

func (c ApiInfoPerPageAuthType) Value() string

type ApiInfoPerPageAuthTypeEnum

type ApiInfoPerPageAuthTypeEnum struct {
	NONE       ApiInfoPerPageAuthType
	APP        ApiInfoPerPageAuthType
	IAM        ApiInfoPerPageAuthType
	AUTHORIZER ApiInfoPerPageAuthType
}

func GetApiInfoPerPageAuthTypeEnum

func GetApiInfoPerPageAuthTypeEnum() ApiInfoPerPageAuthTypeEnum

type ApiInfoPerPageBackendType

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

func (ApiInfoPerPageBackendType) MarshalJSON

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

func (*ApiInfoPerPageBackendType) UnmarshalJSON

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

func (ApiInfoPerPageBackendType) Value

type ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageBackendTypeEnum struct {
	HTTP     ApiInfoPerPageBackendType
	FUNCTION ApiInfoPerPageBackendType
	MOCK     ApiInfoPerPageBackendType
}

func GetApiInfoPerPageBackendTypeEnum

func GetApiInfoPerPageBackendTypeEnum() ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageContentType

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

func (ApiInfoPerPageContentType) MarshalJSON

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

func (*ApiInfoPerPageContentType) UnmarshalJSON

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

func (ApiInfoPerPageContentType) Value

type ApiInfoPerPageContentTypeEnum

type ApiInfoPerPageContentTypeEnum struct {
	APPLICATION_JSON    ApiInfoPerPageContentType
	APPLICATION_XML     ApiInfoPerPageContentType
	MULTIPART_FORM_DATE ApiInfoPerPageContentType
	TEXT_PLAIN          ApiInfoPerPageContentType
}

func GetApiInfoPerPageContentTypeEnum

func GetApiInfoPerPageContentTypeEnum() ApiInfoPerPageContentTypeEnum

type ApiInfoPerPageMatchMode

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

func (ApiInfoPerPageMatchMode) MarshalJSON

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

func (*ApiInfoPerPageMatchMode) UnmarshalJSON

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

func (ApiInfoPerPageMatchMode) Value

func (c ApiInfoPerPageMatchMode) Value() string

type ApiInfoPerPageMatchModeEnum

type ApiInfoPerPageMatchModeEnum struct {
	SWA    ApiInfoPerPageMatchMode
	NORMAL ApiInfoPerPageMatchMode
}

func GetApiInfoPerPageMatchModeEnum

func GetApiInfoPerPageMatchModeEnum() ApiInfoPerPageMatchModeEnum

type ApiInfoPerPageReqMethod

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

func (ApiInfoPerPageReqMethod) MarshalJSON

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

func (*ApiInfoPerPageReqMethod) UnmarshalJSON

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

func (ApiInfoPerPageReqMethod) Value

func (c ApiInfoPerPageReqMethod) Value() string

type ApiInfoPerPageReqProtocol

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

func (ApiInfoPerPageReqProtocol) MarshalJSON

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

func (*ApiInfoPerPageReqProtocol) UnmarshalJSON

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

func (ApiInfoPerPageReqProtocol) Value

type ApiInfoPerPageReqProtocolEnum

type ApiInfoPerPageReqProtocolEnum struct {
	HTTP  ApiInfoPerPageReqProtocol
	HTTPS ApiInfoPerPageReqProtocol
	BOTH  ApiInfoPerPageReqProtocol
}

func GetApiInfoPerPageReqProtocolEnum

func GetApiInfoPerPageReqProtocolEnum() ApiInfoPerPageReqProtocolEnum

type ApiInfoPerPageType

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

func (ApiInfoPerPageType) MarshalJSON

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

func (*ApiInfoPerPageType) UnmarshalJSON

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

func (ApiInfoPerPageType) Value

func (c ApiInfoPerPageType) Value() int32

type ApiInfoPerPageTypeEnum

type ApiInfoPerPageTypeEnum struct {
	E_1 ApiInfoPerPageType
	E_2 ApiInfoPerPageType
}

func GetApiInfoPerPageTypeEnum

func GetApiInfoPerPageTypeEnum() ApiInfoPerPageTypeEnum

type ApiInfoReqMethod

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

func (ApiInfoReqMethod) MarshalJSON

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

func (*ApiInfoReqMethod) UnmarshalJSON

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

func (ApiInfoReqMethod) Value

func (c ApiInfoReqMethod) Value() string

type ApiInfoReqMethodEnum

type ApiInfoReqMethodEnum struct {
	GET     ApiInfoReqMethod
	POST    ApiInfoReqMethod
	PUT     ApiInfoReqMethod
	DELETE  ApiInfoReqMethod
	HEAD    ApiInfoReqMethod
	PATCH   ApiInfoReqMethod
	OPTIONS ApiInfoReqMethod
	ANY     ApiInfoReqMethod
}

func GetApiInfoReqMethodEnum

func GetApiInfoReqMethodEnum() ApiInfoReqMethodEnum

type ApiInfoReqProtocol

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

func (ApiInfoReqProtocol) MarshalJSON

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

func (*ApiInfoReqProtocol) UnmarshalJSON

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

func (ApiInfoReqProtocol) Value

func (c ApiInfoReqProtocol) Value() string

type ApiInfoReqProtocolEnum

type ApiInfoReqProtocolEnum struct {
	HTTP  ApiInfoReqProtocol
	HTTPS ApiInfoReqProtocol
	BOTH  ApiInfoReqProtocol
}

func GetApiInfoReqProtocolEnum

func GetApiInfoReqProtocolEnum() ApiInfoReqProtocolEnum

type ApiInfoType

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

func (ApiInfoType) MarshalJSON

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

func (*ApiInfoType) UnmarshalJSON

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

func (ApiInfoType) Value

func (c ApiInfoType) Value() int32

type ApiInfoTypeEnum

type ApiInfoTypeEnum struct {
	E_1 ApiInfoType
	E_2 ApiInfoType
}

func GetApiInfoTypeEnum

func GetApiInfoTypeEnum() ApiInfoTypeEnum

type ApiMock

type ApiMock struct {

	// 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 后端状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

ApiMock mock后端详情

func (ApiMock) String

func (o ApiMock) String() string

type ApiMockCreate

type ApiMockCreate struct {

	// 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// 版本。字符长度不超过64
	Version *string `json:"version,omitempty"`

	// 后端自定义认证ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

ApiMockCreate mock后端详情

func (ApiMockCreate) String

func (o ApiMockCreate) String() string

type ApiOperPluginInfo

type ApiOperPluginInfo struct {

	// 绑定API的环境编码。
	EnvId string `json:"env_id"`

	// 绑定的插件编码列表。
	PluginIds []string `json:"plugin_ids"`
}

func (ApiOperPluginInfo) String

func (o ApiOperPluginInfo) String() string

type ApiOutline

type ApiOutline struct {

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`
}

func (ApiOutline) String

func (o ApiOutline) String() string

type ApiPolicyFunctionBase

type ApiPolicyFunctionBase struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiPolicyFunctionBaseInvocationType `json:"invocation_type"`

	// 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构
	NetworkType ApiPolicyFunctionBaseNetworkType `json:"network_type"`

	// 函数版本  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`
}

func (ApiPolicyFunctionBase) String

func (o ApiPolicyFunctionBase) String() string

type ApiPolicyFunctionBaseInvocationType

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

func (ApiPolicyFunctionBaseInvocationType) MarshalJSON

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

func (*ApiPolicyFunctionBaseInvocationType) UnmarshalJSON

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

func (ApiPolicyFunctionBaseInvocationType) Value

type ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionBaseInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionBaseInvocationType
	SYNC  ApiPolicyFunctionBaseInvocationType
}

func GetApiPolicyFunctionBaseInvocationTypeEnum

func GetApiPolicyFunctionBaseInvocationTypeEnum() ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionBaseNetworkType

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

func (ApiPolicyFunctionBaseNetworkType) MarshalJSON

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

func (*ApiPolicyFunctionBaseNetworkType) UnmarshalJSON

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

func (ApiPolicyFunctionBaseNetworkType) Value

type ApiPolicyFunctionBaseNetworkTypeEnum

type ApiPolicyFunctionBaseNetworkTypeEnum struct {
	V1 ApiPolicyFunctionBaseNetworkType
	V2 ApiPolicyFunctionBaseNetworkType
}

func GetApiPolicyFunctionBaseNetworkTypeEnum

func GetApiPolicyFunctionBaseNetworkTypeEnum() ApiPolicyFunctionBaseNetworkTypeEnum

type ApiPolicyFunctionCreate

type ApiPolicyFunctionCreate struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiPolicyFunctionCreateInvocationType `json:"invocation_type"`

	// 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构
	NetworkType ApiPolicyFunctionCreateNetworkType `json:"network_type"`

	// 函数版本  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyFunctionCreateEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionBase `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyFunctionCreate) String

func (o ApiPolicyFunctionCreate) String() string

type ApiPolicyFunctionCreateEffectMode

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

func (ApiPolicyFunctionCreateEffectMode) MarshalJSON

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

func (*ApiPolicyFunctionCreateEffectMode) UnmarshalJSON

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

func (ApiPolicyFunctionCreateEffectMode) Value

type ApiPolicyFunctionCreateEffectModeEnum

type ApiPolicyFunctionCreateEffectModeEnum struct {
	ALL ApiPolicyFunctionCreateEffectMode
	ANY ApiPolicyFunctionCreateEffectMode
}

func GetApiPolicyFunctionCreateEffectModeEnum

func GetApiPolicyFunctionCreateEffectModeEnum() ApiPolicyFunctionCreateEffectModeEnum

type ApiPolicyFunctionCreateInvocationType

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

func (ApiPolicyFunctionCreateInvocationType) MarshalJSON

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

func (*ApiPolicyFunctionCreateInvocationType) UnmarshalJSON

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

func (ApiPolicyFunctionCreateInvocationType) Value

type ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionCreateInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionCreateInvocationType
	SYNC  ApiPolicyFunctionCreateInvocationType
}

func GetApiPolicyFunctionCreateInvocationTypeEnum

func GetApiPolicyFunctionCreateInvocationTypeEnum() ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionCreateNetworkType

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

func (ApiPolicyFunctionCreateNetworkType) MarshalJSON

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

func (*ApiPolicyFunctionCreateNetworkType) UnmarshalJSON

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

func (ApiPolicyFunctionCreateNetworkType) Value

type ApiPolicyFunctionCreateNetworkTypeEnum

type ApiPolicyFunctionCreateNetworkTypeEnum struct {
	V1 ApiPolicyFunctionCreateNetworkType
	V2 ApiPolicyFunctionCreateNetworkType
}

func GetApiPolicyFunctionCreateNetworkTypeEnum

func GetApiPolicyFunctionCreateNetworkTypeEnum() ApiPolicyFunctionCreateNetworkTypeEnum

type ApiPolicyFunctionResp

type ApiPolicyFunctionResp struct {

	// 函数URN
	FunctionUrn string `json:"function_urn"`

	// 调用类型 - async: 异步 - sync:同步
	InvocationType ApiPolicyFunctionRespInvocationType `json:"invocation_type"`

	// 对接函数的网络架构类型 - V1:非VPC网络架构 - V2:VPC网络架构
	NetworkType ApiPolicyFunctionRespNetworkType `json:"network_type"`

	// 函数版本  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	Version *string `json:"version,omitempty"`

	// 函数别名URN  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AliasUrn *string `json:"alias_urn,omitempty"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyFunctionRespEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []CoditionResp `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyFunctionResp) String

func (o ApiPolicyFunctionResp) String() string

type ApiPolicyFunctionRespEffectMode

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

func (ApiPolicyFunctionRespEffectMode) MarshalJSON

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

func (*ApiPolicyFunctionRespEffectMode) UnmarshalJSON

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

func (ApiPolicyFunctionRespEffectMode) Value

type ApiPolicyFunctionRespEffectModeEnum

type ApiPolicyFunctionRespEffectModeEnum struct {
	ALL ApiPolicyFunctionRespEffectMode
	ANY ApiPolicyFunctionRespEffectMode
}

func GetApiPolicyFunctionRespEffectModeEnum

func GetApiPolicyFunctionRespEffectModeEnum() ApiPolicyFunctionRespEffectModeEnum

type ApiPolicyFunctionRespInvocationType

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

func (ApiPolicyFunctionRespInvocationType) MarshalJSON

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

func (*ApiPolicyFunctionRespInvocationType) UnmarshalJSON

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

func (ApiPolicyFunctionRespInvocationType) Value

type ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyFunctionRespInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionRespInvocationType
	SYNC  ApiPolicyFunctionRespInvocationType
}

func GetApiPolicyFunctionRespInvocationTypeEnum

func GetApiPolicyFunctionRespInvocationTypeEnum() ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyFunctionRespNetworkType

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

func (ApiPolicyFunctionRespNetworkType) MarshalJSON

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

func (*ApiPolicyFunctionRespNetworkType) UnmarshalJSON

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

func (ApiPolicyFunctionRespNetworkType) Value

type ApiPolicyFunctionRespNetworkTypeEnum

type ApiPolicyFunctionRespNetworkTypeEnum struct {
	V1 ApiPolicyFunctionRespNetworkType
	V2 ApiPolicyFunctionRespNetworkType
}

func GetApiPolicyFunctionRespNetworkTypeEnum

func GetApiPolicyFunctionRespNetworkTypeEnum() ApiPolicyFunctionRespNetworkTypeEnum

type ApiPolicyHttpBase

type ApiPolicyHttpBase struct {

	// 策略后端的Endpoint。  由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议:HTTP、HTTPS
	ReqProtocol ApiPolicyHttpBaseReqProtocol `json:"req_protocol"`

	// 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY
	ReqMethod ApiPolicyHttpBaseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`
}

func (ApiPolicyHttpBase) String

func (o ApiPolicyHttpBase) String() string

type ApiPolicyHttpBaseReqMethod

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

func (ApiPolicyHttpBaseReqMethod) MarshalJSON

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

func (*ApiPolicyHttpBaseReqMethod) UnmarshalJSON

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

func (ApiPolicyHttpBaseReqMethod) Value

type ApiPolicyHttpBaseReqProtocol

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

func (ApiPolicyHttpBaseReqProtocol) MarshalJSON

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

func (*ApiPolicyHttpBaseReqProtocol) UnmarshalJSON

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

func (ApiPolicyHttpBaseReqProtocol) Value

type ApiPolicyHttpBaseReqProtocolEnum

type ApiPolicyHttpBaseReqProtocolEnum struct {
	HTTP  ApiPolicyHttpBaseReqProtocol
	HTTPS ApiPolicyHttpBaseReqProtocol
}

func GetApiPolicyHttpBaseReqProtocolEnum

func GetApiPolicyHttpBaseReqProtocolEnum() ApiPolicyHttpBaseReqProtocolEnum

type ApiPolicyHttpCreate

type ApiPolicyHttpCreate struct {

	// 策略后端的Endpoint。  由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议:HTTP、HTTPS
	ReqProtocol ApiPolicyHttpCreateReqProtocol `json:"req_protocol"`

	// 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY
	ReqMethod ApiPolicyHttpCreateReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyHttpCreateEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionBase `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	VpcChannelInfo *ApiBackendVpcReq `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道 - 1 : 使用VPC通道 - 2 : 不使用VPC通道
	VpcChannelStatus *ApiPolicyHttpCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"`
}

func (ApiPolicyHttpCreate) String

func (o ApiPolicyHttpCreate) String() string

type ApiPolicyHttpCreateEffectMode

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

func (ApiPolicyHttpCreateEffectMode) MarshalJSON

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

func (*ApiPolicyHttpCreateEffectMode) UnmarshalJSON

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

func (ApiPolicyHttpCreateEffectMode) Value

type ApiPolicyHttpCreateEffectModeEnum

type ApiPolicyHttpCreateEffectModeEnum struct {
	ALL ApiPolicyHttpCreateEffectMode
	ANY ApiPolicyHttpCreateEffectMode
}

func GetApiPolicyHttpCreateEffectModeEnum

func GetApiPolicyHttpCreateEffectModeEnum() ApiPolicyHttpCreateEffectModeEnum

type ApiPolicyHttpCreateReqMethod

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

func (ApiPolicyHttpCreateReqMethod) MarshalJSON

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

func (*ApiPolicyHttpCreateReqMethod) UnmarshalJSON

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

func (ApiPolicyHttpCreateReqMethod) Value

type ApiPolicyHttpCreateReqProtocol

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

func (ApiPolicyHttpCreateReqProtocol) MarshalJSON

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

func (*ApiPolicyHttpCreateReqProtocol) UnmarshalJSON

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

func (ApiPolicyHttpCreateReqProtocol) Value

type ApiPolicyHttpCreateReqProtocolEnum

type ApiPolicyHttpCreateReqProtocolEnum struct {
	HTTP  ApiPolicyHttpCreateReqProtocol
	HTTPS ApiPolicyHttpCreateReqProtocol
}

func GetApiPolicyHttpCreateReqProtocolEnum

func GetApiPolicyHttpCreateReqProtocolEnum() ApiPolicyHttpCreateReqProtocolEnum

type ApiPolicyHttpCreateVpcChannelStatus

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

func (ApiPolicyHttpCreateVpcChannelStatus) MarshalJSON

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

func (*ApiPolicyHttpCreateVpcChannelStatus) UnmarshalJSON

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

func (ApiPolicyHttpCreateVpcChannelStatus) Value

type ApiPolicyHttpCreateVpcChannelStatusEnum

type ApiPolicyHttpCreateVpcChannelStatusEnum struct {
	E_1 ApiPolicyHttpCreateVpcChannelStatus
	E_2 ApiPolicyHttpCreateVpcChannelStatus
}

func GetApiPolicyHttpCreateVpcChannelStatusEnum

func GetApiPolicyHttpCreateVpcChannelStatusEnum() ApiPolicyHttpCreateVpcChannelStatusEnum

type ApiPolicyHttpResp

type ApiPolicyHttpResp struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyHttpRespEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []CoditionResp `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 策略后端的Endpoint。  由域名(或IP地址)和端口号组成,总长度不超过255。格式为域名:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443, HTTP默认端口号为80。  支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、“_”、“-”组成,且只能以英文开头。
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议:HTTP、HTTPS
	ReqProtocol ApiPolicyHttpRespReqProtocol `json:"req_protocol"`

	// 请求方式:GET、POST、PUT、DELETE、HEAD、PATCH、OPTIONS、ANY
	ReqMethod ApiPolicyHttpRespReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout *int32 `json:"timeout,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道: - 1: 使用VPC通道 - 2:不使用VPC通道
	VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"`
}

func (ApiPolicyHttpResp) String

func (o ApiPolicyHttpResp) String() string

type ApiPolicyHttpRespEffectMode

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

func (ApiPolicyHttpRespEffectMode) MarshalJSON

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

func (*ApiPolicyHttpRespEffectMode) UnmarshalJSON

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

func (ApiPolicyHttpRespEffectMode) Value

type ApiPolicyHttpRespEffectModeEnum

type ApiPolicyHttpRespEffectModeEnum struct {
	ALL ApiPolicyHttpRespEffectMode
	ANY ApiPolicyHttpRespEffectMode
}

func GetApiPolicyHttpRespEffectModeEnum

func GetApiPolicyHttpRespEffectModeEnum() ApiPolicyHttpRespEffectModeEnum

type ApiPolicyHttpRespReqMethod

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

func (ApiPolicyHttpRespReqMethod) MarshalJSON

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

func (*ApiPolicyHttpRespReqMethod) UnmarshalJSON

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

func (ApiPolicyHttpRespReqMethod) Value

type ApiPolicyHttpRespReqProtocol

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

func (ApiPolicyHttpRespReqProtocol) MarshalJSON

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

func (*ApiPolicyHttpRespReqProtocol) UnmarshalJSON

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

func (ApiPolicyHttpRespReqProtocol) Value

type ApiPolicyHttpRespReqProtocolEnum

type ApiPolicyHttpRespReqProtocolEnum struct {
	HTTP  ApiPolicyHttpRespReqProtocol
	HTTPS ApiPolicyHttpRespReqProtocol
}

func GetApiPolicyHttpRespReqProtocolEnum

func GetApiPolicyHttpRespReqProtocolEnum() ApiPolicyHttpRespReqProtocolEnum

type ApiPolicyMockBase

type ApiPolicyMockBase struct {

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`
}

func (ApiPolicyMockBase) String

func (o ApiPolicyMockBase) String() string

type ApiPolicyMockCreate

type ApiPolicyMockCreate struct {

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyMockCreateEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionBase `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyMockCreate) String

func (o ApiPolicyMockCreate) String() string

type ApiPolicyMockCreateEffectMode

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

func (ApiPolicyMockCreateEffectMode) MarshalJSON

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

func (*ApiPolicyMockCreateEffectMode) UnmarshalJSON

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

func (ApiPolicyMockCreateEffectMode) Value

type ApiPolicyMockCreateEffectModeEnum

type ApiPolicyMockCreateEffectModeEnum struct {
	ALL ApiPolicyMockCreateEffectMode
	ANY ApiPolicyMockCreateEffectMode
}

func GetApiPolicyMockCreateEffectModeEnum

func GetApiPolicyMockCreateEffectModeEnum() ApiPolicyMockCreateEffectModeEnum

type ApiPolicyMockResp

type ApiPolicyMockResp struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyMockRespEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []CoditionResp `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 返回结果
	ResultContent *string `json:"result_content,omitempty"`
}

func (ApiPolicyMockResp) String

func (o ApiPolicyMockResp) String() string

type ApiPolicyMockRespEffectMode

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

func (ApiPolicyMockRespEffectMode) MarshalJSON

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

func (*ApiPolicyMockRespEffectMode) UnmarshalJSON

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

func (ApiPolicyMockRespEffectMode) Value

type ApiPolicyMockRespEffectModeEnum

type ApiPolicyMockRespEffectModeEnum struct {
	ALL ApiPolicyMockRespEffectMode
	ANY ApiPolicyMockRespEffectMode
}

func GetApiPolicyMockRespEffectModeEnum

func GetApiPolicyMockRespEffectModeEnum() ApiPolicyMockRespEffectModeEnum

type ApiPolicyReqBase

type ApiPolicyReqBase struct {

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyReqBaseEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParamBase `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []ApiConditionBase `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyReqBase) String

func (o ApiPolicyReqBase) String() string

type ApiPolicyReqBaseEffectMode

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

func (ApiPolicyReqBaseEffectMode) MarshalJSON

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

func (*ApiPolicyReqBaseEffectMode) UnmarshalJSON

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

func (ApiPolicyReqBaseEffectMode) Value

type ApiPolicyReqBaseEffectModeEnum

type ApiPolicyReqBaseEffectModeEnum struct {
	ALL ApiPolicyReqBaseEffectMode
	ANY ApiPolicyReqBaseEffectMode
}

func GetApiPolicyReqBaseEffectModeEnum

func GetApiPolicyReqBaseEffectModeEnum() ApiPolicyReqBaseEffectModeEnum

type ApiPolicyRespBase

type ApiPolicyRespBase struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 关联的策略组合模式: - ALL:满足全部条件 - ANY:满足任一条件
	EffectMode ApiPolicyRespBaseEffectMode `json:"effect_mode"`

	// 策略后端名称。字符串由中文、英文字母、数字、下划线组成,且只能以中文或英文开头。
	Name string `json:"name"`

	// 后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 策略条件列表
	Conditions []CoditionResp `json:"conditions"`

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`
}

func (ApiPolicyRespBase) String

func (o ApiPolicyRespBase) String() string

type ApiPolicyRespBaseEffectMode

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

func (ApiPolicyRespBaseEffectMode) MarshalJSON

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

func (*ApiPolicyRespBaseEffectMode) UnmarshalJSON

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

func (ApiPolicyRespBaseEffectMode) Value

type ApiPolicyRespBaseEffectModeEnum

type ApiPolicyRespBaseEffectModeEnum struct {
	ALL ApiPolicyRespBaseEffectMode
	ANY ApiPolicyRespBaseEffectMode
}

func GetApiPolicyRespBaseEffectModeEnum

func GetApiPolicyRespBaseEffectModeEnum() ApiPolicyRespBaseEffectModeEnum

type ApiRespBaseInfo

type ApiRespBaseInfo struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ApiRespBaseInfoType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ApiRespBaseInfoReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ApiRespBaseInfoReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ApiRespBaseInfoAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ApiRespBaseInfoMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ApiRespBaseInfoBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ApiRespBaseInfoContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`
}

func (ApiRespBaseInfo) String

func (o ApiRespBaseInfo) String() string

type ApiRespBaseInfoAuthType

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

func (ApiRespBaseInfoAuthType) MarshalJSON

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

func (*ApiRespBaseInfoAuthType) UnmarshalJSON

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

func (ApiRespBaseInfoAuthType) Value

func (c ApiRespBaseInfoAuthType) Value() string

type ApiRespBaseInfoAuthTypeEnum

type ApiRespBaseInfoAuthTypeEnum struct {
	NONE       ApiRespBaseInfoAuthType
	APP        ApiRespBaseInfoAuthType
	IAM        ApiRespBaseInfoAuthType
	AUTHORIZER ApiRespBaseInfoAuthType
}

func GetApiRespBaseInfoAuthTypeEnum

func GetApiRespBaseInfoAuthTypeEnum() ApiRespBaseInfoAuthTypeEnum

type ApiRespBaseInfoBackendType

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

func (ApiRespBaseInfoBackendType) MarshalJSON

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

func (*ApiRespBaseInfoBackendType) UnmarshalJSON

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

func (ApiRespBaseInfoBackendType) Value

type ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoBackendTypeEnum struct {
	HTTP     ApiRespBaseInfoBackendType
	FUNCTION ApiRespBaseInfoBackendType
	MOCK     ApiRespBaseInfoBackendType
}

func GetApiRespBaseInfoBackendTypeEnum

func GetApiRespBaseInfoBackendTypeEnum() ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoContentType

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

func (ApiRespBaseInfoContentType) MarshalJSON

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

func (*ApiRespBaseInfoContentType) UnmarshalJSON

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

func (ApiRespBaseInfoContentType) Value

type ApiRespBaseInfoContentTypeEnum

type ApiRespBaseInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiRespBaseInfoContentType
	APPLICATION_XML     ApiRespBaseInfoContentType
	MULTIPART_FORM_DATE ApiRespBaseInfoContentType
	TEXT_PLAIN          ApiRespBaseInfoContentType
}

func GetApiRespBaseInfoContentTypeEnum

func GetApiRespBaseInfoContentTypeEnum() ApiRespBaseInfoContentTypeEnum

type ApiRespBaseInfoMatchMode

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

func (ApiRespBaseInfoMatchMode) MarshalJSON

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

func (*ApiRespBaseInfoMatchMode) UnmarshalJSON

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

func (ApiRespBaseInfoMatchMode) Value

func (c ApiRespBaseInfoMatchMode) Value() string

type ApiRespBaseInfoMatchModeEnum

type ApiRespBaseInfoMatchModeEnum struct {
	SWA    ApiRespBaseInfoMatchMode
	NORMAL ApiRespBaseInfoMatchMode
}

func GetApiRespBaseInfoMatchModeEnum

func GetApiRespBaseInfoMatchModeEnum() ApiRespBaseInfoMatchModeEnum

type ApiRespBaseInfoReqMethod

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

func (ApiRespBaseInfoReqMethod) MarshalJSON

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

func (*ApiRespBaseInfoReqMethod) UnmarshalJSON

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

func (ApiRespBaseInfoReqMethod) Value

func (c ApiRespBaseInfoReqMethod) Value() string

type ApiRespBaseInfoReqProtocol

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

func (ApiRespBaseInfoReqProtocol) MarshalJSON

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

func (*ApiRespBaseInfoReqProtocol) UnmarshalJSON

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

func (ApiRespBaseInfoReqProtocol) Value

type ApiRespBaseInfoReqProtocolEnum

type ApiRespBaseInfoReqProtocolEnum struct {
	HTTP  ApiRespBaseInfoReqProtocol
	HTTPS ApiRespBaseInfoReqProtocol
	BOTH  ApiRespBaseInfoReqProtocol
}

func GetApiRespBaseInfoReqProtocolEnum

func GetApiRespBaseInfoReqProtocolEnum() ApiRespBaseInfoReqProtocolEnum

type ApiRespBaseInfoType

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

func (ApiRespBaseInfoType) MarshalJSON

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

func (*ApiRespBaseInfoType) UnmarshalJSON

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

func (ApiRespBaseInfoType) Value

func (c ApiRespBaseInfoType) Value() int32

type ApiRespBaseInfoTypeEnum

type ApiRespBaseInfoTypeEnum struct {
	E_1 ApiRespBaseInfoType
	E_2 ApiRespBaseInfoType
}

func GetApiRespBaseInfoTypeEnum

func GetApiRespBaseInfoTypeEnum() ApiRespBaseInfoTypeEnum

type ApiVersion

type ApiVersion struct {

	// API版本的编号
	VersionId *string `json:"version_id,omitempty"`
}

func (ApiVersion) String

func (o ApiVersion) String() string

type ApiVersionResp

type ApiVersionResp struct {

	// API历史版本的ID
	VersionId *string `json:"version_id,omitempty"`

	// API的版本号
	VersionNo *string `json:"version_no,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 版本状态 - 1:当前生效中的版本 - 2:未生效的版本
	Status *ApiVersionRespStatus `json:"status,omitempty"`
}

func (ApiVersionResp) String

func (o ApiVersionResp) String() string

type ApiVersionRespStatus

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

func (ApiVersionRespStatus) MarshalJSON

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

func (*ApiVersionRespStatus) UnmarshalJSON

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

func (ApiVersionRespStatus) Value

func (c ApiVersionRespStatus) Value() int32

type ApiVersionRespStatusEnum

type ApiVersionRespStatusEnum struct {
	E_1 ApiVersionRespStatus
	E_2 ApiVersionRespStatus
}

func GetApiVersionRespStatusEnum

func GetApiVersionRespStatusEnum() ApiVersionRespStatusEnum

type AppBaseInfo

type AppBaseInfo struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`
}

func (AppBaseInfo) String

func (o AppBaseInfo) String() string

type AppCodeBaseInfo

type AppCodeBaseInfo struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime *string `json:"create_time,omitempty"`
}

func (AppCodeBaseInfo) String

func (o AppCodeBaseInfo) String() string

type AppCodeCreate

type AppCodeCreate struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。
	AppCode string `json:"app_code"`
}

func (AppCodeCreate) String

func (o AppCodeCreate) String() string

type AppCreate

type AppCreate struct {

	// APP的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64个字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// APP描述。字符长度不能大于255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// APP的key。支持英文,数字,“_”,“-”,且只能以英文或数字开头,8 ~ 64个字符。
	AppKey *string `json:"app_key,omitempty"`

	// 密钥。支持英文,数字,“_”,“-”,“_”,“!”,“@”,“#”,“$”,“%”且只能以英文或数字开头,8 ~ 64个字符。
	AppSecret *string `json:"app_secret,omitempty"`
}

func (AppCreate) String

func (o AppCreate) String() string

type AppInfo

type AppInfo struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云商店分配  暂不支持MARKET
	Creator *AppInfoCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *AppInfoStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用  默认apig,暂不支持其他类型
	AppType *AppInfoAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType *string `json:"roma_app_type,omitempty"`
}

func (AppInfo) String

func (o AppInfo) String() string

type AppInfoAppType

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

func (AppInfoAppType) MarshalJSON

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

func (*AppInfoAppType) UnmarshalJSON

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

func (AppInfoAppType) Value

func (c AppInfoAppType) Value() string

type AppInfoAppTypeEnum

type AppInfoAppTypeEnum struct {
	APIG AppInfoAppType
	ROMA AppInfoAppType
}

func GetAppInfoAppTypeEnum

func GetAppInfoAppTypeEnum() AppInfoAppTypeEnum

type AppInfoCreator

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

func (AppInfoCreator) MarshalJSON

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

func (*AppInfoCreator) UnmarshalJSON

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

func (AppInfoCreator) Value

func (c AppInfoCreator) Value() string

type AppInfoCreatorEnum

type AppInfoCreatorEnum struct {
	USER   AppInfoCreator
	MARKET AppInfoCreator
}

func GetAppInfoCreatorEnum

func GetAppInfoCreatorEnum() AppInfoCreatorEnum

type AppInfoStatus

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

func (AppInfoStatus) MarshalJSON

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

func (*AppInfoStatus) UnmarshalJSON

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

func (AppInfoStatus) Value

func (c AppInfoStatus) Value() int32

type AppInfoStatusEnum

type AppInfoStatusEnum struct {
	E_1 AppInfoStatus
}

func GetAppInfoStatusEnum

func GetAppInfoStatusEnum() AppInfoStatusEnum

type AppInfoWithBindNum

type AppInfoWithBindNum struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云商店分配  暂不支持MARKET
	Creator *AppInfoWithBindNumCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *AppInfoWithBindNumStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用  默认apig,暂不支持其他类型
	AppType *AppInfoWithBindNumAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType *string `json:"roma_app_type,omitempty"`

	// 绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`
}

func (AppInfoWithBindNum) String

func (o AppInfoWithBindNum) String() string

type AppInfoWithBindNumAppType

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

func (AppInfoWithBindNumAppType) MarshalJSON

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

func (*AppInfoWithBindNumAppType) UnmarshalJSON

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

func (AppInfoWithBindNumAppType) Value

type AppInfoWithBindNumAppTypeEnum

type AppInfoWithBindNumAppTypeEnum struct {
	APIG AppInfoWithBindNumAppType
	ROMA AppInfoWithBindNumAppType
}

func GetAppInfoWithBindNumAppTypeEnum

func GetAppInfoWithBindNumAppTypeEnum() AppInfoWithBindNumAppTypeEnum

type AppInfoWithBindNumCreator

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

func (AppInfoWithBindNumCreator) MarshalJSON

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

func (*AppInfoWithBindNumCreator) UnmarshalJSON

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

func (AppInfoWithBindNumCreator) Value

type AppInfoWithBindNumCreatorEnum

type AppInfoWithBindNumCreatorEnum struct {
	USER   AppInfoWithBindNumCreator
	MARKET AppInfoWithBindNumCreator
}

func GetAppInfoWithBindNumCreatorEnum

func GetAppInfoWithBindNumCreatorEnum() AppInfoWithBindNumCreatorEnum

type AppInfoWithBindNumStatus

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

func (AppInfoWithBindNumStatus) MarshalJSON

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

func (*AppInfoWithBindNumStatus) UnmarshalJSON

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

func (AppInfoWithBindNumStatus) Value

func (c AppInfoWithBindNumStatus) Value() int32

type AppInfoWithBindNumStatusEnum

type AppInfoWithBindNumStatusEnum struct {
	E_1 AppInfoWithBindNumStatus
}

func GetAppInfoWithBindNumStatusEnum

func GetAppInfoWithBindNumStatusEnum() AppInfoWithBindNumStatusEnum

type AppResetCreate

type AppResetCreate struct {

	// 密钥支持英文,数字,“_”,“-”,“!”,“@”,“#”,“$”,“%”,且只能以英文或数字开头,8 ~ 64个字符。用户自定义APP的密钥需要开启配额开关
	AppSecret *string `json:"app_secret,omitempty"`
}

func (AppResetCreate) String

func (o AppResetCreate) String() string

type AssociateCertificateV2Request

type AssociateCertificateV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

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

AssociateCertificateV2Request Request Object

func (AssociateCertificateV2Request) String

type AssociateCertificateV2Response

type AssociateCertificateV2Response struct {

	// 自定义域名
	UrlDomain string `json:"url_domain"`

	// 自定义域名的编号
	Id string `json:"id"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status AssociateCertificateV2ResponseStatus `json:"status"`

	// 支持的最小SSL版本
	MinSslVersion string `json:"min_ssl_version"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`

	// 证书的名称
	SslName string `json:"ssl_name"`

	// 证书的编号
	SslId          string `json:"ssl_id"`
	HttpStatusCode int    `json:"-"`
}

AssociateCertificateV2Response Response Object

func (AssociateCertificateV2Response) String

type AssociateCertificateV2ResponseStatus

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

func (AssociateCertificateV2ResponseStatus) MarshalJSON

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

func (*AssociateCertificateV2ResponseStatus) UnmarshalJSON

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

func (AssociateCertificateV2ResponseStatus) Value

type AssociateDomainV2Request

type AssociateDomainV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

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

AssociateDomainV2Request Request Object

func (AssociateDomainV2Request) String

func (o AssociateDomainV2Request) String() string

type AssociateDomainV2Response

type AssociateDomainV2Response struct {

	// 自定义域名
	UrlDomain *string `json:"url_domain,omitempty"`

	// 自定义域名的编号
	Id *string `json:"id,omitempty"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status *AssociateDomainV2ResponseStatus `json:"status,omitempty"`

	// 支持的最小SSL版本
	MinSslVersion *string `json:"min_ssl_version,omitempty"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`
	HttpStatusCode                   int   `json:"-"`
}

AssociateDomainV2Response Response Object

func (AssociateDomainV2Response) String

func (o AssociateDomainV2Response) String() string

type AssociateDomainV2ResponseStatus

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

func (AssociateDomainV2ResponseStatus) MarshalJSON

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

func (*AssociateDomainV2ResponseStatus) UnmarshalJSON

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

func (AssociateDomainV2ResponseStatus) Value

type AssociateRequestThrottlingPolicyV2Request

type AssociateRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

AssociateRequestThrottlingPolicyV2Request Request Object

func (AssociateRequestThrottlingPolicyV2Request) String

type AssociateRequestThrottlingPolicyV2Response

type AssociateRequestThrottlingPolicyV2Response struct {

	// API与流控策略的绑定关系列表
	ThrottleApplys *[]ThrottleApiBinding `json:"throttle_applys,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

AssociateRequestThrottlingPolicyV2Response Response Object

func (AssociateRequestThrottlingPolicyV2Response) String

type AssociateSignatureKeyV2Request

type AssociateSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

AssociateSignatureKeyV2Request Request Object

func (AssociateSignatureKeyV2Request) String

type AssociateSignatureKeyV2Response

type AssociateSignatureKeyV2Response struct {

	// API与签名密钥的绑定关系列表
	Bindings       *[]SignApiBindingInfo `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

AssociateSignatureKeyV2Response Response Object

func (AssociateSignatureKeyV2Response) String

type AttachApiToPluginRequest

type AttachApiToPluginRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 插件编号
	PluginId string `json:"plugin_id"`

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

AttachApiToPluginRequest Request Object

func (AttachApiToPluginRequest) String

func (o AttachApiToPluginRequest) String() string

type AttachApiToPluginResponse

type AttachApiToPluginResponse struct {

	// 绑定插件信息列表。
	AttachedPlugins *[]PluginApiAttachInfo `json:"attached_plugins,omitempty"`
	HttpStatusCode  int                    `json:"-"`
}

AttachApiToPluginResponse Response Object

func (AttachApiToPluginResponse) String

func (o AttachApiToPluginResponse) String() string

type AttachOrDetachCertsReqBody

type AttachOrDetachCertsReqBody struct {

	// 证书的id集合
	CertificateIds []string `json:"certificate_ids"`

	// 是否开启客户端证书校验。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`
}

AttachOrDetachCertsReqBody 域名绑定和解绑证书的请求体

func (AttachOrDetachCertsReqBody) String

type AttachOrDetachDomainInfo

type AttachOrDetachDomainInfo struct {

	// 域名
	Domain string `json:"domain"`

	// 实例ID集合
	InstanceIds *[]string `json:"instance_ids,omitempty"`

	// 是否开启客户端证书校验。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`
}

AttachOrDetachDomainInfo 证书绑定或解绑域名信息。如果填了instance_id则只操作该实例下指定域名;如果不填instance_id则操作全局指定域名。

func (AttachOrDetachDomainInfo) String

func (o AttachOrDetachDomainInfo) String() string

type AttachOrDetachDomainsReqBody

type AttachOrDetachDomainsReqBody struct {

	// 证书绑定或解绑域名列表
	Domains []AttachOrDetachDomainInfo `json:"domains"`
}

AttachOrDetachDomainsReqBody 证书批量绑定或解绑域名请求体

func (AttachOrDetachDomainsReqBody) String

type AttachPluginToApiRequest

type AttachPluginToApiRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API编号
	ApiId string `json:"api_id"`

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

AttachPluginToApiRequest Request Object

func (AttachPluginToApiRequest) String

func (o AttachPluginToApiRequest) String() string

type AttachPluginToApiResponse

type AttachPluginToApiResponse struct {

	// 绑定插件信息列表。
	AttachedPlugins *[]PluginApiAttachInfo `json:"attached_plugins,omitempty"`
	HttpStatusCode  int                    `json:"-"`
}

AttachPluginToApiResponse Response Object

func (AttachPluginToApiResponse) String

func (o AttachPluginToApiResponse) String() string

type AttachedPluginInfo

type AttachedPluginInfo struct {

	// 插件绑定编码。
	PluginAttachId *string `json:"plugin_attach_id,omitempty"`

	// 插件编码。
	PluginId *string `json:"plugin_id,omitempty"`

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符 > 中文字符必须为UTF-8或者unicode编码。
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType *AttachedPluginInfoPluginType `json:"plugin_type,omitempty"`

	// 插件可见范围。global:全局可见。
	PluginScope *AttachedPluginInfoPluginScope `json:"plugin_scope,omitempty"`

	// 绑定API的环境编码。
	EnvId *string `json:"env_id,omitempty"`

	// api授权绑定的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 绑定时间。
	AttachedTime *sdktime.SdkTime `json:"attached_time,omitempty"`

	// 插件定义内容,支持json。
	PluginContent *string `json:"plugin_content,omitempty"`

	// 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

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

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

func (AttachedPluginInfo) String

func (o AttachedPluginInfo) String() string

type AttachedPluginInfoPluginScope

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

func (AttachedPluginInfoPluginScope) MarshalJSON

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

func (*AttachedPluginInfoPluginScope) UnmarshalJSON

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

func (AttachedPluginInfoPluginScope) Value

type AttachedPluginInfoPluginScopeEnum

type AttachedPluginInfoPluginScopeEnum struct {
	GLOBAL AttachedPluginInfoPluginScope
}

func GetAttachedPluginInfoPluginScopeEnum

func GetAttachedPluginInfoPluginScopeEnum() AttachedPluginInfoPluginScopeEnum

type AttachedPluginInfoPluginType

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

func (AttachedPluginInfoPluginType) MarshalJSON

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

func (*AttachedPluginInfoPluginType) UnmarshalJSON

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

func (AttachedPluginInfoPluginType) Value

type AuthOpt

type AuthOpt struct {

	// AppCode简易认证类型,仅在auth_type为APP时生效,默认为DISABLE: - DISABLE:不开启简易认证 - HEADER:开启简易认证且AppCode位置在HEADER
	AppCodeAuthType *AuthOptAppCodeAuthType `json:"app_code_auth_type,omitempty"`
}

AuthOpt 认证方式参数

func (AuthOpt) String

func (o AuthOpt) String() string

type AuthOptAppCodeAuthType

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

func (AuthOptAppCodeAuthType) MarshalJSON

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

func (*AuthOptAppCodeAuthType) UnmarshalJSON

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

func (AuthOptAppCodeAuthType) Value

func (c AuthOptAppCodeAuthType) Value() string

type AuthOptAppCodeAuthTypeEnum

type AuthOptAppCodeAuthTypeEnum struct {
	DISABLE AuthOptAppCodeAuthType
	HEADER  AuthOptAppCodeAuthType
}

func GetAuthOptAppCodeAuthTypeEnum

func GetAuthOptAppCodeAuthTypeEnum() AuthOptAppCodeAuthTypeEnum

type AuthResult

type AuthResult struct {

	// 授权结果 - SUCCESS:授权成功 - SKIPPED:跳过 - FAILED:授权失败
	Status *AuthResultStatus `json:"status,omitempty"`

	// 授权失败错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 授权失败错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 授权失败的API名称
	ApiName *string `json:"api_name,omitempty"`

	// 授权失败的APP名称
	AppName *string `json:"app_name,omitempty"`
}

AuthResult 授权结果

func (AuthResult) String

func (o AuthResult) String() string

type AuthResultStatus

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

func (AuthResultStatus) MarshalJSON

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

func (*AuthResultStatus) UnmarshalJSON

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

func (AuthResultStatus) Value

func (c AuthResultStatus) Value() string

type AuthResultStatusEnum

type AuthResultStatusEnum struct {
	SUCCESS AuthResultStatus
	SKIPPED AuthResultStatus
	FAILED  AuthResultStatus
}

func GetAuthResultStatusEnum

func GetAuthResultStatusEnum() AuthResultStatusEnum

type AuthorizerBase

type AuthorizerBase struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端  不支持修改
	Type AuthorizerBaseType `json:"type"`

	// 只能为:FUNC
	AuthorizerType AuthorizerBaseAuthorizerType `json:"authorizer_type"`

	// 函数地址。
	AuthorizerUri string `json:"authorizer_uri"`

	// 函数版本。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerVersion *string `json:"authorizer_version,omitempty"`

	// 函数别名地址。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`
}

func (AuthorizerBase) String

func (o AuthorizerBase) String() string

type AuthorizerBaseAuthorizerType

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

func (AuthorizerBaseAuthorizerType) MarshalJSON

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

func (*AuthorizerBaseAuthorizerType) UnmarshalJSON

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

func (AuthorizerBaseAuthorizerType) Value

type AuthorizerBaseAuthorizerTypeEnum

type AuthorizerBaseAuthorizerTypeEnum struct {
	FUNC AuthorizerBaseAuthorizerType
}

func GetAuthorizerBaseAuthorizerTypeEnum

func GetAuthorizerBaseAuthorizerTypeEnum() AuthorizerBaseAuthorizerTypeEnum

type AuthorizerBaseType

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

func (AuthorizerBaseType) MarshalJSON

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

func (*AuthorizerBaseType) UnmarshalJSON

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

func (AuthorizerBaseType) Value

func (c AuthorizerBaseType) Value() string

type AuthorizerBaseTypeEnum

type AuthorizerBaseTypeEnum struct {
	FRONTEND AuthorizerBaseType
	BACKEND  AuthorizerBaseType
}

func GetAuthorizerBaseTypeEnum

func GetAuthorizerBaseTypeEnum() AuthorizerBaseTypeEnum

type AuthorizerCreate

type AuthorizerCreate struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端  不支持修改
	Type AuthorizerCreateType `json:"type"`

	// 只能为:FUNC
	AuthorizerType AuthorizerCreateAuthorizerType `json:"authorizer_type"`

	// 函数地址。
	AuthorizerUri string `json:"authorizer_uri"`

	// 函数版本。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerVersion *string `json:"authorizer_version,omitempty"`

	// 函数别名地址。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`
}

func (AuthorizerCreate) String

func (o AuthorizerCreate) String() string

type AuthorizerCreateAuthorizerType

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

func (AuthorizerCreateAuthorizerType) MarshalJSON

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

func (*AuthorizerCreateAuthorizerType) UnmarshalJSON

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

func (AuthorizerCreateAuthorizerType) Value

type AuthorizerCreateAuthorizerTypeEnum

type AuthorizerCreateAuthorizerTypeEnum struct {
	FUNC AuthorizerCreateAuthorizerType
}

func GetAuthorizerCreateAuthorizerTypeEnum

func GetAuthorizerCreateAuthorizerTypeEnum() AuthorizerCreateAuthorizerTypeEnum

type AuthorizerCreateType

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

func (AuthorizerCreateType) MarshalJSON

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

func (*AuthorizerCreateType) UnmarshalJSON

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

func (AuthorizerCreateType) Value

func (c AuthorizerCreateType) Value() string

type AuthorizerCreateTypeEnum

type AuthorizerCreateTypeEnum struct {
	FRONTEND AuthorizerCreateType
	BACKEND  AuthorizerCreateType
}

func GetAuthorizerCreateTypeEnum

func GetAuthorizerCreateTypeEnum() AuthorizerCreateTypeEnum

type AuthorizerResp

type AuthorizerResp struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端  不支持修改
	Type AuthorizerRespType `json:"type"`

	// 只能为:FUNC
	AuthorizerType AuthorizerRespAuthorizerType `json:"authorizer_type"`

	// 函数地址。
	AuthorizerUri string `json:"authorizer_uri"`

	// 函数版本。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerVersion *string `json:"authorizer_version,omitempty"`

	// 函数别名地址。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`
}

func (AuthorizerResp) String

func (o AuthorizerResp) String() string

type AuthorizerRespAuthorizerType

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

func (AuthorizerRespAuthorizerType) MarshalJSON

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

func (*AuthorizerRespAuthorizerType) UnmarshalJSON

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

func (AuthorizerRespAuthorizerType) Value

type AuthorizerRespAuthorizerTypeEnum

type AuthorizerRespAuthorizerTypeEnum struct {
	FUNC AuthorizerRespAuthorizerType
}

func GetAuthorizerRespAuthorizerTypeEnum

func GetAuthorizerRespAuthorizerTypeEnum() AuthorizerRespAuthorizerTypeEnum

type AuthorizerRespType

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

func (AuthorizerRespType) MarshalJSON

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

func (*AuthorizerRespType) UnmarshalJSON

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

func (AuthorizerRespType) Value

func (c AuthorizerRespType) Value() string

type AuthorizerRespTypeEnum

type AuthorizerRespTypeEnum struct {
	FRONTEND AuthorizerRespType
	BACKEND  AuthorizerRespType
}

func GetAuthorizerRespTypeEnum

func GetAuthorizerRespTypeEnum() AuthorizerRespTypeEnum

type AvailableZone

type AvailableZone struct {

	// 可用区名称。
	Name *string `json:"name,omitempty"`

	// 实例创建失败错误信息
	Id *string `json:"id,omitempty"`

	// 可用区编码。
	Code *string `json:"code,omitempty"`

	// 可用区端口号。
	Port *string `json:"port,omitempty"`

	LocalName *LocalName `json:"local_name,omitempty"`

	// 可用区支持的实例规格。
	Specs map[string]bool `json:"specs,omitempty"`
}

func (AvailableZone) String

func (o AvailableZone) String() string

type BackendApi

type BackendApi struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。   由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiReqProtocol `json:"req_protocol"`

	// 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 后端状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	VpcChannelInfo *VpcInfo `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道
	VpcChannelStatus *int32 `json:"vpc_channel_status,omitempty"`
}

BackendApi web后端详情

func (BackendApi) String

func (o BackendApi) String() string

type BackendApiBase

type BackendApiBase struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。   由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiBaseReqProtocol `json:"req_protocol"`

	// 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiBaseReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 后端状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (BackendApiBase) String

func (o BackendApiBase) String() string

type BackendApiBaseInfo

type BackendApiBaseInfo struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。   由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiBaseInfoReqProtocol `json:"req_protocol"`

	// 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiBaseInfoReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`
}

func (BackendApiBaseInfo) String

func (o BackendApiBaseInfo) String() string

type BackendApiBaseInfoReqMethod

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

func (BackendApiBaseInfoReqMethod) MarshalJSON

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

func (*BackendApiBaseInfoReqMethod) UnmarshalJSON

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

func (BackendApiBaseInfoReqMethod) Value

type BackendApiBaseInfoReqProtocol

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

func (BackendApiBaseInfoReqProtocol) MarshalJSON

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

func (*BackendApiBaseInfoReqProtocol) UnmarshalJSON

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

func (BackendApiBaseInfoReqProtocol) Value

type BackendApiBaseInfoReqProtocolEnum

type BackendApiBaseInfoReqProtocolEnum struct {
	HTTP  BackendApiBaseInfoReqProtocol
	HTTPS BackendApiBaseInfoReqProtocol
}

func GetBackendApiBaseInfoReqProtocolEnum

func GetBackendApiBaseInfoReqProtocolEnum() BackendApiBaseInfoReqProtocolEnum

type BackendApiBaseReqMethod

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

func (BackendApiBaseReqMethod) MarshalJSON

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

func (*BackendApiBaseReqMethod) UnmarshalJSON

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

func (BackendApiBaseReqMethod) Value

func (c BackendApiBaseReqMethod) Value() string

type BackendApiBaseReqProtocol

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

func (BackendApiBaseReqProtocol) MarshalJSON

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

func (*BackendApiBaseReqProtocol) UnmarshalJSON

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

func (BackendApiBaseReqProtocol) Value

type BackendApiBaseReqProtocolEnum

type BackendApiBaseReqProtocolEnum struct {
	HTTP  BackendApiBaseReqProtocol
	HTTPS BackendApiBaseReqProtocol
}

func GetBackendApiBaseReqProtocolEnum

func GetBackendApiBaseReqProtocolEnum() BackendApiBaseReqProtocolEnum

type BackendApiCreate

type BackendApiCreate struct {

	// 后端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 后端服务的地址。   由主机(IP或域名)和端口号组成,总长度不超过255。格式为主机:端口(如:apig.example.com:7443)。如果不写端口,则HTTPS默认端口号为443,HTTP默认端口号为80。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、下划线、中划线组成,且只能以英文开头
	UrlDomain *string `json:"url_domain,omitempty"`

	// 请求协议
	ReqProtocol BackendApiCreateReqProtocol `json:"req_protocol"`

	// 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 请求方式
	ReqMethod BackendApiCreateReqMethod `json:"req_method"`

	// web后端版本,字符长度不超过16
	Version *string `json:"version,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API网关请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000。  单位:毫秒。
	Timeout int32 `json:"timeout"`

	// 是否开启双向认证
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 请求后端服务的重试次数,默认为-1,范围[-1,10]。  当该值为-1时,幂等的接口会重试1次,非幂等的不会重试。POST,PATCH方法为非幂等;GET,HEAD,PUT,OPTIONS和DELETE等方法为幂等的。
	RetryCount *string `json:"retry_count,omitempty"`

	VpcChannelInfo *ApiBackendVpcReq `json:"vpc_channel_info,omitempty"`

	// 是否使用VPC通道 - 1:使用VPC通道 - 2:不使用VPC通道
	VpcChannelStatus *BackendApiCreateVpcChannelStatus `json:"vpc_channel_status,omitempty"`
}

BackendApiCreate web后端详情

func (BackendApiCreate) String

func (o BackendApiCreate) String() string

type BackendApiCreateReqMethod

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

func (BackendApiCreateReqMethod) MarshalJSON

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

func (*BackendApiCreateReqMethod) UnmarshalJSON

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

func (BackendApiCreateReqMethod) Value

type BackendApiCreateReqProtocol

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

func (BackendApiCreateReqProtocol) MarshalJSON

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

func (*BackendApiCreateReqProtocol) UnmarshalJSON

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

func (BackendApiCreateReqProtocol) Value

type BackendApiCreateReqProtocolEnum

type BackendApiCreateReqProtocolEnum struct {
	HTTP  BackendApiCreateReqProtocol
	HTTPS BackendApiCreateReqProtocol
}

func GetBackendApiCreateReqProtocolEnum

func GetBackendApiCreateReqProtocolEnum() BackendApiCreateReqProtocolEnum

type BackendApiCreateVpcChannelStatus

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

func (BackendApiCreateVpcChannelStatus) MarshalJSON

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

func (*BackendApiCreateVpcChannelStatus) UnmarshalJSON

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

func (BackendApiCreateVpcChannelStatus) Value

type BackendApiCreateVpcChannelStatusEnum

type BackendApiCreateVpcChannelStatusEnum struct {
	E_1 BackendApiCreateVpcChannelStatus
	E_2 BackendApiCreateVpcChannelStatus
}

func GetBackendApiCreateVpcChannelStatusEnum

func GetBackendApiCreateVpcChannelStatusEnum() BackendApiCreateVpcChannelStatusEnum

type BackendApiReqMethod

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

func (BackendApiReqMethod) MarshalJSON

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

func (*BackendApiReqMethod) UnmarshalJSON

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

func (BackendApiReqMethod) Value

func (c BackendApiReqMethod) Value() string

type BackendApiReqProtocol

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

func (BackendApiReqProtocol) MarshalJSON

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

func (*BackendApiReqProtocol) UnmarshalJSON

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

func (BackendApiReqProtocol) Value

func (c BackendApiReqProtocol) Value() string

type BackendApiReqProtocolEnum

type BackendApiReqProtocolEnum struct {
	HTTP  BackendApiReqProtocol
	HTTPS BackendApiReqProtocol
}

func GetBackendApiReqProtocolEnum

func GetBackendApiReqProtocolEnum() BackendApiReqProtocolEnum

type BackendLatencyStats

type BackendLatencyStats struct {

	// 最大后端延时
	MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"`

	// 平均后端延时
	AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"`
}

func (BackendLatencyStats) String

func (o BackendLatencyStats) String() string

type BackendParam

type BackendParam struct {

	// 参数类别:   - 后端服务参数:REQUEST   - 常量参数:CONSTANT   - 系统参数:SYSTEM
	Origin BackendParamOrigin `json:"origin"`

	// 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数位置:PATH、QUERY、HEADER
	Location BackendParamLocation `json:"location"`

	// 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称;  origin类别为CONSTANT时,此字段值为参数真正的值;  origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。  网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiId:API的ID - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成请求ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用  前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa  后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa
	Value string `json:"value"`

	// 参数编号
	Id *string `json:"id,omitempty"`

	// 对应的请求参数编号
	ReqParamId *string `json:"req_param_id,omitempty"`
}

func (BackendParam) String

func (o BackendParam) String() string

type BackendParamBase

type BackendParamBase struct {

	// 参数类别:   - 后端服务参数:REQUEST   - 常量参数:CONSTANT   - 系统参数:SYSTEM
	Origin BackendParamBaseOrigin `json:"origin"`

	// 参数名称。 字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数位置:PATH、QUERY、HEADER
	Location BackendParamBaseLocation `json:"location"`

	// 参数值。字符长度不超过255 origin类别为REQUEST时,此字段值为req_params中的参数名称;  origin类别为CONSTANT时,此字段值为参数真正的值;  origin类别为SYSTEM时,此字段值为系统参数名称,系统参数分为网关内置参数、前端认证参数和后端认证参数,当api前端安全认证方式为自定义认证时,可以填写前端认证参数,当api开启后端认证时,可以填写后端认证参数。  网关内置参数取值及对应含义: - $context.sourceIp:API调用者的源地址 - $context.stage:API调用的部署环境 - $context.apiId:API的ID - $context.appId:API调用者的APP对象ID - $context.requestId:当次API调用生成请求ID - $context.serverAddr:网关的服务器地址 - $context.serverName:网关的服务器名称 - $context.handleTime:本次API调用的处理时间 - $context.providerAppId:API拥有者的应用对象ID,暂不支持使用  前端认证参数取值:以“$context.authorizer.frontend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.frontend.aaa  后端认证参数取值:以“$context.authorizer.backend.”为前缀,如希望自定义认证校验通过返回的参数为aaa,那么此字段填写为$context.authorizer.backend.aaa
	Value string `json:"value"`
}

func (BackendParamBase) String

func (o BackendParamBase) String() string

type BackendParamBaseLocation

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

func (BackendParamBaseLocation) MarshalJSON

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

func (*BackendParamBaseLocation) UnmarshalJSON

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

func (BackendParamBaseLocation) Value

func (c BackendParamBaseLocation) Value() string

type BackendParamBaseLocationEnum

type BackendParamBaseLocationEnum struct {
	PATH   BackendParamBaseLocation
	QUERY  BackendParamBaseLocation
	HEADER BackendParamBaseLocation
}

func GetBackendParamBaseLocationEnum

func GetBackendParamBaseLocationEnum() BackendParamBaseLocationEnum

type BackendParamBaseOrigin

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

func (BackendParamBaseOrigin) MarshalJSON

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

func (*BackendParamBaseOrigin) UnmarshalJSON

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

func (BackendParamBaseOrigin) Value

func (c BackendParamBaseOrigin) Value() string

type BackendParamBaseOriginEnum

type BackendParamBaseOriginEnum struct {
	REQUEST  BackendParamBaseOrigin
	CONSTANT BackendParamBaseOrigin
	SYSTEM   BackendParamBaseOrigin
}

func GetBackendParamBaseOriginEnum

func GetBackendParamBaseOriginEnum() BackendParamBaseOriginEnum

type BackendParamLocation

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

func (BackendParamLocation) MarshalJSON

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

func (*BackendParamLocation) UnmarshalJSON

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

func (BackendParamLocation) Value

func (c BackendParamLocation) Value() string

type BackendParamLocationEnum

type BackendParamLocationEnum struct {
	PATH   BackendParamLocation
	QUERY  BackendParamLocation
	HEADER BackendParamLocation
}

func GetBackendParamLocationEnum

func GetBackendParamLocationEnum() BackendParamLocationEnum

type BackendParamOrigin

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

func (BackendParamOrigin) MarshalJSON

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

func (*BackendParamOrigin) UnmarshalJSON

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

func (BackendParamOrigin) Value

func (c BackendParamOrigin) Value() string

type BackendParamOriginEnum

type BackendParamOriginEnum struct {
	REQUEST  BackendParamOrigin
	CONSTANT BackendParamOrigin
	SYSTEM   BackendParamOrigin
}

func GetBackendParamOriginEnum

func GetBackendParamOriginEnum() BackendParamOriginEnum

type BasePage

type BasePage struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`
}

BasePage 分页基本信息

func (BasePage) String

func (o BasePage) String() string

type BaseSignature

type BaseSignature struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *BaseSignatureSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。
	SignAlgorithm *BaseSignatureSignAlgorithm `json:"sign_algorithm,omitempty"`
}

func (BaseSignature) String

func (o BaseSignature) String() string

type BaseSignatureSignAlgorithm

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

func (BaseSignatureSignAlgorithm) MarshalJSON

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

func (*BaseSignatureSignAlgorithm) UnmarshalJSON

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

func (BaseSignatureSignAlgorithm) Value

type BaseSignatureSignAlgorithmEnum

type BaseSignatureSignAlgorithmEnum struct {
	AES_128_CFB BaseSignatureSignAlgorithm
	AES_256_CFB BaseSignatureSignAlgorithm
}

func GetBaseSignatureSignAlgorithmEnum

func GetBaseSignatureSignAlgorithmEnum() BaseSignatureSignAlgorithmEnum

type BaseSignatureSignType

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

func (BaseSignatureSignType) MarshalJSON

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

func (*BaseSignatureSignType) UnmarshalJSON

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

func (BaseSignatureSignType) Value

func (c BaseSignatureSignType) Value() string

type BaseSignatureSignTypeEnum

type BaseSignatureSignTypeEnum struct {
	HMAC       BaseSignatureSignType
	BASIC      BaseSignatureSignType
	PUBLIC_KEY BaseSignatureSignType
	AES        BaseSignatureSignType
}

func GetBaseSignatureSignTypeEnum

func GetBaseSignatureSignTypeEnum() BaseSignatureSignTypeEnum

type BatchAssociateCertsV2Request

type BatchAssociateCertsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

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

BatchAssociateCertsV2Request Request Object

func (BatchAssociateCertsV2Request) String

type BatchAssociateCertsV2Response

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

BatchAssociateCertsV2Response Response Object

func (BatchAssociateCertsV2Response) String

type BatchAssociateDomainsV2Request

type BatchAssociateDomainsV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

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

BatchAssociateDomainsV2Request Request Object

func (BatchAssociateDomainsV2Request) String

type BatchAssociateDomainsV2Response

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

BatchAssociateDomainsV2Response Response Object

func (BatchAssociateDomainsV2Response) String

type BatchCreateOrDeleteInstanceTagsRequest

type BatchCreateOrDeleteInstanceTagsRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

BatchCreateOrDeleteInstanceTagsRequest Request Object

func (BatchCreateOrDeleteInstanceTagsRequest) String

type BatchCreateOrDeleteInstanceTagsResponse

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

BatchCreateOrDeleteInstanceTagsResponse Response Object

func (BatchCreateOrDeleteInstanceTagsResponse) String

type BatchDeleteAclV2Request

type BatchDeleteAclV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

BatchDeleteAclV2Request Request Object

func (BatchDeleteAclV2Request) String

func (o BatchDeleteAclV2Request) String() string

type BatchDeleteAclV2Response

type BatchDeleteAclV2Response struct {

	// 删除成功的ACL策略数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 删除失败的ACL策略及错误信息
	Failure        *[]AclBatchResultFailureResp `json:"failure,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

BatchDeleteAclV2Response Response Object

func (BatchDeleteAclV2Response) String

func (o BatchDeleteAclV2Response) String() string

type BatchDeleteApiAclBindingV2Request

type BatchDeleteApiAclBindingV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

BatchDeleteApiAclBindingV2Request Request Object

func (BatchDeleteApiAclBindingV2Request) String

type BatchDeleteApiAclBindingV2Response

type BatchDeleteApiAclBindingV2Response struct {

	// 成功解除绑定的ACL策略数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 解除绑定失败的ACL策略及错误信息
	Failure        *[]AclBindingBatchFailure `json:"failure,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

BatchDeleteApiAclBindingV2Response Response Object

func (BatchDeleteApiAclBindingV2Response) String

type BatchDisableMembersRequest

type BatchDisableMembersRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

BatchDisableMembersRequest Request Object

func (BatchDisableMembersRequest) String

type BatchDisableMembersResponse

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

BatchDisableMembersResponse Response Object

func (BatchDisableMembersResponse) String

type BatchDisassociateCertsV2Request

type BatchDisassociateCertsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

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

BatchDisassociateCertsV2Request Request Object

func (BatchDisassociateCertsV2Request) String

type BatchDisassociateCertsV2Response

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

BatchDisassociateCertsV2Response Response Object

func (BatchDisassociateCertsV2Response) String

type BatchDisassociateDomainsV2Request

type BatchDisassociateDomainsV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

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

BatchDisassociateDomainsV2Request Request Object

func (BatchDisassociateDomainsV2Request) String

type BatchDisassociateDomainsV2Response

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

BatchDisassociateDomainsV2Response Response Object

func (BatchDisassociateDomainsV2Response) String

type BatchDisassociateThrottlingPolicyV2Request

type BatchDisassociateThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

BatchDisassociateThrottlingPolicyV2Request Request Object

func (BatchDisassociateThrottlingPolicyV2Request) String

type BatchDisassociateThrottlingPolicyV2Response

type BatchDisassociateThrottlingPolicyV2Response struct {

	// 成功解除绑定的API和流控策略绑定关系的数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 解除绑定失败的API和流控绑定关系及错误信息
	Failure        *[]ThrottleBindingBatchFailure `json:"failure,omitempty"`
	HttpStatusCode int                            `json:"-"`
}

BatchDisassociateThrottlingPolicyV2Response Response Object

func (BatchDisassociateThrottlingPolicyV2Response) String

type BatchEnableMembersRequest

type BatchEnableMembersRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

BatchEnableMembersRequest Request Object

func (BatchEnableMembersRequest) String

func (o BatchEnableMembersRequest) String() string

type BatchEnableMembersResponse

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

BatchEnableMembersResponse Response Object

func (BatchEnableMembersResponse) String

type BatchFailure

type BatchFailure struct {

	// 发布或下线失败的API ID
	ApiId *string `json:"api_id,omitempty"`

	// 发布或下线失败的APi名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布或下线失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 发布或下线失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`
}

func (BatchFailure) String

func (o BatchFailure) String() string

type BatchPublishOrOfflineApiV2Request

type BatchPublishOrOfflineApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// - online:发布 - offline:下线
	Action string `json:"action"`

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

BatchPublishOrOfflineApiV2Request Request Object

func (BatchPublishOrOfflineApiV2Request) String

type BatchPublishOrOfflineApiV2Response

type BatchPublishOrOfflineApiV2Response struct {

	// 发布或下线成功的信息
	Success *[]PublishResp `json:"success,omitempty"`

	// 发布或下线失败的API及错误信息
	Failure        *[]BatchFailure `json:"failure,omitempty"`
	HttpStatusCode int             `json:"-"`
}

BatchPublishOrOfflineApiV2Response Response Object

func (BatchPublishOrOfflineApiV2Response) String

type CancelingAuthorizationV2Request

type CancelingAuthorizationV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 授权关系的编号
	AppAuthId string `json:"app_auth_id"`
}

CancelingAuthorizationV2Request Request Object

func (CancelingAuthorizationV2Request) String

type CancelingAuthorizationV2Response

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

CancelingAuthorizationV2Response Response Object

func (CancelingAuthorizationV2Response) String

type CertBase

type CertBase struct {

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

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

	// 证书类型  - global:全局证书 - instance:实例证书
	Type *CertBaseType `json:"type,omitempty"`

	// 实例编码  - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码
	InstanceId *string `json:"instance_id,omitempty"`

	// 租户项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 域名
	CommonName *string `json:"common_name,omitempty"`

	// san扩展域名
	San *[]string `json:"san,omitempty"`

	// 有效期到
	NotAfter *sdktime.SdkTime `json:"not_after,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 是否存在信任的根证书CA。当绑定证书存在trusted_root_ca时为true。
	IsHasTrustedRootCa *bool `json:"is_has_trusted_root_ca,omitempty"`
}

func (CertBase) String

func (o CertBase) String() string

type CertBaseType

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

func (CertBaseType) MarshalJSON

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

func (*CertBaseType) UnmarshalJSON

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

func (CertBaseType) Value

func (c CertBaseType) Value() string

type CertBaseTypeEnum

type CertBaseTypeEnum struct {
	GLOBAL   CertBaseType
	INSTANCE CertBaseType
}

func GetCertBaseTypeEnum

func GetCertBaseTypeEnum() CertBaseTypeEnum

type CertForm

type CertForm struct {

	// 证书内容
	CertContent string `json:"cert_content"`

	// 证书名称。长度为4 ~ 50位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 私钥内容
	PrivateKey string `json:"private_key"`
}

func (CertForm) String

func (o CertForm) String() string

type CertificateForm

type CertificateForm struct {

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

	// 证书内容
	CertContent string `json:"cert_content"`

	// 证书私钥
	PrivateKey string `json:"private_key"`

	// 证书可见范围
	Type *CertificateFormType `json:"type,omitempty"`

	// 所属实例ID,当type=instance时必填
	InstanceId *string `json:"instance_id,omitempty"`

	// 信任的根证书CA
	TrustedRootCa *string `json:"trusted_root_ca,omitempty"`
}

CertificateForm 添加或编辑证书的请求体表单

func (CertificateForm) String

func (o CertificateForm) String() string

type CertificateFormType

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

func (CertificateFormType) MarshalJSON

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

func (*CertificateFormType) UnmarshalJSON

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

func (CertificateFormType) Value

func (c CertificateFormType) Value() string

type CertificateFormTypeEnum

type CertificateFormTypeEnum struct {
	INSTANCE CertificateFormType
	GLOBAL   CertificateFormType
}

func GetCertificateFormTypeEnum

func GetCertificateFormTypeEnum() CertificateFormTypeEnum

type ChangeApiVersionV2Request

type ChangeApiVersionV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

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

ChangeApiVersionV2Request Request Object

func (ChangeApiVersionV2Request) String

func (o ChangeApiVersionV2Request) String() string

type ChangeApiVersionV2Response

type ChangeApiVersionV2Response struct {

	// 发布记录的ID
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 在线的版本号
	VersionId      *string `json:"version_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ChangeApiVersionV2Response Response Object

func (ChangeApiVersionV2Response) String

type CheckAppV2Request

type CheckAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

CheckAppV2Request Request Object

func (CheckAppV2Request) String

func (o CheckAppV2Request) String() string

type CheckAppV2Response

type CheckAppV2Response struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark         *string `json:"remark,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CheckAppV2Response Response Object

func (CheckAppV2Response) String

func (o CheckAppV2Response) String() string

type CoditionResp

type CoditionResp struct {

	// 关联的请求参数对象名称。策略类型为param时必选
	ReqParamName *string `json:"req_param_name,omitempty"`

	// 策略条件 - exact:绝对匹配 - enum:枚举 - pattern:正则  策略类型为param时必选
	ConditionType *CoditionRespConditionType `json:"condition_type,omitempty"`

	// 策略类型 - param:参数 - source:源IP
	ConditionOrigin CoditionRespConditionOrigin `json:"condition_origin"`

	// 策略值
	ConditionValue string `json:"condition_value"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 关联的请求参数对象编号
	ReqParamId *string `json:"req_param_id,omitempty"`

	// 关联的请求参数对象位置
	ReqParamLocation *string `json:"req_param_location,omitempty"`
}

func (CoditionResp) String

func (o CoditionResp) String() string

type CoditionRespConditionOrigin

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

func (CoditionRespConditionOrigin) MarshalJSON

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

func (*CoditionRespConditionOrigin) UnmarshalJSON

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

func (CoditionRespConditionOrigin) Value

type CoditionRespConditionOriginEnum

type CoditionRespConditionOriginEnum struct {
	PARAM  CoditionRespConditionOrigin
	SOURCE CoditionRespConditionOrigin
}

func GetCoditionRespConditionOriginEnum

func GetCoditionRespConditionOriginEnum() CoditionRespConditionOriginEnum

type CoditionRespConditionType

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

func (CoditionRespConditionType) MarshalJSON

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

func (*CoditionRespConditionType) UnmarshalJSON

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

func (CoditionRespConditionType) Value

type CoditionRespConditionTypeEnum

type CoditionRespConditionTypeEnum struct {
	EXACT   CoditionRespConditionType
	ENUM    CoditionRespConditionType
	PATTERN CoditionRespConditionType
}

func GetCoditionRespConditionTypeEnum

func GetCoditionRespConditionTypeEnum() CoditionRespConditionTypeEnum

type Config

type Config struct {

	// 配额编号
	ConfigId *string `json:"config_id,omitempty"`

	// 配额名称
	ConfigName *ConfigConfigName `json:"config_name,omitempty"`

	// 配额值  当前实例所在租户该配额对应的数量
	ConfigValue *string `json:"config_value,omitempty"`

	// 配额创建时间
	ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"`

	// 配额描述: - API_NUM_LIMIT:租户可以创建的API个数限制 - APP_NUM_LIMIT:租户可以创建的APP个数限制 - APIGROUP_NUM_LIMIT:租户可以创建的API分组个数限制 - ENVIRONMENT_NUM_LIMIT:租户可以创建的环境个数限制 - VARIABLE_NUM_LIMIT:每个API分组上可以创建的环境变量个数限制 - SIGN_NUM_LIMIT:租户可以创建的签名密钥个数限制 - THROTTLE_NUM_LIMIT:租户可以创建的流控策略个数限制 - APIGROUP_DOMAIN_NUM_LIMIT:每个API分组上可以绑定的自定义域名个数限制 - API_VERSION_NUM_LIMIT:每个API可以保留的发布版本个数限制 - VPC_NUM_LIMIT:租户可以创建的VPC通道个数限制 - VPC_INSTANCE_NUM_LIMIT:每个VPC通道上可以绑定的弹性云服务器个数限制 - API_PARAM_NUM_LIMIT:每个API可以设置的参数个数限制 - API_USER_CALL_LIMIT:每个租户的API单位时间内的请求默认限制 - ACL_NUM_LIMIT:每个租户可以创建的ACL策略个数限制 - APP_THROTTLE_LIMIT:特殊应用流控策略个数限制 - USER_THROTTLE_LIMIT:特殊用户流控策略个数限制 - API_NUM_LIMIT_PER_GROUP:租户每个API分组可以创建的API数量限制 - API_POLICY_NUM_LIMIT:每个API可以设置的策略后端个数限制 - API_CONDITION_NUM_LIMIT:每个API策略后端可以设置的条件个数限制 - SL_DOMAIN_CALL_LIMIT:每个二级域名单位时间内的请求默认限制 - ELB_SWITCH:是否启用ELB通道 - AUTHORIZER_NUM_LIMIT:租户可创建的自定义认证个数限制 - AUTHORIZER_IDENTITY_NUM_LIMIT:每个自定义认证可以设置的身份来源个数限制 - APP_CODE_NUM_LIMIT:每个APP可以创建的APP code数量限制 - REGION_MANAGER_WHITELIST_SERVICES:不校验region manager服务白名单列表,暂不支持 - API_SWAGGER_NUM_LIMIT:单个API分组可以绑定的swagger文档数量限制 - API_TAG_NUM_LIMIT:每个API可以设置的标签个数限制 - LTS_SWITCH:是启用LTS上报 - APP_KEY_SECRET_SWITCH:是否打开APP支持自定义KEY和SECRET的开关,1:开启;2:关闭 - RESPONSE_NUM_LIMIT:分组自定义响应个数限制 - CONFIG_NUM_LIMIT_PER_APP:每个APP可以设置的配置项个数限制 - BACKEND_TOKEN_ALLOW_SWITCH:是否支持普通租户透传后端token,1:开启;2:关闭 - APP_TOKEN_SWITCH:是否启用APPTOKEN - API_DESIGNER_SWITCH:是否启用api设计器,1:开启;2:关闭 - APP_API_KEY_SWITCH:是否启用APP_API_KEY认证方式 - APP_BASIC_SWITCH:是否启用APP_BASIC认证方式 - APP_JWT_SWITCH:是否启用APP_JWT认证方式 - APP_ROUTE_SWITCH:是否启用APP路由 - PUBLIC_KEY_SWITCH:是否启用PUBLIK_KEY后端认证方式 - APP_SECRET_SWITCH:是否启用APP_SECRET认证方式 - CASCADE_SWITCH:是否启用级联网关 - IS_INIT_API_PATH_HASH:是否执行过API PATH HASH刷新
	Remark *string `json:"remark,omitempty"`

	// 该实例对应配额已使用数量
	Used *int64 `json:"used,omitempty"`
}

func (Config) String

func (o Config) String() string

type ConfigConfigName

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

func (ConfigConfigName) MarshalJSON

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

func (*ConfigConfigName) UnmarshalJSON

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

func (ConfigConfigName) Value

func (c ConfigConfigName) Value() string

type ConfigConfigNameEnum

type ConfigConfigNameEnum struct {
	API_NUM_LIMIT                     ConfigConfigName
	APP_NUM_LIMIT                     ConfigConfigName
	APIGROUP_NUM_LIMIT                ConfigConfigName
	ENVIRONMENT_NUM_LIMIT             ConfigConfigName
	VARIABLE_NUM_LIMIT                ConfigConfigName
	SIGN_NUM_LIMIT                    ConfigConfigName
	THROTTLE_NUM_LIMIT                ConfigConfigName
	APIGROUP_DOMAIN_NUM_LIMIT         ConfigConfigName
	API_VERSION_NUM_LIMIT             ConfigConfigName
	VPC_NUM_LIMIT                     ConfigConfigName
	VPC_INSTANCE_NUM_LIMIT            ConfigConfigName
	API_PARAM_NUM_LIMIT               ConfigConfigName
	API_USER_CALL_LIMIT               ConfigConfigName
	ACL_NUM_LIMIT                     ConfigConfigName
	APP_THROTTLE_LIMIT                ConfigConfigName
	USER_THROTTLE_LIMIT               ConfigConfigName
	API_NUM_LIMIT_PER_GROUP           ConfigConfigName
	API_POLICY_NUM_LIMIT              ConfigConfigName
	API_CONDITION_NUM_LIMIT           ConfigConfigName
	SL_DOMAIN_CALL_LIMIT              ConfigConfigName
	ELB_SWITCH                        ConfigConfigName
	AUTHORIZER_NUM_LIMIT              ConfigConfigName
	AUTHORIZER_IDENTITY_NUM_LIMIT     ConfigConfigName
	APP_CODE_NUM_LIMIT                ConfigConfigName
	REGION_MANAGER_WHITELIST_SERVICES ConfigConfigName
	API_SWAGGER_NUM_LIMIT             ConfigConfigName
	API_TAG_NUM_LIMIT                 ConfigConfigName
	LTS_SWITCH                        ConfigConfigName
	APP_KEY_SECRET_SWITCH             ConfigConfigName
	RESPONSE_NUM_LIMIT                ConfigConfigName
	CONFIG_NUM_LIMIT_PER_APP          ConfigConfigName
	BACKEND_TOKEN_ALLOW_SWITCH        ConfigConfigName
	APP_TOKEN_SWITCH                  ConfigConfigName
	API_DESIGNER_SWITCH               ConfigConfigName
	APP_API_KEY_SWITCH                ConfigConfigName
	APP_BASIC_SWITCH                  ConfigConfigName
	APP_JWT_SWITCH                    ConfigConfigName
	APP_ROUTE_SWITCH                  ConfigConfigName
	PUBLIC_KEY_SWITCH                 ConfigConfigName
	APP_SECRET_SWITCH                 ConfigConfigName
	CASCADE_SWITCH                    ConfigConfigName
	IS_INIT_API_PATH_HASH             ConfigConfigName
}

func GetConfigConfigNameEnum

func GetConfigConfigNameEnum() ConfigConfigNameEnum

type CorsPluginContent

type CorsPluginContent struct {

	// Access-Control-Allow-Origin头,该字段必填,允许访问该资源的外域URI。对于不需要携带身份凭证的请求,服务器可以指定该字段的值为通配符*,表示允许来自所有域的请求。 多个域名使用英文逗号分隔。
	AllowOrigin string `json:"allow_origin"`

	// Access-Control-Allow-Methods头,请求所允许使用的 HTTP 方法。 多个方法使用英文逗号分隔。
	AllowMethods *string `json:"allow_methods,omitempty"`

	// Access-Control-Allow-Headers头,请求中允许携带的头域字段。 多个头域使用英文逗号分隔。
	AllowHeaders *string `json:"allow_headers,omitempty"`

	// Access-Control-Expose-Headers 头,让服务器把允许浏览器访问的头放入白名单。 多个头域可通过英文逗号分隔。
	ExposeHeaders *string `json:"expose_headers,omitempty"`

	// Access-Control-Max-Age 头,表示本次预检的有效期,单位:秒,范围为0-86400。在有效期内,无需再次发出预检请求。
	MaxAge *int32 `json:"max_age,omitempty"`

	// Access-Control-Allow-Credentials 头,是否允许浏览器读取response的内容。
	AllowCredentials *bool `json:"allow_credentials,omitempty"`
}

跨域资源共享插件类型

func (CorsPluginContent) String

func (o CorsPluginContent) String() string

type CreateAclStrategyV2Request

type CreateAclStrategyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateAclStrategyV2Request Request Object

func (CreateAclStrategyV2Request) String

type CreateAclStrategyV2Response

type CreateAclStrategyV2Response struct {

	// 名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型: - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 对象类型: - IP - DOMAIN - DOMAIN_ID
	EntityType *string `json:"entity_type,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateAclStrategyV2Response Response Object

func (CreateAclStrategyV2Response) String

type CreateAnAppV2Request

type CreateAnAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateAnAppV2Request Request Object

func (CreateAnAppV2Request) String

func (o CreateAnAppV2Request) String() string

type CreateAnAppV2Response

type CreateAnAppV2Response struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云商店分配  暂不支持MARKET
	Creator *CreateAnAppV2ResponseCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *CreateAnAppV2ResponseStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用  默认apig,暂不支持其他类型
	AppType *CreateAnAppV2ResponseAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType    *string `json:"roma_app_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAnAppV2Response Response Object

func (CreateAnAppV2Response) String

func (o CreateAnAppV2Response) String() string

type CreateAnAppV2ResponseAppType

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

func (CreateAnAppV2ResponseAppType) MarshalJSON

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

func (*CreateAnAppV2ResponseAppType) UnmarshalJSON

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

func (CreateAnAppV2ResponseAppType) Value

type CreateAnAppV2ResponseAppTypeEnum

type CreateAnAppV2ResponseAppTypeEnum struct {
	APIG CreateAnAppV2ResponseAppType
	ROMA CreateAnAppV2ResponseAppType
}

func GetCreateAnAppV2ResponseAppTypeEnum

func GetCreateAnAppV2ResponseAppTypeEnum() CreateAnAppV2ResponseAppTypeEnum

type CreateAnAppV2ResponseCreator

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

func (CreateAnAppV2ResponseCreator) MarshalJSON

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

func (*CreateAnAppV2ResponseCreator) UnmarshalJSON

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

func (CreateAnAppV2ResponseCreator) Value

type CreateAnAppV2ResponseCreatorEnum

type CreateAnAppV2ResponseCreatorEnum struct {
	USER   CreateAnAppV2ResponseCreator
	MARKET CreateAnAppV2ResponseCreator
}

func GetCreateAnAppV2ResponseCreatorEnum

func GetCreateAnAppV2ResponseCreatorEnum() CreateAnAppV2ResponseCreatorEnum

type CreateAnAppV2ResponseStatus

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

func (CreateAnAppV2ResponseStatus) MarshalJSON

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

func (*CreateAnAppV2ResponseStatus) UnmarshalJSON

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

func (CreateAnAppV2ResponseStatus) Value

type CreateAnAppV2ResponseStatusEnum

type CreateAnAppV2ResponseStatusEnum struct {
	E_1 CreateAnAppV2ResponseStatus
}

func GetCreateAnAppV2ResponseStatusEnum

func GetCreateAnAppV2ResponseStatusEnum() CreateAnAppV2ResponseStatusEnum

type CreateApiAclBindingV2Request

type CreateApiAclBindingV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateApiAclBindingV2Request Request Object

func (CreateApiAclBindingV2Request) String

type CreateApiAclBindingV2Response

type CreateApiAclBindingV2Response struct {

	// API与ACL的绑定关系列表
	AclBindings    *[]AclApiBindingInfo `json:"acl_bindings,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateApiAclBindingV2Response Response Object

func (CreateApiAclBindingV2Response) String

type CreateApiGroupV2Request

type CreateApiGroupV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateApiGroupV2Request Request Object

func (CreateApiGroupV2Request) String

func (o CreateApiGroupV2Request) String() string

type CreateApiGroupV2Response

type CreateApiGroupV2Response struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status CreateApiGroupV2ResponseStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中  [暂不支持](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk)
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组  暂不支持,默认为V1
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称  暂不支持
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateApiGroupV2Response Response Object

func (CreateApiGroupV2Response) String

func (o CreateApiGroupV2Response) String() string

type CreateApiGroupV2ResponseStatus

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

func (CreateApiGroupV2ResponseStatus) MarshalJSON

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

func (*CreateApiGroupV2ResponseStatus) UnmarshalJSON

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

func (CreateApiGroupV2ResponseStatus) Value

type CreateApiGroupV2ResponseStatusEnum

type CreateApiGroupV2ResponseStatusEnum struct {
	E_1 CreateApiGroupV2ResponseStatus
}

func GetCreateApiGroupV2ResponseStatusEnum

func GetCreateApiGroupV2ResponseStatusEnum() CreateApiGroupV2ResponseStatusEnum

type CreateApiV2Request

type CreateApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateApiV2Request Request Object

func (CreateApiV2Request) String

func (o CreateApiV2Request) String() string

type CreateApiV2Response

type CreateApiV2Response struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type CreateApiV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol CreateApiV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod CreateApiV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType CreateApiV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *CreateApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType CreateApiV2ResponseBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *CreateApiV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

CreateApiV2Response Response Object

func (CreateApiV2Response) String

func (o CreateApiV2Response) String() string

type CreateApiV2ResponseAuthType

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

func (CreateApiV2ResponseAuthType) MarshalJSON

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

func (*CreateApiV2ResponseAuthType) UnmarshalJSON

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

func (CreateApiV2ResponseAuthType) Value

type CreateApiV2ResponseBackendType

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

func (CreateApiV2ResponseBackendType) MarshalJSON

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

func (*CreateApiV2ResponseBackendType) UnmarshalJSON

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

func (CreateApiV2ResponseBackendType) Value

type CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseBackendTypeEnum struct {
	HTTP     CreateApiV2ResponseBackendType
	FUNCTION CreateApiV2ResponseBackendType
	MOCK     CreateApiV2ResponseBackendType
}

func GetCreateApiV2ResponseBackendTypeEnum

func GetCreateApiV2ResponseBackendTypeEnum() CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseContentType

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

func (CreateApiV2ResponseContentType) MarshalJSON

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

func (*CreateApiV2ResponseContentType) UnmarshalJSON

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

func (CreateApiV2ResponseContentType) Value

type CreateApiV2ResponseContentTypeEnum

type CreateApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    CreateApiV2ResponseContentType
	APPLICATION_XML     CreateApiV2ResponseContentType
	MULTIPART_FORM_DATE CreateApiV2ResponseContentType
	TEXT_PLAIN          CreateApiV2ResponseContentType
}

func GetCreateApiV2ResponseContentTypeEnum

func GetCreateApiV2ResponseContentTypeEnum() CreateApiV2ResponseContentTypeEnum

type CreateApiV2ResponseMatchMode

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

func (CreateApiV2ResponseMatchMode) MarshalJSON

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

func (*CreateApiV2ResponseMatchMode) UnmarshalJSON

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

func (CreateApiV2ResponseMatchMode) Value

type CreateApiV2ResponseMatchModeEnum

type CreateApiV2ResponseMatchModeEnum struct {
	SWA    CreateApiV2ResponseMatchMode
	NORMAL CreateApiV2ResponseMatchMode
}

func GetCreateApiV2ResponseMatchModeEnum

func GetCreateApiV2ResponseMatchModeEnum() CreateApiV2ResponseMatchModeEnum

type CreateApiV2ResponseReqMethod

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

func (CreateApiV2ResponseReqMethod) MarshalJSON

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

func (*CreateApiV2ResponseReqMethod) UnmarshalJSON

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

func (CreateApiV2ResponseReqMethod) Value

type CreateApiV2ResponseReqProtocol

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

func (CreateApiV2ResponseReqProtocol) MarshalJSON

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

func (*CreateApiV2ResponseReqProtocol) UnmarshalJSON

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

func (CreateApiV2ResponseReqProtocol) Value

type CreateApiV2ResponseType

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

func (CreateApiV2ResponseType) MarshalJSON

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

func (*CreateApiV2ResponseType) UnmarshalJSON

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

func (CreateApiV2ResponseType) Value

func (c CreateApiV2ResponseType) Value() int32

type CreateApiV2ResponseTypeEnum

type CreateApiV2ResponseTypeEnum struct {
	E_1 CreateApiV2ResponseType
	E_2 CreateApiV2ResponseType
}

func GetCreateApiV2ResponseTypeEnum

func GetCreateApiV2ResponseTypeEnum() CreateApiV2ResponseTypeEnum

type CreateAppCodeAutoV2Request

type CreateAppCodeAutoV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

CreateAppCodeAutoV2Request Request Object

func (CreateAppCodeAutoV2Request) String

type CreateAppCodeAutoV2Response

type CreateAppCodeAutoV2Response struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAppCodeAutoV2Response Response Object

func (CreateAppCodeAutoV2Response) String

type CreateAppCodeV2Request

type CreateAppCodeV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

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

CreateAppCodeV2Request Request Object

func (CreateAppCodeV2Request) String

func (o CreateAppCodeV2Request) String() string

type CreateAppCodeV2Response

type CreateAppCodeV2Response struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateAppCodeV2Response Response Object

func (CreateAppCodeV2Response) String

func (o CreateAppCodeV2Response) String() string

type CreateAuthorizingAppsV2Request

type CreateAuthorizingAppsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateAuthorizingAppsV2Request Request Object

func (CreateAuthorizingAppsV2Request) String

type CreateAuthorizingAppsV2Response

type CreateAuthorizingAppsV2Response struct {

	// API与APP的授权关系列表
	Auths          *[]ApiAuthRelations `json:"auths,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

CreateAuthorizingAppsV2Response Response Object

func (CreateAuthorizingAppsV2Response) String

type CreateCertificateV2Request

type CreateCertificateV2Request struct {
	Body *CertificateForm `json:"body,omitempty"`
}

CreateCertificateV2Request Request Object

func (CreateCertificateV2Request) String

type CreateCertificateV2Response

type CreateCertificateV2Response struct {

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

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

	// 证书类型  - global:全局证书 - instance:实例证书
	Type *CreateCertificateV2ResponseType `json:"type,omitempty"`

	// 实例编码  - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码
	InstanceId *string `json:"instance_id,omitempty"`

	// 租户项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 域名
	CommonName *string `json:"common_name,omitempty"`

	// san扩展域名
	San *[]string `json:"san,omitempty"`

	// 有效期到
	NotAfter *sdktime.SdkTime `json:"not_after,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 是否存在信任的根证书CA。当绑定证书存在trusted_root_ca时为true。
	IsHasTrustedRootCa *bool `json:"is_has_trusted_root_ca,omitempty"`

	// 版本
	Version *int32 `json:"version,omitempty"`

	// 公司、组织
	Organization *[]string `json:"organization,omitempty"`

	// 部门
	OrganizationalUnit *[]string `json:"organizational_unit,omitempty"`

	// 城市
	Locality *[]string `json:"locality,omitempty"`

	// 省份
	State *[]string `json:"state,omitempty"`

	// 国家
	Country *[]string `json:"country,omitempty"`

	// 有效期从
	NotBefore *sdktime.SdkTime `json:"not_before,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 颁发者
	Issuer         *[]string `json:"issuer,omitempty"`
	HttpStatusCode int       `json:"-"`
}

CreateCertificateV2Response Response Object

func (CreateCertificateV2Response) String

type CreateCertificateV2ResponseType

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

func (CreateCertificateV2ResponseType) MarshalJSON

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

func (*CreateCertificateV2ResponseType) UnmarshalJSON

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

func (CreateCertificateV2ResponseType) Value

type CreateCertificateV2ResponseTypeEnum

type CreateCertificateV2ResponseTypeEnum struct {
	GLOBAL   CreateCertificateV2ResponseType
	INSTANCE CreateCertificateV2ResponseType
}

func GetCreateCertificateV2ResponseTypeEnum

func GetCreateCertificateV2ResponseTypeEnum() CreateCertificateV2ResponseTypeEnum

type CreateCustomAuthorizerV2Request

type CreateCustomAuthorizerV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateCustomAuthorizerV2Request Request Object

func (CreateCustomAuthorizerV2Request) String

type CreateCustomAuthorizerV2Response

type CreateCustomAuthorizerV2Response struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端  不支持修改
	Type CreateCustomAuthorizerV2ResponseType `json:"type"`

	// 只能为:FUNC
	AuthorizerType CreateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"`

	// 函数地址。
	AuthorizerUri string `json:"authorizer_uri"`

	// 函数版本。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerVersion *string `json:"authorizer_version,omitempty"`

	// 函数别名地址。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称  暂不支持
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateCustomAuthorizerV2Response Response Object

func (CreateCustomAuthorizerV2Response) String

type CreateCustomAuthorizerV2ResponseAuthorizerType

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

func (CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON

func (*CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON

func (CreateCustomAuthorizerV2ResponseAuthorizerType) Value

type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum

type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct {
	FUNC CreateCustomAuthorizerV2ResponseAuthorizerType
}

func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum

func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum() CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum

type CreateCustomAuthorizerV2ResponseType

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

func (CreateCustomAuthorizerV2ResponseType) MarshalJSON

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

func (*CreateCustomAuthorizerV2ResponseType) UnmarshalJSON

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

func (CreateCustomAuthorizerV2ResponseType) Value

type CreateCustomAuthorizerV2ResponseTypeEnum

type CreateCustomAuthorizerV2ResponseTypeEnum struct {
	FRONTEND CreateCustomAuthorizerV2ResponseType
	BACKEND  CreateCustomAuthorizerV2ResponseType
}

func GetCreateCustomAuthorizerV2ResponseTypeEnum

func GetCreateCustomAuthorizerV2ResponseTypeEnum() CreateCustomAuthorizerV2ResponseTypeEnum

type CreateEnvironmentV2Request

type CreateEnvironmentV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateEnvironmentV2Request Request Object

func (CreateEnvironmentV2Request) String

type CreateEnvironmentV2Response

type CreateEnvironmentV2Response struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`

	// 描述信息
	Remark *string `json:"remark,omitempty"`

	// 环境id
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEnvironmentV2Response Response Object

func (CreateEnvironmentV2Response) String

type CreateEnvironmentVariableV2Request

type CreateEnvironmentVariableV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateEnvironmentVariableV2Request Request Object

func (CreateEnvironmentVariableV2Request) String

type CreateEnvironmentVariableV2Response

type CreateEnvironmentVariableV2Response struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateEnvironmentVariableV2Response Response Object

func (CreateEnvironmentVariableV2Response) String

type CreateFeatureV2Request

type CreateFeatureV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateFeatureV2Request Request Object

func (CreateFeatureV2Request) String

func (o CreateFeatureV2Request) String() string

type CreateFeatureV2Response

type CreateFeatureV2Response struct {

	// 特性编号
	Id *string `json:"id,omitempty"`

	// 特性名称
	Name *string `json:"name,omitempty"`

	// 是否开启特性
	Enable *bool `json:"enable,omitempty"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例特性更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateFeatureV2Response Response Object

func (CreateFeatureV2Response) String

func (o CreateFeatureV2Response) String() string

type CreateGatewayResponseV2Request

type CreateGatewayResponseV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

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

CreateGatewayResponseV2Request Request Object

func (CreateGatewayResponseV2Request) String

type CreateGatewayResponseV2Response

type CreateGatewayResponseV2Response struct {

	// 响应名称
	Name *string `json:"name,omitempty"`

	// 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX - THIRD_AUTH_FAILURE: 第三方认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证身份来源错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证配置错误  每项错误类型均为一个JSON体
	Responses map[string]ResponseInfoResp `json:"responses,omitempty"`

	// 响应ID
	Id *string `json:"id,omitempty"`

	// 是否为分组默认响应
	Default *bool `json:"default,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 修改时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateGatewayResponseV2Response Response Object

func (CreateGatewayResponseV2Response) String

type CreateInstanceV2Request

type CreateInstanceV2Request struct {
	Body *InstanceCreateReq `json:"body,omitempty"`
}

CreateInstanceV2Request Request Object

func (CreateInstanceV2Request) String

func (o CreateInstanceV2Request) String() string

type CreateInstanceV2Response

type CreateInstanceV2Response struct {

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 创建实例任务信息
	Message *string `json:"message,omitempty"`

	// 任务编号
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateInstanceV2Response Response Object

func (CreateInstanceV2Response) String

func (o CreateInstanceV2Response) String() string

type CreateMemberGroupRequest

type CreateMemberGroupRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

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

CreateMemberGroupRequest Request Object

func (CreateMemberGroupRequest) String

func (o CreateMemberGroupRequest) String() string

type CreateMemberGroupResponse

type CreateMemberGroupResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// VPC通道后端服务器组列表
	MemberGroups   *[]MemberGroupInfo `json:"member_groups,omitempty"`
	HttpStatusCode int                `json:"-"`
}

CreateMemberGroupResponse Response Object

func (CreateMemberGroupResponse) String

func (o CreateMemberGroupResponse) String() string

type CreateOrDeletePublishRecordForApiV2Request

type CreateOrDeletePublishRecordForApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateOrDeletePublishRecordForApiV2Request Request Object

func (CreateOrDeletePublishRecordForApiV2Request) String

type CreateOrDeletePublishRecordForApiV2Response

type CreateOrDeletePublishRecordForApiV2Response struct {

	// 发布记录的ID
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 在线的版本号
	VersionId      *string `json:"version_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateOrDeletePublishRecordForApiV2Response Response Object

func (CreateOrDeletePublishRecordForApiV2Response) String

type CreatePluginRequest

type CreatePluginRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreatePluginRequest Request Object

func (CreatePluginRequest) String

func (o CreatePluginRequest) String() string

type CreatePluginResponse

type CreatePluginResponse struct {

	// 插件编码。
	PluginId *string `json:"plugin_id,omitempty"`

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType *CreatePluginResponsePluginType `json:"plugin_type,omitempty"`

	// 插件可见范围。global:全局可见;
	PluginScope *CreatePluginResponsePluginScope `json:"plugin_scope,omitempty"`

	// 插件定义内容,支持json。参考提供的具体模型定义  CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容
	PluginContent *string `json:"plugin_content,omitempty"`

	// 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

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

	// 更新时间。
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreatePluginResponse Response Object

func (CreatePluginResponse) String

func (o CreatePluginResponse) String() string

type CreatePluginResponsePluginScope

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

func (CreatePluginResponsePluginScope) MarshalJSON

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

func (*CreatePluginResponsePluginScope) UnmarshalJSON

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

func (CreatePluginResponsePluginScope) Value

type CreatePluginResponsePluginScopeEnum

type CreatePluginResponsePluginScopeEnum struct {
	GLOBAL CreatePluginResponsePluginScope
}

func GetCreatePluginResponsePluginScopeEnum

func GetCreatePluginResponsePluginScopeEnum() CreatePluginResponsePluginScopeEnum

type CreatePluginResponsePluginType

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

func (CreatePluginResponsePluginType) MarshalJSON

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

func (*CreatePluginResponsePluginType) UnmarshalJSON

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

func (CreatePluginResponsePluginType) Value

type CreateRequestThrottlingPolicyV2Request

type CreateRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateRequestThrottlingPolicyV2Request Request Object

func (CreateRequestThrottlingPolicyV2Request) String

type CreateRequestThrottlingPolicyV2Response

type CreateRequestThrottlingPolicyV2Response struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit CreateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *CreateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

CreateRequestThrottlingPolicyV2Response Response Object

func (CreateRequestThrottlingPolicyV2Response) String

type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle

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

func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value

type CreateRequestThrottlingPolicyV2ResponseTimeUnit

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

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value

type CreateRequestThrottlingPolicyV2ResponseType

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

func (CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseType) Value

type CreateSignatureKeyV2Request

type CreateSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateSignatureKeyV2Request Request Object

func (CreateSignatureKeyV2Request) String

type CreateSignatureKeyV2Response

type CreateSignatureKeyV2Response struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *CreateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。
	SignAlgorithm *CreateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateSignatureKeyV2Response Response Object

func (CreateSignatureKeyV2Response) String

type CreateSignatureKeyV2ResponseSignAlgorithm

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

func (CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON

func (*CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON

func (CreateSignatureKeyV2ResponseSignAlgorithm) Value

type CreateSignatureKeyV2ResponseSignAlgorithmEnum

type CreateSignatureKeyV2ResponseSignAlgorithmEnum struct {
	AES_128_CFB CreateSignatureKeyV2ResponseSignAlgorithm
	AES_256_CFB CreateSignatureKeyV2ResponseSignAlgorithm
}

func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum

func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum() CreateSignatureKeyV2ResponseSignAlgorithmEnum

type CreateSignatureKeyV2ResponseSignType

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

func (CreateSignatureKeyV2ResponseSignType) MarshalJSON

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

func (*CreateSignatureKeyV2ResponseSignType) UnmarshalJSON

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

func (CreateSignatureKeyV2ResponseSignType) Value

type CreateSpecialThrottlingConfigurationV2Request

type CreateSpecialThrottlingConfigurationV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

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

CreateSpecialThrottlingConfigurationV2Request Request Object

func (CreateSpecialThrottlingConfigurationV2Request) String

type CreateSpecialThrottlingConfigurationV2Response

type CreateSpecialThrottlingConfigurationV2Response struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 特殊对象的身份标识
	ObjectId *string `json:"object_id,omitempty"`

	// 特殊对象类型:APP、USER
	ObjectType *string `json:"object_type,omitempty"`

	// 作用的APP或租户的名称
	ObjectName *string `json:"object_name,omitempty"`

	// 流控策略编号
	ThrottleId     *string `json:"throttle_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateSpecialThrottlingConfigurationV2Response Response Object

func (CreateSpecialThrottlingConfigurationV2Response) String

type CreateVpcChannelV2Request

type CreateVpcChannelV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

CreateVpcChannelV2Request Request Object

func (CreateVpcChannelV2Request) String

func (o CreateVpcChannelV2Request) String() string

type CreateVpcChannelV2Response

type CreateVpcChannelV2Response struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy CreateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。 - ip - ecs
	MemberType CreateVpcChannelV2ResponseMemberType `json:"member_type"`

	// vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *CreateVpcChannelV2ResponseStatus `json:"status,omitempty"`

	// 后端云服务器组列表。
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

CreateVpcChannelV2Response Response Object

func (CreateVpcChannelV2Response) String

type CreateVpcChannelV2ResponseBalanceStrategy

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

func (CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON

func (*CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON

func (CreateVpcChannelV2ResponseBalanceStrategy) Value

type CreateVpcChannelV2ResponseMemberType

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

func (CreateVpcChannelV2ResponseMemberType) MarshalJSON

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

func (*CreateVpcChannelV2ResponseMemberType) UnmarshalJSON

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

func (CreateVpcChannelV2ResponseMemberType) Value

type CreateVpcChannelV2ResponseMemberTypeEnum

type CreateVpcChannelV2ResponseMemberTypeEnum struct {
	IP  CreateVpcChannelV2ResponseMemberType
	ECS CreateVpcChannelV2ResponseMemberType
}

func GetCreateVpcChannelV2ResponseMemberTypeEnum

func GetCreateVpcChannelV2ResponseMemberTypeEnum() CreateVpcChannelV2ResponseMemberTypeEnum

type CreateVpcChannelV2ResponseStatus

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

func (CreateVpcChannelV2ResponseStatus) MarshalJSON

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

func (*CreateVpcChannelV2ResponseStatus) UnmarshalJSON

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

func (CreateVpcChannelV2ResponseStatus) Value

type CreateVpcChannelV2ResponseStatusEnum

type CreateVpcChannelV2ResponseStatusEnum struct {
	E_1 CreateVpcChannelV2ResponseStatus
	E_2 CreateVpcChannelV2ResponseStatus
}

func GetCreateVpcChannelV2ResponseStatusEnum

func GetCreateVpcChannelV2ResponseStatusEnum() CreateVpcChannelV2ResponseStatusEnum

type DebugApiV2Request

type DebugApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

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

DebugApiV2Request Request Object

func (DebugApiV2Request) String

func (o DebugApiV2Request) String() string

type DebugApiV2Response

type DebugApiV2Response struct {

	// 调试请求报文内容
	Request *string `json:"request,omitempty"`

	// 调试响应报文内容,响应消息体最大支持2097152字节,超过部分会被截断 > 响应消息体超过限制长度时,超过部分会被截断,并追加\"[TRUNCATED]\"信息。
	Response *string `json:"response,omitempty"`

	// 调试耗时,单位:毫秒
	Latency *int32 `json:"latency,omitempty"`

	// 调试过程日志
	Log            *string `json:"log,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DebugApiV2Response Response Object

func (DebugApiV2Response) String

func (o DebugApiV2Response) String() string

type DeleteAclV2Request

type DeleteAclV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`
}

DeleteAclV2Request Request Object

func (DeleteAclV2Request) String

func (o DeleteAclV2Request) String() string

type DeleteAclV2Response

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

DeleteAclV2Response Response Object

func (DeleteAclV2Response) String

func (o DeleteAclV2Response) String() string

type DeleteApiAclBindingV2Request

type DeleteApiAclBindingV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 绑定关系编号
	AclBindingsId string `json:"acl_bindings_id"`
}

DeleteApiAclBindingV2Request Request Object

func (DeleteApiAclBindingV2Request) String

type DeleteApiAclBindingV2Response

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

DeleteApiAclBindingV2Response Response Object

func (DeleteApiAclBindingV2Response) String

type DeleteApiByVersionIdV2Request

type DeleteApiByVersionIdV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API版本的编号
	VersionId string `json:"version_id"`
}

DeleteApiByVersionIdV2Request Request Object

func (DeleteApiByVersionIdV2Request) String

type DeleteApiByVersionIdV2Response

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

DeleteApiByVersionIdV2Response Response Object

func (DeleteApiByVersionIdV2Response) String

type DeleteApiGroupV2Request

type DeleteApiGroupV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`
}

DeleteApiGroupV2Request Request Object

func (DeleteApiGroupV2Request) String

func (o DeleteApiGroupV2Request) String() string

type DeleteApiGroupV2Response

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

DeleteApiGroupV2Response Response Object

func (DeleteApiGroupV2Response) String

func (o DeleteApiGroupV2Response) String() string

type DeleteApiV2Request

type DeleteApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`
}

DeleteApiV2Request Request Object

func (DeleteApiV2Request) String

func (o DeleteApiV2Request) String() string

type DeleteApiV2Response

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

DeleteApiV2Response Response Object

func (DeleteApiV2Response) String

func (o DeleteApiV2Response) String() string

type DeleteAppCodeV2Request

type DeleteAppCodeV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// APP Code编号
	AppCodeId string `json:"app_code_id"`
}

DeleteAppCodeV2Request Request Object

func (DeleteAppCodeV2Request) String

func (o DeleteAppCodeV2Request) String() string

type DeleteAppCodeV2Response

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

DeleteAppCodeV2Response Response Object

func (DeleteAppCodeV2Response) String

func (o DeleteAppCodeV2Response) String() string

type DeleteAppV2Request

type DeleteAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

DeleteAppV2Request Request Object

func (DeleteAppV2Request) String

func (o DeleteAppV2Request) String() string

type DeleteAppV2Response

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

DeleteAppV2Response Response Object

func (DeleteAppV2Response) String

func (o DeleteAppV2Response) String() string

type DeleteBackendInstanceV2Request

type DeleteBackendInstanceV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// 后端实例对象的编号
	MemberId string `json:"member_id"`
}

DeleteBackendInstanceV2Request Request Object

func (DeleteBackendInstanceV2Request) String

type DeleteBackendInstanceV2Response

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

DeleteBackendInstanceV2Response Response Object

func (DeleteBackendInstanceV2Response) String

type DeleteCertificateV2Request

type DeleteCertificateV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

DeleteCertificateV2Request Request Object

func (DeleteCertificateV2Request) String

type DeleteCertificateV2Response

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

DeleteCertificateV2Response Response Object

func (DeleteCertificateV2Response) String

type DeleteCustomAuthorizerV2Request

type DeleteCustomAuthorizerV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`
}

DeleteCustomAuthorizerV2Request Request Object

func (DeleteCustomAuthorizerV2Request) String

type DeleteCustomAuthorizerV2Response

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

DeleteCustomAuthorizerV2Response Response Object

func (DeleteCustomAuthorizerV2Response) String

type DeleteEnvironmentV2Request

type DeleteEnvironmentV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 环境的ID
	EnvId string `json:"env_id"`
}

DeleteEnvironmentV2Request Request Object

func (DeleteEnvironmentV2Request) String

type DeleteEnvironmentV2Response

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

DeleteEnvironmentV2Response Response Object

func (DeleteEnvironmentV2Response) String

type DeleteEnvironmentVariableV2Request

type DeleteEnvironmentVariableV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`
}

DeleteEnvironmentVariableV2Request Request Object

func (DeleteEnvironmentVariableV2Request) String

type DeleteEnvironmentVariableV2Response

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

DeleteEnvironmentVariableV2Response Response Object

func (DeleteEnvironmentVariableV2Response) String

type DeleteGatewayResponseTypeV2Request

type DeleteGatewayResponseTypeV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`

	// 错误类型 - AUTH_FAILURE: 认证失败,IAM或APP认证校验失败 - AUTH_HEADER_MISSING: 认证身份来源信息缺失 - AUTHORIZER_FAILURE: 自定义认证方返回认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证方异常,通信失败、返回异常响应等错误 - AUTHORIZER_IDENTITIES_FAILURE: 前端自定义认证的身份来源信息缺失或不合法错误 - BACKEND_UNAVAILABLE: 后端不可用,网络不可达错误 - BACKEND_TIMEOUT: 后端超时,与后端的网络交互超过预配置的时间错误 - THROTTLED: API调用次数超出所配置的流量策略阈值 - UNAUTHORIZED: 使用的凭据未被授权访问该API - ACCESS_DENIED: 拒绝访问,如触发配置的访问控制策略、或异常攻击检测拦截 - NOT_FOUND: 未匹配到API错误 - REQUEST_PARAMETERS_FAILURE: 请求参数校验失败、不支持的HTTP方法 - DEFAULT_4XX: 其它4XX类错误 - DEFAULT_5XX: 其它5XX类错误 - THIRD_AUTH_FAILURE: 第三方认证方返回认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证的身份来源信息缺失或不合法错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证方异常,通信失败、返回异常响应等错误
	ResponseType DeleteGatewayResponseTypeV2RequestResponseType `json:"response_type"`
}

DeleteGatewayResponseTypeV2Request Request Object

func (DeleteGatewayResponseTypeV2Request) String

type DeleteGatewayResponseTypeV2RequestResponseType

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

func (DeleteGatewayResponseTypeV2RequestResponseType) MarshalJSON

func (*DeleteGatewayResponseTypeV2RequestResponseType) UnmarshalJSON

func (DeleteGatewayResponseTypeV2RequestResponseType) Value

type DeleteGatewayResponseTypeV2Response

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

DeleteGatewayResponseTypeV2Response Response Object

func (DeleteGatewayResponseTypeV2Response) String

type DeleteGatewayResponseV2Request

type DeleteGatewayResponseV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`
}

DeleteGatewayResponseV2Request Request Object

func (DeleteGatewayResponseV2Request) String

type DeleteGatewayResponseV2Response

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

DeleteGatewayResponseV2Response Response Object

func (DeleteGatewayResponseV2Response) String

type DeleteInstancesV2Request

type DeleteInstancesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

DeleteInstancesV2Request Request Object

func (DeleteInstancesV2Request) String

func (o DeleteInstancesV2Request) String() string

type DeleteInstancesV2Response

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

DeleteInstancesV2Response Response Object

func (DeleteInstancesV2Response) String

func (o DeleteInstancesV2Response) String() string

type DeleteMemberGroupRequest

type DeleteMemberGroupRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`
}

DeleteMemberGroupRequest Request Object

func (DeleteMemberGroupRequest) String

func (o DeleteMemberGroupRequest) String() string

type DeleteMemberGroupResponse

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

DeleteMemberGroupResponse Response Object

func (DeleteMemberGroupResponse) String

func (o DeleteMemberGroupResponse) String() string

type DeletePluginRequest

type DeletePluginRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 插件编号
	PluginId string `json:"plugin_id"`
}

DeletePluginRequest Request Object

func (DeletePluginRequest) String

func (o DeletePluginRequest) String() string

type DeletePluginResponse

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

DeletePluginResponse Response Object

func (DeletePluginResponse) String

func (o DeletePluginResponse) String() string

type DeleteRequestThrottlingPolicyV2Request

type DeleteRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`
}

DeleteRequestThrottlingPolicyV2Request Request Object

func (DeleteRequestThrottlingPolicyV2Request) String

type DeleteRequestThrottlingPolicyV2Response

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

DeleteRequestThrottlingPolicyV2Response Response Object

func (DeleteRequestThrottlingPolicyV2Response) String

type DeleteSignatureKeyV2Request

type DeleteSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 签名密钥编号
	SignId string `json:"sign_id"`
}

DeleteSignatureKeyV2Request Request Object

func (DeleteSignatureKeyV2Request) String

type DeleteSignatureKeyV2Response

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

DeleteSignatureKeyV2Response Response Object

func (DeleteSignatureKeyV2Response) String

type DeleteSpecialThrottlingConfigurationV2Request

type DeleteSpecialThrottlingConfigurationV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 特殊配置的编号
	StrategyId string `json:"strategy_id"`
}

DeleteSpecialThrottlingConfigurationV2Request Request Object

func (DeleteSpecialThrottlingConfigurationV2Request) String

type DeleteSpecialThrottlingConfigurationV2Response

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

DeleteSpecialThrottlingConfigurationV2Response Response Object

func (DeleteSpecialThrottlingConfigurationV2Response) String

type DeleteVpcChannelV2Request

type DeleteVpcChannelV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`
}

DeleteVpcChannelV2Request Request Object

func (DeleteVpcChannelV2Request) String

func (o DeleteVpcChannelV2Request) String() string

type DeleteVpcChannelV2Response

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

DeleteVpcChannelV2Response Response Object

func (DeleteVpcChannelV2Response) String

type DetachApiFromPluginRequest

type DetachApiFromPluginRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 插件编号
	PluginId string `json:"plugin_id"`

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

DetachApiFromPluginRequest Request Object

func (DetachApiFromPluginRequest) String

type DetachApiFromPluginResponse

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

DetachApiFromPluginResponse Response Object

func (DetachApiFromPluginResponse) String

type DetachPluginFromApiRequest

type DetachPluginFromApiRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API编号
	ApiId string `json:"api_id"`

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

DetachPluginFromApiRequest Request Object

func (DetachPluginFromApiRequest) String

type DetachPluginFromApiResponse

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

DetachPluginFromApiResponse Response Object

func (DetachPluginFromApiResponse) String

type DisassociateCertificateV2Request

type DisassociateCertificateV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

DisassociateCertificateV2Request Request Object

func (DisassociateCertificateV2Request) String

type DisassociateCertificateV2Response

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

DisassociateCertificateV2Response Response Object

func (DisassociateCertificateV2Response) String

type DisassociateDomainV2Request

type DisassociateDomainV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`
}

DisassociateDomainV2Request Request Object

func (DisassociateDomainV2Request) String

type DisassociateDomainV2Response

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

DisassociateDomainV2Response Response Object

func (DisassociateDomainV2Response) String

type DisassociateRequestThrottlingPolicyV2Request

type DisassociateRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API和流控策略绑定关系的编号
	ThrottleBindingId string `json:"throttle_binding_id"`
}

DisassociateRequestThrottlingPolicyV2Request Request Object

func (DisassociateRequestThrottlingPolicyV2Request) String

type DisassociateRequestThrottlingPolicyV2Response

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

DisassociateRequestThrottlingPolicyV2Response Response Object

func (DisassociateRequestThrottlingPolicyV2Response) String

type DisassociateSignatureKeyV2Request

type DisassociateSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API与签名密钥的绑定关系编号
	SignBindingsId string `json:"sign_bindings_id"`
}

DisassociateSignatureKeyV2Request Request Object

func (DisassociateSignatureKeyV2Request) String

type DisassociateSignatureKeyV2Response

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

DisassociateSignatureKeyV2Response Response Object

func (DisassociateSignatureKeyV2Response) String

type EipBindReq

type EipBindReq struct {

	// 弹性公网IP编号
	EipId *string `json:"eip_id,omitempty"`
}

func (EipBindReq) String

func (o EipBindReq) String() string

type EndpointService

type EndpointService struct {

	// 终端节点服务名称
	ServiceName *string `json:"service_name,omitempty"`

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

func (EndpointService) String

func (o EndpointService) String() string

type EnvCreate

type EnvCreate struct {

	// 环境的名称,支持英文,数字,下划线,且只能以英文字母开头。
	Name string `json:"name"`

	// 描述信息 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (EnvCreate) String

func (o EnvCreate) String() string

type EnvInfo

type EnvInfo struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`

	// 描述信息
	Remark *string `json:"remark,omitempty"`

	// 环境id
	Id *string `json:"id,omitempty"`
}

func (EnvInfo) String

func (o EnvInfo) String() string

type EnvVariableBase

type EnvVariableBase struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`
}

func (EnvVariableBase) String

func (o EnvVariableBase) String() string

type EnvVariableCreate

type EnvVariableCreate struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`
}

func (EnvVariableCreate) String

func (o EnvVariableCreate) String() string

type EnvVariableInfo

type EnvVariableInfo struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id *string `json:"id,omitempty"`
}

func (EnvVariableInfo) String

func (o EnvVariableInfo) String() string

type ExportApiDefinitionsV2Request

type ExportApiDefinitionsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// OpenAPI版本
	OasVersion *ExportApiDefinitionsV2RequestOasVersion `json:"oas_version,omitempty"`

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

ExportApiDefinitionsV2Request Request Object

func (ExportApiDefinitionsV2Request) String

type ExportApiDefinitionsV2RequestOasVersion

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

func (ExportApiDefinitionsV2RequestOasVersion) MarshalJSON

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

func (*ExportApiDefinitionsV2RequestOasVersion) UnmarshalJSON

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

func (ExportApiDefinitionsV2RequestOasVersion) Value

type ExportApiDefinitionsV2RequestOasVersionEnum

type ExportApiDefinitionsV2RequestOasVersionEnum struct {
	E_2_0 ExportApiDefinitionsV2RequestOasVersion
	E_3_0 ExportApiDefinitionsV2RequestOasVersion
}

func GetExportApiDefinitionsV2RequestOasVersionEnum

func GetExportApiDefinitionsV2RequestOasVersionEnum() ExportApiDefinitionsV2RequestOasVersionEnum

type ExportApiDefinitionsV2Response

type ExportApiDefinitionsV2Response struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

ExportApiDefinitionsV2Response Response Object

func (ExportApiDefinitionsV2Response) Consume

func (o ExportApiDefinitionsV2Response) Consume(writer io.Writer) (int64, error)

func (ExportApiDefinitionsV2Response) String

type ExportOpenApiReq

type ExportOpenApiReq struct {

	// API分组发布的环境ID
	EnvId string `json:"env_id"`

	// API分组ID
	GroupId string `json:"group_id"`

	// 导出API的定义范围: - spec:基础定义,只包括api前端定义 - proxy:全量定义,包括api前后端定义 - all:扩展定义,包括api前后端定义以及流控、访问控制、自定义认证等扩展定义 - dev:开发定义,包括未发布的api的前后端定义
	Define *ExportOpenApiReqDefine `json:"define,omitempty"`

	// 导出的API定义的格式
	Type *ExportOpenApiReqType `json:"type,omitempty"`

	// 导出的API定义版本,默认为当前时间
	Version *string `json:"version,omitempty"`

	// 导出的API ID列表
	Apis *[]string `json:"apis,omitempty"`
}

func (ExportOpenApiReq) String

func (o ExportOpenApiReq) String() string

type ExportOpenApiReqDefine

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

func (ExportOpenApiReqDefine) MarshalJSON

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

func (*ExportOpenApiReqDefine) UnmarshalJSON

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

func (ExportOpenApiReqDefine) Value

func (c ExportOpenApiReqDefine) Value() string

type ExportOpenApiReqDefineEnum

type ExportOpenApiReqDefineEnum struct {
	SPEC  ExportOpenApiReqDefine
	PROXY ExportOpenApiReqDefine
	ALL   ExportOpenApiReqDefine
	DEV   ExportOpenApiReqDefine
}

func GetExportOpenApiReqDefineEnum

func GetExportOpenApiReqDefineEnum() ExportOpenApiReqDefineEnum

type ExportOpenApiReqType

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

func (ExportOpenApiReqType) MarshalJSON

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

func (*ExportOpenApiReqType) UnmarshalJSON

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

func (ExportOpenApiReqType) Value

func (c ExportOpenApiReqType) Value() string

type ExportOpenApiReqTypeEnum

type ExportOpenApiReqTypeEnum struct {
	JSON ExportOpenApiReqType
	YAML ExportOpenApiReqType
	YML  ExportOpenApiReqType
}

func GetExportOpenApiReqTypeEnum

func GetExportOpenApiReqTypeEnum() ExportOpenApiReqTypeEnum

type Failure

type Failure struct {

	// API请求路径
	Path *string `json:"path,omitempty"`

	// 导入失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// API请求方法
	Method *string `json:"method,omitempty"`

	// 导入失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`
}

func (Failure) String

func (o Failure) String() string

type FeatureInfo

type FeatureInfo struct {

	// 特性编号
	Id *string `json:"id,omitempty"`

	// 特性名称
	Name *string `json:"name,omitempty"`

	// 是否开启特性
	Enable *bool `json:"enable,omitempty"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例特性更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (FeatureInfo) String

func (o FeatureInfo) String() string

type FeatureToggle

type FeatureToggle struct {

	// 特性名称
	Name string `json:"name"`

	// 是否开启特性
	Enable bool `json:"enable"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`
}

func (FeatureToggle) String

func (o FeatureToggle) String() string

type Identity

type Identity struct {

	// 参数名称
	Name string `json:"name"`

	// 参数位置
	Location IdentityLocation `json:"location"`

	// 参数校验表达式,默认为null,不做校验
	Validation *string `json:"validation,omitempty"`
}

func (Identity) String

func (o Identity) String() string

type IdentityLocation

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

func (IdentityLocation) MarshalJSON

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

func (*IdentityLocation) UnmarshalJSON

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

func (IdentityLocation) Value

func (c IdentityLocation) Value() string

type IdentityLocationEnum

type IdentityLocationEnum struct {
	HEADER IdentityLocation
	QUERY  IdentityLocation
}

func GetIdentityLocationEnum

func GetIdentityLocationEnum() IdentityLocationEnum

type Ignore

type Ignore struct {

	// API请求方法
	Method *string `json:"method,omitempty"`

	// API请求路径
	Path *string `json:"path,omitempty"`
}

func (Ignore) String

func (o Ignore) String() string

type ImportApiDefinitionsV2Request

type ImportApiDefinitionsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	Body *ImportApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"`
}

ImportApiDefinitionsV2Request Request Object

func (ImportApiDefinitionsV2Request) String

type ImportApiDefinitionsV2RequestBody

type ImportApiDefinitionsV2RequestBody struct {

	// 是否创建新分组
	IsCreateGroup *def.MultiPart `json:"is_create_group,omitempty"`

	// API分组编号,当is_create_group=false时为必填
	GroupId *def.MultiPart `json:"group_id,omitempty"`

	// 扩展信息导入模式 - merge:当扩展信息定义冲突时,merge保留原有扩展信息 - override:当扩展信息定义冲突时,override会覆盖原有扩展信息
	ExtendMode *def.MultiPart `json:"extend_mode,omitempty"`

	// 是否开启简易导入模式
	SimpleMode *def.MultiPart `json:"simple_mode,omitempty"`

	// 是否开启Mock后端
	MockMode *def.MultiPart `json:"mock_mode,omitempty"`

	// 导入模式 - merge:当API信息定义冲突时,merge保留原有API信息 - override:当API信息定义冲突时,override会覆盖原有API信息
	ApiMode *def.MultiPart `json:"api_mode,omitempty"`

	// 导入Api的请求体,json或yaml格式的文件
	FileName *def.FilePart `json:"file_name"`
}

func (ImportApiDefinitionsV2RequestBody) String

func (*ImportApiDefinitionsV2RequestBody) UnmarshalJSON

func (o *ImportApiDefinitionsV2RequestBody) UnmarshalJSON(b []byte) error

type ImportApiDefinitionsV2RequestBodyApiMode

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

func (ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON

func (*ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON

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

func (ImportApiDefinitionsV2RequestBodyApiMode) Value

type ImportApiDefinitionsV2RequestBodyApiModeEnum

type ImportApiDefinitionsV2RequestBodyApiModeEnum struct {
	MERGE    ImportApiDefinitionsV2RequestBodyApiMode
	OVERRIDE ImportApiDefinitionsV2RequestBodyApiMode
}

func GetImportApiDefinitionsV2RequestBodyApiModeEnum

func GetImportApiDefinitionsV2RequestBodyApiModeEnum() ImportApiDefinitionsV2RequestBodyApiModeEnum

type ImportApiDefinitionsV2RequestBodyExtendMode

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

func (ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON

func (*ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON

func (ImportApiDefinitionsV2RequestBodyExtendMode) Value

type ImportApiDefinitionsV2Response

type ImportApiDefinitionsV2Response struct {

	// 导入成功信息
	Success *[]Success `json:"success,omitempty"`

	// 导入失败信息
	Failure *[]Failure `json:"failure,omitempty"`

	Swagger *Swagger `json:"swagger,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 被忽略导入的API信息
	Ignore         *[]Ignore `json:"ignore,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ImportApiDefinitionsV2Response Response Object

func (ImportApiDefinitionsV2Response) String

type ImportBaseResult

type ImportBaseResult struct {

	// 导入成功信息
	Success *[]Success `json:"success,omitempty"`

	// 导入失败信息
	Failure *[]Failure `json:"failure,omitempty"`

	Swagger *Swagger `json:"swagger,omitempty"`
}

func (ImportBaseResult) String

func (o ImportBaseResult) String() string

type ImportMicroserviceRequest

type ImportMicroserviceRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

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

ImportMicroserviceRequest Request Object

func (ImportMicroserviceRequest) String

func (o ImportMicroserviceRequest) String() string

type ImportMicroserviceResponse

type ImportMicroserviceResponse struct {

	// vpc通道编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// api分组编号
	ApiGroupId *string `json:"api_group_id,omitempty"`

	// 导入的api列表
	Apis           *[]MicroserviceImportApiResp `json:"apis,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ImportMicroserviceResponse Response Object

func (ImportMicroserviceResponse) String

type InnerLatencyStats

type InnerLatencyStats struct {

	// 最大网关内部延时  单位:ms
	MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"`

	// 平均网关内部延时  单位:ms
	AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"`
}

func (InnerLatencyStats) String

func (o InnerLatencyStats) String() string

type InstanceAbstractReq

type InstanceAbstractReq struct {

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。  在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。  在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。
	MaintainEnd *string `json:"maintain_end,omitempty"`
}

func (InstanceAbstractReq) String

func (o InstanceAbstractReq) String() string

type InstanceConfig

type InstanceConfig struct {

	// 配额编号
	ConfigId *string `json:"config_id,omitempty"`

	// 配额名称
	ConfigName *InstanceConfigConfigName `json:"config_name,omitempty"`

	// 配额值  当前实例所在租户该配额对应的数量
	ConfigValue *string `json:"config_value,omitempty"`

	// 配额创建时间
	ConfigTime *sdktime.SdkTime `json:"config_time,omitempty"`

	// 配额描述 - INSTANCE_NUM_LIMIT:租户可以创建的实例个数限制
	Remark *string `json:"remark,omitempty"`
}

func (InstanceConfig) String

func (o InstanceConfig) String() string

type InstanceConfigConfigName

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

func (InstanceConfigConfigName) MarshalJSON

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

func (*InstanceConfigConfigName) UnmarshalJSON

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

func (InstanceConfigConfigName) Value

func (c InstanceConfigConfigName) Value() string

type InstanceConfigConfigNameEnum

type InstanceConfigConfigNameEnum struct {
	INSTANCE_NUM_LIMIT InstanceConfigConfigName
}

func GetInstanceConfigConfigNameEnum

func GetInstanceConfigConfigNameEnum() InstanceConfigConfigNameEnum

type InstanceCreateReq

type InstanceCreateReq struct {

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。  在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。  在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例编号,不填写自动生成
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例
	SpecId *InstanceCreateReqSpecId `json:"spec_id,omitempty"`

	// 虚拟私有云ID。  获取方法如下:   - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。   - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询VPC列表”章节。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的网络ID。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询子网列表”章节。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 指定实例所属的安全组。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 弹性公网IP ID。  实例需要开启公网访问,且loadbalancer_provider为lvs时需要填写,绑定后使用者可以通过该入口从公网访问APIG实例中的API等资源  获取方法:登录虚拟私有云服务的控制台界面,在弹性公网IP的详情页面查找弹性公网IP ID。
	EipId *string `json:"eip_id,omitempty"`

	// 企业项目ID,企业帐号必填。  获取方法如下: - 方法1:登录企业项目管理界面,在项目管理详情页面查找项目ID。 - 方法2:通过企业项目管理的API接口查询,具体方法请参见《企业管理API参考》的“查询企业项目列表”章节。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 可用区列表。  可用区指在同一地域下,电力、网络隔离的物理区域,可用区之内内网互通,不同可用区之间物理隔离。选择多个AZ部署可以有效提升可靠性。  获取方法:通过文档中实例管理的可用区列表接口查询。
	AvailableZoneIds *[]string `json:"available_zone_ids,omitempty"`

	// 出公网带宽  实例需要开启出公网功能时需要填写,绑定后使用者可以利用该出口访问公网上的互联网资源
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 出公网带宽计费类型,实例需要开启出公网功能时需要填写: - bandwidth:按带宽计费 - traffic:按流量计费
	BandwidthChargingMode *InstanceCreateReqBandwidthChargingMode `json:"bandwidth_charging_mode,omitempty"`

	// 公网访问是否支持IPv6。  当前仅部分region部分可用区支持IPv6
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	// 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持
	LoadbalancerProvider *InstanceCreateReqLoadbalancerProvider `json:"loadbalancer_provider,omitempty"`

	// 标签列表。  一个实例默认最多支持创建20个标签
	Tags *[]TmsKeyValue `json:"tags,omitempty"`

	// 终端节点服务的名称。  长度不超过16个字符,允许输入大小写字母、数字、下划线、中划线。  如果您不填写该参数,系统生成的终端节点服务的名称为{region}.apig.{service_id}。 如果您填写该参数,系统生成的终端节点服务的名称为{region}.{vpcep_service_name}.{service_id}。 实例创建完成后,可以在实例管理->终端节点管理页面修改该名称。
	VpcepServiceName *string `json:"vpcep_service_name,omitempty"`

	// 入公网带宽  实例需要开启入公网功能,且loadbalancer_provider为elb时需要填写,绑定后使用者可以通过该入口从公网访问APIG实例中的API等资源
	IngressBandwidthSize *int32 `json:"ingress_bandwidth_size,omitempty"`

	// 入公网带宽计费类型,实例需要开启入公网功能,且loadbalancer_provider为elb时需要填写: - bandwidth:按带宽计费 - traffic:按流量计费
	IngressBandwidthChargingMode *InstanceCreateReqIngressBandwidthChargingMode `json:"ingress_bandwidth_charging_mode,omitempty"`
}

func (InstanceCreateReq) String

func (o InstanceCreateReq) String() string

type InstanceCreateReqBandwidthChargingMode

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

func (InstanceCreateReqBandwidthChargingMode) MarshalJSON

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

func (*InstanceCreateReqBandwidthChargingMode) UnmarshalJSON

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

func (InstanceCreateReqBandwidthChargingMode) Value

type InstanceCreateReqBandwidthChargingModeEnum

type InstanceCreateReqBandwidthChargingModeEnum struct {
	BANDWIDTH InstanceCreateReqBandwidthChargingMode
	TRAFFIC   InstanceCreateReqBandwidthChargingMode
}

func GetInstanceCreateReqBandwidthChargingModeEnum

func GetInstanceCreateReqBandwidthChargingModeEnum() InstanceCreateReqBandwidthChargingModeEnum

type InstanceCreateReqIngressBandwidthChargingMode

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

func (InstanceCreateReqIngressBandwidthChargingMode) MarshalJSON

func (*InstanceCreateReqIngressBandwidthChargingMode) UnmarshalJSON

func (InstanceCreateReqIngressBandwidthChargingMode) Value

type InstanceCreateReqLoadbalancerProvider

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

func (InstanceCreateReqLoadbalancerProvider) MarshalJSON

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

func (*InstanceCreateReqLoadbalancerProvider) UnmarshalJSON

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

func (InstanceCreateReqLoadbalancerProvider) Value

type InstanceCreateReqLoadbalancerProviderEnum

type InstanceCreateReqLoadbalancerProviderEnum struct {
	LVS InstanceCreateReqLoadbalancerProvider
	ELB InstanceCreateReqLoadbalancerProvider
}

func GetInstanceCreateReqLoadbalancerProviderEnum

func GetInstanceCreateReqLoadbalancerProviderEnum() InstanceCreateReqLoadbalancerProviderEnum

type InstanceCreateReqSpecId

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

func (InstanceCreateReqSpecId) MarshalJSON

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

func (*InstanceCreateReqSpecId) UnmarshalJSON

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

func (InstanceCreateReqSpecId) Value

func (c InstanceCreateReqSpecId) Value() string

type InstanceCreateReqSpecIdEnum

type InstanceCreateReqSpecIdEnum struct {
	BASIC             InstanceCreateReqSpecId
	PROFESSIONAL      InstanceCreateReqSpecId
	ENTERPRISE        InstanceCreateReqSpecId
	PLATINUM          InstanceCreateReqSpecId
	BASIC_IPV6        InstanceCreateReqSpecId
	PROFESSIONAL_IPV6 InstanceCreateReqSpecId
	ENTERPRISE_IPV6   InstanceCreateReqSpecId
	PLATINUM_IPV6     InstanceCreateReqSpecId
}

func GetInstanceCreateReqSpecIdEnum

func GetInstanceCreateReqSpecIdEnum() InstanceCreateReqSpecIdEnum

type InstanceModReq

type InstanceModReq struct {

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。  在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// 维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。  在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 指定实例所属的安全组。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// 终端节点服务的名称。  长度不超过16个字符,允许输入大小写字母、数字、下划线、中划线。  如果您不填写该参数,系统生成的终端节点服务的名称为{region}.apig.{service_id}。 如果您填写该参数,系统生成的终端节点服务的名称为{region}.{vpcep_service_name}.{service_id}。
	VpcepServiceName *string `json:"vpcep_service_name,omitempty"`
}

func (InstanceModReq) String

func (o InstanceModReq) String() string

type IpDetails

type IpDetails struct {

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

	// 带宽大小
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`
}

func (IpDetails) String

func (o IpDetails) String() string

type LatencyStats

type LatencyStats struct {

	// 最大延时  单位:ms
	MaxLatency *int32 `json:"max_latency,omitempty"`

	// 平均延时  单位:ms
	AvgLatency *float32 `json:"avg_latency,omitempty"`
}

func (LatencyStats) String

func (o LatencyStats) String() string

type ListAclPolicyBindedToApiV2Request

type ListAclPolicyBindedToApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId string `json:"api_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 环境名称
	EnvName *string `json:"env_name,omitempty"`

	// ACL策略编号
	AclId *string `json:"acl_id,omitempty"`

	// ACL策略名称
	AclName *string `json:"acl_name,omitempty"`
}

ListAclPolicyBindedToApiV2Request Request Object

func (ListAclPolicyBindedToApiV2Request) String

type ListAclPolicyBindedToApiV2Response

type ListAclPolicyBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的ACL列表
	Acls           *[]ApiBindAclInfo `json:"acls,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListAclPolicyBindedToApiV2Response Response Object

func (ListAclPolicyBindedToApiV2Response) String

type ListAclStrategiesV2Request

type ListAclStrategiesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// ACL策略编号。
	Id *string `json:"id,omitempty"`

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

	// 类型 - PERMIT (白名单类型) - DENY (黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// 作用的对象类型: - IP - DOMAIN
	EntityType *string `json:"entity_type,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持name
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListAclStrategiesV2Request Request Object

func (ListAclStrategiesV2Request) String

type ListAclStrategiesV2Response

type ListAclStrategiesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的ACL策略列表
	Acls           *[]ApiAclInfoWithBindNum `json:"acls,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

ListAclStrategiesV2Response Response Object

func (ListAclStrategiesV2Response) String

type ListApiAttachablePluginsRequest

type ListApiAttachablePluginsRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId string `json:"api_id"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 插件名称
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件类型
	PluginType *string `json:"plugin_type,omitempty"`

	// 插件编号
	PluginId *string `json:"plugin_id,omitempty"`
}

ListApiAttachablePluginsRequest Request Object

func (ListApiAttachablePluginsRequest) String

type ListApiAttachablePluginsResponse

type ListApiAttachablePluginsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 插件列表。
	Plugins        *[]PluginInfo `json:"plugins,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListApiAttachablePluginsResponse Response Object

func (ListApiAttachablePluginsResponse) String

type ListApiAttachedPluginsRequest

type ListApiAttachedPluginsRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId string `json:"api_id"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 插件名称
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件编号
	PluginId *string `json:"plugin_id,omitempty"`

	// 环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 插件类型
	PluginType *string `json:"plugin_type,omitempty"`
}

ListApiAttachedPluginsRequest Request Object

func (ListApiAttachedPluginsRequest) String

type ListApiAttachedPluginsResponse

type ListApiAttachedPluginsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 绑定API的插件列表。
	Plugins        *[]AttachedPluginInfo `json:"plugins,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListApiAttachedPluginsResponse Response Object

func (ListApiAttachedPluginsResponse) String

type ListApiGroupsQuantitiesV2Request

type ListApiGroupsQuantitiesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

ListApiGroupsQuantitiesV2Request Request Object

func (ListApiGroupsQuantitiesV2Request) String

type ListApiGroupsQuantitiesV2Response

type ListApiGroupsQuantitiesV2Response struct {

	// 未上架的API分组个数  暂不支持
	OffsellNums *int32 `json:"offsell_nums,omitempty"`

	// 已上架的API分组个数
	OnsellNums     *int32 `json:"onsell_nums,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListApiGroupsQuantitiesV2Response Response Object

func (ListApiGroupsQuantitiesV2Response) String

type ListApiGroupsV2Request

type ListApiGroupsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API分组编号
	Id *string `json:"id,omitempty"`

	// API分组名称
	Name *string `json:"name,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持API分组名称
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListApiGroupsV2Request Request Object

func (ListApiGroupsV2Request) String

func (o ListApiGroupsV2Request) String() string

type ListApiGroupsV2Response

type ListApiGroupsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 分组列表
	Groups         *[]ApiGroupInfo `json:"groups,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListApiGroupsV2Response Response Object

func (ListApiGroupsV2Response) String

func (o ListApiGroupsV2Response) String() string

type ListApiQuantitiesV2Request

type ListApiQuantitiesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

ListApiQuantitiesV2Request Request Object

func (ListApiQuantitiesV2Request) String

type ListApiQuantitiesV2Response

type ListApiQuantitiesV2Response struct {

	// API总个数
	InstanceNum *int32 `json:"instance_num,omitempty"`

	// 已发布到release环境的API个数
	NumsOnRelease *int32 `json:"nums_on_release,omitempty"`

	// 未发布到release环境的API个数
	NumsOffRelease *int32 `json:"nums_off_release,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListApiQuantitiesV2Response Response Object

func (ListApiQuantitiesV2Response) String

type ListApiRuntimeDefinitionV2Request

type ListApiRuntimeDefinitionV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	// API的发布环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListApiRuntimeDefinitionV2Request Request Object

func (ListApiRuntimeDefinitionV2Request) String

type ListApiRuntimeDefinitionV2Response

type ListApiRuntimeDefinitionV2Response struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ListApiRuntimeDefinitionV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ListApiRuntimeDefinitionV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ListApiRuntimeDefinitionV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ListApiRuntimeDefinitionV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ListApiRuntimeDefinitionV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ListApiRuntimeDefinitionV2ResponseBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ListApiRuntimeDefinitionV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布记录的编号
	PublishId *string `json:"publish_id,omitempty"`

	// 分组的二级域名
	SlDomain *string `json:"sl_domain,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// API的请求参数列表
	ReqParams      *[]ReqParam `json:"req_params,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListApiRuntimeDefinitionV2Response Response Object

func (ListApiRuntimeDefinitionV2Response) String

type ListApiRuntimeDefinitionV2ResponseAuthType

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

func (ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseAuthType) Value

type ListApiRuntimeDefinitionV2ResponseBackendType

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

func (ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseBackendType) Value

type ListApiRuntimeDefinitionV2ResponseContentType

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

func (ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseContentType) Value

type ListApiRuntimeDefinitionV2ResponseMatchMode

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

func (ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseMatchMode) Value

type ListApiRuntimeDefinitionV2ResponseReqMethod

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

func (ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseReqMethod) Value

type ListApiRuntimeDefinitionV2ResponseReqProtocol

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

func (ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON

func (*ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON

func (ListApiRuntimeDefinitionV2ResponseReqProtocol) Value

type ListApiRuntimeDefinitionV2ResponseType

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

func (ListApiRuntimeDefinitionV2ResponseType) MarshalJSON

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

func (*ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON

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

func (ListApiRuntimeDefinitionV2ResponseType) Value

type ListApiVersionDetailV2Request

type ListApiVersionDetailV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API版本的编号
	VersionId string `json:"version_id"`
}

ListApiVersionDetailV2Request Request Object

func (ListApiVersionDetailV2Request) String

type ListApiVersionDetailV2Response

type ListApiVersionDetailV2Response struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ListApiVersionDetailV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ListApiVersionDetailV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ListApiVersionDetailV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ListApiVersionDetailV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ListApiVersionDetailV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ListApiVersionDetailV2ResponseBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ListApiVersionDetailV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 版本发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`

	// 系统默认分配的子域名
	SlDomain *string `json:"sl_domain,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 版本编号
	VersionId      *string `json:"version_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ListApiVersionDetailV2Response Response Object

func (ListApiVersionDetailV2Response) String

type ListApiVersionDetailV2ResponseAuthType

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

func (ListApiVersionDetailV2ResponseAuthType) MarshalJSON

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

func (*ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON

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

func (ListApiVersionDetailV2ResponseAuthType) Value

type ListApiVersionDetailV2ResponseBackendType

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

func (ListApiVersionDetailV2ResponseBackendType) MarshalJSON

func (*ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON

func (ListApiVersionDetailV2ResponseBackendType) Value

type ListApiVersionDetailV2ResponseContentType

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

func (ListApiVersionDetailV2ResponseContentType) MarshalJSON

func (*ListApiVersionDetailV2ResponseContentType) UnmarshalJSON

func (ListApiVersionDetailV2ResponseContentType) Value

type ListApiVersionDetailV2ResponseMatchMode

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

func (ListApiVersionDetailV2ResponseMatchMode) MarshalJSON

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

func (*ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON

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

func (ListApiVersionDetailV2ResponseMatchMode) Value

type ListApiVersionDetailV2ResponseMatchModeEnum

type ListApiVersionDetailV2ResponseMatchModeEnum struct {
	SWA    ListApiVersionDetailV2ResponseMatchMode
	NORMAL ListApiVersionDetailV2ResponseMatchMode
}

func GetListApiVersionDetailV2ResponseMatchModeEnum

func GetListApiVersionDetailV2ResponseMatchModeEnum() ListApiVersionDetailV2ResponseMatchModeEnum

type ListApiVersionDetailV2ResponseReqMethod

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

func (ListApiVersionDetailV2ResponseReqMethod) MarshalJSON

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

func (*ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON

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

func (ListApiVersionDetailV2ResponseReqMethod) Value

type ListApiVersionDetailV2ResponseReqProtocol

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

func (ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON

func (*ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON

func (ListApiVersionDetailV2ResponseReqProtocol) Value

type ListApiVersionDetailV2ResponseType

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

func (ListApiVersionDetailV2ResponseType) MarshalJSON

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

func (*ListApiVersionDetailV2ResponseType) UnmarshalJSON

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

func (ListApiVersionDetailV2ResponseType) Value

type ListApiVersionDetailV2ResponseTypeEnum

type ListApiVersionDetailV2ResponseTypeEnum struct {
	E_1 ListApiVersionDetailV2ResponseType
	E_2 ListApiVersionDetailV2ResponseType
}

func GetListApiVersionDetailV2ResponseTypeEnum

func GetListApiVersionDetailV2ResponseTypeEnum() ListApiVersionDetailV2ResponseTypeEnum

type ListApiVersionsV2Request

type ListApiVersionsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 环境的编号
	EnvId *string `json:"env_id,omitempty"`

	// 环境的名称
	EnvName *string `json:"env_name,omitempty"`
}

ListApiVersionsV2Request Request Object

func (ListApiVersionsV2Request) String

func (o ListApiVersionsV2Request) String() string

type ListApiVersionsV2Response

type ListApiVersionsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API历史版本列表
	ApiVersions    *[]ApiVersionResp `json:"api_versions,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApiVersionsV2Response Response Object

func (ListApiVersionsV2Response) String

func (o ListApiVersionsV2Response) String() string

type ListApisBindedToAclPolicyV2Request

type ListApisBindedToAclPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// ACL编号
	AclId string `json:"acl_id"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisBindedToAclPolicyV2Request Request Object

func (ListApisBindedToAclPolicyV2Request) String

type ListApisBindedToAclPolicyV2Response

type ListApisBindedToAclPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]AclBindApiInfo `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisBindedToAclPolicyV2Response Response Object

func (ListApisBindedToAclPolicyV2Response) String

type ListApisBindedToAppV2Request

type ListApisBindedToAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 应用编号
	AppId string `json:"app_id"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API分组名称
	GroupName *string `json:"group_name,omitempty"`

	// 授权的环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListApisBindedToAppV2Request Request Object

func (ListApisBindedToAppV2Request) String

type ListApisBindedToAppV2Response

type ListApisBindedToAppV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的API列表
	Auths          *[]ApiAuthInfo `json:"auths,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListApisBindedToAppV2Response Response Object

func (ListApisBindedToAppV2Response) String

type ListApisBindedToRequestThrottlingPolicyV2Request

type ListApisBindedToRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 流控策略编号
	ThrottleId string `json:"throttle_id"`

	// 环境的ID
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`
}

ListApisBindedToRequestThrottlingPolicyV2Request Request Object

func (ListApisBindedToRequestThrottlingPolicyV2Request) String

type ListApisBindedToRequestThrottlingPolicyV2Response

type ListApisBindedToRequestThrottlingPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]ApiForThrottle `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisBindedToRequestThrottlingPolicyV2Response Response Object

func (ListApisBindedToRequestThrottlingPolicyV2Response) String

type ListApisBindedToSignatureKeyV2Request

type ListApisBindedToSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API的编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisBindedToSignatureKeyV2Request Request Object

func (ListApisBindedToSignatureKeyV2Request) String

type ListApisBindedToSignatureKeyV2Response

type ListApisBindedToSignatureKeyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的签名密钥和API绑定关系列表
	Bindings       *[]SignApiBindingBase `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListApisBindedToSignatureKeyV2Response Response Object

func (ListApisBindedToSignatureKeyV2Response) String

type ListApisNotBoundWithSignatureKeyV2Request

type ListApisNotBoundWithSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisNotBoundWithSignatureKeyV2Request Request Object

func (ListApisNotBoundWithSignatureKeyV2Request) String

type ListApisNotBoundWithSignatureKeyV2Response

type ListApisNotBoundWithSignatureKeyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]ApiForSign `json:"apis,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListApisNotBoundWithSignatureKeyV2Response Response Object

func (ListApisNotBoundWithSignatureKeyV2Response) String

type ListApisUnbindedToAclPolicyV2Request

type ListApisUnbindedToAclPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// ACL策略编号
	AclId string `json:"acl_id"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`
}

ListApisUnbindedToAclPolicyV2Request Request Object

func (ListApisUnbindedToAclPolicyV2Request) String

type ListApisUnbindedToAclPolicyV2Response

type ListApisUnbindedToAclPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]UnbindApiForAcl `json:"apis,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListApisUnbindedToAclPolicyV2Response Response Object

func (ListApisUnbindedToAclPolicyV2Response) String

type ListApisUnbindedToAppV2Request

type ListApisUnbindedToAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 应用id
	AppId string `json:"app_id"`

	// 环境id
	EnvId string `json:"env_id"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`
}

ListApisUnbindedToAppV2Request Request Object

func (ListApisUnbindedToAppV2Request) String

type ListApisUnbindedToAppV2Response

type ListApisUnbindedToAppV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的API列表
	Apis           *[]ApiOutline `json:"apis,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListApisUnbindedToAppV2Response Response Object

func (ListApisUnbindedToAppV2Response) String

type ListApisUnbindedToRequestThrottlingPolicyV2Request

type ListApisUnbindedToRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 流控策略编号
	ThrottleId string `json:"throttle_id"`

	// 环境的ID
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`
}

ListApisUnbindedToRequestThrottlingPolicyV2Request Request Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Request) String

type ListApisUnbindedToRequestThrottlingPolicyV2Response

type ListApisUnbindedToRequestThrottlingPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的API列表
	Apis           *[]ApiForThrottle `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisUnbindedToRequestThrottlingPolicyV2Response Response Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Response) String

type ListApisV2Request

type ListApisV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 请求协议
	ReqProtocol *string `json:"req_protocol,omitempty"`

	// 请求方法
	ReqMethod *string `json:"req_method,omitempty"`

	// 请求路径
	ReqUri *string `json:"req_uri,omitempty"`

	// 授权类型
	AuthType *string `json:"auth_type,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API类型
	Type *int32 `json:"type,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持name、req_uri
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListApisV2Request Request Object

func (ListApisV2Request) String

func (o ListApisV2Request) String() string

type ListApisV2Response

type ListApisV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的API列表
	Apis           *[]ApiInfoPerPage `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListApisV2Response Response Object

func (ListApisV2Response) String

func (o ListApisV2Response) String() string

type ListAppCodesV2Request

type ListAppCodesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

ListAppCodesV2Request Request Object

func (ListAppCodesV2Request) String

func (o ListAppCodesV2Request) String() string

type ListAppCodesV2Response

type ListAppCodesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// App Code列表
	AppCodes       *[]AppCodeBaseInfo `json:"app_codes,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListAppCodesV2Response Response Object

func (ListAppCodesV2Response) String

func (o ListAppCodesV2Response) String() string

type ListAppQuantitiesV2Request

type ListAppQuantitiesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

ListAppQuantitiesV2Request Request Object

func (ListAppQuantitiesV2Request) String

type ListAppQuantitiesV2Response

type ListAppQuantitiesV2Response struct {

	// 已进行API访问授权的APP个数
	AuthedNums *int32 `json:"authed_nums,omitempty"`

	// 未进行API访问授权的APP个数
	UnauthedNums   *int32 `json:"unauthed_nums,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAppQuantitiesV2Response Response Object

func (ListAppQuantitiesV2Response) String

type ListAppsBindedToApiV2Request

type ListAppsBindedToApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// APP名称
	AppName *string `json:"app_name,omitempty"`

	// APP编号
	AppId *string `json:"app_id,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListAppsBindedToApiV2Request Request Object

func (ListAppsBindedToApiV2Request) String

type ListAppsBindedToApiV2Response

type ListAppsBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的API列表
	Auths          *[]ApiAuthInfo `json:"auths,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListAppsBindedToApiV2Response Response Object

func (ListAppsBindedToApiV2Response) String

type ListAppsV2Request

type ListAppsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// APP编号
	Id *string `json:"id,omitempty"`

	// APP名称
	Name *string `json:"name,omitempty"`

	// APP状态
	Status *int32 `json:"status,omitempty"`

	// APP的KEY
	AppKey *string `json:"app_key,omitempty"`

	// APP的创建者。 - USER:用户自行创建 - MARKET:[云商店分配](tag:hws)[暂未使用](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk)
	Creator *string `json:"creator,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持name
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListAppsV2Request Request Object

func (ListAppsV2Request) String

func (o ListAppsV2Request) String() string

type ListAppsV2Response

type ListAppsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// APP列表
	Apps           *[]AppInfoWithBindNum `json:"apps,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListAppsV2Response Response Object

func (ListAppsV2Response) String

func (o ListAppsV2Response) String() string

type ListAttachedDomainsV2Request

type ListAttachedDomainsV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 独立域名
	UrlDomain *string `json:"url_domain,omitempty"`
}

ListAttachedDomainsV2Request Request Object

func (ListAttachedDomainsV2Request) String

type ListAttachedDomainsV2Response

type ListAttachedDomainsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 已绑定域名集合
	BoundDomains   *[]UrlDomainRefInfo `json:"bound_domains,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListAttachedDomainsV2Response Response Object

func (ListAttachedDomainsV2Response) String

type ListAvailableZonesV2Request

type ListAvailableZonesV2Request struct {
}

ListAvailableZonesV2Request Request Object

func (ListAvailableZonesV2Request) String

type ListAvailableZonesV2Response

type ListAvailableZonesV2Response struct {

	// 可用区列表
	AvailableZones *[]AvailableZone `json:"available_zones,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListAvailableZonesV2Response Response Object

func (ListAvailableZonesV2Response) String

type ListBackendInstancesV2Request

type ListBackendInstancesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

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

	// 后端服务器组名称。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前支持name,member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListBackendInstancesV2Request Request Object

func (ListBackendInstancesV2Request) String

type ListBackendInstancesV2Response

type ListBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListBackendInstancesV2Response Response Object

func (ListBackendInstancesV2Response) String

type ListCertificatesV2Request

type ListCertificatesV2Request struct {

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

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

	// 证书域名
	CommonName *string `json:"common_name,omitempty"`

	// 证书签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 证书可见范围
	Type *ListCertificatesV2RequestType `json:"type,omitempty"`

	// 证书所属实例ID
	InstanceId string `json:"instance_id"`
}

ListCertificatesV2Request Request Object

func (ListCertificatesV2Request) String

func (o ListCertificatesV2Request) String() string

type ListCertificatesV2RequestType

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

func (ListCertificatesV2RequestType) MarshalJSON

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

func (*ListCertificatesV2RequestType) UnmarshalJSON

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

func (ListCertificatesV2RequestType) Value

type ListCertificatesV2RequestTypeEnum

type ListCertificatesV2RequestTypeEnum struct {
	INSTANCE ListCertificatesV2RequestType
	GLOBAL   ListCertificatesV2RequestType
}

func GetListCertificatesV2RequestTypeEnum

func GetListCertificatesV2RequestTypeEnum() ListCertificatesV2RequestTypeEnum

type ListCertificatesV2Response

type ListCertificatesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 证书基本内容
	Certs          *[]CertBase `json:"certs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

ListCertificatesV2Response Response Object

func (ListCertificatesV2Response) String

type ListCustomAuthorizersV2Request

type ListCustomAuthorizersV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 类型
	Type *string `json:"type,omitempty"`
}

ListCustomAuthorizersV2Request Request Object

func (ListCustomAuthorizersV2Request) String

type ListCustomAuthorizersV2Response

type ListCustomAuthorizersV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 自定义认证列表
	AuthorizerList *[]AuthorizerResp `json:"authorizer_list,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListCustomAuthorizersV2Response Response Object

func (ListCustomAuthorizersV2Response) String

type ListEnvironmentVariablesV2Request

type ListEnvironmentVariablesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API分组编号
	GroupId string `json:"group_id"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 变量名
	VariableName *string `json:"variable_name,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持name
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListEnvironmentVariablesV2Request Request Object

func (ListEnvironmentVariablesV2Request) String

type ListEnvironmentVariablesV2Response

type ListEnvironmentVariablesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的环境变量列表
	Variables      *[]EnvVariableInfo `json:"variables,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListEnvironmentVariablesV2Response Response Object

func (ListEnvironmentVariablesV2Response) String

type ListEnvironmentsV2Request

type ListEnvironmentsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`
}

ListEnvironmentsV2Request Request Object

func (ListEnvironmentsV2Request) String

func (o ListEnvironmentsV2Request) String() string

type ListEnvironmentsV2Response

type ListEnvironmentsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次返回的环境列表
	Envs           *[]EnvInfo `json:"envs,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListEnvironmentsV2Response Response Object

func (ListEnvironmentsV2Response) String

type ListFeaturesV2Request

type ListFeaturesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

ListFeaturesV2Request Request Object

func (ListFeaturesV2Request) String

func (o ListFeaturesV2Request) String() string

type ListFeaturesV2Response

type ListFeaturesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 实例特性列表
	Features       *[]FeatureInfo `json:"features,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListFeaturesV2Response Response Object

func (ListFeaturesV2Response) String

func (o ListFeaturesV2Response) String() string

type ListGatewayResponsesV2Request

type ListGatewayResponsesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

ListGatewayResponsesV2Request Request Object

func (ListGatewayResponsesV2Request) String

type ListGatewayResponsesV2Response

type ListGatewayResponsesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 响应列表
	Responses      *[]ResponsesInfo `json:"responses,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListGatewayResponsesV2Response Response Object

func (ListGatewayResponsesV2Response) String

type ListInstanceConfigsV2Request

type ListInstanceConfigsV2Request struct {

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

ListInstanceConfigsV2Request Request Object

func (ListInstanceConfigsV2Request) String

type ListInstanceConfigsV2Response

type ListInstanceConfigsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 配额列表
	Configs        *[]InstanceConfig `json:"configs,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListInstanceConfigsV2Response Response Object

func (ListInstanceConfigsV2Response) String

type ListInstanceTagsRequest

type ListInstanceTagsRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

ListInstanceTagsRequest Request Object

func (ListInstanceTagsRequest) String

func (o ListInstanceTagsRequest) String() string

type ListInstanceTagsResponse

type ListInstanceTagsResponse struct {

	// 实例绑定的标签列表
	Tags           *[]TmsKeyValue `json:"tags,omitempty"`
	HttpStatusCode int            `json:"-"`
}

ListInstanceTagsResponse Response Object

func (ListInstanceTagsResponse) String

func (o ListInstanceTagsResponse) String() string

type ListInstancesV2Request

type ListInstancesV2Request struct {

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
	Status *ListInstancesV2RequestStatus `json:"status,omitempty"`
}

ListInstancesV2Request Request Object

func (ListInstancesV2Request) String

func (o ListInstancesV2Request) String() string

type ListInstancesV2RequestStatus

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

func (ListInstancesV2RequestStatus) MarshalJSON

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

func (*ListInstancesV2RequestStatus) UnmarshalJSON

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

func (ListInstancesV2RequestStatus) Value

type ListInstancesV2RequestStatusEnum

func GetListInstancesV2RequestStatusEnum

func GetListInstancesV2RequestStatusEnum() ListInstancesV2RequestStatusEnum

type ListInstancesV2Response

type ListInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 实例列表
	Instances      *[]RespInstanceBase `json:"instances,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

ListInstancesV2Response Response Object

func (ListInstancesV2Response) String

func (o ListInstancesV2Response) String() string

type ListLatelyApiStatisticsV2Request

type ListLatelyApiStatisticsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	// 最近统计时长,单位必须为h和m,比如1h和1m,分别代表最近1小时和最近1分钟
	Duration string `json:"duration"`
}

ListLatelyApiStatisticsV2Request Request Object

func (ListLatelyApiStatisticsV2Request) String

type ListLatelyApiStatisticsV2Response

type ListLatelyApiStatisticsV2Response struct {

	// 响应码
	Code *string `json:"code,omitempty"`

	// 返回消息
	Msg *string `json:"msg,omitempty"`

	// 开始时间的UTC的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 截止时间的UTC的时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 统计指标的数据结构结构体
	List           *[]StatisticsApi `json:"list,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListLatelyApiStatisticsV2Response Response Object

func (ListLatelyApiStatisticsV2Response) String

type ListLatelyGroupStatisticsV2Request

type ListLatelyGroupStatisticsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API分组的编号
	GroupId string `json:"group_id"`
}

ListLatelyGroupStatisticsV2Request Request Object

func (ListLatelyGroupStatisticsV2Request) String

type ListLatelyGroupStatisticsV2Response

type ListLatelyGroupStatisticsV2Response struct {

	// 响应码
	Code *string `json:"code,omitempty"`

	// 返回消息
	Msg *string `json:"msg,omitempty"`

	// 开始时间的UTC的时间戳
	StartTime *int64 `json:"start_time,omitempty"`

	// 截止时间的UTC的时间戳
	EndTime *int64 `json:"end_time,omitempty"`

	// 统计指标的数据结构结构体
	List           *[]StatisticsGroup `json:"list,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListLatelyGroupStatisticsV2Response Response Object

func (ListLatelyGroupStatisticsV2Response) String

type ListMemberGroupsRequest

type ListMemberGroupsRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 字典编码。  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端云服务组的名称
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  当前支持member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListMemberGroupsRequest Request Object

func (ListMemberGroupsRequest) String

func (o ListMemberGroupsRequest) String() string

type ListMemberGroupsResponse

type ListMemberGroupsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// VPC通道后端服务器组列表
	MemberGroups   *[]MemberGroupInfo `json:"member_groups,omitempty"`
	HttpStatusCode int                `json:"-"`
}

ListMemberGroupsResponse Response Object

func (ListMemberGroupsResponse) String

func (o ListMemberGroupsResponse) String() string

type ListMetricDataRequest

type ListMetricDataRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 指标维度 - inbound_eip:入口公网带宽,仅ELB类型实例支持 - outbound_eip:出口公网带宽
	Dim ListMetricDataRequestDim `json:"dim"`

	// 指标名称 - upstream_bandwidth:出网带宽 - downstream_bandwidth:入网带宽 - upstream_bandwidth_usage:出网带宽使用率 - downstream_bandwidth_usage:入网带宽使用率 - up_stream:出网流量 - down_stream:入网流量
	MetricName ListMetricDataRequestMetricName `json:"metric_name"`

	// 查询数据起始时间,UNIX时间戳,单位毫秒。
	From string `json:"from"`

	// 查询数据截止时间UNIX时间戳,单位毫秒。from必须小于to。
	To string `json:"to"`

	// 监控数据粒度。 - 1:实时数据 - 300:5分钟粒度 - 1200:20分钟粒度 - 3600:1小时粒度 - 14400:4小时粒度 - 86400:1天粒度
	Period ListMetricDataRequestPeriod `json:"period"`

	// 数据聚合方式。 - average:聚合周期内指标数据的平均值。 - max:聚合周期内指标数据的最大值。 - min:聚合周期内指标数据的最小值。 - sum:聚合周期内指标数据的求和值。 - variance:聚合周期内指标数据的方差。
	Filter ListMetricDataRequestFilter `json:"filter"`
}

ListMetricDataRequest Request Object

func (ListMetricDataRequest) String

func (o ListMetricDataRequest) String() string

type ListMetricDataRequestDim

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

func (ListMetricDataRequestDim) MarshalJSON

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

func (*ListMetricDataRequestDim) UnmarshalJSON

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

func (ListMetricDataRequestDim) Value

func (c ListMetricDataRequestDim) Value() string

type ListMetricDataRequestDimEnum

type ListMetricDataRequestDimEnum struct {
	INBOUND_EIP  ListMetricDataRequestDim
	OUTBOUND_EIP ListMetricDataRequestDim
}

func GetListMetricDataRequestDimEnum

func GetListMetricDataRequestDimEnum() ListMetricDataRequestDimEnum

type ListMetricDataRequestFilter

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

func (ListMetricDataRequestFilter) MarshalJSON

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

func (*ListMetricDataRequestFilter) UnmarshalJSON

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

func (ListMetricDataRequestFilter) Value

type ListMetricDataRequestMetricName

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

func (ListMetricDataRequestMetricName) MarshalJSON

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

func (*ListMetricDataRequestMetricName) UnmarshalJSON

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

func (ListMetricDataRequestMetricName) Value

type ListMetricDataRequestMetricNameEnum

type ListMetricDataRequestMetricNameEnum struct {
	UPSTREAM_BANDWIDTH         ListMetricDataRequestMetricName
	DOWNSTREAM_BANDWIDTH       ListMetricDataRequestMetricName
	UPSTREAM_BANDWIDTH_USAGE   ListMetricDataRequestMetricName
	DOWNSTREAM_BANDWIDTH_USAGE ListMetricDataRequestMetricName
	UP_STREAM                  ListMetricDataRequestMetricName
	DOWN_STREAM                ListMetricDataRequestMetricName
}

func GetListMetricDataRequestMetricNameEnum

func GetListMetricDataRequestMetricNameEnum() ListMetricDataRequestMetricNameEnum

type ListMetricDataRequestPeriod

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

func (ListMetricDataRequestPeriod) MarshalJSON

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

func (*ListMetricDataRequestPeriod) UnmarshalJSON

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

func (ListMetricDataRequestPeriod) Value

type ListMetricDataResponse

type ListMetricDataResponse struct {

	// 指标数据列表
	Datapoints     *[]MetricData `json:"datapoints,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListMetricDataResponse Response Object

func (ListMetricDataResponse) String

func (o ListMetricDataResponse) String() string

type ListPluginAttachableApisRequest

type ListPluginAttachableApisRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 插件编号
	PluginId string `json:"plugin_id"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// 分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 请求方法
	ReqMethod *string `json:"req_method,omitempty"`

	// 请求路径
	ReqUri *string `json:"req_uri,omitempty"`
}

ListPluginAttachableApisRequest Request Object

func (ListPluginAttachableApisRequest) String

type ListPluginAttachableApisResponse

type ListPluginAttachableApisResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 绑定插件的API列表。
	Apis           *[]PluginApiInfo `json:"apis,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListPluginAttachableApisResponse Response Object

func (ListPluginAttachableApisResponse) String

type ListPluginAttachedApisRequest

type ListPluginAttachedApisRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 插件编号
	PluginId string `json:"plugin_id"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// 分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 请求方法
	ReqMethod *string `json:"req_method,omitempty"`

	// 请求路径
	ReqUri *string `json:"req_uri,omitempty"`
}

ListPluginAttachedApisRequest Request Object

func (ListPluginAttachedApisRequest) String

type ListPluginAttachedApisResponse

type ListPluginAttachedApisResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 绑定插件的API列表。
	Apis           *[]PluginApiInfo `json:"apis,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListPluginAttachedApisResponse Response Object

func (ListPluginAttachedApisResponse) String

type ListPluginsRequest

type ListPluginsRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 插件类型
	PluginType *string `json:"plugin_type,omitempty"`

	// 插件可见范围
	PluginScope *string `json:"plugin_scope,omitempty"`

	// 插件编码
	PluginId *string `json:"plugin_id,omitempty"`

	// 插件名称,支持模糊查询
	PluginName *string `json:"plugin_name,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前支持插件名称
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListPluginsRequest Request Object

func (ListPluginsRequest) String

func (o ListPluginsRequest) String() string

type ListPluginsResponse

type ListPluginsResponse struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 插件列表。
	Plugins        *[]PluginInfo `json:"plugins,omitempty"`
	HttpStatusCode int           `json:"-"`
}

ListPluginsResponse Response Object

func (ListPluginsResponse) String

func (o ListPluginsResponse) String() string

type ListProjectCofigsV2Request

type ListProjectCofigsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

ListProjectCofigsV2Request Request Object

func (ListProjectCofigsV2Request) String

type ListProjectCofigsV2Response

type ListProjectCofigsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 配额列表
	Configs        *[]Config `json:"configs,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListProjectCofigsV2Response Response Object

func (ListProjectCofigsV2Response) String

type ListProjectInstanceTagsRequest

type ListProjectInstanceTagsRequest struct {
}

ListProjectInstanceTagsRequest Request Object

func (ListProjectInstanceTagsRequest) String

type ListProjectInstanceTagsResponse

type ListProjectInstanceTagsResponse struct {

	// 项目下所有实例绑定的标签列表
	Tags           *[]TmsKeyValues `json:"tags,omitempty"`
	HttpStatusCode int             `json:"-"`
}

ListProjectInstanceTagsResponse Response Object

func (ListProjectInstanceTagsResponse) String

type ListRequestThrottlingPoliciesBindedToApiV2Request

type ListRequestThrottlingPoliciesBindedToApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API编号
	ApiId string `json:"api_id"`

	// 流控策略的编号
	ThrottleId *string `json:"throttle_id,omitempty"`

	// 流控策略的名称
	ThrottleName *string `json:"throttle_name,omitempty"`

	// 绑定的环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListRequestThrottlingPoliciesBindedToApiV2Request Request Object

func (ListRequestThrottlingPoliciesBindedToApiV2Request) String

type ListRequestThrottlingPoliciesBindedToApiV2Response

type ListRequestThrottlingPoliciesBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的流控策略列表
	Throttles      *[]ThrottleForApi `json:"throttles,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListRequestThrottlingPoliciesBindedToApiV2Response Response Object

func (ListRequestThrottlingPoliciesBindedToApiV2Response) String

type ListRequestThrottlingPolicyV2Request

type ListRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 流控策略编号
	Id *string `json:"id,omitempty"`

	// 流控策略名称
	Name *string `json:"name,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持name
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListRequestThrottlingPolicyV2Request Request Object

func (ListRequestThrottlingPolicyV2Request) String

type ListRequestThrottlingPolicyV2Response

type ListRequestThrottlingPolicyV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的流控策略列表
	Throttles      *[]ThrottlesInfo `json:"throttles,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ListRequestThrottlingPolicyV2Response Response Object

func (ListRequestThrottlingPolicyV2Response) String

type ListSignatureKeysBindedToApiV2Request

type ListSignatureKeysBindedToApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// API的编号
	ApiId string `json:"api_id"`

	// 签名密钥的编号
	SignId *string `json:"sign_id,omitempty"`

	// 签名密钥的名称
	SignName *string `json:"sign_name,omitempty"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`
}

ListSignatureKeysBindedToApiV2Request Request Object

func (ListSignatureKeysBindedToApiV2Request) String

type ListSignatureKeysBindedToApiV2Response

type ListSignatureKeysBindedToApiV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// API与签名密钥的绑定关系列表
	Bindings       *[]SignApiBindingInfo `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

ListSignatureKeysBindedToApiV2Response Response Object

func (ListSignatureKeysBindedToApiV2Response) String

type ListSignatureKeysV2Request

type ListSignatureKeysV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 签名密钥编号
	Id *string `json:"id,omitempty"`

	// 签名密钥名称
	Name *string `json:"name,omitempty"`

	// 指定需要精确匹配查找的参数名称,目前仅支持name
	PreciseSearch *string `json:"precise_search,omitempty"`
}

ListSignatureKeysV2Request Request Object

func (ListSignatureKeysV2Request) String

type ListSignatureKeysV2Response

type ListSignatureKeysV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的签名密钥列表
	Signs          *[]SignatureWithBindNum `json:"signs,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListSignatureKeysV2Response Response Object

func (ListSignatureKeysV2Response) String

type ListSpecialThrottlingConfigurationsV2Request

type ListSpecialThrottlingConfigurationsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// 特殊流控类型:APP,USER
	ObjectType *string `json:"object_type,omitempty"`

	// 筛选的特殊应用名称
	AppName *string `json:"app_name,omitempty"`

	// 筛选的特殊用户名称
	User *string `json:"user,omitempty"`
}

ListSpecialThrottlingConfigurationsV2Request Request Object

func (ListSpecialThrottlingConfigurationsV2Request) String

type ListSpecialThrottlingConfigurationsV2Response

type ListSpecialThrottlingConfigurationsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询返回的特殊配置列表
	ThrottleSpecials *[]ThrottleSpecialInfo `json:"throttle_specials,omitempty"`
	HttpStatusCode   int                    `json:"-"`
}

ListSpecialThrottlingConfigurationsV2Response Response Object

func (ListSpecialThrottlingConfigurationsV2Response) String

type ListTagsV2Request

type ListTagsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

ListTagsV2Request Request Object

func (ListTagsV2Request) String

func (o ListTagsV2Request) String() string

type ListTagsV2Response

type ListTagsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

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

ListTagsV2Response Response Object

func (ListTagsV2Response) String

func (o ListTagsV2Response) String() string

type ListVpcChannelsV2Request

type ListVpcChannelsV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的名称
	Name *string `json:"name,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// 指定需要精确匹配查找的参数名称,多个参数需要支持精确匹配时参数之间使用“,”隔开。  目前支持name,member_group_name。
	PreciseSearch *string `json:"precise_search,omitempty"`

	// 后端服务地址。默认精确查询,不支持模糊查询。
	MemberHost *string `json:"member_host,omitempty"`

	// 后端服务器端口
	MemberPort *int32 `json:"member_port,omitempty"`

	// 后端服务器组名称
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`
}

ListVpcChannelsV2Request Request Object

func (ListVpcChannelsV2Request) String

func (o ListVpcChannelsV2Request) String() string

type ListVpcChannelsV2Response

type ListVpcChannelsV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的VPC通道列表
	VpcChannels    *[]VpcChannelInfo `json:"vpc_channels,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListVpcChannelsV2Response Response Object

func (ListVpcChannelsV2Response) String

func (o ListVpcChannelsV2Response) String() string

type LocalName

type LocalName struct {

	// 可用区英文名称。
	EnUs *string `json:"en_us,omitempty"`

	// 可用区中文名称。
	ZhCn *string `json:"zh_cn,omitempty"`
}

LocalName 可用区中英文名称。

func (LocalName) String

func (o LocalName) String() string

type MemberBase

type MemberBase struct {

	// 后端服务器地址  后端实例类型为ip时必填
	Host *string `json:"host,omitempty"`

	// 权重值。  允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。
	Weight *int32 `json:"weight,omitempty"`

	// 是否备用节点。  开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。  实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。
	IsBackup *bool `json:"is_backup,omitempty"`

	// 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器状态   - 1:可用   - 2:不可用
	Status *MemberBaseStatus `json:"status,omitempty"`

	// 后端服务器端口
	Port *int32 `json:"port,omitempty"`
}

func (MemberBase) String

func (o MemberBase) String() string

type MemberBaseStatus

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

func (MemberBaseStatus) MarshalJSON

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

func (*MemberBaseStatus) UnmarshalJSON

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

func (MemberBaseStatus) Value

func (c MemberBaseStatus) Value() int32

type MemberBaseStatusEnum

type MemberBaseStatusEnum struct {
	E_1 MemberBaseStatus
	E_2 MemberBaseStatus
}

func GetMemberBaseStatusEnum

func GetMemberBaseStatusEnum() MemberBaseStatusEnum

type MemberGroupCreate

type MemberGroupCreate struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。
	MicroserviceVersion *string `json:"microservice_version,omitempty"`

	// VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。
	MicroservicePort *int32 `json:"microservice_port,omitempty"`

	// VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。
	MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"`
}

func (MemberGroupCreate) String

func (o MemberGroupCreate) String() string

type MemberGroupCreateBatch

type MemberGroupCreateBatch struct {

	// 后端服务器组列表
	MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"`
}

func (MemberGroupCreateBatch) String

func (o MemberGroupCreateBatch) String() string

type MemberGroupInfo

type MemberGroupInfo struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。
	MicroserviceVersion *string `json:"microservice_version,omitempty"`

	// VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。
	MicroservicePort *int32 `json:"microservice_port,omitempty"`

	// VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。
	MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"`

	// VPC通道后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// VPC通道后端服务器组创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道后端服务器组更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (MemberGroupInfo) String

func (o MemberGroupInfo) String() string

type MemberInfo

type MemberInfo struct {

	// 后端服务器地址  后端实例类型为ip时必填
	Host *string `json:"host,omitempty"`

	// 权重值。  允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。
	Weight *int32 `json:"weight,omitempty"`

	// 是否备用节点。  开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。  实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。
	IsBackup *bool `json:"is_backup,omitempty"`

	// 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器状态   - 1:可用   - 2:不可用
	Status *MemberInfoStatus `json:"status,omitempty"`

	// 后端服务器端口
	Port *int32 `json:"port,omitempty"`

	// 后端云服务器的编号。  后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。
	EcsId *string `json:"ecs_id,omitempty"`

	// 后端云服务器的名称。  后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。
	EcsName *string `json:"ecs_name,omitempty"`
}

func (MemberInfo) String

func (o MemberInfo) String() string

type MemberInfoStatus

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

func (MemberInfoStatus) MarshalJSON

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

func (*MemberInfoStatus) UnmarshalJSON

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

func (MemberInfoStatus) Value

func (c MemberInfoStatus) Value() int32

type MemberInfoStatusEnum

type MemberInfoStatusEnum struct {
	E_1 MemberInfoStatus
	E_2 MemberInfoStatus
}

func GetMemberInfoStatusEnum

func GetMemberInfoStatusEnum() MemberInfoStatusEnum

type MembersBatchEnableOrDisable

type MembersBatchEnableOrDisable struct {

	// 后端服务器编号列表。
	MemberIds *[]string `json:"member_ids,omitempty"`
}

func (MembersBatchEnableOrDisable) String

type MetricData

type MetricData struct {

	// 聚合周期内指标数据的平均值,仅当请求参数filter字段值为average时支持。
	Average *int32 `json:"average,omitempty"`

	// 聚合周期内指标数据的最大值,仅当请求参数filter字段值为max时支持。
	Max *int32 `json:"max,omitempty"`

	// 聚合周期内指标数据的最小值,仅当请求参数filter字段值为min时支持。
	Min *int32 `json:"min,omitempty"`

	// 聚合周期内指标数据的求和值,仅当请求参数filter字段值为sum时支持。
	Sum *int32 `json:"sum,omitempty"`

	// 聚合周期内指标数据的方差,仅当请求参数filter字段值为variance时支持。
	Variance *int32 `json:"variance,omitempty"`

	// 指标采集时间,UNIX时间戳,单位毫秒。
	Timestamp *int32 `json:"timestamp,omitempty"`

	// 指标单位。
	Unit *string `json:"unit,omitempty"`
}

func (MetricData) String

func (o MetricData) String() string

type MicroServiceCreate

type MicroServiceCreate struct {

	// 微服务类型: - CSE:CSE微服务注册中心 - CCE:CCE云容器引擎(工作负载) - CCE_SERVICE: CCE云容器引擎(Service)
	ServiceType *MicroServiceCreateServiceType `json:"service_type,omitempty"`

	CseInfo *MicroServiceInfoCseBase `json:"cse_info,omitempty"`

	CceInfo *MicroServiceInfoCceBase `json:"cce_info,omitempty"`

	CceServiceInfo *MicroServiceInfoCceServiceBase `json:"cce_service_info,omitempty"`
}

MicroServiceCreate 微服务详情。

func (MicroServiceCreate) String

func (o MicroServiceCreate) String() string

type MicroServiceCreateServiceType

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

func (MicroServiceCreateServiceType) MarshalJSON

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

func (*MicroServiceCreateServiceType) UnmarshalJSON

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

func (MicroServiceCreateServiceType) Value

type MicroServiceCreateServiceTypeEnum

type MicroServiceCreateServiceTypeEnum struct {
	CSE         MicroServiceCreateServiceType
	CCE         MicroServiceCreateServiceType
	CCE_SERVICE MicroServiceCreateServiceType
}

func GetMicroServiceCreateServiceTypeEnum

func GetMicroServiceCreateServiceTypeEnum() MicroServiceCreateServiceTypeEnum

type MicroServiceInfo

type MicroServiceInfo struct {

	// 微服务编号
	Id *string `json:"id,omitempty"`

	// 实例编号
	InstanceId *string `json:"instance_id,omitempty"`

	// 微服务类型: - CSE:CSE微服务注册中心 - CCE:CCE云容器引擎(工作负载) - CCE_SERVICE: CCE云容器引擎(Service)
	ServiceType *MicroServiceInfoServiceType `json:"service_type,omitempty"`

	CseInfo *MicroServiceInfoCse `json:"cse_info,omitempty"`

	CceInfo *MicroServiceInfoCce `json:"cce_info,omitempty"`

	CceServiceInfo *MicroServiceInfoCceService `json:"cce_service_info,omitempty"`

	// 微服务更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 微服务创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

MicroServiceInfo 微服务的响应对象

func (MicroServiceInfo) String

func (o MicroServiceInfo) String() string

type MicroServiceInfoCce

type MicroServiceInfoCce struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 工作负载类型  - deployment:无状态负载  - statefulset:有状态负载  - daemonset:守护进程集
	WorkloadType MicroServiceInfoCceWorkloadType `json:"workload_type"`

	// APP名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	AppName *string `json:"app_name,omitempty"`

	// 服务标识名。支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号,且只能以英文、汉字和数字开头,1-64个字符。 > 中文字符必须为UTF-8或者unicode编码。
	LabelKey *string `json:"label_key,omitempty"`

	// 服务标识值。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	LabelValue *string `json:"label_value,omitempty"`

	// 云容器引擎集群名称
	ClusterName *string `json:"cluster_name,omitempty"`
}

MicroServiceInfoCce CCE微服务工作负载信息

func (MicroServiceInfoCce) String

func (o MicroServiceInfoCce) String() string

type MicroServiceInfoCceBase

type MicroServiceInfoCceBase struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 工作负载类型  - deployment:无状态负载  - statefulset:有状态负载  - daemonset:守护进程集
	WorkloadType MicroServiceInfoCceBaseWorkloadType `json:"workload_type"`

	// APP名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	AppName *string `json:"app_name,omitempty"`

	// 服务标识名。支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号,且只能以英文、汉字和数字开头,1-64个字符。 > 中文字符必须为UTF-8或者unicode编码。
	LabelKey *string `json:"label_key,omitempty"`

	// 服务标识值。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	LabelValue *string `json:"label_value,omitempty"`
}

MicroServiceInfoCceBase CCE云容器引擎工作负载信息,service_type为CCE时必填。app_name或(label_key、label_value)至少填一个,只填app_name时,相当于(label_key=‘app’、label_value=app_name值)

func (MicroServiceInfoCceBase) String

func (o MicroServiceInfoCceBase) String() string

type MicroServiceInfoCceBaseWorkloadType

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

func (MicroServiceInfoCceBaseWorkloadType) MarshalJSON

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

func (*MicroServiceInfoCceBaseWorkloadType) UnmarshalJSON

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

func (MicroServiceInfoCceBaseWorkloadType) Value

type MicroServiceInfoCceBaseWorkloadTypeEnum

type MicroServiceInfoCceBaseWorkloadTypeEnum struct {
	DEPLOYMENT  MicroServiceInfoCceBaseWorkloadType
	STATEFULSET MicroServiceInfoCceBaseWorkloadType
	DAEMONSET   MicroServiceInfoCceBaseWorkloadType
}

func GetMicroServiceInfoCceBaseWorkloadTypeEnum

func GetMicroServiceInfoCceBaseWorkloadTypeEnum() MicroServiceInfoCceBaseWorkloadTypeEnum

type MicroServiceInfoCceCreate

type MicroServiceInfoCceCreate struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 工作负载类型  - deployment:无状态负载  - statefulset:有状态负载  - daemonset:守护进程集
	WorkloadType MicroServiceInfoCceCreateWorkloadType `json:"workload_type"`

	// APP名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	AppName *string `json:"app_name,omitempty"`

	// 服务标识名。支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号,且只能以英文、汉字和数字开头,1-64个字符。 > 中文字符必须为UTF-8或者unicode编码。
	LabelKey *string `json:"label_key,omitempty"`

	// 服务标识值。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	LabelValue *string `json:"label_value,omitempty"`

	// 工作负载的版本
	Version *string `json:"version,omitempty"`

	// 工作负载的监听端口号
	Port int32 `json:"port"`

	// 工作负载的标签列表。
	Labels *[]MicroserviceLabel `json:"labels,omitempty"`
}

MicroServiceInfoCceCreate CCE云容器引擎工作负载信息,service_type为CCE时必填

func (MicroServiceInfoCceCreate) String

func (o MicroServiceInfoCceCreate) String() string

type MicroServiceInfoCceCreateWorkloadType

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

func (MicroServiceInfoCceCreateWorkloadType) MarshalJSON

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

func (*MicroServiceInfoCceCreateWorkloadType) UnmarshalJSON

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

func (MicroServiceInfoCceCreateWorkloadType) Value

type MicroServiceInfoCceCreateWorkloadTypeEnum

type MicroServiceInfoCceCreateWorkloadTypeEnum struct {
	DEPLOYMENT  MicroServiceInfoCceCreateWorkloadType
	STATEFULSET MicroServiceInfoCceCreateWorkloadType
	DAEMONSET   MicroServiceInfoCceCreateWorkloadType
}

func GetMicroServiceInfoCceCreateWorkloadTypeEnum

func GetMicroServiceInfoCceCreateWorkloadTypeEnum() MicroServiceInfoCceCreateWorkloadTypeEnum

type MicroServiceInfoCceService

type MicroServiceInfoCceService struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。
	Namespace string `json:"namespace"`

	// Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	ServiceName string `json:"service_name"`

	// 云容器引擎集群名称
	ClusterName *string `json:"cluster_name,omitempty"`
}

MicroServiceInfoCceService CCE微服务Service信息

func (MicroServiceInfoCceService) String

type MicroServiceInfoCceServiceBase

type MicroServiceInfoCceServiceBase struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。
	Namespace string `json:"namespace"`

	// Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	ServiceName string `json:"service_name"`
}

MicroServiceInfoCceServiceBase CCE云容器引擎Service信息

func (MicroServiceInfoCceServiceBase) String

type MicroServiceInfoCceServiceCreate

type MicroServiceInfoCceServiceCreate struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间。1-63字符。只能包含小写字母、数字,以及 '-',必须以字母开头,必须以字母数字结尾。
	Namespace string `json:"namespace"`

	// Service名称。支持汉字,英文,数字,点,中划线,下划线,且只能以英文和汉字开头,1-64字符。 > 中文字符必须为UTF-8或者unicode编码。
	ServiceName string `json:"service_name"`

	// Service的监听端口号。如果是多端口Service,用户需填写一个端口。
	Port *int32 `json:"port,omitempty"`
}

MicroServiceInfoCceServiceCreate CCE云容器引擎Service信息,service_type为CCE_SERVICE时必填

func (MicroServiceInfoCceServiceCreate) String

type MicroServiceInfoCceWorkloadType

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

func (MicroServiceInfoCceWorkloadType) MarshalJSON

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

func (*MicroServiceInfoCceWorkloadType) UnmarshalJSON

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

func (MicroServiceInfoCceWorkloadType) Value

type MicroServiceInfoCceWorkloadTypeEnum

type MicroServiceInfoCceWorkloadTypeEnum struct {
	DEPLOYMENT  MicroServiceInfoCceWorkloadType
	STATEFULSET MicroServiceInfoCceWorkloadType
	DAEMONSET   MicroServiceInfoCceWorkloadType
}

func GetMicroServiceInfoCceWorkloadTypeEnum

func GetMicroServiceInfoCceWorkloadTypeEnum() MicroServiceInfoCceWorkloadTypeEnum

type MicroServiceInfoCse

type MicroServiceInfoCse struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`

	// 微服务引擎名称
	EngineName *string `json:"engine_name,omitempty"`

	// 微服务名称
	ServiceName *string `json:"service_name,omitempty"`

	// 注册中心地址
	RegisterAddress *string `json:"register_address,omitempty"`

	// 微服务所属的应用
	CseAppId *string `json:"cse_app_id,omitempty"`

	// 微服务的版本,已废弃,通过后端服务器组中的版本承载。
	Version *string `json:"version,omitempty"`
}

MicroServiceInfoCse CSE微服务详细信息

func (MicroServiceInfoCse) String

func (o MicroServiceInfoCse) String() string

type MicroServiceInfoCseBase

type MicroServiceInfoCseBase struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`
}

MicroServiceInfoCseBase CSE微服务详细信息,service_type为CSE时必填

func (MicroServiceInfoCseBase) String

func (o MicroServiceInfoCseBase) String() string

type MicroServiceInfoCseCreate

type MicroServiceInfoCseCreate struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`

	// 微服务版本
	Version string `json:"version"`
}

MicroServiceInfoCseCreate CSE微服务详细信息,service_type为CSE时必填

func (MicroServiceInfoCseCreate) String

func (o MicroServiceInfoCseCreate) String() string

type MicroServiceInfoServiceType

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

func (MicroServiceInfoServiceType) MarshalJSON

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

func (*MicroServiceInfoServiceType) UnmarshalJSON

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

func (MicroServiceInfoServiceType) Value

type MicroServiceInfoServiceTypeEnum

type MicroServiceInfoServiceTypeEnum struct {
	CSE         MicroServiceInfoServiceType
	CCE         MicroServiceInfoServiceType
	CCE_SERVICE MicroServiceInfoServiceType
}

func GetMicroServiceInfoServiceTypeEnum

func GetMicroServiceInfoServiceTypeEnum() MicroServiceInfoServiceTypeEnum

type MicroserviceApiCreate

type MicroserviceApiCreate struct {

	// API名称。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name *string `json:"name,omitempty"`

	// API的请求方式
	ReqMethod *MicroserviceApiCreateReqMethod `json:"req_method,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  /apic/health_check为APIG预置的健康检查路径,当req_method=GET时不支持req_uri=/apic/health_check。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *MicroserviceApiCreateMatchMode `json:"match_mode,omitempty"`
}

MicroserviceApiCreate 导入微服务创建单个API的对象

func (MicroserviceApiCreate) String

func (o MicroserviceApiCreate) String() string

type MicroserviceApiCreateMatchMode

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

func (MicroserviceApiCreateMatchMode) MarshalJSON

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

func (*MicroserviceApiCreateMatchMode) UnmarshalJSON

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

func (MicroserviceApiCreateMatchMode) Value

type MicroserviceApiCreateMatchModeEnum

type MicroserviceApiCreateMatchModeEnum struct {
	SWA    MicroserviceApiCreateMatchMode
	NORMAL MicroserviceApiCreateMatchMode
}

func GetMicroserviceApiCreateMatchModeEnum

func GetMicroserviceApiCreateMatchModeEnum() MicroserviceApiCreateMatchModeEnum

type MicroserviceApiCreateReqMethod

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

func (MicroserviceApiCreateReqMethod) MarshalJSON

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

func (*MicroserviceApiCreateReqMethod) UnmarshalJSON

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

func (MicroserviceApiCreateReqMethod) Value

type MicroserviceGroup

type MicroserviceGroup struct {

	// 指定已有的分组,为空时创建新的分组
	GroupId *string `json:"group_id,omitempty"`

	// API分组的名称,group_id为空时必填。  支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。 > 中文字符必须为UTF-8或者unicode编码。
	GroupName *string `json:"group_name,omitempty"`

	// group_id为空时必填,指定新分组所属的集成应用
	AppId *string `json:"app_id,omitempty"`
}

MicroserviceGroup 导入微服务的API分组信息

func (MicroserviceGroup) String

func (o MicroserviceGroup) String() string

type MicroserviceImportApiResp

type MicroserviceImportApiResp struct {

	// API名称
	Name *string `json:"name,omitempty"`

	// API请求路径
	ReqUri *string `json:"req_uri,omitempty"`

	// API请求方法
	ReqMethod *string `json:"req_method,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:SWA
	MatchMode *MicroserviceImportApiRespMatchMode `json:"match_mode,omitempty"`
}

MicroserviceImportApiResp 导入的微服务API的响应对象

func (MicroserviceImportApiResp) String

func (o MicroserviceImportApiResp) String() string

type MicroserviceImportApiRespMatchMode

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

func (MicroserviceImportApiRespMatchMode) MarshalJSON

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

func (*MicroserviceImportApiRespMatchMode) UnmarshalJSON

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

func (MicroserviceImportApiRespMatchMode) Value

type MicroserviceImportApiRespMatchModeEnum

type MicroserviceImportApiRespMatchModeEnum struct {
	SWA    MicroserviceImportApiRespMatchMode
	NORMAL MicroserviceImportApiRespMatchMode
}

func GetMicroserviceImportApiRespMatchModeEnum

func GetMicroserviceImportApiRespMatchModeEnum() MicroserviceImportApiRespMatchModeEnum

type MicroserviceImportReq

type MicroserviceImportReq struct {
	GroupInfo *MicroserviceGroup `json:"group_info"`

	// 微服务中心类型。 - CSE:CSE微服务注册中心 - CCE: CCE云容器引擎(工作负载) - CCE_SERVICE: CCE云容器引擎(Service)
	ServiceType MicroserviceImportReqServiceType `json:"service_type"`

	// API网关访问微服务的请求协议 - HTTP - HTTPS
	Protocol *MicroserviceImportReqProtocol `json:"protocol,omitempty"`

	// 导入的api列表
	Apis []MicroserviceApiCreate `json:"apis"`

	// APIG请求后端服务的超时时间。最大超时时间可通过实例特性backend_timeout配置修改,可修改的上限为600000,默认5000  单位:毫秒。
	BackendTimeout *int32 `json:"backend_timeout,omitempty"`

	// API的认证方式,默认无认证[,site暂不支持IAM认证。](tag:Site) - NONE:无认证 - APP:APP认证 - IAM:IAM认证
	AuthType *MicroserviceImportReqAuthType `json:"auth_type,omitempty"`

	// 是否支持跨域,默认不支持 - true:支持 - false:不支持
	Cors *bool `json:"cors,omitempty"`

	CseInfo *MicroServiceInfoCseCreate `json:"cse_info,omitempty"`

	CceInfo *MicroServiceInfoCceCreate `json:"cce_info,omitempty"`

	CceServiceInfo *MicroServiceInfoCceServiceCreate `json:"cce_service_info,omitempty"`
}

MicroserviceImportReq 导入微服务的请求对象

func (MicroserviceImportReq) String

func (o MicroserviceImportReq) String() string

type MicroserviceImportReqAuthType

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

func (MicroserviceImportReqAuthType) MarshalJSON

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

func (*MicroserviceImportReqAuthType) UnmarshalJSON

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

func (MicroserviceImportReqAuthType) Value

type MicroserviceImportReqProtocol

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

func (MicroserviceImportReqProtocol) MarshalJSON

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

func (*MicroserviceImportReqProtocol) UnmarshalJSON

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

func (MicroserviceImportReqProtocol) Value

type MicroserviceImportReqProtocolEnum

type MicroserviceImportReqProtocolEnum struct {
	HTTP  MicroserviceImportReqProtocol
	HTTPS MicroserviceImportReqProtocol
}

func GetMicroserviceImportReqProtocolEnum

func GetMicroserviceImportReqProtocolEnum() MicroserviceImportReqProtocolEnum

type MicroserviceImportReqServiceType

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

func (MicroserviceImportReqServiceType) MarshalJSON

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

func (*MicroserviceImportReqServiceType) UnmarshalJSON

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

func (MicroserviceImportReqServiceType) Value

type MicroserviceLabel

type MicroserviceLabel struct {

	// 标签名称。  以字母或者数字开头和结尾,由字母、数字、连接符('-')、下划线('_')、点号('.')组成且63个字符之内。
	LabelName string `json:"label_name"`

	// 标签值。  以字母或者数字开头和结尾,由字母、数字、连接符('-')、下划线('_')、点号('.')组成且63个字符之内。
	LabelValue string `json:"label_value"`
}

func (MicroserviceLabel) String

func (o MicroserviceLabel) String() string

type NetworkTrafficStats

type NetworkTrafficStats struct {

	// 下行吞吐量(byte)
	OutputThroughput *int64 `json:"output_throughput,omitempty"`

	// 上行吞吐量(byte)
	InputThroughput *int64 `json:"input_throughput,omitempty"`
}

func (NetworkTrafficStats) String

func (o NetworkTrafficStats) String() string

type NodeIps

type NodeIps struct {

	// livedata节点IP地址列表
	Livedata *[]string `json:"livedata,omitempty"`

	// shubao节点IP地址列表
	Shubao *[]string `json:"shubao,omitempty"`
}

func (NodeIps) String

func (o NodeIps) String() string

type OpenEngressEipReq

type OpenEngressEipReq struct {

	// 出公网带宽  单位:Mbit/s
	BandwidthSize *string `json:"bandwidth_size,omitempty"`

	// 出公网带宽计费类型: - bandwidth:按带宽计费 - traffic:按流量计费
	BandwidthChargingMode *OpenEngressEipReqBandwidthChargingMode `json:"bandwidth_charging_mode,omitempty"`
}

func (OpenEngressEipReq) String

func (o OpenEngressEipReq) String() string

type OpenEngressEipReqBandwidthChargingMode

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

func (OpenEngressEipReqBandwidthChargingMode) MarshalJSON

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

func (*OpenEngressEipReqBandwidthChargingMode) UnmarshalJSON

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

func (OpenEngressEipReqBandwidthChargingMode) Value

type OpenEngressEipReqBandwidthChargingModeEnum

type OpenEngressEipReqBandwidthChargingModeEnum struct {
	BANDWIDTH OpenEngressEipReqBandwidthChargingMode
	TRAFFIC   OpenEngressEipReqBandwidthChargingMode
}

func GetOpenEngressEipReqBandwidthChargingModeEnum

func GetOpenEngressEipReqBandwidthChargingModeEnum() OpenEngressEipReqBandwidthChargingModeEnum

type OpenIngressEipReq

type OpenIngressEipReq struct {

	// 入公网带宽  单位:Mbit/s
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 入公网带宽计费类型: - bandwidth:按带宽计费 - traffic:按流量计费
	BandwidthChargingMode *OpenIngressEipReqBandwidthChargingMode `json:"bandwidth_charging_mode,omitempty"`
}

func (OpenIngressEipReq) String

func (o OpenIngressEipReq) String() string

type OpenIngressEipReqBandwidthChargingMode

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

func (OpenIngressEipReqBandwidthChargingMode) MarshalJSON

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

func (*OpenIngressEipReqBandwidthChargingMode) UnmarshalJSON

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

func (OpenIngressEipReqBandwidthChargingMode) Value

type OpenIngressEipReqBandwidthChargingModeEnum

type OpenIngressEipReqBandwidthChargingModeEnum struct {
	BANDWIDTH OpenIngressEipReqBandwidthChargingMode
	TRAFFIC   OpenIngressEipReqBandwidthChargingMode
}

func GetOpenIngressEipReqBandwidthChargingModeEnum

func GetOpenIngressEipReqBandwidthChargingModeEnum() OpenIngressEipReqBandwidthChargingModeEnum

type PluginApiAttachInfo

type PluginApiAttachInfo struct {

	// 插件绑定编码。
	PluginAttachId *string `json:"plugin_attach_id,omitempty"`

	// 插件编码。
	PluginId *string `json:"plugin_id,omitempty"`

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符 > 中文字符必须为UTF-8或者unicode编码。
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType *PluginApiAttachInfoPluginType `json:"plugin_type,omitempty"`

	// 插件可见范围。global:全局可见。
	PluginScope *PluginApiAttachInfoPluginScope `json:"plugin_scope,omitempty"`

	// 绑定API的环境编码。
	EnvId *string `json:"env_id,omitempty"`

	// api授权绑定的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 绑定的API编码。
	ApiId *string `json:"api_id,omitempty"`

	// API的名称
	ApiName *string `json:"api_name,omitempty"`

	// 绑定时间。
	AttachedTime *sdktime.SdkTime `json:"attached_time,omitempty"`
}

func (PluginApiAttachInfo) String

func (o PluginApiAttachInfo) String() string

type PluginApiAttachInfoPluginScope

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

func (PluginApiAttachInfoPluginScope) MarshalJSON

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

func (*PluginApiAttachInfoPluginScope) UnmarshalJSON

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

func (PluginApiAttachInfoPluginScope) Value

type PluginApiAttachInfoPluginScopeEnum

type PluginApiAttachInfoPluginScopeEnum struct {
	GLOBAL PluginApiAttachInfoPluginScope
}

func GetPluginApiAttachInfoPluginScopeEnum

func GetPluginApiAttachInfoPluginScopeEnum() PluginApiAttachInfoPluginScopeEnum

type PluginApiAttachInfoPluginType

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

func (PluginApiAttachInfoPluginType) MarshalJSON

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

func (*PluginApiAttachInfoPluginType) UnmarshalJSON

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

func (PluginApiAttachInfoPluginType) Value

type PluginApiInfo

type PluginApiInfo struct {

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称。   支持汉字、英文、数字、中划线、下划线、点、斜杠、中英文格式下的小括号和冒号、中文格式下的顿号,且只能以英文、汉字和数字开头,3-255个字符。  > 中文字符必须为UTF-8或者unicode编码。
	ApiName *string `json:"api_name,omitempty"`

	// API类型 - 1:公有API - 2:私有API
	Type *int32 `json:"type,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol *PluginApiInfoReqProtocol `json:"req_protocol,omitempty"`

	// API的请求方式
	ReqMethod *PluginApiInfoReqMethod `json:"req_method,omitempty"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。   支持环境变量,使用环境变量时,每个变量名的长度为3 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线组成,且只能以英文开头。  > 需要服从URI规范。
	ReqUri *string `json:"req_uri,omitempty"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType *PluginApiInfoAuthType `json:"auth_type,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *PluginApiInfoMatchMode `json:"match_mode,omitempty"`

	// API描述。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 归属集成应用编码,兼容roma实例的字段,一般为空
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 绑定API的环境编码。
	EnvId *string `json:"env_id,omitempty"`

	// 绑定API的环境名称
	EnvName *string `json:"env_name,omitempty"`

	// 发布编码。
	PublishId *string `json:"publish_id,omitempty"`

	// 插件绑定编码。
	PluginAttachId *string `json:"plugin_attach_id,omitempty"`

	// 绑定时间。
	AttachedTime *sdktime.SdkTime `json:"attached_time,omitempty"`
}

func (PluginApiInfo) String

func (o PluginApiInfo) String() string

type PluginApiInfoAuthType

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

func (PluginApiInfoAuthType) MarshalJSON

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

func (*PluginApiInfoAuthType) UnmarshalJSON

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

func (PluginApiInfoAuthType) Value

func (c PluginApiInfoAuthType) Value() string

type PluginApiInfoAuthTypeEnum

type PluginApiInfoAuthTypeEnum struct {
	NONE       PluginApiInfoAuthType
	APP        PluginApiInfoAuthType
	IAM        PluginApiInfoAuthType
	AUTHORIZER PluginApiInfoAuthType
}

func GetPluginApiInfoAuthTypeEnum

func GetPluginApiInfoAuthTypeEnum() PluginApiInfoAuthTypeEnum

type PluginApiInfoMatchMode

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

func (PluginApiInfoMatchMode) MarshalJSON

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

func (*PluginApiInfoMatchMode) UnmarshalJSON

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

func (PluginApiInfoMatchMode) Value

func (c PluginApiInfoMatchMode) Value() string

type PluginApiInfoMatchModeEnum

type PluginApiInfoMatchModeEnum struct {
	SWA    PluginApiInfoMatchMode
	NORMAL PluginApiInfoMatchMode
}

func GetPluginApiInfoMatchModeEnum

func GetPluginApiInfoMatchModeEnum() PluginApiInfoMatchModeEnum

type PluginApiInfoReqMethod

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

func (PluginApiInfoReqMethod) MarshalJSON

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

func (*PluginApiInfoReqMethod) UnmarshalJSON

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

func (PluginApiInfoReqMethod) Value

func (c PluginApiInfoReqMethod) Value() string

type PluginApiInfoReqProtocol

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

func (PluginApiInfoReqProtocol) MarshalJSON

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

func (*PluginApiInfoReqProtocol) UnmarshalJSON

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

func (PluginApiInfoReqProtocol) Value

func (c PluginApiInfoReqProtocol) Value() string

type PluginApiInfoReqProtocolEnum

type PluginApiInfoReqProtocolEnum struct {
	HTTP  PluginApiInfoReqProtocol
	HTTPS PluginApiInfoReqProtocol
	BOTH  PluginApiInfoReqProtocol
}

func GetPluginApiInfoReqProtocolEnum

func GetPluginApiInfoReqProtocolEnum() PluginApiInfoReqProtocolEnum

type PluginCreate

type PluginCreate struct {

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。
	PluginName string `json:"plugin_name"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送  - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType PluginCreatePluginType `json:"plugin_type"`

	// 插件可见范围。global:全局可见;
	PluginScope PluginCreatePluginScope `json:"plugin_scope"`

	// 插件定义内容,支持json。参考提供的具体模型定义  CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容
	PluginContent string `json:"plugin_content"`

	// 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`
}

func (PluginCreate) String

func (o PluginCreate) String() string

type PluginCreatePluginScope

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

func (PluginCreatePluginScope) MarshalJSON

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

func (*PluginCreatePluginScope) UnmarshalJSON

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

func (PluginCreatePluginScope) Value

func (c PluginCreatePluginScope) Value() string

type PluginCreatePluginScopeEnum

type PluginCreatePluginScopeEnum struct {
	GLOBAL PluginCreatePluginScope
}

func GetPluginCreatePluginScopeEnum

func GetPluginCreatePluginScopeEnum() PluginCreatePluginScopeEnum

type PluginCreatePluginType

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

func (PluginCreatePluginType) MarshalJSON

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

func (*PluginCreatePluginType) UnmarshalJSON

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

func (PluginCreatePluginType) Value

func (c PluginCreatePluginType) Value() string

type PluginCreatePluginTypeEnum

type PluginCreatePluginTypeEnum struct {
	CORS             PluginCreatePluginType
	SET_RESP_HEADERS PluginCreatePluginType
	KAFKA_LOG        PluginCreatePluginType
	BREAKER          PluginCreatePluginType
	RATE_LIMIT       PluginCreatePluginType
	THIRD_AUTH       PluginCreatePluginType
}

func GetPluginCreatePluginTypeEnum

func GetPluginCreatePluginTypeEnum() PluginCreatePluginTypeEnum

type PluginInfo

type PluginInfo struct {

	// 插件编码。
	PluginId string `json:"plugin_id"`

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。
	PluginName string `json:"plugin_name"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType PluginInfoPluginType `json:"plugin_type"`

	// 插件可见范围。global:全局可见;
	PluginScope PluginInfoPluginScope `json:"plugin_scope"`

	// 插件定义内容,支持json。参考提供的具体模型定义  CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容
	PluginContent string `json:"plugin_content"`

	// 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

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

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

func (PluginInfo) String

func (o PluginInfo) String() string

type PluginInfoPluginScope

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

func (PluginInfoPluginScope) MarshalJSON

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

func (*PluginInfoPluginScope) UnmarshalJSON

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

func (PluginInfoPluginScope) Value

func (c PluginInfoPluginScope) Value() string

type PluginInfoPluginScopeEnum

type PluginInfoPluginScopeEnum struct {
	GLOBAL PluginInfoPluginScope
}

func GetPluginInfoPluginScopeEnum

func GetPluginInfoPluginScopeEnum() PluginInfoPluginScopeEnum

type PluginInfoPluginType

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

func (PluginInfoPluginType) MarshalJSON

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

func (*PluginInfoPluginType) UnmarshalJSON

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

func (PluginInfoPluginType) Value

func (c PluginInfoPluginType) Value() string

type PluginInfoPluginTypeEnum

type PluginInfoPluginTypeEnum struct {
	CORS             PluginInfoPluginType
	SET_RESP_HEADERS PluginInfoPluginType
	KAFKA_LOG        PluginInfoPluginType
	BREAKER          PluginInfoPluginType
	RATE_LIMIT       PluginInfoPluginType
	THIRD_AUTH       PluginInfoPluginType
}

func GetPluginInfoPluginTypeEnum

func GetPluginInfoPluginTypeEnum() PluginInfoPluginTypeEnum

type PluginOperApiInfo

type PluginOperApiInfo struct {

	// 绑定API的环境编码。
	EnvId string `json:"env_id"`

	// 绑定的API编码列表。
	ApiIds []string `json:"api_ids"`
}

func (PluginOperApiInfo) String

func (o PluginOperApiInfo) String() string

type PublishResp

type PublishResp struct {

	// 发布记录的ID
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 发布的环境编号
	EnvId *string `json:"env_id,omitempty"`

	// 发布描述
	Remark *string `json:"remark,omitempty"`

	// 发布时间
	PublishTime *sdktime.SdkTime `json:"publish_time,omitempty"`

	// 在线的版本号
	VersionId *string `json:"version_id,omitempty"`
}

func (PublishResp) String

func (o PublishResp) String() string

type RemoveEipV2Request

type RemoveEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

RemoveEipV2Request Request Object

func (RemoveEipV2Request) String

func (o RemoveEipV2Request) String() string

type RemoveEipV2Response

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

RemoveEipV2Response Response Object

func (RemoveEipV2Response) String

func (o RemoveEipV2Response) String() string

type RemoveEngressEipV2Request

type RemoveEngressEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

RemoveEngressEipV2Request Request Object

func (RemoveEngressEipV2Request) String

func (o RemoveEngressEipV2Request) String() string

type RemoveEngressEipV2Response

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

RemoveEngressEipV2Response Response Object

func (RemoveEngressEipV2Response) String

type RemoveIngressEipV2Request

type RemoveIngressEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

RemoveIngressEipV2Request Request Object

func (RemoveIngressEipV2Request) String

func (o RemoveIngressEipV2Request) String() string

type RemoveIngressEipV2Response

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

RemoveIngressEipV2Response Response Object

func (RemoveIngressEipV2Response) String

type ReqParam

type ReqParam struct {

	// 参数名称。 长度为1 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 参数类型
	Type ReqParamType `json:"type"`

	// 参数位置
	Location ReqParamLocation `json:"location"`

	// 参数默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// 参数示例值
	SampleValue *string `json:"sample_value,omitempty"`

	// 是否必须 - 1:是 - 2:否  location为PATH时,required默认为1,其他场景required默认为2
	Required *ReqParamRequired `json:"required,omitempty"`

	// 是否开启校验 - 1:开启校验 - 2:不开启校验
	ValidEnable *ReqParamValidEnable `json:"valid_enable,omitempty"`

	// 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数枚举值
	Enumerations *string `json:"enumerations,omitempty"`

	// 参数最小值  参数类型为NUMBER时有效
	MinNum *int32 `json:"min_num,omitempty"`

	// 参数最大值  参数类型为NUMBER时有效
	MaxNum *int32 `json:"max_num,omitempty"`

	// 参数最小长度  参数类型为STRING时有效
	MinSize *int32 `json:"min_size,omitempty"`

	// 参数最大长度  参数类型为STRING时有效
	MaxSize *int32 `json:"max_size,omitempty"`

	// 正则校验规则  暂不支持
	Regular *string `json:"regular,omitempty"`

	// JSON校验规则  暂不支持
	JsonSchema *string `json:"json_schema,omitempty"`

	// 是否透传 - 1:是 - 2:否
	PassThrough *ReqParamPassThrough `json:"pass_through,omitempty"`

	// 参数编号
	Id *string `json:"id,omitempty"`
}

func (ReqParam) String

func (o ReqParam) String() string

type ReqParamBase

type ReqParamBase struct {

	// 参数名称。 长度为1 ~ 32位的字符串,字符串由英文字母、数字、中划线、下划线、英文句号组成,且只能以英文开头。
	Name string `json:"name"`

	// 参数类型
	Type ReqParamBaseType `json:"type"`

	// 参数位置
	Location ReqParamBaseLocation `json:"location"`

	// 参数默认值
	DefaultValue *string `json:"default_value,omitempty"`

	// 参数示例值
	SampleValue *string `json:"sample_value,omitempty"`

	// 是否必须 - 1:是 - 2:否  location为PATH时,required默认为1,其他场景required默认为2
	Required *ReqParamBaseRequired `json:"required,omitempty"`

	// 是否开启校验 - 1:开启校验 - 2:不开启校验
	ValidEnable *ReqParamBaseValidEnable `json:"valid_enable,omitempty"`

	// 描述信息。长度不超过255个字符 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 参数枚举值
	Enumerations *string `json:"enumerations,omitempty"`

	// 参数最小值  参数类型为NUMBER时有效
	MinNum *int32 `json:"min_num,omitempty"`

	// 参数最大值  参数类型为NUMBER时有效
	MaxNum *int32 `json:"max_num,omitempty"`

	// 参数最小长度  参数类型为STRING时有效
	MinSize *int32 `json:"min_size,omitempty"`

	// 参数最大长度  参数类型为STRING时有效
	MaxSize *int32 `json:"max_size,omitempty"`

	// 正则校验规则  暂不支持
	Regular *string `json:"regular,omitempty"`

	// JSON校验规则  暂不支持
	JsonSchema *string `json:"json_schema,omitempty"`

	// 是否透传 - 1:是 - 2:否
	PassThrough *ReqParamBasePassThrough `json:"pass_through,omitempty"`
}

func (ReqParamBase) String

func (o ReqParamBase) String() string

type ReqParamBaseLocation

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

func (ReqParamBaseLocation) MarshalJSON

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

func (*ReqParamBaseLocation) UnmarshalJSON

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

func (ReqParamBaseLocation) Value

func (c ReqParamBaseLocation) Value() string

type ReqParamBaseLocationEnum

type ReqParamBaseLocationEnum struct {
	PATH   ReqParamBaseLocation
	QUERY  ReqParamBaseLocation
	HEADER ReqParamBaseLocation
}

func GetReqParamBaseLocationEnum

func GetReqParamBaseLocationEnum() ReqParamBaseLocationEnum

type ReqParamBasePassThrough

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

func (ReqParamBasePassThrough) MarshalJSON

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

func (*ReqParamBasePassThrough) UnmarshalJSON

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

func (ReqParamBasePassThrough) Value

func (c ReqParamBasePassThrough) Value() int32

type ReqParamBasePassThroughEnum

type ReqParamBasePassThroughEnum struct {
	E_1 ReqParamBasePassThrough
	E_2 ReqParamBasePassThrough
}

func GetReqParamBasePassThroughEnum

func GetReqParamBasePassThroughEnum() ReqParamBasePassThroughEnum

type ReqParamBaseRequired

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

func (ReqParamBaseRequired) MarshalJSON

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

func (*ReqParamBaseRequired) UnmarshalJSON

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

func (ReqParamBaseRequired) Value

func (c ReqParamBaseRequired) Value() int32

type ReqParamBaseRequiredEnum

type ReqParamBaseRequiredEnum struct {
	E_1 ReqParamBaseRequired
	E_2 ReqParamBaseRequired
}

func GetReqParamBaseRequiredEnum

func GetReqParamBaseRequiredEnum() ReqParamBaseRequiredEnum

type ReqParamBaseType

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

func (ReqParamBaseType) MarshalJSON

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

func (*ReqParamBaseType) UnmarshalJSON

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

func (ReqParamBaseType) Value

func (c ReqParamBaseType) Value() string

type ReqParamBaseTypeEnum

type ReqParamBaseTypeEnum struct {
	STRING ReqParamBaseType
	NUMBER ReqParamBaseType
}

func GetReqParamBaseTypeEnum

func GetReqParamBaseTypeEnum() ReqParamBaseTypeEnum

type ReqParamBaseValidEnable

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

func (ReqParamBaseValidEnable) MarshalJSON

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

func (*ReqParamBaseValidEnable) UnmarshalJSON

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

func (ReqParamBaseValidEnable) Value

func (c ReqParamBaseValidEnable) Value() int32

type ReqParamBaseValidEnableEnum

type ReqParamBaseValidEnableEnum struct {
	E_1 ReqParamBaseValidEnable
	E_2 ReqParamBaseValidEnable
}

func GetReqParamBaseValidEnableEnum

func GetReqParamBaseValidEnableEnum() ReqParamBaseValidEnableEnum

type ReqParamLocation

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

func (ReqParamLocation) MarshalJSON

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

func (*ReqParamLocation) UnmarshalJSON

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

func (ReqParamLocation) Value

func (c ReqParamLocation) Value() string

type ReqParamLocationEnum

type ReqParamLocationEnum struct {
	PATH   ReqParamLocation
	QUERY  ReqParamLocation
	HEADER ReqParamLocation
}

func GetReqParamLocationEnum

func GetReqParamLocationEnum() ReqParamLocationEnum

type ReqParamPassThrough

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

func (ReqParamPassThrough) MarshalJSON

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

func (*ReqParamPassThrough) UnmarshalJSON

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

func (ReqParamPassThrough) Value

func (c ReqParamPassThrough) Value() int32

type ReqParamPassThroughEnum

type ReqParamPassThroughEnum struct {
	E_1 ReqParamPassThrough
	E_2 ReqParamPassThrough
}

func GetReqParamPassThroughEnum

func GetReqParamPassThroughEnum() ReqParamPassThroughEnum

type ReqParamRequired

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

func (ReqParamRequired) MarshalJSON

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

func (*ReqParamRequired) UnmarshalJSON

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

func (ReqParamRequired) Value

func (c ReqParamRequired) Value() int32

type ReqParamRequiredEnum

type ReqParamRequiredEnum struct {
	E_1 ReqParamRequired
	E_2 ReqParamRequired
}

func GetReqParamRequiredEnum

func GetReqParamRequiredEnum() ReqParamRequiredEnum

type ReqParamType

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

func (ReqParamType) MarshalJSON

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

func (*ReqParamType) UnmarshalJSON

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

func (ReqParamType) Value

func (c ReqParamType) Value() string

type ReqParamTypeEnum

type ReqParamTypeEnum struct {
	STRING ReqParamType
	NUMBER ReqParamType
}

func GetReqParamTypeEnum

func GetReqParamTypeEnum() ReqParamTypeEnum

type ReqParamValidEnable

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

func (ReqParamValidEnable) MarshalJSON

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

func (*ReqParamValidEnable) UnmarshalJSON

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

func (ReqParamValidEnable) Value

func (c ReqParamValidEnable) Value() int32

type ReqParamValidEnableEnum

type ReqParamValidEnableEnum struct {
	E_1 ReqParamValidEnable
	E_2 ReqParamValidEnable
}

func GetReqParamValidEnableEnum

func GetReqParamValidEnableEnum() ReqParamValidEnableEnum

type RequestCountStats

type RequestCountStats struct {

	// 请求总次数
	ReqCount *int32 `json:"req_count,omitempty"`

	// 2xx响应码总次数
	ReqCount2xx *int32 `json:"req_count2xx,omitempty"`

	// 4xx响应码总次数
	ReqCount4xx *int32 `json:"req_count4xx,omitempty"`

	// 5xx响应码总次数
	ReqCount5xx *int32 `json:"req_count5xx,omitempty"`

	// 错误次数
	ReqCountError *int32 `json:"req_count_error,omitempty"`
}

func (RequestCountStats) String

func (o RequestCountStats) String() string

type ResettingAppSecretV2Request

type ResettingAppSecretV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

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

ResettingAppSecretV2Request Request Object

func (ResettingAppSecretV2Request) String

type ResettingAppSecretV2Response

type ResettingAppSecretV2Response struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云商店分配  暂不支持MARKET
	Creator *ResettingAppSecretV2ResponseCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *ResettingAppSecretV2ResponseStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用  默认apig,暂不支持其他类型
	AppType *ResettingAppSecretV2ResponseAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType    *string `json:"roma_app_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ResettingAppSecretV2Response Response Object

func (ResettingAppSecretV2Response) String

type ResettingAppSecretV2ResponseAppType

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

func (ResettingAppSecretV2ResponseAppType) MarshalJSON

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

func (*ResettingAppSecretV2ResponseAppType) UnmarshalJSON

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

func (ResettingAppSecretV2ResponseAppType) Value

type ResettingAppSecretV2ResponseAppTypeEnum

type ResettingAppSecretV2ResponseAppTypeEnum struct {
	APIG ResettingAppSecretV2ResponseAppType
	ROMA ResettingAppSecretV2ResponseAppType
}

func GetResettingAppSecretV2ResponseAppTypeEnum

func GetResettingAppSecretV2ResponseAppTypeEnum() ResettingAppSecretV2ResponseAppTypeEnum

type ResettingAppSecretV2ResponseCreator

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

func (ResettingAppSecretV2ResponseCreator) MarshalJSON

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

func (*ResettingAppSecretV2ResponseCreator) UnmarshalJSON

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

func (ResettingAppSecretV2ResponseCreator) Value

type ResettingAppSecretV2ResponseCreatorEnum

type ResettingAppSecretV2ResponseCreatorEnum struct {
	USER   ResettingAppSecretV2ResponseCreator
	MARKET ResettingAppSecretV2ResponseCreator
}

func GetResettingAppSecretV2ResponseCreatorEnum

func GetResettingAppSecretV2ResponseCreatorEnum() ResettingAppSecretV2ResponseCreatorEnum

type ResettingAppSecretV2ResponseStatus

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

func (ResettingAppSecretV2ResponseStatus) MarshalJSON

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

func (*ResettingAppSecretV2ResponseStatus) UnmarshalJSON

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

func (ResettingAppSecretV2ResponseStatus) Value

type ResettingAppSecretV2ResponseStatusEnum

type ResettingAppSecretV2ResponseStatusEnum struct {
	E_1 ResettingAppSecretV2ResponseStatus
}

func GetResettingAppSecretV2ResponseStatusEnum

func GetResettingAppSecretV2ResponseStatusEnum() ResettingAppSecretV2ResponseStatusEnum

type RespInstanceBase

type RespInstanceBase struct {

	// 实例ID
	Id *string `json:"id,omitempty"`

	// 实例所属租户ID
	ProjectId *string `json:"project_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
	Status *RespInstanceBaseStatus `json:"status,omitempty"`

	// 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
	InstanceStatus *RespInstanceBaseInstanceStatus `json:"instance_status,omitempty"`

	// 实例类型  默认apig
	Type *string `json:"type,omitempty"`

	// 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例
	Spec *RespInstanceBaseSpec `json:"spec,omitempty"`

	// 实例创建时间。unix时间戳格式。
	CreateTime *int64 `json:"create_time,omitempty"`

	// 企业项目ID,企业帐号必填
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例绑定的弹性IP地址
	EipAddress *string `json:"eip_address,omitempty"`

	// 实例计费方式: - 0:按需计费 - 1:[包周期计费](tag:hws)[暂未使用](tag:hws_hk,cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm)
	ChargingMode *RespInstanceBaseChargingMode `json:"charging_mode,omitempty"`

	// [包周期计费订单编号](tag:hws)[计费订单编号参数暂未使用](tag:hws_hk,cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm)
	CbcMetadata *string `json:"cbc_metadata,omitempty"`

	// 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持
	LoadbalancerProvider *RespInstanceBaseLoadbalancerProvider `json:"loadbalancer_provider,omitempty"`
}

func (RespInstanceBase) String

func (o RespInstanceBase) String() string

type RespInstanceBaseChargingMode

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

func (RespInstanceBaseChargingMode) MarshalJSON

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

func (*RespInstanceBaseChargingMode) UnmarshalJSON

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

func (RespInstanceBaseChargingMode) Value

type RespInstanceBaseChargingModeEnum

type RespInstanceBaseChargingModeEnum struct {
	E_0 RespInstanceBaseChargingMode
	E_1 RespInstanceBaseChargingMode
}

func GetRespInstanceBaseChargingModeEnum

func GetRespInstanceBaseChargingModeEnum() RespInstanceBaseChargingModeEnum

type RespInstanceBaseInstanceStatus

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

func (RespInstanceBaseInstanceStatus) MarshalJSON

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

func (*RespInstanceBaseInstanceStatus) UnmarshalJSON

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

func (RespInstanceBaseInstanceStatus) Value

type RespInstanceBaseLoadbalancerProvider

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

func (RespInstanceBaseLoadbalancerProvider) MarshalJSON

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

func (*RespInstanceBaseLoadbalancerProvider) UnmarshalJSON

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

func (RespInstanceBaseLoadbalancerProvider) Value

type RespInstanceBaseLoadbalancerProviderEnum

type RespInstanceBaseLoadbalancerProviderEnum struct {
	LVS RespInstanceBaseLoadbalancerProvider
	ELB RespInstanceBaseLoadbalancerProvider
}

func GetRespInstanceBaseLoadbalancerProviderEnum

func GetRespInstanceBaseLoadbalancerProviderEnum() RespInstanceBaseLoadbalancerProviderEnum

type RespInstanceBaseSpec

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

func (RespInstanceBaseSpec) MarshalJSON

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

func (*RespInstanceBaseSpec) UnmarshalJSON

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

func (RespInstanceBaseSpec) Value

func (c RespInstanceBaseSpec) Value() string

type RespInstanceBaseSpecEnum

type RespInstanceBaseSpecEnum struct {
	BASIC             RespInstanceBaseSpec
	PROFESSIONAL      RespInstanceBaseSpec
	ENTERPRISE        RespInstanceBaseSpec
	PLATINUM          RespInstanceBaseSpec
	BASIC_IPV6        RespInstanceBaseSpec
	PROFESSIONAL_IPV6 RespInstanceBaseSpec
	ENTERPRISE_IPV6   RespInstanceBaseSpec
	PLATINUM_IPV6     RespInstanceBaseSpec
}

func GetRespInstanceBaseSpecEnum

func GetRespInstanceBaseSpecEnum() RespInstanceBaseSpecEnum

type RespInstanceBaseStatus

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

func (RespInstanceBaseStatus) MarshalJSON

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

func (*RespInstanceBaseStatus) UnmarshalJSON

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

func (RespInstanceBaseStatus) Value

func (c RespInstanceBaseStatus) Value() string

type RespInstanceBaseStatusEnum

type RespInstanceBaseStatusEnum struct {
	CREATING           RespInstanceBaseStatus
	CREATE_SUCCESS     RespInstanceBaseStatus
	CREATE_FAIL        RespInstanceBaseStatus
	INITING            RespInstanceBaseStatus
	REGISTERING        RespInstanceBaseStatus
	RUNNING            RespInstanceBaseStatus
	INITING_FAILED     RespInstanceBaseStatus
	REGISTER_FAILED    RespInstanceBaseStatus
	INSTALLING         RespInstanceBaseStatus
	INSTALL_FAILED     RespInstanceBaseStatus
	UPDATING           RespInstanceBaseStatus
	UPDATE_FAILED      RespInstanceBaseStatus
	ROLLBACKING        RespInstanceBaseStatus
	ROLLBACK_SUCCESS   RespInstanceBaseStatus
	ROLLBACK_FAILED    RespInstanceBaseStatus
	DELETING           RespInstanceBaseStatus
	DELETE_FAILED      RespInstanceBaseStatus
	UNREGISTERING      RespInstanceBaseStatus
	UN_REGISTER_FAILED RespInstanceBaseStatus
	CREATE_TIMEOUT     RespInstanceBaseStatus
	INIT_TIMEOUT       RespInstanceBaseStatus
	REGISTER_TIMEOUT   RespInstanceBaseStatus
	INSTALL_TIMEOUT    RespInstanceBaseStatus
	UPDATE_TIMEOUT     RespInstanceBaseStatus
	ROLLBACK_TIMEOUT   RespInstanceBaseStatus
	DELETE_TIMEOUT     RespInstanceBaseStatus
	UNREGISTER_TIMEOUT RespInstanceBaseStatus
	STARTING           RespInstanceBaseStatus
	FREEZING           RespInstanceBaseStatus
	FROZEN             RespInstanceBaseStatus
	RESTARTING         RespInstanceBaseStatus
	RESTART_FAIL       RespInstanceBaseStatus
	UNHEALTHY          RespInstanceBaseStatus
	RESTART_TIMEOUT    RespInstanceBaseStatus
}

func GetRespInstanceBaseStatusEnum

func GetRespInstanceBaseStatusEnum() RespInstanceBaseStatusEnum

type ResponseInfo

type ResponseInfo struct {

	// 响应的HTTP状态码
	Status *int32 `json:"status,omitempty"`

	// 响应的Body模板
	Body *string `json:"body,omitempty"`
}

func (ResponseInfo) String

func (o ResponseInfo) String() string

type ResponseInfoResp

type ResponseInfoResp struct {

	// 响应的HTTP状态码
	Status *int32 `json:"status,omitempty"`

	// 响应的Body模板
	Body *string `json:"body,omitempty"`

	// 是否为默认响应
	Default *bool `json:"default,omitempty"`
}

func (ResponseInfoResp) String

func (o ResponseInfoResp) String() string

type ResponsesCreate

type ResponsesCreate struct {

	// 响应名称
	Name *string `json:"name,omitempty"`

	// 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX - THIRD_AUTH_FAILURE: 第三方认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证身份来源错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证配置错误  每项错误类型均为一个JSON体
	Responses map[string]ResponseInfo `json:"responses,omitempty"`
}

func (ResponsesCreate) String

func (o ResponsesCreate) String() string

type ResponsesInfo

type ResponsesInfo struct {

	// 响应名称
	Name *string `json:"name,omitempty"`

	// 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX - THIRD_AUTH_FAILURE: 第三方认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证身份来源错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证配置错误  每项错误类型均为一个JSON体
	Responses map[string]ResponseInfoResp `json:"responses,omitempty"`

	// 响应ID
	Id *string `json:"id,omitempty"`

	// 是否为分组默认响应
	Default *bool `json:"default,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`
}

func (ResponsesInfo) String

func (o ResponsesInfo) String() string

type ShowDetailsOfAclPolicyV2Request

type ShowDetailsOfAclPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`
}

ShowDetailsOfAclPolicyV2Request Request Object

func (ShowDetailsOfAclPolicyV2Request) String

type ShowDetailsOfAclPolicyV2Response

type ShowDetailsOfAclPolicyV2Response struct {

	// 名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型: - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 对象类型: - IP - DOMAIN - DOMAIN_ID
	EntityType *string `json:"entity_type,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfAclPolicyV2Response Response Object

func (ShowDetailsOfAclPolicyV2Response) String

type ShowDetailsOfApiGroupV2Request

type ShowDetailsOfApiGroupV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`
}

ShowDetailsOfApiGroupV2Request Request Object

func (ShowDetailsOfApiGroupV2Request) String

type ShowDetailsOfApiGroupV2Response

type ShowDetailsOfApiGroupV2Response struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status ShowDetailsOfApiGroupV2ResponseStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中  [暂不支持](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk)
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组  暂不支持,默认为V1
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称  暂不支持
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfApiGroupV2Response Response Object

func (ShowDetailsOfApiGroupV2Response) String

type ShowDetailsOfApiGroupV2ResponseStatus

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

func (ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON

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

func (*ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON

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

func (ShowDetailsOfApiGroupV2ResponseStatus) Value

type ShowDetailsOfApiGroupV2ResponseStatusEnum

type ShowDetailsOfApiGroupV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfApiGroupV2ResponseStatus
}

func GetShowDetailsOfApiGroupV2ResponseStatusEnum

func GetShowDetailsOfApiGroupV2ResponseStatusEnum() ShowDetailsOfApiGroupV2ResponseStatusEnum

type ShowDetailsOfApiV2Request

type ShowDetailsOfApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`
}

ShowDetailsOfApiV2Request Request Object

func (ShowDetailsOfApiV2Request) String

func (o ShowDetailsOfApiV2Request) String() string

type ShowDetailsOfApiV2Response

type ShowDetailsOfApiV2Response struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type ShowDetailsOfApiV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol ShowDetailsOfApiV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod ShowDetailsOfApiV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType ShowDetailsOfApiV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *ShowDetailsOfApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType ShowDetailsOfApiV2ResponseBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *ShowDetailsOfApiV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

ShowDetailsOfApiV2Response Response Object

func (ShowDetailsOfApiV2Response) String

type ShowDetailsOfApiV2ResponseAuthType

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

func (ShowDetailsOfApiV2ResponseAuthType) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseAuthType) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseAuthType) Value

type ShowDetailsOfApiV2ResponseBackendType

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

func (ShowDetailsOfApiV2ResponseBackendType) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseBackendType) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseBackendType) Value

type ShowDetailsOfApiV2ResponseContentType

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

func (ShowDetailsOfApiV2ResponseContentType) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseContentType) Value

type ShowDetailsOfApiV2ResponseContentTypeEnum

type ShowDetailsOfApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    ShowDetailsOfApiV2ResponseContentType
	APPLICATION_XML     ShowDetailsOfApiV2ResponseContentType
	MULTIPART_FORM_DATE ShowDetailsOfApiV2ResponseContentType
	TEXT_PLAIN          ShowDetailsOfApiV2ResponseContentType
}

func GetShowDetailsOfApiV2ResponseContentTypeEnum

func GetShowDetailsOfApiV2ResponseContentTypeEnum() ShowDetailsOfApiV2ResponseContentTypeEnum

type ShowDetailsOfApiV2ResponseMatchMode

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

func (ShowDetailsOfApiV2ResponseMatchMode) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseMatchMode) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseMatchMode) Value

type ShowDetailsOfApiV2ResponseMatchModeEnum

type ShowDetailsOfApiV2ResponseMatchModeEnum struct {
	SWA    ShowDetailsOfApiV2ResponseMatchMode
	NORMAL ShowDetailsOfApiV2ResponseMatchMode
}

func GetShowDetailsOfApiV2ResponseMatchModeEnum

func GetShowDetailsOfApiV2ResponseMatchModeEnum() ShowDetailsOfApiV2ResponseMatchModeEnum

type ShowDetailsOfApiV2ResponseReqMethod

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

func (ShowDetailsOfApiV2ResponseReqMethod) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseReqMethod) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseReqMethod) Value

type ShowDetailsOfApiV2ResponseReqProtocol

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

func (ShowDetailsOfApiV2ResponseReqProtocol) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseReqProtocol) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseReqProtocol) Value

type ShowDetailsOfApiV2ResponseType

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

func (ShowDetailsOfApiV2ResponseType) MarshalJSON

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

func (*ShowDetailsOfApiV2ResponseType) UnmarshalJSON

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

func (ShowDetailsOfApiV2ResponseType) Value

type ShowDetailsOfApiV2ResponseTypeEnum

type ShowDetailsOfApiV2ResponseTypeEnum struct {
	E_1 ShowDetailsOfApiV2ResponseType
	E_2 ShowDetailsOfApiV2ResponseType
}

func GetShowDetailsOfApiV2ResponseTypeEnum

func GetShowDetailsOfApiV2ResponseTypeEnum() ShowDetailsOfApiV2ResponseTypeEnum

type ShowDetailsOfAppCodeV2Request

type ShowDetailsOfAppCodeV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// APP Code编号
	AppCodeId string `json:"app_code_id"`
}

ShowDetailsOfAppCodeV2Request Request Object

func (ShowDetailsOfAppCodeV2Request) String

type ShowDetailsOfAppCodeV2Response

type ShowDetailsOfAppCodeV2Response struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。
	AppCode string `json:"app_code"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 应用编号
	AppId *string `json:"app_id,omitempty"`

	// 创建时间
	CreateTime     *string `json:"create_time,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfAppCodeV2Response Response Object

func (ShowDetailsOfAppCodeV2Response) String

type ShowDetailsOfAppV2Request

type ShowDetailsOfAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

ShowDetailsOfAppV2Request Request Object

func (ShowDetailsOfAppV2Request) String

func (o ShowDetailsOfAppV2Request) String() string

type ShowDetailsOfAppV2Response

type ShowDetailsOfAppV2Response struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云商店分配  暂不支持MARKET
	Creator *ShowDetailsOfAppV2ResponseCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *ShowDetailsOfAppV2ResponseStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用  默认apig,暂不支持其他类型
	AppType *ShowDetailsOfAppV2ResponseAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType    *string `json:"roma_app_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfAppV2Response Response Object

func (ShowDetailsOfAppV2Response) String

type ShowDetailsOfAppV2ResponseAppType

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

func (ShowDetailsOfAppV2ResponseAppType) MarshalJSON

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

func (*ShowDetailsOfAppV2ResponseAppType) UnmarshalJSON

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

func (ShowDetailsOfAppV2ResponseAppType) Value

type ShowDetailsOfAppV2ResponseAppTypeEnum

type ShowDetailsOfAppV2ResponseAppTypeEnum struct {
	APIG ShowDetailsOfAppV2ResponseAppType
	ROMA ShowDetailsOfAppV2ResponseAppType
}

func GetShowDetailsOfAppV2ResponseAppTypeEnum

func GetShowDetailsOfAppV2ResponseAppTypeEnum() ShowDetailsOfAppV2ResponseAppTypeEnum

type ShowDetailsOfAppV2ResponseCreator

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

func (ShowDetailsOfAppV2ResponseCreator) MarshalJSON

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

func (*ShowDetailsOfAppV2ResponseCreator) UnmarshalJSON

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

func (ShowDetailsOfAppV2ResponseCreator) Value

type ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseCreatorEnum struct {
	USER   ShowDetailsOfAppV2ResponseCreator
	MARKET ShowDetailsOfAppV2ResponseCreator
}

func GetShowDetailsOfAppV2ResponseCreatorEnum

func GetShowDetailsOfAppV2ResponseCreatorEnum() ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseStatus

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

func (ShowDetailsOfAppV2ResponseStatus) MarshalJSON

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

func (*ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON

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

func (ShowDetailsOfAppV2ResponseStatus) Value

type ShowDetailsOfAppV2ResponseStatusEnum

type ShowDetailsOfAppV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfAppV2ResponseStatus
}

func GetShowDetailsOfAppV2ResponseStatusEnum

func GetShowDetailsOfAppV2ResponseStatusEnum() ShowDetailsOfAppV2ResponseStatusEnum

type ShowDetailsOfCertificateV2Request

type ShowDetailsOfCertificateV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

ShowDetailsOfCertificateV2Request Request Object

func (ShowDetailsOfCertificateV2Request) String

type ShowDetailsOfCertificateV2Response

type ShowDetailsOfCertificateV2Response struct {

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

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

	// 证书类型  - global:全局证书 - instance:实例证书
	Type *ShowDetailsOfCertificateV2ResponseType `json:"type,omitempty"`

	// 实例编码  - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码
	InstanceId *string `json:"instance_id,omitempty"`

	// 租户项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 域名
	CommonName *string `json:"common_name,omitempty"`

	// san扩展域名
	San *[]string `json:"san,omitempty"`

	// 有效期到
	NotAfter *sdktime.SdkTime `json:"not_after,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 是否存在信任的根证书CA。当绑定证书存在trusted_root_ca时为true。
	IsHasTrustedRootCa *bool `json:"is_has_trusted_root_ca,omitempty"`

	// 版本
	Version *int32 `json:"version,omitempty"`

	// 公司、组织
	Organization *[]string `json:"organization,omitempty"`

	// 部门
	OrganizationalUnit *[]string `json:"organizational_unit,omitempty"`

	// 城市
	Locality *[]string `json:"locality,omitempty"`

	// 省份
	State *[]string `json:"state,omitempty"`

	// 国家
	Country *[]string `json:"country,omitempty"`

	// 有效期从
	NotBefore *sdktime.SdkTime `json:"not_before,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 颁发者
	Issuer         *[]string `json:"issuer,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ShowDetailsOfCertificateV2Response Response Object

func (ShowDetailsOfCertificateV2Response) String

type ShowDetailsOfCertificateV2ResponseType

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

func (ShowDetailsOfCertificateV2ResponseType) MarshalJSON

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

func (*ShowDetailsOfCertificateV2ResponseType) UnmarshalJSON

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

func (ShowDetailsOfCertificateV2ResponseType) Value

type ShowDetailsOfCertificateV2ResponseTypeEnum

type ShowDetailsOfCertificateV2ResponseTypeEnum struct {
	GLOBAL   ShowDetailsOfCertificateV2ResponseType
	INSTANCE ShowDetailsOfCertificateV2ResponseType
}

func GetShowDetailsOfCertificateV2ResponseTypeEnum

func GetShowDetailsOfCertificateV2ResponseTypeEnum() ShowDetailsOfCertificateV2ResponseTypeEnum

type ShowDetailsOfCustomAuthorizersV2Request

type ShowDetailsOfCustomAuthorizersV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`
}

ShowDetailsOfCustomAuthorizersV2Request Request Object

func (ShowDetailsOfCustomAuthorizersV2Request) String

type ShowDetailsOfCustomAuthorizersV2Response

type ShowDetailsOfCustomAuthorizersV2Response struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端  不支持修改
	Type ShowDetailsOfCustomAuthorizersV2ResponseType `json:"type"`

	// 只能为:FUNC
	AuthorizerType ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType `json:"authorizer_type"`

	// 函数地址。
	AuthorizerUri string `json:"authorizer_uri"`

	// 函数版本。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerVersion *string `json:"authorizer_version,omitempty"`

	// 函数别名地址。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称  暂不支持
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfCustomAuthorizersV2Response Response Object

func (ShowDetailsOfCustomAuthorizersV2Response) String

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType

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

func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON

func (*ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON

func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum struct {
	FUNC ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType
}

type ShowDetailsOfCustomAuthorizersV2ResponseType

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

func (ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON

func (*ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON

func (ShowDetailsOfCustomAuthorizersV2ResponseType) Value

type ShowDetailsOfDomainNameCertificateV2Request

type ShowDetailsOfDomainNameCertificateV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

ShowDetailsOfDomainNameCertificateV2Request Request Object

func (ShowDetailsOfDomainNameCertificateV2Request) String

type ShowDetailsOfDomainNameCertificateV2Response

type ShowDetailsOfDomainNameCertificateV2Response struct {

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

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

	// 证书类型  - global:全局证书 - instance:实例证书
	Type *ShowDetailsOfDomainNameCertificateV2ResponseType `json:"type,omitempty"`

	// 实例编码  - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码
	InstanceId *string `json:"instance_id,omitempty"`

	// 租户项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 证书域名
	CommonName *string `json:"common_name,omitempty"`

	// SAN域名
	San *[]string `json:"san,omitempty"`

	// 证书版本
	Version *int32 `json:"version,omitempty"`

	// 公司、组织
	Organization *[]string `json:"organization,omitempty"`

	// 部门
	OrganizationalUnit *[]string `json:"organizational_unit,omitempty"`

	// 城市
	Locality *[]string `json:"locality,omitempty"`

	// 省份
	State *[]string `json:"state,omitempty"`

	// 国家
	Country *[]string `json:"country,omitempty"`

	// 证书有效期起始时间
	NotBefore *string `json:"not_before,omitempty"`

	// 证书有效期截止时间
	NotAfter *string `json:"not_after,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 颁发者
	Issuer *[]string `json:"issuer,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`
	HttpStatusCode     int     `json:"-"`
}

ShowDetailsOfDomainNameCertificateV2Response Response Object

func (ShowDetailsOfDomainNameCertificateV2Response) String

type ShowDetailsOfDomainNameCertificateV2ResponseType

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

func (ShowDetailsOfDomainNameCertificateV2ResponseType) MarshalJSON

func (*ShowDetailsOfDomainNameCertificateV2ResponseType) UnmarshalJSON

func (ShowDetailsOfDomainNameCertificateV2ResponseType) Value

type ShowDetailsOfEnvironmentVariableV2Request

type ShowDetailsOfEnvironmentVariableV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`
}

ShowDetailsOfEnvironmentVariableV2Request Request Object

func (ShowDetailsOfEnvironmentVariableV2Request) String

type ShowDetailsOfEnvironmentVariableV2Response

type ShowDetailsOfEnvironmentVariableV2Response struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`

	// 环境编号
	EnvId *string `json:"env_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// 变量名,支持英文字母、数字、英文格式的下划线、中划线,必须以英文字母开头,3~32个字符。在API定义中等于#Name的值#部分(区分大小写),发布到环境里的API被变量值换。 > 中文字符必须为UTF-8或者unicode编码。
	VariableName *string `json:"variable_name,omitempty"`

	// 环境变量编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowDetailsOfEnvironmentVariableV2Response Response Object

func (ShowDetailsOfEnvironmentVariableV2Response) String

type ShowDetailsOfGatewayResponseTypeV2Request

type ShowDetailsOfGatewayResponseTypeV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`

	// 错误类型 - AUTH_FAILURE: 认证失败,IAM或APP认证校验失败 - AUTH_HEADER_MISSING: 认证身份来源信息缺失 - AUTHORIZER_FAILURE: 自定义认证方返回认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证方异常,通信失败、返回异常响应等错误 - AUTHORIZER_IDENTITIES_FAILURE: 前端自定义认证的身份来源信息缺失或不合法错误 - BACKEND_UNAVAILABLE: 后端不可用,网络不可达错误 - BACKEND_TIMEOUT: 后端超时,与后端的网络交互超过预配置的时间错误 - THROTTLED: API调用次数超出所配置的流量策略阈值 - UNAUTHORIZED: 使用的凭据未被授权访问该API - ACCESS_DENIED: 拒绝访问,如触发配置的访问控制策略、或异常攻击检测拦截 - NOT_FOUND: 未匹配到API错误 - REQUEST_PARAMETERS_FAILURE: 请求参数校验失败、不支持的HTTP方法 - DEFAULT_4XX: 其它4XX类错误 - DEFAULT_5XX: 其它5XX类错误 - THIRD_AUTH_FAILURE: 第三方认证方返回认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证的身份来源信息缺失或不合法错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证方异常,通信失败、返回异常响应等错误
	ResponseType ShowDetailsOfGatewayResponseTypeV2RequestResponseType `json:"response_type"`
}

ShowDetailsOfGatewayResponseTypeV2Request Request Object

func (ShowDetailsOfGatewayResponseTypeV2Request) String

type ShowDetailsOfGatewayResponseTypeV2RequestResponseType

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

func (ShowDetailsOfGatewayResponseTypeV2RequestResponseType) MarshalJSON

func (*ShowDetailsOfGatewayResponseTypeV2RequestResponseType) UnmarshalJSON

func (ShowDetailsOfGatewayResponseTypeV2RequestResponseType) Value

type ShowDetailsOfGatewayResponseTypeV2RequestResponseTypeEnum

type ShowDetailsOfGatewayResponseTypeV2Response

type ShowDetailsOfGatewayResponseTypeV2Response struct {
	Body           map[string]ResponseInfoResp `json:"body,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ShowDetailsOfGatewayResponseTypeV2Response Response Object

func (ShowDetailsOfGatewayResponseTypeV2Response) String

type ShowDetailsOfGatewayResponseV2Request

type ShowDetailsOfGatewayResponseV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`
}

ShowDetailsOfGatewayResponseV2Request Request Object

func (ShowDetailsOfGatewayResponseV2Request) String

type ShowDetailsOfGatewayResponseV2Response

type ShowDetailsOfGatewayResponseV2Response struct {

	// 响应名称
	Name *string `json:"name,omitempty"`

	// 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX - THIRD_AUTH_FAILURE: 第三方认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证身份来源错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证配置错误  每项错误类型均为一个JSON体
	Responses map[string]ResponseInfoResp `json:"responses,omitempty"`

	// 响应ID
	Id *string `json:"id,omitempty"`

	// 是否为分组默认响应
	Default *bool `json:"default,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 修改时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfGatewayResponseV2Response Response Object

func (ShowDetailsOfGatewayResponseV2Response) String

type ShowDetailsOfInstanceProgressV2Request

type ShowDetailsOfInstanceProgressV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

ShowDetailsOfInstanceProgressV2Request Request Object

func (ShowDetailsOfInstanceProgressV2Request) String

type ShowDetailsOfInstanceProgressV2Response

type ShowDetailsOfInstanceProgressV2Response struct {

	// 实例创建进度  单位:百分比
	Progress *ShowDetailsOfInstanceProgressV2ResponseProgress `json:"progress,omitempty"`

	// 实例创建状态 - creating:创建中 - success:创建成功 - failed:创建失败
	Status *ShowDetailsOfInstanceProgressV2ResponseStatus `json:"status,omitempty"`

	// 实例创建失败错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 实例创建失败错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 实例创建开始时间。unix时间戳格式。
	StartTime *int64 `json:"start_time,omitempty"`

	// 实例创建结束时间。unix时间戳格式。
	EndTime        *int64 `json:"end_time,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowDetailsOfInstanceProgressV2Response Response Object

func (ShowDetailsOfInstanceProgressV2Response) String

type ShowDetailsOfInstanceProgressV2ResponseProgress

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

func (ShowDetailsOfInstanceProgressV2ResponseProgress) MarshalJSON

func (*ShowDetailsOfInstanceProgressV2ResponseProgress) UnmarshalJSON

func (ShowDetailsOfInstanceProgressV2ResponseProgress) Value

type ShowDetailsOfInstanceProgressV2ResponseStatus

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

func (ShowDetailsOfInstanceProgressV2ResponseStatus) MarshalJSON

func (*ShowDetailsOfInstanceProgressV2ResponseStatus) UnmarshalJSON

func (ShowDetailsOfInstanceProgressV2ResponseStatus) Value

type ShowDetailsOfInstanceV2Request

type ShowDetailsOfInstanceV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`
}

ShowDetailsOfInstanceV2Request Request Object

func (ShowDetailsOfInstanceV2Request) String

type ShowDetailsOfInstanceV2Response

type ShowDetailsOfInstanceV2Response struct {

	// 实例ID
	Id *string `json:"id,omitempty"`

	// 实例所属租户ID
	ProjectId *string `json:"project_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
	Status *ShowDetailsOfInstanceV2ResponseStatus `json:"status,omitempty"`

	// 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
	InstanceStatus *ShowDetailsOfInstanceV2ResponseInstanceStatus `json:"instance_status,omitempty"`

	// 实例类型  默认apig
	Type *string `json:"type,omitempty"`

	// 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例
	Spec *ShowDetailsOfInstanceV2ResponseSpec `json:"spec,omitempty"`

	// 实例创建时间。unix时间戳格式。
	CreateTime *int64 `json:"create_time,omitempty"`

	// 企业项目ID,企业帐号必填
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例绑定的弹性IP地址
	EipAddress *string `json:"eip_address,omitempty"`

	// 实例计费方式: - 0:按需计费 - 1:[包周期计费](tag:hws)[暂未使用](tag:hws_hk,cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm)
	ChargingMode *ShowDetailsOfInstanceV2ResponseChargingMode `json:"charging_mode,omitempty"`

	// [包周期计费订单编号](tag:hws)[计费订单编号参数暂未使用](tag:hws_hk,cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm)
	CbcMetadata *string `json:"cbc_metadata,omitempty"`

	// 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持
	LoadbalancerProvider *ShowDetailsOfInstanceV2ResponseLoadbalancerProvider `json:"loadbalancer_provider,omitempty"`

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 虚拟私有云ID。  获取方法如下:   - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。   - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询VPC列表”章节。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的网络ID。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询子网列表”章节。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 指定实例所属的安全组。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// '维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。'  '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。'
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// '维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。'  '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次'。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例入口,虚拟私有云访问地址
	IngressIp *string `json:"ingress_ip,omitempty"`

	// 实例入口,虚拟私有云访问地址 (IPv6)
	IngressIpV6 *string `json:"ingress_ip_v6,omitempty"`

	// 实例所属用户ID
	UserId *string `json:"user_id,omitempty"`

	// 出公网网段 (IPv6)  。  当前仅部分region部分可用区支持IPv6
	NatEipIpv6Cidr *string `json:"nat_eip_ipv6_cidr,omitempty"`

	// 弹性IP地址(IPv6)。  当前仅部分region部分可用区支持IPv6
	EipIpv6Address *string `json:"eip_ipv6_address,omitempty"`

	// 实例出公网IP
	NatEipAddress *string `json:"nat_eip_address,omitempty"`

	// 出公网带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 出公网带宽计费模式
	BandwidthChargingMode *string `json:"bandwidth_charging_mode,omitempty"`

	// 可用区
	AvailableZoneIds *string `json:"available_zone_ids,omitempty"`

	// 实例版本编号
	InstanceVersion *string `json:"instance_version,omitempty"`

	// 子网的网络ID。  暂不支持
	VirsubnetId *string `json:"virsubnet_id,omitempty"`

	// roma弹性公网IP。  暂不支持
	RomaEipAddress *string `json:"roma_eip_address,omitempty"`

	// 监听信息  暂不支持
	Listeners *interface{} `json:"listeners,omitempty"`

	// 实例支持的特性列表
	SupportedFeatures *[]string `json:"supported_features,omitempty"`

	EndpointService *EndpointService `json:"endpoint_service,omitempty"`

	// 终端节点服务列表
	EndpointServices *[]EndpointService `json:"endpoint_services,omitempty"`

	NodeIps *NodeIps `json:"node_ips,omitempty"`

	// 公网入口地址列表
	Publicips *[]IpDetails `json:"publicips,omitempty"`

	// 私网入口地址列表
	Privateips *[]IpDetails `json:"privateips,omitempty"`

	// 实例是否可释放 - true:可释放 - false:不可释放
	IsReleasable *bool `json:"is_releasable,omitempty"`

	// 入公网带宽计费模式
	IngressBandwidthChargingMode *string `json:"ingress_bandwidth_charging_mode,omitempty"`
	HttpStatusCode               int     `json:"-"`
}

ShowDetailsOfInstanceV2Response Response Object

func (ShowDetailsOfInstanceV2Response) String

type ShowDetailsOfInstanceV2ResponseChargingMode

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

func (ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON

func (*ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON

func (ShowDetailsOfInstanceV2ResponseChargingMode) Value

type ShowDetailsOfInstanceV2ResponseInstanceStatus

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

func (ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON

func (*ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON

func (ShowDetailsOfInstanceV2ResponseInstanceStatus) Value

type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum

type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum struct {
	E_1  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_2  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_3  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_4  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_5  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_6  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_7  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_8  ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_10 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_11 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_12 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_13 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_20 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_21 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_22 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_23 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_24 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_25 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_26 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_27 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_28 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_29 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_30 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_31 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_32 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_33 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_34 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_35 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_36 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_37 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_38 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_39 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_40 ShowDetailsOfInstanceV2ResponseInstanceStatus
	E_41 ShowDetailsOfInstanceV2ResponseInstanceStatus
}

func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum

func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum() ShowDetailsOfInstanceV2ResponseInstanceStatusEnum

type ShowDetailsOfInstanceV2ResponseLoadbalancerProvider

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

func (ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) MarshalJSON

func (*ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON

func (ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) Value

type ShowDetailsOfInstanceV2ResponseSpec

type ShowDetailsOfInstanceV2ResponseSpec struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON

func (c ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON

func (c *ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error

func (ShowDetailsOfInstanceV2ResponseSpec) Value

type ShowDetailsOfInstanceV2ResponseStatus

type ShowDetailsOfInstanceV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfInstanceV2ResponseStatus) Value

type ShowDetailsOfInstanceV2ResponseStatusEnum

type ShowDetailsOfInstanceV2ResponseStatusEnum struct {
	CREATING           ShowDetailsOfInstanceV2ResponseStatus
	CREATE_SUCCESS     ShowDetailsOfInstanceV2ResponseStatus
	CREATE_FAIL        ShowDetailsOfInstanceV2ResponseStatus
	INITING            ShowDetailsOfInstanceV2ResponseStatus
	REGISTERING        ShowDetailsOfInstanceV2ResponseStatus
	RUNNING            ShowDetailsOfInstanceV2ResponseStatus
	INITING_FAILED     ShowDetailsOfInstanceV2ResponseStatus
	REGISTER_FAILED    ShowDetailsOfInstanceV2ResponseStatus
	INSTALLING         ShowDetailsOfInstanceV2ResponseStatus
	INSTALL_FAILED     ShowDetailsOfInstanceV2ResponseStatus
	UPDATING           ShowDetailsOfInstanceV2ResponseStatus
	UPDATE_FAILED      ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACKING        ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACK_SUCCESS   ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACK_FAILED    ShowDetailsOfInstanceV2ResponseStatus
	DELETING           ShowDetailsOfInstanceV2ResponseStatus
	DELETE_FAILED      ShowDetailsOfInstanceV2ResponseStatus
	UNREGISTERING      ShowDetailsOfInstanceV2ResponseStatus
	UN_REGISTER_FAILED ShowDetailsOfInstanceV2ResponseStatus
	CREATE_TIMEOUT     ShowDetailsOfInstanceV2ResponseStatus
	INIT_TIMEOUT       ShowDetailsOfInstanceV2ResponseStatus
	REGISTER_TIMEOUT   ShowDetailsOfInstanceV2ResponseStatus
	INSTALL_TIMEOUT    ShowDetailsOfInstanceV2ResponseStatus
	UPDATE_TIMEOUT     ShowDetailsOfInstanceV2ResponseStatus
	ROLLBACK_TIMEOUT   ShowDetailsOfInstanceV2ResponseStatus
	DELETE_TIMEOUT     ShowDetailsOfInstanceV2ResponseStatus
	UNREGISTER_TIMEOUT ShowDetailsOfInstanceV2ResponseStatus
	STARTING           ShowDetailsOfInstanceV2ResponseStatus
	FREEZING           ShowDetailsOfInstanceV2ResponseStatus
	FROZEN             ShowDetailsOfInstanceV2ResponseStatus
	RESTARTING         ShowDetailsOfInstanceV2ResponseStatus
	RESTART_FAIL       ShowDetailsOfInstanceV2ResponseStatus
	UNHEALTHY          ShowDetailsOfInstanceV2ResponseStatus
	RESTART_TIMEOUT    ShowDetailsOfInstanceV2ResponseStatus
}

func GetShowDetailsOfInstanceV2ResponseStatusEnum

func GetShowDetailsOfInstanceV2ResponseStatusEnum() ShowDetailsOfInstanceV2ResponseStatusEnum

type ShowDetailsOfMemberGroupRequest

type ShowDetailsOfMemberGroupRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`
}

ShowDetailsOfMemberGroupRequest Request Object

func (ShowDetailsOfMemberGroupRequest) String

type ShowDetailsOfMemberGroupResponse

type ShowDetailsOfMemberGroupResponse struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。
	MicroserviceVersion *string `json:"microservice_version,omitempty"`

	// VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。
	MicroservicePort *int32 `json:"microservice_port,omitempty"`

	// VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。
	MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"`

	// VPC通道后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// VPC通道后端服务器组创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道后端服务器组更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfMemberGroupResponse Response Object

func (ShowDetailsOfMemberGroupResponse) String

type ShowDetailsOfRequestThrottlingPolicyV2Request

type ShowDetailsOfRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`
}

ShowDetailsOfRequestThrottlingPolicyV2Request Request Object

func (ShowDetailsOfRequestThrottlingPolicyV2Request) String

type ShowDetailsOfRequestThrottlingPolicyV2Response

type ShowDetailsOfRequestThrottlingPolicyV2Response struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ShowDetailsOfRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowDetailsOfRequestThrottlingPolicyV2Response Response Object

func (ShowDetailsOfRequestThrottlingPolicyV2Response) String

type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle

type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value

type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit

type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value

type ShowDetailsOfRequestThrottlingPolicyV2ResponseType

type ShowDetailsOfRequestThrottlingPolicyV2ResponseType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value

type ShowDetailsOfVpcChannelV2Request

type ShowDetailsOfVpcChannelV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`
}

ShowDetailsOfVpcChannelV2Request Request Object

func (ShowDetailsOfVpcChannelV2Request) String

type ShowDetailsOfVpcChannelV2Response

type ShowDetailsOfVpcChannelV2Response struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy ShowDetailsOfVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。 - ip - ecs
	MemberType ShowDetailsOfVpcChannelV2ResponseMemberType `json:"member_type"`

	// vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *ShowDetailsOfVpcChannelV2ResponseStatus `json:"status,omitempty"`

	// 后端云服务器组列表。
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`

	// 后端实例列表。
	Members *[]VpcMemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"`
	HttpStatusCode  int                  `json:"-"`
}

ShowDetailsOfVpcChannelV2Response Response Object

func (ShowDetailsOfVpcChannelV2Response) String

type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy

type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON

func (*ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON

func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value

type ShowDetailsOfVpcChannelV2ResponseMemberType

type ShowDetailsOfVpcChannelV2ResponseMemberType struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON

func (*ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON

func (ShowDetailsOfVpcChannelV2ResponseMemberType) Value

type ShowDetailsOfVpcChannelV2ResponseStatus

type ShowDetailsOfVpcChannelV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON

func (c ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON

func (c *ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error

func (ShowDetailsOfVpcChannelV2ResponseStatus) Value

type ShowPluginRequest

type ShowPluginRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 插件编号
	PluginId string `json:"plugin_id"`
}

ShowPluginRequest Request Object

func (ShowPluginRequest) String

func (o ShowPluginRequest) String() string

type ShowPluginResponse

type ShowPluginResponse struct {

	// 插件编码。
	PluginId *string `json:"plugin_id,omitempty"`

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType *ShowPluginResponsePluginType `json:"plugin_type,omitempty"`

	// 插件可见范围。global:全局可见;
	PluginScope *ShowPluginResponsePluginScope `json:"plugin_scope,omitempty"`

	// 插件定义内容,支持json。参考提供的具体模型定义  CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容
	PluginContent *string `json:"plugin_content,omitempty"`

	// 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 创建时间。
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间。
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

ShowPluginResponse Response Object

func (ShowPluginResponse) String

func (o ShowPluginResponse) String() string

type ShowPluginResponsePluginScope

type ShowPluginResponsePluginScope struct {
	// contains filtered or unexported fields
}

func (ShowPluginResponsePluginScope) MarshalJSON

func (c ShowPluginResponsePluginScope) MarshalJSON() ([]byte, error)

func (*ShowPluginResponsePluginScope) UnmarshalJSON

func (c *ShowPluginResponsePluginScope) UnmarshalJSON(b []byte) error

func (ShowPluginResponsePluginScope) Value

type ShowPluginResponsePluginScopeEnum

type ShowPluginResponsePluginScopeEnum struct {
	GLOBAL ShowPluginResponsePluginScope
}

func GetShowPluginResponsePluginScopeEnum

func GetShowPluginResponsePluginScopeEnum() ShowPluginResponsePluginScopeEnum

type ShowPluginResponsePluginType

type ShowPluginResponsePluginType struct {
	// contains filtered or unexported fields
}

func (ShowPluginResponsePluginType) MarshalJSON

func (c ShowPluginResponsePluginType) MarshalJSON() ([]byte, error)

func (*ShowPluginResponsePluginType) UnmarshalJSON

func (c *ShowPluginResponsePluginType) UnmarshalJSON(b []byte) error

func (ShowPluginResponsePluginType) Value

type SignApiBinding

type SignApiBinding struct {

	// 签名密钥编号
	SignId string `json:"sign_id"`

	// API的发布记录编号
	PublishIds []string `json:"publish_ids"`
}

func (SignApiBinding) String

func (o SignApiBinding) String() string

type SignApiBindingBase

type SignApiBindingBase struct {

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 绑定时间
	BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"`

	// API所属环境的编号
	EnvId *string `json:"env_id,omitempty"`

	// API所属环境的名称
	EnvName *string `json:"env_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 绑定关系的ID
	Id *string `json:"id,omitempty"`

	// API描述
	ApiRemark *string `json:"api_remark,omitempty"`

	// 签名密钥的编号
	SignId *string `json:"sign_id,omitempty"`

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	SignName *string `json:"sign_name,omitempty"`
}

func (SignApiBindingBase) String

func (o SignApiBindingBase) String() string

type SignApiBindingInfo

type SignApiBindingInfo struct {

	// API的发布编号
	PublishId *string `json:"publish_id,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// 绑定时间
	BindingTime *sdktime.SdkTime `json:"binding_time,omitempty"`

	// API所属环境的编号
	EnvId *string `json:"env_id,omitempty"`

	// API所属环境的名称
	EnvName *string `json:"env_name,omitempty"`

	// API类型
	ApiType *int32 `json:"api_type,omitempty"`

	// API名称
	ApiName *string `json:"api_name,omitempty"`

	// 绑定关系的ID
	Id *string `json:"id,omitempty"`

	// API描述
	ApiRemark *string `json:"api_remark,omitempty"`

	// 签名密钥的编号
	SignId *string `json:"sign_id,omitempty"`

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	SignName *string `json:"sign_name,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *SignApiBindingInfoSignType `json:"sign_type,omitempty"`
}

func (SignApiBindingInfo) String

func (o SignApiBindingInfo) String() string

type SignApiBindingInfoSignType

type SignApiBindingInfoSignType struct {
	// contains filtered or unexported fields
}

func (SignApiBindingInfoSignType) MarshalJSON

func (c SignApiBindingInfoSignType) MarshalJSON() ([]byte, error)

func (*SignApiBindingInfoSignType) UnmarshalJSON

func (c *SignApiBindingInfoSignType) UnmarshalJSON(b []byte) error

func (SignApiBindingInfoSignType) Value

type SignApiBindingInfoSignTypeEnum

type SignApiBindingInfoSignTypeEnum struct {
	HMAC       SignApiBindingInfoSignType
	BASIC      SignApiBindingInfoSignType
	PUBLIC_KEY SignApiBindingInfoSignType
	AES        SignApiBindingInfoSignType
}

func GetSignApiBindingInfoSignTypeEnum

func GetSignApiBindingInfoSignTypeEnum() SignApiBindingInfoSignTypeEnum

type SignApiBindingResult

type SignApiBindingResult struct {

	// API与签名密钥的绑定关系列表
	Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"`
}

func (SignApiBindingResult) String

func (o SignApiBindingResult) String() string

type Signature

type Signature struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *SignatureSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。
	SignAlgorithm *SignatureSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id *string `json:"id,omitempty"`
}

func (Signature) String

func (o Signature) String() string

type SignatureSignAlgorithm

type SignatureSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (SignatureSignAlgorithm) MarshalJSON

func (c SignatureSignAlgorithm) MarshalJSON() ([]byte, error)

func (*SignatureSignAlgorithm) UnmarshalJSON

func (c *SignatureSignAlgorithm) UnmarshalJSON(b []byte) error

func (SignatureSignAlgorithm) Value

func (c SignatureSignAlgorithm) Value() string

type SignatureSignAlgorithmEnum

type SignatureSignAlgorithmEnum struct {
	AES_128_CFB SignatureSignAlgorithm
	AES_256_CFB SignatureSignAlgorithm
}

func GetSignatureSignAlgorithmEnum

func GetSignatureSignAlgorithmEnum() SignatureSignAlgorithmEnum

type SignatureSignType

type SignatureSignType struct {
	// contains filtered or unexported fields
}

func (SignatureSignType) MarshalJSON

func (c SignatureSignType) MarshalJSON() ([]byte, error)

func (*SignatureSignType) UnmarshalJSON

func (c *SignatureSignType) UnmarshalJSON(b []byte) error

func (SignatureSignType) Value

func (c SignatureSignType) Value() string

type SignatureSignTypeEnum

type SignatureSignTypeEnum struct {
	HMAC       SignatureSignType
	BASIC      SignatureSignType
	PUBLIC_KEY SignatureSignType
	AES        SignatureSignType
}

func GetSignatureSignTypeEnum

func GetSignatureSignTypeEnum() SignatureSignTypeEnum

type SignatureWithBindNum

type SignatureWithBindNum struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *SignatureWithBindNumSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。
	SignAlgorithm *SignatureWithBindNumSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id *string `json:"id,omitempty"`

	// 绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 绑定的自定义后端数量  暂不支持
	LdapiBindNum *int32 `json:"ldapi_bind_num,omitempty"`
}

func (SignatureWithBindNum) String

func (o SignatureWithBindNum) String() string

type SignatureWithBindNumSignAlgorithm

type SignatureWithBindNumSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (SignatureWithBindNumSignAlgorithm) MarshalJSON

func (c SignatureWithBindNumSignAlgorithm) MarshalJSON() ([]byte, error)

func (*SignatureWithBindNumSignAlgorithm) UnmarshalJSON

func (c *SignatureWithBindNumSignAlgorithm) UnmarshalJSON(b []byte) error

func (SignatureWithBindNumSignAlgorithm) Value

type SignatureWithBindNumSignAlgorithmEnum

type SignatureWithBindNumSignAlgorithmEnum struct {
	AES_128_CFB SignatureWithBindNumSignAlgorithm
	AES_256_CFB SignatureWithBindNumSignAlgorithm
}

func GetSignatureWithBindNumSignAlgorithmEnum

func GetSignatureWithBindNumSignAlgorithmEnum() SignatureWithBindNumSignAlgorithmEnum

type SignatureWithBindNumSignType

type SignatureWithBindNumSignType struct {
	// contains filtered or unexported fields
}

func (SignatureWithBindNumSignType) MarshalJSON

func (c SignatureWithBindNumSignType) MarshalJSON() ([]byte, error)

func (*SignatureWithBindNumSignType) UnmarshalJSON

func (c *SignatureWithBindNumSignType) UnmarshalJSON(b []byte) error

func (SignatureWithBindNumSignType) Value

type StatisticsApi

type StatisticsApi struct {

	// 最大延时  单位:ms
	MaxLatency *int32 `json:"max_latency,omitempty"`

	// 平均延时  单位:ms
	AvgLatency *float32 `json:"avg_latency,omitempty"`

	// 请求总次数
	ReqCount *int32 `json:"req_count,omitempty"`

	// 2xx响应码总次数
	ReqCount2xx *int32 `json:"req_count2xx,omitempty"`

	// 4xx响应码总次数
	ReqCount4xx *int32 `json:"req_count4xx,omitempty"`

	// 5xx响应码总次数
	ReqCount5xx *int32 `json:"req_count5xx,omitempty"`

	// 错误次数
	ReqCountError *int32 `json:"req_count_error,omitempty"`

	// 最大网关内部延时  单位:ms
	MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"`

	// 平均网关内部延时  单位:ms
	AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"`

	// 最大后端延时
	MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"`

	// 平均后端延时
	AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"`

	// 下行吞吐量(byte)
	OutputThroughput *int64 `json:"output_throughput,omitempty"`

	// 上行吞吐量(byte)
	InputThroughput *int64 `json:"input_throughput,omitempty"`

	// API访问的UTC时间戳
	CurrentMinute *int64 `json:"current_minute,omitempty"`

	// 统计周期
	Cycle *StatisticsApiCycle `json:"cycle,omitempty"`

	// API编号
	ApiId *string `json:"api_id,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API拥有者
	Provider *string `json:"provider,omitempty"`

	// API请求时间
	ReqTime *sdktime.SdkTime `json:"req_time,omitempty"`

	// 记录时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态
	Status *int32 `json:"status,omitempty"`
}

func (StatisticsApi) String

func (o StatisticsApi) String() string

type StatisticsApiCycle

type StatisticsApiCycle struct {
	// contains filtered or unexported fields
}

func (StatisticsApiCycle) MarshalJSON

func (c StatisticsApiCycle) MarshalJSON() ([]byte, error)

func (*StatisticsApiCycle) UnmarshalJSON

func (c *StatisticsApiCycle) UnmarshalJSON(b []byte) error

func (StatisticsApiCycle) Value

func (c StatisticsApiCycle) Value() string

type StatisticsApiCycleEnum

type StatisticsApiCycleEnum struct {
	MINUTE StatisticsApiCycle
	HOUR   StatisticsApiCycle
	DAY    StatisticsApiCycle
}

func GetStatisticsApiCycleEnum

func GetStatisticsApiCycleEnum() StatisticsApiCycleEnum

type StatisticsGroup

type StatisticsGroup struct {

	// 最大延时  单位:ms
	MaxLatency *int32 `json:"max_latency,omitempty"`

	// 平均延时  单位:ms
	AvgLatency *float32 `json:"avg_latency,omitempty"`

	// 请求总次数
	ReqCount *int32 `json:"req_count,omitempty"`

	// 2xx响应码总次数
	ReqCount2xx *int32 `json:"req_count2xx,omitempty"`

	// 4xx响应码总次数
	ReqCount4xx *int32 `json:"req_count4xx,omitempty"`

	// 5xx响应码总次数
	ReqCount5xx *int32 `json:"req_count5xx,omitempty"`

	// 错误次数
	ReqCountError *int32 `json:"req_count_error,omitempty"`

	// 下行吞吐量(byte)
	OutputThroughput *int64 `json:"output_throughput,omitempty"`

	// 上行吞吐量(byte)
	InputThroughput *int64 `json:"input_throughput,omitempty"`

	// API访问的UTC时间戳
	CurrentMinute *int64 `json:"current_minute,omitempty"`

	// API分组编号
	GroupId *string `json:"group_id,omitempty"`

	// API拥有者
	Provider *string `json:"provider,omitempty"`

	// API请求时间
	ReqTime *sdktime.SdkTime `json:"req_time,omitempty"`

	// 记录时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`
}

func (StatisticsGroup) String

func (o StatisticsGroup) String() string

type Success

type Success struct {

	// API请求路径
	Path *string `json:"path,omitempty"`

	// API请求方法
	Method *string `json:"method,omitempty"`

	// 导入行为: - update:表示更新API - create:表示新建API
	Action *SuccessAction `json:"action,omitempty"`

	// 导入成功的API编号
	Id *string `json:"id,omitempty"`
}

func (Success) String

func (o Success) String() string

type SuccessAction

type SuccessAction struct {
	// contains filtered or unexported fields
}

func (SuccessAction) MarshalJSON

func (c SuccessAction) MarshalJSON() ([]byte, error)

func (*SuccessAction) UnmarshalJSON

func (c *SuccessAction) UnmarshalJSON(b []byte) error

func (SuccessAction) Value

func (c SuccessAction) Value() string

type SuccessActionEnum

type SuccessActionEnum struct {
	UPDATE SuccessAction
	CREATE SuccessAction
}

func GetSuccessActionEnum

func GetSuccessActionEnum() SuccessActionEnum

type Swagger

type Swagger struct {

	// swagger文档编号
	Id *string `json:"id,omitempty"`

	// 导入结果说明
	Result *string `json:"result,omitempty"`
}

Swagger swagger文档导入结果 暂不支持

func (Swagger) String

func (o Swagger) String() string

type ThrottleApiBinding

type ThrottleApiBinding struct {

	// API的发布记录编号
	PublishId *string `json:"publish_id,omitempty"`

	// 策略作用域,取值如下: - 1:整个API - 2: 单个用户 - 3:单个APP  目前只支持1
	Scope *ThrottleApiBindingScope `json:"scope,omitempty"`

	// 流控策略的ID
	StrategyId *string `json:"strategy_id,omitempty"`

	// 绑定时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 绑定关系的ID
	Id *string `json:"id,omitempty"`
}

func (ThrottleApiBinding) String

func (o ThrottleApiBinding) String() string

type ThrottleApiBindingCreate

type ThrottleApiBindingCreate struct {

	// 流控策略编号
	StrategyId string `json:"strategy_id"`

	// API的发布记录编号
	PublishIds []string `json:"publish_ids"`
}

func (ThrottleApiBindingCreate) String

func (o ThrottleApiBindingCreate) String() string

type ThrottleApiBindingScope

type ThrottleApiBindingScope struct {
	// contains filtered or unexported fields
}

func (ThrottleApiBindingScope) MarshalJSON

func (c ThrottleApiBindingScope) MarshalJSON() ([]byte, error)

func (*ThrottleApiBindingScope) UnmarshalJSON

func (c *ThrottleApiBindingScope) UnmarshalJSON(b []byte) error

func (ThrottleApiBindingScope) Value

func (c ThrottleApiBindingScope) Value() int32

type ThrottleApiBindingScopeEnum

type ThrottleApiBindingScopeEnum struct {
	E_1 ThrottleApiBindingScope
	E_2 ThrottleApiBindingScope
	E_3 ThrottleApiBindingScope
}

func GetThrottleApiBindingScopeEnum

func GetThrottleApiBindingScopeEnum() ThrottleApiBindingScopeEnum

type ThrottleBaseInfo

type ThrottleBaseInfo struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ThrottleBaseInfoTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ThrottleBaseInfoType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`
}

func (ThrottleBaseInfo) String

func (o ThrottleBaseInfo) String() string

type ThrottleBaseInfoTimeUnit

type ThrottleBaseInfoTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottleBaseInfoTimeUnit) MarshalJSON

func (c ThrottleBaseInfoTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottleBaseInfoTimeUnit) UnmarshalJSON

func (c *ThrottleBaseInfoTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottleBaseInfoTimeUnit) Value

func (c ThrottleBaseInfoTimeUnit) Value() string

type ThrottleBaseInfoTimeUnitEnum

type ThrottleBaseInfoTimeUnitEnum struct {
	SECOND ThrottleBaseInfoTimeUnit
	MINUTE ThrottleBaseInfoTimeUnit
	HOUR   ThrottleBaseInfoTimeUnit
	DAY    ThrottleBaseInfoTimeUnit
}

func GetThrottleBaseInfoTimeUnitEnum

func GetThrottleBaseInfoTimeUnitEnum() ThrottleBaseInfoTimeUnitEnum

type ThrottleBaseInfoType

type ThrottleBaseInfoType struct {
	// contains filtered or unexported fields
}

func (ThrottleBaseInfoType) MarshalJSON

func (c ThrottleBaseInfoType) MarshalJSON() ([]byte, error)

func (*ThrottleBaseInfoType) UnmarshalJSON

func (c *ThrottleBaseInfoType) UnmarshalJSON(b []byte) error

func (ThrottleBaseInfoType) Value

func (c ThrottleBaseInfoType) Value() int32

type ThrottleBaseInfoTypeEnum

type ThrottleBaseInfoTypeEnum struct {
	E_1 ThrottleBaseInfoType
	E_2 ThrottleBaseInfoType
}

func GetThrottleBaseInfoTypeEnum

func GetThrottleBaseInfoTypeEnum() ThrottleBaseInfoTypeEnum

type ThrottleBindingBatchDelete

type ThrottleBindingBatchDelete struct {

	// 需要解除绑定的API和流控策略绑定关系ID列表
	ThrottleBindings *[]string `json:"throttle_bindings,omitempty"`
}

func (ThrottleBindingBatchDelete) String

type ThrottleBindingBatchFailure

type ThrottleBindingBatchFailure struct {

	// 解除绑定失败的API和流控策略绑定关系ID
	BindId *string `json:"bind_id,omitempty"`

	// 解除绑定失败的错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 解除绑定失败的错误信息
	ErrorMsg *string `json:"error_msg,omitempty"`

	// 解除绑定失败的API的ID
	ApiId *string `json:"api_id,omitempty"`

	// 解除绑定失败的API的名称
	ApiName *string `json:"api_name,omitempty"`
}

func (ThrottleBindingBatchFailure) String

type ThrottleForApi

type ThrottleForApi struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ThrottleForApiTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ThrottleForApiType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *ThrottleForApiIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 流控策略生效的环境(即在哪个环境上有效)
	EnvName *string `json:"env_name,omitempty"`

	// 流控策略与API绑定关系编号
	BindId *string `json:"bind_id,omitempty"`

	// 流控策略与API绑定时间
	BindTime *sdktime.SdkTime `json:"bind_time,omitempty"`
}

func (ThrottleForApi) String

func (o ThrottleForApi) String() string

type ThrottleForApiIsIncluSpecialThrottle

type ThrottleForApiIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiIsIncluSpecialThrottle) MarshalJSON

func (c ThrottleForApiIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)

func (*ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON

func (c *ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error

func (ThrottleForApiIsIncluSpecialThrottle) Value

type ThrottleForApiIsIncluSpecialThrottleEnum

type ThrottleForApiIsIncluSpecialThrottleEnum struct {
	E_1 ThrottleForApiIsIncluSpecialThrottle
	E_2 ThrottleForApiIsIncluSpecialThrottle
}

func GetThrottleForApiIsIncluSpecialThrottleEnum

func GetThrottleForApiIsIncluSpecialThrottleEnum() ThrottleForApiIsIncluSpecialThrottleEnum

type ThrottleForApiTimeUnit

type ThrottleForApiTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiTimeUnit) MarshalJSON

func (c ThrottleForApiTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottleForApiTimeUnit) UnmarshalJSON

func (c *ThrottleForApiTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottleForApiTimeUnit) Value

func (c ThrottleForApiTimeUnit) Value() string

type ThrottleForApiTimeUnitEnum

type ThrottleForApiTimeUnitEnum struct {
	SECOND ThrottleForApiTimeUnit
	MINUTE ThrottleForApiTimeUnit
	HOUR   ThrottleForApiTimeUnit
	DAY    ThrottleForApiTimeUnit
}

func GetThrottleForApiTimeUnitEnum

func GetThrottleForApiTimeUnitEnum() ThrottleForApiTimeUnitEnum

type ThrottleForApiType

type ThrottleForApiType struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiType) MarshalJSON

func (c ThrottleForApiType) MarshalJSON() ([]byte, error)

func (*ThrottleForApiType) UnmarshalJSON

func (c *ThrottleForApiType) UnmarshalJSON(b []byte) error

func (ThrottleForApiType) Value

func (c ThrottleForApiType) Value() int32

type ThrottleForApiTypeEnum

type ThrottleForApiTypeEnum struct {
	E_1 ThrottleForApiType
	E_2 ThrottleForApiType
}

func GetThrottleForApiTypeEnum

func GetThrottleForApiTypeEnum() ThrottleForApiTypeEnum

type ThrottleSpecialBase

type ThrottleSpecialBase struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`
}

func (ThrottleSpecialBase) String

func (o ThrottleSpecialBase) String() string

type ThrottleSpecialCreate

type ThrottleSpecialCreate struct {

	// 流控时间内特殊对象能够访问API的最大次数限制
	CallLimits int32 `json:"call_limits"`

	// 特殊APP的编号或特殊租户的帐号ID
	ObjectId string `json:"object_id"`

	// 特殊对象类型
	ObjectType ThrottleSpecialCreateObjectType `json:"object_type"`
}

func (ThrottleSpecialCreate) String

func (o ThrottleSpecialCreate) String() string

type ThrottleSpecialCreateObjectType

type ThrottleSpecialCreateObjectType struct {
	// contains filtered or unexported fields
}

func (ThrottleSpecialCreateObjectType) MarshalJSON

func (c ThrottleSpecialCreateObjectType) MarshalJSON() ([]byte, error)

func (*ThrottleSpecialCreateObjectType) UnmarshalJSON

func (c *ThrottleSpecialCreateObjectType) UnmarshalJSON(b []byte) error

func (ThrottleSpecialCreateObjectType) Value

type ThrottleSpecialCreateObjectTypeEnum

type ThrottleSpecialCreateObjectTypeEnum struct {
	APP  ThrottleSpecialCreateObjectType
	USER ThrottleSpecialCreateObjectType
}

func GetThrottleSpecialCreateObjectTypeEnum

func GetThrottleSpecialCreateObjectTypeEnum() ThrottleSpecialCreateObjectTypeEnum

type ThrottleSpecialInfo

type ThrottleSpecialInfo struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 特殊对象的身份标识
	ObjectId *string `json:"object_id,omitempty"`

	// 特殊对象类型:APP、USER
	ObjectType *string `json:"object_type,omitempty"`

	// 作用的APP或租户的名称
	ObjectName *string `json:"object_name,omitempty"`

	// 流控策略编号
	ThrottleId *string `json:"throttle_id,omitempty"`
}

func (ThrottleSpecialInfo) String

func (o ThrottleSpecialInfo) String() string

type ThrottleSpecialUpdate

type ThrottleSpecialUpdate struct {

	// 流控时间内特殊对象能够访问API的最大次数限制
	CallLimits int64 `json:"call_limits"`
}

func (ThrottleSpecialUpdate) String

func (o ThrottleSpecialUpdate) String() string

type ThrottlesInfo

type ThrottlesInfo struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit ThrottlesInfoTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *ThrottlesInfoType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *ThrottlesInfoIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

func (ThrottlesInfo) String

func (o ThrottlesInfo) String() string

type ThrottlesInfoIsIncluSpecialThrottle

type ThrottlesInfoIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON

func (c ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON

func (c *ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error

func (ThrottlesInfoIsIncluSpecialThrottle) Value

type ThrottlesInfoIsIncluSpecialThrottleEnum

type ThrottlesInfoIsIncluSpecialThrottleEnum struct {
	E_1 ThrottlesInfoIsIncluSpecialThrottle
	E_2 ThrottlesInfoIsIncluSpecialThrottle
}

func GetThrottlesInfoIsIncluSpecialThrottleEnum

func GetThrottlesInfoIsIncluSpecialThrottleEnum() ThrottlesInfoIsIncluSpecialThrottleEnum

type ThrottlesInfoTimeUnit

type ThrottlesInfoTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoTimeUnit) MarshalJSON

func (c ThrottlesInfoTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoTimeUnit) UnmarshalJSON

func (c *ThrottlesInfoTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottlesInfoTimeUnit) Value

func (c ThrottlesInfoTimeUnit) Value() string

type ThrottlesInfoTimeUnitEnum

type ThrottlesInfoTimeUnitEnum struct {
	SECOND ThrottlesInfoTimeUnit
	MINUTE ThrottlesInfoTimeUnit
	HOUR   ThrottlesInfoTimeUnit
	DAY    ThrottlesInfoTimeUnit
}

func GetThrottlesInfoTimeUnitEnum

func GetThrottlesInfoTimeUnitEnum() ThrottlesInfoTimeUnitEnum

type ThrottlesInfoType

type ThrottlesInfoType struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoType) MarshalJSON

func (c ThrottlesInfoType) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoType) UnmarshalJSON

func (c *ThrottlesInfoType) UnmarshalJSON(b []byte) error

func (ThrottlesInfoType) Value

func (c ThrottlesInfoType) Value() int32

type ThrottlesInfoTypeEnum

type ThrottlesInfoTypeEnum struct {
	E_1 ThrottlesInfoType
	E_2 ThrottlesInfoType
}

func GetThrottlesInfoTypeEnum

func GetThrottlesInfoTypeEnum() ThrottlesInfoTypeEnum

type TmsKeyValue

type TmsKeyValue struct {

	// 键。  支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : = + - @; \\_sys\\_开头属于系统标签,租户不能输入
	Key *string `json:"key,omitempty"`

	// 值。  支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : / = + - @
	Value *string `json:"value,omitempty"`
}

func (TmsKeyValue) String

func (o TmsKeyValue) String() string

type TmsKeyValues

type TmsKeyValues struct {

	// 键。  支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : = + - @; \\_sys\\_开头属于系统标签,租户不能输入
	Key *string `json:"key,omitempty"`

	// 值。  支持可用 UTF-8 格式表示的字母(包含中文)、数字和空格,以及以下字符: _ . : / = + - @
	Values *[]string `json:"values,omitempty"`
}

func (TmsKeyValues) String

func (o TmsKeyValues) String() string

type TmsUpdatePublicReq

type TmsUpdatePublicReq struct {

	// 操作标识:create(创建),delete(删除)
	Action TmsUpdatePublicReqAction `json:"action"`

	// 标签列表。  一个实例默认最多支持创建20个标签。
	Tags []TmsKeyValue `json:"tags"`
}

func (TmsUpdatePublicReq) String

func (o TmsUpdatePublicReq) String() string

type TmsUpdatePublicReqAction

type TmsUpdatePublicReqAction struct {
	// contains filtered or unexported fields
}

func (TmsUpdatePublicReqAction) MarshalJSON

func (c TmsUpdatePublicReqAction) MarshalJSON() ([]byte, error)

func (*TmsUpdatePublicReqAction) UnmarshalJSON

func (c *TmsUpdatePublicReqAction) UnmarshalJSON(b []byte) error

func (TmsUpdatePublicReqAction) Value

func (c TmsUpdatePublicReqAction) Value() string

type TmsUpdatePublicReqActionEnum

type TmsUpdatePublicReqActionEnum struct {
	CREATE TmsUpdatePublicReqAction
	DELETE TmsUpdatePublicReqAction
}

func GetTmsUpdatePublicReqActionEnum

func GetTmsUpdatePublicReqActionEnum() TmsUpdatePublicReqActionEnum

type UnbindApiForAcl

type UnbindApiForAcl struct {

	// API的ID
	Id *string `json:"id,omitempty"`

	// API名称
	Name *string `json:"name,omitempty"`

	// API所属分组的编号
	GroupId *string `json:"group_id,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API开放状态
	Type *int32 `json:"type,omitempty"`

	// API描述
	Remark *string `json:"remark,omitempty"`

	// 发布的环境名
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布的环境id
	RunEnvId *string `json:"run_env_id,omitempty"`

	// API发布记录编号
	PublishId *string `json:"publish_id,omitempty"`

	// 绑定的其他同类型的ACL策略名称
	AclName *string `json:"acl_name,omitempty"`

	// API的请求地址
	ReqUri *string `json:"req_uri,omitempty"`

	// API的认证方式
	AuthType *string `json:"auth_type,omitempty"`
}

func (UnbindApiForAcl) String

func (o UnbindApiForAcl) String() string

type UpdateAclStrategyV2Request

type UpdateAclStrategyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`

	Body *ApiAclCreate `json:"body,omitempty"`
}

UpdateAclStrategyV2Request Request Object

func (UpdateAclStrategyV2Request) String

type UpdateAclStrategyV2Response

type UpdateAclStrategyV2Response struct {

	// 名称
	AclName *string `json:"acl_name,omitempty"`

	// 类型: - PERMIT(白名单类型) - DENY(黑名单类型)
	AclType *string `json:"acl_type,omitempty"`

	// ACL策略值
	AclValue *string `json:"acl_value,omitempty"`

	// 对象类型: - IP - DOMAIN - DOMAIN_ID
	EntityType *string `json:"entity_type,omitempty"`

	// 编号
	Id *string `json:"id,omitempty"`

	// 更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateAclStrategyV2Response Response Object

func (UpdateAclStrategyV2Response) String

type UpdateApiGroupV2Request

type UpdateApiGroupV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	Body *ApiGroupBase `json:"body,omitempty"`
}

UpdateApiGroupV2Request Request Object

func (UpdateApiGroupV2Request) String

func (o UpdateApiGroupV2Request) String() string

type UpdateApiGroupV2Response

type UpdateApiGroupV2Response struct {

	// 编号
	Id string `json:"id"`

	// API分组名称
	Name string `json:"name"`

	// 状态   - 1: 有效
	Status UpdateApiGroupV2ResponseStatus `json:"status"`

	// 系统默认分配的子域名
	SlDomain string `json:"sl_domain"`

	// 创建时间
	RegisterTime *sdktime.SdkTime `json:"register_time"`

	// 最近修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time"`

	// 是否已上架云商店: - 1:已上架 - 2:未上架 - 3:审核中  [暂不支持](tag:cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm,hws_hk)
	OnSellStatus int32 `json:"on_sell_status"`

	// 分组上绑定的独立域名列表
	UrlDomains *[]UrlDomain `json:"url_domains,omitempty"`

	// 系统默认分配的子域名列表
	SlDomains *[]string `json:"sl_domains,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// 流控时长内分组下的API的总访问次数限制,默认不限,请根据服务的负载能力自行设置  暂不支持
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 流控时长  暂不支持
	TimeInterval *int32 `json:"time_interval,omitempty"`

	// 流控的时间单位  暂不支持
	TimeUnit *string `json:"time_unit,omitempty"`

	// 是否为默认分组
	IsDefault *int32 `json:"is_default,omitempty"`

	// 分组版本  - V1:全局分组 - V2:应用级分组  暂不支持,默认为V1
	Version *string `json:"version,omitempty"`

	// 分组归属的集成应用编号。  分组版本V2时必填。  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 分组归属的集成应用名称  暂不支持
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateApiGroupV2Response Response Object

func (UpdateApiGroupV2Response) String

func (o UpdateApiGroupV2Response) String() string

type UpdateApiGroupV2ResponseStatus

type UpdateApiGroupV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateApiGroupV2ResponseStatus) MarshalJSON

func (c UpdateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateApiGroupV2ResponseStatus) UnmarshalJSON

func (c *UpdateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateApiGroupV2ResponseStatus) Value

type UpdateApiGroupV2ResponseStatusEnum

type UpdateApiGroupV2ResponseStatusEnum struct {
	E_1 UpdateApiGroupV2ResponseStatus
}

func GetUpdateApiGroupV2ResponseStatusEnum

func GetUpdateApiGroupV2ResponseStatusEnum() UpdateApiGroupV2ResponseStatusEnum

type UpdateApiV2Request

type UpdateApiV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	Body *ApiCreate `json:"body,omitempty"`
}

UpdateApiV2Request Request Object

func (UpdateApiV2Request) String

func (o UpdateApiV2Request) String() string

type UpdateApiV2Response

type UpdateApiV2Response struct {

	// API名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// API类型 - 1:公有API - 2:私有API
	Type UpdateApiV2ResponseType `json:"type"`

	// API的版本
	Version *string `json:"version,omitempty"`

	// API的请求协议 - HTTP - HTTPS - BOTH:同时支持HTTP和HTTPS
	ReqProtocol UpdateApiV2ResponseReqProtocol `json:"req_protocol"`

	// API的请求方式
	ReqMethod UpdateApiV2ResponseReqMethod `json:"req_method"`

	// 请求地址。可以包含请求参数,用{}标识,比如/getUserInfo/{userId},支持 * % - _ . 等特殊字符,总长度不超过512,且满足URI规范。  > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

	// API的认证方式 - NONE:无认证 - APP:APP认证 - IAM:IAM认证 - AUTHORIZER:自定义认证
	AuthType UpdateApiV2ResponseAuthType `json:"auth_type"`

	AuthOpt *AuthOpt `json:"auth_opt,omitempty"`

	// 是否支持跨域 - TRUE:支持 - FALSE:不支持
	Cors *bool `json:"cors,omitempty"`

	// API的匹配方式 - SWA:前缀匹配 - NORMAL:正常匹配(绝对匹配) 默认:NORMAL
	MatchMode *UpdateApiV2ResponseMatchMode `json:"match_mode,omitempty"`

	// 后端类型 - HTTP:web后端 - FUNCTION:函数工作流 - MOCK:模拟的后端
	BackendType UpdateApiV2ResponseBackendType `json:"backend_type"`

	// API描述。字符长度不超过255 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API所属的分组编号
	GroupId string `json:"group_id"`

	// API请求体描述,可以是请求体示例、媒体类型、参数等信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	BodyRemark *string `json:"body_remark,omitempty"`

	// 正常响应示例,描述API的正常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultNormalSample *string `json:"result_normal_sample,omitempty"`

	// 失败返回示例,描述API的异常返回信息。字符长度不超过20480 > 中文字符必须为UTF-8或者unicode编码。
	ResultFailureSample *string `json:"result_failure_sample,omitempty"`

	// 前端自定义认证对象的ID
	AuthorizerId *string `json:"authorizer_id,omitempty"`

	// 标签。  支持英文,数字,中文,特殊符号(-*#%.:_),且只能以中文或英文开头。  默认支持10个标签,如需扩大配额请联系技术工程师修改API_TAG_NUM_LIMIT配置。
	Tags *[]string `json:"tags,omitempty"`

	// 分组自定义响应ID
	ResponseId *string `json:"response_id,omitempty"`

	// 集成应用ID  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// API绑定的自定义域名  暂不支持
	DomainName *string `json:"domain_name,omitempty"`

	// 标签  待废弃,优先使用tags字段
	Tag *string `json:"tag,omitempty"`

	// 请求内容格式类型:  application/json application/xml multipart/form-date text/plain  暂不支持
	ContentType *UpdateApiV2ResponseContentType `json:"content_type,omitempty"`

	// API编号
	Id *string `json:"id,omitempty"`

	// API状态   - 1: 有效
	Status *int32 `json:"status,omitempty"`

	// 是否需要编排
	ArrangeNecessary *int32 `json:"arrange_necessary,omitempty"`

	// API注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// API修改时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// API所属分组的名称
	GroupName *string `json:"group_name,omitempty"`

	// API所属分组的版本  默认V1,其他版本暂不支持
	GroupVersion *string `json:"group_version,omitempty"`

	// 发布的环境编号  存在多个发布记录时,环境编号之间用|隔开
	RunEnvId *string `json:"run_env_id,omitempty"`

	// 发布的环境名称  存在多个发布记录时,环境名称之间用|隔开
	RunEnvName *string `json:"run_env_name,omitempty"`

	// 发布记录编号  存在多个发布记录时,发布记录编号之间用|隔开
	PublishId *string `json:"publish_id,omitempty"`

	// 发布时间  存在多个发布记录时,发布时间之间用|隔开
	PublishTime *string `json:"publish_time,omitempty"`

	// API归属的集成应用名称  暂不支持
	RomaAppName *string `json:"roma_app_name,omitempty"`

	// 当API的后端为自定义后端时,对应的自定义后端API编号  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	BackendApi *BackendApi `json:"backend_api,omitempty"`

	ApiGroupInfo *ApiGroupCommonInfo `json:"api_group_info,omitempty"`

	FuncInfo *ApiFunc `json:"func_info,omitempty"`

	MockInfo *ApiMock `json:"mock_info,omitempty"`

	// API的请求参数列表
	ReqParams *[]ReqParam `json:"req_params,omitempty"`

	// API的后端参数列表
	BackendParams *[]BackendParam `json:"backend_params,omitempty"`

	// 函数工作流策略后端列表
	PolicyFunctions *[]ApiPolicyFunctionResp `json:"policy_functions,omitempty"`

	// mock策略后端列表
	PolicyMocks *[]ApiPolicyMockResp `json:"policy_mocks,omitempty"`

	// web策略后端列表
	PolicyHttps    *[]ApiPolicyHttpResp `json:"policy_https,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

UpdateApiV2Response Response Object

func (UpdateApiV2Response) String

func (o UpdateApiV2Response) String() string

type UpdateApiV2ResponseAuthType

type UpdateApiV2ResponseAuthType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseAuthType) MarshalJSON

func (c UpdateApiV2ResponseAuthType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseAuthType) UnmarshalJSON

func (c *UpdateApiV2ResponseAuthType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseAuthType) Value

type UpdateApiV2ResponseBackendType

type UpdateApiV2ResponseBackendType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseBackendType) MarshalJSON

func (c UpdateApiV2ResponseBackendType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseBackendType) UnmarshalJSON

func (c *UpdateApiV2ResponseBackendType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseBackendType) Value

type UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseBackendTypeEnum struct {
	HTTP     UpdateApiV2ResponseBackendType
	FUNCTION UpdateApiV2ResponseBackendType
	MOCK     UpdateApiV2ResponseBackendType
}

func GetUpdateApiV2ResponseBackendTypeEnum

func GetUpdateApiV2ResponseBackendTypeEnum() UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseContentType

type UpdateApiV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseContentType) MarshalJSON

func (c UpdateApiV2ResponseContentType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseContentType) UnmarshalJSON

func (c *UpdateApiV2ResponseContentType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseContentType) Value

type UpdateApiV2ResponseContentTypeEnum

type UpdateApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    UpdateApiV2ResponseContentType
	APPLICATION_XML     UpdateApiV2ResponseContentType
	MULTIPART_FORM_DATE UpdateApiV2ResponseContentType
	TEXT_PLAIN          UpdateApiV2ResponseContentType
}

func GetUpdateApiV2ResponseContentTypeEnum

func GetUpdateApiV2ResponseContentTypeEnum() UpdateApiV2ResponseContentTypeEnum

type UpdateApiV2ResponseMatchMode

type UpdateApiV2ResponseMatchMode struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseMatchMode) MarshalJSON

func (c UpdateApiV2ResponseMatchMode) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseMatchMode) UnmarshalJSON

func (c *UpdateApiV2ResponseMatchMode) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseMatchMode) Value

type UpdateApiV2ResponseMatchModeEnum

type UpdateApiV2ResponseMatchModeEnum struct {
	SWA    UpdateApiV2ResponseMatchMode
	NORMAL UpdateApiV2ResponseMatchMode
}

func GetUpdateApiV2ResponseMatchModeEnum

func GetUpdateApiV2ResponseMatchModeEnum() UpdateApiV2ResponseMatchModeEnum

type UpdateApiV2ResponseReqMethod

type UpdateApiV2ResponseReqMethod struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseReqMethod) MarshalJSON

func (c UpdateApiV2ResponseReqMethod) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseReqMethod) UnmarshalJSON

func (c *UpdateApiV2ResponseReqMethod) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseReqMethod) Value

type UpdateApiV2ResponseReqProtocol

type UpdateApiV2ResponseReqProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseReqProtocol) MarshalJSON

func (c UpdateApiV2ResponseReqProtocol) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseReqProtocol) UnmarshalJSON

func (c *UpdateApiV2ResponseReqProtocol) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseReqProtocol) Value

type UpdateApiV2ResponseType

type UpdateApiV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseType) MarshalJSON

func (c UpdateApiV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseType) UnmarshalJSON

func (c *UpdateApiV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseType) Value

func (c UpdateApiV2ResponseType) Value() int32

type UpdateApiV2ResponseTypeEnum

type UpdateApiV2ResponseTypeEnum struct {
	E_1 UpdateApiV2ResponseType
	E_2 UpdateApiV2ResponseType
}

func GetUpdateApiV2ResponseTypeEnum

func GetUpdateApiV2ResponseTypeEnum() UpdateApiV2ResponseTypeEnum

type UpdateAppV2Request

type UpdateAppV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	Body *AppCreate `json:"body,omitempty"`
}

UpdateAppV2Request Request Object

func (UpdateAppV2Request) String

func (o UpdateAppV2Request) String() string

type UpdateAppV2Response

type UpdateAppV2Response struct {

	// 编号
	Id *string `json:"id,omitempty"`

	// 名称
	Name *string `json:"name,omitempty"`

	// 描述
	Remark *string `json:"remark,omitempty"`

	// APP的创建者 - USER:用户自行创建 - MARKET:云商店分配  暂不支持MARKET
	Creator *UpdateAppV2ResponseCreator `json:"creator,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// APP的key
	AppKey *string `json:"app_key,omitempty"`

	// 密钥
	AppSecret *string `json:"app_secret,omitempty"`

	// 注册时间
	RegisterTime *sdktime.SdkTime `json:"register_time,omitempty"`

	// 状态   - 1: 有效
	Status *UpdateAppV2ResponseStatus `json:"status,omitempty"`

	// APP的类型: - apig:存量apig应用,不推荐使用 - roma:roma集成应用  默认apig,暂不支持其他类型
	AppType *UpdateAppV2ResponseAppType `json:"app_type,omitempty"`

	// ROMA_APP的类型: - subscription:订阅应用 - integration:集成应用  暂不支持
	RomaAppType    *string `json:"roma_app_type,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateAppV2Response Response Object

func (UpdateAppV2Response) String

func (o UpdateAppV2Response) String() string

type UpdateAppV2ResponseAppType

type UpdateAppV2ResponseAppType struct {
	// contains filtered or unexported fields
}

func (UpdateAppV2ResponseAppType) MarshalJSON

func (c UpdateAppV2ResponseAppType) MarshalJSON() ([]byte, error)

func (*UpdateAppV2ResponseAppType) UnmarshalJSON

func (c *UpdateAppV2ResponseAppType) UnmarshalJSON(b []byte) error

func (UpdateAppV2ResponseAppType) Value

type UpdateAppV2ResponseAppTypeEnum

type UpdateAppV2ResponseAppTypeEnum struct {
	APIG UpdateAppV2ResponseAppType
	ROMA UpdateAppV2ResponseAppType
}

func GetUpdateAppV2ResponseAppTypeEnum

func GetUpdateAppV2ResponseAppTypeEnum() UpdateAppV2ResponseAppTypeEnum

type UpdateAppV2ResponseCreator

type UpdateAppV2ResponseCreator struct {
	// contains filtered or unexported fields
}

func (UpdateAppV2ResponseCreator) MarshalJSON

func (c UpdateAppV2ResponseCreator) MarshalJSON() ([]byte, error)

func (*UpdateAppV2ResponseCreator) UnmarshalJSON

func (c *UpdateAppV2ResponseCreator) UnmarshalJSON(b []byte) error

func (UpdateAppV2ResponseCreator) Value

type UpdateAppV2ResponseCreatorEnum

type UpdateAppV2ResponseCreatorEnum struct {
	USER   UpdateAppV2ResponseCreator
	MARKET UpdateAppV2ResponseCreator
}

func GetUpdateAppV2ResponseCreatorEnum

func GetUpdateAppV2ResponseCreatorEnum() UpdateAppV2ResponseCreatorEnum

type UpdateAppV2ResponseStatus

type UpdateAppV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateAppV2ResponseStatus) MarshalJSON

func (c UpdateAppV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateAppV2ResponseStatus) UnmarshalJSON

func (c *UpdateAppV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateAppV2ResponseStatus) Value

func (c UpdateAppV2ResponseStatus) Value() int32

type UpdateAppV2ResponseStatusEnum

type UpdateAppV2ResponseStatusEnum struct {
	E_1 UpdateAppV2ResponseStatus
}

func GetUpdateAppV2ResponseStatusEnum

func GetUpdateAppV2ResponseStatusEnum() UpdateAppV2ResponseStatusEnum

type UpdateBackendInstancesV2Request

type UpdateBackendInstancesV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcMemberModify `json:"body,omitempty"`
}

UpdateBackendInstancesV2Request Request Object

func (UpdateBackendInstancesV2Request) String

type UpdateBackendInstancesV2Response

type UpdateBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateBackendInstancesV2Response Response Object

func (UpdateBackendInstancesV2Response) String

type UpdateCertificateV2Request

type UpdateCertificateV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

	Body *CertificateForm `json:"body,omitempty"`
}

UpdateCertificateV2Request Request Object

func (UpdateCertificateV2Request) String

type UpdateCertificateV2Response

type UpdateCertificateV2Response struct {

	// 证书ID
	Id *string `json:"id,omitempty"`

	// 证书名称
	Name *string `json:"name,omitempty"`

	// 证书类型  - global:全局证书 - instance:实例证书
	Type *UpdateCertificateV2ResponseType `json:"type,omitempty"`

	// 实例编码  - `type`为`global`时,缺省为common - `type`为`instance`时,为实例编码
	InstanceId *string `json:"instance_id,omitempty"`

	// 租户项目编号
	ProjectId *string `json:"project_id,omitempty"`

	// 域名
	CommonName *string `json:"common_name,omitempty"`

	// san扩展域名
	San *[]string `json:"san,omitempty"`

	// 有效期到
	NotAfter *sdktime.SdkTime `json:"not_after,omitempty"`

	// 签名算法
	SignatureAlgorithm *string `json:"signature_algorithm,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 是否存在信任的根证书CA。当绑定证书存在trusted_root_ca时为true。
	IsHasTrustedRootCa *bool `json:"is_has_trusted_root_ca,omitempty"`

	// 版本
	Version *int32 `json:"version,omitempty"`

	// 公司、组织
	Organization *[]string `json:"organization,omitempty"`

	// 部门
	OrganizationalUnit *[]string `json:"organizational_unit,omitempty"`

	// 城市
	Locality *[]string `json:"locality,omitempty"`

	// 省份
	State *[]string `json:"state,omitempty"`

	// 国家
	Country *[]string `json:"country,omitempty"`

	// 有效期从
	NotBefore *sdktime.SdkTime `json:"not_before,omitempty"`

	// 序列号
	SerialNumber *string `json:"serial_number,omitempty"`

	// 颁发者
	Issuer         *[]string `json:"issuer,omitempty"`
	HttpStatusCode int       `json:"-"`
}

UpdateCertificateV2Response Response Object

func (UpdateCertificateV2Response) String

type UpdateCertificateV2ResponseType

type UpdateCertificateV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateCertificateV2ResponseType) MarshalJSON

func (c UpdateCertificateV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateCertificateV2ResponseType) UnmarshalJSON

func (c *UpdateCertificateV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateCertificateV2ResponseType) Value

type UpdateCertificateV2ResponseTypeEnum

type UpdateCertificateV2ResponseTypeEnum struct {
	GLOBAL   UpdateCertificateV2ResponseType
	INSTANCE UpdateCertificateV2ResponseType
}

func GetUpdateCertificateV2ResponseTypeEnum

func GetUpdateCertificateV2ResponseTypeEnum() UpdateCertificateV2ResponseTypeEnum

type UpdateCustomAuthorizerV2Request

type UpdateCustomAuthorizerV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`

	Body *AuthorizerCreate `json:"body,omitempty"`
}

UpdateCustomAuthorizerV2Request Request Object

func (UpdateCustomAuthorizerV2Request) String

type UpdateCustomAuthorizerV2Response

type UpdateCustomAuthorizerV2Response struct {

	// 自定义认证的名称。 长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、“_”组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 自定义认证类型  - FRONTEND:前端 - BACKEND:后端  不支持修改
	Type UpdateCustomAuthorizerV2ResponseType `json:"type"`

	// 只能为:FUNC
	AuthorizerType UpdateCustomAuthorizerV2ResponseAuthorizerType `json:"authorizer_type"`

	// 函数地址。
	AuthorizerUri string `json:"authorizer_uri"`

	// 函数版本。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerVersion *string `json:"authorizer_version,omitempty"`

	// 函数别名地址。  当函数别名URN和函数版本同时传入时,函数版本将被忽略,只会使用函数别名URN
	AuthorizerAliasUri *string `json:"authorizer_alias_uri,omitempty"`

	// 认证来源
	Identities *[]Identity `json:"identities,omitempty"`

	// 缓存时间
	Ttl *int32 `json:"ttl,omitempty"`

	// 用户数据
	UserData *string `json:"user_data,omitempty"`

	// 自定义后端服务ID。  暂不支持
	LdApiId *string `json:"ld_api_id,omitempty"`

	// 是否发送body
	NeedBody *bool `json:"need_body,omitempty"`

	// 自定义认证编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 自定义认证所属应用编号  暂不支持
	RomaAppId *string `json:"roma_app_id,omitempty"`

	// 自定义认证所属应用名称  暂不支持
	RomaAppName    *string `json:"roma_app_name,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateCustomAuthorizerV2Response Response Object

func (UpdateCustomAuthorizerV2Response) String

type UpdateCustomAuthorizerV2ResponseAuthorizerType

type UpdateCustomAuthorizerV2ResponseAuthorizerType struct {
	// contains filtered or unexported fields
}

func (UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON

func (*UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON

func (UpdateCustomAuthorizerV2ResponseAuthorizerType) Value

type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum

type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct {
	FUNC UpdateCustomAuthorizerV2ResponseAuthorizerType
}

func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum

func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum() UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum

type UpdateCustomAuthorizerV2ResponseType

type UpdateCustomAuthorizerV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateCustomAuthorizerV2ResponseType) MarshalJSON

func (c UpdateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON

func (c *UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateCustomAuthorizerV2ResponseType) Value

type UpdateCustomAuthorizerV2ResponseTypeEnum

type UpdateCustomAuthorizerV2ResponseTypeEnum struct {
	FRONTEND UpdateCustomAuthorizerV2ResponseType
	BACKEND  UpdateCustomAuthorizerV2ResponseType
}

func GetUpdateCustomAuthorizerV2ResponseTypeEnum

func GetUpdateCustomAuthorizerV2ResponseTypeEnum() UpdateCustomAuthorizerV2ResponseTypeEnum

type UpdateDomainV2Request

type UpdateDomainV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	Body *UrlDomainModify `json:"body,omitempty"`
}

UpdateDomainV2Request Request Object

func (UpdateDomainV2Request) String

func (o UpdateDomainV2Request) String() string

type UpdateDomainV2Response

type UpdateDomainV2Response struct {

	// 自定义域名
	UrlDomain *string `json:"url_domain,omitempty"`

	// 自定义域名的编号
	Id *string `json:"id,omitempty"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status *UpdateDomainV2ResponseStatus `json:"status,omitempty"`

	// 支持的最小SSL版本
	MinSslVersion *string `json:"min_ssl_version,omitempty"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`
	HttpStatusCode                   int   `json:"-"`
}

UpdateDomainV2Response Response Object

func (UpdateDomainV2Response) String

func (o UpdateDomainV2Response) String() string

type UpdateDomainV2ResponseStatus

type UpdateDomainV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDomainV2ResponseStatus) MarshalJSON

func (c UpdateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateDomainV2ResponseStatus) UnmarshalJSON

func (c *UpdateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateDomainV2ResponseStatus) Value

type UpdateEngressEipV2Request

type UpdateEngressEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	Body *OpenEngressEipReq `json:"body,omitempty"`
}

UpdateEngressEipV2Request Request Object

func (UpdateEngressEipV2Request) String

func (o UpdateEngressEipV2Request) String() string

type UpdateEngressEipV2Response

type UpdateEngressEipV2Response struct {
	HttpStatusCode int `json:"-"`
}

UpdateEngressEipV2Response Response Object

func (UpdateEngressEipV2Response) String

type UpdateEnvironmentV2Request

type UpdateEnvironmentV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 环境的ID
	EnvId string `json:"env_id"`

	Body *EnvCreate `json:"body,omitempty"`
}

UpdateEnvironmentV2Request Request Object

func (UpdateEnvironmentV2Request) String

type UpdateEnvironmentV2Response

type UpdateEnvironmentV2Response struct {

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 环境名称
	Name *string `json:"name,omitempty"`

	// 描述信息
	Remark *string `json:"remark,omitempty"`

	// 环境id
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateEnvironmentV2Response Response Object

func (UpdateEnvironmentV2Response) String

type UpdateGatewayResponseTypeV2Request

type UpdateGatewayResponseTypeV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`

	// 错误类型 - AUTH_FAILURE: 认证失败,IAM或APP认证校验失败 - AUTH_HEADER_MISSING: 认证身份来源信息缺失 - AUTHORIZER_FAILURE: 自定义认证方返回认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证方异常,通信失败、返回异常响应等错误 - AUTHORIZER_IDENTITIES_FAILURE: 前端自定义认证的身份来源信息缺失或不合法错误 - BACKEND_UNAVAILABLE: 后端不可用,网络不可达错误 - BACKEND_TIMEOUT: 后端超时,与后端的网络交互超过预配置的时间错误 - THROTTLED: API调用次数超出所配置的流量策略阈值 - UNAUTHORIZED: 使用的凭据未被授权访问该API - ACCESS_DENIED: 拒绝访问,如触发配置的访问控制策略、或异常攻击检测拦截 - NOT_FOUND: 未匹配到API错误 - REQUEST_PARAMETERS_FAILURE: 请求参数校验失败、不支持的HTTP方法 - DEFAULT_4XX: 其它4XX类错误 - DEFAULT_5XX: 其它5XX类错误 - THIRD_AUTH_FAILURE: 第三方认证方返回认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证的身份来源信息缺失或不合法错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证方异常,通信失败、返回异常响应等错误
	ResponseType UpdateGatewayResponseTypeV2RequestResponseType `json:"response_type"`

	Body *ResponseInfo `json:"body,omitempty"`
}

UpdateGatewayResponseTypeV2Request Request Object

func (UpdateGatewayResponseTypeV2Request) String

type UpdateGatewayResponseTypeV2RequestResponseType

type UpdateGatewayResponseTypeV2RequestResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateGatewayResponseTypeV2RequestResponseType) MarshalJSON

func (*UpdateGatewayResponseTypeV2RequestResponseType) UnmarshalJSON

func (UpdateGatewayResponseTypeV2RequestResponseType) Value

type UpdateGatewayResponseTypeV2Response

type UpdateGatewayResponseTypeV2Response struct {
	Body           map[string]ResponseInfoResp `json:"body,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

UpdateGatewayResponseTypeV2Response Response Object

func (UpdateGatewayResponseTypeV2Response) String

type UpdateGatewayResponseV2Request

type UpdateGatewayResponseV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`

	Body *ResponsesCreate `json:"body,omitempty"`
}

UpdateGatewayResponseV2Request Request Object

func (UpdateGatewayResponseV2Request) String

type UpdateGatewayResponseV2Response

type UpdateGatewayResponseV2Response struct {

	// 响应名称
	Name *string `json:"name,omitempty"`

	// 错误类型的响应定义,其中key为错误类型。key的枚举值为: - AUTH_FAILURE:认证失败 - AUTH_HEADER_MISSING:认证身份来源缺失 - AUTHORIZER_FAILURE:自定义认证失败 - AUTHORIZER_CONF_FAILURE:自定义认证配置错误 - AUTHORIZER_IDENTITIES_FAILURE:自定义认证身份来源错误 - BACKEND_UNAVAILABLE:后端不可用 - BACKEND_TIMEOUT:后端超时 - THROTTLED:调用次数超出阈值 - UNAUTHORIZED:应用未授权 - ACCESS_DENIED:拒绝访问 - NOT_FOUND:未找到匹配的API - REQUEST_PARAMETERS_FAILURE:请求参数错误 - DEFAULT_4XX:默认4XX - DEFAULT_5XX:默认5XX - THIRD_AUTH_FAILURE: 第三方认证失败 - THIRD_AUTH_IDENTITIES_FAILURE: 第三方认证身份来源错误 - THIRD_AUTH_CONF_FAILURE: 第三方认证配置错误  每项错误类型均为一个JSON体
	Responses map[string]ResponseInfoResp `json:"responses,omitempty"`

	// 响应ID
	Id *string `json:"id,omitempty"`

	// 是否为分组默认响应
	Default *bool `json:"default,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 修改时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateGatewayResponseV2Response Response Object

func (UpdateGatewayResponseV2Response) String

type UpdateHealthCheckRequest

type UpdateHealthCheckRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcHealthConfig `json:"body,omitempty"`
}

UpdateHealthCheckRequest Request Object

func (UpdateHealthCheckRequest) String

func (o UpdateHealthCheckRequest) String() string

type UpdateHealthCheckResponse

type UpdateHealthCheckResponse struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol UpdateHealthCheckResponseProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *UpdateHealthCheckResponseMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阈值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *UpdateHealthCheckResponseStatus `json:"status,omitempty"`

	// 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。
	Timeout *int32 `json:"timeout,omitempty"`

	// VPC通道的编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 健康检查的编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateHealthCheckResponse Response Object

func (UpdateHealthCheckResponse) String

func (o UpdateHealthCheckResponse) String() string

type UpdateHealthCheckResponseMethod

type UpdateHealthCheckResponseMethod struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseMethod) MarshalJSON

func (c UpdateHealthCheckResponseMethod) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseMethod) UnmarshalJSON

func (c *UpdateHealthCheckResponseMethod) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseMethod) Value

type UpdateHealthCheckResponseMethodEnum

type UpdateHealthCheckResponseMethodEnum struct {
	GET  UpdateHealthCheckResponseMethod
	HEAD UpdateHealthCheckResponseMethod
}

func GetUpdateHealthCheckResponseMethodEnum

func GetUpdateHealthCheckResponseMethodEnum() UpdateHealthCheckResponseMethodEnum

type UpdateHealthCheckResponseProtocol

type UpdateHealthCheckResponseProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseProtocol) MarshalJSON

func (c UpdateHealthCheckResponseProtocol) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseProtocol) UnmarshalJSON

func (c *UpdateHealthCheckResponseProtocol) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseProtocol) Value

type UpdateHealthCheckResponseStatus

type UpdateHealthCheckResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseStatus) MarshalJSON

func (c UpdateHealthCheckResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseStatus) UnmarshalJSON

func (c *UpdateHealthCheckResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseStatus) Value

type UpdateHealthCheckResponseStatusEnum

type UpdateHealthCheckResponseStatusEnum struct {
	E_1 UpdateHealthCheckResponseStatus
	E_2 UpdateHealthCheckResponseStatus
}

func GetUpdateHealthCheckResponseStatusEnum

func GetUpdateHealthCheckResponseStatusEnum() UpdateHealthCheckResponseStatusEnum

type UpdateIngressEipV2Request

type UpdateIngressEipV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	Body *OpenIngressEipReq `json:"body,omitempty"`
}

UpdateIngressEipV2Request Request Object

func (UpdateIngressEipV2Request) String

func (o UpdateIngressEipV2Request) String() string

type UpdateIngressEipV2Response

type UpdateIngressEipV2Response struct {

	// 实例ID
	InstanceId *string `json:"instance_id,omitempty"`

	// 公网入口变更的任务信息
	Message *string `json:"message,omitempty"`

	// 任务编号
	JobId          *string `json:"job_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateIngressEipV2Response Response Object

func (UpdateIngressEipV2Response) String

type UpdateInstanceV2Request

type UpdateInstanceV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	Body *InstanceModReq `json:"body,omitempty"`
}

UpdateInstanceV2Request Request Object

func (UpdateInstanceV2Request) String

func (o UpdateInstanceV2Request) String() string

type UpdateInstanceV2Response

type UpdateInstanceV2Response struct {

	// 实例ID
	Id *string `json:"id,omitempty"`

	// 实例所属租户ID
	ProjectId *string `json:"project_id,omitempty"`

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 实例状态: - Creating:创建中 - CreateSuccess:创建成功 - CreateFail:创建失败 - Initing:初始化中 - Registering:注册中 - Running:运行中 - InitingFailed:初始化失败 - RegisterFailed:注册失败 - Installing:安装中 - InstallFailed:安装失败 - Updating:升级中 - UpdateFailed:升级失败 - Rollbacking:回滚中 - RollbackSuccess:回滚成功 - RollbackFailed:回滚失败 - Deleting:删除中 - DeleteFailed:删除失败 - Unregistering:注销中 - UnRegisterFailed:注销失败 - CreateTimeout:创建超时 - InitTimeout:初始化超时 - RegisterTimeout:注册超时 - InstallTimeout:安装超时 - UpdateTimeout:升级超时 - RollbackTimeout:回滚超时 - DeleteTimeout:删除超时 - UnregisterTimeout:注销超时 - Starting:启动中 - Freezing:冻结中 - Frozen:已冻结 - Restarting:重启中 - RestartFail:重启失败 - Unhealthy:实例异常 - RestartTimeout:重启超时
	Status *UpdateInstanceV2ResponseStatus `json:"status,omitempty"`

	// 实例状态对应编号 - 1:创建中 - 2:创建成功 - 3:创建失败 - 4:初始化中 - 5:注册中 - 6:运行中 - 7:初始化失败 - 8:注册失败 - 10:安装中 - 11:安装失败 - 12:升级中 - 13:升级失败 - 20:回滚中 - 21:回滚成功 - 22:回滚失败 - 23:删除中 - 24:删除失败 - 25:注销中 - 26:注销失败 - 27:创建超时 - 28:初始化超时 - 29:注册超时 - 30:安装超时 - 31:升级超时 - 32:回滚超时 - 33:删除超时 - 34:注销超时 - 35:启动中 - 36:冻结中 - 37:已冻结 - 38:重启中 - 39:重启失败 - 40:实例异常 - 41:重启超时
	InstanceStatus *UpdateInstanceV2ResponseInstanceStatus `json:"instance_status,omitempty"`

	// 实例类型  默认apig
	Type *string `json:"type,omitempty"`

	// 实例规格: - BASIC:基础版实例 - PROFESSIONAL:专业版实例 - ENTERPRISE:企业版实例 - PLATINUM:铂金版实例 - BASIC_IPV6:基础版IPV6实例 - PROFESSIONAL_IPV6:专业版IPV6实例 - ENTERPRISE_IPV6:企业版IPV6实例 - PLATINUM_IPV6:铂金版IPV6实例
	Spec *UpdateInstanceV2ResponseSpec `json:"spec,omitempty"`

	// 实例创建时间。unix时间戳格式。
	CreateTime *int64 `json:"create_time,omitempty"`

	// 企业项目ID,企业帐号必填
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 实例绑定的弹性IP地址
	EipAddress *string `json:"eip_address,omitempty"`

	// 实例计费方式: - 0:按需计费 - 1:[包周期计费](tag:hws)[暂未使用](tag:hws_hk,cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm)
	ChargingMode *UpdateInstanceV2ResponseChargingMode `json:"charging_mode,omitempty"`

	// [包周期计费订单编号](tag:hws)[计费订单编号参数暂未使用](tag:hws_hk,cmcc,ctc,DT,g42,hk_g42,hk_sbc,hk_tm,hws_eu,hws_ocb,OCB,sbc,tm)
	CbcMetadata *string `json:"cbc_metadata,omitempty"`

	// 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持
	LoadbalancerProvider *UpdateInstanceV2ResponseLoadbalancerProvider `json:"loadbalancer_provider,omitempty"`

	// 实例描述
	Description *string `json:"description,omitempty"`

	// 虚拟私有云ID。  获取方法如下:   - 方法1:登录虚拟私有云服务的控制台界面,在虚拟私有云的详情页面查找VPC ID。   - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询VPC列表”章节。
	VpcId *string `json:"vpc_id,omitempty"`

	// 子网的网络ID。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,单击VPC下的子网,进入子网详情页面,查找网络ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询子网列表”章节。
	SubnetId *string `json:"subnet_id,omitempty"`

	// 指定实例所属的安全组。  获取方法如下: - 方法1:登录虚拟私有云服务的控制台界面,在安全组的详情页面查找安全组ID。 - 方法2:通过虚拟私有云服务的API接口查询,具体方法请参见《虚拟私有云服务API参考》的“查询安全组列表”章节。
	SecurityGroupId *string `json:"security_group_id,omitempty"`

	// '维护时间窗开始时间。时间格式为 xx:00:00,xx取值为02,06,10,14,18,22。'  '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次。'
	MaintainBegin *string `json:"maintain_begin,omitempty"`

	// '维护时间窗结束时间。时间格式为 xx:00:00,与维护时间窗开始时间相差4个小时。'  '在这个时间段内,运维人员可以对该实例的节点进行维护操作。维护期间,业务可以正常使用,可能会发生闪断。维护操作通常几个月一次'。
	MaintainEnd *string `json:"maintain_end,omitempty"`

	// 实例入口,虚拟私有云访问地址
	IngressIp *string `json:"ingress_ip,omitempty"`

	// 实例入口,虚拟私有云访问地址 (IPv6)
	IngressIpV6 *string `json:"ingress_ip_v6,omitempty"`

	// 实例所属用户ID
	UserId *string `json:"user_id,omitempty"`

	// 出公网网段 (IPv6)  。  当前仅部分region部分可用区支持IPv6
	NatEipIpv6Cidr *string `json:"nat_eip_ipv6_cidr,omitempty"`

	// 弹性IP地址(IPv6)。  当前仅部分region部分可用区支持IPv6
	EipIpv6Address *string `json:"eip_ipv6_address,omitempty"`

	// 实例出公网IP
	NatEipAddress *string `json:"nat_eip_address,omitempty"`

	// 出公网带宽
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`

	// 出公网带宽计费模式
	BandwidthChargingMode *string `json:"bandwidth_charging_mode,omitempty"`

	// 可用区
	AvailableZoneIds *string `json:"available_zone_ids,omitempty"`

	// 实例版本编号
	InstanceVersion *string `json:"instance_version,omitempty"`

	// 子网的网络ID。  暂不支持
	VirsubnetId *string `json:"virsubnet_id,omitempty"`

	// roma弹性公网IP。  暂不支持
	RomaEipAddress *string `json:"roma_eip_address,omitempty"`

	// 监听信息  暂不支持
	Listeners *interface{} `json:"listeners,omitempty"`

	// 实例支持的特性列表
	SupportedFeatures *[]string `json:"supported_features,omitempty"`

	EndpointService *EndpointService `json:"endpoint_service,omitempty"`

	// 终端节点服务列表
	EndpointServices *[]EndpointService `json:"endpoint_services,omitempty"`

	NodeIps *NodeIps `json:"node_ips,omitempty"`

	// 公网入口地址列表
	Publicips *[]IpDetails `json:"publicips,omitempty"`

	// 私网入口地址列表
	Privateips *[]IpDetails `json:"privateips,omitempty"`

	// 实例是否可释放 - true:可释放 - false:不可释放
	IsReleasable *bool `json:"is_releasable,omitempty"`

	// 入公网带宽计费模式
	IngressBandwidthChargingMode *string `json:"ingress_bandwidth_charging_mode,omitempty"`
	HttpStatusCode               int     `json:"-"`
}

UpdateInstanceV2Response Response Object

func (UpdateInstanceV2Response) String

func (o UpdateInstanceV2Response) String() string

type UpdateInstanceV2ResponseChargingMode

type UpdateInstanceV2ResponseChargingMode struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseChargingMode) MarshalJSON

func (c UpdateInstanceV2ResponseChargingMode) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseChargingMode) UnmarshalJSON

func (c *UpdateInstanceV2ResponseChargingMode) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseChargingMode) Value

type UpdateInstanceV2ResponseChargingModeEnum

type UpdateInstanceV2ResponseChargingModeEnum struct {
	E_0 UpdateInstanceV2ResponseChargingMode
	E_1 UpdateInstanceV2ResponseChargingMode
}

func GetUpdateInstanceV2ResponseChargingModeEnum

func GetUpdateInstanceV2ResponseChargingModeEnum() UpdateInstanceV2ResponseChargingModeEnum

type UpdateInstanceV2ResponseInstanceStatus

type UpdateInstanceV2ResponseInstanceStatus struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseInstanceStatus) MarshalJSON

func (c UpdateInstanceV2ResponseInstanceStatus) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseInstanceStatus) UnmarshalJSON

func (c *UpdateInstanceV2ResponseInstanceStatus) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseInstanceStatus) Value

type UpdateInstanceV2ResponseInstanceStatusEnum

type UpdateInstanceV2ResponseInstanceStatusEnum struct {
	E_1  UpdateInstanceV2ResponseInstanceStatus
	E_2  UpdateInstanceV2ResponseInstanceStatus
	E_3  UpdateInstanceV2ResponseInstanceStatus
	E_4  UpdateInstanceV2ResponseInstanceStatus
	E_5  UpdateInstanceV2ResponseInstanceStatus
	E_6  UpdateInstanceV2ResponseInstanceStatus
	E_7  UpdateInstanceV2ResponseInstanceStatus
	E_8  UpdateInstanceV2ResponseInstanceStatus
	E_10 UpdateInstanceV2ResponseInstanceStatus
	E_11 UpdateInstanceV2ResponseInstanceStatus
	E_12 UpdateInstanceV2ResponseInstanceStatus
	E_13 UpdateInstanceV2ResponseInstanceStatus
	E_20 UpdateInstanceV2ResponseInstanceStatus
	E_21 UpdateInstanceV2ResponseInstanceStatus
	E_22 UpdateInstanceV2ResponseInstanceStatus
	E_23 UpdateInstanceV2ResponseInstanceStatus
	E_24 UpdateInstanceV2ResponseInstanceStatus
	E_25 UpdateInstanceV2ResponseInstanceStatus
	E_26 UpdateInstanceV2ResponseInstanceStatus
	E_27 UpdateInstanceV2ResponseInstanceStatus
	E_28 UpdateInstanceV2ResponseInstanceStatus
	E_29 UpdateInstanceV2ResponseInstanceStatus
	E_30 UpdateInstanceV2ResponseInstanceStatus
	E_31 UpdateInstanceV2ResponseInstanceStatus
	E_32 UpdateInstanceV2ResponseInstanceStatus
	E_33 UpdateInstanceV2ResponseInstanceStatus
	E_34 UpdateInstanceV2ResponseInstanceStatus
	E_35 UpdateInstanceV2ResponseInstanceStatus
	E_36 UpdateInstanceV2ResponseInstanceStatus
	E_37 UpdateInstanceV2ResponseInstanceStatus
	E_38 UpdateInstanceV2ResponseInstanceStatus
	E_39 UpdateInstanceV2ResponseInstanceStatus
	E_40 UpdateInstanceV2ResponseInstanceStatus
	E_41 UpdateInstanceV2ResponseInstanceStatus
}

func GetUpdateInstanceV2ResponseInstanceStatusEnum

func GetUpdateInstanceV2ResponseInstanceStatusEnum() UpdateInstanceV2ResponseInstanceStatusEnum

type UpdateInstanceV2ResponseLoadbalancerProvider

type UpdateInstanceV2ResponseLoadbalancerProvider struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseLoadbalancerProvider) MarshalJSON

func (*UpdateInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON

func (UpdateInstanceV2ResponseLoadbalancerProvider) Value

type UpdateInstanceV2ResponseSpec

type UpdateInstanceV2ResponseSpec struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseSpec) MarshalJSON

func (c UpdateInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseSpec) UnmarshalJSON

func (c *UpdateInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseSpec) Value

type UpdateInstanceV2ResponseStatus

type UpdateInstanceV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseStatus) MarshalJSON

func (c UpdateInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseStatus) UnmarshalJSON

func (c *UpdateInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseStatus) Value

type UpdateInstanceV2ResponseStatusEnum

type UpdateInstanceV2ResponseStatusEnum struct {
	CREATING           UpdateInstanceV2ResponseStatus
	CREATE_SUCCESS     UpdateInstanceV2ResponseStatus
	CREATE_FAIL        UpdateInstanceV2ResponseStatus
	INITING            UpdateInstanceV2ResponseStatus
	REGISTERING        UpdateInstanceV2ResponseStatus
	RUNNING            UpdateInstanceV2ResponseStatus
	INITING_FAILED     UpdateInstanceV2ResponseStatus
	REGISTER_FAILED    UpdateInstanceV2ResponseStatus
	INSTALLING         UpdateInstanceV2ResponseStatus
	INSTALL_FAILED     UpdateInstanceV2ResponseStatus
	UPDATING           UpdateInstanceV2ResponseStatus
	UPDATE_FAILED      UpdateInstanceV2ResponseStatus
	ROLLBACKING        UpdateInstanceV2ResponseStatus
	ROLLBACK_SUCCESS   UpdateInstanceV2ResponseStatus
	ROLLBACK_FAILED    UpdateInstanceV2ResponseStatus
	DELETING           UpdateInstanceV2ResponseStatus
	DELETE_FAILED      UpdateInstanceV2ResponseStatus
	UNREGISTERING      UpdateInstanceV2ResponseStatus
	UN_REGISTER_FAILED UpdateInstanceV2ResponseStatus
	CREATE_TIMEOUT     UpdateInstanceV2ResponseStatus
	INIT_TIMEOUT       UpdateInstanceV2ResponseStatus
	REGISTER_TIMEOUT   UpdateInstanceV2ResponseStatus
	INSTALL_TIMEOUT    UpdateInstanceV2ResponseStatus
	UPDATE_TIMEOUT     UpdateInstanceV2ResponseStatus
	ROLLBACK_TIMEOUT   UpdateInstanceV2ResponseStatus
	DELETE_TIMEOUT     UpdateInstanceV2ResponseStatus
	UNREGISTER_TIMEOUT UpdateInstanceV2ResponseStatus
	STARTING           UpdateInstanceV2ResponseStatus
	FREEZING           UpdateInstanceV2ResponseStatus
	FROZEN             UpdateInstanceV2ResponseStatus
	RESTARTING         UpdateInstanceV2ResponseStatus
	RESTART_FAIL       UpdateInstanceV2ResponseStatus
	UNHEALTHY          UpdateInstanceV2ResponseStatus
	RESTART_TIMEOUT    UpdateInstanceV2ResponseStatus
}

func GetUpdateInstanceV2ResponseStatusEnum

func GetUpdateInstanceV2ResponseStatusEnum() UpdateInstanceV2ResponseStatusEnum

type UpdateMemberGroupRequest

type UpdateMemberGroupRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`

	Body *MemberGroupCreate `json:"body,omitempty"`
}

UpdateMemberGroupRequest Request Object

func (UpdateMemberGroupRequest) String

func (o UpdateMemberGroupRequest) String() string

type UpdateMemberGroupResponse

type UpdateMemberGroupResponse struct {

	// VPC通道后端服务器组名称
	MemberGroupName string `json:"member_group_name"`

	// VPC通道后端服务器组描述
	MemberGroupRemark *string `json:"member_group_remark,omitempty"`

	// VPC通道后端服务器组权重值。  当前服务器组存在服务器且此权重值存在时,自动使用此权重值分配权重。
	MemberGroupWeight *int32 `json:"member_group_weight,omitempty"`

	// VPC通道后端服务器组的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组的版本,仅VPC通道类型为微服务时支持。
	MicroserviceVersion *string `json:"microservice_version,omitempty"`

	// VPC通道后端服务器组的端口号,仅VPC通道类型为微服务时支持。端口号为0时后端服务器组下的所有地址沿用原来负载端口继承逻辑。
	MicroservicePort *int32 `json:"microservice_port,omitempty"`

	// VPC通道后端服务器组的标签,仅VPC通道类型为微服务时支持。
	MicroserviceLabels *[]MicroserviceLabel `json:"microservice_labels,omitempty"`

	// VPC通道后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`

	// VPC通道后端服务器组创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道后端服务器组更新时间
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateMemberGroupResponse Response Object

func (UpdateMemberGroupResponse) String

func (o UpdateMemberGroupResponse) String() string

type UpdatePluginRequest

type UpdatePluginRequest struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 插件编号
	PluginId string `json:"plugin_id"`

	Body *PluginCreate `json:"body,omitempty"`
}

UpdatePluginRequest Request Object

func (UpdatePluginRequest) String

func (o UpdatePluginRequest) String() string

type UpdatePluginResponse

type UpdatePluginResponse struct {

	// 插件编码。
	PluginId *string `json:"plugin_id,omitempty"`

	// 插件名称。支持汉字,英文,数字,中划线,下划线,且只能以英文和汉字开头,3-255字符。 > 中文字符必须为UTF-8或者unicode编码。
	PluginName *string `json:"plugin_name,omitempty"`

	// 插件类型 - cors:跨域资源共享 - set_resp_headers:HTTP响应头管理 - kafka_log:Kafka日志推送 - breaker:断路器 - rate_limit: 流量控制 - third_auth: 第三方认证
	PluginType *UpdatePluginResponsePluginType `json:"plugin_type,omitempty"`

	// 插件可见范围。global:全局可见;
	PluginScope *UpdatePluginResponsePluginScope `json:"plugin_scope,omitempty"`

	// 插件定义内容,支持json。参考提供的具体模型定义  CorsPluginContent:跨域资源共享 定义内容 SetRespHeadersContent:HTTP响应头管理 定义内容 KafkaLogContent:Kafka日志推送 定义内容 BreakerContent:断路器 定义内容 RateLimitContent 流量控制 定义内容 ThirdAuthContent: 第三方认证 定义内容
	PluginContent *string `json:"plugin_content,omitempty"`

	// 插件描述,255字符。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// 创建时间。
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 更新时间。
	UpdateTime     *sdktime.SdkTime `json:"update_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdatePluginResponse Response Object

func (UpdatePluginResponse) String

func (o UpdatePluginResponse) String() string

type UpdatePluginResponsePluginScope

type UpdatePluginResponsePluginScope struct {
	// contains filtered or unexported fields
}

func (UpdatePluginResponsePluginScope) MarshalJSON

func (c UpdatePluginResponsePluginScope) MarshalJSON() ([]byte, error)

func (*UpdatePluginResponsePluginScope) UnmarshalJSON

func (c *UpdatePluginResponsePluginScope) UnmarshalJSON(b []byte) error

func (UpdatePluginResponsePluginScope) Value

type UpdatePluginResponsePluginScopeEnum

type UpdatePluginResponsePluginScopeEnum struct {
	GLOBAL UpdatePluginResponsePluginScope
}

func GetUpdatePluginResponsePluginScopeEnum

func GetUpdatePluginResponsePluginScopeEnum() UpdatePluginResponsePluginScopeEnum

type UpdatePluginResponsePluginType

type UpdatePluginResponsePluginType struct {
	// contains filtered or unexported fields
}

func (UpdatePluginResponsePluginType) MarshalJSON

func (c UpdatePluginResponsePluginType) MarshalJSON() ([]byte, error)

func (*UpdatePluginResponsePluginType) UnmarshalJSON

func (c *UpdatePluginResponsePluginType) UnmarshalJSON(b []byte) error

func (UpdatePluginResponsePluginType) Value

type UpdateRequestThrottlingPolicyV2Request

type UpdateRequestThrottlingPolicyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	Body *ThrottleBaseInfo `json:"body,omitempty"`
}

UpdateRequestThrottlingPolicyV2Request Request Object

func (UpdateRequestThrottlingPolicyV2Request) String

type UpdateRequestThrottlingPolicyV2Response

type UpdateRequestThrottlingPolicyV2Response struct {

	// APP流量限制是指一个API在时长之内被每个APP访问的次数上限,该数值不超过用户流量限制值。输入的值不超过2147483647。正整数。
	AppCallLimits *int32 `json:"app_call_limits,omitempty"`

	// 流控策略名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头,3 ~ 64字符。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 流控的时间单位
	TimeUnit UpdateRequestThrottlingPolicyV2ResponseTimeUnit `json:"time_unit"`

	// 流控策略描述字符长度不超过255。 > 中文字符必须为UTF-8或者unicode编码。
	Remark *string `json:"remark,omitempty"`

	// API流量限制是指时长内一个API能够被访问的次数上限。该值不超过系统默认配额限制,系统默认配额为200tps,用户可根据实际情况修改该系统默认配额。输入的值不超过2147483647。正整数。
	ApiCallLimits int32 `json:"api_call_limits"`

	// 流控策略的类型 - 1:基础,表示绑定到流控策略的单个API流控时间内能够被调用多少次。 - 2:共享,表示绑定到流控策略的所有API流控时间内能够被调用多少次。
	Type *UpdateRequestThrottlingPolicyV2ResponseType `json:"type,omitempty"`

	// 是否开启动态流控: - TRUE - FALSE  暂不支持
	EnableAdaptiveControl *string `json:"enable_adaptive_control,omitempty"`

	// 用户流量限制是指一个API在时长之内每一个用户能访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	UserCallLimits *int32 `json:"user_call_limits,omitempty"`

	// 流量控制的时长单位。与“流量限制次数”配合使用,表示单位时间内的API请求次数上限。输入的值不超过2147483647。正整数。
	TimeInterval int32 `json:"time_interval"`

	// 源IP流量限制是指一个API在时长之内被每个IP访问的次数上限,该数值不超过API流量限制值。输入的值不超过2147483647。正整数。
	IpCallLimits *int32 `json:"ip_call_limits,omitempty"`

	// 流控策略的ID
	Id *string `json:"id,omitempty"`

	// 流控绑定的API数量
	BindNum *int32 `json:"bind_num,omitempty"`

	// 是否包含特殊流控配置 - 1:包含 - 2:不包含
	IsIncluSpecialThrottle *UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle `json:"is_inclu_special_throttle,omitempty"`

	// 创建时间
	CreateTime     *sdktime.SdkTime `json:"create_time,omitempty"`
	HttpStatusCode int              `json:"-"`
}

UpdateRequestThrottlingPolicyV2Response Response Object

func (UpdateRequestThrottlingPolicyV2Response) String

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value

type UpdateRequestThrottlingPolicyV2ResponseType

type UpdateRequestThrottlingPolicyV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseType) Value

type UpdateSignatureKeyV2Request

type UpdateSignatureKeyV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	Body *BaseSignature `json:"body,omitempty"`
}

UpdateSignatureKeyV2Request Request Object

func (UpdateSignatureKeyV2Request) String

type UpdateSignatureKeyV2Response

type UpdateSignatureKeyV2Response struct {

	// 签名密钥的名称。支持汉字,英文,数字,下划线,且只能以英文和汉字开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// 签名密钥类型: - hmac - basic - public_key - aes  basic类型需要实例升级到对应版本,若不存在可联系技术工程师升级。  public_key类型开启实例配置public_key才可使用,实例特性配置详情请参考“附录 > 实例支持的APIG特性”,如确认实例不存在public_key配置可联系技术工程师开启。  aes类型需要实例升级到对应版本,若不存在可联系技术工程师升级。
	SignType *UpdateSignatureKeyV2ResponseSignType `json:"sign_type,omitempty"`

	// 签名密钥的key。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母或数字开头,8 ~ 32字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,且只能以英文字母开头,4 ~ 32字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,+,/,=,可以英文字母,数字,+,/开头,8 ~ 512字符。未填写时后台自动生成。 - aes类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,签名算法为aes-128-cfb时为16个字符,签名算法为aes-256-cfb时为32个字符。未填写时后台自动生成。
	SignKey *string `json:"sign_key,omitempty"`

	// 签名密钥的密钥。 - hmac类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,16 ~ 64字符。未填写时后台自动生成。 - basic类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,且只能以英文字母或数字开头,8 ~ 64字符。未填写时后台自动生成。 - public_key类型的签名密钥key:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,15 ~ 2048字符。未填写时后台自动生成。 - aes类型签名密钥使用的向量:支持英文,数字,下划线,中划线,!,@,#,$,%,+,/,=,可以英文字母,数字,+,/开头,16个字符。未填写时后台自动生成。
	SignSecret *string `json:"sign_secret,omitempty"`

	// 签名算法。默认值为空,仅aes类型签名密钥支持选择签名算法,其他类型签名密钥不支持签名算法。
	SignAlgorithm *UpdateSignatureKeyV2ResponseSignAlgorithm `json:"sign_algorithm,omitempty"`

	// 更新时间
	UpdateTime *sdktime.SdkTime `json:"update_time,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 签名密钥的编号
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateSignatureKeyV2Response Response Object

func (UpdateSignatureKeyV2Response) String

type UpdateSignatureKeyV2ResponseSignAlgorithm

type UpdateSignatureKeyV2ResponseSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON

func (*UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON

func (UpdateSignatureKeyV2ResponseSignAlgorithm) Value

type UpdateSignatureKeyV2ResponseSignAlgorithmEnum

type UpdateSignatureKeyV2ResponseSignAlgorithmEnum struct {
	AES_128_CFB UpdateSignatureKeyV2ResponseSignAlgorithm
	AES_256_CFB UpdateSignatureKeyV2ResponseSignAlgorithm
}

func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum

func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum() UpdateSignatureKeyV2ResponseSignAlgorithmEnum

type UpdateSignatureKeyV2ResponseSignType

type UpdateSignatureKeyV2ResponseSignType struct {
	// contains filtered or unexported fields
}

func (UpdateSignatureKeyV2ResponseSignType) MarshalJSON

func (c UpdateSignatureKeyV2ResponseSignType) MarshalJSON() ([]byte, error)

func (*UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON

func (c *UpdateSignatureKeyV2ResponseSignType) UnmarshalJSON(b []byte) error

func (UpdateSignatureKeyV2ResponseSignType) Value

type UpdateSpecialThrottlingConfigurationV2Request

type UpdateSpecialThrottlingConfigurationV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 特殊配置的编号
	StrategyId string `json:"strategy_id"`

	Body *ThrottleSpecialUpdate `json:"body,omitempty"`
}

UpdateSpecialThrottlingConfigurationV2Request Request Object

func (UpdateSpecialThrottlingConfigurationV2Request) String

type UpdateSpecialThrottlingConfigurationV2Response

type UpdateSpecialThrottlingConfigurationV2Response struct {

	// 特殊配置的编号
	Id *string `json:"id,omitempty"`

	// 特殊对象在流控时间内能够访问API的最大次数限制
	CallLimits *int32 `json:"call_limits,omitempty"`

	// 设置时间
	ApplyTime *sdktime.SdkTime `json:"apply_time,omitempty"`

	// 作用的APP名称
	AppName *string `json:"app_name,omitempty"`

	// 作用的APP编号
	AppId *string `json:"app_id,omitempty"`

	// 特殊对象的身份标识
	ObjectId *string `json:"object_id,omitempty"`

	// 特殊对象类型:APP、USER
	ObjectType *string `json:"object_type,omitempty"`

	// 作用的APP或租户的名称
	ObjectName *string `json:"object_name,omitempty"`

	// 流控策略编号
	ThrottleId     *string `json:"throttle_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateSpecialThrottlingConfigurationV2Response Response Object

func (UpdateSpecialThrottlingConfigurationV2Response) String

type UpdateVpcChannelV2Request

type UpdateVpcChannelV2Request struct {

	// 实例ID,在API网关控制台的“实例信息”中获取。
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcCreate `json:"body,omitempty"`
}

UpdateVpcChannelV2Request Request Object

func (UpdateVpcChannelV2Request) String

func (o UpdateVpcChannelV2Request) String() string

type UpdateVpcChannelV2Response

type UpdateVpcChannelV2Response struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy UpdateVpcChannelV2ResponseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。 - ip - ecs
	MemberType UpdateVpcChannelV2ResponseMemberType `json:"member_type"`

	// vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *UpdateVpcChannelV2ResponseStatus `json:"status,omitempty"`

	// 后端云服务器组列表。
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`
	HttpStatusCode   int               `json:"-"`
}

UpdateVpcChannelV2Response Response Object

func (UpdateVpcChannelV2Response) String

type UpdateVpcChannelV2ResponseBalanceStrategy

type UpdateVpcChannelV2ResponseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON

func (*UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON

func (UpdateVpcChannelV2ResponseBalanceStrategy) Value

type UpdateVpcChannelV2ResponseMemberType

type UpdateVpcChannelV2ResponseMemberType struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseMemberType) MarshalJSON

func (c UpdateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON

func (c *UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseMemberType) Value

type UpdateVpcChannelV2ResponseMemberTypeEnum

type UpdateVpcChannelV2ResponseMemberTypeEnum struct {
	IP  UpdateVpcChannelV2ResponseMemberType
	ECS UpdateVpcChannelV2ResponseMemberType
}

func GetUpdateVpcChannelV2ResponseMemberTypeEnum

func GetUpdateVpcChannelV2ResponseMemberTypeEnum() UpdateVpcChannelV2ResponseMemberTypeEnum

type UpdateVpcChannelV2ResponseStatus

type UpdateVpcChannelV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseStatus) MarshalJSON

func (c UpdateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseStatus) UnmarshalJSON

func (c *UpdateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseStatus) Value

type UpdateVpcChannelV2ResponseStatusEnum

type UpdateVpcChannelV2ResponseStatusEnum struct {
	E_1 UpdateVpcChannelV2ResponseStatus
	E_2 UpdateVpcChannelV2ResponseStatus
}

func GetUpdateVpcChannelV2ResponseStatusEnum

func GetUpdateVpcChannelV2ResponseStatusEnum() UpdateVpcChannelV2ResponseStatusEnum

type UrlDomain

type UrlDomain struct {

	// 域名编号
	Id *string `json:"id,omitempty"`

	// 访问域名
	Domain *string `json:"domain,omitempty"`

	// 域名cname状态: - 1:未解析 - 2:解析中 - 3:解析成功 - 4:解析失败
	CnameStatus *int32 `json:"cname_status,omitempty"`

	// SSL证书编号
	SslId *string `json:"ssl_id,omitempty"`

	// SSL证书名称
	SslName *string `json:"ssl_name,omitempty"`

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainMinSslVersion `json:"min_ssl_version,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`

	// 是否存在信任的根证书CA。当绑定证书存在trusted_root_ca时为true。
	IsHasTrustedRootCa *bool `json:"is_has_trusted_root_ca,omitempty"`
}

func (UrlDomain) String

func (o UrlDomain) String() string

type UrlDomainBase

type UrlDomainBase struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainBaseMinSslVersion `json:"min_ssl_version,omitempty"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`
}

func (UrlDomainBase) String

func (o UrlDomainBase) String() string

type UrlDomainBaseInfo

type UrlDomainBaseInfo struct {

	// 自定义域名
	UrlDomain string `json:"url_domain"`

	// 自定义域名的编号
	Id string `json:"id"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status UrlDomainBaseInfoStatus `json:"status"`

	// 支持的最小SSL版本
	MinSslVersion string `json:"min_ssl_version"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`
}

func (UrlDomainBaseInfo) String

func (o UrlDomainBaseInfo) String() string

type UrlDomainBaseInfoStatus

type UrlDomainBaseInfoStatus struct {
	// contains filtered or unexported fields
}

func (UrlDomainBaseInfoStatus) MarshalJSON

func (c UrlDomainBaseInfoStatus) MarshalJSON() ([]byte, error)

func (*UrlDomainBaseInfoStatus) UnmarshalJSON

func (c *UrlDomainBaseInfoStatus) UnmarshalJSON(b []byte) error

func (UrlDomainBaseInfoStatus) Value

func (c UrlDomainBaseInfoStatus) Value() int32

type UrlDomainBaseMinSslVersion

type UrlDomainBaseMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainBaseMinSslVersion) MarshalJSON

func (c UrlDomainBaseMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainBaseMinSslVersion) UnmarshalJSON

func (c *UrlDomainBaseMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainBaseMinSslVersion) Value

type UrlDomainBaseMinSslVersionEnum

type UrlDomainBaseMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainBaseMinSslVersion
	TL_SV1_2 UrlDomainBaseMinSslVersion
}

func GetUrlDomainBaseMinSslVersionEnum

func GetUrlDomainBaseMinSslVersionEnum() UrlDomainBaseMinSslVersionEnum

type UrlDomainCreate

type UrlDomainCreate struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainCreateMinSslVersion `json:"min_ssl_version,omitempty"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 自定义域名。长度为0-255位的字符串,需要符合域名规范。
	UrlDomain *string `json:"url_domain,omitempty"`
}

func (UrlDomainCreate) String

func (o UrlDomainCreate) String() string

type UrlDomainCreateMinSslVersion

type UrlDomainCreateMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainCreateMinSslVersion) MarshalJSON

func (c UrlDomainCreateMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainCreateMinSslVersion) UnmarshalJSON

func (c *UrlDomainCreateMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainCreateMinSslVersion) Value

type UrlDomainCreateMinSslVersionEnum

type UrlDomainCreateMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainCreateMinSslVersion
	TL_SV1_2 UrlDomainCreateMinSslVersion
}

func GetUrlDomainCreateMinSslVersionEnum

func GetUrlDomainCreateMinSslVersionEnum() UrlDomainCreateMinSslVersionEnum

type UrlDomainMinSslVersion

type UrlDomainMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainMinSslVersion) MarshalJSON

func (c UrlDomainMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainMinSslVersion) UnmarshalJSON

func (c *UrlDomainMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainMinSslVersion) Value

func (c UrlDomainMinSslVersion) Value() string

type UrlDomainMinSslVersionEnum

type UrlDomainMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainMinSslVersion
	TL_SV1_2 UrlDomainMinSslVersion
}

func GetUrlDomainMinSslVersionEnum

func GetUrlDomainMinSslVersionEnum() UrlDomainMinSslVersionEnum

type UrlDomainModify

type UrlDomainModify struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion UrlDomainModifyMinSslVersion `json:"min_ssl_version"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`
}

func (UrlDomainModify) String

func (o UrlDomainModify) String() string

type UrlDomainModifyMinSslVersion

type UrlDomainModifyMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainModifyMinSslVersion) MarshalJSON

func (c UrlDomainModifyMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainModifyMinSslVersion) UnmarshalJSON

func (c *UrlDomainModifyMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainModifyMinSslVersion) Value

type UrlDomainModifyMinSslVersionEnum

type UrlDomainModifyMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainModifyMinSslVersion
	TL_SV1_2 UrlDomainModifyMinSslVersion
}

func GetUrlDomainModifyMinSslVersionEnum

func GetUrlDomainModifyMinSslVersionEnum() UrlDomainModifyMinSslVersionEnum

type UrlDomainRefInfo

type UrlDomainRefInfo struct {

	// 自定义域名
	UrlDomain string `json:"url_domain"`

	// 自定义域名的编号
	Id string `json:"id"`

	// CNAME解析状态 - 1: 未解析 - 2: 解析中 - 3: 解析成功 - 4: 解析失败
	Status UrlDomainRefInfoStatus `json:"status"`

	// 支持的最小SSL版本
	MinSslVersion string `json:"min_ssl_version"`

	// 是否开启http到https的重定向,false为关闭,true为开启,默认为false
	IsHttpRedirectToHttps *bool `json:"is_http_redirect_to_https,omitempty"`

	// 是否开启客户端证书校验。只有绑定证书时,该参数才生效。当绑定证书存在trusted_root_ca时,默认开启;当绑定证书不存在trusted_root_ca时,默认关闭。
	VerifiedClientCertificateEnabled *bool `json:"verified_client_certificate_enabled,omitempty"`

	// 证书ID
	SslId *string `json:"ssl_id,omitempty"`

	// 证书名称
	SslName *string `json:"ssl_name,omitempty"`

	// 所属API分组ID
	ApiGroupId string `json:"api_group_id"`

	// 所属API分组名称
	ApiGroupName string `json:"api_group_name"`

	// 所属实例ID
	InstanceId string `json:"instance_id"`
}

UrlDomainRefInfo 域名详情及关联的证书、分组信息

func (UrlDomainRefInfo) String

func (o UrlDomainRefInfo) String() string

type UrlDomainRefInfoStatus

type UrlDomainRefInfoStatus struct {
	// contains filtered or unexported fields
}

func (UrlDomainRefInfoStatus) MarshalJSON

func (c UrlDomainRefInfoStatus) MarshalJSON() ([]byte, error)

func (*UrlDomainRefInfoStatus) UnmarshalJSON

func (c *UrlDomainRefInfoStatus) UnmarshalJSON(b []byte) error

func (UrlDomainRefInfoStatus) Value

func (c UrlDomainRefInfoStatus) Value() int32

type UrlDomainRefInfoStatusEnum

type UrlDomainRefInfoStatusEnum struct {
	E_1 UrlDomainRefInfoStatus
	E_2 UrlDomainRefInfoStatus
	E_3 UrlDomainRefInfoStatus
	E_4 UrlDomainRefInfoStatus
}

func GetUrlDomainRefInfoStatusEnum

func GetUrlDomainRefInfoStatusEnum() UrlDomainRefInfoStatusEnum

type VpcBase

type VpcBase struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy VpcBaseBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。 - ip - ecs
	MemberType VpcBaseMemberType `json:"member_type"`

	// vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`
}

func (VpcBase) String

func (o VpcBase) String() string

type VpcBaseBalanceStrategy

type VpcBaseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcBaseBalanceStrategy) MarshalJSON

func (c VpcBaseBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcBaseBalanceStrategy) UnmarshalJSON

func (c *VpcBaseBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcBaseBalanceStrategy) Value

func (c VpcBaseBalanceStrategy) Value() int32

type VpcBaseBalanceStrategyEnum

type VpcBaseBalanceStrategyEnum struct {
	E_1 VpcBaseBalanceStrategy
	E_2 VpcBaseBalanceStrategy
	E_3 VpcBaseBalanceStrategy
	E_4 VpcBaseBalanceStrategy
}

func GetVpcBaseBalanceStrategyEnum

func GetVpcBaseBalanceStrategyEnum() VpcBaseBalanceStrategyEnum

type VpcBaseInfo

type VpcBaseInfo struct {

	// 云服务器ID
	EcsId *string `json:"ecs_id,omitempty"`

	// 云服务器名称
	EcsName *string `json:"ecs_name,omitempty"`

	// 是否使用级联方式  暂不支持
	CascadeFlag *bool `json:"cascade_flag,omitempty"`
}

func (VpcBaseInfo) String

func (o VpcBaseInfo) String() string

type VpcBaseMemberType

type VpcBaseMemberType struct {
	// contains filtered or unexported fields
}

func (VpcBaseMemberType) MarshalJSON

func (c VpcBaseMemberType) MarshalJSON() ([]byte, error)

func (*VpcBaseMemberType) UnmarshalJSON

func (c *VpcBaseMemberType) UnmarshalJSON(b []byte) error

func (VpcBaseMemberType) Value

func (c VpcBaseMemberType) Value() string

type VpcBaseMemberTypeEnum

type VpcBaseMemberTypeEnum struct {
	IP  VpcBaseMemberType
	ECS VpcBaseMemberType
}

func GetVpcBaseMemberTypeEnum

func GetVpcBaseMemberTypeEnum() VpcBaseMemberTypeEnum

type VpcChannelInfo

type VpcChannelInfo struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy VpcChannelInfoBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。 - ip - ecs
	MemberType VpcChannelInfoMemberType `json:"member_type"`

	// vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道的创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// VPC通道的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的状态。 - 1:正常 - 2:异常
	Status *VpcChannelInfoStatus `json:"status,omitempty"`

	// 后端云服务器组列表。
	MemberGroups *[]MemberGroupInfo `json:"member_groups,omitempty"`

	MicroserviceInfo *MicroServiceInfo `json:"microservice_info,omitempty"`
}

func (VpcChannelInfo) String

func (o VpcChannelInfo) String() string

type VpcChannelInfoBalanceStrategy

type VpcChannelInfoBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoBalanceStrategy) MarshalJSON

func (c VpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoBalanceStrategy) UnmarshalJSON

func (c *VpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcChannelInfoBalanceStrategy) Value

type VpcChannelInfoMemberType

type VpcChannelInfoMemberType struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoMemberType) MarshalJSON

func (c VpcChannelInfoMemberType) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoMemberType) UnmarshalJSON

func (c *VpcChannelInfoMemberType) UnmarshalJSON(b []byte) error

func (VpcChannelInfoMemberType) Value

func (c VpcChannelInfoMemberType) Value() string

type VpcChannelInfoMemberTypeEnum

type VpcChannelInfoMemberTypeEnum struct {
	IP  VpcChannelInfoMemberType
	ECS VpcChannelInfoMemberType
}

func GetVpcChannelInfoMemberTypeEnum

func GetVpcChannelInfoMemberTypeEnum() VpcChannelInfoMemberTypeEnum

type VpcChannelInfoStatus

type VpcChannelInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoStatus) MarshalJSON

func (c VpcChannelInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoStatus) UnmarshalJSON

func (c *VpcChannelInfoStatus) UnmarshalJSON(b []byte) error

func (VpcChannelInfoStatus) Value

func (c VpcChannelInfoStatus) Value() int32

type VpcChannelInfoStatusEnum

type VpcChannelInfoStatusEnum struct {
	E_1 VpcChannelInfoStatus
	E_2 VpcChannelInfoStatus
}

func GetVpcChannelInfoStatusEnum

func GetVpcChannelInfoStatusEnum() VpcChannelInfoStatusEnum

type VpcCreate

type VpcCreate struct {

	// VPC通道的名称。  长度为3 ~ 64位的字符串,字符串由中文、英文字母、数字、中划线、下划线组成,且只能以英文或中文开头。 > 中文字符必须为UTF-8或者unicode编码。
	Name string `json:"name"`

	// VPC通道中主机的端口号。  取值范围1 ~ 65535。
	Port int32 `json:"port"`

	// 分发算法。 - 1:加权轮询(wrr) - 2:加权最少连接(wleastconn) - 3:源地址哈希(source) - 4:URI哈希(uri)
	BalanceStrategy VpcCreateBalanceStrategy `json:"balance_strategy"`

	// VPC通道的成员类型。 - ip - ecs
	MemberType VpcCreateMemberType `json:"member_type"`

	// vpc通道类型,默认为服务器类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// VPC通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`

	// VPC通道后端服务器组列表
	MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"`

	// VPC后端实例列表。
	Members *[]MemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfig `json:"vpc_health_config,omitempty"`

	MicroserviceInfo *MicroServiceCreate `json:"microservice_info,omitempty"`
}

func (VpcCreate) String

func (o VpcCreate) String() string

type VpcCreateBalanceStrategy

type VpcCreateBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcCreateBalanceStrategy) MarshalJSON

func (c VpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcCreateBalanceStrategy) UnmarshalJSON

func (c *VpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcCreateBalanceStrategy) Value

func (c VpcCreateBalanceStrategy) Value() int32

type VpcCreateMemberType

type VpcCreateMemberType struct {
	// contains filtered or unexported fields
}

func (VpcCreateMemberType) MarshalJSON

func (c VpcCreateMemberType) MarshalJSON() ([]byte, error)

func (*VpcCreateMemberType) UnmarshalJSON

func (c *VpcCreateMemberType) UnmarshalJSON(b []byte) error

func (VpcCreateMemberType) Value

func (c VpcCreateMemberType) Value() string

type VpcCreateMemberTypeEnum

type VpcCreateMemberTypeEnum struct {
	IP  VpcCreateMemberType
	ECS VpcCreateMemberType
}

func GetVpcCreateMemberTypeEnum

func GetVpcCreateMemberTypeEnum() VpcCreateMemberTypeEnum

type VpcHealthConfig

type VpcHealthConfig struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol VpcHealthConfigProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *VpcHealthConfigMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阈值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *VpcHealthConfigStatus `json:"status,omitempty"`

	// 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。
	Timeout *int32 `json:"timeout,omitempty"`
}

VpcHealthConfig 健康检查详情。

func (VpcHealthConfig) String

func (o VpcHealthConfig) String() string

type VpcHealthConfigBase

type VpcHealthConfigBase struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol VpcHealthConfigBaseProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *VpcHealthConfigBaseMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阈值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *VpcHealthConfigBaseStatus `json:"status,omitempty"`
}

VpcHealthConfigBase 健康检查详情。

func (VpcHealthConfigBase) String

func (o VpcHealthConfigBase) String() string

type VpcHealthConfigBaseMethod

type VpcHealthConfigBaseMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseMethod) MarshalJSON

func (c VpcHealthConfigBaseMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseMethod) UnmarshalJSON

func (c *VpcHealthConfigBaseMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseMethod) Value

type VpcHealthConfigBaseMethodEnum

type VpcHealthConfigBaseMethodEnum struct {
	GET  VpcHealthConfigBaseMethod
	HEAD VpcHealthConfigBaseMethod
}

func GetVpcHealthConfigBaseMethodEnum

func GetVpcHealthConfigBaseMethodEnum() VpcHealthConfigBaseMethodEnum

type VpcHealthConfigBaseProtocol

type VpcHealthConfigBaseProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseProtocol) MarshalJSON

func (c VpcHealthConfigBaseProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseProtocol) UnmarshalJSON

func (c *VpcHealthConfigBaseProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseProtocol) Value

type VpcHealthConfigBaseProtocolEnum

type VpcHealthConfigBaseProtocolEnum struct {
	TCP   VpcHealthConfigBaseProtocol
	HTTP  VpcHealthConfigBaseProtocol
	HTTPS VpcHealthConfigBaseProtocol
}

func GetVpcHealthConfigBaseProtocolEnum

func GetVpcHealthConfigBaseProtocolEnum() VpcHealthConfigBaseProtocolEnum

type VpcHealthConfigBaseStatus

type VpcHealthConfigBaseStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseStatus) MarshalJSON

func (c VpcHealthConfigBaseStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseStatus) UnmarshalJSON

func (c *VpcHealthConfigBaseStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseStatus) Value

func (c VpcHealthConfigBaseStatus) Value() int32

type VpcHealthConfigBaseStatusEnum

type VpcHealthConfigBaseStatusEnum struct {
	E_1 VpcHealthConfigBaseStatus
	E_2 VpcHealthConfigBaseStatus
}

func GetVpcHealthConfigBaseStatusEnum

func GetVpcHealthConfigBaseStatusEnum() VpcHealthConfigBaseStatusEnum

type VpcHealthConfigInfo

type VpcHealthConfigInfo struct {

	// 使用以下协议,对VPC中主机执行健康检查: - TCP - HTTP - HTTPS
	Protocol VpcHealthConfigInfoProtocol `json:"protocol"`

	// 健康检查时的目标路径。protocol = http或https时必选
	Path *string `json:"path,omitempty"`

	// 健康检查时的请求方法
	Method *VpcHealthConfigInfoMethod `json:"method,omitempty"`

	// 健康检查的目标端口,缺少或port = 0时为VPC中主机的端口号。  若此端口存在非0值,则使用此端口进行健康检查。
	Port *int32 `json:"port,omitempty"`

	// 正常阈值。判定VPC通道中主机正常的依据为:连续检查x成功,x为您设置的正常阈值。
	ThresholdNormal int32 `json:"threshold_normal"`

	// 异常阈值。判定VPC通道中主机异常的依据为:连续检查x失败,x为您设置的异常阈值。
	ThresholdAbnormal int32 `json:"threshold_abnormal"`

	// 间隔时间:连续两次检查的间隔时间,单位为秒。必须大于timeout字段取值。
	TimeInterval int32 `json:"time_interval"`

	// 检查目标HTTP响应时,判断成功使用的HTTP响应码。取值范围为100到599之前的任意整数值,支持如下三种格式: - 多个值,如:200,201,202 - 一系列值,如:200-299 - 组合值,如:201,202,210-299 protocol = http时必选
	HttpCode *string `json:"http_code,omitempty"`

	// 是否开启双向认证。若开启,则使用实例配置中的backend_client_certificate配置项的证书
	EnableClientSsl *bool `json:"enable_client_ssl,omitempty"`

	// 健康检查状态   - 1:可用   - 2:不可用
	Status *VpcHealthConfigInfoStatus `json:"status,omitempty"`

	// 超时时间:检查期间,无响应的时间,单位为秒。必须小于time_interval字段取值。
	Timeout *int32 `json:"timeout,omitempty"`

	// VPC通道的编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 健康检查的编号
	Id *string `json:"id,omitempty"`

	// 创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

VpcHealthConfigInfo 健康检查详情。

func (VpcHealthConfigInfo) String

func (o VpcHealthConfigInfo) String() string

type VpcHealthConfigInfoMethod

type VpcHealthConfigInfoMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoMethod) MarshalJSON

func (c VpcHealthConfigInfoMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoMethod) UnmarshalJSON

func (c *VpcHealthConfigInfoMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoMethod) Value

type VpcHealthConfigInfoMethodEnum

type VpcHealthConfigInfoMethodEnum struct {
	GET  VpcHealthConfigInfoMethod
	HEAD VpcHealthConfigInfoMethod
}

func GetVpcHealthConfigInfoMethodEnum

func GetVpcHealthConfigInfoMethodEnum() VpcHealthConfigInfoMethodEnum

type VpcHealthConfigInfoProtocol

type VpcHealthConfigInfoProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoProtocol) MarshalJSON

func (c VpcHealthConfigInfoProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoProtocol) UnmarshalJSON

func (c *VpcHealthConfigInfoProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoProtocol) Value

type VpcHealthConfigInfoProtocolEnum

type VpcHealthConfigInfoProtocolEnum struct {
	TCP   VpcHealthConfigInfoProtocol
	HTTP  VpcHealthConfigInfoProtocol
	HTTPS VpcHealthConfigInfoProtocol
}

func GetVpcHealthConfigInfoProtocolEnum

func GetVpcHealthConfigInfoProtocolEnum() VpcHealthConfigInfoProtocolEnum

type VpcHealthConfigInfoStatus

type VpcHealthConfigInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoStatus) MarshalJSON

func (c VpcHealthConfigInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoStatus) UnmarshalJSON

func (c *VpcHealthConfigInfoStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoStatus) Value

func (c VpcHealthConfigInfoStatus) Value() int32

type VpcHealthConfigInfoStatusEnum

type VpcHealthConfigInfoStatusEnum struct {
	E_1 VpcHealthConfigInfoStatus
	E_2 VpcHealthConfigInfoStatus
}

func GetVpcHealthConfigInfoStatusEnum

func GetVpcHealthConfigInfoStatusEnum() VpcHealthConfigInfoStatusEnum

type VpcHealthConfigMethod

type VpcHealthConfigMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigMethod) MarshalJSON

func (c VpcHealthConfigMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigMethod) UnmarshalJSON

func (c *VpcHealthConfigMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigMethod) Value

func (c VpcHealthConfigMethod) Value() string

type VpcHealthConfigMethodEnum

type VpcHealthConfigMethodEnum struct {
	GET  VpcHealthConfigMethod
	HEAD VpcHealthConfigMethod
}

func GetVpcHealthConfigMethodEnum

func GetVpcHealthConfigMethodEnum() VpcHealthConfigMethodEnum

type VpcHealthConfigProtocol

type VpcHealthConfigProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigProtocol) MarshalJSON

func (c VpcHealthConfigProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigProtocol) UnmarshalJSON

func (c *VpcHealthConfigProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigProtocol) Value

func (c VpcHealthConfigProtocol) Value() string

type VpcHealthConfigProtocolEnum

type VpcHealthConfigProtocolEnum struct {
	TCP   VpcHealthConfigProtocol
	HTTP  VpcHealthConfigProtocol
	HTTPS VpcHealthConfigProtocol
}

func GetVpcHealthConfigProtocolEnum

func GetVpcHealthConfigProtocolEnum() VpcHealthConfigProtocolEnum

type VpcHealthConfigStatus

type VpcHealthConfigStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigStatus) MarshalJSON

func (c VpcHealthConfigStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigStatus) UnmarshalJSON

func (c *VpcHealthConfigStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigStatus) Value

func (c VpcHealthConfigStatus) Value() int32

type VpcHealthConfigStatusEnum

type VpcHealthConfigStatusEnum struct {
	E_1 VpcHealthConfigStatus
	E_2 VpcHealthConfigStatus
}

func GetVpcHealthConfigStatusEnum

func GetVpcHealthConfigStatusEnum() VpcHealthConfigStatusEnum

type VpcInfo

type VpcInfo struct {

	// 云服务器ID
	EcsId *string `json:"ecs_id,omitempty"`

	// 云服务器名称
	EcsName *string `json:"ecs_name,omitempty"`

	// 是否使用级联方式  暂不支持
	CascadeFlag *bool `json:"cascade_flag,omitempty"`

	// 代理主机
	VpcChannelProxyHost *string `json:"vpc_channel_proxy_host,omitempty"`

	// VPC通道编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// VPC通道端口
	VpcChannelPort *int32 `json:"vpc_channel_port,omitempty"`
}

VpcInfo VPC通道详情。如果vpc_channel_status = 1,则这个object类型为必填信息

func (VpcInfo) String

func (o VpcInfo) String() string

type VpcMemberCreate

type VpcMemberCreate struct {

	// 后端实例列表
	Members []MemberInfo `json:"members"`
}

func (VpcMemberCreate) String

func (o VpcMemberCreate) String() string

type VpcMemberInfo

type VpcMemberInfo struct {

	// 后端服务器地址  后端实例类型为ip时必填
	Host *string `json:"host,omitempty"`

	// 权重值。  允许您对后端服务进行评级,权重值越大,转发到该云服务的请求数量越多。
	Weight *int32 `json:"weight,omitempty"`

	// 是否备用节点。  开启后对应后端服务为备用节点,仅当非备用节点全部故障时工作。  实例需要升级到对应版本才支持此功能,若不支持请联系技术支持。
	IsBackup *bool `json:"is_backup,omitempty"`

	// 后端服务器组名称。为后端服务地址选择服务器组,便于统一修改对应服务器组的后端地址。
	MemberGroupName *string `json:"member_group_name,omitempty"`

	// 后端服务器状态   - 1:可用   - 2:不可用
	Status *VpcMemberInfoStatus `json:"status,omitempty"`

	// 后端服务器端口
	Port *int32 `json:"port,omitempty"`

	// 后端云服务器的编号。  后端实例类型为ecs时必填,支持英文,数字,“-”,“_”,1 ~ 64字符。
	EcsId *string `json:"ecs_id,omitempty"`

	// 后端云服务器的名称。  后端实例类型为ecs时必填,支持汉字,英文,数字,“-”,“_”,“.”,1 ~ 64字符。
	EcsName *string `json:"ecs_name,omitempty"`

	// 后端实例对象的编号
	Id *string `json:"id,omitempty"`

	// VPC通道的编号
	VpcChannelId *string `json:"vpc_channel_id,omitempty"`

	// 后端实例增加到VPC通道的时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`

	// 后端服务器组编号
	MemberGroupId *string `json:"member_group_id,omitempty"`
}

func (VpcMemberInfo) String

func (o VpcMemberInfo) String() string

type VpcMemberInfoStatus

type VpcMemberInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcMemberInfoStatus) MarshalJSON

func (c VpcMemberInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcMemberInfoStatus) UnmarshalJSON

func (c *VpcMemberInfoStatus) UnmarshalJSON(b []byte) error

func (VpcMemberInfoStatus) Value

func (c VpcMemberInfoStatus) Value() int32

type VpcMemberInfoStatusEnum

type VpcMemberInfoStatusEnum struct {
	E_1 VpcMemberInfoStatus
	E_2 VpcMemberInfoStatus
}

func GetVpcMemberInfoStatusEnum

func GetVpcMemberInfoStatusEnum() VpcMemberInfoStatusEnum

type VpcMemberModify

type VpcMemberModify struct {

	// 后端实例列表
	Members *[]MemberInfo `json:"members,omitempty"`

	// 需要修改的后端服务器组  不传时使用members中的定义对VPC通道后端进行全量覆盖修改。  传入时,只对members中对应后端服务器组的后端实例进行处理,其他后端服务器组的入参会被忽略。例如:member_group_name=primary时,只处理members中后端服务器组为105c6902457144a4820dff8b1ad63331的后端实例。
	MemberGroupName *string `json:"member_group_name,omitempty"`
}

func (VpcMemberModify) String

func (o VpcMemberModify) String() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL