1 Star 14 Fork 3

tencentcloud/tencentcloud-sdk-dotnet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
RumClient.cs 54.45 KB
一键复制 编辑 原始数据 按行查看 历史
tencentcloud 提交于 2024-11-13 04:46 . release 3.0.1122
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
namespace TencentCloud.Rum.V20210622
{
using Newtonsoft.Json;
using System.Threading.Tasks;
using TencentCloud.Common;
using TencentCloud.Common.Profile;
using TencentCloud.Rum.V20210622.Models;
public class RumClient : AbstractClient{
private const string endpoint = "rum.tencentcloudapi.com";
private const string version = "2021-06-22";
private const string sdkVersion = "SDK_NET_3.0.1122";
/// <summary>
/// Client constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
public RumClient(Credential credential, string region)
: this(credential, region, new ClientProfile { Language = Language.ZH_CN })
{
}
/// <summary>
/// Client Constructor.
/// </summary>
/// <param name="credential">Credentials.</param>
/// <param name="region">Region name, such as "ap-guangzhou".</param>
/// <param name="profile">Client profiles.</param>
public RumClient(Credential credential, string region, ClientProfile profile)
: base(endpoint, version, credential, region, profile)
{
SdkVersion = sdkVersion;
}
/// <summary>
/// 创建 RUM 应用(归属于某个团队)
/// </summary>
/// <param name="req"><see cref="CreateProjectRequest"/></param>
/// <returns><see cref="CreateProjectResponse"/></returns>
public Task<CreateProjectResponse> CreateProject(CreateProjectRequest req)
{
return InternalRequestAsync<CreateProjectResponse>(req, "CreateProject");
}
/// <summary>
/// 创建 RUM 应用(归属于某个团队)
/// </summary>
/// <param name="req"><see cref="CreateProjectRequest"/></param>
/// <returns><see cref="CreateProjectResponse"/></returns>
public CreateProjectResponse CreateProjectSync(CreateProjectRequest req)
{
return InternalRequestAsync<CreateProjectResponse>(req, "CreateProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 创建对应项目的文件记录
/// </summary>
/// <param name="req"><see cref="CreateReleaseFileRequest"/></param>
/// <returns><see cref="CreateReleaseFileResponse"/></returns>
public Task<CreateReleaseFileResponse> CreateReleaseFile(CreateReleaseFileRequest req)
{
return InternalRequestAsync<CreateReleaseFileResponse>(req, "CreateReleaseFile");
}
/// <summary>
/// 创建对应项目的文件记录
/// </summary>
/// <param name="req"><see cref="CreateReleaseFileRequest"/></param>
/// <returns><see cref="CreateReleaseFileResponse"/></returns>
public CreateReleaseFileResponse CreateReleaseFileSync(CreateReleaseFileRequest req)
{
return InternalRequestAsync<CreateReleaseFileResponse>(req, "CreateReleaseFile")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 个人用户添加星标项目
/// </summary>
/// <param name="req"><see cref="CreateStarProjectRequest"/></param>
/// <returns><see cref="CreateStarProjectResponse"/></returns>
public Task<CreateStarProjectResponse> CreateStarProject(CreateStarProjectRequest req)
{
return InternalRequestAsync<CreateStarProjectResponse>(req, "CreateStarProject");
}
/// <summary>
/// 个人用户添加星标项目
/// </summary>
/// <param name="req"><see cref="CreateStarProjectRequest"/></param>
/// <returns><see cref="CreateStarProjectResponse"/></returns>
public CreateStarProjectResponse CreateStarProjectSync(CreateStarProjectRequest req)
{
return InternalRequestAsync<CreateStarProjectResponse>(req, "CreateStarProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 创建 RUM 业务系统
/// </summary>
/// <param name="req"><see cref="CreateTawInstanceRequest"/></param>
/// <returns><see cref="CreateTawInstanceResponse"/></returns>
public Task<CreateTawInstanceResponse> CreateTawInstance(CreateTawInstanceRequest req)
{
return InternalRequestAsync<CreateTawInstanceResponse>(req, "CreateTawInstance");
}
/// <summary>
/// 创建 RUM 业务系统
/// </summary>
/// <param name="req"><see cref="CreateTawInstanceRequest"/></param>
/// <returns><see cref="CreateTawInstanceResponse"/></returns>
public CreateTawInstanceResponse CreateTawInstanceSync(CreateTawInstanceRequest req)
{
return InternalRequestAsync<CreateTawInstanceResponse>(req, "CreateTawInstance")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 创建白名单
/// </summary>
/// <param name="req"><see cref="CreateWhitelistRequest"/></param>
/// <returns><see cref="CreateWhitelistResponse"/></returns>
public Task<CreateWhitelistResponse> CreateWhitelist(CreateWhitelistRequest req)
{
return InternalRequestAsync<CreateWhitelistResponse>(req, "CreateWhitelist");
}
/// <summary>
/// 创建白名单
/// </summary>
/// <param name="req"><see cref="CreateWhitelistRequest"/></param>
/// <returns><see cref="CreateWhitelistResponse"/></returns>
public CreateWhitelistResponse CreateWhitelistSync(CreateWhitelistRequest req)
{
return InternalRequestAsync<CreateWhitelistResponse>(req, "CreateWhitelist")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 删除实例,谨慎操作,不可恢复
/// </summary>
/// <param name="req"><see cref="DeleteInstanceRequest"/></param>
/// <returns><see cref="DeleteInstanceResponse"/></returns>
public Task<DeleteInstanceResponse> DeleteInstance(DeleteInstanceRequest req)
{
return InternalRequestAsync<DeleteInstanceResponse>(req, "DeleteInstance");
}
/// <summary>
/// 删除实例,谨慎操作,不可恢复
/// </summary>
/// <param name="req"><see cref="DeleteInstanceRequest"/></param>
/// <returns><see cref="DeleteInstanceResponse"/></returns>
public DeleteInstanceResponse DeleteInstanceSync(DeleteInstanceRequest req)
{
return InternalRequestAsync<DeleteInstanceResponse>(req, "DeleteInstance")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 删除给定的 rum 的项目
/// </summary>
/// <param name="req"><see cref="DeleteProjectRequest"/></param>
/// <returns><see cref="DeleteProjectResponse"/></returns>
public Task<DeleteProjectResponse> DeleteProject(DeleteProjectRequest req)
{
return InternalRequestAsync<DeleteProjectResponse>(req, "DeleteProject");
}
/// <summary>
/// 删除给定的 rum 的项目
/// </summary>
/// <param name="req"><see cref="DeleteProjectRequest"/></param>
/// <returns><see cref="DeleteProjectResponse"/></returns>
public DeleteProjectResponse DeleteProjectSync(DeleteProjectRequest req)
{
return InternalRequestAsync<DeleteProjectResponse>(req, "DeleteProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 将对应 sourcemap 文件删除
/// </summary>
/// <param name="req"><see cref="DeleteReleaseFileRequest"/></param>
/// <returns><see cref="DeleteReleaseFileResponse"/></returns>
public Task<DeleteReleaseFileResponse> DeleteReleaseFile(DeleteReleaseFileRequest req)
{
return InternalRequestAsync<DeleteReleaseFileResponse>(req, "DeleteReleaseFile");
}
/// <summary>
/// 将对应 sourcemap 文件删除
/// </summary>
/// <param name="req"><see cref="DeleteReleaseFileRequest"/></param>
/// <returns><see cref="DeleteReleaseFileResponse"/></returns>
public DeleteReleaseFileResponse DeleteReleaseFileSync(DeleteReleaseFileRequest req)
{
return InternalRequestAsync<DeleteReleaseFileResponse>(req, "DeleteReleaseFile")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 删除用户名下的星标项目
/// </summary>
/// <param name="req"><see cref="DeleteStarProjectRequest"/></param>
/// <returns><see cref="DeleteStarProjectResponse"/></returns>
public Task<DeleteStarProjectResponse> DeleteStarProject(DeleteStarProjectRequest req)
{
return InternalRequestAsync<DeleteStarProjectResponse>(req, "DeleteStarProject");
}
/// <summary>
/// 删除用户名下的星标项目
/// </summary>
/// <param name="req"><see cref="DeleteStarProjectRequest"/></param>
/// <returns><see cref="DeleteStarProjectResponse"/></returns>
public DeleteStarProjectResponse DeleteStarProjectSync(DeleteStarProjectRequest req)
{
return InternalRequestAsync<DeleteStarProjectResponse>(req, "DeleteStarProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 删除白名单
/// </summary>
/// <param name="req"><see cref="DeleteWhitelistRequest"/></param>
/// <returns><see cref="DeleteWhitelistResponse"/></returns>
public Task<DeleteWhitelistResponse> DeleteWhitelist(DeleteWhitelistRequest req)
{
return InternalRequestAsync<DeleteWhitelistResponse>(req, "DeleteWhitelist");
}
/// <summary>
/// 删除白名单
/// </summary>
/// <param name="req"><see cref="DeleteWhitelistRequest"/></param>
/// <returns><see cref="DeleteWhitelistResponse"/></returns>
public DeleteWhitelistResponse DeleteWhitelistSync(DeleteWhitelistRequest req)
{
return InternalRequestAsync<DeleteWhitelistResponse>(req, "DeleteWhitelist")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 用于查询 app 监控多维分析数据
/// </summary>
/// <param name="req"><see cref="DescribeAppDimensionMetricsRequest"/></param>
/// <returns><see cref="DescribeAppDimensionMetricsResponse"/></returns>
public Task<DescribeAppDimensionMetricsResponse> DescribeAppDimensionMetrics(DescribeAppDimensionMetricsRequest req)
{
return InternalRequestAsync<DescribeAppDimensionMetricsResponse>(req, "DescribeAppDimensionMetrics");
}
/// <summary>
/// 用于查询 app 监控多维分析数据
/// </summary>
/// <param name="req"><see cref="DescribeAppDimensionMetricsRequest"/></param>
/// <returns><see cref="DescribeAppDimensionMetricsResponse"/></returns>
public DescribeAppDimensionMetricsResponse DescribeAppDimensionMetricsSync(DescribeAppDimensionMetricsRequest req)
{
return InternalRequestAsync<DescribeAppDimensionMetricsResponse>(req, "DescribeAppDimensionMetrics")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取 app 监控指标数据
/// </summary>
/// <param name="req"><see cref="DescribeAppMetricsDataRequest"/></param>
/// <returns><see cref="DescribeAppMetricsDataResponse"/></returns>
public Task<DescribeAppMetricsDataResponse> DescribeAppMetricsData(DescribeAppMetricsDataRequest req)
{
return InternalRequestAsync<DescribeAppMetricsDataResponse>(req, "DescribeAppMetricsData");
}
/// <summary>
/// 获取 app 监控指标数据
/// </summary>
/// <param name="req"><see cref="DescribeAppMetricsDataRequest"/></param>
/// <returns><see cref="DescribeAppMetricsDataResponse"/></returns>
public DescribeAppMetricsDataResponse DescribeAppMetricsDataSync(DescribeAppMetricsDataRequest req)
{
return InternalRequestAsync<DescribeAppMetricsDataResponse>(req, "DescribeAppMetricsData")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 查询 app 监控个例样本详情列表
/// </summary>
/// <param name="req"><see cref="DescribeAppSingleCaseDetailListRequest"/></param>
/// <returns><see cref="DescribeAppSingleCaseDetailListResponse"/></returns>
public Task<DescribeAppSingleCaseDetailListResponse> DescribeAppSingleCaseDetailList(DescribeAppSingleCaseDetailListRequest req)
{
return InternalRequestAsync<DescribeAppSingleCaseDetailListResponse>(req, "DescribeAppSingleCaseDetailList");
}
/// <summary>
/// 查询 app 监控个例样本详情列表
/// </summary>
/// <param name="req"><see cref="DescribeAppSingleCaseDetailListRequest"/></param>
/// <returns><see cref="DescribeAppSingleCaseDetailListResponse"/></returns>
public DescribeAppSingleCaseDetailListResponse DescribeAppSingleCaseDetailListSync(DescribeAppSingleCaseDetailListRequest req)
{
return InternalRequestAsync<DescribeAppSingleCaseDetailListResponse>(req, "DescribeAppSingleCaseDetailList")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 查询 app 监控个例聚合列表
/// </summary>
/// <param name="req"><see cref="DescribeAppSingleCaseListRequest"/></param>
/// <returns><see cref="DescribeAppSingleCaseListResponse"/></returns>
public Task<DescribeAppSingleCaseListResponse> DescribeAppSingleCaseList(DescribeAppSingleCaseListRequest req)
{
return InternalRequestAsync<DescribeAppSingleCaseListResponse>(req, "DescribeAppSingleCaseList");
}
/// <summary>
/// 查询 app 监控个例聚合列表
/// </summary>
/// <param name="req"><see cref="DescribeAppSingleCaseListRequest"/></param>
/// <returns><see cref="DescribeAppSingleCaseListResponse"/></returns>
public DescribeAppSingleCaseListResponse DescribeAppSingleCaseListSync(DescribeAppSingleCaseListRequest req)
{
return InternalRequestAsync<DescribeAppSingleCaseListResponse>(req, "DescribeAppSingleCaseList")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 转发monitor查询
/// </summary>
/// <param name="req"><see cref="DescribeDataRequest"/></param>
/// <returns><see cref="DescribeDataResponse"/></returns>
public Task<DescribeDataResponse> DescribeData(DescribeDataRequest req)
{
return InternalRequestAsync<DescribeDataResponse>(req, "DescribeData");
}
/// <summary>
/// 转发monitor查询
/// </summary>
/// <param name="req"><see cref="DescribeDataRequest"/></param>
/// <returns><see cref="DescribeDataResponse"/></returns>
public DescribeDataResponse DescribeDataSync(DescribeDataRequest req)
{
return InternalRequestAsync<DescribeDataResponse>(req, "DescribeData")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataCustomUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataCustomUrlRequest"/></param>
/// <returns><see cref="DescribeDataCustomUrlResponse"/></returns>
public Task<DescribeDataCustomUrlResponse> DescribeDataCustomUrl(DescribeDataCustomUrlRequest req)
{
return InternalRequestAsync<DescribeDataCustomUrlResponse>(req, "DescribeDataCustomUrl");
}
/// <summary>
/// 获取DescribeDataCustomUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataCustomUrlRequest"/></param>
/// <returns><see cref="DescribeDataCustomUrlResponse"/></returns>
public DescribeDataCustomUrlResponse DescribeDataCustomUrlSync(DescribeDataCustomUrlRequest req)
{
return InternalRequestAsync<DescribeDataCustomUrlResponse>(req, "DescribeDataCustomUrl")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataEventUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataEventUrlRequest"/></param>
/// <returns><see cref="DescribeDataEventUrlResponse"/></returns>
public Task<DescribeDataEventUrlResponse> DescribeDataEventUrl(DescribeDataEventUrlRequest req)
{
return InternalRequestAsync<DescribeDataEventUrlResponse>(req, "DescribeDataEventUrl");
}
/// <summary>
/// 获取DescribeDataEventUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataEventUrlRequest"/></param>
/// <returns><see cref="DescribeDataEventUrlResponse"/></returns>
public DescribeDataEventUrlResponse DescribeDataEventUrlSync(DescribeDataEventUrlRequest req)
{
return InternalRequestAsync<DescribeDataEventUrlResponse>(req, "DescribeDataEventUrl")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataFetchProject信息。已下线,请使用DescribeDataFetchUrl
/// </summary>
/// <param name="req"><see cref="DescribeDataFetchProjectRequest"/></param>
/// <returns><see cref="DescribeDataFetchProjectResponse"/></returns>
public Task<DescribeDataFetchProjectResponse> DescribeDataFetchProject(DescribeDataFetchProjectRequest req)
{
return InternalRequestAsync<DescribeDataFetchProjectResponse>(req, "DescribeDataFetchProject");
}
/// <summary>
/// 获取DescribeDataFetchProject信息。已下线,请使用DescribeDataFetchUrl
/// </summary>
/// <param name="req"><see cref="DescribeDataFetchProjectRequest"/></param>
/// <returns><see cref="DescribeDataFetchProjectResponse"/></returns>
public DescribeDataFetchProjectResponse DescribeDataFetchProjectSync(DescribeDataFetchProjectRequest req)
{
return InternalRequestAsync<DescribeDataFetchProjectResponse>(req, "DescribeDataFetchProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataFetchUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataFetchUrlRequest"/></param>
/// <returns><see cref="DescribeDataFetchUrlResponse"/></returns>
public Task<DescribeDataFetchUrlResponse> DescribeDataFetchUrl(DescribeDataFetchUrlRequest req)
{
return InternalRequestAsync<DescribeDataFetchUrlResponse>(req, "DescribeDataFetchUrl");
}
/// <summary>
/// 获取DescribeDataFetchUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataFetchUrlRequest"/></param>
/// <returns><see cref="DescribeDataFetchUrlResponse"/></returns>
public DescribeDataFetchUrlResponse DescribeDataFetchUrlSync(DescribeDataFetchUrlRequest req)
{
return InternalRequestAsync<DescribeDataFetchUrlResponse>(req, "DescribeDataFetchUrl")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataFetchUrlInfo信息
/// </summary>
/// <param name="req"><see cref="DescribeDataFetchUrlInfoRequest"/></param>
/// <returns><see cref="DescribeDataFetchUrlInfoResponse"/></returns>
public Task<DescribeDataFetchUrlInfoResponse> DescribeDataFetchUrlInfo(DescribeDataFetchUrlInfoRequest req)
{
return InternalRequestAsync<DescribeDataFetchUrlInfoResponse>(req, "DescribeDataFetchUrlInfo");
}
/// <summary>
/// 获取DescribeDataFetchUrlInfo信息
/// </summary>
/// <param name="req"><see cref="DescribeDataFetchUrlInfoRequest"/></param>
/// <returns><see cref="DescribeDataFetchUrlInfoResponse"/></returns>
public DescribeDataFetchUrlInfoResponse DescribeDataFetchUrlInfoSync(DescribeDataFetchUrlInfoRequest req)
{
return InternalRequestAsync<DescribeDataFetchUrlInfoResponse>(req, "DescribeDataFetchUrlInfo")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取loginfo信息
/// </summary>
/// <param name="req"><see cref="DescribeDataLogUrlInfoRequest"/></param>
/// <returns><see cref="DescribeDataLogUrlInfoResponse"/></returns>
public Task<DescribeDataLogUrlInfoResponse> DescribeDataLogUrlInfo(DescribeDataLogUrlInfoRequest req)
{
return InternalRequestAsync<DescribeDataLogUrlInfoResponse>(req, "DescribeDataLogUrlInfo");
}
/// <summary>
/// 获取loginfo信息
/// </summary>
/// <param name="req"><see cref="DescribeDataLogUrlInfoRequest"/></param>
/// <returns><see cref="DescribeDataLogUrlInfoResponse"/></returns>
public DescribeDataLogUrlInfoResponse DescribeDataLogUrlInfoSync(DescribeDataLogUrlInfoRequest req)
{
return InternalRequestAsync<DescribeDataLogUrlInfoResponse>(req, "DescribeDataLogUrlInfo")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取LogUrlStatistics信息
/// </summary>
/// <param name="req"><see cref="DescribeDataLogUrlStatisticsRequest"/></param>
/// <returns><see cref="DescribeDataLogUrlStatisticsResponse"/></returns>
public Task<DescribeDataLogUrlStatisticsResponse> DescribeDataLogUrlStatistics(DescribeDataLogUrlStatisticsRequest req)
{
return InternalRequestAsync<DescribeDataLogUrlStatisticsResponse>(req, "DescribeDataLogUrlStatistics");
}
/// <summary>
/// 获取LogUrlStatistics信息
/// </summary>
/// <param name="req"><see cref="DescribeDataLogUrlStatisticsRequest"/></param>
/// <returns><see cref="DescribeDataLogUrlStatisticsResponse"/></returns>
public DescribeDataLogUrlStatisticsResponse DescribeDataLogUrlStatisticsSync(DescribeDataLogUrlStatisticsRequest req)
{
return InternalRequestAsync<DescribeDataLogUrlStatisticsResponse>(req, "DescribeDataLogUrlStatistics")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取PerformancePage信息
/// </summary>
/// <param name="req"><see cref="DescribeDataPerformancePageRequest"/></param>
/// <returns><see cref="DescribeDataPerformancePageResponse"/></returns>
public Task<DescribeDataPerformancePageResponse> DescribeDataPerformancePage(DescribeDataPerformancePageRequest req)
{
return InternalRequestAsync<DescribeDataPerformancePageResponse>(req, "DescribeDataPerformancePage");
}
/// <summary>
/// 获取PerformancePage信息
/// </summary>
/// <param name="req"><see cref="DescribeDataPerformancePageRequest"/></param>
/// <returns><see cref="DescribeDataPerformancePageResponse"/></returns>
public DescribeDataPerformancePageResponse DescribeDataPerformancePageSync(DescribeDataPerformancePageRequest req)
{
return InternalRequestAsync<DescribeDataPerformancePageResponse>(req, "DescribeDataPerformancePage")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取PvUrlInfo信息
/// </summary>
/// <param name="req"><see cref="DescribeDataPvUrlInfoRequest"/></param>
/// <returns><see cref="DescribeDataPvUrlInfoResponse"/></returns>
public Task<DescribeDataPvUrlInfoResponse> DescribeDataPvUrlInfo(DescribeDataPvUrlInfoRequest req)
{
return InternalRequestAsync<DescribeDataPvUrlInfoResponse>(req, "DescribeDataPvUrlInfo");
}
/// <summary>
/// 获取PvUrlInfo信息
/// </summary>
/// <param name="req"><see cref="DescribeDataPvUrlInfoRequest"/></param>
/// <returns><see cref="DescribeDataPvUrlInfoResponse"/></returns>
public DescribeDataPvUrlInfoResponse DescribeDataPvUrlInfoSync(DescribeDataPvUrlInfoRequest req)
{
return InternalRequestAsync<DescribeDataPvUrlInfoResponse>(req, "DescribeDataPvUrlInfo")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataPvUrlStatistics信息
/// </summary>
/// <param name="req"><see cref="DescribeDataPvUrlStatisticsRequest"/></param>
/// <returns><see cref="DescribeDataPvUrlStatisticsResponse"/></returns>
public Task<DescribeDataPvUrlStatisticsResponse> DescribeDataPvUrlStatistics(DescribeDataPvUrlStatisticsRequest req)
{
return InternalRequestAsync<DescribeDataPvUrlStatisticsResponse>(req, "DescribeDataPvUrlStatistics");
}
/// <summary>
/// 获取DescribeDataPvUrlStatistics信息
/// </summary>
/// <param name="req"><see cref="DescribeDataPvUrlStatisticsRequest"/></param>
/// <returns><see cref="DescribeDataPvUrlStatisticsResponse"/></returns>
public DescribeDataPvUrlStatisticsResponse DescribeDataPvUrlStatisticsSync(DescribeDataPvUrlStatisticsRequest req)
{
return InternalRequestAsync<DescribeDataPvUrlStatisticsResponse>(req, "DescribeDataPvUrlStatistics")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目上报量
/// </summary>
/// <param name="req"><see cref="DescribeDataReportCountRequest"/></param>
/// <returns><see cref="DescribeDataReportCountResponse"/></returns>
public Task<DescribeDataReportCountResponse> DescribeDataReportCount(DescribeDataReportCountRequest req)
{
return InternalRequestAsync<DescribeDataReportCountResponse>(req, "DescribeDataReportCount");
}
/// <summary>
/// 获取项目上报量
/// </summary>
/// <param name="req"><see cref="DescribeDataReportCountRequest"/></param>
/// <returns><see cref="DescribeDataReportCountResponse"/></returns>
public DescribeDataReportCountResponse DescribeDataReportCountSync(DescribeDataReportCountRequest req)
{
return InternalRequestAsync<DescribeDataReportCountResponse>(req, "DescribeDataReportCount")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataSetUrlStatistics信息
/// </summary>
/// <param name="req"><see cref="DescribeDataSetUrlStatisticsRequest"/></param>
/// <returns><see cref="DescribeDataSetUrlStatisticsResponse"/></returns>
public Task<DescribeDataSetUrlStatisticsResponse> DescribeDataSetUrlStatistics(DescribeDataSetUrlStatisticsRequest req)
{
return InternalRequestAsync<DescribeDataSetUrlStatisticsResponse>(req, "DescribeDataSetUrlStatistics");
}
/// <summary>
/// 获取DescribeDataSetUrlStatistics信息
/// </summary>
/// <param name="req"><see cref="DescribeDataSetUrlStatisticsRequest"/></param>
/// <returns><see cref="DescribeDataSetUrlStatisticsResponse"/></returns>
public DescribeDataSetUrlStatisticsResponse DescribeDataSetUrlStatisticsSync(DescribeDataSetUrlStatisticsRequest req)
{
return InternalRequestAsync<DescribeDataSetUrlStatisticsResponse>(req, "DescribeDataSetUrlStatistics")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataStaticProject信息
/// </summary>
/// <param name="req"><see cref="DescribeDataStaticProjectRequest"/></param>
/// <returns><see cref="DescribeDataStaticProjectResponse"/></returns>
public Task<DescribeDataStaticProjectResponse> DescribeDataStaticProject(DescribeDataStaticProjectRequest req)
{
return InternalRequestAsync<DescribeDataStaticProjectResponse>(req, "DescribeDataStaticProject");
}
/// <summary>
/// 获取DescribeDataStaticProject信息
/// </summary>
/// <param name="req"><see cref="DescribeDataStaticProjectRequest"/></param>
/// <returns><see cref="DescribeDataStaticProjectResponse"/></returns>
public DescribeDataStaticProjectResponse DescribeDataStaticProjectSync(DescribeDataStaticProjectRequest req)
{
return InternalRequestAsync<DescribeDataStaticProjectResponse>(req, "DescribeDataStaticProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataStaticResource信息
/// </summary>
/// <param name="req"><see cref="DescribeDataStaticResourceRequest"/></param>
/// <returns><see cref="DescribeDataStaticResourceResponse"/></returns>
public Task<DescribeDataStaticResourceResponse> DescribeDataStaticResource(DescribeDataStaticResourceRequest req)
{
return InternalRequestAsync<DescribeDataStaticResourceResponse>(req, "DescribeDataStaticResource");
}
/// <summary>
/// 获取DescribeDataStaticResource信息
/// </summary>
/// <param name="req"><see cref="DescribeDataStaticResourceRequest"/></param>
/// <returns><see cref="DescribeDataStaticResourceResponse"/></returns>
public DescribeDataStaticResourceResponse DescribeDataStaticResourceSync(DescribeDataStaticResourceRequest req)
{
return InternalRequestAsync<DescribeDataStaticResourceResponse>(req, "DescribeDataStaticResource")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataStaticUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataStaticUrlRequest"/></param>
/// <returns><see cref="DescribeDataStaticUrlResponse"/></returns>
public Task<DescribeDataStaticUrlResponse> DescribeDataStaticUrl(DescribeDataStaticUrlRequest req)
{
return InternalRequestAsync<DescribeDataStaticUrlResponse>(req, "DescribeDataStaticUrl");
}
/// <summary>
/// 获取DescribeDataStaticUrl信息
/// </summary>
/// <param name="req"><see cref="DescribeDataStaticUrlRequest"/></param>
/// <returns><see cref="DescribeDataStaticUrlResponse"/></returns>
public DescribeDataStaticUrlResponse DescribeDataStaticUrlSync(DescribeDataStaticUrlRequest req)
{
return InternalRequestAsync<DescribeDataStaticUrlResponse>(req, "DescribeDataStaticUrl")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取DescribeDataWebVitalsPage信息,用户核心活动信息
/// 页面加载性能之Web Vitals。性能关键点
/// </summary>
/// <param name="req"><see cref="DescribeDataWebVitalsPageRequest"/></param>
/// <returns><see cref="DescribeDataWebVitalsPageResponse"/></returns>
public Task<DescribeDataWebVitalsPageResponse> DescribeDataWebVitalsPage(DescribeDataWebVitalsPageRequest req)
{
return InternalRequestAsync<DescribeDataWebVitalsPageResponse>(req, "DescribeDataWebVitalsPage");
}
/// <summary>
/// 获取DescribeDataWebVitalsPage信息,用户核心活动信息
/// 页面加载性能之Web Vitals。性能关键点
/// </summary>
/// <param name="req"><see cref="DescribeDataWebVitalsPageRequest"/></param>
/// <returns><see cref="DescribeDataWebVitalsPageResponse"/></returns>
public DescribeDataWebVitalsPageResponse DescribeDataWebVitalsPageSync(DescribeDataWebVitalsPageRequest req)
{
return InternalRequestAsync<DescribeDataWebVitalsPageResponse>(req, "DescribeDataWebVitalsPage")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取首页错误信息
/// </summary>
/// <param name="req"><see cref="DescribeErrorRequest"/></param>
/// <returns><see cref="DescribeErrorResponse"/></returns>
public Task<DescribeErrorResponse> DescribeError(DescribeErrorRequest req)
{
return InternalRequestAsync<DescribeErrorResponse>(req, "DescribeError");
}
/// <summary>
/// 获取首页错误信息
/// </summary>
/// <param name="req"><see cref="DescribeErrorRequest"/></param>
/// <returns><see cref="DescribeErrorResponse"/></returns>
public DescribeErrorResponse DescribeErrorSync(DescribeErrorRequest req)
{
return InternalRequestAsync<DescribeErrorResponse>(req, "DescribeError")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取应用上报抽样信息
/// </summary>
/// <param name="req"><see cref="DescribeProjectLimitsRequest"/></param>
/// <returns><see cref="DescribeProjectLimitsResponse"/></returns>
public Task<DescribeProjectLimitsResponse> DescribeProjectLimits(DescribeProjectLimitsRequest req)
{
return InternalRequestAsync<DescribeProjectLimitsResponse>(req, "DescribeProjectLimits");
}
/// <summary>
/// 获取应用上报抽样信息
/// </summary>
/// <param name="req"><see cref="DescribeProjectLimitsRequest"/></param>
/// <returns><see cref="DescribeProjectLimitsResponse"/></returns>
public DescribeProjectLimitsResponse DescribeProjectLimitsSync(DescribeProjectLimitsRequest req)
{
return InternalRequestAsync<DescribeProjectLimitsResponse>(req, "DescribeProjectLimits")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目列表(实例创建的团队下的项目列表)
/// </summary>
/// <param name="req"><see cref="DescribeProjectsRequest"/></param>
/// <returns><see cref="DescribeProjectsResponse"/></returns>
public Task<DescribeProjectsResponse> DescribeProjects(DescribeProjectsRequest req)
{
return InternalRequestAsync<DescribeProjectsResponse>(req, "DescribeProjects");
}
/// <summary>
/// 获取项目列表(实例创建的团队下的项目列表)
/// </summary>
/// <param name="req"><see cref="DescribeProjectsRequest"/></param>
/// <returns><see cref="DescribeProjectsResponse"/></returns>
public DescribeProjectsResponse DescribeProjectsSync(DescribeProjectsRequest req)
{
return InternalRequestAsync<DescribeProjectsResponse>(req, "DescribeProjects")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的PV列表
/// </summary>
/// <param name="req"><see cref="DescribePvListRequest"/></param>
/// <returns><see cref="DescribePvListResponse"/></returns>
public Task<DescribePvListResponse> DescribePvList(DescribePvListRequest req)
{
return InternalRequestAsync<DescribePvListResponse>(req, "DescribePvList");
}
/// <summary>
/// 获取项目下的PV列表
/// </summary>
/// <param name="req"><see cref="DescribePvListRequest"/></param>
/// <returns><see cref="DescribePvListResponse"/></returns>
public DescribePvListResponse DescribePvListSync(DescribePvListRequest req)
{
return InternalRequestAsync<DescribePvListResponse>(req, "DescribePvList")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取上传文件存储的临时密钥
/// </summary>
/// <param name="req"><see cref="DescribeReleaseFileSignRequest"/></param>
/// <returns><see cref="DescribeReleaseFileSignResponse"/></returns>
public Task<DescribeReleaseFileSignResponse> DescribeReleaseFileSign(DescribeReleaseFileSignRequest req)
{
return InternalRequestAsync<DescribeReleaseFileSignResponse>(req, "DescribeReleaseFileSign");
}
/// <summary>
/// 获取上传文件存储的临时密钥
/// </summary>
/// <param name="req"><see cref="DescribeReleaseFileSignRequest"/></param>
/// <returns><see cref="DescribeReleaseFileSignResponse"/></returns>
public DescribeReleaseFileSignResponse DescribeReleaseFileSignSync(DescribeReleaseFileSignRequest req)
{
return InternalRequestAsync<DescribeReleaseFileSignResponse>(req, "DescribeReleaseFileSign")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取应用对应sourcemap文件列表
/// </summary>
/// <param name="req"><see cref="DescribeReleaseFilesRequest"/></param>
/// <returns><see cref="DescribeReleaseFilesResponse"/></returns>
public Task<DescribeReleaseFilesResponse> DescribeReleaseFiles(DescribeReleaseFilesRequest req)
{
return InternalRequestAsync<DescribeReleaseFilesResponse>(req, "DescribeReleaseFiles");
}
/// <summary>
/// 获取应用对应sourcemap文件列表
/// </summary>
/// <param name="req"><see cref="DescribeReleaseFilesRequest"/></param>
/// <returns><see cref="DescribeReleaseFilesResponse"/></returns>
public DescribeReleaseFilesResponse DescribeReleaseFilesSync(DescribeReleaseFilesRequest req)
{
return InternalRequestAsync<DescribeReleaseFilesResponse>(req, "DescribeReleaseFiles")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的日志聚合信息
/// </summary>
/// <param name="req"><see cref="DescribeRumGroupLogRequest"/></param>
/// <returns><see cref="DescribeRumGroupLogResponse"/></returns>
public Task<DescribeRumGroupLogResponse> DescribeRumGroupLog(DescribeRumGroupLogRequest req)
{
return InternalRequestAsync<DescribeRumGroupLogResponse>(req, "DescribeRumGroupLog");
}
/// <summary>
/// 获取项目下的日志聚合信息
/// </summary>
/// <param name="req"><see cref="DescribeRumGroupLogRequest"/></param>
/// <returns><see cref="DescribeRumGroupLogResponse"/></returns>
public DescribeRumGroupLogResponse DescribeRumGroupLogSync(DescribeRumGroupLogRequest req)
{
return InternalRequestAsync<DescribeRumGroupLogResponse>(req, "DescribeRumGroupLog")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的日志列表(实例创建的项目下的日志列表)
/// </summary>
/// <param name="req"><see cref="DescribeRumLogExportRequest"/></param>
/// <returns><see cref="DescribeRumLogExportResponse"/></returns>
public Task<DescribeRumLogExportResponse> DescribeRumLogExport(DescribeRumLogExportRequest req)
{
return InternalRequestAsync<DescribeRumLogExportResponse>(req, "DescribeRumLogExport");
}
/// <summary>
/// 获取项目下的日志列表(实例创建的项目下的日志列表)
/// </summary>
/// <param name="req"><see cref="DescribeRumLogExportRequest"/></param>
/// <returns><see cref="DescribeRumLogExportResponse"/></returns>
public DescribeRumLogExportResponse DescribeRumLogExportSync(DescribeRumLogExportRequest req)
{
return InternalRequestAsync<DescribeRumLogExportResponse>(req, "DescribeRumLogExport")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的日志导出列表
/// </summary>
/// <param name="req"><see cref="DescribeRumLogExportsRequest"/></param>
/// <returns><see cref="DescribeRumLogExportsResponse"/></returns>
public Task<DescribeRumLogExportsResponse> DescribeRumLogExports(DescribeRumLogExportsRequest req)
{
return InternalRequestAsync<DescribeRumLogExportsResponse>(req, "DescribeRumLogExports");
}
/// <summary>
/// 获取项目下的日志导出列表
/// </summary>
/// <param name="req"><see cref="DescribeRumLogExportsRequest"/></param>
/// <returns><see cref="DescribeRumLogExportsResponse"/></returns>
public DescribeRumLogExportsResponse DescribeRumLogExportsSync(DescribeRumLogExportsRequest req)
{
return InternalRequestAsync<DescribeRumLogExportsResponse>(req, "DescribeRumLogExports")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的日志列表(实例创建的项目下的日志列表)
/// </summary>
/// <param name="req"><see cref="DescribeRumLogListRequest"/></param>
/// <returns><see cref="DescribeRumLogListResponse"/></returns>
public Task<DescribeRumLogListResponse> DescribeRumLogList(DescribeRumLogListRequest req)
{
return InternalRequestAsync<DescribeRumLogListResponse>(req, "DescribeRumLogList");
}
/// <summary>
/// 获取项目下的日志列表(实例创建的项目下的日志列表)
/// </summary>
/// <param name="req"><see cref="DescribeRumLogListRequest"/></param>
/// <returns><see cref="DescribeRumLogListResponse"/></returns>
public DescribeRumLogListResponse DescribeRumLogListSync(DescribeRumLogListRequest req)
{
return InternalRequestAsync<DescribeRumLogListResponse>(req, "DescribeRumLogList")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的日志列表,分钟级
/// </summary>
/// <param name="req"><see cref="DescribeRumStatsLogListRequest"/></param>
/// <returns><see cref="DescribeRumStatsLogListResponse"/></returns>
public Task<DescribeRumStatsLogListResponse> DescribeRumStatsLogList(DescribeRumStatsLogListRequest req)
{
return InternalRequestAsync<DescribeRumStatsLogListResponse>(req, "DescribeRumStatsLogList");
}
/// <summary>
/// 获取项目下的日志列表,分钟级
/// </summary>
/// <param name="req"><see cref="DescribeRumStatsLogListRequest"/></param>
/// <returns><see cref="DescribeRumStatsLogListResponse"/></returns>
public DescribeRumStatsLogListResponse DescribeRumStatsLogListSync(DescribeRumStatsLogListRequest req)
{
return InternalRequestAsync<DescribeRumStatsLogListResponse>(req, "DescribeRumStatsLogList")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取首页分数列表
/// </summary>
/// <param name="req"><see cref="DescribeScoresRequest"/></param>
/// <returns><see cref="DescribeScoresResponse"/></returns>
public Task<DescribeScoresResponse> DescribeScores(DescribeScoresRequest req)
{
return InternalRequestAsync<DescribeScoresResponse>(req, "DescribeScores");
}
/// <summary>
/// 获取首页分数列表
/// </summary>
/// <param name="req"><see cref="DescribeScoresRequest"/></param>
/// <returns><see cref="DescribeScoresResponse"/></returns>
public DescribeScoresResponse DescribeScoresSync(DescribeScoresRequest req)
{
return InternalRequestAsync<DescribeScoresResponse>(req, "DescribeScores")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 查询片区信息
/// </summary>
/// <param name="req"><see cref="DescribeTawAreasRequest"/></param>
/// <returns><see cref="DescribeTawAreasResponse"/></returns>
public Task<DescribeTawAreasResponse> DescribeTawAreas(DescribeTawAreasRequest req)
{
return InternalRequestAsync<DescribeTawAreasResponse>(req, "DescribeTawAreas");
}
/// <summary>
/// 查询片区信息
/// </summary>
/// <param name="req"><see cref="DescribeTawAreasRequest"/></param>
/// <returns><see cref="DescribeTawAreasResponse"/></returns>
public DescribeTawAreasResponse DescribeTawAreasSync(DescribeTawAreasRequest req)
{
return InternalRequestAsync<DescribeTawAreasResponse>(req, "DescribeTawAreas")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 查询实例信息
/// </summary>
/// <param name="req"><see cref="DescribeTawInstancesRequest"/></param>
/// <returns><see cref="DescribeTawInstancesResponse"/></returns>
public Task<DescribeTawInstancesResponse> DescribeTawInstances(DescribeTawInstancesRequest req)
{
return InternalRequestAsync<DescribeTawInstancesResponse>(req, "DescribeTawInstances");
}
/// <summary>
/// 查询实例信息
/// </summary>
/// <param name="req"><see cref="DescribeTawInstancesRequest"/></param>
/// <returns><see cref="DescribeTawInstancesResponse"/></returns>
public DescribeTawInstancesResponse DescribeTawInstancesSync(DescribeTawInstancesRequest req)
{
return InternalRequestAsync<DescribeTawInstancesResponse>(req, "DescribeTawInstances")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取项目下的UV列表
/// </summary>
/// <param name="req"><see cref="DescribeUvListRequest"/></param>
/// <returns><see cref="DescribeUvListResponse"/></returns>
public Task<DescribeUvListResponse> DescribeUvList(DescribeUvListRequest req)
{
return InternalRequestAsync<DescribeUvListResponse>(req, "DescribeUvList");
}
/// <summary>
/// 获取项目下的UV列表
/// </summary>
/// <param name="req"><see cref="DescribeUvListRequest"/></param>
/// <returns><see cref="DescribeUvListResponse"/></returns>
public DescribeUvListResponse DescribeUvListSync(DescribeUvListRequest req)
{
return InternalRequestAsync<DescribeUvListResponse>(req, "DescribeUvList")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 获取白名单列表
/// </summary>
/// <param name="req"><see cref="DescribeWhitelistsRequest"/></param>
/// <returns><see cref="DescribeWhitelistsResponse"/></returns>
public Task<DescribeWhitelistsResponse> DescribeWhitelists(DescribeWhitelistsRequest req)
{
return InternalRequestAsync<DescribeWhitelistsResponse>(req, "DescribeWhitelists");
}
/// <summary>
/// 获取白名单列表
/// </summary>
/// <param name="req"><see cref="DescribeWhitelistsRequest"/></param>
/// <returns><see cref="DescribeWhitelistsResponse"/></returns>
public DescribeWhitelistsResponse DescribeWhitelistsSync(DescribeWhitelistsRequest req)
{
return InternalRequestAsync<DescribeWhitelistsResponse>(req, "DescribeWhitelists")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 修改 RUM 业务系统
/// </summary>
/// <param name="req"><see cref="ModifyInstanceRequest"/></param>
/// <returns><see cref="ModifyInstanceResponse"/></returns>
public Task<ModifyInstanceResponse> ModifyInstance(ModifyInstanceRequest req)
{
return InternalRequestAsync<ModifyInstanceResponse>(req, "ModifyInstance");
}
/// <summary>
/// 修改 RUM 业务系统
/// </summary>
/// <param name="req"><see cref="ModifyInstanceRequest"/></param>
/// <returns><see cref="ModifyInstanceResponse"/></returns>
public ModifyInstanceResponse ModifyInstanceSync(ModifyInstanceRequest req)
{
return InternalRequestAsync<ModifyInstanceResponse>(req, "ModifyInstance")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 修改 RUM 应用信息
/// </summary>
/// <param name="req"><see cref="ModifyProjectRequest"/></param>
/// <returns><see cref="ModifyProjectResponse"/></returns>
public Task<ModifyProjectResponse> ModifyProject(ModifyProjectRequest req)
{
return InternalRequestAsync<ModifyProjectResponse>(req, "ModifyProject");
}
/// <summary>
/// 修改 RUM 应用信息
/// </summary>
/// <param name="req"><see cref="ModifyProjectRequest"/></param>
/// <returns><see cref="ModifyProjectResponse"/></returns>
public ModifyProjectResponse ModifyProjectSync(ModifyProjectRequest req)
{
return InternalRequestAsync<ModifyProjectResponse>(req, "ModifyProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 新增修改限流
/// </summary>
/// <param name="req"><see cref="ModifyProjectLimitRequest"/></param>
/// <returns><see cref="ModifyProjectLimitResponse"/></returns>
public Task<ModifyProjectLimitResponse> ModifyProjectLimit(ModifyProjectLimitRequest req)
{
return InternalRequestAsync<ModifyProjectLimitResponse>(req, "ModifyProjectLimit");
}
/// <summary>
/// 新增修改限流
/// </summary>
/// <param name="req"><see cref="ModifyProjectLimitRequest"/></param>
/// <returns><see cref="ModifyProjectLimitResponse"/></returns>
public ModifyProjectLimitResponse ModifyProjectLimitSync(ModifyProjectLimitRequest req)
{
return InternalRequestAsync<ModifyProjectLimitResponse>(req, "ModifyProjectLimit")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 恢复 RUM 业务系统,恢复后,用户可以正常使用和上报数据
/// </summary>
/// <param name="req"><see cref="ResumeInstanceRequest"/></param>
/// <returns><see cref="ResumeInstanceResponse"/></returns>
public Task<ResumeInstanceResponse> ResumeInstance(ResumeInstanceRequest req)
{
return InternalRequestAsync<ResumeInstanceResponse>(req, "ResumeInstance");
}
/// <summary>
/// 恢复 RUM 业务系统,恢复后,用户可以正常使用和上报数据
/// </summary>
/// <param name="req"><see cref="ResumeInstanceRequest"/></param>
/// <returns><see cref="ResumeInstanceResponse"/></returns>
public ResumeInstanceResponse ResumeInstanceSync(ResumeInstanceRequest req)
{
return InternalRequestAsync<ResumeInstanceResponse>(req, "ResumeInstance")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 恢复应用使用与上报数据
/// </summary>
/// <param name="req"><see cref="ResumeProjectRequest"/></param>
/// <returns><see cref="ResumeProjectResponse"/></returns>
public Task<ResumeProjectResponse> ResumeProject(ResumeProjectRequest req)
{
return InternalRequestAsync<ResumeProjectResponse>(req, "ResumeProject");
}
/// <summary>
/// 恢复应用使用与上报数据
/// </summary>
/// <param name="req"><see cref="ResumeProjectRequest"/></param>
/// <returns><see cref="ResumeProjectResponse"/></returns>
public ResumeProjectResponse ResumeProjectSync(ResumeProjectRequest req)
{
return InternalRequestAsync<ResumeProjectResponse>(req, "ResumeProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 停止实例
/// </summary>
/// <param name="req"><see cref="StopInstanceRequest"/></param>
/// <returns><see cref="StopInstanceResponse"/></returns>
public Task<StopInstanceResponse> StopInstance(StopInstanceRequest req)
{
return InternalRequestAsync<StopInstanceResponse>(req, "StopInstance");
}
/// <summary>
/// 停止实例
/// </summary>
/// <param name="req"><see cref="StopInstanceRequest"/></param>
/// <returns><see cref="StopInstanceResponse"/></returns>
public StopInstanceResponse StopInstanceSync(StopInstanceRequest req)
{
return InternalRequestAsync<StopInstanceResponse>(req, "StopInstance")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
/// <summary>
/// 停止项目使用与上报数据
/// </summary>
/// <param name="req"><see cref="StopProjectRequest"/></param>
/// <returns><see cref="StopProjectResponse"/></returns>
public Task<StopProjectResponse> StopProject(StopProjectRequest req)
{
return InternalRequestAsync<StopProjectResponse>(req, "StopProject");
}
/// <summary>
/// 停止项目使用与上报数据
/// </summary>
/// <param name="req"><see cref="StopProjectRequest"/></param>
/// <returns><see cref="StopProjectResponse"/></returns>
public StopProjectResponse StopProjectSync(StopProjectRequest req)
{
return InternalRequestAsync<StopProjectResponse>(req, "StopProject")
.ConfigureAwait(false).GetAwaiter().GetResult();
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tencentcloud/tencentcloud-sdk-dotnet.git
git@gitee.com:tencentcloud/tencentcloud-sdk-dotnet.git
tencentcloud
tencentcloud-sdk-dotnet
tencentcloud-sdk-dotnet
master

搜索帮助