Class TrroClient
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractClient
-
- com.tencentcloudapi.trro.v20220325.TrroClient
-
public class TrroClient extends AbstractClient
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
-
-
Constructor Summary
Constructors Constructor Description TrroClient(Credential credential, String region)TrroClient(Credential credential, String region, ClientProfile profile)
-
Method Summary
-
Methods inherited from class com.tencentcloudapi.common.AbstractClient
call, callOctetStream, getClientProfile, getCredential, getRegion, getRegionBreaker, internalRequest, retry, setClientProfile, setCredential, setRegion, setRegionBreaker
-
-
-
-
Constructor Detail
-
TrroClient
public TrroClient(Credential credential, String region)
-
TrroClient
public TrroClient(Credential credential, String region, ClientProfile profile)
-
-
Method Detail
-
BatchDeleteDevices
public BatchDeleteDevicesResponse BatchDeleteDevices(BatchDeleteDevicesRequest req) throws TencentCloudSDKException
用于批量删除设备- Parameters:
req- BatchDeleteDevicesRequest- Returns:
- BatchDeleteDevicesResponse
- Throws:
TencentCloudSDKException
-
BatchDeletePolicy
public BatchDeletePolicyResponse BatchDeletePolicy(BatchDeletePolicyRequest req) throws TencentCloudSDKException
用于批量删除修改权限配置- Parameters:
req- BatchDeletePolicyRequest- Returns:
- BatchDeletePolicyResponse
- Throws:
TencentCloudSDKException
-
BoundLicenses
public BoundLicensesResponse BoundLicenses(BoundLicensesRequest req) throws TencentCloudSDKException
为推流设备绑定license,优先绑定到期时间最近的,到期时间相同优先绑定月包- Parameters:
req- BoundLicensesRequest- Returns:
- BoundLicensesResponse
- Throws:
TencentCloudSDKException
-
CreateDevice
public CreateDeviceResponse CreateDevice(CreateDeviceRequest req) throws TencentCloudSDKException
用于创建设备- Parameters:
req- CreateDeviceRequest- Returns:
- CreateDeviceResponse
- Throws:
TencentCloudSDKException
-
CreateProject
public CreateProjectResponse CreateProject(CreateProjectRequest req) throws TencentCloudSDKException
用于创建项目- Parameters:
req- CreateProjectRequest- Returns:
- CreateProjectResponse
- Throws:
TencentCloudSDKException
-
DeleteProject
public DeleteProjectResponse DeleteProject(DeleteProjectRequest req) throws TencentCloudSDKException
用于删除项目- Parameters:
req- DeleteProjectRequest- Returns:
- DeleteProjectResponse
- Throws:
TencentCloudSDKException
-
DescribeDeviceInfo
public DescribeDeviceInfoResponse DescribeDeviceInfo(DescribeDeviceInfoRequest req) throws TencentCloudSDKException
用于获取指定设备信息- Parameters:
req- DescribeDeviceInfoRequest- Returns:
- DescribeDeviceInfoResponse
- Throws:
TencentCloudSDKException
-
DescribeDeviceList
public DescribeDeviceListResponse DescribeDeviceList(DescribeDeviceListRequest req) throws TencentCloudSDKException
用于获取设备信息列表- Parameters:
req- DescribeDeviceListRequest- Returns:
- DescribeDeviceListResponse
- Throws:
TencentCloudSDKException
-
DescribeDeviceSessionDetails
public DescribeDeviceSessionDetailsResponse DescribeDeviceSessionDetails(DescribeDeviceSessionDetailsRequest req) throws TencentCloudSDKException
获取设备会话数据详单- Parameters:
req- DescribeDeviceSessionDetailsRequest- Returns:
- DescribeDeviceSessionDetailsResponse
- Throws:
TencentCloudSDKException
-
DescribeDeviceSessionList
public DescribeDeviceSessionListResponse DescribeDeviceSessionList(DescribeDeviceSessionListRequest req) throws TencentCloudSDKException
获取设备会话列表- Parameters:
req- DescribeDeviceSessionListRequest- Returns:
- DescribeDeviceSessionListResponse
- Throws:
TencentCloudSDKException
-
DescribePolicy
public DescribePolicyResponse DescribePolicy(DescribePolicyRequest req) throws TencentCloudSDKException
用于查看权限配置- Parameters:
req- DescribePolicyRequest- Returns:
- DescribePolicyResponse
- Throws:
TencentCloudSDKException
-
DescribeProjectInfo
public DescribeProjectInfoResponse DescribeProjectInfo(DescribeProjectInfoRequest req) throws TencentCloudSDKException
用于获取项目信息- Parameters:
req- DescribeProjectInfoRequest- Returns:
- DescribeProjectInfoResponse
- Throws:
TencentCloudSDKException
-
DescribeProjectList
public DescribeProjectListResponse DescribeProjectList(DescribeProjectListRequest req) throws TencentCloudSDKException
用于获取项目列表- Parameters:
req- DescribeProjectListRequest- Returns:
- DescribeProjectListResponse
- Throws:
TencentCloudSDKException
-
DescribeRecentSessionList
public DescribeRecentSessionListResponse DescribeRecentSessionList(DescribeRecentSessionListRequest req) throws TencentCloudSDKException
获取最新设备会话列表- Parameters:
req- DescribeRecentSessionListRequest- Returns:
- DescribeRecentSessionListResponse
- Throws:
TencentCloudSDKException
-
DescribeSessionStatistics
public DescribeSessionStatisticsResponse DescribeSessionStatistics(DescribeSessionStatisticsRequest req) throws TencentCloudSDKException
获取会话统计值- Parameters:
req- DescribeSessionStatisticsRequest- Returns:
- DescribeSessionStatisticsResponse
- Throws:
TencentCloudSDKException
-
DescribeSessionStatisticsByInterval
public DescribeSessionStatisticsByIntervalResponse DescribeSessionStatisticsByInterval(DescribeSessionStatisticsByIntervalRequest req) throws TencentCloudSDKException
获取各时间段的会话统计值- Parameters:
req- DescribeSessionStatisticsByIntervalRequest- Returns:
- DescribeSessionStatisticsByIntervalResponse
- Throws:
TencentCloudSDKException
-
GetDeviceLicense
public GetDeviceLicenseResponse GetDeviceLicense(GetDeviceLicenseRequest req) throws TencentCloudSDKException
获取设备已经绑定的可用授权数量- Parameters:
req- GetDeviceLicenseRequest- Returns:
- GetDeviceLicenseResponse
- Throws:
TencentCloudSDKException
-
GetDevices
public GetDevicesResponse GetDevices(GetDevicesRequest req) throws TencentCloudSDKException
查询用户设备的授权绑定情况- Parameters:
req- GetDevicesRequest- Returns:
- GetDevicesResponse
- Throws:
TencentCloudSDKException
-
GetLicenseStat
public GetLicenseStatResponse GetLicenseStat(GetLicenseStatRequest req) throws TencentCloudSDKException
统计license类型数量- Parameters:
req- GetLicenseStatRequest- Returns:
- GetLicenseStatResponse
- Throws:
TencentCloudSDKException
-
GetLicenses
public GetLicensesResponse GetLicenses(GetLicensesRequest req) throws TencentCloudSDKException
按授权查看license列表- Parameters:
req- GetLicensesRequest- Returns:
- GetLicensesResponse
- Throws:
TencentCloudSDKException
-
ModifyDevice
public ModifyDeviceResponse ModifyDevice(ModifyDeviceRequest req) throws TencentCloudSDKException
用于修改设备信息- Parameters:
req- ModifyDeviceRequest- Returns:
- ModifyDeviceResponse
- Throws:
TencentCloudSDKException
-
ModifyPolicy
public ModifyPolicyResponse ModifyPolicy(ModifyPolicyRequest req) throws TencentCloudSDKException
用于修改权限配置- Parameters:
req- ModifyPolicyRequest- Returns:
- ModifyPolicyResponse
- Throws:
TencentCloudSDKException
-
ModifyProject
public ModifyProjectResponse ModifyProject(ModifyProjectRequest req) throws TencentCloudSDKException
用于修改项目信息- Parameters:
req- ModifyProjectRequest- Returns:
- ModifyProjectResponse
- Throws:
TencentCloudSDKException
-
-