diff --git a/Analytics/AnalyticsClient.cs b/Analytics/AnalyticsClient.cs index d81c7405e3..0237e8a41e 100644 --- a/Analytics/AnalyticsClient.cs +++ b/Analytics/AnalyticsClient.cs @@ -94,6 +94,7 @@ public async Task ChangeAnalyticsIns { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -133,6 +134,7 @@ public async Task ChangeAnalytic { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -172,6 +174,7 @@ public async Task CreateAnalyticsInstance(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -211,6 +214,7 @@ public async Task DeleteAnalyticsInstance(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -249,6 +253,7 @@ public async Task DeleteWorkRequest(DeleteWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -287,6 +292,7 @@ public async Task GetAnalyticsInstance(GetAnalytic { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -325,6 +331,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -363,6 +370,7 @@ public async Task ListAnalyticsInstances(ListAna { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -401,6 +409,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -439,6 +448,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -477,6 +487,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -516,6 +527,7 @@ public async Task ScaleAnalyticsInstance(ScaleAn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -555,6 +567,7 @@ public async Task StartAnalyticsInstance(StartAn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -594,6 +607,7 @@ public async Task StopAnalyticsInstance(StopAnaly { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -633,6 +647,7 @@ public async Task UpdateAnalyticsInstance(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Announcementsservice/AnnouncementClient.cs b/Announcementsservice/AnnouncementClient.cs index fa3ac2a24b..aca616b088 100644 --- a/Announcementsservice/AnnouncementClient.cs +++ b/Announcementsservice/AnnouncementClient.cs @@ -92,6 +92,7 @@ public async Task GetAnnouncement(GetAnnouncementReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task GetAnnouncementUserStatus(G { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task ListAnnouncements(ListAnnouncements { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task UpdateAnnouncementUserSt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Apigateway/DeploymentClient.cs b/Apigateway/DeploymentClient.cs index e4d2b9a4c5..a687cd3baa 100644 --- a/Apigateway/DeploymentClient.cs +++ b/Apigateway/DeploymentClient.cs @@ -92,6 +92,7 @@ public async Task ChangeDeploymentCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task CreateDeployment(CreateDeploymentReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task DeleteDeployment(DeleteDeploymentReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -204,6 +207,7 @@ public async Task GetDeployment(GetDeploymentRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task ListDeployments(ListDeploymentsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task UpdateDeployment(UpdateDeploymentReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Apigateway/GatewayClient.cs b/Apigateway/GatewayClient.cs index 7b392fd2fb..07dbe479b9 100644 --- a/Apigateway/GatewayClient.cs +++ b/Apigateway/GatewayClient.cs @@ -92,6 +92,7 @@ public async Task ChangeGatewayCompartment(Cha { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task CreateGateway(CreateGatewayRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task DeleteGateway(DeleteGatewayRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -204,6 +207,7 @@ public async Task GetGateway(GetGatewayRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task ListGateways(ListGatewaysRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task UpdateGateway(UpdateGatewayRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Apigateway/WorkRequestsClient.cs b/Apigateway/WorkRequestsClient.cs index 2926492991..1e5afb13cf 100644 --- a/Apigateway/WorkRequestsClient.cs +++ b/Apigateway/WorkRequestsClient.cs @@ -92,6 +92,7 @@ public async Task CancelWorkRequest(CancelWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -243,6 +247,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Applicationmigration/ApplicationMigrationClient.cs b/Applicationmigration/ApplicationMigrationClient.cs index f2f310b990..50e73596cf 100644 --- a/Applicationmigration/ApplicationMigrationClient.cs +++ b/Applicationmigration/ApplicationMigrationClient.cs @@ -92,6 +92,7 @@ public async Task CancelWorkRequest(CancelWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task ChangeMigrationCompartment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task ChangeSourceCompartment(Chang { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task CreateMigration(CreateMigrationReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -244,6 +248,7 @@ public async Task CreateSource(CreateSourceRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -281,6 +286,7 @@ public async Task DeleteMigration(DeleteMigrationReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -318,6 +324,7 @@ public async Task DeleteSource(DeleteSourceRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -355,6 +362,7 @@ public async Task GetMigration(GetMigrationRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -392,6 +400,7 @@ public async Task GetSource(GetSourceRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -429,6 +438,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -467,6 +477,7 @@ public async Task ListMigrations(ListMigrationsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -505,6 +516,7 @@ public async Task ListSourceApplications(ListSou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -543,6 +555,7 @@ public async Task ListSources(ListSourcesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -581,6 +594,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -619,6 +633,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -657,6 +672,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -695,6 +711,7 @@ public async Task MigrateApplication(MigrateApplicat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -732,6 +749,7 @@ public async Task UpdateMigration(UpdateMigrationReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -769,6 +787,7 @@ public async Task UpdateSource(UpdateSourceRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Audit/AuditClient.cs b/Audit/AuditClient.cs index 3544b6015f..d163990109 100644 --- a/Audit/AuditClient.cs +++ b/Audit/AuditClient.cs @@ -89,6 +89,7 @@ public async Task GetConfiguration(GetConfigurationReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -128,6 +129,7 @@ public async Task ListEvents(ListEventsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -165,6 +167,7 @@ public async Task UpdateConfiguration(UpdateConfigu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Autoscaling/AutoScalingClient.cs b/Autoscaling/AutoScalingClient.cs index ec1af5613d..ce18bbc279 100644 --- a/Autoscaling/AutoScalingClient.cs +++ b/Autoscaling/AutoScalingClient.cs @@ -95,6 +95,7 @@ public async Task ChangeAutoS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task CreateAutoScalingConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -170,6 +172,7 @@ public async Task CreateAutoScalingPolicy(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -207,6 +210,7 @@ public async Task DeleteAutoScalingConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -244,6 +248,7 @@ public async Task DeleteAutoScalingPolicy(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -281,6 +286,7 @@ public async Task GetAutoScalingConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -318,6 +324,7 @@ public async Task GetAutoScalingPolicy(GetAutoScal { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -356,6 +363,7 @@ public async Task ListAutoScalingConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -394,6 +402,7 @@ public async Task ListAutoScalingPolicies(ListA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -433,6 +442,7 @@ public async Task UpdateAutoScalingConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -470,6 +480,7 @@ public async Task UpdateAutoScalingPolicy(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Bds/BdsClient.cs b/Bds/BdsClient.cs index 47b8691084..549ed5f651 100644 --- a/Bds/BdsClient.cs +++ b/Bds/BdsClient.cs @@ -94,6 +94,7 @@ public async Task AddBlockStorage(AddBlockStorageReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -133,6 +134,7 @@ public async Task AddCloudSql(AddCloudSqlRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -172,6 +174,7 @@ public async Task AddWorkerNodes(AddWorkerNodesRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -210,6 +213,7 @@ public async Task ChangeBdsInstanceCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -250,6 +254,7 @@ public async Task ChangeShape(ChangeShapeRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -288,6 +293,7 @@ public async Task CreateBdsInstance(CreateBdsInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -325,6 +331,7 @@ public async Task DeleteBdsInstance(DeleteBdsInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -362,6 +369,7 @@ public async Task GetBdsInstance(GetBdsInstanceRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -399,6 +407,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -437,6 +446,7 @@ public async Task ListBdsInstances(ListBdsInstancesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -475,6 +485,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -513,6 +524,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -551,6 +563,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -589,6 +602,7 @@ public async Task RemoveCloudSql(RemoveCloudSqlRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -627,6 +641,7 @@ public async Task RestartNode(RestartNodeRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -664,6 +679,7 @@ public async Task UpdateBdsInstance(UpdateBdsInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Blockchain/BlockchainPlatformClient.cs b/Blockchain/BlockchainPlatformClient.cs index a4c0cccefc..c3ec667166 100644 --- a/Blockchain/BlockchainPlatformClient.cs +++ b/Blockchain/BlockchainPlatformClient.cs @@ -92,6 +92,7 @@ public async Task ChangeBlockchainP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task CreateBlockchainPlatform(Cre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task CreateOsn(CreateOsnRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -204,6 +207,7 @@ public async Task CreatePeer(CreatePeerRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -241,6 +245,7 @@ public async Task DeleteBlockchainPlatform(Del { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -278,6 +283,7 @@ public async Task DeleteOsn(DeleteOsnRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -315,6 +321,7 @@ public async Task DeletePeer(DeletePeerRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -352,6 +359,7 @@ public async Task DeleteWorkRequest(DeleteWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -389,6 +397,7 @@ public async Task GetBlockchainPlatform(GetBlockc { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -426,6 +435,7 @@ public async Task GetOsn(GetOsnRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -463,6 +473,7 @@ public async Task GetPeer(GetPeerRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -500,6 +511,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -537,6 +549,7 @@ public async Task ListBlockchainPlatforms(ListB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -574,6 +587,7 @@ public async Task ListOsns(ListOsnsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -611,6 +625,7 @@ public async Task ListPeers(ListPeersRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -649,6 +664,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -687,6 +703,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -725,6 +742,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -762,6 +780,7 @@ public async Task PreviewScaleBlockchain { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -799,6 +818,7 @@ public async Task ScaleBlockchainPlatform(Scale { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -836,6 +856,7 @@ public async Task StartBlockchainPlatform(Start { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -873,6 +894,7 @@ public async Task StopBlockchainPlatform(StopBlo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -910,6 +932,7 @@ public async Task UpdateBlockchainPlatform(Upd { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -947,6 +970,7 @@ public async Task UpdateOsn(UpdateOsnRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -984,6 +1008,7 @@ public async Task UpdatePeer(UpdatePeerRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Budget/BudgetClient.cs b/Budget/BudgetClient.cs index 4d0875d815..4d1c3d3188 100644 --- a/Budget/BudgetClient.cs +++ b/Budget/BudgetClient.cs @@ -93,6 +93,7 @@ public async Task CreateAlertRule(CreateAlertRuleReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CreateBudget(CreateBudgetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task DeleteAlertRule(DeleteAlertRuleReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task DeleteBudget(DeleteBudgetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task GetAlertRule(GetAlertRuleRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task GetBudget(GetBudgetRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -317,6 +323,7 @@ public async Task ListAlertRules(ListAlertRulesRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -364,6 +371,7 @@ public async Task ListBudgets(ListBudgetsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -401,6 +409,7 @@ public async Task UpdateAlertRule(UpdateAlertRuleReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -438,6 +447,7 @@ public async Task UpdateBudget(UpdateBudgetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/CHANGELOG.md b/CHANGELOG.md index 72113870fd..f5c374ed71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file. The format is based on Keep a [Changelog](http://keepachangelog.com/). +## 4.0.0 - 2020-08-11 +### Added +- Support for autonomous json databases in the Database service +- Support for cleaning up uncommitted multipart uploads in the Object Storage service +- Support for additional list API filters in the Data Catalog service +- Updated default list of retryable errors + +### Breaking Changes +- Some unusable region enums were removed from the Support Management service +- Updated default retry delay strategy from fixed delay to exponential delay. + ## 3.0.0 - 2020-08-03 ### Added - Support for calling Oracle Cloud Infrastructure services in the uk-gov-cardiff-1 region diff --git a/Cims/IncidentClient.cs b/Cims/IncidentClient.cs index 2150075053..28da7645f2 100644 --- a/Cims/IncidentClient.cs +++ b/Cims/IncidentClient.cs @@ -63,7 +63,7 @@ public IncidentClient(IBasicAuthenticationDetailsProvider authenticationDetailsP } /// - /// This API enables the customer to Create an Incident + /// Enables the customer to create an support ticket. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -89,6 +89,7 @@ public async Task CreateIncident(CreateIncidentRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -100,7 +101,7 @@ public async Task CreateIncident(CreateIncidentRequest r } /// - /// This API fetches the details of a requested Incident + /// Gets the details of the support ticket. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -126,6 +127,7 @@ public async Task GetIncident(GetIncidentRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -137,7 +139,7 @@ public async Task GetIncident(GetIncidentRequest request, R } /// - /// GetStatus of the Service + /// Gets the status of the service. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -163,6 +165,7 @@ public async Task GetStatus(GetStatusRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -174,7 +177,7 @@ public async Task GetStatus(GetStatusRequest request, RetryCo } /// - /// This API returns the list of all possible product that OCI supports, while creating an incident + /// During support ticket creation, returns the list of all possible products that Oracle Cloud Infrastructure supports. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -200,6 +203,7 @@ public async Task ListIncidentResourceTypes(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -211,7 +215,7 @@ public async Task ListIncidentResourceTypes(L } /// - /// This API returns the list of incidents raised by the tenant + /// Returns the list of support tickets raised by the tenancy. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -237,6 +241,7 @@ public async Task ListIncidents(ListIncidentsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -248,7 +253,7 @@ public async Task ListIncidents(ListIncidentsRequest requ } /// - /// This API updates an existing incident + /// Updates the specified support ticket's information. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -274,6 +279,7 @@ public async Task UpdateIncident(UpdateIncidentRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -285,7 +291,7 @@ public async Task UpdateIncident(UpdateIncidentRequest r } /// - /// ValidateUser + /// Checks whether the requested user is valid. /// /// The request object containing the details to send. Required. /// The retry configuration that will be used by to send this request. Optional. @@ -311,6 +317,7 @@ public async Task ValidateUser(ValidateUserRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Cims/UserClient.cs b/Cims/UserClient.cs new file mode 100644 index 0000000000..ae67c6447f --- /dev/null +++ b/Cims/UserClient.cs @@ -0,0 +1,101 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System; +using System.Net.Http; +using System.Threading; +using System.Threading.Tasks; +using Oci.Common; +using Oci.Common.Auth; +using Oci.Common.Retry; +using Oci.CimsService.Requests; +using Oci.CimsService.Responses; + +namespace Oci.CimsService +{ + /// Service client instance for User. + public class UserClient : RegionalClientBase + { + private readonly RetryConfiguration retryConfiguration; + private const string basePathWithoutHost = "/20181231"; + + /// + /// Creates a new service instance using the given authentication provider and/or client configuration and/or endpoint. + /// A client configuration can also be provided optionally to adjust REST client behaviors. + /// + /// The authentication details provider. Required. + /// The client configuration that contains settings to adjust REST client behaviors. Optional. + /// The endpoint of the service. If not provided and the client is a regional client, the endpoint will be constructed based on region information. Optional. + public UserClient(IBasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration clientConfiguration = null, string endpoint = null) + : base(authenticationDetailsProvider, clientConfiguration) + { + service = new Service + { + ServiceName = "USER", + ServiceEndpointPrefix = "", + ServiceEndpointTemplate = "https://incidentmanagement.{region}.{secondLevelDomain}" + }; + + ClientConfiguration clientConfigurationToUse = clientConfiguration ?? new ClientConfiguration(); + + if (authenticationDetailsProvider is IRegionProvider) + { + // Use region from Authentication details provider. + SetRegion(((IRegionProvider)authenticationDetailsProvider).Region); + } + + if (endpoint != null) + { + logger.Info($"Using endpoint specified \"{endpoint}\"."); + SetEndpoint(endpoint); + } + + this.retryConfiguration = clientConfigurationToUse.RetryConfiguration; + } + + /// + /// Create user to request Customer Support Identifier(CSI) to Customer User Administrator(CUA). + /// + /// The request object containing the details to send. Required. + /// The retry configuration that will be used by to send this request. Optional. + /// The cancellation token to cancel this operation. Optional. + /// A response object containing details about the completed operation + public async Task CreateUser(CreateUserRequest request, RetryConfiguration retryConfiguration = null, CancellationToken cancellationToken = default) + { + logger.Trace("Called createUser"); + Uri uri = new Uri(this.restClient.GetEndpoint(), System.IO.Path.Combine(basePathWithoutHost, "/v2/users".Trim('/'))); + HttpMethod method = new HttpMethod("Post"); + HttpRequestMessage requestMessage = Converter.ToHttpRequestMessage(uri, method, request); + requestMessage.Headers.Add("Accept", "application/json"); + GenericRetrier retryingClient = Retrier.GetPreferredRetrier(retryConfiguration, this.retryConfiguration); + HttpResponseMessage responseMessage; + + try + { + if (retryingClient != null) + { + responseMessage = await retryingClient.MakeRetryingCall(this.restClient.HttpSend, requestMessage, cancellationToken); + } + else + { + responseMessage = await this.restClient.HttpSend(requestMessage); + } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); + + return Converter.FromHttpResponseMessage(responseMessage); + } + catch (Exception e) + { + logger.Error($"CreateUser failed with error: {e.Message}"); + throw; + } + } + + } +} diff --git a/Cims/models/ActivityItem.cs b/Cims/models/ActivityItem.cs index 1803e78590..f2be6b2cf1 100644 --- a/Cims/models/ActivityItem.cs +++ b/Cims/models/ActivityItem.cs @@ -16,31 +16,31 @@ namespace Oci.CimsService.Models { /// - /// Details of Activity Item + /// Details about the ActivityItem object. /// public class ActivityItem : Item { /// - /// Comments to update as part of Activity + /// Comments added with the activity on the support ticket. /// [JsonProperty(PropertyName = "comments")] public string Comments { get; set; } /// - /// Epoch time when activity was created + /// The time when the activity was created, in milliseconds since epoch time. /// [JsonProperty(PropertyName = "timeCreated")] public System.Nullable TimeCreated { get; set; } /// - /// Epoch time when activity was updated + /// The time when the activity was updated, in milliseconds since epoch time. /// [JsonProperty(PropertyName = "timeUpdated")] public System.Nullable TimeUpdated { get; set; } /// /// - /// Type of activity. eg: NOTES, UPDATE + /// The type of activity occuring on the support ticket. /// /// public enum ActivityTypeEnum { @@ -55,14 +55,14 @@ public enum ActivityTypeEnum { }; /// - /// Type of activity. eg: NOTES, UPDATE + /// The type of activity occuring on the support ticket. /// [JsonProperty(PropertyName = "activityType")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable ActivityType { get; set; } /// /// - /// Person who updates the activity + /// The person who updates the activity on the support ticket. /// /// public enum ActivityAuthorEnum { @@ -73,7 +73,7 @@ public enum ActivityAuthorEnum { }; /// - /// Person who updates the activity + /// The person who updates the activity on the support ticket. /// [JsonProperty(PropertyName = "activityAuthor")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/AvailabilityDomain.cs b/Cims/models/AvailabilityDomain.cs index 0e7b4760b5..5f2fe52c70 100644 --- a/Cims/models/AvailabilityDomain.cs +++ b/Cims/models/AvailabilityDomain.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Availability Domain supported by CIMS. eg: PHX_AD_1, PHX_AD_1 + /// The list of availability domains supported by the Support Management API. /// public enum AvailabilityDomain { [EnumMember(Value = "DEV_1")] @@ -68,10 +68,6 @@ public enum AvailabilityDomain { ApMumbai1Ad1, [EnumMember(Value = "SA_SAOPAULO_1_AD_1")] SaSaopaulo1Ad1, - [EnumMember(Value = "US_LUKE_1_AD_1")] - UsLuke1Ad1, - [EnumMember(Value = "US_LANGLEY_1_AD_1")] - UsLangley1Ad1, [EnumMember(Value = "ME_JEDDAH_1_AD_1")] MeJeddah1Ad1, [EnumMember(Value = "AP_OSAKA_1_AD_1")] @@ -90,8 +86,6 @@ public enum AvailabilityDomain { ApHyderabad1Ad1, [EnumMember(Value = "AP_CHUNCHEON_1_AD_1")] ApChuncheon1Ad1, - [EnumMember(Value = "US_TACOMA_1_AD_1")] - UsTacoma1Ad1, [EnumMember(Value = "NO_AD")] NoAd } diff --git a/Cims/models/Category.cs b/Cims/models/Category.cs index 0a2eebf80d..e4e89928e7 100644 --- a/Cims/models/Category.cs +++ b/Cims/models/Category.cs @@ -16,19 +16,19 @@ namespace Oci.CimsService.Models { /// - /// Details of Category of the incident + /// Details about the category associated with the support ticket. /// public class Category { /// - /// Unique ID that identifies a Category + /// Unique identifier for the category. /// [JsonProperty(PropertyName = "categoryKey")] public string CategoryKey { get; set; } /// - /// Name of category. eg: Compute, Identity + /// The name of the category. For example, `Compute` or `Identity`. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/Cims/models/Classifier.cs b/Cims/models/Classifier.cs index bd7d13dba0..9b901a2a03 100644 --- a/Cims/models/Classifier.cs +++ b/Cims/models/Classifier.cs @@ -16,43 +16,43 @@ namespace Oci.CimsService.Models { /// - /// Incident Classifier details + /// Details about the incident classifier object. /// public class Classifier { /// - /// Unique ID that identifies a classifier + /// Unique identifier of the classifier. /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } /// - /// Name of classifier. eg: LIMIT Increase + /// The display name of the classifier. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Label of classifier + /// The label associated with the classifier. /// [JsonProperty(PropertyName = "label")] public string Label { get; set; } /// - /// Description of classifier + /// The description of the classifier. /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// - /// List of Issues + /// The list of issues. /// [JsonProperty(PropertyName = "issueTypeList")] public System.Collections.Generic.List IssueTypeList { get; set; } /// /// - /// Scope of Service category/resource + /// The scope of the service category or resource. /// /// public enum ScopeEnum { @@ -67,14 +67,14 @@ public enum ScopeEnum { }; /// - /// Scope of Service category/resource + /// The scope of the service category or resource. /// [JsonProperty(PropertyName = "scope")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable Scope { get; set; } /// /// - /// Unit to measure Service category/ resource + /// The unit to use to measure the service category or resource. /// /// public enum UnitEnum { @@ -87,7 +87,7 @@ public enum UnitEnum { }; /// - /// Unit to measure Service category/ resource + /// The unit to use to measure the service category or resource. /// [JsonProperty(PropertyName = "unit")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/Contact.cs b/Cims/models/Contact.cs index 42270c18f4..48cae5ee85 100644 --- a/Cims/models/Contact.cs +++ b/Cims/models/Contact.cs @@ -16,31 +16,31 @@ namespace Oci.CimsService.Models { /// - /// Contact Details of the Customer + /// Contact details for the customer. /// public class Contact { /// - /// Contact person name + /// The name of the contact person. /// [JsonProperty(PropertyName = "contactName")] public string ContactName { get; set; } /// - /// Contact person email + /// The email of the contact person. /// [JsonProperty(PropertyName = "contactEmail")] public string ContactEmail { get; set; } /// - /// Contact person phone number + /// The phone number of the contact person. /// [JsonProperty(PropertyName = "contactPhone")] public string ContactPhone { get; set; } /// /// - /// ContactType enum. eg: MANAGER, PRIMARY + /// The type of contact, such as primary or alternate. /// /// public enum ContactTypeEnum { @@ -57,7 +57,7 @@ public enum ContactTypeEnum { }; /// - /// ContactType enum. eg: MANAGER, PRIMARY + /// The type of contact, such as primary or alternate. /// [JsonProperty(PropertyName = "contactType")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/ContactList.cs b/Cims/models/ContactList.cs index 84d51791ab..af70a82443 100644 --- a/Cims/models/ContactList.cs +++ b/Cims/models/ContactList.cs @@ -16,13 +16,13 @@ namespace Oci.CimsService.Models { /// - /// List of contacts + /// The list of contacts for the ticket. /// public class ContactList { /// - /// List of contacts + /// The list of contacts. /// /// /// Required diff --git a/Cims/models/ContextualData.cs b/Cims/models/ContextualData.cs new file mode 100644 index 0000000000..a3ae62133c --- /dev/null +++ b/Cims/models/ContextualData.cs @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.CimsService.Models +{ + + public class ContextualData + { + + /// + /// The unique client identifier + /// + /// + /// Required + /// + [Required(ErrorMessage = "ClientId is required.")] + [JsonProperty(PropertyName = "clientId")] + public string ClientId { get; set; } + + /// + /// The schema name + /// + /// + /// Required + /// + [Required(ErrorMessage = "SchemaName is required.")] + [JsonProperty(PropertyName = "schemaName")] + public string SchemaName { get; set; } + + /// + /// The schema version + /// + /// + /// Required + /// + [Required(ErrorMessage = "SchemaVersion is required.")] + [JsonProperty(PropertyName = "schemaVersion")] + public string SchemaVersion { get; set; } + + /// + /// The context data payload + /// + /// + /// Required + /// + [Required(ErrorMessage = "Payload is required.")] + [JsonProperty(PropertyName = "payload")] + public string Payload { get; set; } + } +} diff --git a/Cims/models/CreateCategoryDetails.cs b/Cims/models/CreateCategoryDetails.cs index a6cf7fd1ad..03a2464cfb 100644 --- a/Cims/models/CreateCategoryDetails.cs +++ b/Cims/models/CreateCategoryDetails.cs @@ -16,13 +16,16 @@ namespace Oci.CimsService.Models { /// - /// Details of Category of the incident + /// Details for creating the category of the support ticket. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateCategoryDetails { /// - /// Unique ID that identifies a Category + /// Unique identifier for the category. /// [JsonProperty(PropertyName = "categoryKey")] public string CategoryKey { get; set; } diff --git a/Cims/models/CreateIncident.cs b/Cims/models/CreateIncident.cs index dedec72a5c..0960f3f4e8 100644 --- a/Cims/models/CreateIncident.cs +++ b/Cims/models/CreateIncident.cs @@ -16,13 +16,16 @@ namespace Oci.CimsService.Models { /// - /// Details of Incident + /// Details gathered during the creation of the support ticket. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateIncident { /// - /// Tenancy Ocid + /// The OCID of the tenancy. /// /// /// Required @@ -39,13 +42,13 @@ public class CreateIncident public CreateTicketDetails Ticket { get; set; } /// - /// Customer Support Identifier of the support account + /// The Customer Support Identifier number for the support account. /// [JsonProperty(PropertyName = "csi")] public string Csi { get; set; } /// - /// States type of incident. eg: LIMIT, TECH + /// The kind of support ticket, such as a technical issue request. /// /// /// Required @@ -56,13 +59,13 @@ public class CreateIncident public System.Nullable ProblemType { get; set; } /// - /// List of contacts + /// The list of contacts. /// [JsonProperty(PropertyName = "contacts")] public System.Collections.Generic.List Contacts { get; set; } /// - /// Referrer of the incident., its usually the URL for where the customer logged the incident + /// The incident referrer. This value is often the URL that the customer used when creating the support ticket. /// [JsonProperty(PropertyName = "referrer")] public string Referrer { get; set; } diff --git a/Cims/models/CreateIssueTypeDetails.cs b/Cims/models/CreateIssueTypeDetails.cs index 4a99e71c44..200ed498f9 100644 --- a/Cims/models/CreateIssueTypeDetails.cs +++ b/Cims/models/CreateIssueTypeDetails.cs @@ -16,13 +16,16 @@ namespace Oci.CimsService.Models { /// - /// Details Issue Type of the incident + /// Details for creating the issue type of the support ticket. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateIssueTypeDetails { /// - /// Unique ID that identifies an Issue Type + /// Unique identifier for the issue type. /// [JsonProperty(PropertyName = "issueTypeKey")] public string IssueTypeKey { get; set; } diff --git a/Cims/models/CreateItemDetails.cs b/Cims/models/CreateItemDetails.cs index 8bb9d15619..c556f2f941 100644 --- a/Cims/models/CreateItemDetails.cs +++ b/Cims/models/CreateItemDetails.cs @@ -16,14 +16,17 @@ namespace Oci.CimsService.Models { /// - /// Details of Item + /// Details gathered during item creation. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
[JsonConverter(typeof(CreateItemDetailsModelConverter))] public class CreateItemDetails { /// - /// Type of item. eg: CreateTechSupportItemDetails, CreateLimitItemDetails + /// The type of the item. /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } @@ -38,7 +41,7 @@ public class CreateItemDetails public CreateIssueTypeDetails IssueType { get; set; } /// - /// Name of the item + /// The display name of the item. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/Cims/models/CreateLimitItemDetails.cs b/Cims/models/CreateLimitItemDetails.cs index e791af9eee..79a5c9229e 100644 --- a/Cims/models/CreateLimitItemDetails.cs +++ b/Cims/models/CreateLimitItemDetails.cs @@ -16,31 +16,31 @@ namespace Oci.CimsService.Models { /// - /// Details of Limit Item + /// Reserved for future use. /// public class CreateLimitItemDetails : CreateItemDetails { /// - /// Current available limit of the resource + /// The limit of the resource currently available. /// [JsonProperty(PropertyName = "currentLimit")] public System.Nullable CurrentLimit { get; set; } /// - /// Current used limit of the resource + /// The current usage of the resource. /// [JsonProperty(PropertyName = "currentUsage")] public System.Nullable CurrentUsage { get; set; } /// - /// Requested limit for the resource + /// Reserved for future use. /// [JsonProperty(PropertyName = "requestedLimit")] public System.Nullable RequestedLimit { get; set; } /// /// - /// Status of the Limit + /// The current status of the request. /// /// public enum LimitStatusEnum { @@ -53,7 +53,7 @@ public enum LimitStatusEnum { }; /// - /// Status of the Limit + /// The current status of the request. /// [JsonProperty(PropertyName = "limitStatus")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/CreateResourceDetails.cs b/Cims/models/CreateResourceDetails.cs index fbcc9eecd9..330e62005b 100644 --- a/Cims/models/CreateResourceDetails.cs +++ b/Cims/models/CreateResourceDetails.cs @@ -16,7 +16,10 @@ namespace Oci.CimsService.Models { /// - /// Details of Ticket Item + /// Details about the resource that the support ticket relates to. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateResourceDetails { @@ -25,14 +28,14 @@ public class CreateResourceDetails public CreateItemDetails Item { get; set; } /// - /// List of OCI regions + /// The list of available Oracle Cloud Infrastructure regions. /// [JsonProperty(PropertyName = "region")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable Region { get; set; } /// - /// List of OCI ADs + /// The list of available Oracle Cloud Infrastructure availability domains. /// [JsonProperty(PropertyName = "availabilityDomain")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/CreateSubCategoryDetails.cs b/Cims/models/CreateSubCategoryDetails.cs index badef487bf..a5bc7d95f6 100644 --- a/Cims/models/CreateSubCategoryDetails.cs +++ b/Cims/models/CreateSubCategoryDetails.cs @@ -16,13 +16,16 @@ namespace Oci.CimsService.Models { /// - /// Details of Sub Category of the incident + /// Details for creating the subcategory of the support ticket. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateSubCategoryDetails { /// - /// Unique ID that identifies a Sub Category + /// Unique identifier for the subcategory. /// [JsonProperty(PropertyName = "subCategoryKey")] public string SubCategoryKey { get; set; } diff --git a/Cims/models/CreateTechSupportItemDetails.cs b/Cims/models/CreateTechSupportItemDetails.cs index b1d9d3f4a2..941aa66251 100644 --- a/Cims/models/CreateTechSupportItemDetails.cs +++ b/Cims/models/CreateTechSupportItemDetails.cs @@ -16,7 +16,10 @@ namespace Oci.CimsService.Models { /// - /// Details of TechSupport Item + /// Details about the issue that the technical support request relates to. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateTechSupportItemDetails : CreateItemDetails { diff --git a/Cims/models/CreateTicketDetails.cs b/Cims/models/CreateTicketDetails.cs index 022df47bff..89946dba32 100644 --- a/Cims/models/CreateTicketDetails.cs +++ b/Cims/models/CreateTicketDetails.cs @@ -16,13 +16,16 @@ namespace Oci.CimsService.Models { /// - /// Details of Ticket created + /// Details relevant to the support ticket. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class CreateTicketDetails { /// /// - /// Severity of the ticket. eg: HIGH, MEDIUM + /// The severity of the support ticket. /// /// public enum SeverityEnum { @@ -35,7 +38,7 @@ public enum SeverityEnum { }; /// - /// Severity of the ticket. eg: HIGH, MEDIUM + /// The severity of the support ticket. /// /// /// Required @@ -46,13 +49,13 @@ public enum SeverityEnum { public System.Nullable Severity { get; set; } /// - /// List of resources + /// The list of resources. /// [JsonProperty(PropertyName = "resourceList")] public System.Collections.Generic.List ResourceList { get; set; } /// - /// Title of ticket + /// The title of the support ticket. /// /// /// Required @@ -62,7 +65,7 @@ public enum SeverityEnum { public string Title { get; set; } /// - /// Details of ticket + /// The description of the support ticket. /// /// /// Required @@ -70,5 +73,11 @@ public enum SeverityEnum { [Required(ErrorMessage = "Description is required.")] [JsonProperty(PropertyName = "description")] public string Description { get; set; } + + /// + /// The context from where the ticket is getting created. + /// + [JsonProperty(PropertyName = "contextualData")] + public ContextualData ContextualData { get; set; } } } diff --git a/Cims/models/CreateUserDetails.cs b/Cims/models/CreateUserDetails.cs new file mode 100644 index 0000000000..8c42b5af0e --- /dev/null +++ b/Cims/models/CreateUserDetails.cs @@ -0,0 +1,104 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.CimsService.Models +{ + /// + /// Details about creation of user. + /// + public class CreateUserDetails + { + + /// + /// The OCID of the tenancy. + /// + /// + /// Required + /// + [Required(ErrorMessage = "CompartmentId is required.")] + [JsonProperty(PropertyName = "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// First name of the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "FirstName is required.")] + [JsonProperty(PropertyName = "firstName")] + public string FirstName { get; set; } + + /// + /// Last name of the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "LastName is required.")] + [JsonProperty(PropertyName = "lastName")] + public string LastName { get; set; } + + /// + /// Country of the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Country is required.")] + [JsonProperty(PropertyName = "country")] + public string Country { get; set; } + + /// + /// CSI to be associated to the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Csi is required.")] + [JsonProperty(PropertyName = "csi")] + public string Csi { get; set; } + + /// + /// Contact number of the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Phone is required.")] + [JsonProperty(PropertyName = "phone")] + public string Phone { get; set; } + + /// + /// Timezone of the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Timezone is required.")] + [JsonProperty(PropertyName = "timezone")] + public string Timezone { get; set; } + + /// + /// Organization of the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "OrganizationName is required.")] + [JsonProperty(PropertyName = "organizationName")] + public string OrganizationName { get; set; } + } +} diff --git a/Cims/models/ErrorCode.cs b/Cims/models/ErrorCode.cs index 0fd23e4050..af050f7a8f 100644 --- a/Cims/models/ErrorCode.cs +++ b/Cims/models/ErrorCode.cs @@ -49,6 +49,16 @@ public enum ErrorCode { [EnumMember(Value = "EXTERNAL_SERVICE_PROVIDER_TIMEOUT")] ExternalServiceProviderTimeout, [EnumMember(Value = "TOO_MANY_REQUESTS")] - TooManyRequests + TooManyRequests, + [EnumMember(Value = "IDP_SCIM_NOT_SETUP")] + IdpScimNotSetup, + [EnumMember(Value = "INCIDENT_NOT_FOUND")] + IncidentNotFound, + [EnumMember(Value = "INVALID_USER_CSI")] + InvalidUserCsi, + [EnumMember(Value = "DATA_ALREADY_EXISTS")] + DataAlreadyExists, + [EnumMember(Value = "AUTH_USER_NOT_MATCHING")] + AuthUserNotMatching } } diff --git a/Cims/models/Incident.cs b/Cims/models/Incident.cs index 5d9701bd67..9f0fafb675 100644 --- a/Cims/models/Incident.cs +++ b/Cims/models/Incident.cs @@ -16,13 +16,13 @@ namespace Oci.CimsService.Models { /// - /// Details of Incident + /// Details of about the incident object. /// public class Incident { /// - /// Unique ID that identifies an Incident + /// Unique identifier for the support ticket. /// /// /// Required @@ -32,7 +32,7 @@ public class Incident public string Key { get; set; } /// - /// Tenancy Ocid + /// The OCID of the tenancy. /// [JsonProperty(PropertyName = "compartmentId")] public string CompartmentId { get; set; } @@ -50,14 +50,14 @@ public class Incident public IncidentType IncidentType { get; set; } /// - /// States type of incident. eg: LIMIT, TECH + /// The kind of support ticket, such as a technical support request. /// [JsonProperty(PropertyName = "problemType")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable ProblemType { get; set; } /// - /// Referrer of the incident., its usually the URL for where the customer logged the incident + /// The incident referrer. This value is often the URL that the customer used when creating the support ticket. /// [JsonProperty(PropertyName = "referrer")] public string Referrer { get; set; } diff --git a/Cims/models/IncidentResourceType.cs b/Cims/models/IncidentResourceType.cs index 6a89c34f2c..a4fa4c9265 100644 --- a/Cims/models/IncidentResourceType.cs +++ b/Cims/models/IncidentResourceType.cs @@ -16,25 +16,25 @@ namespace Oci.CimsService.Models { /// - /// Details of incident type + /// Details about the resource associated with the support request. /// public class IncidentResourceType { /// - /// Unique ID that identifies an Incident Type + /// Unique identifier of the resource. /// [JsonProperty(PropertyName = "resourceTypeKey")] public string ResourceTypeKey { get; set; } /// - /// Name of Incident type + /// The display name of the resource. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Label associated with Incident Type + /// The label associated with the resource. /// /// /// Required @@ -44,13 +44,13 @@ public class IncidentResourceType public string Label { get; set; } /// - /// Details of Incident Type + /// The description of the resource. /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// - /// Service Category List + /// The service category list. /// [JsonProperty(PropertyName = "serviceCategoryList")] public System.Collections.Generic.List ServiceCategoryList { get; set; } diff --git a/Cims/models/IncidentSummary.cs b/Cims/models/IncidentSummary.cs index ee3e1a3e4f..5cc7d7b64c 100644 --- a/Cims/models/IncidentSummary.cs +++ b/Cims/models/IncidentSummary.cs @@ -16,13 +16,13 @@ namespace Oci.CimsService.Models { /// - /// Details of Incident + /// Details about the support ticket. /// public class IncidentSummary { /// - /// Unique ID that identifies an Incident + /// Unique identifier of the incident. /// /// /// Required @@ -32,7 +32,7 @@ public class IncidentSummary public string Key { get; set; } /// - /// Tenancy Ocid + /// The OCID of the tenancy. /// [JsonProperty(PropertyName = "compartmentId")] public string CompartmentId { get; set; } @@ -50,7 +50,7 @@ public class IncidentSummary public IncidentResourceType IncidentType { get; set; } /// - /// States type of incident. eg: LIMIT, TECH + /// The kind of support ticket, such as a technical support request. /// /// /// Required diff --git a/Cims/models/IncidentType.cs b/Cims/models/IncidentType.cs index 1fae90668c..e928508fec 100644 --- a/Cims/models/IncidentType.cs +++ b/Cims/models/IncidentType.cs @@ -16,37 +16,37 @@ namespace Oci.CimsService.Models { /// - /// Details of incident type + /// Details about the incident type object. /// public class IncidentType { /// - /// Unique ID that identifies an Incident Type + /// Unique identifier for the incident type. /// [JsonProperty(PropertyName = "id")] public string Id { get; set; } /// - /// Name of Incident type + /// The name of the incident type. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Label associated with Incident Type + /// The label associated with the incident type. /// [JsonProperty(PropertyName = "label")] public string Label { get; set; } /// - /// Details of Incident Type + /// The description of the incident type. /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// - /// List of classifiers + /// The list of classifiers. /// [JsonProperty(PropertyName = "classifierList")] public System.Collections.Generic.List ClassifierList { get; set; } diff --git a/Cims/models/IssueType.cs b/Cims/models/IssueType.cs index 4519602046..34441524d1 100644 --- a/Cims/models/IssueType.cs +++ b/Cims/models/IssueType.cs @@ -16,19 +16,19 @@ namespace Oci.CimsService.Models { /// - /// Details Issue Type of the incident + /// Details about the issue type associated with the support ticket. /// public class IssueType { /// - /// Unique ID that identifies an Issue Type + /// Unique identifier for the issue type. /// [JsonProperty(PropertyName = "issueTypeKey")] public string IssueTypeKey { get; set; } /// - /// Label of issue type. eg: Instance Performance + /// The label for the issue type. For example, `Instance Performance`. /// [JsonProperty(PropertyName = "label")] public string Label { get; set; } diff --git a/Cims/models/Item.cs b/Cims/models/Item.cs index 71c8184b68..a602a3f262 100644 --- a/Cims/models/Item.cs +++ b/Cims/models/Item.cs @@ -16,14 +16,14 @@ namespace Oci.CimsService.Models { /// - /// Details of Item + /// Details about the item object. /// [JsonConverter(typeof(ItemModelConverter))] public class Item { /// - /// Unique ID that identifies an Item + /// Unique identifier for the item. /// /// /// Required @@ -33,13 +33,13 @@ public class Item public string ItemKey { get; set; } /// - /// Name of item + /// The display name of the item. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Type of item. eg: ActivityItem, LimitItem + /// The type of the support request. /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } diff --git a/Cims/models/LifecycleDetails.cs b/Cims/models/LifecycleDetails.cs index 03e6596399..a88cfdae51 100644 --- a/Cims/models/LifecycleDetails.cs +++ b/Cims/models/LifecycleDetails.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Provides the current status of the ticket + /// Information about the current status of the ticket. /// public enum LifecycleDetails { [EnumMember(Value = "PENDING_WITH_ORACLE")] diff --git a/Cims/models/LifecycleState.cs b/Cims/models/LifecycleState.cs index d1d7d63bd3..b46a09498e 100644 --- a/Cims/models/LifecycleState.cs +++ b/Cims/models/LifecycleState.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Provides the current status of the ticket + /// The current state of the ticket. /// public enum LifecycleState { [EnumMember(Value = "ACTIVE")] diff --git a/Cims/models/LimitItem.cs b/Cims/models/LimitItem.cs index 2fd07ba602..619f8d281c 100644 --- a/Cims/models/LimitItem.cs +++ b/Cims/models/LimitItem.cs @@ -16,31 +16,31 @@ namespace Oci.CimsService.Models { /// - /// Details of Limit Item + /// Reserved for future use. /// public class LimitItem : Item { /// - /// Current available limit of the resource + /// The currently available limit of the resource. /// [JsonProperty(PropertyName = "currentLimit")] public System.Nullable CurrentLimit { get; set; } /// - /// Current used limit of the resource + /// The current usage of the resource. /// [JsonProperty(PropertyName = "currentUsage")] public System.Nullable CurrentUsage { get; set; } /// - /// Requested limit for the resource + /// The requested limit for the resource. /// [JsonProperty(PropertyName = "requestedLimit")] public System.Nullable RequestedLimit { get; set; } /// /// - /// Status of the Limit + /// The status of the request. /// /// public enum LimitStatusEnum { @@ -53,7 +53,7 @@ public enum LimitStatusEnum { }; /// - /// Status of the Limit + /// The status of the request. /// [JsonProperty(PropertyName = "limitStatus")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/ProblemType.cs b/Cims/models/ProblemType.cs index 3c84ca3b29..35a75b3fdd 100644 --- a/Cims/models/ProblemType.cs +++ b/Cims/models/ProblemType.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Problem Type of an Incident + /// The kind of support ticket, such as a technical support request. /// public enum ProblemType { [EnumMember(Value = "LIMIT")] diff --git a/Cims/models/Region.cs b/Cims/models/Region.cs index 409b424c2d..4c7531dba0 100644 --- a/Cims/models/Region.cs +++ b/Cims/models/Region.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Available OCI Regions supported by CIMS. eg: PHX, IAD + /// The available Oracle Cloud Infrastructure regions supported by the Support Management API. /// public enum Region { [EnumMember(Value = "DEV")] @@ -38,22 +38,12 @@ public enum Region { Yyz, [EnumMember(Value = "NRT")] Nrt, - [EnumMember(Value = "US_LANGLEY_1")] - UsLangley1, - [EnumMember(Value = "US_LUKE_1")] - UsLuke1, [EnumMember(Value = "ICN")] Icn, [EnumMember(Value = "BOM")] Bom, [EnumMember(Value = "GRU")] Gru, - [EnumMember(Value = "US_GOV_ASHBURN_1")] - UsGovAshburn1, - [EnumMember(Value = "US_GOV_PHOENIX_1")] - UsGovPhoenix1, - [EnumMember(Value = "US_GOV_CHICAGO_1")] - UsGovChicago1, [EnumMember(Value = "SYD")] Syd, [EnumMember(Value = "ZRH")] @@ -71,8 +61,6 @@ public enum Region { [EnumMember(Value = "HYD")] Hyd, [EnumMember(Value = "YNY")] - Yny, - [EnumMember(Value = "TIW")] - Tiw + Yny } } diff --git a/Cims/models/Resource.cs b/Cims/models/Resource.cs index 5dbe7f9698..d3f5730fb7 100644 --- a/Cims/models/Resource.cs +++ b/Cims/models/Resource.cs @@ -16,7 +16,7 @@ namespace Oci.CimsService.Models { /// - /// Details of Ticket Item + /// Details about the ticket item object. /// public class Resource { @@ -25,14 +25,14 @@ public class Resource public Item Item { get; set; } /// - /// List of OCI regions + /// The list of available Oracle Cloud Infrastructure regions. /// [JsonProperty(PropertyName = "region")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable Region { get; set; } /// - /// List of OCI ADs + /// The list of available Oracle Cloud Infrastructure availability domains. /// [JsonProperty(PropertyName = "availabilityDomain")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/Scope.cs b/Cims/models/Scope.cs index a2a80ec907..e25f1febe2 100644 --- a/Cims/models/Scope.cs +++ b/Cims/models/Scope.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Scope of Service category/resource + /// The scope of the service category or resource. /// public enum Scope { [EnumMember(Value = "AD")] diff --git a/Cims/models/ServiceCategory.cs b/Cims/models/ServiceCategory.cs index d42101b112..e38281b593 100644 --- a/Cims/models/ServiceCategory.cs +++ b/Cims/models/ServiceCategory.cs @@ -16,57 +16,57 @@ namespace Oci.CimsService.Models { /// - /// Incident Classifier details + /// Information about the incident classifier. /// public class ServiceCategory { /// - /// Unique ID that identifies a classifier + /// The unique ID that identifies a classifier. /// [JsonProperty(PropertyName = "key")] public string Key { get; set; } /// - /// Name of classifier. eg: LIMIT Increase + /// The name of the classifier. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } /// - /// Label of classifier + /// The label for the classifier. /// [JsonProperty(PropertyName = "label")] public string Label { get; set; } /// - /// Description of classifier + /// The text describing the classifier. /// [JsonProperty(PropertyName = "description")] public string Description { get; set; } /// - /// List of Issues + /// The list of issues. /// [JsonProperty(PropertyName = "issueTypeList")] public System.Collections.Generic.List IssueTypeList { get; set; } /// - /// List of Scope + /// The scope of the incident. /// [JsonProperty(PropertyName = "scope")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable Scope { get; set; } /// - /// List of Units + /// The unit to use to measure the service category or resource. /// [JsonProperty(PropertyName = "unit")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable Unit { get; set; } /// - /// Limit's unique id + /// The unique ID for the limit. /// [JsonProperty(PropertyName = "limitId")] public string LimitId { get; set; } diff --git a/Cims/models/SortBy.cs b/Cims/models/SortBy.cs index db180afb71..8f3cd95ec5 100644 --- a/Cims/models/SortBy.cs +++ b/Cims/models/SortBy.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// The field to sort by. Only one sort order may be provided. If no value is specified dateUpdated is default. + /// The field to sort by. You can only provide one sort order. The default value is dateUpdated. /// public enum SortBy { [EnumMember(Value = "dateUpdated")] diff --git a/Cims/models/SortOrder.cs b/Cims/models/SortOrder.cs index d04e99f2a7..5d26c33c16 100644 --- a/Cims/models/SortOrder.cs +++ b/Cims/models/SortOrder.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// SortOrder query for Incident Lists + /// The sort order to use to query support ticket lists, either ascending (`ASC`) or descending (`DESC`). /// public enum SortOrder { [EnumMember(Value = "ASC")] diff --git a/Cims/models/Status.cs b/Cims/models/Status.cs index 24601ed6a7..77ba2f55a3 100644 --- a/Cims/models/Status.cs +++ b/Cims/models/Status.cs @@ -16,13 +16,13 @@ namespace Oci.CimsService.Models { /// - /// Details of Ticket Status + /// Details about the status of the support ticket. /// public class Status { /// - /// Unique code + /// The code unique to this ticket status. /// /// /// Required @@ -32,7 +32,7 @@ public class Status public string Code { get; set; } /// - /// Status message + /// The status message for this ticket. /// /// /// Required diff --git a/Cims/models/SubCategory.cs b/Cims/models/SubCategory.cs index 5c057390ed..ddac0ce475 100644 --- a/Cims/models/SubCategory.cs +++ b/Cims/models/SubCategory.cs @@ -16,19 +16,19 @@ namespace Oci.CimsService.Models { /// - /// Details of Sub Category of the incident + /// Details about the subcategory associated with the support ticket. /// public class SubCategory { /// - /// Unique ID that identifies a Sub Category + /// Unique identifier for the subcategory. /// [JsonProperty(PropertyName = "subCategoryKey")] public string SubCategoryKey { get; set; } /// - /// Name of sub category. eg: Backup Count, Custom Image Count + /// The name of the subcategory. For example, `Backup Count` or `Custom Image Count`. /// [JsonProperty(PropertyName = "name")] public string Name { get; set; } diff --git a/Cims/models/TechSupportItem.cs b/Cims/models/TechSupportItem.cs index 877686fc09..64cfc44965 100644 --- a/Cims/models/TechSupportItem.cs +++ b/Cims/models/TechSupportItem.cs @@ -16,7 +16,7 @@ namespace Oci.CimsService.Models { /// - /// Details of TechSupport Item + /// Details about the TechSupportItem object. /// public class TechSupportItem : Item { diff --git a/Cims/models/TenancyInformation.cs b/Cims/models/TenancyInformation.cs index 05256dc1b0..860f2d244b 100644 --- a/Cims/models/TenancyInformation.cs +++ b/Cims/models/TenancyInformation.cs @@ -16,13 +16,13 @@ namespace Oci.CimsService.Models { /// - /// Details of Customer Tenant + /// Details about the customer's tenancy. /// public class TenancyInformation { /// - /// Tenant customer support identifier + /// The Customer Support Identifier number associated with the tenancy. /// /// /// Required @@ -32,7 +32,7 @@ public class TenancyInformation public string CustomerSupportKey { get; set; } /// - /// Tenant OCID + /// The OCID of the tenancy. /// /// /// Required diff --git a/Cims/models/Ticket.cs b/Cims/models/Ticket.cs index 002f56aead..dd17f3d98a 100644 --- a/Cims/models/Ticket.cs +++ b/Cims/models/Ticket.cs @@ -16,19 +16,19 @@ namespace Oci.CimsService.Models { /// - /// Details of Ticket created + /// Details about the ticket created. /// public class Ticket { /// - /// Unique ID that identifies a Ticket + /// Unique identifier for the ticket. /// [JsonProperty(PropertyName = "ticketNumber")] public string TicketNumber { get; set; } /// /// - /// Severity of the ticket. eg: HIGH, MEDIUM + /// The severity assigned to the ticket. /// /// public enum SeverityEnum { @@ -41,7 +41,7 @@ public enum SeverityEnum { }; /// - /// Severity of the ticket. eg: HIGH, MEDIUM + /// The severity assigned to the ticket. /// /// /// Required @@ -52,13 +52,13 @@ public enum SeverityEnum { public System.Nullable Severity { get; set; } /// - /// List of resources + /// The list of resources associated with the ticket. /// [JsonProperty(PropertyName = "resourceList")] public System.Collections.Generic.List ResourceList { get; set; } /// - /// Title of ticket + /// The title of the ticket. /// /// /// Required @@ -68,7 +68,7 @@ public enum SeverityEnum { public string Title { get; set; } /// - /// Details of ticket + /// The description of the issue addressed in the ticket. /// /// /// Required @@ -78,26 +78,26 @@ public enum SeverityEnum { public string Description { get; set; } /// - /// Epoch time of ticket creation + /// The time when the ticket was created, in milliseconds since epoch time. /// [JsonProperty(PropertyName = "timeCreated")] public System.Nullable TimeCreated { get; set; } /// - /// Epoch time of ticket updated + /// The time when the ticket was updated, in milliseconds since epoch time. /// [JsonProperty(PropertyName = "timeUpdated")] public System.Nullable TimeUpdated { get; set; } /// - /// Describes the lifecycles of a ticket + /// The current state of the ticket. /// [JsonProperty(PropertyName = "lifecycleState")] [JsonConverter(typeof(StringEnumConverter))] public System.Nullable LifecycleState { get; set; } /// - /// Describes the lifecycle details of a ticket + /// Additional information about the current `lifecycleState`. /// [JsonProperty(PropertyName = "lifecycleDetails")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/TimeZone.cs b/Cims/models/TimeZone.cs new file mode 100644 index 0000000000..92b3432840 --- /dev/null +++ b/Cims/models/TimeZone.cs @@ -0,0 +1,74 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; + +namespace Oci.CimsService.Models +{ + + public enum TimeZone { + [EnumMember(Value = "GREENWICH_MEAN_TIME")] + GreenwichMeanTime, + [EnumMember(Value = "EUROPEAN_CENTRAL_TIME")] + EuropeanCentralTime, + [EnumMember(Value = "EASTERN_EUROPEAN_TIME")] + EasternEuropeanTime, + [EnumMember(Value = "EASTERN_AFRICAN_TIME")] + EasternAfricanTime, + [EnumMember(Value = "MIDDLE_EAST_TIME")] + MiddleEastTime, + [EnumMember(Value = "NEAR_EAST_TIME")] + NearEastTime, + [EnumMember(Value = "PAKISTAN_LAHORE_TIME")] + PakistanLahoreTime, + [EnumMember(Value = "INDIA_STANDARD_TIME")] + IndiaStandardTime, + [EnumMember(Value = "BANGLADESH_STANDARD_TIME")] + BangladeshStandardTime, + [EnumMember(Value = "VIETNAM_STANDARD_TIME")] + VietnamStandardTime, + [EnumMember(Value = "CHINA_TAIWAN_TIME")] + ChinaTaiwanTime, + [EnumMember(Value = "JAPAN_STANDARD_TIME")] + JapanStandardTime, + [EnumMember(Value = "AUSTRALIA_CENTRAL_TIME")] + AustraliaCentralTime, + [EnumMember(Value = "AUSTRALIA_EASTERN_TIME")] + AustraliaEasternTime, + [EnumMember(Value = "SOLOMON_STANDARD_TIME")] + SolomonStandardTime, + [EnumMember(Value = "NEW_ZEALAND_STANDARD_TIME")] + NewZealandStandardTime, + [EnumMember(Value = "MIDWAY_ISLANDS_TIME")] + MidwayIslandsTime, + [EnumMember(Value = "HAWAII_STANDARD_TIME")] + HawaiiStandardTime, + [EnumMember(Value = "ALASKA_STANDARD_TIME")] + AlaskaStandardTime, + [EnumMember(Value = "PACIFIC_STANDARD_TIME")] + PacificStandardTime, + [EnumMember(Value = "MOUNTAIN_STANDARD_TIME")] + MountainStandardTime, + [EnumMember(Value = "CENTRAL_STANDARD_TIME")] + CentralStandardTime, + [EnumMember(Value = "EASTERN_STANDARD_TIME")] + EasternStandardTime, + [EnumMember(Value = "PUERTO_RICO_AND_US_VIRGIN_ISLANDS_TIME")] + PuertoRicoAndUsVirginIslandsTime, + [EnumMember(Value = "CANADA_NEWFOUNDLAND_TIME")] + CanadaNewfoundlandTime, + [EnumMember(Value = "ARGENTINA_STANDARD_TIME")] + ArgentinaStandardTime, + [EnumMember(Value = "MID_ATLANTIC_TIME")] + MidAtlanticTime, + [EnumMember(Value = "CENTRAL_AFRICAN_TIME")] + CentralAfricanTime + } +} diff --git a/Cims/models/Unit.cs b/Cims/models/Unit.cs index cc9254ba3a..485dec792b 100644 --- a/Cims/models/Unit.cs +++ b/Cims/models/Unit.cs @@ -13,7 +13,7 @@ namespace Oci.CimsService.Models { /// - /// Unit to measure Service category/resource + /// The unit to use to measure the service category or resource. /// public enum Unit { [EnumMember(Value = "COUNT")] diff --git a/Cims/models/UpdateActivityItemDetails.cs b/Cims/models/UpdateActivityItemDetails.cs index a82f1a3c7c..b0d5adb7b9 100644 --- a/Cims/models/UpdateActivityItemDetails.cs +++ b/Cims/models/UpdateActivityItemDetails.cs @@ -16,19 +16,22 @@ namespace Oci.CimsService.Models { /// - /// Details of Activity Item + /// Details for udpating the support ticket activity. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class UpdateActivityItemDetails : UpdateItemDetails { /// - /// Comments to update as part of Activity + /// Comments updated at the time that the activity occurs. /// [JsonProperty(PropertyName = "comments")] public string Comments { get; set; } /// /// - /// Type of activity. eg: NOTES, UPDATE + /// The type of activity occurring. /// /// public enum ActivityTypeEnum { @@ -43,7 +46,7 @@ public enum ActivityTypeEnum { }; /// - /// Type of activity. eg: NOTES, UPDATE + /// The type of activity occurring. /// [JsonProperty(PropertyName = "activityType")] [JsonConverter(typeof(StringEnumConverter))] diff --git a/Cims/models/UpdateIncident.cs b/Cims/models/UpdateIncident.cs index 6bc92450ea..519abc94f2 100644 --- a/Cims/models/UpdateIncident.cs +++ b/Cims/models/UpdateIncident.cs @@ -16,7 +16,7 @@ namespace Oci.CimsService.Models { /// - /// Details of Resource Item to be updated + /// Details about the support ticket being updated. /// public class UpdateIncident { diff --git a/Cims/models/UpdateItemDetails.cs b/Cims/models/UpdateItemDetails.cs index 39d2f78dbc..db79d38d5b 100644 --- a/Cims/models/UpdateItemDetails.cs +++ b/Cims/models/UpdateItemDetails.cs @@ -16,14 +16,17 @@ namespace Oci.CimsService.Models { /// - /// Details of Item + /// Details for udpating an item. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
[JsonConverter(typeof(UpdateItemDetailsModelConverter))] public class UpdateItemDetails { /// - /// Type of item. eg: UpdateActivityItemDetails + /// The type of the item. /// [JsonProperty(PropertyName = "type")] public string Type { get; set; } diff --git a/Cims/models/UpdateResourceDetails.cs b/Cims/models/UpdateResourceDetails.cs index 98de9f8195..62efafc89a 100644 --- a/Cims/models/UpdateResourceDetails.cs +++ b/Cims/models/UpdateResourceDetails.cs @@ -16,7 +16,10 @@ namespace Oci.CimsService.Models { /// - /// Update Resource details + /// Details about updates to the resource. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class UpdateResourceDetails { diff --git a/Cims/models/UpdateTicketDetails.cs b/Cims/models/UpdateTicketDetails.cs index 7d8704fab1..af09b71ab3 100644 --- a/Cims/models/UpdateTicketDetails.cs +++ b/Cims/models/UpdateTicketDetails.cs @@ -16,13 +16,16 @@ namespace Oci.CimsService.Models { /// - /// Details of Ticket updated + /// Details about the ticket updated. + ///
+ /// **Caution:** Avoid using any confidential information when you supply string values using the API. + /// ///
public class UpdateTicketDetails { /// - /// List of resources + /// The list of resources. /// /// /// Required diff --git a/Cims/models/User.cs b/Cims/models/User.cs new file mode 100644 index 0000000000..566258aaf9 --- /dev/null +++ b/Cims/models/User.cs @@ -0,0 +1,88 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; + + +namespace Oci.CimsService.Models +{ + /// + /// Details about the user object. + /// + public class User + { + + /// + /// Unique identifier for the user. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Key is required.")] + [JsonProperty(PropertyName = "key")] + public string Key { get; set; } + + /// + /// First name of the user. + /// + [JsonProperty(PropertyName = "firstName")] + public string FirstName { get; set; } + + /// + /// Last name of the user. + /// + [JsonProperty(PropertyName = "lastName")] + public string LastName { get; set; } + + /// + /// Country of the user. + /// + [JsonProperty(PropertyName = "country")] + public string Country { get; set; } + + /// + /// CSI to be associated to the user. + /// + [JsonProperty(PropertyName = "csi")] + public string Csi { get; set; } + + /// + /// Contact number of the user. + /// + [JsonProperty(PropertyName = "phone")] + public string Phone { get; set; } + + /// + /// Timezone of the user. + /// + [JsonProperty(PropertyName = "timezone")] + public string Timezone { get; set; } + + /// + /// Organization of the user. + /// + [JsonProperty(PropertyName = "organizationName")] + public string OrganizationName { get; set; } + + /// + /// The OCID of the tenancy. + /// + [JsonProperty(PropertyName = "compartmentId")] + public string CompartmentId { get; set; } + + /// + /// The email of the contact person. + /// + [JsonProperty(PropertyName = "contactEmail")] + public string ContactEmail { get; set; } + } +} diff --git a/Cims/models/ValidationResponse.cs b/Cims/models/ValidationResponse.cs index 9ce58f2c84..f23bc30ba2 100644 --- a/Cims/models/ValidationResponse.cs +++ b/Cims/models/ValidationResponse.cs @@ -16,13 +16,13 @@ namespace Oci.CimsService.Models { /// - /// Validation Response + /// The validation response returned when checking whether the requested user is valid. /// public class ValidationResponse { /// - /// Boolean value to check whether requested user is valid or not + /// Boolean value that indicates whether the requested user is valid. /// [JsonProperty(PropertyName = "isValidUser")] public System.Nullable IsValidUser { get; set; } diff --git a/Cims/requests/CreateIncidentRequest.cs b/Cims/requests/CreateIncidentRequest.cs index a45a2b519c..d2901ecb32 100644 --- a/Cims/requests/CreateIncidentRequest.cs +++ b/Cims/requests/CreateIncidentRequest.cs @@ -27,7 +27,7 @@ public class CreateIncidentRequest : Oci.Common.IOciRequest public CreateIncident CreateIncidentDetails { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -37,15 +37,15 @@ public class CreateIncidentRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Retry token + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-retry-token")] - public string OpcRetryToken { get; set; } + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } /// - /// Unique Header for request id + /// The region of the tenancy. /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] - public string OpcRequestId { get; set; } + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } } } \ No newline at end of file diff --git a/Cims/requests/CreateUserRequest.cs b/Cims/requests/CreateUserRequest.cs new file mode 100644 index 0000000000..a990d5ab37 --- /dev/null +++ b/Cims/requests/CreateUserRequest.cs @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.ComponentModel.DataAnnotations; +using System.Runtime.Serialization; +using Oci.CimsService.Models; + +namespace Oci.CimsService.Requests +{ + public class CreateUserRequest : Oci.Common.IOciRequest + { + + /// + /// User information + /// + /// + /// Required + /// + [Required(ErrorMessage = "CreateUserDetails is required.")] + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public CreateUserDetails CreateUserDetails { get; set; } + + /// + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. + /// + /// + /// Required + /// + [Required(ErrorMessage = "Ocid is required.")] + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "ocid")] + public string Ocid { get; set; } + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } + } +} \ No newline at end of file diff --git a/Cims/requests/GetIncidentRequest.cs b/Cims/requests/GetIncidentRequest.cs index 3af18eadb6..149559d724 100644 --- a/Cims/requests/GetIncidentRequest.cs +++ b/Cims/requests/GetIncidentRequest.cs @@ -17,7 +17,7 @@ public class GetIncidentRequest : Oci.Common.IOciRequest { /// - /// Unique ID that identifies an incident + /// Unique identifier for the support ticket. /// /// /// Required @@ -27,7 +27,7 @@ public class GetIncidentRequest : Oci.Common.IOciRequest public string IncidentKey { get; set; } /// - /// Customer Support Identifier of the support account + /// The Customer Support Identifier associated with the support account. /// /// /// Required @@ -37,7 +37,7 @@ public class GetIncidentRequest : Oci.Common.IOciRequest public string Csi { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -47,9 +47,21 @@ public class GetIncidentRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Unique Header for request id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } + + /// + /// The kind of support request. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "problem-type")] + public string ProblemType { get; set; } } } \ No newline at end of file diff --git a/Cims/requests/GetStatusRequest.cs b/Cims/requests/GetStatusRequest.cs index 2780568a81..c1fb6d2ae5 100644 --- a/Cims/requests/GetStatusRequest.cs +++ b/Cims/requests/GetStatusRequest.cs @@ -17,7 +17,7 @@ public class GetStatusRequest : Oci.Common.IOciRequest { /// - /// Source is a downstream system. Eg: JIRA or MOS or any other source in future. + /// The system that generated the support ticket, such as My Oracle Support. /// /// /// Required @@ -27,7 +27,7 @@ public class GetStatusRequest : Oci.Common.IOciRequest public string Source { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -37,9 +37,15 @@ public class GetStatusRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Unique Header for request id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } } } \ No newline at end of file diff --git a/Cims/requests/ListIncidentResourceTypesRequest.cs b/Cims/requests/ListIncidentResourceTypesRequest.cs index 281c243e11..4e021a17c5 100644 --- a/Cims/requests/ListIncidentResourceTypesRequest.cs +++ b/Cims/requests/ListIncidentResourceTypesRequest.cs @@ -17,7 +17,7 @@ public class ListIncidentResourceTypesRequest : Oci.Common.IOciRequest { /// - /// Problem Type of Taxonomy - tech/limit + /// The kind of support request. /// /// /// Required @@ -27,7 +27,7 @@ public class ListIncidentResourceTypesRequest : Oci.Common.IOciRequest public string ProblemType { get; set; } /// - /// Tenancy Ocid + /// The OCID of the tenancy. /// /// /// Required @@ -37,7 +37,7 @@ public class ListIncidentResourceTypesRequest : Oci.Common.IOciRequest public string CompartmentId { get; set; } /// - /// Customer Support Identifier of the support account + /// The Customer Support Identifier associated with the support account. /// /// /// Required @@ -47,7 +47,7 @@ public class ListIncidentResourceTypesRequest : Oci.Common.IOciRequest public string Csi { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -57,39 +57,47 @@ public class ListIncidentResourceTypesRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Unique Header for request id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } /// - /// Limit query for number of returned results + /// For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "limit")] public System.Nullable Limit { get; set; } /// - /// Pagination for Incident list + /// For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")] public string Page { get; set; } /// - /// The key to sort the returned items by + /// The key to use to sort the returned items. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortBy")] public System.Nullable SortBy { get; set; } /// - /// The order in which to sort the results + /// The order to sort the results in. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortOrder")] public System.Nullable SortOrder { get; set; } /// - /// Name of Incident Type. eg: Limit Increase + /// The user-friendly name of the incident type. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "name")] public string Name { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } } } \ No newline at end of file diff --git a/Cims/requests/ListIncidentsRequest.cs b/Cims/requests/ListIncidentsRequest.cs index 9f730ad381..9a08c7fbc1 100644 --- a/Cims/requests/ListIncidentsRequest.cs +++ b/Cims/requests/ListIncidentsRequest.cs @@ -17,7 +17,7 @@ public class ListIncidentsRequest : Oci.Common.IOciRequest { /// - /// Customer Support Identifier of the support account + /// The Customer Support Identifier associated with the support account. /// /// /// Required @@ -27,7 +27,7 @@ public class ListIncidentsRequest : Oci.Common.IOciRequest public string Csi { get; set; } /// - /// Tenancy Ocid + /// The OCID of the tenancy. /// /// /// Required @@ -37,7 +37,7 @@ public class ListIncidentsRequest : Oci.Common.IOciRequest public string CompartmentId { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -47,39 +47,53 @@ public class ListIncidentsRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Limit query for number of returned results + /// For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call. For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "limit")] public System.Nullable Limit { get; set; } /// - /// The key to sort the returned items by + /// The key to use to sort the returned items. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortBy")] public System.Nullable SortBy { get; set; } /// - /// The order in which to sort the results + /// The order to sort the results in. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortOrder")] public System.Nullable SortOrder { get; set; } /// - /// The order in which to sort the results + /// The current state of the ticket. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "lifecycleState")] public System.Nullable LifecycleState { get; set; } /// - /// Pagination for Incident list + /// For list pagination. The value of the `opc-next-page` response header from the previous \"List\" call. For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine). + /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "page")] public string Page { get; set; } /// - /// Unique Header for request id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } + + /// + /// The kind of support request. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "problemType")] + public string ProblemType { get; set; } } } \ No newline at end of file diff --git a/Cims/requests/UpdateIncidentRequest.cs b/Cims/requests/UpdateIncidentRequest.cs index 524c87fe83..51c1438cef 100644 --- a/Cims/requests/UpdateIncidentRequest.cs +++ b/Cims/requests/UpdateIncidentRequest.cs @@ -17,7 +17,7 @@ public class UpdateIncidentRequest : Oci.Common.IOciRequest { /// - /// Unique ID that identifies an incident + /// Unique identifier for the support ticket. /// /// /// Required @@ -27,7 +27,7 @@ public class UpdateIncidentRequest : Oci.Common.IOciRequest public string IncidentKey { get; set; } /// - /// Customer Support Identifier of the support account + /// The Customer Support Identifier associated with the support account. /// /// /// Required @@ -37,7 +37,7 @@ public class UpdateIncidentRequest : Oci.Common.IOciRequest public string Csi { get; set; } /// - /// Details of Resource to be updated + /// Details about the support ticket being updated. /// /// /// Required @@ -47,7 +47,7 @@ public class UpdateIncidentRequest : Oci.Common.IOciRequest public UpdateIncident UpdateIncidentDetails { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -57,21 +57,21 @@ public class UpdateIncidentRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Retry token - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-retry-token")] - public string OpcRetryToken { get; set; } - - /// - /// Unique Header for request id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } /// - /// if-match check + /// For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "if-match")] public string IfMatch { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } } } \ No newline at end of file diff --git a/Cims/requests/ValidateUserRequest.cs b/Cims/requests/ValidateUserRequest.cs index 78f1bb2182..97ec5632fc 100644 --- a/Cims/requests/ValidateUserRequest.cs +++ b/Cims/requests/ValidateUserRequest.cs @@ -17,7 +17,7 @@ public class ValidateUserRequest : Oci.Common.IOciRequest { /// - /// Customer support identifier of the support account + /// The Customer Support Identifier number for the support account. /// /// /// Required @@ -27,7 +27,7 @@ public class ValidateUserRequest : Oci.Common.IOciRequest public string Csi { get; set; } /// - /// User OCID for IDCS users that have a shadow in OCI + /// User OCID for Oracle Identity Cloud Service (IDCS) users who also have a federated Oracle Cloud Infrastructure account. /// /// /// Required @@ -37,21 +37,21 @@ public class ValidateUserRequest : Oci.Common.IOciRequest public string Ocid { get; set; } /// - /// Retry-token header - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-retry-token")] - public string OpcRetryToken { get; set; } - - /// - /// Unique request id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } /// - /// Problem Type of Taxonomy - tech/limit + /// The kind of support request. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "problemType")] public string ProblemType { get; set; } + + /// + /// The region of the tenancy. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "homeregion")] + public string Homeregion { get; set; } } } \ No newline at end of file diff --git a/Cims/responses/CreateIncidentResponse.cs b/Cims/responses/CreateIncidentResponse.cs index 9f17101195..1cc1469772 100644 --- a/Cims/responses/CreateIncidentResponse.cs +++ b/Cims/responses/CreateIncidentResponse.cs @@ -16,18 +16,11 @@ public class CreateIncidentResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// The returned Incident instance. /// diff --git a/Cims/responses/CreateUserResponse.cs b/Cims/responses/CreateUserResponse.cs new file mode 100644 index 0000000000..11fd40b086 --- /dev/null +++ b/Cims/responses/CreateUserResponse.cs @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. + * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. + */ + +// NOTE: Code generated by OracleSDKGenerator. +// DO NOT EDIT this file manually. + + +using System.Runtime.Serialization; +using Oci.CimsService.Models; + +namespace Oci.CimsService.Responses +{ + public class CreateUserResponse : Oci.Common.IOciResponse + { + + /// + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] + public string OpcRequestId { get; set; } + + /// + /// The returned User instance. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Body)] + public User User { get; set; } + + } +} \ No newline at end of file diff --git a/Cims/responses/GetIncidentResponse.cs b/Cims/responses/GetIncidentResponse.cs index c46fac527b..24c04239ac 100644 --- a/Cims/responses/GetIncidentResponse.cs +++ b/Cims/responses/GetIncidentResponse.cs @@ -16,18 +16,11 @@ public class GetIncidentResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// The returned Incident instance. /// diff --git a/Cims/responses/GetStatusResponse.cs b/Cims/responses/GetStatusResponse.cs index b432c21170..7ee02e7979 100644 --- a/Cims/responses/GetStatusResponse.cs +++ b/Cims/responses/GetStatusResponse.cs @@ -16,18 +16,11 @@ public class GetStatusResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// The returned Status instance. /// diff --git a/Cims/responses/ListIncidentResourceTypesResponse.cs b/Cims/responses/ListIncidentResourceTypesResponse.cs index fc7ba70160..55dad48b37 100644 --- a/Cims/responses/ListIncidentResourceTypesResponse.cs +++ b/Cims/responses/ListIncidentResourceTypesResponse.cs @@ -16,25 +16,18 @@ public class ListIncidentResourceTypesResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } /// - /// OPC next page + /// For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-next-page")] public string OpcNextPage { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// A list of IncidentResourceType instances. /// diff --git a/Cims/responses/ListIncidentsResponse.cs b/Cims/responses/ListIncidentsResponse.cs index 8bbaa27ac4..735af03021 100644 --- a/Cims/responses/ListIncidentsResponse.cs +++ b/Cims/responses/ListIncidentsResponse.cs @@ -16,25 +16,18 @@ public class ListIncidentsResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } /// - /// OPC next page + /// For list pagination. When this header appears in the response, additional pages of results remain. For important details about how pagination works, see [List Pagination](https://docs.cloud.oracle.com/Content/API/Concepts/usingapi.htm#nine). /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-next-page")] public string OpcNextPage { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// A list of IncidentSummary instances. /// diff --git a/Cims/responses/UpdateIncidentResponse.cs b/Cims/responses/UpdateIncidentResponse.cs index c63e4e6c05..dd6dafeaef 100644 --- a/Cims/responses/UpdateIncidentResponse.cs +++ b/Cims/responses/UpdateIncidentResponse.cs @@ -16,18 +16,11 @@ public class UpdateIncidentResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// The returned Incident instance. /// diff --git a/Cims/responses/ValidateUserResponse.cs b/Cims/responses/ValidateUserResponse.cs index 5c0296de57..398b158072 100644 --- a/Cims/responses/ValidateUserResponse.cs +++ b/Cims/responses/ValidateUserResponse.cs @@ -16,18 +16,11 @@ public class ValidateUserResponse : Oci.Common.IOciResponse { /// - /// OPC Request Id + /// Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "opc-request-id")] public string OpcRequestId { get; set; } - - /// - /// e-Tag - /// - [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Header, "etag")] - public string Etag { get; set; } - /// /// The returned ValidationResponse instance. /// diff --git a/Common/Src/Http/RestClient.cs b/Common/Src/Http/RestClient.cs index a6bc063a78..7b57024e07 100644 --- a/Common/Src/Http/RestClient.cs +++ b/Common/Src/Http/RestClient.cs @@ -69,22 +69,28 @@ public void SetDefaultUserAgent(string userAgent) /// The HttpRequestMessage to be sent. /// The CancellationToken to be used. /// A Task of HttpResponseMessage returned. - /// Throws HttpRequestException, InvalidOperationException, or OperationCanceledException depending on the type of error. public async Task HttpSend(HttpRequestMessage httpRequest, CancellationToken cancellationToken = default) + { + return await this.httpClient.SendAsync(httpRequest, cancellationToken); + } + + /// Check if the HttpResponseMessage is a successful response. + /// The HttpRequestMessage sent. + /// The HttpResponseMessage to be checked. + /// Throws OciException, HttpRequestException, InvalidOperationException, or OperationCanceledException depending on the type of error. + public void CheckHttpResponseMessage(HttpRequestMessage httpRequest, HttpResponseMessage httpResponse) { var opcRequestId = httpRequest.Headers.Contains("opc-request-id") ? httpRequest.Headers.GetValues("opc-request-id").FirstOrDefault() : string.Empty; try { - HttpResponseMessage response = await this.httpClient.SendAsync(httpRequest, cancellationToken); - logger.Debug("Dumping HttpResponse:\n{0}", response.ToString()); + logger.Debug("Dumping HttpResponse:\n{0}", httpResponse.ToString()); // Check for success immediately to avoid unnecessary processing of failure responses. - if (!response.IsSuccessStatusCode) + if (!httpResponse.IsSuccessStatusCode) { - ResponseHelper.HandleNonSuccessfulResponse(response); + ResponseHelper.HandleNonSuccessfulResponse(httpResponse); } - return response; } catch (HttpRequestException ex) { @@ -98,7 +104,7 @@ public async Task HttpSend(HttpRequestMessage httpRequest, } catch (OperationCanceledException e) { - logger.Warn($"Request has been cancelled using CancellationToken, IsCancellationRequested: {cancellationToken.IsCancellationRequested}, errorMessage: {e.Message}"); + logger.Warn($"Request has been cancelled using CancellationToken, errorMessage: {e.Message}"); throw; } } diff --git a/Common/Src/Retry/BackOffRetryStrategy.cs b/Common/Src/Retry/BackOffRetryStrategy.cs deleted file mode 100644 index ce2547dda3..0000000000 --- a/Common/Src/Retry/BackOffRetryStrategy.cs +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -namespace Oci.Common.Retry -{ - /// A retry strategy that uses exponetial backoff to calculate delays. - public class BackOffRetryStrategy - { - public int BaseSleepTimeSeconds { get; set; } - public int ExponentialGrowthFactor { get; set; } - public int MaxWaitBetweenCallsSeconds { get; set; } - public RetryBackOffType BackOffType { get; set; } - - /// Constructor. - /// The retry backoff type. - /// The sleep time to start with. - /// The exponential growth factor used to calculate subsequent delays. - /// The maximum delay duration in seconds. - public BackOffRetryStrategy(RetryBackOffType backOffType, int baseSleepTimeSeconds, int exponentialGrowthFactor, int maxWaitBetweenCallsSeconds) - { - this.BackOffType = backOffType; - this.BaseSleepTimeSeconds = baseSleepTimeSeconds; - this.ExponentialGrowthFactor = exponentialGrowthFactor; - this.MaxWaitBetweenCallsSeconds = maxWaitBetweenCallsSeconds; - } - } -} diff --git a/Common/Src/Retry/GenericRetrier.cs b/Common/Src/Retry/GenericRetrier.cs index 3916006a21..704421d0b0 100644 --- a/Common/Src/Retry/GenericRetrier.cs +++ b/Common/Src/Retry/GenericRetrier.cs @@ -3,11 +3,13 @@ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ -using System; +using System; +using System.IO; using System.Net; using System.Net.Http; using System.Threading; using System.Threading.Tasks; +using Oci.Common.Http.Internal; using Oci.Common.Model; using Polly; using Polly.Retry; @@ -31,6 +33,7 @@ public Task MakeRetryingCall( HttpRequestMessage requestMessage, CancellationToken cancellationToken) { + AsyncTimeoutPolicy timeOutPolicy = Policy.TimeoutAsync( retryConfiguration.TotalElapsedTimeInSecs, TimeoutStrategy.Optimistic, @@ -55,7 +58,14 @@ public Task MakeRetryingCall( return timeOutPolicy .WrapAsync(retryAndSleepPolicy) - .ExecuteAsync(() => asyncHttpCall.Invoke(requestMessage, cancellationToken)); + .ExecuteAsync(async () => + { + // A new copy of the request message needs to be created because it is disposed each time it is sent, and + // resending the same request will result in the following error message: + // "The request message was already sent. Cannot send the same request message multiple times." + var newRequestMessage = await CloneHttpRequestMessage(requestMessage); + return await asyncHttpCall.Invoke(newRequestMessage, cancellationToken); + }); } private bool ShoulRetryOnHttpResponse(HttpResponseMessage response) @@ -63,8 +73,56 @@ private bool ShoulRetryOnHttpResponse(HttpResponseMessage response) var statusCode = (int)response.StatusCode; var responseFamily = statusCode / 100; - return retryConfiguration.RetryableStatusCodeFamilies.Contains(responseFamily) || - retryConfiguration.RetryableStatusCodes.Contains(statusCode); + // Response with successful status code should not be retried. + if (statusCode >= 200 && statusCode <= 299) + { + return false; + } + else + { + try + { + // The response is not successful. Try to get the service code from the error response. HandleNonSuccessfulResponse + // should throw an OciException containing the service code. + ResponseHelper.HandleNonSuccessfulResponse(response); + } + catch (OciException e) + { + logger.Info($"Checking if {statusCode}: {e.ServiceCode} should be retried."); + return retryConfiguration.RetryableStatusCodeFamilies.Contains(responseFamily) || + retryConfiguration.RetryableErrors.Contains(new Tuple(statusCode, e.ServiceCode)); + } + } + return false; + } + + /// Make a copy of HttpRequestMessage. + /// The source HttpRequestMessage + /// A cloned copy of HttpRequestMessage with exactly the same headers and content. + private async Task CloneHttpRequestMessage(HttpRequestMessage request) + { + var clone = new HttpRequestMessage(request.Method, request.RequestUri); + if (request.Content != null) + { + var ms = new MemoryStream(); + await request.Content.CopyToAsync(ms).ConfigureAwait(false); + ms.Position = 0; + clone.Content = new StreamContent(ms); + if (request.Content.Headers != null) + { + foreach (var header in request.Content.Headers) + { + clone.Content.Headers.Add(header.Key, header.Value); + } + } + } + + foreach (var header in request.Headers) + { + clone.Headers.TryAddWithoutValidation(header.Key, header.Value); + } + + return clone; } } } diff --git a/Common/Src/Retry/RetryBackOffType.cs b/Common/Src/Retry/RetryBackOffType.cs deleted file mode 100644 index d9be718740..0000000000 --- a/Common/Src/Retry/RetryBackOffType.cs +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved. - * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. - */ - -namespace Oci.Common.Retry -{ - public class RetryBackOffType - { - private RetryBackOffType(string value) - { - Value = value; - } - - public string Value { get; set; } - - public static RetryBackOffType BackoffFullJitterValue { get => new RetryBackOffType("full_jitter"); } - - public static RetryBackOffType BackoffEqualJitterValue { get => new RetryBackOffType("equal_jitter"); } - - public static RetryBackOffType BackoffFullJitterEqualOnThrottleValue { get => new RetryBackOffType("full_jitter_with_equal_on_throttle"); } - - } -} diff --git a/Common/Src/Retry/RetryConfiguration.cs b/Common/Src/Retry/RetryConfiguration.cs index daedcb06c6..6313946699 100644 --- a/Common/Src/Retry/RetryConfiguration.cs +++ b/Common/Src/Retry/RetryConfiguration.cs @@ -3,7 +3,9 @@ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ -using System.Collections.Generic; +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; namespace Oci.Common.Retry { @@ -12,13 +14,29 @@ public class RetryConfiguration : Oci.Common.Waiters.WaiterConfiguration { private static readonly int MAX_DURATION = 60 * 10; // 10 Mins + /// The default collection of status codes families (first digit) that can be retried. + public static readonly ReadOnlyCollection RETRYABLE_STATUSCODE_FAMILY = new ReadOnlyCollection(new int[] { 5 }); + + /// The default collection of errors that can be retried. + public static readonly ReadOnlyCollection> RETRYABLE_ERRORS = new ReadOnlyCollection>( + new Tuple[] { + new Tuple(400, "RelatedResourceNotAuthorizedOrNotFound"), + new Tuple(401, "NotAuthenticated"), + new Tuple(404, "NotAuthorizedOrNotFound"), + new Tuple(409, "IncorrectState"), + new Tuple(409, "NotAuthorizedOrResourceAlreadyExists"), + new Tuple(429, "TooManyRequests"), + new Tuple(500, "InternalServerError"), + } + ); + /// The total elapsed time allowed for reties. public int TotalElapsedTimeInSecs { get; set; } = MAX_DURATION; - /// The group of status codes (first digit) that can be retried. - public List RetryableStatusCodeFamilies { get; set; } = new List { 5 }; + /// The collection of status codes families (first digit) that can be retried. + public List RetryableStatusCodeFamilies { get; set; } = new List(RETRYABLE_STATUSCODE_FAMILY); - /// The set of status codes that can be retried. - public List RetryableStatusCodes { get; set; } = new List { 408, 429 }; + /// The collection of errors that can be retried. + public Collection> RetryableErrors { get; set; } = new Collection>(RETRYABLE_ERRORS); } } diff --git a/Common/Src/Version.cs b/Common/Src/Version.cs index e1a9279187..58b9494051 100644 --- a/Common/Src/Version.cs +++ b/Common/Src/Version.cs @@ -7,7 +7,7 @@ namespace Oci.Common { public class Version { - public static string MAJOR = "3"; + public static string MAJOR = "4"; public static string MINOR = "0"; public static string PATCH = "0"; public static string TAG = ""; diff --git a/Common/Src/Waiters/WaiterConfiguration.cs b/Common/Src/Waiters/WaiterConfiguration.cs index afae0afb41..4e5b03b244 100644 --- a/Common/Src/Waiters/WaiterConfiguration.cs +++ b/Common/Src/Waiters/WaiterConfiguration.cs @@ -3,7 +3,7 @@ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ -using System; +using System; namespace Oci.Common.Waiters { @@ -16,8 +16,10 @@ public class WaiterConfiguration /// /// Function which enables the users to configure the sleep time in between the retries. /// This function takes the current retry attempt as input and returns the sleep time. + /// Default delay strategy is expotential delay. Set GetNextDelayInSeconds to another delay strategy if + /// necessary, e.g. DelayStrategy.GetFixedDelayInSeconds. /// - public Func GetNextDelayInSeconds { get; set; } = DelayStrategy.GetFixedDelayInSeconds; + public Func GetNextDelayInSeconds { get; set; } = DelayStrategy.GetExponentialDelayInSeconds; public static WaiterConfiguration DefaultWaiterConfiguration = new WaiterConfiguration(); } diff --git a/Commontests/Retry/GenericRetrierTests.cs b/Commontests/Retry/GenericRetrierTests.cs index 07e17df68e..15cbad63e4 100644 --- a/Commontests/Retry/GenericRetrierTests.cs +++ b/Commontests/Retry/GenericRetrierTests.cs @@ -3,13 +3,15 @@ * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ -using System; -using System.Collections.Generic; +using System; +using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; using System.Net.Http; using System.Threading; using System.Threading.Tasks; using Moq; +using Newtonsoft.Json; +using Oci.Common.Http.Internal; using Oci.Common.Model; using Xunit; @@ -39,17 +41,22 @@ await retrier.MakeRetryingCall( mockCallHttpMethod.Verify(mock => mock.Invoke(It.IsAny(), It.IsAny()), Times.Exactly(1)); } - [Fact] + [Theory] + [InlineData(500, "InternalServerError")] [Trait("Category", "Unit")] [DisplayTestMethodNameAttribute] - public async void TestRetryForDefaultRetryConfig() + public async void TestRetryForDefaultRetryConfig(int statusCode, string message) { var retrier = new GenericRetrier(new RetryConfiguration { GetNextDelayInSeconds = _ => 0 }); // disabling sleep time var mockCallHttpMethod = new Mock>>(); var requestMessage = new HttpRequestMessage(); mockCallHttpMethod.Setup(httpMethod => httpMethod(It.IsAny(), It.IsAny())) - .ReturnsAsync(new HttpResponseMessage() { StatusCode = System.Net.HttpStatusCode.InternalServerError }); + .ReturnsAsync(new HttpResponseMessage() + { + StatusCode = (System.Net.HttpStatusCode)statusCode, + Content = ContentHelper.CreateHttpContent(new ErrorCodeAndMessage(message, "Some Error")) + }); await retrier.MakeRetryingCall( mockCallHttpMethod.Object, @@ -61,15 +68,16 @@ await retrier.MakeRetryingCall( mockCallHttpMethod.Verify(mock => mock.Invoke(It.IsAny(), It.IsAny()), Times.Exactly(maxDefaultRetries + 1)); } - [Fact] + [Theory] + [InlineData(406, "CustomError")] [Trait("Category", "Unit")] [DisplayTestMethodNameAttribute] - public async void TestRetryForCustomConfig() + public async void TestRetryForCustomConfig(int statusCode, string message) { - var customConfig = new RetryConfiguration() + var customConfig = new RetryConfiguration { MaxAttempts = 10, - RetryableStatusCodes = new List { 404 }, + RetryableErrors = new Collection> { new Tuple(statusCode, message) }, GetNextDelayInSeconds = _ => 0 }; @@ -78,7 +86,11 @@ public async void TestRetryForCustomConfig() var requestMessage = new HttpRequestMessage(); mockCallHttpMethod.Setup(httpMethod => httpMethod(It.IsAny(), It.IsAny())) - .ReturnsAsync(new HttpResponseMessage() { StatusCode = System.Net.HttpStatusCode.NotFound }); + .ReturnsAsync(new HttpResponseMessage() + { + StatusCode = (System.Net.HttpStatusCode)statusCode, + Content = ContentHelper.CreateHttpContent(new ErrorCodeAndMessage(message, "Some Error")) + }); await retrier.MakeRetryingCall( mockCallHttpMethod.Object, @@ -88,16 +100,16 @@ await retrier.MakeRetryingCall( mockCallHttpMethod.Verify(mock => mock.Invoke(It.IsAny(), It.IsAny()), Times.Exactly(customConfig.MaxAttempts + 1)); } - [Fact] + [Theory] + [InlineData(404, "NotAuthorizedOrNotFound")] [Trait("Category", "Unit")] [DisplayTestMethodNameAttribute] - public async void TestRetryThrowsTimeoutException() + public async void TestRetryThrowsTimeoutException(int statusCode, string message) { var customConfig = new RetryConfiguration() { MaxAttempts = 10, TotalElapsedTimeInSecs = 1, // This makes sure the request timesout before returning error response. - RetryableStatusCodes = new List { 404 }, GetNextDelayInSeconds = (retryAttempt) => Math.Pow(2, retryAttempt) }; @@ -106,12 +118,31 @@ public async void TestRetryThrowsTimeoutException() var requestMessage = new HttpRequestMessage(); mockCallHttpMethod.Setup(httpMethod => httpMethod(It.IsAny(), It.IsAny())) - .ReturnsAsync(new HttpResponseMessage() { StatusCode = System.Net.HttpStatusCode.NotFound }); + .ReturnsAsync(new HttpResponseMessage() + { + StatusCode = (System.Net.HttpStatusCode)statusCode, + Content = ContentHelper.CreateHttpContent(new ErrorCodeAndMessage(message, "Some Error")) + }); await Assert.ThrowsAsync(() => retrier.MakeRetryingCall( mockCallHttpMethod.Object, requestMessage, default)); } + + private class ErrorCodeAndMessage + { + [JsonProperty("code")] + public readonly string Code; + + [JsonProperty("message")] + public readonly string Message; + + public ErrorCodeAndMessage(string code, string message) + { + this.Code = code; + this.Message = message; + } + } } } diff --git a/Containerengine/ContainerEngineClient.cs b/Containerengine/ContainerEngineClient.cs index 2ac2dc41e6..aad8af8e86 100644 --- a/Containerengine/ContainerEngineClient.cs +++ b/Containerengine/ContainerEngineClient.cs @@ -92,6 +92,7 @@ public async Task CreateCluster(CreateClusterRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task CreateKubeconfig(CreateKubeconfigReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task CreateNodePool(CreateNodePoolRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task DeleteCluster(DeleteClusterRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task DeleteNodePool(DeleteNodePoolRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -277,6 +282,7 @@ public async Task DeleteWorkRequest(DeleteWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -314,6 +320,7 @@ public async Task GetCluster(GetClusterRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -351,6 +358,7 @@ public async Task GetClusterOptions(GetClusterOptions { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -388,6 +396,7 @@ public async Task GetNodePool(GetNodePoolRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -425,6 +434,7 @@ public async Task GetNodePoolOptions(GetNodePoolOpti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -462,6 +472,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -499,6 +510,7 @@ public async Task ListClusters(ListClustersRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -536,6 +548,7 @@ public async Task ListNodePools(ListNodePoolsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -573,6 +586,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -610,6 +624,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -647,6 +662,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -684,6 +700,7 @@ public async Task UpdateCluster(UpdateClusterRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -721,6 +738,7 @@ public async Task UpdateNodePool(UpdateNodePoolRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Core/BlockstorageClient.cs b/Core/BlockstorageClient.cs index e4ccc50fd6..6bca3a2c3f 100644 --- a/Core/BlockstorageClient.cs +++ b/Core/BlockstorageClient.cs @@ -95,6 +95,7 @@ public async Task ChangeBootVolumeBac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -135,6 +136,7 @@ public async Task ChangeBootVolumeCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -175,6 +177,7 @@ public async Task ChangeVolumeBackupCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -215,6 +218,7 @@ public async Task ChangeVolumeCompartment(Chang { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -255,6 +259,7 @@ public async Task ChangeVolumeGroupB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -295,6 +300,7 @@ public async Task ChangeVolumeGroupCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -334,6 +340,7 @@ public async Task CopyBootVolumeBackup(CopyBootVol { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -373,6 +380,7 @@ public async Task CopyVolumeBackup(CopyVolumeBackupReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -414,6 +422,7 @@ public async Task CreateBootVolume(CreateBootVolumeReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -457,6 +466,7 @@ public async Task CreateBootVolumeBackup(CreateB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -508,6 +518,7 @@ public async Task CreateVolume(CreateVolumeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -551,6 +562,7 @@ public async Task CreateVolumeBackup(CreateVolumeBac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -592,6 +604,7 @@ public async Task CreateVolumeBackupPolicy(Cre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -632,6 +645,7 @@ public async Task CreateVolumeBackup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -676,6 +690,7 @@ public async Task CreateVolumeGroup(CreateVolumeGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -715,6 +730,7 @@ public async Task CreateVolumeGroupBackup(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -756,6 +772,7 @@ public async Task DeleteBootVolume(DeleteBootVolumeReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -793,6 +810,7 @@ public async Task DeleteBootVolumeBackup(DeleteB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -831,6 +849,7 @@ public async Task DeleteBootVolumeKmsKey(DeleteB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -872,6 +891,7 @@ public async Task DeleteVolume(DeleteVolumeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -909,6 +929,7 @@ public async Task DeleteVolumeBackup(DeleteVolumeBac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -951,6 +972,7 @@ public async Task DeleteVolumeBackupPolicy(Del { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -988,6 +1010,7 @@ public async Task DeleteVolumeBackup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1027,6 +1050,7 @@ public async Task DeleteVolumeGroup(DeleteVolumeGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1064,6 +1088,7 @@ public async Task DeleteVolumeGroupBackup(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1102,6 +1127,7 @@ public async Task DeleteVolumeKmsKey(DeleteVolumeKms { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1139,6 +1165,7 @@ public async Task GetBootVolume(GetBootVolumeRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1176,6 +1203,7 @@ public async Task GetBootVolumeBackup(GetBootVolume { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1214,6 +1242,7 @@ public async Task GetBootVolumeKmsKey(GetBootVolume { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1251,6 +1280,7 @@ public async Task GetVolume(GetVolumeRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1288,6 +1318,7 @@ public async Task GetVolumeBackup(GetVolumeBackupReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1325,6 +1356,7 @@ public async Task GetVolumeBackupPolicy(GetVolume { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1365,6 +1397,7 @@ public async Task GetVolumeBackupP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1402,6 +1435,7 @@ public async Task GetVolumeBackupPolicy { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1439,6 +1473,7 @@ public async Task GetVolumeGroup(GetVolumeGroupRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1476,6 +1511,7 @@ public async Task GetVolumeGroupBackup(GetVolumeGr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1514,6 +1550,7 @@ public async Task GetVolumeKmsKey(GetVolumeKmsKeyReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1552,6 +1589,7 @@ public async Task ListBootVolumeBackups(ListBootV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1590,6 +1628,7 @@ public async Task ListBootVolumes(ListBootVolumesReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1631,6 +1670,7 @@ public async Task ListVolumeBackupPolicies(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1669,6 +1709,7 @@ public async Task ListVolumeBackups(ListVolumeBackups { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1708,6 +1749,7 @@ public async Task ListVolumeGroupBackups(ListVol { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1747,6 +1789,7 @@ public async Task ListVolumeGroups(ListVolumeGroupsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1785,6 +1828,7 @@ public async Task ListVolumes(ListVolumesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1822,6 +1866,7 @@ public async Task UpdateBootVolume(UpdateBootVolumeReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1861,6 +1906,7 @@ public async Task UpdateBootVolumeBackup(UpdateB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1899,6 +1945,7 @@ public async Task UpdateBootVolumeKmsKey(UpdateB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1938,6 +1985,7 @@ public async Task UpdateVolume(UpdateVolumeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1977,6 +2025,7 @@ public async Task UpdateVolumeBackup(UpdateVolumeBac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2019,6 +2068,7 @@ public async Task UpdateVolumeBackupPolicy(Upd { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2062,6 +2112,7 @@ public async Task UpdateVolumeGroup(UpdateVolumeGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2099,6 +2150,7 @@ public async Task UpdateVolumeGroupBackup(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2137,6 +2189,7 @@ public async Task UpdateVolumeKmsKey(UpdateVolumeKms { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Core/ComputeClient.cs b/Core/ComputeClient.cs index 10b1160254..daed49c08e 100644 --- a/Core/ComputeClient.cs +++ b/Core/ComputeClient.cs @@ -92,6 +92,7 @@ public async Task AddImageShapeCompatib { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task AttachBootVolume(AttachBootVolumeReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -170,6 +172,7 @@ public async Task AttachVnic(AttachVnicRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -208,6 +211,7 @@ public async Task AttachVolume(AttachVolumeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -262,6 +266,7 @@ public async Task CaptureConsoleHistory(CaptureCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -302,6 +307,7 @@ public async Task ChangeC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -339,6 +345,7 @@ public async Task ChangeDedicatedVmHos { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -379,6 +386,7 @@ public async Task ChangeImageCompartment(ChangeI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -422,6 +430,7 @@ public async Task ChangeInstanceCompartment(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -460,6 +469,7 @@ public async Task CreateAppCatalogSubscrip { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -498,6 +508,7 @@ public async Task CreateComputeImage { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -539,6 +550,7 @@ public async Task CreateDedicatedVmHost(CreateDed { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -599,6 +611,7 @@ public async Task CreateImage(CreateImageRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -641,6 +654,7 @@ public async Task CreateInstanceConsole { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -678,6 +692,7 @@ public async Task DeleteAppCatalogSubscrip { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -716,6 +731,7 @@ public async Task DeleteComputeImage { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -753,6 +769,7 @@ public async Task DeleteConsoleHistory(DeleteConso { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -794,6 +811,7 @@ public async Task DeleteDedicatedVmHost(DeleteDed { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -831,6 +849,7 @@ public async Task DeleteImage(DeleteImageRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -868,6 +887,7 @@ public async Task DeleteInstanceConsole { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -909,6 +929,7 @@ public async Task DetachBootVolume(DetachBootVolumeReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -956,6 +977,7 @@ public async Task DetachVnic(DetachVnicRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -997,6 +1019,7 @@ public async Task DetachVolume(DetachVolumeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1044,6 +1067,7 @@ public async Task ExportImage(ExportImageRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1081,6 +1105,7 @@ public async Task GetAppCatalogListing(GetAppCatal { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1118,6 +1143,7 @@ public async Task GetAppCatalogListingAg { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1155,6 +1181,7 @@ public async Task GetAppCatalogList { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1192,6 +1219,7 @@ public async Task GetBootVolumeAttachment(GetBo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1229,6 +1257,7 @@ public async Task GetComputeGloba { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1266,6 +1295,7 @@ public async Task GetCompu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1304,6 +1334,7 @@ public async Task GetComputeImageCapabi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1344,6 +1375,7 @@ public async Task GetConsoleHistory(GetConsoleHistory { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1384,6 +1416,7 @@ public async Task GetConsoleHistoryContent(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1421,6 +1454,7 @@ public async Task GetDedicatedVmHost(GetDedicatedVmH { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1458,6 +1492,7 @@ public async Task GetImage(GetImageRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1495,6 +1530,7 @@ public async Task GetImageShapeCompatib { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1532,6 +1568,7 @@ public async Task GetInstance(GetInstanceRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1569,6 +1606,7 @@ public async Task GetInstanceConsoleConnec { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1607,6 +1645,7 @@ public async Task GetVnicAttachment(GetVnicAttachment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1644,6 +1683,7 @@ public async Task GetVolumeAttachment(GetVolumeAtta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1683,6 +1723,7 @@ public async Task GetWindowsInstan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1737,6 +1778,7 @@ public async Task InstanceAction(InstanceActionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1813,6 +1855,7 @@ public async Task LaunchInstance(LaunchInstanceRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1850,6 +1893,7 @@ public async Task ListAppCatalogL { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1887,6 +1931,7 @@ public async Task ListAppCatalogListings(ListApp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1924,6 +1969,7 @@ public async Task ListAppCatalogSubscriptio { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1963,6 +2009,7 @@ public async Task ListBootVolumeAttachments(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2001,6 +2048,7 @@ public async Task ListCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2039,6 +2087,7 @@ public async Task ListComputeGl { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2077,6 +2126,7 @@ public async Task ListComputeImageCap { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2115,6 +2165,7 @@ public async Task ListConsoleHistories(ListConsole { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2154,6 +2205,7 @@ public async Task ListDedicatedVmHost { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2192,6 +2244,7 @@ public async Task ListDedicatedVmHostInsta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2230,6 +2283,7 @@ public async Task ListDedicatedVmHostShapes(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2271,6 +2325,7 @@ public async Task ListDedicatedVmHosts(ListDedicat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2308,6 +2363,7 @@ public async Task ListImageShapeComp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2352,6 +2408,7 @@ public async Task ListImages(ListImagesRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2392,6 +2449,7 @@ public async Task ListInstanceConsoleCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2429,6 +2487,7 @@ public async Task ListInstanceDevices(ListInstanceD { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2469,6 +2528,7 @@ public async Task ListInstances(ListInstancesRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2508,6 +2568,7 @@ public async Task ListShapes(ListShapesRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2548,6 +2609,7 @@ public async Task ListVnicAttachments(ListVnicAttac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2590,6 +2652,7 @@ public async Task ListVolumeAttachments(ListVolum { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2627,6 +2690,7 @@ public async Task RemoveImageShapeCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2672,6 +2736,7 @@ public async Task TerminateInstance(TerminateInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2710,6 +2775,7 @@ public async Task UpdateComputeImage { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2747,6 +2813,7 @@ public async Task UpdateConsoleHistory(UpdateConso { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2786,6 +2853,7 @@ public async Task UpdateDedicatedVmHost(UpdateDed { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2823,6 +2891,7 @@ public async Task UpdateImage(UpdateImageRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2867,6 +2936,7 @@ public async Task UpdateInstance(UpdateInstanceRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Core/ComputeManagementClient.cs b/Core/ComputeManagementClient.cs index 5123f0df0a..2e449dc284 100644 --- a/Core/ComputeManagementClient.cs +++ b/Core/ComputeManagementClient.cs @@ -93,6 +93,7 @@ public async Task AttachLoadBalancer(AttachLoadBalan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -136,6 +137,7 @@ public async Task ChangeClusterNetworkC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -186,6 +188,7 @@ public async Task ChangeInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -229,6 +232,7 @@ public async Task ChangeInstancePoolCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -268,6 +272,7 @@ public async Task CreateClusterNetwork(CreateClust { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -307,6 +312,7 @@ public async Task CreateInstanceConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -344,6 +350,7 @@ public async Task CreateInstancePool(CreateInstanceP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -381,6 +388,7 @@ public async Task DeleteInstanceConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -419,6 +427,7 @@ public async Task DetachLoadBalancer(DetachLoadBalan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -456,6 +465,7 @@ public async Task GetClusterNetwork(GetClusterNetwork { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -493,6 +503,7 @@ public async Task GetInstanceConfiguration(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -530,6 +541,7 @@ public async Task GetInstancePool(GetInstancePoolReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -568,6 +580,7 @@ public async Task GetInstancePool { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -612,6 +625,7 @@ public async Task LaunchInstanceConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -649,6 +663,7 @@ public async Task ListClusterNetworkInstanc { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -686,6 +701,7 @@ public async Task ListClusterNetworks(ListClusterNe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -724,6 +740,7 @@ public async Task ListInstanceConfigurations { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -761,6 +778,7 @@ public async Task ListInstancePoolInstances(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -798,6 +816,7 @@ public async Task ListInstancePools(ListInstancePools { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -837,6 +856,7 @@ public async Task ResetInstancePool(ResetInstancePool { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -876,6 +896,7 @@ public async Task SoftresetInstancePool(Softreset { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -915,6 +936,7 @@ public async Task StartInstancePool(StartInstancePool { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -954,6 +976,7 @@ public async Task StopInstancePool(StopInstancePoolReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -995,6 +1018,7 @@ public async Task TerminateClusterNetwork(Termi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1040,6 +1064,7 @@ public async Task TerminateInstancePool(Terminate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1078,6 +1103,7 @@ public async Task UpdateClusterNetwork(UpdateClust { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1115,6 +1141,7 @@ public async Task UpdateInstanceConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1155,6 +1182,7 @@ public async Task UpdateInstancePool(UpdateInstanceP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Core/VirtualNetworkClient.cs b/Core/VirtualNetworkClient.cs index fc36f0cbd4..eede59ed44 100644 --- a/Core/VirtualNetworkClient.cs +++ b/Core/VirtualNetworkClient.cs @@ -93,6 +93,7 @@ public async Task AddNetworkSecuri { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -140,6 +141,7 @@ public async Task AttachServiceId(AttachServiceIdReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -181,6 +183,7 @@ public async Task BulkAddVirtualCir { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -222,6 +225,7 @@ public async Task BulkDeleteVirt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -262,6 +266,7 @@ public async Task ChangeCpeCompartment(ChangeCpeCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -302,6 +307,7 @@ public async Task ChangeCrossConnectCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -342,6 +348,7 @@ public async Task ChangeCrossConnect { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -382,6 +389,7 @@ public async Task ChangeDhcpOptionsCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -422,6 +430,7 @@ public async Task ChangeDrgCompartment(ChangeDrgCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -462,6 +471,7 @@ public async Task ChangeIPSecConnectio { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -502,6 +512,7 @@ public async Task ChangeInternetGatewa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -542,6 +553,7 @@ public async Task ChangeLocalPeeri { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -582,6 +594,7 @@ public async Task ChangeNatGatewayCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -621,6 +634,7 @@ public async Task ChangeNetworkSe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -664,6 +678,7 @@ public async Task ChangePublicIpCompartment(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -704,6 +719,7 @@ public async Task ChangeRemote { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -744,6 +760,7 @@ public async Task ChangeRouteTableCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -784,6 +801,7 @@ public async Task ChangeSecurityListCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -824,6 +842,7 @@ public async Task ChangeServiceGatewayC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -864,6 +883,7 @@ public async Task ChangeSubnetCompartment(Chang { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -904,6 +924,7 @@ public async Task ChangeVcnCompartment(ChangeVcnCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -944,6 +965,7 @@ public async Task ChangeVirtualCircuitC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -984,6 +1006,7 @@ public async Task ChangeVlanCompartment(ChangeVla { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1029,6 +1052,7 @@ public async Task ConnectLocalPeeringGatewa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1074,6 +1098,7 @@ public async Task ConnectRemotePeeringC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1126,6 +1151,7 @@ public async Task CreateCpe(CreateCpeRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1182,6 +1208,7 @@ public async Task CreateCrossConnect(CreateCrossConn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1234,6 +1261,7 @@ public async Task CreateCrossConnectGroup(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1283,6 +1311,7 @@ public async Task CreateDhcpOptions(CreateDhcpOptions { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1332,6 +1361,7 @@ public async Task CreateDrg(CreateDrgRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1380,6 +1410,7 @@ public async Task CreateDrgAttachment(CreateDrgAtta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1446,6 +1477,7 @@ public async Task CreateIPSecConnection(CreateIPS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1504,6 +1536,7 @@ public async Task CreateInternetGateway(CreateInt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1542,6 +1575,7 @@ public async Task CreateIpv6(CreateIpv6Request request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1580,6 +1614,7 @@ public async Task CreateLocalPeeringGateway(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1619,6 +1654,7 @@ public async Task CreateNatGateway(CreateNatGatewayReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1657,6 +1693,7 @@ public async Task CreateNetworkSecurityGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1697,6 +1734,7 @@ public async Task CreatePrivateIp(CreatePrivateIpReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1755,6 +1793,7 @@ public async Task CreatePublicIp(CreatePublicIpRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1793,6 +1832,7 @@ public async Task CreateRemotePeeringConn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1845,6 +1885,7 @@ public async Task CreateRouteTable(CreateRouteTableReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1896,6 +1937,7 @@ public async Task CreateSecurityList(CreateSecurityL { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1942,6 +1984,7 @@ public async Task CreateServiceGateway(CreateServi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2010,6 +2053,7 @@ public async Task CreateSubnet(CreateSubnetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2076,6 +2120,7 @@ public async Task CreateVcn(CreateVcnRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2134,6 +2179,7 @@ public async Task CreateVirtualCircuit(CreateVirtu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2172,6 +2218,7 @@ public async Task CreateVlan(CreateVlanRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2212,6 +2259,7 @@ public async Task DeleteCpe(DeleteCpeRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2251,6 +2299,7 @@ public async Task DeleteCrossConnect(DeleteCrossConn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2291,6 +2340,7 @@ public async Task DeleteCrossConnectGroup(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2333,6 +2383,7 @@ public async Task DeleteDhcpOptions(DeleteDhcpOptions { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2374,6 +2425,7 @@ public async Task DeleteDrg(DeleteDrgRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2414,6 +2466,7 @@ public async Task DeleteDrgAttachment(DeleteDrgAtta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2459,6 +2512,7 @@ public async Task DeleteIPSecConnection(DeleteIPS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2501,6 +2555,7 @@ public async Task DeleteInternetGateway(DeleteInt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2540,6 +2595,7 @@ public async Task DeleteIpv6(DeleteIpv6Request request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2581,6 +2637,7 @@ public async Task DeleteLocalPeeringGateway(D { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2623,6 +2680,7 @@ public async Task DeleteNatGateway(DeleteNatGatewayReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2667,6 +2725,7 @@ public async Task DeleteNetworkSecurityGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2715,6 +2774,7 @@ public async Task DeletePrivateIp(DeletePrivateIpReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2767,6 +2827,7 @@ public async Task DeletePublicIp(DeletePublicIpRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2808,6 +2869,7 @@ public async Task DeleteRemotePeeringConn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2850,6 +2912,7 @@ public async Task DeleteRouteTable(DeleteRouteTableReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2892,6 +2955,7 @@ public async Task DeleteSecurityList(DeleteSecurityL { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2931,6 +2995,7 @@ public async Task DeleteServiceGateway(DeleteServi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2971,6 +3036,7 @@ public async Task DeleteSubnet(DeleteSubnetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3011,6 +3077,7 @@ public async Task DeleteVcn(DeleteVcnRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3053,6 +3120,7 @@ public async Task DeleteVirtualCircuit(DeleteVirtu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3091,6 +3159,7 @@ public async Task DeleteVlan(DeleteVlanRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3140,6 +3209,7 @@ public async Task DetachServiceId(DetachServiceIdReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3177,6 +3247,7 @@ public async Task GetCpe(GetCpeRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3232,6 +3303,7 @@ public async Task GetCpeDeviceConfigContent(G { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3278,6 +3350,7 @@ public async Task GetCpeDeviceShape(GetCpeDeviceShape { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3315,6 +3388,7 @@ public async Task GetCrossConnect(GetCrossConnectReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3352,6 +3426,7 @@ public async Task GetCrossConnectGroup(GetCrossCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3389,6 +3464,7 @@ public async Task GetCrossConnectLette { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3427,6 +3503,7 @@ public async Task GetCrossConnectStatus(GetCrossC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3464,6 +3541,7 @@ public async Task GetDhcpOptions(GetDhcpOptionsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3501,6 +3579,7 @@ public async Task GetDrg(GetDrgRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3538,6 +3617,7 @@ public async Task GetDrgAttachment(GetDrgAttachmentReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3577,6 +3657,7 @@ public async Task GetDrgRedundancyStatus(GetDrgR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3616,6 +3697,7 @@ public async Task GetFastConnectProviderS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3655,6 +3737,7 @@ public async Task GetFastConnectProvid { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3695,6 +3778,7 @@ public async Task GetIPSecConnection(GetIPSecConnect { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3736,6 +3820,7 @@ public async Task GetIPSecConnectionDevi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3775,6 +3860,7 @@ public async Task GetIPSecConnectionDevi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3815,6 +3901,7 @@ public async Task GetIPSecConnectionTunnel(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3854,6 +3941,7 @@ public async Task GetIPSecConnecti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3891,6 +3979,7 @@ public async Task GetInternetGateway(GetInternetGate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3947,6 +4036,7 @@ public async Task GetIpsecCpeDeviceConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3988,6 +4078,7 @@ public async Task GetIpv6(GetIpv6Request request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4025,6 +4116,7 @@ public async Task GetLocalPeeringGateway(GetLoca { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4062,6 +4154,7 @@ public async Task GetNatGateway(GetNatGatewayRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4106,6 +4199,7 @@ public async Task GetNetworkSecurityGroup(GetNe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4147,6 +4241,7 @@ public async Task GetPrivateIp(GetPrivateIpRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4195,6 +4290,7 @@ public async Task GetPublicIp(GetPublicIpRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4237,6 +4333,7 @@ public async Task GetPublicIpByIpAddress(GetPubl { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4285,6 +4382,7 @@ public async Task GetPublicIpByPrivateIpId(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4323,6 +4421,7 @@ public async Task GetRemotePeeringConnection { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4360,6 +4459,7 @@ public async Task GetRouteTable(GetRouteTableRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4397,6 +4497,7 @@ public async Task GetSecurityList(GetSecurityListReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4435,6 +4536,7 @@ public async Task GetService(GetServiceRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4472,6 +4574,7 @@ public async Task GetServiceGateway(GetServiceGateway { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4509,6 +4612,7 @@ public async Task GetSubnet(GetSubnetRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4551,6 +4655,7 @@ public async Task GetTunnelCpeDeviceConfig(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4606,6 +4711,7 @@ public async Task GetTunnelCpeDeviceCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4643,6 +4749,7 @@ public async Task GetVcn(GetVcnRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4680,6 +4787,7 @@ public async Task GetVirtualCircuit(GetVirtualCircuit { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4717,6 +4825,7 @@ public async Task GetVlan(GetVlanRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4758,6 +4867,7 @@ public async Task GetVnic(GetVnicRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4797,6 +4907,7 @@ public async Task ListAllowedPee { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4847,6 +4958,7 @@ public async Task ListCpeDeviceShapes(ListCpeDevice { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4885,6 +4997,7 @@ public async Task ListCpes(ListCpesRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4923,6 +5036,7 @@ public async Task ListCrossConnectGroups(ListCro { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4962,6 +5076,7 @@ public async Task ListCrossConnectLocations(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5001,6 +5116,7 @@ public async Task ListCrossConnects(ListCrossConnects { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5041,6 +5157,7 @@ public async Task ListCrossconnectPortS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5082,6 +5199,7 @@ public async Task ListDhcpOptions(ListDhcpOptionsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5121,6 +5239,7 @@ public async Task ListDrgAttachments(ListDrgAttachme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5159,6 +5278,7 @@ public async Task ListDrgs(ListDrgsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5203,6 +5323,7 @@ public async Task ListFastConnectProvid { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5244,6 +5365,7 @@ public async Task { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5282,6 +5404,7 @@ public async Task ListIPSecConnectionTunnels { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5321,6 +5444,7 @@ public async Task ListIPSecConnections(ListIPSecCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5360,6 +5484,7 @@ public async Task ListInternetGateways(ListInterne { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5405,6 +5530,7 @@ public async Task ListIpv6s(ListIpv6sRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5444,6 +5570,7 @@ public async Task ListLocalPeeringGateways(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5483,6 +5610,7 @@ public async Task ListNatGateways(ListNatGatewaysReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5521,6 +5649,7 @@ public async Task ListNetworkSecu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5559,6 +5688,7 @@ public async Task ListNetworkSecurityGrou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5597,6 +5727,7 @@ public async Task ListNetworkSecurityGroups(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5650,6 +5781,7 @@ public async Task ListPrivateIps(ListPrivateIpsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5707,6 +5839,7 @@ public async Task ListPublicIps(ListPublicIpsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5746,6 +5879,7 @@ public async Task ListRemotePeeringConnect { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5787,6 +5921,7 @@ public async Task ListRouteTables(ListRouteTablesReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5826,6 +5961,7 @@ public async Task ListSecurityLists(ListSecurityLists { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5865,6 +6001,7 @@ public async Task ListServiceGateways(ListServiceGa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5904,6 +6041,7 @@ public async Task ListServices(ListServicesRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5943,6 +6081,7 @@ public async Task ListSubnets(ListSubnetsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5981,6 +6120,7 @@ public async Task ListVcns(ListVcnsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6019,6 +6159,7 @@ public async Task ListVirtualCircuitB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6058,6 +6199,7 @@ public async Task ListVirtualCircuitPu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6096,6 +6238,7 @@ public async Task ListVirtualCircuits(ListVirtualCi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6134,6 +6277,7 @@ public async Task ListVlans(ListVlansRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6172,6 +6316,7 @@ public async Task RemoveNetwork { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6211,6 +6356,7 @@ public async Task UpdateCpe(UpdateCpeRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6248,6 +6394,7 @@ public async Task UpdateCrossConnect(UpdateCrossConn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6287,6 +6434,7 @@ public async Task UpdateCrossConnectGroup(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6328,6 +6476,7 @@ public async Task UpdateDhcpOptions(UpdateDhcpOptions { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6366,6 +6515,7 @@ public async Task UpdateDrg(UpdateDrgRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6405,6 +6555,7 @@ public async Task UpdateDrgAttachment(UpdateDrgAtta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6446,6 +6597,7 @@ public async Task UpdateIPSecConnection(UpdateIPS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6495,6 +6647,7 @@ public async Task UpdateIPSecConnectionTunn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6535,6 +6688,7 @@ public async Task UpdateIPSecCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6577,6 +6731,7 @@ public async Task UpdateInternetGateway(UpdateInt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6621,6 +6776,7 @@ public async Task UpdateIpv6(UpdateIpv6Request request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6659,6 +6815,7 @@ public async Task UpdateLocalPeeringGateway(U { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6697,6 +6854,7 @@ public async Task UpdateNatGateway(UpdateNatGatewayReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6749,6 +6907,7 @@ public async Task UpdateNetworkSecurityGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6787,6 +6946,7 @@ public async Task UpdateNetwork { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6834,6 +6994,7 @@ public async Task UpdatePrivateIp(UpdatePrivateIpReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6910,6 +7071,7 @@ public async Task UpdatePublicIp(UpdatePublicIpRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6948,6 +7110,7 @@ public async Task UpdateRemotePeeringConn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -6989,6 +7152,7 @@ public async Task UpdateRouteTable(UpdateRouteTableReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7031,6 +7195,7 @@ public async Task UpdateSecurityList(UpdateSecurityL { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7070,6 +7235,7 @@ public async Task UpdateServiceGateway(UpdateServi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7108,6 +7274,7 @@ public async Task UpdateSubnet(UpdateSubnetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7148,6 +7315,7 @@ public async Task UpdateTunnelCpeDeviceConf { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7186,6 +7354,7 @@ public async Task UpdateVcn(UpdateVcnRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7247,6 +7416,7 @@ public async Task UpdateVirtualCircuit(UpdateVirtu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7287,6 +7457,7 @@ public async Task UpdateVlan(UpdateVlanRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -7325,6 +7496,7 @@ public async Task UpdateVnic(UpdateVnicRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Database/DatabaseClient.cs b/Database/DatabaseClient.cs index 7e76e94cbc..eea84c3fc3 100644 --- a/Database/DatabaseClient.cs +++ b/Database/DatabaseClient.cs @@ -92,6 +92,7 @@ public async Task ActivateExadataInfrastr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task ChangeAu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -172,6 +174,7 @@ public async Task ChangeAutonomousD { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -212,6 +215,7 @@ public async Task Chan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -251,6 +255,7 @@ public async Task ChangeAutonomous { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -291,6 +296,7 @@ public async Task ChangeBackupDestin { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -331,6 +337,7 @@ public async Task ChangeDbSystemCompartment(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -370,6 +377,7 @@ public async Task ChangeExadataI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -409,6 +417,7 @@ public async Task ChangeVmClusterCompartment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -449,6 +458,7 @@ public async Task CompleteExternalBackupJob(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -487,6 +497,7 @@ public async Task CreateAutonomousCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -525,6 +536,7 @@ public async Task CreateAutonomousDataWar { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -563,6 +575,7 @@ public async Task CreateAutonomousD { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -601,6 +614,7 @@ public async Task CreateAutonomousDatabase(Cre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -639,6 +653,7 @@ public async Task CreateAutonomousDataba { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -677,6 +692,7 @@ public async Task CreateAutonomousVmCluster(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -715,6 +731,7 @@ public async Task CreateBackup(CreateBackupRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -753,6 +770,7 @@ public async Task CreateBackupDestination(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -793,6 +811,7 @@ public async Task CreateConsoleConnection(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -838,6 +857,7 @@ public async Task CreateDataGuardAssociation { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -876,6 +896,7 @@ public async Task CreateDatabase(CreateDatabaseRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -914,6 +935,7 @@ public async Task CreateDbHome(CreateDbHomeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -951,6 +973,7 @@ public async Task CreateExadataInfrastructu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -991,6 +1014,7 @@ public async Task CreateExternalBackupJob(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1029,6 +1053,7 @@ public async Task CreateVmCluster(CreateVmClusterReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1067,6 +1092,7 @@ public async Task CreateVmClusterNetwork(CreateV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1117,6 +1143,7 @@ public async Task DbNodeAction(DbNodeActionRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1155,6 +1182,7 @@ public async Task DeleteAutonomousDataWar { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1193,6 +1221,7 @@ public async Task DeleteAutonomousDatabase(Del { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1231,6 +1260,7 @@ public async Task DeleteAutonomousVmCluster(D { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1268,6 +1298,7 @@ public async Task DeleteBackup(DeleteBackupRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1306,6 +1337,7 @@ public async Task DeleteBackupDestination(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1343,6 +1375,7 @@ public async Task DeleteConsoleConnection(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1383,6 +1416,7 @@ public async Task DeleteDatabase(DeleteDatabaseRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1423,6 +1457,7 @@ public async Task DeleteDbHome(DeleteDbHomeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1461,6 +1496,7 @@ public async Task DeleteExadataInfrastructu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1499,6 +1535,7 @@ public async Task DeleteVmCluster(DeleteVmClusterReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1537,6 +1574,7 @@ public async Task DeleteVmClusterNetwork(DeleteV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1575,6 +1613,7 @@ public async Task DeregisterAutono { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1613,6 +1652,7 @@ public async Task DownloadExada { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1651,6 +1691,7 @@ public async Task DownloadVmClusterN { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1689,6 +1730,7 @@ public async Task FailOverAutonomousDatabase { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1731,6 +1773,7 @@ public async Task FailoverDataGuardAssocia { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1769,6 +1812,7 @@ public async Task GenerateAutonom { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1807,6 +1851,7 @@ public async Task GenerateAutonomousDa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1845,6 +1890,7 @@ public async Task GenerateRecommend { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1882,6 +1928,7 @@ public async Task GetAutonomousContainer { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1920,6 +1967,7 @@ public async Task GetAutonomousDataWarehouse { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1958,6 +2006,7 @@ public async Task GetAutonomousDataWar { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1996,6 +2045,7 @@ public async Task GetAutonomousDatabase(GetAutono { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2033,6 +2083,7 @@ public async Task GetAutonomousDatabaseBack { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2071,6 +2122,7 @@ public async Task GetAutonomousData { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2109,6 +2161,7 @@ public async Task GetAutonomousDatabaseWall { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2146,6 +2199,7 @@ public async Task GetAutonomousExada { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2183,6 +2237,7 @@ public async Task GetAutonomousVmCluster(GetAuto { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2220,6 +2275,7 @@ public async Task GetBackup(GetBackupRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2258,6 +2314,7 @@ public async Task GetBackupDestination(GetBackupDe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2295,6 +2352,7 @@ public async Task GetConsoleConnection(GetConsoleC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2333,6 +2391,7 @@ public async Task GetDataGuardAssociation(GetDa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2370,6 +2429,7 @@ public async Task GetDatabase(GetDatabaseRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2407,6 +2467,7 @@ public async Task GetDbHome(GetDbHomeRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2445,6 +2506,7 @@ public async Task GetDbHomePatch(GetDbHomePatchRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2483,6 +2545,7 @@ public async Task GetDbHomePatchHistoryEntry { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2520,6 +2583,7 @@ public async Task GetDbNode(GetDbNodeRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2557,6 +2621,7 @@ public async Task GetDbSystem(GetDbSystemRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2595,6 +2660,7 @@ public async Task GetDbSystemPatch(GetDbSystemPatchReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2633,6 +2699,7 @@ public async Task GetDbSystemPatchHistoryE { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2670,6 +2737,7 @@ public async Task GetExadataInfrastructure(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2708,6 +2776,7 @@ public async Task GetExadataInfrastructur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2747,6 +2816,7 @@ public async Task GetExadataIormConfig(GetExadataI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2787,6 +2857,7 @@ public async Task GetExternalBackupJob(GetExternal { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2824,6 +2895,7 @@ public async Task GetMaintenanceRun(GetMaintenanceRun { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2861,6 +2933,7 @@ public async Task GetVmCluster(GetVmClusterRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2898,6 +2971,7 @@ public async Task GetVmClusterNetwork(GetVmClusterN { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2936,6 +3010,7 @@ public async Task GetVmClusterPatch(GetVmClusterPatch { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2974,6 +3049,7 @@ public async Task GetVmClusterPatchHistor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3012,6 +3088,7 @@ public async Task LaunchAutonomou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3057,6 +3134,7 @@ public async Task LaunchDbSystem(LaunchDbSystemRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3095,6 +3173,7 @@ public async Task ListAutonomousContai { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3133,6 +3212,7 @@ public async Task ListAutonomousData { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3171,6 +3251,7 @@ public async Task ListAutonomousDataWareho { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3209,6 +3290,7 @@ public async Task ListAutonomousDatabaseB { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3247,6 +3329,7 @@ public async Task ListAutonomousDatabases(ListA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3286,6 +3369,7 @@ public async Task ListAutonomousDbPrevi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3323,6 +3407,7 @@ public async Task ListAutonomousDbVersions(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3360,6 +3445,7 @@ public async Task ListAutonom { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3398,6 +3484,7 @@ public async Task ListAutonomousEx { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3436,6 +3523,7 @@ public async Task ListAutonomousVmClusters(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3474,6 +3562,7 @@ public async Task ListBackupDestination(ListBacku { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3512,6 +3601,7 @@ public async Task ListBackups(ListBackupsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3550,6 +3640,7 @@ public async Task ListConsoleConnections(ListCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3588,6 +3679,7 @@ public async Task ListDataGuardAssociations(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3626,6 +3718,7 @@ public async Task ListDatabases(ListDatabasesRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3664,6 +3757,7 @@ public async Task ListDbHomePatchHistoryE { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3702,6 +3796,7 @@ public async Task ListDbHomePatches(ListDbHomePatches { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3740,6 +3835,7 @@ public async Task ListDbHomes(ListDbHomesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3778,6 +3874,7 @@ public async Task ListDbNodes(ListDbNodesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3816,6 +3913,7 @@ public async Task ListDbSystemPatchHist { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3854,6 +3952,7 @@ public async Task ListDbSystemPatches(ListDbSystemP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3891,6 +3990,7 @@ public async Task ListDbSystemShapes(ListDbSystemSha { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3929,6 +4029,7 @@ public async Task ListDbSystems(ListDbSystemsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3966,6 +4067,7 @@ public async Task ListDbVersions(ListDbVersionsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4004,6 +4106,7 @@ public async Task ListExadataInfrastructures { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4041,6 +4144,7 @@ public async Task ListGiVersions(ListGiVersionsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4079,6 +4183,7 @@ public async Task ListMaintenanceRuns(ListMaintenan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4117,6 +4222,7 @@ public async Task ListVmClusterNetworks(ListVmClu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4155,6 +4261,7 @@ public async Task ListVmClusterPatchHi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4193,6 +4300,7 @@ public async Task ListVmClusterPatches(ListVmClust { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4231,6 +4339,7 @@ public async Task ListVmClusters(ListVmClustersRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4269,6 +4378,7 @@ public async Task RegisterAutonomous { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4307,6 +4417,7 @@ public async Task ReinstateDataGuardAssoc { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4345,6 +4456,7 @@ public async Task RestartAutonomousC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4383,6 +4495,7 @@ public async Task RestartAutonomousDatabase(R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4421,6 +4534,7 @@ public async Task RestoreAutonomousDataW { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4459,6 +4573,7 @@ public async Task RestoreAutonomousDatabase(R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4497,6 +4612,7 @@ public async Task RestoreDatabase(RestoreDatabaseReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4535,6 +4651,7 @@ public async Task StartAutonomousDataWareh { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4573,6 +4690,7 @@ public async Task StartAutonomousDatabase(Start { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4611,6 +4729,7 @@ public async Task StopAutonomousDataWarehou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4649,6 +4768,7 @@ public async Task StopAutonomousDatabase(StopAut { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4687,6 +4807,7 @@ public async Task SwitchoverAutonomousData { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4728,6 +4849,7 @@ public async Task SwitchoverDataGuardAss { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4765,6 +4887,7 @@ public async Task TerminateAutonom { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4802,6 +4925,7 @@ public async Task TerminateAut { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4839,6 +4963,7 @@ public async Task TerminateDbSystem(TerminateDbSystem { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4876,6 +5001,7 @@ public async Task UpdateAutonomousCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4914,6 +5040,7 @@ public async Task UpdateAutonomousDataWar { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4952,6 +5079,7 @@ public async Task UpdateAutonomousDatabase(Upd { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4990,6 +5118,7 @@ public async Task UpdateAutonomo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5028,6 +5157,7 @@ public async Task UpdateAutonomousDataba { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5065,6 +5195,7 @@ public async Task UpdateAutonomou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5103,6 +5234,7 @@ public async Task UpdateAutonomousVmCluster(U { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5143,6 +5275,7 @@ public async Task UpdateBackupDestination(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5181,6 +5314,7 @@ public async Task UpdateDatabase(UpdateDatabaseRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5218,6 +5352,7 @@ public async Task UpdateDbHome(UpdateDbHomeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5255,6 +5390,7 @@ public async Task UpdateDbSystem(UpdateDbSystemRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5293,6 +5429,7 @@ public async Task UpdateExadataInfrastructu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5331,6 +5468,7 @@ public async Task UpdateExadataIormConfig(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5368,6 +5506,7 @@ public async Task UpdateMaintenanceRun(UpdateMaint { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5406,6 +5545,7 @@ public async Task UpdateVmCluster(UpdateVmClusterReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5444,6 +5584,7 @@ public async Task UpdateVmClusterNetwork(UpdateV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -5482,6 +5623,7 @@ public async Task ValidateVmClusterNetwork(Val { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Database/models/AutonomousDatabase.cs b/Database/models/AutonomousDatabase.cs index 9080cc47a5..337896235e 100644 --- a/Database/models/AutonomousDatabase.cs +++ b/Database/models/AutonomousDatabase.cs @@ -326,6 +326,7 @@ public enum LicenseModelEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// /// /// @@ -333,7 +334,9 @@ public enum DbWorkloadEnum { [EnumMember(Value = "OLTP")] Oltp, [EnumMember(Value = "DW")] - Dw + Dw, + [EnumMember(Value = "AJD")] + Ajd }; /// @@ -341,6 +344,7 @@ public enum DbWorkloadEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// ///
[JsonProperty(PropertyName = "dbWorkload")] diff --git a/Database/models/AutonomousDatabaseSummary.cs b/Database/models/AutonomousDatabaseSummary.cs index 1fde3feb5f..648ff31b4a 100644 --- a/Database/models/AutonomousDatabaseSummary.cs +++ b/Database/models/AutonomousDatabaseSummary.cs @@ -328,6 +328,7 @@ public enum LicenseModelEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// /// /// @@ -335,7 +336,9 @@ public enum DbWorkloadEnum { [EnumMember(Value = "OLTP")] Oltp, [EnumMember(Value = "DW")] - Dw + Dw, + [EnumMember(Value = "AJD")] + Ajd }; /// @@ -343,6 +346,7 @@ public enum DbWorkloadEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// ///
[JsonProperty(PropertyName = "dbWorkload")] diff --git a/Database/models/AutonomousDbPreviewVersionSummary.cs b/Database/models/AutonomousDbPreviewVersionSummary.cs index cfb5efb645..ed2209ab71 100644 --- a/Database/models/AutonomousDbPreviewVersionSummary.cs +++ b/Database/models/AutonomousDbPreviewVersionSummary.cs @@ -49,6 +49,7 @@ public class AutonomousDbPreviewVersionSummary ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// /// /// @@ -56,7 +57,9 @@ public enum DbWorkloadEnum { [EnumMember(Value = "OLTP")] Oltp, [EnumMember(Value = "DW")] - Dw + Dw, + [EnumMember(Value = "AJD")] + Ajd }; /// @@ -64,6 +67,7 @@ public enum DbWorkloadEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// ///
[JsonProperty(PropertyName = "dbWorkload")] diff --git a/Database/models/AutonomousDbVersionSummary.cs b/Database/models/AutonomousDbVersionSummary.cs index 25c5517939..34a62a4145 100644 --- a/Database/models/AutonomousDbVersionSummary.cs +++ b/Database/models/AutonomousDbVersionSummary.cs @@ -37,6 +37,7 @@ public class AutonomousDbVersionSummary ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// /// /// @@ -44,7 +45,9 @@ public enum DbWorkloadEnum { [EnumMember(Value = "OLTP")] Oltp, [EnumMember(Value = "DW")] - Dw + Dw, + [EnumMember(Value = "AJD")] + Ajd }; /// @@ -52,6 +55,7 @@ public enum DbWorkloadEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// ///
[JsonProperty(PropertyName = "dbWorkload")] diff --git a/Database/models/CreateAutonomousDatabaseBase.cs b/Database/models/CreateAutonomousDatabaseBase.cs index 6e99b88cb8..ec7d876249 100644 --- a/Database/models/CreateAutonomousDatabaseBase.cs +++ b/Database/models/CreateAutonomousDatabaseBase.cs @@ -60,6 +60,7 @@ public class CreateAutonomousDatabaseBase ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// /// /// @@ -67,7 +68,9 @@ public enum DbWorkloadEnum { [EnumMember(Value = "OLTP")] Oltp, [EnumMember(Value = "DW")] - Dw + Dw, + [EnumMember(Value = "AJD")] + Ajd }; /// @@ -75,6 +78,7 @@ public enum DbWorkloadEnum { ///
/// - OLTP - indicates an Autonomous Transaction Processing database /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database /// ///
[JsonProperty(PropertyName = "dbWorkload")] diff --git a/Database/models/UpdateAutonomousDatabaseDetails.cs b/Database/models/UpdateAutonomousDatabaseDetails.cs index d2a25cc540..14de45c02a 100644 --- a/Database/models/UpdateAutonomousDatabaseDetails.cs +++ b/Database/models/UpdateAutonomousDatabaseDetails.cs @@ -85,6 +85,36 @@ public class UpdateAutonomousDatabaseDetails public System.Collections.Generic.Dictionary> DefinedTags { get; set; } /// /// + /// The Autonomous Database workload type. The following values are valid: + ///
+ /// - OLTP - indicates an Autonomous Transaction Processing database + /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database + /// + ///
+ /// + public enum DbWorkloadEnum { + [EnumMember(Value = "OLTP")] + Oltp, + [EnumMember(Value = "DW")] + Dw, + [EnumMember(Value = "AJD")] + Ajd + }; + + /// + /// The Autonomous Database workload type. The following values are valid: + ///
+ /// - OLTP - indicates an Autonomous Transaction Processing database + /// - DW - indicates an Autonomous Data Warehouse database + /// - AJD - indicates an Autonomous JSON Database + /// + ///
+ [JsonProperty(PropertyName = "dbWorkload")] + [JsonConverter(typeof(StringEnumConverter))] + public System.Nullable DbWorkload { get; set; } + /// + /// /// The Oracle license model that applies to the Oracle Autonomous Database. Note that when provisioning an Autonomous Database on [dedicated Exadata infrastructure](https://docs.cloud.oracle.com/Content/Database/Concepts/adbddoverview.htm), this attribute must be null because the attribute is already set at the /// Autonomous Exadata Infrastructure level. When using [shared Exadata infrastructure](https://docs.cloud.oracle.com/Content/Database/Concepts/adboverview.htm#AEI), if a value is not specified, the system will supply the value of `BRING_YOUR_OWN_LICENSE`. /// diff --git a/Datacatalog/DataCatalogClient.cs b/Datacatalog/DataCatalogClient.cs index 71a693df76..0ebb850a9f 100644 --- a/Datacatalog/DataCatalogClient.cs +++ b/Datacatalog/DataCatalogClient.cs @@ -92,6 +92,7 @@ public async Task AttachCatalogPrivateEndp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task ChangeCatalogCompartment(Cha { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task ChangeCatalog { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task CreateAttribute(CreateAttributeReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task CreateAttributeTag(CreateAttribute { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task CreateCatalog(CreateCatalogRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -316,6 +322,7 @@ public async Task CreateCatalogPrivateEndp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -353,6 +360,7 @@ public async Task CreateConnection(CreateConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -390,6 +398,7 @@ public async Task CreateDataAsset(CreateDataAssetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -427,6 +436,7 @@ public async Task CreateDataAssetTag(CreateDataAsset { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -464,6 +474,7 @@ public async Task CreateEntity(CreateEntityRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -501,6 +512,7 @@ public async Task CreateEntityTag(CreateEntityTagReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -538,6 +550,7 @@ public async Task CreateFolder(CreateFolderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -575,6 +588,7 @@ public async Task CreateFolderTag(CreateFolderTagReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -612,6 +626,7 @@ public async Task CreateGlossary(CreateGlossaryRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -649,6 +664,7 @@ public async Task CreateJob(CreateJobRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -686,6 +702,7 @@ public async Task CreateJobDefinition(CreateJobDefi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -723,6 +740,7 @@ public async Task CreateJobExecution(CreateJobExecut { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -760,6 +778,7 @@ public async Task CreateTerm(CreateTermRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -797,6 +816,7 @@ public async Task CreateTermRelationship(CreateT { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -834,6 +854,7 @@ public async Task DeleteAttribute(DeleteAttributeReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -871,6 +892,7 @@ public async Task DeleteAttributeTag(DeleteAttribute { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -908,6 +930,7 @@ public async Task DeleteCatalog(DeleteCatalogRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -945,6 +968,7 @@ public async Task DeleteCatalogPrivateEndp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -982,6 +1006,7 @@ public async Task DeleteConnection(DeleteConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1019,6 +1044,7 @@ public async Task DeleteDataAsset(DeleteDataAssetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1056,6 +1082,7 @@ public async Task DeleteDataAssetTag(DeleteDataAsset { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1093,6 +1120,7 @@ public async Task DeleteEntity(DeleteEntityRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1130,6 +1158,7 @@ public async Task DeleteEntityTag(DeleteEntityTagReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1167,6 +1196,7 @@ public async Task DeleteFolder(DeleteFolderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1204,6 +1234,7 @@ public async Task DeleteFolderTag(DeleteFolderTagReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1241,6 +1272,7 @@ public async Task DeleteGlossary(DeleteGlossaryRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1278,6 +1310,7 @@ public async Task DeleteJob(DeleteJobRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1315,6 +1348,7 @@ public async Task DeleteJobDefinition(DeleteJobDefi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1352,6 +1386,7 @@ public async Task DeleteTerm(DeleteTermRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1389,6 +1424,7 @@ public async Task DeleteTermRelationship(DeleteT { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1426,6 +1462,7 @@ public async Task DetachCatalogPrivateEndp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1463,6 +1500,7 @@ public async Task ExpandTreeForGlossary(ExpandTre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1500,6 +1538,7 @@ public async Task ExportGlossary(ExportGlossaryRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1537,6 +1576,7 @@ public async Task GetAttribute(GetAttributeRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1574,6 +1614,7 @@ public async Task GetAttributeTag(GetAttributeTagReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1611,6 +1652,7 @@ public async Task GetCatalog(GetCatalogRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1648,6 +1690,7 @@ public async Task GetCatalogPrivateEndpoint(G { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1685,6 +1728,7 @@ public async Task GetConnection(GetConnectionRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1722,6 +1766,7 @@ public async Task GetDataAsset(GetDataAssetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1759,6 +1804,7 @@ public async Task GetDataAssetTag(GetDataAssetTagReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1796,6 +1842,7 @@ public async Task GetEntity(GetEntityRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1833,6 +1880,7 @@ public async Task GetEntityTag(GetEntityTagRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1870,6 +1918,7 @@ public async Task GetFolder(GetFolderRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1907,6 +1956,7 @@ public async Task GetFolderTag(GetFolderTagRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1944,6 +1994,7 @@ public async Task GetGlossary(GetGlossaryRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1981,6 +2032,7 @@ public async Task GetJob(GetJobRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2018,6 +2070,7 @@ public async Task GetJobDefinition(GetJobDefinitionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2055,6 +2108,7 @@ public async Task GetJobExecution(GetJobExecutionReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2092,6 +2146,7 @@ public async Task GetJobLog(GetJobLogRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2129,6 +2184,7 @@ public async Task GetJobMetrics(GetJobMetricsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2166,6 +2222,7 @@ public async Task GetTerm(GetTermRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2203,6 +2260,7 @@ public async Task GetTermRelationship(GetTermRelati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2240,6 +2298,7 @@ public async Task GetType(GetTypeRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2277,6 +2336,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2314,6 +2374,7 @@ public async Task ImportConnection(ImportConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2351,6 +2412,7 @@ public async Task ImportGlossary(ImportGlossaryRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2388,6 +2450,7 @@ public async Task ListAttributeTags(ListAttributeTags { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2425,6 +2488,7 @@ public async Task ListAttributes(ListAttributesRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2463,6 +2527,7 @@ public async Task ListCatalogPrivateEndpoin { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2501,6 +2566,7 @@ public async Task ListCatalogs(ListCatalogsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2538,6 +2604,7 @@ public async Task ListConnections(ListConnectionsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2575,6 +2642,7 @@ public async Task ListDataAssetTags(ListDataAssetTags { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2612,6 +2680,7 @@ public async Task ListDataAssets(ListDataAssetsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2649,6 +2718,7 @@ public async Task ListEntities(ListEntitiesRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2686,6 +2756,7 @@ public async Task ListEntityTags(ListEntityTagsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2723,6 +2794,7 @@ public async Task ListFolderTags(ListFolderTagsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2760,6 +2832,7 @@ public async Task ListFolders(ListFoldersRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2797,6 +2870,7 @@ public async Task ListGlossaries(ListGlossariesRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2834,6 +2908,7 @@ public async Task ListJobDefinitions(ListJobDefiniti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2871,6 +2946,7 @@ public async Task ListJobExecutions(ListJobExecutions { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2908,6 +2984,7 @@ public async Task ListJobLogs(ListJobLogsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2945,6 +3022,7 @@ public async Task ListJobMetrics(ListJobMetricsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2982,6 +3060,7 @@ public async Task ListJobs(ListJobsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3019,6 +3098,7 @@ public async Task ListTags(ListTagsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3056,6 +3136,7 @@ public async Task ListTermRelationships(ListTermR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3093,6 +3174,7 @@ public async Task ListTerms(ListTermsRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3130,6 +3212,7 @@ public async Task ListTypes(ListTypesRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3168,6 +3251,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3206,6 +3290,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3244,6 +3329,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3281,6 +3367,7 @@ public async Task ObjectStats(ObjectStatsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3318,6 +3405,7 @@ public async Task ParseConnection(ParseConnectionReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3355,6 +3443,7 @@ public async Task SearchCriteria(SearchCriteriaRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3392,6 +3481,7 @@ public async Task TestConnection(TestConnectionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3429,6 +3519,7 @@ public async Task UpdateAttribute(UpdateAttributeReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3466,6 +3557,7 @@ public async Task UpdateCatalog(UpdateCatalogRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3503,6 +3595,7 @@ public async Task UpdateCatalogPrivateEndp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3540,6 +3633,7 @@ public async Task UpdateConnection(UpdateConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3577,6 +3671,7 @@ public async Task UpdateDataAsset(UpdateDataAssetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3614,6 +3709,7 @@ public async Task UpdateEntity(UpdateEntityRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3651,6 +3747,7 @@ public async Task UpdateFolder(UpdateFolderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3688,6 +3785,7 @@ public async Task UpdateGlossary(UpdateGlossaryRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3725,6 +3823,7 @@ public async Task UpdateJob(UpdateJobRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3762,6 +3861,7 @@ public async Task UpdateJobDefinition(UpdateJobDefi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3799,6 +3899,7 @@ public async Task UpdateTerm(UpdateTermRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3836,6 +3937,7 @@ public async Task UpdateTermRelationship(UpdateT { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3873,6 +3975,7 @@ public async Task UploadCredentials(UploadCredentials { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3910,6 +4013,7 @@ public async Task Users(UsersRequest request, RetryConfiguration { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3947,6 +4051,7 @@ public async Task ValidateConnection(ValidateConnect { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Datacatalog/models/Attribute.cs b/Datacatalog/models/Attribute.cs index 4597263464..dadc182bfa 100644 --- a/Datacatalog/models/Attribute.cs +++ b/Datacatalog/models/Attribute.cs @@ -114,6 +114,45 @@ public class Attribute [JsonProperty(PropertyName = "isNullable")] public System.Nullable IsNullable { get; set; } + /// + /// The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "minCollectionCount")] + public System.Nullable MinCollectionCount { get; set; } + + /// + /// The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// For type specifications in systems that specify only \"capacity\" without upper or lower bound , this property can also be used to just mean \"capacity\". + /// Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json + /// + /// + [JsonProperty(PropertyName = "maxCollectionCount")] + public System.Nullable MaxCollectionCount { get; set; } + + /// + /// Entity key that represents the datatype of this attribute , applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "datatypeEntityKey")] + public string DatatypeEntityKey { get; set; } + + /// + /// External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "externalDatatypeEntityKey")] + public string ExternalDatatypeEntityKey { get; set; } + + /// + /// Attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex datatype. + /// + [JsonProperty(PropertyName = "parentAttributeKey")] + public string ParentAttributeKey { get; set; } + + /// + /// External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type. + /// + [JsonProperty(PropertyName = "externalParentAttributeKey")] + public string ExternalParentAttributeKey { get; set; } + /// /// Max allowed length of the attribute value. /// @@ -150,6 +189,12 @@ public class Attribute [JsonProperty(PropertyName = "uri")] public string Uri { get; set; } + /// + /// Full path of the attribute. + /// + [JsonProperty(PropertyName = "path")] + public string Path { get; set; } + /// /// A map of maps that contains the properties which are specific to the attribute type. Each attribute type /// definition defines it's set of required and optional properties. The map keys are category names and the diff --git a/Datacatalog/models/AttributeCollection.cs b/Datacatalog/models/AttributeCollection.cs index 2bb1a83844..e5d7661f17 100644 --- a/Datacatalog/models/AttributeCollection.cs +++ b/Datacatalog/models/AttributeCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class AttributeCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of attributes. /// diff --git a/Datacatalog/models/AttributeSummary.cs b/Datacatalog/models/AttributeSummary.cs index 1e8d98f1ad..1dc8c6b57a 100644 --- a/Datacatalog/models/AttributeSummary.cs +++ b/Datacatalog/models/AttributeSummary.cs @@ -94,5 +94,50 @@ public class AttributeSummary /// [JsonProperty(PropertyName = "externalDataType")] public string ExternalDataType { get; set; } + + /// + /// The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "minCollectionCount")] + public System.Nullable MinCollectionCount { get; set; } + + /// + /// The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// For type specifications in systems that specify only \"capacity\" without upper or lower bound , this property can also be used to just mean \"capacity\". + /// Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json + /// + /// + [JsonProperty(PropertyName = "maxCollectionCount")] + public System.Nullable MaxCollectionCount { get; set; } + + /// + /// Entity key that represents the datatype of this attribute , applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "datatypeEntityKey")] + public string DatatypeEntityKey { get; set; } + + /// + /// External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "externalDatatypeEntityKey")] + public string ExternalDatatypeEntityKey { get; set; } + + /// + /// Attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex datatype. + /// + [JsonProperty(PropertyName = "parentAttributeKey")] + public string ParentAttributeKey { get; set; } + + /// + /// External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type. + /// + [JsonProperty(PropertyName = "externalParentAttributeKey")] + public string ExternalParentAttributeKey { get; set; } + + /// + /// Full path of the attribute. + /// + [JsonProperty(PropertyName = "path")] + public string Path { get; set; } } } diff --git a/Datacatalog/models/AttributeTagCollection.cs b/Datacatalog/models/AttributeTagCollection.cs index 01c33bb8da..04d9c0afd7 100644 --- a/Datacatalog/models/AttributeTagCollection.cs +++ b/Datacatalog/models/AttributeTagCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class AttributeTagCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of attribute tags. /// diff --git a/Datacatalog/models/ConnectionCollection.cs b/Datacatalog/models/ConnectionCollection.cs index 6396de3d94..140c6f4249 100644 --- a/Datacatalog/models/ConnectionCollection.cs +++ b/Datacatalog/models/ConnectionCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class ConnectionCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of connection summaries. /// diff --git a/Datacatalog/models/CreateAttributeDetails.cs b/Datacatalog/models/CreateAttributeDetails.cs index 1dd10d9892..86b0a82a5d 100644 --- a/Datacatalog/models/CreateAttributeDetails.cs +++ b/Datacatalog/models/CreateAttributeDetails.cs @@ -95,6 +95,33 @@ public class CreateAttributeDetails [JsonProperty(PropertyName = "timeExternal")] public System.Nullable TimeExternal { get; set; } + /// + /// The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "minCollectionCount")] + public System.Nullable MinCollectionCount { get; set; } + + /// + /// The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// For type specifications in systems that specify only \"capacity\" without upper or lower bound , this property can also be used to just mean \"capacity\". + /// Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json + /// + /// + [JsonProperty(PropertyName = "maxCollectionCount")] + public System.Nullable MaxCollectionCount { get; set; } + + /// + /// External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "externalDatatypeEntityKey")] + public string ExternalDatatypeEntityKey { get; set; } + + /// + /// External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type. + /// + [JsonProperty(PropertyName = "externalParentAttributeKey")] + public string ExternalParentAttributeKey { get; set; } + /// /// A map of maps that contains the properties which are specific to the attribute type. Each attribute type /// definition defines it's set of required and optional properties. The map keys are category names and the diff --git a/Datacatalog/models/DataAssetCollection.cs b/Datacatalog/models/DataAssetCollection.cs index 82b1ff5417..9949f125a2 100644 --- a/Datacatalog/models/DataAssetCollection.cs +++ b/Datacatalog/models/DataAssetCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class DataAssetCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of data asset summaries. /// diff --git a/Datacatalog/models/DataAssetTagCollection.cs b/Datacatalog/models/DataAssetTagCollection.cs index e101449fba..3129bb6aee 100644 --- a/Datacatalog/models/DataAssetTagCollection.cs +++ b/Datacatalog/models/DataAssetTagCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class DataAssetTagCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of data asset tags. /// diff --git a/Datacatalog/models/Entity.cs b/Datacatalog/models/Entity.cs index b2e71f8c10..24f8404da2 100644 --- a/Datacatalog/models/Entity.cs +++ b/Datacatalog/models/Entity.cs @@ -125,6 +125,12 @@ public class Entity [JsonProperty(PropertyName = "folderKey")] public string FolderKey { get; set; } + /// + /// Name of the associated folder. This name is harvested from the source data asset when the parent folder for the entiy is harvested. + /// + [JsonProperty(PropertyName = "folderName")] + public string FolderName { get; set; } + /// /// Full path of the data entity. /// diff --git a/Datacatalog/models/EntityCollection.cs b/Datacatalog/models/EntityCollection.cs index f5af324693..f2e5ff028c 100644 --- a/Datacatalog/models/EntityCollection.cs +++ b/Datacatalog/models/EntityCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class EntityCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of data entities. /// diff --git a/Datacatalog/models/EntitySummary.cs b/Datacatalog/models/EntitySummary.cs index 00dce00208..e931458b3e 100644 --- a/Datacatalog/models/EntitySummary.cs +++ b/Datacatalog/models/EntitySummary.cs @@ -60,6 +60,12 @@ public class EntitySummary [JsonProperty(PropertyName = "folderKey")] public string FolderKey { get; set; } + /// + /// Name of the associated folder. This name is harvested from the source data asset when the parent folder for the entiy is harvested. + /// + [JsonProperty(PropertyName = "folderName")] + public string FolderName { get; set; } + /// /// Unique external key of this object in the source system. /// diff --git a/Datacatalog/models/EntityTagCollection.cs b/Datacatalog/models/EntityTagCollection.cs index c5306abfb3..bff4bac0c0 100644 --- a/Datacatalog/models/EntityTagCollection.cs +++ b/Datacatalog/models/EntityTagCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class EntityTagCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of entity tags. /// diff --git a/Datacatalog/models/FolderCollection.cs b/Datacatalog/models/FolderCollection.cs index e6e595a940..911b28e523 100644 --- a/Datacatalog/models/FolderCollection.cs +++ b/Datacatalog/models/FolderCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class FolderCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of folders. /// diff --git a/Datacatalog/models/FolderTagCollection.cs b/Datacatalog/models/FolderTagCollection.cs index 7890531f4c..5364ec9b6a 100644 --- a/Datacatalog/models/FolderTagCollection.cs +++ b/Datacatalog/models/FolderTagCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class FolderTagCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of folder tags. /// diff --git a/Datacatalog/models/GlossaryCollection.cs b/Datacatalog/models/GlossaryCollection.cs index 720d38aa75..05bac80ff3 100644 --- a/Datacatalog/models/GlossaryCollection.cs +++ b/Datacatalog/models/GlossaryCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class GlossaryCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of glossaries. /// diff --git a/Datacatalog/models/Job.cs b/Datacatalog/models/Job.cs index bea2a0019f..87a46be69e 100644 --- a/Datacatalog/models/Job.cs +++ b/Datacatalog/models/Job.cs @@ -152,6 +152,26 @@ public class Job [JsonProperty(PropertyName = "updatedById")] public string UpdatedById { get; set; } + /// + /// The display name of the job definition resource that defined the scope of this job. + /// + [JsonProperty(PropertyName = "jobDefinitionName")] + public string JobDefinitionName { get; set; } + + /// + /// Error code returned from the latest job execution for this job. Useful when the latest Job execution is in FAILED state. + /// + /// + [JsonProperty(PropertyName = "errorCode")] + public string ErrorCode { get; set; } + + /// + /// Error message returned from the latest job execution for this job. Useful when the latest Job Execution is in a FAILED state. + /// + /// + [JsonProperty(PropertyName = "errorMessage")] + public string ErrorMessage { get; set; } + /// /// URI to the job instance in the API. /// diff --git a/Datacatalog/models/JobCollection.cs b/Datacatalog/models/JobCollection.cs index d08640ac63..c16c08be4a 100644 --- a/Datacatalog/models/JobCollection.cs +++ b/Datacatalog/models/JobCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class JobCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of jobs. /// diff --git a/Datacatalog/models/JobDefinition.cs b/Datacatalog/models/JobDefinition.cs index d9fa7acd2f..aa4bf86f6b 100644 --- a/Datacatalog/models/JobDefinition.cs +++ b/Datacatalog/models/JobDefinition.cs @@ -137,6 +137,34 @@ public class JobDefinition [JsonProperty(PropertyName = "sampleDataSizeInMBs")] public System.Nullable SampleDataSizeInMBs { get; set; } + /// + /// Time that the latest job execution started. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + [JsonProperty(PropertyName = "timeLatestExecutionStarted")] + public System.Nullable TimeLatestExecutionStarted { get; set; } + + /// + /// Time that the latest job execution ended or null if it hasn't yet completed. + /// An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + /// + [JsonProperty(PropertyName = "timeLatestExecutionEnded")] + public System.Nullable TimeLatestExecutionEnded { get; set; } + + /// + /// Status of the latest job execution, such as running, paused, or completed. + /// + [JsonProperty(PropertyName = "jobExecutionState")] + [JsonConverter(typeof(StringEnumConverter))] + public System.Nullable JobExecutionState { get; set; } + + /// + /// Type of job schedule for the latest job executed. + /// + [JsonProperty(PropertyName = "scheduleType")] + [JsonConverter(typeof(StringEnumConverter))] + public System.Nullable ScheduleType { get; set; } + /// /// A map of maps that contains the properties which are specific to the job type. Each job type /// definition may define it's set of required and optional properties. The map keys are category names and the diff --git a/Datacatalog/models/JobDefinitionCollection.cs b/Datacatalog/models/JobDefinitionCollection.cs index 13b835c9c8..de1d343f0f 100644 --- a/Datacatalog/models/JobDefinitionCollection.cs +++ b/Datacatalog/models/JobDefinitionCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class JobDefinitionCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of job definitions. /// diff --git a/Datacatalog/models/JobDefinitionSummary.cs b/Datacatalog/models/JobDefinitionSummary.cs index 6a9be2e120..40a73e0fe6 100644 --- a/Datacatalog/models/JobDefinitionSummary.cs +++ b/Datacatalog/models/JobDefinitionSummary.cs @@ -86,5 +86,40 @@ public class JobDefinitionSummary /// [JsonProperty(PropertyName = "timeCreated")] public System.Nullable TimeCreated { get; set; } + + /// + /// The key of the connection resource used in harvest, sampling, profiling jobs. + /// + /// + [JsonProperty(PropertyName = "connectionKey")] + public string ConnectionKey { get; set; } + + /// + /// Time that the latest job execution started. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + [JsonProperty(PropertyName = "timeLatestExecutionStarted")] + public System.Nullable TimeLatestExecutionStarted { get; set; } + + /// + /// Time that the latest job execution ended or null if it hasn't yet completed. + /// An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + /// + [JsonProperty(PropertyName = "timeLatestExecutionEnded")] + public System.Nullable TimeLatestExecutionEnded { get; set; } + + /// + /// Status of the latest job execution, such as running, paused, or completed. + /// + [JsonProperty(PropertyName = "jobExecutionState")] + [JsonConverter(typeof(StringEnumConverter))] + public System.Nullable JobExecutionState { get; set; } + + /// + /// Type of job schedule for the latest job executed. + /// + [JsonProperty(PropertyName = "scheduleType")] + [JsonConverter(typeof(StringEnumConverter))] + public System.Nullable ScheduleType { get; set; } } } diff --git a/Datacatalog/models/JobExecutionCollection.cs b/Datacatalog/models/JobExecutionCollection.cs index f5059b651a..f6a8d2d0f8 100644 --- a/Datacatalog/models/JobExecutionCollection.cs +++ b/Datacatalog/models/JobExecutionCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class JobExecutionCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of job executions. /// diff --git a/Datacatalog/models/JobLogCollection.cs b/Datacatalog/models/JobLogCollection.cs index 0bd4d00107..122e5ed518 100644 --- a/Datacatalog/models/JobLogCollection.cs +++ b/Datacatalog/models/JobLogCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class JobLogCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of Job logs. /// diff --git a/Datacatalog/models/JobMetricCollection.cs b/Datacatalog/models/JobMetricCollection.cs index 4cb23954e1..16dc825b98 100644 --- a/Datacatalog/models/JobMetricCollection.cs +++ b/Datacatalog/models/JobMetricCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class JobMetricCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of job metrics. /// diff --git a/Datacatalog/models/JobSummary.cs b/Datacatalog/models/JobSummary.cs index ae3cc8d02f..7caab289c8 100644 --- a/Datacatalog/models/JobSummary.cs +++ b/Datacatalog/models/JobSummary.cs @@ -138,6 +138,26 @@ public class JobSummary [JsonProperty(PropertyName = "timeOfLatestExecution")] public System.Nullable TimeOfLatestExecution { get; set; } + /// + /// The display name of the job definition resource that defined the scope of this job. + /// + [JsonProperty(PropertyName = "jobDefinitionName")] + public string JobDefinitionName { get; set; } + + /// + /// Error code returned from the latest job execution for this job. Useful when the latest Job execution is in FAILED state. + /// + /// + [JsonProperty(PropertyName = "errorCode")] + public string ErrorCode { get; set; } + + /// + /// Error message returned from the latest job execution for this job. Useful when the latest Job Execution is in a FAILED state. + /// + /// + [JsonProperty(PropertyName = "errorMessage")] + public string ErrorMessage { get; set; } + /// /// Array of the executions summary associated with this job. /// diff --git a/Datacatalog/models/JobType.cs b/Datacatalog/models/JobType.cs index 92eaca7147..4382661395 100644 --- a/Datacatalog/models/JobType.cs +++ b/Datacatalog/models/JobType.cs @@ -20,6 +20,8 @@ namespace Oci.DatacatalogService.Models /// PREVIEW - Preview jobs are metadata crawlers but allow users to filter and view metadata entities in data assets. /// IMPORT - Import jobs import metadata in data catalog repository from a data catalog exported file. /// EXPORT - Export jobs export data catalog metadata for imports into other data catalog repositories. + /// IMPORT_GLOSSARY - Job type to import glossary metadata from a file. + /// EXPORT_GLOSSARY - Job type to export glossary metadata to a file. /// /// public enum JobType { @@ -35,6 +37,10 @@ public enum JobType { Import, [EnumMember(Value = "EXPORT")] Export, + [EnumMember(Value = "IMPORT_GLOSSARY")] + ImportGlossary, + [EnumMember(Value = "EXPORT_GLOSSARY")] + ExportGlossary, [EnumMember(Value = "INTERNAL")] Internal, [EnumMember(Value = "PURGE")] diff --git a/Datacatalog/models/TermCollection.cs b/Datacatalog/models/TermCollection.cs index c0513eab6e..a008798fc7 100644 --- a/Datacatalog/models/TermCollection.cs +++ b/Datacatalog/models/TermCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class TermCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of terms. /// diff --git a/Datacatalog/models/TermRelationship.cs b/Datacatalog/models/TermRelationship.cs index 5ed453e25a..c0510c07fe 100644 --- a/Datacatalog/models/TermRelationship.cs +++ b/Datacatalog/models/TermRelationship.cs @@ -64,6 +64,12 @@ public class TermRelationship [JsonProperty(PropertyName = "relatedTermDescription")] public string RelatedTermDescription { get; set; } + /// + /// Full path of the related term. + /// + [JsonProperty(PropertyName = "relatedTermPath")] + public string RelatedTermPath { get; set; } + /// /// URI to the term relationship instance in the API. /// @@ -88,6 +94,12 @@ public class TermRelationship [JsonProperty(PropertyName = "parentTermDescription")] public string ParentTermDescription { get; set; } + /// + /// Full path of the parent term. + /// + [JsonProperty(PropertyName = "parentTermPath")] + public string ParentTermPath { get; set; } + /// /// The date and time the term relationship was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). /// Example: 2019-03-25T21:10:29.600Z diff --git a/Datacatalog/models/TermRelationshipCollection.cs b/Datacatalog/models/TermRelationshipCollection.cs index 8c320e17b4..4aa58690c4 100644 --- a/Datacatalog/models/TermRelationshipCollection.cs +++ b/Datacatalog/models/TermRelationshipCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class TermRelationshipCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of term relationships. /// diff --git a/Datacatalog/models/TermRelationshipSummary.cs b/Datacatalog/models/TermRelationshipSummary.cs index 7323727b70..08ef171e1a 100644 --- a/Datacatalog/models/TermRelationshipSummary.cs +++ b/Datacatalog/models/TermRelationshipSummary.cs @@ -64,6 +64,12 @@ public class TermRelationshipSummary [JsonProperty(PropertyName = "relatedTermDescription")] public string RelatedTermDescription { get; set; } + /// + /// Full path of the related term. + /// + [JsonProperty(PropertyName = "relatedTermPath")] + public string RelatedTermPath { get; set; } + /// /// URI to the term relationship instance in the API. /// @@ -88,6 +94,12 @@ public class TermRelationshipSummary [JsonProperty(PropertyName = "parentTermDescription")] public string ParentTermDescription { get; set; } + /// + /// Full path of the parent term. + /// + [JsonProperty(PropertyName = "parentTermPath")] + public string ParentTermPath { get; set; } + /// /// The date and time the term relationship was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). /// Example: 2019-03-25T21:10:29.600Z diff --git a/Datacatalog/models/TypeCollection.cs b/Datacatalog/models/TypeCollection.cs index 50d89f5dd8..a8fbbbb0c1 100644 --- a/Datacatalog/models/TypeCollection.cs +++ b/Datacatalog/models/TypeCollection.cs @@ -22,6 +22,12 @@ namespace Oci.DatacatalogService.Models public class TypeCollection { + /// + /// Total number of items returned. + /// + [JsonProperty(PropertyName = "count")] + public System.Nullable Count { get; set; } + /// /// Collection of types. /// diff --git a/Datacatalog/models/UpdateAttributeDetails.cs b/Datacatalog/models/UpdateAttributeDetails.cs index b25a5fe8fc..31224428aa 100644 --- a/Datacatalog/models/UpdateAttributeDetails.cs +++ b/Datacatalog/models/UpdateAttributeDetails.cs @@ -83,6 +83,33 @@ public class UpdateAttributeDetails [JsonProperty(PropertyName = "timeExternal")] public System.Nullable TimeExternal { get; set; } + /// + /// The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "minCollectionCount")] + public System.Nullable MinCollectionCount { get; set; } + + /// + /// The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. + /// For type specifications in systems that specify only \"capacity\" without upper or lower bound , this property can also be used to just mean \"capacity\". + /// Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json + /// + /// + [JsonProperty(PropertyName = "maxCollectionCount")] + public System.Nullable MaxCollectionCount { get; set; } + + /// + /// External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type. + /// + [JsonProperty(PropertyName = "externalDatatypeEntityKey")] + public string ExternalDatatypeEntityKey { get; set; } + + /// + /// External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type. + /// + [JsonProperty(PropertyName = "externalParentAttributeKey")] + public string ExternalParentAttributeKey { get; set; } + /// /// A map of maps that contains the properties which are specific to the attribute type. Each attribute type /// definition defines it's set of required and optional properties. The map keys are category names and the diff --git a/Datacatalog/requests/GetAttributeRequest.cs b/Datacatalog/requests/GetAttributeRequest.cs index 837dde4f44..6c42961c64 100644 --- a/Datacatalog/requests/GetAttributeRequest.cs +++ b/Datacatalog/requests/GetAttributeRequest.cs @@ -102,7 +102,21 @@ public enum FieldsEnum { [EnumMember(Value = "uri")] Uri, [EnumMember(Value = "properties")] - Properties + Properties, + [EnumMember(Value = "path")] + Path, + [EnumMember(Value = "minCollectionCount")] + MinCollectionCount, + [EnumMember(Value = "maxCollectionCount")] + MaxCollectionCount, + [EnumMember(Value = "datatypeEntityKey")] + DatatypeEntityKey, + [EnumMember(Value = "externalDatatypeEntityKey")] + ExternalDatatypeEntityKey, + [EnumMember(Value = "parentAttributeKey")] + ParentAttributeKey, + [EnumMember(Value = "externalParentAttributeKey")] + ExternalParentAttributeKey }; /// diff --git a/Datacatalog/requests/GetEntityRequest.cs b/Datacatalog/requests/GetEntityRequest.cs index 6aa7124d39..92a0c0e154 100644 --- a/Datacatalog/requests/GetEntityRequest.cs +++ b/Datacatalog/requests/GetEntityRequest.cs @@ -83,6 +83,8 @@ public enum FieldsEnum { IsPartition, [EnumMember(Value = "folderKey")] FolderKey, + [EnumMember(Value = "folderName")] + FolderName, [EnumMember(Value = "typeKey")] TypeKey, [EnumMember(Value = "path")] diff --git a/Datacatalog/requests/GetJobDefinitionRequest.cs b/Datacatalog/requests/GetJobDefinitionRequest.cs index 6705ce6825..beca203165 100644 --- a/Datacatalog/requests/GetJobDefinitionRequest.cs +++ b/Datacatalog/requests/GetJobDefinitionRequest.cs @@ -77,6 +77,14 @@ public enum FieldsEnum { IsSampleDataExtracted, [EnumMember(Value = "sampleDataSizeInMBs")] SampleDataSizeInMBs, + [EnumMember(Value = "timeLatestExecutionStarted")] + TimeLatestExecutionStarted, + [EnumMember(Value = "timeLatestExecutionEnded")] + TimeLatestExecutionEnded, + [EnumMember(Value = "jobExecutionState")] + JobExecutionState, + [EnumMember(Value = "scheduleType")] + ScheduleType, [EnumMember(Value = "properties")] Properties }; diff --git a/Datacatalog/requests/GetJobRequest.cs b/Datacatalog/requests/GetJobRequest.cs index 4e9aa012cb..66d6f9af86 100644 --- a/Datacatalog/requests/GetJobRequest.cs +++ b/Datacatalog/requests/GetJobRequest.cs @@ -84,7 +84,13 @@ public enum FieldsEnum { [EnumMember(Value = "updatedById")] UpdatedById, [EnumMember(Value = "uri")] - Uri + Uri, + [EnumMember(Value = "jobDefinitionName")] + JobDefinitionName, + [EnumMember(Value = "errorCode")] + ErrorCode, + [EnumMember(Value = "errorMessage")] + ErrorMessage }; /// diff --git a/Datacatalog/requests/ListAttributesRequest.cs b/Datacatalog/requests/ListAttributesRequest.cs index 8c7646e90d..a994ec31a9 100644 --- a/Datacatalog/requests/ListAttributesRequest.cs +++ b/Datacatalog/requests/ListAttributesRequest.cs @@ -52,6 +52,15 @@ public class ListAttributesRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// @@ -164,7 +173,21 @@ public enum FieldsEnum { [EnumMember(Value = "isNullable")] IsNullable, [EnumMember(Value = "uri")] - Uri + Uri, + [EnumMember(Value = "path")] + Path, + [EnumMember(Value = "minCollectionCount")] + MinCollectionCount, + [EnumMember(Value = "maxCollectionCount")] + MaxCollectionCount, + [EnumMember(Value = "datatypeEntityKey")] + DatatypeEntityKey, + [EnumMember(Value = "externalDatatypeEntityKey")] + ExternalDatatypeEntityKey, + [EnumMember(Value = "parentAttributeKey")] + ParentAttributeKey, + [EnumMember(Value = "externalParentAttributeKey")] + ExternalParentAttributeKey }; /// diff --git a/Datacatalog/requests/ListConnectionsRequest.cs b/Datacatalog/requests/ListConnectionsRequest.cs index ccb0923b27..b7a08ea640 100644 --- a/Datacatalog/requests/ListConnectionsRequest.cs +++ b/Datacatalog/requests/ListConnectionsRequest.cs @@ -42,6 +42,15 @@ public class ListConnectionsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Datacatalog/requests/ListDataAssetsRequest.cs b/Datacatalog/requests/ListDataAssetsRequest.cs index 8cd2ecd031..e4c52539be 100644 --- a/Datacatalog/requests/ListDataAssetsRequest.cs +++ b/Datacatalog/requests/ListDataAssetsRequest.cs @@ -32,6 +32,15 @@ public class ListDataAssetsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Datacatalog/requests/ListEntitiesRequest.cs b/Datacatalog/requests/ListEntitiesRequest.cs index 18b27d553d..c9f0ad175b 100644 --- a/Datacatalog/requests/ListEntitiesRequest.cs +++ b/Datacatalog/requests/ListEntitiesRequest.cs @@ -42,6 +42,15 @@ public class ListEntitiesRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// @@ -152,6 +161,8 @@ public enum FieldsEnum { LifecycleState, [EnumMember(Value = "folderKey")] FolderKey, + [EnumMember(Value = "folderName")] + FolderName, [EnumMember(Value = "externalKey")] ExternalKey, [EnumMember(Value = "path")] diff --git a/Datacatalog/requests/ListFoldersRequest.cs b/Datacatalog/requests/ListFoldersRequest.cs index 50ffa2daca..c29f63517d 100644 --- a/Datacatalog/requests/ListFoldersRequest.cs +++ b/Datacatalog/requests/ListFoldersRequest.cs @@ -42,6 +42,15 @@ public class ListFoldersRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Datacatalog/requests/ListGlossariesRequest.cs b/Datacatalog/requests/ListGlossariesRequest.cs index 40f3211715..28d3939928 100644 --- a/Datacatalog/requests/ListGlossariesRequest.cs +++ b/Datacatalog/requests/ListGlossariesRequest.cs @@ -32,6 +32,15 @@ public class ListGlossariesRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Datacatalog/requests/ListJobDefinitionsRequest.cs b/Datacatalog/requests/ListJobDefinitionsRequest.cs index 426dfbb0ad..a8362f476d 100644 --- a/Datacatalog/requests/ListJobDefinitionsRequest.cs +++ b/Datacatalog/requests/ListJobDefinitionsRequest.cs @@ -32,6 +32,21 @@ public class ListJobDefinitionsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + + /// + /// Job execution state. + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "jobExecutionState")] + public System.Nullable JobExecutionState { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// @@ -109,6 +124,8 @@ public enum FieldsEnum { CatalogId, [EnumMember(Value = "jobType")] JobType, + [EnumMember(Value = "connectionKey")] + ConnectionKey, [EnumMember(Value = "lifecycleState")] LifecycleState, [EnumMember(Value = "timeCreated")] @@ -116,7 +133,15 @@ public enum FieldsEnum { [EnumMember(Value = "isSampleDataExtracted")] IsSampleDataExtracted, [EnumMember(Value = "uri")] - Uri + Uri, + [EnumMember(Value = "timeLatestExecutionStarted")] + TimeLatestExecutionStarted, + [EnumMember(Value = "timeLatestExecutionEnded")] + TimeLatestExecutionEnded, + [EnumMember(Value = "jobExecutionState")] + JobExecutionState, + [EnumMember(Value = "scheduleType")] + ScheduleType }; /// @@ -128,7 +153,7 @@ public enum FieldsEnum { /// /// - /// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. + /// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. Default order for TIMELATESTEXECUTIONSTARTED is descending. If no value is specified TIMECREATED is default. /// /// /// @@ -136,11 +161,13 @@ public enum SortByEnum { [EnumMember(Value = "TIMECREATED")] Timecreated, [EnumMember(Value = "DISPLAYNAME")] - Displayname + Displayname, + [EnumMember(Value = "TIMELATESTEXECUTIONSTARTED")] + Timelatestexecutionstarted }; /// - /// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default. + /// The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. Default order for TIMELATESTEXECUTIONSTARTED is descending. If no value is specified TIMECREATED is default. /// /// [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "sortBy")] diff --git a/Datacatalog/requests/ListJobMetricsRequest.cs b/Datacatalog/requests/ListJobMetricsRequest.cs index fd2d6ba1a8..c7c6f305bd 100644 --- a/Datacatalog/requests/ListJobMetricsRequest.cs +++ b/Datacatalog/requests/ListJobMetricsRequest.cs @@ -52,6 +52,15 @@ public class ListJobMetricsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// Category of this metric. /// diff --git a/Datacatalog/requests/ListJobsRequest.cs b/Datacatalog/requests/ListJobsRequest.cs index 242bcceeb2..cade6151c7 100644 --- a/Datacatalog/requests/ListJobsRequest.cs +++ b/Datacatalog/requests/ListJobsRequest.cs @@ -32,6 +32,15 @@ public class ListJobsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// Job lifecycle state. /// @@ -149,7 +158,13 @@ public enum FieldsEnum { [EnumMember(Value = "executions")] Executions, [EnumMember(Value = "uri")] - Uri + Uri, + [EnumMember(Value = "jobDefinitionName")] + JobDefinitionName, + [EnumMember(Value = "errorCode")] + ErrorCode, + [EnumMember(Value = "errorMessage")] + ErrorMessage }; /// diff --git a/Datacatalog/requests/ListTagsRequest.cs b/Datacatalog/requests/ListTagsRequest.cs index 21e0bea8ae..8a51a6165f 100644 --- a/Datacatalog/requests/ListTagsRequest.cs +++ b/Datacatalog/requests/ListTagsRequest.cs @@ -32,6 +32,15 @@ public class ListTagsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Datacatalog/requests/ListTermRelationshipsRequest.cs b/Datacatalog/requests/ListTermRelationshipsRequest.cs index b47cd1c257..26e8da4f3c 100644 --- a/Datacatalog/requests/ListTermRelationshipsRequest.cs +++ b/Datacatalog/requests/ListTermRelationshipsRequest.cs @@ -52,6 +52,15 @@ public class ListTermRelationshipsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Datacatalog/requests/ListTermsRequest.cs b/Datacatalog/requests/ListTermsRequest.cs index ba9ae57b53..3db85a095b 100644 --- a/Datacatalog/requests/ListTermsRequest.cs +++ b/Datacatalog/requests/ListTermsRequest.cs @@ -42,6 +42,15 @@ public class ListTermsRequest : Oci.Common.IOciRequest [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayName")] public string DisplayName { get; set; } + /// + /// A filter to return only resources that match display name pattern given. The match is not case sensitive. + /// For Example : /folders?displayNameContains=Cu.* + /// The above would match all folders with display name that starts with \"Cu\". + /// + /// + [Oci.Common.Http.HttpConverter(Oci.Common.Http.TargetEnum.Query, "displayNameContains")] + public string DisplayNameContains { get; set; } + /// /// A filter to return only resources that match the specified lifecycle state. The value is case insensitive. /// diff --git a/Dataflow/DataFlowClient.cs b/Dataflow/DataFlowClient.cs index 0f305f29ea..7c02446b26 100644 --- a/Dataflow/DataFlowClient.cs +++ b/Dataflow/DataFlowClient.cs @@ -94,6 +94,7 @@ public async Task ChangeApplicationCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task ChangePrivateEndpoin { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -173,6 +175,7 @@ public async Task ChangeRunCompartment(ChangeRunCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -211,6 +214,7 @@ public async Task CreateApplication(CreateApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -249,6 +253,7 @@ public async Task CreatePrivateEndpoint(CreatePri { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -287,6 +292,7 @@ public async Task CreateRun(CreateRunRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -325,6 +331,7 @@ public async Task DeleteApplication(DeleteApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -363,6 +370,7 @@ public async Task DeletePrivateEndpoint(DeletePri { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -402,6 +410,7 @@ public async Task DeleteRun(DeleteRunRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -440,6 +449,7 @@ public async Task GetApplication(GetApplicationRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -478,6 +488,7 @@ public async Task GetPrivateEndpoint(GetPrivateEndpo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -516,6 +527,7 @@ public async Task GetRun(GetRunRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -554,6 +566,7 @@ public async Task GetRunLog(GetRunLogRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -592,6 +605,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -630,6 +644,7 @@ public async Task ListApplications(ListApplicationsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -668,6 +683,7 @@ public async Task ListPrivateEndpoints(ListPrivate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -706,6 +722,7 @@ public async Task ListRunLogs(ListRunLogsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -744,6 +761,7 @@ public async Task ListRuns(ListRunsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -782,6 +800,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -820,6 +839,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -858,6 +878,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -896,6 +917,7 @@ public async Task UpdateApplication(UpdateApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -936,6 +958,7 @@ public async Task UpdatePrivateEndpoint(UpdatePri { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -974,6 +997,7 @@ public async Task UpdateRun(UpdateRunRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dataintegration/DataIntegrationClient.cs b/Dataintegration/DataIntegrationClient.cs index 57de8e867b..da533ee538 100644 --- a/Dataintegration/DataIntegrationClient.cs +++ b/Dataintegration/DataIntegrationClient.cs @@ -93,6 +93,7 @@ public async Task ChangeCompartment(ChangeCompartment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CreateApplication(CreateApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task CreateConnection(CreateConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task CreateConnectionValidation { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task CreateDataAsset(CreateDataAssetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -280,6 +285,7 @@ public async Task CreateDataFlow(CreateDataFlowRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -318,6 +324,7 @@ public async Task CreateDataFlowValidation(Cre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -355,6 +362,7 @@ public async Task CreateEntityShape(CreateEntityShape { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -394,6 +402,7 @@ public async Task CreateFolder(CreateFolderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -431,6 +440,7 @@ public async Task CreatePatch(CreatePatchRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -469,6 +479,7 @@ public async Task CreateProject(CreateProjectRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -507,6 +518,7 @@ public async Task CreateTask(CreateTaskRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -544,6 +556,7 @@ public async Task CreateTaskRun(CreateTaskRunRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -581,6 +594,7 @@ public async Task CreateTaskValidation(CreateTaskV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -619,6 +633,7 @@ public async Task CreateWorkspace(CreateWorkspaceReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -656,6 +671,7 @@ public async Task DeleteApplication(DeleteApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -693,6 +709,7 @@ public async Task DeleteConnection(DeleteConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -730,6 +747,7 @@ public async Task DeleteConnectionValidation { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -767,6 +785,7 @@ public async Task DeleteDataAsset(DeleteDataAssetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -804,6 +823,7 @@ public async Task DeleteDataFlow(DeleteDataFlowRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -841,6 +861,7 @@ public async Task DeleteDataFlowValidation(Del { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -878,6 +899,7 @@ public async Task DeleteFolder(DeleteFolderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -915,6 +937,7 @@ public async Task DeletePatch(DeletePatchRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -952,6 +975,7 @@ public async Task DeleteProject(DeleteProjectRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -989,6 +1013,7 @@ public async Task DeleteTask(DeleteTaskRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1026,6 +1051,7 @@ public async Task DeleteTaskRun(DeleteTaskRunRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1064,6 +1090,7 @@ public async Task DeleteTaskValidation(DeleteTaskV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1101,6 +1128,7 @@ public async Task DeleteWorkspace(DeleteWorkspaceReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1138,6 +1166,7 @@ public async Task GetApplication(GetApplicationRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1175,6 +1204,7 @@ public async Task GetConnection(GetConnectionRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1212,6 +1242,7 @@ public async Task GetConnectionValidation(GetCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1251,6 +1282,7 @@ public async Task GetCountStatistic(GetCountStatistic { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1288,6 +1320,7 @@ public async Task GetDataAsset(GetDataAssetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1325,6 +1358,7 @@ public async Task GetDataEntity(GetDataEntityRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1362,6 +1396,7 @@ public async Task GetDataFlow(GetDataFlowRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1399,6 +1434,7 @@ public async Task GetDataFlowValidation(GetDataFl { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1436,6 +1472,7 @@ public async Task GetDependentObject(GetDependentObj { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1473,6 +1510,7 @@ public async Task GetFolder(GetFolderRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1510,6 +1548,7 @@ public async Task GetPatch(GetPatchRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1547,6 +1586,7 @@ public async Task GetProject(GetProjectRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1584,6 +1624,7 @@ public async Task GetPublishedObject(GetPublishedObj { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1621,6 +1662,7 @@ public async Task GetSchema(GetSchemaRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1658,6 +1700,7 @@ public async Task GetTask(GetTaskRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1695,6 +1738,7 @@ public async Task GetTaskRun(GetTaskRunRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1733,6 +1777,7 @@ public async Task GetTaskValidation(GetTaskValidation { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1770,6 +1815,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1807,6 +1853,7 @@ public async Task GetWorkspace(GetWorkspaceRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1844,6 +1891,7 @@ public async Task ListApplications(ListApplicationsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1881,6 +1929,7 @@ public async Task ListConnectionValidations(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1918,6 +1967,7 @@ public async Task ListConnections(ListConnectionsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1956,6 +2006,7 @@ public async Task ListDataAssets(ListDataAssetsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1995,6 +2046,7 @@ public async Task ListDataEntities(ListDataEntitiesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2032,6 +2084,7 @@ public async Task ListDataFlowValidations(ListD { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2070,6 +2123,7 @@ public async Task ListDataFlows(ListDataFlowsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2107,6 +2161,7 @@ public async Task ListDependentObjects(ListDepende { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2145,6 +2200,7 @@ public async Task ListFolders(ListFoldersRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2182,6 +2238,7 @@ public async Task ListPatches(ListPatchesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2220,6 +2277,7 @@ public async Task ListProjects(ListProjectsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2257,6 +2315,7 @@ public async Task ListPublishedObjects(ListPublish { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2294,6 +2353,7 @@ public async Task ListSchemas(ListSchemasRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2331,6 +2391,7 @@ public async Task ListTaskRunLogs(ListTaskRunLogsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2368,6 +2429,7 @@ public async Task ListTaskRuns(ListTaskRunsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2406,6 +2468,7 @@ public async Task ListTaskValidations(ListTaskValid { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2444,6 +2507,7 @@ public async Task ListTasks(ListTasksRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2482,6 +2546,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2520,6 +2585,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2558,6 +2624,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2596,6 +2663,7 @@ public async Task ListWorkspaces(ListWorkspacesRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2634,6 +2702,7 @@ public async Task StartWorkspace(StartWorkspaceRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2672,6 +2741,7 @@ public async Task StopWorkspace(StopWorkspaceRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2709,6 +2779,7 @@ public async Task UpdateApplication(UpdateApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2746,6 +2817,7 @@ public async Task UpdateConnection(UpdateConnectionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2783,6 +2855,7 @@ public async Task UpdateDataAsset(UpdateDataAssetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2820,6 +2893,7 @@ public async Task UpdateDataFlow(UpdateDataFlowRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2857,6 +2931,7 @@ public async Task UpdateFolder(UpdateFolderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2894,6 +2969,7 @@ public async Task UpdateProject(UpdateProjectRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2931,6 +3007,7 @@ public async Task UpdateTask(UpdateTaskRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2968,6 +3045,7 @@ public async Task UpdateTaskRun(UpdateTaskRunRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3005,6 +3083,7 @@ public async Task UpdateWorkspace(UpdateWorkspaceReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Datasafe/DataSafeClient.cs b/Datasafe/DataSafeClient.cs index 3891341f99..fa0b3d7eed 100644 --- a/Datasafe/DataSafeClient.cs +++ b/Datasafe/DataSafeClient.cs @@ -92,6 +92,7 @@ public async Task ChangeDataSa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task CreateDataSafePrivateEn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task DeleteDataSafePrivateEn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task EnableDataSafeConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task GetDataSafeConfiguration(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task GetDataSafePrivateEndpoint { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -316,6 +322,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -354,6 +361,7 @@ public async Task ListDataSafePrivateEndpo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -392,6 +400,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -430,6 +439,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -468,6 +478,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -505,6 +516,7 @@ public async Task UpdateDataSafePrivateEn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Datascience/DataScienceClient.cs b/Datascience/DataScienceClient.cs index 584738cef4..021cae4272 100644 --- a/Datascience/DataScienceClient.cs +++ b/Datascience/DataScienceClient.cs @@ -92,6 +92,7 @@ public async Task ActivateModel(ActivateModelRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task ActivateNotebookSession(Activ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task CancelWorkRequest(CancelWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task ChangeModelCompartment(ChangeM { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task ChangeNotebookSessio { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -277,6 +282,7 @@ public async Task ChangeProjectCompartment(Cha { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -314,6 +320,7 @@ public async Task CreateModel(CreateModelRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -352,6 +359,7 @@ public async Task CreateModelArtifact(CreateModelAr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -389,6 +397,7 @@ public async Task CreateModelProvenance(CreateMod { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -426,6 +435,7 @@ public async Task CreateNotebookSession(CreateNot { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -463,6 +473,7 @@ public async Task CreateProject(CreateProjectRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -500,6 +511,7 @@ public async Task DeactivateModel(DeactivateModelReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -537,6 +549,7 @@ public async Task DeactivateNotebookSession(D { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -574,6 +587,7 @@ public async Task DeleteModel(DeleteModelRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -611,6 +625,7 @@ public async Task DeleteNotebookSession(DeleteNot { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -648,6 +663,7 @@ public async Task DeleteProject(DeleteProjectRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -685,6 +701,7 @@ public async Task GetModel(GetModelRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -722,6 +739,7 @@ public async Task GetModelArtifactContent(GetMo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -759,6 +777,7 @@ public async Task GetModelProvenance(GetModelProvena { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -796,6 +815,7 @@ public async Task GetNotebookSession(GetNotebookSess { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -833,6 +853,7 @@ public async Task GetProject(GetProjectRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -870,6 +891,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -907,6 +929,7 @@ public async Task HeadModelArtifact(HeadModelArtifact { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -944,6 +967,7 @@ public async Task ListModels(ListModelsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -981,6 +1005,7 @@ public async Task ListNotebookSessionShapes(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1018,6 +1043,7 @@ public async Task ListNotebookSessions(ListNoteboo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1055,6 +1081,7 @@ public async Task ListProjects(ListProjectsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1092,6 +1119,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1129,6 +1157,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1166,6 +1195,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1203,6 +1233,7 @@ public async Task UpdateModel(UpdateModelRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1240,6 +1271,7 @@ public async Task UpdateModelProvenance(UpdateMod { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1280,6 +1312,7 @@ public async Task UpdateNotebookSession(UpdateNot { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1317,6 +1350,7 @@ public async Task UpdateProject(UpdateProjectRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dns/DnsClient.cs b/Dns/DnsClient.cs index cae6089ae6..d3dda9d3b9 100644 --- a/Dns/DnsClient.cs +++ b/Dns/DnsClient.cs @@ -92,6 +92,7 @@ public async Task ChangeSteeringPolicyC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task ChangeTsigKeyCompartment(Cha { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task ChangeZoneCompartment(ChangeZon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task CreateSteeringPolicy(CreateSteer { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -249,6 +253,7 @@ public async Task CreateSteeringPolicyAt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -288,6 +293,7 @@ public async Task CreateTsigKey(CreateTsigKeyRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -328,6 +334,7 @@ public async Task CreateZone(CreateZoneRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -365,6 +372,7 @@ public async Task DeleteDomainRecords(DeleteDomainR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -403,6 +411,7 @@ public async Task DeleteRRSet(DeleteRRSetRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -444,6 +453,7 @@ public async Task DeleteSteeringPolicy(DeleteSteer { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -483,6 +493,7 @@ public async Task DeleteSteeringPolicyAt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -521,6 +532,7 @@ public async Task DeleteTsigKey(DeleteTsigKeyRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -560,6 +572,7 @@ public async Task DeleteZone(DeleteZoneRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -600,6 +613,7 @@ public async Task GetDomainRecords(GetDomainRecordsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -639,6 +653,7 @@ public async Task GetRRSet(GetRRSetRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -677,6 +692,7 @@ public async Task GetSteeringPolicy(GetSteeringPolicy { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -715,6 +731,7 @@ public async Task GetSteeringPolicyAttachme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -753,6 +770,7 @@ public async Task GetTsigKey(GetTsigKeyRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -792,6 +810,7 @@ public async Task GetZone(GetZoneRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -832,6 +851,7 @@ public async Task GetZoneRecords(GetZoneRecordsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -870,6 +890,7 @@ public async Task ListSteeringPolicies(ListSteerin { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -908,6 +929,7 @@ public async Task ListSteeringPolicyAttac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -946,6 +968,7 @@ public async Task ListTsigKeys(ListTsigKeysRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -985,6 +1008,7 @@ public async Task ListZones(ListZonesRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1026,6 +1050,7 @@ public async Task PatchDomainRecords(PatchDomainReco { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1063,6 +1088,7 @@ public async Task PatchRRSet(PatchRRSetRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1104,6 +1130,7 @@ public async Task PatchZoneRecords(PatchZoneRecordsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1147,6 +1174,7 @@ public async Task UpdateDomainRecords(UpdateDomainR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1184,6 +1212,7 @@ public async Task UpdateRRSet(UpdateRRSetRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1222,6 +1251,7 @@ public async Task UpdateSteeringPolicy(UpdateSteer { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1260,6 +1290,7 @@ public async Task UpdateSteeringPolicyAt { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1298,6 +1329,7 @@ public async Task UpdateTsigKey(UpdateTsigKeyRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1338,6 +1370,7 @@ public async Task UpdateZone(UpdateZoneRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1380,6 +1413,7 @@ public async Task UpdateZoneRecords(UpdateZoneRecords { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/ApplianceExportJobClient.cs b/Dts/ApplianceExportJobClient.cs index c034cc8a14..bf00621f3e 100644 --- a/Dts/ApplianceExportJobClient.cs +++ b/Dts/ApplianceExportJobClient.cs @@ -92,6 +92,7 @@ public async Task ChangeApplianceEx { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task CreateApplianceExportJob(Cre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task DeleteApplianceExportJob(Del { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task GetApplianceExportJob(GetApplia { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task ListApplianceExportJobs(ListA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -277,6 +282,7 @@ public async Task UpdateApplianceExportJob(Upd { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/ShippingVendorsClient.cs b/Dts/ShippingVendorsClient.cs index 809277f2b8..977956b193 100644 --- a/Dts/ShippingVendorsClient.cs +++ b/Dts/ShippingVendorsClient.cs @@ -86,6 +86,7 @@ public async Task ListShippingVendors(ListShippingV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/TransferApplianceClient.cs b/Dts/TransferApplianceClient.cs index 27c2c18864..cb1c6451e2 100644 --- a/Dts/TransferApplianceClient.cs +++ b/Dts/TransferApplianceClient.cs @@ -89,6 +89,7 @@ public async Task CreateTransferAppliance(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -126,6 +127,7 @@ public async Task CreateTransfe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -163,6 +165,7 @@ public async Task DeleteTransferAppliance(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -200,6 +203,7 @@ public async Task GetTransferAppliance(GetTransfer { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -237,6 +241,7 @@ public async Task G { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -274,6 +279,7 @@ public async Task GetTransferA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -311,6 +317,7 @@ public async Task ListTransferAppliances(ListTra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -348,6 +355,7 @@ public async Task UpdateTransferAppliance(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/TransferApplianceEntitlementClient.cs b/Dts/TransferApplianceEntitlementClient.cs index 7d4ce23119..ba6a4d7a95 100644 --- a/Dts/TransferApplianceEntitlementClient.cs +++ b/Dts/TransferApplianceEntitlementClient.cs @@ -89,6 +89,7 @@ public async Task CreateTransferAppl { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -126,6 +127,7 @@ public async Task GetTransferApplianceE { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -163,6 +165,7 @@ public async Task ListTransferApplianc { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/TransferDeviceClient.cs b/Dts/TransferDeviceClient.cs index f7dd468dd9..931b894bcd 100644 --- a/Dts/TransferDeviceClient.cs +++ b/Dts/TransferDeviceClient.cs @@ -89,6 +89,7 @@ public async Task CreateTransferDevice(CreateTrans { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -126,6 +127,7 @@ public async Task DeleteTransferDevice(DeleteTrans { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -163,6 +165,7 @@ public async Task GetTransferDevice(GetTransferDevice { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -200,6 +203,7 @@ public async Task ListTransferDevices(ListTransferD { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -237,6 +241,7 @@ public async Task UpdateTransferDevice(UpdateTrans { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/TransferJobClient.cs b/Dts/TransferJobClient.cs index 681091e690..8e4fe6b784 100644 --- a/Dts/TransferJobClient.cs +++ b/Dts/TransferJobClient.cs @@ -92,6 +92,7 @@ public async Task ChangeTransferJobCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task CreateTransferJob(CreateTransferJob { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task DeleteTransferJob(DeleteTransferJob { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task GetTransferJob(GetTransferJobRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task ListTransferJobs(ListTransferJobsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -277,6 +282,7 @@ public async Task UpdateTransferJob(UpdateTransferJob { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Dts/TransferPackageClient.cs b/Dts/TransferPackageClient.cs index 62779008ad..b4dc24dc89 100644 --- a/Dts/TransferPackageClient.cs +++ b/Dts/TransferPackageClient.cs @@ -89,6 +89,7 @@ public async Task AttachDevicesToTransfe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -126,6 +127,7 @@ public async Task CreateTransferPackage(CreateTra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -163,6 +165,7 @@ public async Task DeleteTransferPackage(DeleteTra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -200,6 +203,7 @@ public async Task DetachDevicesFromTra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -237,6 +241,7 @@ public async Task GetTransferPackage(GetTransferPack { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -274,6 +279,7 @@ public async Task ListTransferPackages(ListTransfe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -311,6 +317,7 @@ public async Task UpdateTransferPackage(UpdateTra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Email/EmailClient.cs b/Email/EmailClient.cs index e4241038da..baba93e8d9 100644 --- a/Email/EmailClient.cs +++ b/Email/EmailClient.cs @@ -92,6 +92,7 @@ public async Task ChangeSenderCompartment(Chang { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task CreateSender(CreateSenderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -170,6 +172,7 @@ public async Task CreateSuppression(CreateSuppression { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -209,6 +212,7 @@ public async Task DeleteSender(DeleteSenderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -248,6 +252,7 @@ public async Task DeleteSuppression(DeleteSuppression { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -285,6 +290,7 @@ public async Task GetSender(GetSenderRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -324,6 +330,7 @@ public async Task GetSuppression(GetSuppressionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -362,6 +369,7 @@ public async Task ListSenders(ListSendersRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -402,6 +410,7 @@ public async Task ListSuppressions(ListSuppressionsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -443,6 +452,7 @@ public async Task UpdateSender(UpdateSenderRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Events/EventsClient.cs b/Events/EventsClient.cs index 4d3bc4a4d0..caf4af5a1f 100644 --- a/Events/EventsClient.cs +++ b/Events/EventsClient.cs @@ -94,6 +94,7 @@ public async Task ChangeRuleCompartment(ChangeRul { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task CreateRule(CreateRuleRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -169,6 +171,7 @@ public async Task DeleteRule(DeleteRuleRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task GetRule(GetRuleRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -244,6 +248,7 @@ public async Task ListRules(ListRulesRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -282,6 +287,7 @@ public async Task UpdateRule(UpdateRuleRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Examples/AuditExample.cs b/Examples/AuditExample.cs index 3ca94931b3..693775ad6c 100644 --- a/Examples/AuditExample.cs +++ b/Examples/AuditExample.cs @@ -85,7 +85,7 @@ public static async Task Main() // Change the region to US_ASHBURN_1 using SetRegion Call // We cannot use the same client to change the region. See: // https://stackoverflow.com/questions/51478525/httpclient-this-instance-has-already-started-one-or-more-requests-properties-ca - using(client = new AuditClient(provider, new ClientConfiguration())) + using (client = new AuditClient(provider, new ClientConfiguration())) { client.SetRegion(Region.US_ASHBURN_1); logger.Info("Changing region to US_ASHBURN_1"); @@ -142,7 +142,7 @@ public static async Task RetryExample(AuditClient client, Li logger.Info("Starting RetryExample"); try { - return await client.ListEvents(request, new RetryConfiguration { MaxAttempts = 5, RetryableStatusCodeFamilies = new List { 4, 5 } }); + return await client.ListEvents(request, new RetryConfiguration { MaxAttempts = 5 }); } catch (Exception e) { diff --git a/Examples/FileStorageExample.cs b/Examples/FileStorageExample.cs index d71cbb877a..b60e0b4af1 100644 --- a/Examples/FileStorageExample.cs +++ b/Examples/FileStorageExample.cs @@ -180,8 +180,7 @@ private static async Task CreateFileSystem(FileStorageClient fsClien }; CreateFileSystemResponse createResponse = await fsClient.CreateFileSystem(createRequest, new RetryConfiguration { - MaxAttempts = 5, - RetryableStatusCodeFamilies = new List { 5 } + MaxAttempts = 5 }); logger.Info($"Created file system: {createResponse.FileSystem.DisplayName}"); @@ -230,8 +229,7 @@ private static async Task CreateMountTarget(FileStorageClient fsCli }; var retryConfiguration = new RetryConfiguration { - MaxAttempts = 5, - RetryableStatusCodeFamilies = new List { 5 } + MaxAttempts = 5 }; CreateMountTargetResponse createResponse = await fsClient.CreateMountTarget(createRequest, retryConfiguration); logger.Info($"Created Mount target: {createResponse.MountTarget.DisplayName}"); @@ -304,8 +302,7 @@ private static async Task CreateExport(FileStorageClient fsClient, strin CreateExportResponse createResponse = await fsClient.CreateExport(createExportRequest, new RetryConfiguration { - MaxAttempts = 5, - RetryableStatusCodeFamilies = new List { 5 } + MaxAttempts = 5 }); logger.Info($"Created Export"); @@ -601,9 +598,7 @@ private static async Task DeleteSubnet(VirtualNetworkClient virtualNetworkClient }; RetryConfiguration retryConfiguration = new RetryConfiguration { - MaxAttempts = 5, - RetryableStatusCodeFamilies = new List { 5 }, - RetryableStatusCodes = new List { 409 } + MaxAttempts = 5 }; await virtualNetworkClient.DeleteSubnet(deleteSubnetRequest, retryConfiguration); diff --git a/Filestorage/FileStorageClient.cs b/Filestorage/FileStorageClient.cs index 330d202006..bc4a1a6b60 100644 --- a/Filestorage/FileStorageClient.cs +++ b/Filestorage/FileStorageClient.cs @@ -93,6 +93,7 @@ public async Task ChangeFileSystemCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task ChangeMountTargetCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -170,6 +172,7 @@ public async Task CreateExport(CreateExportRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -236,6 +239,7 @@ public async Task CreateFileSystem(CreateFileSystemReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -305,6 +309,7 @@ public async Task CreateMountTarget(CreateMountTarget { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -344,6 +349,7 @@ public async Task CreateSnapshot(CreateSnapshotRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -382,6 +388,7 @@ public async Task DeleteExport(DeleteExportRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -422,6 +429,7 @@ public async Task DeleteFileSystem(DeleteFileSystemReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -461,6 +469,7 @@ public async Task DeleteMountTarget(DeleteMountTarget { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -499,6 +508,7 @@ public async Task DeleteSnapshot(DeleteSnapshotRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -536,6 +546,7 @@ public async Task GetExport(GetExportRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -573,6 +584,7 @@ public async Task GetExportSet(GetExportSetRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -610,6 +622,7 @@ public async Task GetFileSystem(GetFileSystemRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -647,6 +660,7 @@ public async Task GetMountTarget(GetMountTargetRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -684,6 +698,7 @@ public async Task GetSnapshot(GetSnapshotRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -722,6 +737,7 @@ public async Task ListExportSets(ListExportSetsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -762,6 +778,7 @@ public async Task ListExports(ListExportsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -800,6 +817,7 @@ public async Task ListFileSystems(ListFileSystemsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -838,6 +856,7 @@ public async Task ListMountTargets(ListMountTargetsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -876,6 +895,7 @@ public async Task ListSnapshots(ListSnapshotsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -913,6 +933,7 @@ public async Task UpdateExport(UpdateExportRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -950,6 +971,7 @@ public async Task UpdateExportSet(UpdateExportSetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -989,6 +1011,7 @@ public async Task UpdateFileSystem(UpdateFileSystemReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1026,6 +1049,7 @@ public async Task UpdateMountTarget(UpdateMountTarget { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1063,6 +1087,7 @@ public async Task UpdateSnapshot(UpdateSnapshotRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Functions/FunctionsInvokeClient.cs b/Functions/FunctionsInvokeClient.cs index eea2af0276..80f5784140 100644 --- a/Functions/FunctionsInvokeClient.cs +++ b/Functions/FunctionsInvokeClient.cs @@ -80,6 +80,7 @@ public async Task InvokeFunction(InvokeFunctionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Functions/FunctionsManagementClient.cs b/Functions/FunctionsManagementClient.cs index e23b168307..ba134a587d 100644 --- a/Functions/FunctionsManagementClient.cs +++ b/Functions/FunctionsManagementClient.cs @@ -94,6 +94,7 @@ public async Task ChangeApplicationCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CreateApplication(CreateApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task CreateFunction(CreateFunctionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task DeleteApplication(DeleteApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task DeleteFunction(DeleteFunctionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task GetApplication(GetApplicationRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -316,6 +322,7 @@ public async Task GetFunction(GetFunctionRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -353,6 +360,7 @@ public async Task ListApplications(ListApplicationsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -390,6 +398,7 @@ public async Task ListFunctions(ListFunctionsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -427,6 +436,7 @@ public async Task UpdateApplication(UpdateApplication { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -464,6 +474,7 @@ public async Task UpdateFunction(UpdateFunctionRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Healthchecks/HealthChecksClient.cs b/Healthchecks/HealthChecksClient.cs index d09d306587..fe759ab698 100644 --- a/Healthchecks/HealthChecksClient.cs +++ b/Healthchecks/HealthChecksClient.cs @@ -91,6 +91,7 @@ public async Task ChangeHttpMonitorCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task ChangePingMonitorCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -170,6 +172,7 @@ public async Task CreateHttpMonitor(CreateHttpMonitor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -211,6 +214,7 @@ public async Task CreateOnDemandHttpProbe(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -252,6 +256,7 @@ public async Task CreateOnDemandPingProbe(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -292,6 +297,7 @@ public async Task CreatePingMonitor(CreatePingMonitor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -331,6 +337,7 @@ public async Task DeleteHttpMonitor(DeleteHttpMonitor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -370,6 +377,7 @@ public async Task DeletePingMonitor(DeletePingMonitor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -408,6 +416,7 @@ public async Task GetHttpMonitor(GetHttpMonitorRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -446,6 +455,7 @@ public async Task GetPingMonitor(GetPingMonitorRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -484,6 +494,7 @@ public async Task ListHealthChecksVantage { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -522,6 +533,7 @@ public async Task ListHttpMonitors(ListHttpMonitorsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -562,6 +574,7 @@ public async Task ListHttpProbeResults(ListHttpPro { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -603,6 +616,7 @@ public async Task ListPingMonitors(ListPingMonitorsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -647,6 +661,7 @@ public async Task ListPingProbeResults(ListPingPro { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -687,6 +702,7 @@ public async Task UpdateHttpMonitor(UpdateHttpMonitor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -727,6 +743,7 @@ public async Task UpdatePingMonitor(UpdatePingMonitor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Identity/IdentityClient.cs b/Identity/IdentityClient.cs index 11fedb0c15..2b5e245e79 100644 --- a/Identity/IdentityClient.cs +++ b/Identity/IdentityClient.cs @@ -92,6 +92,7 @@ public async Task ActivateMfaTotpDevice(ActivateM { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -133,6 +134,7 @@ public async Task AddUserToGroup(AddUserToGroupRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -174,6 +176,7 @@ public async Task AssembleEffectiveTagSet(Assem { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -216,6 +219,7 @@ public async Task BulkDeleteResources(BulkDeleteRes { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -274,6 +278,7 @@ public async Task BulkDeleteTags(BulkDeleteTagsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -316,6 +321,7 @@ public async Task BulkMoveResources(BulkMoveResources { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -372,6 +378,7 @@ public async Task CascadeDeleteTagNamespace(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -415,6 +422,7 @@ public async Task ChangeTagNamespaceCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -462,6 +470,7 @@ public async Task CreateAuthToken(CreateAuthTokenReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -518,6 +527,7 @@ public async Task CreateCompartment(CreateCompartment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -566,6 +576,7 @@ public async Task CreateCustomerSecretKey(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -621,6 +632,7 @@ public async Task CreateDynamicGroup(CreateDynamicGr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -679,6 +691,7 @@ public async Task CreateGroup(CreateGroupRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -734,6 +747,7 @@ public async Task CreateIdentityProvider(CreateI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -773,6 +787,7 @@ public async Task CreateIdpGroupMapping(CreateIdp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -811,6 +826,7 @@ public async Task CreateMfaTotpDevice(CreateMfaTotp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -869,6 +885,7 @@ public async Task CreateNetworkSource(CreateNetwork { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -907,6 +924,7 @@ public async Task CreateOAuthClientCredenti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -955,6 +973,7 @@ public async Task CreateOrResetUIPassword(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1009,6 +1028,7 @@ public async Task CreatePolicy(CreatePolicyRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1047,6 +1067,7 @@ public async Task CreateRegionSubscription(Cre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1088,6 +1109,7 @@ public async Task CreateSmtpCredential(CreateSmtpC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1137,6 +1159,7 @@ public async Task CreateSwiftPassword(CreateSwiftPa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1196,6 +1219,7 @@ public async Task CreateTag(CreateTagRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1241,6 +1265,7 @@ public async Task CreateTagDefault(CreateTagDefaultReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1292,6 +1317,7 @@ public async Task CreateTagNamespace(CreateTagNamesp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1364,6 +1390,7 @@ public async Task CreateUser(CreateUserRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1407,6 +1434,7 @@ public async Task DeleteApiKey(DeleteApiKeyRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1445,6 +1473,7 @@ public async Task DeleteAuthToken(DeleteAuthTokenReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1483,6 +1512,7 @@ public async Task DeleteCompartment(DeleteCompartment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1521,6 +1551,7 @@ public async Task DeleteCustomerSecretKey(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1559,6 +1590,7 @@ public async Task DeleteDynamicGroup(DeleteDynamicGr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1597,6 +1629,7 @@ public async Task DeleteGroup(DeleteGroupRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1636,6 +1669,7 @@ public async Task DeleteIdentityProvider(DeleteI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1673,6 +1707,7 @@ public async Task DeleteIdpGroupMapping(DeleteIdp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1711,6 +1746,7 @@ public async Task DeleteMfaTotpDevice(DeleteMfaTotp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1749,6 +1785,7 @@ public async Task DeleteNetworkSource(DeleteNetwork { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1787,6 +1824,7 @@ public async Task DeleteOAuthClientCredenti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1824,6 +1862,7 @@ public async Task DeletePolicy(DeletePolicyRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1862,6 +1901,7 @@ public async Task DeleteSmtpCredential(DeleteSmtpC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1902,6 +1942,7 @@ public async Task DeleteSwiftPassword(DeleteSwiftPa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1960,6 +2001,7 @@ public async Task DeleteTag(DeleteTagRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1998,6 +2040,7 @@ public async Task DeleteTagDefault(DeleteTagDefaultReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2042,6 +2085,7 @@ public async Task DeleteTagNamespace(DeleteTagNamesp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2079,6 +2123,7 @@ public async Task DeleteUser(DeleteUserRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2117,6 +2162,7 @@ public async Task GenerateTotpSeed(GenerateTotpSeedReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2156,6 +2202,7 @@ public async Task GetAuthenticationPolicy(GetAu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2201,6 +2248,7 @@ public async Task GetCompartment(GetCompartmentRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2239,6 +2287,7 @@ public async Task GetDynamicGroup(GetDynamicGroupReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2281,6 +2330,7 @@ public async Task GetGroup(GetGroupRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2318,6 +2368,7 @@ public async Task GetIdentityProvider(GetIdentityPr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2355,6 +2406,7 @@ public async Task GetIdpGroupMapping(GetIdpGroupMapp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2393,6 +2445,7 @@ public async Task GetMfaTotpDevice(GetMfaTotpDeviceReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2431,6 +2484,7 @@ public async Task GetNetworkSource(GetNetworkSourceReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2468,6 +2522,7 @@ public async Task GetPolicy(GetPolicyRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2505,6 +2560,7 @@ public async Task GetTag(GetTagRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2543,6 +2599,7 @@ public async Task GetTagDefault(GetTagDefaultRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2581,6 +2638,7 @@ public async Task GetTagNamespace(GetTagNamespaceReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2620,6 +2678,7 @@ public async Task GetTaggingWorkRequest(GetTaggin { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2657,6 +2716,7 @@ public async Task GetTenancy(GetTenancyRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2694,6 +2754,7 @@ public async Task GetUser(GetUserRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2731,6 +2792,7 @@ public async Task GetUserGroupMembership(GetUser { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2770,6 +2832,7 @@ public async Task GetUserUIPasswordInforma { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2809,6 +2872,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2850,6 +2914,7 @@ public async Task ListApiKeys(ListApiKeysRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2889,6 +2954,7 @@ public async Task ListAuthTokens(ListAuthTokensRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2931,6 +2997,7 @@ public async Task ListAvailabilityDomains(ListA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2975,6 +3042,7 @@ public async Task ListBulkActionResourceTyp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3030,6 +3098,7 @@ public async Task ListCompartments(ListCompartmentsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3069,6 +3138,7 @@ public async Task ListCostTrackingTags(ListCostTra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3108,6 +3178,7 @@ public async Task ListCustomerSecretKeys(ListCus { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3148,6 +3219,7 @@ public async Task ListDynamicGroups(ListDynamicGroups { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3188,6 +3260,7 @@ public async Task ListFaultDomains(ListFaultDomainsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3228,6 +3301,7 @@ public async Task ListGroups(ListGroupsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3265,6 +3339,7 @@ public async Task ListIdentityProviderGroups { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3306,6 +3381,7 @@ public async Task ListIdentityProviders(ListIdent { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3344,6 +3420,7 @@ public async Task ListIdpGroupMappings(ListIdpGrou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3383,6 +3460,7 @@ public async Task ListMfaTotpDevices(ListMfaTotpDevi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3423,6 +3501,7 @@ public async Task ListNetworkSources(ListNetworkSour { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3461,6 +3540,7 @@ public async Task ListOAuthClientCredentials { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3503,6 +3583,7 @@ public async Task ListPolicies(ListPoliciesRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3540,6 +3621,7 @@ public async Task ListRegionSubscriptions(ListR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3577,6 +3659,7 @@ public async Task ListRegions(ListRegionsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3616,6 +3699,7 @@ public async Task ListSmtpCredentials(ListSmtpCrede { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3657,6 +3741,7 @@ public async Task ListSwiftPasswords(ListSwiftPasswo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3695,6 +3780,7 @@ public async Task ListTagDefaults(ListTagDefaultsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3733,6 +3819,7 @@ public async Task ListTagNamespaces(ListTagNamespaces { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3771,6 +3858,7 @@ public async Task ListTaggingWorkRequestEr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3809,6 +3897,7 @@ public async Task ListTaggingWorkRequestLogs { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3847,6 +3936,7 @@ public async Task ListTaggingWorkRequests(ListT { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3885,6 +3975,7 @@ public async Task ListTags(ListTagsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3932,6 +4023,7 @@ public async Task ListUserGroupMemberships(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -3972,6 +4064,7 @@ public async Task ListUsers(ListUsersRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4010,6 +4103,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4055,6 +4149,7 @@ public async Task MoveCompartment(MoveCompartmentReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4093,6 +4188,7 @@ public async Task RecoverCompartment(RecoverCompartm { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4130,6 +4226,7 @@ public async Task RemoveUserFromGroup(RemoveUserFro { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4168,6 +4265,7 @@ public async Task ResetIdpScimClient(ResetIdpScimCli { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4206,6 +4304,7 @@ public async Task UpdateAuthToken(UpdateAuthTokenReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4244,6 +4343,7 @@ public async Task UpdateAuthenticationPolicy { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4281,6 +4381,7 @@ public async Task UpdateCompartment(UpdateCompartment { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4319,6 +4420,7 @@ public async Task UpdateCustomerSecretKey(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4356,6 +4458,7 @@ public async Task UpdateDynamicGroup(UpdateDynamicGr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4393,6 +4496,7 @@ public async Task UpdateGroup(UpdateGroupRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4430,6 +4534,7 @@ public async Task UpdateIdentityProvider(UpdateI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4467,6 +4572,7 @@ public async Task UpdateIdpGroupMapping(UpdateIdp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4504,6 +4610,7 @@ public async Task UpdateNetworkSource(UpdateNetwork { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4542,6 +4649,7 @@ public async Task UpdateOAuthClientCredenti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4582,6 +4690,7 @@ public async Task UpdatePolicy(UpdatePolicyRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4620,6 +4729,7 @@ public async Task UpdateSmtpCredential(UpdateSmtpC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4660,6 +4770,7 @@ public async Task UpdateSwiftPassword(UpdateSwiftPa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4707,6 +4818,7 @@ public async Task UpdateTag(UpdateTagRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4750,6 +4862,7 @@ public async Task UpdateTagDefault(UpdateTagDefaultReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4796,6 +4909,7 @@ public async Task UpdateTagNamespace(UpdateTagNamesp { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4833,6 +4947,7 @@ public async Task UpdateUser(UpdateUserRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4871,6 +4986,7 @@ public async Task UpdateUserCapabilities(UpdateU { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4909,6 +5025,7 @@ public async Task UpdateUserState(UpdateUserStateReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -4961,6 +5078,7 @@ public async Task UploadApiKey(UploadApiKeyRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Integration/IntegrationInstanceClient.cs b/Integration/IntegrationInstanceClient.cs index d7388dd498..829e8275b1 100644 --- a/Integration/IntegrationInstanceClient.cs +++ b/Integration/IntegrationInstanceClient.cs @@ -93,6 +93,7 @@ public async Task ChangeIntegratio { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CreateIntegrationInstance(C { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task DeleteIntegrationInstance(D { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task GetIntegrationInstance(GetInte { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -242,6 +246,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -280,6 +285,7 @@ public async Task ListIntegrationInstances(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -317,6 +323,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -354,6 +361,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -392,6 +400,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -430,6 +439,7 @@ public async Task StartIntegrationInstance(Sta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -468,6 +478,7 @@ public async Task StopIntegrationInstance(StopI { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -505,6 +516,7 @@ public async Task UpdateIntegrationInstance(U { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Keymanagement/KmsCryptoClient.cs b/Keymanagement/KmsCryptoClient.cs index 118ea63c32..4409aa810a 100644 --- a/Keymanagement/KmsCryptoClient.cs +++ b/Keymanagement/KmsCryptoClient.cs @@ -81,6 +81,7 @@ public async Task Decrypt(DecryptRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -120,6 +121,7 @@ public async Task Encrypt(EncryptRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -158,6 +160,7 @@ public async Task GenerateDataEncryptionKey(G { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Keymanagement/KmsManagementClient.cs b/Keymanagement/KmsManagementClient.cs index cae6623c0e..8ac81befe4 100644 --- a/Keymanagement/KmsManagementClient.cs +++ b/Keymanagement/KmsManagementClient.cs @@ -88,6 +88,7 @@ public async Task BackupKey(BackupKeyRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -133,6 +134,7 @@ public async Task CancelKeyDeletion(CancelKeyDeletion { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -178,6 +180,7 @@ public async Task CancelKeyVersionDeletion(Can { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -224,6 +227,7 @@ public async Task ChangeKeyCompartment(ChangeKeyCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -267,6 +271,7 @@ public async Task CreateKey(CreateKeyRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -311,6 +316,7 @@ public async Task CreateKeyVersion(CreateKeyVersionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -355,6 +361,7 @@ public async Task DisableKey(DisableKeyRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -399,6 +406,7 @@ public async Task EnableKey(EnableKeyRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -442,6 +450,7 @@ public async Task GetKey(GetKeyRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -485,6 +494,7 @@ public async Task GetKeyVersion(GetKeyVersionRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -524,6 +534,7 @@ public async Task GetWrappingKey(GetWrappingKeyRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -564,6 +575,7 @@ public async Task ImportKey(ImportKeyRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -606,6 +618,7 @@ public async Task ImportKeyVersion(ImportKeyVersionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -650,6 +663,7 @@ public async Task ListKeyVersions(ListKeyVersionsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -693,6 +707,7 @@ public async Task ListKeys(ListKeysRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -733,6 +748,7 @@ public async Task RestoreKeyFromFile(RestoreKeyFromF { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -773,6 +789,7 @@ public async Task RestoreKeyFromObjectStore(R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -817,6 +834,7 @@ public async Task ScheduleKeyDeletion(ScheduleKeyDe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -861,6 +879,7 @@ public async Task ScheduleKeyVersionDeletion { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -906,6 +925,7 @@ public async Task UpdateKey(UpdateKeyRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Keymanagement/KmsVaultClient.cs b/Keymanagement/KmsVaultClient.cs index 81daf7ee10..1f5a3a1aef 100644 --- a/Keymanagement/KmsVaultClient.cs +++ b/Keymanagement/KmsVaultClient.cs @@ -95,6 +95,7 @@ public async Task BackupVault(BackupVaultRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -141,6 +142,7 @@ public async Task CancelVaultDeletion(CancelVaultDe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -187,6 +189,7 @@ public async Task ChangeVaultCompartment(ChangeV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -233,6 +236,7 @@ public async Task CreateVault(CreateVaultRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -276,6 +280,7 @@ public async Task GetVault(GetVaultRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -314,6 +319,7 @@ public async Task GetVaultUsage(GetVaultUsageRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -357,6 +363,7 @@ public async Task ListVaults(ListVaultsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -397,6 +404,7 @@ public async Task RestoreVaultFromFile(RestoreVaul { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -437,6 +445,7 @@ public async Task RestoreVaultFromObjectSto { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -484,6 +493,7 @@ public async Task ScheduleVaultDeletion(ScheduleV { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -529,6 +539,7 @@ public async Task UpdateVault(UpdateVaultRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Limits/LimitsClient.cs b/Limits/LimitsClient.cs index 233ccf5983..b87ccd76e0 100644 --- a/Limits/LimitsClient.cs +++ b/Limits/LimitsClient.cs @@ -93,6 +93,7 @@ public async Task GetResourceAvailability(GetRe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -133,6 +134,7 @@ public async Task ListLimitDefinitions(ListLimitDe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -171,6 +173,7 @@ public async Task ListLimitValues(ListLimitValuesReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -210,6 +213,7 @@ public async Task ListServices(ListServicesRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Limits/QuotasClient.cs b/Limits/QuotasClient.cs index 0c7737da74..c1e8805a2b 100644 --- a/Limits/QuotasClient.cs +++ b/Limits/QuotasClient.cs @@ -92,6 +92,7 @@ public async Task CreateQuota(CreateQuotaRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task DeleteQuota(DeleteQuotaRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task GetQuota(GetQuotaRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task ListQuotas(ListQuotasRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task UpdateQuota(UpdateQuotaRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Loadbalancer/LoadBalancerClient.cs b/Loadbalancer/LoadBalancerClient.cs index 0f040644ae..a5f04d5e13 100644 --- a/Loadbalancer/LoadBalancerClient.cs +++ b/Loadbalancer/LoadBalancerClient.cs @@ -94,6 +94,7 @@ public async Task ChangeLoadBalancerCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CreateBackend(CreateBackendRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task CreateBackendSet(CreateBackendSetReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -205,6 +208,7 @@ public async Task CreateCertificate(CreateCertificate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -244,6 +248,7 @@ public async Task CreateHostname(CreateHostnameRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -281,6 +286,7 @@ public async Task CreateListener(CreateListenerRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -345,6 +351,7 @@ public async Task CreateLoadBalancer(CreateLoadBalan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -384,6 +391,7 @@ public async Task CreatePathRouteSet(CreatePathRoute { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -423,6 +431,7 @@ public async Task CreateRuleSet(CreateRuleSetRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -460,6 +469,7 @@ public async Task DeleteBackend(DeleteBackendRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -500,6 +510,7 @@ public async Task DeleteBackendSet(DeleteBackendSetReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -537,6 +548,7 @@ public async Task DeleteCertificate(DeleteCertificate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -575,6 +587,7 @@ public async Task DeleteHostname(DeleteHostnameRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -612,6 +625,7 @@ public async Task DeleteListener(DeleteListenerRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -649,6 +663,7 @@ public async Task DeleteLoadBalancer(DeleteLoadBalan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -690,6 +705,7 @@ public async Task DeletePathRouteSet(DeletePathRoute { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -731,6 +747,7 @@ public async Task DeleteRuleSet(DeleteRuleSetRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -768,6 +785,7 @@ public async Task GetBackend(GetBackendRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -805,6 +823,7 @@ public async Task GetBackendHealth(GetBackendHealthReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -842,6 +861,7 @@ public async Task GetBackendSet(GetBackendSetRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -879,6 +899,7 @@ public async Task GetBackendSetHealth(GetBackendSet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -916,6 +937,7 @@ public async Task GetHealthChecker(GetHealthCheckerReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -953,6 +975,7 @@ public async Task GetHostname(GetHostnameRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -990,6 +1013,7 @@ public async Task GetLoadBalancer(GetLoadBalancerReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1027,6 +1051,7 @@ public async Task GetLoadBalancerHealth(GetLoadBa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1064,6 +1089,7 @@ public async Task GetPathRouteSet(GetPathRouteSetReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1101,6 +1127,7 @@ public async Task GetRuleSet(GetRuleSetRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1138,6 +1165,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1175,6 +1203,7 @@ public async Task ListBackendSets(ListBackendSetsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1212,6 +1241,7 @@ public async Task ListBackends(ListBackendsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1249,6 +1279,7 @@ public async Task ListCertificates(ListCertificatesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1286,6 +1317,7 @@ public async Task ListHostnames(ListHostnamesRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1330,6 +1362,7 @@ public async Task ListListenerRules(ListListenerRules { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1367,6 +1400,7 @@ public async Task ListLoadBalancerHealths(ListL { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1404,6 +1438,7 @@ public async Task ListLoadBalancers(ListLoadBalancers { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1441,6 +1476,7 @@ public async Task ListPathRouteSets(ListPathRouteSets { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1478,6 +1514,7 @@ public async Task ListPolicies(ListPoliciesRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1515,6 +1552,7 @@ public async Task ListProtocols(ListProtocolsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1552,6 +1590,7 @@ public async Task ListRuleSets(ListRuleSetsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1589,6 +1628,7 @@ public async Task ListShapes(ListShapesRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1626,6 +1666,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1663,6 +1704,7 @@ public async Task UpdateBackend(UpdateBackendRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1700,6 +1742,7 @@ public async Task UpdateBackendSet(UpdateBackendSetReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1737,6 +1780,7 @@ public async Task UpdateHealthChecker(UpdateHealthC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1776,6 +1820,7 @@ public async Task UpdateHostname(UpdateHostnameRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1813,6 +1858,7 @@ public async Task UpdateListener(UpdateListenerRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1850,6 +1896,7 @@ public async Task UpdateLoadBalancer(UpdateLoadBalan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1887,6 +1934,7 @@ public async Task UpdateNetworkSecurityGrou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1930,6 +1978,7 @@ public async Task UpdatePathRouteSet(UpdatePathRoute { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1971,6 +2020,7 @@ public async Task UpdateRuleSet(UpdateRuleSetRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Marketplace/MarketplaceClient.cs b/Marketplace/MarketplaceClient.cs index dc2c466bfb..219f9efc4f 100644 --- a/Marketplace/MarketplaceClient.cs +++ b/Marketplace/MarketplaceClient.cs @@ -91,6 +91,7 @@ public async Task CreateAcceptedAgreement(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task DeleteAcceptedAgreement(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -169,6 +171,7 @@ public async Task GetAcceptedAgreement(GetAccepted { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -208,6 +211,7 @@ public async Task GetAgreement(GetAgreementRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -260,6 +264,7 @@ public async Task GetListing(GetListingRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -311,6 +316,7 @@ public async Task GetPackage(GetPackageRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -350,6 +356,7 @@ public async Task ListAcceptedAgreements(ListAcc { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -388,6 +395,7 @@ public async Task ListAgreements(ListAgreementsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -427,6 +435,7 @@ public async Task ListCategories(ListCategoriesRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -479,6 +488,7 @@ public async Task ListListings(ListListingsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -530,6 +540,7 @@ public async Task ListPackages(ListPackagesRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -568,6 +579,7 @@ public async Task ListPublishers(ListPublishersRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -605,6 +617,7 @@ public async Task ListReportTypes(ListReportTypesReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -642,6 +655,7 @@ public async Task ListReports(ListReportsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -680,6 +694,7 @@ public async Task UpdateAcceptedAgreement(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Monitoring/MonitoringClient.cs b/Monitoring/MonitoringClient.cs index a008609f78..07987462bf 100644 --- a/Monitoring/MonitoringClient.cs +++ b/Monitoring/MonitoringClient.cs @@ -95,6 +95,7 @@ public async Task ChangeAlarmCompartment(ChangeA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -138,6 +139,7 @@ public async Task CreateAlarm(CreateAlarmRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -181,6 +183,7 @@ public async Task DeleteAlarm(DeleteAlarmRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -224,6 +227,7 @@ public async Task GetAlarm(GetAlarmRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -267,6 +271,7 @@ public async Task GetAlarmHistory(GetAlarmHistoryReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -310,6 +315,7 @@ public async Task ListAlarms(ListAlarmsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -353,6 +359,7 @@ public async Task ListAlarmsStatus(ListAlarmsStatusReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -395,6 +402,7 @@ public async Task ListMetrics(ListMetricsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -450,6 +458,7 @@ public async Task PostMetricData(PostMetricDataRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -493,6 +502,7 @@ public async Task RemoveAlarmSuppression(RemoveA { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -535,6 +545,7 @@ public async Task SummarizeMetricsData(SummarizeMe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -578,6 +589,7 @@ public async Task UpdateAlarm(UpdateAlarmRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Mysql/DbBackupsClient.cs b/Mysql/DbBackupsClient.cs index db21eafa1d..01028f6a2b 100644 --- a/Mysql/DbBackupsClient.cs +++ b/Mysql/DbBackupsClient.cs @@ -93,6 +93,7 @@ public async Task CreateBackup(CreateBackupRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task DeleteBackup(DeleteBackupRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task GetBackup(GetBackupRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task ListBackups(ListBackupsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -243,6 +247,7 @@ public async Task UpdateBackup(UpdateBackupRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Mysql/DbSystemClient.cs b/Mysql/DbSystemClient.cs index 34bfc96178..f2bb80c219 100644 --- a/Mysql/DbSystemClient.cs +++ b/Mysql/DbSystemClient.cs @@ -93,6 +93,7 @@ public async Task CreateDbSystem(CreateDbSystemRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task DeleteDbSystem(DeleteDbSystemRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -169,6 +171,7 @@ public async Task GetDbSystem(GetDbSystemRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -208,6 +211,7 @@ public async Task ListDbSystems(ListDbSystemsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -245,6 +249,7 @@ public async Task RestartDbSystem(RestartDbSystemReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -282,6 +287,7 @@ public async Task StartDbSystem(StartDbSystemRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -322,6 +328,7 @@ public async Task StopDbSystem(StopDbSystemRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -367,6 +374,7 @@ public async Task UpdateDbSystem(UpdateDbSystemRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Mysql/MysqlaasClient.cs b/Mysql/MysqlaasClient.cs index ceaec84c41..d2d3efe8b1 100644 --- a/Mysql/MysqlaasClient.cs +++ b/Mysql/MysqlaasClient.cs @@ -92,6 +92,7 @@ public async Task CreateConfiguration(CreateConfigu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task DeleteConfiguration(DeleteConfigu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -169,6 +171,7 @@ public async Task GetConfiguration(GetConfigurationReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -214,6 +217,7 @@ public async Task ListConfigurations(ListConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -255,6 +259,7 @@ public async Task ListShapes(ListShapesRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -295,6 +300,7 @@ public async Task ListVersions(ListVersionsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -332,6 +338,7 @@ public async Task UpdateConfiguration(UpdateConfigu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Mysql/WorkRequestsClient.cs b/Mysql/WorkRequestsClient.cs index 7dd65e828b..807ba4e18b 100644 --- a/Mysql/WorkRequestsClient.cs +++ b/Mysql/WorkRequestsClient.cs @@ -92,6 +92,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Nosql/NosqlClient.cs b/Nosql/NosqlClient.cs index 0735f6c5f9..9f8f9a86e5 100644 --- a/Nosql/NosqlClient.cs +++ b/Nosql/NosqlClient.cs @@ -92,6 +92,7 @@ public async Task ChangeTableCompartment(ChangeT { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task CreateIndex(CreateIndexRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task CreateTable(CreateTableRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task DeleteIndex(DeleteIndexRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task DeleteRow(DeleteRowRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -277,6 +282,7 @@ public async Task DeleteTable(DeleteTableRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -314,6 +320,7 @@ public async Task DeleteWorkRequest(DeleteWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -351,6 +358,7 @@ public async Task GetIndex(GetIndexRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -388,6 +396,7 @@ public async Task GetRow(GetRowRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -425,6 +434,7 @@ public async Task GetTable(GetTableRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -462,6 +472,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -499,6 +510,7 @@ public async Task ListIndexes(ListIndexesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -536,6 +548,7 @@ public async Task ListTableUsage(ListTableUsageRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -573,6 +586,7 @@ public async Task ListTables(ListTablesRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -611,6 +625,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -649,6 +664,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -686,6 +702,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -724,6 +741,7 @@ public async Task PrepareStatement(PrepareStatementReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -761,6 +779,7 @@ public async Task Query(QueryRequest request, RetryConfiguration { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -799,6 +818,7 @@ public async Task SummarizeStatement(SummarizeStatem { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -836,6 +856,7 @@ public async Task UpdateRow(UpdateRowRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -875,6 +896,7 @@ public async Task UpdateTable(UpdateTableRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Objectstorage/ObjectStorageClient.cs b/Objectstorage/ObjectStorageClient.cs index 8dbcfb9a2a..8df89445db 100644 --- a/Objectstorage/ObjectStorageClient.cs +++ b/Objectstorage/ObjectStorageClient.cs @@ -93,6 +93,7 @@ public async Task AbortMultipartUpload(AbortMultip { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CancelWorkRequest(CancelWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -169,6 +171,7 @@ public async Task CommitMultipartUpload(CommitMul { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -208,6 +211,7 @@ public async Task CopyObject(CopyObjectRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -247,6 +251,7 @@ public async Task CreateBucket(CreateBucketRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -286,6 +291,7 @@ public async Task CreateMultipartUpload(CreateMul { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -324,6 +330,7 @@ public async Task CreatePreauthenticatedR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -362,6 +369,7 @@ public async Task CreateReplicationPolicy(Creat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -401,6 +409,7 @@ public async Task CreateRetentionRule(CreateRetenti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -442,6 +451,7 @@ public async Task DeleteBucket(DeleteBucketRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -480,6 +490,7 @@ public async Task DeleteObject(DeleteObjectRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -518,6 +529,7 @@ public async Task DeleteObjectLifecyclePoli { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -555,6 +567,7 @@ public async Task DeletePreauthenticatedR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -593,6 +606,7 @@ public async Task DeleteReplicationPolicy(Delet { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -630,6 +644,7 @@ public async Task DeleteRetentionRule(DeleteRetenti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -668,6 +683,7 @@ public async Task GetBucket(GetBucketRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -712,6 +728,7 @@ public async Task GetNamespace(GetNamespaceRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -756,6 +773,7 @@ public async Task GetNamespaceMetadata(GetNamespac { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -794,6 +812,7 @@ public async Task GetObject(GetObjectRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -832,6 +851,7 @@ public async Task GetObjectLifecyclePolicy(Get { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -869,6 +889,7 @@ public async Task GetPreauthenticatedRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -907,6 +928,7 @@ public async Task GetReplicationPolicy(GetReplicat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -944,6 +966,7 @@ public async Task GetRetentionRule(GetRetentionRuleReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -981,6 +1004,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1019,6 +1043,7 @@ public async Task HeadBucket(HeadBucketRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1057,6 +1082,7 @@ public async Task HeadObject(HeadObjectRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1100,6 +1126,7 @@ public async Task ListBuckets(ListBucketsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1138,6 +1165,7 @@ public async Task ListMultipartUploadParts(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1176,6 +1204,7 @@ public async Task ListMultipartUploads(ListMultipa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1218,6 +1247,7 @@ public async Task ListObjectVersions(ListObjectVersi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1260,6 +1290,7 @@ public async Task ListObjects(ListObjectsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1298,6 +1329,7 @@ public async Task ListPreauthenticatedRequ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1336,6 +1368,7 @@ public async Task ListReplicationPolicies(ListR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1374,6 +1407,7 @@ public async Task ListReplicationSources(ListRep { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1413,6 +1447,7 @@ public async Task ListRetentionRules(ListRetentionRu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1450,6 +1485,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1487,6 +1523,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1525,6 +1562,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1566,6 +1604,7 @@ public async Task MakeBucketWritable(MakeBucketWrita { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1580,6 +1619,9 @@ public async Task MakeBucketWritable(MakeBucketWrita /// Creates a new object or overwrites an existing object with the same name. The maximum object size allowed by /// PutObject is 50 GiB. /// <br/> + /// See [Object Names](https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements) + /// for object naming requirements. + /// <br/> /// See [Special Instructions for Object Storage PUT](https://docs.cloud.oracle.com/Content/API/Concepts/signingrequests.htm#ObjectStoragePut) /// for request signature requirements. /// @@ -1610,6 +1652,7 @@ public async Task PutObject(PutObjectRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1648,6 +1691,7 @@ public async Task PutObjectLifecyclePolicy(Put { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1700,6 +1744,7 @@ public async Task ReencryptBucket(ReencryptBucketReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1746,6 +1791,7 @@ public async Task ReencryptObject(ReencryptObjectReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1758,6 +1804,9 @@ public async Task ReencryptObject(ReencryptObjectReques /// /// Rename an object in the given Object Storage namespace. + /// <br/> + /// See [Object Names](https://docs.cloud.oracle.com/Content/Object/Tasks/managingobjects.htm#namerequirements) + /// for object naming requirements. /// /// /// The request object containing the details to send. Required. @@ -1784,6 +1833,7 @@ public async Task RenameObject(RenameObjectRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1823,6 +1873,7 @@ public async Task RestoreObjects(RestoreObjectsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1865,6 +1916,7 @@ public async Task UpdateBucket(UpdateBucketRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1909,6 +1961,7 @@ public async Task UpdateNamespaceMetadata(Updat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1947,6 +2000,7 @@ public async Task UpdateRetentionRule(UpdateRetenti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1986,6 +2040,7 @@ public async Task UploadPart(UploadPartRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Objectstorage/models/ObjectLifecycleRule.cs b/Objectstorage/models/ObjectLifecycleRule.cs index 9e866bcf18..2a1c423a8a 100644 --- a/Objectstorage/models/ObjectLifecycleRule.cs +++ b/Objectstorage/models/ObjectLifecycleRule.cs @@ -34,10 +34,17 @@ public class ObjectLifecycleRule [JsonProperty(PropertyName = "name")] public string Name { get; set; } + /// + /// + /// + [JsonProperty(PropertyName = "target")] + public string Target { get; set; } + /// /// The action of the object lifecycle policy rule. Rules using the action 'ARCHIVE' move objects into the /// [Archive Storage tier](https://docs.cloud.oracle.com/Content/Archive/Concepts/archivestorageoverview.htm). Rules using the action - /// 'DELETE' permanently delete objects from buckets. 'ARCHIVE' and 'DELETE' are the only two supported + /// 'DELETE' permanently delete objects from buckets. Rules using 'ABORT' abort the uncommitted multipart-uploads + /// and permanently delete their parts from buckets. 'ARCHIVE', 'DELETE' and 'ABORT' are the only three supported /// actions at this time. /// /// diff --git a/Oce/OceInstanceClient.cs b/Oce/OceInstanceClient.cs index ce4cb5cc7e..8c41d28267 100644 --- a/Oce/OceInstanceClient.cs +++ b/Oce/OceInstanceClient.cs @@ -92,6 +92,7 @@ public async Task ChangeOceInstanceCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task CreateOceInstance(CreateOceInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -167,6 +169,7 @@ public async Task DeleteOceInstance(DeleteOceInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -204,6 +207,7 @@ public async Task GetOceInstance(GetOceInstanceRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -241,6 +245,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -279,6 +284,7 @@ public async Task ListOceInstances(ListOceInstancesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -317,6 +323,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -355,6 +362,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -393,6 +401,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -430,6 +439,7 @@ public async Task UpdateOceInstance(UpdateOceInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Ocvp/EsxiHostClient.cs b/Ocvp/EsxiHostClient.cs index 1fbee4ef31..de261b192a 100644 --- a/Ocvp/EsxiHostClient.cs +++ b/Ocvp/EsxiHostClient.cs @@ -98,6 +98,7 @@ public async Task CreateEsxiHost(CreateEsxiHostRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -149,6 +150,7 @@ public async Task DeleteEsxiHost(DeleteEsxiHostRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -186,6 +188,7 @@ public async Task GetEsxiHost(GetEsxiHostRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -232,6 +235,7 @@ public async Task ListEsxiHosts(ListEsxiHostsRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -269,6 +273,7 @@ public async Task UpdateEsxiHost(UpdateEsxiHostRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Ocvp/SddcClient.cs b/Ocvp/SddcClient.cs index 75f8eb09f1..ca2f8c2c9d 100644 --- a/Ocvp/SddcClient.cs +++ b/Ocvp/SddcClient.cs @@ -95,6 +95,7 @@ public async Task ChangeSddcCompartment(ChangeSdd { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -136,6 +137,7 @@ public async Task CreateSddc(CreateSddcRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -179,6 +181,7 @@ public async Task DeleteSddc(DeleteSddcRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -216,6 +219,7 @@ public async Task GetSddc(GetSddcRequest request, RetryConfigur { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -255,6 +259,7 @@ public async Task ListSddcs(ListSddcsRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -294,6 +299,7 @@ public async Task ListSupportedVmwa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -337,6 +343,7 @@ public async Task UpdateSddc(UpdateSddcRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Ocvp/WorkRequestClient.cs b/Ocvp/WorkRequestClient.cs index 752efcf7f5..4908ce37e2 100644 --- a/Ocvp/WorkRequestClient.cs +++ b/Ocvp/WorkRequestClient.cs @@ -92,6 +92,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Oda/OdaClient.cs b/Oda/OdaClient.cs index 6331fd023a..859ae2acfa 100644 --- a/Oda/OdaClient.cs +++ b/Oda/OdaClient.cs @@ -94,6 +94,7 @@ public async Task ChangeOdaInstanceCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -135,6 +136,7 @@ public async Task CreateOdaInstance(CreateOdaInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -173,6 +175,7 @@ public async Task DeleteOdaInstance(DeleteOdaInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -210,6 +213,7 @@ public async Task GetOdaInstance(GetOdaInstanceRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -251,6 +255,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -294,6 +299,7 @@ public async Task ListOdaInstances(ListOdaInstancesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -336,6 +342,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -378,6 +385,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -420,6 +428,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -459,6 +468,7 @@ public async Task StartOdaInstance(StartOdaInstanceReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -499,6 +509,7 @@ public async Task StopOdaInstance(StopOdaInstanceReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -536,6 +547,7 @@ public async Task UpdateOdaInstance(UpdateOdaInstance { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Ons/NotificationControlPlaneClient.cs b/Ons/NotificationControlPlaneClient.cs index 3df6f3cb06..fbbc5a7503 100644 --- a/Ons/NotificationControlPlaneClient.cs +++ b/Ons/NotificationControlPlaneClient.cs @@ -94,6 +94,7 @@ public async Task ChangeTopicCompartment(ChangeT { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -145,6 +146,7 @@ public async Task CreateTopic(CreateTopicRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -185,6 +187,7 @@ public async Task DeleteTopic(DeleteTopicRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -223,6 +226,7 @@ public async Task GetTopic(GetTopicRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -263,6 +267,7 @@ public async Task ListTopics(ListTopicsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -303,6 +308,7 @@ public async Task UpdateTopic(UpdateTopicRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Ons/NotificationDataPlaneClient.cs b/Ons/NotificationDataPlaneClient.cs index c41801c0e6..61165fa642 100644 --- a/Ons/NotificationDataPlaneClient.cs +++ b/Ons/NotificationDataPlaneClient.cs @@ -97,6 +97,7 @@ public async Task ChangeSubscriptionCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -139,6 +140,7 @@ public async Task CreateSubscription(CreateSubscript { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -179,6 +181,7 @@ public async Task DeleteSubscription(DeleteSubscript { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -219,6 +222,7 @@ public async Task GetConfirmSubscription(GetConf { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -259,6 +263,7 @@ public async Task GetSubscription(GetSubscriptionReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -299,6 +304,7 @@ public async Task GetUnsubscription(GetUnsubscription { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -339,6 +345,7 @@ public async Task ListSubscriptions(ListSubscriptions { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -393,6 +400,7 @@ public async Task PublishMessage(PublishMessageRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -433,6 +441,7 @@ public async Task ResendSubscriptionConf { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -473,6 +482,7 @@ public async Task UpdateSubscription(UpdateSubscript { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Osmanagement/OsManagementClient.cs b/Osmanagement/OsManagementClient.cs index 648aa70f94..0b1050e1f5 100644 --- a/Osmanagement/OsManagementClient.cs +++ b/Osmanagement/OsManagementClient.cs @@ -93,6 +93,7 @@ public async Task AddPackagesToSoftwareSour { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -133,6 +134,7 @@ public async Task AttachChil { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -174,6 +176,7 @@ public async Task AttachMan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -215,6 +218,7 @@ public async Task AttachPar { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -254,6 +258,7 @@ public async Task ChangeManagedIn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -293,6 +298,7 @@ public async Task ChangeScheduledJobCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -332,6 +338,7 @@ public async Task ChangeSoftwareSourceC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -372,6 +379,7 @@ public async Task CreateManagedInstanceGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -413,6 +421,7 @@ public async Task CreateScheduledJob(CreateScheduled { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -453,6 +462,7 @@ public async Task CreateSoftwareSource(CreateSoftw { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -491,6 +501,7 @@ public async Task DeleteManagedInstanceGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -529,6 +540,7 @@ public async Task DeleteScheduledJob(DeleteScheduled { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -567,6 +579,7 @@ public async Task DeleteSoftwareSource(DeleteSoftw { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -606,6 +619,7 @@ public async Task DetachCh { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -644,6 +658,7 @@ public async Task DetachM { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -683,6 +698,7 @@ public async Task DetachP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -721,6 +737,7 @@ public async Task GetErratum(GetErratumRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -759,6 +776,7 @@ public async Task GetManagedInstance(GetManagedInsta { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -797,6 +815,7 @@ public async Task GetManagedInstanceGroup(GetMa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -835,6 +854,7 @@ public async Task GetScheduledJob(GetScheduledJobReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -873,6 +893,7 @@ public async Task GetSoftwarePackage(GetSoftwarePack { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -911,6 +932,7 @@ public async Task GetSoftwareSource(GetSoftwareSource { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -949,6 +971,7 @@ public async Task GetWindowsUpdate(GetWindowsUpdateReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -986,6 +1009,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1024,6 +1048,7 @@ public async Task InstallAllP { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1062,6 +1087,7 @@ public async Task InstallAllW { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1100,6 +1126,7 @@ public async Task InstallPackageOnManag { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1138,6 +1165,7 @@ public async Task InstallPackageU { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1176,6 +1204,7 @@ public async Task InstallWindowsU { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1214,6 +1243,7 @@ public async Task ListAvailable { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1252,6 +1282,7 @@ public async Task ListAv { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1290,6 +1321,7 @@ public async Task ListAvailableU { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1328,6 +1360,7 @@ public async Task ListAva { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1366,6 +1399,7 @@ public async Task ListManagedInstanceGroups(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1404,6 +1438,7 @@ public async Task ListManagedInstances(ListManaged { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1442,6 +1477,7 @@ public async Task ListPackagesIn { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1480,6 +1516,7 @@ public async Task ListScheduledJobs(ListScheduledJobs { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1518,6 +1555,7 @@ public async Task ListSoftwareSourcePackages { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1556,6 +1594,7 @@ public async Task ListSoftwareSources(ListSoftwareS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1594,6 +1633,7 @@ public async Task ListUpcomingScheduledJobs(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1632,6 +1672,7 @@ public async Task ListWindowsUpdates(ListWindowsUpda { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1670,6 +1711,7 @@ public async Task ListWind { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1707,6 +1749,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1744,6 +1787,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1782,6 +1826,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1820,6 +1865,7 @@ public async Task RemovePackageFromMan { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1858,6 +1904,7 @@ public async Task RemovePackagesFromSo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1897,6 +1944,7 @@ public async Task RunScheduledJobNow(RunScheduledJob { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1936,6 +1984,7 @@ public async Task SearchSoftwarePackages(SearchS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1975,6 +2024,7 @@ public async Task SkipNextScheduledJobExe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2013,6 +2063,7 @@ public async Task UpdateManagedInstanceGroup { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2051,6 +2102,7 @@ public async Task UpdateScheduledJob(UpdateScheduled { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2089,6 +2141,7 @@ public async Task UpdateSoftwareSource(UpdateSoftw { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Resourcemanager/ResourceManagerClient.cs b/Resourcemanager/ResourceManagerClient.cs index 20be6bf9ac..0d753a6b35 100644 --- a/Resourcemanager/ResourceManagerClient.cs +++ b/Resourcemanager/ResourceManagerClient.cs @@ -95,6 +95,7 @@ public async Task CancelJob(CancelJobRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -135,6 +136,7 @@ public async Task ChangeCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -172,6 +174,7 @@ public async Task ChangeStackCompartment(ChangeS { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -212,6 +215,7 @@ public async Task CreateConfiguration { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -249,6 +253,7 @@ public async Task CreateJob(CreateJobRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -292,6 +297,7 @@ public async Task CreateStack(CreateStackRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -329,6 +335,7 @@ public async Task DeleteConfiguration { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -366,6 +373,7 @@ public async Task DeleteStack(DeleteStackRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -403,6 +411,7 @@ public async Task DetectStackDrift(DetectStackDriftReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -440,6 +449,7 @@ public async Task GetConfigurationSource { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -477,6 +487,7 @@ public async Task GetJob(GetJobRequest request, RetryConfigurati { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -515,6 +526,7 @@ public async Task GetJobLogs(GetJobLogsRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -554,6 +566,7 @@ public async Task GetJobLogsContent(GetJobLogsContent { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -593,6 +606,7 @@ public async Task GetJobTfConfig(GetJobTfConfigRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -630,6 +644,7 @@ public async Task GetJobTfState(GetJobTfStateRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -667,6 +682,7 @@ public async Task GetStack(GetStackRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -706,6 +722,7 @@ public async Task GetStackTfConfig(GetStackTfConfigReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -743,6 +760,7 @@ public async Task GetStackTfState(GetStackTfStateReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -780,6 +798,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -820,6 +839,7 @@ public async Task ListConfigurationSou { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -862,6 +882,7 @@ public async Task ListJobs(ListJobsRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -900,6 +921,7 @@ public async Task ListResourceDiscoverySe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -940,6 +962,7 @@ public async Task ListStackResourceDriftD { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -980,6 +1003,7 @@ public async Task ListStacks(ListStacksRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1018,6 +1042,7 @@ public async Task ListTerraformVersions(ListTerra { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1056,6 +1081,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1094,6 +1120,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1132,6 +1159,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1172,6 +1200,7 @@ public async Task UpdateConfiguration { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1209,6 +1238,7 @@ public async Task UpdateJob(UpdateJobRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1252,6 +1282,7 @@ public async Task UpdateStack(UpdateStackRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Resourcesearch/ResourceSearchClient.cs b/Resourcesearch/ResourceSearchClient.cs index a3cc86fabb..2cf71c98f8 100644 --- a/Resourcesearch/ResourceSearchClient.cs +++ b/Resourcesearch/ResourceSearchClient.cs @@ -90,6 +90,7 @@ public async Task GetResourceType(GetResourceTypeReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -128,6 +129,7 @@ public async Task ListResourceTypes(ListResourceTypes { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task SearchResources(SearchResourcesReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Secrets/SecretsClient.cs b/Secrets/SecretsClient.cs index 7492fa86db..8287deddde 100644 --- a/Secrets/SecretsClient.cs +++ b/Secrets/SecretsClient.cs @@ -91,6 +91,7 @@ public async Task GetSecretBundle(GetSecretBundleReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -128,6 +129,7 @@ public async Task ListSecretBundleVersions(Lis { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Streaming/StreamAdminClient.cs b/Streaming/StreamAdminClient.cs index 011641af8c..5b0a2121f3 100644 --- a/Streaming/StreamAdminClient.cs +++ b/Streaming/StreamAdminClient.cs @@ -92,6 +92,7 @@ public async Task ChangeConnectHarnessC { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task ChangeStreamCompartment(Chang { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -169,6 +171,7 @@ public async Task ChangeStreamPoolCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -208,6 +211,7 @@ public async Task CreateConnectHarness(CreateConne { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -250,6 +254,7 @@ public async Task CreateStream(CreateStreamRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -290,6 +295,7 @@ public async Task CreateStreamPool(CreateStreamPoolReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -332,6 +338,7 @@ public async Task DeleteConnectHarness(DeleteConne { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -374,6 +381,7 @@ public async Task DeleteStream(DeleteStreamRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -413,6 +421,7 @@ public async Task DeleteStreamPool(DeleteStreamPoolReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -450,6 +459,7 @@ public async Task GetConnectHarness(GetConnectHarness { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -487,6 +497,7 @@ public async Task GetStream(GetStreamRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -524,6 +535,7 @@ public async Task GetStreamPool(GetStreamPoolRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -561,6 +573,7 @@ public async Task ListConnectHarnesses(ListConnect { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -598,6 +611,7 @@ public async Task ListStreamPools(ListStreamPoolsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -639,6 +653,7 @@ public async Task ListStreams(ListStreamsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -677,6 +692,7 @@ public async Task UpdateConnectHarness(UpdateConne { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -715,6 +731,7 @@ public async Task UpdateStream(UpdateStreamRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -753,6 +770,7 @@ public async Task UpdateStreamPool(UpdateStreamPoolReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Streaming/StreamClient.cs b/Streaming/StreamClient.cs index 24720450f1..24599f8e92 100644 --- a/Streaming/StreamClient.cs +++ b/Streaming/StreamClient.cs @@ -82,6 +82,7 @@ public async Task ConsumerCommit(ConsumerCommitRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -120,6 +121,7 @@ public async Task ConsumerHeartbeat(ConsumerHeartbeat { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -162,6 +164,7 @@ public async Task CreateCursor(CreateCursorRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -200,6 +203,7 @@ public async Task CreateGroupCursor(CreateGroupCursor { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -238,6 +242,7 @@ public async Task GetGroup(GetGroupRequest request, RetryConfi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -278,6 +283,7 @@ public async Task GetMessages(GetMessagesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -320,6 +326,7 @@ public async Task PutMessages(PutMessagesRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -358,6 +365,7 @@ public async Task UpdateGroup(UpdateGroupRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Usageapi/UsageapiClient.cs b/Usageapi/UsageapiClient.cs index 0c8906cd47..9d1981df3e 100644 --- a/Usageapi/UsageapiClient.cs +++ b/Usageapi/UsageapiClient.cs @@ -87,6 +87,7 @@ public async Task RequestSummarizedConf { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -125,6 +126,7 @@ public async Task RequestSummarizedUsages(Reque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Vault/VaultsClient.cs b/Vault/VaultsClient.cs index 7b0ae42a76..272a0089e9 100644 --- a/Vault/VaultsClient.cs +++ b/Vault/VaultsClient.cs @@ -95,6 +95,7 @@ public async Task CancelSecretDeletion(CancelSecre { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -132,6 +133,7 @@ public async Task CancelSecretVersionDeleti { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -173,6 +175,7 @@ public async Task ChangeSecretCompartment(Chang { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -213,6 +216,7 @@ public async Task CreateSecret(CreateSecretRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -250,6 +254,7 @@ public async Task GetSecret(GetSecretRequest request, RetryCo { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -288,6 +293,7 @@ public async Task GetSecretVersion(GetSecretVersionReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -325,6 +331,7 @@ public async Task ListSecretVersions(ListSecretVersi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -362,6 +369,7 @@ public async Task ListSecrets(ListSecretsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -401,6 +409,7 @@ public async Task ScheduleSecretDeletion(Schedul { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -440,6 +449,7 @@ public async Task ScheduleSecretVersionDe { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -483,6 +493,7 @@ public async Task UpdateSecret(UpdateSecretRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Waas/RedirectClient.cs b/Waas/RedirectClient.cs index e7f030cefe..39b1cc516d 100644 --- a/Waas/RedirectClient.cs +++ b/Waas/RedirectClient.cs @@ -92,6 +92,7 @@ public async Task ChangeHttpRedirectCompa { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -129,6 +130,7 @@ public async Task CreateHttpRedirect(CreateHttpRedir { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -166,6 +168,7 @@ public async Task DeleteHttpRedirect(DeleteHttpRedir { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -203,6 +206,7 @@ public async Task GetHttpRedirect(GetHttpRedirectReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -240,6 +244,7 @@ public async Task ListHttpRedirects(ListHttpRedirects { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -277,6 +282,7 @@ public async Task UpdateHttpRedirect(UpdateHttpRedir { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Waas/WaasClient.cs b/Waas/WaasClient.cs index cd86a6bb0e..e99d50667e 100644 --- a/Waas/WaasClient.cs +++ b/Waas/WaasClient.cs @@ -94,6 +94,7 @@ public async Task AcceptRecommendations(AcceptRec { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -131,6 +132,7 @@ public async Task CancelWorkRequest(CancelWorkRequest { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -171,6 +173,7 @@ public async Task ChangeAddressListCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -210,6 +213,7 @@ public async Task ChangeCertificateCompart { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -247,6 +251,7 @@ public async Task ChangeCustomPro { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -286,6 +291,7 @@ public async Task ChangeWaasPolicyCompartme { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -323,6 +329,7 @@ public async Task CreateAddressList(CreateAddressList { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -362,6 +369,7 @@ public async Task CreateCertificate(CreateCertificate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -401,6 +409,7 @@ public async Task CreateCustomProtectionRule { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -450,6 +459,7 @@ public async Task CreateWaasPolicy(CreateWaasPolicyReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -487,6 +497,7 @@ public async Task DeleteAddressList(DeleteAddressList { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -524,6 +535,7 @@ public async Task DeleteCertificate(DeleteCertificate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -561,6 +573,7 @@ public async Task DeleteCustomProtectionRule { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -598,6 +611,7 @@ public async Task DeleteWaasPolicy(DeleteWaasPolicyReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -635,6 +649,7 @@ public async Task GetAddressList(GetAddressListRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -672,6 +687,7 @@ public async Task GetCertificate(GetCertificateRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -709,6 +725,7 @@ public async Task GetCustomProtectionRule(GetCu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -746,6 +763,7 @@ public async Task GetDeviceFingerprintCha { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -783,6 +801,7 @@ public async Task GetHumanInteractionChall { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -820,6 +839,7 @@ public async Task GetJsChallenge(GetJsChallengeRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -857,6 +877,7 @@ public async Task GetPolicyConfig(GetPolicyConfigReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -894,6 +915,7 @@ public async Task GetProtectionRule(GetProtectionRule { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -931,6 +953,7 @@ public async Task GetProtectionSettings(GetProtec { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -968,6 +991,7 @@ public async Task GetWaasPolicy(GetWaasPolicyRequest requ { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1005,6 +1029,7 @@ public async Task GetWafAddressRateLimiting(G { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1042,6 +1067,7 @@ public async Task GetWafConfig(GetWafConfigRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1079,6 +1105,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1117,6 +1144,7 @@ public async Task ListAccessRules(ListAccessRulesReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1154,6 +1182,7 @@ public async Task ListAddressLists(ListAddressListsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1192,6 +1221,7 @@ public async Task ListCachingRules(ListCachingRulesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1234,6 +1264,7 @@ public async Task ListCaptchas(ListCaptchasRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1271,6 +1302,7 @@ public async Task ListCertificates(ListCertificatesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1308,6 +1340,7 @@ public async Task ListCustomProtectionRules(L { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1345,6 +1378,7 @@ public async Task ListEdgeSubnets(ListEdgeSubnetsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1385,6 +1419,7 @@ public async Task ListGoodBots(ListGoodBotsRequest request { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1423,6 +1458,7 @@ public async Task ListProtectionRules(ListProtectio { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1463,6 +1499,7 @@ public async Task ListRecommendations(ListRecommend { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1503,6 +1540,7 @@ public async Task ListThreatFeeds(ListThreatFeedsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1540,6 +1578,7 @@ public async Task ListWaasPolicies(ListWaasPoliciesReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1577,6 +1616,7 @@ public async Task ListWaasPolicyCus { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1614,6 +1654,7 @@ public async Task ListWafBlockedRequests(ListWaf { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1654,6 +1695,7 @@ public async Task ListWafLogs(ListWafLogsRequest request, R { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1694,6 +1736,7 @@ public async Task ListWafRequests(ListWafRequestsReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1733,6 +1776,7 @@ public async Task ListWafTraffic(ListWafTrafficRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1770,6 +1814,7 @@ public async Task ListWhitelists(ListWhitelistsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1807,6 +1852,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1845,6 +1891,7 @@ public async Task PurgeCache(PurgeCacheRequest request, Retr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1890,6 +1937,7 @@ public async Task UpdateAccessRules(UpdateAccessRules { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1927,6 +1975,7 @@ public async Task UpdateAddressList(UpdateAddressList { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -1970,6 +2019,7 @@ public async Task UpdateCachingRules(UpdateCachingRu { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2015,6 +2065,7 @@ public async Task UpdateCaptchas(UpdateCaptchasRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2052,6 +2103,7 @@ public async Task UpdateCertificate(UpdateCertificate { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2089,6 +2141,7 @@ public async Task UpdateCustomProtectionRule { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2130,6 +2183,7 @@ public async Task UpdateDeviceFingerpr { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2169,6 +2223,7 @@ public async Task UpdateGoodBots(UpdateGoodBotsRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2206,6 +2261,7 @@ public async Task UpdateHumanInteractio { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2243,6 +2299,7 @@ public async Task UpdateJsChallenge(UpdateJsChallenge { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2280,6 +2337,7 @@ public async Task UpdatePolicyConfig(UpdatePolicyCon { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2319,6 +2377,7 @@ public async Task UpdateProtectionRules(UpdatePro { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2356,6 +2415,7 @@ public async Task UpdateProtectionSettings(Upd { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2393,6 +2453,7 @@ public async Task UpdateThreatFeeds(UpdateThreatFeeds { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2432,6 +2493,7 @@ public async Task UpdateWaasPolicy(UpdateWaasPolicyReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2469,6 +2531,7 @@ public async Task UpdateWaasPolic { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2506,6 +2569,7 @@ public async Task UpdateWafAddressRateLimi { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2551,6 +2615,7 @@ public async Task UpdateWafConfig(UpdateWafConfigReques { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -2596,6 +2661,7 @@ public async Task UpdateWhitelists(UpdateWhitelistsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } diff --git a/Workrequests/WorkRequestClient.cs b/Workrequests/WorkRequestClient.cs index 8b44f5a6a9..71ec1b0777 100644 --- a/Workrequests/WorkRequestClient.cs +++ b/Workrequests/WorkRequestClient.cs @@ -92,6 +92,7 @@ public async Task GetWorkRequest(GetWorkRequestRequest r { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -130,6 +131,7 @@ public async Task ListWorkRequestErrors(ListWorkR { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -168,6 +170,7 @@ public async Task ListWorkRequestLogs(ListWorkReque { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); } @@ -206,6 +209,7 @@ public async Task ListWorkRequests(ListWorkRequestsReq { responseMessage = await this.restClient.HttpSend(requestMessage); } + this.restClient.CheckHttpResponseMessage(requestMessage, responseMessage); return Converter.FromHttpResponseMessage(responseMessage); }