Documentation
¶
Index ¶
- Constants
- type ActivateHardware
- type ActivateHardwareRequest
- type ActivateHardwareRequestParams
- type ActivateHardwareResponse
- type ActivateHardwareResponseParams
- type ActiveDeviceList
- type AddDeviceRequest
- type AddDeviceRequestParams
- type AddDeviceResponse
- type AddDeviceResponseParams
- type AddGroupRequest
- type AddGroupRequestParams
- type AddGroupResponse
- type AddGroupResponseParams
- type AddHardwareRequest
- type AddHardwareRequestParams
- type AddHardwareResponse
- type AddHardwareResponseParams
- type AddL3ConnRequest
- type AddL3ConnRequestParams
- type AddL3ConnResponse
- type AddL3ConnResponseParams
- type Capacity
- type Client
- func (c *Client) ActivateHardware(request *ActivateHardwareRequest) (response *ActivateHardwareResponse, err error)
- func (c *Client) ActivateHardwareWithContext(ctx context.Context, request *ActivateHardwareRequest) (response *ActivateHardwareResponse, err error)
- func (c *Client) AddDevice(request *AddDeviceRequest) (response *AddDeviceResponse, err error)
- func (c *Client) AddDeviceWithContext(ctx context.Context, request *AddDeviceRequest) (response *AddDeviceResponse, err error)
- func (c *Client) AddGroup(request *AddGroupRequest) (response *AddGroupResponse, err error)
- func (c *Client) AddGroupWithContext(ctx context.Context, request *AddGroupRequest) (response *AddGroupResponse, err error)
- func (c *Client) AddHardware(request *AddHardwareRequest) (response *AddHardwareResponse, err error)
- func (c *Client) AddHardwareWithContext(ctx context.Context, request *AddHardwareRequest) (response *AddHardwareResponse, err error)
- func (c *Client) AddL3Conn(request *AddL3ConnRequest) (response *AddL3ConnResponse, err error)
- func (c *Client) AddL3ConnWithContext(ctx context.Context, request *AddL3ConnRequest) (response *AddL3ConnResponse, err error)
- func (c *Client) CreateEncryptedKey(request *CreateEncryptedKeyRequest) (response *CreateEncryptedKeyResponse, err error)
- func (c *Client) CreateEncryptedKeyWithContext(ctx context.Context, request *CreateEncryptedKeyRequest) (response *CreateEncryptedKeyResponse, err error)
- func (c *Client) CreateQos(request *CreateQosRequest) (response *CreateQosResponse, err error)
- func (c *Client) CreateQosWithContext(ctx context.Context, request *CreateQosRequest) (response *CreateQosResponse, err error)
- func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
- func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeleteGroupWithContext(ctx context.Context, request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
- func (c *Client) DeleteL3Conn(request *DeleteL3ConnRequest) (response *DeleteL3ConnResponse, err error)
- func (c *Client) DeleteL3ConnWithContext(ctx context.Context, request *DeleteL3ConnRequest) (response *DeleteL3ConnResponse, err error)
- func (c *Client) DeleteQos(request *DeleteQosRequest) (response *DeleteQosResponse, err error)
- func (c *Client) DeleteQosWithContext(ctx context.Context, request *DeleteQosRequest) (response *DeleteQosResponse, err error)
- func (c *Client) DescribeQos(request *DescribeQosRequest) (response *DescribeQosResponse, err error)
- func (c *Client) DescribeQosWithContext(ctx context.Context, request *DescribeQosRequest) (response *DescribeQosResponse, err error)
- func (c *Client) DownloadActiveDeviceCount(request *DownloadActiveDeviceCountRequest) (response *DownloadActiveDeviceCountResponse, err error)
- func (c *Client) DownloadActiveDeviceCountWithContext(ctx context.Context, request *DownloadActiveDeviceCountRequest) (response *DownloadActiveDeviceCountResponse, err error)
- func (c *Client) GetActiveDeviceCount(request *GetActiveDeviceCountRequest) (response *GetActiveDeviceCountResponse, err error)
- func (c *Client) GetActiveDeviceCountWithContext(ctx context.Context, request *GetActiveDeviceCountRequest) (response *GetActiveDeviceCountResponse, err error)
- func (c *Client) GetDevice(request *GetDeviceRequest) (response *GetDeviceResponse, err error)
- func (c *Client) GetDevicePayMode(request *GetDevicePayModeRequest) (response *GetDevicePayModeResponse, err error)
- func (c *Client) GetDevicePayModeWithContext(ctx context.Context, request *GetDevicePayModeRequest) (response *GetDevicePayModeResponse, err error)
- func (c *Client) GetDeviceWithContext(ctx context.Context, request *GetDeviceRequest) (response *GetDeviceResponse, err error)
- func (c *Client) GetDevices(request *GetDevicesRequest) (response *GetDevicesResponse, err error)
- func (c *Client) GetDevicesWithContext(ctx context.Context, request *GetDevicesRequest) (response *GetDevicesResponse, err error)
- func (c *Client) GetFlowAlarmInfo(request *GetFlowAlarmInfoRequest) (response *GetFlowAlarmInfoResponse, err error)
- func (c *Client) GetFlowAlarmInfoWithContext(ctx context.Context, request *GetFlowAlarmInfoRequest) (response *GetFlowAlarmInfoResponse, err error)
- func (c *Client) GetFlowPackages(request *GetFlowPackagesRequest) (response *GetFlowPackagesResponse, err error)
- func (c *Client) GetFlowPackagesWithContext(ctx context.Context, request *GetFlowPackagesRequest) (response *GetFlowPackagesResponse, err error)
- func (c *Client) GetFlowStatistic(request *GetFlowStatisticRequest) (response *GetFlowStatisticResponse, err error)
- func (c *Client) GetFlowStatisticByGroup(request *GetFlowStatisticByGroupRequest) (response *GetFlowStatisticByGroupResponse, err error)
- func (c *Client) GetFlowStatisticByGroupWithContext(ctx context.Context, request *GetFlowStatisticByGroupRequest) (response *GetFlowStatisticByGroupResponse, err error)
- func (c *Client) GetFlowStatisticByRegion(request *GetFlowStatisticByRegionRequest) (response *GetFlowStatisticByRegionResponse, err error)
- func (c *Client) GetFlowStatisticByRegionWithContext(ctx context.Context, request *GetFlowStatisticByRegionRequest) (response *GetFlowStatisticByRegionResponse, err error)
- func (c *Client) GetFlowStatisticWithContext(ctx context.Context, request *GetFlowStatisticRequest) (response *GetFlowStatisticResponse, err error)
- func (c *Client) GetGroupDetail(request *GetGroupDetailRequest) (response *GetGroupDetailResponse, err error)
- func (c *Client) GetGroupDetailWithContext(ctx context.Context, request *GetGroupDetailRequest) (response *GetGroupDetailResponse, err error)
- func (c *Client) GetGroupList(request *GetGroupListRequest) (response *GetGroupListResponse, err error)
- func (c *Client) GetGroupListWithContext(ctx context.Context, request *GetGroupListRequest) (response *GetGroupListResponse, err error)
- func (c *Client) GetHardwareList(request *GetHardwareListRequest) (response *GetHardwareListResponse, err error)
- func (c *Client) GetHardwareListWithContext(ctx context.Context, request *GetHardwareListRequest) (response *GetHardwareListResponse, err error)
- func (c *Client) GetL3ConnList(request *GetL3ConnListRequest) (response *GetL3ConnListResponse, err error)
- func (c *Client) GetL3ConnListWithContext(ctx context.Context, request *GetL3ConnListRequest) (response *GetL3ConnListResponse, err error)
- func (c *Client) GetMultiFlowStatistic(request *GetMultiFlowStatisticRequest) (response *GetMultiFlowStatisticResponse, err error)
- func (c *Client) GetMultiFlowStatisticWithContext(ctx context.Context, request *GetMultiFlowStatisticRequest) (response *GetMultiFlowStatisticResponse, err error)
- func (c *Client) GetNetMonitor(request *GetNetMonitorRequest) (response *GetNetMonitorResponse, err error)
- func (c *Client) GetNetMonitorWithContext(ctx context.Context, request *GetNetMonitorRequest) (response *GetNetMonitorResponse, err error)
- func (c *Client) GetPublicKey(request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
- func (c *Client) GetPublicKeyWithContext(ctx context.Context, request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
- func (c *Client) GetStatisticData(request *GetStatisticDataRequest) (response *GetStatisticDataResponse, err error)
- func (c *Client) GetStatisticDataWithContext(ctx context.Context, request *GetStatisticDataRequest) (response *GetStatisticDataResponse, err error)
- func (c *Client) GetVendorHardware(request *GetVendorHardwareRequest) (response *GetVendorHardwareResponse, err error)
- func (c *Client) GetVendorHardwareWithContext(ctx context.Context, request *GetVendorHardwareRequest) (response *GetVendorHardwareResponse, err error)
- func (c *Client) GroupAddDevice(request *GroupAddDeviceRequest) (response *GroupAddDeviceResponse, err error)
- func (c *Client) GroupAddDeviceWithContext(ctx context.Context, request *GroupAddDeviceRequest) (response *GroupAddDeviceResponse, err error)
- func (c *Client) GroupDeleteDevice(request *GroupDeleteDeviceRequest) (response *GroupDeleteDeviceResponse, err error)
- func (c *Client) GroupDeleteDeviceWithContext(ctx context.Context, request *GroupDeleteDeviceRequest) (response *GroupDeleteDeviceResponse, err error)
- func (c *Client) ModifyPackageRenewFlag(request *ModifyPackageRenewFlagRequest) (response *ModifyPackageRenewFlagResponse, err error)
- func (c *Client) ModifyPackageRenewFlagWithContext(ctx context.Context, request *ModifyPackageRenewFlagRequest) (response *ModifyPackageRenewFlagResponse, err error)
- func (c *Client) OrderFlowPackage(request *OrderFlowPackageRequest) (response *OrderFlowPackageResponse, err error)
- func (c *Client) OrderFlowPackageWithContext(ctx context.Context, request *OrderFlowPackageRequest) (response *OrderFlowPackageResponse, err error)
- func (c *Client) OrderPerLicense(request *OrderPerLicenseRequest) (response *OrderPerLicenseResponse, err error)
- func (c *Client) OrderPerLicenseWithContext(ctx context.Context, request *OrderPerLicenseRequest) (response *OrderPerLicenseResponse, err error)
- func (c *Client) SetNotifyUrl(request *SetNotifyUrlRequest) (response *SetNotifyUrlResponse, err error)
- func (c *Client) SetNotifyUrlWithContext(ctx context.Context, request *SetNotifyUrlRequest) (response *SetNotifyUrlResponse, err error)
- func (c *Client) UpdateDevice(request *UpdateDeviceRequest) (response *UpdateDeviceResponse, err error)
- func (c *Client) UpdateDeviceWithContext(ctx context.Context, request *UpdateDeviceRequest) (response *UpdateDeviceResponse, err error)
- func (c *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
- func (c *Client) UpdateGroupWithContext(ctx context.Context, request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
- func (c *Client) UpdateHardware(request *UpdateHardwareRequest) (response *UpdateHardwareResponse, err error)
- func (c *Client) UpdateHardwareWithContext(ctx context.Context, request *UpdateHardwareRequest) (response *UpdateHardwareResponse, err error)
- func (c *Client) UpdateL3Cidr(request *UpdateL3CidrRequest) (response *UpdateL3CidrResponse, err error)
- func (c *Client) UpdateL3CidrWithContext(ctx context.Context, request *UpdateL3CidrRequest) (response *UpdateL3CidrResponse, err error)
- func (c *Client) UpdateL3Conn(request *UpdateL3ConnRequest) (response *UpdateL3ConnResponse, err error)
- func (c *Client) UpdateL3ConnWithContext(ctx context.Context, request *UpdateL3ConnRequest) (response *UpdateL3ConnResponse, err error)
- func (c *Client) UpdateL3Switch(request *UpdateL3SwitchRequest) (response *UpdateL3SwitchResponse, err error)
- func (c *Client) UpdateL3SwitchWithContext(ctx context.Context, request *UpdateL3SwitchRequest) (response *UpdateL3SwitchResponse, err error)
- type Context
- type CreateEncryptedKeyRequest
- type CreateEncryptedKeyRequestParams
- type CreateEncryptedKeyResponse
- type CreateEncryptedKeyResponseParams
- type CreateQosRequest
- type CreateQosRequestParams
- type CreateQosResponse
- type CreateQosResponseParams
- type DeleteDeviceRequest
- type DeleteDeviceRequestParams
- type DeleteDeviceResponse
- type DeleteDeviceResponseParams
- type DeleteGroupRequest
- type DeleteGroupRequestParams
- type DeleteGroupResponse
- type DeleteGroupResponseParams
- type DeleteL3ConnRequest
- type DeleteL3ConnRequestParams
- type DeleteL3ConnResponse
- type DeleteL3ConnResponseParams
- type DeleteQosRequest
- type DeleteQosRequestParams
- type DeleteQosResponse
- type DeleteQosResponseParams
- type DescribeQosRequest
- type DescribeQosRequestParams
- type DescribeQosResponse
- type DescribeQosResponseParams
- type DestAddressInfo
- type DeviceBaseInfo
- type DeviceDetails
- type DeviceInfo
- type DeviceNetInfo
- type DevicePayModeInfo
- type DownloadActiveDeviceCountRequest
- type DownloadActiveDeviceCountRequestParams
- type DownloadActiveDeviceCountResponse
- type DownloadActiveDeviceCountResponseParams
- type ExpectedThreshold
- type FlowDetails
- type FlowPackageInfo
- type GetActiveDeviceCountRequest
- type GetActiveDeviceCountRequestParams
- type GetActiveDeviceCountResponse
- type GetActiveDeviceCountResponseParams
- type GetDevicePayModeRequest
- type GetDevicePayModeRequestParams
- type GetDevicePayModeResponse
- type GetDevicePayModeResponseParams
- type GetDeviceRequest
- type GetDeviceRequestParams
- type GetDeviceResponse
- type GetDeviceResponseParams
- type GetDevicesRequest
- type GetDevicesRequestParams
- type GetDevicesResponse
- type GetDevicesResponseParams
- type GetFlowAlarmInfoRequest
- type GetFlowAlarmInfoRequestParams
- type GetFlowAlarmInfoResponse
- type GetFlowAlarmInfoResponseParams
- type GetFlowPackagesRequest
- type GetFlowPackagesRequestParams
- type GetFlowPackagesResponse
- type GetFlowPackagesResponseParams
- type GetFlowStatisticByGroupRequest
- type GetFlowStatisticByGroupRequestParams
- type GetFlowStatisticByGroupResponse
- type GetFlowStatisticByGroupResponseParams
- type GetFlowStatisticByRegionRequest
- type GetFlowStatisticByRegionRequestParams
- type GetFlowStatisticByRegionResponse
- type GetFlowStatisticByRegionResponseParams
- type GetFlowStatisticRequest
- type GetFlowStatisticRequestParams
- type GetFlowStatisticResponse
- type GetFlowStatisticResponseParams
- type GetGroupDetailRequest
- type GetGroupDetailRequestParams
- type GetGroupDetailResponse
- type GetGroupDetailResponseParams
- type GetGroupListRequest
- type GetGroupListRequestParams
- type GetGroupListResponse
- type GetGroupListResponseParams
- type GetHardwareListRequest
- type GetHardwareListRequestParams
- type GetHardwareListResponse
- type GetHardwareListResponseParams
- type GetL3ConnListRequest
- type GetL3ConnListRequestParams
- type GetL3ConnListResponse
- type GetL3ConnListResponseParams
- type GetMultiFlowStatisticRequest
- type GetMultiFlowStatisticRequestParams
- type GetMultiFlowStatisticResponse
- type GetMultiFlowStatisticResponseParams
- type GetNetMonitorRequest
- type GetNetMonitorRequestParams
- type GetNetMonitorResponse
- type GetNetMonitorResponseParams
- type GetPublicKeyRequest
- type GetPublicKeyRequestParams
- type GetPublicKeyResponse
- type GetPublicKeyResponseParams
- type GetStatisticDataRequest
- type GetStatisticDataRequestParams
- type GetStatisticDataResponse
- type GetStatisticDataResponseParams
- type GetVendorHardwareRequest
- type GetVendorHardwareRequestParams
- type GetVendorHardwareResponse
- type GetVendorHardwareResponseParams
- type GroupAddDeviceRequest
- type GroupAddDeviceRequestParams
- type GroupAddDeviceResponse
- type GroupAddDeviceResponseParams
- type GroupDeleteDeviceRequest
- type GroupDeleteDeviceRequestParams
- type GroupDeleteDeviceResponse
- type GroupDeleteDeviceResponseParams
- type GroupInfo
- type Hardware
- type HardwareInfo
- type L3ConnInfo
- type ModifyPackageRenewFlagRequest
- type ModifyPackageRenewFlagRequestParams
- type ModifyPackageRenewFlagResponse
- type ModifyPackageRenewFlagResponseParams
- type MonitorData
- type NetDetails
- type NetworkData
- type OrderFlowPackageRequest
- type OrderFlowPackageRequestParams
- type OrderFlowPackageResponse
- type OrderFlowPackageResponseParams
- type OrderPerLicenseRequest
- type OrderPerLicenseRequestParams
- type OrderPerLicenseResponse
- type OrderPerLicenseResponseParams
- type SetNotifyUrlRequest
- type SetNotifyUrlRequestParams
- type SetNotifyUrlResponse
- type SetNotifyUrlResponseParams
- type SlotNetInfo
- type SrcAddressInfo
- type UpdateDeviceRequest
- type UpdateDeviceRequestParams
- type UpdateDeviceResponse
- type UpdateDeviceResponseParams
- type UpdateGroupRequest
- type UpdateGroupRequestParams
- type UpdateGroupResponse
- type UpdateGroupResponseParams
- type UpdateHardwareRequest
- type UpdateHardwareRequestParams
- type UpdateHardwareResponse
- type UpdateHardwareResponseParams
- type UpdateL3CidrRequest
- type UpdateL3CidrRequestParams
- type UpdateL3CidrResponse
- type UpdateL3CidrResponseParams
- type UpdateL3ConnRequest
- type UpdateL3ConnRequestParams
- type UpdateL3ConnResponse
- type UpdateL3ConnResponseParams
- type UpdateL3SwitchRequest
- type UpdateL3SwitchRequestParams
- type UpdateL3SwitchResponse
- type UpdateL3SwitchResponseParams
- type UpdateNetInfo
- type VendorHardware
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 交易流程异常 FAILEDOPERATION_TRANSACTIONEXCEPTION = "FailedOperation.TransactionException" // 内部错误。 INTERNALERROR = "InternalError" // 请求控制器发生错误。 INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" // 设备密钥已存在。 INTERNALERROR_DUPLICATEDATAKEY = "InternalError.DuplicateDataKey" // 设备名已存在。 INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" // 文件读写异常。 INTERNALERROR_FILEIOERROR = "InternalError.FileIOError" // 监控数据请求错误。 INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" // 智研流量数据请求错误。 INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" // 预置密钥尚未创建。 INTERNALERROR_UNDEFINEDENCRYPTEDKEY = "InternalError.UndefinedEncryptedKey" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 无法获取到可加速的运营商信息 INVALIDPARAMETERVALUE_VENDORNOTFOUND = "InvalidParameterValue.VendorNotFound" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 不建议加速。 OPERATIONDENIED_ACCELERATIONNOTSUGGEST = "OperationDenied.AccelerationNotSuggest" // 中国电信加速token过期。 OPERATIONDENIED_CTCCTOKENEXPIRED = "OperationDenied.CTCCTokenExpired" // 相同加速间隔时间过短。 OPERATIONDENIED_CREATEQOSEXCEEDLIMIT = "OperationDenied.CreateQosExceedLimit" // 该设备未开启永久授权 OPERATIONDENIED_DEVICENOTFOUND = "OperationDenied.DeviceNotFound" // SN已存在 OPERATIONDENIED_DUPLICATESN = "OperationDenied.DuplicateSN" // 输入SN对应的硬件已经激活 OPERATIONDENIED_HARDWAREHASACTIVATED = "OperationDenied.HardwareHasActivated" // 输入SN对应的硬件不存在。 OPERATIONDENIED_HARDWARENOTEXIST = "OperationDenied.HardwareNotExist" // 非法请求,可能是重放攻击、伪造攻击。 OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest" // 余额不足 OPERATIONDENIED_INSUFFICIENTBALANCE = "OperationDenied.InsufficientBalance" // 互通规则CIDR重叠 OPERATIONDENIED_L3CIDROVERLAP = "OperationDenied.L3CidrOverLap" // 互通规则数超过最大限制150条 OPERATIONDENIED_L3CONNECTIONOVERSIZE = "OperationDenied.L3ConnectionOverSize" // 资源包已经变配或续费 OPERATIONDENIED_MODIFIEDORRENEWED = "OperationDenied.ModifiedOrRenewed" // 无支付权限 OPERATIONDENIED_NOTALLOWEDTOPAY = "OperationDenied.NotAllowedToPay" // 重复购买 OPERATIONDENIED_REPEATPURCHASE = "OperationDenied.RepeatPurchase" // 请求运营商加速超时。 OPERATIONDENIED_REQUESTQOSTIMEOUT = "OperationDenied.RequestQosTimeout" // 截断开关已经被开启 OPERATIONDENIED_TRUNCFLAGON = "OperationDenied.TruncFlagOn" // 未实名认证 OPERATIONDENIED_UNAUTHORIZEDUSER = "OperationDenied.UnauthorizedUser" // 该用户加速已取消,不处于加速状态。 OPERATIONDENIED_USERNONACCELERATED = "OperationDenied.UserNonAccelerated" // 该用户不在运营商网络可加速范围内 OPERATIONDENIED_USEROUTOFCOVERAGE = "OperationDenied.UserOutOfCoverage" // 当前账号尚未注册为厂商。 OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister" // 运营商返回结果错误。 OPERATIONDENIED_VENDORRETURNERROR = "OperationDenied.VendorReturnError" // 运营商服务器临时错误。 OPERATIONDENIED_VENDORSERVERERROR = "OperationDenied.VendorServerError" // 请求的次数超过了频率限制。 REQUESTLIMITEXCEEDED = "RequestLimitExceeded" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 未验证服务权限 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // 直播服务未开通 UNAUTHORIZEDOPERATION_UNOPENEDLIVESERVICE = "UnauthorizedOperation.UnopenedLiveService" )
const APIVersion = "2021-01-19"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivateHardware ¶ added in v1.0.805
type ActivateHardware struct {
// 厂商名称
Vendor *string `json:"Vendor,omitnil,omitempty" name:"Vendor"`
// 设备SN序列号
SN *string `json:"SN,omitnil,omitempty" name:"SN"`
// 设备名称
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// 设备密钥
DataKey *string `json:"DataKey,omitnil,omitempty" name:"DataKey"`
// 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
// 当付费方为租户时,可选择租户license付费方式:
// 0,月度授权
// 1,永久授权
// 若不传则默认为月度授权。
// 当付费方为厂商时,此参数无效
LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"`
// 设备分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 设备分组名称,预留参数,需要分组时传入GroupId
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
// 激活后的设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
type ActivateHardwareRequest ¶ added in v1.0.805
type ActivateHardwareRequest struct {
*tchttp.BaseRequest
// 待激活的设备列表
Hardware []*ActivateHardware `json:"Hardware,omitnil,omitempty" name:"Hardware"`
}
func NewActivateHardwareRequest ¶ added in v1.0.805
func NewActivateHardwareRequest() (request *ActivateHardwareRequest)
func (*ActivateHardwareRequest) FromJsonString ¶ added in v1.0.805
func (r *ActivateHardwareRequest) 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 (*ActivateHardwareRequest) ToJsonString ¶ added in v1.0.805
func (r *ActivateHardwareRequest) ToJsonString() string
type ActivateHardwareRequestParams ¶ added in v1.0.805
type ActivateHardwareRequestParams struct {
// 待激活的设备列表
Hardware []*ActivateHardware `json:"Hardware,omitnil,omitempty" name:"Hardware"`
}
Predefined struct for user
type ActivateHardwareResponse ¶ added in v1.0.805
type ActivateHardwareResponse struct {
*tchttp.BaseResponse
Response *ActivateHardwareResponseParams `json:"Response"`
}
func NewActivateHardwareResponse ¶ added in v1.0.805
func NewActivateHardwareResponse() (response *ActivateHardwareResponse)
func (*ActivateHardwareResponse) FromJsonString ¶ added in v1.0.805
func (r *ActivateHardwareResponse) 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 (*ActivateHardwareResponse) ToJsonString ¶ added in v1.0.805
func (r *ActivateHardwareResponse) ToJsonString() string
type ActivateHardwareResponseParams ¶ added in v1.0.805
type ActivateHardwareResponseParams struct {
// 完成激活的设备信息
HardwareInfo []*ActivateHardware `json:"HardwareInfo,omitnil,omitempty" name:"HardwareInfo"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ActiveDeviceList ¶ added in v1.0.1101
type AddDeviceRequest ¶ added in v1.0.496
type AddDeviceRequest struct {
*tchttp.BaseRequest
// 新建设备的名称
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 新建设备的备注
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// 新建设备的base64密钥字符串,非必选,如果不填写则由系统自动生成
DataKey *string `json:"DataKey,omitnil,omitempty" name:"DataKey"`
// 是否设置预置密钥
Encrypted *bool `json:"Encrypted,omitnil,omitempty" name:"Encrypted"`
// 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。
// 具体含义:
// 公有云网关:即该设备只能接入公有云网关(就近接入)
// 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入)
// 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
// license付费方式:
// 0,月度授权
// 1,永久授权
// 若不传则默认为月度授权,永久授权设备需要调用OrderPerLicense接口支付授权费,否则设备无法使用
LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"`
// 设备分组名称,非必选,预留参数,需要分组时传入GroupId
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 设备分组ID,非必选,如果不填写则默认设备无分组
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
}
func NewAddDeviceRequest ¶ added in v1.0.496
func NewAddDeviceRequest() (request *AddDeviceRequest)
func (*AddDeviceRequest) FromJsonString ¶ added in v1.0.496
func (r *AddDeviceRequest) 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 (*AddDeviceRequest) ToJsonString ¶ added in v1.0.496
func (r *AddDeviceRequest) ToJsonString() string
type AddDeviceRequestParams ¶ added in v1.0.496
type AddDeviceRequestParams struct {
// 新建设备的名称
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 新建设备的备注
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// 新建设备的base64密钥字符串,非必选,如果不填写则由系统自动生成
DataKey *string `json:"DataKey,omitnil,omitempty" name:"DataKey"`
// 是否设置预置密钥
Encrypted *bool `json:"Encrypted,omitnil,omitempty" name:"Encrypted"`
// 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。不填默认公有云网关。
// 具体含义:
// 公有云网关:即该设备只能接入公有云网关(就近接入)
// 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入)
// 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
// license付费方式:
// 0,月度授权
// 1,永久授权
// 若不传则默认为月度授权,永久授权设备需要调用OrderPerLicense接口支付授权费,否则设备无法使用
LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"`
// 设备分组名称,非必选,预留参数,需要分组时传入GroupId
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 设备分组ID,非必选,如果不填写则默认设备无分组
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
}
Predefined struct for user
type AddDeviceResponse ¶ added in v1.0.496
type AddDeviceResponse struct {
*tchttp.BaseResponse
Response *AddDeviceResponseParams `json:"Response"`
}
func NewAddDeviceResponse ¶ added in v1.0.496
func NewAddDeviceResponse() (response *AddDeviceResponse)
func (*AddDeviceResponse) FromJsonString ¶ added in v1.0.496
func (r *AddDeviceResponse) 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 (*AddDeviceResponse) ToJsonString ¶ added in v1.0.496
func (r *AddDeviceResponse) ToJsonString() string
type AddDeviceResponseParams ¶ added in v1.0.496
type AddDeviceResponseParams struct {
// 经过加密算法加密后的base64格式密钥
DataKey *string `json:"DataKey,omitnil,omitempty" name:"DataKey"`
// 设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 签名字符串
Signature *string `json:"Signature,omitnil,omitempty" name:"Signature"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type AddGroupRequest ¶ added in v1.0.961
type AddGroupRequest struct {
*tchttp.BaseRequest
// 分组的名称
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 分组的描述
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
func NewAddGroupRequest ¶ added in v1.0.961
func NewAddGroupRequest() (request *AddGroupRequest)
func (*AddGroupRequest) FromJsonString ¶ added in v1.0.961
func (r *AddGroupRequest) 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 (*AddGroupRequest) ToJsonString ¶ added in v1.0.961
func (r *AddGroupRequest) ToJsonString() string
type AddGroupRequestParams ¶ added in v1.0.961
type AddGroupRequestParams struct {
// 分组的名称
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 分组的描述
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
Predefined struct for user
type AddGroupResponse ¶ added in v1.0.961
type AddGroupResponse struct {
*tchttp.BaseResponse
Response *AddGroupResponseParams `json:"Response"`
}
func NewAddGroupResponse ¶ added in v1.0.961
func NewAddGroupResponse() (response *AddGroupResponse)
func (*AddGroupResponse) FromJsonString ¶ added in v1.0.961
func (r *AddGroupResponse) 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 (*AddGroupResponse) ToJsonString ¶ added in v1.0.961
func (r *AddGroupResponse) ToJsonString() string
type AddGroupResponseParams ¶ added in v1.0.961
type AddGroupResponseParams struct {
// 分组的唯一ID,仅做分组唯一区分
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type AddHardwareRequest ¶ added in v1.0.805
type AddHardwareRequest struct {
*tchttp.BaseRequest
// 硬件列表
Hardware []*Hardware `json:"Hardware,omitnil,omitempty" name:"Hardware"`
}
func NewAddHardwareRequest ¶ added in v1.0.805
func NewAddHardwareRequest() (request *AddHardwareRequest)
func (*AddHardwareRequest) FromJsonString ¶ added in v1.0.805
func (r *AddHardwareRequest) 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 (*AddHardwareRequest) ToJsonString ¶ added in v1.0.805
func (r *AddHardwareRequest) ToJsonString() string
type AddHardwareRequestParams ¶ added in v1.0.805
type AddHardwareRequestParams struct {
// 硬件列表
Hardware []*Hardware `json:"Hardware,omitnil,omitempty" name:"Hardware"`
}
Predefined struct for user
type AddHardwareResponse ¶ added in v1.0.805
type AddHardwareResponse struct {
*tchttp.BaseResponse
Response *AddHardwareResponseParams `json:"Response"`
}
func NewAddHardwareResponse ¶ added in v1.0.805
func NewAddHardwareResponse() (response *AddHardwareResponse)
func (*AddHardwareResponse) FromJsonString ¶ added in v1.0.805
func (r *AddHardwareResponse) 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 (*AddHardwareResponse) ToJsonString ¶ added in v1.0.805
func (r *AddHardwareResponse) ToJsonString() string
type AddHardwareResponseParams ¶ added in v1.0.805
type AddHardwareResponseParams struct {
// 硬件设备
Hardware []*Hardware `json:"Hardware,omitnil,omitempty" name:"Hardware"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type AddL3ConnRequest ¶ added in v1.0.968
type AddL3ConnRequest struct {
*tchttp.BaseRequest
// 设置互通网段CIDR1,支持: 10.0.0.0 - 10.255.255.255,172.16.0.0 - 172.31.255.255,192.168.0.0 - 192.168.255.255
Cidr1 *string `json:"Cidr1,omitnil,omitempty" name:"Cidr1"`
// 设置互通网段CIDR2,支持: 10.0.0.0 - 10.255.255.255,172.16.0.0 - 172.31.255.255,192.168.0.0 - 192.168.255.255
Cidr2 *string `json:"Cidr2,omitnil,omitempty" name:"Cidr2"`
// CIDR1对应的设备ID
DeviceId1 *string `json:"DeviceId1,omitnil,omitempty" name:"DeviceId1"`
// CIDR2对应的设备ID
DeviceId2 *string `json:"DeviceId2,omitnil,omitempty" name:"DeviceId2"`
// 规则描述
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
func NewAddL3ConnRequest ¶ added in v1.0.968
func NewAddL3ConnRequest() (request *AddL3ConnRequest)
func (*AddL3ConnRequest) FromJsonString ¶ added in v1.0.968
func (r *AddL3ConnRequest) 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 (*AddL3ConnRequest) ToJsonString ¶ added in v1.0.968
func (r *AddL3ConnRequest) ToJsonString() string
type AddL3ConnRequestParams ¶ added in v1.0.968
type AddL3ConnRequestParams struct {
// 设置互通网段CIDR1,支持: 10.0.0.0 - 10.255.255.255,172.16.0.0 - 172.31.255.255,192.168.0.0 - 192.168.255.255
Cidr1 *string `json:"Cidr1,omitnil,omitempty" name:"Cidr1"`
// 设置互通网段CIDR2,支持: 10.0.0.0 - 10.255.255.255,172.16.0.0 - 172.31.255.255,192.168.0.0 - 192.168.255.255
Cidr2 *string `json:"Cidr2,omitnil,omitempty" name:"Cidr2"`
// CIDR1对应的设备ID
DeviceId1 *string `json:"DeviceId1,omitnil,omitempty" name:"DeviceId1"`
// CIDR2对应的设备ID
DeviceId2 *string `json:"DeviceId2,omitnil,omitempty" name:"DeviceId2"`
// 规则描述
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
Predefined struct for user
type AddL3ConnResponse ¶ added in v1.0.968
type AddL3ConnResponse struct {
*tchttp.BaseResponse
Response *AddL3ConnResponseParams `json:"Response"`
}
func NewAddL3ConnResponse ¶ added in v1.0.968
func NewAddL3ConnResponse() (response *AddL3ConnResponse)
func (*AddL3ConnResponse) FromJsonString ¶ added in v1.0.968
func (r *AddL3ConnResponse) 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 (*AddL3ConnResponse) ToJsonString ¶ added in v1.0.968
func (r *AddL3ConnResponse) ToJsonString() string
type AddL3ConnResponseParams ¶ added in v1.0.968
type AddL3ConnResponseParams struct {
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type Capacity ¶
type Capacity struct {
// 电信鉴权的Token。要加速的电信手机终端访问 http://qos.189.cn/qos-api/getToken?appid=TencentCloud 页面,获取返回结果中result的值
CTCCToken *string `json:"CTCCToken,omitnil,omitempty" name:"CTCCToken"`
// 终端所处在的省份,建议不填写由服务端自动获取,若需填写请填写带有省、市、自治区、特别行政区等后缀的省份中文全称
Province *string `json:"Province,omitnil,omitempty" name:"Province"`
}
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ActivateHardware ¶ added in v1.0.805
func (c *Client) ActivateHardware(request *ActivateHardwareRequest) (response *ActivateHardwareResponse, err error)
ActivateHardware 激活硬件设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_HARDWAREHASACTIVATED = "OperationDenied.HardwareHasActivated" OPERATIONDENIED_HARDWARENOTEXIST = "OperationDenied.HardwareNotExist" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) ActivateHardwareWithContext ¶ added in v1.0.805
func (c *Client) ActivateHardwareWithContext(ctx context.Context, request *ActivateHardwareRequest) (response *ActivateHardwareResponse, err error)
ActivateHardware 激活硬件设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_HARDWAREHASACTIVATED = "OperationDenied.HardwareHasActivated" OPERATIONDENIED_HARDWARENOTEXIST = "OperationDenied.HardwareNotExist" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) AddDevice ¶ added in v1.0.496
func (c *Client) AddDevice(request *AddDeviceRequest) (response *AddDeviceResponse, err error)
AddDevice 新建设备记录
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_DUPLICATEDATAKEY = "InternalError.DuplicateDataKey" INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" INTERNALERROR_UNDEFINEDENCRYPTEDKEY = "InternalError.UndefinedEncryptedKey" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AddDeviceWithContext ¶ added in v1.0.496
func (c *Client) AddDeviceWithContext(ctx context.Context, request *AddDeviceRequest) (response *AddDeviceResponse, err error)
AddDevice 新建设备记录
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_DUPLICATEDATAKEY = "InternalError.DuplicateDataKey" INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" INTERNALERROR_UNDEFINEDENCRYPTEDKEY = "InternalError.UndefinedEncryptedKey" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AddGroup ¶ added in v1.0.961
func (c *Client) AddGroup(request *AddGroupRequest) (response *AddGroupResponse, err error)
AddGroup 新建分组
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AddGroupWithContext ¶ added in v1.0.961
func (c *Client) AddGroupWithContext(ctx context.Context, request *AddGroupRequest) (response *AddGroupResponse, err error)
AddGroup 新建分组
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) AddHardware ¶ added in v1.0.805
func (c *Client) AddHardware(request *AddHardwareRequest) (response *AddHardwareResponse, err error)
AddHardware 添加硬件设备,生成未激活的硬件设备,可支持批量添加
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_DUPLICATESN = "OperationDenied.DuplicateSN" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) AddHardwareWithContext ¶ added in v1.0.805
func (c *Client) AddHardwareWithContext(ctx context.Context, request *AddHardwareRequest) (response *AddHardwareResponse, err error)
AddHardware 添加硬件设备,生成未激活的硬件设备,可支持批量添加
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_DUPLICATESN = "OperationDenied.DuplicateSN" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) AddL3Conn ¶ added in v1.0.968
func (c *Client) AddL3Conn(request *AddL3ConnRequest) (response *AddL3ConnResponse, err error)
AddL3Conn 新建互通规则
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_L3CIDROVERLAP = "OperationDenied.L3CidrOverLap" OPERATIONDENIED_L3CONNECTIONOVERSIZE = "OperationDenied.L3ConnectionOverSize"
func (*Client) AddL3ConnWithContext ¶ added in v1.0.968
func (c *Client) AddL3ConnWithContext(ctx context.Context, request *AddL3ConnRequest) (response *AddL3ConnResponse, err error)
AddL3Conn 新建互通规则
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_L3CIDROVERLAP = "OperationDenied.L3CidrOverLap" OPERATIONDENIED_L3CONNECTIONOVERSIZE = "OperationDenied.L3ConnectionOverSize"
func (*Client) CreateEncryptedKey ¶ added in v1.0.540
func (c *Client) CreateEncryptedKey(request *CreateEncryptedKeyRequest) (response *CreateEncryptedKeyResponse, err error)
CreateEncryptedKey 通过此接口设置和更新预置密钥
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) CreateEncryptedKeyWithContext ¶ added in v1.0.540
func (c *Client) CreateEncryptedKeyWithContext(ctx context.Context, request *CreateEncryptedKeyRequest) (response *CreateEncryptedKeyResponse, err error)
CreateEncryptedKey 通过此接口设置和更新预置密钥
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) CreateQos ¶
func (c *Client) CreateQos(request *CreateQosRequest) (response *CreateQosResponse, err error)
CreateQos 产品下线
移动网络发起Qos加速过程
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_VENDORNOTFOUND = "InvalidParameterValue.VendorNotFound" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATIONNOTSUGGEST = "OperationDenied.AccelerationNotSuggest" OPERATIONDENIED_CTCCTOKENEXPIRED = "OperationDenied.CTCCTokenExpired" OPERATIONDENIED_CREATEQOSEXCEEDLIMIT = "OperationDenied.CreateQosExceedLimit" OPERATIONDENIED_REQUESTQOSTIMEOUT = "OperationDenied.RequestQosTimeout" OPERATIONDENIED_USEROUTOFCOVERAGE = "OperationDenied.UserOutOfCoverage" OPERATIONDENIED_VENDORRETURNERROR = "OperationDenied.VendorReturnError" OPERATIONDENIED_VENDORSERVERERROR = "OperationDenied.VendorServerError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateQosWithContext ¶ added in v1.0.324
func (c *Client) CreateQosWithContext(ctx context.Context, request *CreateQosRequest) (response *CreateQosResponse, err error)
CreateQos 产品下线
移动网络发起Qos加速过程
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_VENDORNOTFOUND = "InvalidParameterValue.VendorNotFound" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATIONNOTSUGGEST = "OperationDenied.AccelerationNotSuggest" OPERATIONDENIED_CTCCTOKENEXPIRED = "OperationDenied.CTCCTokenExpired" OPERATIONDENIED_CREATEQOSEXCEEDLIMIT = "OperationDenied.CreateQosExceedLimit" OPERATIONDENIED_REQUESTQOSTIMEOUT = "OperationDenied.RequestQosTimeout" OPERATIONDENIED_USEROUTOFCOVERAGE = "OperationDenied.UserOutOfCoverage" OPERATIONDENIED_VENDORRETURNERROR = "OperationDenied.VendorReturnError" OPERATIONDENIED_VENDORSERVERERROR = "OperationDenied.VendorServerError" REQUESTLIMITEXCEEDED = "RequestLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DeleteDevice ¶ added in v1.0.496
func (c *Client) DeleteDevice(request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
DeleteDevice 删除设备信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteDeviceWithContext ¶ added in v1.0.496
func (c *Client) DeleteDeviceWithContext(ctx context.Context, request *DeleteDeviceRequest) (response *DeleteDeviceResponse, err error)
DeleteDevice 删除设备信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteGroup ¶ added in v1.0.961
func (c *Client) DeleteGroup(request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
DeleteGroup 删除分组
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteGroupWithContext ¶ added in v1.0.961
func (c *Client) DeleteGroupWithContext(ctx context.Context, request *DeleteGroupRequest) (response *DeleteGroupResponse, err error)
DeleteGroup 删除分组
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteL3Conn ¶ added in v1.0.968
func (c *Client) DeleteL3Conn(request *DeleteL3ConnRequest) (response *DeleteL3ConnResponse, err error)
DeleteL3Conn 删除互通规则
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteL3ConnWithContext ¶ added in v1.0.968
func (c *Client) DeleteL3ConnWithContext(ctx context.Context, request *DeleteL3ConnRequest) (response *DeleteL3ConnResponse, err error)
DeleteL3Conn 删除互通规则
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DeleteQos ¶
func (c *Client) DeleteQos(request *DeleteQosRequest) (response *DeleteQosResponse, err error)
DeleteQos 产品下线
移动网络停止Qos加速过程
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_REQUESTQOSTIMEOUT = "OperationDenied.RequestQosTimeout" OPERATIONDENIED_USERNONACCELERATED = "OperationDenied.UserNonAccelerated" OPERATIONDENIED_USEROUTOFCOVERAGE = "OperationDenied.UserOutOfCoverage" OPERATIONDENIED_VENDORRETURNERROR = "OperationDenied.VendorReturnError" OPERATIONDENIED_VENDORSERVERERROR = "OperationDenied.VendorServerError"
func (*Client) DeleteQosWithContext ¶ added in v1.0.324
func (c *Client) DeleteQosWithContext(ctx context.Context, request *DeleteQosRequest) (response *DeleteQosResponse, err error)
DeleteQos 产品下线
移动网络停止Qos加速过程
可能返回的错误码:
AUTHFAILURE = "AuthFailure" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_REQUESTQOSTIMEOUT = "OperationDenied.RequestQosTimeout" OPERATIONDENIED_USERNONACCELERATED = "OperationDenied.UserNonAccelerated" OPERATIONDENIED_USEROUTOFCOVERAGE = "OperationDenied.UserOutOfCoverage" OPERATIONDENIED_VENDORRETURNERROR = "OperationDenied.VendorReturnError" OPERATIONDENIED_VENDORSERVERERROR = "OperationDenied.VendorServerError"
func (*Client) DescribeQos ¶ added in v1.0.261
func (c *Client) DescribeQos(request *DescribeQosRequest) (response *DescribeQosResponse, err error)
DescribeQos 产品下线
获取Qos加速状态
可能返回的错误码:
INTERNALERROR = "InternalError" MISSINGPARAMETER = "MissingParameter"
func (*Client) DescribeQosWithContext ¶ added in v1.0.324
func (c *Client) DescribeQosWithContext(ctx context.Context, request *DescribeQosRequest) (response *DescribeQosResponse, err error)
DescribeQos 产品下线
获取Qos加速状态
可能返回的错误码:
INTERNALERROR = "InternalError" MISSINGPARAMETER = "MissingParameter"
func (*Client) DownloadActiveDeviceCount ¶ added in v1.0.1101
func (c *Client) DownloadActiveDeviceCount(request *DownloadActiveDeviceCountRequest) (response *DownloadActiveDeviceCountResponse, err error)
DownloadActiveDeviceCount 下载活跃设备数量统计
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) DownloadActiveDeviceCountWithContext ¶ added in v1.0.1101
func (c *Client) DownloadActiveDeviceCountWithContext(ctx context.Context, request *DownloadActiveDeviceCountRequest) (response *DownloadActiveDeviceCountResponse, err error)
DownloadActiveDeviceCount 下载活跃设备数量统计
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetActiveDeviceCount ¶ added in v1.0.1101
func (c *Client) GetActiveDeviceCount(request *GetActiveDeviceCountRequest) (response *GetActiveDeviceCountResponse, err error)
GetActiveDeviceCount 活跃设备数量统计
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetActiveDeviceCountWithContext ¶ added in v1.0.1101
func (c *Client) GetActiveDeviceCountWithContext(ctx context.Context, request *GetActiveDeviceCountRequest) (response *GetActiveDeviceCountResponse, err error)
GetActiveDeviceCount 活跃设备数量统计
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetDevice ¶ added in v1.0.496
func (c *Client) GetDevice(request *GetDeviceRequest) (response *GetDeviceResponse, err error)
GetDevice 通过指定设备的ID查找设备详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetDevicePayMode ¶ added in v1.0.808
func (c *Client) GetDevicePayMode(request *GetDevicePayModeRequest) (response *GetDevicePayModeResponse, err error)
GetDevicePayMode 获取设备付费模式
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) GetDevicePayModeWithContext ¶ added in v1.0.808
func (c *Client) GetDevicePayModeWithContext(ctx context.Context, request *GetDevicePayModeRequest) (response *GetDevicePayModeResponse, err error)
GetDevicePayMode 获取设备付费模式
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) GetDeviceWithContext ¶ added in v1.0.496
func (c *Client) GetDeviceWithContext(ctx context.Context, request *GetDeviceRequest) (response *GetDeviceResponse, err error)
GetDevice 通过指定设备的ID查找设备详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetDevices ¶ added in v1.0.496
func (c *Client) GetDevices(request *GetDevicesRequest) (response *GetDevicesResponse, err error)
GetDevices 获取设备信息列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetDevicesWithContext ¶ added in v1.0.496
func (c *Client) GetDevicesWithContext(ctx context.Context, request *GetDevicesRequest) (response *GetDevicesResponse, err error)
GetDevices 获取设备信息列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetFlowAlarmInfo ¶ added in v1.0.930
func (c *Client) GetFlowAlarmInfo(request *GetFlowAlarmInfoRequest) (response *GetFlowAlarmInfoResponse, err error)
GetFlowAlarmInfo 根据AppId查询用户设置的流量告警信息,包括阈值,回调url和key
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest"
func (*Client) GetFlowAlarmInfoWithContext ¶ added in v1.0.930
func (c *Client) GetFlowAlarmInfoWithContext(ctx context.Context, request *GetFlowAlarmInfoRequest) (response *GetFlowAlarmInfoResponse, err error)
GetFlowAlarmInfo 根据AppId查询用户设置的流量告警信息,包括阈值,回调url和key
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest"
func (*Client) GetFlowPackages ¶ added in v1.0.808
func (c *Client) GetFlowPackages(request *GetFlowPackagesRequest) (response *GetFlowPackagesResponse, err error)
GetFlowPackages 获取流量包列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) GetFlowPackagesWithContext ¶ added in v1.0.808
func (c *Client) GetFlowPackagesWithContext(ctx context.Context, request *GetFlowPackagesRequest) (response *GetFlowPackagesResponse, err error)
GetFlowPackages 获取流量包列表
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied"
func (*Client) GetFlowStatistic ¶ added in v1.0.497
func (c *Client) GetFlowStatistic(request *GetFlowStatisticRequest) (response *GetFlowStatisticResponse, err error)
GetFlowStatistic 获取指定设备Id,指定时间点数据流量使用情况
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetFlowStatisticByGroup ¶ added in v1.0.930
func (c *Client) GetFlowStatisticByGroup(request *GetFlowStatisticByGroupRequest) (response *GetFlowStatisticByGroupResponse, err error)
GetFlowStatisticByGroup 获取指定分组,指定时间数据流量使用情况
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetFlowStatisticByGroupWithContext ¶ added in v1.0.930
func (c *Client) GetFlowStatisticByGroupWithContext(ctx context.Context, request *GetFlowStatisticByGroupRequest) (response *GetFlowStatisticByGroupResponse, err error)
GetFlowStatisticByGroup 获取指定分组,指定时间数据流量使用情况
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetFlowStatisticByRegion ¶ added in v1.0.961
func (c *Client) GetFlowStatisticByRegion(request *GetFlowStatisticByRegionRequest) (response *GetFlowStatisticByRegionResponse, err error)
GetFlowStatisticByRegion 获取指定区域,指定时间点数据流量使用情况
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetFlowStatisticByRegionWithContext ¶ added in v1.0.961
func (c *Client) GetFlowStatisticByRegionWithContext(ctx context.Context, request *GetFlowStatisticByRegionRequest) (response *GetFlowStatisticByRegionResponse, err error)
GetFlowStatisticByRegion 获取指定区域,指定时间点数据流量使用情况
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetFlowStatisticWithContext ¶ added in v1.0.497
func (c *Client) GetFlowStatisticWithContext(ctx context.Context, request *GetFlowStatisticRequest) (response *GetFlowStatisticResponse, err error)
GetFlowStatistic 获取指定设备Id,指定时间点数据流量使用情况
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetGroupDetail ¶ added in v1.0.961
func (c *Client) GetGroupDetail(request *GetGroupDetailRequest) (response *GetGroupDetailResponse, err error)
GetGroupDetail 查看分组详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetGroupDetailWithContext ¶ added in v1.0.961
func (c *Client) GetGroupDetailWithContext(ctx context.Context, request *GetGroupDetailRequest) (response *GetGroupDetailResponse, err error)
GetGroupDetail 查看分组详细信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetGroupList ¶ added in v1.0.961
func (c *Client) GetGroupList(request *GetGroupListRequest) (response *GetGroupListResponse, err error)
GetGroupList 获取分组列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetGroupListWithContext ¶ added in v1.0.961
func (c *Client) GetGroupListWithContext(ctx context.Context, request *GetGroupListRequest) (response *GetGroupListResponse, err error)
GetGroupList 获取分组列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetHardwareList ¶ added in v1.0.805
func (c *Client) GetHardwareList(request *GetHardwareListRequest) (response *GetHardwareListResponse, err error)
GetHardwareList 获取厂商硬件列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) GetHardwareListWithContext ¶ added in v1.0.805
func (c *Client) GetHardwareListWithContext(ctx context.Context, request *GetHardwareListRequest) (response *GetHardwareListResponse, err error)
GetHardwareList 获取厂商硬件列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) GetL3ConnList ¶ added in v1.0.968
func (c *Client) GetL3ConnList(request *GetL3ConnListRequest) (response *GetL3ConnListResponse, err error)
GetL3ConnList 获取互通规则列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetL3ConnListWithContext ¶ added in v1.0.968
func (c *Client) GetL3ConnListWithContext(ctx context.Context, request *GetL3ConnListRequest) (response *GetL3ConnListResponse, err error)
GetL3ConnList 获取互通规则列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetMultiFlowStatistic ¶ added in v1.0.602
func (c *Client) GetMultiFlowStatistic(request *GetMultiFlowStatisticRequest) (response *GetMultiFlowStatisticResponse, err error)
GetMultiFlowStatistic 批量获取设备流量统计曲线
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetMultiFlowStatisticWithContext ¶ added in v1.0.602
func (c *Client) GetMultiFlowStatisticWithContext(ctx context.Context, request *GetMultiFlowStatisticRequest) (response *GetMultiFlowStatisticResponse, err error)
GetMultiFlowStatistic 批量获取设备流量统计曲线
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetNetMonitor ¶ added in v1.0.784
func (c *Client) GetNetMonitor(request *GetNetMonitorRequest) (response *GetNetMonitorResponse, err error)
GetNetMonitor 获取单设备的实时流量统计指标
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetNetMonitorWithContext ¶ added in v1.0.784
func (c *Client) GetNetMonitorWithContext(ctx context.Context, request *GetNetMonitorRequest) (response *GetNetMonitorResponse, err error)
GetNetMonitor 获取单设备的实时流量统计指标
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GetPublicKey ¶ added in v1.0.540
func (c *Client) GetPublicKey(request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
GetPublicKey 获取公钥用于验签
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) GetPublicKeyWithContext ¶ added in v1.0.540
func (c *Client) GetPublicKeyWithContext(ctx context.Context, request *GetPublicKeyRequest) (response *GetPublicKeyResponse, err error)
GetPublicKey 获取公钥用于验签
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) GetStatisticData ¶ added in v1.0.496
func (c *Client) GetStatisticData(request *GetStatisticDataRequest) (response *GetStatisticDataResponse, err error)
GetStatisticData 在用量统计页面下载流量数据
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_FILEIOERROR = "InternalError.FileIOError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) GetStatisticDataWithContext ¶ added in v1.0.496
func (c *Client) GetStatisticDataWithContext(ctx context.Context, request *GetStatisticDataRequest) (response *GetStatisticDataResponse, err error)
GetStatisticData 在用量统计页面下载流量数据
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_FILEIOERROR = "InternalError.FileIOError" INTERNALERROR_MONITORDATAREQUESTERROR = "InternalError.MonitorDataRequestError" INTERNALERROR_NETWORKINFOREQUESTERROR = "InternalError.NetworkInfoRequestError" INVALIDPARAMETER = "InvalidParameter"
func (*Client) GetVendorHardware ¶ added in v1.0.805
func (c *Client) GetVendorHardware(request *GetVendorHardwareRequest) (response *GetVendorHardwareResponse, err error)
GetVendorHardware 获取厂商硬件设备列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) GetVendorHardwareWithContext ¶ added in v1.0.805
func (c *Client) GetVendorHardwareWithContext(ctx context.Context, request *GetVendorHardwareRequest) (response *GetVendorHardwareResponse, err error)
GetVendorHardware 获取厂商硬件设备列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) GroupAddDevice ¶ added in v1.0.961
func (c *Client) GroupAddDevice(request *GroupAddDeviceRequest) (response *GroupAddDeviceResponse, err error)
GroupAddDevice 向已存在分组中添加设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GroupAddDeviceWithContext ¶ added in v1.0.961
func (c *Client) GroupAddDeviceWithContext(ctx context.Context, request *GroupAddDeviceRequest) (response *GroupAddDeviceResponse, err error)
GroupAddDevice 向已存在分组中添加设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GroupDeleteDevice ¶ added in v1.0.961
func (c *Client) GroupDeleteDevice(request *GroupDeleteDeviceRequest) (response *GroupDeleteDeviceResponse, err error)
GroupDeleteDevice 删除分组中的设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) GroupDeleteDeviceWithContext ¶ added in v1.0.961
func (c *Client) GroupDeleteDeviceWithContext(ctx context.Context, request *GroupDeleteDeviceRequest) (response *GroupDeleteDeviceResponse, err error)
GroupDeleteDevice 删除分组中的设备
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) ModifyPackageRenewFlag ¶ added in v1.0.808
func (c *Client) ModifyPackageRenewFlag(request *ModifyPackageRenewFlagRequest) (response *ModifyPackageRenewFlagResponse, err error)
ModifyPackageRenewFlag 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest" OPERATIONDENIED_MODIFIEDORRENEWED = "OperationDenied.ModifiedOrRenewed" OPERATIONDENIED_TRUNCFLAGON = "OperationDenied.TruncFlagOn" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyPackageRenewFlagWithContext ¶ added in v1.0.808
func (c *Client) ModifyPackageRenewFlagWithContext(ctx context.Context, request *ModifyPackageRenewFlagRequest) (response *ModifyPackageRenewFlagResponse, err error)
ModifyPackageRenewFlag 可开启/关闭流量包自动续费,不影响当前周期正在生效的流量包。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest" OPERATIONDENIED_MODIFIEDORRENEWED = "OperationDenied.ModifiedOrRenewed" OPERATIONDENIED_TRUNCFLAGON = "OperationDenied.TruncFlagOn" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) OrderFlowPackage ¶ added in v1.0.808
func (c *Client) OrderFlowPackage(request *OrderFlowPackageRequest) (response *OrderFlowPackageResponse, err error)
OrderFlowPackage 购买预付费流量包
可能返回的错误码:
FAILEDOPERATION_TRANSACTIONEXCEPTION = "FailedOperation.TransactionException" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_INSUFFICIENTBALANCE = "OperationDenied.InsufficientBalance" OPERATIONDENIED_NOTALLOWEDTOPAY = "OperationDenied.NotAllowedToPay" OPERATIONDENIED_UNAUTHORIZEDUSER = "OperationDenied.UnauthorizedUser" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNOPENEDLIVESERVICE = "UnauthorizedOperation.UnopenedLiveService"
func (*Client) OrderFlowPackageWithContext ¶ added in v1.0.808
func (c *Client) OrderFlowPackageWithContext(ctx context.Context, request *OrderFlowPackageRequest) (response *OrderFlowPackageResponse, err error)
OrderFlowPackage 购买预付费流量包
可能返回的错误码:
FAILEDOPERATION_TRANSACTIONEXCEPTION = "FailedOperation.TransactionException" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_INSUFFICIENTBALANCE = "OperationDenied.InsufficientBalance" OPERATIONDENIED_NOTALLOWEDTOPAY = "OperationDenied.NotAllowedToPay" OPERATIONDENIED_UNAUTHORIZEDUSER = "OperationDenied.UnauthorizedUser" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNOPENEDLIVESERVICE = "UnauthorizedOperation.UnopenedLiveService"
func (*Client) OrderPerLicense ¶ added in v1.0.984
func (c *Client) OrderPerLicense(request *OrderPerLicenseRequest) (response *OrderPerLicenseResponse, err error)
OrderPerLicense 购买一次性授权License
可能返回的错误码:
FAILEDOPERATION_TRANSACTIONEXCEPTION = "FailedOperation.TransactionException" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DEVICENOTFOUND = "OperationDenied.DeviceNotFound" OPERATIONDENIED_INSUFFICIENTBALANCE = "OperationDenied.InsufficientBalance" OPERATIONDENIED_NOTALLOWEDTOPAY = "OperationDenied.NotAllowedToPay" OPERATIONDENIED_REPEATPURCHASE = "OperationDenied.RepeatPurchase" OPERATIONDENIED_UNAUTHORIZEDUSER = "OperationDenied.UnauthorizedUser" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) OrderPerLicenseWithContext ¶ added in v1.0.984
func (c *Client) OrderPerLicenseWithContext(ctx context.Context, request *OrderPerLicenseRequest) (response *OrderPerLicenseResponse, err error)
OrderPerLicense 购买一次性授权License
可能返回的错误码:
FAILEDOPERATION_TRANSACTIONEXCEPTION = "FailedOperation.TransactionException" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DEVICENOTFOUND = "OperationDenied.DeviceNotFound" OPERATIONDENIED_INSUFFICIENTBALANCE = "OperationDenied.InsufficientBalance" OPERATIONDENIED_NOTALLOWEDTOPAY = "OperationDenied.NotAllowedToPay" OPERATIONDENIED_REPEATPURCHASE = "OperationDenied.RepeatPurchase" OPERATIONDENIED_UNAUTHORIZEDUSER = "OperationDenied.UnauthorizedUser" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) SetNotifyUrl ¶ added in v1.0.961
func (c *Client) SetNotifyUrl(request *SetNotifyUrlRequest) (response *SetNotifyUrlResponse, err error)
SetNotifyUrl 设置用户流量告警信息接口,通过该接口设置流量包告警阈值以及告警时回调的url和key
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest"
func (*Client) SetNotifyUrlWithContext ¶ added in v1.0.961
func (c *Client) SetNotifyUrlWithContext(ctx context.Context, request *SetNotifyUrlRequest) (response *SetNotifyUrlResponse, err error)
SetNotifyUrl 设置用户流量告警信息接口,通过该接口设置流量包告警阈值以及告警时回调的url和key
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ILLEGALREQUEST = "OperationDenied.IllegalRequest"
func (*Client) UpdateDevice ¶ added in v1.0.496
func (c *Client) UpdateDevice(request *UpdateDeviceRequest) (response *UpdateDeviceResponse, err error)
UpdateDevice 更新设备信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateDeviceWithContext ¶ added in v1.0.496
func (c *Client) UpdateDeviceWithContext(ctx context.Context, request *UpdateDeviceRequest) (response *UpdateDeviceResponse, err error)
UpdateDevice 更新设备信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INTERNALERROR_DUPLICATEDEVICENAME = "InternalError.DuplicateDeviceName" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateGroup ¶ added in v1.0.961
func (c *Client) UpdateGroup(request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
UpdateGroup 更新分组备注
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateGroupWithContext ¶ added in v1.0.961
func (c *Client) UpdateGroupWithContext(ctx context.Context, request *UpdateGroupRequest) (response *UpdateGroupResponse, err error)
UpdateGroup 更新分组备注
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateHardware ¶ added in v1.0.805
func (c *Client) UpdateHardware(request *UpdateHardwareRequest) (response *UpdateHardwareResponse, err error)
UpdateHardware 更新硬件信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_DUPLICATESN = "OperationDenied.DuplicateSN" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) UpdateHardwareWithContext ¶ added in v1.0.805
func (c *Client) UpdateHardwareWithContext(ctx context.Context, request *UpdateHardwareRequest) (response *UpdateHardwareResponse, err error)
UpdateHardware 更新硬件信息
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue" OPERATIONDENIED_DUPLICATESN = "OperationDenied.DuplicateSN" OPERATIONDENIED_VENDORNOTREGISTER = "OperationDenied.VendorNotRegister"
func (*Client) UpdateL3Cidr ¶ added in v1.0.968
func (c *Client) UpdateL3Cidr(request *UpdateL3CidrRequest) (response *UpdateL3CidrResponse, err error)
UpdateL3Cidr 更新互通规则CIDR
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateL3CidrWithContext ¶ added in v1.0.968
func (c *Client) UpdateL3CidrWithContext(ctx context.Context, request *UpdateL3CidrRequest) (response *UpdateL3CidrResponse, err error)
UpdateL3Cidr 更新互通规则CIDR
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateL3Conn ¶ added in v1.0.968
func (c *Client) UpdateL3Conn(request *UpdateL3ConnRequest) (response *UpdateL3ConnResponse, err error)
UpdateL3Conn 更新互通规则备注
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateL3ConnWithContext ¶ added in v1.0.968
func (c *Client) UpdateL3ConnWithContext(ctx context.Context, request *UpdateL3ConnRequest) (response *UpdateL3ConnResponse, err error)
UpdateL3Conn 更新互通规则备注
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateL3Switch ¶ added in v1.0.968
func (c *Client) UpdateL3Switch(request *UpdateL3SwitchRequest) (response *UpdateL3SwitchResponse, err error)
UpdateL3Switch 更新互通规则开关
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
func (*Client) UpdateL3SwitchWithContext ¶ added in v1.0.968
func (c *Client) UpdateL3SwitchWithContext(ctx context.Context, request *UpdateL3SwitchRequest) (response *UpdateL3SwitchResponse, err error)
UpdateL3Switch 更新互通规则开关
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_CONTROLREQUESTERROR = "InternalError.ControlRequestError" INVALIDPARAMETERVALUE = "InvalidParameterValue"
type Context ¶ added in v1.0.351
type Context struct {
// 测速数据
NetworkData *NetworkData `json:"NetworkData,omitnil,omitempty" name:"NetworkData"`
// 用户期望最低门限
ExpectedLowThreshold *ExpectedThreshold `json:"ExpectedLowThreshold,omitnil,omitempty" name:"ExpectedLowThreshold"`
// 用户期望最高门限
ExpectedHighThreshold *ExpectedThreshold `json:"ExpectedHighThreshold,omitnil,omitempty" name:"ExpectedHighThreshold"`
}
type CreateEncryptedKeyRequest ¶ added in v1.0.540
type CreateEncryptedKeyRequest struct {
*tchttp.BaseRequest
}
func NewCreateEncryptedKeyRequest ¶ added in v1.0.540
func NewCreateEncryptedKeyRequest() (request *CreateEncryptedKeyRequest)
func (*CreateEncryptedKeyRequest) FromJsonString ¶ added in v1.0.540
func (r *CreateEncryptedKeyRequest) 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 (*CreateEncryptedKeyRequest) ToJsonString ¶ added in v1.0.540
func (r *CreateEncryptedKeyRequest) ToJsonString() string
type CreateEncryptedKeyRequestParams ¶ added in v1.0.540
type CreateEncryptedKeyRequestParams struct {
}
Predefined struct for user
type CreateEncryptedKeyResponse ¶ added in v1.0.540
type CreateEncryptedKeyResponse struct {
*tchttp.BaseResponse
Response *CreateEncryptedKeyResponseParams `json:"Response"`
}
func NewCreateEncryptedKeyResponse ¶ added in v1.0.540
func NewCreateEncryptedKeyResponse() (response *CreateEncryptedKeyResponse)
func (*CreateEncryptedKeyResponse) FromJsonString ¶ added in v1.0.540
func (r *CreateEncryptedKeyResponse) 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 (*CreateEncryptedKeyResponse) ToJsonString ¶ added in v1.0.540
func (r *CreateEncryptedKeyResponse) ToJsonString() string
type CreateEncryptedKeyResponseParams ¶ added in v1.0.540
type CreateEncryptedKeyResponseParams struct {
// 预置密钥
EncryptedKey *string `json:"EncryptedKey,omitnil,omitempty" name:"EncryptedKey"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateQosRequest ¶
type CreateQosRequest struct {
*tchttp.BaseRequest
// 加速业务源地址信息,SrcIpv6和(SrcIpv4+SrcPublicIpv4)二选一,目前Ipv6不可用,全部填写以Ipv4参数为准。
SrcAddressInfo *SrcAddressInfo `json:"SrcAddressInfo,omitnil,omitempty" name:"SrcAddressInfo"`
// 加速业务目标地址信息
DestAddressInfo *DestAddressInfo `json:"DestAddressInfo,omitnil,omitempty" name:"DestAddressInfo"`
// 加速套餐
// T100K:时延性保障 + 带宽保障上下行保障 100kbps
// T200K:时延性保障 + 带宽保障上下行保障 200kbps
// T400K:时延性保障 + 带宽保障上下行保障 400kbps
// BD1M:带宽型保障 + 下行带宽保障1Mbps
// BD2M:带宽型保障 + 下行带宽保障2Mbps
// BD4M:带宽型保障 + 下行带宽保障4Mbps
// BU1M:带宽型保障 + 上行带宽保障1Mbps
// BU2M:带宽型保障 + 上行带宽保障2Mbps
// BU4M:带宽型保障 + 上行带宽保障4Mbps
QosMenu *string `json:"QosMenu,omitnil,omitempty" name:"QosMenu"`
// 申请加速的设备信息,包括运营商,操作系统,设备唯一标识等。
DeviceInfo *DeviceInfo `json:"DeviceInfo,omitnil,omitempty" name:"DeviceInfo"`
// 期望加速时长(单位分钟),默认值30分钟
Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// 接口能力扩展,如果是电信用户,必须填充CTCC Token字段
Capacity *Capacity `json:"Capacity,omitnil,omitempty" name:"Capacity"`
// 应用模板ID
TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
// 针对特殊协议进行加速
// 1. IP (默认值)
// 2. UDP
// 3. TCP
Protocol *uint64 `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// 加速策略关键数据
Context *Context `json:"Context,omitnil,omitempty" name:"Context"`
// 签名
Extern *string `json:"Extern,omitnil,omitempty" name:"Extern"`
}
func NewCreateQosRequest ¶
func NewCreateQosRequest() (request *CreateQosRequest)
func (*CreateQosRequest) FromJsonString ¶
func (r *CreateQosRequest) 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 (*CreateQosRequest) ToJsonString ¶
func (r *CreateQosRequest) ToJsonString() string
type CreateQosRequestParams ¶ added in v1.0.426
type CreateQosRequestParams struct {
// 加速业务源地址信息,SrcIpv6和(SrcIpv4+SrcPublicIpv4)二选一,目前Ipv6不可用,全部填写以Ipv4参数为准。
SrcAddressInfo *SrcAddressInfo `json:"SrcAddressInfo,omitnil,omitempty" name:"SrcAddressInfo"`
// 加速业务目标地址信息
DestAddressInfo *DestAddressInfo `json:"DestAddressInfo,omitnil,omitempty" name:"DestAddressInfo"`
// 加速套餐
// T100K:时延性保障 + 带宽保障上下行保障 100kbps
// T200K:时延性保障 + 带宽保障上下行保障 200kbps
// T400K:时延性保障 + 带宽保障上下行保障 400kbps
// BD1M:带宽型保障 + 下行带宽保障1Mbps
// BD2M:带宽型保障 + 下行带宽保障2Mbps
// BD4M:带宽型保障 + 下行带宽保障4Mbps
// BU1M:带宽型保障 + 上行带宽保障1Mbps
// BU2M:带宽型保障 + 上行带宽保障2Mbps
// BU4M:带宽型保障 + 上行带宽保障4Mbps
QosMenu *string `json:"QosMenu,omitnil,omitempty" name:"QosMenu"`
// 申请加速的设备信息,包括运营商,操作系统,设备唯一标识等。
DeviceInfo *DeviceInfo `json:"DeviceInfo,omitnil,omitempty" name:"DeviceInfo"`
// 期望加速时长(单位分钟),默认值30分钟
Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// 接口能力扩展,如果是电信用户,必须填充CTCC Token字段
Capacity *Capacity `json:"Capacity,omitnil,omitempty" name:"Capacity"`
// 应用模板ID
TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"`
// 针对特殊协议进行加速
// 1. IP (默认值)
// 2. UDP
// 3. TCP
Protocol *uint64 `json:"Protocol,omitnil,omitempty" name:"Protocol"`
// 加速策略关键数据
Context *Context `json:"Context,omitnil,omitempty" name:"Context"`
// 签名
Extern *string `json:"Extern,omitnil,omitempty" name:"Extern"`
}
Predefined struct for user
type CreateQosResponse ¶
type CreateQosResponse struct {
*tchttp.BaseResponse
Response *CreateQosResponseParams `json:"Response"`
}
func NewCreateQosResponse ¶
func NewCreateQosResponse() (response *CreateQosResponse)
func (*CreateQosResponse) FromJsonString ¶
func (r *CreateQosResponse) 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 (*CreateQosResponse) ToJsonString ¶
func (r *CreateQosResponse) ToJsonString() string
type CreateQosResponseParams ¶ added in v1.0.426
type CreateQosResponseParams struct {
// 单次加速唯一 Id
SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
// 当前加速剩余时长(单位秒)
Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteDeviceRequest ¶ added in v1.0.496
type DeleteDeviceRequest struct {
*tchttp.BaseRequest
// 删除设备的唯一ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
func NewDeleteDeviceRequest ¶ added in v1.0.496
func NewDeleteDeviceRequest() (request *DeleteDeviceRequest)
func (*DeleteDeviceRequest) FromJsonString ¶ added in v1.0.496
func (r *DeleteDeviceRequest) 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 (*DeleteDeviceRequest) ToJsonString ¶ added in v1.0.496
func (r *DeleteDeviceRequest) ToJsonString() string
type DeleteDeviceRequestParams ¶ added in v1.0.496
type DeleteDeviceRequestParams struct {
// 删除设备的唯一ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
Predefined struct for user
type DeleteDeviceResponse ¶ added in v1.0.496
type DeleteDeviceResponse struct {
*tchttp.BaseResponse
Response *DeleteDeviceResponseParams `json:"Response"`
}
func NewDeleteDeviceResponse ¶ added in v1.0.496
func NewDeleteDeviceResponse() (response *DeleteDeviceResponse)
func (*DeleteDeviceResponse) FromJsonString ¶ added in v1.0.496
func (r *DeleteDeviceResponse) 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 (*DeleteDeviceResponse) ToJsonString ¶ added in v1.0.496
func (r *DeleteDeviceResponse) ToJsonString() string
type DeleteDeviceResponseParams ¶ added in v1.0.496
type DeleteDeviceResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteGroupRequest ¶ added in v1.0.961
type DeleteGroupRequest struct {
*tchttp.BaseRequest
// 删除指定分组
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
func NewDeleteGroupRequest ¶ added in v1.0.961
func NewDeleteGroupRequest() (request *DeleteGroupRequest)
func (*DeleteGroupRequest) FromJsonString ¶ added in v1.0.961
func (r *DeleteGroupRequest) 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 (*DeleteGroupRequest) ToJsonString ¶ added in v1.0.961
func (r *DeleteGroupRequest) ToJsonString() string
type DeleteGroupRequestParams ¶ added in v1.0.961
type DeleteGroupRequestParams struct {
// 删除指定分组
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
Predefined struct for user
type DeleteGroupResponse ¶ added in v1.0.961
type DeleteGroupResponse struct {
*tchttp.BaseResponse
Response *DeleteGroupResponseParams `json:"Response"`
}
func NewDeleteGroupResponse ¶ added in v1.0.961
func NewDeleteGroupResponse() (response *DeleteGroupResponse)
func (*DeleteGroupResponse) FromJsonString ¶ added in v1.0.961
func (r *DeleteGroupResponse) 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 (*DeleteGroupResponse) ToJsonString ¶ added in v1.0.961
func (r *DeleteGroupResponse) ToJsonString() string
type DeleteGroupResponseParams ¶ added in v1.0.961
type DeleteGroupResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteL3ConnRequest ¶ added in v1.0.968
type DeleteL3ConnRequest struct {
*tchttp.BaseRequest
// 互通规则ID列表
L3ConnIdList []*string `json:"L3ConnIdList,omitnil,omitempty" name:"L3ConnIdList"`
}
func NewDeleteL3ConnRequest ¶ added in v1.0.968
func NewDeleteL3ConnRequest() (request *DeleteL3ConnRequest)
func (*DeleteL3ConnRequest) FromJsonString ¶ added in v1.0.968
func (r *DeleteL3ConnRequest) 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 (*DeleteL3ConnRequest) ToJsonString ¶ added in v1.0.968
func (r *DeleteL3ConnRequest) ToJsonString() string
type DeleteL3ConnRequestParams ¶ added in v1.0.968
type DeleteL3ConnRequestParams struct {
// 互通规则ID列表
L3ConnIdList []*string `json:"L3ConnIdList,omitnil,omitempty" name:"L3ConnIdList"`
}
Predefined struct for user
type DeleteL3ConnResponse ¶ added in v1.0.968
type DeleteL3ConnResponse struct {
*tchttp.BaseResponse
Response *DeleteL3ConnResponseParams `json:"Response"`
}
func NewDeleteL3ConnResponse ¶ added in v1.0.968
func NewDeleteL3ConnResponse() (response *DeleteL3ConnResponse)
func (*DeleteL3ConnResponse) FromJsonString ¶ added in v1.0.968
func (r *DeleteL3ConnResponse) 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 (*DeleteL3ConnResponse) ToJsonString ¶ added in v1.0.968
func (r *DeleteL3ConnResponse) ToJsonString() string
type DeleteL3ConnResponseParams ¶ added in v1.0.968
type DeleteL3ConnResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteQosRequest ¶
type DeleteQosRequest struct {
*tchttp.BaseRequest
// 单次加速唯一 Id
SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}
func NewDeleteQosRequest ¶
func NewDeleteQosRequest() (request *DeleteQosRequest)
func (*DeleteQosRequest) FromJsonString ¶
func (r *DeleteQosRequest) 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 (*DeleteQosRequest) ToJsonString ¶
func (r *DeleteQosRequest) ToJsonString() string
type DeleteQosRequestParams ¶ added in v1.0.426
type DeleteQosRequestParams struct {
// 单次加速唯一 Id
SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}
Predefined struct for user
type DeleteQosResponse ¶
type DeleteQosResponse struct {
*tchttp.BaseResponse
Response *DeleteQosResponseParams `json:"Response"`
}
func NewDeleteQosResponse ¶
func NewDeleteQosResponse() (response *DeleteQosResponse)
func (*DeleteQosResponse) FromJsonString ¶
func (r *DeleteQosResponse) 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 (*DeleteQosResponse) ToJsonString ¶
func (r *DeleteQosResponse) ToJsonString() string
type DeleteQosResponseParams ¶ added in v1.0.426
type DeleteQosResponseParams struct {
// 单次加速唯一 Id
SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
// 本次加速会话持续时间(单位秒)
Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeQosRequest ¶ added in v1.0.261
type DescribeQosRequest struct {
*tchttp.BaseRequest
// 单次加速唯一 Id
SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}
func NewDescribeQosRequest ¶ added in v1.0.261
func NewDescribeQosRequest() (request *DescribeQosRequest)
func (*DescribeQosRequest) FromJsonString ¶ added in v1.0.261
func (r *DescribeQosRequest) 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 (*DescribeQosRequest) ToJsonString ¶ added in v1.0.261
func (r *DescribeQosRequest) ToJsonString() string
type DescribeQosRequestParams ¶ added in v1.0.426
type DescribeQosRequestParams struct {
// 单次加速唯一 Id
SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"`
}
Predefined struct for user
type DescribeQosResponse ¶ added in v1.0.261
type DescribeQosResponse struct {
*tchttp.BaseResponse
Response *DescribeQosResponseParams `json:"Response"`
}
func NewDescribeQosResponse ¶ added in v1.0.261
func NewDescribeQosResponse() (response *DescribeQosResponse)
func (*DescribeQosResponse) FromJsonString ¶ added in v1.0.261
func (r *DescribeQosResponse) 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 (*DescribeQosResponse) ToJsonString ¶ added in v1.0.261
func (r *DescribeQosResponse) ToJsonString() string
type DescribeQosResponseParams ¶ added in v1.0.426
type DescribeQosResponseParams struct {
// 0:无匹配的加速中会话
// 1:存在匹配的加速中会话
Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"`
// 手机公网出口IP,仅匹配时返回
// 注意:此字段可能返回 null,表示取不到有效值。
SrcPublicIpv4 *string `json:"SrcPublicIpv4,omitnil,omitempty" name:"SrcPublicIpv4"`
// 业务访问目的IP,仅匹配时返回
// 注意:此字段可能返回 null,表示取不到有效值。
DestIpv4 []*string `json:"DestIpv4,omitnil,omitempty" name:"DestIpv4"`
// 当前加速剩余时长(单位秒)有,仅匹配时返回
// 注意:此字段可能返回 null,表示取不到有效值。
Duration *uint64 `json:"Duration,omitnil,omitempty" name:"Duration"`
// 加速套餐类型,仅匹配时返回
// 注意:此字段可能返回 null,表示取不到有效值。
QosMenu *string `json:"QosMenu,omitnil,omitempty" name:"QosMenu"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type DestAddressInfo ¶
type DestAddressInfo struct {
// 加速业务目标 ip 地址数组
DestIp []*string `json:"DestIp,omitnil,omitempty" name:"DestIp"`
}
type DeviceBaseInfo ¶ added in v1.0.496
type DeviceBaseInfo struct {
// 设备唯一ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 设备创建的时间,单位:ms
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// 设备最后在线时间,单位:ms
LastTime *string `json:"LastTime,omitnil,omitempty" name:"LastTime"`
// 设备的备注
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// 接入环境。0:公有云网关;1:自有网关;2:公有云网关和自有网关。默认公有云网关。 具体含义: 公有云网关:即该设备只能接入公有云网关(就近接入) 自有网关:即该设备只能接入已经注册上线的自有网关(就近接入或固定ip接入) 公有云网关和自有网关:即该设备同时可以接入公有云网关和已经注册上线的自有网关(就近接入或固定ip接入)
AccessScope *int64 `json:"AccessScope,omitnil,omitempty" name:"AccessScope"`
// license授权有效期 0:月度授权 1:永久授权
LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"`
// 付费方 0:厂商付费 1:客户付费
Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"`
// 设备分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 设备分组名称
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
// 设备sn
Sn *string `json:"Sn,omitnil,omitempty" name:"Sn"`
// 厂商
Vendor *string `json:"Vendor,omitnil,omitempty" name:"Vendor"`
}
type DeviceDetails ¶ added in v1.0.496
type DeviceDetails struct {
// 设备基本信息
DeviceBaseInfo *DeviceBaseInfo `json:"DeviceBaseInfo,omitnil,omitempty" name:"DeviceBaseInfo"`
// 设备网络信息
DeviceNetInfo []*DeviceNetInfo `json:"DeviceNetInfo,omitnil,omitempty" name:"DeviceNetInfo"`
// 聚合服务器地址
GatewaySite *string `json:"GatewaySite,omitnil,omitempty" name:"GatewaySite"`
// 业务下行速率
BusinessDownRate *float64 `json:"BusinessDownRate,omitnil,omitempty" name:"BusinessDownRate"`
// 业务上行速率
BusinessUpRate *float64 `json:"BusinessUpRate,omitnil,omitempty" name:"BusinessUpRate"`
}
type DeviceInfo ¶
type DeviceInfo struct {
// 运营商
// 1:移动
// 2:电信
// 3:联通
// 4:广电
// 99:其他
Vendor *uint64 `json:"Vendor,omitnil,omitempty" name:"Vendor"`
// 设备操作系统:
// 1:Android
// 2: IOS
// 99:其他
OS *uint64 `json:"OS,omitnil,omitempty" name:"OS"`
// 设备唯一标识
// IOS 填写 IDFV
// Android 填写 IMEI
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 用户手机号码
PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"`
// 无线信息
// 1:4G
// 2:5G
// 3:WIFI
// 99:其他
Wireless *uint64 `json:"Wireless,omitnil,omitempty" name:"Wireless"`
}
type DeviceNetInfo ¶ added in v1.0.496
type DeviceNetInfo struct {
// 网络类型:
// 0:数据
// 1:Wi-Fi
// 2:有线
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 启用/禁用
DataEnable *bool `json:"DataEnable,omitnil,omitempty" name:"DataEnable"`
// 上行限速
UploadLimit *string `json:"UploadLimit,omitnil,omitempty" name:"UploadLimit"`
// 下行限速
DownloadLimit *string `json:"DownloadLimit,omitnil,omitempty" name:"DownloadLimit"`
// 接收实时速率
DataRx *uint64 `json:"DataRx,omitnil,omitempty" name:"DataRx"`
// 发送实时速率
DataTx *uint64 `json:"DataTx,omitnil,omitempty" name:"DataTx"`
// 运营商类型:
// 1: 中国移动;
// 2: 中国电信;
// 3: 中国联通
Vendor *int64 `json:"Vendor,omitnil,omitempty" name:"Vendor"`
// 连接状态:
// 0:无连接
// 1:连接中
// 2:已连接
State *int64 `json:"State,omitnil,omitempty" name:"State"`
// 公网IP
PublicIp *string `json:"PublicIp,omitnil,omitempty" name:"PublicIp"`
// 信号强度/单位:dbm
SignalStrength *int64 `json:"SignalStrength,omitnil,omitempty" name:"SignalStrength"`
// 数据网络类型:
// -1 :无效值
// 2:2G
// 3:3G
// 4:4G
// 5:5G
Rat *int64 `json:"Rat,omitnil,omitempty" name:"Rat"`
// 网卡名
NetInfoName *string `json:"NetInfoName,omitnil,omitempty" name:"NetInfoName"`
// 下行实时速率(浮点数类型代替上一版本DataRx的整型)
DownRate *float64 `json:"DownRate,omitnil,omitempty" name:"DownRate"`
// 上行实时速率(浮点数类型代替上一版本TxRate的整型)
UpRate *float64 `json:"UpRate,omitnil,omitempty" name:"UpRate"`
}
type DevicePayModeInfo ¶ added in v1.0.808
type DevicePayModeInfo struct {
// 设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 付费模式。
// 1:预付费流量包
// 0:按流量后付费
PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"`
// 付费模式描述
PayModeDesc *string `json:"PayModeDesc,omitnil,omitempty" name:"PayModeDesc"`
// 流量包ID,仅当付费模式为流量包类型时才有。
// 注意:此字段可能返回 null,表示取不到有效值。
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
}
type DownloadActiveDeviceCountRequest ¶ added in v1.0.1101
type DownloadActiveDeviceCountRequest struct {
*tchttp.BaseRequest
// 查询粒度。0:day, 1:week, 2:month, 不传默认为day
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
// 开始时间。单位秒
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间。单位秒
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 设备组, 不传查询全部
DevGroup *string `json:"DevGroup,omitnil,omitempty" name:"DevGroup"`
// license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
LicenseType *int64 `json:"LicenseType,omitnil,omitempty" name:"LicenseType"`
}
func NewDownloadActiveDeviceCountRequest ¶ added in v1.0.1101
func NewDownloadActiveDeviceCountRequest() (request *DownloadActiveDeviceCountRequest)
func (*DownloadActiveDeviceCountRequest) FromJsonString ¶ added in v1.0.1101
func (r *DownloadActiveDeviceCountRequest) 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 (*DownloadActiveDeviceCountRequest) ToJsonString ¶ added in v1.0.1101
func (r *DownloadActiveDeviceCountRequest) ToJsonString() string
type DownloadActiveDeviceCountRequestParams ¶ added in v1.0.1101
type DownloadActiveDeviceCountRequestParams struct {
// 查询粒度。0:day, 1:week, 2:month, 不传默认为day
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
// 开始时间。单位秒
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间。单位秒
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 设备组, 不传查询全部
DevGroup *string `json:"DevGroup,omitnil,omitempty" name:"DevGroup"`
// license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
LicenseType *int64 `json:"LicenseType,omitnil,omitempty" name:"LicenseType"`
}
Predefined struct for user
type DownloadActiveDeviceCountResponse ¶ added in v1.0.1101
type DownloadActiveDeviceCountResponse struct {
*tchttp.BaseResponse
Response *DownloadActiveDeviceCountResponseParams `json:"Response"`
}
func NewDownloadActiveDeviceCountResponse ¶ added in v1.0.1101
func NewDownloadActiveDeviceCountResponse() (response *DownloadActiveDeviceCountResponse)
func (*DownloadActiveDeviceCountResponse) FromJsonString ¶ added in v1.0.1101
func (r *DownloadActiveDeviceCountResponse) 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 (*DownloadActiveDeviceCountResponse) ToJsonString ¶ added in v1.0.1101
func (r *DownloadActiveDeviceCountResponse) ToJsonString() string
type DownloadActiveDeviceCountResponseParams ¶ added in v1.0.1101
type DownloadActiveDeviceCountResponseParams struct {
// URL地址
FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type ExpectedThreshold ¶ added in v1.0.351
type FlowDetails ¶ added in v1.0.602
type FlowDetails struct {
// 流量数据点
NetDetails []*NetDetails `json:"NetDetails,omitnil,omitempty" name:"NetDetails"`
// 设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 流量最大值(单位:bytes)
MaxValue *float64 `json:"MaxValue,omitnil,omitempty" name:"MaxValue"`
// 流量平均值(单位:bytes)
AvgValue *float64 `json:"AvgValue,omitnil,omitempty" name:"AvgValue"`
// 流量总值(单位:bytes)
TotalValue *float64 `json:"TotalValue,omitnil,omitempty" name:"TotalValue"`
}
type FlowPackageInfo ¶ added in v1.0.808
type FlowPackageInfo struct {
// 流量包的唯一资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 流量包所属的用户AppId
AppId *uint64 `json:"AppId,omitnil,omitempty" name:"AppId"`
// 流量包规格类型。可取值如下:
// DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
// DEVICE_3_FLOW_100G、
// DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
// 档位也影响流量包可绑定的设备数量上限:
// 20G:最多绑定1个设备
// 50G:最多绑定2个设备
// 100G:最多绑定3个设备
// 500G:最多绑定5个设备
PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`
// 流量包状态,0:未生效,1:有效期内,2:已过期
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// 购买时间,Unix时间戳格式,单位:秒
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// 生效时间,Unix时间戳格式,单位:秒
ActiveTime *int64 `json:"ActiveTime,omitnil,omitempty" name:"ActiveTime"`
// 过期时间,Unix时间戳格式,单位:秒
ExpireTime *int64 `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`
// 流量包绑定的设备ID列表
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
// 流量包总容量,单位:MB
CapacitySize *uint64 `json:"CapacitySize,omitnil,omitempty" name:"CapacitySize"`
// 流量包余量,单位:MB
CapacityRemain *uint64 `json:"CapacityRemain,omitnil,omitempty" name:"CapacityRemain"`
// 自动续费标识。true代表自动续费,false代表不自动续费
RenewFlag *bool `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
// 资源包变更状态,0:未发生变配;1:变配中;2:已变配或已续费
ModifyStatus *int64 `json:"ModifyStatus,omitnil,omitempty" name:"ModifyStatus"`
// 流量截断标识。true代表开启流量截断,false代表不开启流量截断
TruncFlag *bool `json:"TruncFlag,omitnil,omitempty" name:"TruncFlag"`
// 流量包精确余量,单位:MB
CapacityRemainPrecise *uint64 `json:"CapacityRemainPrecise,omitnil,omitempty" name:"CapacityRemainPrecise"`
}
type GetActiveDeviceCountRequest ¶ added in v1.0.1101
type GetActiveDeviceCountRequest struct {
*tchttp.BaseRequest
// 查询粒度。0:day, 1:week, 2:month, 不传默认为day
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
// 开始时间。单位秒
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间。单位秒
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 设备组, 不传查询全部
DevGroup *string `json:"DevGroup,omitnil,omitempty" name:"DevGroup"`
// license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
LicenseType *int64 `json:"LicenseType,omitnil,omitempty" name:"LicenseType"`
}
func NewGetActiveDeviceCountRequest ¶ added in v1.0.1101
func NewGetActiveDeviceCountRequest() (request *GetActiveDeviceCountRequest)
func (*GetActiveDeviceCountRequest) FromJsonString ¶ added in v1.0.1101
func (r *GetActiveDeviceCountRequest) 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 (*GetActiveDeviceCountRequest) ToJsonString ¶ added in v1.0.1101
func (r *GetActiveDeviceCountRequest) ToJsonString() string
type GetActiveDeviceCountRequestParams ¶ added in v1.0.1101
type GetActiveDeviceCountRequestParams struct {
// 查询粒度。0:day, 1:week, 2:month, 不传默认为day
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
// 开始时间。单位秒
StartTime *int64 `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间。单位秒
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 设备组, 不传查询全部
DevGroup *string `json:"DevGroup,omitnil,omitempty" name:"DevGroup"`
// license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
LicenseType *int64 `json:"LicenseType,omitnil,omitempty" name:"LicenseType"`
}
Predefined struct for user
type GetActiveDeviceCountResponse ¶ added in v1.0.1101
type GetActiveDeviceCountResponse struct {
*tchttp.BaseResponse
Response *GetActiveDeviceCountResponseParams `json:"Response"`
}
func NewGetActiveDeviceCountResponse ¶ added in v1.0.1101
func NewGetActiveDeviceCountResponse() (response *GetActiveDeviceCountResponse)
func (*GetActiveDeviceCountResponse) FromJsonString ¶ added in v1.0.1101
func (r *GetActiveDeviceCountResponse) 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 (*GetActiveDeviceCountResponse) ToJsonString ¶ added in v1.0.1101
func (r *GetActiveDeviceCountResponse) ToJsonString() string
type GetActiveDeviceCountResponseParams ¶ added in v1.0.1101
type GetActiveDeviceCountResponseParams struct {
// 激活设备统计
ActiveDeviceList []*ActiveDeviceList `json:"ActiveDeviceList,omitnil,omitempty" name:"ActiveDeviceList"`
// 查询粒度,0:day, 1:week, 2:month, 不传默认为day
Period *int64 `json:"Period,omitnil,omitempty" name:"Period"`
// 开始时间
StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 设备组
DevGroup *string `json:"DevGroup,omitnil,omitempty" name:"DevGroup"`
// license类型, 不传查询全部, 1: 租户月付,2:厂商月付,3:永久授权
LicenseType *string `json:"LicenseType,omitnil,omitempty" name:"LicenseType"`
// 租户ID
AppId *string `json:"AppId,omitnil,omitempty" name:"AppId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetDevicePayModeRequest ¶ added in v1.0.808
type GetDevicePayModeRequest struct {
*tchttp.BaseRequest
// 设备ID列表
DeviceIdList []*string `json:"DeviceIdList,omitnil,omitempty" name:"DeviceIdList"`
}
func NewGetDevicePayModeRequest ¶ added in v1.0.808
func NewGetDevicePayModeRequest() (request *GetDevicePayModeRequest)
func (*GetDevicePayModeRequest) FromJsonString ¶ added in v1.0.808
func (r *GetDevicePayModeRequest) 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 (*GetDevicePayModeRequest) ToJsonString ¶ added in v1.0.808
func (r *GetDevicePayModeRequest) ToJsonString() string
type GetDevicePayModeRequestParams ¶ added in v1.0.808
type GetDevicePayModeRequestParams struct {
// 设备ID列表
DeviceIdList []*string `json:"DeviceIdList,omitnil,omitempty" name:"DeviceIdList"`
}
Predefined struct for user
type GetDevicePayModeResponse ¶ added in v1.0.808
type GetDevicePayModeResponse struct {
*tchttp.BaseResponse
Response *GetDevicePayModeResponseParams `json:"Response"`
}
func NewGetDevicePayModeResponse ¶ added in v1.0.808
func NewGetDevicePayModeResponse() (response *GetDevicePayModeResponse)
func (*GetDevicePayModeResponse) FromJsonString ¶ added in v1.0.808
func (r *GetDevicePayModeResponse) 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 (*GetDevicePayModeResponse) ToJsonString ¶ added in v1.0.808
func (r *GetDevicePayModeResponse) ToJsonString() string
type GetDevicePayModeResponseParams ¶ added in v1.0.808
type GetDevicePayModeResponseParams struct {
// 结果信息
Result []*DevicePayModeInfo `json:"Result,omitnil,omitempty" name:"Result"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetDeviceRequest ¶ added in v1.0.496
type GetDeviceRequest struct {
*tchttp.BaseRequest
// 搜索指定设备的id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
func NewGetDeviceRequest ¶ added in v1.0.496
func NewGetDeviceRequest() (request *GetDeviceRequest)
func (*GetDeviceRequest) FromJsonString ¶ added in v1.0.496
func (r *GetDeviceRequest) 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 (*GetDeviceRequest) ToJsonString ¶ added in v1.0.496
func (r *GetDeviceRequest) ToJsonString() string
type GetDeviceRequestParams ¶ added in v1.0.496
type GetDeviceRequestParams struct {
// 搜索指定设备的id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
Predefined struct for user
type GetDeviceResponse ¶ added in v1.0.496
type GetDeviceResponse struct {
*tchttp.BaseResponse
Response *GetDeviceResponseParams `json:"Response"`
}
func NewGetDeviceResponse ¶ added in v1.0.496
func NewGetDeviceResponse() (response *GetDeviceResponse)
func (*GetDeviceResponse) FromJsonString ¶ added in v1.0.496
func (r *GetDeviceResponse) 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 (*GetDeviceResponse) ToJsonString ¶ added in v1.0.496
func (r *GetDeviceResponse) ToJsonString() string
type GetDeviceResponseParams ¶ added in v1.0.496
type GetDeviceResponseParams struct {
// 设备详细信息
DeviceDetails *DeviceDetails `json:"DeviceDetails,omitnil,omitempty" name:"DeviceDetails"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetDevicesRequest ¶ added in v1.0.496
type GetDevicesRequest struct {
*tchttp.BaseRequest
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索设备的关键字(ID或者设备名),为空时匹配所有设备
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
// DeviceType
// 不传:返回所有设备;
// 1:自有设备;
// 2:三方设备
DeviceType *int64 `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`
}
func NewGetDevicesRequest ¶ added in v1.0.496
func NewGetDevicesRequest() (request *GetDevicesRequest)
func (*GetDevicesRequest) FromJsonString ¶ added in v1.0.496
func (r *GetDevicesRequest) 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 (*GetDevicesRequest) ToJsonString ¶ added in v1.0.496
func (r *GetDevicesRequest) ToJsonString() string
type GetDevicesRequestParams ¶ added in v1.0.496
type GetDevicesRequestParams struct {
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索设备的关键字(ID或者设备名),为空时匹配所有设备
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
// DeviceType
// 不传:返回所有设备;
// 1:自有设备;
// 2:三方设备
DeviceType *int64 `json:"DeviceType,omitnil,omitempty" name:"DeviceType"`
}
Predefined struct for user
type GetDevicesResponse ¶ added in v1.0.496
type GetDevicesResponse struct {
*tchttp.BaseResponse
Response *GetDevicesResponseParams `json:"Response"`
}
func NewGetDevicesResponse ¶ added in v1.0.496
func NewGetDevicesResponse() (response *GetDevicesResponse)
func (*GetDevicesResponse) FromJsonString ¶ added in v1.0.496
func (r *GetDevicesResponse) 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 (*GetDevicesResponse) ToJsonString ¶ added in v1.0.496
func (r *GetDevicesResponse) ToJsonString() string
type GetDevicesResponseParams ¶ added in v1.0.496
type GetDevicesResponseParams struct {
// 设备信息列表
DeviceInfos []*DeviceBaseInfo `json:"DeviceInfos,omitnil,omitempty" name:"DeviceInfos"`
// 设备总记录条数
Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`
// 总页数
TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetFlowAlarmInfoRequest ¶ added in v1.0.930
type GetFlowAlarmInfoRequest struct {
*tchttp.BaseRequest
}
func NewGetFlowAlarmInfoRequest ¶ added in v1.0.930
func NewGetFlowAlarmInfoRequest() (request *GetFlowAlarmInfoRequest)
func (*GetFlowAlarmInfoRequest) FromJsonString ¶ added in v1.0.930
func (r *GetFlowAlarmInfoRequest) 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 (*GetFlowAlarmInfoRequest) ToJsonString ¶ added in v1.0.930
func (r *GetFlowAlarmInfoRequest) ToJsonString() string
type GetFlowAlarmInfoRequestParams ¶ added in v1.0.930
type GetFlowAlarmInfoRequestParams struct {
}
Predefined struct for user
type GetFlowAlarmInfoResponse ¶ added in v1.0.930
type GetFlowAlarmInfoResponse struct {
*tchttp.BaseResponse
Response *GetFlowAlarmInfoResponseParams `json:"Response"`
}
func NewGetFlowAlarmInfoResponse ¶ added in v1.0.930
func NewGetFlowAlarmInfoResponse() (response *GetFlowAlarmInfoResponse)
func (*GetFlowAlarmInfoResponse) FromJsonString ¶ added in v1.0.930
func (r *GetFlowAlarmInfoResponse) 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 (*GetFlowAlarmInfoResponse) ToJsonString ¶ added in v1.0.930
func (r *GetFlowAlarmInfoResponse) ToJsonString() string
type GetFlowAlarmInfoResponseParams ¶ added in v1.0.930
type GetFlowAlarmInfoResponseParams struct {
// 流量包的告警阈值
AlarmValue *int64 `json:"AlarmValue,omitnil,omitempty" name:"AlarmValue"`
// 告警通知回调url
NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"`
// 告警通知回调key
CallbackKey *string `json:"CallbackKey,omitnil,omitempty" name:"CallbackKey"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetFlowPackagesRequest ¶ added in v1.0.808
type GetFlowPackagesRequest struct {
*tchttp.BaseRequest
// 页码,从1开始
PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 每页个数
PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 流量包的唯一资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 流量包绑定的设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 流量包状态,0:未生效,1:有效期内,2:已过期
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
func NewGetFlowPackagesRequest ¶ added in v1.0.808
func NewGetFlowPackagesRequest() (request *GetFlowPackagesRequest)
func (*GetFlowPackagesRequest) FromJsonString ¶ added in v1.0.808
func (r *GetFlowPackagesRequest) 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 (*GetFlowPackagesRequest) ToJsonString ¶ added in v1.0.808
func (r *GetFlowPackagesRequest) ToJsonString() string
type GetFlowPackagesRequestParams ¶ added in v1.0.808
type GetFlowPackagesRequestParams struct {
// 页码,从1开始
PageNumber *uint64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 每页个数
PageSize *uint64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 流量包的唯一资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 流量包绑定的设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 流量包状态,0:未生效,1:有效期内,2:已过期
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
Predefined struct for user
type GetFlowPackagesResponse ¶ added in v1.0.808
type GetFlowPackagesResponse struct {
*tchttp.BaseResponse
Response *GetFlowPackagesResponseParams `json:"Response"`
}
func NewGetFlowPackagesResponse ¶ added in v1.0.808
func NewGetFlowPackagesResponse() (response *GetFlowPackagesResponse)
func (*GetFlowPackagesResponse) FromJsonString ¶ added in v1.0.808
func (r *GetFlowPackagesResponse) 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 (*GetFlowPackagesResponse) ToJsonString ¶ added in v1.0.808
func (r *GetFlowPackagesResponse) ToJsonString() string
type GetFlowPackagesResponseParams ¶ added in v1.0.808
type GetFlowPackagesResponseParams struct {
// 流量包列表
PackageList []*FlowPackageInfo `json:"PackageList,omitnil,omitempty" name:"PackageList"`
// 总数
Total *uint64 `json:"Total,omitnil,omitempty" name:"Total"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetFlowStatisticByGroupRequest ¶ added in v1.0.930
type GetFlowStatisticByGroupRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 开始查找时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 截止时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 流量种类(1:上行流量,2:下行流量, 3: 上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
}
func NewGetFlowStatisticByGroupRequest ¶ added in v1.0.930
func NewGetFlowStatisticByGroupRequest() (request *GetFlowStatisticByGroupRequest)
func (*GetFlowStatisticByGroupRequest) FromJsonString ¶ added in v1.0.930
func (r *GetFlowStatisticByGroupRequest) 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 (*GetFlowStatisticByGroupRequest) ToJsonString ¶ added in v1.0.930
func (r *GetFlowStatisticByGroupRequest) ToJsonString() string
type GetFlowStatisticByGroupRequestParams ¶ added in v1.0.930
type GetFlowStatisticByGroupRequestParams struct {
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 开始查找时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 截止时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 流量种类(1:上行流量,2:下行流量, 3: 上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
}
Predefined struct for user
type GetFlowStatisticByGroupResponse ¶ added in v1.0.930
type GetFlowStatisticByGroupResponse struct {
*tchttp.BaseResponse
Response *GetFlowStatisticByGroupResponseParams `json:"Response"`
}
func NewGetFlowStatisticByGroupResponse ¶ added in v1.0.930
func NewGetFlowStatisticByGroupResponse() (response *GetFlowStatisticByGroupResponse)
func (*GetFlowStatisticByGroupResponse) FromJsonString ¶ added in v1.0.930
func (r *GetFlowStatisticByGroupResponse) 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 (*GetFlowStatisticByGroupResponse) ToJsonString ¶ added in v1.0.930
func (r *GetFlowStatisticByGroupResponse) ToJsonString() string
type GetFlowStatisticByGroupResponseParams ¶ added in v1.0.930
type GetFlowStatisticByGroupResponseParams struct {
// 流量详细信息
NetDetails []*NetDetails `json:"NetDetails,omitnil,omitempty" name:"NetDetails"`
// 查找时间段流量使用最大值(单位:byte)
MaxValue *float64 `json:"MaxValue,omitnil,omitempty" name:"MaxValue"`
// 查找时间段流量使用平均值(单位:byte)
AvgValue *float64 `json:"AvgValue,omitnil,omitempty" name:"AvgValue"`
// 查找时间段流量使用总量(单位:byte)
TotalValue *float64 `json:"TotalValue,omitnil,omitempty" name:"TotalValue"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetFlowStatisticByRegionRequest ¶ added in v1.0.961
type GetFlowStatisticByRegionRequest struct {
*tchttp.BaseRequest
// 开始查找时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 截止时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 流量种类(1:上行流量,2:下行流量, 3: 上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 网关类型。0:公有云网关;1:自有网关。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
}
func NewGetFlowStatisticByRegionRequest ¶ added in v1.0.961
func NewGetFlowStatisticByRegionRequest() (request *GetFlowStatisticByRegionRequest)
func (*GetFlowStatisticByRegionRequest) FromJsonString ¶ added in v1.0.961
func (r *GetFlowStatisticByRegionRequest) 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 (*GetFlowStatisticByRegionRequest) ToJsonString ¶ added in v1.0.961
func (r *GetFlowStatisticByRegionRequest) ToJsonString() string
type GetFlowStatisticByRegionRequestParams ¶ added in v1.0.961
type GetFlowStatisticByRegionRequestParams struct {
// 开始查找时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 截止时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 流量种类(1:上行流量,2:下行流量, 3: 上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 网关类型。0:公有云网关;1:自有网关。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
}
Predefined struct for user
type GetFlowStatisticByRegionResponse ¶ added in v1.0.961
type GetFlowStatisticByRegionResponse struct {
*tchttp.BaseResponse
Response *GetFlowStatisticByRegionResponseParams `json:"Response"`
}
func NewGetFlowStatisticByRegionResponse ¶ added in v1.0.961
func NewGetFlowStatisticByRegionResponse() (response *GetFlowStatisticByRegionResponse)
func (*GetFlowStatisticByRegionResponse) FromJsonString ¶ added in v1.0.961
func (r *GetFlowStatisticByRegionResponse) 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 (*GetFlowStatisticByRegionResponse) ToJsonString ¶ added in v1.0.961
func (r *GetFlowStatisticByRegionResponse) ToJsonString() string
type GetFlowStatisticByRegionResponseParams ¶ added in v1.0.961
type GetFlowStatisticByRegionResponseParams struct {
// 流量详细信息
NetDetails []*NetDetails `json:"NetDetails,omitnil,omitempty" name:"NetDetails"`
// 查找时间段流量使用最大值(单位:byte)
MaxValue *float64 `json:"MaxValue,omitnil,omitempty" name:"MaxValue"`
// 查找时间段流量使用平均值(单位:byte)
AvgValue *float64 `json:"AvgValue,omitnil,omitempty" name:"AvgValue"`
// 查找时间段流量使用总量(单位:byte)
TotalValue *float64 `json:"TotalValue,omitnil,omitempty" name:"TotalValue"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetFlowStatisticRequest ¶ added in v1.0.497
type GetFlowStatisticRequest struct {
*tchttp.BaseRequest
// 设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 开始查找时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 截止时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 流量种类(1:上行流量,2:下行流量,3:上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
// 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}
func NewGetFlowStatisticRequest ¶ added in v1.0.497
func NewGetFlowStatisticRequest() (request *GetFlowStatisticRequest)
func (*GetFlowStatisticRequest) FromJsonString ¶ added in v1.0.497
func (r *GetFlowStatisticRequest) 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 (*GetFlowStatisticRequest) ToJsonString ¶ added in v1.0.497
func (r *GetFlowStatisticRequest) ToJsonString() string
type GetFlowStatisticRequestParams ¶ added in v1.0.497
type GetFlowStatisticRequestParams struct {
// 设备ID
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 开始查找时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 截止时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 流量种类(1:上行流量,2:下行流量,3:上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
// 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}
Predefined struct for user
type GetFlowStatisticResponse ¶ added in v1.0.497
type GetFlowStatisticResponse struct {
*tchttp.BaseResponse
Response *GetFlowStatisticResponseParams `json:"Response"`
}
func NewGetFlowStatisticResponse ¶ added in v1.0.497
func NewGetFlowStatisticResponse() (response *GetFlowStatisticResponse)
func (*GetFlowStatisticResponse) FromJsonString ¶ added in v1.0.497
func (r *GetFlowStatisticResponse) 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 (*GetFlowStatisticResponse) ToJsonString ¶ added in v1.0.497
func (r *GetFlowStatisticResponse) ToJsonString() string
type GetFlowStatisticResponseParams ¶ added in v1.0.497
type GetFlowStatisticResponseParams struct {
// 流量详细信息
NetDetails []*NetDetails `json:"NetDetails,omitnil,omitempty" name:"NetDetails"`
// 查找时间段流量使用最大值(单位:byte)
MaxValue *float64 `json:"MaxValue,omitnil,omitempty" name:"MaxValue"`
// 查找时间段流量使用平均值(单位:byte)
AvgValue *float64 `json:"AvgValue,omitnil,omitempty" name:"AvgValue"`
// 查找时间段流量使用总量(单位:byte)
TotalValue *float64 `json:"TotalValue,omitnil,omitempty" name:"TotalValue"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetGroupDetailRequest ¶ added in v1.0.961
type GetGroupDetailRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索关键字
KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"`
}
func NewGetGroupDetailRequest ¶ added in v1.0.961
func NewGetGroupDetailRequest() (request *GetGroupDetailRequest)
func (*GetGroupDetailRequest) FromJsonString ¶ added in v1.0.961
func (r *GetGroupDetailRequest) 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 (*GetGroupDetailRequest) ToJsonString ¶ added in v1.0.961
func (r *GetGroupDetailRequest) ToJsonString() string
type GetGroupDetailRequestParams ¶ added in v1.0.961
type GetGroupDetailRequestParams struct {
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索关键字
KeyWord *string `json:"KeyWord,omitnil,omitempty" name:"KeyWord"`
}
Predefined struct for user
type GetGroupDetailResponse ¶ added in v1.0.961
type GetGroupDetailResponse struct {
*tchttp.BaseResponse
Response *GetGroupDetailResponseParams `json:"Response"`
}
func NewGetGroupDetailResponse ¶ added in v1.0.961
func NewGetGroupDetailResponse() (response *GetGroupDetailResponse)
func (*GetGroupDetailResponse) FromJsonString ¶ added in v1.0.961
func (r *GetGroupDetailResponse) 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 (*GetGroupDetailResponse) ToJsonString ¶ added in v1.0.961
func (r *GetGroupDetailResponse) ToJsonString() string
type GetGroupDetailResponseParams ¶ added in v1.0.961
type GetGroupDetailResponseParams struct {
// 分组基本信息
GroupInfo *GroupInfo `json:"GroupInfo,omitnil,omitempty" name:"GroupInfo"`
// 分组中设备列表
DeviceInfos []*DeviceBaseInfo `json:"DeviceInfos,omitnil,omitempty" name:"DeviceInfos"`
// 设备总记录条数
Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`
// 总页数
TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetGroupListRequest ¶ added in v1.0.961
type GetGroupListRequest struct {
*tchttp.BaseRequest
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索分组的关键字,为空时匹配所有分组
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}
func NewGetGroupListRequest ¶ added in v1.0.961
func NewGetGroupListRequest() (request *GetGroupListRequest)
func (*GetGroupListRequest) FromJsonString ¶ added in v1.0.961
func (r *GetGroupListRequest) 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 (*GetGroupListRequest) ToJsonString ¶ added in v1.0.961
func (r *GetGroupListRequest) ToJsonString() string
type GetGroupListRequestParams ¶ added in v1.0.961
type GetGroupListRequestParams struct {
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索分组的关键字,为空时匹配所有分组
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}
Predefined struct for user
type GetGroupListResponse ¶ added in v1.0.961
type GetGroupListResponse struct {
*tchttp.BaseResponse
Response *GetGroupListResponseParams `json:"Response"`
}
func NewGetGroupListResponse ¶ added in v1.0.961
func NewGetGroupListResponse() (response *GetGroupListResponse)
func (*GetGroupListResponse) FromJsonString ¶ added in v1.0.961
func (r *GetGroupListResponse) 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 (*GetGroupListResponse) ToJsonString ¶ added in v1.0.961
func (r *GetGroupListResponse) ToJsonString() string
type GetGroupListResponseParams ¶ added in v1.0.961
type GetGroupListResponseParams struct {
// 设备信息列表
GroupInfos []*GroupInfo `json:"GroupInfos,omitnil,omitempty" name:"GroupInfos"`
// 设备总记录条数
Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`
// 总页数
TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetHardwareListRequest ¶ added in v1.0.805
type GetHardwareListRequest struct {
*tchttp.BaseRequest
// 页码
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 页面设备数量
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 关键字
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}
func NewGetHardwareListRequest ¶ added in v1.0.805
func NewGetHardwareListRequest() (request *GetHardwareListRequest)
func (*GetHardwareListRequest) FromJsonString ¶ added in v1.0.805
func (r *GetHardwareListRequest) 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 (*GetHardwareListRequest) ToJsonString ¶ added in v1.0.805
func (r *GetHardwareListRequest) ToJsonString() string
type GetHardwareListRequestParams ¶ added in v1.0.805
type GetHardwareListRequestParams struct {
// 页码
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 页面设备数量
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 关键字
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
}
Predefined struct for user
type GetHardwareListResponse ¶ added in v1.0.805
type GetHardwareListResponse struct {
*tchttp.BaseResponse
Response *GetHardwareListResponseParams `json:"Response"`
}
func NewGetHardwareListResponse ¶ added in v1.0.805
func NewGetHardwareListResponse() (response *GetHardwareListResponse)
func (*GetHardwareListResponse) FromJsonString ¶ added in v1.0.805
func (r *GetHardwareListResponse) 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 (*GetHardwareListResponse) ToJsonString ¶ added in v1.0.805
func (r *GetHardwareListResponse) ToJsonString() string
type GetHardwareListResponseParams ¶ added in v1.0.805
type GetHardwareListResponseParams struct {
// 硬件信息列表
HardwareInfos []*HardwareInfo `json:"HardwareInfos,omitnil,omitempty" name:"HardwareInfos"`
// 硬件总数
Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`
// 总页数
TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetL3ConnListRequest ¶ added in v1.0.968
type GetL3ConnListRequest struct {
*tchttp.BaseRequest
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索分组的DeviceId,为空时匹配所有分组
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
func NewGetL3ConnListRequest ¶ added in v1.0.968
func NewGetL3ConnListRequest() (request *GetL3ConnListRequest)
func (*GetL3ConnListRequest) FromJsonString ¶ added in v1.0.968
func (r *GetL3ConnListRequest) 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 (*GetL3ConnListRequest) ToJsonString ¶ added in v1.0.968
func (r *GetL3ConnListRequest) ToJsonString() string
type GetL3ConnListRequestParams ¶ added in v1.0.968
type GetL3ConnListRequestParams struct {
// 每页显示记录数,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 当前查看页码,PageSize、PageNumber值均为-1 时,按照1页无限制条数匹配所有设备
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 搜索分组的DeviceId,为空时匹配所有分组
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
}
Predefined struct for user
type GetL3ConnListResponse ¶ added in v1.0.968
type GetL3ConnListResponse struct {
*tchttp.BaseResponse
Response *GetL3ConnListResponseParams `json:"Response"`
}
func NewGetL3ConnListResponse ¶ added in v1.0.968
func NewGetL3ConnListResponse() (response *GetL3ConnListResponse)
func (*GetL3ConnListResponse) FromJsonString ¶ added in v1.0.968
func (r *GetL3ConnListResponse) 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 (*GetL3ConnListResponse) ToJsonString ¶ added in v1.0.968
func (r *GetL3ConnListResponse) ToJsonString() string
type GetL3ConnListResponseParams ¶ added in v1.0.968
type GetL3ConnListResponseParams struct {
// 互通规则列表
L3ConnList []*L3ConnInfo `json:"L3ConnList,omitnil,omitempty" name:"L3ConnList"`
// 设备总记录条数
Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`
// 总页数
TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetMultiFlowStatisticRequest ¶ added in v1.0.602
type GetMultiFlowStatisticRequest struct {
*tchttp.BaseRequest
// 设备id列表,单次最多请求10个设备
DeviceIds []*string `json:"DeviceIds,omitnil,omitempty" name:"DeviceIds"`
// 1659514436
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 1659515000
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 统计流量类型(1:上行流量,2:下行流量, 3: 上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 统计时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
}
func NewGetMultiFlowStatisticRequest ¶ added in v1.0.602
func NewGetMultiFlowStatisticRequest() (request *GetMultiFlowStatisticRequest)
func (*GetMultiFlowStatisticRequest) FromJsonString ¶ added in v1.0.602
func (r *GetMultiFlowStatisticRequest) 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 (*GetMultiFlowStatisticRequest) ToJsonString ¶ added in v1.0.602
func (r *GetMultiFlowStatisticRequest) ToJsonString() string
type GetMultiFlowStatisticRequestParams ¶ added in v1.0.602
type GetMultiFlowStatisticRequestParams struct {
// 设备id列表,单次最多请求10个设备
DeviceIds []*string `json:"DeviceIds,omitnil,omitempty" name:"DeviceIds"`
// 1659514436
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 1659515000
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 统计流量类型(1:上行流量,2:下行流量, 3: 上下行总和)
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 统计时间粒度(1:按小时统计,2:按天统计)
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
}
Predefined struct for user
type GetMultiFlowStatisticResponse ¶ added in v1.0.602
type GetMultiFlowStatisticResponse struct {
*tchttp.BaseResponse
Response *GetMultiFlowStatisticResponseParams `json:"Response"`
}
func NewGetMultiFlowStatisticResponse ¶ added in v1.0.602
func NewGetMultiFlowStatisticResponse() (response *GetMultiFlowStatisticResponse)
func (*GetMultiFlowStatisticResponse) FromJsonString ¶ added in v1.0.602
func (r *GetMultiFlowStatisticResponse) 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 (*GetMultiFlowStatisticResponse) ToJsonString ¶ added in v1.0.602
func (r *GetMultiFlowStatisticResponse) ToJsonString() string
type GetMultiFlowStatisticResponseParams ¶ added in v1.0.602
type GetMultiFlowStatisticResponseParams struct {
// 批量设备流量信息
FlowDetails []*FlowDetails `json:"FlowDetails,omitnil,omitempty" name:"FlowDetails"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetNetMonitorRequest ¶ added in v1.0.784
type GetNetMonitorRequest struct {
*tchttp.BaseRequest
// 设备id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 开始时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 结束时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 统计指标(上行速率:"TxRate":bit/s,下行速率:"RxRate":bit/s,丢包:"Loss":%,时延:"RTT":ms)
Metrics *string `json:"Metrics,omitnil,omitempty" name:"Metrics"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
}
func NewGetNetMonitorRequest ¶ added in v1.0.784
func NewGetNetMonitorRequest() (request *GetNetMonitorRequest)
func (*GetNetMonitorRequest) FromJsonString ¶ added in v1.0.784
func (r *GetNetMonitorRequest) 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 (*GetNetMonitorRequest) ToJsonString ¶ added in v1.0.784
func (r *GetNetMonitorRequest) ToJsonString() string
type GetNetMonitorRequestParams ¶ added in v1.0.784
type GetNetMonitorRequestParams struct {
// 设备id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 开始时间
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 结束时间
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 统计指标(上行速率:"TxRate":bit/s,下行速率:"RxRate":bit/s,丢包:"Loss":%,时延:"RTT":ms)
Metrics *string `json:"Metrics,omitnil,omitempty" name:"Metrics"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
}
Predefined struct for user
type GetNetMonitorResponse ¶ added in v1.0.784
type GetNetMonitorResponse struct {
*tchttp.BaseResponse
Response *GetNetMonitorResponseParams `json:"Response"`
}
func NewGetNetMonitorResponse ¶ added in v1.0.784
func NewGetNetMonitorResponse() (response *GetNetMonitorResponse)
func (*GetNetMonitorResponse) FromJsonString ¶ added in v1.0.784
func (r *GetNetMonitorResponse) 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 (*GetNetMonitorResponse) ToJsonString ¶ added in v1.0.784
func (r *GetNetMonitorResponse) ToJsonString() string
type GetNetMonitorResponseParams ¶ added in v1.0.784
type GetNetMonitorResponseParams struct {
// 监控数据
MonitorData []*MonitorData `json:"MonitorData,omitnil,omitempty" name:"MonitorData"`
// 接入区域。取值范围:['MC','AP','EU','AM']
// MC=中国大陆
// AP=亚太
// EU=欧洲
// AM=美洲
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetPublicKeyRequest ¶ added in v1.0.540
type GetPublicKeyRequest struct {
*tchttp.BaseRequest
}
func NewGetPublicKeyRequest ¶ added in v1.0.540
func NewGetPublicKeyRequest() (request *GetPublicKeyRequest)
func (*GetPublicKeyRequest) FromJsonString ¶ added in v1.0.540
func (r *GetPublicKeyRequest) 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 (*GetPublicKeyRequest) ToJsonString ¶ added in v1.0.540
func (r *GetPublicKeyRequest) ToJsonString() string
type GetPublicKeyRequestParams ¶ added in v1.0.540
type GetPublicKeyRequestParams struct {
}
Predefined struct for user
type GetPublicKeyResponse ¶ added in v1.0.540
type GetPublicKeyResponse struct {
*tchttp.BaseResponse
Response *GetPublicKeyResponseParams `json:"Response"`
}
func NewGetPublicKeyResponse ¶ added in v1.0.540
func NewGetPublicKeyResponse() (response *GetPublicKeyResponse)
func (*GetPublicKeyResponse) FromJsonString ¶ added in v1.0.540
func (r *GetPublicKeyResponse) 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 (*GetPublicKeyResponse) ToJsonString ¶ added in v1.0.540
func (r *GetPublicKeyResponse) ToJsonString() string
type GetPublicKeyResponseParams ¶ added in v1.0.540
type GetPublicKeyResponseParams struct {
// 非对称公钥
PublicKey *string `json:"PublicKey,omitnil,omitempty" name:"PublicKey"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetStatisticDataRequest ¶ added in v1.0.496
type GetStatisticDataRequest struct {
*tchttp.BaseRequest
// 设备ID。若不指定设备,可传"-1"
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 统计开始时间,单位:s
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 统计结束时间,单位:s
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 聚合粒度:
// 1:按小时统计
// 2:按天统计
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
// 设备ID列表,最多10个设备,下载多个设备流量和时使用,此时DeviceId可传"-1"
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
// 设备分组ID,若不指定分组则不传,按分组下载数据时使用
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
func NewGetStatisticDataRequest ¶ added in v1.0.496
func NewGetStatisticDataRequest() (request *GetStatisticDataRequest)
func (*GetStatisticDataRequest) FromJsonString ¶ added in v1.0.496
func (r *GetStatisticDataRequest) 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 (*GetStatisticDataRequest) ToJsonString ¶ added in v1.0.496
func (r *GetStatisticDataRequest) ToJsonString() string
type GetStatisticDataRequestParams ¶ added in v1.0.496
type GetStatisticDataRequestParams struct {
// 设备ID。若不指定设备,可传"-1"
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 统计开始时间,单位:s
BeginTime *int64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"`
// 统计结束时间,单位:s
EndTime *int64 `json:"EndTime,omitnil,omitempty" name:"EndTime"`
// 聚合粒度:
// 1:按小时统计
// 2:按天统计
TimeGranularity *int64 `json:"TimeGranularity,omitnil,omitempty" name:"TimeGranularity"`
// 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"`
// 网关类型。0:公有云网关;1:自有网关。不传默认为0。
GatewayType *int64 `json:"GatewayType,omitnil,omitempty" name:"GatewayType"`
// 设备ID列表,最多10个设备,下载多个设备流量和时使用,此时DeviceId可传"-1"
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
// 设备分组ID,若不指定分组则不传,按分组下载数据时使用
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
}
Predefined struct for user
type GetStatisticDataResponse ¶ added in v1.0.496
type GetStatisticDataResponse struct {
*tchttp.BaseResponse
Response *GetStatisticDataResponseParams `json:"Response"`
}
func NewGetStatisticDataResponse ¶ added in v1.0.496
func NewGetStatisticDataResponse() (response *GetStatisticDataResponse)
func (*GetStatisticDataResponse) FromJsonString ¶ added in v1.0.496
func (r *GetStatisticDataResponse) 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 (*GetStatisticDataResponse) ToJsonString ¶ added in v1.0.496
func (r *GetStatisticDataResponse) ToJsonString() string
type GetStatisticDataResponseParams ¶ added in v1.0.496
type GetStatisticDataResponseParams struct {
// 文件地址url
FilePath *string `json:"FilePath,omitnil,omitempty" name:"FilePath"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GetVendorHardwareRequest ¶ added in v1.0.805
type GetVendorHardwareRequest struct {
*tchttp.BaseRequest
// 页码
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 页面数量
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 关键字
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
// 激活状态,
// 空:全部;
// 1:待激活;
// 2:已激活;
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
func NewGetVendorHardwareRequest ¶ added in v1.0.805
func NewGetVendorHardwareRequest() (request *GetVendorHardwareRequest)
func (*GetVendorHardwareRequest) FromJsonString ¶ added in v1.0.805
func (r *GetVendorHardwareRequest) 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 (*GetVendorHardwareRequest) ToJsonString ¶ added in v1.0.805
func (r *GetVendorHardwareRequest) ToJsonString() string
type GetVendorHardwareRequestParams ¶ added in v1.0.805
type GetVendorHardwareRequestParams struct {
// 页码
PageNumber *int64 `json:"PageNumber,omitnil,omitempty" name:"PageNumber"`
// 页面数量
PageSize *int64 `json:"PageSize,omitnil,omitempty" name:"PageSize"`
// 关键字
Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`
// 激活状态,
// 空:全部;
// 1:待激活;
// 2:已激活;
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
}
Predefined struct for user
type GetVendorHardwareResponse ¶ added in v1.0.805
type GetVendorHardwareResponse struct {
*tchttp.BaseResponse
Response *GetVendorHardwareResponseParams `json:"Response"`
}
func NewGetVendorHardwareResponse ¶ added in v1.0.805
func NewGetVendorHardwareResponse() (response *GetVendorHardwareResponse)
func (*GetVendorHardwareResponse) FromJsonString ¶ added in v1.0.805
func (r *GetVendorHardwareResponse) 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 (*GetVendorHardwareResponse) ToJsonString ¶ added in v1.0.805
func (r *GetVendorHardwareResponse) ToJsonString() string
type GetVendorHardwareResponseParams ¶ added in v1.0.805
type GetVendorHardwareResponseParams struct {
// 硬件信息列表
VendorHardware []*VendorHardware `json:"VendorHardware,omitnil,omitempty" name:"VendorHardware"`
// 设备总数
Length *int64 `json:"Length,omitnil,omitempty" name:"Length"`
// 总页数
TotalPage *int64 `json:"TotalPage,omitnil,omitempty" name:"TotalPage"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GroupAddDeviceRequest ¶ added in v1.0.961
type GroupAddDeviceRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 待添加的设备列表
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}
func NewGroupAddDeviceRequest ¶ added in v1.0.961
func NewGroupAddDeviceRequest() (request *GroupAddDeviceRequest)
func (*GroupAddDeviceRequest) FromJsonString ¶ added in v1.0.961
func (r *GroupAddDeviceRequest) 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 (*GroupAddDeviceRequest) ToJsonString ¶ added in v1.0.961
func (r *GroupAddDeviceRequest) ToJsonString() string
type GroupAddDeviceRequestParams ¶ added in v1.0.961
type GroupAddDeviceRequestParams struct {
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 待添加的设备列表
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}
Predefined struct for user
type GroupAddDeviceResponse ¶ added in v1.0.961
type GroupAddDeviceResponse struct {
*tchttp.BaseResponse
Response *GroupAddDeviceResponseParams `json:"Response"`
}
func NewGroupAddDeviceResponse ¶ added in v1.0.961
func NewGroupAddDeviceResponse() (response *GroupAddDeviceResponse)
func (*GroupAddDeviceResponse) FromJsonString ¶ added in v1.0.961
func (r *GroupAddDeviceResponse) 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 (*GroupAddDeviceResponse) ToJsonString ¶ added in v1.0.961
func (r *GroupAddDeviceResponse) ToJsonString() string
type GroupAddDeviceResponseParams ¶ added in v1.0.961
type GroupAddDeviceResponseParams struct {
// 分组中的设备数量
DeviceNum *int64 `json:"DeviceNum,omitnil,omitempty" name:"DeviceNum"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GroupDeleteDeviceRequest ¶ added in v1.0.961
type GroupDeleteDeviceRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 待删除的设备列表
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}
func NewGroupDeleteDeviceRequest ¶ added in v1.0.961
func NewGroupDeleteDeviceRequest() (request *GroupDeleteDeviceRequest)
func (*GroupDeleteDeviceRequest) FromJsonString ¶ added in v1.0.961
func (r *GroupDeleteDeviceRequest) 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 (*GroupDeleteDeviceRequest) ToJsonString ¶ added in v1.0.961
func (r *GroupDeleteDeviceRequest) ToJsonString() string
type GroupDeleteDeviceRequestParams ¶ added in v1.0.961
type GroupDeleteDeviceRequestParams struct {
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 待删除的设备列表
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
}
Predefined struct for user
type GroupDeleteDeviceResponse ¶ added in v1.0.961
type GroupDeleteDeviceResponse struct {
*tchttp.BaseResponse
Response *GroupDeleteDeviceResponseParams `json:"Response"`
}
func NewGroupDeleteDeviceResponse ¶ added in v1.0.961
func NewGroupDeleteDeviceResponse() (response *GroupDeleteDeviceResponse)
func (*GroupDeleteDeviceResponse) FromJsonString ¶ added in v1.0.961
func (r *GroupDeleteDeviceResponse) 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 (*GroupDeleteDeviceResponse) ToJsonString ¶ added in v1.0.961
func (r *GroupDeleteDeviceResponse) ToJsonString() string
type GroupDeleteDeviceResponseParams ¶ added in v1.0.961
type GroupDeleteDeviceResponseParams struct {
// 分组中的设备数量
DeviceNum *int64 `json:"DeviceNum,omitnil,omitempty" name:"DeviceNum"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type GroupInfo ¶ added in v1.0.961
type GroupInfo struct {
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 分组名
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 分组创建的时间,单位:ms
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// 分组更新的时间,单位:ms
UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`
// 分组描述
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// 分组中的设备数量
DeviceNum *int64 `json:"DeviceNum,omitnil,omitempty" name:"DeviceNum"`
}
type Hardware ¶ added in v1.0.805
type Hardware struct {
// 硬件序列号
// 注意:此字段可能返回 null,表示取不到有效值。
SN *string `json:"SN,omitnil,omitempty" name:"SN"`
// license计费模式:
// 1,租户付费
// 2,厂商月付费
// 3,厂商永久授权
// 注意:此字段可能返回 null,表示取不到有效值。
LicenseChargingMode *int64 `json:"LicenseChargingMode,omitnil,omitempty" name:"LicenseChargingMode"`
// 设备描述
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// 硬件ID,入参无需传递
// 注意:此字段可能返回 null,表示取不到有效值。
HardwareId *string `json:"HardwareId,omitnil,omitempty" name:"HardwareId"`
}
type HardwareInfo ¶ added in v1.0.805
type HardwareInfo struct {
// 设备ID
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 设备名称
// 注意:此字段可能返回 null,表示取不到有效值。
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 激活时间
// 注意:此字段可能返回 null,表示取不到有效值。
ActiveTime *string `json:"ActiveTime,omitnil,omitempty" name:"ActiveTime"`
// 最后在线时间
// 注意:此字段可能返回 null,表示取不到有效值。
LastOnlineTime *string `json:"LastOnlineTime,omitnil,omitempty" name:"LastOnlineTime"`
// 备注
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// 厂商备注
// 注意:此字段可能返回 null,表示取不到有效值。
VendorDescription *string `json:"VendorDescription,omitnil,omitempty" name:"VendorDescription"`
// license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
// 注:后续将废弃此参数,新接入请使用LicensePayMode和Payer
// 注意:此字段可能返回 null,表示取不到有效值。
LicenseChargingMode *int64 `json:"LicenseChargingMode,omitnil,omitempty" name:"LicenseChargingMode"`
// 创建时间
// 注意:此字段可能返回 null,表示取不到有效值。
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// 硬件序列号
// 注意:此字段可能返回 null,表示取不到有效值。
SN *string `json:"SN,omitnil,omitempty" name:"SN"`
// license授权有效期
// 0:月度授权
// 1:永久授权
// 注意:此字段可能返回 null,表示取不到有效值。
LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"`
// 付费方
// 0:客户付费
// 1:厂商付费
// 注意:此字段可能返回 null,表示取不到有效值。
Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"`
// 设备分组ID
// 注意:此字段可能返回 null,表示取不到有效值。
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 设备分组名称
// 注意:此字段可能返回 null,表示取不到有效值。
GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
// 注意:此字段可能返回 null,表示取不到有效值。
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
}
type L3ConnInfo ¶ added in v1.0.968
type L3ConnInfo struct {
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通设备ID
DeviceId1 *string `json:"DeviceId1,omitnil,omitempty" name:"DeviceId1"`
// 互通规则CIDR
Cidr1 *string `json:"Cidr1,omitnil,omitempty" name:"Cidr1"`
// 互通设备ID
DeviceId2 *string `json:"DeviceId2,omitnil,omitempty" name:"DeviceId2"`
// 互通规则CIDR
Cidr2 *string `json:"Cidr2,omitnil,omitempty" name:"Cidr2"`
// 互通规则启用状态
Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`
// 互通规则描述
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
type ModifyPackageRenewFlagRequest ¶ added in v1.0.808
type ModifyPackageRenewFlagRequest struct {
*tchttp.BaseRequest
// 流量包的唯一资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 自动续费标识。true代表自动续费,false代表不自动续费
RenewFlag *bool `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}
func NewModifyPackageRenewFlagRequest ¶ added in v1.0.808
func NewModifyPackageRenewFlagRequest() (request *ModifyPackageRenewFlagRequest)
func (*ModifyPackageRenewFlagRequest) FromJsonString ¶ added in v1.0.808
func (r *ModifyPackageRenewFlagRequest) 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 (*ModifyPackageRenewFlagRequest) ToJsonString ¶ added in v1.0.808
func (r *ModifyPackageRenewFlagRequest) ToJsonString() string
type ModifyPackageRenewFlagRequestParams ¶ added in v1.0.808
type ModifyPackageRenewFlagRequestParams struct {
// 流量包的唯一资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 自动续费标识。true代表自动续费,false代表不自动续费
RenewFlag *bool `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"`
}
Predefined struct for user
type ModifyPackageRenewFlagResponse ¶ added in v1.0.808
type ModifyPackageRenewFlagResponse struct {
*tchttp.BaseResponse
Response *ModifyPackageRenewFlagResponseParams `json:"Response"`
}
func NewModifyPackageRenewFlagResponse ¶ added in v1.0.808
func NewModifyPackageRenewFlagResponse() (response *ModifyPackageRenewFlagResponse)
func (*ModifyPackageRenewFlagResponse) FromJsonString ¶ added in v1.0.808
func (r *ModifyPackageRenewFlagResponse) 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 (*ModifyPackageRenewFlagResponse) ToJsonString ¶ added in v1.0.808
func (r *ModifyPackageRenewFlagResponse) ToJsonString() string
type ModifyPackageRenewFlagResponseParams ¶ added in v1.0.808
type ModifyPackageRenewFlagResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type MonitorData ¶ added in v1.0.784
type MonitorData struct {
// 时间点:s
Time *string `json:"Time,omitnil,omitempty" name:"Time"`
// 业务指标(bps/ms/%)
// 注意:此字段可能返回 null,表示取不到有效值。
BusinessMetrics *float64 `json:"BusinessMetrics,omitnil,omitempty" name:"BusinessMetrics"`
// 网卡状态信息
// 注意:此字段可能返回 null,表示取不到有效值。
SlotNetInfo []*SlotNetInfo `json:"SlotNetInfo,omitnil,omitempty" name:"SlotNetInfo"`
}
type NetDetails ¶ added in v1.0.497
type NetworkData ¶ added in v1.0.351
type NetworkData struct {
// 时延数组,最大长度30
RTT []*float64 `json:"RTT,omitnil,omitempty" name:"RTT"`
// 丢包率
Loss *float64 `json:"Loss,omitnil,omitempty" name:"Loss"`
// 抖动
Jitter *float64 `json:"Jitter,omitnil,omitempty" name:"Jitter"`
// 10位秒级时间戳
Timestamp *int64 `json:"Timestamp,omitnil,omitempty" name:"Timestamp"`
}
type OrderFlowPackageRequest ¶ added in v1.0.808
type OrderFlowPackageRequest struct {
*tchttp.BaseRequest
// 流量包规格类型。可取值如下:
// DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
// DEVICE_3_FLOW_100G、
// DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
// 档位也影响流量包可绑定的设备数量上限:
// 20G:最多绑定1个设备
// 50G:最多绑定2个设备
// 100G:最多绑定3个设备
// 500G:最多绑定5个设备
PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`
// 流量包绑定的设备ID列表。捆绑设备个数上限取决于包的规格档位:
// 20G:最多绑定1个设备
// 50G:最多绑定2个设备
// 100G:最多绑定3个设备
// 500G:最多绑定5个设备
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
// 是否自动续费,该选项和流量截断冲突,只能开启一个
AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// 区域标识,0:国内,1:国外
PackageRegion *int64 `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`
// 是否开启流量截断功能,该选项和自动续费冲突
FlowTruncFlag *bool `json:"FlowTruncFlag,omitnil,omitempty" name:"FlowTruncFlag"`
// 是否自动选择代金券,默认false。
// 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
// 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`
}
func NewOrderFlowPackageRequest ¶ added in v1.0.808
func NewOrderFlowPackageRequest() (request *OrderFlowPackageRequest)
func (*OrderFlowPackageRequest) FromJsonString ¶ added in v1.0.808
func (r *OrderFlowPackageRequest) 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 (*OrderFlowPackageRequest) ToJsonString ¶ added in v1.0.808
func (r *OrderFlowPackageRequest) ToJsonString() string
type OrderFlowPackageRequestParams ¶ added in v1.0.808
type OrderFlowPackageRequestParams struct {
// 流量包规格类型。可取值如下:
// DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
// DEVICE_3_FLOW_100G、
// DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
// 档位也影响流量包可绑定的设备数量上限:
// 20G:最多绑定1个设备
// 50G:最多绑定2个设备
// 100G:最多绑定3个设备
// 500G:最多绑定5个设备
PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"`
// 流量包绑定的设备ID列表。捆绑设备个数上限取决于包的规格档位:
// 20G:最多绑定1个设备
// 50G:最多绑定2个设备
// 100G:最多绑定3个设备
// 500G:最多绑定5个设备
DeviceList []*string `json:"DeviceList,omitnil,omitempty" name:"DeviceList"`
// 是否自动续费,该选项和流量截断冲突,只能开启一个
AutoRenewFlag *bool `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"`
// 区域标识,0:国内,1:国外
PackageRegion *int64 `json:"PackageRegion,omitnil,omitempty" name:"PackageRegion"`
// 是否开启流量截断功能,该选项和自动续费冲突
FlowTruncFlag *bool `json:"FlowTruncFlag,omitnil,omitempty" name:"FlowTruncFlag"`
// 是否自动选择代金券,默认false。
// 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
// 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`
}
Predefined struct for user
type OrderFlowPackageResponse ¶ added in v1.0.808
type OrderFlowPackageResponse struct {
*tchttp.BaseResponse
Response *OrderFlowPackageResponseParams `json:"Response"`
}
func NewOrderFlowPackageResponse ¶ added in v1.0.808
func NewOrderFlowPackageResponse() (response *OrderFlowPackageResponse)
func (*OrderFlowPackageResponse) FromJsonString ¶ added in v1.0.808
func (r *OrderFlowPackageResponse) 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 (*OrderFlowPackageResponse) ToJsonString ¶ added in v1.0.808
func (r *OrderFlowPackageResponse) ToJsonString() string
type OrderFlowPackageResponseParams ¶ added in v1.0.808
type OrderFlowPackageResponseParams struct {
// 流量包的唯一资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type OrderPerLicenseRequest ¶ added in v1.0.984
type OrderPerLicenseRequest struct {
*tchttp.BaseRequest
// 购买永久授权License的设备ID,如果是厂商未激活设备采用HardwareId
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 设备类型,0: SDK,1: CPE,作为用户创建或激活设备时传0,作为厂商创建待激活设备时传1
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 购买失败后是否回滚(删除)设备,默认true,如果设备绑定了生效中的流量包则不能回滚。
RollBack *bool `json:"RollBack,omitnil,omitempty" name:"RollBack"`
// 是否自动选择代金券,默认false。
// 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
// 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`
}
func NewOrderPerLicenseRequest ¶ added in v1.0.984
func NewOrderPerLicenseRequest() (request *OrderPerLicenseRequest)
func (*OrderPerLicenseRequest) FromJsonString ¶ added in v1.0.984
func (r *OrderPerLicenseRequest) 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 (*OrderPerLicenseRequest) ToJsonString ¶ added in v1.0.984
func (r *OrderPerLicenseRequest) ToJsonString() string
type OrderPerLicenseRequestParams ¶ added in v1.0.984
type OrderPerLicenseRequestParams struct {
// 购买永久授权License的设备ID,如果是厂商未激活设备采用HardwareId
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 设备类型,0: SDK,1: CPE,作为用户创建或激活设备时传0,作为厂商创建待激活设备时传1
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 购买失败后是否回滚(删除)设备,默认true,如果设备绑定了生效中的流量包则不能回滚。
RollBack *bool `json:"RollBack,omitnil,omitempty" name:"RollBack"`
// 是否自动选择代金券,默认false。
// 有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
AutoVoucher *bool `json:"AutoVoucher,omitnil,omitempty" name:"AutoVoucher"`
// 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
// 注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
VoucherIds []*string `json:"VoucherIds,omitnil,omitempty" name:"VoucherIds"`
}
Predefined struct for user
type OrderPerLicenseResponse ¶ added in v1.0.984
type OrderPerLicenseResponse struct {
*tchttp.BaseResponse
Response *OrderPerLicenseResponseParams `json:"Response"`
}
func NewOrderPerLicenseResponse ¶ added in v1.0.984
func NewOrderPerLicenseResponse() (response *OrderPerLicenseResponse)
func (*OrderPerLicenseResponse) FromJsonString ¶ added in v1.0.984
func (r *OrderPerLicenseResponse) 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 (*OrderPerLicenseResponse) ToJsonString ¶ added in v1.0.984
func (r *OrderPerLicenseResponse) ToJsonString() string
type OrderPerLicenseResponseParams ¶ added in v1.0.984
type OrderPerLicenseResponseParams struct {
// 一次性授权License的资源ID
ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SetNotifyUrlRequest ¶ added in v1.0.961
type SetNotifyUrlRequest struct {
*tchttp.BaseRequest
// 告警通知回调url
NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"`
// 告警通知回调key
CallbackKey *string `json:"CallbackKey,omitnil,omitempty" name:"CallbackKey"`
// 流量包的告警阈值
AlarmValue *int64 `json:"AlarmValue,omitnil,omitempty" name:"AlarmValue"`
}
func NewSetNotifyUrlRequest ¶ added in v1.0.961
func NewSetNotifyUrlRequest() (request *SetNotifyUrlRequest)
func (*SetNotifyUrlRequest) FromJsonString ¶ added in v1.0.961
func (r *SetNotifyUrlRequest) 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 (*SetNotifyUrlRequest) ToJsonString ¶ added in v1.0.961
func (r *SetNotifyUrlRequest) ToJsonString() string
type SetNotifyUrlRequestParams ¶ added in v1.0.961
type SetNotifyUrlRequestParams struct {
// 告警通知回调url
NotifyUrl *string `json:"NotifyUrl,omitnil,omitempty" name:"NotifyUrl"`
// 告警通知回调key
CallbackKey *string `json:"CallbackKey,omitnil,omitempty" name:"CallbackKey"`
// 流量包的告警阈值
AlarmValue *int64 `json:"AlarmValue,omitnil,omitempty" name:"AlarmValue"`
}
Predefined struct for user
type SetNotifyUrlResponse ¶ added in v1.0.961
type SetNotifyUrlResponse struct {
*tchttp.BaseResponse
Response *SetNotifyUrlResponseParams `json:"Response"`
}
func NewSetNotifyUrlResponse ¶ added in v1.0.961
func NewSetNotifyUrlResponse() (response *SetNotifyUrlResponse)
func (*SetNotifyUrlResponse) FromJsonString ¶ added in v1.0.961
func (r *SetNotifyUrlResponse) 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 (*SetNotifyUrlResponse) ToJsonString ¶ added in v1.0.961
func (r *SetNotifyUrlResponse) ToJsonString() string
type SetNotifyUrlResponseParams ¶ added in v1.0.961
type SetNotifyUrlResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type SlotNetInfo ¶ added in v1.0.784
type SlotNetInfo struct {
// 网卡名
// 注意:此字段可能返回 null,表示取不到有效值。
NetInfoName *string `json:"NetInfoName,omitnil,omitempty" name:"NetInfoName"`
// 公网IP
// 注意:此字段可能返回 null,表示取不到有效值。
PublicIP *string `json:"PublicIP,omitnil,omitempty" name:"PublicIP"`
// 指标数据(bps/ms/%)
// 注意:此字段可能返回 null,表示取不到有效值。
Current *float64 `json:"Current,omitnil,omitempty" name:"Current"`
}
type SrcAddressInfo ¶
type UpdateDeviceRequest ¶ added in v1.0.496
type UpdateDeviceRequest struct {
*tchttp.BaseRequest
// 设备id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 设备备注
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// 更新设备网络信息
UpdateNetInfo []*UpdateNetInfo `json:"UpdateNetInfo,omitnil,omitempty" name:"UpdateNetInfo"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
}
func NewUpdateDeviceRequest ¶ added in v1.0.496
func NewUpdateDeviceRequest() (request *UpdateDeviceRequest)
func (*UpdateDeviceRequest) FromJsonString ¶ added in v1.0.496
func (r *UpdateDeviceRequest) 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 (*UpdateDeviceRequest) ToJsonString ¶ added in v1.0.496
func (r *UpdateDeviceRequest) ToJsonString() string
type UpdateDeviceRequestParams ¶ added in v1.0.496
type UpdateDeviceRequestParams struct {
// 设备id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// 设备名称
DeviceName *string `json:"DeviceName,omitnil,omitempty" name:"DeviceName"`
// 设备备注
Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"`
// 更新设备网络信息
UpdateNetInfo []*UpdateNetInfo `json:"UpdateNetInfo,omitnil,omitempty" name:"UpdateNetInfo"`
// 设备无流量包处理方式,0: 按量付费,1: 截断加速
FlowTrunc *int64 `json:"FlowTrunc,omitnil,omitempty" name:"FlowTrunc"`
}
Predefined struct for user
type UpdateDeviceResponse ¶ added in v1.0.496
type UpdateDeviceResponse struct {
*tchttp.BaseResponse
Response *UpdateDeviceResponseParams `json:"Response"`
}
func NewUpdateDeviceResponse ¶ added in v1.0.496
func NewUpdateDeviceResponse() (response *UpdateDeviceResponse)
func (*UpdateDeviceResponse) FromJsonString ¶ added in v1.0.496
func (r *UpdateDeviceResponse) 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 (*UpdateDeviceResponse) ToJsonString ¶ added in v1.0.496
func (r *UpdateDeviceResponse) ToJsonString() string
type UpdateDeviceResponseParams ¶ added in v1.0.496
type UpdateDeviceResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateGroupRequest ¶ added in v1.0.961
type UpdateGroupRequest struct {
*tchttp.BaseRequest
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 分组备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
func NewUpdateGroupRequest ¶ added in v1.0.961
func NewUpdateGroupRequest() (request *UpdateGroupRequest)
func (*UpdateGroupRequest) FromJsonString ¶ added in v1.0.961
func (r *UpdateGroupRequest) 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 (*UpdateGroupRequest) ToJsonString ¶ added in v1.0.961
func (r *UpdateGroupRequest) ToJsonString() string
type UpdateGroupRequestParams ¶ added in v1.0.961
type UpdateGroupRequestParams struct {
// 分组ID
GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"`
// 分组备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
Predefined struct for user
type UpdateGroupResponse ¶ added in v1.0.961
type UpdateGroupResponse struct {
*tchttp.BaseResponse
Response *UpdateGroupResponseParams `json:"Response"`
}
func NewUpdateGroupResponse ¶ added in v1.0.961
func NewUpdateGroupResponse() (response *UpdateGroupResponse)
func (*UpdateGroupResponse) FromJsonString ¶ added in v1.0.961
func (r *UpdateGroupResponse) 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 (*UpdateGroupResponse) ToJsonString ¶ added in v1.0.961
func (r *UpdateGroupResponse) ToJsonString() string
type UpdateGroupResponseParams ¶ added in v1.0.961
type UpdateGroupResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateHardwareRequest ¶ added in v1.0.805
type UpdateHardwareRequest struct {
*tchttp.BaseRequest
// 硬件ID
HardwareId *string `json:"HardwareId,omitnil,omitempty" name:"HardwareId"`
// 硬件序列号
SN *string `json:"SN,omitnil,omitempty" name:"SN"`
// 设备备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
func NewUpdateHardwareRequest ¶ added in v1.0.805
func NewUpdateHardwareRequest() (request *UpdateHardwareRequest)
func (*UpdateHardwareRequest) FromJsonString ¶ added in v1.0.805
func (r *UpdateHardwareRequest) 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 (*UpdateHardwareRequest) ToJsonString ¶ added in v1.0.805
func (r *UpdateHardwareRequest) ToJsonString() string
type UpdateHardwareRequestParams ¶ added in v1.0.805
type UpdateHardwareRequestParams struct {
// 硬件ID
HardwareId *string `json:"HardwareId,omitnil,omitempty" name:"HardwareId"`
// 硬件序列号
SN *string `json:"SN,omitnil,omitempty" name:"SN"`
// 设备备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
Predefined struct for user
type UpdateHardwareResponse ¶ added in v1.0.805
type UpdateHardwareResponse struct {
*tchttp.BaseResponse
Response *UpdateHardwareResponseParams `json:"Response"`
}
func NewUpdateHardwareResponse ¶ added in v1.0.805
func NewUpdateHardwareResponse() (response *UpdateHardwareResponse)
func (*UpdateHardwareResponse) FromJsonString ¶ added in v1.0.805
func (r *UpdateHardwareResponse) 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 (*UpdateHardwareResponse) ToJsonString ¶ added in v1.0.805
func (r *UpdateHardwareResponse) ToJsonString() string
type UpdateHardwareResponseParams ¶ added in v1.0.805
type UpdateHardwareResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateL3CidrRequest ¶ added in v1.0.968
type UpdateL3CidrRequest struct {
*tchttp.BaseRequest
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通规则CIDR
Cidr1 *string `json:"Cidr1,omitnil,omitempty" name:"Cidr1"`
// 互通设备ID
DeviceId1 *string `json:"DeviceId1,omitnil,omitempty" name:"DeviceId1"`
// 互通设备ID
DeviceId2 *string `json:"DeviceId2,omitnil,omitempty" name:"DeviceId2"`
// 互通规则CIDR
Cidr2 *string `json:"Cidr2,omitnil,omitempty" name:"Cidr2"`
}
func NewUpdateL3CidrRequest ¶ added in v1.0.968
func NewUpdateL3CidrRequest() (request *UpdateL3CidrRequest)
func (*UpdateL3CidrRequest) FromJsonString ¶ added in v1.0.968
func (r *UpdateL3CidrRequest) 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 (*UpdateL3CidrRequest) ToJsonString ¶ added in v1.0.968
func (r *UpdateL3CidrRequest) ToJsonString() string
type UpdateL3CidrRequestParams ¶ added in v1.0.968
type UpdateL3CidrRequestParams struct {
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通规则CIDR
Cidr1 *string `json:"Cidr1,omitnil,omitempty" name:"Cidr1"`
// 互通设备ID
DeviceId1 *string `json:"DeviceId1,omitnil,omitempty" name:"DeviceId1"`
// 互通设备ID
DeviceId2 *string `json:"DeviceId2,omitnil,omitempty" name:"DeviceId2"`
// 互通规则CIDR
Cidr2 *string `json:"Cidr2,omitnil,omitempty" name:"Cidr2"`
}
Predefined struct for user
type UpdateL3CidrResponse ¶ added in v1.0.968
type UpdateL3CidrResponse struct {
*tchttp.BaseResponse
Response *UpdateL3CidrResponseParams `json:"Response"`
}
func NewUpdateL3CidrResponse ¶ added in v1.0.968
func NewUpdateL3CidrResponse() (response *UpdateL3CidrResponse)
func (*UpdateL3CidrResponse) FromJsonString ¶ added in v1.0.968
func (r *UpdateL3CidrResponse) 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 (*UpdateL3CidrResponse) ToJsonString ¶ added in v1.0.968
func (r *UpdateL3CidrResponse) ToJsonString() string
type UpdateL3CidrResponseParams ¶ added in v1.0.968
type UpdateL3CidrResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateL3ConnRequest ¶ added in v1.0.968
type UpdateL3ConnRequest struct {
*tchttp.BaseRequest
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通规则备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
func NewUpdateL3ConnRequest ¶ added in v1.0.968
func NewUpdateL3ConnRequest() (request *UpdateL3ConnRequest)
func (*UpdateL3ConnRequest) FromJsonString ¶ added in v1.0.968
func (r *UpdateL3ConnRequest) 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 (*UpdateL3ConnRequest) ToJsonString ¶ added in v1.0.968
func (r *UpdateL3ConnRequest) ToJsonString() string
type UpdateL3ConnRequestParams ¶ added in v1.0.968
type UpdateL3ConnRequestParams struct {
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通规则备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
}
Predefined struct for user
type UpdateL3ConnResponse ¶ added in v1.0.968
type UpdateL3ConnResponse struct {
*tchttp.BaseResponse
Response *UpdateL3ConnResponseParams `json:"Response"`
}
func NewUpdateL3ConnResponse ¶ added in v1.0.968
func NewUpdateL3ConnResponse() (response *UpdateL3ConnResponse)
func (*UpdateL3ConnResponse) FromJsonString ¶ added in v1.0.968
func (r *UpdateL3ConnResponse) 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 (*UpdateL3ConnResponse) ToJsonString ¶ added in v1.0.968
func (r *UpdateL3ConnResponse) ToJsonString() string
type UpdateL3ConnResponseParams ¶ added in v1.0.968
type UpdateL3ConnResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateL3SwitchRequest ¶ added in v1.0.968
type UpdateL3SwitchRequest struct {
*tchttp.BaseRequest
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通规则开关
Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`
}
func NewUpdateL3SwitchRequest ¶ added in v1.0.968
func NewUpdateL3SwitchRequest() (request *UpdateL3SwitchRequest)
func (*UpdateL3SwitchRequest) FromJsonString ¶ added in v1.0.968
func (r *UpdateL3SwitchRequest) 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 (*UpdateL3SwitchRequest) ToJsonString ¶ added in v1.0.968
func (r *UpdateL3SwitchRequest) ToJsonString() string
type UpdateL3SwitchRequestParams ¶ added in v1.0.968
type UpdateL3SwitchRequestParams struct {
// 互通规则ID
L3ConnId *string `json:"L3ConnId,omitnil,omitempty" name:"L3ConnId"`
// 互通规则开关
Enable *bool `json:"Enable,omitnil,omitempty" name:"Enable"`
}
Predefined struct for user
type UpdateL3SwitchResponse ¶ added in v1.0.968
type UpdateL3SwitchResponse struct {
*tchttp.BaseResponse
Response *UpdateL3SwitchResponseParams `json:"Response"`
}
func NewUpdateL3SwitchResponse ¶ added in v1.0.968
func NewUpdateL3SwitchResponse() (response *UpdateL3SwitchResponse)
func (*UpdateL3SwitchResponse) FromJsonString ¶ added in v1.0.968
func (r *UpdateL3SwitchResponse) 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 (*UpdateL3SwitchResponse) ToJsonString ¶ added in v1.0.968
func (r *UpdateL3SwitchResponse) ToJsonString() string
type UpdateL3SwitchResponseParams ¶ added in v1.0.968
type UpdateL3SwitchResponseParams struct {
// 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpdateNetInfo ¶ added in v1.0.496
type UpdateNetInfo struct {
// 网络类型:
// 0:数据
// 1:Wi-Fi
Type *int64 `json:"Type,omitnil,omitempty" name:"Type"`
// 启用/禁用
DataEnable *bool `json:"DataEnable,omitnil,omitempty" name:"DataEnable"`
// 上行限速:bit
UploadLimit *uint64 `json:"UploadLimit,omitnil,omitempty" name:"UploadLimit"`
// 下行限速:bit
DownloadLimit *uint64 `json:"DownloadLimit,omitnil,omitempty" name:"DownloadLimit"`
// 网卡名
NetInfoName *string `json:"NetInfoName,omitnil,omitempty" name:"NetInfoName"`
}
type VendorHardware ¶ added in v1.0.805
type VendorHardware struct {
// 硬件id
HardwareId *string `json:"HardwareId,omitnil,omitempty" name:"HardwareId"`
// 硬件序列号
SN *string `json:"SN,omitnil,omitempty" name:"SN"`
// 创建时间
CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
// 激活状态, 空:全部; 1:待激活; 2:已激活
Status *int64 `json:"Status,omitnil,omitempty" name:"Status"`
// 激活时间
// 注意:此字段可能返回 null,表示取不到有效值。
ActiveTime *string `json:"ActiveTime,omitnil,omitempty" name:"ActiveTime"`
// 厂商备注
Description *string `json:"Description,omitnil,omitempty" name:"Description"`
// 设备id
DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"`
// license计费模式: 1,租户月付费 2,厂商月付费 3,license永久授权
// 注:设备为租户付费且未激活(未选择月付还是永久付费)时,此参数返回1,仅代表租户付费。后续将废弃此参数,新接入请使用LicensePayMode和Payer
LicenseChargingMode *int64 `json:"LicenseChargingMode,omitnil,omitempty" name:"LicenseChargingMode"`
// 最后在线时间
// 注意:此字段可能返回 null,表示取不到有效值。
LastOnlineTime *string `json:"LastOnlineTime,omitnil,omitempty" name:"LastOnlineTime"`
// license授权有效期
// 0:月度授权
// 1:永久授权
// -1:未知
LicensePayMode *int64 `json:"LicensePayMode,omitnil,omitempty" name:"LicensePayMode"`
// 付费方
// 0:客户付费
// 1:厂商付费
Payer *int64 `json:"Payer,omitnil,omitempty" name:"Payer"`
}