model

package
v0.1.121 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddAuditAgentRequest added in v0.1.118

type AddAuditAgentRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

AddAuditAgentRequest Request Object

func (AddAuditAgentRequest) String added in v0.1.118

func (o AddAuditAgentRequest) String() string

type AddAuditAgentResponse added in v0.1.118

type AddAuditAgentResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddAuditAgentResponse Response Object

func (AddAuditAgentResponse) String added in v0.1.118

func (o AddAuditAgentResponse) String() string

type AddAuditDatabaseRequest added in v0.1.118

type AddAuditDatabaseRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

AddAuditDatabaseRequest Request Object

func (AddAuditDatabaseRequest) String added in v0.1.118

func (o AddAuditDatabaseRequest) String() string

type AddAuditDatabaseResponse added in v0.1.118

type AddAuditDatabaseResponse struct {

	// 数据库ID
	Id             *string `json:"id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

AddAuditDatabaseResponse Response Object

func (AddAuditDatabaseResponse) String added in v0.1.118

func (o AddAuditDatabaseResponse) String() string

type AddRdsDatabaseRequest added in v0.1.118

type AddRdsDatabaseRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

AddRdsDatabaseRequest Request Object

func (AddRdsDatabaseRequest) String added in v0.1.118

func (o AddRdsDatabaseRequest) String() string

type AddRdsDatabaseResponse added in v0.1.118

type AddRdsDatabaseResponse struct {

	// 结果列表
	RetList        *[]RdsDbResponseRetList `json:"ret_list,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

AddRdsDatabaseResponse Response Object

func (AddRdsDatabaseResponse) String added in v0.1.118

func (o AddRdsDatabaseResponse) String() string

type AddRdsNoAgentDatabaseRequest added in v0.1.15

type AddRdsNoAgentDatabaseRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

AddRdsNoAgentDatabaseRequest Request Object

func (AddRdsNoAgentDatabaseRequest) String added in v0.1.15

type AddRdsNoAgentDatabaseResponse added in v0.1.15

type AddRdsNoAgentDatabaseResponse struct {

	// 添加失败的数据库实例id
	IllegalDbId *[]string `json:"illegal_db_id,omitempty"`

	// 添加成功的数据库实例id
	LegalDbId      *[]string `json:"legal_db_id,omitempty"`
	HttpStatusCode int       `json:"-"`
}

AddRdsNoAgentDatabaseResponse Response Object

func (AddRdsNoAgentDatabaseResponse) String added in v0.1.15

type AgentSwitchRequest

type AgentSwitchRequest struct {

	// 审计agent的ID。可在查询数据库agent列表接口ID字段获取。
	AgentId string `json:"agent_id"`

	// Agent开关状态 - 1:开启 - 0:关闭
	Status AgentSwitchRequestStatus `json:"status"`
}

func (AgentSwitchRequest) String

func (o AgentSwitchRequest) String() string

type AgentSwitchRequestStatus added in v0.1.118

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

func (AgentSwitchRequestStatus) MarshalJSON added in v0.1.118

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

func (*AgentSwitchRequestStatus) UnmarshalJSON added in v0.1.118

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

func (AgentSwitchRequestStatus) Value added in v0.1.118

func (c AgentSwitchRequestStatus) Value() int32

type AgentSwitchRequestStatusEnum added in v0.1.118

type AgentSwitchRequestStatusEnum struct {
	E_0 AgentSwitchRequestStatus
	E_1 AgentSwitchRequestStatus
}

func GetAgentSwitchRequestStatusEnum added in v0.1.118

func GetAgentSwitchRequestStatusEnum() AgentSwitchRequestStatusEnum

type AlarmLogRequest added in v0.1.118

type AlarmLogRequest struct {
	Time *AlarmLogRequestTime `json:"time"`

	// 风险级别 - LOW - MEDIUM - HIGH
	Risk *AlarmLogRequestRisk `json:"risk,omitempty"`

	// 告警类型 - RISK_RULE: 风险规则 - RISK_CPU: CPU超限 - RISK_MEMORY: 内存超限 - RISK_DISK: 磁盘超限 - RISK_DISK_CAPACITY: 磁盘容量不足六个月 - RISK_BACKUP: 备份失败 - AUDIT_QPS_OVERFLOW: 流量超限入库延迟告警 - RISK_AGENT: Agent异常 - AUDIT_BACKUP_FAILED: 实例备份失败(运维侧)
	Type *string `json:"type,omitempty"`

	// 告警确认状态 - DONE: 已确认 - UNDO: 未确认
	Status *AlarmLogRequestStatus `json:"status,omitempty"`

	// 页码
	Page *int32 `json:"page,omitempty"`

	// 每页条数
	Size *int32 `json:"size,omitempty"`
}

func (AlarmLogRequest) String added in v0.1.118

func (o AlarmLogRequest) String() string

type AlarmLogRequestRisk added in v0.1.118

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

func (AlarmLogRequestRisk) MarshalJSON added in v0.1.118

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

func (*AlarmLogRequestRisk) UnmarshalJSON added in v0.1.118

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

func (AlarmLogRequestRisk) Value added in v0.1.118

func (c AlarmLogRequestRisk) Value() string

type AlarmLogRequestRiskEnum added in v0.1.118

type AlarmLogRequestRiskEnum struct {
	LOW    AlarmLogRequestRisk
	MEDIUM AlarmLogRequestRisk
	HIGH   AlarmLogRequestRisk
}

func GetAlarmLogRequestRiskEnum added in v0.1.118

func GetAlarmLogRequestRiskEnum() AlarmLogRequestRiskEnum

type AlarmLogRequestStatus added in v0.1.118

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

func (AlarmLogRequestStatus) MarshalJSON added in v0.1.118

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

func (*AlarmLogRequestStatus) UnmarshalJSON added in v0.1.118

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

func (AlarmLogRequestStatus) Value added in v0.1.118

func (c AlarmLogRequestStatus) Value() string

type AlarmLogRequestStatusEnum added in v0.1.118

type AlarmLogRequestStatusEnum struct {
	DONE AlarmLogRequestStatus
	UNDO AlarmLogRequestStatus
}

func GetAlarmLogRequestStatusEnum added in v0.1.118

func GetAlarmLogRequestStatusEnum() AlarmLogRequestStatusEnum

type AlarmLogRequestTime added in v0.1.118

type AlarmLogRequestTime struct {

	// 时间范围。和start_time,end_time不能同时使用,同时传该参数优先级更高。枚举值 HALF_HOUR, HOUR, THREE_HOUR, TWELVE_HOUR, DAY, WEEK, MONTH;
	TimeRange *AlarmLogRequestTimeTimeRange `json:"time_range,omitempty"`

	// 开始时间,必须和end_time成对出现。格式必须为yyyy-MM-dd HH:mm:ss。UTC时间
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间,必须和start_time成对出现。格式必须为yyyy-MM-dd HH:mm:ss。UTC时间
	EndTime *string `json:"end_time,omitempty"`
}

AlarmLogRequestTime 时间

func (AlarmLogRequestTime) String added in v0.1.118

func (o AlarmLogRequestTime) String() string

type AlarmLogRequestTimeTimeRange added in v0.1.118

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

func (AlarmLogRequestTimeTimeRange) MarshalJSON added in v0.1.118

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

func (*AlarmLogRequestTimeTimeRange) UnmarshalJSON added in v0.1.118

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

func (AlarmLogRequestTimeTimeRange) Value added in v0.1.118

type AlarmLogRequestTimeTimeRangeEnum added in v0.1.118

func GetAlarmLogRequestTimeTimeRangeEnum added in v0.1.118

func GetAlarmLogRequestTimeTimeRangeEnum() AlarmLogRequestTimeTimeRangeEnum

type AlarmLogResponseAlarmLog added in v0.1.118

type AlarmLogResponseAlarmLog struct {

	// 告警ID
	Id *string `json:"id,omitempty"`

	// 告警状态 - ON - OFF
	AlarmLife *string `json:"alarmLife,omitempty"`

	// 是否发送邮件
	SendEmail *bool `json:"sendEmail,omitempty"`

	// 告警发生时间
	AlarmTime *string `json:"alarm_time,omitempty"`

	// 告警类型 - RISK_RULE: 风险规则 - RISK_CPU: CPU超限 - RISK_MEMORY: 内存超限 - RISK_DISK: 磁盘超限 - RISK_DISK_CAPACITY: 磁盘容量不足六个月 - RISK_BACKUP: 备份失败 - AUDIT_QPS_OVERFLOW: 流量超限入库延迟告警 - RISK_AGENT: Agent异常 - AUDIT_BACKUP_FAILED: 实例备份失败(运维侧)
	AlarmType *string `json:"alarm_type,omitempty"`

	// 告警恢复时间
	AlarmFixTime *string `json:"alarm_fix_time,omitempty"`

	// 告警确认状态 - DONE: 已确认 - UNDO: 未确认
	AlarmStatus *string `json:"alarm_status,omitempty"`

	// 告警风险等级 - LOW - MEDIUM - HIGH
	AlarmRisk *string `json:"alarm_risk,omitempty"`

	// 告警描述信息
	AlarmDescription *string `json:"alarm_description,omitempty"`
}

func (AlarmLogResponseAlarmLog) String added in v0.1.118

func (o AlarmLogResponseAlarmLog) String() string

type AuditAgentRequest added in v0.1.118

type AuditAgentRequest struct {

	// 数据库ID, 可在查询数据库列表接口的ID字段获取。
	DbId string `json:"db_id"`

	// 模式 - 0:创建agent - 1:选择已有agent
	Mode AuditAgentRequestMode `json:"mode"`

	// 选择已有agent时必输
	AgentId *string `json:"agent_id,omitempty"`

	// agent类型 - APP:应用端 - DB:数据库端
	AgentType AuditAgentRequestAgentType `json:"agent_type"`

	// agent OS类型: - LINUX64_X86 - LINUX64_ARM - WINDOWS64
	AgentOs AuditAgentRequestAgentOs `json:"agent_os"`

	// agent IP,安装节点类型为应用端时必输。
	AgentIp *string `json:"agent_ip,omitempty"`

	// agent审计网卡名称
	AgentNic *string `json:"agent_nic,omitempty"`

	// CPU阈值
	CpuThreshold *int32 `json:"cpu_threshold,omitempty"`

	// 内存阈值
	MemThreshold *int32 `json:"mem_threshold,omitempty"`
}

func (AuditAgentRequest) String added in v0.1.118

func (o AuditAgentRequest) String() string

type AuditAgentRequestAgentOs added in v0.1.118

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

func (AuditAgentRequestAgentOs) MarshalJSON added in v0.1.118

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

func (*AuditAgentRequestAgentOs) UnmarshalJSON added in v0.1.118

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

func (AuditAgentRequestAgentOs) Value added in v0.1.118

func (c AuditAgentRequestAgentOs) Value() string

type AuditAgentRequestAgentOsEnum added in v0.1.118

type AuditAgentRequestAgentOsEnum struct {
	LINUX64_X86 AuditAgentRequestAgentOs
	LINUX64_ARM AuditAgentRequestAgentOs
	WINDOWS64   AuditAgentRequestAgentOs
}

func GetAuditAgentRequestAgentOsEnum added in v0.1.118

func GetAuditAgentRequestAgentOsEnum() AuditAgentRequestAgentOsEnum

type AuditAgentRequestAgentType added in v0.1.118

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

func (AuditAgentRequestAgentType) MarshalJSON added in v0.1.118

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

func (*AuditAgentRequestAgentType) UnmarshalJSON added in v0.1.118

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

func (AuditAgentRequestAgentType) Value added in v0.1.118

type AuditAgentRequestAgentTypeEnum added in v0.1.118

type AuditAgentRequestAgentTypeEnum struct {
	APP AuditAgentRequestAgentType
	DB  AuditAgentRequestAgentType
}

func GetAuditAgentRequestAgentTypeEnum added in v0.1.118

func GetAuditAgentRequestAgentTypeEnum() AuditAgentRequestAgentTypeEnum

type AuditAgentRequestMode added in v0.1.118

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

func (AuditAgentRequestMode) MarshalJSON added in v0.1.118

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

func (*AuditAgentRequestMode) UnmarshalJSON added in v0.1.118

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

func (AuditAgentRequestMode) Value added in v0.1.118

func (c AuditAgentRequestMode) Value() int32

type AuditAgentRequestModeEnum added in v0.1.118

type AuditAgentRequestModeEnum struct {
	E_0 AuditAgentRequestMode
	E_1 AuditAgentRequestMode
}

func GetAuditAgentRequestModeEnum added in v0.1.118

func GetAuditAgentRequestModeEnum() AuditAgentRequestModeEnum

type AuditAgentRespoonseAgents added in v0.1.118

type AuditAgentRespoonseAgents struct {

	// agent ID
	AgentId string `json:"agent_id"`

	// agent 类型
	AgentType string `json:"agent_type"`

	// agent OS
	AgentOs string `json:"agent_os"`

	// agent安装节点IP
	AgentIp string `json:"agent_ip"`

	// 内存阈值
	MemThreshold *int32 `json:"mem_threshold,omitempty"`

	// cpu阈值
	CpuThreshold *int32 `json:"cpu_threshold,omitempty"`

	// agent状态
	Status *int32 `json:"status,omitempty"`

	// agent网卡
	AgentNic *string `json:"agent_nic,omitempty"`

	// 数据库名称
	DbName *string `json:"db_name,omitempty"`

	// 数据流量抓取状态
	DatacapStatus *int32 `json:"datacap_status,omitempty"`

	// agent安装地址
	AgentUrl *string `json:"agent_url,omitempty"`

	// 是否CCE场景
	Universal *bool `json:"universal,omitempty"`

	// sha256值
	Sha256 *string `json:"sha256,omitempty"`
}

func (AuditAgentRespoonseAgents) String added in v0.1.118

func (o AuditAgentRespoonseAgents) String() string

type AuditInstanceListBean added in v0.1.15

type AuditInstanceListBean struct {

	// 付费模式  - Period:包周期 - Demand:按需。
	ChargeModel string `json:"charge_model"`

	// 备注信息。
	Comment string `json:"comment"`

	// 配置的数据库总数。
	ConfigNum int32 `json:"config_num"`

	// 连接地址。
	ConnectIp string `json:"connect_ip"`

	// ipv6连接地址。
	ConnectIpv6 string `json:"connect_ipv6"`

	// CPU个数
	Cpu int32 `json:"cpu"`

	// 创建时间
	Created string `json:"created"`

	// 支持的数据库总数
	DatabaseLimit int32 `json:"database_limit"`

	// 实例结果状态 - 1:冻结可释放  - 2:冻结不可释放 - 3:冻结后不可续费
	Effect int32 `json:"effect"`

	// 过期时间
	Expired string `json:"expired"`

	// ID
	Id string `json:"id"`

	// 剩余天数
	KeepDays string `json:"keep_days"`

	// 实例别名
	Name string `json:"name"`

	// 如果有返回,则需要升级,如果没有,则为null。
	NewVersion string `json:"new_version"`

	// 绑定弹性IP的port ID
	PortId string `json:"port_id"`

	// 内存
	Ram int32 `json:"ram"`

	// 实例所在region
	Region string `json:"region"`

	// 到期天数
	RemainDays string `json:"remain_days"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 实例的规格
	ResourceSpecCode string `json:"resource_spec_code"`

	// 场景
	Scene string `json:"scene"`

	// 安全组
	SecurityGroupId string `json:"security_group_id"`

	// 实例规格
	Specification string `json:"specification"`

	// 实例状态  - SHUTOFF :已关闭  - ACTIVE: 运行中,允许任何操作   - DELETING: 删除中,不允许任何操作  - BUILD: 创建中,不允许任何操作  - DELETED: 已删除,不需要展示  - ERROR: 故障,只允许删除  - HAWAIT: 等待备机创建成功,不允许任何操作  - FROZEN: 已冻结,只允许续费、绑定/解绑  - UPGRADING: 升级中,不允许升级操作
	Status string `json:"status"`

	// 子网ID
	SubnetId string `json:"subnet_id"`

	// 任务状态  - powering-on: 正在开启,实例可以绑定、解绑  - powering-off: 正在关闭,实例可以绑定、解绑  - rebooting: 正在重启,实例可以绑定、解绑  - delete_wait: 等待删除,集群与实例不允许任何操作  - NO_TASK: 不展示
	Task string `json:"task"`

	// 实例的当前版本
	Version string `json:"version"`

	// 虚拟私有云
	VpcId string `json:"vpc_id"`

	// 可用区
	Zone string `json:"zone"`
}

AuditInstanceListBean 审计实例列表bean

func (AuditInstanceListBean) String added in v0.1.15

func (o AuditInstanceListBean) String() string

type AuditSqlRequest added in v0.1.118

type AuditSqlRequest struct {
	Time *AuditSqlRequestTime `json:"time"`

	// 风险级别 - HIGH - MEDIUM - LOW - NO_RISK
	RiskLevels *AuditSqlRequestRiskLevels `json:"risk_levels,omitempty"`

	// 客户端IP
	ClientIp *string `json:"client_ip,omitempty"`

	// 客户端名称
	ClientName *string `json:"client_name,omitempty"`

	// 数据库IP
	DbIp *string `json:"db_ip,omitempty"`

	// 数据库用户
	DbUser *string `json:"db_user,omitempty"`

	// 查询类型 LOGIN,CREATE_TABLE,CREATE_TABLESPACE,DROP_TABLE, DROP_TABLESPACE,DELETE,INSERT,INSERT_SELECT,SELECT,SELECT_FOR_UPDATE, UPDATE,CREATE_USER,DROP_USER,GRANT,OPERATE ALL
	QueryType *string `json:"query_type,omitempty"`

	// 规则名称
	RuleName *string `json:"rule_name,omitempty"`

	// sql语句
	SqlStatement *string `json:"sql_statement,omitempty"`

	// 响应结果 - SUCCESS - FAILED
	SqlResponse *string `json:"sql_response,omitempty"`

	// 页码
	Page *int32 `json:"page,omitempty"`

	// 条数
	Size *int32 `json:"size,omitempty"`

	// 时间顺序 - DESC - ASC
	TimeOrder *string `json:"time_order,omitempty"`
}

func (AuditSqlRequest) String added in v0.1.118

func (o AuditSqlRequest) String() string

type AuditSqlRequestRiskLevels added in v0.1.118

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

func (AuditSqlRequestRiskLevels) MarshalJSON added in v0.1.118

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

func (*AuditSqlRequestRiskLevels) UnmarshalJSON added in v0.1.118

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

func (AuditSqlRequestRiskLevels) Value added in v0.1.118

type AuditSqlRequestRiskLevelsEnum added in v0.1.118

type AuditSqlRequestRiskLevelsEnum struct {
	HIGH    AuditSqlRequestRiskLevels
	MEDIUM  AuditSqlRequestRiskLevels
	LOW     AuditSqlRequestRiskLevels
	NO_RISK AuditSqlRequestRiskLevels
}

func GetAuditSqlRequestRiskLevelsEnum added in v0.1.118

func GetAuditSqlRequestRiskLevelsEnum() AuditSqlRequestRiskLevelsEnum

type AuditSqlRequestTime added in v0.1.118

type AuditSqlRequestTime struct {

	// 时间范围。和start_time,end_time不能同时使用,同时传该参数优先级更高。 - HALF_HOUR - HOUR - THREE_HOUR - TWELVE_HOUR - DAY - WEEK - MONTH
	TimeRange *string `json:"time_range,omitempty"`

	// 开始时间,必须和end_time成对出现。格式必须为yyyy-MM-dd HH:mm:ss。UTC时间
	StartTime *string `json:"start_time,omitempty"`

	// 结束时间,必须和start_time成对出现。格式必须为yyyy-MM-dd HH:mm:ss。UTC时间
	EndTime *string `json:"end_time,omitempty"`
}

AuditSqlRequestTime 查询时间范围

func (AuditSqlRequestTime) String added in v0.1.118

func (o AuditSqlRequestTime) String() string

type AuditSqlResponseSql added in v0.1.118

type AuditSqlResponseSql struct {

	// ID
	Id string `json:"id"`

	// sql语句
	SqlStatement *string `json:"sql_statement,omitempty"`

	// 客户端IP
	ClientIp *string `json:"client_ip,omitempty"`

	// 客户端名称
	ClientName *string `json:"client_name,omitempty"`

	// 数据库IP
	DbIp *string `json:"db_ip,omitempty"`

	// 数据库用户名
	DbUser *string `json:"db_user,omitempty"`

	// 查询类型 LOGIN,CREATE_TABLE,CREATE_TABLESPACE,DROP_TABLE, DROP_TABLESPACE,DELETE,INSERT,INSERT_SELECT,SELECT,SELECT_FOR_UPDATE, UPDATE,CREATE_USER,DROP_USER,GRANT,OPERATE ALL
	QueryType *string `json:"query_type,omitempty"`

	// 操作对象列表
	OperatedObjInfo *[]AuditSqlResponseSqlOperatedObjInfo `json:"operated_obj_info,omitempty"`

	// 规则名称
	RuleName *string `json:"rule_name,omitempty"`

	// 风险级别 - HIGH - MEDIUM - LOW - NO_RISK
	RiskLevel *string `json:"risk_level,omitempty"`

	// 审计开始时间
	StartTime *string `json:"start_time,omitempty"`

	// 响应结果 - SUCCESS - FAILED
	SqlResponse string `json:"sql_response"`

	// 数据库实例
	DbInstance *string `json:"db_instance,omitempty"`
}

AuditSqlResponseSql sql信息

func (AuditSqlResponseSql) String added in v0.1.118

func (o AuditSqlResponseSql) String() string

type AuditSqlResponseSqlOperatedObjInfo added in v0.1.118

type AuditSqlResponseSqlOperatedObjInfo struct {

	// 列名
	ColumnName *string `json:"column_name,omitempty"`

	// 操作对象类型
	ObjectType *string `json:"object_type,omitempty"`

	// schema名称
	SchemaName *string `json:"schema_name,omitempty"`

	// sql类型
	SqlType *string `json:"sql_type,omitempty"`

	// 系统名称
	SysName *string `json:"sys_name,omitempty"`

	// 表名
	TableName *string `json:"table_name,omitempty"`
}

func (AuditSqlResponseSqlOperatedObjInfo) String added in v0.1.118

type AuditSqlResponseSqls added in v0.1.118

type AuditSqlResponseSqls struct {
	Sql *AuditSqlResponseSql `json:"sql"`
}

func (AuditSqlResponseSqls) String added in v0.1.118

func (o AuditSqlResponseSqls) String() string

type AuditSummaryResponseDataList added in v0.1.118

type AuditSummaryResponseDataList struct {

	// ID
	Id *int64 `json:"id,omitempty"`

	// 状态 - 1: success - 2: failure
	Status *string `json:"status,omitempty"`

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

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

	// 实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 审计时长
	AuditDuration *int64 `json:"audit_duration,omitempty"`

	// 语句总量
	TotalSql *int64 `json:"total_sql,omitempty"`

	// 风险总量
	TotalRisk *int64 `json:"total_risk,omitempty"`

	// 今日语句
	TodaySql *int64 `json:"today_sql,omitempty"`

	// 今日风险
	TodayRisk *int64 `json:"today_risk,omitempty"`

	// 今日会话
	TodaySession *int64 `json:"today_session,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 保留字1
	Reserve1 *string `json:"reserve1,omitempty"`

	// 保留字2
	Reserve2 *string `json:"reserve2,omitempty"`
}

func (AuditSummaryResponseDataList) String added in v0.1.118

type AzInfo added in v0.1.15

type AzInfo struct {

	// 可用区名称
	ZoneName string `json:"zone_name"`

	// 可用区编号
	ZoneNumber int32 `json:"zone_number"`

	// 可用区类型
	AzType string `json:"az_type"`

	// 可用区中文别名
	Alias string `json:"alias"`

	// 可用区英文别名
	AliasUs string `json:"alias_us"`
}

func (AzInfo) String added in v0.1.15

func (o AzInfo) String() string

type BatchAddResourceTagRequest added in v0.1.15

type BatchAddResourceTagRequest struct {

	// 资源类型。 - auditInstance
	ResourceType BatchAddResourceTagRequestResourceType `json:"resource_type"`

	// 资源ID。可在查询实例列表接口的resource_id字段获取。
	ResourceId string `json:"resource_id"`

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

BatchAddResourceTagRequest Request Object

func (BatchAddResourceTagRequest) String added in v0.1.15

type BatchAddResourceTagRequestResourceType added in v0.1.118

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

func (BatchAddResourceTagRequestResourceType) MarshalJSON added in v0.1.118

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

func (*BatchAddResourceTagRequestResourceType) UnmarshalJSON added in v0.1.118

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

func (BatchAddResourceTagRequestResourceType) Value added in v0.1.118

type BatchAddResourceTagRequestResourceTypeEnum added in v0.1.118

type BatchAddResourceTagRequestResourceTypeEnum struct {
	AUDIT_INSTANCE BatchAddResourceTagRequestResourceType
}

func GetBatchAddResourceTagRequestResourceTypeEnum added in v0.1.118

func GetBatchAddResourceTagRequestResourceTypeEnum() BatchAddResourceTagRequestResourceTypeEnum

type BatchAddResourceTagResponse added in v0.1.15

type BatchAddResourceTagResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchAddResourceTagResponse Response Object

func (BatchAddResourceTagResponse) String added in v0.1.15

type BatchDeleteResourceTagRequest added in v0.1.15

type BatchDeleteResourceTagRequest struct {

	// 资源类型。 - auditInstance
	ResourceType BatchDeleteResourceTagRequestResourceType `json:"resource_type"`

	// 资源ID。可在查询实例列表接口的resource_id字段获取。
	ResourceId string `json:"resource_id"`

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

BatchDeleteResourceTagRequest Request Object

func (BatchDeleteResourceTagRequest) String added in v0.1.15

type BatchDeleteResourceTagRequestResourceType added in v0.1.118

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

func (BatchDeleteResourceTagRequestResourceType) MarshalJSON added in v0.1.118

func (*BatchDeleteResourceTagRequestResourceType) UnmarshalJSON added in v0.1.118

func (BatchDeleteResourceTagRequestResourceType) Value added in v0.1.118

type BatchDeleteResourceTagRequestResourceTypeEnum added in v0.1.118

type BatchDeleteResourceTagRequestResourceTypeEnum struct {
	AUDIT_INSTANCE BatchDeleteResourceTagRequestResourceType
}

func GetBatchDeleteResourceTagRequestResourceTypeEnum added in v0.1.118

func GetBatchDeleteResourceTagRequestResourceTypeEnum() BatchDeleteResourceTagRequestResourceTypeEnum

type BatchDeleteResourceTagResponse added in v0.1.15

type BatchDeleteResourceTagResponse struct {
	Body           *string `json:"body,omitempty"`
	HttpStatusCode int     `json:"-"`
}

BatchDeleteResourceTagResponse Response Object

func (BatchDeleteResourceTagResponse) String added in v0.1.15

type BatchSwitchesRequest

type BatchSwitchesRequest struct {

	// 规则ID,多个ID中间逗号分隔。可在查询风险规则策略接口ID字段获取。
	Ids *string `json:"ids,omitempty"`

	// 开关状态 - OFF: 关闭 - ON: 开启
	Status *BatchSwitchesRequestStatus `json:"status,omitempty"`
}

func (BatchSwitchesRequest) String

func (o BatchSwitchesRequest) String() string

type BatchSwitchesRequestStatus

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

func (BatchSwitchesRequestStatus) MarshalJSON

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

func (*BatchSwitchesRequestStatus) UnmarshalJSON

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

func (BatchSwitchesRequestStatus) Value added in v0.0.90

type BatchSwitchesRequestStatusEnum

type BatchSwitchesRequestStatusEnum struct {
	OFF BatchSwitchesRequestStatus
	ON  BatchSwitchesRequestStatus
}

func GetBatchSwitchesRequestStatusEnum

func GetBatchSwitchesRequestStatusEnum() BatchSwitchesRequestStatusEnum

type CountResourceInstanceByTagRequest added in v0.1.15

type CountResourceInstanceByTagRequest struct {

	// 资源类型。 - auditInstance
	ResourceType CountResourceInstanceByTagRequestResourceType `json:"resource_type"`

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

CountResourceInstanceByTagRequest Request Object

func (CountResourceInstanceByTagRequest) String added in v0.1.15

type CountResourceInstanceByTagRequestResourceType added in v0.1.118

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

func (CountResourceInstanceByTagRequestResourceType) MarshalJSON added in v0.1.118

func (*CountResourceInstanceByTagRequestResourceType) UnmarshalJSON added in v0.1.118

func (CountResourceInstanceByTagRequestResourceType) Value added in v0.1.118

type CountResourceInstanceByTagRequestResourceTypeEnum added in v0.1.118

type CountResourceInstanceByTagRequestResourceTypeEnum struct {
	AUDIT_INSTANCE CountResourceInstanceByTagRequestResourceType
}

func GetCountResourceInstanceByTagRequestResourceTypeEnum added in v0.1.118

func GetCountResourceInstanceByTagRequestResourceTypeEnum() CountResourceInstanceByTagRequestResourceTypeEnum

type CountResourceInstanceByTagResponse added in v0.1.15

type CountResourceInstanceByTagResponse struct {

	// 资源实例列表
	Resources *[]ResourceInstanceResponseResources `json:"resources,omitempty"`

	// 总记录数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

CountResourceInstanceByTagResponse Response Object

func (CountResourceInstanceByTagResponse) String added in v0.1.15

type CreateDatabaseRequest added in v0.1.118

type CreateDatabaseRequest struct {
	Database *CreateDatabaseRequestDatabase `json:"database"`
}

func (CreateDatabaseRequest) String added in v0.1.118

func (o CreateDatabaseRequest) String() string

type CreateDatabaseRequestDatabase added in v0.1.118

type CreateDatabaseRequestDatabase struct {

	// 数据库分类 - RDS: RDS数据库 - ECS:自建数据库
	DbClassification string `json:"db_classification"`

	// 数据库名称
	Name string `json:"name"`

	// 数据库类型 - MYSQL - ORACLE - POSTGRESQL - SQLSERVER - DAMENG - TAURUS - DWS - KINGBASE - GAUSSDBOPENGAUSS - GREENPLUM - HIGHGO - SHENTONG - GBASE8A - GBASE8S - GBASEXDM - MONGODB - DDS
	Type string `json:"type"`

	// 数据库版本
	Version string `json:"version"`

	// 字符集。 - GBK - UTF8
	Charset CreateDatabaseRequestDatabaseCharset `json:"charset"`

	// 数据库IP
	Ip string `json:"ip"`

	// 数据库端口
	Port string `json:"port"`

	// 数据库操作系统 - LINUX64 - WINDOWS64 - UNIX
	Os string `json:"os"`

	// 数据库实例名称
	InstanceName *string `json:"instance_name,omitempty"`
}

CreateDatabaseRequestDatabase 数据库信息

func (CreateDatabaseRequestDatabase) String added in v0.1.118

type CreateDatabaseRequestDatabaseCharset added in v0.1.118

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

func (CreateDatabaseRequestDatabaseCharset) MarshalJSON added in v0.1.118

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

func (*CreateDatabaseRequestDatabaseCharset) UnmarshalJSON added in v0.1.118

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

func (CreateDatabaseRequestDatabaseCharset) Value added in v0.1.118

type CreateDatabaseRequestDatabaseCharsetEnum added in v0.1.118

type CreateDatabaseRequestDatabaseCharsetEnum struct {
	GBK  CreateDatabaseRequestDatabaseCharset
	UTF8 CreateDatabaseRequestDatabaseCharset
}

func GetCreateDatabaseRequestDatabaseCharsetEnum added in v0.1.118

func GetCreateDatabaseRequestDatabaseCharsetEnum() CreateDatabaseRequestDatabaseCharsetEnum

type CreateInstancePeriodRequest added in v0.1.15

type CreateInstancePeriodRequest struct {

	// 实例名称。取值范围: - 只能由中文字符、英文字母、数字、下划线、中划线组成,且长度小于等于64个字符。
	Name string `json:"name"`

	// 云服务器使用的规格ID
	FlavorRef string `json:"flavor_ref"`

	// 虚拟私有云的ID
	VpcId string `json:"vpc_id"`

	// 云服务器对应可用分区信息。(两个主备分区,中间用“,”分割,例如az1.dc1,az2.dc2)。
	AvailabilityZone string `json:"availability_zone"`

	// 企业项目ID。对接EPS必输。
	EnterpriseProjectId *string `json:"enterprise_project_id,omitempty"`

	// 云服务器对应的网卡信息
	Nics []CreateInstancePeriodRequestNics `json:"nics"`

	// 云服务器对应安全组信息
	SecurityGroups []CreateInstancePeriodRequestSecurityGroups `json:"security_groups"`

	// 备注信息
	Comment *string `json:"comment,omitempty"`

	// 云服务器所在区域ID
	Region string `json:"region"`

	// 服务类型: - hws.service.type.dbss
	CloudServiceType string `json:"cloud_service_type"`

	// 计费模式: - 0: 包周期计费 - 1: 按需计费
	ChargingMode int32 `json:"charging_mode"`

	// -订购周期类型 - 0: 天 - 1:周 - 2:月 - 3:年 - 4: 小时 - 5: 绝对时间
	PeriodType int32 `json:"period_type"`

	// 订购周期数
	PeriodNum int32 `json:"period_num"`

	// 订购数量: DBSS只支持订购1套,不支持多套
	SubscriptionNum int32 `json:"subscription_num"`

	// 产品信息列表
	ProductInfos []CreateInstancePeriodRequestProductInfos `json:"product_infos"`

	// 资源标签
	Tags *[]KeyValueBean `json:"tags,omitempty"`

	// 折扣信息
	PromotionInfo *string `json:"promotion_info,omitempty"`

	// 自动续费 - 1: 自动续费 - 0: 不自动续费
	IsAutoRenew *int32 `json:"is_auto_renew,omitempty"`
}

func (CreateInstancePeriodRequest) String added in v0.1.15

type CreateInstancePeriodRequestNics added in v0.1.15

type CreateInstancePeriodRequestNics struct {

	// 网卡对应的子网ID
	SubnetId string `json:"subnet_id"`

	// IP地址,不填或空字符串为自动分配
	IpAddress *string `json:"ip_address,omitempty"`
}

func (CreateInstancePeriodRequestNics) String added in v0.1.15

type CreateInstancePeriodRequestProductInfos added in v0.1.15

type CreateInstancePeriodRequestProductInfos struct {

	// 产品ID
	ProductId string `json:"product_id"`

	// 服务类型: - hws.service.type.dbss
	CloudServiceType string `json:"cloud_service_type"`

	// 资源类型: - hws.resource.type.dbss
	ResourceType string `json:"resource_type"`

	// 资源规格: - dbss.bypassaudit.low - dbss.bypassaudit.medium - dbss.bypassaudit.high
	ResourceSpecCode string `json:"resource_spec_code"`

	// 产品规格描述。json字符串格式 :{\"specDesc\":{\"zh-cn\":{\"key1\":\"value1\"},\"en-us\":{\"key1\":\"value1\"}}}。key和value为用户自定义希望展示的产品描述信息。
	ProductSpecDesc *string `json:"product_spec_desc,omitempty"`
}

func (CreateInstancePeriodRequestProductInfos) String added in v0.1.15

type CreateInstancePeriodRequestSecurityGroups added in v0.1.15

type CreateInstancePeriodRequestSecurityGroups struct {

	// 云服务器对应的安全组ID,会对创建云服务器中配置的网卡生效
	Id string `json:"id"`
}

func (CreateInstancePeriodRequestSecurityGroups) String added in v0.1.15

type CreateInstancesPeriodOrderRequest added in v0.1.15

type CreateInstancesPeriodOrderRequest struct {
	Body *CreateInstancePeriodRequest `json:"body,omitempty"`
}

CreateInstancesPeriodOrderRequest Request Object

func (CreateInstancesPeriodOrderRequest) String added in v0.1.15

type CreateInstancesPeriodOrderResponse added in v0.1.15

type CreateInstancesPeriodOrderResponse struct {

	// 描述
	Description *string `json:"description,omitempty"`

	// 返回码
	Code *string `json:"code,omitempty"`

	// 订单ID
	OrderId        *string `json:"order_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

CreateInstancesPeriodOrderResponse Response Object

func (CreateInstancesPeriodOrderResponse) String added in v0.1.15

type DataBase added in v0.1.15

type DataBase struct {

	// 数据库ID
	Id *string `json:"id,omitempty"`

	// 数据库名称
	Name string `json:"name"`

	// 添加的数据库类型: - MYSQL - ORACLE - POSTGRESQL - SQLSERVER - DAMENG - TAURUS - DWS - KINGBASE - GAUSSDBOPENGAUSS - GREENPLUM - HIGHGO - SHENTONG - GBASE8A - GBASE8S - GBASEXDM - MONGODB - DDS
	Type string `json:"type"`

	// 数据库版本
	Version string `json:"version"`

	// 数据库字符集 - GBK - UTF8
	Charset string `json:"charset"`

	// 数据库IP
	Ip string `json:"ip"`

	// 数据库端口
	Port string `json:"port"`

	// 数据库操作系统
	Os string `json:"os"`

	// 实例状态 - ON :开启 - OFF : 关闭
	Status string `json:"status"`

	// 数据库实例名
	InstanceName string `json:"instance_name"`

	// 数据库的运行状态 - ACTIVE - SHUTOFF - ERROR
	AuditStatus *string `json:"audit_status,omitempty"`

	// agent的唯一ID
	AgentUrl *[]string `json:"agent_url,omitempty"`

	// 数据库分类 - RDS: 表示RDS数据库 - ECS:自建数据库
	DbClassification string `json:"db_classification"`

	// rds实例审计开关状态不匹配。当数据库审计开启且rds侧日志上传开关关闭时该字段为true。
	RdsAuditSwitchMismatch *bool `json:"rds_audit_switch_mismatch,omitempty"`

	// RDS数据库的ID。
	RdsId *string `json:"rds_id,omitempty"`

	// RDS数据库信息。
	RdsObjInfo *string `json:"rds_obj_info,omitempty"`

	// DWS数据库信息。
	DwsObjInfo *string `json:"dws_obj_info,omitempty"`

	// 云数据库信息,该字段已废弃。
	ClouddbObjInfo *string `json:"clouddb_obj_info,omitempty"`
}

DataBase 数据库信息

func (DataBase) String added in v0.1.15

func (o DataBase) String() string

type DataBaseBean added in v0.1.15

type DataBaseBean struct {
	Database *DataBase `json:"database"`
}

func (DataBaseBean) String added in v0.1.15

func (o DataBaseBean) String() string

type DeleteAuditAgentRequest added in v0.1.118

type DeleteAuditAgentRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// agent ID。可在查询数据库agent列表接口ID字段获取。
	AgentId string `json:"agent_id"`

	// 数据库ID, 可在查询数据库列表接口ID字段获取。
	DbId string `json:"db_id"`
}

DeleteAuditAgentRequest Request Object

func (DeleteAuditAgentRequest) String added in v0.1.118

func (o DeleteAuditAgentRequest) String() string

type DeleteAuditAgentResponse added in v0.1.118

type DeleteAuditAgentResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteAuditAgentResponse Response Object

func (DeleteAuditAgentResponse) String added in v0.1.118

func (o DeleteAuditAgentResponse) String() string

type DeleteAuditDatabaseRequest added in v0.1.118

type DeleteAuditDatabaseRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 数据库ID,可在查询数据库列表接口ID字段获取。
	DbId string `json:"db_id"`
}

DeleteAuditDatabaseRequest Request Object

func (DeleteAuditDatabaseRequest) String added in v0.1.118

type DeleteAuditDatabaseResponse added in v0.1.118

type DeleteAuditDatabaseResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteAuditDatabaseResponse Response Object

func (DeleteAuditDatabaseResponse) String added in v0.1.118

type DeleteInstanceDemandRequest added in v0.1.118

type DeleteInstanceDemandRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	Id string `json:"id"`

	// 是否删除弹性IP
	DeletePublicip *bool `json:"delete_publicip,omitempty"`

	// 是否删除磁盘
	DeleteVolume *bool `json:"delete_volume,omitempty"`
}

func (DeleteInstanceDemandRequest) String added in v0.1.118

type DeleteInstancesRequest added in v0.1.118

type DeleteInstancesRequest struct {
	Body *DeleteInstanceDemandRequest `json:"body,omitempty"`
}

DeleteInstancesRequest Request Object

func (DeleteInstancesRequest) String added in v0.1.118

func (o DeleteInstancesRequest) String() string

type DeleteInstancesResponse added in v0.1.118

type DeleteInstancesResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DeleteInstancesResponse Response Object

func (DeleteInstancesResponse) String added in v0.1.118

func (o DeleteInstancesResponse) String() string

type DownloadAuditAgentRequest added in v0.1.118

type DownloadAuditAgentRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// agent ID。可在查询数据库agent列表接口ID字段获取。
	AgentId string `json:"agent_id"`
}

DownloadAuditAgentRequest Request Object

func (DownloadAuditAgentRequest) String added in v0.1.118

func (o DownloadAuditAgentRequest) String() string

type DownloadAuditAgentResponse added in v0.1.118

type DownloadAuditAgentResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

DownloadAuditAgentResponse Response Object

func (DownloadAuditAgentResponse) String added in v0.1.118

type EcsSpecificationBean added in v0.1.15

type EcsSpecificationBean struct {

	// ECS规格所在的可用区集合
	Azs []string `json:"azs"`

	// 规格ID
	Id string `json:"id"`

	// 规格等级,支持的等级以局点配置为准。 - entry:入门版 - low:基础版 - medium:专业版 - high:高级版
	Level string `json:"level"`

	// 规格名称
	Name string `json:"name"`

	// 规格可添加的数据库数量
	Proxy int32 `json:"proxy"`

	// 内存
	Ram int32 `json:"ram"`

	// CPU
	Vcpus int32 `json:"vcpus"`

	// 可用区类型 - DEDICATED - DEC - EDGE
	AzType *string `json:"az_type,omitempty"`
}

func (EcsSpecificationBean) String added in v0.1.15

func (o EcsSpecificationBean) String() string

type JobBean added in v0.1.15

type JobBean struct {

	// 任务ID。
	JobId string `json:"job_id"`

	// 任务状态 - SUCCESS - RUNNING - FAIL - INIT - READY
	Status string `json:"status"`

	// 类型
	JobType string `json:"job_type"`

	// 虚拟机ID
	ServerId string `json:"server_id"`

	// 虚拟机名称
	ServerName string `json:"server_name"`

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 开始时间
	BeginTime int64 `json:"begin_time"`

	// 结束时间
	EndTime int64 `json:"end_time"`

	// 计费模式 - Period:包周期计费 - Demand:按需计费
	ChargeMode string `json:"charge_mode"`

	// 错误码
	ErrorCode *string `json:"error_code,omitempty"`

	// 失败原因
	FailReason *string `json:"fail_reason,omitempty"`

	// 防护实例ID,该字段已废弃
	HaId *string `json:"ha_id,omitempty"`

	// 防护实例名称,该字段已废弃
	HaName *string `json:"ha_name,omitempty"`
}

func (JobBean) String added in v0.1.15

func (o JobBean) String() string

type KeyValueBean added in v0.1.15

type KeyValueBean struct {

	// 键
	Key string `json:"key"`

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

func (KeyValueBean) String added in v0.1.15

func (o KeyValueBean) String() string

type ListAuditAgentRequest added in v0.1.118

type ListAuditAgentRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 数据库ID,可在查询数据库列表接口ID字段获取。
	DbId string `json:"db_id"`

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 查询记录数
	Limit *string `json:"limit,omitempty"`
}

ListAuditAgentRequest Request Object

func (ListAuditAgentRequest) String added in v0.1.118

func (o ListAuditAgentRequest) String() string

type ListAuditAgentResponse added in v0.1.118

type ListAuditAgentResponse struct {

	// agent列表
	Agents         *[]AuditAgentRespoonseAgents `json:"agents,omitempty"`
	HttpStatusCode int                          `json:"-"`
}

ListAuditAgentResponse Response Object

func (ListAuditAgentResponse) String added in v0.1.118

func (o ListAuditAgentResponse) String() string

type ListAuditAlarmLogRequest added in v0.1.118

type ListAuditAlarmLogRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

ListAuditAlarmLogRequest Request Object

func (ListAuditAlarmLogRequest) String added in v0.1.118

func (o ListAuditAlarmLogRequest) String() string

type ListAuditAlarmLogResponse added in v0.1.118

type ListAuditAlarmLogResponse struct {

	// 总条数
	TotalNum *int32 `json:"total_num,omitempty"`

	// 告警列表
	AlarmLog       *[]AlarmLogResponseAlarmLog `json:"alarm_log,omitempty"`
	HttpStatusCode int                         `json:"-"`
}

ListAuditAlarmLogResponse Response Object

func (ListAuditAlarmLogResponse) String added in v0.1.118

func (o ListAuditAlarmLogResponse) String() string

type ListAuditDatabasesRequest added in v0.1.15

type ListAuditDatabasesRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 实例状态 - ON :开启 - OFF : 关闭
	Status *string `json:"status,omitempty"`

	// 偏移量,从第一条数据偏移offset条数据后开始查询,默认为0。
	Offset *string `json:"offset,omitempty"`

	// 查询记录数,默认为100。
	Limit *string `json:"limit,omitempty"`
}

ListAuditDatabasesRequest Request Object

func (ListAuditDatabasesRequest) String added in v0.1.15

func (o ListAuditDatabasesRequest) String() string

type ListAuditDatabasesResponse added in v0.1.15

type ListAuditDatabasesResponse struct {

	// 数据库信息列表
	Databases *[]DataBaseBean `json:"databases,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAuditDatabasesResponse Response Object

func (ListAuditDatabasesResponse) String added in v0.1.15

type ListAuditInstanceJobsRequest added in v0.1.15

type ListAuditInstanceJobsRequest struct {

	// 资源ID。可在查询实例列表接口的resource_id获取。
	ResourceId string `json:"resource_id"`
}

ListAuditInstanceJobsRequest Request Object

func (ListAuditInstanceJobsRequest) String added in v0.1.15

type ListAuditInstanceJobsResponse added in v0.1.15

type ListAuditInstanceJobsResponse struct {

	// 实例创建任务列表
	Jobs           *[]JobBean `json:"jobs,omitempty"`
	HttpStatusCode int        `json:"-"`
}

ListAuditInstanceJobsResponse Response Object

func (ListAuditInstanceJobsResponse) String added in v0.1.15

type ListAuditInstancesRequest added in v0.1.15

type ListAuditInstancesRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 查询记录数
	Limit *string `json:"limit,omitempty"`
}

ListAuditInstancesRequest Request Object

func (ListAuditInstancesRequest) String added in v0.1.15

func (o ListAuditInstancesRequest) String() string

type ListAuditInstancesResponse added in v0.1.15

type ListAuditInstancesResponse struct {

	// 实例信息列表
	Servers *[]AuditInstanceListBean `json:"servers,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAuditInstancesResponse Response Object

func (ListAuditInstancesResponse) String added in v0.1.15

type ListAuditOperateLogsRequest added in v0.1.15

type ListAuditOperateLogsRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

ListAuditOperateLogsRequest Request Object

func (ListAuditOperateLogsRequest) String added in v0.1.15

type ListAuditOperateLogsResponse added in v0.1.15

type ListAuditOperateLogsResponse struct {

	// 总数
	TotalNum *int32 `json:"total_num,omitempty"`

	// 操作日志列表
	OperateLog     *[]OperateLogInfo `json:"operate_log,omitempty"`
	HttpStatusCode int               `json:"-"`
}

ListAuditOperateLogsResponse Response Object

func (ListAuditOperateLogsResponse) String added in v0.1.15

type ListAuditRuleRisksRequest added in v0.1.15

type ListAuditRuleRisksRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

	// 风险级别 - LOW - MEDIUM - HIGH - NO_RISK
	RiskLevels *ListAuditRuleRisksRequestRiskLevels `json:"risk_levels,omitempty"`
}

ListAuditRuleRisksRequest Request Object

func (ListAuditRuleRisksRequest) String added in v0.1.15

func (o ListAuditRuleRisksRequest) String() string

type ListAuditRuleRisksRequestRiskLevels added in v0.1.118

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

func (ListAuditRuleRisksRequestRiskLevels) MarshalJSON added in v0.1.118

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

func (*ListAuditRuleRisksRequestRiskLevels) UnmarshalJSON added in v0.1.118

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

func (ListAuditRuleRisksRequestRiskLevels) Value added in v0.1.118

type ListAuditRuleRisksRequestRiskLevelsEnum added in v0.1.118

func GetListAuditRuleRisksRequestRiskLevelsEnum added in v0.1.118

func GetListAuditRuleRisksRequestRiskLevelsEnum() ListAuditRuleRisksRequestRiskLevelsEnum

type ListAuditRuleRisksResponse added in v0.1.15

type ListAuditRuleRisksResponse struct {

	// 风险规则列表
	Rules *[]RuleRiskResponseRules `json:"rules,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAuditRuleRisksResponse Response Object

func (ListAuditRuleRisksResponse) String added in v0.1.15

type ListAuditRuleScopesRequest added in v0.1.15

type ListAuditRuleScopesRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 查询记录数
	Limit *string `json:"limit,omitempty"`
}

ListAuditRuleScopesRequest Request Object

func (ListAuditRuleScopesRequest) String added in v0.1.15

type ListAuditRuleScopesResponse added in v0.1.15

type ListAuditRuleScopesResponse struct {

	// 审计范围规则列表
	Scopes *[]RuleScopeInfo `json:"scopes,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAuditRuleScopesResponse Response Object

func (ListAuditRuleScopesResponse) String added in v0.1.15

type ListAuditSensitiveMasksRequest added in v0.1.15

type ListAuditSensitiveMasksRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 查询记录数
	Limit *string `json:"limit,omitempty"`
}

ListAuditSensitiveMasksRequest Request Object

func (ListAuditSensitiveMasksRequest) String added in v0.1.15

type ListAuditSensitiveMasksResponse added in v0.1.15

type ListAuditSensitiveMasksResponse struct {

	// 规则列表
	Rules *[]SensitiveMaskResponseRules `json:"rules,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAuditSensitiveMasksResponse Response Object

func (ListAuditSensitiveMasksResponse) String added in v0.1.15

type ListAuditSqlsRequest added in v0.1.118

type ListAuditSqlsRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

ListAuditSqlsRequest Request Object

func (ListAuditSqlsRequest) String added in v0.1.118

func (o ListAuditSqlsRequest) String() string

type ListAuditSqlsResponse added in v0.1.118

type ListAuditSqlsResponse struct {

	// 总数
	Total *int32 `json:"total,omitempty"`

	// 总数
	Count *int32 `json:"count,omitempty"`

	// sql语句列表
	Sqls           *[]AuditSqlResponseSqls `json:"sqls,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListAuditSqlsResponse Response Object

func (ListAuditSqlsResponse) String added in v0.1.118

func (o ListAuditSqlsResponse) String() string

type ListAuditSummaryInfosRequest added in v0.1.118

type ListAuditSummaryInfosRequest struct {

	// 偏移量
	Offset *string `json:"offset,omitempty"`

	// 查询记录数
	Limit *string `json:"limit,omitempty"`
}

ListAuditSummaryInfosRequest Request Object

func (ListAuditSummaryInfosRequest) String added in v0.1.118

type ListAuditSummaryInfosResponse added in v0.1.118

type ListAuditSummaryInfosResponse struct {

	// 项目ID
	ProjectId *string `json:"project_id,omitempty"`

	// 审计总时长
	AuditDuration *int64 `json:"audit_duration,omitempty"`

	// 语句总量
	TotalSql *int64 `json:"total_sql,omitempty"`

	// 风险总量
	TotalRisk *int64 `json:"total_risk,omitempty"`

	// 今日语句
	TodaySql *int64 `json:"today_sql,omitempty"`

	// 今日风险
	TodayRisk *int64 `json:"today_risk,omitempty"`

	// 今日会话
	TodaySession *int64 `json:"today_session,omitempty"`

	// 更新时间
	UpdateTime *int64 `json:"update_time,omitempty"`

	// 列表信息
	DataList *[]AuditSummaryResponseDataList `json:"data_list,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListAuditSummaryInfosResponse Response Object

func (ListAuditSummaryInfosResponse) String added in v0.1.118

type ListAvailabilityZoneInfosRequest added in v0.1.15

type ListAvailabilityZoneInfosRequest struct {
}

ListAvailabilityZoneInfosRequest Request Object

func (ListAvailabilityZoneInfosRequest) String added in v0.1.15

type ListAvailabilityZoneInfosResponse added in v0.1.15

type ListAvailabilityZoneInfosResponse struct {

	// 可用区集合
	Azs            *[]AzInfo `json:"azs,omitempty"`
	HttpStatusCode int       `json:"-"`
}

ListAvailabilityZoneInfosResponse Response Object

func (ListAvailabilityZoneInfosResponse) String added in v0.1.15

type ListEcsSpecificationRequest added in v0.1.15

type ListEcsSpecificationRequest struct {
}

ListEcsSpecificationRequest Request Object

func (ListEcsSpecificationRequest) String added in v0.1.15

type ListEcsSpecificationResponse added in v0.1.15

type ListEcsSpecificationResponse struct {

	// ecs规格集合
	Specification  *[]EcsSpecificationBean `json:"specification,omitempty"`
	HttpStatusCode int                     `json:"-"`
}

ListEcsSpecificationResponse Response Object

func (ListEcsSpecificationResponse) String added in v0.1.15

type ListProjectResourceTagsRequest added in v0.1.15

type ListProjectResourceTagsRequest struct {

	// 资源类型。 - auditInstance
	ResourceType ListProjectResourceTagsRequestResourceType `json:"resource_type"`
}

ListProjectResourceTagsRequest Request Object

func (ListProjectResourceTagsRequest) String added in v0.1.15

type ListProjectResourceTagsRequestResourceType added in v0.1.118

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

func (ListProjectResourceTagsRequestResourceType) MarshalJSON added in v0.1.118

func (*ListProjectResourceTagsRequestResourceType) UnmarshalJSON added in v0.1.118

func (ListProjectResourceTagsRequestResourceType) Value added in v0.1.118

type ListProjectResourceTagsRequestResourceTypeEnum added in v0.1.118

type ListProjectResourceTagsRequestResourceTypeEnum struct {
	AUDIT_INSTANCE ListProjectResourceTagsRequestResourceType
}

func GetListProjectResourceTagsRequestResourceTypeEnum added in v0.1.118

func GetListProjectResourceTagsRequestResourceTypeEnum() ListProjectResourceTagsRequestResourceTypeEnum

type ListProjectResourceTagsResponse added in v0.1.15

type ListProjectResourceTagsResponse struct {

	// 标签列表
	Tags           *[]ProjectResourceTagResponseTags `json:"tags,omitempty"`
	HttpStatusCode int                               `json:"-"`
}

ListProjectResourceTagsResponse Response Object

func (ListProjectResourceTagsResponse) String added in v0.1.15

type ListRdsDatabasesRequest added in v0.1.118

type ListRdsDatabasesRequest struct {

	// 数据库类型 - MYSQL - ORACLE - POSTGRESQL - SQLSERVER - DAMENG - TAURUS - DWS - KINGBASE - MARIADB - GAUSSDBOPENGAUSS
	DbType ListRdsDatabasesRequestDbType `json:"db_type"`

	// 偏移量,从第一条数据偏移offset条数据后开始查询,默认为0。
	Offset *string `json:"offset,omitempty"`

	// 查询记录数,默认为100。
	Limit *string `json:"limit,omitempty"`
}

ListRdsDatabasesRequest Request Object

func (ListRdsDatabasesRequest) String added in v0.1.118

func (o ListRdsDatabasesRequest) String() string

type ListRdsDatabasesRequestDbType added in v0.1.118

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

func (ListRdsDatabasesRequestDbType) MarshalJSON added in v0.1.118

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

func (*ListRdsDatabasesRequestDbType) UnmarshalJSON added in v0.1.118

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

func (ListRdsDatabasesRequestDbType) Value added in v0.1.118

type ListRdsDatabasesResponse added in v0.1.118

type ListRdsDatabasesResponse struct {

	// rds数据库列表
	Databases *[]RdsDbListResponseDatabases `json:"databases,omitempty"`

	// 总数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListRdsDatabasesResponse Response Object

func (ListRdsDatabasesResponse) String added in v0.1.118

func (o ListRdsDatabasesResponse) String() string

type ListResourceInstanceByTagRequest added in v0.1.15

type ListResourceInstanceByTagRequest struct {

	// 资源类型。 - auditInstance
	ResourceType ListResourceInstanceByTagRequestResourceType `json:"resource_type"`

	// 查询记录数(action为count时无此参数)如果action为filter默认为1000,limit最多为1000,不能为负数,最小值为1。
	Limit *string `json:"limit,omitempty"`

	// 索引位置,偏移量(action为count时无此参数)从第一条数据偏移offset条数据后开始查询,如果action为filter默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。
	Offset *string `json:"offset,omitempty"`

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

ListResourceInstanceByTagRequest Request Object

func (ListResourceInstanceByTagRequest) String added in v0.1.15

type ListResourceInstanceByTagRequestResourceType added in v0.1.118

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

func (ListResourceInstanceByTagRequestResourceType) MarshalJSON added in v0.1.118

func (*ListResourceInstanceByTagRequestResourceType) UnmarshalJSON added in v0.1.118

func (ListResourceInstanceByTagRequestResourceType) Value added in v0.1.118

type ListResourceInstanceByTagRequestResourceTypeEnum added in v0.1.118

type ListResourceInstanceByTagRequestResourceTypeEnum struct {
	AUDIT_INSTANCE ListResourceInstanceByTagRequestResourceType
}

func GetListResourceInstanceByTagRequestResourceTypeEnum added in v0.1.118

func GetListResourceInstanceByTagRequestResourceTypeEnum() ListResourceInstanceByTagRequestResourceTypeEnum

type ListResourceInstanceByTagResponse added in v0.1.15

type ListResourceInstanceByTagResponse struct {

	// 资源实例列表
	Resources *[]ResourceInstanceResponseResources `json:"resources,omitempty"`

	// 总记录数
	TotalCount     *int32 `json:"total_count,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListResourceInstanceByTagResponse Response Object

func (ListResourceInstanceByTagResponse) String added in v0.1.15

type ListSqlInjectionRulesRequest added in v0.1.15

type ListSqlInjectionRulesRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

ListSqlInjectionRulesRequest Request Object

func (ListSqlInjectionRulesRequest) String added in v0.1.15

type ListSqlInjectionRulesResponse added in v0.1.15

type ListSqlInjectionRulesResponse struct {

	// SQL规则列表
	Rules *[]SqlRuleResponseRules `json:"rules,omitempty"`

	// 总数
	Total          *int32 `json:"total,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ListSqlInjectionRulesResponse Response Object

func (ListSqlInjectionRulesResponse) String added in v0.1.15

type OperateLogGetRequest added in v0.1.15

type OperateLogGetRequest struct {
	Time *TimeRangeBean `json:"time,omitempty"`

	// 操作日志用户名
	UserName *string `json:"user_name,omitempty"`

	// 动作名称 - CREATE - DELETE - DOWNLOAD - UPDATE
	Action *OperateLogGetRequestAction `json:"action,omitempty"`

	// 执行结果 - success - fail
	Result *OperateLogGetRequestResult `json:"result,omitempty"`

	// 页数
	Page *string `json:"page,omitempty"`

	// 每页条数
	Size *string `json:"size,omitempty"`
}

func (OperateLogGetRequest) String added in v0.1.15

func (o OperateLogGetRequest) String() string

type OperateLogGetRequestAction added in v0.1.118

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

func (OperateLogGetRequestAction) MarshalJSON added in v0.1.118

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

func (*OperateLogGetRequestAction) UnmarshalJSON added in v0.1.118

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

func (OperateLogGetRequestAction) Value added in v0.1.118

type OperateLogGetRequestActionEnum added in v0.1.118

type OperateLogGetRequestActionEnum struct {
	CREATE   OperateLogGetRequestAction
	DELETE   OperateLogGetRequestAction
	DOWNLOAD OperateLogGetRequestAction
	UPDATE   OperateLogGetRequestAction
}

func GetOperateLogGetRequestActionEnum added in v0.1.118

func GetOperateLogGetRequestActionEnum() OperateLogGetRequestActionEnum

type OperateLogGetRequestResult added in v0.1.118

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

func (OperateLogGetRequestResult) MarshalJSON added in v0.1.118

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

func (*OperateLogGetRequestResult) UnmarshalJSON added in v0.1.118

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

func (OperateLogGetRequestResult) Value added in v0.1.118

type OperateLogGetRequestResultEnum added in v0.1.118

type OperateLogGetRequestResultEnum struct {
	SUCCESS OperateLogGetRequestResult
	FAIL    OperateLogGetRequestResult
}

func GetOperateLogGetRequestResultEnum added in v0.1.118

func GetOperateLogGetRequestResultEnum() OperateLogGetRequestResultEnum

type OperateLogInfo added in v0.1.15

type OperateLogInfo struct {

	// 操作日志ID
	Id *string `json:"id,omitempty"`

	// 操作日志用户名
	User *string `json:"user,omitempty"`

	// 该条记录发生的时间,格式为时间戳。
	Time *string `json:"time,omitempty"`

	// 该条记录的操作类型 - create:创建 - update:更新 - delete:删除 - download: 下载
	Action *string `json:"action,omitempty"`

	// 该条记录的功能类型
	Function *string `json:"function,omitempty"`

	// 该条记录对应的用户操作对象
	Name *string `json:"name,omitempty"`

	// 该条记录具体的描述
	Description *string `json:"description,omitempty"`

	// 该条记录对应用户执行的结果 - success: 成功 - fail: 失败
	Result *string `json:"result,omitempty"`
}

func (OperateLogInfo) String added in v0.1.15

func (o OperateLogInfo) String() string

type ProjectResourceTagResponseTags added in v0.1.15

type ProjectResourceTagResponseTags struct {

	// 键。最大长度128个字符。
	Key *string `json:"key,omitempty"`

	// 值列表。每个值最大长度255个字符。
	Values *[]string `json:"values,omitempty"`
}

func (ProjectResourceTagResponseTags) String added in v0.1.15

type RdsDbListResponseDatabases added in v0.1.118

type RdsDbListResponseDatabases struct {

	// ID
	Id string `json:"id"`

	// 数据库名称
	DbName string `json:"db_name"`

	// 实例状态。 - BUILD:表示实例正在创建。 - ACTIVE:表示实例正常。 - FAILED:表示实例异常。 - FROZEN:表示实例冻结。 - MODIFYING:表示实例正在扩容。 - REBOOTING:表示实例正在重启。 - RESTORING:表示实例正在恢复。 - MODIFYING INSTANCE TYPE:表示实例正在转主备。 - SWITCHOVER:表示实例正在主备切换。 - MIGRATING:表示实例正在迁移。 - BACKING UP:表示实例正在进行备份。 - MODIFYING DATABASE PORT:表示实例正在修改数据库端口。 - STORAGE FULL:表示实例磁盘空间满。
	Status string `json:"status"`

	// 数据库端口
	Port string `json:"port"`

	// 数据库IP
	Ip string `json:"ip"`

	// rds实例名称
	InstanceName *string `json:"instance_name,omitempty"`

	// 数据库类型 - MYSQL - ORACLE - POSTGRESQL - SQLSERVER - DAMENG - TAURUS - DWS - KINGBASE - MARIADB - GAUSSDBOPENGAUSS
	Type string `json:"type"`

	// 版本
	Version string `json:"version"`

	// 是否支持免agent审计
	IsSupported bool `json:"is_supported"`

	// 企业项目ID
	EnterpriseId *string `json:"enterprise_id,omitempty"`
}

func (RdsDbListResponseDatabases) String added in v0.1.118

type RdsDbRequest added in v0.1.118

type RdsDbRequest struct {

	// 数据库列表
	Databases []RdsDbRequestDatabases `json:"databases"`
}

func (RdsDbRequest) String added in v0.1.118

func (o RdsDbRequest) String() string

type RdsDbRequestDatabases added in v0.1.118

type RdsDbRequestDatabases struct {

	// rds数据库id,可在查询rds数据库列表接口的ID字段获取。
	Id string `json:"id"`

	// 数据库类型 - MYSQL - ORACLE - POSTGRESQL - SQLSERVER - DAMENG - TAURUS - DWS - KINGBASE - MARIADB - GAUSSDBOPENGAUSS
	Type string `json:"type"`
}

func (RdsDbRequestDatabases) String added in v0.1.118

func (o RdsDbRequestDatabases) String() string

type RdsDbResponseRetList added in v0.1.118

type RdsDbResponseRetList struct {

	// rds数据库id
	Id string `json:"id"`

	// 状态 - SUCCESS - FAILED
	RetStatus string `json:"ret_status"`

	// 描述
	RetMessage string `json:"ret_message"`
}

func (RdsDbResponseRetList) String added in v0.1.118

func (o RdsDbResponseRetList) String() string

type RdsNoAgentDbRequest added in v0.1.15

type RdsNoAgentDbRequest struct {

	// 添加数据库信息列表
	Databases []RdsNoAgentDbRequestDatabases `json:"databases"`

	// 总数
	TotalCount *int32 `json:"total_count,omitempty"`
}

func (RdsNoAgentDbRequest) String added in v0.1.15

func (o RdsNoAgentDbRequest) String() string

type RdsNoAgentDbRequestDatabases added in v0.1.15

type RdsNoAgentDbRequestDatabases struct {

	// 数据库ID
	Id string `json:"id"`

	// 数据库名称
	DbName string `json:"db_name"`

	// 数据库状态
	Status string `json:"status"`

	// 数据库端口
	Port string `json:"port"`

	// 数据库IP
	Ip string `json:"ip"`

	// 数据库实例名称
	InstanceName string `json:"instance_name"`

	// 数据库版本
	Version string `json:"version"`

	// 数据库类型
	Type string `json:"type"`

	// 企业项目ID
	EnterpriseId string `json:"enterprise_id"`

	// 企业项目名称
	EnterpriseName *string `json:"enterprise_name,omitempty"`
}

func (RdsNoAgentDbRequestDatabases) String added in v0.1.15

type RebootAuditInstanceRequest added in v0.1.118

type RebootAuditInstanceRequest struct {
	Body *ServerIdBean `json:"body,omitempty"`
}

RebootAuditInstanceRequest Request Object

func (RebootAuditInstanceRequest) String added in v0.1.118

type RebootAuditInstanceResponse added in v0.1.118

type RebootAuditInstanceResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

RebootAuditInstanceResponse Response Object

func (RebootAuditInstanceResponse) String added in v0.1.118

type ResourceInstanceResponseResources added in v0.1.15

type ResourceInstanceResponseResources struct {

	// 资源ID
	ResourceId string `json:"resource_id"`

	// 资源名称,资源没有名称时默认为空字符串,eip返回ip地址。
	ResourceName string `json:"resource_name"`

	// 资源详情。 资源对象,用于扩展,默认为空。
	ResourceDetail *interface{} `json:"resource_detail"`

	// 标签列表,没有标签默认为空数组
	Tags []ResourceInstanceResponseTags `json:"tags"`

	// 仅op_service权限才可以可以获取此字段: 目前只包含一个resource_tag 结构体 key:_sys_enterprise_project_id value:企业项目id,0表示默认企业项目 非op_service场景不能返回此字段
	SysTags *[]ResourceInstanceResponseSysTags `json:"sys_tags,omitempty"`
}

func (ResourceInstanceResponseResources) String added in v0.1.15

type ResourceInstanceResponseSysTags added in v0.1.15

type ResourceInstanceResponseSysTags struct {

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

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

func (ResourceInstanceResponseSysTags) String added in v0.1.15

type ResourceInstanceResponseTags added in v0.1.15

type ResourceInstanceResponseTags struct {

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

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

func (ResourceInstanceResponseTags) String added in v0.1.15

type ResourceInstanceTagRequest added in v0.1.15

type ResourceInstanceTagRequest struct {

	// 搜索字段,key为要匹配的字段,如resource_name等。value为匹配的值。key为固定字典值,不能包含重复的key或不支持的key。 根据key的值确认是否需要模糊匹配,如resource_name默认为模糊搜索(不区分大小写),如果value为空字符串精确匹配(多数服务不存在资源名称为空的情况,因此此类情况返回空列表)。resource_id为精确匹配。第一期只做resource_name,后续再扩展。
	Matches *[]ResourceInstanceTagRequestMatches `json:"matches,omitempty"`

	// 不包含标签,最多包含50个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据
	NotTags *[]TagKeyValuesBean `json:"not_tags,omitempty"`

	// 包含标签,最多包含50个key,每个key下面的value最多10个,每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回包含所有标签的资源列表,key之间是与的关系,key-value结构中value是或的关系。无tag过滤条件时返回全量数据
	Tags *[]TagKeyValuesBean `json:"tags,omitempty"`

	// 包含任意标签,最多包含50个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据
	TagsAny *[]TagKeyValuesBean `json:"tags_any,omitempty"`

	// 不包含任意标签,最多包含50个key,每个key下面的value最多10个, 每个key对应的value可以为空数组但结构体不能缺失。Key不能重复,同一个key中values不能重复。结果返回不包含标签的资源列表,key之间是或的关系,key-value结构中value是或的关系。无过滤条件时返回全量数据
	NotTagsAny *[]TagKeyValuesBean `json:"not_tags_any,omitempty"`

	SysTags *TagKeyValuesBean `json:"sys_tags,omitempty"`

	// 不包含任意一个标签,该字段为true时查询所有不带标签的资源,此时忽略 “tags”、“tags_any”、“not_tags”、“not_tags_any”字段
	WithoutAnyTag *bool `json:"without_any_tag,omitempty"`
}

func (ResourceInstanceTagRequest) String added in v0.1.15

type ResourceInstanceTagRequestMatches added in v0.1.15

type ResourceInstanceTagRequestMatches struct {

	// 键,目前仅支持:resource_name
	Key string `json:"key"`

	// 值,需要匹配的资源名称
	Value string `json:"value"`
}

func (ResourceInstanceTagRequestMatches) String added in v0.1.15

type ResourceTagDeleteRequest added in v0.1.118

type ResourceTagDeleteRequest struct {

	// 标签列表 租户权限时该字段必选,op_service权限时和sys_tags二选一
	Tags *[]ResourceTagDeleteRequestTags `json:"tags,omitempty"`

	// 系统标签列表 op_service权限可以访问,和tags二选一。 目前TMS调用时只包含一个resource_tag结构体 ,key固定为:_sys_enterprise_project_id value是UUID或0,value为0表示默认企业项目。 现在仅支持create操作。
	SysTags *[]ResourceTagDeleteRequestTags `json:"sys_tags,omitempty"`
}

func (ResourceTagDeleteRequest) String added in v0.1.118

func (o ResourceTagDeleteRequest) String() string

type ResourceTagDeleteRequestTags added in v0.1.118

type ResourceTagDeleteRequestTags struct {

	// 键。最大长度128个字符。
	Key string `json:"key"`

	// 值。每个值最大长度255个字符。
	Value *string `json:"value,omitempty"`
}

func (ResourceTagDeleteRequestTags) String added in v0.1.118

type ResourceTagRequest added in v0.1.15

type ResourceTagRequest struct {

	// 标签列表 租户权限时该字段必选,op_service权限时和sys_tags二选一
	Tags *[]ResourceTagRequestTags `json:"tags,omitempty"`

	// 系统标签列表 op_service权限可以访问,和tags二选一。 目前TMS调用时只包含一个resource_tag结构体 ,key固定为:_sys_enterprise_project_id value是UUID或0,value为0表示默认企业项目
	SysTags *[]ResourceTagRequestTags `json:"sys_tags,omitempty"`
}

func (ResourceTagRequest) String added in v0.1.15

func (o ResourceTagRequest) String() string

type ResourceTagRequestTags added in v0.1.118

type ResourceTagRequestTags struct {

	// 键。最大长度128个字符。
	Key string `json:"key"`

	// 值。每个值最大长度255个字符。
	Value string `json:"value"`
}

func (ResourceTagRequestTags) String added in v0.1.118

func (o ResourceTagRequestTags) String() string

type RuleRiskInfoBeanSchemas added in v0.1.15

type RuleRiskInfoBeanSchemas struct {

	// schema名称
	Schema *string `json:"schema,omitempty"`

	// 表名
	Table *string `json:"table,omitempty"`

	// 列名
	Column *string `json:"column,omitempty"`
}

func (RuleRiskInfoBeanSchemas) String added in v0.1.15

func (o RuleRiskInfoBeanSchemas) String() string

type RuleRiskResponseRules added in v0.1.15

type RuleRiskResponseRules struct {

	// 风险规则ID
	Id string `json:"id"`

	// 风险规则名称
	Name string `json:"name"`

	// 风险规则类型
	Type string `json:"type"`

	// 风险规则特征
	Feature *string `json:"feature,omitempty"`

	// 风险规则状态。 - ON: 开启 - OFF: 关闭
	Status string `json:"status"`

	// 风险规则优先级。数字越小优先级越高。
	Rank *int32 `json:"rank,omitempty"`

	// 风险级别 - LOW - MEDIUM - HIGH - NO_RISK]
	RiskLevel *string `json:"risk_level,omitempty"`

	// 规则类型
	RuleType *string `json:"rule_type,omitempty"`
}

func (RuleRiskResponseRules) String added in v0.1.15

func (o RuleRiskResponseRules) String() string

type RuleScopeInfo added in v0.1.15

type RuleScopeInfo struct {

	// 审计范围规则ID
	Id *string `json:"id,omitempty"`

	// 审计范围名称
	Name *string `json:"name,omitempty"`

	// 审计范围动作
	Action *string `json:"action,omitempty"`

	// 审计范围规则状态
	Status *string `json:"status,omitempty"`

	// 审计范围例外IP
	ExceptionIps *string `json:"exception_ips,omitempty"`

	// 审计范围规则源IP
	SourceIps *string `json:"source_ips,omitempty"`

	// 审计范围源端口
	SourcePorts *string `json:"source_ports,omitempty"`

	// 数据库ID
	DbIds *string `json:"db_ids,omitempty"`

	// 数据库名称
	DbNames *string `json:"db_names,omitempty"`

	// 数据库用户
	DbUsers *string `json:"db_users,omitempty"`

	// 是否全审计
	AllAudit *bool `json:"all_audit,omitempty"`
}

func (RuleScopeInfo) String added in v0.1.15

func (o RuleScopeInfo) String() string

type SecurityGroupRequest added in v0.1.15

type SecurityGroupRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 安全组ID列表(目前只支持传一个ID)
	SecuritygroupIds []string `json:"securitygroup_ids"`
}

func (SecurityGroupRequest) String added in v0.1.15

func (o SecurityGroupRequest) String() string

type SensitiveMaskResponseRules added in v0.1.15

type SensitiveMaskResponseRules struct {

	// 规则ID
	Id *string `json:"id,omitempty"`

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

	// 规则类型
	Type *string `json:"type,omitempty"`

	// 规则正则表达式
	Regex *string `json:"regex,omitempty"`

	// 替换值
	MaskValue *string `json:"mask_value,omitempty"`

	// 规则状态
	Status *string `json:"status,omitempty"`

	// 操作时间
	OperateTime *string `json:"operate_time,omitempty"`
}

func (SensitiveMaskResponseRules) String added in v0.1.15

type ServerIdBean added in v0.1.118

type ServerIdBean struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`
}

ServerIdBean ServerIdBean

func (ServerIdBean) String added in v0.1.118

func (o ServerIdBean) String() string

type ShowAuditQuotaRequest added in v0.1.15

type ShowAuditQuotaRequest struct {
}

ShowAuditQuotaRequest Request Object

func (ShowAuditQuotaRequest) String added in v0.1.15

func (o ShowAuditQuotaRequest) String() string

type ShowAuditQuotaResponse added in v0.1.15

type ShowAuditQuotaResponse struct {

	// 项目ID。
	ProjectId *string `json:"project_id,omitempty"`

	// 审计实例剩余配额。
	AuditQuota *int64 `json:"audit_quota,omitempty"`

	// CPU剩余配额。
	Cpu *int64 `json:"cpu,omitempty"`

	// 内存剩余配额。
	Ram            *int64 `json:"ram,omitempty"`
	HttpStatusCode int    `json:"-"`
}

ShowAuditQuotaResponse Response Object

func (ShowAuditQuotaResponse) String added in v0.1.15

func (o ShowAuditQuotaResponse) String() string

type ShowAuditRuleRiskRequest added in v0.1.15

type ShowAuditRuleRiskRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

	// 风险规则ID。可在查询风险规则策略接口的ID字段获取。
	RiskId string `json:"risk_id"`
}

ShowAuditRuleRiskRequest Request Object

func (ShowAuditRuleRiskRequest) String added in v0.1.15

func (o ShowAuditRuleRiskRequest) String() string

type ShowAuditRuleRiskResponse added in v0.1.15

type ShowAuditRuleRiskResponse struct {

	// 风险规则ID
	RuleId *string `json:"rule_id,omitempty"`

	// 风险名称
	RuleName *string `json:"rule_name,omitempty"`

	// 风险规则状态 - OFF - ON
	Status *string `json:"status,omitempty"`

	// 操作集合, 中间逗号分隔。 LOGIN,CREATE_TABLE,CREATE_TABLESPACE,DROP_TABLE, DROP_TABLESPACE,DELETE,INSERT,INSERT_SELECT,SELECT,SELECT_FOR_UPDATE, UPDATE,CREATE_USER,DROP_USER,GRANT,OPERATE ALL
	Action *string `json:"action,omitempty"`

	// Schema列表
	Schemas *[]RuleRiskInfoBeanSchemas `json:"schemas,omitempty"`

	// 风险规则优先级。数字越小优先级越高。
	Rank *int32 `json:"rank,omitempty"`

	// 是否忽略大小写
	IgnoreCase *bool `json:"ignore_case,omitempty"`

	// 风险级别 - LOW - MEDIUM - HIGH - NO_RISK
	RiskLevel *string `json:"risk_level,omitempty"`

	// 数据库id,中间逗号分隔(单个id 小于256位)
	DbIds *string `json:"db_ids,omitempty"`

	// 执行时长对执行时长阈值的关系 - GREATER - EQUAL - LESS - GREATER_EQUAL - LESS_EQUAL - NO_MATCH
	ExecutionSymbol *string `json:"execution_symbol,omitempty"`

	// 设定的执行时长阈值
	ExecutionTime *int32 `json:"execution_time,omitempty"`

	// 影响行数对行数阈值的关系:  - GREATER - EQUAL - LESS - GREATER_EQUAL - LESS_EQUAL - NO_MATCH
	AffectSymbol *string `json:"affect_symbol,omitempty"`

	// 设定的影响行数阈值
	AffectRows *int32 `json:"affect_rows,omitempty"`

	// 客户端IP段: IP-IP格式,或IP/XX 格式。 各个IP段使用逗号连接
	ClientIps      *string `json:"client_ips,omitempty"`
	HttpStatusCode int     `json:"-"`
}

ShowAuditRuleRiskResponse Response Object

func (ShowAuditRuleRiskResponse) String added in v0.1.15

func (o ShowAuditRuleRiskResponse) String() string

type SqlRuleRequest added in v0.1.15

type SqlRuleRequest struct {

	// 风险级别 - HIGH - MEDIUM - LOW - NO_RISK
	RiskLevels *string `json:"risk_levels,omitempty"`
}

func (SqlRuleRequest) String added in v0.1.15

func (o SqlRuleRequest) String() string

type SqlRuleResponseRules added in v0.1.15

type SqlRuleResponseRules struct {

	// SQL规则ID
	Id *string `json:"id,omitempty"`

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

	// 规则的状态: - ON - OFF
	Status *string `json:"status,omitempty"`

	// 风险级别 - HIGH - MEDIUM - LOW
	RiskLevel *string `json:"risk_level,omitempty"`

	// 风险类型
	Type *string `json:"type,omitempty"`

	// 优先级。数字越小优先级越高。
	Rank *int32 `json:"rank,omitempty"`

	// SQL命令特征
	Feature *string `json:"feature,omitempty"`

	// 正则表达式
	Regex *string `json:"regex,omitempty"`
}

func (SqlRuleResponseRules) String added in v0.1.15

func (o SqlRuleResponseRules) String() string

type StartAuditInstanceRequest added in v0.1.118

type StartAuditInstanceRequest struct {
	Body *ServerIdBean `json:"body,omitempty"`
}

StartAuditInstanceRequest Request Object

func (StartAuditInstanceRequest) String added in v0.1.118

func (o StartAuditInstanceRequest) String() string

type StartAuditInstanceResponse added in v0.1.118

type StartAuditInstanceResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StartAuditInstanceResponse Response Object

func (StartAuditInstanceResponse) String added in v0.1.118

type StopAuditInstanceRequest added in v0.1.118

type StopAuditInstanceRequest struct {
	Body *ServerIdBean `json:"body,omitempty"`
}

StopAuditInstanceRequest Request Object

func (StopAuditInstanceRequest) String added in v0.1.118

func (o StopAuditInstanceRequest) String() string

type StopAuditInstanceResponse added in v0.1.118

type StopAuditInstanceResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

StopAuditInstanceResponse Response Object

func (StopAuditInstanceResponse) String added in v0.1.118

func (o StopAuditInstanceResponse) String() string

type SwitchAgentRequest

type SwitchAgentRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

SwitchAgentRequest Request Object

func (SwitchAgentRequest) String

func (o SwitchAgentRequest) String() string

type SwitchAgentResponse

type SwitchAgentResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SwitchAgentResponse Response Object

func (SwitchAgentResponse) String

func (o SwitchAgentResponse) String() string

type SwitchAuditDatabaseRequest added in v0.1.118

type SwitchAuditDatabaseRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

SwitchAuditDatabaseRequest Request Object

func (SwitchAuditDatabaseRequest) String added in v0.1.118

type SwitchAuditDatabaseResponse added in v0.1.118

type SwitchAuditDatabaseResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SwitchAuditDatabaseResponse Response Object

func (SwitchAuditDatabaseResponse) String added in v0.1.118

type SwitchAuditDbRequest added in v0.1.118

type SwitchAuditDbRequest struct {

	// 数据库ID,可在查询数据库列表接口的ID字段获取。
	Id string `json:"id"`

	// 开关状态 - ON:开启 - OFF:关闭
	Status SwitchAuditDbRequestStatus `json:"status"`

	// 是否关闭LTS审计,DWS数据库场景使用。若用户未选择关闭LTS审计,则不做操作。 - 1 :是 - 0 或 其它:保持原状
	LtsAuditSwitch *int32 `json:"lts_audit_switch,omitempty"`
}

func (SwitchAuditDbRequest) String added in v0.1.118

func (o SwitchAuditDbRequest) String() string

type SwitchAuditDbRequestStatus added in v0.1.118

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

func (SwitchAuditDbRequestStatus) MarshalJSON added in v0.1.118

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

func (*SwitchAuditDbRequestStatus) UnmarshalJSON added in v0.1.118

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

func (SwitchAuditDbRequestStatus) Value added in v0.1.118

type SwitchAuditDbRequestStatusEnum added in v0.1.118

type SwitchAuditDbRequestStatusEnum struct {
	ON  SwitchAuditDbRequestStatus
	OFF SwitchAuditDbRequestStatus
}

func GetSwitchAuditDbRequestStatusEnum added in v0.1.118

func GetSwitchAuditDbRequestStatusEnum() SwitchAuditDbRequestStatusEnum

type SwitchRiskRuleRequest

type SwitchRiskRuleRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

SwitchRiskRuleRequest Request Object

func (SwitchRiskRuleRequest) String

func (o SwitchRiskRuleRequest) String() string

type SwitchRiskRuleResponse

type SwitchRiskRuleResponse struct {

	// 响应状态
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

SwitchRiskRuleResponse Response Object

func (SwitchRiskRuleResponse) String

func (o SwitchRiskRuleResponse) String() string

type TagKeyValuesBean added in v0.1.15

type TagKeyValuesBean struct {

	// 键。最大长度128个unicode字符。 key不能为空。(搜索时不对此参数做字符集校验),key不能为空或者空字符串,不能为空格,校验和使用之前先trim 前后半角空格
	Key string `json:"key"`

	// 值列表。每个值最大长度255个unicode字符,校验和使用之前先trim 前后半角空格。 value可为空数组但不可缺省。 如果values为空列表,则表示any_value(查询任意value)。value之间为或的关系
	Values []string `json:"values"`
}

func (TagKeyValuesBean) String added in v0.1.15

func (o TagKeyValuesBean) String() string

type TimeRangeBean added in v0.1.15

type TimeRangeBean struct {

	// 开始时间,必须和end_time成对出现。格式必须为yyyy-MM-dd HH:mm:ss。UTC时间
	EndTime *string `json:"end_time,omitempty"`

	// 结束时间,必须和start_time成对出现。格式必须为yyyy-MM-dd HH:mm:ss。UTC时间
	StartTime *string `json:"start_time,omitempty"`

	// 请求查询的时间段,和start_time,end_time不能同时使用,同时传该参数优先级更高。 - HALF_HOUR - HOUR - THREE_HOUR - TWELVE_HOUR - DAY - WEEK - MONTH
	TimeRange *TimeRangeBeanTimeRange `json:"time_range,omitempty"`
}

func (TimeRangeBean) String added in v0.1.15

func (o TimeRangeBean) String() string

type TimeRangeBeanTimeRange added in v0.1.118

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

func (TimeRangeBeanTimeRange) MarshalJSON added in v0.1.118

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

func (*TimeRangeBeanTimeRange) UnmarshalJSON added in v0.1.118

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

func (TimeRangeBeanTimeRange) Value added in v0.1.118

func (c TimeRangeBeanTimeRange) Value() string

type TimeRangeBeanTimeRangeEnum added in v0.1.118

type TimeRangeBeanTimeRangeEnum struct {
	HALF_HOUR   TimeRangeBeanTimeRange
	HOUR        TimeRangeBeanTimeRange
	THREE_HOUR  TimeRangeBeanTimeRange
	TWELVE_HOUR TimeRangeBeanTimeRange
	DAY         TimeRangeBeanTimeRange
	WEEK        TimeRangeBeanTimeRange
	MONTH       TimeRangeBeanTimeRange
}

func GetTimeRangeBeanTimeRangeEnum added in v0.1.118

func GetTimeRangeBeanTimeRangeEnum() TimeRangeBeanTimeRangeEnum

type UpdateAuditBean added in v0.1.118

type UpdateAuditBean struct {

	// 实例名称。只能由中文字符,英文字母,数字,下划线,中划线组成的字符串,长度小于等于64。不能为空字符串。
	Name *string `json:"name,omitempty"`

	// 实例描述信息,只能由中文字符,英文字母,数字,下划线,中划线,空格组成的字符串,长度小于等于255。可以为空字符串。
	Comment *string `json:"comment,omitempty"`
}

UpdateAuditBean 修改审计实例信息bean

func (UpdateAuditBean) String added in v0.1.118

func (o UpdateAuditBean) String() string

type UpdateAuditInstanceRequest added in v0.1.118

type UpdateAuditInstanceRequest struct {

	// 实例ID。可在查询实例列表接口的ID字段获取。
	InstanceId string `json:"instance_id"`

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

UpdateAuditInstanceRequest Request Object

func (UpdateAuditInstanceRequest) String added in v0.1.118

type UpdateAuditInstanceResponse added in v0.1.118

type UpdateAuditInstanceResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateAuditInstanceResponse Response Object

func (UpdateAuditInstanceResponse) String added in v0.1.118

type UpdateAuditSecurityGroupRequest added in v0.1.15

type UpdateAuditSecurityGroupRequest struct {
	Body *SecurityGroupRequest `json:"body,omitempty"`
}

UpdateAuditSecurityGroupRequest Request Object

func (UpdateAuditSecurityGroupRequest) String added in v0.1.15

type UpdateAuditSecurityGroupResponse added in v0.1.15

type UpdateAuditSecurityGroupResponse struct {

	// 响应状态
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

UpdateAuditSecurityGroupResponse Response Object

func (UpdateAuditSecurityGroupResponse) String added in v0.1.15

Source Files

Jump to

Keyboard shortcuts

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