model

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclApiBindingCreate added in v0.0.65

type AclApiBindingCreate struct {

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

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

func (AclApiBindingCreate) String added in v0.0.65

func (o AclApiBindingCreate) String() string

type AclApiBindingInfo added in v0.0.65

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

func (o AclApiBindingInfo) String() string

type AclBatchDelete added in v0.0.65

type AclBatchDelete struct {

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

func (AclBatchDelete) String added in v0.0.65

func (o AclBatchDelete) String() string

type AclBatchResultFailureResp added in v0.0.65

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

func (o AclBatchResultFailureResp) String() string

type AclBindApiInfo added in v0.0.69

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

func (o AclBindApiInfo) String() string

type AclBindingBatchDelete added in v0.0.65

type AclBindingBatchDelete struct {

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

func (AclBindingBatchDelete) String added in v0.0.65

func (o AclBindingBatchDelete) String() string

type AclBindingBatchFailure added in v0.0.69

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

func (o AclBindingBatchFailure) String() string

type AddEipV2Request added in v0.0.65

type AddEipV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (AddEipV2Request) String added in v0.0.65

func (o AddEipV2Request) String() string

type AddEipV2Response added in v0.0.65

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

Response Object

func (AddEipV2Response) String added in v0.0.65

func (o AddEipV2Response) String() string

type AddEngressEipV2Request added in v0.0.65

type AddEngressEipV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (AddEngressEipV2Request) String added in v0.0.65

func (o AddEngressEipV2Request) String() string

type AddEngressEipV2Response added in v0.0.65

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

Response Object

func (AddEngressEipV2Response) String added in v0.0.65

func (o AddEngressEipV2Response) String() string

type AddingBackendInstancesV2Request added in v0.0.65

type AddingBackendInstancesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (AddingBackendInstancesV2Request) String added in v0.0.65

type AddingBackendInstancesV2Response added in v0.0.65

type AddingBackendInstancesV2Response struct {

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

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

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

Response Object

func (AddingBackendInstancesV2Response) String added in v0.0.65

type ApiAclCreate added in v0.0.65

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

func (o ApiAclCreate) String() string

type ApiAclCreateAclType added in v0.1.7

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

func (ApiAclCreateAclType) MarshalJSON added in v0.1.7

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

func (*ApiAclCreateAclType) UnmarshalJSON added in v0.1.7

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

func (ApiAclCreateAclType) Value added in v0.1.7

func (c ApiAclCreateAclType) Value() string

type ApiAclCreateAclTypeEnum added in v0.1.7

type ApiAclCreateAclTypeEnum struct {
	PERMIT ApiAclCreateAclType
	DENY   ApiAclCreateAclType
}

func GetApiAclCreateAclTypeEnum added in v0.1.7

func GetApiAclCreateAclTypeEnum() ApiAclCreateAclTypeEnum

type ApiAclCreateEntityType added in v0.1.7

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

func (ApiAclCreateEntityType) MarshalJSON added in v0.1.7

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

func (*ApiAclCreateEntityType) UnmarshalJSON added in v0.1.7

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

func (ApiAclCreateEntityType) Value added in v0.1.7

func (c ApiAclCreateEntityType) Value() string

type ApiAclCreateEntityTypeEnum added in v0.1.7

type ApiAclCreateEntityTypeEnum struct {
	IP        ApiAclCreateEntityType
	DOMAIN    ApiAclCreateEntityType
	DOMAIN_ID ApiAclCreateEntityType
}

func GetApiAclCreateEntityTypeEnum added in v0.1.7

func GetApiAclCreateEntityTypeEnum() ApiAclCreateEntityTypeEnum

type ApiAclInfoWithBindNum added in v0.0.65

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

func (o ApiAclInfoWithBindNum) String() string

type ApiActionInfo added in v0.0.69

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

func (o ApiActionInfo) String() string

type ApiActionInfoAction added in v0.0.69

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

func (ApiActionInfoAction) MarshalJSON added in v0.0.69

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

func (*ApiActionInfoAction) UnmarshalJSON added in v0.0.69

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

func (ApiActionInfoAction) Value added in v0.0.90

func (c ApiActionInfoAction) Value() string

type ApiActionInfoActionEnum added in v0.0.69

type ApiActionInfoActionEnum struct {
	ONLINE  ApiActionInfoAction
	OFFLINE ApiActionInfoAction
}

func GetApiActionInfoActionEnum added in v0.0.69

func GetApiActionInfoActionEnum() ApiActionInfoActionEnum

type ApiAuthBase added in v0.0.69

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

func (o ApiAuthBase) String() string

type ApiAuthBaseAppType added in v0.0.69

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

func (ApiAuthBaseAppType) MarshalJSON added in v0.0.69

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

func (*ApiAuthBaseAppType) UnmarshalJSON added in v0.0.69

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

func (ApiAuthBaseAppType) Value added in v0.0.90

func (c ApiAuthBaseAppType) Value() string

type ApiAuthBaseAppTypeEnum added in v0.0.69

type ApiAuthBaseAppTypeEnum struct {
	APIG ApiAuthBaseAppType
	ROMA ApiAuthBaseAppType
}

func GetApiAuthBaseAppTypeEnum added in v0.0.69

func GetApiAuthBaseAppTypeEnum() ApiAuthBaseAppTypeEnum

type ApiAuthBaseAuthTunnel added in v0.0.69

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

func (ApiAuthBaseAuthTunnel) MarshalJSON added in v0.0.69

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

func (*ApiAuthBaseAuthTunnel) UnmarshalJSON added in v0.0.69

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

func (ApiAuthBaseAuthTunnel) Value added in v0.0.90

func (c ApiAuthBaseAuthTunnel) Value() string

type ApiAuthBaseAuthTunnelEnum added in v0.0.69

type ApiAuthBaseAuthTunnelEnum struct {
	NORMAL ApiAuthBaseAuthTunnel
	GREEN  ApiAuthBaseAuthTunnel
}

func GetApiAuthBaseAuthTunnelEnum added in v0.0.69

func GetApiAuthBaseAuthTunnelEnum() ApiAuthBaseAuthTunnelEnum

type ApiAuthCreate added in v0.0.69

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

func (o ApiAuthCreate) String() string

type ApiAuthInfo added in v0.0.69

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

func (o ApiAuthInfo) String() string

type ApiAuthInfoAppType added in v0.0.69

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

func (ApiAuthInfoAppType) MarshalJSON added in v0.0.69

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

func (*ApiAuthInfoAppType) UnmarshalJSON added in v0.0.69

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

func (ApiAuthInfoAppType) Value added in v0.0.90

func (c ApiAuthInfoAppType) Value() string

type ApiAuthInfoAppTypeEnum added in v0.0.69

type ApiAuthInfoAppTypeEnum struct {
	APIG ApiAuthInfoAppType
	ROMA ApiAuthInfoAppType
}

func GetApiAuthInfoAppTypeEnum added in v0.0.69

func GetApiAuthInfoAppTypeEnum() ApiAuthInfoAppTypeEnum

type ApiAuthInfoAuthTunnel added in v0.0.69

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

func (ApiAuthInfoAuthTunnel) MarshalJSON added in v0.0.69

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

func (*ApiAuthInfoAuthTunnel) UnmarshalJSON added in v0.0.69

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

func (ApiAuthInfoAuthTunnel) Value added in v0.0.90

func (c ApiAuthInfoAuthTunnel) Value() string

type ApiAuthInfoAuthTunnelEnum added in v0.0.69

type ApiAuthInfoAuthTunnelEnum struct {
	NORMAL ApiAuthInfoAuthTunnel
	GREEN  ApiAuthInfoAuthTunnel
}

func GetApiAuthInfoAuthTunnelEnum added in v0.0.69

func GetApiAuthInfoAuthTunnelEnum() ApiAuthInfoAuthTunnelEnum

type ApiAuthRelations added in v0.0.69

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

func (o ApiAuthRelations) String() string

type ApiAuthRelationsAuthRole added in v0.0.69

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

func (ApiAuthRelationsAuthRole) MarshalJSON added in v0.0.69

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

func (*ApiAuthRelationsAuthRole) UnmarshalJSON added in v0.0.69

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

func (ApiAuthRelationsAuthRole) Value added in v0.0.90

func (c ApiAuthRelationsAuthRole) Value() string

type ApiAuthRelationsAuthRoleEnum added in v0.0.69

type ApiAuthRelationsAuthRoleEnum struct {
	PROVIDER ApiAuthRelationsAuthRole
	CONSUMER ApiAuthRelationsAuthRole
}

func GetApiAuthRelationsAuthRoleEnum added in v0.0.69

func GetApiAuthRelationsAuthRoleEnum() ApiAuthRelationsAuthRoleEnum

type ApiAuthRelationsAuthTunnel added in v0.0.69

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

func (ApiAuthRelationsAuthTunnel) MarshalJSON added in v0.0.69

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

func (*ApiAuthRelationsAuthTunnel) UnmarshalJSON added in v0.0.69

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

func (ApiAuthRelationsAuthTunnel) Value added in v0.0.90

type ApiAuthRelationsAuthTunnelEnum added in v0.0.69

type ApiAuthRelationsAuthTunnelEnum struct {
	NORMAL ApiAuthRelationsAuthTunnel
	GREEN  ApiAuthRelationsAuthTunnel
}

func GetApiAuthRelationsAuthTunnelEnum added in v0.0.69

func GetApiAuthRelationsAuthTunnelEnum() ApiAuthRelationsAuthTunnelEnum

type ApiBackendVpcReq

type ApiBackendVpcReq struct {

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

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

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.90

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

func (c ApiBaseInfoBackendType) Value() string

type ApiBaseInfoBackendTypeEnum

type ApiBaseInfoBackendTypeEnum struct {
	HTTP     ApiBaseInfoBackendType
	FUNCTION ApiBaseInfoBackendType
	MOCK     ApiBaseInfoBackendType
}

func GetApiBaseInfoBackendTypeEnum

func GetApiBaseInfoBackendTypeEnum() ApiBaseInfoBackendTypeEnum

type ApiBaseInfoContentType added in v0.0.76

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

func (ApiBaseInfoContentType) MarshalJSON added in v0.0.76

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

func (*ApiBaseInfoContentType) UnmarshalJSON added in v0.0.76

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

func (ApiBaseInfoContentType) Value added in v0.0.90

func (c ApiBaseInfoContentType) Value() string

type ApiBaseInfoContentTypeEnum added in v0.0.76

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

func GetApiBaseInfoContentTypeEnum added in v0.0.76

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

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

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

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

func (c ApiBaseInfoType) Value() int32

type ApiBaseInfoTypeEnum

type ApiBaseInfoTypeEnum struct {
	E_1 ApiBaseInfoType
	E_2 ApiBaseInfoType
}

func GetApiBaseInfoTypeEnum

func GetApiBaseInfoTypeEnum() ApiBaseInfoTypeEnum

type ApiBatchPublish added in v0.0.65

type ApiBatchPublish struct {

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

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

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

func (ApiBatchPublish) String added in v0.0.65

func (o ApiBatchPublish) String() string

type ApiBindAclInfo added in v0.0.69

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

func (o ApiBindAclInfo) String() string

type ApiBindAclInfoAclType added in v0.0.69

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

func (ApiBindAclInfoAclType) MarshalJSON added in v0.0.69

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

func (*ApiBindAclInfoAclType) UnmarshalJSON added in v0.0.69

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

func (ApiBindAclInfoAclType) Value added in v0.0.90

func (c ApiBindAclInfoAclType) Value() string

type ApiBindAclInfoAclTypeEnum added in v0.0.69

type ApiBindAclInfoAclTypeEnum struct {
	PERMIT ApiBindAclInfoAclType
	DENY   ApiBindAclInfoAclType
}

func GetApiBindAclInfoAclTypeEnum added in v0.0.69

func GetApiBindAclInfoAclTypeEnum() ApiBindAclInfoAclTypeEnum

type ApiBindAclInfoEntityType added in v0.0.69

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

func (ApiBindAclInfoEntityType) MarshalJSON added in v0.0.69

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

func (*ApiBindAclInfoEntityType) UnmarshalJSON added in v0.0.69

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

func (ApiBindAclInfoEntityType) Value added in v0.0.90

func (c ApiBindAclInfoEntityType) Value() string

type ApiBindAclInfoEntityTypeEnum added in v0.0.69

type ApiBindAclInfoEntityTypeEnum struct {
	IP        ApiBindAclInfoEntityType
	DOMAIN    ApiBindAclInfoEntityType
	DOMAIN_ID ApiBindAclInfoEntityType
}

func GetApiBindAclInfoEntityTypeEnum added in v0.0.69

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.90

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

func (c ApiCommonBackendType) Value() string

type ApiCommonBackendTypeEnum

type ApiCommonBackendTypeEnum struct {
	HTTP     ApiCommonBackendType
	FUNCTION ApiCommonBackendType
	MOCK     ApiCommonBackendType
}

func GetApiCommonBackendTypeEnum

func GetApiCommonBackendTypeEnum() ApiCommonBackendTypeEnum

type ApiCommonContentType added in v0.0.76

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

func (ApiCommonContentType) MarshalJSON added in v0.0.76

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

func (*ApiCommonContentType) UnmarshalJSON added in v0.0.76

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

func (ApiCommonContentType) Value added in v0.0.90

func (c ApiCommonContentType) Value() string

type ApiCommonContentTypeEnum added in v0.0.76

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

func GetApiCommonContentTypeEnum added in v0.0.76

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

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

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

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

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

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

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.90

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

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.90

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

func (c ApiCreateBaseBackendType) Value() string

type ApiCreateBaseBackendTypeEnum

type ApiCreateBaseBackendTypeEnum struct {
	HTTP     ApiCreateBaseBackendType
	FUNCTION ApiCreateBaseBackendType
	MOCK     ApiCreateBaseBackendType
}

func GetApiCreateBaseBackendTypeEnum

func GetApiCreateBaseBackendTypeEnum() ApiCreateBaseBackendTypeEnum

type ApiCreateBaseContentType added in v0.0.76

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

func (ApiCreateBaseContentType) MarshalJSON added in v0.0.76

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

func (*ApiCreateBaseContentType) UnmarshalJSON added in v0.0.76

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

func (ApiCreateBaseContentType) Value added in v0.0.90

func (c ApiCreateBaseContentType) Value() string

type ApiCreateBaseContentTypeEnum added in v0.0.76

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

func GetApiCreateBaseContentTypeEnum added in v0.0.76

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

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

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

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

func (c ApiCreateBaseType) Value() int32

type ApiCreateBaseTypeEnum

type ApiCreateBaseTypeEnum struct {
	E_1 ApiCreateBaseType
	E_2 ApiCreateBaseType
}

func GetApiCreateBaseTypeEnum

func GetApiCreateBaseTypeEnum() ApiCreateBaseTypeEnum

type ApiCreateContentType added in v0.0.76

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

func (ApiCreateContentType) MarshalJSON added in v0.0.76

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

func (*ApiCreateContentType) UnmarshalJSON added in v0.0.76

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

func (ApiCreateContentType) Value added in v0.0.90

func (c ApiCreateContentType) Value() string

type ApiCreateContentTypeEnum added in v0.0.76

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

func GetApiCreateContentTypeEnum added in v0.0.76

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

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

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

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

func (c ApiCreateType) Value() int32

type ApiCreateTypeEnum

type ApiCreateTypeEnum struct {
	E_1 ApiCreateType
	E_2 ApiCreateType
}

func GetApiCreateTypeEnum

func GetApiCreateTypeEnum() ApiCreateTypeEnum

type ApiDebugInfo added in v0.0.69

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

func (o ApiDebugInfo) String() string

type ApiDebugInfoMethod added in v0.0.69

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

func (ApiDebugInfoMethod) MarshalJSON added in v0.0.69

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

func (*ApiDebugInfoMethod) UnmarshalJSON added in v0.0.69

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

func (ApiDebugInfoMethod) Value added in v0.0.90

func (c ApiDebugInfoMethod) Value() string

type ApiDebugInfoMethodEnum added in v0.0.69

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

func GetApiDebugInfoMethodEnum added in v0.0.69

func GetApiDebugInfoMethodEnum() ApiDebugInfoMethodEnum

type ApiForSign added in v0.0.69

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

func (o ApiForSign) String() string

type ApiForThrottle added in v0.0.69

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

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

函数工作流后端详情

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

函数后端详情

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

type ApiFuncCreateInvocationTypeEnum

type ApiFuncCreateInvocationTypeEnum struct {
	ASYNC ApiFuncCreateInvocationType
	SYNC  ApiFuncCreateInvocationType
}

func GetApiFuncCreateInvocationTypeEnum

func GetApiFuncCreateInvocationTypeEnum() ApiFuncCreateInvocationTypeEnum

type ApiFuncCreateNetworkType added in v0.1.3

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

func (ApiFuncCreateNetworkType) MarshalJSON added in v0.1.3

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

func (*ApiFuncCreateNetworkType) UnmarshalJSON added in v0.1.3

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

func (ApiFuncCreateNetworkType) Value added in v0.1.3

func (c ApiFuncCreateNetworkType) Value() string

type ApiFuncCreateNetworkTypeEnum added in v0.1.3

type ApiFuncCreateNetworkTypeEnum struct {
	V1 ApiFuncCreateNetworkType
	V2 ApiFuncCreateNetworkType
}

func GetApiFuncCreateNetworkTypeEnum added in v0.1.3

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

func (c ApiFuncInvocationType) Value() string

type ApiFuncInvocationTypeEnum

type ApiFuncInvocationTypeEnum struct {
	ASYNC ApiFuncInvocationType
	SYNC  ApiFuncInvocationType
}

func GetApiFuncInvocationTypeEnum

func GetApiFuncInvocationTypeEnum() ApiFuncInvocationTypeEnum

type ApiFuncNetworkType added in v0.1.3

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

func (ApiFuncNetworkType) MarshalJSON added in v0.1.3

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

func (*ApiFuncNetworkType) UnmarshalJSON added in v0.1.3

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

func (ApiFuncNetworkType) Value added in v0.1.3

func (c ApiFuncNetworkType) Value() string

type ApiFuncNetworkTypeEnum added in v0.1.3

type ApiFuncNetworkTypeEnum struct {
	V1 ApiFuncNetworkType
	V2 ApiFuncNetworkType
}

func GetApiFuncNetworkTypeEnum added in v0.1.3

func GetApiFuncNetworkTypeEnum() ApiFuncNetworkTypeEnum

type ApiGroupBase added in v0.0.69

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

func (o ApiGroupBase) String() string

type ApiGroupCommonInfo added in v0.0.69

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:审核中
	OnSellStatus int32 `json:"on_sell_status"`

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

func (ApiGroupCommonInfo) String added in v0.0.69

func (o ApiGroupCommonInfo) String() string

type ApiGroupCommonInfoStatus added in v0.0.69

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

func (ApiGroupCommonInfoStatus) MarshalJSON added in v0.0.69

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

func (*ApiGroupCommonInfoStatus) UnmarshalJSON added in v0.0.69

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

func (ApiGroupCommonInfoStatus) Value added in v0.0.90

func (c ApiGroupCommonInfoStatus) Value() int32

type ApiGroupCommonInfoStatusEnum added in v0.0.69

type ApiGroupCommonInfoStatusEnum struct {
	E_1 ApiGroupCommonInfoStatus
}

func GetApiGroupCommonInfoStatusEnum added in v0.0.69

func GetApiGroupCommonInfoStatusEnum() ApiGroupCommonInfoStatusEnum

type ApiGroupCreate added in v0.0.69

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

func (o ApiGroupCreate) String() string

type ApiGroupInfo added in v0.0.89

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:审核中
	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 added in v0.0.89

func (o ApiGroupInfo) String() string

type ApiGroupInfoStatus added in v0.0.89

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

func (ApiGroupInfoStatus) MarshalJSON added in v0.0.89

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

func (*ApiGroupInfoStatus) UnmarshalJSON added in v0.0.89

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

func (ApiGroupInfoStatus) Value added in v0.0.90

func (c ApiGroupInfoStatus) Value() int32

type ApiGroupInfoStatusEnum added in v0.0.89

type ApiGroupInfoStatusEnum struct {
	E_1 ApiGroupInfoStatus
}

func GetApiGroupInfoStatusEnum added in v0.0.89

func GetApiGroupInfoStatusEnum() ApiGroupInfoStatusEnum

type ApiInfo added in v0.0.65

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.65

func (o ApiInfo) String() string

type ApiInfoAuthType added in v0.0.65

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

func (ApiInfoAuthType) MarshalJSON added in v0.0.65

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

func (*ApiInfoAuthType) UnmarshalJSON added in v0.0.65

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

func (ApiInfoAuthType) Value added in v0.0.90

func (c ApiInfoAuthType) Value() string

type ApiInfoAuthTypeEnum added in v0.0.65

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

func GetApiInfoAuthTypeEnum added in v0.0.65

func GetApiInfoAuthTypeEnum() ApiInfoAuthTypeEnum

type ApiInfoBackendType added in v0.0.65

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

func (ApiInfoBackendType) MarshalJSON added in v0.0.65

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

func (*ApiInfoBackendType) UnmarshalJSON added in v0.0.65

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

func (ApiInfoBackendType) Value added in v0.0.90

func (c ApiInfoBackendType) Value() string

type ApiInfoBackendTypeEnum added in v0.0.65

type ApiInfoBackendTypeEnum struct {
	HTTP     ApiInfoBackendType
	FUNCTION ApiInfoBackendType
	MOCK     ApiInfoBackendType
}

func GetApiInfoBackendTypeEnum added in v0.0.65

func GetApiInfoBackendTypeEnum() ApiInfoBackendTypeEnum

type ApiInfoContentType added in v0.0.76

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

func (ApiInfoContentType) MarshalJSON added in v0.0.76

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

func (*ApiInfoContentType) UnmarshalJSON added in v0.0.76

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

func (ApiInfoContentType) Value added in v0.0.90

func (c ApiInfoContentType) Value() string

type ApiInfoContentTypeEnum added in v0.0.76

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

func GetApiInfoContentTypeEnum added in v0.0.76

func GetApiInfoContentTypeEnum() ApiInfoContentTypeEnum

type ApiInfoMatchMode added in v0.0.65

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

func (ApiInfoMatchMode) MarshalJSON added in v0.0.65

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

func (*ApiInfoMatchMode) UnmarshalJSON added in v0.0.65

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

func (ApiInfoMatchMode) Value added in v0.0.90

func (c ApiInfoMatchMode) Value() string

type ApiInfoMatchModeEnum added in v0.0.65

type ApiInfoMatchModeEnum struct {
	SWA    ApiInfoMatchMode
	NORMAL ApiInfoMatchMode
}

func GetApiInfoMatchModeEnum added in v0.0.65

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.90

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

type ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageBackendTypeEnum struct {
	HTTP     ApiInfoPerPageBackendType
	FUNCTION ApiInfoPerPageBackendType
	MOCK     ApiInfoPerPageBackendType
}

func GetApiInfoPerPageBackendTypeEnum

func GetApiInfoPerPageBackendTypeEnum() ApiInfoPerPageBackendTypeEnum

type ApiInfoPerPageContentType added in v0.0.76

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

func (ApiInfoPerPageContentType) MarshalJSON added in v0.0.76

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

func (*ApiInfoPerPageContentType) UnmarshalJSON added in v0.0.76

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

func (ApiInfoPerPageContentType) Value added in v0.0.90

type ApiInfoPerPageContentTypeEnum added in v0.0.76

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

func GetApiInfoPerPageContentTypeEnum added in v0.0.76

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

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

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

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

func (c ApiInfoPerPageType) Value() int32

type ApiInfoPerPageTypeEnum

type ApiInfoPerPageTypeEnum struct {
	E_1 ApiInfoPerPageType
	E_2 ApiInfoPerPageType
}

func GetApiInfoPerPageTypeEnum

func GetApiInfoPerPageTypeEnum() ApiInfoPerPageTypeEnum

type ApiInfoReqMethod added in v0.0.65

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

func (ApiInfoReqMethod) MarshalJSON added in v0.0.65

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

func (*ApiInfoReqMethod) UnmarshalJSON added in v0.0.65

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

func (ApiInfoReqMethod) Value added in v0.0.90

func (c ApiInfoReqMethod) Value() string

type ApiInfoReqMethodEnum added in v0.0.65

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

func GetApiInfoReqMethodEnum added in v0.0.65

func GetApiInfoReqMethodEnum() ApiInfoReqMethodEnum

type ApiInfoReqProtocol added in v0.0.65

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

func (ApiInfoReqProtocol) MarshalJSON added in v0.0.65

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

func (*ApiInfoReqProtocol) UnmarshalJSON added in v0.0.65

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

func (ApiInfoReqProtocol) Value added in v0.0.90

func (c ApiInfoReqProtocol) Value() string

type ApiInfoReqProtocolEnum added in v0.0.65

type ApiInfoReqProtocolEnum struct {
	HTTP  ApiInfoReqProtocol
	HTTPS ApiInfoReqProtocol
	BOTH  ApiInfoReqProtocol
}

func GetApiInfoReqProtocolEnum added in v0.0.65

func GetApiInfoReqProtocolEnum() ApiInfoReqProtocolEnum

type ApiInfoType added in v0.0.69

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

func (ApiInfoType) MarshalJSON added in v0.0.69

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

func (*ApiInfoType) UnmarshalJSON added in v0.0.69

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

func (ApiInfoType) Value added in v0.0.90

func (c ApiInfoType) Value() int32

type ApiInfoTypeEnum added in v0.0.69

type ApiInfoTypeEnum struct {
	E_1 ApiInfoType
	E_2 ApiInfoType
}

func GetApiInfoTypeEnum added in v0.0.69

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

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

mock后端详情

func (ApiMockCreate) String

func (o ApiMockCreate) String() string

type ApiOutline added in v0.0.69

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

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

type ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionBaseInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionBaseInvocationType
	SYNC  ApiPolicyFunctionBaseInvocationType
}

func GetApiPolicyFunctionBaseInvocationTypeEnum

func GetApiPolicyFunctionBaseInvocationTypeEnum() ApiPolicyFunctionBaseInvocationTypeEnum

type ApiPolicyFunctionBaseNetworkType added in v0.1.3

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

func (ApiPolicyFunctionBaseNetworkType) MarshalJSON added in v0.1.3

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

func (*ApiPolicyFunctionBaseNetworkType) UnmarshalJSON added in v0.1.3

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

func (ApiPolicyFunctionBaseNetworkType) Value added in v0.1.3

type ApiPolicyFunctionBaseNetworkTypeEnum added in v0.1.3

type ApiPolicyFunctionBaseNetworkTypeEnum struct {
	V1 ApiPolicyFunctionBaseNetworkType
	V2 ApiPolicyFunctionBaseNetworkType
}

func GetApiPolicyFunctionBaseNetworkTypeEnum added in v0.1.3

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

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

type ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionCreateInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionCreateInvocationType
	SYNC  ApiPolicyFunctionCreateInvocationType
}

func GetApiPolicyFunctionCreateInvocationTypeEnum

func GetApiPolicyFunctionCreateInvocationTypeEnum() ApiPolicyFunctionCreateInvocationTypeEnum

type ApiPolicyFunctionCreateNetworkType added in v0.1.3

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

func (ApiPolicyFunctionCreateNetworkType) MarshalJSON added in v0.1.3

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

func (*ApiPolicyFunctionCreateNetworkType) UnmarshalJSON added in v0.1.3

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

func (ApiPolicyFunctionCreateNetworkType) Value added in v0.1.3

type ApiPolicyFunctionCreateNetworkTypeEnum added in v0.1.3

type ApiPolicyFunctionCreateNetworkTypeEnum struct {
	V1 ApiPolicyFunctionCreateNetworkType
	V2 ApiPolicyFunctionCreateNetworkType
}

func GetApiPolicyFunctionCreateNetworkTypeEnum added in v0.1.3

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

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

type ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyFunctionRespInvocationTypeEnum struct {
	ASYNC ApiPolicyFunctionRespInvocationType
	SYNC  ApiPolicyFunctionRespInvocationType
}

func GetApiPolicyFunctionRespInvocationTypeEnum

func GetApiPolicyFunctionRespInvocationTypeEnum() ApiPolicyFunctionRespInvocationTypeEnum

type ApiPolicyFunctionRespNetworkType added in v0.1.3

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

func (ApiPolicyFunctionRespNetworkType) MarshalJSON added in v0.1.3

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

func (*ApiPolicyFunctionRespNetworkType) UnmarshalJSON added in v0.1.3

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

func (ApiPolicyFunctionRespNetworkType) Value added in v0.1.3

type ApiPolicyFunctionRespNetworkTypeEnum added in v0.1.3

type ApiPolicyFunctionRespNetworkTypeEnum struct {
	V1 ApiPolicyFunctionRespNetworkType
	V2 ApiPolicyFunctionRespNetworkType
}

func GetApiPolicyFunctionRespNetworkTypeEnum added in v0.1.3

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

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

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

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

	// 关联的策略组合模式: - 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 added in v0.0.90

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

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

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

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

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

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

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

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

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

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

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

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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 added in v0.0.90

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

type ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoBackendTypeEnum struct {
	HTTP     ApiRespBaseInfoBackendType
	FUNCTION ApiRespBaseInfoBackendType
	MOCK     ApiRespBaseInfoBackendType
}

func GetApiRespBaseInfoBackendTypeEnum

func GetApiRespBaseInfoBackendTypeEnum() ApiRespBaseInfoBackendTypeEnum

type ApiRespBaseInfoContentType added in v0.0.76

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

func (ApiRespBaseInfoContentType) MarshalJSON added in v0.0.76

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

func (*ApiRespBaseInfoContentType) UnmarshalJSON added in v0.0.76

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

func (ApiRespBaseInfoContentType) Value added in v0.0.90

type ApiRespBaseInfoContentTypeEnum added in v0.0.76

type ApiRespBaseInfoContentTypeEnum struct {
	APPLICATION_JSON    ApiRespBaseInfoContentType
	APPLICATION_XML     ApiRespBaseInfoContentType
	MULTIPART_FORM_DATE ApiRespBaseInfoContentType
	TEXT_PLAIN          ApiRespBaseInfoContentType
}

func GetApiRespBaseInfoContentTypeEnum added in v0.0.76

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

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

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

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

func (c ApiRespBaseInfoType) Value() int32

type ApiRespBaseInfoTypeEnum

type ApiRespBaseInfoTypeEnum struct {
	E_1 ApiRespBaseInfoType
	E_2 ApiRespBaseInfoType
}

func GetApiRespBaseInfoTypeEnum

func GetApiRespBaseInfoTypeEnum() ApiRespBaseInfoTypeEnum

type ApiVersion added in v0.0.69

type ApiVersion struct {

	// API版本的编号
	VersionId *string `json:"version_id,omitempty"`
}

func (ApiVersion) String added in v0.0.69

func (o ApiVersion) String() string

type ApiVersionResp added in v0.0.65

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

func (o ApiVersionResp) String() string

type ApiVersionRespStatus added in v0.0.69

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

func (ApiVersionRespStatus) MarshalJSON added in v0.0.69

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

func (*ApiVersionRespStatus) UnmarshalJSON added in v0.0.69

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

func (ApiVersionRespStatus) Value added in v0.0.90

func (c ApiVersionRespStatus) Value() int32

type ApiVersionRespStatusEnum added in v0.0.69

type ApiVersionRespStatusEnum struct {
	E_1 ApiVersionRespStatus
	E_2 ApiVersionRespStatus
}

func GetApiVersionRespStatusEnum added in v0.0.69

func GetApiVersionRespStatusEnum() ApiVersionRespStatusEnum

type AppBaseInfo added in v0.0.69

type AppBaseInfo struct {

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

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

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

func (AppBaseInfo) String added in v0.0.69

func (o AppBaseInfo) String() string

type AppCodeBaseInfo added in v0.0.65

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

func (o AppCodeBaseInfo) String() string

type AppCodeCreate added in v0.0.65

type AppCodeCreate struct {

	// App Code值  支持英文,+_!@#$%+/=,且只能以英文和+、/开头,64-180个字符。
	AppCode string `json:"app_code"`
}

func (AppCodeCreate) String added in v0.0.65

func (o AppCodeCreate) String() string

type AppCreate added in v0.0.69

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

func (o AppCreate) String() string

type AppInfo added in v0.0.69

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

func (o AppInfo) String() string

type AppInfoAppType added in v0.0.69

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

func (AppInfoAppType) MarshalJSON added in v0.0.69

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

func (*AppInfoAppType) UnmarshalJSON added in v0.0.69

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

func (AppInfoAppType) Value added in v0.0.90

func (c AppInfoAppType) Value() string

type AppInfoAppTypeEnum added in v0.0.69

type AppInfoAppTypeEnum struct {
	APIG AppInfoAppType
	ROMA AppInfoAppType
}

func GetAppInfoAppTypeEnum added in v0.0.69

func GetAppInfoAppTypeEnum() AppInfoAppTypeEnum

type AppInfoCreator added in v0.0.69

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

func (AppInfoCreator) MarshalJSON added in v0.0.69

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

func (*AppInfoCreator) UnmarshalJSON added in v0.0.69

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

func (AppInfoCreator) Value added in v0.0.90

func (c AppInfoCreator) Value() string

type AppInfoCreatorEnum added in v0.0.69

type AppInfoCreatorEnum struct {
	USER   AppInfoCreator
	MARKET AppInfoCreator
}

func GetAppInfoCreatorEnum added in v0.0.69

func GetAppInfoCreatorEnum() AppInfoCreatorEnum

type AppInfoStatus added in v0.0.69

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

func (AppInfoStatus) MarshalJSON added in v0.0.69

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

func (*AppInfoStatus) UnmarshalJSON added in v0.0.69

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

func (AppInfoStatus) Value added in v0.0.90

func (c AppInfoStatus) Value() int32

type AppInfoStatusEnum added in v0.0.69

type AppInfoStatusEnum struct {
	E_1 AppInfoStatus
}

func GetAppInfoStatusEnum added in v0.0.69

func GetAppInfoStatusEnum() AppInfoStatusEnum

type AppInfoWithBindNum added in v0.0.69

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

func (o AppInfoWithBindNum) String() string

type AppInfoWithBindNumAppType added in v0.0.69

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

func (AppInfoWithBindNumAppType) MarshalJSON added in v0.0.69

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

func (*AppInfoWithBindNumAppType) UnmarshalJSON added in v0.0.69

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

func (AppInfoWithBindNumAppType) Value added in v0.0.90

type AppInfoWithBindNumAppTypeEnum added in v0.0.69

type AppInfoWithBindNumAppTypeEnum struct {
	APIG AppInfoWithBindNumAppType
	ROMA AppInfoWithBindNumAppType
}

func GetAppInfoWithBindNumAppTypeEnum added in v0.0.69

func GetAppInfoWithBindNumAppTypeEnum() AppInfoWithBindNumAppTypeEnum

type AppInfoWithBindNumCreator added in v0.0.69

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

func (AppInfoWithBindNumCreator) MarshalJSON added in v0.0.69

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

func (*AppInfoWithBindNumCreator) UnmarshalJSON added in v0.0.69

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

func (AppInfoWithBindNumCreator) Value added in v0.0.90

type AppInfoWithBindNumCreatorEnum added in v0.0.69

type AppInfoWithBindNumCreatorEnum struct {
	USER   AppInfoWithBindNumCreator
	MARKET AppInfoWithBindNumCreator
}

func GetAppInfoWithBindNumCreatorEnum added in v0.0.69

func GetAppInfoWithBindNumCreatorEnum() AppInfoWithBindNumCreatorEnum

type AppInfoWithBindNumStatus added in v0.0.69

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

func (AppInfoWithBindNumStatus) MarshalJSON added in v0.0.69

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

func (*AppInfoWithBindNumStatus) UnmarshalJSON added in v0.0.69

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

func (AppInfoWithBindNumStatus) Value added in v0.0.90

func (c AppInfoWithBindNumStatus) Value() int32

type AppInfoWithBindNumStatusEnum added in v0.0.69

type AppInfoWithBindNumStatusEnum struct {
	E_1 AppInfoWithBindNumStatus
}

func GetAppInfoWithBindNumStatusEnum added in v0.0.69

func GetAppInfoWithBindNumStatusEnum() AppInfoWithBindNumStatusEnum

type AppResetCreate added in v0.0.69

type AppResetCreate struct {

	// 密钥支持英文,数字,“_”,“-”,“!”,“@”,“#”,“$”,“%”,且只能以英文或数字开头,8 ~ 64个字符。用户自定义APP的密钥需要开启配额开关
	AppSecret *string `json:"app_secret,omitempty"`
}

func (AppResetCreate) String added in v0.0.69

func (o AppResetCreate) String() string

type AssociateCertificateV2Request

type AssociateCertificateV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 域名的编号
	DomainId string `json:"domain_id"`

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

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

	// 证书的名称
	SslName string `json:"ssl_name"`

	// 证书的编号
	SslId          string `json:"ssl_id"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (AssociateCertificateV2Response) String

type AssociateCertificateV2ResponseStatus added in v0.0.49

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

func (AssociateCertificateV2ResponseStatus) MarshalJSON added in v0.0.49

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

func (*AssociateCertificateV2ResponseStatus) UnmarshalJSON added in v0.0.49

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

func (AssociateCertificateV2ResponseStatus) Value added in v0.0.90

type AssociateDomainV2Request

type AssociateDomainV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

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

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

type AssociateRequestThrottlingPolicyV2Request

type AssociateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (AssociateRequestThrottlingPolicyV2Request) String

type AssociateRequestThrottlingPolicyV2Response

type AssociateRequestThrottlingPolicyV2Response struct {

	// API与流控策略的绑定关系列表
	ThrottleApplys *[]ThrottleApiBinding `json:"throttle_applys,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (AssociateRequestThrottlingPolicyV2Response) String

type AssociateSignatureKeyV2Request

type AssociateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (AssociateSignatureKeyV2Request) String

type AssociateSignatureKeyV2Response

type AssociateSignatureKeyV2Response struct {

	// API与签名密钥的绑定关系列表
	Bindings       *[]SignApiBindingInfo `json:"bindings,omitempty"`
	HttpStatusCode int                   `json:"-"`
}

Response Object

func (AssociateSignatureKeyV2Response) String

type AttachOrDetachCertsReqBody added in v0.1.7

type AttachOrDetachCertsReqBody struct {

	// 证书的id集合
	CertificateIds []string `json:"certificate_ids"`
}

域名绑定和解绑证书的请求体

func (AttachOrDetachCertsReqBody) String added in v0.1.7

type AttachOrDetachDomainInfo added in v0.1.7

type AttachOrDetachDomainInfo struct {

	// 域名
	Domain string `json:"domain"`

	// 实例ID集合
	InstanceIds *[]string `json:"instance_ids,omitempty"`
}

证书绑定或解绑域名信息。如果填了instance_id则只操作该实例下指定域名;如果不填instance_id则操作全局指定域名。

func (AttachOrDetachDomainInfo) String added in v0.1.7

func (o AttachOrDetachDomainInfo) String() string

type AttachOrDetachDomainsReqBody added in v0.1.7

type AttachOrDetachDomainsReqBody struct {

	// 证书绑定或解绑域名列表
	Domains []AttachOrDetachDomainInfo `json:"domains"`
}

证书批量绑定或解绑域名请求体

func (AttachOrDetachDomainsReqBody) String added in v0.1.7

type AuthOpt

type AuthOpt struct {

	// AppCode简易认证类型,仅在auth_type为APP时生效,默认为DISABLE: - DISABLE:不开启简易认证 - HEADER:开启简易认证且AppCode位置在HEADER
	AppCodeAuthType *AuthOptAppCodeAuthType `json:"app_code_auth_type,omitempty"`
}

认证方式参数

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

func (c AuthOptAppCodeAuthType) Value() string

type AuthOptAppCodeAuthTypeEnum

type AuthOptAppCodeAuthTypeEnum struct {
	DISABLE AuthOptAppCodeAuthType
	HEADER  AuthOptAppCodeAuthType
}

func GetAuthOptAppCodeAuthTypeEnum

func GetAuthOptAppCodeAuthTypeEnum() AuthOptAppCodeAuthTypeEnum

type AuthResult added in v0.0.69

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

授权结果

func (AuthResult) String added in v0.0.69

func (o AuthResult) String() string

type AuthResultStatus added in v0.0.69

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

func (AuthResultStatus) MarshalJSON added in v0.0.69

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

func (*AuthResultStatus) UnmarshalJSON added in v0.0.69

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

func (AuthResultStatus) Value added in v0.0.90

func (c AuthResultStatus) Value() string

type AuthResultStatusEnum added in v0.0.69

type AuthResultStatusEnum struct {
	SUCCESS AuthResultStatus
	SKIPPED AuthResultStatus
	FAILED  AuthResultStatus
}

func GetAuthResultStatusEnum added in v0.0.69

func GetAuthResultStatusEnum() AuthResultStatusEnum

type AuthorizerBase added in v0.0.65

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

func (o AuthorizerBase) String() string

type AuthorizerBaseAuthorizerType added in v0.0.65

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

func (AuthorizerBaseAuthorizerType) MarshalJSON added in v0.0.65

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

func (*AuthorizerBaseAuthorizerType) UnmarshalJSON added in v0.0.65

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

func (AuthorizerBaseAuthorizerType) Value added in v0.0.90

type AuthorizerBaseAuthorizerTypeEnum added in v0.0.65

type AuthorizerBaseAuthorizerTypeEnum struct {
	FUNC AuthorizerBaseAuthorizerType
}

func GetAuthorizerBaseAuthorizerTypeEnum added in v0.0.65

func GetAuthorizerBaseAuthorizerTypeEnum() AuthorizerBaseAuthorizerTypeEnum

type AuthorizerBaseType added in v0.0.65

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

func (AuthorizerBaseType) MarshalJSON added in v0.0.65

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

func (*AuthorizerBaseType) UnmarshalJSON added in v0.0.65

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

func (AuthorizerBaseType) Value added in v0.0.90

func (c AuthorizerBaseType) Value() string

type AuthorizerBaseTypeEnum added in v0.0.65

type AuthorizerBaseTypeEnum struct {
	FRONTEND AuthorizerBaseType
	BACKEND  AuthorizerBaseType
}

func GetAuthorizerBaseTypeEnum added in v0.0.65

func GetAuthorizerBaseTypeEnum() AuthorizerBaseTypeEnum

type AuthorizerCreate added in v0.0.65

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

func (o AuthorizerCreate) String() string

type AuthorizerCreateAuthorizerType added in v0.0.65

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

func (AuthorizerCreateAuthorizerType) MarshalJSON added in v0.0.65

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

func (*AuthorizerCreateAuthorizerType) UnmarshalJSON added in v0.0.65

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

func (AuthorizerCreateAuthorizerType) Value added in v0.0.90

type AuthorizerCreateAuthorizerTypeEnum added in v0.0.65

type AuthorizerCreateAuthorizerTypeEnum struct {
	FUNC AuthorizerCreateAuthorizerType
}

func GetAuthorizerCreateAuthorizerTypeEnum added in v0.0.65

func GetAuthorizerCreateAuthorizerTypeEnum() AuthorizerCreateAuthorizerTypeEnum

type AuthorizerCreateType added in v0.0.65

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

func (AuthorizerCreateType) MarshalJSON added in v0.0.65

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

func (*AuthorizerCreateType) UnmarshalJSON added in v0.0.65

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

func (AuthorizerCreateType) Value added in v0.0.90

func (c AuthorizerCreateType) Value() string

type AuthorizerCreateTypeEnum added in v0.0.65

type AuthorizerCreateTypeEnum struct {
	FRONTEND AuthorizerCreateType
	BACKEND  AuthorizerCreateType
}

func GetAuthorizerCreateTypeEnum added in v0.0.65

func GetAuthorizerCreateTypeEnum() AuthorizerCreateTypeEnum

type AuthorizerResp added in v0.0.65

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

func (o AuthorizerResp) String() string

type AuthorizerRespAuthorizerType added in v0.0.65

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

func (AuthorizerRespAuthorizerType) MarshalJSON added in v0.0.65

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

func (*AuthorizerRespAuthorizerType) UnmarshalJSON added in v0.0.65

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

func (AuthorizerRespAuthorizerType) Value added in v0.0.90

type AuthorizerRespAuthorizerTypeEnum added in v0.0.65

type AuthorizerRespAuthorizerTypeEnum struct {
	FUNC AuthorizerRespAuthorizerType
}

func GetAuthorizerRespAuthorizerTypeEnum added in v0.0.65

func GetAuthorizerRespAuthorizerTypeEnum() AuthorizerRespAuthorizerTypeEnum

type AuthorizerRespType added in v0.0.65

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

func (AuthorizerRespType) MarshalJSON added in v0.0.65

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

func (*AuthorizerRespType) UnmarshalJSON added in v0.0.65

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

func (AuthorizerRespType) Value added in v0.0.90

func (c AuthorizerRespType) Value() string

type AuthorizerRespTypeEnum added in v0.0.65

type AuthorizerRespTypeEnum struct {
	FRONTEND AuthorizerRespType
	BACKEND  AuthorizerRespType
}

func GetAuthorizerRespTypeEnum added in v0.0.65

func GetAuthorizerRespTypeEnum() AuthorizerRespTypeEnum

type AvailableZone added in v0.0.65

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

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

	// 编号
	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"`
}

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

	// 编号
	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"`
}

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

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

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

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

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

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

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

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

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

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

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

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

func (c BackendApiReqProtocol) Value() string

type BackendApiReqProtocolEnum

type BackendApiReqProtocolEnum struct {
	HTTP  BackendApiReqProtocol
	HTTPS BackendApiReqProtocol
}

func GetBackendApiReqProtocolEnum

func GetBackendApiReqProtocolEnum() BackendApiReqProtocolEnum

type BackendLatencyStats added in v0.0.65

type BackendLatencyStats struct {

	// 最大后端延时
	MaxBackendLatency *int32 `json:"max_backend_latency,omitempty"`

	// 平均后端延时
	AvgBackendLatency *float32 `json:"avg_backend_latency,omitempty"`
}

func (BackendLatencyStats) String added in v0.0.65

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

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

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

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

func (c BackendParamOrigin) Value() string

type BackendParamOriginEnum

type BackendParamOriginEnum struct {
	REQUEST  BackendParamOrigin
	CONSTANT BackendParamOrigin
	SYSTEM   BackendParamOrigin
}

func GetBackendParamOriginEnum

func GetBackendParamOriginEnum() BackendParamOriginEnum

type BasePage added in v0.0.49

type BasePage struct {

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

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

分页基本信息

func (BasePage) String added in v0.0.49

func (o BasePage) String() string

type BaseSignature added in v0.0.69

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

func (o BaseSignature) String() string

type BaseSignatureSignAlgorithm added in v0.0.69

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

func (BaseSignatureSignAlgorithm) MarshalJSON added in v0.0.69

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

func (*BaseSignatureSignAlgorithm) UnmarshalJSON added in v0.0.69

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

func (BaseSignatureSignAlgorithm) Value added in v0.0.90

type BaseSignatureSignAlgorithmEnum added in v0.0.69

type BaseSignatureSignAlgorithmEnum struct {
	AES_128_CFB BaseSignatureSignAlgorithm
	AES_256_CFB BaseSignatureSignAlgorithm
}

func GetBaseSignatureSignAlgorithmEnum added in v0.0.69

func GetBaseSignatureSignAlgorithmEnum() BaseSignatureSignAlgorithmEnum

type BaseSignatureSignType added in v0.0.69

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

func (BaseSignatureSignType) MarshalJSON added in v0.0.69

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

func (*BaseSignatureSignType) UnmarshalJSON added in v0.0.69

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

func (BaseSignatureSignType) Value added in v0.0.90

func (c BaseSignatureSignType) Value() string

type BaseSignatureSignTypeEnum added in v0.0.69

type BaseSignatureSignTypeEnum struct {
	HMAC       BaseSignatureSignType
	BASIC      BaseSignatureSignType
	PUBLIC_KEY BaseSignatureSignType
	AES        BaseSignatureSignType
}

func GetBaseSignatureSignTypeEnum added in v0.0.69

func GetBaseSignatureSignTypeEnum() BaseSignatureSignTypeEnum

type BatchAssociateCertsV2Request added in v0.1.7

type BatchAssociateCertsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 域名的编号
	DomainId string `json:"domain_id"`

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

Request Object

func (BatchAssociateCertsV2Request) String added in v0.1.7

type BatchAssociateCertsV2Response added in v0.1.7

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

Response Object

func (BatchAssociateCertsV2Response) String added in v0.1.7

type BatchAssociateDomainsV2Request added in v0.1.7

type BatchAssociateDomainsV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

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

Request Object

func (BatchAssociateDomainsV2Request) String added in v0.1.7

type BatchAssociateDomainsV2Response added in v0.1.7

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

Response Object

func (BatchAssociateDomainsV2Response) String added in v0.1.7

type BatchDeleteAclV2Request added in v0.0.65

type BatchDeleteAclV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

Request Object

func (BatchDeleteAclV2Request) String added in v0.0.65

func (o BatchDeleteAclV2Request) String() string

type BatchDeleteAclV2Response added in v0.0.65

type BatchDeleteAclV2Response struct {

	// 删除成功的ACL策略数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 删除失败的ACL策略及错误信息
	Failure        *[]AclBatchResultFailureResp `json:"failure,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

Response Object

func (BatchDeleteAclV2Response) String added in v0.0.65

func (o BatchDeleteAclV2Response) String() string

type BatchDeleteApiAclBindingV2Request added in v0.0.65

type BatchDeleteApiAclBindingV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

Request Object

func (BatchDeleteApiAclBindingV2Request) String added in v0.0.65

type BatchDeleteApiAclBindingV2Response added in v0.0.65

type BatchDeleteApiAclBindingV2Response struct {

	// 成功解除绑定的ACL策略数量
	SuccessCount *int32 `json:"success_count,omitempty"`

	// 解除绑定失败的ACL策略及错误信息
	Failure        *[]AclBindingBatchFailure `json:"failure,omitempty"`
	HttpStatusCode int                       `json:"-"`
}

Response Object

func (BatchDeleteApiAclBindingV2Response) String added in v0.0.65

type BatchDisableMembersRequest added in v0.1.7

type BatchDisableMembersRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (BatchDisableMembersRequest) String added in v0.1.7

type BatchDisableMembersResponse added in v0.1.7

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

Response Object

func (BatchDisableMembersResponse) String added in v0.1.7

type BatchDisassociateCertsV2Request added in v0.1.7

type BatchDisassociateCertsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 域名的编号
	DomainId string `json:"domain_id"`

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

Request Object

func (BatchDisassociateCertsV2Request) String added in v0.1.7

type BatchDisassociateCertsV2Response added in v0.1.7

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

Response Object

func (BatchDisassociateCertsV2Response) String added in v0.1.7

type BatchDisassociateDomainsV2Request added in v0.1.7

type BatchDisassociateDomainsV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

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

Request Object

func (BatchDisassociateDomainsV2Request) String added in v0.1.7

type BatchDisassociateDomainsV2Response added in v0.1.7

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

Response Object

func (BatchDisassociateDomainsV2Response) String added in v0.1.7

type BatchDisassociateThrottlingPolicyV2Request

type BatchDisassociateThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 必须为delete
	Action string `json:"action"`

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

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

Response Object

func (BatchDisassociateThrottlingPolicyV2Response) String

type BatchEnableMembersRequest added in v0.1.7

type BatchEnableMembersRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (BatchEnableMembersRequest) String added in v0.1.7

func (o BatchEnableMembersRequest) String() string

type BatchEnableMembersResponse added in v0.1.7

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

Response Object

func (BatchEnableMembersResponse) String added in v0.1.7

type BatchFailure added in v0.0.65

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

func (o BatchFailure) String() string

type BatchPublishOrOfflineApiV2Request added in v0.0.65

type BatchPublishOrOfflineApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// - online:发布 - offline:下线
	Action string `json:"action"`

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

Request Object

func (BatchPublishOrOfflineApiV2Request) String added in v0.0.65

type BatchPublishOrOfflineApiV2Response added in v0.0.65

type BatchPublishOrOfflineApiV2Response struct {

	// 发布或下线成功的信息
	Success *[]PublishResp `json:"success,omitempty"`

	// 发布或下线失败的API及错误信息
	Failure        *[]BatchFailure `json:"failure,omitempty"`
	HttpStatusCode int             `json:"-"`
}

Response Object

func (BatchPublishOrOfflineApiV2Response) String added in v0.0.65

type CancelingAuthorizationV2Request

type CancelingAuthorizationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 授权关系的编号
	AppAuthId string `json:"app_auth_id"`
}

Request Object

func (CancelingAuthorizationV2Request) String

type CancelingAuthorizationV2Response

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

Response Object

func (CancelingAuthorizationV2Response) String

type CertBase added in v0.1.7

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

func (CertBase) String added in v0.1.7

func (o CertBase) String() string

type CertBaseType added in v0.1.7

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

func (CertBaseType) MarshalJSON added in v0.1.7

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

func (*CertBaseType) UnmarshalJSON added in v0.1.7

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

func (CertBaseType) Value added in v0.1.7

func (c CertBaseType) Value() string

type CertBaseTypeEnum added in v0.1.7

type CertBaseTypeEnum struct {
	GLOBAL   CertBaseType
	INSTANCE CertBaseType
}

func GetCertBaseTypeEnum added in v0.1.7

func GetCertBaseTypeEnum() CertBaseTypeEnum

type CertForm added in v0.0.69

type CertForm struct {

	// 证书内容
	CertContent string `json:"cert_content"`

	// 证书名称。长度为4 ~ 50位的字符串,字符串由中文、英文字母、数字、下划线组成,且只能以英文或中文开头。
	Name string `json:"name"`

	// 私钥内容
	PrivateKey string `json:"private_key"`
}

func (CertForm) String added in v0.0.69

func (o CertForm) String() string

type CertificateForm added in v0.1.7

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

添加或编辑证书的请求体表单

func (CertificateForm) String added in v0.1.7

func (o CertificateForm) String() string

type CertificateFormType added in v0.1.7

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

func (CertificateFormType) MarshalJSON added in v0.1.7

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

func (*CertificateFormType) UnmarshalJSON added in v0.1.7

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

func (CertificateFormType) Value added in v0.1.7

func (c CertificateFormType) Value() string

type CertificateFormTypeEnum added in v0.1.7

type CertificateFormTypeEnum struct {
	INSTANCE CertificateFormType
	GLOBAL   CertificateFormType
}

func GetCertificateFormTypeEnum added in v0.1.7

func GetCertificateFormTypeEnum() CertificateFormTypeEnum

type ChangeApiVersionV2Request added in v0.0.65

type ChangeApiVersionV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (ChangeApiVersionV2Request) String added in v0.0.65

func (o ChangeApiVersionV2Request) String() string

type ChangeApiVersionV2Response added in v0.0.65

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

Response Object

func (ChangeApiVersionV2Response) String added in v0.0.65

type CheckAppV2Request

type CheckAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

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

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

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

type CoditionRespConditionTypeEnum

type CoditionRespConditionTypeEnum struct {
	EXACT   CoditionRespConditionType
	ENUM    CoditionRespConditionType
	PATTERN CoditionRespConditionType
}

func GetCoditionRespConditionTypeEnum

func GetCoditionRespConditionTypeEnum() CoditionRespConditionTypeEnum

type Config added in v0.0.65

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

func (o Config) String() string

type ConfigConfigName added in v0.0.65

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

func (ConfigConfigName) MarshalJSON added in v0.0.65

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

func (*ConfigConfigName) UnmarshalJSON added in v0.0.65

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

func (ConfigConfigName) Value added in v0.0.90

func (c ConfigConfigName) Value() string

type ConfigConfigNameEnum added in v0.0.65

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

func GetConfigConfigNameEnum() ConfigConfigNameEnum

type CreateAclStrategyV2Request added in v0.0.65

type CreateAclStrategyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateAclStrategyV2Request) String added in v0.0.65

type CreateAclStrategyV2Response added in v0.0.65

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

Response Object

func (CreateAclStrategyV2Response) String added in v0.0.65

type CreateAnAppV2Request

type CreateAnAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

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

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

type CreateAnAppV2ResponseCreatorEnum

type CreateAnAppV2ResponseCreatorEnum struct {
	USER   CreateAnAppV2ResponseCreator
	MARKET CreateAnAppV2ResponseCreator
}

func GetCreateAnAppV2ResponseCreatorEnum

func GetCreateAnAppV2ResponseCreatorEnum() CreateAnAppV2ResponseCreatorEnum

type CreateAnAppV2ResponseStatus added in v0.0.69

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

func (CreateAnAppV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*CreateAnAppV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (CreateAnAppV2ResponseStatus) Value added in v0.0.90

type CreateAnAppV2ResponseStatusEnum added in v0.0.69

type CreateAnAppV2ResponseStatusEnum struct {
	E_1 CreateAnAppV2ResponseStatus
}

func GetCreateAnAppV2ResponseStatusEnum added in v0.0.69

func GetCreateAnAppV2ResponseStatusEnum() CreateAnAppV2ResponseStatusEnum

type CreateApiAclBindingV2Request added in v0.0.65

type CreateApiAclBindingV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateApiAclBindingV2Request) String added in v0.0.65

type CreateApiAclBindingV2Response added in v0.0.65

type CreateApiAclBindingV2Response struct {

	// API与ACL的绑定关系列表
	AclBindings    *[]AclApiBindingInfo `json:"acl_bindings,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

Response Object

func (CreateApiAclBindingV2Response) String added in v0.0.65

type CreateApiGroupV2Request

type CreateApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Response Object

func (CreateApiGroupV2Response) String

func (o CreateApiGroupV2Response) String() string

type CreateApiGroupV2ResponseStatus added in v0.0.69

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

func (CreateApiGroupV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*CreateApiGroupV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (CreateApiGroupV2ResponseStatus) Value added in v0.0.90

type CreateApiGroupV2ResponseStatusEnum added in v0.0.69

type CreateApiGroupV2ResponseStatusEnum struct {
	E_1 CreateApiGroupV2ResponseStatus
}

func GetCreateApiGroupV2ResponseStatusEnum added in v0.0.69

func GetCreateApiGroupV2ResponseStatusEnum() CreateApiGroupV2ResponseStatusEnum

type CreateApiV2Request

type CreateApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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:"-"`
}

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

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

type CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseBackendTypeEnum struct {
	HTTP     CreateApiV2ResponseBackendType
	FUNCTION CreateApiV2ResponseBackendType
	MOCK     CreateApiV2ResponseBackendType
}

func GetCreateApiV2ResponseBackendTypeEnum

func GetCreateApiV2ResponseBackendTypeEnum() CreateApiV2ResponseBackendTypeEnum

type CreateApiV2ResponseContentType added in v0.0.76

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

func (CreateApiV2ResponseContentType) MarshalJSON added in v0.0.76

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

func (*CreateApiV2ResponseContentType) UnmarshalJSON added in v0.0.76

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

func (CreateApiV2ResponseContentType) Value added in v0.0.90

type CreateApiV2ResponseContentTypeEnum added in v0.0.76

type CreateApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    CreateApiV2ResponseContentType
	APPLICATION_XML     CreateApiV2ResponseContentType
	MULTIPART_FORM_DATE CreateApiV2ResponseContentType
	TEXT_PLAIN          CreateApiV2ResponseContentType
}

func GetCreateApiV2ResponseContentTypeEnum added in v0.0.76

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

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

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

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

func (c CreateApiV2ResponseType) Value() int32

type CreateApiV2ResponseTypeEnum

type CreateApiV2ResponseTypeEnum struct {
	E_1 CreateApiV2ResponseType
	E_2 CreateApiV2ResponseType
}

func GetCreateApiV2ResponseTypeEnum

func GetCreateApiV2ResponseTypeEnum() CreateApiV2ResponseTypeEnum

type CreateAppCodeAutoV2Request added in v0.0.65

type CreateAppCodeAutoV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

Request Object

func (CreateAppCodeAutoV2Request) String added in v0.0.65

type CreateAppCodeAutoV2Response added in v0.0.65

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

Response Object

func (CreateAppCodeAutoV2Response) String added in v0.0.65

type CreateAppCodeV2Request added in v0.0.65

type CreateAppCodeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

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

Request Object

func (CreateAppCodeV2Request) String added in v0.0.65

func (o CreateAppCodeV2Request) String() string

type CreateAppCodeV2Response added in v0.0.65

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

Response Object

func (CreateAppCodeV2Response) String added in v0.0.65

func (o CreateAppCodeV2Response) String() string

type CreateAuthorizingAppsV2Request

type CreateAuthorizingAppsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateAuthorizingAppsV2Request) String

type CreateAuthorizingAppsV2Response

type CreateAuthorizingAppsV2Response struct {

	// API与APP的授权关系列表
	Auths          *[]ApiAuthRelations `json:"auths,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (CreateAuthorizingAppsV2Response) String

type CreateCertificateV2Request added in v0.1.7

type CreateCertificateV2Request struct {
	Body *CertificateForm `json:"body,omitempty"`
}

Request Object

func (CreateCertificateV2Request) String added in v0.1.7

type CreateCertificateV2Response added in v0.1.7

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

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

Response Object

func (CreateCertificateV2Response) String added in v0.1.7

type CreateCertificateV2ResponseType added in v0.1.7

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

func (CreateCertificateV2ResponseType) MarshalJSON added in v0.1.7

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

func (*CreateCertificateV2ResponseType) UnmarshalJSON added in v0.1.7

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

func (CreateCertificateV2ResponseType) Value added in v0.1.7

type CreateCertificateV2ResponseTypeEnum added in v0.1.7

type CreateCertificateV2ResponseTypeEnum struct {
	GLOBAL   CreateCertificateV2ResponseType
	INSTANCE CreateCertificateV2ResponseType
}

func GetCreateCertificateV2ResponseTypeEnum added in v0.1.7

func GetCreateCertificateV2ResponseTypeEnum() CreateCertificateV2ResponseTypeEnum

type CreateCustomAuthorizerV2Request added in v0.0.65

type CreateCustomAuthorizerV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateCustomAuthorizerV2Request) String added in v0.0.65

type CreateCustomAuthorizerV2Response added in v0.0.65

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

Response Object

func (CreateCustomAuthorizerV2Response) String added in v0.0.65

type CreateCustomAuthorizerV2ResponseAuthorizerType added in v0.0.65

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

func (CreateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON added in v0.0.65

func (*CreateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON added in v0.0.65

func (CreateCustomAuthorizerV2ResponseAuthorizerType) Value added in v0.0.90

type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum added in v0.0.65

type CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct {
	FUNC CreateCustomAuthorizerV2ResponseAuthorizerType
}

func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum added in v0.0.65

func GetCreateCustomAuthorizerV2ResponseAuthorizerTypeEnum() CreateCustomAuthorizerV2ResponseAuthorizerTypeEnum

type CreateCustomAuthorizerV2ResponseType added in v0.0.65

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

func (CreateCustomAuthorizerV2ResponseType) MarshalJSON added in v0.0.65

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

func (*CreateCustomAuthorizerV2ResponseType) UnmarshalJSON added in v0.0.65

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

func (CreateCustomAuthorizerV2ResponseType) Value added in v0.0.90

type CreateCustomAuthorizerV2ResponseTypeEnum added in v0.0.65

type CreateCustomAuthorizerV2ResponseTypeEnum struct {
	FRONTEND CreateCustomAuthorizerV2ResponseType
	BACKEND  CreateCustomAuthorizerV2ResponseType
}

func GetCreateCustomAuthorizerV2ResponseTypeEnum added in v0.0.65

func GetCreateCustomAuthorizerV2ResponseTypeEnum() CreateCustomAuthorizerV2ResponseTypeEnum

type CreateEnvironmentV2Request

type CreateEnvironmentV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Response Object

func (CreateEnvironmentV2Response) String

type CreateEnvironmentVariableV2Request

type CreateEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Response Object

func (CreateEnvironmentVariableV2Response) String

type CreateFeatureV2Request added in v0.0.65

type CreateFeatureV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateFeatureV2Request) String added in v0.0.65

func (o CreateFeatureV2Request) String() string

type CreateFeatureV2Response added in v0.0.65

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

Response Object

func (CreateFeatureV2Response) String added in v0.0.65

func (o CreateFeatureV2Response) String() string

type CreateGatewayResponseV2Request added in v0.0.65

type CreateGatewayResponseV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (CreateGatewayResponseV2Request) String added in v0.0.65

type CreateGatewayResponseV2Response added in v0.0.65

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  每项错误类型均为一个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:"-"`
}

Response Object

func (CreateGatewayResponseV2Response) String added in v0.0.65

type CreateInstanceV2Request added in v0.0.65

type CreateInstanceV2Request struct {
	Body *InstanceCreateReq `json:"body,omitempty"`
}

Request Object

func (CreateInstanceV2Request) String added in v0.0.65

func (o CreateInstanceV2Request) String() string

type CreateInstanceV2Response added in v0.0.65

type CreateInstanceV2Response struct {

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

	// 创建实例任务信息
	Message *string `json:"message,omitempty"`

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

Response Object

func (CreateInstanceV2Response) String added in v0.0.65

func (o CreateInstanceV2Response) String() string

type CreateMemberGroupRequest added in v0.1.7

type CreateMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (CreateMemberGroupRequest) String added in v0.1.7

func (o CreateMemberGroupRequest) String() string

type CreateMemberGroupResponse added in v0.1.7

type CreateMemberGroupResponse struct {

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

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

	// VPC通道后端服务器组列表
	MemberGroups   *[]MemberGroupInfo `json:"member_groups,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (CreateMemberGroupResponse) String added in v0.1.7

func (o CreateMemberGroupResponse) String() string

type CreateOrDeletePublishRecordForApiV2Request

type CreateOrDeletePublishRecordForApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Response Object

func (CreateOrDeletePublishRecordForApiV2Response) String

type CreateRequestThrottlingPolicyV2Request

type CreateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Response Object

func (CreateRequestThrottlingPolicyV2Response) String

type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle added in v0.0.69

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

func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON added in v0.0.69

func (*CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON added in v0.0.69

func (CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value added in v0.0.90

type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum added in v0.0.69

type CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct {
	E_1 CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
	E_2 CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
}

func GetCreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum added in v0.0.69

func GetCreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() CreateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum

type CreateRequestThrottlingPolicyV2ResponseTimeUnit

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

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseTimeUnit) Value added in v0.0.90

type CreateRequestThrottlingPolicyV2ResponseType

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

func (CreateRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*CreateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (CreateRequestThrottlingPolicyV2ResponseType) Value added in v0.0.90

type CreateSignatureKeyV2Request

type CreateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Response Object

func (CreateSignatureKeyV2Response) String

type CreateSignatureKeyV2ResponseSignAlgorithm added in v0.0.69

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

func (CreateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON added in v0.0.69

func (*CreateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON added in v0.0.69

func (CreateSignatureKeyV2ResponseSignAlgorithm) Value added in v0.0.90

type CreateSignatureKeyV2ResponseSignAlgorithmEnum added in v0.0.69

type CreateSignatureKeyV2ResponseSignAlgorithmEnum struct {
	AES_128_CFB CreateSignatureKeyV2ResponseSignAlgorithm
	AES_256_CFB CreateSignatureKeyV2ResponseSignAlgorithm
}

func GetCreateSignatureKeyV2ResponseSignAlgorithmEnum added in v0.0.69

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

type CreateSpecialThrottlingConfigurationV2Request

type CreateSpecialThrottlingConfigurationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

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

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

Response Object

func (CreateSpecialThrottlingConfigurationV2Response) String

type CreateVpcChannelV2Request added in v0.0.65

type CreateVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (CreateVpcChannelV2Request) String added in v0.0.65

func (o CreateVpcChannelV2Request) String() string

type CreateVpcChannelV2Response added in v0.0.65

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通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	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"`

	// vpc通道类型。 - 2:服务器类型 - 3:微服务类型
	Type           *int32 `json:"type,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (CreateVpcChannelV2Response) String added in v0.0.65

type CreateVpcChannelV2ResponseBalanceStrategy added in v0.0.65

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

func (CreateVpcChannelV2ResponseBalanceStrategy) MarshalJSON added in v0.0.65

func (*CreateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON added in v0.0.65

func (CreateVpcChannelV2ResponseBalanceStrategy) Value added in v0.0.90

type CreateVpcChannelV2ResponseMemberType added in v0.0.65

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

func (CreateVpcChannelV2ResponseMemberType) MarshalJSON added in v0.0.65

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

func (*CreateVpcChannelV2ResponseMemberType) UnmarshalJSON added in v0.0.65

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

func (CreateVpcChannelV2ResponseMemberType) Value added in v0.0.90

type CreateVpcChannelV2ResponseMemberTypeEnum added in v0.0.65

type CreateVpcChannelV2ResponseMemberTypeEnum struct {
	IP  CreateVpcChannelV2ResponseMemberType
	ECS CreateVpcChannelV2ResponseMemberType
}

func GetCreateVpcChannelV2ResponseMemberTypeEnum added in v0.0.65

func GetCreateVpcChannelV2ResponseMemberTypeEnum() CreateVpcChannelV2ResponseMemberTypeEnum

type CreateVpcChannelV2ResponseStatus added in v0.0.69

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

func (CreateVpcChannelV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*CreateVpcChannelV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (CreateVpcChannelV2ResponseStatus) Value added in v0.0.90

type CreateVpcChannelV2ResponseStatusEnum added in v0.0.69

type CreateVpcChannelV2ResponseStatusEnum struct {
	E_1 CreateVpcChannelV2ResponseStatus
	E_2 CreateVpcChannelV2ResponseStatus
}

func GetCreateVpcChannelV2ResponseStatusEnum added in v0.0.69

func GetCreateVpcChannelV2ResponseStatusEnum() CreateVpcChannelV2ResponseStatusEnum

type DebugApiV2Request added in v0.0.65

type DebugApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

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

Request Object

func (DebugApiV2Request) String added in v0.0.65

func (o DebugApiV2Request) String() string

type DebugApiV2Response added in v0.0.65

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

Response Object

func (DebugApiV2Response) String added in v0.0.65

func (o DebugApiV2Response) String() string

type DeleteAclV2Request added in v0.0.65

type DeleteAclV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`
}

Request Object

func (DeleteAclV2Request) String added in v0.0.65

func (o DeleteAclV2Request) String() string

type DeleteAclV2Response added in v0.0.65

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

Response Object

func (DeleteAclV2Response) String added in v0.0.65

func (o DeleteAclV2Response) String() string

type DeleteApiAclBindingV2Request added in v0.0.65

type DeleteApiAclBindingV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 绑定关系编号
	AclBindingsId string `json:"acl_bindings_id"`
}

Request Object

func (DeleteApiAclBindingV2Request) String added in v0.0.65

type DeleteApiAclBindingV2Response added in v0.0.65

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

Response Object

func (DeleteApiAclBindingV2Response) String added in v0.0.65

type DeleteApiByVersionIdV2Request added in v0.0.65

type DeleteApiByVersionIdV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API版本的编号
	VersionId string `json:"version_id"`
}

Request Object

func (DeleteApiByVersionIdV2Request) String added in v0.0.65

type DeleteApiByVersionIdV2Response added in v0.0.65

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

Response Object

func (DeleteApiByVersionIdV2Response) String added in v0.0.65

type DeleteApiGroupV2Request

type DeleteApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`
}

Request Object

func (DeleteApiGroupV2Request) String

func (o DeleteApiGroupV2Request) String() string

type DeleteApiGroupV2Response

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

Response Object

func (DeleteApiGroupV2Response) String

func (o DeleteApiGroupV2Response) String() string

type DeleteApiV2Request

type DeleteApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`
}

Request Object

func (DeleteApiV2Request) String

func (o DeleteApiV2Request) String() string

type DeleteApiV2Response

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

Response Object

func (DeleteApiV2Response) String

func (o DeleteApiV2Response) String() string

type DeleteAppCodeV2Request added in v0.0.65

type DeleteAppCodeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// APP Code编号
	AppCodeId string `json:"app_code_id"`
}

Request Object

func (DeleteAppCodeV2Request) String added in v0.0.65

func (o DeleteAppCodeV2Request) String() string

type DeleteAppCodeV2Response added in v0.0.65

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

Response Object

func (DeleteAppCodeV2Response) String added in v0.0.65

func (o DeleteAppCodeV2Response) String() string

type DeleteAppV2Request

type DeleteAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

Request Object

func (DeleteAppV2Request) String

func (o DeleteAppV2Request) String() string

type DeleteAppV2Response

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

Response Object

func (DeleteAppV2Response) String

func (o DeleteAppV2Response) String() string

type DeleteBackendInstanceV2Request added in v0.0.65

type DeleteBackendInstanceV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 后端实例对象的编号
	MemberId string `json:"member_id"`
}

Request Object

func (DeleteBackendInstanceV2Request) String added in v0.0.65

type DeleteBackendInstanceV2Response added in v0.0.65

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

Response Object

func (DeleteBackendInstanceV2Response) String added in v0.0.65

type DeleteCertificateV2Request added in v0.1.7

type DeleteCertificateV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

Request Object

func (DeleteCertificateV2Request) String added in v0.1.7

type DeleteCertificateV2Response added in v0.1.7

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

Response Object

func (DeleteCertificateV2Response) String added in v0.1.7

type DeleteCustomAuthorizerV2Request added in v0.0.65

type DeleteCustomAuthorizerV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`
}

Request Object

func (DeleteCustomAuthorizerV2Request) String added in v0.0.65

type DeleteCustomAuthorizerV2Response added in v0.0.65

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

Response Object

func (DeleteCustomAuthorizerV2Response) String added in v0.0.65

type DeleteEnvironmentV2Request

type DeleteEnvironmentV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (DeleteEnvironmentV2Request) String

type DeleteEnvironmentV2Response

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

Response Object

func (DeleteEnvironmentV2Response) String

type DeleteEnvironmentVariableV2Request

type DeleteEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`
}

Request Object

func (DeleteEnvironmentVariableV2Request) String

type DeleteEnvironmentVariableV2Response

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

Response Object

func (DeleteEnvironmentVariableV2Response) String

type DeleteGatewayResponseTypeV2Request added in v0.0.65

type DeleteGatewayResponseTypeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 响应编号
	ResponseId string `json:"response_id"`

	// 错误类型
	ResponseType DeleteGatewayResponseTypeV2RequestResponseType `json:"response_type"`
}

Request Object

func (DeleteGatewayResponseTypeV2Request) String added in v0.0.65

type DeleteGatewayResponseTypeV2RequestResponseType added in v0.0.65

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

func (DeleteGatewayResponseTypeV2RequestResponseType) MarshalJSON added in v0.0.65

func (*DeleteGatewayResponseTypeV2RequestResponseType) UnmarshalJSON added in v0.0.65

func (DeleteGatewayResponseTypeV2RequestResponseType) Value added in v0.0.90

type DeleteGatewayResponseTypeV2Response added in v0.0.65

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

Response Object

func (DeleteGatewayResponseTypeV2Response) String added in v0.0.65

type DeleteGatewayResponseV2Request added in v0.0.65

type DeleteGatewayResponseV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 响应编号
	ResponseId string `json:"response_id"`
}

Request Object

func (DeleteGatewayResponseV2Request) String added in v0.0.65

type DeleteGatewayResponseV2Response added in v0.0.65

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

Response Object

func (DeleteGatewayResponseV2Response) String added in v0.0.65

type DeleteInstancesV2Request added in v0.0.65

type DeleteInstancesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (DeleteInstancesV2Request) String added in v0.0.65

func (o DeleteInstancesV2Request) String() string

type DeleteInstancesV2Response added in v0.0.65

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

Response Object

func (DeleteInstancesV2Response) String added in v0.0.65

func (o DeleteInstancesV2Response) String() string

type DeleteMemberGroupRequest added in v0.1.7

type DeleteMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`
}

Request Object

func (DeleteMemberGroupRequest) String added in v0.1.7

func (o DeleteMemberGroupRequest) String() string

type DeleteMemberGroupResponse added in v0.1.7

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

Response Object

func (DeleteMemberGroupResponse) String added in v0.1.7

func (o DeleteMemberGroupResponse) String() string

type DeleteRequestThrottlingPolicyV2Request

type DeleteRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`
}

Request Object

func (DeleteRequestThrottlingPolicyV2Request) String

type DeleteRequestThrottlingPolicyV2Response

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

Response Object

func (DeleteRequestThrottlingPolicyV2Response) String

type DeleteSignatureKeyV2Request

type DeleteSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 签名密钥编号
	SignId string `json:"sign_id"`
}

Request Object

func (DeleteSignatureKeyV2Request) String

type DeleteSignatureKeyV2Response

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

Response Object

func (DeleteSignatureKeyV2Response) String

type DeleteSpecialThrottlingConfigurationV2Request

type DeleteSpecialThrottlingConfigurationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 特殊配置的编号
	StrategyId string `json:"strategy_id"`
}

Request Object

func (DeleteSpecialThrottlingConfigurationV2Request) String

type DeleteSpecialThrottlingConfigurationV2Response

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

Response Object

func (DeleteSpecialThrottlingConfigurationV2Response) String

type DeleteVpcChannelV2Request added in v0.0.65

type DeleteVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (DeleteVpcChannelV2Request) String added in v0.0.65

func (o DeleteVpcChannelV2Request) String() string

type DeleteVpcChannelV2Response added in v0.0.65

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

Response Object

func (DeleteVpcChannelV2Response) String added in v0.0.65

type DisassociateCertificateV2Request

type DisassociateCertificateV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 域名的编号
	DomainId string `json:"domain_id"`

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

Request Object

func (DisassociateCertificateV2Request) String

type DisassociateCertificateV2Response

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

Response Object

func (DisassociateCertificateV2Response) String

type DisassociateDomainV2Request

type DisassociateDomainV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 域名的编号
	DomainId string `json:"domain_id"`
}

Request Object

func (DisassociateDomainV2Request) String

type DisassociateDomainV2Response

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

Response Object

func (DisassociateDomainV2Response) String

type DisassociateRequestThrottlingPolicyV2Request

type DisassociateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API和流控策略绑定关系的编号
	ThrottleBindingId string `json:"throttle_binding_id"`
}

Request Object

func (DisassociateRequestThrottlingPolicyV2Request) String

type DisassociateRequestThrottlingPolicyV2Response

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

Response Object

func (DisassociateRequestThrottlingPolicyV2Response) String

type DisassociateSignatureKeyV2Request

type DisassociateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API与签名密钥的绑定关系编号
	SignBindingsId string `json:"sign_bindings_id"`
}

Request Object

func (DisassociateSignatureKeyV2Request) String

type DisassociateSignatureKeyV2Response

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

Response Object

func (DisassociateSignatureKeyV2Response) String

type EipBindReq added in v0.0.65

type EipBindReq struct {

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

func (EipBindReq) String added in v0.0.65

func (o EipBindReq) String() string

type EndpointService added in v0.0.89

type EndpointService struct {

	// 终端节点服务名称
	ServiceName *string `json:"service_name,omitempty"`

	// 创建时间
	CreatedAt *sdktime.SdkTime `json:"created_at,omitempty"`
}

func (EndpointService) String added in v0.0.89

func (o EndpointService) String() string

type EnvCreate added in v0.0.69

type EnvCreate struct {

	// 环境的名称,支持英文,数字,下划线,且只能以英文字母开头。
	Name string `json:"name"`

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

func (EnvCreate) String added in v0.0.69

func (o EnvCreate) String() string

type EnvInfo added in v0.0.69

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

func (o EnvInfo) String() string

type EnvVariableBase added in v0.0.69

type EnvVariableBase struct {

	// 变量值支持英文字母、数字、英文格式的下划线、中划线,斜线(/)、点、冒号,1 ~ 255个字符。
	VariableValue string `json:"variable_value"`
}

func (EnvVariableBase) String added in v0.0.69

func (o EnvVariableBase) String() string

type EnvVariableCreate added in v0.0.69

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

func (o EnvVariableCreate) String() string

type EnvVariableInfo added in v0.0.69

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

func (o EnvVariableInfo) String() string

type ExportApiDefinitionsV2Request added in v0.0.65

type ExportApiDefinitionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (ExportApiDefinitionsV2Request) String added in v0.0.65

type ExportApiDefinitionsV2Response added in v0.0.65

type ExportApiDefinitionsV2Response struct {
	HttpStatusCode int           `json:"-"`
	Body           io.ReadCloser `json:"-" type:"stream"`
}

Response Object

func (ExportApiDefinitionsV2Response) Consume added in v0.0.65

func (o ExportApiDefinitionsV2Response) Consume(writer io.Writer) (int64, error)

func (ExportApiDefinitionsV2Response) String added in v0.0.65

type ExportOpenApiReq added in v0.0.69

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

func (o ExportOpenApiReq) String() string

type ExportOpenApiReqDefine added in v0.0.69

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

func (ExportOpenApiReqDefine) MarshalJSON added in v0.0.69

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

func (*ExportOpenApiReqDefine) UnmarshalJSON added in v0.0.69

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

func (ExportOpenApiReqDefine) Value added in v0.0.90

func (c ExportOpenApiReqDefine) Value() string

type ExportOpenApiReqDefineEnum added in v0.0.69

type ExportOpenApiReqDefineEnum struct {
	SPEC  ExportOpenApiReqDefine
	PROXY ExportOpenApiReqDefine
	ALL   ExportOpenApiReqDefine
	DEV   ExportOpenApiReqDefine
}

func GetExportOpenApiReqDefineEnum added in v0.0.69

func GetExportOpenApiReqDefineEnum() ExportOpenApiReqDefineEnum

type ExportOpenApiReqType added in v0.0.69

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

func (ExportOpenApiReqType) MarshalJSON added in v0.0.69

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

func (*ExportOpenApiReqType) UnmarshalJSON added in v0.0.69

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

func (ExportOpenApiReqType) Value added in v0.0.90

func (c ExportOpenApiReqType) Value() string

type ExportOpenApiReqTypeEnum added in v0.0.69

type ExportOpenApiReqTypeEnum struct {
	JSON ExportOpenApiReqType
	YAML ExportOpenApiReqType
	YML  ExportOpenApiReqType
}

func GetExportOpenApiReqTypeEnum added in v0.0.69

func GetExportOpenApiReqTypeEnum() ExportOpenApiReqTypeEnum

type Failure added in v0.0.69

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

func (o Failure) String() string

type FeatureInfo added in v0.0.65

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

func (o FeatureInfo) String() string

type FeatureToggle added in v0.0.65

type FeatureToggle struct {

	// 特性名称
	Name string `json:"name"`

	// 是否开启特性
	Enable bool `json:"enable"`

	// 特性参数配置
	Config *string `json:"config,omitempty"`
}

func (FeatureToggle) String added in v0.0.65

func (o FeatureToggle) String() string

type Identity added in v0.0.65

type Identity struct {

	// 参数名称
	Name string `json:"name"`

	// 参数位置
	Location IdentityLocation `json:"location"`

	// 参数校验表达式,默认为null,不做校验
	Validation *string `json:"validation,omitempty"`
}

func (Identity) String added in v0.0.65

func (o Identity) String() string

type IdentityLocation added in v0.0.65

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

func (IdentityLocation) MarshalJSON added in v0.0.65

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

func (*IdentityLocation) UnmarshalJSON added in v0.0.65

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

func (IdentityLocation) Value added in v0.0.90

func (c IdentityLocation) Value() string

type IdentityLocationEnum added in v0.0.65

type IdentityLocationEnum struct {
	HEADER IdentityLocation
	QUERY  IdentityLocation
}

func GetIdentityLocationEnum added in v0.0.65

func GetIdentityLocationEnum() IdentityLocationEnum

type Ignore added in v0.0.69

type Ignore struct {

	// API请求方法
	Method *string `json:"method,omitempty"`

	// API请求路径
	Path *string `json:"path,omitempty"`
}

func (Ignore) String added in v0.0.69

func (o Ignore) String() string

type ImportApiDefinitionsV2Request added in v0.0.65

type ImportApiDefinitionsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *ImportApiDefinitionsV2RequestBody `json:"body,omitempty" type:"multipart"`
}

Request Object

func (ImportApiDefinitionsV2Request) String added in v0.0.65

type ImportApiDefinitionsV2RequestBody added in v0.0.65

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

func (*ImportApiDefinitionsV2RequestBody) UnmarshalJSON added in v0.0.67

func (o *ImportApiDefinitionsV2RequestBody) UnmarshalJSON(b []byte) error

type ImportApiDefinitionsV2RequestBodyApiMode added in v0.0.65

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

func (ImportApiDefinitionsV2RequestBodyApiMode) MarshalJSON added in v0.0.65

func (*ImportApiDefinitionsV2RequestBodyApiMode) UnmarshalJSON added in v0.0.65

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

func (ImportApiDefinitionsV2RequestBodyApiMode) Value added in v0.0.90

type ImportApiDefinitionsV2RequestBodyApiModeEnum added in v0.0.65

type ImportApiDefinitionsV2RequestBodyApiModeEnum struct {
	MERGE    ImportApiDefinitionsV2RequestBodyApiMode
	OVERRIDE ImportApiDefinitionsV2RequestBodyApiMode
}

func GetImportApiDefinitionsV2RequestBodyApiModeEnum added in v0.0.65

func GetImportApiDefinitionsV2RequestBodyApiModeEnum() ImportApiDefinitionsV2RequestBodyApiModeEnum

type ImportApiDefinitionsV2RequestBodyExtendMode added in v0.0.65

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

func (ImportApiDefinitionsV2RequestBodyExtendMode) MarshalJSON added in v0.0.65

func (*ImportApiDefinitionsV2RequestBodyExtendMode) UnmarshalJSON added in v0.0.65

func (ImportApiDefinitionsV2RequestBodyExtendMode) Value added in v0.0.90

type ImportApiDefinitionsV2RequestBodyExtendModeEnum added in v0.0.65

type ImportApiDefinitionsV2RequestBodyExtendModeEnum struct {
	MERGE    ImportApiDefinitionsV2RequestBodyExtendMode
	OVERRIDE ImportApiDefinitionsV2RequestBodyExtendMode
}

func GetImportApiDefinitionsV2RequestBodyExtendModeEnum added in v0.0.65

func GetImportApiDefinitionsV2RequestBodyExtendModeEnum() ImportApiDefinitionsV2RequestBodyExtendModeEnum

type ImportApiDefinitionsV2Response added in v0.0.65

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

Response Object

func (ImportApiDefinitionsV2Response) String added in v0.0.65

type ImportBaseResult added in v0.0.69

type ImportBaseResult struct {

	// 导入成功信息
	Success *[]Success `json:"success,omitempty"`

	// 导入失败信息
	Failure *[]Failure `json:"failure,omitempty"`

	Swagger *Swagger `json:"swagger,omitempty"`
}

func (ImportBaseResult) String added in v0.0.69

func (o ImportBaseResult) String() string

type ImportMicroserviceRequest added in v0.1.7

type ImportMicroserviceRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (ImportMicroserviceRequest) String added in v0.1.7

func (o ImportMicroserviceRequest) String() string

type ImportMicroserviceResponse added in v0.1.7

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

Response Object

func (ImportMicroserviceResponse) String added in v0.1.7

type InnerLatencyStats added in v0.0.65

type InnerLatencyStats struct {

	// 最大网关内部延时  单位:ms
	MaxInnerLatency *int32 `json:"max_inner_latency,omitempty"`

	// 平均网关内部延时  单位:ms
	AvgInnerLatency *float32 `json:"avg_inner_latency,omitempty"`
}

func (InnerLatencyStats) String added in v0.0.65

func (o InnerLatencyStats) String() string

type InstanceAbstractReq added in v0.0.65

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

func (o InstanceAbstractReq) String() string

type InstanceConfig added in v0.0.65

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

func (o InstanceConfig) String() string

type InstanceConfigConfigName added in v0.0.65

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

func (InstanceConfigConfigName) MarshalJSON added in v0.0.65

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

func (*InstanceConfigConfigName) UnmarshalJSON added in v0.0.65

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

func (InstanceConfigConfigName) Value added in v0.0.90

func (c InstanceConfigConfigName) Value() string

type InstanceConfigConfigNameEnum added in v0.0.65

type InstanceConfigConfigNameEnum struct {
	INSTANCE_NUM_LIMIT InstanceConfigConfigName
}

func GetInstanceConfigConfigNameEnum added in v0.0.65

func GetInstanceConfigConfigNameEnum() InstanceConfigConfigNameEnum

type InstanceCreateReq added in v0.0.65

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。  实例需要开启公网访问时需要填写,绑定后使用者可以通过该入口从公网访问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"`

	// 公网访问是否支持IPv6。  当前仅部分region部分可用区支持IPv6
	Ipv6Enable *bool `json:"ipv6_enable,omitempty"`

	// 实例使用的负载均衡器类型 - lvs Linux虚拟服务器 - elb 弹性负载均衡,elb仅部分region支持
	LoadbalancerProvider *InstanceCreateReqLoadbalancerProvider `json:"loadbalancer_provider,omitempty"`
}

func (InstanceCreateReq) String added in v0.0.65

func (o InstanceCreateReq) String() string

type InstanceCreateReqLoadbalancerProvider added in v0.0.89

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

func (InstanceCreateReqLoadbalancerProvider) MarshalJSON added in v0.0.89

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

func (*InstanceCreateReqLoadbalancerProvider) UnmarshalJSON added in v0.0.89

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

func (InstanceCreateReqLoadbalancerProvider) Value added in v0.0.90

type InstanceCreateReqLoadbalancerProviderEnum added in v0.0.89

type InstanceCreateReqLoadbalancerProviderEnum struct {
	LVS InstanceCreateReqLoadbalancerProvider
	ELB InstanceCreateReqLoadbalancerProvider
}

func GetInstanceCreateReqLoadbalancerProviderEnum added in v0.0.89

func GetInstanceCreateReqLoadbalancerProviderEnum() InstanceCreateReqLoadbalancerProviderEnum

type InstanceCreateReqSpecId added in v0.0.65

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

func (InstanceCreateReqSpecId) MarshalJSON added in v0.0.65

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

func (*InstanceCreateReqSpecId) UnmarshalJSON added in v0.0.65

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

func (InstanceCreateReqSpecId) Value added in v0.0.90

func (c InstanceCreateReqSpecId) Value() string

type InstanceCreateReqSpecIdEnum added in v0.0.65

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

func GetInstanceCreateReqSpecIdEnum() InstanceCreateReqSpecIdEnum

type InstanceModReq added in v0.0.65

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

func (InstanceModReq) String added in v0.0.65

func (o InstanceModReq) String() string

type IpDetails added in v0.0.89

type IpDetails struct {

	// IP地址
	IpAddress *string `json:"ip_address,omitempty"`

	// 带宽大小
	BandwidthSize *int32 `json:"bandwidth_size,omitempty"`
}

func (IpDetails) String added in v0.0.89

func (o IpDetails) String() string

type LatencyStats added in v0.0.65

type LatencyStats struct {

	// 最大延时  单位:ms
	MaxLatency *int32 `json:"max_latency,omitempty"`

	// 平均延时  单位:ms
	AvgLatency *float32 `json:"avg_latency,omitempty"`
}

func (LatencyStats) String added in v0.0.65

func (o LatencyStats) String() string

type ListAclPolicyBindedToApiV2Request added in v0.0.65

type ListAclPolicyBindedToApiV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListAclPolicyBindedToApiV2Request) String added in v0.0.65

type ListAclPolicyBindedToApiV2Response added in v0.0.65

type ListAclPolicyBindedToApiV2Response struct {

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

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

	// 本次查询返回的ACL列表
	Acls           *[]ApiBindAclInfo `json:"acls,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListAclPolicyBindedToApiV2Response) String added in v0.0.65

type ListAclStrategiesV2Request added in v0.0.65

type ListAclStrategiesV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListAclStrategiesV2Request) String added in v0.0.65

type ListAclStrategiesV2Response added in v0.0.65

type ListAclStrategiesV2Response struct {

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

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

	// 本次查询返回的ACL策略列表
	Acls           *[]ApiAclInfoWithBindNum `json:"acls,omitempty"`
	HttpStatusCode int                      `json:"-"`
}

Response Object

func (ListAclStrategiesV2Response) String added in v0.0.65

type ListApiGroupsQuantitiesV2Request

type ListApiGroupsQuantitiesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

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

Response Object

func (ListApiGroupsQuantitiesV2Response) String

type ListApiGroupsV2Request

type ListApiGroupsV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApiGroupsV2Response) String

func (o ListApiGroupsV2Response) String() string

type ListApiQuantitiesV2Request

type ListApiQuantitiesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

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

Response Object

func (ListApiQuantitiesV2Response) String

type ListApiRuntimeDefinitionV2Request added in v0.0.65

type ListApiRuntimeDefinitionV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// API的发布环境编号
	EnvId *string `json:"env_id,omitempty"`
}

Request Object

func (ListApiRuntimeDefinitionV2Request) String added in v0.0.65

type ListApiRuntimeDefinitionV2Response added in v0.0.65

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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:"-"`
}

Response Object

func (ListApiRuntimeDefinitionV2Response) String added in v0.0.65

type ListApiRuntimeDefinitionV2ResponseAuthType added in v0.0.65

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

func (ListApiRuntimeDefinitionV2ResponseAuthType) MarshalJSON added in v0.0.65

func (*ListApiRuntimeDefinitionV2ResponseAuthType) UnmarshalJSON added in v0.0.65

func (ListApiRuntimeDefinitionV2ResponseAuthType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseBackendType added in v0.0.65

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

func (ListApiRuntimeDefinitionV2ResponseBackendType) MarshalJSON added in v0.0.65

func (*ListApiRuntimeDefinitionV2ResponseBackendType) UnmarshalJSON added in v0.0.65

func (ListApiRuntimeDefinitionV2ResponseBackendType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseBackendTypeEnum added in v0.0.65

func GetListApiRuntimeDefinitionV2ResponseBackendTypeEnum added in v0.0.65

func GetListApiRuntimeDefinitionV2ResponseBackendTypeEnum() ListApiRuntimeDefinitionV2ResponseBackendTypeEnum

type ListApiRuntimeDefinitionV2ResponseContentType added in v0.0.76

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

func (ListApiRuntimeDefinitionV2ResponseContentType) MarshalJSON added in v0.0.76

func (*ListApiRuntimeDefinitionV2ResponseContentType) UnmarshalJSON added in v0.0.76

func (ListApiRuntimeDefinitionV2ResponseContentType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseContentTypeEnum added in v0.0.76

type ListApiRuntimeDefinitionV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    ListApiRuntimeDefinitionV2ResponseContentType
	APPLICATION_XML     ListApiRuntimeDefinitionV2ResponseContentType
	MULTIPART_FORM_DATE ListApiRuntimeDefinitionV2ResponseContentType
	TEXT_PLAIN          ListApiRuntimeDefinitionV2ResponseContentType
}

func GetListApiRuntimeDefinitionV2ResponseContentTypeEnum added in v0.0.76

func GetListApiRuntimeDefinitionV2ResponseContentTypeEnum() ListApiRuntimeDefinitionV2ResponseContentTypeEnum

type ListApiRuntimeDefinitionV2ResponseMatchMode added in v0.0.65

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

func (ListApiRuntimeDefinitionV2ResponseMatchMode) MarshalJSON added in v0.0.65

func (*ListApiRuntimeDefinitionV2ResponseMatchMode) UnmarshalJSON added in v0.0.65

func (ListApiRuntimeDefinitionV2ResponseMatchMode) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseMatchModeEnum added in v0.0.65

type ListApiRuntimeDefinitionV2ResponseMatchModeEnum struct {
	SWA    ListApiRuntimeDefinitionV2ResponseMatchMode
	NORMAL ListApiRuntimeDefinitionV2ResponseMatchMode
}

func GetListApiRuntimeDefinitionV2ResponseMatchModeEnum added in v0.0.65

func GetListApiRuntimeDefinitionV2ResponseMatchModeEnum() ListApiRuntimeDefinitionV2ResponseMatchModeEnum

type ListApiRuntimeDefinitionV2ResponseReqMethod added in v0.0.65

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

func (ListApiRuntimeDefinitionV2ResponseReqMethod) MarshalJSON added in v0.0.65

func (*ListApiRuntimeDefinitionV2ResponseReqMethod) UnmarshalJSON added in v0.0.65

func (ListApiRuntimeDefinitionV2ResponseReqMethod) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseReqProtocol added in v0.0.65

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

func (ListApiRuntimeDefinitionV2ResponseReqProtocol) MarshalJSON added in v0.0.65

func (*ListApiRuntimeDefinitionV2ResponseReqProtocol) UnmarshalJSON added in v0.0.65

func (ListApiRuntimeDefinitionV2ResponseReqProtocol) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseReqProtocolEnum added in v0.0.65

func GetListApiRuntimeDefinitionV2ResponseReqProtocolEnum added in v0.0.65

func GetListApiRuntimeDefinitionV2ResponseReqProtocolEnum() ListApiRuntimeDefinitionV2ResponseReqProtocolEnum

type ListApiRuntimeDefinitionV2ResponseType added in v0.0.69

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

func (ListApiRuntimeDefinitionV2ResponseType) MarshalJSON added in v0.0.69

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

func (*ListApiRuntimeDefinitionV2ResponseType) UnmarshalJSON added in v0.0.69

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

func (ListApiRuntimeDefinitionV2ResponseType) Value added in v0.0.90

type ListApiRuntimeDefinitionV2ResponseTypeEnum added in v0.0.69

type ListApiRuntimeDefinitionV2ResponseTypeEnum struct {
	E_1 ListApiRuntimeDefinitionV2ResponseType
	E_2 ListApiRuntimeDefinitionV2ResponseType
}

func GetListApiRuntimeDefinitionV2ResponseTypeEnum added in v0.0.69

func GetListApiRuntimeDefinitionV2ResponseTypeEnum() ListApiRuntimeDefinitionV2ResponseTypeEnum

type ListApiVersionDetailV2Request added in v0.0.65

type ListApiVersionDetailV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API版本的编号
	VersionId string `json:"version_id"`
}

Request Object

func (ListApiVersionDetailV2Request) String added in v0.0.65

type ListApiVersionDetailV2Response added in v0.0.65

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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:"-"`
}

Response Object

func (ListApiVersionDetailV2Response) String added in v0.0.65

type ListApiVersionDetailV2ResponseAuthType added in v0.0.65

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

func (ListApiVersionDetailV2ResponseAuthType) MarshalJSON added in v0.0.65

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

func (*ListApiVersionDetailV2ResponseAuthType) UnmarshalJSON added in v0.0.65

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

func (ListApiVersionDetailV2ResponseAuthType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseAuthTypeEnum added in v0.0.65

func GetListApiVersionDetailV2ResponseAuthTypeEnum added in v0.0.65

func GetListApiVersionDetailV2ResponseAuthTypeEnum() ListApiVersionDetailV2ResponseAuthTypeEnum

type ListApiVersionDetailV2ResponseBackendType added in v0.0.65

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

func (ListApiVersionDetailV2ResponseBackendType) MarshalJSON added in v0.0.65

func (*ListApiVersionDetailV2ResponseBackendType) UnmarshalJSON added in v0.0.65

func (ListApiVersionDetailV2ResponseBackendType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseBackendTypeEnum added in v0.0.65

type ListApiVersionDetailV2ResponseBackendTypeEnum struct {
	HTTP     ListApiVersionDetailV2ResponseBackendType
	FUNCTION ListApiVersionDetailV2ResponseBackendType
	MOCK     ListApiVersionDetailV2ResponseBackendType
}

func GetListApiVersionDetailV2ResponseBackendTypeEnum added in v0.0.65

func GetListApiVersionDetailV2ResponseBackendTypeEnum() ListApiVersionDetailV2ResponseBackendTypeEnum

type ListApiVersionDetailV2ResponseContentType added in v0.0.76

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

func (ListApiVersionDetailV2ResponseContentType) MarshalJSON added in v0.0.76

func (*ListApiVersionDetailV2ResponseContentType) UnmarshalJSON added in v0.0.76

func (ListApiVersionDetailV2ResponseContentType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseContentTypeEnum added in v0.0.76

type ListApiVersionDetailV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    ListApiVersionDetailV2ResponseContentType
	APPLICATION_XML     ListApiVersionDetailV2ResponseContentType
	MULTIPART_FORM_DATE ListApiVersionDetailV2ResponseContentType
	TEXT_PLAIN          ListApiVersionDetailV2ResponseContentType
}

func GetListApiVersionDetailV2ResponseContentTypeEnum added in v0.0.76

func GetListApiVersionDetailV2ResponseContentTypeEnum() ListApiVersionDetailV2ResponseContentTypeEnum

type ListApiVersionDetailV2ResponseMatchMode added in v0.0.65

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

func (ListApiVersionDetailV2ResponseMatchMode) MarshalJSON added in v0.0.65

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

func (*ListApiVersionDetailV2ResponseMatchMode) UnmarshalJSON added in v0.0.65

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

func (ListApiVersionDetailV2ResponseMatchMode) Value added in v0.0.90

type ListApiVersionDetailV2ResponseMatchModeEnum added in v0.0.65

type ListApiVersionDetailV2ResponseMatchModeEnum struct {
	SWA    ListApiVersionDetailV2ResponseMatchMode
	NORMAL ListApiVersionDetailV2ResponseMatchMode
}

func GetListApiVersionDetailV2ResponseMatchModeEnum added in v0.0.65

func GetListApiVersionDetailV2ResponseMatchModeEnum() ListApiVersionDetailV2ResponseMatchModeEnum

type ListApiVersionDetailV2ResponseReqMethod added in v0.0.65

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

func (ListApiVersionDetailV2ResponseReqMethod) MarshalJSON added in v0.0.65

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

func (*ListApiVersionDetailV2ResponseReqMethod) UnmarshalJSON added in v0.0.65

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

func (ListApiVersionDetailV2ResponseReqMethod) Value added in v0.0.90

type ListApiVersionDetailV2ResponseReqProtocol added in v0.0.65

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

func (ListApiVersionDetailV2ResponseReqProtocol) MarshalJSON added in v0.0.65

func (*ListApiVersionDetailV2ResponseReqProtocol) UnmarshalJSON added in v0.0.65

func (ListApiVersionDetailV2ResponseReqProtocol) Value added in v0.0.90

type ListApiVersionDetailV2ResponseReqProtocolEnum added in v0.0.65

type ListApiVersionDetailV2ResponseReqProtocolEnum struct {
	HTTP  ListApiVersionDetailV2ResponseReqProtocol
	HTTPS ListApiVersionDetailV2ResponseReqProtocol
	BOTH  ListApiVersionDetailV2ResponseReqProtocol
}

func GetListApiVersionDetailV2ResponseReqProtocolEnum added in v0.0.65

func GetListApiVersionDetailV2ResponseReqProtocolEnum() ListApiVersionDetailV2ResponseReqProtocolEnum

type ListApiVersionDetailV2ResponseType added in v0.0.69

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

func (ListApiVersionDetailV2ResponseType) MarshalJSON added in v0.0.69

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

func (*ListApiVersionDetailV2ResponseType) UnmarshalJSON added in v0.0.69

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

func (ListApiVersionDetailV2ResponseType) Value added in v0.0.90

type ListApiVersionDetailV2ResponseTypeEnum added in v0.0.69

type ListApiVersionDetailV2ResponseTypeEnum struct {
	E_1 ListApiVersionDetailV2ResponseType
	E_2 ListApiVersionDetailV2ResponseType
}

func GetListApiVersionDetailV2ResponseTypeEnum added in v0.0.69

func GetListApiVersionDetailV2ResponseTypeEnum() ListApiVersionDetailV2ResponseTypeEnum

type ListApiVersionsV2Request added in v0.0.65

type ListApiVersionsV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListApiVersionsV2Request) String added in v0.0.65

func (o ListApiVersionsV2Request) String() string

type ListApiVersionsV2Response added in v0.0.65

type ListApiVersionsV2Response struct {

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

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

	// 本次查询返回的API历史版本列表
	ApiVersions    *[]ApiVersionResp `json:"api_versions,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListApiVersionsV2Response) String added in v0.0.65

func (o ListApiVersionsV2Response) String() string

type ListApisBindedToAclPolicyV2Request added in v0.0.65

type ListApisBindedToAclPolicyV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListApisBindedToAclPolicyV2Request) String added in v0.0.65

type ListApisBindedToAclPolicyV2Response added in v0.0.65

type ListApisBindedToAclPolicyV2Response struct {

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

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

	// 本次查询返回的API列表
	Apis           *[]AclBindApiInfo `json:"apis,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListApisBindedToAclPolicyV2Response) String added in v0.0.65

type ListApisBindedToAppV2Request

type ListApisBindedToAppV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisBindedToAppV2Response) String

type ListApisBindedToRequestThrottlingPolicyV2Request

type ListApisBindedToRequestThrottlingPolicyV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisBindedToRequestThrottlingPolicyV2Response) String

type ListApisBindedToSignatureKeyV2Request

type ListApisBindedToSignatureKeyV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisBindedToSignatureKeyV2Response) String

type ListApisNotBoundWithSignatureKeyV2Request

type ListApisNotBoundWithSignatureKeyV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisNotBoundWithSignatureKeyV2Response) String

type ListApisUnbindedToAclPolicyV2Request added in v0.0.65

type ListApisUnbindedToAclPolicyV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListApisUnbindedToAclPolicyV2Request) String added in v0.0.65

type ListApisUnbindedToAclPolicyV2Response added in v0.0.65

type ListApisUnbindedToAclPolicyV2Response struct {

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

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

	// 本次查询返回的API列表
	Apis           *[]UnbindApiForAcl `json:"apis,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListApisUnbindedToAclPolicyV2Response) String added in v0.0.65

type ListApisUnbindedToAppV2Request

type ListApisUnbindedToAppV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisUnbindedToAppV2Response) String

type ListApisUnbindedToRequestThrottlingPolicyV2Request

type ListApisUnbindedToRequestThrottlingPolicyV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisUnbindedToRequestThrottlingPolicyV2Response) String

type ListApisV2Request

type ListApisV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListApisV2Response) String

func (o ListApisV2Response) String() string

type ListAppCodesV2Request added in v0.0.65

type ListAppCodesV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListAppCodesV2Request) String added in v0.0.65

func (o ListAppCodesV2Request) String() string

type ListAppCodesV2Response added in v0.0.65

type ListAppCodesV2Response struct {

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

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

	// App Code列表
	AppCodes       *[]AppCodeBaseInfo `json:"app_codes,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListAppCodesV2Response) String added in v0.0.65

func (o ListAppCodesV2Response) String() string

type ListAppQuantitiesV2Request

type ListAppQuantitiesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

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

Response Object

func (ListAppQuantitiesV2Response) String

type ListAppsBindedToApiV2Request

type ListAppsBindedToApiV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListAppsBindedToApiV2Response) String

type ListAppsV2Request

type ListAppsV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListAppsV2Response) String

func (o ListAppsV2Response) String() string

type ListAttachedDomainsV2Request added in v0.1.7

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

Request Object

func (ListAttachedDomainsV2Request) String added in v0.1.7

type ListAttachedDomainsV2Response added in v0.1.7

type ListAttachedDomainsV2Response struct {

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

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

	// 已绑定域名集合
	BoundDomains   *[]UrlDomainRefInfo `json:"bound_domains,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListAttachedDomainsV2Response) String added in v0.1.7

type ListAvailableZonesV2Request added in v0.0.65

type ListAvailableZonesV2Request struct {
}

Request Object

func (ListAvailableZonesV2Request) String added in v0.0.65

type ListAvailableZonesV2Response added in v0.0.65

type ListAvailableZonesV2Response struct {

	// 可用区列表
	AvailableZones *[]AvailableZone `json:"available_zones,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListAvailableZonesV2Response) String added in v0.0.65

type ListBackendInstancesV2Request added in v0.0.65

type ListBackendInstancesV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListBackendInstancesV2Request) String added in v0.0.65

type ListBackendInstancesV2Response added in v0.0.65

type ListBackendInstancesV2Response struct {

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

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

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

Response Object

func (ListBackendInstancesV2Response) String added in v0.0.65

type ListCertificatesV2Request added in v0.1.7

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

Request Object

func (ListCertificatesV2Request) String added in v0.1.7

func (o ListCertificatesV2Request) String() string

type ListCertificatesV2RequestType added in v0.1.7

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

func (ListCertificatesV2RequestType) MarshalJSON added in v0.1.7

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

func (*ListCertificatesV2RequestType) UnmarshalJSON added in v0.1.7

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

func (ListCertificatesV2RequestType) Value added in v0.1.7

type ListCertificatesV2RequestTypeEnum added in v0.1.7

type ListCertificatesV2RequestTypeEnum struct {
	INSTANCE ListCertificatesV2RequestType
	GLOBAL   ListCertificatesV2RequestType
}

func GetListCertificatesV2RequestTypeEnum added in v0.1.7

func GetListCertificatesV2RequestTypeEnum() ListCertificatesV2RequestTypeEnum

type ListCertificatesV2Response added in v0.1.7

type ListCertificatesV2Response struct {

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

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

	// 证书基本内容
	Certs          *[]CertBase `json:"certs,omitempty"`
	HttpStatusCode int         `json:"-"`
}

Response Object

func (ListCertificatesV2Response) String added in v0.1.7

type ListCustomAuthorizersV2Request added in v0.0.65

type ListCustomAuthorizersV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListCustomAuthorizersV2Request) String added in v0.0.65

type ListCustomAuthorizersV2Response added in v0.0.65

type ListCustomAuthorizersV2Response struct {

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

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

	// 自定义认证列表
	AuthorizerList *[]AuthorizerResp `json:"authorizer_list,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListCustomAuthorizersV2Response) String added in v0.0.65

type ListEnvironmentVariablesV2Request

type ListEnvironmentVariablesV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListEnvironmentVariablesV2Response) String

type ListEnvironmentsV2Request

type ListEnvironmentsV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListEnvironmentsV2Response) String

type ListFeaturesV2Request added in v0.0.65

type ListFeaturesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListFeaturesV2Request) String added in v0.0.65

func (o ListFeaturesV2Request) String() string

type ListFeaturesV2Response added in v0.0.65

type ListFeaturesV2Response struct {

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

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

	// 实例特性列表
	Features       *[]FeatureInfo `json:"features,omitempty"`
	HttpStatusCode int            `json:"-"`
}

Response Object

func (ListFeaturesV2Response) String added in v0.0.65

func (o ListFeaturesV2Response) String() string

type ListGatewayResponsesV2Request added in v0.0.65

type ListGatewayResponsesV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListGatewayResponsesV2Request) String added in v0.0.65

type ListGatewayResponsesV2Response added in v0.0.65

type ListGatewayResponsesV2Response struct {

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

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

	// 响应列表
	Responses      *[]ResponsesInfo `json:"responses,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (ListGatewayResponsesV2Response) String added in v0.0.65

type ListInstanceConfigsV2Request added in v0.0.76

type ListInstanceConfigsV2Request struct {

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListInstanceConfigsV2Request) String added in v0.0.76

type ListInstanceConfigsV2Response added in v0.0.76

type ListInstanceConfigsV2Response struct {

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

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

	// 配额列表
	Configs        *[]InstanceConfig `json:"configs,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListInstanceConfigsV2Response) String added in v0.0.76

type ListInstancesV2Request added in v0.0.65

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

Request Object

func (ListInstancesV2Request) String added in v0.0.65

func (o ListInstancesV2Request) String() string

type ListInstancesV2RequestStatus added in v0.0.65

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

func (ListInstancesV2RequestStatus) MarshalJSON added in v0.0.65

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

func (*ListInstancesV2RequestStatus) UnmarshalJSON added in v0.0.65

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

func (ListInstancesV2RequestStatus) Value added in v0.0.90

type ListInstancesV2RequestStatusEnum added in v0.0.65

func GetListInstancesV2RequestStatusEnum added in v0.0.65

func GetListInstancesV2RequestStatusEnum() ListInstancesV2RequestStatusEnum

type ListInstancesV2Response added in v0.0.65

type ListInstancesV2Response struct {

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

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

	// 实例列表
	Instances      *[]RespInstanceBase `json:"instances,omitempty"`
	HttpStatusCode int                 `json:"-"`
}

Response Object

func (ListInstancesV2Response) String added in v0.0.65

func (o ListInstancesV2Response) String() string

type ListLatelyApiStatisticsV2Request added in v0.0.65

type ListLatelyApiStatisticsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 最近统计时长,单位必须为h和m,比如1h和1m,分别代表最近1小时和最近1分钟
	Duration string `json:"duration"`
}

Request Object

func (ListLatelyApiStatisticsV2Request) String added in v0.0.65

type ListLatelyApiStatisticsV2Response added in v0.0.65

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

Response Object

func (ListLatelyApiStatisticsV2Response) String added in v0.0.65

type ListLatelyGroupStatisticsV2Request added in v0.0.65

type ListLatelyGroupStatisticsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (ListLatelyGroupStatisticsV2Request) String added in v0.0.65

type ListLatelyGroupStatisticsV2Response added in v0.0.65

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

Response Object

func (ListLatelyGroupStatisticsV2Response) String added in v0.0.65

type ListMemberGroupsRequest added in v0.1.7

type ListMemberGroupsRequest struct {

	// 实例ID
	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"`
}

Request Object

func (ListMemberGroupsRequest) String added in v0.1.7

func (o ListMemberGroupsRequest) String() string

type ListMemberGroupsResponse added in v0.1.7

type ListMemberGroupsResponse struct {

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

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

	// VPC通道后端服务器组列表
	MemberGroups   *[]MemberGroupInfo `json:"member_groups,omitempty"`
	HttpStatusCode int                `json:"-"`
}

Response Object

func (ListMemberGroupsResponse) String added in v0.1.7

func (o ListMemberGroupsResponse) String() string

type ListMetricDataRequest added in v0.1.7

type ListMetricDataRequest struct {

	// 实例ID
	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"`
}

Request Object

func (ListMetricDataRequest) String added in v0.1.7

func (o ListMetricDataRequest) String() string

type ListMetricDataRequestDim added in v0.1.7

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

func (ListMetricDataRequestDim) MarshalJSON added in v0.1.7

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

func (*ListMetricDataRequestDim) UnmarshalJSON added in v0.1.7

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

func (ListMetricDataRequestDim) Value added in v0.1.7

func (c ListMetricDataRequestDim) Value() string

type ListMetricDataRequestDimEnum added in v0.1.7

type ListMetricDataRequestDimEnum struct {
	INBOUND  ListMetricDataRequestDim
	OUTBOUND ListMetricDataRequestDim
}

func GetListMetricDataRequestDimEnum added in v0.1.7

func GetListMetricDataRequestDimEnum() ListMetricDataRequestDimEnum

type ListMetricDataRequestFilter added in v0.1.7

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

func (ListMetricDataRequestFilter) MarshalJSON added in v0.1.7

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

func (*ListMetricDataRequestFilter) UnmarshalJSON added in v0.1.7

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

func (ListMetricDataRequestFilter) Value added in v0.1.7

type ListMetricDataRequestFilterEnum added in v0.1.7

func GetListMetricDataRequestFilterEnum added in v0.1.7

func GetListMetricDataRequestFilterEnum() ListMetricDataRequestFilterEnum

type ListMetricDataRequestMetricName added in v0.1.7

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

func (ListMetricDataRequestMetricName) MarshalJSON added in v0.1.7

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

func (*ListMetricDataRequestMetricName) UnmarshalJSON added in v0.1.7

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

func (ListMetricDataRequestMetricName) Value added in v0.1.7

type ListMetricDataRequestMetricNameEnum added in v0.1.7

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

func GetListMetricDataRequestMetricNameEnum() ListMetricDataRequestMetricNameEnum

type ListMetricDataRequestPeriod added in v0.1.7

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

func (ListMetricDataRequestPeriod) MarshalJSON added in v0.1.7

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

func (*ListMetricDataRequestPeriod) UnmarshalJSON added in v0.1.7

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

func (ListMetricDataRequestPeriod) Value added in v0.1.7

type ListMetricDataRequestPeriodEnum added in v0.1.7

func GetListMetricDataRequestPeriodEnum added in v0.1.7

func GetListMetricDataRequestPeriodEnum() ListMetricDataRequestPeriodEnum

type ListMetricDataResponse added in v0.1.7

type ListMetricDataResponse struct {

	// 指标数据列表
	Datapoints     *[]MetricData `json:"datapoints,omitempty"`
	HttpStatusCode int           `json:"-"`
}

Response Object

func (ListMetricDataResponse) String added in v0.1.7

func (o ListMetricDataResponse) String() string

type ListProjectCofigsV2Request added in v0.0.65

type ListProjectCofigsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListProjectCofigsV2Request) String added in v0.0.65

type ListProjectCofigsV2Response added in v0.0.65

type ListProjectCofigsV2Response struct {

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

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

	// 配额列表
	Configs        *[]Config `json:"configs,omitempty"`
	HttpStatusCode int       `json:"-"`
}

Response Object

func (ListProjectCofigsV2Response) String added in v0.0.65

type ListRequestThrottlingPoliciesBindedToApiV2Request

type ListRequestThrottlingPoliciesBindedToApiV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListRequestThrottlingPoliciesBindedToApiV2Response) String

type ListRequestThrottlingPolicyV2Request

type ListRequestThrottlingPolicyV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListRequestThrottlingPolicyV2Response) String

type ListSignatureKeysBindedToApiV2Request

type ListSignatureKeysBindedToApiV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListSignatureKeysBindedToApiV2Response) String

type ListSignatureKeysV2Request

type ListSignatureKeysV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListSignatureKeysV2Response) String

type ListSpecialThrottlingConfigurationsV2Request

type ListSpecialThrottlingConfigurationsV2Request struct {

	// 实例ID
	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"`
}

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

Response Object

func (ListSpecialThrottlingConfigurationsV2Response) String

type ListTagsV2Request added in v0.0.65

type ListTagsV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 偏移量,表示从此偏移量开始查询,偏移量小于0时,自动转换为0
	Offset *int64 `json:"offset,omitempty"`

	// 每页显示的条目数量,条目数量小于等于0时,自动转换为20,条目数量大于500时,自动转换为500
	Limit *int32 `json:"limit,omitempty"`
}

Request Object

func (ListTagsV2Request) String added in v0.0.65

func (o ListTagsV2Request) String() string

type ListTagsV2Response added in v0.0.65

type ListTagsV2Response struct {

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

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

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

Response Object

func (ListTagsV2Response) String added in v0.0.65

func (o ListTagsV2Response) String() string

type ListVpcChannelsV2Request added in v0.0.65

type ListVpcChannelsV2Request struct {

	// 实例ID
	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"`
}

Request Object

func (ListVpcChannelsV2Request) String added in v0.0.65

func (o ListVpcChannelsV2Request) String() string

type ListVpcChannelsV2Response added in v0.0.65

type ListVpcChannelsV2Response struct {

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

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

	// 本次查询到的VPC通道列表
	VpcChannels    *[]VpcChannelInfo `json:"vpc_channels,omitempty"`
	HttpStatusCode int               `json:"-"`
}

Response Object

func (ListVpcChannelsV2Response) String added in v0.0.65

func (o ListVpcChannelsV2Response) String() string

type LocalName added in v0.0.65

type LocalName struct {

	// 可用区英文名称。
	EnUs *string `json:"en_us,omitempty"`

	// 可用区中文名称。
	ZhCn *string `json:"zh_cn,omitempty"`
}

可用区中英文名称。

func (LocalName) String added in v0.0.65

func (o LocalName) String() string

type MemberBase added in v0.0.65

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

func (o MemberBase) String() string

type MemberBaseStatus added in v0.0.69

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

func (MemberBaseStatus) MarshalJSON added in v0.0.69

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

func (*MemberBaseStatus) UnmarshalJSON added in v0.0.69

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

func (MemberBaseStatus) Value added in v0.0.90

func (c MemberBaseStatus) Value() int32

type MemberBaseStatusEnum added in v0.0.69

type MemberBaseStatusEnum struct {
	E_1 MemberBaseStatus
	E_2 MemberBaseStatus
}

func GetMemberBaseStatusEnum added in v0.0.69

func GetMemberBaseStatusEnum() MemberBaseStatusEnum

type MemberGroupCreate added in v0.0.69

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

func (MemberGroupCreate) String added in v0.0.69

func (o MemberGroupCreate) String() string

type MemberGroupCreateBatch added in v0.1.7

type MemberGroupCreateBatch struct {

	// 后端服务器组列表
	MemberGroups *[]MemberGroupCreate `json:"member_groups,omitempty"`
}

func (MemberGroupCreateBatch) String added in v0.1.7

func (o MemberGroupCreateBatch) String() string

type MemberGroupInfo added in v0.0.69

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通道后端服务器组编号
	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 added in v0.0.69

func (o MemberGroupInfo) String() string

type MemberInfo added in v0.0.65

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

func (o MemberInfo) String() string

type MemberInfoStatus added in v0.0.69

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

func (MemberInfoStatus) MarshalJSON added in v0.0.69

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

func (*MemberInfoStatus) UnmarshalJSON added in v0.0.69

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

func (MemberInfoStatus) Value added in v0.0.90

func (c MemberInfoStatus) Value() int32

type MemberInfoStatusEnum added in v0.0.69

type MemberInfoStatusEnum struct {
	E_1 MemberInfoStatus
	E_2 MemberInfoStatus
}

func GetMemberInfoStatusEnum added in v0.0.69

func GetMemberInfoStatusEnum() MemberInfoStatusEnum

type MembersBatchEnableOrDisable added in v0.1.7

type MembersBatchEnableOrDisable struct {

	// 后端服务器编号列表。
	MemberIds *[]string `json:"member_ids,omitempty"`
}

func (MembersBatchEnableOrDisable) String added in v0.1.7

type MetricData added in v0.1.7

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

func (o MetricData) String() string

type MicroServiceCreate added in v0.1.7

type MicroServiceCreate struct {

	// 微服务类型: - CSE:CSE微服务注册中心 - CCE:CCE云容器引擎
	ServiceType *MicroServiceCreateServiceType `json:"service_type,omitempty"`

	CseInfo *MicroServiceInfoCseBase `json:"cse_info,omitempty"`

	CceInfo *MicroServiceInfoCceBase `json:"cce_info,omitempty"`
}

func (MicroServiceCreate) String added in v0.1.7

func (o MicroServiceCreate) String() string

type MicroServiceCreateServiceType added in v0.1.7

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

func (MicroServiceCreateServiceType) MarshalJSON added in v0.1.7

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

func (*MicroServiceCreateServiceType) UnmarshalJSON added in v0.1.7

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

func (MicroServiceCreateServiceType) Value added in v0.1.7

type MicroServiceCreateServiceTypeEnum added in v0.1.7

type MicroServiceCreateServiceTypeEnum struct {
	CSE MicroServiceCreateServiceType
	CCE MicroServiceCreateServiceType
}

func GetMicroServiceCreateServiceTypeEnum added in v0.1.7

func GetMicroServiceCreateServiceTypeEnum() MicroServiceCreateServiceTypeEnum

type MicroServiceInfo added in v0.1.7

type MicroServiceInfo struct {

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

	// 微服务类型: - CSE:CSE微服务注册中心 - CCE:CCE云容器引擎
	ServiceType *MicroServiceInfoServiceType `json:"service_type,omitempty"`

	CseInfo *MicroServiceInfoCse `json:"cse_info,omitempty"`

	CceInfo *MicroServiceInfoCce `json:"cce_info,omitempty"`

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

	// 微服务创建时间
	CreateTime *sdktime.SdkTime `json:"create_time,omitempty"`
}

微服务的响应对象

func (MicroServiceInfo) String added in v0.1.7

func (o MicroServiceInfo) String() string

type MicroServiceInfoCce added in v0.1.7

type MicroServiceInfoCce struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 工作负载类型  - deployment:无状态负载  - statefulset:有状态负载  - daemonset:守护进程集
	WorkloadType MicroServiceInfoCceWorkloadType `json:"workload_type"`

	// APP名称
	AppName string `json:"app_name"`

	// 云容器引擎集群名称
	ClusterName *string `json:"cluster_name,omitempty"`
}

CCE微服务详细信息

func (MicroServiceInfoCce) String added in v0.1.7

func (o MicroServiceInfoCce) String() string

type MicroServiceInfoCceBase added in v0.1.7

type MicroServiceInfoCceBase struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 工作负载类型  - deployment:无状态负载  - statefulset:有状态负载  - daemonset:守护进程集
	WorkloadType MicroServiceInfoCceBaseWorkloadType `json:"workload_type"`

	// APP名称
	AppName string `json:"app_name"`
}

CCE云容器引擎详细信息,service_type为CCE时必填

func (MicroServiceInfoCceBase) String added in v0.1.7

func (o MicroServiceInfoCceBase) String() string

type MicroServiceInfoCceBaseWorkloadType added in v0.1.7

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

func (MicroServiceInfoCceBaseWorkloadType) MarshalJSON added in v0.1.7

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

func (*MicroServiceInfoCceBaseWorkloadType) UnmarshalJSON added in v0.1.7

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

func (MicroServiceInfoCceBaseWorkloadType) Value added in v0.1.7

type MicroServiceInfoCceBaseWorkloadTypeEnum added in v0.1.7

type MicroServiceInfoCceBaseWorkloadTypeEnum struct {
	DEPLOYMENT  MicroServiceInfoCceBaseWorkloadType
	STATEFULSET MicroServiceInfoCceBaseWorkloadType
	DAEMONSET   MicroServiceInfoCceBaseWorkloadType
}

func GetMicroServiceInfoCceBaseWorkloadTypeEnum added in v0.1.7

func GetMicroServiceInfoCceBaseWorkloadTypeEnum() MicroServiceInfoCceBaseWorkloadTypeEnum

type MicroServiceInfoCceCreate added in v0.1.7

type MicroServiceInfoCceCreate struct {

	// 云容器引擎集群编号
	ClusterId string `json:"cluster_id"`

	// 命名空间
	Namespace string `json:"namespace"`

	// 工作负载类型  - deployment:无状态负载  - statefulset:有状态负载  - daemonset:守护进程集
	WorkloadType MicroServiceInfoCceCreateWorkloadType `json:"workload_type"`

	// APP名称
	AppName string `json:"app_name"`

	// 工作负载的版本
	Version string `json:"version"`

	// 工作负载的监听端口号
	Port int32 `json:"port"`
}

func (MicroServiceInfoCceCreate) String added in v0.1.7

func (o MicroServiceInfoCceCreate) String() string

type MicroServiceInfoCceCreateWorkloadType added in v0.1.7

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

func (MicroServiceInfoCceCreateWorkloadType) MarshalJSON added in v0.1.7

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

func (*MicroServiceInfoCceCreateWorkloadType) UnmarshalJSON added in v0.1.7

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

func (MicroServiceInfoCceCreateWorkloadType) Value added in v0.1.7

type MicroServiceInfoCceCreateWorkloadTypeEnum added in v0.1.7

type MicroServiceInfoCceCreateWorkloadTypeEnum struct {
	DEPLOYMENT  MicroServiceInfoCceCreateWorkloadType
	STATEFULSET MicroServiceInfoCceCreateWorkloadType
	DAEMONSET   MicroServiceInfoCceCreateWorkloadType
}

func GetMicroServiceInfoCceCreateWorkloadTypeEnum added in v0.1.7

func GetMicroServiceInfoCceCreateWorkloadTypeEnum() MicroServiceInfoCceCreateWorkloadTypeEnum

type MicroServiceInfoCceWorkloadType added in v0.1.7

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

func (MicroServiceInfoCceWorkloadType) MarshalJSON added in v0.1.7

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

func (*MicroServiceInfoCceWorkloadType) UnmarshalJSON added in v0.1.7

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

func (MicroServiceInfoCceWorkloadType) Value added in v0.1.7

type MicroServiceInfoCceWorkloadTypeEnum added in v0.1.7

type MicroServiceInfoCceWorkloadTypeEnum struct {
	DEPLOYMENT  MicroServiceInfoCceWorkloadType
	STATEFULSET MicroServiceInfoCceWorkloadType
	DAEMONSET   MicroServiceInfoCceWorkloadType
}

func GetMicroServiceInfoCceWorkloadTypeEnum added in v0.1.7

func GetMicroServiceInfoCceWorkloadTypeEnum() MicroServiceInfoCceWorkloadTypeEnum

type MicroServiceInfoCse added in v0.1.7

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

CSE微服务详细信息

func (MicroServiceInfoCse) String added in v0.1.7

func (o MicroServiceInfoCse) String() string

type MicroServiceInfoCseBase added in v0.1.7

type MicroServiceInfoCseBase struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`
}

CSE微服务详细信息,service_type为CSE时必填

func (MicroServiceInfoCseBase) String added in v0.1.7

func (o MicroServiceInfoCseBase) String() string

type MicroServiceInfoCseCreate added in v0.1.7

type MicroServiceInfoCseCreate struct {

	// 微服务引擎编号
	EngineId string `json:"engine_id"`

	// 微服务编号
	ServiceId string `json:"service_id"`

	// 微服务版本
	Version string `json:"version"`
}

func (MicroServiceInfoCseCreate) String added in v0.1.7

func (o MicroServiceInfoCseCreate) String() string

type MicroServiceInfoServiceType added in v0.1.7

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

func (MicroServiceInfoServiceType) MarshalJSON added in v0.1.7

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

func (*MicroServiceInfoServiceType) UnmarshalJSON added in v0.1.7

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

func (MicroServiceInfoServiceType) Value added in v0.1.7

type MicroServiceInfoServiceTypeEnum added in v0.1.7

type MicroServiceInfoServiceTypeEnum struct {
	CSE MicroServiceInfoServiceType
	CCE MicroServiceInfoServiceType
}

func GetMicroServiceInfoServiceTypeEnum added in v0.1.7

func GetMicroServiceInfoServiceTypeEnum() MicroServiceInfoServiceTypeEnum

type MicroserviceApiCreate added in v0.1.7

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为服务集成预置的健康检查路径,当req_method=GET时不支持req_uri=/apic/health_check。 > 需要服从URI规范。
	ReqUri string `json:"req_uri"`

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

导入微服务创建单个API的对象

func (MicroserviceApiCreate) String added in v0.1.7

func (o MicroserviceApiCreate) String() string

type MicroserviceApiCreateMatchMode added in v0.1.7

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

func (MicroserviceApiCreateMatchMode) MarshalJSON added in v0.1.7

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

func (*MicroserviceApiCreateMatchMode) UnmarshalJSON added in v0.1.7

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

func (MicroserviceApiCreateMatchMode) Value added in v0.1.7

type MicroserviceApiCreateMatchModeEnum added in v0.1.7

type MicroserviceApiCreateMatchModeEnum struct {
	SWA    MicroserviceApiCreateMatchMode
	NORMAL MicroserviceApiCreateMatchMode
}

func GetMicroserviceApiCreateMatchModeEnum added in v0.1.7

func GetMicroserviceApiCreateMatchModeEnum() MicroserviceApiCreateMatchModeEnum

type MicroserviceApiCreateReqMethod added in v0.1.7

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

func (MicroserviceApiCreateReqMethod) MarshalJSON added in v0.1.7

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

func (*MicroserviceApiCreateReqMethod) UnmarshalJSON added in v0.1.7

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

func (MicroserviceApiCreateReqMethod) Value added in v0.1.7

type MicroserviceGroup added in v0.1.7

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

导入微服务的API分组信息

func (MicroserviceGroup) String added in v0.1.7

func (o MicroserviceGroup) String() string

type MicroserviceImportApiResp added in v0.1.7

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

导入的微服务API的响应对象

func (MicroserviceImportApiResp) String added in v0.1.7

func (o MicroserviceImportApiResp) String() string

type MicroserviceImportApiRespMatchMode added in v0.1.7

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

func (MicroserviceImportApiRespMatchMode) MarshalJSON added in v0.1.7

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

func (*MicroserviceImportApiRespMatchMode) UnmarshalJSON added in v0.1.7

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

func (MicroserviceImportApiRespMatchMode) Value added in v0.1.7

type MicroserviceImportApiRespMatchModeEnum added in v0.1.7

type MicroserviceImportApiRespMatchModeEnum struct {
	SWA    MicroserviceImportApiRespMatchMode
	NORMAL MicroserviceImportApiRespMatchMode
}

func GetMicroserviceImportApiRespMatchModeEnum added in v0.1.7

func GetMicroserviceImportApiRespMatchModeEnum() MicroserviceImportApiRespMatchModeEnum

type MicroserviceImportReq added in v0.1.7

type MicroserviceImportReq struct {
	GroupInfo *MicroserviceGroup `json:"group_info"`

	// 微服务中心类型。 - CSE:CSE微服务注册中心 - CCE: CCE云容器引擎
	ServiceType MicroserviceImportReqServiceType `json:"service_type"`

	// API网关访问微服务的请求协议 - HTTP - HTTPS
	Protocol *MicroserviceImportReqProtocol `json:"protocol,omitempty"`

	// 导入的api列表
	Apis []MicroserviceApiCreate `json:"apis"`

	// 服务集成请求后端服务的超时时间。最大超时时间可通过实例特性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"`
}

导入微服务的请求对象

func (MicroserviceImportReq) String added in v0.1.7

func (o MicroserviceImportReq) String() string

type MicroserviceImportReqAuthType added in v0.1.7

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

func (MicroserviceImportReqAuthType) MarshalJSON added in v0.1.7

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

func (*MicroserviceImportReqAuthType) UnmarshalJSON added in v0.1.7

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

func (MicroserviceImportReqAuthType) Value added in v0.1.7

type MicroserviceImportReqAuthTypeEnum added in v0.1.7

type MicroserviceImportReqAuthTypeEnum struct {
	NONE MicroserviceImportReqAuthType
	APP  MicroserviceImportReqAuthType
	IAM  MicroserviceImportReqAuthType
}

func GetMicroserviceImportReqAuthTypeEnum added in v0.1.7

func GetMicroserviceImportReqAuthTypeEnum() MicroserviceImportReqAuthTypeEnum

type MicroserviceImportReqProtocol added in v0.1.7

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

func (MicroserviceImportReqProtocol) MarshalJSON added in v0.1.7

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

func (*MicroserviceImportReqProtocol) UnmarshalJSON added in v0.1.7

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

func (MicroserviceImportReqProtocol) Value added in v0.1.7

type MicroserviceImportReqProtocolEnum added in v0.1.7

type MicroserviceImportReqProtocolEnum struct {
	HTTP  MicroserviceImportReqProtocol
	HTTPS MicroserviceImportReqProtocol
}

func GetMicroserviceImportReqProtocolEnum added in v0.1.7

func GetMicroserviceImportReqProtocolEnum() MicroserviceImportReqProtocolEnum

type MicroserviceImportReqServiceType added in v0.1.7

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

func (MicroserviceImportReqServiceType) MarshalJSON added in v0.1.7

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

func (*MicroserviceImportReqServiceType) UnmarshalJSON added in v0.1.7

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

func (MicroserviceImportReqServiceType) Value added in v0.1.7

type MicroserviceImportReqServiceTypeEnum added in v0.1.7

type MicroserviceImportReqServiceTypeEnum struct {
	CSE MicroserviceImportReqServiceType
	CCE MicroserviceImportReqServiceType
}

func GetMicroserviceImportReqServiceTypeEnum added in v0.1.7

func GetMicroserviceImportReqServiceTypeEnum() MicroserviceImportReqServiceTypeEnum

type NetworkTrafficStats added in v0.0.65

type NetworkTrafficStats struct {

	// 下行吞吐量(byte)
	OutputThroughput *int64 `json:"output_throughput,omitempty"`

	// 上行吞吐量(byte)
	InputThroughput *int64 `json:"input_throughput,omitempty"`
}

func (NetworkTrafficStats) String added in v0.0.65

func (o NetworkTrafficStats) String() string

type NodeIps added in v0.0.89

type NodeIps struct {

	// livedata节点IP地址列表
	Livedata *[]string `json:"livedata,omitempty"`

	// shubao节点IP地址列表
	Shubao *[]string `json:"shubao,omitempty"`
}

func (NodeIps) String added in v0.0.89

func (o NodeIps) String() string

type OpenEngressEipReq added in v0.0.65

type OpenEngressEipReq struct {

	// 出公网带宽  单位:Mbit/s
	BandwidthSize *string `json:"bandwidth_size,omitempty"`
}

func (OpenEngressEipReq) String added in v0.0.65

func (o OpenEngressEipReq) String() string

type PublishResp added in v0.0.69

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

func (o PublishResp) String() string

type RemoveEipV2Request added in v0.0.65

type RemoveEipV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (RemoveEipV2Request) String added in v0.0.65

func (o RemoveEipV2Request) String() string

type RemoveEipV2Response added in v0.0.65

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

Response Object

func (RemoveEipV2Response) String added in v0.0.65

func (o RemoveEipV2Response) String() string

type RemoveEngressEipV2Request added in v0.0.65

type RemoveEngressEipV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (RemoveEngressEipV2Request) String added in v0.0.65

func (o RemoveEngressEipV2Request) String() string

type RemoveEngressEipV2Response added in v0.0.65

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

Response Object

func (RemoveEngressEipV2Response) String added in v0.0.65

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

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

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

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

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

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

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

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

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

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

func (c ReqParamValidEnable) Value() int32

type ReqParamValidEnableEnum

type ReqParamValidEnableEnum struct {
	E_1 ReqParamValidEnable
	E_2 ReqParamValidEnable
}

func GetReqParamValidEnableEnum

func GetReqParamValidEnableEnum() ReqParamValidEnableEnum

type RequestCountStats added in v0.0.65

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

func (o RequestCountStats) String() string

type ResettingAppSecretV2Request

type ResettingAppSecretV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

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

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

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

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

type ResettingAppSecretV2ResponseCreatorEnum

type ResettingAppSecretV2ResponseCreatorEnum struct {
	USER   ResettingAppSecretV2ResponseCreator
	MARKET ResettingAppSecretV2ResponseCreator
}

func GetResettingAppSecretV2ResponseCreatorEnum

func GetResettingAppSecretV2ResponseCreatorEnum() ResettingAppSecretV2ResponseCreatorEnum

type ResettingAppSecretV2ResponseStatus added in v0.0.69

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

func (ResettingAppSecretV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*ResettingAppSecretV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (ResettingAppSecretV2ResponseStatus) Value added in v0.0.90

type ResettingAppSecretV2ResponseStatusEnum added in v0.0.69

type ResettingAppSecretV2ResponseStatusEnum struct {
	E_1 ResettingAppSecretV2ResponseStatus
}

func GetResettingAppSecretV2ResponseStatusEnum added in v0.0.69

func GetResettingAppSecretV2ResponseStatusEnum() ResettingAppSecretV2ResponseStatusEnum

type RespInstanceBase added in v0.0.65

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,hws_hk)[暂未使用](tag: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,hws_hk)[计费订单编号参数暂未使用](tag: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 added in v0.0.65

func (o RespInstanceBase) String() string

type RespInstanceBaseChargingMode added in v0.0.65

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

func (RespInstanceBaseChargingMode) MarshalJSON added in v0.0.65

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

func (*RespInstanceBaseChargingMode) UnmarshalJSON added in v0.0.65

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

func (RespInstanceBaseChargingMode) Value added in v0.0.90

type RespInstanceBaseChargingModeEnum added in v0.0.65

type RespInstanceBaseChargingModeEnum struct {
	E_0 RespInstanceBaseChargingMode
	E_1 RespInstanceBaseChargingMode
}

func GetRespInstanceBaseChargingModeEnum added in v0.0.65

func GetRespInstanceBaseChargingModeEnum() RespInstanceBaseChargingModeEnum

type RespInstanceBaseInstanceStatus added in v0.0.65

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

func (RespInstanceBaseInstanceStatus) MarshalJSON added in v0.0.65

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

func (*RespInstanceBaseInstanceStatus) UnmarshalJSON added in v0.0.65

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

func (RespInstanceBaseInstanceStatus) Value added in v0.0.90

type RespInstanceBaseLoadbalancerProvider added in v0.0.89

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

func (RespInstanceBaseLoadbalancerProvider) MarshalJSON added in v0.0.89

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

func (*RespInstanceBaseLoadbalancerProvider) UnmarshalJSON added in v0.0.89

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

func (RespInstanceBaseLoadbalancerProvider) Value added in v0.0.90

type RespInstanceBaseLoadbalancerProviderEnum added in v0.0.89

type RespInstanceBaseLoadbalancerProviderEnum struct {
	LVS RespInstanceBaseLoadbalancerProvider
	ELB RespInstanceBaseLoadbalancerProvider
}

func GetRespInstanceBaseLoadbalancerProviderEnum added in v0.0.89

func GetRespInstanceBaseLoadbalancerProviderEnum() RespInstanceBaseLoadbalancerProviderEnum

type RespInstanceBaseSpec added in v0.0.65

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

func (RespInstanceBaseSpec) MarshalJSON added in v0.0.65

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

func (*RespInstanceBaseSpec) UnmarshalJSON added in v0.0.65

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

func (RespInstanceBaseSpec) Value added in v0.0.90

func (c RespInstanceBaseSpec) Value() string

type RespInstanceBaseSpecEnum added in v0.0.65

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

func GetRespInstanceBaseSpecEnum() RespInstanceBaseSpecEnum

type RespInstanceBaseStatus added in v0.0.65

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

func (RespInstanceBaseStatus) MarshalJSON added in v0.0.65

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

func (*RespInstanceBaseStatus) UnmarshalJSON added in v0.0.65

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

func (RespInstanceBaseStatus) Value added in v0.0.90

func (c RespInstanceBaseStatus) Value() string

type RespInstanceBaseStatusEnum added in v0.0.65

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

func GetRespInstanceBaseStatusEnum() RespInstanceBaseStatusEnum

type ResponseInfo added in v0.0.65

type ResponseInfo struct {

	// 响应的HTTP状态码
	Status *int32 `json:"status,omitempty"`

	// 响应的Body模板
	Body *string `json:"body,omitempty"`
}

func (ResponseInfo) String added in v0.0.65

func (o ResponseInfo) String() string

type ResponseInfoResp added in v0.0.65

type ResponseInfoResp struct {

	// 响应的HTTP状态码
	Status *int32 `json:"status,omitempty"`

	// 响应的Body模板
	Body *string `json:"body,omitempty"`

	// 是否为默认响应
	Default *bool `json:"default,omitempty"`
}

func (ResponseInfoResp) String added in v0.0.65

func (o ResponseInfoResp) String() string

type ResponsesCreate added in v0.0.65

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  每项错误类型均为一个JSON体
	Responses map[string]ResponseInfo `json:"responses,omitempty"`
}

func (ResponsesCreate) String added in v0.0.65

func (o ResponsesCreate) String() string

type ResponsesInfo added in v0.1.3

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  每项错误类型均为一个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 added in v0.1.3

func (o ResponsesInfo) String() string

type ShowDetailsOfAclPolicyV2Request added in v0.0.65

type ShowDetailsOfAclPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`
}

Request Object

func (ShowDetailsOfAclPolicyV2Request) String added in v0.0.65

type ShowDetailsOfAclPolicyV2Response added in v0.0.65

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

Response Object

func (ShowDetailsOfAclPolicyV2Response) String added in v0.0.65

type ShowDetailsOfApiGroupV2Request

type ShowDetailsOfApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`
}

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

Response Object

func (ShowDetailsOfApiGroupV2Response) String

type ShowDetailsOfApiGroupV2ResponseStatus added in v0.0.69

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

func (ShowDetailsOfApiGroupV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*ShowDetailsOfApiGroupV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (ShowDetailsOfApiGroupV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfApiGroupV2ResponseStatusEnum added in v0.0.69

type ShowDetailsOfApiGroupV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfApiGroupV2ResponseStatus
}

func GetShowDetailsOfApiGroupV2ResponseStatusEnum added in v0.0.69

func GetShowDetailsOfApiGroupV2ResponseStatusEnum() ShowDetailsOfApiGroupV2ResponseStatusEnum

type ShowDetailsOfApiV2Request

type ShowDetailsOfApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`
}

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

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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:"-"`
}

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

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

type ShowDetailsOfApiV2ResponseContentType added in v0.0.76

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

func (ShowDetailsOfApiV2ResponseContentType) MarshalJSON added in v0.0.76

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

func (*ShowDetailsOfApiV2ResponseContentType) UnmarshalJSON added in v0.0.76

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

func (ShowDetailsOfApiV2ResponseContentType) Value added in v0.0.90

type ShowDetailsOfApiV2ResponseContentTypeEnum added in v0.0.76

type ShowDetailsOfApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    ShowDetailsOfApiV2ResponseContentType
	APPLICATION_XML     ShowDetailsOfApiV2ResponseContentType
	MULTIPART_FORM_DATE ShowDetailsOfApiV2ResponseContentType
	TEXT_PLAIN          ShowDetailsOfApiV2ResponseContentType
}

func GetShowDetailsOfApiV2ResponseContentTypeEnum added in v0.0.76

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

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

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

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

type ShowDetailsOfApiV2ResponseTypeEnum

type ShowDetailsOfApiV2ResponseTypeEnum struct {
	E_1 ShowDetailsOfApiV2ResponseType
	E_2 ShowDetailsOfApiV2ResponseType
}

func GetShowDetailsOfApiV2ResponseTypeEnum

func GetShowDetailsOfApiV2ResponseTypeEnum() ShowDetailsOfApiV2ResponseTypeEnum

type ShowDetailsOfAppCodeV2Request added in v0.0.65

type ShowDetailsOfAppCodeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	// APP Code编号
	AppCodeId string `json:"app_code_id"`
}

Request Object

func (ShowDetailsOfAppCodeV2Request) String added in v0.0.65

type ShowDetailsOfAppCodeV2Response added in v0.0.65

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

Response Object

func (ShowDetailsOfAppCodeV2Response) String added in v0.0.65

type ShowDetailsOfAppV2Request

type ShowDetailsOfAppV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`
}

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

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

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

type ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseCreatorEnum struct {
	USER   ShowDetailsOfAppV2ResponseCreator
	MARKET ShowDetailsOfAppV2ResponseCreator
}

func GetShowDetailsOfAppV2ResponseCreatorEnum

func GetShowDetailsOfAppV2ResponseCreatorEnum() ShowDetailsOfAppV2ResponseCreatorEnum

type ShowDetailsOfAppV2ResponseStatus added in v0.0.69

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

func (ShowDetailsOfAppV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*ShowDetailsOfAppV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (ShowDetailsOfAppV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfAppV2ResponseStatusEnum added in v0.0.69

type ShowDetailsOfAppV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfAppV2ResponseStatus
}

func GetShowDetailsOfAppV2ResponseStatusEnum added in v0.0.69

func GetShowDetailsOfAppV2ResponseStatusEnum() ShowDetailsOfAppV2ResponseStatusEnum

type ShowDetailsOfCertificateV2Request added in v0.1.7

type ShowDetailsOfCertificateV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

Request Object

func (ShowDetailsOfCertificateV2Request) String added in v0.1.7

type ShowDetailsOfCertificateV2Response added in v0.1.7

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

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

Response Object

func (ShowDetailsOfCertificateV2Response) String added in v0.1.7

type ShowDetailsOfCertificateV2ResponseType added in v0.1.7

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

func (ShowDetailsOfCertificateV2ResponseType) MarshalJSON added in v0.1.7

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

func (*ShowDetailsOfCertificateV2ResponseType) UnmarshalJSON added in v0.1.7

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

func (ShowDetailsOfCertificateV2ResponseType) Value added in v0.1.7

type ShowDetailsOfCertificateV2ResponseTypeEnum added in v0.1.7

type ShowDetailsOfCertificateV2ResponseTypeEnum struct {
	GLOBAL   ShowDetailsOfCertificateV2ResponseType
	INSTANCE ShowDetailsOfCertificateV2ResponseType
}

func GetShowDetailsOfCertificateV2ResponseTypeEnum added in v0.1.7

func GetShowDetailsOfCertificateV2ResponseTypeEnum() ShowDetailsOfCertificateV2ResponseTypeEnum

type ShowDetailsOfCustomAuthorizersV2Request added in v0.0.65

type ShowDetailsOfCustomAuthorizersV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`
}

Request Object

func (ShowDetailsOfCustomAuthorizersV2Request) String added in v0.0.65

type ShowDetailsOfCustomAuthorizersV2Response added in v0.0.65

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

Response Object

func (ShowDetailsOfCustomAuthorizersV2Response) String added in v0.0.65

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType added in v0.0.65

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

func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) MarshalJSON added in v0.0.65

func (*ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType) Value added in v0.0.90

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum added in v0.0.65

type ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum struct {
	FUNC ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerType
}

func GetShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum added in v0.0.65

func GetShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum() ShowDetailsOfCustomAuthorizersV2ResponseAuthorizerTypeEnum

type ShowDetailsOfCustomAuthorizersV2ResponseType added in v0.0.65

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

func (ShowDetailsOfCustomAuthorizersV2ResponseType) MarshalJSON added in v0.0.65

func (*ShowDetailsOfCustomAuthorizersV2ResponseType) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfCustomAuthorizersV2ResponseType) Value added in v0.0.90

type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum added in v0.0.65

type ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum struct {
	FRONTEND ShowDetailsOfCustomAuthorizersV2ResponseType
	BACKEND  ShowDetailsOfCustomAuthorizersV2ResponseType
}

func GetShowDetailsOfCustomAuthorizersV2ResponseTypeEnum added in v0.0.65

func GetShowDetailsOfCustomAuthorizersV2ResponseTypeEnum() ShowDetailsOfCustomAuthorizersV2ResponseTypeEnum

type ShowDetailsOfDomainNameCertificateV2Request

type ShowDetailsOfDomainNameCertificateV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 域名的编号
	DomainId string `json:"domain_id"`

	// 证书的编号
	CertificateId string `json:"certificate_id"`
}

Request Object

func (ShowDetailsOfDomainNameCertificateV2Request) String

type ShowDetailsOfDomainNameCertificateV2Response

type ShowDetailsOfDomainNameCertificateV2Response struct {

	// 证书域名
	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:"-"`
}

Response Object

func (ShowDetailsOfDomainNameCertificateV2Response) String

type ShowDetailsOfEnvironmentVariableV2Request

type ShowDetailsOfEnvironmentVariableV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境变量的编号
	EnvVariableId string `json:"env_variable_id"`
}

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

Response Object

func (ShowDetailsOfEnvironmentVariableV2Response) String

type ShowDetailsOfGatewayResponseTypeV2Request added in v0.0.65

type ShowDetailsOfGatewayResponseTypeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 响应编号
	ResponseId string `json:"response_id"`

	// 错误类型
	ResponseType ShowDetailsOfGatewayResponseTypeV2RequestResponseType `json:"response_type"`
}

Request Object

func (ShowDetailsOfGatewayResponseTypeV2Request) String added in v0.0.65

type ShowDetailsOfGatewayResponseTypeV2RequestResponseType added in v0.0.65

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

func (ShowDetailsOfGatewayResponseTypeV2RequestResponseType) MarshalJSON added in v0.0.65

func (*ShowDetailsOfGatewayResponseTypeV2RequestResponseType) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfGatewayResponseTypeV2RequestResponseType) Value added in v0.0.90

type ShowDetailsOfGatewayResponseTypeV2Response added in v0.0.65

type ShowDetailsOfGatewayResponseTypeV2Response struct {
	Body           map[string]ResponseInfoResp `json:"body,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (ShowDetailsOfGatewayResponseTypeV2Response) String added in v0.0.65

type ShowDetailsOfGatewayResponseV2Request added in v0.0.65

type ShowDetailsOfGatewayResponseV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// 响应编号
	ResponseId string `json:"response_id"`
}

Request Object

func (ShowDetailsOfGatewayResponseV2Request) String added in v0.0.65

type ShowDetailsOfGatewayResponseV2Response added in v0.0.65

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  每项错误类型均为一个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:"-"`
}

Response Object

func (ShowDetailsOfGatewayResponseV2Response) String added in v0.0.65

type ShowDetailsOfInstanceProgressV2Request added in v0.0.65

type ShowDetailsOfInstanceProgressV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowDetailsOfInstanceProgressV2Request) String added in v0.0.65

type ShowDetailsOfInstanceProgressV2Response added in v0.0.65

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

Response Object

func (ShowDetailsOfInstanceProgressV2Response) String added in v0.0.65

type ShowDetailsOfInstanceProgressV2ResponseProgress added in v0.0.65

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

func (ShowDetailsOfInstanceProgressV2ResponseProgress) MarshalJSON added in v0.0.65

func (*ShowDetailsOfInstanceProgressV2ResponseProgress) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfInstanceProgressV2ResponseProgress) Value added in v0.0.90

type ShowDetailsOfInstanceProgressV2ResponseStatus added in v0.0.65

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

func (ShowDetailsOfInstanceProgressV2ResponseStatus) MarshalJSON added in v0.0.65

func (*ShowDetailsOfInstanceProgressV2ResponseStatus) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfInstanceProgressV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfInstanceProgressV2ResponseStatusEnum added in v0.0.65

type ShowDetailsOfInstanceProgressV2ResponseStatusEnum struct {
	CREATING ShowDetailsOfInstanceProgressV2ResponseStatus
	SUCCESS  ShowDetailsOfInstanceProgressV2ResponseStatus
	FAILED   ShowDetailsOfInstanceProgressV2ResponseStatus
}

func GetShowDetailsOfInstanceProgressV2ResponseStatusEnum added in v0.0.65

func GetShowDetailsOfInstanceProgressV2ResponseStatusEnum() ShowDetailsOfInstanceProgressV2ResponseStatusEnum

type ShowDetailsOfInstanceV2Request added in v0.0.65

type ShowDetailsOfInstanceV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`
}

Request Object

func (ShowDetailsOfInstanceV2Request) String added in v0.0.65

type ShowDetailsOfInstanceV2Response added in v0.0.65

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,hws_hk)[暂未使用](tag: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,hws_hk)[计费订单编号参数暂未使用](tag: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"`

	// 可用区
	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"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (ShowDetailsOfInstanceV2Response) String added in v0.0.65

type ShowDetailsOfInstanceV2ResponseChargingMode added in v0.0.65

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

func (ShowDetailsOfInstanceV2ResponseChargingMode) MarshalJSON added in v0.0.65

func (*ShowDetailsOfInstanceV2ResponseChargingMode) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfInstanceV2ResponseChargingMode) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseChargingModeEnum added in v0.0.65

type ShowDetailsOfInstanceV2ResponseChargingModeEnum struct {
	E_0 ShowDetailsOfInstanceV2ResponseChargingMode
	E_1 ShowDetailsOfInstanceV2ResponseChargingMode
}

func GetShowDetailsOfInstanceV2ResponseChargingModeEnum added in v0.0.65

func GetShowDetailsOfInstanceV2ResponseChargingModeEnum() ShowDetailsOfInstanceV2ResponseChargingModeEnum

type ShowDetailsOfInstanceV2ResponseInstanceStatus added in v0.0.65

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

func (ShowDetailsOfInstanceV2ResponseInstanceStatus) MarshalJSON added in v0.0.65

func (*ShowDetailsOfInstanceV2ResponseInstanceStatus) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfInstanceV2ResponseInstanceStatus) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseInstanceStatusEnum added in v0.0.65

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

func GetShowDetailsOfInstanceV2ResponseInstanceStatusEnum() ShowDetailsOfInstanceV2ResponseInstanceStatusEnum

type ShowDetailsOfInstanceV2ResponseLoadbalancerProvider added in v0.0.89

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

func (ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) MarshalJSON added in v0.0.89

func (*ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON added in v0.0.89

func (ShowDetailsOfInstanceV2ResponseLoadbalancerProvider) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum added in v0.0.89

type ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum struct {
	LVS ShowDetailsOfInstanceV2ResponseLoadbalancerProvider
	ELB ShowDetailsOfInstanceV2ResponseLoadbalancerProvider
}

func GetShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum added in v0.0.89

func GetShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum() ShowDetailsOfInstanceV2ResponseLoadbalancerProviderEnum

type ShowDetailsOfInstanceV2ResponseSpec added in v0.0.65

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

func (ShowDetailsOfInstanceV2ResponseSpec) MarshalJSON added in v0.0.65

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

func (*ShowDetailsOfInstanceV2ResponseSpec) UnmarshalJSON added in v0.0.65

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

func (ShowDetailsOfInstanceV2ResponseSpec) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseStatus added in v0.0.65

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

func (ShowDetailsOfInstanceV2ResponseStatus) MarshalJSON added in v0.0.65

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

func (*ShowDetailsOfInstanceV2ResponseStatus) UnmarshalJSON added in v0.0.65

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

func (ShowDetailsOfInstanceV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfInstanceV2ResponseStatusEnum added in v0.0.65

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

func GetShowDetailsOfInstanceV2ResponseStatusEnum() ShowDetailsOfInstanceV2ResponseStatusEnum

type ShowDetailsOfMemberGroupRequest added in v0.1.7

type ShowDetailsOfMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`
}

Request Object

func (ShowDetailsOfMemberGroupRequest) String added in v0.1.7

type ShowDetailsOfMemberGroupResponse added in v0.1.7

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通道后端服务器组编号
	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:"-"`
}

Response Object

func (ShowDetailsOfMemberGroupResponse) String added in v0.1.7

type ShowDetailsOfRequestThrottlingPolicyV2Request

type ShowDetailsOfRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`
}

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

Response Object

func (ShowDetailsOfRequestThrottlingPolicyV2Response) String

type ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle added in v0.0.69

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

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON added in v0.0.69

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON added in v0.0.69

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value added in v0.0.90

type ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit

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

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseTimeUnit) Value added in v0.0.90

type ShowDetailsOfRequestThrottlingPolicyV2ResponseType

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

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*ShowDetailsOfRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (ShowDetailsOfRequestThrottlingPolicyV2ResponseType) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2Request added in v0.0.65

type ShowDetailsOfVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

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

Request Object

func (ShowDetailsOfVpcChannelV2Request) String added in v0.0.65

type ShowDetailsOfVpcChannelV2Response added in v0.0.65

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通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	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"`

	// vpc通道类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`

	// 后端实例列表。
	Members *[]VpcMemberInfo `json:"members,omitempty"`

	VpcHealthConfig *VpcHealthConfigInfo `json:"vpc_health_config,omitempty"`
	HttpStatusCode  int                  `json:"-"`
}

Response Object

func (ShowDetailsOfVpcChannelV2Response) String added in v0.0.65

type ShowDetailsOfVpcChannelV2ResponseBalanceStrategy added in v0.0.65

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

func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) MarshalJSON added in v0.0.65

func (*ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfVpcChannelV2ResponseBalanceStrategy) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2ResponseMemberType added in v0.0.65

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

func (ShowDetailsOfVpcChannelV2ResponseMemberType) MarshalJSON added in v0.0.65

func (*ShowDetailsOfVpcChannelV2ResponseMemberType) UnmarshalJSON added in v0.0.65

func (ShowDetailsOfVpcChannelV2ResponseMemberType) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum added in v0.0.65

type ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum struct {
	IP  ShowDetailsOfVpcChannelV2ResponseMemberType
	ECS ShowDetailsOfVpcChannelV2ResponseMemberType
}

func GetShowDetailsOfVpcChannelV2ResponseMemberTypeEnum added in v0.0.65

func GetShowDetailsOfVpcChannelV2ResponseMemberTypeEnum() ShowDetailsOfVpcChannelV2ResponseMemberTypeEnum

type ShowDetailsOfVpcChannelV2ResponseStatus added in v0.0.69

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

func (ShowDetailsOfVpcChannelV2ResponseStatus) MarshalJSON added in v0.0.69

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

func (*ShowDetailsOfVpcChannelV2ResponseStatus) UnmarshalJSON added in v0.0.69

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

func (ShowDetailsOfVpcChannelV2ResponseStatus) Value added in v0.0.90

type ShowDetailsOfVpcChannelV2ResponseStatusEnum added in v0.0.69

type ShowDetailsOfVpcChannelV2ResponseStatusEnum struct {
	E_1 ShowDetailsOfVpcChannelV2ResponseStatus
	E_2 ShowDetailsOfVpcChannelV2ResponseStatus
}

func GetShowDetailsOfVpcChannelV2ResponseStatusEnum added in v0.0.69

func GetShowDetailsOfVpcChannelV2ResponseStatusEnum() ShowDetailsOfVpcChannelV2ResponseStatusEnum

type SignApiBinding added in v0.0.69

type SignApiBinding struct {

	// 签名密钥编号
	SignId string `json:"sign_id"`

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

func (SignApiBinding) String added in v0.0.69

func (o SignApiBinding) String() string

type SignApiBindingBase added in v0.0.69

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

func (o SignApiBindingBase) String() string

type SignApiBindingInfo added in v0.0.69

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

func (o SignApiBindingInfo) String() string

type SignApiBindingInfoSignType added in v0.0.69

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

func (SignApiBindingInfoSignType) MarshalJSON added in v0.0.69

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

func (*SignApiBindingInfoSignType) UnmarshalJSON added in v0.0.69

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

func (SignApiBindingInfoSignType) Value added in v0.0.90

type SignApiBindingInfoSignTypeEnum added in v0.0.69

type SignApiBindingInfoSignTypeEnum struct {
	HMAC       SignApiBindingInfoSignType
	BASIC      SignApiBindingInfoSignType
	PUBLIC_KEY SignApiBindingInfoSignType
	AES        SignApiBindingInfoSignType
}

func GetSignApiBindingInfoSignTypeEnum added in v0.0.69

func GetSignApiBindingInfoSignTypeEnum() SignApiBindingInfoSignTypeEnum

type SignApiBindingResult added in v0.0.69

type SignApiBindingResult struct {

	// API与签名密钥的绑定关系列表
	Bindings *[]SignApiBindingInfo `json:"bindings,omitempty"`
}

func (SignApiBindingResult) String added in v0.0.69

func (o SignApiBindingResult) String() string

type Signature added in v0.0.69

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

func (o Signature) String() string

type SignatureSignAlgorithm added in v0.0.69

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

func (SignatureSignAlgorithm) MarshalJSON added in v0.0.69

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

func (*SignatureSignAlgorithm) UnmarshalJSON added in v0.0.69

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

func (SignatureSignAlgorithm) Value added in v0.0.90

func (c SignatureSignAlgorithm) Value() string

type SignatureSignAlgorithmEnum added in v0.0.69

type SignatureSignAlgorithmEnum struct {
	AES_128_CFB SignatureSignAlgorithm
	AES_256_CFB SignatureSignAlgorithm
}

func GetSignatureSignAlgorithmEnum added in v0.0.69

func GetSignatureSignAlgorithmEnum() SignatureSignAlgorithmEnum

type SignatureSignType added in v0.0.69

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

func (SignatureSignType) MarshalJSON added in v0.0.69

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

func (*SignatureSignType) UnmarshalJSON added in v0.0.69

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

func (SignatureSignType) Value added in v0.0.90

func (c SignatureSignType) Value() string

type SignatureSignTypeEnum added in v0.0.69

type SignatureSignTypeEnum struct {
	HMAC       SignatureSignType
	BASIC      SignatureSignType
	PUBLIC_KEY SignatureSignType
	AES        SignatureSignType
}

func GetSignatureSignTypeEnum added in v0.0.69

func GetSignatureSignTypeEnum() SignatureSignTypeEnum

type SignatureWithBindNum added in v0.0.69

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

func (o SignatureWithBindNum) String() string

type SignatureWithBindNumSignAlgorithm added in v0.0.69

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

func (SignatureWithBindNumSignAlgorithm) MarshalJSON added in v0.0.69

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

func (*SignatureWithBindNumSignAlgorithm) UnmarshalJSON added in v0.0.69

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

func (SignatureWithBindNumSignAlgorithm) Value added in v0.0.90

type SignatureWithBindNumSignAlgorithmEnum added in v0.0.69

type SignatureWithBindNumSignAlgorithmEnum struct {
	AES_128_CFB SignatureWithBindNumSignAlgorithm
	AES_256_CFB SignatureWithBindNumSignAlgorithm
}

func GetSignatureWithBindNumSignAlgorithmEnum added in v0.0.69

func GetSignatureWithBindNumSignAlgorithmEnum() SignatureWithBindNumSignAlgorithmEnum

type SignatureWithBindNumSignType added in v0.0.69

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

func (SignatureWithBindNumSignType) MarshalJSON added in v0.0.69

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

func (*SignatureWithBindNumSignType) UnmarshalJSON added in v0.0.69

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

func (SignatureWithBindNumSignType) Value added in v0.0.90

type SignatureWithBindNumSignTypeEnum added in v0.0.69

type SignatureWithBindNumSignTypeEnum struct {
	HMAC       SignatureWithBindNumSignType
	BASIC      SignatureWithBindNumSignType
	PUBLIC_KEY SignatureWithBindNumSignType
	AES        SignatureWithBindNumSignType
}

func GetSignatureWithBindNumSignTypeEnum added in v0.0.69

func GetSignatureWithBindNumSignTypeEnum() SignatureWithBindNumSignTypeEnum

type StatisticsApi added in v0.0.65

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

func (o StatisticsApi) String() string

type StatisticsApiCycle added in v0.0.65

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

func (StatisticsApiCycle) MarshalJSON added in v0.0.65

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

func (*StatisticsApiCycle) UnmarshalJSON added in v0.0.65

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

func (StatisticsApiCycle) Value added in v0.0.90

func (c StatisticsApiCycle) Value() string

type StatisticsApiCycleEnum added in v0.0.65

type StatisticsApiCycleEnum struct {
	MINUTE StatisticsApiCycle
	HOUR   StatisticsApiCycle
	DAY    StatisticsApiCycle
}

func GetStatisticsApiCycleEnum added in v0.0.65

func GetStatisticsApiCycleEnum() StatisticsApiCycleEnum

type StatisticsGroup added in v0.0.65

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

func (o StatisticsGroup) String() string

type Success added in v0.0.69

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

func (o Success) String() string

type SuccessAction added in v0.0.69

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

func (SuccessAction) MarshalJSON added in v0.0.69

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

func (*SuccessAction) UnmarshalJSON added in v0.0.69

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

func (SuccessAction) Value added in v0.0.90

func (c SuccessAction) Value() string

type SuccessActionEnum added in v0.0.69

type SuccessActionEnum struct {
	UPDATE SuccessAction
	CREATE SuccessAction
}

func GetSuccessActionEnum added in v0.0.69

func GetSuccessActionEnum() SuccessActionEnum

type Swagger added in v0.0.69

type Swagger struct {

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

	// 导入结果说明
	Result *string `json:"result,omitempty"`
}

swagger文档导入结果 暂不支持

func (Swagger) String added in v0.0.69

func (o Swagger) String() string

type ThrottleApiBinding added in v0.0.69

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

func (o ThrottleApiBinding) String() string

type ThrottleApiBindingCreate added in v0.0.69

type ThrottleApiBindingCreate struct {

	// 流控策略编号
	StrategyId string `json:"strategy_id"`

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

func (ThrottleApiBindingCreate) String added in v0.0.69

func (o ThrottleApiBindingCreate) String() string

type ThrottleApiBindingScope added in v0.0.69

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

func (ThrottleApiBindingScope) MarshalJSON added in v0.0.69

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

func (*ThrottleApiBindingScope) UnmarshalJSON added in v0.0.69

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

func (ThrottleApiBindingScope) Value added in v0.0.90

func (c ThrottleApiBindingScope) Value() int32

type ThrottleApiBindingScopeEnum added in v0.0.69

type ThrottleApiBindingScopeEnum struct {
	E_1 ThrottleApiBindingScope
	E_2 ThrottleApiBindingScope
	E_3 ThrottleApiBindingScope
}

func GetThrottleApiBindingScopeEnum added in v0.0.69

func GetThrottleApiBindingScopeEnum() ThrottleApiBindingScopeEnum

type ThrottleBaseInfo added in v0.0.69

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

func (o ThrottleBaseInfo) String() string

type ThrottleBaseInfoTimeUnit added in v0.0.69

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

func (ThrottleBaseInfoTimeUnit) MarshalJSON added in v0.0.69

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

func (*ThrottleBaseInfoTimeUnit) UnmarshalJSON added in v0.0.69

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

func (ThrottleBaseInfoTimeUnit) Value added in v0.0.90

func (c ThrottleBaseInfoTimeUnit) Value() string

type ThrottleBaseInfoTimeUnitEnum added in v0.0.69

type ThrottleBaseInfoTimeUnitEnum struct {
	SECOND ThrottleBaseInfoTimeUnit
	MINUTE ThrottleBaseInfoTimeUnit
	HOUR   ThrottleBaseInfoTimeUnit
	DAY    ThrottleBaseInfoTimeUnit
}

func GetThrottleBaseInfoTimeUnitEnum added in v0.0.69

func GetThrottleBaseInfoTimeUnitEnum() ThrottleBaseInfoTimeUnitEnum

type ThrottleBaseInfoType added in v0.0.69

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

func (ThrottleBaseInfoType) MarshalJSON added in v0.0.69

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

func (*ThrottleBaseInfoType) UnmarshalJSON added in v0.0.69

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

func (ThrottleBaseInfoType) Value added in v0.0.90

func (c ThrottleBaseInfoType) Value() int32

type ThrottleBaseInfoTypeEnum added in v0.0.69

type ThrottleBaseInfoTypeEnum struct {
	E_1 ThrottleBaseInfoType
	E_2 ThrottleBaseInfoType
}

func GetThrottleBaseInfoTypeEnum added in v0.0.69

func GetThrottleBaseInfoTypeEnum() ThrottleBaseInfoTypeEnum

type ThrottleBindingBatchDelete

type ThrottleBindingBatchDelete struct {

	// 需要解除绑定的API和流控策略绑定关系ID列表
	ThrottleBindings *[]string `json:"throttle_bindings,omitempty"`
}

func (ThrottleBindingBatchDelete) String

type ThrottleBindingBatchFailure added in v0.0.69

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

type ThrottleForApi added in v0.0.69

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

func (o ThrottleForApi) String() string

type ThrottleForApiIsIncluSpecialThrottle added in v0.0.69

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

func (ThrottleForApiIsIncluSpecialThrottle) MarshalJSON added in v0.0.69

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

func (*ThrottleForApiIsIncluSpecialThrottle) UnmarshalJSON added in v0.0.69

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

func (ThrottleForApiIsIncluSpecialThrottle) Value added in v0.0.90

type ThrottleForApiIsIncluSpecialThrottleEnum added in v0.0.69

type ThrottleForApiIsIncluSpecialThrottleEnum struct {
	E_1 ThrottleForApiIsIncluSpecialThrottle
	E_2 ThrottleForApiIsIncluSpecialThrottle
}

func GetThrottleForApiIsIncluSpecialThrottleEnum added in v0.0.69

func GetThrottleForApiIsIncluSpecialThrottleEnum() ThrottleForApiIsIncluSpecialThrottleEnum

type ThrottleForApiTimeUnit added in v0.0.69

type ThrottleForApiTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiTimeUnit) MarshalJSON added in v0.0.69

func (c ThrottleForApiTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottleForApiTimeUnit) UnmarshalJSON added in v0.0.69

func (c *ThrottleForApiTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottleForApiTimeUnit) Value added in v0.0.90

func (c ThrottleForApiTimeUnit) Value() string

type ThrottleForApiTimeUnitEnum added in v0.0.69

type ThrottleForApiTimeUnitEnum struct {
	SECOND ThrottleForApiTimeUnit
	MINUTE ThrottleForApiTimeUnit
	HOUR   ThrottleForApiTimeUnit
	DAY    ThrottleForApiTimeUnit
}

func GetThrottleForApiTimeUnitEnum added in v0.0.69

func GetThrottleForApiTimeUnitEnum() ThrottleForApiTimeUnitEnum

type ThrottleForApiType added in v0.0.69

type ThrottleForApiType struct {
	// contains filtered or unexported fields
}

func (ThrottleForApiType) MarshalJSON added in v0.0.69

func (c ThrottleForApiType) MarshalJSON() ([]byte, error)

func (*ThrottleForApiType) UnmarshalJSON added in v0.0.69

func (c *ThrottleForApiType) UnmarshalJSON(b []byte) error

func (ThrottleForApiType) Value added in v0.0.90

func (c ThrottleForApiType) Value() int32

type ThrottleForApiTypeEnum added in v0.0.69

type ThrottleForApiTypeEnum struct {
	E_1 ThrottleForApiType
	E_2 ThrottleForApiType
}

func GetThrottleForApiTypeEnum added in v0.0.69

func GetThrottleForApiTypeEnum() ThrottleForApiTypeEnum

type ThrottleSpecialBase added in v0.0.69

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 added in v0.0.69

func (o ThrottleSpecialBase) String() string

type ThrottleSpecialCreate added in v0.0.69

type ThrottleSpecialCreate struct {

	// 流控时间内特殊对象能够访问API的最大次数限制
	CallLimits int32 `json:"call_limits"`

	// 特殊APP的编号或特殊租户的帐号ID
	ObjectId string `json:"object_id"`

	// 特殊对象类型
	ObjectType ThrottleSpecialCreateObjectType `json:"object_type"`
}

func (ThrottleSpecialCreate) String added in v0.0.69

func (o ThrottleSpecialCreate) String() string

type ThrottleSpecialCreateObjectType added in v0.0.69

type ThrottleSpecialCreateObjectType struct {
	// contains filtered or unexported fields
}

func (ThrottleSpecialCreateObjectType) MarshalJSON added in v0.0.69

func (c ThrottleSpecialCreateObjectType) MarshalJSON() ([]byte, error)

func (*ThrottleSpecialCreateObjectType) UnmarshalJSON added in v0.0.69

func (c *ThrottleSpecialCreateObjectType) UnmarshalJSON(b []byte) error

func (ThrottleSpecialCreateObjectType) Value added in v0.0.90

type ThrottleSpecialCreateObjectTypeEnum added in v0.0.69

type ThrottleSpecialCreateObjectTypeEnum struct {
	APP  ThrottleSpecialCreateObjectType
	USER ThrottleSpecialCreateObjectType
}

func GetThrottleSpecialCreateObjectTypeEnum added in v0.0.69

func GetThrottleSpecialCreateObjectTypeEnum() ThrottleSpecialCreateObjectTypeEnum

type ThrottleSpecialInfo added in v0.0.69

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 added in v0.0.69

func (o ThrottleSpecialInfo) String() string

type ThrottleSpecialUpdate added in v0.0.69

type ThrottleSpecialUpdate struct {

	// 流控时间内特殊对象能够访问API的最大次数限制
	CallLimits int64 `json:"call_limits"`
}

func (ThrottleSpecialUpdate) String added in v0.0.69

func (o ThrottleSpecialUpdate) String() string

type ThrottlesInfo added in v0.0.69

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 added in v0.0.69

func (o ThrottlesInfo) String() string

type ThrottlesInfoIsIncluSpecialThrottle added in v0.0.69

type ThrottlesInfoIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON added in v0.0.69

func (c ThrottlesInfoIsIncluSpecialThrottle) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON added in v0.0.69

func (c *ThrottlesInfoIsIncluSpecialThrottle) UnmarshalJSON(b []byte) error

func (ThrottlesInfoIsIncluSpecialThrottle) Value added in v0.0.90

type ThrottlesInfoIsIncluSpecialThrottleEnum added in v0.0.69

type ThrottlesInfoIsIncluSpecialThrottleEnum struct {
	E_1 ThrottlesInfoIsIncluSpecialThrottle
	E_2 ThrottlesInfoIsIncluSpecialThrottle
}

func GetThrottlesInfoIsIncluSpecialThrottleEnum added in v0.0.69

func GetThrottlesInfoIsIncluSpecialThrottleEnum() ThrottlesInfoIsIncluSpecialThrottleEnum

type ThrottlesInfoTimeUnit added in v0.0.69

type ThrottlesInfoTimeUnit struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoTimeUnit) MarshalJSON added in v0.0.69

func (c ThrottlesInfoTimeUnit) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoTimeUnit) UnmarshalJSON added in v0.0.69

func (c *ThrottlesInfoTimeUnit) UnmarshalJSON(b []byte) error

func (ThrottlesInfoTimeUnit) Value added in v0.0.90

func (c ThrottlesInfoTimeUnit) Value() string

type ThrottlesInfoTimeUnitEnum added in v0.0.69

type ThrottlesInfoTimeUnitEnum struct {
	SECOND ThrottlesInfoTimeUnit
	MINUTE ThrottlesInfoTimeUnit
	HOUR   ThrottlesInfoTimeUnit
	DAY    ThrottlesInfoTimeUnit
}

func GetThrottlesInfoTimeUnitEnum added in v0.0.69

func GetThrottlesInfoTimeUnitEnum() ThrottlesInfoTimeUnitEnum

type ThrottlesInfoType added in v0.0.69

type ThrottlesInfoType struct {
	// contains filtered or unexported fields
}

func (ThrottlesInfoType) MarshalJSON added in v0.0.69

func (c ThrottlesInfoType) MarshalJSON() ([]byte, error)

func (*ThrottlesInfoType) UnmarshalJSON added in v0.0.69

func (c *ThrottlesInfoType) UnmarshalJSON(b []byte) error

func (ThrottlesInfoType) Value added in v0.0.90

func (c ThrottlesInfoType) Value() int32

type ThrottlesInfoTypeEnum added in v0.0.69

type ThrottlesInfoTypeEnum struct {
	E_1 ThrottlesInfoType
	E_2 ThrottlesInfoType
}

func GetThrottlesInfoTypeEnum added in v0.0.69

func GetThrottlesInfoTypeEnum() ThrottlesInfoTypeEnum

type UnbindApiForAcl added in v0.0.69

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 added in v0.0.69

func (o UnbindApiForAcl) String() string

type UpdateAclStrategyV2Request added in v0.0.65

type UpdateAclStrategyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// ACL策略的编号
	AclId string `json:"acl_id"`

	Body *ApiAclCreate `json:"body,omitempty"`
}

Request Object

func (UpdateAclStrategyV2Request) String added in v0.0.65

type UpdateAclStrategyV2Response added in v0.0.65

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:"-"`
}

Response Object

func (UpdateAclStrategyV2Response) String added in v0.0.65

type UpdateApiGroupV2Request

type UpdateApiGroupV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	Body *ApiGroupBase `json:"body,omitempty"`
}

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:审核中
	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:"-"`
}

Response Object

func (UpdateApiGroupV2Response) String

func (o UpdateApiGroupV2Response) String() string

type UpdateApiGroupV2ResponseStatus added in v0.0.69

type UpdateApiGroupV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateApiGroupV2ResponseStatus) MarshalJSON added in v0.0.69

func (c UpdateApiGroupV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateApiGroupV2ResponseStatus) UnmarshalJSON added in v0.0.69

func (c *UpdateApiGroupV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateApiGroupV2ResponseStatus) Value added in v0.0.90

type UpdateApiGroupV2ResponseStatusEnum added in v0.0.69

type UpdateApiGroupV2ResponseStatusEnum struct {
	E_1 UpdateApiGroupV2ResponseStatus
}

func GetUpdateApiGroupV2ResponseStatusEnum added in v0.0.69

func GetUpdateApiGroupV2ResponseStatusEnum() UpdateApiGroupV2ResponseStatusEnum

type UpdateApiV2Request

type UpdateApiV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// API的编号
	ApiId string `json:"api_id"`

	Body *ApiCreate `json:"body,omitempty"`
}

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"`

	// 标签。  支持英文,数字,下划线,且只能以英文开头。支持输入多个标签,不同标签以英文逗号分割。
	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:"-"`
}

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 added in v0.0.90

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 added in v0.0.90

type UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseBackendTypeEnum struct {
	HTTP     UpdateApiV2ResponseBackendType
	FUNCTION UpdateApiV2ResponseBackendType
	MOCK     UpdateApiV2ResponseBackendType
}

func GetUpdateApiV2ResponseBackendTypeEnum

func GetUpdateApiV2ResponseBackendTypeEnum() UpdateApiV2ResponseBackendTypeEnum

type UpdateApiV2ResponseContentType added in v0.0.76

type UpdateApiV2ResponseContentType struct {
	// contains filtered or unexported fields
}

func (UpdateApiV2ResponseContentType) MarshalJSON added in v0.0.76

func (c UpdateApiV2ResponseContentType) MarshalJSON() ([]byte, error)

func (*UpdateApiV2ResponseContentType) UnmarshalJSON added in v0.0.76

func (c *UpdateApiV2ResponseContentType) UnmarshalJSON(b []byte) error

func (UpdateApiV2ResponseContentType) Value added in v0.0.90

type UpdateApiV2ResponseContentTypeEnum added in v0.0.76

type UpdateApiV2ResponseContentTypeEnum struct {
	APPLICATION_JSON    UpdateApiV2ResponseContentType
	APPLICATION_XML     UpdateApiV2ResponseContentType
	MULTIPART_FORM_DATE UpdateApiV2ResponseContentType
	TEXT_PLAIN          UpdateApiV2ResponseContentType
}

func GetUpdateApiV2ResponseContentTypeEnum added in v0.0.76

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 added in v0.0.90

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 added in v0.0.90

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 added in v0.0.90

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 added in v0.0.90

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
	InstanceId string `json:"instance_id"`

	// 应用编号
	AppId string `json:"app_id"`

	Body *AppCreate `json:"body,omitempty"`
}

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:"-"`
}

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 added in v0.0.90

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 added in v0.0.90

type UpdateAppV2ResponseCreatorEnum

type UpdateAppV2ResponseCreatorEnum struct {
	USER   UpdateAppV2ResponseCreator
	MARKET UpdateAppV2ResponseCreator
}

func GetUpdateAppV2ResponseCreatorEnum

func GetUpdateAppV2ResponseCreatorEnum() UpdateAppV2ResponseCreatorEnum

type UpdateAppV2ResponseStatus added in v0.0.69

type UpdateAppV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateAppV2ResponseStatus) MarshalJSON added in v0.0.69

func (c UpdateAppV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateAppV2ResponseStatus) UnmarshalJSON added in v0.0.69

func (c *UpdateAppV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateAppV2ResponseStatus) Value added in v0.0.90

func (c UpdateAppV2ResponseStatus) Value() int32

type UpdateAppV2ResponseStatusEnum added in v0.0.69

type UpdateAppV2ResponseStatusEnum struct {
	E_1 UpdateAppV2ResponseStatus
}

func GetUpdateAppV2ResponseStatusEnum added in v0.0.69

func GetUpdateAppV2ResponseStatusEnum() UpdateAppV2ResponseStatusEnum

type UpdateBackendInstancesV2Request added in v0.1.7

type UpdateBackendInstancesV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcMemberModify `json:"body,omitempty"`
}

Request Object

func (UpdateBackendInstancesV2Request) String added in v0.1.7

type UpdateBackendInstancesV2Response added in v0.1.7

type UpdateBackendInstancesV2Response struct {

	// 本次返回的列表长度
	Size int32 `json:"size"`

	// 满足条件的记录数
	Total int64 `json:"total"`

	// 本次查询到的云服务器列表
	Members        *[]VpcMemberInfo `json:"members,omitempty"`
	HttpStatusCode int              `json:"-"`
}

Response Object

func (UpdateBackendInstancesV2Response) String added in v0.1.7

type UpdateCertificateV2Request added in v0.1.7

type UpdateCertificateV2Request struct {

	// 证书的编号
	CertificateId string `json:"certificate_id"`

	Body *CertificateForm `json:"body,omitempty"`
}

Request Object

func (UpdateCertificateV2Request) String added in v0.1.7

type UpdateCertificateV2Response added in v0.1.7

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"`

	// 版本
	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:"-"`
}

Response Object

func (UpdateCertificateV2Response) String added in v0.1.7

type UpdateCertificateV2ResponseType added in v0.1.7

type UpdateCertificateV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateCertificateV2ResponseType) MarshalJSON added in v0.1.7

func (c UpdateCertificateV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateCertificateV2ResponseType) UnmarshalJSON added in v0.1.7

func (c *UpdateCertificateV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateCertificateV2ResponseType) Value added in v0.1.7

type UpdateCertificateV2ResponseTypeEnum added in v0.1.7

type UpdateCertificateV2ResponseTypeEnum struct {
	GLOBAL   UpdateCertificateV2ResponseType
	INSTANCE UpdateCertificateV2ResponseType
}

func GetUpdateCertificateV2ResponseTypeEnum added in v0.1.7

func GetUpdateCertificateV2ResponseTypeEnum() UpdateCertificateV2ResponseTypeEnum

type UpdateCustomAuthorizerV2Request added in v0.0.65

type UpdateCustomAuthorizerV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 自定义认证的编号
	AuthorizerId string `json:"authorizer_id"`

	Body *AuthorizerCreate `json:"body,omitempty"`
}

Request Object

func (UpdateCustomAuthorizerV2Request) String added in v0.0.65

type UpdateCustomAuthorizerV2Response added in v0.0.65

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:"-"`
}

Response Object

func (UpdateCustomAuthorizerV2Response) String added in v0.0.65

type UpdateCustomAuthorizerV2ResponseAuthorizerType added in v0.0.65

type UpdateCustomAuthorizerV2ResponseAuthorizerType struct {
	// contains filtered or unexported fields
}

func (UpdateCustomAuthorizerV2ResponseAuthorizerType) MarshalJSON added in v0.0.65

func (*UpdateCustomAuthorizerV2ResponseAuthorizerType) UnmarshalJSON added in v0.0.65

func (UpdateCustomAuthorizerV2ResponseAuthorizerType) Value added in v0.0.90

type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum added in v0.0.65

type UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum struct {
	FUNC UpdateCustomAuthorizerV2ResponseAuthorizerType
}

func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum added in v0.0.65

func GetUpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum() UpdateCustomAuthorizerV2ResponseAuthorizerTypeEnum

type UpdateCustomAuthorizerV2ResponseType added in v0.0.65

type UpdateCustomAuthorizerV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateCustomAuthorizerV2ResponseType) MarshalJSON added in v0.0.65

func (c UpdateCustomAuthorizerV2ResponseType) MarshalJSON() ([]byte, error)

func (*UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON added in v0.0.65

func (c *UpdateCustomAuthorizerV2ResponseType) UnmarshalJSON(b []byte) error

func (UpdateCustomAuthorizerV2ResponseType) Value added in v0.0.90

type UpdateCustomAuthorizerV2ResponseTypeEnum added in v0.0.65

type UpdateCustomAuthorizerV2ResponseTypeEnum struct {
	FRONTEND UpdateCustomAuthorizerV2ResponseType
	BACKEND  UpdateCustomAuthorizerV2ResponseType
}

func GetUpdateCustomAuthorizerV2ResponseTypeEnum added in v0.0.65

func GetUpdateCustomAuthorizerV2ResponseTypeEnum() UpdateCustomAuthorizerV2ResponseTypeEnum

type UpdateDomainV2Request added in v0.0.49

type UpdateDomainV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 域名的编号
	DomainId string `json:"domain_id"`

	Body *UrlDomainModify `json:"body,omitempty"`
}

Request Object

func (UpdateDomainV2Request) String added in v0.0.49

func (o UpdateDomainV2Request) String() string

type UpdateDomainV2Response added in v0.0.49

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"`
	HttpStatusCode int     `json:"-"`
}

Response Object

func (UpdateDomainV2Response) String added in v0.0.49

func (o UpdateDomainV2Response) String() string

type UpdateDomainV2ResponseStatus added in v0.0.49

type UpdateDomainV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateDomainV2ResponseStatus) MarshalJSON added in v0.0.49

func (c UpdateDomainV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateDomainV2ResponseStatus) UnmarshalJSON added in v0.0.49

func (c *UpdateDomainV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateDomainV2ResponseStatus) Value added in v0.0.90

type UpdateDomainV2ResponseStatusEnum added in v0.0.49

func GetUpdateDomainV2ResponseStatusEnum added in v0.0.49

func GetUpdateDomainV2ResponseStatusEnum() UpdateDomainV2ResponseStatusEnum

type UpdateEngressEipV2Request added in v0.0.65

type UpdateEngressEipV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *OpenEngressEipReq `json:"body,omitempty"`
}

Request Object

func (UpdateEngressEipV2Request) String added in v0.0.65

func (o UpdateEngressEipV2Request) String() string

type UpdateEngressEipV2Response added in v0.0.65

type UpdateEngressEipV2Response struct {
	HttpStatusCode int `json:"-"`
}

Response Object

func (UpdateEngressEipV2Response) String added in v0.0.65

type UpdateEnvironmentV2Request

type UpdateEnvironmentV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 环境的ID
	EnvId string `json:"env_id"`

	Body *EnvCreate `json:"body,omitempty"`
}

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:"-"`
}

Response Object

func (UpdateEnvironmentV2Response) String

type UpdateGatewayResponseTypeV2Request added in v0.0.65

type UpdateGatewayResponseTypeV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`

	// 错误类型
	ResponseType UpdateGatewayResponseTypeV2RequestResponseType `json:"response_type"`

	Body *ResponseInfo `json:"body,omitempty"`
}

Request Object

func (UpdateGatewayResponseTypeV2Request) String added in v0.0.65

type UpdateGatewayResponseTypeV2RequestResponseType added in v0.0.65

type UpdateGatewayResponseTypeV2RequestResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateGatewayResponseTypeV2RequestResponseType) MarshalJSON added in v0.0.65

func (*UpdateGatewayResponseTypeV2RequestResponseType) UnmarshalJSON added in v0.0.65

func (UpdateGatewayResponseTypeV2RequestResponseType) Value added in v0.0.90

type UpdateGatewayResponseTypeV2Response added in v0.0.65

type UpdateGatewayResponseTypeV2Response struct {
	Body           map[string]ResponseInfoResp `json:"body,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

Response Object

func (UpdateGatewayResponseTypeV2Response) String added in v0.0.65

type UpdateGatewayResponseV2Request added in v0.0.65

type UpdateGatewayResponseV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 分组的编号
	GroupId string `json:"group_id"`

	// 响应编号
	ResponseId string `json:"response_id"`

	Body *ResponsesCreate `json:"body,omitempty"`
}

Request Object

func (UpdateGatewayResponseV2Request) String added in v0.0.65

type UpdateGatewayResponseV2Response added in v0.0.65

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  每项错误类型均为一个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:"-"`
}

Response Object

func (UpdateGatewayResponseV2Response) String added in v0.0.65

type UpdateHealthCheckRequest added in v0.1.7

type UpdateHealthCheckRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcHealthConfig `json:"body,omitempty"`
}

Request Object

func (UpdateHealthCheckRequest) String added in v0.1.7

func (o UpdateHealthCheckRequest) String() string

type UpdateHealthCheckResponse added in v0.1.7

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:"-"`
}

Response Object

func (UpdateHealthCheckResponse) String added in v0.1.7

func (o UpdateHealthCheckResponse) String() string

type UpdateHealthCheckResponseMethod added in v0.1.7

type UpdateHealthCheckResponseMethod struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseMethod) MarshalJSON added in v0.1.7

func (c UpdateHealthCheckResponseMethod) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseMethod) UnmarshalJSON added in v0.1.7

func (c *UpdateHealthCheckResponseMethod) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseMethod) Value added in v0.1.7

type UpdateHealthCheckResponseMethodEnum added in v0.1.7

type UpdateHealthCheckResponseMethodEnum struct {
	GET  UpdateHealthCheckResponseMethod
	HEAD UpdateHealthCheckResponseMethod
}

func GetUpdateHealthCheckResponseMethodEnum added in v0.1.7

func GetUpdateHealthCheckResponseMethodEnum() UpdateHealthCheckResponseMethodEnum

type UpdateHealthCheckResponseProtocol added in v0.1.7

type UpdateHealthCheckResponseProtocol struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseProtocol) MarshalJSON added in v0.1.7

func (c UpdateHealthCheckResponseProtocol) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseProtocol) UnmarshalJSON added in v0.1.7

func (c *UpdateHealthCheckResponseProtocol) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseProtocol) Value added in v0.1.7

type UpdateHealthCheckResponseProtocolEnum added in v0.1.7

type UpdateHealthCheckResponseProtocolEnum struct {
	TCP   UpdateHealthCheckResponseProtocol
	HTTP  UpdateHealthCheckResponseProtocol
	HTTPS UpdateHealthCheckResponseProtocol
}

func GetUpdateHealthCheckResponseProtocolEnum added in v0.1.7

func GetUpdateHealthCheckResponseProtocolEnum() UpdateHealthCheckResponseProtocolEnum

type UpdateHealthCheckResponseStatus added in v0.1.7

type UpdateHealthCheckResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateHealthCheckResponseStatus) MarshalJSON added in v0.1.7

func (c UpdateHealthCheckResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateHealthCheckResponseStatus) UnmarshalJSON added in v0.1.7

func (c *UpdateHealthCheckResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateHealthCheckResponseStatus) Value added in v0.1.7

type UpdateHealthCheckResponseStatusEnum added in v0.1.7

type UpdateHealthCheckResponseStatusEnum struct {
	E_1 UpdateHealthCheckResponseStatus
	E_2 UpdateHealthCheckResponseStatus
}

func GetUpdateHealthCheckResponseStatusEnum added in v0.1.7

func GetUpdateHealthCheckResponseStatusEnum() UpdateHealthCheckResponseStatusEnum

type UpdateInstanceV2Request added in v0.0.65

type UpdateInstanceV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	Body *InstanceModReq `json:"body,omitempty"`
}

Request Object

func (UpdateInstanceV2Request) String added in v0.0.65

func (o UpdateInstanceV2Request) String() string

type UpdateInstanceV2Response added in v0.0.65

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,hws_hk)[暂未使用](tag: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,hws_hk)[计费订单编号参数暂未使用](tag: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"`

	// 可用区
	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"`
	HttpStatusCode int          `json:"-"`
}

Response Object

func (UpdateInstanceV2Response) String added in v0.0.65

func (o UpdateInstanceV2Response) String() string

type UpdateInstanceV2ResponseChargingMode added in v0.0.65

type UpdateInstanceV2ResponseChargingMode struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseChargingMode) MarshalJSON added in v0.0.65

func (c UpdateInstanceV2ResponseChargingMode) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseChargingMode) UnmarshalJSON added in v0.0.65

func (c *UpdateInstanceV2ResponseChargingMode) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseChargingMode) Value added in v0.0.90

type UpdateInstanceV2ResponseChargingModeEnum added in v0.0.65

type UpdateInstanceV2ResponseChargingModeEnum struct {
	E_0 UpdateInstanceV2ResponseChargingMode
	E_1 UpdateInstanceV2ResponseChargingMode
}

func GetUpdateInstanceV2ResponseChargingModeEnum added in v0.0.65

func GetUpdateInstanceV2ResponseChargingModeEnum() UpdateInstanceV2ResponseChargingModeEnum

type UpdateInstanceV2ResponseInstanceStatus added in v0.0.65

type UpdateInstanceV2ResponseInstanceStatus struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseInstanceStatus) MarshalJSON added in v0.0.65

func (c UpdateInstanceV2ResponseInstanceStatus) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseInstanceStatus) UnmarshalJSON added in v0.0.65

func (c *UpdateInstanceV2ResponseInstanceStatus) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseInstanceStatus) Value added in v0.0.90

type UpdateInstanceV2ResponseInstanceStatusEnum added in v0.0.65

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 added in v0.0.65

func GetUpdateInstanceV2ResponseInstanceStatusEnum() UpdateInstanceV2ResponseInstanceStatusEnum

type UpdateInstanceV2ResponseLoadbalancerProvider added in v0.0.89

type UpdateInstanceV2ResponseLoadbalancerProvider struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseLoadbalancerProvider) MarshalJSON added in v0.0.89

func (*UpdateInstanceV2ResponseLoadbalancerProvider) UnmarshalJSON added in v0.0.89

func (UpdateInstanceV2ResponseLoadbalancerProvider) Value added in v0.0.90

type UpdateInstanceV2ResponseLoadbalancerProviderEnum added in v0.0.89

type UpdateInstanceV2ResponseLoadbalancerProviderEnum struct {
	LVS UpdateInstanceV2ResponseLoadbalancerProvider
	ELB UpdateInstanceV2ResponseLoadbalancerProvider
}

func GetUpdateInstanceV2ResponseLoadbalancerProviderEnum added in v0.0.89

func GetUpdateInstanceV2ResponseLoadbalancerProviderEnum() UpdateInstanceV2ResponseLoadbalancerProviderEnum

type UpdateInstanceV2ResponseSpec added in v0.0.65

type UpdateInstanceV2ResponseSpec struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseSpec) MarshalJSON added in v0.0.65

func (c UpdateInstanceV2ResponseSpec) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseSpec) UnmarshalJSON added in v0.0.65

func (c *UpdateInstanceV2ResponseSpec) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseSpec) Value added in v0.0.90

type UpdateInstanceV2ResponseSpecEnum added in v0.0.65

type UpdateInstanceV2ResponseSpecEnum struct {
	BASIC             UpdateInstanceV2ResponseSpec
	PROFESSIONAL      UpdateInstanceV2ResponseSpec
	ENTERPRISE        UpdateInstanceV2ResponseSpec
	PLATINUM          UpdateInstanceV2ResponseSpec
	BASIC_IPV6        UpdateInstanceV2ResponseSpec
	PROFESSIONAL_IPV6 UpdateInstanceV2ResponseSpec
	ENTERPRISE_IPV6   UpdateInstanceV2ResponseSpec
	PLATINUM_IPV6     UpdateInstanceV2ResponseSpec
}

func GetUpdateInstanceV2ResponseSpecEnum added in v0.0.65

func GetUpdateInstanceV2ResponseSpecEnum() UpdateInstanceV2ResponseSpecEnum

type UpdateInstanceV2ResponseStatus added in v0.0.65

type UpdateInstanceV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateInstanceV2ResponseStatus) MarshalJSON added in v0.0.65

func (c UpdateInstanceV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateInstanceV2ResponseStatus) UnmarshalJSON added in v0.0.65

func (c *UpdateInstanceV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateInstanceV2ResponseStatus) Value added in v0.0.90

type UpdateInstanceV2ResponseStatusEnum added in v0.0.65

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 added in v0.0.65

func GetUpdateInstanceV2ResponseStatusEnum() UpdateInstanceV2ResponseStatusEnum

type UpdateMemberGroupRequest added in v0.1.7

type UpdateMemberGroupRequest struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	// VPC通道后端服务器组编号
	MemberGroupId string `json:"member_group_id"`

	Body *MemberGroupCreate `json:"body,omitempty"`
}

Request Object

func (UpdateMemberGroupRequest) String added in v0.1.7

func (o UpdateMemberGroupRequest) String() string

type UpdateMemberGroupResponse added in v0.1.7

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通道后端服务器组编号
	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:"-"`
}

Response Object

func (UpdateMemberGroupResponse) String added in v0.1.7

func (o UpdateMemberGroupResponse) String() string

type UpdateRequestThrottlingPolicyV2Request

type UpdateRequestThrottlingPolicyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	Body *ThrottleBaseInfo `json:"body,omitempty"`
}

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:"-"`
}

Response Object

func (UpdateRequestThrottlingPolicyV2Response) String

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle added in v0.0.69

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) MarshalJSON added in v0.0.69

func (*UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) UnmarshalJSON added in v0.0.69

func (UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle) Value added in v0.0.90

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum added in v0.0.69

type UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum struct {
	E_1 UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
	E_2 UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottle
}

func GetUpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum added in v0.0.69

func GetUpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum() UpdateRequestThrottlingPolicyV2ResponseIsIncluSpecialThrottleEnum

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit

type UpdateRequestThrottlingPolicyV2ResponseTimeUnit struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseTimeUnit) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseTimeUnit) Value added in v0.0.90

type UpdateRequestThrottlingPolicyV2ResponseType

type UpdateRequestThrottlingPolicyV2ResponseType struct {
	// contains filtered or unexported fields
}

func (UpdateRequestThrottlingPolicyV2ResponseType) MarshalJSON

func (*UpdateRequestThrottlingPolicyV2ResponseType) UnmarshalJSON

func (UpdateRequestThrottlingPolicyV2ResponseType) Value added in v0.0.90

type UpdateSignatureKeyV2Request

type UpdateSignatureKeyV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 签名密钥编号
	SignId string `json:"sign_id"`

	Body *BaseSignature `json:"body,omitempty"`
}

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:"-"`
}

Response Object

func (UpdateSignatureKeyV2Response) String

type UpdateSignatureKeyV2ResponseSignAlgorithm added in v0.0.69

type UpdateSignatureKeyV2ResponseSignAlgorithm struct {
	// contains filtered or unexported fields
}

func (UpdateSignatureKeyV2ResponseSignAlgorithm) MarshalJSON added in v0.0.69

func (*UpdateSignatureKeyV2ResponseSignAlgorithm) UnmarshalJSON added in v0.0.69

func (UpdateSignatureKeyV2ResponseSignAlgorithm) Value added in v0.0.90

type UpdateSignatureKeyV2ResponseSignAlgorithmEnum added in v0.0.69

type UpdateSignatureKeyV2ResponseSignAlgorithmEnum struct {
	AES_128_CFB UpdateSignatureKeyV2ResponseSignAlgorithm
	AES_256_CFB UpdateSignatureKeyV2ResponseSignAlgorithm
}

func GetUpdateSignatureKeyV2ResponseSignAlgorithmEnum added in v0.0.69

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 added in v0.0.90

type UpdateSpecialThrottlingConfigurationV2Request

type UpdateSpecialThrottlingConfigurationV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// 流控策略的编号
	ThrottleId string `json:"throttle_id"`

	// 特殊配置的编号
	StrategyId string `json:"strategy_id"`

	Body *ThrottleSpecialUpdate `json:"body,omitempty"`
}

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:"-"`
}

Response Object

func (UpdateSpecialThrottlingConfigurationV2Response) String

type UpdateVpcChannelV2Request added in v0.0.65

type UpdateVpcChannelV2Request struct {

	// 实例ID
	InstanceId string `json:"instance_id"`

	// VPC通道的编号
	VpcChannelId string `json:"vpc_channel_id"`

	Body *VpcCreate `json:"body,omitempty"`
}

Request Object

func (UpdateVpcChannelV2Request) String added in v0.0.65

func (o UpdateVpcChannelV2Request) String() string

type UpdateVpcChannelV2Response added in v0.0.65

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通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	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"`

	// vpc通道类型。 - 2:服务器类型 - 3:微服务类型
	Type           *int32 `json:"type,omitempty"`
	HttpStatusCode int    `json:"-"`
}

Response Object

func (UpdateVpcChannelV2Response) String added in v0.0.65

type UpdateVpcChannelV2ResponseBalanceStrategy added in v0.0.65

type UpdateVpcChannelV2ResponseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseBalanceStrategy) MarshalJSON added in v0.0.65

func (*UpdateVpcChannelV2ResponseBalanceStrategy) UnmarshalJSON added in v0.0.65

func (UpdateVpcChannelV2ResponseBalanceStrategy) Value added in v0.0.90

type UpdateVpcChannelV2ResponseMemberType added in v0.0.65

type UpdateVpcChannelV2ResponseMemberType struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseMemberType) MarshalJSON added in v0.0.65

func (c UpdateVpcChannelV2ResponseMemberType) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON added in v0.0.65

func (c *UpdateVpcChannelV2ResponseMemberType) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseMemberType) Value added in v0.0.90

type UpdateVpcChannelV2ResponseMemberTypeEnum added in v0.0.65

type UpdateVpcChannelV2ResponseMemberTypeEnum struct {
	IP  UpdateVpcChannelV2ResponseMemberType
	ECS UpdateVpcChannelV2ResponseMemberType
}

func GetUpdateVpcChannelV2ResponseMemberTypeEnum added in v0.0.65

func GetUpdateVpcChannelV2ResponseMemberTypeEnum() UpdateVpcChannelV2ResponseMemberTypeEnum

type UpdateVpcChannelV2ResponseStatus added in v0.0.69

type UpdateVpcChannelV2ResponseStatus struct {
	// contains filtered or unexported fields
}

func (UpdateVpcChannelV2ResponseStatus) MarshalJSON added in v0.0.69

func (c UpdateVpcChannelV2ResponseStatus) MarshalJSON() ([]byte, error)

func (*UpdateVpcChannelV2ResponseStatus) UnmarshalJSON added in v0.0.69

func (c *UpdateVpcChannelV2ResponseStatus) UnmarshalJSON(b []byte) error

func (UpdateVpcChannelV2ResponseStatus) Value added in v0.0.90

type UpdateVpcChannelV2ResponseStatusEnum added in v0.0.69

type UpdateVpcChannelV2ResponseStatusEnum struct {
	E_1 UpdateVpcChannelV2ResponseStatus
	E_2 UpdateVpcChannelV2ResponseStatus
}

func GetUpdateVpcChannelV2ResponseStatusEnum added in v0.0.69

func GetUpdateVpcChannelV2ResponseStatusEnum() UpdateVpcChannelV2ResponseStatusEnum

type UrlDomain added in v0.0.69

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"`
}

func (UrlDomain) String added in v0.0.69

func (o UrlDomain) String() string

type UrlDomainBase added in v0.0.49

type UrlDomainBase struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainBaseMinSslVersion `json:"min_ssl_version,omitempty"`
}

func (UrlDomainBase) String added in v0.0.49

func (o UrlDomainBase) String() string

type UrlDomainBaseInfo added in v0.0.49

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"`
}

func (UrlDomainBaseInfo) String added in v0.0.49

func (o UrlDomainBaseInfo) String() string

type UrlDomainBaseInfoStatus added in v0.0.49

type UrlDomainBaseInfoStatus struct {
	// contains filtered or unexported fields
}

func (UrlDomainBaseInfoStatus) MarshalJSON added in v0.0.49

func (c UrlDomainBaseInfoStatus) MarshalJSON() ([]byte, error)

func (*UrlDomainBaseInfoStatus) UnmarshalJSON added in v0.0.49

func (c *UrlDomainBaseInfoStatus) UnmarshalJSON(b []byte) error

func (UrlDomainBaseInfoStatus) Value added in v0.0.90

func (c UrlDomainBaseInfoStatus) Value() int32

type UrlDomainBaseInfoStatusEnum added in v0.0.49

type UrlDomainBaseInfoStatusEnum struct {
	E_1 UrlDomainBaseInfoStatus
	E_2 UrlDomainBaseInfoStatus
	E_3 UrlDomainBaseInfoStatus
	E_4 UrlDomainBaseInfoStatus
}

func GetUrlDomainBaseInfoStatusEnum added in v0.0.49

func GetUrlDomainBaseInfoStatusEnum() UrlDomainBaseInfoStatusEnum

type UrlDomainBaseMinSslVersion added in v0.0.49

type UrlDomainBaseMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainBaseMinSslVersion) MarshalJSON added in v0.0.49

func (c UrlDomainBaseMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainBaseMinSslVersion) UnmarshalJSON added in v0.0.49

func (c *UrlDomainBaseMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainBaseMinSslVersion) Value added in v0.0.90

type UrlDomainBaseMinSslVersionEnum added in v0.0.49

type UrlDomainBaseMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainBaseMinSslVersion
	TL_SV1_2 UrlDomainBaseMinSslVersion
}

func GetUrlDomainBaseMinSslVersionEnum added in v0.0.49

func GetUrlDomainBaseMinSslVersionEnum() UrlDomainBaseMinSslVersionEnum

type UrlDomainCreate added in v0.0.49

type UrlDomainCreate struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion *UrlDomainCreateMinSslVersion `json:"min_ssl_version,omitempty"`

	// 自定义域名。长度为0-255位的字符串,需要符合域名规范。
	UrlDomain *string `json:"url_domain,omitempty"`
}

func (UrlDomainCreate) String added in v0.0.49

func (o UrlDomainCreate) String() string

type UrlDomainCreateMinSslVersion added in v0.0.49

type UrlDomainCreateMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainCreateMinSslVersion) MarshalJSON added in v0.0.49

func (c UrlDomainCreateMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainCreateMinSslVersion) UnmarshalJSON added in v0.0.49

func (c *UrlDomainCreateMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainCreateMinSslVersion) Value added in v0.0.90

type UrlDomainCreateMinSslVersionEnum added in v0.0.49

type UrlDomainCreateMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainCreateMinSslVersion
	TL_SV1_2 UrlDomainCreateMinSslVersion
}

func GetUrlDomainCreateMinSslVersionEnum added in v0.0.49

func GetUrlDomainCreateMinSslVersionEnum() UrlDomainCreateMinSslVersionEnum

type UrlDomainMinSslVersion added in v0.0.69

type UrlDomainMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainMinSslVersion) MarshalJSON added in v0.0.69

func (c UrlDomainMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainMinSslVersion) UnmarshalJSON added in v0.0.69

func (c *UrlDomainMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainMinSslVersion) Value added in v0.0.90

func (c UrlDomainMinSslVersion) Value() string

type UrlDomainMinSslVersionEnum added in v0.0.69

type UrlDomainMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainMinSslVersion
	TL_SV1_2 UrlDomainMinSslVersion
}

func GetUrlDomainMinSslVersionEnum added in v0.0.69

func GetUrlDomainMinSslVersionEnum() UrlDomainMinSslVersionEnum

type UrlDomainModify added in v0.0.49

type UrlDomainModify struct {

	// 最小ssl协议版本号。支持TLSv1.1或TLSv1.2
	MinSslVersion UrlDomainModifyMinSslVersion `json:"min_ssl_version"`
}

func (UrlDomainModify) String added in v0.0.49

func (o UrlDomainModify) String() string

type UrlDomainModifyMinSslVersion added in v0.0.49

type UrlDomainModifyMinSslVersion struct {
	// contains filtered or unexported fields
}

func (UrlDomainModifyMinSslVersion) MarshalJSON added in v0.0.49

func (c UrlDomainModifyMinSslVersion) MarshalJSON() ([]byte, error)

func (*UrlDomainModifyMinSslVersion) UnmarshalJSON added in v0.0.49

func (c *UrlDomainModifyMinSslVersion) UnmarshalJSON(b []byte) error

func (UrlDomainModifyMinSslVersion) Value added in v0.0.90

type UrlDomainModifyMinSslVersionEnum added in v0.0.49

type UrlDomainModifyMinSslVersionEnum struct {
	TL_SV1_1 UrlDomainModifyMinSslVersion
	TL_SV1_2 UrlDomainModifyMinSslVersion
}

func GetUrlDomainModifyMinSslVersionEnum added in v0.0.49

func GetUrlDomainModifyMinSslVersionEnum() UrlDomainModifyMinSslVersionEnum

type UrlDomainRefInfo added in v0.1.7

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"`

	// 证书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"`
}

域名详情及关联的证书、分组信息

func (UrlDomainRefInfo) String added in v0.1.7

func (o UrlDomainRefInfo) String() string

type UrlDomainRefInfoStatus added in v0.1.7

type UrlDomainRefInfoStatus struct {
	// contains filtered or unexported fields
}

func (UrlDomainRefInfoStatus) MarshalJSON added in v0.1.7

func (c UrlDomainRefInfoStatus) MarshalJSON() ([]byte, error)

func (*UrlDomainRefInfoStatus) UnmarshalJSON added in v0.1.7

func (c *UrlDomainRefInfoStatus) UnmarshalJSON(b []byte) error

func (UrlDomainRefInfoStatus) Value added in v0.1.7

func (c UrlDomainRefInfoStatus) Value() int32

type UrlDomainRefInfoStatusEnum added in v0.1.7

type UrlDomainRefInfoStatusEnum struct {
	E_1 UrlDomainRefInfoStatus
	E_2 UrlDomainRefInfoStatus
	E_3 UrlDomainRefInfoStatus
	E_4 UrlDomainRefInfoStatus
}

func GetUrlDomainRefInfoStatusEnum added in v0.1.7

func GetUrlDomainRefInfoStatusEnum() UrlDomainRefInfoStatusEnum

type VpcBase added in v0.0.65

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通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	DictCode *string `json:"dict_code,omitempty"`
}

func (VpcBase) String added in v0.0.65

func (o VpcBase) String() string

type VpcBaseBalanceStrategy added in v0.0.65

type VpcBaseBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcBaseBalanceStrategy) MarshalJSON added in v0.0.65

func (c VpcBaseBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcBaseBalanceStrategy) UnmarshalJSON added in v0.0.65

func (c *VpcBaseBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcBaseBalanceStrategy) Value added in v0.0.90

func (c VpcBaseBalanceStrategy) Value() int32

type VpcBaseBalanceStrategyEnum added in v0.0.65

type VpcBaseBalanceStrategyEnum struct {
	E_1 VpcBaseBalanceStrategy
	E_2 VpcBaseBalanceStrategy
	E_3 VpcBaseBalanceStrategy
	E_4 VpcBaseBalanceStrategy
}

func GetVpcBaseBalanceStrategyEnum added in v0.0.65

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 added in v0.0.65

type VpcBaseMemberType struct {
	// contains filtered or unexported fields
}

func (VpcBaseMemberType) MarshalJSON added in v0.0.65

func (c VpcBaseMemberType) MarshalJSON() ([]byte, error)

func (*VpcBaseMemberType) UnmarshalJSON added in v0.0.65

func (c *VpcBaseMemberType) UnmarshalJSON(b []byte) error

func (VpcBaseMemberType) Value added in v0.0.90

func (c VpcBaseMemberType) Value() string

type VpcBaseMemberTypeEnum added in v0.0.65

type VpcBaseMemberTypeEnum struct {
	IP  VpcBaseMemberType
	ECS VpcBaseMemberType
}

func GetVpcBaseMemberTypeEnum added in v0.0.65

func GetVpcBaseMemberTypeEnum() VpcBaseMemberTypeEnum

type VpcChannelInfo added in v0.0.65

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通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	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"`

	// vpc通道类型。 - 2:服务器类型 - 3:微服务类型
	Type *int32 `json:"type,omitempty"`
}

func (VpcChannelInfo) String added in v0.0.65

func (o VpcChannelInfo) String() string

type VpcChannelInfoBalanceStrategy added in v0.0.65

type VpcChannelInfoBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoBalanceStrategy) MarshalJSON added in v0.0.65

func (c VpcChannelInfoBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoBalanceStrategy) UnmarshalJSON added in v0.0.65

func (c *VpcChannelInfoBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcChannelInfoBalanceStrategy) Value added in v0.0.90

type VpcChannelInfoBalanceStrategyEnum added in v0.0.65

func GetVpcChannelInfoBalanceStrategyEnum added in v0.0.65

func GetVpcChannelInfoBalanceStrategyEnum() VpcChannelInfoBalanceStrategyEnum

type VpcChannelInfoMemberType added in v0.0.65

type VpcChannelInfoMemberType struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoMemberType) MarshalJSON added in v0.0.65

func (c VpcChannelInfoMemberType) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoMemberType) UnmarshalJSON added in v0.0.65

func (c *VpcChannelInfoMemberType) UnmarshalJSON(b []byte) error

func (VpcChannelInfoMemberType) Value added in v0.0.90

func (c VpcChannelInfoMemberType) Value() string

type VpcChannelInfoMemberTypeEnum added in v0.0.65

type VpcChannelInfoMemberTypeEnum struct {
	IP  VpcChannelInfoMemberType
	ECS VpcChannelInfoMemberType
}

func GetVpcChannelInfoMemberTypeEnum added in v0.0.65

func GetVpcChannelInfoMemberTypeEnum() VpcChannelInfoMemberTypeEnum

type VpcChannelInfoStatus added in v0.0.69

type VpcChannelInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcChannelInfoStatus) MarshalJSON added in v0.0.69

func (c VpcChannelInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcChannelInfoStatus) UnmarshalJSON added in v0.0.69

func (c *VpcChannelInfoStatus) UnmarshalJSON(b []byte) error

func (VpcChannelInfoStatus) Value added in v0.0.90

func (c VpcChannelInfoStatus) Value() int32

type VpcChannelInfoStatusEnum added in v0.0.69

type VpcChannelInfoStatusEnum struct {
	E_1 VpcChannelInfoStatus
	E_2 VpcChannelInfoStatus
}

func GetVpcChannelInfoStatusEnum added in v0.0.69

func GetVpcChannelInfoStatusEnum() VpcChannelInfoStatusEnum

type VpcCreate added in v0.0.65

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通道的字典编码  支持英文,数字,特殊字符(-_.)  暂不支持
	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 added in v0.0.65

func (o VpcCreate) String() string

type VpcCreateBalanceStrategy added in v0.0.65

type VpcCreateBalanceStrategy struct {
	// contains filtered or unexported fields
}

func (VpcCreateBalanceStrategy) MarshalJSON added in v0.0.65

func (c VpcCreateBalanceStrategy) MarshalJSON() ([]byte, error)

func (*VpcCreateBalanceStrategy) UnmarshalJSON added in v0.0.65

func (c *VpcCreateBalanceStrategy) UnmarshalJSON(b []byte) error

func (VpcCreateBalanceStrategy) Value added in v0.0.90

func (c VpcCreateBalanceStrategy) Value() int32

type VpcCreateBalanceStrategyEnum added in v0.0.65

type VpcCreateBalanceStrategyEnum struct {
	E_1 VpcCreateBalanceStrategy
	E_2 VpcCreateBalanceStrategy
	E_3 VpcCreateBalanceStrategy
	E_4 VpcCreateBalanceStrategy
}

func GetVpcCreateBalanceStrategyEnum added in v0.0.65

func GetVpcCreateBalanceStrategyEnum() VpcCreateBalanceStrategyEnum

type VpcCreateMemberType added in v0.0.65

type VpcCreateMemberType struct {
	// contains filtered or unexported fields
}

func (VpcCreateMemberType) MarshalJSON added in v0.0.65

func (c VpcCreateMemberType) MarshalJSON() ([]byte, error)

func (*VpcCreateMemberType) UnmarshalJSON added in v0.0.65

func (c *VpcCreateMemberType) UnmarshalJSON(b []byte) error

func (VpcCreateMemberType) Value added in v0.0.90

func (c VpcCreateMemberType) Value() string

type VpcCreateMemberTypeEnum added in v0.0.65

type VpcCreateMemberTypeEnum struct {
	IP  VpcCreateMemberType
	ECS VpcCreateMemberType
}

func GetVpcCreateMemberTypeEnum added in v0.0.65

func GetVpcCreateMemberTypeEnum() VpcCreateMemberTypeEnum

type VpcHealthConfig added in v0.0.65

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"`
}

健康检查详情。

func (VpcHealthConfig) String added in v0.0.65

func (o VpcHealthConfig) String() string

type VpcHealthConfigBase added in v0.0.65

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"`
}

健康检查详情。

func (VpcHealthConfigBase) String added in v0.0.65

func (o VpcHealthConfigBase) String() string

type VpcHealthConfigBaseMethod added in v0.0.65

type VpcHealthConfigBaseMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseMethod) MarshalJSON added in v0.0.65

func (c VpcHealthConfigBaseMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseMethod) UnmarshalJSON added in v0.0.65

func (c *VpcHealthConfigBaseMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseMethod) Value added in v0.0.90

type VpcHealthConfigBaseMethodEnum added in v0.0.65

type VpcHealthConfigBaseMethodEnum struct {
	GET  VpcHealthConfigBaseMethod
	HEAD VpcHealthConfigBaseMethod
}

func GetVpcHealthConfigBaseMethodEnum added in v0.0.65

func GetVpcHealthConfigBaseMethodEnum() VpcHealthConfigBaseMethodEnum

type VpcHealthConfigBaseProtocol added in v0.0.65

type VpcHealthConfigBaseProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseProtocol) MarshalJSON added in v0.0.65

func (c VpcHealthConfigBaseProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseProtocol) UnmarshalJSON added in v0.0.65

func (c *VpcHealthConfigBaseProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseProtocol) Value added in v0.0.90

type VpcHealthConfigBaseProtocolEnum added in v0.0.65

type VpcHealthConfigBaseProtocolEnum struct {
	TCP   VpcHealthConfigBaseProtocol
	HTTP  VpcHealthConfigBaseProtocol
	HTTPS VpcHealthConfigBaseProtocol
}

func GetVpcHealthConfigBaseProtocolEnum added in v0.0.65

func GetVpcHealthConfigBaseProtocolEnum() VpcHealthConfigBaseProtocolEnum

type VpcHealthConfigBaseStatus added in v0.0.69

type VpcHealthConfigBaseStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigBaseStatus) MarshalJSON added in v0.0.69

func (c VpcHealthConfigBaseStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigBaseStatus) UnmarshalJSON added in v0.0.69

func (c *VpcHealthConfigBaseStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigBaseStatus) Value added in v0.0.90

func (c VpcHealthConfigBaseStatus) Value() int32

type VpcHealthConfigBaseStatusEnum added in v0.0.69

type VpcHealthConfigBaseStatusEnum struct {
	E_1 VpcHealthConfigBaseStatus
	E_2 VpcHealthConfigBaseStatus
}

func GetVpcHealthConfigBaseStatusEnum added in v0.0.69

func GetVpcHealthConfigBaseStatusEnum() VpcHealthConfigBaseStatusEnum

type VpcHealthConfigInfo added in v0.0.65

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"`
}

健康检查详情。

func (VpcHealthConfigInfo) String added in v0.0.65

func (o VpcHealthConfigInfo) String() string

type VpcHealthConfigInfoMethod added in v0.0.65

type VpcHealthConfigInfoMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoMethod) MarshalJSON added in v0.0.65

func (c VpcHealthConfigInfoMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoMethod) UnmarshalJSON added in v0.0.65

func (c *VpcHealthConfigInfoMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoMethod) Value added in v0.0.90

type VpcHealthConfigInfoMethodEnum added in v0.0.65

type VpcHealthConfigInfoMethodEnum struct {
	GET  VpcHealthConfigInfoMethod
	HEAD VpcHealthConfigInfoMethod
}

func GetVpcHealthConfigInfoMethodEnum added in v0.0.65

func GetVpcHealthConfigInfoMethodEnum() VpcHealthConfigInfoMethodEnum

type VpcHealthConfigInfoProtocol added in v0.0.65

type VpcHealthConfigInfoProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoProtocol) MarshalJSON added in v0.0.65

func (c VpcHealthConfigInfoProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoProtocol) UnmarshalJSON added in v0.0.65

func (c *VpcHealthConfigInfoProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoProtocol) Value added in v0.0.90

type VpcHealthConfigInfoProtocolEnum added in v0.0.65

type VpcHealthConfigInfoProtocolEnum struct {
	TCP   VpcHealthConfigInfoProtocol
	HTTP  VpcHealthConfigInfoProtocol
	HTTPS VpcHealthConfigInfoProtocol
}

func GetVpcHealthConfigInfoProtocolEnum added in v0.0.65

func GetVpcHealthConfigInfoProtocolEnum() VpcHealthConfigInfoProtocolEnum

type VpcHealthConfigInfoStatus added in v0.0.69

type VpcHealthConfigInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigInfoStatus) MarshalJSON added in v0.0.69

func (c VpcHealthConfigInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigInfoStatus) UnmarshalJSON added in v0.0.69

func (c *VpcHealthConfigInfoStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigInfoStatus) Value added in v0.0.90

func (c VpcHealthConfigInfoStatus) Value() int32

type VpcHealthConfigInfoStatusEnum added in v0.0.69

type VpcHealthConfigInfoStatusEnum struct {
	E_1 VpcHealthConfigInfoStatus
	E_2 VpcHealthConfigInfoStatus
}

func GetVpcHealthConfigInfoStatusEnum added in v0.0.69

func GetVpcHealthConfigInfoStatusEnum() VpcHealthConfigInfoStatusEnum

type VpcHealthConfigMethod added in v0.0.65

type VpcHealthConfigMethod struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigMethod) MarshalJSON added in v0.0.65

func (c VpcHealthConfigMethod) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigMethod) UnmarshalJSON added in v0.0.65

func (c *VpcHealthConfigMethod) UnmarshalJSON(b []byte) error

func (VpcHealthConfigMethod) Value added in v0.0.90

func (c VpcHealthConfigMethod) Value() string

type VpcHealthConfigMethodEnum added in v0.0.65

type VpcHealthConfigMethodEnum struct {
	GET  VpcHealthConfigMethod
	HEAD VpcHealthConfigMethod
}

func GetVpcHealthConfigMethodEnum added in v0.0.65

func GetVpcHealthConfigMethodEnum() VpcHealthConfigMethodEnum

type VpcHealthConfigProtocol added in v0.0.65

type VpcHealthConfigProtocol struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigProtocol) MarshalJSON added in v0.0.65

func (c VpcHealthConfigProtocol) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigProtocol) UnmarshalJSON added in v0.0.65

func (c *VpcHealthConfigProtocol) UnmarshalJSON(b []byte) error

func (VpcHealthConfigProtocol) Value added in v0.0.90

func (c VpcHealthConfigProtocol) Value() string

type VpcHealthConfigProtocolEnum added in v0.0.65

type VpcHealthConfigProtocolEnum struct {
	TCP   VpcHealthConfigProtocol
	HTTP  VpcHealthConfigProtocol
	HTTPS VpcHealthConfigProtocol
}

func GetVpcHealthConfigProtocolEnum added in v0.0.65

func GetVpcHealthConfigProtocolEnum() VpcHealthConfigProtocolEnum

type VpcHealthConfigStatus added in v0.0.69

type VpcHealthConfigStatus struct {
	// contains filtered or unexported fields
}

func (VpcHealthConfigStatus) MarshalJSON added in v0.0.69

func (c VpcHealthConfigStatus) MarshalJSON() ([]byte, error)

func (*VpcHealthConfigStatus) UnmarshalJSON added in v0.0.69

func (c *VpcHealthConfigStatus) UnmarshalJSON(b []byte) error

func (VpcHealthConfigStatus) Value added in v0.0.90

func (c VpcHealthConfigStatus) Value() int32

type VpcHealthConfigStatusEnum added in v0.0.69

type VpcHealthConfigStatusEnum struct {
	E_1 VpcHealthConfigStatus
	E_2 VpcHealthConfigStatus
}

func GetVpcHealthConfigStatusEnum added in v0.0.69

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"`
}

VPC通道详情。如果vpc_channel_status = 1,则这个object类型为必填信息

func (VpcInfo) String

func (o VpcInfo) String() string

type VpcMemberCreate added in v0.0.65

type VpcMemberCreate struct {

	// 后端实例列表
	Members []MemberInfo `json:"members"`
}

func (VpcMemberCreate) String added in v0.0.65

func (o VpcMemberCreate) String() string

type VpcMemberInfo added in v0.0.65

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 added in v0.0.65

func (o VpcMemberInfo) String() string

type VpcMemberInfoStatus added in v0.0.69

type VpcMemberInfoStatus struct {
	// contains filtered or unexported fields
}

func (VpcMemberInfoStatus) MarshalJSON added in v0.0.69

func (c VpcMemberInfoStatus) MarshalJSON() ([]byte, error)

func (*VpcMemberInfoStatus) UnmarshalJSON added in v0.0.69

func (c *VpcMemberInfoStatus) UnmarshalJSON(b []byte) error

func (VpcMemberInfoStatus) Value added in v0.0.90

func (c VpcMemberInfoStatus) Value() int32

type VpcMemberInfoStatusEnum added in v0.0.69

type VpcMemberInfoStatusEnum struct {
	E_1 VpcMemberInfoStatus
	E_2 VpcMemberInfoStatus
}

func GetVpcMemberInfoStatusEnum added in v0.0.69

func GetVpcMemberInfoStatusEnum() VpcMemberInfoStatusEnum

type VpcMemberModify added in v0.1.7

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 added in v0.1.7

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