v20191018

package
v1.0.941 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (

	// CAM签名/鉴权错误。
	AUTHFAILURE = "AuthFailure"

	// 操作失败。
	FAILEDOPERATION = "FailedOperation"

	// 账号或密码错误。
	FAILEDOPERATION_AUTHFAILED = "FailedOperation.AuthFailed"

	// 连接服务器失败。
	FAILEDOPERATION_CONNECTIONFAILED = "FailedOperation.ConnectionFailed"

	// 目标数据不存在。
	FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"

	// 重复数据。
	FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"

	// 操作过于频繁,请稍后再试。
	FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"

	// 该VPC已开通服务,请选择其他VPC。
	FAILEDOPERATION_VPCDEPLOYED = "FailedOperation.VPCDeployed"

	// 内部错误。
	INTERNALERROR = "InternalError"

	// 参数错误。
	INVALIDPARAMETER = "InvalidParameter"

	// 无效的资源ID,用于资源不存在或已过期。
	INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"

	// 参数取值错误。
	INVALIDPARAMETERVALUE = "InvalidParameterValue"

	// 超过配额限制。
	LIMITEXCEEDED = "LimitExceeded"

	// 缺少参数错误。
	MISSINGPARAMETER = "MissingParameter"

	// 操作被拒绝。
	OPERATIONDENIED = "OperationDenied"

	// 请求的次数超过了频率限制。
	REQUESTLIMITEXCEEDED = "RequestLimitExceeded"

	// 资源被占用。
	RESOURCEINUSE = "ResourceInUse"

	// 资源不足。
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// 资源不存在。
	RESOURCENOTFOUND = "ResourceNotFound"

	// 资源不可用。
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// 资源售罄。
	RESOURCESSOLDOUT = "ResourcesSoldOut"

	// 未授权操作。
	UNAUTHORIZEDOPERATION = "UnauthorizedOperation"

	// 无操作权限。
	UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

	// 未知参数错误。
	UNKNOWNPARAMETER = "UnknownParameter"

	// 操作不支持。
	UNSUPPORTEDOPERATION = "UnsupportedOperation"
)
View Source
const APIVersion = "2019-10-18"

Variables

This section is empty.

Functions

This section is empty.

Types

type ACTemplate added in v1.0.724

type ACTemplate struct {
	// 模板id
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`

	// 模板名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	TemplateName *string `json:"TemplateName,omitnil,omitempty" name:"TemplateName"`

	// 模板描述
	// 注意:此字段可能返回 null,表示取不到有效值。
	Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}

type Acl

type Acl struct {
	// 访问权限ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 访问权限名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否开启磁盘映射
	AllowDiskRedirect *bool `json:"AllowDiskRedirect,omitnil,omitempty" name:"AllowDiskRedirect"`

	// 是否开启剪贴板文件上行
	AllowClipFileUp *bool `json:"AllowClipFileUp,omitnil,omitempty" name:"AllowClipFileUp"`

	// 是否开启剪贴板文件下行
	AllowClipFileDown *bool `json:"AllowClipFileDown,omitnil,omitempty" name:"AllowClipFileDown"`

	// 是否开启剪贴板文本(目前含图片)上行
	AllowClipTextUp *bool `json:"AllowClipTextUp,omitnil,omitempty" name:"AllowClipTextUp"`

	// 是否开启剪贴板文本(目前含图片)下行
	AllowClipTextDown *bool `json:"AllowClipTextDown,omitnil,omitempty" name:"AllowClipTextDown"`

	// 是否开启文件传输上传
	AllowFileUp *bool `json:"AllowFileUp,omitnil,omitempty" name:"AllowFileUp"`

	// 文件传输上传大小限制(预留参数,暂未启用)
	MaxFileUpSize *uint64 `json:"MaxFileUpSize,omitnil,omitempty" name:"MaxFileUpSize"`

	// 是否开启文件传输下载
	AllowFileDown *bool `json:"AllowFileDown,omitnil,omitempty" name:"AllowFileDown"`

	// 文件传输下载大小限制(预留参数,暂未启用)
	MaxFileDownSize *uint64 `json:"MaxFileDownSize,omitnil,omitempty" name:"MaxFileDownSize"`

	// 是否允许任意账号登录
	AllowAnyAccount *bool `json:"AllowAnyAccount,omitnil,omitempty" name:"AllowAnyAccount"`

	// 关联的用户列表
	UserSet []*User `json:"UserSet,omitnil,omitempty" name:"UserSet"`

	// 关联的用户组列表
	UserGroupSet []*Group `json:"UserGroupSet,omitnil,omitempty" name:"UserGroupSet"`

	// 关联的资产列表
	DeviceSet []*Device `json:"DeviceSet,omitnil,omitempty" name:"DeviceSet"`

	// 关联的资产组列表
	DeviceGroupSet []*Group `json:"DeviceGroupSet,omitnil,omitempty" name:"DeviceGroupSet"`

	// 关联的账号列表
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 关联的高危命令模板列表
	CmdTemplateSet []*CmdTemplate `json:"CmdTemplateSet,omitnil,omitempty" name:"CmdTemplateSet"`

	// 是否开启 RDP 磁盘映射文件上传
	AllowDiskFileUp *bool `json:"AllowDiskFileUp,omitnil,omitempty" name:"AllowDiskFileUp"`

	// 是否开启 RDP 磁盘映射文件下载
	AllowDiskFileDown *bool `json:"AllowDiskFileDown,omitnil,omitempty" name:"AllowDiskFileDown"`

	// 是否开启 rz sz 文件上传
	AllowShellFileUp *bool `json:"AllowShellFileUp,omitnil,omitempty" name:"AllowShellFileUp"`

	// 是否开启 rz sz 文件下载
	AllowShellFileDown *bool `json:"AllowShellFileDown,omitnil,omitempty" name:"AllowShellFileDown"`

	// 是否开启 SFTP 文件删除
	AllowFileDel *bool `json:"AllowFileDel,omitnil,omitempty" name:"AllowFileDel"`

	// 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 所属部门的信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Department *Department `json:"Department,omitnil,omitempty" name:"Department"`

	// 是否允许使用访问串,默认允许
	// 注意:此字段可能返回 null,表示取不到有效值。
	AllowAccessCredential *bool `json:"AllowAccessCredential,omitnil,omitempty" name:"AllowAccessCredential"`

	// 关联的数据库高危命令列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	ACTemplateSet []*ACTemplate `json:"ACTemplateSet,omitnil,omitempty" name:"ACTemplateSet"`

	// 关联的白命令命令
	// 注意:此字段可能返回 null,表示取不到有效值。
	WhiteCmds []*string `json:"WhiteCmds,omitnil,omitempty" name:"WhiteCmds"`
}

type AddDeviceGroupMembersRequest added in v1.0.412

type AddDeviceGroupMembersRequest struct {
	*tchttp.BaseRequest

	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 需要添加到资产组的资产ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

func NewAddDeviceGroupMembersRequest added in v1.0.412

func NewAddDeviceGroupMembersRequest() (request *AddDeviceGroupMembersRequest)

func (*AddDeviceGroupMembersRequest) FromJsonString added in v1.0.412

func (r *AddDeviceGroupMembersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddDeviceGroupMembersRequest) ToJsonString added in v1.0.412

func (r *AddDeviceGroupMembersRequest) ToJsonString() string

type AddDeviceGroupMembersRequestParams added in v1.0.426

type AddDeviceGroupMembersRequestParams struct {
	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 需要添加到资产组的资产ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

Predefined struct for user

type AddDeviceGroupMembersResponse added in v1.0.412

type AddDeviceGroupMembersResponse struct {
	*tchttp.BaseResponse
	Response *AddDeviceGroupMembersResponseParams `json:"Response"`
}

func NewAddDeviceGroupMembersResponse added in v1.0.412

func NewAddDeviceGroupMembersResponse() (response *AddDeviceGroupMembersResponse)

func (*AddDeviceGroupMembersResponse) FromJsonString added in v1.0.412

func (r *AddDeviceGroupMembersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddDeviceGroupMembersResponse) ToJsonString added in v1.0.412

func (r *AddDeviceGroupMembersResponse) ToJsonString() string

type AddDeviceGroupMembersResponseParams added in v1.0.426

type AddDeviceGroupMembersResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AddUserGroupMembersRequest added in v1.0.412

type AddUserGroupMembersRequest struct {
	*tchttp.BaseRequest

	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 成员用户ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

func NewAddUserGroupMembersRequest added in v1.0.412

func NewAddUserGroupMembersRequest() (request *AddUserGroupMembersRequest)

func (*AddUserGroupMembersRequest) FromJsonString added in v1.0.412

func (r *AddUserGroupMembersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddUserGroupMembersRequest) ToJsonString added in v1.0.412

func (r *AddUserGroupMembersRequest) ToJsonString() string

type AddUserGroupMembersRequestParams added in v1.0.426

type AddUserGroupMembersRequestParams struct {
	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 成员用户ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

Predefined struct for user

type AddUserGroupMembersResponse added in v1.0.412

type AddUserGroupMembersResponse struct {
	*tchttp.BaseResponse
	Response *AddUserGroupMembersResponseParams `json:"Response"`
}

func NewAddUserGroupMembersResponse added in v1.0.412

func NewAddUserGroupMembersResponse() (response *AddUserGroupMembersResponse)

func (*AddUserGroupMembersResponse) FromJsonString added in v1.0.412

func (r *AddUserGroupMembersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddUserGroupMembersResponse) ToJsonString added in v1.0.412

func (r *AddUserGroupMembersResponse) ToJsonString() string

type AddUserGroupMembersResponseParams added in v1.0.426

type AddUserGroupMembersResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AssetSyncStatus added in v1.0.604

type AssetSyncStatus struct {
	// 上一次同步完成的时间
	LastTime *string `json:"LastTime,omitnil,omitempty" name:"LastTime"`

	// 上一次同步的结果。 0 - 从未进行, 1 - 成功, 2 - 失败
	LastStatus *uint64 `json:"LastStatus,omitnil,omitempty" name:"LastStatus"`

	// 同步任务是否正在进行中
	InProcess *bool `json:"InProcess,omitnil,omitempty" name:"InProcess"`
}

type AuditLogResult added in v1.0.635

type AuditLogResult struct {
	// 被审计会话的Sid
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 审计者的编号
	Uin *string `json:"Uin,omitnil,omitempty" name:"Uin"`

	// 审计动作发生的时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 审计者的Ip
	ClientIp *string `json:"ClientIp,omitnil,omitempty" name:"ClientIp"`

	// 审计动作类型,1--回放、2--中断、3--监控
	Operation *int64 `json:"Operation,omitnil,omitempty" name:"Operation"`

	// 被审计主机的Id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 被审计主机的主机名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 被审计会话所属的类型,如字符会话
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// 被审计主机的内部Ip
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 被审计主机的外部Ip
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 审计者的子账号
	SubAccountUin *string `json:"SubAccountUin,omitnil,omitempty" name:"SubAccountUin"`
}

type BindDeviceAccountPasswordRequest added in v1.0.604

type BindDeviceAccountPasswordRequest struct {
	*tchttp.BaseRequest

	// 主机账号ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 主机账号密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

func NewBindDeviceAccountPasswordRequest added in v1.0.604

func NewBindDeviceAccountPasswordRequest() (request *BindDeviceAccountPasswordRequest)

func (*BindDeviceAccountPasswordRequest) FromJsonString added in v1.0.604

func (r *BindDeviceAccountPasswordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDeviceAccountPasswordRequest) ToJsonString added in v1.0.604

func (r *BindDeviceAccountPasswordRequest) ToJsonString() string

type BindDeviceAccountPasswordRequestParams added in v1.0.604

type BindDeviceAccountPasswordRequestParams struct {
	// 主机账号ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 主机账号密码
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`
}

Predefined struct for user

type BindDeviceAccountPasswordResponse added in v1.0.604

type BindDeviceAccountPasswordResponse struct {
	*tchttp.BaseResponse
	Response *BindDeviceAccountPasswordResponseParams `json:"Response"`
}

func NewBindDeviceAccountPasswordResponse added in v1.0.604

func NewBindDeviceAccountPasswordResponse() (response *BindDeviceAccountPasswordResponse)

func (*BindDeviceAccountPasswordResponse) FromJsonString added in v1.0.604

func (r *BindDeviceAccountPasswordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDeviceAccountPasswordResponse) ToJsonString added in v1.0.604

func (r *BindDeviceAccountPasswordResponse) ToJsonString() string

type BindDeviceAccountPasswordResponseParams added in v1.0.604

type BindDeviceAccountPasswordResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindDeviceAccountPrivateKeyRequest added in v1.0.604

type BindDeviceAccountPrivateKeyRequest struct {
	*tchttp.BaseRequest

	// 主机账号ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 主机账号私钥,最新长度128字节,最大长度8192字节
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`

	// 主机账号私钥口令,最大长度256字节
	PrivateKeyPassword *string `json:"PrivateKeyPassword,omitnil,omitempty" name:"PrivateKeyPassword"`
}

func NewBindDeviceAccountPrivateKeyRequest added in v1.0.604

func NewBindDeviceAccountPrivateKeyRequest() (request *BindDeviceAccountPrivateKeyRequest)

func (*BindDeviceAccountPrivateKeyRequest) FromJsonString added in v1.0.604

func (r *BindDeviceAccountPrivateKeyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDeviceAccountPrivateKeyRequest) ToJsonString added in v1.0.604

func (r *BindDeviceAccountPrivateKeyRequest) ToJsonString() string

type BindDeviceAccountPrivateKeyRequestParams added in v1.0.604

type BindDeviceAccountPrivateKeyRequestParams struct {
	// 主机账号ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 主机账号私钥,最新长度128字节,最大长度8192字节
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`

	// 主机账号私钥口令,最大长度256字节
	PrivateKeyPassword *string `json:"PrivateKeyPassword,omitnil,omitempty" name:"PrivateKeyPassword"`
}

Predefined struct for user

type BindDeviceAccountPrivateKeyResponse added in v1.0.604

type BindDeviceAccountPrivateKeyResponse struct {
	*tchttp.BaseResponse
	Response *BindDeviceAccountPrivateKeyResponseParams `json:"Response"`
}

func NewBindDeviceAccountPrivateKeyResponse added in v1.0.604

func NewBindDeviceAccountPrivateKeyResponse() (response *BindDeviceAccountPrivateKeyResponse)

func (*BindDeviceAccountPrivateKeyResponse) FromJsonString added in v1.0.604

func (r *BindDeviceAccountPrivateKeyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDeviceAccountPrivateKeyResponse) ToJsonString added in v1.0.604

func (r *BindDeviceAccountPrivateKeyResponse) ToJsonString() string

type BindDeviceAccountPrivateKeyResponseParams added in v1.0.604

type BindDeviceAccountPrivateKeyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type BindDeviceResourceRequest added in v1.0.412

type BindDeviceResourceRequest struct {
	*tchttp.BaseRequest

	// 资产ID集合
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 堡垒机服务ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 网络域ID
	DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

func NewBindDeviceResourceRequest added in v1.0.412

func NewBindDeviceResourceRequest() (request *BindDeviceResourceRequest)

func (*BindDeviceResourceRequest) FromJsonString added in v1.0.412

func (r *BindDeviceResourceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDeviceResourceRequest) ToJsonString added in v1.0.412

func (r *BindDeviceResourceRequest) ToJsonString() string

type BindDeviceResourceRequestParams added in v1.0.426

type BindDeviceResourceRequestParams struct {
	// 资产ID集合
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 堡垒机服务ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 网络域ID
	DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

Predefined struct for user

type BindDeviceResourceResponse added in v1.0.412

type BindDeviceResourceResponse struct {
	*tchttp.BaseResponse
	Response *BindDeviceResourceResponseParams `json:"Response"`
}

func NewBindDeviceResourceResponse added in v1.0.412

func NewBindDeviceResourceResponse() (response *BindDeviceResourceResponse)

func (*BindDeviceResourceResponse) FromJsonString added in v1.0.412

func (r *BindDeviceResourceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*BindDeviceResourceResponse) ToJsonString added in v1.0.412

func (r *BindDeviceResourceResponse) ToJsonString() string

type BindDeviceResourceResponseParams added in v1.0.426

type BindDeviceResourceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ChangePwdTaskDetail added in v1.0.929

type ChangePwdTaskDetail struct {
	// 资产信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Device *Device `json:"Device,omitnil,omitempty" name:"Device"`

	// 资产账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 上次改密结果。0-未改密  1-改密成功 2-改密失败
	// 注意:此字段可能返回 null,表示取不到有效值。
	LastChangeStatus *uint64 `json:"LastChangeStatus,omitnil,omitempty" name:"LastChangeStatus"`
}

type ChangePwdTaskInfo added in v1.0.929

type ChangePwdTaskInfo struct {
	// id
	// 注意:此字段可能返回 null,表示取不到有效值。
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 任务id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 任务名
	// 注意:此字段可能返回 null,表示取不到有效值。
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// 所属部门信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Department *Department `json:"Department,omitnil,omitempty" name:"Department"`

	// 改密方式。1:使用执行账号。2:修改自身密码
	// 注意:此字段可能返回 null,表示取不到有效值。
	ChangeMethod *uint64 `json:"ChangeMethod,omitnil,omitempty" name:"ChangeMethod"`

	// 执行账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	RunAccount *string `json:"RunAccount,omitnil,omitempty" name:"RunAccount"`

	// 密码生成策略
	// 注意:此字段可能返回 null,表示取不到有效值。
	AuthGenerationStrategy *uint64 `json:"AuthGenerationStrategy,omitnil,omitempty" name:"AuthGenerationStrategy"`

	// 密码长度
	// 注意:此字段可能返回 null,表示取不到有效值。
	PasswordLength *uint64 `json:"PasswordLength,omitnil,omitempty" name:"PasswordLength"`

	// 包含小写字母
	// 注意:此字段可能返回 null,表示取不到有效值。
	SmallLetter *uint64 `json:"SmallLetter,omitnil,omitempty" name:"SmallLetter"`

	// 包含大写字母
	// 注意:此字段可能返回 null,表示取不到有效值。
	BigLetter *uint64 `json:"BigLetter,omitnil,omitempty" name:"BigLetter"`

	// 包含数字
	// 注意:此字段可能返回 null,表示取不到有效值。
	Digit *uint64 `json:"Digit,omitnil,omitempty" name:"Digit"`

	// 包含的特殊字符,base64
	// 注意:此字段可能返回 null,表示取不到有效值。
	Symbol *string `json:"Symbol,omitnil,omitempty" name:"Symbol"`

	// 改密完成通知。0-通知,1-不通知
	// 注意:此字段可能返回 null,表示取不到有效值。
	CompleteNotify *uint64 `json:"CompleteNotify,omitnil,omitempty" name:"CompleteNotify"`

	// 通知人邮箱
	// 注意:此字段可能返回 null,表示取不到有效值。
	NotifyEmails []*string `json:"NotifyEmails,omitnil,omitempty" name:"NotifyEmails"`

	// 加密附件密码
	// 注意:此字段可能返回 null,表示取不到有效值。
	FilePassword *string `json:"FilePassword,omitnil,omitempty" name:"FilePassword"`

	// 需要改密的账户
	// 注意:此字段可能返回 null,表示取不到有效值。
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 需要改密的主机
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceSet []*Device `json:"DeviceSet,omitnil,omitempty" name:"DeviceSet"`

	// 任务类型:4手动,5自动
	// 注意:此字段可能返回 null,表示取不到有效值。
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 周期
	// 注意:此字段可能返回 null,表示取不到有效值。
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// 首次执行时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"`

	// 下次执行时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	NextTime *string `json:"NextTime,omitnil,omitempty" name:"NextTime"`
}

type Clb added in v1.0.931

type Clb struct {
	// 负载均衡IP
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClbIp *string `json:"ClbIp,omitnil,omitempty" name:"ClbIp"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddDeviceGroupMembers added in v1.0.412

func (c *Client) AddDeviceGroupMembers(request *AddDeviceGroupMembersRequest) (response *AddDeviceGroupMembersResponse, err error)

AddDeviceGroupMembers 添加资产组成员

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) AddDeviceGroupMembersWithContext added in v1.0.412

func (c *Client) AddDeviceGroupMembersWithContext(ctx context.Context, request *AddDeviceGroupMembersRequest) (response *AddDeviceGroupMembersResponse, err error)

AddDeviceGroupMembers 添加资产组成员

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) AddUserGroupMembers added in v1.0.412

func (c *Client) AddUserGroupMembers(request *AddUserGroupMembersRequest) (response *AddUserGroupMembersResponse, err error)

AddUserGroupMembers 添加用户组成员

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) AddUserGroupMembersWithContext added in v1.0.412

func (c *Client) AddUserGroupMembersWithContext(ctx context.Context, request *AddUserGroupMembersRequest) (response *AddUserGroupMembersResponse, err error)

AddUserGroupMembers 添加用户组成员

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) BindDeviceAccountPassword added in v1.0.604

func (c *Client) BindDeviceAccountPassword(request *BindDeviceAccountPasswordRequest) (response *BindDeviceAccountPasswordResponse, err error)

BindDeviceAccountPassword 绑定主机账号密码

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) BindDeviceAccountPasswordWithContext added in v1.0.604

func (c *Client) BindDeviceAccountPasswordWithContext(ctx context.Context, request *BindDeviceAccountPasswordRequest) (response *BindDeviceAccountPasswordResponse, err error)

BindDeviceAccountPassword 绑定主机账号密码

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) BindDeviceAccountPrivateKey added in v1.0.604

func (c *Client) BindDeviceAccountPrivateKey(request *BindDeviceAccountPrivateKeyRequest) (response *BindDeviceAccountPrivateKeyResponse, err error)

BindDeviceAccountPrivateKey 绑定主机账号私钥

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) BindDeviceAccountPrivateKeyWithContext added in v1.0.604

func (c *Client) BindDeviceAccountPrivateKeyWithContext(ctx context.Context, request *BindDeviceAccountPrivateKeyRequest) (response *BindDeviceAccountPrivateKeyResponse, err error)

BindDeviceAccountPrivateKey 绑定主机账号私钥

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) BindDeviceResource added in v1.0.412

func (c *Client) BindDeviceResource(request *BindDeviceResourceRequest) (response *BindDeviceResourceResponse, err error)

BindDeviceResource 修改资产绑定的堡垒机服务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) BindDeviceResourceWithContext added in v1.0.412

func (c *Client) BindDeviceResourceWithContext(ctx context.Context, request *BindDeviceResourceRequest) (response *BindDeviceResourceResponse, err error)

BindDeviceResource 修改资产绑定的堡垒机服务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAcl

func (c *Client) CreateAcl(request *CreateAclRequest) (response *CreateAclResponse, err error)

CreateAcl 新建访问权限

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAclWithContext

func (c *Client) CreateAclWithContext(ctx context.Context, request *CreateAclRequest) (response *CreateAclResponse, err error)

CreateAcl 新建访问权限

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAssetSyncJob added in v1.0.604

func (c *Client) CreateAssetSyncJob(request *CreateAssetSyncJobRequest) (response *CreateAssetSyncJobResponse, err error)

CreateAssetSyncJob 创建手工资产同步任务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHFAILED = "FailedOperation.AuthFailed"
FAILEDOPERATION_CONNECTIONFAILED = "FailedOperation.ConnectionFailed"
FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateAssetSyncJobWithContext added in v1.0.604

func (c *Client) CreateAssetSyncJobWithContext(ctx context.Context, request *CreateAssetSyncJobRequest) (response *CreateAssetSyncJobResponse, err error)

CreateAssetSyncJob 创建手工资产同步任务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHFAILED = "FailedOperation.AuthFailed"
FAILEDOPERATION_CONNECTIONFAILED = "FailedOperation.ConnectionFailed"
FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateChangePwdTask added in v1.0.929

func (c *Client) CreateChangePwdTask(request *CreateChangePwdTaskRequest) (response *CreateChangePwdTaskResponse, err error)

CreateChangePwdTask 创建修改密码任务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHFAILED = "FailedOperation.AuthFailed"
FAILEDOPERATION_CONNECTIONFAILED = "FailedOperation.ConnectionFailed"
FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateChangePwdTaskWithContext added in v1.0.929

func (c *Client) CreateChangePwdTaskWithContext(ctx context.Context, request *CreateChangePwdTaskRequest) (response *CreateChangePwdTaskResponse, err error)

CreateChangePwdTask 创建修改密码任务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_AUTHFAILED = "FailedOperation.AuthFailed"
FAILEDOPERATION_CONNECTIONFAILED = "FailedOperation.ConnectionFailed"
FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCmdTemplate added in v1.0.604

func (c *Client) CreateCmdTemplate(request *CreateCmdTemplateRequest) (response *CreateCmdTemplateResponse, err error)

CreateCmdTemplate 新建高危命令模板

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateCmdTemplateWithContext added in v1.0.604

func (c *Client) CreateCmdTemplateWithContext(ctx context.Context, request *CreateCmdTemplateRequest) (response *CreateCmdTemplateResponse, err error)

CreateCmdTemplate 新建高危命令模板

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDeviceAccount added in v1.0.604

func (c *Client) CreateDeviceAccount(request *CreateDeviceAccountRequest) (response *CreateDeviceAccountResponse, err error)

CreateDeviceAccount 新建主机账号

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDeviceAccountWithContext added in v1.0.604

func (c *Client) CreateDeviceAccountWithContext(ctx context.Context, request *CreateDeviceAccountRequest) (response *CreateDeviceAccountResponse, err error)

CreateDeviceAccount 新建主机账号

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDeviceGroup added in v1.0.412

func (c *Client) CreateDeviceGroup(request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error)

CreateDeviceGroup 新建资产组

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateDeviceGroupWithContext added in v1.0.412

func (c *Client) CreateDeviceGroupWithContext(ctx context.Context, request *CreateDeviceGroupRequest) (response *CreateDeviceGroupResponse, err error)

CreateDeviceGroup 新建资产组

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateResource added in v1.0.763

func (c *Client) CreateResource(request *CreateResourceRequest) (response *CreateResourceResponse, err error)

CreateResource 创建堡垒机实例

可能返回的错误码:

OPERATIONDENIED = "OperationDenied"

func (*Client) CreateResourceWithContext added in v1.0.763

func (c *Client) CreateResourceWithContext(ctx context.Context, request *CreateResourceRequest) (response *CreateResourceResponse, err error)

CreateResource 创建堡垒机实例

可能返回的错误码:

OPERATIONDENIED = "OperationDenied"

func (*Client) CreateUser

func (c *Client) CreateUser(request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser 新建用户

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUserGroup added in v1.0.412

func (c *Client) CreateUserGroup(request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)

CreateUserGroup 新建用户组

可能返回的错误码:

FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUserGroupWithContext added in v1.0.412

func (c *Client) CreateUserGroupWithContext(ctx context.Context, request *CreateUserGroupRequest) (response *CreateUserGroupResponse, err error)

CreateUserGroup 新建用户组

可能返回的错误码:

FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) CreateUserWithContext

func (c *Client) CreateUserWithContext(ctx context.Context, request *CreateUserRequest) (response *CreateUserResponse, err error)

CreateUser 新建用户

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DeleteAcls

func (c *Client) DeleteAcls(request *DeleteAclsRequest) (response *DeleteAclsResponse, err error)

DeleteAcls 删除访问权限

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteAclsWithContext

func (c *Client) DeleteAclsWithContext(ctx context.Context, request *DeleteAclsRequest) (response *DeleteAclsResponse, err error)

DeleteAcls 删除访问权限

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteChangePwdTask added in v1.0.929

func (c *Client) DeleteChangePwdTask(request *DeleteChangePwdTaskRequest) (response *DeleteChangePwdTaskResponse, err error)

DeleteChangePwdTask 删除改密任务

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"

func (*Client) DeleteChangePwdTaskWithContext added in v1.0.929

func (c *Client) DeleteChangePwdTaskWithContext(ctx context.Context, request *DeleteChangePwdTaskRequest) (response *DeleteChangePwdTaskResponse, err error)

DeleteChangePwdTask 删除改密任务

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"

func (*Client) DeleteCmdTemplates added in v1.0.604

func (c *Client) DeleteCmdTemplates(request *DeleteCmdTemplatesRequest) (response *DeleteCmdTemplatesResponse, err error)

DeleteCmdTemplates 删除高危命令模板

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteCmdTemplatesWithContext added in v1.0.604

func (c *Client) DeleteCmdTemplatesWithContext(ctx context.Context, request *DeleteCmdTemplatesRequest) (response *DeleteCmdTemplatesResponse, err error)

DeleteCmdTemplates 删除高危命令模板

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDeviceAccounts added in v1.0.604

func (c *Client) DeleteDeviceAccounts(request *DeleteDeviceAccountsRequest) (response *DeleteDeviceAccountsResponse, err error)

DeleteDeviceAccounts 删除主机账号

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDeviceAccountsWithContext added in v1.0.604

func (c *Client) DeleteDeviceAccountsWithContext(ctx context.Context, request *DeleteDeviceAccountsRequest) (response *DeleteDeviceAccountsResponse, err error)

DeleteDeviceAccounts 删除主机账号

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDeviceGroupMembers added in v1.0.412

func (c *Client) DeleteDeviceGroupMembers(request *DeleteDeviceGroupMembersRequest) (response *DeleteDeviceGroupMembersResponse, err error)

DeleteDeviceGroupMembers 删除资产组成员

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDeviceGroupMembersWithContext added in v1.0.412

func (c *Client) DeleteDeviceGroupMembersWithContext(ctx context.Context, request *DeleteDeviceGroupMembersRequest) (response *DeleteDeviceGroupMembersResponse, err error)

DeleteDeviceGroupMembers 删除资产组成员

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDeviceGroups added in v1.0.412

func (c *Client) DeleteDeviceGroups(request *DeleteDeviceGroupsRequest) (response *DeleteDeviceGroupsResponse, err error)

DeleteDeviceGroups 删除资产组

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDeviceGroupsWithContext added in v1.0.412

func (c *Client) DeleteDeviceGroupsWithContext(ctx context.Context, request *DeleteDeviceGroupsRequest) (response *DeleteDeviceGroupsResponse, err error)

DeleteDeviceGroups 删除资产组

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDevices added in v1.0.604

func (c *Client) DeleteDevices(request *DeleteDevicesRequest) (response *DeleteDevicesResponse, err error)

DeleteDevices 删除主机

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDevicesWithContext added in v1.0.604

func (c *Client) DeleteDevicesWithContext(ctx context.Context, request *DeleteDevicesRequest) (response *DeleteDevicesResponse, err error)

DeleteDevices 删除主机

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteUserGroupMembers added in v1.0.412

func (c *Client) DeleteUserGroupMembers(request *DeleteUserGroupMembersRequest) (response *DeleteUserGroupMembersResponse, err error)

DeleteUserGroupMembers 删除用户组成员

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteUserGroupMembersWithContext added in v1.0.412

func (c *Client) DeleteUserGroupMembersWithContext(ctx context.Context, request *DeleteUserGroupMembersRequest) (response *DeleteUserGroupMembersResponse, err error)

DeleteUserGroupMembers 删除用户组成员

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteUserGroups added in v1.0.412

func (c *Client) DeleteUserGroups(request *DeleteUserGroupsRequest) (response *DeleteUserGroupsResponse, err error)

DeleteUserGroups 删除用户组

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteUserGroupsWithContext added in v1.0.412

func (c *Client) DeleteUserGroupsWithContext(ctx context.Context, request *DeleteUserGroupsRequest) (response *DeleteUserGroupsResponse, err error)

DeleteUserGroups 删除用户组

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteUsers

func (c *Client) DeleteUsers(request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)

DeleteUsers 删除用户

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DeleteUsersWithContext

func (c *Client) DeleteUsersWithContext(ctx context.Context, request *DeleteUsersRequest) (response *DeleteUsersResponse, err error)

DeleteUsers 删除用户

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DeployResource added in v1.0.604

func (c *Client) DeployResource(request *DeployResourceRequest) (response *DeployResourceResponse, err error)

DeployResource 开通服务,初始化资源,只针对新购资源

可能返回的错误码:

FAILEDOPERATION_VPCDEPLOYED = "FailedOperation.VPCDeployed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DeployResourceWithContext added in v1.0.604

func (c *Client) DeployResourceWithContext(ctx context.Context, request *DeployResourceRequest) (response *DeployResourceResponse, err error)

DeployResource 开通服务,初始化资源,只针对新购资源

可能返回的错误码:

FAILEDOPERATION_VPCDEPLOYED = "FailedOperation.VPCDeployed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DescribeAcls

func (c *Client) DescribeAcls(request *DescribeAclsRequest) (response *DescribeAclsResponse, err error)

DescribeAcls 查询访问权限列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAclsWithContext

func (c *Client) DescribeAclsWithContext(ctx context.Context, request *DescribeAclsRequest) (response *DescribeAclsResponse, err error)

DescribeAcls 查询访问权限列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeAssetSyncStatus added in v1.0.604

func (c *Client) DescribeAssetSyncStatus(request *DescribeAssetSyncStatusRequest) (response *DescribeAssetSyncStatusResponse, err error)

DescribeAssetSyncStatus 查询资产同步状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeAssetSyncStatusWithContext added in v1.0.604

func (c *Client) DescribeAssetSyncStatusWithContext(ctx context.Context, request *DescribeAssetSyncStatusRequest) (response *DescribeAssetSyncStatusResponse, err error)

DescribeAssetSyncStatus 查询资产同步状态

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeChangePwdTask added in v1.0.929

func (c *Client) DescribeChangePwdTask(request *DescribeChangePwdTaskRequest) (response *DescribeChangePwdTaskResponse, err error)

DescribeChangePwdTask 查询改密任务列表

可能返回的错误码:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeChangePwdTaskDetail added in v1.0.929

func (c *Client) DescribeChangePwdTaskDetail(request *DescribeChangePwdTaskDetailRequest) (response *DescribeChangePwdTaskDetailResponse, err error)

DescribeChangePwdTaskDetail 查询改密任务详情

可能返回的错误码:

UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeChangePwdTaskDetailWithContext added in v1.0.929

func (c *Client) DescribeChangePwdTaskDetailWithContext(ctx context.Context, request *DescribeChangePwdTaskDetailRequest) (response *DescribeChangePwdTaskDetailResponse, err error)

DescribeChangePwdTaskDetail 查询改密任务详情

可能返回的错误码:

UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeChangePwdTaskWithContext added in v1.0.929

func (c *Client) DescribeChangePwdTaskWithContext(ctx context.Context, request *DescribeChangePwdTaskRequest) (response *DescribeChangePwdTaskResponse, err error)

DescribeChangePwdTask 查询改密任务列表

可能返回的错误码:

RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeCmdTemplates added in v1.0.604

func (c *Client) DescribeCmdTemplates(request *DescribeCmdTemplatesRequest) (response *DescribeCmdTemplatesResponse, err error)

DescribeCmdTemplates 查询命令模板列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCmdTemplatesWithContext added in v1.0.604

func (c *Client) DescribeCmdTemplatesWithContext(ctx context.Context, request *DescribeCmdTemplatesRequest) (response *DescribeCmdTemplatesResponse, err error)

DescribeCmdTemplates 查询命令模板列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDasbImageIds

func (c *Client) DescribeDasbImageIds(request *DescribeDasbImageIdsRequest) (response *DescribeDasbImageIdsResponse, err error)

DescribeDasbImageIds 获取镜像列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDasbImageIdsWithContext

func (c *Client) DescribeDasbImageIdsWithContext(ctx context.Context, request *DescribeDasbImageIdsRequest) (response *DescribeDasbImageIdsResponse, err error)

DescribeDasbImageIds 获取镜像列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDeviceAccounts added in v1.0.604

func (c *Client) DescribeDeviceAccounts(request *DescribeDeviceAccountsRequest) (response *DescribeDeviceAccountsResponse, err error)

DescribeDeviceAccounts 查询主机账号列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDeviceAccountsWithContext added in v1.0.604

func (c *Client) DescribeDeviceAccountsWithContext(ctx context.Context, request *DescribeDeviceAccountsRequest) (response *DescribeDeviceAccountsResponse, err error)

DescribeDeviceAccounts 查询主机账号列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDeviceGroupMembers added in v1.0.412

func (c *Client) DescribeDeviceGroupMembers(request *DescribeDeviceGroupMembersRequest) (response *DescribeDeviceGroupMembersResponse, err error)

DescribeDeviceGroupMembers 查询资产组成员列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceGroupMembersWithContext added in v1.0.412

func (c *Client) DescribeDeviceGroupMembersWithContext(ctx context.Context, request *DescribeDeviceGroupMembersRequest) (response *DescribeDeviceGroupMembersResponse, err error)

DescribeDeviceGroupMembers 查询资产组成员列表

可能返回的错误码:

FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceGroups added in v1.0.412

func (c *Client) DescribeDeviceGroups(request *DescribeDeviceGroupsRequest) (response *DescribeDeviceGroupsResponse, err error)

DescribeDeviceGroups 查询资产组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDeviceGroupsWithContext added in v1.0.412

func (c *Client) DescribeDeviceGroupsWithContext(ctx context.Context, request *DescribeDeviceGroupsRequest) (response *DescribeDeviceGroupsResponse, err error)

DescribeDeviceGroups 查询资产组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevices

func (c *Client) DescribeDevices(request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)

DescribeDevices 查询资产列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeDevicesWithContext

func (c *Client) DescribeDevicesWithContext(ctx context.Context, request *DescribeDevicesRequest) (response *DescribeDevicesResponse, err error)

DescribeDevices 查询资产列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeLoginEvent added in v1.0.635

func (c *Client) DescribeLoginEvent(request *DescribeLoginEventRequest) (response *DescribeLoginEventResponse, err error)

DescribeLoginEvent 查询登录日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLoginEventWithContext added in v1.0.635

func (c *Client) DescribeLoginEventWithContext(ctx context.Context, request *DescribeLoginEventRequest) (response *DescribeLoginEventResponse, err error)

DescribeLoginEvent 查询登录日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOperationEvent added in v1.0.635

func (c *Client) DescribeOperationEvent(request *DescribeOperationEventRequest) (response *DescribeOperationEventResponse, err error)

DescribeOperationEvent 查询操作日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeOperationEventWithContext added in v1.0.635

func (c *Client) DescribeOperationEventWithContext(ctx context.Context, request *DescribeOperationEventRequest) (response *DescribeOperationEventResponse, err error)

DescribeOperationEvent 查询操作日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeResources added in v1.0.412

func (c *Client) DescribeResources(request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)

DescribeResources 查询用户购买的堡垒机服务信息,包括资源ID、授权点数、VPC、过期时间等。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeResourcesWithContext added in v1.0.412

func (c *Client) DescribeResourcesWithContext(ctx context.Context, request *DescribeResourcesRequest) (response *DescribeResourcesResponse, err error)

DescribeResources 查询用户购买的堡垒机服务信息,包括资源ID、授权点数、VPC、过期时间等。

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) DescribeUserGroupMembers added in v1.0.412

func (c *Client) DescribeUserGroupMembers(request *DescribeUserGroupMembersRequest) (response *DescribeUserGroupMembersResponse, err error)

DescribeUserGroupMembers 查询用户组成员列表

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUserGroupMembersWithContext added in v1.0.412

func (c *Client) DescribeUserGroupMembersWithContext(ctx context.Context, request *DescribeUserGroupMembersRequest) (response *DescribeUserGroupMembersResponse, err error)

DescribeUserGroupMembers 查询用户组成员列表

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUserGroups added in v1.0.412

func (c *Client) DescribeUserGroups(request *DescribeUserGroupsRequest) (response *DescribeUserGroupsResponse, err error)

DescribeUserGroups 查询用户组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUserGroupsWithContext added in v1.0.412

func (c *Client) DescribeUserGroupsWithContext(ctx context.Context, request *DescribeUserGroupsRequest) (response *DescribeUserGroupsResponse, err error)

DescribeUserGroups 查询用户组列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUsers

func (c *Client) DescribeUsers(request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)

DescribeUsers 查询用户列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) DescribeUsersWithContext

func (c *Client) DescribeUsersWithContext(ctx context.Context, request *DescribeUsersRequest) (response *DescribeUsersResponse, err error)

DescribeUsers 查询用户列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ImportExternalDevice added in v1.0.604

func (c *Client) ImportExternalDevice(request *ImportExternalDeviceRequest) (response *ImportExternalDeviceResponse, err error)

ImportExternalDevice 导入外部资产信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ImportExternalDeviceWithContext added in v1.0.604

func (c *Client) ImportExternalDeviceWithContext(ctx context.Context, request *ImportExternalDeviceRequest) (response *ImportExternalDeviceResponse, err error)

ImportExternalDevice 导入外部资产信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyAcl

func (c *Client) ModifyAcl(request *ModifyAclRequest) (response *ModifyAclResponse, err error)

ModifyAcl 修改访问权限

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyAclWithContext

func (c *Client) ModifyAclWithContext(ctx context.Context, request *ModifyAclRequest) (response *ModifyAclResponse, err error)

ModifyAcl 修改访问权限

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyChangePwdTask added in v1.0.929

func (c *Client) ModifyChangePwdTask(request *ModifyChangePwdTaskRequest) (response *ModifyChangePwdTaskResponse, err error)

ModifyChangePwdTask 更新修改密码任务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyChangePwdTaskWithContext added in v1.0.929

func (c *Client) ModifyChangePwdTaskWithContext(ctx context.Context, request *ModifyChangePwdTaskRequest) (response *ModifyChangePwdTaskResponse, err error)

ModifyChangePwdTask 更新修改密码任务

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCmdTemplate added in v1.0.752

func (c *Client) ModifyCmdTemplate(request *ModifyCmdTemplateRequest) (response *ModifyCmdTemplateResponse, err error)

ModifyCmdTemplate 修改高危命令模板

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyCmdTemplateWithContext added in v1.0.752

func (c *Client) ModifyCmdTemplateWithContext(ctx context.Context, request *ModifyCmdTemplateRequest) (response *ModifyCmdTemplateResponse, err error)

ModifyCmdTemplate 修改高危命令模板

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDevice added in v1.0.604

func (c *Client) ModifyDevice(request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)

ModifyDevice 修改资产信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceGroup added in v1.0.604

func (c *Client) ModifyDeviceGroup(request *ModifyDeviceGroupRequest) (response *ModifyDeviceGroupResponse, err error)

ModifyDeviceGroup 修改资产组

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceGroupWithContext added in v1.0.604

func (c *Client) ModifyDeviceGroupWithContext(ctx context.Context, request *ModifyDeviceGroupRequest) (response *ModifyDeviceGroupResponse, err error)

ModifyDeviceGroup 修改资产组

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyDeviceWithContext added in v1.0.604

func (c *Client) ModifyDeviceWithContext(ctx context.Context, request *ModifyDeviceRequest) (response *ModifyDeviceResponse, err error)

ModifyDevice 修改资产信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINSUFFICIENT = "ResourceInsufficient"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyOAuthSetting added in v1.0.870

func (c *Client) ModifyOAuthSetting(request *ModifyOAuthSettingRequest) (response *ModifyOAuthSettingResponse, err error)

ModifyOAuthSetting 设置OAuth认证参数

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyOAuthSettingWithContext added in v1.0.870

func (c *Client) ModifyOAuthSettingWithContext(ctx context.Context, request *ModifyOAuthSettingRequest) (response *ModifyOAuthSettingResponse, err error)

ModifyOAuthSetting 设置OAuth认证参数

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"

func (*Client) ModifyResource added in v1.0.763

func (c *Client) ModifyResource(request *ModifyResourceRequest) (response *ModifyResourceResponse, err error)

ModifyResource 资源变配

可能返回的错误码:

FAILEDOPERATION_VPCDEPLOYED = "FailedOperation.VPCDeployed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyResourceWithContext added in v1.0.763

func (c *Client) ModifyResourceWithContext(ctx context.Context, request *ModifyResourceRequest) (response *ModifyResourceResponse, err error)

ModifyResource 资源变配

可能返回的错误码:

FAILEDOPERATION_VPCDEPLOYED = "FailedOperation.VPCDeployed"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ModifyUser

func (c *Client) ModifyUser(request *ModifyUserRequest) (response *ModifyUserResponse, err error)

ModifyUser 修改用户信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyUserGroup added in v1.0.795

func (c *Client) ModifyUserGroup(request *ModifyUserGroupRequest) (response *ModifyUserGroupResponse, err error)

ModifyUserGroup 修改用户组

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyUserGroupWithContext added in v1.0.795

func (c *Client) ModifyUserGroupWithContext(ctx context.Context, request *ModifyUserGroupRequest) (response *ModifyUserGroupResponse, err error)

ModifyUserGroup 修改用户组

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ModifyUserWithContext

func (c *Client) ModifyUserWithContext(ctx context.Context, request *ModifyUserRequest) (response *ModifyUserResponse, err error)

ModifyUser 修改用户信息

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
FAILEDOPERATION_DUPLICATEDATA = "FailedOperation.DuplicateData"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETER_RESOURCEID = "InvalidParameter.ResourceId"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
LIMITEXCEEDED = "LimitExceeded"
MISSINGPARAMETER = "MissingParameter"
OPERATIONDENIED = "OperationDenied"
REQUESTLIMITEXCEEDED = "RequestLimitExceeded"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"
RESOURCESSOLDOUT = "ResourcesSoldOut"
UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNKNOWNPARAMETER = "UnknownParameter"
UNSUPPORTEDOPERATION = "UnsupportedOperation"

func (*Client) ResetDeviceAccountPassword added in v1.0.604

func (c *Client) ResetDeviceAccountPassword(request *ResetDeviceAccountPasswordRequest) (response *ResetDeviceAccountPasswordResponse, err error)

ResetDeviceAccountPassword 清除设备账号绑定密码

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ResetDeviceAccountPasswordWithContext added in v1.0.604

func (c *Client) ResetDeviceAccountPasswordWithContext(ctx context.Context, request *ResetDeviceAccountPasswordRequest) (response *ResetDeviceAccountPasswordResponse, err error)

ResetDeviceAccountPassword 清除设备账号绑定密码

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ResetDeviceAccountPrivateKey added in v1.0.604

func (c *Client) ResetDeviceAccountPrivateKey(request *ResetDeviceAccountPrivateKeyRequest) (response *ResetDeviceAccountPrivateKeyResponse, err error)

ResetDeviceAccountPrivateKey 清除设备账号绑定的密钥

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ResetDeviceAccountPrivateKeyWithContext added in v1.0.604

func (c *Client) ResetDeviceAccountPrivateKeyWithContext(ctx context.Context, request *ResetDeviceAccountPrivateKeyRequest) (response *ResetDeviceAccountPrivateKeyResponse, err error)

ResetDeviceAccountPrivateKey 清除设备账号绑定的密钥

可能返回的错误码:

AUTHFAILURE = "AuthFailure"
FAILEDOPERATION = "FailedOperation"
FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
MISSINGPARAMETER = "MissingParameter"
RESOURCENOTFOUND = "ResourceNotFound"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) ResetUser added in v1.0.604

func (c *Client) ResetUser(request *ResetUserRequest) (response *ResetUserResponse, err error)

ResetUser 重置用户

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ResetUserWithContext added in v1.0.604

func (c *Client) ResetUserWithContext(ctx context.Context, request *ResetUserRequest) (response *ResetUserResponse, err error)

ResetUser 重置用户

可能返回的错误码:

FAILEDOPERATION_DATANOTFOUND = "FailedOperation.DataNotFound"
INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) RunChangePwdTask added in v1.0.929

func (c *Client) RunChangePwdTask(request *RunChangePwdTaskRequest) (response *RunChangePwdTaskResponse, err error)

RunChangePwdTask 执行改密任务

可能返回的错误码:

FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) RunChangePwdTaskWithContext added in v1.0.929

func (c *Client) RunChangePwdTaskWithContext(ctx context.Context, request *RunChangePwdTaskRequest) (response *RunChangePwdTaskResponse, err error)

RunChangePwdTask 执行改密任务

可能返回的错误码:

FAILEDOPERATION_TOOFREQUENT = "FailedOperation.TooFrequent"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) SearchAuditLog added in v1.0.635

func (c *Client) SearchAuditLog(request *SearchAuditLogRequest) (response *SearchAuditLogResponse, err error)

SearchAuditLog 搜索审计日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchAuditLogWithContext added in v1.0.635

func (c *Client) SearchAuditLogWithContext(ctx context.Context, request *SearchAuditLogRequest) (response *SearchAuditLogResponse, err error)

SearchAuditLog 搜索审计日志

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchCommand added in v1.0.635

func (c *Client) SearchCommand(request *SearchCommandRequest) (response *SearchCommandResponse, err error)

SearchCommand 命令执行检索

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchCommandBySid added in v1.0.635

func (c *Client) SearchCommandBySid(request *SearchCommandBySidRequest) (response *SearchCommandBySidResponse, err error)

SearchCommandBySid 根据会话Id搜索Command

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchCommandBySidWithContext added in v1.0.635

func (c *Client) SearchCommandBySidWithContext(ctx context.Context, request *SearchCommandBySidRequest) (response *SearchCommandBySidResponse, err error)

SearchCommandBySid 根据会话Id搜索Command

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchCommandWithContext added in v1.0.635

func (c *Client) SearchCommandWithContext(ctx context.Context, request *SearchCommandRequest) (response *SearchCommandResponse, err error)

SearchCommand 命令执行检索

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchFile added in v1.0.635

func (c *Client) SearchFile(request *SearchFileRequest) (response *SearchFileResponse, err error)

SearchFile 文件传输检索

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchFileBySid added in v1.0.635

func (c *Client) SearchFileBySid(request *SearchFileBySidRequest) (response *SearchFileBySidResponse, err error)

SearchFileBySid 搜索文件传输会话下文件操作列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchFileBySidWithContext added in v1.0.635

func (c *Client) SearchFileBySidWithContext(ctx context.Context, request *SearchFileBySidRequest) (response *SearchFileBySidResponse, err error)

SearchFileBySid 搜索文件传输会话下文件操作列表

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchFileWithContext added in v1.0.635

func (c *Client) SearchFileWithContext(ctx context.Context, request *SearchFileRequest) (response *SearchFileResponse, err error)

SearchFile 文件传输检索

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchSession added in v1.0.635

func (c *Client) SearchSession(request *SearchSessionRequest) (response *SearchSessionResponse, err error)

SearchSession 搜索会话

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchSessionCommand added in v1.0.635

func (c *Client) SearchSessionCommand(request *SearchSessionCommandRequest) (response *SearchSessionCommandResponse, err error)

SearchSessionCommand 命令检索

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchSessionCommandWithContext added in v1.0.635

func (c *Client) SearchSessionCommandWithContext(ctx context.Context, request *SearchSessionCommandRequest) (response *SearchSessionCommandResponse, err error)

SearchSessionCommand 命令检索

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

func (*Client) SearchSessionWithContext added in v1.0.635

func (c *Client) SearchSessionWithContext(ctx context.Context, request *SearchSessionRequest) (response *SearchSessionResponse, err error)

SearchSession 搜索会话

可能返回的错误码:

INTERNALERROR = "InternalError"
INVALIDPARAMETER = "InvalidParameter"
INVALIDPARAMETERVALUE = "InvalidParameterValue"

type CmdTemplate

type CmdTemplate struct {
	// 高危命令模板ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 高危命令模板名称
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 命令列表,命令之间用换行符("\n")分隔
	CmdList *string `json:"CmdList,omitnil,omitempty" name:"CmdList"`
}

type Command added in v1.0.635

type Command struct {
	// 命令
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// 命令输入的时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 命令执行时间相对于所属会话开始时间的偏移量,单位ms
	TimeOffset *uint64 `json:"TimeOffset,omitnil,omitempty" name:"TimeOffset"`

	// 命令执行情况,1--允许,2--拒绝,3--确认
	Action *int64 `json:"Action,omitnil,omitempty" name:"Action"`

	// 会话id
	// 注意:此字段可能返回 null,表示取不到有效值。
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 用户名
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 设备account
	// 注意:此字段可能返回 null,表示取不到有效值。
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 设备ip
	// 注意:此字段可能返回 null,表示取不到有效值。
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// source ip
	// 注意:此字段可能返回 null,表示取不到有效值。
	FromIp *string `json:"FromIp,omitnil,omitempty" name:"FromIp"`

	// 该命令所属会话的会话开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	SessionTime *string `json:"SessionTime,omitnil,omitempty" name:"SessionTime"`

	// 该命令所属会话的会话开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	//
	// Deprecated: SessTime is deprecated.
	SessTime *string `json:"SessTime,omitnil,omitempty" name:"SessTime"`

	// 复核时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ConfirmTime *string `json:"ConfirmTime,omitnil,omitempty" name:"ConfirmTime"`

	// 用户部门id
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDepartmentId *string `json:"UserDepartmentId,omitnil,omitempty" name:"UserDepartmentId"`

	// 用户部门name
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDepartmentName *string `json:"UserDepartmentName,omitnil,omitempty" name:"UserDepartmentName"`

	// 设备部门id
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceDepartmentId *string `json:"DeviceDepartmentId,omitnil,omitempty" name:"DeviceDepartmentId"`

	// 设备部门name
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceDepartmentName *string `json:"DeviceDepartmentName,omitnil,omitempty" name:"DeviceDepartmentName"`

	// 会话大小
	// 注意:此字段可能返回 null,表示取不到有效值。
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`
}

type CreateAclRequest

type CreateAclRequest struct {
	*tchttp.BaseRequest

	// 权限名称,最大32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否开启磁盘映射
	AllowDiskRedirect *bool `json:"AllowDiskRedirect,omitnil,omitempty" name:"AllowDiskRedirect"`

	// 是否允许任意账号登录
	AllowAnyAccount *bool `json:"AllowAnyAccount,omitnil,omitempty" name:"AllowAnyAccount"`

	// 是否开启剪贴板文件上行
	AllowClipFileUp *bool `json:"AllowClipFileUp,omitnil,omitempty" name:"AllowClipFileUp"`

	// 是否开启剪贴板文件下行
	AllowClipFileDown *bool `json:"AllowClipFileDown,omitnil,omitempty" name:"AllowClipFileDown"`

	// 是否开启剪贴板文本(含图片)上行
	AllowClipTextUp *bool `json:"AllowClipTextUp,omitnil,omitempty" name:"AllowClipTextUp"`

	// 是否开启剪贴板文本(含图片)下行
	AllowClipTextDown *bool `json:"AllowClipTextDown,omitnil,omitempty" name:"AllowClipTextDown"`

	// 是否开启 SFTP 文件上传
	AllowFileUp *bool `json:"AllowFileUp,omitnil,omitempty" name:"AllowFileUp"`

	// 文件传输上传大小限制(预留参数,目前暂未使用)
	MaxFileUpSize *uint64 `json:"MaxFileUpSize,omitnil,omitempty" name:"MaxFileUpSize"`

	// 是否开启 SFTP 文件下载
	AllowFileDown *bool `json:"AllowFileDown,omitnil,omitempty" name:"AllowFileDown"`

	// 文件传输下载大小限制(预留参数,目前暂未使用)
	MaxFileDownSize *uint64 `json:"MaxFileDownSize,omitnil,omitempty" name:"MaxFileDownSize"`

	// 关联的用户ID集合
	UserIdSet []*uint64 `json:"UserIdSet,omitnil,omitempty" name:"UserIdSet"`

	// 关联的用户组ID
	UserGroupIdSet []*uint64 `json:"UserGroupIdSet,omitnil,omitempty" name:"UserGroupIdSet"`

	// 关联的资产ID集合
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 关联的资产组ID
	DeviceGroupIdSet []*uint64 `json:"DeviceGroupIdSet,omitnil,omitempty" name:"DeviceGroupIdSet"`

	// 关联的账号
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 关联的高危命令模板ID
	CmdTemplateIdSet []*uint64 `json:"CmdTemplateIdSet,omitnil,omitempty" name:"CmdTemplateIdSet"`

	// 关联高危DB模板ID
	ACTemplateIdSet []*string `json:"ACTemplateIdSet,omitnil,omitempty" name:"ACTemplateIdSet"`

	// 是否开启rdp磁盘映射文件上传
	AllowDiskFileUp *bool `json:"AllowDiskFileUp,omitnil,omitempty" name:"AllowDiskFileUp"`

	// 是否开启rdp磁盘映射文件下载
	AllowDiskFileDown *bool `json:"AllowDiskFileDown,omitnil,omitempty" name:"AllowDiskFileDown"`

	// 是否开启rz sz文件上传
	AllowShellFileUp *bool `json:"AllowShellFileUp,omitnil,omitempty" name:"AllowShellFileUp"`

	// 是否开启rz sz文件下载
	AllowShellFileDown *bool `json:"AllowShellFileDown,omitnil,omitempty" name:"AllowShellFileDown"`

	// 是否开启 SFTP 文件删除
	AllowFileDel *bool `json:"AllowFileDel,omitnil,omitempty" name:"AllowFileDel"`

	// 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 访问权限所属部门的ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 是否允许使用访问串,默认允许
	AllowAccessCredential *bool `json:"AllowAccessCredential,omitnil,omitempty" name:"AllowAccessCredential"`
}

func NewCreateAclRequest

func NewCreateAclRequest() (request *CreateAclRequest)

func (*CreateAclRequest) FromJsonString

func (r *CreateAclRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAclRequest) ToJsonString

func (r *CreateAclRequest) ToJsonString() string

type CreateAclRequestParams added in v1.0.426

type CreateAclRequestParams struct {
	// 权限名称,最大32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否开启磁盘映射
	AllowDiskRedirect *bool `json:"AllowDiskRedirect,omitnil,omitempty" name:"AllowDiskRedirect"`

	// 是否允许任意账号登录
	AllowAnyAccount *bool `json:"AllowAnyAccount,omitnil,omitempty" name:"AllowAnyAccount"`

	// 是否开启剪贴板文件上行
	AllowClipFileUp *bool `json:"AllowClipFileUp,omitnil,omitempty" name:"AllowClipFileUp"`

	// 是否开启剪贴板文件下行
	AllowClipFileDown *bool `json:"AllowClipFileDown,omitnil,omitempty" name:"AllowClipFileDown"`

	// 是否开启剪贴板文本(含图片)上行
	AllowClipTextUp *bool `json:"AllowClipTextUp,omitnil,omitempty" name:"AllowClipTextUp"`

	// 是否开启剪贴板文本(含图片)下行
	AllowClipTextDown *bool `json:"AllowClipTextDown,omitnil,omitempty" name:"AllowClipTextDown"`

	// 是否开启 SFTP 文件上传
	AllowFileUp *bool `json:"AllowFileUp,omitnil,omitempty" name:"AllowFileUp"`

	// 文件传输上传大小限制(预留参数,目前暂未使用)
	MaxFileUpSize *uint64 `json:"MaxFileUpSize,omitnil,omitempty" name:"MaxFileUpSize"`

	// 是否开启 SFTP 文件下载
	AllowFileDown *bool `json:"AllowFileDown,omitnil,omitempty" name:"AllowFileDown"`

	// 文件传输下载大小限制(预留参数,目前暂未使用)
	MaxFileDownSize *uint64 `json:"MaxFileDownSize,omitnil,omitempty" name:"MaxFileDownSize"`

	// 关联的用户ID集合
	UserIdSet []*uint64 `json:"UserIdSet,omitnil,omitempty" name:"UserIdSet"`

	// 关联的用户组ID
	UserGroupIdSet []*uint64 `json:"UserGroupIdSet,omitnil,omitempty" name:"UserGroupIdSet"`

	// 关联的资产ID集合
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 关联的资产组ID
	DeviceGroupIdSet []*uint64 `json:"DeviceGroupIdSet,omitnil,omitempty" name:"DeviceGroupIdSet"`

	// 关联的账号
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 关联的高危命令模板ID
	CmdTemplateIdSet []*uint64 `json:"CmdTemplateIdSet,omitnil,omitempty" name:"CmdTemplateIdSet"`

	// 关联高危DB模板ID
	ACTemplateIdSet []*string `json:"ACTemplateIdSet,omitnil,omitempty" name:"ACTemplateIdSet"`

	// 是否开启rdp磁盘映射文件上传
	AllowDiskFileUp *bool `json:"AllowDiskFileUp,omitnil,omitempty" name:"AllowDiskFileUp"`

	// 是否开启rdp磁盘映射文件下载
	AllowDiskFileDown *bool `json:"AllowDiskFileDown,omitnil,omitempty" name:"AllowDiskFileDown"`

	// 是否开启rz sz文件上传
	AllowShellFileUp *bool `json:"AllowShellFileUp,omitnil,omitempty" name:"AllowShellFileUp"`

	// 是否开启rz sz文件下载
	AllowShellFileDown *bool `json:"AllowShellFileDown,omitnil,omitempty" name:"AllowShellFileDown"`

	// 是否开启 SFTP 文件删除
	AllowFileDel *bool `json:"AllowFileDel,omitnil,omitempty" name:"AllowFileDel"`

	// 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 访问权限所属部门的ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 是否允许使用访问串,默认允许
	AllowAccessCredential *bool `json:"AllowAccessCredential,omitnil,omitempty" name:"AllowAccessCredential"`
}

Predefined struct for user

type CreateAclResponse

type CreateAclResponse struct {
	*tchttp.BaseResponse
	Response *CreateAclResponseParams `json:"Response"`
}

func NewCreateAclResponse

func NewCreateAclResponse() (response *CreateAclResponse)

func (*CreateAclResponse) FromJsonString

func (r *CreateAclResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAclResponse) ToJsonString

func (r *CreateAclResponse) ToJsonString() string

type CreateAclResponseParams added in v1.0.426

type CreateAclResponseParams struct {
	// 新建成功的访问权限ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateAssetSyncJobRequest added in v1.0.604

type CreateAssetSyncJobRequest struct {
	*tchttp.BaseRequest

	// 同步资产类别,1 - 主机资产, 2 - 数据库资产
	Category *uint64 `json:"Category,omitnil,omitempty" name:"Category"`
}

func NewCreateAssetSyncJobRequest added in v1.0.604

func NewCreateAssetSyncJobRequest() (request *CreateAssetSyncJobRequest)

func (*CreateAssetSyncJobRequest) FromJsonString added in v1.0.604

func (r *CreateAssetSyncJobRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAssetSyncJobRequest) ToJsonString added in v1.0.604

func (r *CreateAssetSyncJobRequest) ToJsonString() string

type CreateAssetSyncJobRequestParams added in v1.0.604

type CreateAssetSyncJobRequestParams struct {
	// 同步资产类别,1 - 主机资产, 2 - 数据库资产
	Category *uint64 `json:"Category,omitnil,omitempty" name:"Category"`
}

Predefined struct for user

type CreateAssetSyncJobResponse added in v1.0.604

type CreateAssetSyncJobResponse struct {
	*tchttp.BaseResponse
	Response *CreateAssetSyncJobResponseParams `json:"Response"`
}

func NewCreateAssetSyncJobResponse added in v1.0.604

func NewCreateAssetSyncJobResponse() (response *CreateAssetSyncJobResponse)

func (*CreateAssetSyncJobResponse) FromJsonString added in v1.0.604

func (r *CreateAssetSyncJobResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateAssetSyncJobResponse) ToJsonString added in v1.0.604

func (r *CreateAssetSyncJobResponse) ToJsonString() string

type CreateAssetSyncJobResponseParams added in v1.0.604

type CreateAssetSyncJobResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateChangePwdTaskRequest added in v1.0.929

type CreateChangePwdTaskRequest struct {
	*tchttp.BaseRequest

	// 任务名
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// 资产id数组
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 修改的账户数组
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 改密方式。1:使用执行账号修改密码;2:修改自身密码
	ChangeMethod *int64 `json:"ChangeMethod,omitnil,omitempty" name:"ChangeMethod"`

	// 认证生成方式。 1:自动生成相同密码 2:自动生成不同密码 3:手动指定相同密码
	AuthGenerationStrategy *int64 `json:"AuthGenerationStrategy,omitnil,omitempty" name:"AuthGenerationStrategy"`

	// 执行账号
	RunAccount *string `json:"RunAccount,omitnil,omitempty" name:"RunAccount"`

	// 手动指定密码时必传
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 密码限制长度,长度大于 12 位
	PasswordLength *int64 `json:"PasswordLength,omitnil,omitempty" name:"PasswordLength"`

	// 密码包含小写字母。0:否,1:是
	SmallLetter *int64 `json:"SmallLetter,omitnil,omitempty" name:"SmallLetter"`

	// 密码包含大写字母。0:否,1:是
	BigLetter *int64 `json:"BigLetter,omitnil,omitempty" name:"BigLetter"`

	// 密码包含数字。0:否,1:是
	Digit *int64 `json:"Digit,omitnil,omitempty" name:"Digit"`

	// 密码包含的特殊字符(base64编码),包含:^[-_#();%~!+=]*$
	Symbol *string `json:"Symbol,omitnil,omitempty" name:"Symbol"`

	// 改密完成通知。0:不通知
	//   1:通知
	CompleteNotify *int64 `json:"CompleteNotify,omitnil,omitempty" name:"CompleteNotify"`

	// 通知邮箱
	NotifyEmails []*string `json:"NotifyEmails,omitnil,omitempty" name:"NotifyEmails"`

	// 加密压缩文件密码
	FilePassword *string `json:"FilePassword,omitnil,omitempty" name:"FilePassword"`

	// 所属部门id。“1.2.3”
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 任务类型  4-手工执行  5-周期自动执行
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 执行周期,单位天(大于等于 1,小于等于 365)
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// 周期任务首次执行时间
	FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"`
}

func NewCreateChangePwdTaskRequest added in v1.0.929

func NewCreateChangePwdTaskRequest() (request *CreateChangePwdTaskRequest)

func (*CreateChangePwdTaskRequest) FromJsonString added in v1.0.929

func (r *CreateChangePwdTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateChangePwdTaskRequest) ToJsonString added in v1.0.929

func (r *CreateChangePwdTaskRequest) ToJsonString() string

type CreateChangePwdTaskRequestParams added in v1.0.929

type CreateChangePwdTaskRequestParams struct {
	// 任务名
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// 资产id数组
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 修改的账户数组
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 改密方式。1:使用执行账号修改密码;2:修改自身密码
	ChangeMethod *int64 `json:"ChangeMethod,omitnil,omitempty" name:"ChangeMethod"`

	// 认证生成方式。 1:自动生成相同密码 2:自动生成不同密码 3:手动指定相同密码
	AuthGenerationStrategy *int64 `json:"AuthGenerationStrategy,omitnil,omitempty" name:"AuthGenerationStrategy"`

	// 执行账号
	RunAccount *string `json:"RunAccount,omitnil,omitempty" name:"RunAccount"`

	// 手动指定密码时必传
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 密码限制长度,长度大于 12 位
	PasswordLength *int64 `json:"PasswordLength,omitnil,omitempty" name:"PasswordLength"`

	// 密码包含小写字母。0:否,1:是
	SmallLetter *int64 `json:"SmallLetter,omitnil,omitempty" name:"SmallLetter"`

	// 密码包含大写字母。0:否,1:是
	BigLetter *int64 `json:"BigLetter,omitnil,omitempty" name:"BigLetter"`

	// 密码包含数字。0:否,1:是
	Digit *int64 `json:"Digit,omitnil,omitempty" name:"Digit"`

	// 密码包含的特殊字符(base64编码),包含:^[-_#();%~!+=]*$
	Symbol *string `json:"Symbol,omitnil,omitempty" name:"Symbol"`

	// 改密完成通知。0:不通知
	//   1:通知
	CompleteNotify *int64 `json:"CompleteNotify,omitnil,omitempty" name:"CompleteNotify"`

	// 通知邮箱
	NotifyEmails []*string `json:"NotifyEmails,omitnil,omitempty" name:"NotifyEmails"`

	// 加密压缩文件密码
	FilePassword *string `json:"FilePassword,omitnil,omitempty" name:"FilePassword"`

	// 所属部门id。“1.2.3”
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 任务类型  4-手工执行  5-周期自动执行
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 执行周期,单位天(大于等于 1,小于等于 365)
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// 周期任务首次执行时间
	FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"`
}

Predefined struct for user

type CreateChangePwdTaskResponse added in v1.0.929

type CreateChangePwdTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreateChangePwdTaskResponseParams `json:"Response"`
}

func NewCreateChangePwdTaskResponse added in v1.0.929

func NewCreateChangePwdTaskResponse() (response *CreateChangePwdTaskResponse)

func (*CreateChangePwdTaskResponse) FromJsonString added in v1.0.929

func (r *CreateChangePwdTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateChangePwdTaskResponse) ToJsonString added in v1.0.929

func (r *CreateChangePwdTaskResponse) ToJsonString() string

type CreateChangePwdTaskResponseParams added in v1.0.929

type CreateChangePwdTaskResponseParams struct {
	// 任务id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateCmdTemplateRequest added in v1.0.604

type CreateCmdTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板名,最大长度32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 命令列表,\n分隔,最大长度32768字节
	CmdList *string `json:"CmdList,omitnil,omitempty" name:"CmdList"`

	// 标识cmdlist字段前端是否为base64加密传值.
	// 0:表示非base64加密
	// 1:表示是base64加密
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`
}

func NewCreateCmdTemplateRequest added in v1.0.604

func NewCreateCmdTemplateRequest() (request *CreateCmdTemplateRequest)

func (*CreateCmdTemplateRequest) FromJsonString added in v1.0.604

func (r *CreateCmdTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCmdTemplateRequest) ToJsonString added in v1.0.604

func (r *CreateCmdTemplateRequest) ToJsonString() string

type CreateCmdTemplateRequestParams added in v1.0.604

type CreateCmdTemplateRequestParams struct {
	// 模板名,最大长度32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 命令列表,\n分隔,最大长度32768字节
	CmdList *string `json:"CmdList,omitnil,omitempty" name:"CmdList"`

	// 标识cmdlist字段前端是否为base64加密传值.
	// 0:表示非base64加密
	// 1:表示是base64加密
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`
}

Predefined struct for user

type CreateCmdTemplateResponse added in v1.0.604

type CreateCmdTemplateResponse struct {
	*tchttp.BaseResponse
	Response *CreateCmdTemplateResponseParams `json:"Response"`
}

func NewCreateCmdTemplateResponse added in v1.0.604

func NewCreateCmdTemplateResponse() (response *CreateCmdTemplateResponse)

func (*CreateCmdTemplateResponse) FromJsonString added in v1.0.604

func (r *CreateCmdTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateCmdTemplateResponse) ToJsonString added in v1.0.604

func (r *CreateCmdTemplateResponse) ToJsonString() string

type CreateCmdTemplateResponseParams added in v1.0.604

type CreateCmdTemplateResponseParams struct {
	// 新建成功后返回的记录ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDeviceAccountRequest added in v1.0.604

type CreateDeviceAccountRequest struct {
	*tchttp.BaseRequest

	// 主机记录ID
	DeviceId *uint64 `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 账号名
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`
}

func NewCreateDeviceAccountRequest added in v1.0.604

func NewCreateDeviceAccountRequest() (request *CreateDeviceAccountRequest)

func (*CreateDeviceAccountRequest) FromJsonString added in v1.0.604

func (r *CreateDeviceAccountRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDeviceAccountRequest) ToJsonString added in v1.0.604

func (r *CreateDeviceAccountRequest) ToJsonString() string

type CreateDeviceAccountRequestParams added in v1.0.604

type CreateDeviceAccountRequestParams struct {
	// 主机记录ID
	DeviceId *uint64 `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 账号名
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`
}

Predefined struct for user

type CreateDeviceAccountResponse added in v1.0.604

type CreateDeviceAccountResponse struct {
	*tchttp.BaseResponse
	Response *CreateDeviceAccountResponseParams `json:"Response"`
}

func NewCreateDeviceAccountResponse added in v1.0.604

func NewCreateDeviceAccountResponse() (response *CreateDeviceAccountResponse)

func (*CreateDeviceAccountResponse) FromJsonString added in v1.0.604

func (r *CreateDeviceAccountResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDeviceAccountResponse) ToJsonString added in v1.0.604

func (r *CreateDeviceAccountResponse) ToJsonString() string

type CreateDeviceAccountResponseParams added in v1.0.604

type CreateDeviceAccountResponseParams struct {
	// 新建成功后返回的记录ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateDeviceGroupRequest added in v1.0.412

type CreateDeviceGroupRequest struct {
	*tchttp.BaseRequest

	// 资产组名,最大长度32字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资产组所属部门ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewCreateDeviceGroupRequest added in v1.0.412

func NewCreateDeviceGroupRequest() (request *CreateDeviceGroupRequest)

func (*CreateDeviceGroupRequest) FromJsonString added in v1.0.412

func (r *CreateDeviceGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDeviceGroupRequest) ToJsonString added in v1.0.412

func (r *CreateDeviceGroupRequest) ToJsonString() string

type CreateDeviceGroupRequestParams added in v1.0.426

type CreateDeviceGroupRequestParams struct {
	// 资产组名,最大长度32字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资产组所属部门ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type CreateDeviceGroupResponse added in v1.0.412

type CreateDeviceGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateDeviceGroupResponseParams `json:"Response"`
}

func NewCreateDeviceGroupResponse added in v1.0.412

func NewCreateDeviceGroupResponse() (response *CreateDeviceGroupResponse)

func (*CreateDeviceGroupResponse) FromJsonString added in v1.0.412

func (r *CreateDeviceGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateDeviceGroupResponse) ToJsonString added in v1.0.412

func (r *CreateDeviceGroupResponse) ToJsonString() string

type CreateDeviceGroupResponseParams added in v1.0.426

type CreateDeviceGroupResponseParams struct {
	// 新建成功的资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateResourceRequest added in v1.0.763

type CreateResourceRequest struct {
	*tchttp.BaseRequest

	// 部署region
	DeployRegion *string `json:"DeployRegion,omitnil,omitempty" name:"DeployRegion"`

	// 部署堡垒机的VpcId
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 部署堡垒机的SubnetId
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 资源类型。取值:standard/pro
	ResourceEdition *string `json:"ResourceEdition,omitnil,omitempty" name:"ResourceEdition"`

	// 资源节点数
	ResourceNode *int64 `json:"ResourceNode,omitnil,omitempty" name:"ResourceNode"`

	// 计费周期
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 计费时长
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 计费模式 1预付费
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// 自动续费
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// 部署zone
	DeployZone *string `json:"DeployZone,omitnil,omitempty" name:"DeployZone"`
}

func NewCreateResourceRequest added in v1.0.763

func NewCreateResourceRequest() (request *CreateResourceRequest)

func (*CreateResourceRequest) FromJsonString added in v1.0.763

func (r *CreateResourceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateResourceRequest) ToJsonString added in v1.0.763

func (r *CreateResourceRequest) ToJsonString() string

type CreateResourceRequestParams added in v1.0.763

type CreateResourceRequestParams struct {
	// 部署region
	DeployRegion *string `json:"DeployRegion,omitnil,omitempty" name:"DeployRegion"`

	// 部署堡垒机的VpcId
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 部署堡垒机的SubnetId
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 资源类型。取值:standard/pro
	ResourceEdition *string `json:"ResourceEdition,omitnil,omitempty" name:"ResourceEdition"`

	// 资源节点数
	ResourceNode *int64 `json:"ResourceNode,omitnil,omitempty" name:"ResourceNode"`

	// 计费周期
	TimeUnit *string `json:"TimeUnit,omitnil,omitempty" name:"TimeUnit"`

	// 计费时长
	TimeSpan *int64 `json:"TimeSpan,omitnil,omitempty" name:"TimeSpan"`

	// 计费模式 1预付费
	PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`

	// 自动续费
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// 部署zone
	DeployZone *string `json:"DeployZone,omitnil,omitempty" name:"DeployZone"`
}

Predefined struct for user

type CreateResourceResponse added in v1.0.763

type CreateResourceResponse struct {
	*tchttp.BaseResponse
	Response *CreateResourceResponseParams `json:"Response"`
}

func NewCreateResourceResponse added in v1.0.763

func NewCreateResourceResponse() (response *CreateResourceResponse)

func (*CreateResourceResponse) FromJsonString added in v1.0.763

func (r *CreateResourceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateResourceResponse) ToJsonString added in v1.0.763

func (r *CreateResourceResponse) ToJsonString() string

type CreateResourceResponseParams added in v1.0.763

type CreateResourceResponseParams struct {
	// 实例Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUserGroupRequest added in v1.0.412

type CreateUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组名,最大长度32字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 用户组所属部门的ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewCreateUserGroupRequest added in v1.0.412

func NewCreateUserGroupRequest() (request *CreateUserGroupRequest)

func (*CreateUserGroupRequest) FromJsonString added in v1.0.412

func (r *CreateUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserGroupRequest) ToJsonString added in v1.0.412

func (r *CreateUserGroupRequest) ToJsonString() string

type CreateUserGroupRequestParams added in v1.0.426

type CreateUserGroupRequestParams struct {
	// 用户组名,最大长度32字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 用户组所属部门的ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type CreateUserGroupResponse added in v1.0.412

type CreateUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *CreateUserGroupResponseParams `json:"Response"`
}

func NewCreateUserGroupResponse added in v1.0.412

func NewCreateUserGroupResponse() (response *CreateUserGroupResponse)

func (*CreateUserGroupResponse) FromJsonString added in v1.0.412

func (r *CreateUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserGroupResponse) ToJsonString added in v1.0.412

func (r *CreateUserGroupResponse) ToJsonString() string

type CreateUserGroupResponseParams added in v1.0.426

type CreateUserGroupResponseParams struct {
	// 新建成功的用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type CreateUserRequest

type CreateUserRequest struct {
	*tchttp.BaseRequest

	// 用户名, 3-20个字符, 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户姓名,最大长度20个字符,不能包含空白字符
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 大陆手机号直接填写,如果是其他国家、地区号码, 按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 电子邮件
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 用户失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 所属用户组ID集合
	GroupIdSet []*uint64 `json:"GroupIdSet,omitnil,omitempty" name:"GroupIdSet"`

	// 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth 不传则默认为0
	AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
	ValidateTime *string `json:"ValidateTime,omitnil,omitempty" name:"ValidateTime"`

	// 所属部门ID,如:“1.2.3”
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewCreateUserRequest

func NewCreateUserRequest() (request *CreateUserRequest)

func (*CreateUserRequest) FromJsonString

func (r *CreateUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserRequest) ToJsonString

func (r *CreateUserRequest) ToJsonString() string

type CreateUserRequestParams added in v1.0.426

type CreateUserRequestParams struct {
	// 用户名, 3-20个字符, 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户姓名,最大长度20个字符,不能包含空白字符
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 大陆手机号直接填写,如果是其他国家、地区号码, 按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 电子邮件
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 用户失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 所属用户组ID集合
	GroupIdSet []*uint64 `json:"GroupIdSet,omitnil,omitempty" name:"GroupIdSet"`

	// 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth 不传则默认为0
	AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
	ValidateTime *string `json:"ValidateTime,omitnil,omitempty" name:"ValidateTime"`

	// 所属部门ID,如:“1.2.3”
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type CreateUserResponse

type CreateUserResponse struct {
	*tchttp.BaseResponse
	Response *CreateUserResponseParams `json:"Response"`
}

func NewCreateUserResponse

func NewCreateUserResponse() (response *CreateUserResponse)

func (*CreateUserResponse) FromJsonString

func (r *CreateUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*CreateUserResponse) ToJsonString

func (r *CreateUserResponse) ToJsonString() string

type CreateUserResponseParams added in v1.0.426

type CreateUserResponseParams struct {
	// 新建用户的ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteAclsRequest

type DeleteAclsRequest struct {
	*tchttp.BaseRequest

	// 待删除的权限ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteAclsRequest

func NewDeleteAclsRequest() (request *DeleteAclsRequest)

func (*DeleteAclsRequest) FromJsonString

func (r *DeleteAclsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAclsRequest) ToJsonString

func (r *DeleteAclsRequest) ToJsonString() string

type DeleteAclsRequestParams added in v1.0.426

type DeleteAclsRequestParams struct {
	// 待删除的权限ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteAclsResponse

type DeleteAclsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteAclsResponseParams `json:"Response"`
}

func NewDeleteAclsResponse

func NewDeleteAclsResponse() (response *DeleteAclsResponse)

func (*DeleteAclsResponse) FromJsonString

func (r *DeleteAclsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteAclsResponse) ToJsonString

func (r *DeleteAclsResponse) ToJsonString() string

type DeleteAclsResponseParams added in v1.0.426

type DeleteAclsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteChangePwdTaskRequest added in v1.0.929

type DeleteChangePwdTaskRequest struct {
	*tchttp.BaseRequest

	// 改密任务id列表
	IdSet []*int64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteChangePwdTaskRequest added in v1.0.929

func NewDeleteChangePwdTaskRequest() (request *DeleteChangePwdTaskRequest)

func (*DeleteChangePwdTaskRequest) FromJsonString added in v1.0.929

func (r *DeleteChangePwdTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteChangePwdTaskRequest) ToJsonString added in v1.0.929

func (r *DeleteChangePwdTaskRequest) ToJsonString() string

type DeleteChangePwdTaskRequestParams added in v1.0.929

type DeleteChangePwdTaskRequestParams struct {
	// 改密任务id列表
	IdSet []*int64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteChangePwdTaskResponse added in v1.0.929

type DeleteChangePwdTaskResponse struct {
	*tchttp.BaseResponse
	Response *DeleteChangePwdTaskResponseParams `json:"Response"`
}

func NewDeleteChangePwdTaskResponse added in v1.0.929

func NewDeleteChangePwdTaskResponse() (response *DeleteChangePwdTaskResponse)

func (*DeleteChangePwdTaskResponse) FromJsonString added in v1.0.929

func (r *DeleteChangePwdTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteChangePwdTaskResponse) ToJsonString added in v1.0.929

func (r *DeleteChangePwdTaskResponse) ToJsonString() string

type DeleteChangePwdTaskResponseParams added in v1.0.929

type DeleteChangePwdTaskResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteCmdTemplatesRequest added in v1.0.604

type DeleteCmdTemplatesRequest struct {
	*tchttp.BaseRequest

	// 待删除的ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteCmdTemplatesRequest added in v1.0.604

func NewDeleteCmdTemplatesRequest() (request *DeleteCmdTemplatesRequest)

func (*DeleteCmdTemplatesRequest) FromJsonString added in v1.0.604

func (r *DeleteCmdTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCmdTemplatesRequest) ToJsonString added in v1.0.604

func (r *DeleteCmdTemplatesRequest) ToJsonString() string

type DeleteCmdTemplatesRequestParams added in v1.0.604

type DeleteCmdTemplatesRequestParams struct {
	// 待删除的ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteCmdTemplatesResponse added in v1.0.604

type DeleteCmdTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteCmdTemplatesResponseParams `json:"Response"`
}

func NewDeleteCmdTemplatesResponse added in v1.0.604

func NewDeleteCmdTemplatesResponse() (response *DeleteCmdTemplatesResponse)

func (*DeleteCmdTemplatesResponse) FromJsonString added in v1.0.604

func (r *DeleteCmdTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteCmdTemplatesResponse) ToJsonString added in v1.0.604

func (r *DeleteCmdTemplatesResponse) ToJsonString() string

type DeleteCmdTemplatesResponseParams added in v1.0.604

type DeleteCmdTemplatesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDeviceAccountsRequest added in v1.0.604

type DeleteDeviceAccountsRequest struct {
	*tchttp.BaseRequest

	// 待删除的ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteDeviceAccountsRequest added in v1.0.604

func NewDeleteDeviceAccountsRequest() (request *DeleteDeviceAccountsRequest)

func (*DeleteDeviceAccountsRequest) FromJsonString added in v1.0.604

func (r *DeleteDeviceAccountsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceAccountsRequest) ToJsonString added in v1.0.604

func (r *DeleteDeviceAccountsRequest) ToJsonString() string

type DeleteDeviceAccountsRequestParams added in v1.0.604

type DeleteDeviceAccountsRequestParams struct {
	// 待删除的ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteDeviceAccountsResponse added in v1.0.604

type DeleteDeviceAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDeviceAccountsResponseParams `json:"Response"`
}

func NewDeleteDeviceAccountsResponse added in v1.0.604

func NewDeleteDeviceAccountsResponse() (response *DeleteDeviceAccountsResponse)

func (*DeleteDeviceAccountsResponse) FromJsonString added in v1.0.604

func (r *DeleteDeviceAccountsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceAccountsResponse) ToJsonString added in v1.0.604

func (r *DeleteDeviceAccountsResponse) ToJsonString() string

type DeleteDeviceAccountsResponseParams added in v1.0.604

type DeleteDeviceAccountsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDeviceGroupMembersRequest added in v1.0.412

type DeleteDeviceGroupMembersRequest struct {
	*tchttp.BaseRequest

	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 需要删除的资产ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

func NewDeleteDeviceGroupMembersRequest added in v1.0.412

func NewDeleteDeviceGroupMembersRequest() (request *DeleteDeviceGroupMembersRequest)

func (*DeleteDeviceGroupMembersRequest) FromJsonString added in v1.0.412

func (r *DeleteDeviceGroupMembersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceGroupMembersRequest) ToJsonString added in v1.0.412

func (r *DeleteDeviceGroupMembersRequest) ToJsonString() string

type DeleteDeviceGroupMembersRequestParams added in v1.0.426

type DeleteDeviceGroupMembersRequestParams struct {
	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 需要删除的资产ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

Predefined struct for user

type DeleteDeviceGroupMembersResponse added in v1.0.412

type DeleteDeviceGroupMembersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDeviceGroupMembersResponseParams `json:"Response"`
}

func NewDeleteDeviceGroupMembersResponse added in v1.0.412

func NewDeleteDeviceGroupMembersResponse() (response *DeleteDeviceGroupMembersResponse)

func (*DeleteDeviceGroupMembersResponse) FromJsonString added in v1.0.412

func (r *DeleteDeviceGroupMembersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceGroupMembersResponse) ToJsonString added in v1.0.412

func (r *DeleteDeviceGroupMembersResponse) ToJsonString() string

type DeleteDeviceGroupMembersResponseParams added in v1.0.426

type DeleteDeviceGroupMembersResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDeviceGroupsRequest added in v1.0.412

type DeleteDeviceGroupsRequest struct {
	*tchttp.BaseRequest

	// 待删除的资产组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteDeviceGroupsRequest added in v1.0.412

func NewDeleteDeviceGroupsRequest() (request *DeleteDeviceGroupsRequest)

func (*DeleteDeviceGroupsRequest) FromJsonString added in v1.0.412

func (r *DeleteDeviceGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceGroupsRequest) ToJsonString added in v1.0.412

func (r *DeleteDeviceGroupsRequest) ToJsonString() string

type DeleteDeviceGroupsRequestParams added in v1.0.426

type DeleteDeviceGroupsRequestParams struct {
	// 待删除的资产组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteDeviceGroupsResponse added in v1.0.412

type DeleteDeviceGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDeviceGroupsResponseParams `json:"Response"`
}

func NewDeleteDeviceGroupsResponse added in v1.0.412

func NewDeleteDeviceGroupsResponse() (response *DeleteDeviceGroupsResponse)

func (*DeleteDeviceGroupsResponse) FromJsonString added in v1.0.412

func (r *DeleteDeviceGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDeviceGroupsResponse) ToJsonString added in v1.0.412

func (r *DeleteDeviceGroupsResponse) ToJsonString() string

type DeleteDeviceGroupsResponseParams added in v1.0.426

type DeleteDeviceGroupsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteDevicesRequest added in v1.0.604

type DeleteDevicesRequest struct {
	*tchttp.BaseRequest

	// 待删除的ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteDevicesRequest added in v1.0.604

func NewDeleteDevicesRequest() (request *DeleteDevicesRequest)

func (*DeleteDevicesRequest) FromJsonString added in v1.0.604

func (r *DeleteDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDevicesRequest) ToJsonString added in v1.0.604

func (r *DeleteDevicesRequest) ToJsonString() string

type DeleteDevicesRequestParams added in v1.0.604

type DeleteDevicesRequestParams struct {
	// 待删除的ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteDevicesResponse added in v1.0.604

type DeleteDevicesResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDevicesResponseParams `json:"Response"`
}

func NewDeleteDevicesResponse added in v1.0.604

func NewDeleteDevicesResponse() (response *DeleteDevicesResponse)

func (*DeleteDevicesResponse) FromJsonString added in v1.0.604

func (r *DeleteDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteDevicesResponse) ToJsonString added in v1.0.604

func (r *DeleteDevicesResponse) ToJsonString() string

type DeleteDevicesResponseParams added in v1.0.604

type DeleteDevicesResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUserGroupMembersRequest added in v1.0.412

type DeleteUserGroupMembersRequest struct {
	*tchttp.BaseRequest

	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 需删除的成员用户ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

func NewDeleteUserGroupMembersRequest added in v1.0.412

func NewDeleteUserGroupMembersRequest() (request *DeleteUserGroupMembersRequest)

func (*DeleteUserGroupMembersRequest) FromJsonString added in v1.0.412

func (r *DeleteUserGroupMembersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserGroupMembersRequest) ToJsonString added in v1.0.412

func (r *DeleteUserGroupMembersRequest) ToJsonString() string

type DeleteUserGroupMembersRequestParams added in v1.0.426

type DeleteUserGroupMembersRequestParams struct {
	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 需删除的成员用户ID集合
	MemberIdSet []*uint64 `json:"MemberIdSet,omitnil,omitempty" name:"MemberIdSet"`
}

Predefined struct for user

type DeleteUserGroupMembersResponse added in v1.0.412

type DeleteUserGroupMembersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUserGroupMembersResponseParams `json:"Response"`
}

func NewDeleteUserGroupMembersResponse added in v1.0.412

func NewDeleteUserGroupMembersResponse() (response *DeleteUserGroupMembersResponse)

func (*DeleteUserGroupMembersResponse) FromJsonString added in v1.0.412

func (r *DeleteUserGroupMembersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserGroupMembersResponse) ToJsonString added in v1.0.412

func (r *DeleteUserGroupMembersResponse) ToJsonString() string

type DeleteUserGroupMembersResponseParams added in v1.0.426

type DeleteUserGroupMembersResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUserGroupsRequest added in v1.0.412

type DeleteUserGroupsRequest struct {
	*tchttp.BaseRequest

	// 待删除的用户组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteUserGroupsRequest added in v1.0.412

func NewDeleteUserGroupsRequest() (request *DeleteUserGroupsRequest)

func (*DeleteUserGroupsRequest) FromJsonString added in v1.0.412

func (r *DeleteUserGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserGroupsRequest) ToJsonString added in v1.0.412

func (r *DeleteUserGroupsRequest) ToJsonString() string

type DeleteUserGroupsRequestParams added in v1.0.426

type DeleteUserGroupsRequestParams struct {
	// 待删除的用户组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteUserGroupsResponse added in v1.0.412

type DeleteUserGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUserGroupsResponseParams `json:"Response"`
}

func NewDeleteUserGroupsResponse added in v1.0.412

func NewDeleteUserGroupsResponse() (response *DeleteUserGroupsResponse)

func (*DeleteUserGroupsResponse) FromJsonString added in v1.0.412

func (r *DeleteUserGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUserGroupsResponse) ToJsonString added in v1.0.412

func (r *DeleteUserGroupsResponse) ToJsonString() string

type DeleteUserGroupsResponseParams added in v1.0.426

type DeleteUserGroupsResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DeleteUsersRequest

type DeleteUsersRequest struct {
	*tchttp.BaseRequest

	// 待删除的用户ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewDeleteUsersRequest

func NewDeleteUsersRequest() (request *DeleteUsersRequest)

func (*DeleteUsersRequest) FromJsonString

func (r *DeleteUsersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsersRequest) ToJsonString

func (r *DeleteUsersRequest) ToJsonString() string

type DeleteUsersRequestParams added in v1.0.426

type DeleteUsersRequestParams struct {
	// 待删除的用户ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type DeleteUsersResponse

type DeleteUsersResponse struct {
	*tchttp.BaseResponse
	Response *DeleteUsersResponseParams `json:"Response"`
}

func NewDeleteUsersResponse

func NewDeleteUsersResponse() (response *DeleteUsersResponse)

func (*DeleteUsersResponse) FromJsonString

func (r *DeleteUsersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteUsersResponse) ToJsonString

func (r *DeleteUsersResponse) ToJsonString() string

type DeleteUsersResponseParams added in v1.0.426

type DeleteUsersResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Department added in v1.0.475

type Department struct {
	// 部门ID
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 部门名称,1 - 256个字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 部门管理员账号ID
	// 注意:此字段可能返回 null,表示取不到有效值。
	Managers []*string `json:"Managers,omitnil,omitempty" name:"Managers"`

	// 管理员用户
	// 注意:此字段可能返回 null,表示取不到有效值。
	ManagerUsers []*DepartmentManagerUser `json:"ManagerUsers,omitnil,omitempty" name:"ManagerUsers"`
}

type DepartmentManagerUser added in v1.0.724

type DepartmentManagerUser struct {
	// 管理员Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	ManagerId *string `json:"ManagerId,omitnil,omitempty" name:"ManagerId"`

	// 管理员姓名
	// 注意:此字段可能返回 null,表示取不到有效值。
	ManagerName *string `json:"ManagerName,omitnil,omitempty" name:"ManagerName"`
}

type DeployResourceRequest added in v1.0.604

type DeployResourceRequest struct {
	*tchttp.BaseRequest

	// 需要开通服务的资源ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 需要开通服务的地域
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 子网所在可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 需要开通服务的VPC
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 需要开通服务的子网ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 需要开通服务的子网网段
	CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// 需要开通服务的VPC名称
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// 需要开通服务的VPC对应的网段
	VpcCidrBlock *string `json:"VpcCidrBlock,omitnil,omitempty" name:"VpcCidrBlock"`

	// 需要开通服务的子网名称
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

	// 需要开通实例所属的CDC集群ID
	CdcClusterId *string `json:"CdcClusterId,omitnil,omitempty" name:"CdcClusterId"`
}

func NewDeployResourceRequest added in v1.0.604

func NewDeployResourceRequest() (request *DeployResourceRequest)

func (*DeployResourceRequest) FromJsonString added in v1.0.604

func (r *DeployResourceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeployResourceRequest) ToJsonString added in v1.0.604

func (r *DeployResourceRequest) ToJsonString() string

type DeployResourceRequestParams added in v1.0.604

type DeployResourceRequestParams struct {
	// 需要开通服务的资源ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 需要开通服务的地域
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 子网所在可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 需要开通服务的VPC
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 需要开通服务的子网ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 需要开通服务的子网网段
	CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// 需要开通服务的VPC名称
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// 需要开通服务的VPC对应的网段
	VpcCidrBlock *string `json:"VpcCidrBlock,omitnil,omitempty" name:"VpcCidrBlock"`

	// 需要开通服务的子网名称
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

	// 需要开通实例所属的CDC集群ID
	CdcClusterId *string `json:"CdcClusterId,omitnil,omitempty" name:"CdcClusterId"`
}

Predefined struct for user

type DeployResourceResponse added in v1.0.604

type DeployResourceResponse struct {
	*tchttp.BaseResponse
	Response *DeployResourceResponseParams `json:"Response"`
}

func NewDeployResourceResponse added in v1.0.604

func NewDeployResourceResponse() (response *DeployResourceResponse)

func (*DeployResourceResponse) FromJsonString added in v1.0.604

func (r *DeployResourceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeployResourceResponse) ToJsonString added in v1.0.604

func (r *DeployResourceResponse) ToJsonString() string

type DeployResourceResponseParams added in v1.0.604

type DeployResourceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAclsRequest

type DescribeAclsRequest struct {
	*tchttp.BaseRequest

	// 访问权限ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 访问权限名称,模糊查询,最长64字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20,最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 是否根据Name进行精确查询,默认值false
	Exact *bool `json:"Exact,omitnil,omitempty" name:"Exact"`

	// 有访问权限的用户ID集合
	AuthorizedUserIdSet []*uint64 `json:"AuthorizedUserIdSet,omitnil,omitempty" name:"AuthorizedUserIdSet"`

	// 有访问权限的资产ID集合
	AuthorizedDeviceIdSet []*uint64 `json:"AuthorizedDeviceIdSet,omitnil,omitempty" name:"AuthorizedDeviceIdSet"`

	// 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 部门ID,用于过滤属于某个部门的访问权限
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewDescribeAclsRequest

func NewDescribeAclsRequest() (request *DescribeAclsRequest)

func (*DescribeAclsRequest) FromJsonString

func (r *DescribeAclsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAclsRequest) ToJsonString

func (r *DescribeAclsRequest) ToJsonString() string

type DescribeAclsRequestParams added in v1.0.426

type DescribeAclsRequestParams struct {
	// 访问权限ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 访问权限名称,模糊查询,最长64字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20,最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 是否根据Name进行精确查询,默认值false
	Exact *bool `json:"Exact,omitnil,omitempty" name:"Exact"`

	// 有访问权限的用户ID集合
	AuthorizedUserIdSet []*uint64 `json:"AuthorizedUserIdSet,omitnil,omitempty" name:"AuthorizedUserIdSet"`

	// 有访问权限的资产ID集合
	AuthorizedDeviceIdSet []*uint64 `json:"AuthorizedDeviceIdSet,omitnil,omitempty" name:"AuthorizedDeviceIdSet"`

	// 访问权限状态,1 - 已生效,2 - 未生效,3 - 已过期
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 部门ID,用于过滤属于某个部门的访问权限
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type DescribeAclsResponse

type DescribeAclsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAclsResponseParams `json:"Response"`
}

func NewDescribeAclsResponse

func NewDescribeAclsResponse() (response *DescribeAclsResponse)

func (*DescribeAclsResponse) FromJsonString

func (r *DescribeAclsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAclsResponse) ToJsonString

func (r *DescribeAclsResponse) ToJsonString() string

type DescribeAclsResponseParams added in v1.0.426

type DescribeAclsResponseParams struct {
	// 访问权限总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 访问权限列表
	AclSet []*Acl `json:"AclSet,omitnil,omitempty" name:"AclSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeAssetSyncStatusRequest added in v1.0.604

type DescribeAssetSyncStatusRequest struct {
	*tchttp.BaseRequest

	// 查询的资产同步类型。1 -主机资产, 2 - 数据库资产
	Category *uint64 `json:"Category,omitnil,omitempty" name:"Category"`
}

func NewDescribeAssetSyncStatusRequest added in v1.0.604

func NewDescribeAssetSyncStatusRequest() (request *DescribeAssetSyncStatusRequest)

func (*DescribeAssetSyncStatusRequest) FromJsonString added in v1.0.604

func (r *DescribeAssetSyncStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAssetSyncStatusRequest) ToJsonString added in v1.0.604

func (r *DescribeAssetSyncStatusRequest) ToJsonString() string

type DescribeAssetSyncStatusRequestParams added in v1.0.604

type DescribeAssetSyncStatusRequestParams struct {
	// 查询的资产同步类型。1 -主机资产, 2 - 数据库资产
	Category *uint64 `json:"Category,omitnil,omitempty" name:"Category"`
}

Predefined struct for user

type DescribeAssetSyncStatusResponse added in v1.0.604

type DescribeAssetSyncStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeAssetSyncStatusResponseParams `json:"Response"`
}

func NewDescribeAssetSyncStatusResponse added in v1.0.604

func NewDescribeAssetSyncStatusResponse() (response *DescribeAssetSyncStatusResponse)

func (*DescribeAssetSyncStatusResponse) FromJsonString added in v1.0.604

func (r *DescribeAssetSyncStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeAssetSyncStatusResponse) ToJsonString added in v1.0.604

func (r *DescribeAssetSyncStatusResponse) ToJsonString() string

type DescribeAssetSyncStatusResponseParams added in v1.0.604

type DescribeAssetSyncStatusResponseParams struct {
	// 资产同步结果
	Status *AssetSyncStatus `json:"Status,omitnil,omitempty" name:"Status"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeChangePwdTaskDetailRequest added in v1.0.929

type DescribeChangePwdTaskDetailRequest struct {
	*tchttp.BaseRequest

	// 改密任务Id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 所属部门ID,如:“1.2.3”
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 过滤数组,支持:InstanceId 资产ID,DeviceName 资产名称,Ip 内外IP,Account 资产账号,LastChangeStatus 上次改密状态。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 分页偏移位置,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目。默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeChangePwdTaskDetailRequest added in v1.0.929

func NewDescribeChangePwdTaskDetailRequest() (request *DescribeChangePwdTaskDetailRequest)

func (*DescribeChangePwdTaskDetailRequest) FromJsonString added in v1.0.929

func (r *DescribeChangePwdTaskDetailRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeChangePwdTaskDetailRequest) ToJsonString added in v1.0.929

func (r *DescribeChangePwdTaskDetailRequest) ToJsonString() string

type DescribeChangePwdTaskDetailRequestParams added in v1.0.929

type DescribeChangePwdTaskDetailRequestParams struct {
	// 改密任务Id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 所属部门ID,如:“1.2.3”
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 过滤数组,支持:InstanceId 资产ID,DeviceName 资产名称,Ip 内外IP,Account 资产账号,LastChangeStatus 上次改密状态。
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 分页偏移位置,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目。默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeChangePwdTaskDetailResponse added in v1.0.929

type DescribeChangePwdTaskDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeChangePwdTaskDetailResponseParams `json:"Response"`
}

func NewDescribeChangePwdTaskDetailResponse added in v1.0.929

func NewDescribeChangePwdTaskDetailResponse() (response *DescribeChangePwdTaskDetailResponse)

func (*DescribeChangePwdTaskDetailResponse) FromJsonString added in v1.0.929

func (r *DescribeChangePwdTaskDetailResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeChangePwdTaskDetailResponse) ToJsonString added in v1.0.929

func (r *DescribeChangePwdTaskDetailResponse) ToJsonString() string

type DescribeChangePwdTaskDetailResponseParams added in v1.0.929

type DescribeChangePwdTaskDetailResponseParams struct {
	// 总数
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 任务详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Details []*ChangePwdTaskDetail `json:"Details,omitnil,omitempty" name:"Details"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeChangePwdTaskRequest added in v1.0.929

type DescribeChangePwdTaskRequest struct {
	*tchttp.BaseRequest

	// 过滤数组。过滤数组。Name支持以下值: OperationId 任务ID TaskName 任务名
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 分页偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeChangePwdTaskRequest added in v1.0.929

func NewDescribeChangePwdTaskRequest() (request *DescribeChangePwdTaskRequest)

func (*DescribeChangePwdTaskRequest) FromJsonString added in v1.0.929

func (r *DescribeChangePwdTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeChangePwdTaskRequest) ToJsonString added in v1.0.929

func (r *DescribeChangePwdTaskRequest) ToJsonString() string

type DescribeChangePwdTaskRequestParams added in v1.0.929

type DescribeChangePwdTaskRequestParams struct {
	// 过滤数组。过滤数组。Name支持以下值: OperationId 任务ID TaskName 任务名
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// 所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 分页偏移量,默认0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeChangePwdTaskResponse added in v1.0.929

type DescribeChangePwdTaskResponse struct {
	*tchttp.BaseResponse
	Response *DescribeChangePwdTaskResponseParams `json:"Response"`
}

func NewDescribeChangePwdTaskResponse added in v1.0.929

func NewDescribeChangePwdTaskResponse() (response *DescribeChangePwdTaskResponse)

func (*DescribeChangePwdTaskResponse) FromJsonString added in v1.0.929

func (r *DescribeChangePwdTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeChangePwdTaskResponse) ToJsonString added in v1.0.929

func (r *DescribeChangePwdTaskResponse) ToJsonString() string

type DescribeChangePwdTaskResponseParams added in v1.0.929

type DescribeChangePwdTaskResponseParams struct {
	// 任务详情
	// 注意:此字段可能返回 null,表示取不到有效值。
	Tasks []*ChangePwdTaskInfo `json:"Tasks,omitnil,omitempty" name:"Tasks"`

	// 任务总数
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeCmdTemplatesRequest added in v1.0.604

type DescribeCmdTemplatesRequest struct {
	*tchttp.BaseRequest

	// 命令模板ID集合,非必需
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 命令模板名,模糊查询,最大长度64字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeCmdTemplatesRequest added in v1.0.604

func NewDescribeCmdTemplatesRequest() (request *DescribeCmdTemplatesRequest)

func (*DescribeCmdTemplatesRequest) FromJsonString added in v1.0.604

func (r *DescribeCmdTemplatesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCmdTemplatesRequest) ToJsonString added in v1.0.604

func (r *DescribeCmdTemplatesRequest) ToJsonString() string

type DescribeCmdTemplatesRequestParams added in v1.0.604

type DescribeCmdTemplatesRequestParams struct {
	// 命令模板ID集合,非必需
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 命令模板名,模糊查询,最大长度64字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeCmdTemplatesResponse added in v1.0.604

type DescribeCmdTemplatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCmdTemplatesResponseParams `json:"Response"`
}

func NewDescribeCmdTemplatesResponse added in v1.0.604

func NewDescribeCmdTemplatesResponse() (response *DescribeCmdTemplatesResponse)

func (*DescribeCmdTemplatesResponse) FromJsonString added in v1.0.604

func (r *DescribeCmdTemplatesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeCmdTemplatesResponse) ToJsonString added in v1.0.604

func (r *DescribeCmdTemplatesResponse) ToJsonString() string

type DescribeCmdTemplatesResponseParams added in v1.0.604

type DescribeCmdTemplatesResponseParams struct {
	// 命令模板列表
	CmdTemplateSet []*CmdTemplate `json:"CmdTemplateSet,omitnil,omitempty" name:"CmdTemplateSet"`

	// 总记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDasbImageIdsRequest

type DescribeDasbImageIdsRequest struct {
	*tchttp.BaseRequest
}

func NewDescribeDasbImageIdsRequest

func NewDescribeDasbImageIdsRequest() (request *DescribeDasbImageIdsRequest)

func (*DescribeDasbImageIdsRequest) FromJsonString

func (r *DescribeDasbImageIdsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDasbImageIdsRequest) ToJsonString

func (r *DescribeDasbImageIdsRequest) ToJsonString() string

type DescribeDasbImageIdsRequestParams added in v1.0.426

type DescribeDasbImageIdsRequestParams struct {
}

Predefined struct for user

type DescribeDasbImageIdsResponse

type DescribeDasbImageIdsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDasbImageIdsResponseParams `json:"Response"`
}

func NewDescribeDasbImageIdsResponse

func NewDescribeDasbImageIdsResponse() (response *DescribeDasbImageIdsResponse)

func (*DescribeDasbImageIdsResponse) FromJsonString

func (r *DescribeDasbImageIdsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDasbImageIdsResponse) ToJsonString

func (r *DescribeDasbImageIdsResponse) ToJsonString() string

type DescribeDasbImageIdsResponseParams added in v1.0.426

type DescribeDasbImageIdsResponseParams struct {
	// 基础镜像ID
	BaseImageId *string `json:"BaseImageId,omitnil,omitempty" name:"BaseImageId"`

	// AI镜像ID
	AiImageId *string `json:"AiImageId,omitnil,omitempty" name:"AiImageId"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceAccountsRequest added in v1.0.604

type DescribeDeviceAccountsRequest struct {
	*tchttp.BaseRequest

	// 主机账号ID集合,非必需,如果使用IdSet则忽略其他过滤参数
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 主机账号名,模糊查询,不能单独出现,必须于DeviceId一起提交
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 主机ID,未使用IdSet时必须携带
	DeviceId *uint64 `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeDeviceAccountsRequest added in v1.0.604

func NewDescribeDeviceAccountsRequest() (request *DescribeDeviceAccountsRequest)

func (*DescribeDeviceAccountsRequest) FromJsonString added in v1.0.604

func (r *DescribeDeviceAccountsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceAccountsRequest) ToJsonString added in v1.0.604

func (r *DescribeDeviceAccountsRequest) ToJsonString() string

type DescribeDeviceAccountsRequestParams added in v1.0.604

type DescribeDeviceAccountsRequestParams struct {
	// 主机账号ID集合,非必需,如果使用IdSet则忽略其他过滤参数
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 主机账号名,模糊查询,不能单独出现,必须于DeviceId一起提交
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 主机ID,未使用IdSet时必须携带
	DeviceId *uint64 `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeDeviceAccountsResponse added in v1.0.604

type DescribeDeviceAccountsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceAccountsResponseParams `json:"Response"`
}

func NewDescribeDeviceAccountsResponse added in v1.0.604

func NewDescribeDeviceAccountsResponse() (response *DescribeDeviceAccountsResponse)

func (*DescribeDeviceAccountsResponse) FromJsonString added in v1.0.604

func (r *DescribeDeviceAccountsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceAccountsResponse) ToJsonString added in v1.0.604

func (r *DescribeDeviceAccountsResponse) ToJsonString() string

type DescribeDeviceAccountsResponseParams added in v1.0.604

type DescribeDeviceAccountsResponseParams struct {
	// 记录总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 账号信息列表
	DeviceAccountSet []*DeviceAccount `json:"DeviceAccountSet,omitnil,omitempty" name:"DeviceAccountSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceGroupMembersRequest added in v1.0.412

type DescribeDeviceGroupMembersRequest struct {
	*tchttp.BaseRequest

	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// true - 查询已在该资产组的资产,false - 查询未在该资产组的资产
	Bound *bool `json:"Bound,omitnil,omitempty" name:"Bound"`

	// 资产名或资产IP,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数,默认20, 最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
	TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`
}

func NewDescribeDeviceGroupMembersRequest added in v1.0.412

func NewDescribeDeviceGroupMembersRequest() (request *DescribeDeviceGroupMembersRequest)

func (*DescribeDeviceGroupMembersRequest) FromJsonString added in v1.0.412

func (r *DescribeDeviceGroupMembersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceGroupMembersRequest) ToJsonString added in v1.0.412

func (r *DescribeDeviceGroupMembersRequest) ToJsonString() string

type DescribeDeviceGroupMembersRequestParams added in v1.0.426

type DescribeDeviceGroupMembersRequestParams struct {
	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// true - 查询已在该资产组的资产,false - 查询未在该资产组的资产
	Bound *bool `json:"Bound,omitnil,omitempty" name:"Bound"`

	// 资产名或资产IP,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数,默认20, 最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 资产类型,1 - Linux,2 - Windows,3 - MySQL,4 - SQLServer
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
	TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`
}

Predefined struct for user

type DescribeDeviceGroupMembersResponse added in v1.0.412

type DescribeDeviceGroupMembersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceGroupMembersResponseParams `json:"Response"`
}

func NewDescribeDeviceGroupMembersResponse added in v1.0.412

func NewDescribeDeviceGroupMembersResponse() (response *DescribeDeviceGroupMembersResponse)

func (*DescribeDeviceGroupMembersResponse) FromJsonString added in v1.0.412

func (r *DescribeDeviceGroupMembersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceGroupMembersResponse) ToJsonString added in v1.0.412

func (r *DescribeDeviceGroupMembersResponse) ToJsonString() string

type DescribeDeviceGroupMembersResponseParams added in v1.0.426

type DescribeDeviceGroupMembersResponseParams struct {
	// 资产组成员总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 资产组成员列表
	DeviceSet []*Device `json:"DeviceSet,omitnil,omitempty" name:"DeviceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDeviceGroupsRequest added in v1.0.412

type DescribeDeviceGroupsRequest struct {
	*tchttp.BaseRequest

	// 资产组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 资产组名,最长64个字符,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,缺省20,最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 部门ID,用于过滤属于某个部门的资产组
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewDescribeDeviceGroupsRequest added in v1.0.412

func NewDescribeDeviceGroupsRequest() (request *DescribeDeviceGroupsRequest)

func (*DescribeDeviceGroupsRequest) FromJsonString added in v1.0.412

func (r *DescribeDeviceGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceGroupsRequest) ToJsonString added in v1.0.412

func (r *DescribeDeviceGroupsRequest) ToJsonString() string

type DescribeDeviceGroupsRequestParams added in v1.0.426

type DescribeDeviceGroupsRequestParams struct {
	// 资产组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 资产组名,最长64个字符,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,缺省20,最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 部门ID,用于过滤属于某个部门的资产组
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type DescribeDeviceGroupsResponse added in v1.0.412

type DescribeDeviceGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDeviceGroupsResponseParams `json:"Response"`
}

func NewDescribeDeviceGroupsResponse added in v1.0.412

func NewDescribeDeviceGroupsResponse() (response *DescribeDeviceGroupsResponse)

func (*DescribeDeviceGroupsResponse) FromJsonString added in v1.0.412

func (r *DescribeDeviceGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDeviceGroupsResponse) ToJsonString added in v1.0.412

func (r *DescribeDeviceGroupsResponse) ToJsonString() string

type DescribeDeviceGroupsResponseParams added in v1.0.426

type DescribeDeviceGroupsResponseParams struct {
	// 资产组总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 资产组列表
	GroupSet []*Group `json:"GroupSet,omitnil,omitempty" name:"GroupSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDevicesRequest

type DescribeDevicesRequest struct {
	*tchttp.BaseRequest

	// 资产ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 资产名或资产IP,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 暂未使用
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 地域码集合
	ApCodeSet []*string `json:"ApCodeSet,omitnil,omitempty" name:"ApCodeSet"`

	// 操作系统类型, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 有该资产访问权限的用户ID集合
	AuthorizedUserIdSet []*uint64 `json:"AuthorizedUserIdSet,omitnil,omitempty" name:"AuthorizedUserIdSet"`

	// 过滤条件,资产绑定的堡垒机服务ID集合
	ResourceIdSet []*string `json:"ResourceIdSet,omitnil,omitempty" name:"ResourceIdSet"`

	// 可提供按照多种类型过滤, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
	KindSet []*uint64 `json:"KindSet,omitnil,omitempty" name:"KindSet"`

	// 资产是否包含托管账号。1,包含;0,不包含
	ManagedAccount *string `json:"ManagedAccount,omitnil,omitempty" name:"ManagedAccount"`

	// 过滤条件,可按照部门ID进行过滤
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
	TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`

	// 过滤数组。支持的Name:
	// BindingStatus 绑定状态
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeDevicesRequest

func NewDescribeDevicesRequest() (request *DescribeDevicesRequest)

func (*DescribeDevicesRequest) FromJsonString

func (r *DescribeDevicesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicesRequest) ToJsonString

func (r *DescribeDevicesRequest) ToJsonString() string

type DescribeDevicesRequestParams added in v1.0.426

type DescribeDevicesRequestParams struct {
	// 资产ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 资产名或资产IP,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 暂未使用
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 地域码集合
	ApCodeSet []*string `json:"ApCodeSet,omitnil,omitempty" name:"ApCodeSet"`

	// 操作系统类型, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 有该资产访问权限的用户ID集合
	AuthorizedUserIdSet []*uint64 `json:"AuthorizedUserIdSet,omitnil,omitempty" name:"AuthorizedUserIdSet"`

	// 过滤条件,资产绑定的堡垒机服务ID集合
	ResourceIdSet []*string `json:"ResourceIdSet,omitnil,omitempty" name:"ResourceIdSet"`

	// 可提供按照多种类型过滤, 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
	KindSet []*uint64 `json:"KindSet,omitnil,omitempty" name:"KindSet"`

	// 资产是否包含托管账号。1,包含;0,不包含
	ManagedAccount *string `json:"ManagedAccount,omitnil,omitempty" name:"ManagedAccount"`

	// 过滤条件,可按照部门ID进行过滤
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 过滤条件,可按照标签键、标签进行过滤。如果同时指定标签键和标签过滤条件,它们之间为“AND”的关系
	TagFilters []*TagFilter `json:"TagFilters,omitnil,omitempty" name:"TagFilters"`

	// 过滤数组。支持的Name:
	// BindingStatus 绑定状态
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeDevicesResponse

type DescribeDevicesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDevicesResponseParams `json:"Response"`
}

func NewDescribeDevicesResponse

func NewDescribeDevicesResponse() (response *DescribeDevicesResponse)

func (*DescribeDevicesResponse) FromJsonString

func (r *DescribeDevicesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDevicesResponse) ToJsonString

func (r *DescribeDevicesResponse) ToJsonString() string

type DescribeDevicesResponseParams added in v1.0.426

type DescribeDevicesResponseParams struct {
	// 资产总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 资产信息列表
	DeviceSet []*Device `json:"DeviceSet,omitnil,omitempty" name:"DeviceSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeLoginEventRequest added in v1.0.635

type DescribeLoginEventRequest struct {
	*tchttp.BaseRequest

	// 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名,模糊查询
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 查询时间范围,起始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询时间范围,结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 来源IP,模糊查询
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
	Entry *uint64 `json:"Entry,omitnil,omitempty" name:"Entry"`

	// 操作结果,1-成功,2-失败
	Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页每页记录数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeLoginEventRequest added in v1.0.635

func NewDescribeLoginEventRequest() (request *DescribeLoginEventRequest)

func (*DescribeLoginEventRequest) FromJsonString added in v1.0.635

func (r *DescribeLoginEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLoginEventRequest) ToJsonString added in v1.0.635

func (r *DescribeLoginEventRequest) ToJsonString() string

type DescribeLoginEventRequestParams added in v1.0.635

type DescribeLoginEventRequestParams struct {
	// 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名,模糊查询
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 查询时间范围,起始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询时间范围,结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 来源IP,模糊查询
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
	Entry *uint64 `json:"Entry,omitnil,omitempty" name:"Entry"`

	// 操作结果,1-成功,2-失败
	Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页每页记录数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeLoginEventResponse added in v1.0.635

type DescribeLoginEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoginEventResponseParams `json:"Response"`
}

func NewDescribeLoginEventResponse added in v1.0.635

func NewDescribeLoginEventResponse() (response *DescribeLoginEventResponse)

func (*DescribeLoginEventResponse) FromJsonString added in v1.0.635

func (r *DescribeLoginEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeLoginEventResponse) ToJsonString added in v1.0.635

func (r *DescribeLoginEventResponse) ToJsonString() string

type DescribeLoginEventResponseParams added in v1.0.635

type DescribeLoginEventResponseParams struct {
	// 登录日志列表
	LoginEventSet []*LoginEvent `json:"LoginEventSet,omitnil,omitempty" name:"LoginEventSet"`

	// 总记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeOperationEventRequest added in v1.0.635

type DescribeOperationEventRequest struct {
	*tchttp.BaseRequest

	// 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名,模糊查询
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 查询时间范围,起始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询时间范围,结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 来源IP,模糊查询
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// 操作类型,参考DescribeOperationType返回结果
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 操作结果,1-成功,2-失败
	Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页每页记录数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeOperationEventRequest added in v1.0.635

func NewDescribeOperationEventRequest() (request *DescribeOperationEventRequest)

func (*DescribeOperationEventRequest) FromJsonString added in v1.0.635

func (r *DescribeOperationEventRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOperationEventRequest) ToJsonString added in v1.0.635

func (r *DescribeOperationEventRequest) ToJsonString() string

type DescribeOperationEventRequestParams added in v1.0.635

type DescribeOperationEventRequestParams struct {
	// 用户名,如果不包含其他条件时对user_name or real_name两个字段模糊查询
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名,模糊查询
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 查询时间范围,起始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询时间范围,结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 来源IP,模糊查询
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// 操作类型,参考DescribeOperationType返回结果
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 操作结果,1-成功,2-失败
	Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页每页记录数,默认20
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeOperationEventResponse added in v1.0.635

type DescribeOperationEventResponse struct {
	*tchttp.BaseResponse
	Response *DescribeOperationEventResponseParams `json:"Response"`
}

func NewDescribeOperationEventResponse added in v1.0.635

func NewDescribeOperationEventResponse() (response *DescribeOperationEventResponse)

func (*DescribeOperationEventResponse) FromJsonString added in v1.0.635

func (r *DescribeOperationEventResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeOperationEventResponse) ToJsonString added in v1.0.635

func (r *DescribeOperationEventResponse) ToJsonString() string

type DescribeOperationEventResponseParams added in v1.0.635

type DescribeOperationEventResponseParams struct {
	// 操作日志列表
	OperationEventSet []*OperationEvent `json:"OperationEventSet,omitnil,omitempty" name:"OperationEventSet"`

	// 总记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeResourcesRequest added in v1.0.412

type DescribeResourcesRequest struct {
	*tchttp.BaseRequest

	// 地域码, 如: ap-guangzhou
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 按照堡垒机开通的 VPC 实例ID查询
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`

	// 每页条目数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移位置
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewDescribeResourcesRequest added in v1.0.412

func NewDescribeResourcesRequest() (request *DescribeResourcesRequest)

func (*DescribeResourcesRequest) FromJsonString added in v1.0.412

func (r *DescribeResourcesRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesRequest) ToJsonString added in v1.0.412

func (r *DescribeResourcesRequest) ToJsonString() string

type DescribeResourcesRequestParams added in v1.0.426

type DescribeResourcesRequestParams struct {
	// 地域码, 如: ap-guangzhou
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 按照堡垒机开通的 VPC 实例ID查询
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 资源ID集合,当传入ID集合时忽略 ApCode 和 VpcId
	ResourceIds []*string `json:"ResourceIds,omitnil,omitempty" name:"ResourceIds"`

	// 每页条目数量
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移位置
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type DescribeResourcesResponse added in v1.0.412

type DescribeResourcesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeResourcesResponseParams `json:"Response"`
}

func NewDescribeResourcesResponse added in v1.0.412

func NewDescribeResourcesResponse() (response *DescribeResourcesResponse)

func (*DescribeResourcesResponse) FromJsonString added in v1.0.412

func (r *DescribeResourcesResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeResourcesResponse) ToJsonString added in v1.0.412

func (r *DescribeResourcesResponse) ToJsonString() string

type DescribeResourcesResponseParams added in v1.0.426

type DescribeResourcesResponseParams struct {
	// 堡垒机资源列表
	ResourceSet []*Resource `json:"ResourceSet,omitnil,omitempty" name:"ResourceSet"`

	// 堡垒机资源数量
	// 注意:此字段可能返回 null,表示取不到有效值。
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserGroupMembersRequest added in v1.0.412

type DescribeUserGroupMembersRequest struct {
	*tchttp.BaseRequest

	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// true - 查询已添加到该用户组的用户,false - 查询未添加到该用户组的用户
	Bound *bool `json:"Bound,omitnil,omitempty" name:"Bound"`

	// 用户名或用户姓名,最长64个字符,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20, 最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewDescribeUserGroupMembersRequest added in v1.0.412

func NewDescribeUserGroupMembersRequest() (request *DescribeUserGroupMembersRequest)

func (*DescribeUserGroupMembersRequest) FromJsonString added in v1.0.412

func (r *DescribeUserGroupMembersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupMembersRequest) ToJsonString added in v1.0.412

func (r *DescribeUserGroupMembersRequest) ToJsonString() string

type DescribeUserGroupMembersRequestParams added in v1.0.426

type DescribeUserGroupMembersRequestParams struct {
	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// true - 查询已添加到该用户组的用户,false - 查询未添加到该用户组的用户
	Bound *bool `json:"Bound,omitnil,omitempty" name:"Bound"`

	// 用户名或用户姓名,最长64个字符,模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20, 最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type DescribeUserGroupMembersResponse added in v1.0.412

type DescribeUserGroupMembersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserGroupMembersResponseParams `json:"Response"`
}

func NewDescribeUserGroupMembersResponse added in v1.0.412

func NewDescribeUserGroupMembersResponse() (response *DescribeUserGroupMembersResponse)

func (*DescribeUserGroupMembersResponse) FromJsonString added in v1.0.412

func (r *DescribeUserGroupMembersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupMembersResponse) ToJsonString added in v1.0.412

func (r *DescribeUserGroupMembersResponse) ToJsonString() string

type DescribeUserGroupMembersResponseParams added in v1.0.426

type DescribeUserGroupMembersResponseParams struct {
	// 用户组成员总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 用户组成员列表
	UserSet []*User `json:"UserSet,omitnil,omitempty" name:"UserSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUserGroupsRequest added in v1.0.412

type DescribeUserGroupsRequest struct {
	*tchttp.BaseRequest

	// 用户组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 用户组名,模糊查询,长度:0-64字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,缺省20,最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 部门ID,用于过滤属于某个部门的用户组
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewDescribeUserGroupsRequest added in v1.0.412

func NewDescribeUserGroupsRequest() (request *DescribeUserGroupsRequest)

func (*DescribeUserGroupsRequest) FromJsonString added in v1.0.412

func (r *DescribeUserGroupsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupsRequest) ToJsonString added in v1.0.412

func (r *DescribeUserGroupsRequest) ToJsonString() string

type DescribeUserGroupsRequestParams added in v1.0.426

type DescribeUserGroupsRequestParams struct {
	// 用户组ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 用户组名,模糊查询,长度:0-64字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,缺省20,最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 部门ID,用于过滤属于某个部门的用户组
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type DescribeUserGroupsResponse added in v1.0.412

type DescribeUserGroupsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUserGroupsResponseParams `json:"Response"`
}

func NewDescribeUserGroupsResponse added in v1.0.412

func NewDescribeUserGroupsResponse() (response *DescribeUserGroupsResponse)

func (*DescribeUserGroupsResponse) FromJsonString added in v1.0.412

func (r *DescribeUserGroupsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUserGroupsResponse) ToJsonString added in v1.0.412

func (r *DescribeUserGroupsResponse) ToJsonString() string

type DescribeUserGroupsResponseParams added in v1.0.426

type DescribeUserGroupsResponseParams struct {
	// 用户组总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 用户组列表
	GroupSet []*Group `json:"GroupSet,omitnil,omitempty" name:"GroupSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeUsersRequest

type DescribeUsersRequest struct {
	*tchttp.BaseRequest

	// 如果IdSet不为空,则忽略其他参数
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 模糊查询,IdSet、UserName、Phone为空时才生效,对用户名和姓名进行模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20, 最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 精确查询,IdSet为空时才生效
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 精确查询,IdSet、UserName为空时才生效。
	// 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 邮箱,精确查询
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 查询具有指定资产ID访问权限的用户
	AuthorizedDeviceIdSet []*uint64 `json:"AuthorizedDeviceIdSet,omitnil,omitempty" name:"AuthorizedDeviceIdSet"`

	// 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
	AuthTypeSet []*uint64 `json:"AuthTypeSet,omitnil,omitempty" name:"AuthTypeSet"`

	// 部门ID,用于过滤属于某个部门的用户
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 参数过滤数组
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeUsersRequest

func NewDescribeUsersRequest() (request *DescribeUsersRequest)

func (*DescribeUsersRequest) FromJsonString

func (r *DescribeUsersRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsersRequest) ToJsonString

func (r *DescribeUsersRequest) ToJsonString() string

type DescribeUsersRequestParams added in v1.0.426

type DescribeUsersRequestParams struct {
	// 如果IdSet不为空,则忽略其他参数
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`

	// 模糊查询,IdSet、UserName、Phone为空时才生效,对用户名和姓名进行模糊查询
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页条目数量,默认20, 最大500
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 精确查询,IdSet为空时才生效
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 精确查询,IdSet、UserName为空时才生效。
	// 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 邮箱,精确查询
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 查询具有指定资产ID访问权限的用户
	AuthorizedDeviceIdSet []*uint64 `json:"AuthorizedDeviceIdSet,omitnil,omitempty" name:"AuthorizedDeviceIdSet"`

	// 认证方式,0 - 本地, 1 - LDAP, 2 - OAuth, 不传为全部
	AuthTypeSet []*uint64 `json:"AuthTypeSet,omitnil,omitempty" name:"AuthTypeSet"`

	// 部门ID,用于过滤属于某个部门的用户
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 参数过滤数组
	Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeUsersResponse

type DescribeUsersResponse struct {
	*tchttp.BaseResponse
	Response *DescribeUsersResponseParams `json:"Response"`
}

func NewDescribeUsersResponse

func NewDescribeUsersResponse() (response *DescribeUsersResponse)

func (*DescribeUsersResponse) FromJsonString

func (r *DescribeUsersResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeUsersResponse) ToJsonString

func (r *DescribeUsersResponse) ToJsonString() string

type DescribeUsersResponseParams added in v1.0.426

type DescribeUsersResponseParams struct {
	// 用户总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 用户列表
	UserSet []*User `json:"UserSet,omitnil,omitempty" name:"UserSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Device

type Device struct {
	// 资产ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 实例ID,对应CVM、CDB等实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 地域编码
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 操作系统名称
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// 资产类型 1 - Linux, 2 - Windows, 3 - MySQL, 4 - SQLServer
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 管理端口
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

	// 所属资产组列表
	GroupSet []*Group `json:"GroupSet,omitnil,omitempty" name:"GroupSet"`

	// 资产绑定的账号数
	AccountCount *uint64 `json:"AccountCount,omitnil,omitempty" name:"AccountCount"`

	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 子网ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 堡垒机服务信息,注意没有绑定服务时为null
	// 注意:此字段可能返回 null,表示取不到有效值。
	Resource *Resource `json:"Resource,omitnil,omitempty" name:"Resource"`

	// 资产所属部门
	// 注意:此字段可能返回 null,表示取不到有效值。
	Department *Department `json:"Department,omitnil,omitempty" name:"Department"`

	// 数据库资产的多节点
	// 注意:此字段可能返回 null,表示取不到有效值。
	IpPortSet []*string `json:"IpPortSet,omitnil,omitempty" name:"IpPortSet"`

	// 网络域Id
	// 注意:此字段可能返回 null,表示取不到有效值。
	DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"`

	// 网络域名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"`
}

type DeviceAccount added in v1.0.604

type DeviceAccount struct {
	// 账号ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 主机ID
	DeviceId *uint64 `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 账号名
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// true-已托管密码,false-未托管密码
	BoundPassword *bool `json:"BoundPassword,omitnil,omitempty" name:"BoundPassword"`

	// true-已托管私钥,false-未托管私钥
	BoundPrivateKey *bool `json:"BoundPrivateKey,omitnil,omitempty" name:"BoundPrivateKey"`
}

type ExternalDevice added in v1.0.604

type ExternalDevice struct {
	// 操作系统名称,只能是Linux、Windows或MySQL
	OsName *string `json:"OsName,omitnil,omitempty" name:"OsName"`

	// IP地址
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// 管理端口
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

	// 主机名,可为空
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资产所属的部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 资产多节点:字段ip和端口
	IpPortSet []*string `json:"IpPortSet,omitnil,omitempty" name:"IpPortSet"`
}

type Filter added in v1.0.589

type Filter struct {
	// 需要过滤的字段。
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 字段的过滤值。
	// 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
	// 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
	Values []*string `json:"Values,omitnil,omitempty" name:"Values"`
}

type Group

type Group struct {
	// 组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

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

	// 所属部门信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	Department *Department `json:"Department,omitnil,omitempty" name:"Department"`

	// 个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`
}

type ImportExternalDeviceRequest added in v1.0.604

type ImportExternalDeviceRequest struct {
	*tchttp.BaseRequest

	// 资产参数列表
	DeviceSet []*ExternalDevice `json:"DeviceSet,omitnil,omitempty" name:"DeviceSet"`
}

func NewImportExternalDeviceRequest added in v1.0.604

func NewImportExternalDeviceRequest() (request *ImportExternalDeviceRequest)

func (*ImportExternalDeviceRequest) FromJsonString added in v1.0.604

func (r *ImportExternalDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ImportExternalDeviceRequest) ToJsonString added in v1.0.604

func (r *ImportExternalDeviceRequest) ToJsonString() string

type ImportExternalDeviceRequestParams added in v1.0.604

type ImportExternalDeviceRequestParams struct {
	// 资产参数列表
	DeviceSet []*ExternalDevice `json:"DeviceSet,omitnil,omitempty" name:"DeviceSet"`
}

Predefined struct for user

type ImportExternalDeviceResponse added in v1.0.604

type ImportExternalDeviceResponse struct {
	*tchttp.BaseResponse
	Response *ImportExternalDeviceResponseParams `json:"Response"`
}

func NewImportExternalDeviceResponse added in v1.0.604

func NewImportExternalDeviceResponse() (response *ImportExternalDeviceResponse)

func (*ImportExternalDeviceResponse) FromJsonString added in v1.0.604

func (r *ImportExternalDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ImportExternalDeviceResponse) ToJsonString added in v1.0.604

func (r *ImportExternalDeviceResponse) ToJsonString() string

type ImportExternalDeviceResponseParams added in v1.0.604

type ImportExternalDeviceResponseParams struct {
	// 资产ID列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type LoginEvent added in v1.0.635

type LoginEvent struct {
	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 操作时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 来源IP
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// 登录入口:1-字符界面,2-图形界面,3-web页面, 4-API
	Entry *uint64 `json:"Entry,omitnil,omitempty" name:"Entry"`

	// 操作结果,1-成功,2-失败
	Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"`
}

type ModifyAclRequest

type ModifyAclRequest struct {
	*tchttp.BaseRequest

	// 访问权限名称,最大32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否开启磁盘映射
	AllowDiskRedirect *bool `json:"AllowDiskRedirect,omitnil,omitempty" name:"AllowDiskRedirect"`

	// 是否允许任意账号登录
	AllowAnyAccount *bool `json:"AllowAnyAccount,omitnil,omitempty" name:"AllowAnyAccount"`

	// 访问权限ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 是否开启剪贴板文件上行
	AllowClipFileUp *bool `json:"AllowClipFileUp,omitnil,omitempty" name:"AllowClipFileUp"`

	// 是否开启剪贴板文件下行
	AllowClipFileDown *bool `json:"AllowClipFileDown,omitnil,omitempty" name:"AllowClipFileDown"`

	// 是否开启剪贴板文本(含图片)上行
	AllowClipTextUp *bool `json:"AllowClipTextUp,omitnil,omitempty" name:"AllowClipTextUp"`

	// 是否开启剪贴板文本(含图片)下行
	AllowClipTextDown *bool `json:"AllowClipTextDown,omitnil,omitempty" name:"AllowClipTextDown"`

	// 是否开启文件传输上传
	AllowFileUp *bool `json:"AllowFileUp,omitnil,omitempty" name:"AllowFileUp"`

	// 文件传输上传大小限制(预留参数,目前暂未使用)
	MaxFileUpSize *uint64 `json:"MaxFileUpSize,omitnil,omitempty" name:"MaxFileUpSize"`

	// 是否开启文件传输下载
	AllowFileDown *bool `json:"AllowFileDown,omitnil,omitempty" name:"AllowFileDown"`

	// 文件传输下载大小限制(预留参数,目前暂未使用)
	MaxFileDownSize *uint64 `json:"MaxFileDownSize,omitnil,omitempty" name:"MaxFileDownSize"`

	// 关联的用户ID
	UserIdSet []*uint64 `json:"UserIdSet,omitnil,omitempty" name:"UserIdSet"`

	// 关联的用户组ID
	UserGroupIdSet []*uint64 `json:"UserGroupIdSet,omitnil,omitempty" name:"UserGroupIdSet"`

	// 关联的资产ID
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 关联的资产组ID
	DeviceGroupIdSet []*uint64 `json:"DeviceGroupIdSet,omitnil,omitempty" name:"DeviceGroupIdSet"`

	// 关联的账号
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 关联的高危命令模板ID
	CmdTemplateIdSet []*uint64 `json:"CmdTemplateIdSet,omitnil,omitempty" name:"CmdTemplateIdSet"`

	// 关联高危DB模板ID
	ACTemplateIdSet []*string `json:"ACTemplateIdSet,omitnil,omitempty" name:"ACTemplateIdSet"`

	// 是否开启 RDP 磁盘映射文件上传
	AllowDiskFileUp *bool `json:"AllowDiskFileUp,omitnil,omitempty" name:"AllowDiskFileUp"`

	// 是否开启 RDP 磁盘映射文件下载
	AllowDiskFileDown *bool `json:"AllowDiskFileDown,omitnil,omitempty" name:"AllowDiskFileDown"`

	// 是否开启rz sz文件上传
	AllowShellFileUp *bool `json:"AllowShellFileUp,omitnil,omitempty" name:"AllowShellFileUp"`

	// 是否开启rz sz文件下载
	AllowShellFileDown *bool `json:"AllowShellFileDown,omitnil,omitempty" name:"AllowShellFileDown"`

	// 是否开启 SFTP 文件删除
	AllowFileDel *bool `json:"AllowFileDel,omitnil,omitempty" name:"AllowFileDel"`

	// 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 权限所属部门的ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 是否允许使用访问串
	AllowAccessCredential *bool `json:"AllowAccessCredential,omitnil,omitempty" name:"AllowAccessCredential"`
}

func NewModifyAclRequest

func NewModifyAclRequest() (request *ModifyAclRequest)

func (*ModifyAclRequest) FromJsonString

func (r *ModifyAclRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAclRequest) ToJsonString

func (r *ModifyAclRequest) ToJsonString() string

type ModifyAclRequestParams added in v1.0.426

type ModifyAclRequestParams struct {
	// 访问权限名称,最大32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 是否开启磁盘映射
	AllowDiskRedirect *bool `json:"AllowDiskRedirect,omitnil,omitempty" name:"AllowDiskRedirect"`

	// 是否允许任意账号登录
	AllowAnyAccount *bool `json:"AllowAnyAccount,omitnil,omitempty" name:"AllowAnyAccount"`

	// 访问权限ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 是否开启剪贴板文件上行
	AllowClipFileUp *bool `json:"AllowClipFileUp,omitnil,omitempty" name:"AllowClipFileUp"`

	// 是否开启剪贴板文件下行
	AllowClipFileDown *bool `json:"AllowClipFileDown,omitnil,omitempty" name:"AllowClipFileDown"`

	// 是否开启剪贴板文本(含图片)上行
	AllowClipTextUp *bool `json:"AllowClipTextUp,omitnil,omitempty" name:"AllowClipTextUp"`

	// 是否开启剪贴板文本(含图片)下行
	AllowClipTextDown *bool `json:"AllowClipTextDown,omitnil,omitempty" name:"AllowClipTextDown"`

	// 是否开启文件传输上传
	AllowFileUp *bool `json:"AllowFileUp,omitnil,omitempty" name:"AllowFileUp"`

	// 文件传输上传大小限制(预留参数,目前暂未使用)
	MaxFileUpSize *uint64 `json:"MaxFileUpSize,omitnil,omitempty" name:"MaxFileUpSize"`

	// 是否开启文件传输下载
	AllowFileDown *bool `json:"AllowFileDown,omitnil,omitempty" name:"AllowFileDown"`

	// 文件传输下载大小限制(预留参数,目前暂未使用)
	MaxFileDownSize *uint64 `json:"MaxFileDownSize,omitnil,omitempty" name:"MaxFileDownSize"`

	// 关联的用户ID
	UserIdSet []*uint64 `json:"UserIdSet,omitnil,omitempty" name:"UserIdSet"`

	// 关联的用户组ID
	UserGroupIdSet []*uint64 `json:"UserGroupIdSet,omitnil,omitempty" name:"UserGroupIdSet"`

	// 关联的资产ID
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 关联的资产组ID
	DeviceGroupIdSet []*uint64 `json:"DeviceGroupIdSet,omitnil,omitempty" name:"DeviceGroupIdSet"`

	// 关联的账号
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 关联的高危命令模板ID
	CmdTemplateIdSet []*uint64 `json:"CmdTemplateIdSet,omitnil,omitempty" name:"CmdTemplateIdSet"`

	// 关联高危DB模板ID
	ACTemplateIdSet []*string `json:"ACTemplateIdSet,omitnil,omitempty" name:"ACTemplateIdSet"`

	// 是否开启 RDP 磁盘映射文件上传
	AllowDiskFileUp *bool `json:"AllowDiskFileUp,omitnil,omitempty" name:"AllowDiskFileUp"`

	// 是否开启 RDP 磁盘映射文件下载
	AllowDiskFileDown *bool `json:"AllowDiskFileDown,omitnil,omitempty" name:"AllowDiskFileDown"`

	// 是否开启rz sz文件上传
	AllowShellFileUp *bool `json:"AllowShellFileUp,omitnil,omitempty" name:"AllowShellFileUp"`

	// 是否开启rz sz文件下载
	AllowShellFileDown *bool `json:"AllowShellFileDown,omitnil,omitempty" name:"AllowShellFileDown"`

	// 是否开启 SFTP 文件删除
	AllowFileDel *bool `json:"AllowFileDel,omitnil,omitempty" name:"AllowFileDel"`

	// 访问权限生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 访问权限失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则访问权限长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 权限所属部门的ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 是否允许使用访问串
	AllowAccessCredential *bool `json:"AllowAccessCredential,omitnil,omitempty" name:"AllowAccessCredential"`
}

Predefined struct for user

type ModifyAclResponse

type ModifyAclResponse struct {
	*tchttp.BaseResponse
	Response *ModifyAclResponseParams `json:"Response"`
}

func NewModifyAclResponse

func NewModifyAclResponse() (response *ModifyAclResponse)

func (*ModifyAclResponse) FromJsonString

func (r *ModifyAclResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyAclResponse) ToJsonString

func (r *ModifyAclResponse) ToJsonString() string

type ModifyAclResponseParams added in v1.0.426

type ModifyAclResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyChangePwdTaskRequest added in v1.0.929

type ModifyChangePwdTaskRequest struct {
	*tchttp.BaseRequest

	// 改密任务id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 改密资产id列表
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 改密资产的账号列表
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 修改类型:1:修改任务信息  2:关联任务资产账号
	ModifyType *uint64 `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// 改密方式。1:使用执行账号修改密码;2:修改自身密码
	ChangeMethod *int64 `json:"ChangeMethod,omitnil,omitempty" name:"ChangeMethod"`

	// 密码生成方式。 1:自动生成相同密码 2:自动生成不同密码 3:手动指定相同密码
	AuthGenerationStrategy *int64 `json:"AuthGenerationStrategy,omitnil,omitempty" name:"AuthGenerationStrategy"`

	// 任务名称
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// 所属部门ID,"1,2,3"
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 任务的执行账号
	RunAccount *string `json:"RunAccount,omitnil,omitempty" name:"RunAccount"`

	// 密码,手动指定密码时必传。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 密码限制长度,自动生成密码必传。
	PasswordLength *int64 `json:"PasswordLength,omitnil,omitempty" name:"PasswordLength"`

	// 密码包含小写字母,0:否,1:是。
	SmallLetter *int64 `json:"SmallLetter,omitnil,omitempty" name:"SmallLetter"`

	// 密码包含大写字母,0:否,1:是。
	BigLetter *int64 `json:"BigLetter,omitnil,omitempty" name:"BigLetter"`

	// 密码包含数字,0:否,1:是。
	Digit *int64 `json:"Digit,omitnil,omitempty" name:"Digit"`

	// 密码包含的特殊字符(base64编码),包含:^[-_#();%~!+=]*$
	Symbol *string `json:"Symbol,omitnil,omitempty" name:"Symbol"`

	// 改密完成通知。0:不通知 1:通知
	CompleteNotify *int64 `json:"CompleteNotify,omitnil,omitempty" name:"CompleteNotify"`

	// 通知邮箱
	NotifyEmails []*string `json:"NotifyEmails,omitnil,omitempty" name:"NotifyEmails"`

	// 加密压缩文件密码
	FilePassword *string `json:"FilePassword,omitnil,omitempty" name:"FilePassword"`

	// 任务类型, 4:手工执行  5:周期自动执行
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 周期任务周期,单位天(大于等于 1,小于等于 365)
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// 周期任务首次执行时间
	FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"`
}

func NewModifyChangePwdTaskRequest added in v1.0.929

func NewModifyChangePwdTaskRequest() (request *ModifyChangePwdTaskRequest)

func (*ModifyChangePwdTaskRequest) FromJsonString added in v1.0.929

func (r *ModifyChangePwdTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyChangePwdTaskRequest) ToJsonString added in v1.0.929

func (r *ModifyChangePwdTaskRequest) ToJsonString() string

type ModifyChangePwdTaskRequestParams added in v1.0.929

type ModifyChangePwdTaskRequestParams struct {
	// 改密任务id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 改密资产id列表
	DeviceIdSet []*uint64 `json:"DeviceIdSet,omitnil,omitempty" name:"DeviceIdSet"`

	// 改密资产的账号列表
	AccountSet []*string `json:"AccountSet,omitnil,omitempty" name:"AccountSet"`

	// 修改类型:1:修改任务信息  2:关联任务资产账号
	ModifyType *uint64 `json:"ModifyType,omitnil,omitempty" name:"ModifyType"`

	// 改密方式。1:使用执行账号修改密码;2:修改自身密码
	ChangeMethod *int64 `json:"ChangeMethod,omitnil,omitempty" name:"ChangeMethod"`

	// 密码生成方式。 1:自动生成相同密码 2:自动生成不同密码 3:手动指定相同密码
	AuthGenerationStrategy *int64 `json:"AuthGenerationStrategy,omitnil,omitempty" name:"AuthGenerationStrategy"`

	// 任务名称
	TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"`

	// 所属部门ID,"1,2,3"
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 任务的执行账号
	RunAccount *string `json:"RunAccount,omitnil,omitempty" name:"RunAccount"`

	// 密码,手动指定密码时必传。
	Password *string `json:"Password,omitnil,omitempty" name:"Password"`

	// 密码限制长度,自动生成密码必传。
	PasswordLength *int64 `json:"PasswordLength,omitnil,omitempty" name:"PasswordLength"`

	// 密码包含小写字母,0:否,1:是。
	SmallLetter *int64 `json:"SmallLetter,omitnil,omitempty" name:"SmallLetter"`

	// 密码包含大写字母,0:否,1:是。
	BigLetter *int64 `json:"BigLetter,omitnil,omitempty" name:"BigLetter"`

	// 密码包含数字,0:否,1:是。
	Digit *int64 `json:"Digit,omitnil,omitempty" name:"Digit"`

	// 密码包含的特殊字符(base64编码),包含:^[-_#();%~!+=]*$
	Symbol *string `json:"Symbol,omitnil,omitempty" name:"Symbol"`

	// 改密完成通知。0:不通知 1:通知
	CompleteNotify *int64 `json:"CompleteNotify,omitnil,omitempty" name:"CompleteNotify"`

	// 通知邮箱
	NotifyEmails []*string `json:"NotifyEmails,omitnil,omitempty" name:"NotifyEmails"`

	// 加密压缩文件密码
	FilePassword *string `json:"FilePassword,omitnil,omitempty" name:"FilePassword"`

	// 任务类型, 4:手工执行  5:周期自动执行
	Type *uint64 `json:"Type,omitnil,omitempty" name:"Type"`

	// 周期任务周期,单位天(大于等于 1,小于等于 365)
	Period *uint64 `json:"Period,omitnil,omitempty" name:"Period"`

	// 周期任务首次执行时间
	FirstTime *string `json:"FirstTime,omitnil,omitempty" name:"FirstTime"`
}

Predefined struct for user

type ModifyChangePwdTaskResponse added in v1.0.929

type ModifyChangePwdTaskResponse struct {
	*tchttp.BaseResponse
	Response *ModifyChangePwdTaskResponseParams `json:"Response"`
}

func NewModifyChangePwdTaskResponse added in v1.0.929

func NewModifyChangePwdTaskResponse() (response *ModifyChangePwdTaskResponse)

func (*ModifyChangePwdTaskResponse) FromJsonString added in v1.0.929

func (r *ModifyChangePwdTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyChangePwdTaskResponse) ToJsonString added in v1.0.929

func (r *ModifyChangePwdTaskResponse) ToJsonString() string

type ModifyChangePwdTaskResponseParams added in v1.0.929

type ModifyChangePwdTaskResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyCmdTemplateRequest added in v1.0.752

type ModifyCmdTemplateRequest struct {
	*tchttp.BaseRequest

	// 模板名,最长32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 命令列表,\n分隔,最长32768字节
	CmdList *string `json:"CmdList,omitnil,omitempty" name:"CmdList"`

	// 命令模板ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// CmdList字段前端是否base64传值。
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`
}

func NewModifyCmdTemplateRequest added in v1.0.752

func NewModifyCmdTemplateRequest() (request *ModifyCmdTemplateRequest)

func (*ModifyCmdTemplateRequest) FromJsonString added in v1.0.752

func (r *ModifyCmdTemplateRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCmdTemplateRequest) ToJsonString added in v1.0.752

func (r *ModifyCmdTemplateRequest) ToJsonString() string

type ModifyCmdTemplateRequestParams added in v1.0.752

type ModifyCmdTemplateRequestParams struct {
	// 模板名,最长32字符,不能包含空白字符
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 命令列表,\n分隔,最长32768字节
	CmdList *string `json:"CmdList,omitnil,omitempty" name:"CmdList"`

	// 命令模板ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// CmdList字段前端是否base64传值。
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`
}

Predefined struct for user

type ModifyCmdTemplateResponse added in v1.0.752

type ModifyCmdTemplateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyCmdTemplateResponseParams `json:"Response"`
}

func NewModifyCmdTemplateResponse added in v1.0.752

func NewModifyCmdTemplateResponse() (response *ModifyCmdTemplateResponse)

func (*ModifyCmdTemplateResponse) FromJsonString added in v1.0.752

func (r *ModifyCmdTemplateResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyCmdTemplateResponse) ToJsonString added in v1.0.752

func (r *ModifyCmdTemplateResponse) ToJsonString() string

type ModifyCmdTemplateResponseParams added in v1.0.752

type ModifyCmdTemplateResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDeviceGroupRequest added in v1.0.604

type ModifyDeviceGroupRequest struct {
	*tchttp.BaseRequest

	// 资产组名,最大长度32字符,不能为空
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 资产组所属部门ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewModifyDeviceGroupRequest added in v1.0.604

func NewModifyDeviceGroupRequest() (request *ModifyDeviceGroupRequest)

func (*ModifyDeviceGroupRequest) FromJsonString added in v1.0.604

func (r *ModifyDeviceGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceGroupRequest) ToJsonString added in v1.0.604

func (r *ModifyDeviceGroupRequest) ToJsonString() string

type ModifyDeviceGroupRequestParams added in v1.0.604

type ModifyDeviceGroupRequestParams struct {
	// 资产组名,最大长度32字符,不能为空
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 资产组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 资产组所属部门ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type ModifyDeviceGroupResponse added in v1.0.604

type ModifyDeviceGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDeviceGroupResponseParams `json:"Response"`
}

func NewModifyDeviceGroupResponse added in v1.0.604

func NewModifyDeviceGroupResponse() (response *ModifyDeviceGroupResponse)

func (*ModifyDeviceGroupResponse) FromJsonString added in v1.0.604

func (r *ModifyDeviceGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceGroupResponse) ToJsonString added in v1.0.604

func (r *ModifyDeviceGroupResponse) ToJsonString() string

type ModifyDeviceGroupResponseParams added in v1.0.604

type ModifyDeviceGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyDeviceRequest added in v1.0.604

type ModifyDeviceRequest struct {
	*tchttp.BaseRequest

	// 资产记录ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 管理端口
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

	// 资产所属组ID集合
	GroupIdSet []*uint64 `json:"GroupIdSet,omitnil,omitempty" name:"GroupIdSet"`

	// 资产所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 网络域Id
	DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

func NewModifyDeviceRequest added in v1.0.604

func NewModifyDeviceRequest() (request *ModifyDeviceRequest)

func (*ModifyDeviceRequest) FromJsonString added in v1.0.604

func (r *ModifyDeviceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceRequest) ToJsonString added in v1.0.604

func (r *ModifyDeviceRequest) ToJsonString() string

type ModifyDeviceRequestParams added in v1.0.604

type ModifyDeviceRequestParams struct {
	// 资产记录ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 管理端口
	Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"`

	// 资产所属组ID集合
	GroupIdSet []*uint64 `json:"GroupIdSet,omitnil,omitempty" name:"GroupIdSet"`

	// 资产所属部门ID
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 网络域Id
	DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"`
}

Predefined struct for user

type ModifyDeviceResponse added in v1.0.604

type ModifyDeviceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDeviceResponseParams `json:"Response"`
}

func NewModifyDeviceResponse added in v1.0.604

func NewModifyDeviceResponse() (response *ModifyDeviceResponse)

func (*ModifyDeviceResponse) FromJsonString added in v1.0.604

func (r *ModifyDeviceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyDeviceResponse) ToJsonString added in v1.0.604

func (r *ModifyDeviceResponse) ToJsonString() string

type ModifyDeviceResponseParams added in v1.0.604

type ModifyDeviceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyOAuthSettingRequest added in v1.0.870

type ModifyOAuthSettingRequest struct {
	*tchttp.BaseRequest

	// 是否开启OAuth认证,false-不开启,true-开启。
	Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`

	// OAuth认证方式。
	AuthMethod *string `json:"AuthMethod,omitnil,omitempty" name:"AuthMethod"`

	// OAuth认证客户端Id
	ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`

	// OAuth认证客户端密钥
	ClientSecret *string `json:"ClientSecret,omitnil,omitempty" name:"ClientSecret"`

	// 获取OAuth认证授权码URL
	CodeUrl *string `json:"CodeUrl,omitnil,omitempty" name:"CodeUrl"`

	// 获取OAuth令牌URL
	TokenUrl *string `json:"TokenUrl,omitnil,omitempty" name:"TokenUrl"`

	// 获取OAuth用户信息URL
	UserInfoUrl *string `json:"UserInfoUrl,omitnil,omitempty" name:"UserInfoUrl"`

	// 使用Okta认证时指定范围。为空时默认使用 openid、profile、email。
	Scopes []*string `json:"Scopes,omitnil,omitempty" name:"Scopes"`
}

func NewModifyOAuthSettingRequest added in v1.0.870

func NewModifyOAuthSettingRequest() (request *ModifyOAuthSettingRequest)

func (*ModifyOAuthSettingRequest) FromJsonString added in v1.0.870

func (r *ModifyOAuthSettingRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOAuthSettingRequest) ToJsonString added in v1.0.870

func (r *ModifyOAuthSettingRequest) ToJsonString() string

type ModifyOAuthSettingRequestParams added in v1.0.870

type ModifyOAuthSettingRequestParams struct {
	// 是否开启OAuth认证,false-不开启,true-开启。
	Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`

	// OAuth认证方式。
	AuthMethod *string `json:"AuthMethod,omitnil,omitempty" name:"AuthMethod"`

	// OAuth认证客户端Id
	ClientId *string `json:"ClientId,omitnil,omitempty" name:"ClientId"`

	// OAuth认证客户端密钥
	ClientSecret *string `json:"ClientSecret,omitnil,omitempty" name:"ClientSecret"`

	// 获取OAuth认证授权码URL
	CodeUrl *string `json:"CodeUrl,omitnil,omitempty" name:"CodeUrl"`

	// 获取OAuth令牌URL
	TokenUrl *string `json:"TokenUrl,omitnil,omitempty" name:"TokenUrl"`

	// 获取OAuth用户信息URL
	UserInfoUrl *string `json:"UserInfoUrl,omitnil,omitempty" name:"UserInfoUrl"`

	// 使用Okta认证时指定范围。为空时默认使用 openid、profile、email。
	Scopes []*string `json:"Scopes,omitnil,omitempty" name:"Scopes"`
}

Predefined struct for user

type ModifyOAuthSettingResponse added in v1.0.870

type ModifyOAuthSettingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyOAuthSettingResponseParams `json:"Response"`
}

func NewModifyOAuthSettingResponse added in v1.0.870

func NewModifyOAuthSettingResponse() (response *ModifyOAuthSettingResponse)

func (*ModifyOAuthSettingResponse) FromJsonString added in v1.0.870

func (r *ModifyOAuthSettingResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyOAuthSettingResponse) ToJsonString added in v1.0.870

func (r *ModifyOAuthSettingResponse) ToJsonString() string

type ModifyOAuthSettingResponseParams added in v1.0.870

type ModifyOAuthSettingResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyResourceRequest added in v1.0.763

type ModifyResourceRequest struct {
	*tchttp.BaseRequest

	// 需要开通服务的资源ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 已废弃
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 已废弃
	ModuleSet []*string `json:"ModuleSet,omitnil,omitempty" name:"ModuleSet"`

	// 实例版本
	ResourceEdition *string `json:"ResourceEdition,omitnil,omitempty" name:"ResourceEdition"`

	// 资源节点数
	ResourceNode *int64 `json:"ResourceNode,omitnil,omitempty" name:"ResourceNode"`

	// 自动续费
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// 带宽扩展包个数(4M)
	PackageBandwidth *int64 `json:"PackageBandwidth,omitnil,omitempty" name:"PackageBandwidth"`

	// 授权点数扩展包个数(50点)
	PackageNode *int64 `json:"PackageNode,omitnil,omitempty" name:"PackageNode"`

	// 日志投递
	LogDelivery *int64 `json:"LogDelivery,omitnil,omitempty" name:"LogDelivery"`
}

func NewModifyResourceRequest added in v1.0.763

func NewModifyResourceRequest() (request *ModifyResourceRequest)

func (*ModifyResourceRequest) FromJsonString added in v1.0.763

func (r *ModifyResourceRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourceRequest) ToJsonString added in v1.0.763

func (r *ModifyResourceRequest) ToJsonString() string

type ModifyResourceRequestParams added in v1.0.763

type ModifyResourceRequestParams struct {
	// 需要开通服务的资源ID
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 已废弃
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 已废弃
	ModuleSet []*string `json:"ModuleSet,omitnil,omitempty" name:"ModuleSet"`

	// 实例版本
	ResourceEdition *string `json:"ResourceEdition,omitnil,omitempty" name:"ResourceEdition"`

	// 资源节点数
	ResourceNode *int64 `json:"ResourceNode,omitnil,omitempty" name:"ResourceNode"`

	// 自动续费
	AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`

	// 带宽扩展包个数(4M)
	PackageBandwidth *int64 `json:"PackageBandwidth,omitnil,omitempty" name:"PackageBandwidth"`

	// 授权点数扩展包个数(50点)
	PackageNode *int64 `json:"PackageNode,omitnil,omitempty" name:"PackageNode"`

	// 日志投递
	LogDelivery *int64 `json:"LogDelivery,omitnil,omitempty" name:"LogDelivery"`
}

Predefined struct for user

type ModifyResourceResponse added in v1.0.763

type ModifyResourceResponse struct {
	*tchttp.BaseResponse
	Response *ModifyResourceResponseParams `json:"Response"`
}

func NewModifyResourceResponse added in v1.0.763

func NewModifyResourceResponse() (response *ModifyResourceResponse)

func (*ModifyResourceResponse) FromJsonString added in v1.0.763

func (r *ModifyResourceResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyResourceResponse) ToJsonString added in v1.0.763

func (r *ModifyResourceResponse) ToJsonString() string

type ModifyResourceResponseParams added in v1.0.763

type ModifyResourceResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUserGroupRequest added in v1.0.795

type ModifyUserGroupRequest struct {
	*tchttp.BaseRequest

	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 用户组名
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 用户组所属的部门ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewModifyUserGroupRequest added in v1.0.795

func NewModifyUserGroupRequest() (request *ModifyUserGroupRequest)

func (*ModifyUserGroupRequest) FromJsonString added in v1.0.795

func (r *ModifyUserGroupRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserGroupRequest) ToJsonString added in v1.0.795

func (r *ModifyUserGroupRequest) ToJsonString() string

type ModifyUserGroupRequestParams added in v1.0.795

type ModifyUserGroupRequestParams struct {
	// 用户组ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 用户组名
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// 用户组所属的部门ID,如:1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type ModifyUserGroupResponse added in v1.0.795

type ModifyUserGroupResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUserGroupResponseParams `json:"Response"`
}

func NewModifyUserGroupResponse added in v1.0.795

func NewModifyUserGroupResponse() (response *ModifyUserGroupResponse)

func (*ModifyUserGroupResponse) FromJsonString added in v1.0.795

func (r *ModifyUserGroupResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserGroupResponse) ToJsonString added in v1.0.795

func (r *ModifyUserGroupResponse) ToJsonString() string

type ModifyUserGroupResponseParams added in v1.0.795

type ModifyUserGroupResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ModifyUserRequest

type ModifyUserRequest struct {
	*tchttp.BaseRequest

	// 用户ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 用户姓名,最大长度20个字符,不能包含空格
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 电子邮件
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 用户失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 所属用户组ID集合
	GroupIdSet []*uint64 `json:"GroupIdSet,omitnil,omitempty" name:"GroupIdSet"`

	// 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
	AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
	ValidateTime *string `json:"ValidateTime,omitnil,omitempty" name:"ValidateTime"`

	// 用户所属部门的ID,如1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

func NewModifyUserRequest

func NewModifyUserRequest() (request *ModifyUserRequest)

func (*ModifyUserRequest) FromJsonString

func (r *ModifyUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserRequest) ToJsonString

func (r *ModifyUserRequest) ToJsonString() string

type ModifyUserRequestParams added in v1.0.426

type ModifyUserRequestParams struct {
	// 用户ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 用户姓名,最大长度20个字符,不能包含空格
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 电子邮件
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 用户失效时间,如:"2021-09-23T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 所属用户组ID集合
	GroupIdSet []*uint64 `json:"GroupIdSet,omitnil,omitempty" name:"GroupIdSet"`

	// 认证方式,0 - 本地,1 - LDAP,2 - OAuth 不传则默认为0
	AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
	ValidateTime *string `json:"ValidateTime,omitnil,omitempty" name:"ValidateTime"`

	// 用户所属部门的ID,如1.2.3
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`
}

Predefined struct for user

type ModifyUserResponse

type ModifyUserResponse struct {
	*tchttp.BaseResponse
	Response *ModifyUserResponseParams `json:"Response"`
}

func NewModifyUserResponse

func NewModifyUserResponse() (response *ModifyUserResponse)

func (*ModifyUserResponse) FromJsonString

func (r *ModifyUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ModifyUserResponse) ToJsonString

func (r *ModifyUserResponse) ToJsonString() string

type ModifyUserResponseParams added in v1.0.426

type ModifyUserResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type OperationEvent added in v1.0.635

type OperationEvent struct {
	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 操作时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 来源IP
	SourceIp *string `json:"SourceIp,omitnil,omitempty" name:"SourceIp"`

	// 操作类型
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 具体操作内容
	Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"`

	// 操作结果,1-成功,2-失败
	Result *uint64 `json:"Result,omitnil,omitempty" name:"Result"`
}

type ResetDeviceAccountPasswordRequest added in v1.0.604

type ResetDeviceAccountPasswordRequest struct {
	*tchttp.BaseRequest

	// ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewResetDeviceAccountPasswordRequest added in v1.0.604

func NewResetDeviceAccountPasswordRequest() (request *ResetDeviceAccountPasswordRequest)

func (*ResetDeviceAccountPasswordRequest) FromJsonString added in v1.0.604

func (r *ResetDeviceAccountPasswordRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetDeviceAccountPasswordRequest) ToJsonString added in v1.0.604

func (r *ResetDeviceAccountPasswordRequest) ToJsonString() string

type ResetDeviceAccountPasswordRequestParams added in v1.0.604

type ResetDeviceAccountPasswordRequestParams struct {
	// ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type ResetDeviceAccountPasswordResponse added in v1.0.604

type ResetDeviceAccountPasswordResponse struct {
	*tchttp.BaseResponse
	Response *ResetDeviceAccountPasswordResponseParams `json:"Response"`
}

func NewResetDeviceAccountPasswordResponse added in v1.0.604

func NewResetDeviceAccountPasswordResponse() (response *ResetDeviceAccountPasswordResponse)

func (*ResetDeviceAccountPasswordResponse) FromJsonString added in v1.0.604

func (r *ResetDeviceAccountPasswordResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetDeviceAccountPasswordResponse) ToJsonString added in v1.0.604

func (r *ResetDeviceAccountPasswordResponse) ToJsonString() string

type ResetDeviceAccountPasswordResponseParams added in v1.0.604

type ResetDeviceAccountPasswordResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetDeviceAccountPrivateKeyRequest added in v1.0.604

type ResetDeviceAccountPrivateKeyRequest struct {
	*tchttp.BaseRequest

	// ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewResetDeviceAccountPrivateKeyRequest added in v1.0.604

func NewResetDeviceAccountPrivateKeyRequest() (request *ResetDeviceAccountPrivateKeyRequest)

func (*ResetDeviceAccountPrivateKeyRequest) FromJsonString added in v1.0.604

func (r *ResetDeviceAccountPrivateKeyRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetDeviceAccountPrivateKeyRequest) ToJsonString added in v1.0.604

func (r *ResetDeviceAccountPrivateKeyRequest) ToJsonString() string

type ResetDeviceAccountPrivateKeyRequestParams added in v1.0.604

type ResetDeviceAccountPrivateKeyRequestParams struct {
	// ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type ResetDeviceAccountPrivateKeyResponse added in v1.0.604

type ResetDeviceAccountPrivateKeyResponse struct {
	*tchttp.BaseResponse
	Response *ResetDeviceAccountPrivateKeyResponseParams `json:"Response"`
}

func NewResetDeviceAccountPrivateKeyResponse added in v1.0.604

func NewResetDeviceAccountPrivateKeyResponse() (response *ResetDeviceAccountPrivateKeyResponse)

func (*ResetDeviceAccountPrivateKeyResponse) FromJsonString added in v1.0.604

func (r *ResetDeviceAccountPrivateKeyResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetDeviceAccountPrivateKeyResponse) ToJsonString added in v1.0.604

func (r *ResetDeviceAccountPrivateKeyResponse) ToJsonString() string

type ResetDeviceAccountPrivateKeyResponseParams added in v1.0.604

type ResetDeviceAccountPrivateKeyResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type ResetUserRequest added in v1.0.604

type ResetUserRequest struct {
	*tchttp.BaseRequest

	// 用户ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

func NewResetUserRequest added in v1.0.604

func NewResetUserRequest() (request *ResetUserRequest)

func (*ResetUserRequest) FromJsonString added in v1.0.604

func (r *ResetUserRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetUserRequest) ToJsonString added in v1.0.604

func (r *ResetUserRequest) ToJsonString() string

type ResetUserRequestParams added in v1.0.604

type ResetUserRequestParams struct {
	// 用户ID集合
	IdSet []*uint64 `json:"IdSet,omitnil,omitempty" name:"IdSet"`
}

Predefined struct for user

type ResetUserResponse added in v1.0.604

type ResetUserResponse struct {
	*tchttp.BaseResponse
	Response *ResetUserResponseParams `json:"Response"`
}

func NewResetUserResponse added in v1.0.604

func NewResetUserResponse() (response *ResetUserResponse)

func (*ResetUserResponse) FromJsonString added in v1.0.604

func (r *ResetUserResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*ResetUserResponse) ToJsonString added in v1.0.604

func (r *ResetUserResponse) ToJsonString() string

type ResetUserResponseParams added in v1.0.604

type ResetUserResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Resource

type Resource struct {
	// 服务实例ID,如bh-saas-s3ed4r5e
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// 地域编码
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 服务实例规格信息
	SvArgs *string `json:"SvArgs,omitnil,omitempty" name:"SvArgs"`

	// VPC ID
	VpcId *string `json:"VpcId,omitnil,omitempty" name:"VpcId"`

	// 服务规格对应的资产数
	Nodes *uint64 `json:"Nodes,omitnil,omitempty" name:"Nodes"`

	// 自动续费标记,0 - 表示默认状态,1 - 表示自动续费,2 - 表示明确不自动续费
	RenewFlag *uint64 `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`

	// 过期时间
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// 资源状态,0 - 未初始化,1 - 正常,2 - 隔离,3 - 销毁,4 - 初始化失败,5 - 初始化中
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 服务实例名,如T-Sec-堡垒机(SaaS型)
	ResourceName *string `json:"ResourceName,omitnil,omitempty" name:"ResourceName"`

	// 定价模型ID
	Pid *uint64 `json:"Pid,omitnil,omitempty" name:"Pid"`

	// 资源创建时间
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// 商品码, p_cds_dasb
	ProductCode *string `json:"ProductCode,omitnil,omitempty" name:"ProductCode"`

	// 子商品码, sp_cds_dasb_bh_saas
	SubProductCode *string `json:"SubProductCode,omitnil,omitempty" name:"SubProductCode"`

	// 可用区
	Zone *string `json:"Zone,omitnil,omitempty" name:"Zone"`

	// 是否过期,true-过期,false-未过期
	Expired *bool `json:"Expired,omitnil,omitempty" name:"Expired"`

	// 是否开通,true-开通,false-未开通
	Deployed *bool `json:"Deployed,omitnil,omitempty" name:"Deployed"`

	// 开通服务的 VPC 名称
	VpcName *string `json:"VpcName,omitnil,omitempty" name:"VpcName"`

	// 开通服务的 VPC 对应的网段
	VpcCidrBlock *string `json:"VpcCidrBlock,omitnil,omitempty" name:"VpcCidrBlock"`

	// 开通服务的子网ID
	SubnetId *string `json:"SubnetId,omitnil,omitempty" name:"SubnetId"`

	// 开通服务的子网名称
	SubnetName *string `json:"SubnetName,omitnil,omitempty" name:"SubnetName"`

	// 开通服务的子网网段
	CidrBlock *string `json:"CidrBlock,omitnil,omitempty" name:"CidrBlock"`

	// 外部IP
	PublicIpSet []*string `json:"PublicIpSet,omitnil,omitempty" name:"PublicIpSet"`

	// 内部IP
	PrivateIpSet []*string `json:"PrivateIpSet,omitnil,omitempty" name:"PrivateIpSet"`

	// 服务开通的高级功能列表,如:[DB]
	ModuleSet []*string `json:"ModuleSet,omitnil,omitempty" name:"ModuleSet"`

	// 已使用的授权点数
	UsedNodes *uint64 `json:"UsedNodes,omitnil,omitempty" name:"UsedNodes"`

	// 扩展点数
	ExtendPoints *uint64 `json:"ExtendPoints,omitnil,omitempty" name:"ExtendPoints"`

	// 带宽扩展包个数(4M)
	PackageBandwidth *uint64 `json:"PackageBandwidth,omitnil,omitempty" name:"PackageBandwidth"`

	// 授权点数扩展包个数(50点)
	PackageNode *uint64 `json:"PackageNode,omitnil,omitempty" name:"PackageNode"`

	// 日志投递规格信息
	// 注意:此字段可能返回 null,表示取不到有效值。
	LogDeliveryArgs *string `json:"LogDeliveryArgs,omitnil,omitempty" name:"LogDeliveryArgs"`

	// 堡垒机资源LB
	// 注意:此字段可能返回 null,表示取不到有效值。
	ClbSet []*Clb `json:"ClbSet,omitnil,omitempty" name:"ClbSet"`

	// 网络域个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	DomainCount *int64 `json:"DomainCount,omitnil,omitempty" name:"DomainCount"`

	// 已使用网络域个数
	// 注意:此字段可能返回 null,表示取不到有效值。
	UsedDomainCount *uint64 `json:"UsedDomainCount,omitnil,omitempty" name:"UsedDomainCount"`
}

type RunChangePwdTaskDetail added in v1.0.929

type RunChangePwdTaskDetail struct {
	// 资产id
	DeviceId *uint64 `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`

	// 资产账号
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`
}

type RunChangePwdTaskRequest added in v1.0.929

type RunChangePwdTaskRequest struct {
	*tchttp.BaseRequest

	// 任务Id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 部门id
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 改密任务详情
	Details []*RunChangePwdTaskDetail `json:"Details,omitnil,omitempty" name:"Details"`
}

func NewRunChangePwdTaskRequest added in v1.0.929

func NewRunChangePwdTaskRequest() (request *RunChangePwdTaskRequest)

func (*RunChangePwdTaskRequest) FromJsonString added in v1.0.929

func (r *RunChangePwdTaskRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunChangePwdTaskRequest) ToJsonString added in v1.0.929

func (r *RunChangePwdTaskRequest) ToJsonString() string

type RunChangePwdTaskRequestParams added in v1.0.929

type RunChangePwdTaskRequestParams struct {
	// 任务Id
	OperationId *string `json:"OperationId,omitnil,omitempty" name:"OperationId"`

	// 部门id
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 改密任务详情
	Details []*RunChangePwdTaskDetail `json:"Details,omitnil,omitempty" name:"Details"`
}

Predefined struct for user

type RunChangePwdTaskResponse added in v1.0.929

type RunChangePwdTaskResponse struct {
	*tchttp.BaseResponse
	Response *RunChangePwdTaskResponseParams `json:"Response"`
}

func NewRunChangePwdTaskResponse added in v1.0.929

func NewRunChangePwdTaskResponse() (response *RunChangePwdTaskResponse)

func (*RunChangePwdTaskResponse) FromJsonString added in v1.0.929

func (r *RunChangePwdTaskResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*RunChangePwdTaskResponse) ToJsonString added in v1.0.929

func (r *RunChangePwdTaskResponse) ToJsonString() string

type RunChangePwdTaskResponseParams added in v1.0.929

type RunChangePwdTaskResponseParams struct {
	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchAuditLogRequest added in v1.0.635

type SearchAuditLogRequest struct {
	*tchttp.BaseRequest

	// 开始时间,不得早于当前时间的180天前
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页容量,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewSearchAuditLogRequest added in v1.0.635

func NewSearchAuditLogRequest() (request *SearchAuditLogRequest)

func (*SearchAuditLogRequest) FromJsonString added in v1.0.635

func (r *SearchAuditLogRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchAuditLogRequest) ToJsonString added in v1.0.635

func (r *SearchAuditLogRequest) ToJsonString() string

type SearchAuditLogRequestParams added in v1.0.635

type SearchAuditLogRequestParams struct {
	// 开始时间,不得早于当前时间的180天前
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页容量,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type SearchAuditLogResponse added in v1.0.635

type SearchAuditLogResponse struct {
	*tchttp.BaseResponse
	Response *SearchAuditLogResponseParams `json:"Response"`
}

func NewSearchAuditLogResponse added in v1.0.635

func NewSearchAuditLogResponse() (response *SearchAuditLogResponse)

func (*SearchAuditLogResponse) FromJsonString added in v1.0.635

func (r *SearchAuditLogResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchAuditLogResponse) ToJsonString added in v1.0.635

func (r *SearchAuditLogResponse) ToJsonString() string

type SearchAuditLogResponseParams added in v1.0.635

type SearchAuditLogResponseParams struct {
	// 审计日志
	AuditLogSet []*AuditLogResult `json:"AuditLogSet,omitnil,omitempty" name:"AuditLogSet"`

	// 日志总数量
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchCommandBySidRequest added in v1.0.635

type SearchCommandBySidRequest struct {
	*tchttp.BaseRequest

	// 会话Id
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 命令,可模糊搜索
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// Cmd字段是前端传值是否进行base64.
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页容量,默认20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 根据拦截状态进行过滤
	AuditAction []*uint64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`
}

func NewSearchCommandBySidRequest added in v1.0.635

func NewSearchCommandBySidRequest() (request *SearchCommandBySidRequest)

func (*SearchCommandBySidRequest) FromJsonString added in v1.0.635

func (r *SearchCommandBySidRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchCommandBySidRequest) ToJsonString added in v1.0.635

func (r *SearchCommandBySidRequest) ToJsonString() string

type SearchCommandBySidRequestParams added in v1.0.635

type SearchCommandBySidRequestParams struct {
	// 会话Id
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 命令,可模糊搜索
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// Cmd字段是前端传值是否进行base64.
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 每页容量,默认20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 根据拦截状态进行过滤
	AuditAction []*uint64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`
}

Predefined struct for user

type SearchCommandBySidResponse added in v1.0.635

type SearchCommandBySidResponse struct {
	*tchttp.BaseResponse
	Response *SearchCommandBySidResponseParams `json:"Response"`
}

func NewSearchCommandBySidResponse added in v1.0.635

func NewSearchCommandBySidResponse() (response *SearchCommandBySidResponse)

func (*SearchCommandBySidResponse) FromJsonString added in v1.0.635

func (r *SearchCommandBySidResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchCommandBySidResponse) ToJsonString added in v1.0.635

func (r *SearchCommandBySidResponse) ToJsonString() string

type SearchCommandBySidResponseParams added in v1.0.635

type SearchCommandBySidResponseParams struct {
	// 总记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 命令列表
	CommandSet []*Command `json:"CommandSet,omitnil,omitempty" name:"CommandSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchCommandRequest added in v1.0.635

type SearchCommandRequest struct {
	*tchttp.BaseRequest

	// 搜索区间的开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 搜索区间的结束时间,不填默认为开始时间到现在为止
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 资产实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 资产的公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 资产的内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 执行的命令
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// Cmd字段是前端传值是否进行base64.
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`

	// 根据拦截状态进行过滤:1 - 已执行,2 - 被阻断
	AuditAction []*uint64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`

	// 每页容量,默认20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewSearchCommandRequest added in v1.0.635

func NewSearchCommandRequest() (request *SearchCommandRequest)

func (*SearchCommandRequest) FromJsonString added in v1.0.635

func (r *SearchCommandRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchCommandRequest) ToJsonString added in v1.0.635

func (r *SearchCommandRequest) ToJsonString() string

type SearchCommandRequestParams added in v1.0.635

type SearchCommandRequestParams struct {
	// 搜索区间的开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 搜索区间的结束时间,不填默认为开始时间到现在为止
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 资产实例ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 资产的公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 资产的内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 执行的命令
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// Cmd字段是前端传值是否进行base64.
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`

	// 根据拦截状态进行过滤:1 - 已执行,2 - 被阻断
	AuditAction []*uint64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`

	// 每页容量,默认20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type SearchCommandResponse added in v1.0.635

type SearchCommandResponse struct {
	*tchttp.BaseResponse
	Response *SearchCommandResponseParams `json:"Response"`
}

func NewSearchCommandResponse added in v1.0.635

func NewSearchCommandResponse() (response *SearchCommandResponse)

func (*SearchCommandResponse) FromJsonString added in v1.0.635

func (r *SearchCommandResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchCommandResponse) ToJsonString added in v1.0.635

func (r *SearchCommandResponse) ToJsonString() string

type SearchCommandResponseParams added in v1.0.635

type SearchCommandResponseParams struct {
	// 总记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 命令列表
	Commands []*SearchCommandResult `json:"Commands,omitnil,omitempty" name:"Commands"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchCommandResult added in v1.0.635

type SearchCommandResult struct {
	// 命令输入的时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 资产ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 资产公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 资产内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 命令
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// 命令执行情况,1--允许,2--拒绝
	Action *uint64 `json:"Action,omitnil,omitempty" name:"Action"`

	// 命令所属的会话ID
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 命令执行时间相对于所属会话开始时间的偏移量,单位ms
	TimeOffset *uint64 `json:"TimeOffset,omitnil,omitempty" name:"TimeOffset"`

	// 账号
	// 注意:此字段可能返回 null,表示取不到有效值。
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// source ip
	// 注意:此字段可能返回 null,表示取不到有效值。
	FromIp *string `json:"FromIp,omitnil,omitempty" name:"FromIp"`

	// 该命令所属会话的会话开始时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	SessionTime *string `json:"SessionTime,omitnil,omitempty" name:"SessionTime"`

	// 该命令所属会话的会话开始时间(废弃,使用SessionTime)
	// 注意:此字段可能返回 null,表示取不到有效值。
	//
	// Deprecated: SessTime is deprecated.
	SessTime *string `json:"SessTime,omitnil,omitempty" name:"SessTime"`

	// 复核时间
	// 注意:此字段可能返回 null,表示取不到有效值。
	ConfirmTime *string `json:"ConfirmTime,omitnil,omitempty" name:"ConfirmTime"`

	// 部门id
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDepartmentId *string `json:"UserDepartmentId,omitnil,omitempty" name:"UserDepartmentId"`

	// 用户部门名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	UserDepartmentName *string `json:"UserDepartmentName,omitnil,omitempty" name:"UserDepartmentName"`

	// 设备部门id
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceDepartmentId *string `json:"DeviceDepartmentId,omitnil,omitempty" name:"DeviceDepartmentId"`

	// 设备部门名称
	// 注意:此字段可能返回 null,表示取不到有效值。
	DeviceDepartmentName *string `json:"DeviceDepartmentName,omitnil,omitempty" name:"DeviceDepartmentName"`

	// 会话大小
	// 注意:此字段可能返回 null,表示取不到有效值。
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`
}

type SearchFileBySidRequest added in v1.0.635

type SearchFileBySidRequest struct {
	*tchttp.BaseRequest

	// 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 是否创建审计日志,通过查看按钮调用时为true,其他为false
	AuditLog *bool `json:"AuditLog,omitnil,omitempty" name:"AuditLog"`

	// 分页的页内记录数,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 可填写路径名或文件名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 分页用偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 1-已执行,  2-被阻断
	AuditAction *int64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`

	// 以Protocol和Method为条件查询
	TypeFilters []*SearchFileTypeFilter `json:"TypeFilters,omitnil,omitempty" name:"TypeFilters"`
}

func NewSearchFileBySidRequest added in v1.0.635

func NewSearchFileBySidRequest() (request *SearchFileBySidRequest)

func (*SearchFileBySidRequest) FromJsonString added in v1.0.635

func (r *SearchFileBySidRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchFileBySidRequest) ToJsonString added in v1.0.635

func (r *SearchFileBySidRequest) ToJsonString() string

type SearchFileBySidRequestParams added in v1.0.635

type SearchFileBySidRequestParams struct {
	// 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
	Sid *string `json:"Sid,omitnil,omitempty" name:"Sid"`

	// 是否创建审计日志,通过查看按钮调用时为true,其他为false
	AuditLog *bool `json:"AuditLog,omitnil,omitempty" name:"AuditLog"`

	// 分页的页内记录数,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 可填写路径名或文件名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 分页用偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 1-已执行,  2-被阻断
	AuditAction *int64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`

	// 以Protocol和Method为条件查询
	TypeFilters []*SearchFileTypeFilter `json:"TypeFilters,omitnil,omitempty" name:"TypeFilters"`
}

Predefined struct for user

type SearchFileBySidResponse added in v1.0.635

type SearchFileBySidResponse struct {
	*tchttp.BaseResponse
	Response *SearchFileBySidResponseParams `json:"Response"`
}

func NewSearchFileBySidResponse added in v1.0.635

func NewSearchFileBySidResponse() (response *SearchFileBySidResponse)

func (*SearchFileBySidResponse) FromJsonString added in v1.0.635

func (r *SearchFileBySidResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchFileBySidResponse) ToJsonString added in v1.0.635

func (r *SearchFileBySidResponse) ToJsonString() string

type SearchFileBySidResponseParams added in v1.0.635

type SearchFileBySidResponseParams struct {
	// 记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 某会话的文件操作列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	SearchFileBySidResult []*SearchFileBySidResult `json:"SearchFileBySidResult,omitnil,omitempty" name:"SearchFileBySidResult"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchFileBySidResult added in v1.0.635

type SearchFileBySidResult struct {
	// 文件操作时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 1-上传文件 2-下载文件 3-删除文件 4-移动文件 5-重命名文件 6-新建文件夹 7-移动文件夹 8-重命名文件夹 9-删除文件夹
	Method *int64 `json:"Method,omitnil,omitempty" name:"Method"`

	// 文件传输协议
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// method为上传、下载、删除时文件在服务器上的位置, 或重命名、移动文件前文件的位置
	FileCurr *string `json:"FileCurr,omitnil,omitempty" name:"FileCurr"`

	// method为重命名、移动文件时代表移动后的新位置.其他情况为null
	// 注意:此字段可能返回 null,表示取不到有效值。
	FileNew *string `json:"FileNew,omitnil,omitempty" name:"FileNew"`

	// method为上传文件、下载文件、删除文件时显示文件大小。其他情况为null
	// 注意:此字段可能返回 null,表示取不到有效值。
	Size *int64 `json:"Size,omitnil,omitempty" name:"Size"`

	// 堡垒机拦截情况, 1-已执行,  2-被阻断
	Action *int64 `json:"Action,omitnil,omitempty" name:"Action"`
}

type SearchFileRequest added in v1.0.635

type SearchFileRequest struct {
	*tchttp.BaseRequest

	// 查询开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 资产ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 资产公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 资产内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 操作类型:1 - 文件上传,2 - 文件下载,3 - 文件删除,4 - 文件(夹)移动,5 - 文件(夹)重命名,6 - 新建文件夹,9 - 删除文件夹
	Method []*uint64 `json:"Method,omitnil,omitempty" name:"Method"`

	// 可填写路径名或文件(夹)名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 1-已执行,  2-被阻断
	AuditAction []*uint64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`

	// 分页的页内记录数,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

func NewSearchFileRequest added in v1.0.635

func NewSearchFileRequest() (request *SearchFileRequest)

func (*SearchFileRequest) FromJsonString added in v1.0.635

func (r *SearchFileRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchFileRequest) ToJsonString added in v1.0.635

func (r *SearchFileRequest) ToJsonString() string

type SearchFileRequestParams added in v1.0.635

type SearchFileRequestParams struct {
	// 查询开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 查询结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 资产ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 资产公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 资产内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 操作类型:1 - 文件上传,2 - 文件下载,3 - 文件删除,4 - 文件(夹)移动,5 - 文件(夹)重命名,6 - 新建文件夹,9 - 删除文件夹
	Method []*uint64 `json:"Method,omitnil,omitempty" name:"Method"`

	// 可填写路径名或文件(夹)名
	FileName *string `json:"FileName,omitnil,omitempty" name:"FileName"`

	// 1-已执行,  2-被阻断
	AuditAction []*uint64 `json:"AuditAction,omitnil,omitempty" name:"AuditAction"`

	// 分页的页内记录数,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`
}

Predefined struct for user

type SearchFileResponse added in v1.0.635

type SearchFileResponse struct {
	*tchttp.BaseResponse
	Response *SearchFileResponseParams `json:"Response"`
}

func NewSearchFileResponse added in v1.0.635

func NewSearchFileResponse() (response *SearchFileResponse)

func (*SearchFileResponse) FromJsonString added in v1.0.635

func (r *SearchFileResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchFileResponse) ToJsonString added in v1.0.635

func (r *SearchFileResponse) ToJsonString() string

type SearchFileResponseParams added in v1.0.635

type SearchFileResponseParams struct {
	// 记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 文件操作列表
	// 注意:此字段可能返回 null,表示取不到有效值。
	Files []*SearchFileResult `json:"Files,omitnil,omitempty" name:"Files"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchFileResult added in v1.0.635

type SearchFileResult struct {
	// 文件传输的时间
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 资产ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 资产名称
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 资产公网IP
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 资产内网IP
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 操作结果:1 - 已执行,2 - 已阻断
	Action *uint64 `json:"Action,omitnil,omitempty" name:"Action"`

	// 操作类型:1 - 文件上传,2 - 文件下载,3 - 文件删除,4 - 文件(夹)移动,5 - 文件(夹)重命名,6 - 新建文件夹,9 - 删除文件夹
	Method *uint64 `json:"Method,omitnil,omitempty" name:"Method"`

	// 下载的文件(夹)路径及名称
	FileCurr *string `json:"FileCurr,omitnil,omitempty" name:"FileCurr"`

	// 上传或新建文件(夹)路径及名称
	FileNew *string `json:"FileNew,omitnil,omitempty" name:"FileNew"`
}

type SearchFileTypeFilter added in v1.0.635

type SearchFileTypeFilter struct {
	// 需要查询的文件传输类型,如SFTP/CLIP/RDP/RZSZ
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`

	// 在当前指定的protocol下进一步过滤具体操作类型,如剪贴板文件上传,剪贴板文件下载等
	Method []*int64 `json:"Method,omitnil,omitempty" name:"Method"`
}

type SearchSessionCommandRequest added in v1.0.635

type SearchSessionCommandRequest struct {
	*tchttp.BaseRequest

	// 检索的目标命令,为模糊搜索
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// 开始时间,不得早于当前时间的180天前
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 默认值为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Cmd字段前端是否做base64加密
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

func NewSearchSessionCommandRequest added in v1.0.635

func NewSearchSessionCommandRequest() (request *SearchSessionCommandRequest)

func (*SearchSessionCommandRequest) FromJsonString added in v1.0.635

func (r *SearchSessionCommandRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchSessionCommandRequest) ToJsonString added in v1.0.635

func (r *SearchSessionCommandRequest) ToJsonString() string

type SearchSessionCommandRequestParams added in v1.0.635

type SearchSessionCommandRequestParams struct {
	// 检索的目标命令,为模糊搜索
	Cmd *string `json:"Cmd,omitnil,omitempty" name:"Cmd"`

	// 开始时间,不得早于当前时间的180天前
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 分页偏移位置,默认值为0
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 默认值为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Cmd字段前端是否做base64加密
	// 0:否,1:是
	Encoding *uint64 `json:"Encoding,omitnil,omitempty" name:"Encoding"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
}

Predefined struct for user

type SearchSessionCommandResponse added in v1.0.635

type SearchSessionCommandResponse struct {
	*tchttp.BaseResponse
	Response *SearchSessionCommandResponseParams `json:"Response"`
}

func NewSearchSessionCommandResponse added in v1.0.635

func NewSearchSessionCommandResponse() (response *SearchSessionCommandResponse)

func (*SearchSessionCommandResponse) FromJsonString added in v1.0.635

func (r *SearchSessionCommandResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchSessionCommandResponse) ToJsonString added in v1.0.635

func (r *SearchSessionCommandResponse) ToJsonString() string

type SearchSessionCommandResponseParams added in v1.0.635

type SearchSessionCommandResponseParams struct {
	// 记录总数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 命令和所属会话
	CommandSessionSet []*SessionCommand `json:"CommandSessionSet,omitnil,omitempty" name:"CommandSessionSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SearchSessionRequest added in v1.0.635

type SearchSessionRequest struct {
	*tchttp.BaseRequest

	// 内部Ip
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 外部Ip
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 用户名,长度不超过20
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 账号,长度不超过64
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 来源Ip
	FromIp *string `json:"FromIp,omitnil,omitempty" name:"FromIp"`

	// 搜索区间的开始时间。若入参是Id,则非必传,否则为必传。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 搜索区间的结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 会话协议类型,只能是1、2、3或4 对应关系为1-tui 2-gui 3-file 4-数据库。若入参是Id,则非必传,否则为必传。
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的页内记录数,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 姓名,长度不超过20
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 主机名,长度不超过64
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 状态,1为活跃,2为结束,3为强制离线,4为其他错误
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

func NewSearchSessionRequest added in v1.0.635

func NewSearchSessionRequest() (request *SearchSessionRequest)

func (*SearchSessionRequest) FromJsonString added in v1.0.635

func (r *SearchSessionRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchSessionRequest) ToJsonString added in v1.0.635

func (r *SearchSessionRequest) ToJsonString() string

type SearchSessionRequestParams added in v1.0.635

type SearchSessionRequestParams struct {
	// 内部Ip
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 外部Ip
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 用户名,长度不超过20
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 账号,长度不超过64
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 来源Ip
	FromIp *string `json:"FromIp,omitnil,omitempty" name:"FromIp"`

	// 搜索区间的开始时间。若入参是Id,则非必传,否则为必传。
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 搜索区间的结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 会话协议类型,只能是1、2、3或4 对应关系为1-tui 2-gui 3-file 4-数据库。若入参是Id,则非必传,否则为必传。
	Kind *uint64 `json:"Kind,omitnil,omitempty" name:"Kind"`

	// 偏移量
	Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// 分页的页内记录数,默认为20,最大200
	Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// 姓名,长度不超过20
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 主机名,长度不超过64
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 状态,1为活跃,2为结束,3为强制离线,4为其他错误
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 若入参为Id,则其他入参字段不作为搜索依据,仅按照Id来搜索会话
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`
}

Predefined struct for user

type SearchSessionResponse added in v1.0.635

type SearchSessionResponse struct {
	*tchttp.BaseResponse
	Response *SearchSessionResponseParams `json:"Response"`
}

func NewSearchSessionResponse added in v1.0.635

func NewSearchSessionResponse() (response *SearchSessionResponse)

func (*SearchSessionResponse) FromJsonString added in v1.0.635

func (r *SearchSessionResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*SearchSessionResponse) ToJsonString added in v1.0.635

func (r *SearchSessionResponse) ToJsonString() string

type SearchSessionResponseParams added in v1.0.635

type SearchSessionResponseParams struct {
	// 记录数
	TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// 会话信息列表
	SessionSet []*SessionResult `json:"SessionSet,omitnil,omitempty" name:"SessionSet"`

	// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type SessionCommand added in v1.0.635

type SessionCommand struct {
	// 开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 账号
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 内部Ip
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 外部Ip
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 命令列表
	Commands []*Command `json:"Commands,omitnil,omitempty" name:"Commands"`

	// 记录数
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// 会话Id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 设备id
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 设备所属的地域
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`
}

type SessionResult added in v1.0.635

type SessionResult struct {
	// 用户名
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 姓名
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 主机账号
	Account *string `json:"Account,omitnil,omitempty" name:"Account"`

	// 开始时间
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// 结束时间
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// 会话大小
	Size *uint64 `json:"Size,omitnil,omitempty" name:"Size"`

	// 设备ID
	InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"`

	// 设备名
	DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`

	// 内部Ip
	PrivateIp *string `json:"PrivateIp,omitnil,omitempty" name:"PrivateIp"`

	// 外部Ip
	PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`

	// 来源Ip
	FromIp *string `json:"FromIp,omitnil,omitempty" name:"FromIp"`

	// 会话持续时长
	Duration *float64 `json:"Duration,omitnil,omitempty" name:"Duration"`

	// 该会话内命令数量 ,搜索图形会话时该字段无意义
	Count *uint64 `json:"Count,omitnil,omitempty" name:"Count"`

	// 该会话内高危命令数,搜索图形时该字段无意义
	DangerCount *uint64 `json:"DangerCount,omitnil,omitempty" name:"DangerCount"`

	// 会话状态,如1会话活跃  2会话结束  3强制离线  4其他错误
	Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`

	// 会话Id
	Id *string `json:"Id,omitnil,omitempty" name:"Id"`

	// 设备所属的地域
	ApCode *string `json:"ApCode,omitnil,omitempty" name:"ApCode"`

	// 会话协议
	Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"`
}

type TagFilter added in v1.0.529

type TagFilter struct {
	// 标签键
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// 标签值
	TagValue []*string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type User

type User struct {
	// 用户名, 3-20个字符 必须以英文字母开头,且不能包含字母、数字、.、_、-以外的字符
	UserName *string `json:"UserName,omitnil,omitempty" name:"UserName"`

	// 用户姓名, 最大20个字符,不能包含空白字符
	RealName *string `json:"RealName,omitnil,omitempty" name:"RealName"`

	// 用户ID
	Id *uint64 `json:"Id,omitnil,omitempty" name:"Id"`

	// 手机号码, 大陆手机号直接填写,如果是其他国家、地区号码,按照"国家地区代码|手机号"的格式输入。如: "+852|xxxxxxxx"
	Phone *string `json:"Phone,omitnil,omitempty" name:"Phone"`

	// 电子邮件
	Email *string `json:"Email,omitnil,omitempty" name:"Email"`

	// 用户生效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateFrom *string `json:"ValidateFrom,omitnil,omitempty" name:"ValidateFrom"`

	// 用户失效时间,如:"2021-09-22T00:00:00+00:00"
	// 生效、失效时间不填则用户长期有效
	ValidateTo *string `json:"ValidateTo,omitnil,omitempty" name:"ValidateTo"`

	// 所属用户组列表
	GroupSet []*Group `json:"GroupSet,omitnil,omitempty" name:"GroupSet"`

	// 认证方式,0 - 本地,1 - LDAP,2 - OAuth
	AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"`

	// 访问时间段限制, 由0、1组成的字符串,长度168(7 × 24),代表该用户在一周中允许访问的时间段。字符串中第N个字符代表在一周中的第N个小时, 0 - 代表不允许访问,1 - 代表允许访问
	ValidateTime *string `json:"ValidateTime,omitnil,omitempty" name:"ValidateTime"`

	// 用户所属部门(用于出参)
	// 注意:此字段可能返回 null,表示取不到有效值。
	Department *Department `json:"Department,omitnil,omitempty" name:"Department"`

	// 用户所属部门(用于入参)
	// 注意:此字段可能返回 null,表示取不到有效值。
	DepartmentId *string `json:"DepartmentId,omitnil,omitempty" name:"DepartmentId"`

	// 激活状态 0 - 未激活 1 - 激活
	// 注意:此字段可能返回 null,表示取不到有效值。
	ActiveStatus *uint64 `json:"ActiveStatus,omitnil,omitempty" name:"ActiveStatus"`

	// 锁定状态 0 - 未锁定 1 - 锁定
	// 注意:此字段可能返回 null,表示取不到有效值。
	LockStatus *uint64 `json:"LockStatus,omitnil,omitempty" name:"LockStatus"`

	// 状态 与Filter中一致
	// 注意:此字段可能返回 null,表示取不到有效值。
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// 权限版本
	// 注意:此字段可能返回 null,表示取不到有效值。
	AclVersion *uint64 `json:"AclVersion,omitnil,omitempty" name:"AclVersion"`
}

Jump to

Keyboard shortcuts

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