diff --git a/CHANGELOG.md b/CHANGELOG.md
index fca019944..c635981ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,148 @@
+# 3.1.114 2024-09-26
+
+### HuaweiCloud SDK CCE
+
+- _API Version_
+ - V3
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **ShowNode**
+ - changes of response param
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **UpdateNode**
+ - changes of response param
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **DeleteNode**
+ - changes of response param
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **CreateNode**
+ - changes of request param
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - changes of response param
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **ListNodes**
+ - changes of response param
+ - `+ items.spec.rootVolume.iops`
+ - `+ items.spec.rootVolume.throughput`
+ - `+ items.spec.storage.storageSelectors.matchLabels.iops`
+ - `+ items.spec.storage.storageSelectors.matchLabels.throughput`
+ - **ShowNodePool**
+ - changes of response param
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **UpdateNodePool**
+ - changes of response param
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **DeleteNodePool**
+ - changes of response param
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **AddNode**
+ - changes of request param
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.iops`
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.throughput`
+ - **ResetNode**
+ - changes of request param
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.iops`
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.throughput`
+ - **CreateNodePool**
+ - changes of request param
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - changes of response param
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **ListNodePools**
+ - changes of response param
+ - `+ items.spec.nodeTemplate.rootVolume.iops`
+ - `+ items.spec.nodeTemplate.rootVolume.throughput`
+ - `+ items.spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ items.spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+
+### HuaweiCloud SDK CES
+
+- _API Version_
+ - V2
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **CreateAlarmRules**
+ - changes of request param
+ - `+ tags`
+
+### HuaweiCloud SDK DDS
+
+- _API Version_
+ - V3
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **ResizeInstance**
+ - changes of request param
+ - `+ resize.target_type: enum value [config,readonly]`
+
+### HuaweiCloud SDK Live
+
+- _API Version_
+ - V1
+- _Features_
+ - Support the following APIs:
+ - `ListHarvestTask`
+ - `ModifyHarvestTask`
+ - `CreateHarvestTask`
+ - `DeleteHarvestTask`
+ - `UpdateHarvestJobStatus`
+- _Bug Fix_
+ - None
+- _Change_
+ - None
+
+### HuaweiCloud SDK VPCEP
+
+- _API Version_
+ - V1
+- _Features_
+ - None
+- _Bug Fix_
+ - None
+- _Change_
+ - **CreateEndpointService**
+ - changes of request param
+ - `+ snat_network_id`
+
# 3.1.113 2024-09-23
### HuaweiCloud SDK AOM
diff --git a/CHANGELOG_CN.md b/CHANGELOG_CN.md
index 47ce738c5..8ce784106 100644
--- a/CHANGELOG_CN.md
+++ b/CHANGELOG_CN.md
@@ -1,3 +1,148 @@
+# 3.1.114 2024-09-26
+
+### HuaweiCloud SDK CCE
+
+- _接口版本_
+ - V3
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **ShowNode**
+ - 响应参数变更
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **UpdateNode**
+ - 响应参数变更
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **DeleteNode**
+ - 响应参数变更
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **CreateNode**
+ - 请求参数变更
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - 响应参数变更
+ - `+ spec.rootVolume.iops`
+ - `+ spec.rootVolume.throughput`
+ - `+ spec.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.storage.storageSelectors.matchLabels.throughput`
+ - **ListNodes**
+ - 响应参数变更
+ - `+ items.spec.rootVolume.iops`
+ - `+ items.spec.rootVolume.throughput`
+ - `+ items.spec.storage.storageSelectors.matchLabels.iops`
+ - `+ items.spec.storage.storageSelectors.matchLabels.throughput`
+ - **ShowNodePool**
+ - 响应参数变更
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **UpdateNodePool**
+ - 响应参数变更
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **DeleteNodePool**
+ - 响应参数变更
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **AddNode**
+ - 请求参数变更
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.iops`
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.throughput`
+ - **ResetNode**
+ - 请求参数变更
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.iops`
+ - `+ nodeList.spec.volumeConfig.storage.storageSelectors.matchLabels.throughput`
+ - **CreateNodePool**
+ - 请求参数变更
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - 响应参数变更
+ - `+ spec.nodeTemplate.rootVolume.iops`
+ - `+ spec.nodeTemplate.rootVolume.throughput`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+ - **ListNodePools**
+ - 响应参数变更
+ - `+ items.spec.nodeTemplate.rootVolume.iops`
+ - `+ items.spec.nodeTemplate.rootVolume.throughput`
+ - `+ items.spec.nodeTemplate.storage.storageSelectors.matchLabels.iops`
+ - `+ items.spec.nodeTemplate.storage.storageSelectors.matchLabels.throughput`
+
+### HuaweiCloud SDK CES
+
+- _接口版本_
+ - V2
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **CreateAlarmRules**
+ - 请求参数变更
+ - `+ tags`
+
+### HuaweiCloud SDK DDS
+
+- _接口版本_
+ - V3
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **ResizeInstance**
+ - 请求参数变更
+ - `+ resize.target_type: enum value [config,readonly]`
+
+### HuaweiCloud SDK Live
+
+- _接口版本_
+ - V1
+- _新增特性_
+ - 支持以下接口:
+ - `ListHarvestTask`
+ - `ModifyHarvestTask`
+ - `CreateHarvestTask`
+ - `DeleteHarvestTask`
+ - `UpdateHarvestJobStatus`
+- _解决问题_
+ - 无
+- _特性变更_
+ - 无
+
+### HuaweiCloud SDK VPCEP
+
+- _接口版本_
+ - V1
+- _新增特性_
+ - 无
+- _解决问题_
+ - 无
+- _特性变更_
+ - **CreateEndpointService**
+ - 请求参数变更
+ - `+ snat_network_id`
+
# 3.1.113 2024-09-23
### HuaweiCloud SDK AOM
diff --git a/HuaweiCloud.sln b/HuaweiCloud.sln
index 9b008f874..3cdf250b4 100644
--- a/HuaweiCloud.sln
+++ b/HuaweiCloud.sln
@@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26124.0
MinimumVisualStudioVersion = 15.0.26124.0
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{F3CCFBCB-0587-4BE0-B269-3265ED41F655}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Core", "Core\Core.csproj", "{E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}"
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{C0689E35-9172-4A39-B401-C8750C0A3496}"
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{86BBAE02-C1F1-40F1-B927-16121745EDDF}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Geip", "Services\Geip\Geip.csproj", "{23b1d5ea-92c1-4181-9023-ae7400b70586}"
EndProject
@@ -150,18 +150,18 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Debug|x64.ActiveCfg = Debug|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Debug|x64.Build.0 = Debug|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Debug|x86.ActiveCfg = Debug|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Debug|x86.Build.0 = Debug|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Release|Any CPU.Build.0 = Release|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Release|x64.ActiveCfg = Release|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Release|x64.Build.0 = Release|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Release|x86.ActiveCfg = Release|Any CPU
- {F3CCFBCB-0587-4BE0-B269-3265ED41F655}.Release|x86.Build.0 = Release|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Debug|x64.Build.0 = Debug|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Debug|x86.Build.0 = Debug|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Release|x64.ActiveCfg = Release|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Release|x64.Build.0 = Release|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Release|x86.ActiveCfg = Release|Any CPU
+ {E0CC8435-FEF1-40BB-BE89-B83C9A6A0EEC}.Release|x86.Build.0 = Release|Any CPU
{23b1d5ea-92c1-4181-9023-ae7400b70586}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{23b1d5ea-92c1-4181-9023-ae7400b70586}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23b1d5ea-92c1-4181-9023-ae7400b70586}.Debug|x64.ActiveCfg = Debug|Any CPU
@@ -944,64 +944,64 @@ Global
{e132bcfb-d39d-4c85-bf7f-05c9c1b5b53d}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
- {23b1d5ea-92c1-4181-9023-ae7400b70586} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {8d3dd4fd-9ba0-4069-8770-78f7a8ea5f64} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {13f5a69f-6a51-4b5e-a27d-4dde47e6c3d0} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {96f50236-7030-47ab-af32-bb76484fad1c} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {F7ABA0D7-E3F9-4F81-BAA3-7A327D52228A} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {c66dd549-8ef4-48f1-a85b-eaffaa736cee} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {c3aaea74-f41e-4c56-b64e-7a2496ff6551} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {2f67a6e0-a581-11ee-9380-fa163e9f5a2f} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {ABF52EA6-B4B8-49B2-8C7E-9F110B3C91C2} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {6F5501D3-A74F-DA56-DB4E-B8B3AAA3C7CD} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {1E3501D3-A14A-DA16-A148-B8B3ABA3C7AD} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {ECB1152B-9F28-414F-B3E8-B596E421779B} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {38F2C59A-6FAA-498E-9DAB-6CE2640A539A} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {defe4a95-5592-47cc-8dee-9810e0da0ba0} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {D5AE7329-60CD-49A7-B9F9-15E9D6D44FB5} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {00dd2678-7092-4cf6-999d-0f0a388380ac} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {3172c815-5fea-43e0-9589-8ab6f4af2866} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {456c6dc7-f610-410e-85a1-189ba73f1e43} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {96f50236-7030-47ab-af32-bb76484fadec} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {a4aaea74-f41e-4c56-b64e-7a2496ff4351} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {D9FEA963-ED3C-416B-B01E-1FF7EE009EA4} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {19056dcc-ac24-455a-a682-13cd1f3f833f} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {d3bbfb85-g52f-5d67-c75f-8b3507gg7662} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {659dc7e7-ee5b-4033-9cf0-7b8dc00fd88e} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {e8a48cd8-ef7c-4188-8ddf-644f38d61441} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {8ec38b48-4730-49fb-a033-efbd5fe74b08} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {b5175f42-1803-b19d-c5cc-b1c5514b815c} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {c3aaea74-f41e-4c56-b64e-7a2496ff6562} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {B6D999F9-9335-433F-BCD2-1E07409AFA39} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {728A1394-22BB-4889-AAF7-037CD1EF431A} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {1f0af3bf-e48a-7329-2e45-531f3a8e3bcb} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {e8bfe266-7dcb-417d-b714-925b4bb3bd89} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {3dbd55e0-4b6b-03fe-f82f-961c2fc28386} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {f77fb0de-9056-11eb-8219-f26d2774ac7a} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {09E55113-08BD-46BC-B5A3-6440F4410AC8} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {0137ded9-5bc8-225e-64fc-40bf5d3fb59a} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {00dd2678-7092-4cf6-999d-0f0a388380af} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {E2E79C4D-9E38-443B-BF8B-83C087271443} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {1635d3a9-f723-4184-8328-018a761bb661} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {5B7BFA6B-B85E-4222-8988-16CCF9558393} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {3b6da37f-829b-a36b-0ea5-75d979c938e3} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {38D1B59C-9F0A-648E-9DAB-6CE4640A539A} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {e8d81a83-6722-4338-b788-f22e76c31a50} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {e4b6779e-2b75-492b-a149-7bc5a58e9469} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {33B457D0-A3A8-416E-9FE4-72ECDA5CF07A} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {2763ec40-c4dd-11ea-87d0-0242ac130003} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {12F2C43A-6FAA-437E-9DAB-6CE8640A524A} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {ec1125a1-e08d-4545-a8d0-c9787c86755c} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {0cd2eacf-3743-4b4c-9543-6362a4030dde} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {545A5E74-C543-429F-A2EF-1D39572628EE} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {12cf972d-1c2b-80a1-33cc-056e6677ea5c} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {535cfc94-6d5b-4da2-bbbd-e9faa9014012} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {00b194c9-0ebc-4c24-86c2-6f1fb9d9745e} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {C8CF1423-EE6F-4F1B-9C4C-A11AC125B212} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {9e4cf877-53e0-4d2f-b351-e27bd8d907c1} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {518fb927-ab1a-5842-3e93-5eed07ab0023} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {6e957ba4-f20d-4c38-96ce-0e73f35c8bb5} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {59BA4A17-DFE9-4A67-A5F6-A49AA24965AF} = {C0689E35-9172-4A39-B401-C8750C0A3496}
- {e132bcfb-d39d-4c85-bf7f-05c9c1b5b53d} = {C0689E35-9172-4A39-B401-C8750C0A3496}
+ {23b1d5ea-92c1-4181-9023-ae7400b70586} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {8d3dd4fd-9ba0-4069-8770-78f7a8ea5f64} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {13f5a69f-6a51-4b5e-a27d-4dde47e6c3d0} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {96f50236-7030-47ab-af32-bb76484fad1c} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {F7ABA0D7-E3F9-4F81-BAA3-7A327D52228A} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {c66dd549-8ef4-48f1-a85b-eaffaa736cee} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {c3aaea74-f41e-4c56-b64e-7a2496ff6551} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {2f67a6e0-a581-11ee-9380-fa163e9f5a2f} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {ABF52EA6-B4B8-49B2-8C7E-9F110B3C91C2} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {6F5501D3-A74F-DA56-DB4E-B8B3AAA3C7CD} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {1E3501D3-A14A-DA16-A148-B8B3ABA3C7AD} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {ECB1152B-9F28-414F-B3E8-B596E421779B} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {38F2C59A-6FAA-498E-9DAB-6CE2640A539A} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {defe4a95-5592-47cc-8dee-9810e0da0ba0} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {D5AE7329-60CD-49A7-B9F9-15E9D6D44FB5} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {00dd2678-7092-4cf6-999d-0f0a388380ac} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {3172c815-5fea-43e0-9589-8ab6f4af2866} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {456c6dc7-f610-410e-85a1-189ba73f1e43} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {96f50236-7030-47ab-af32-bb76484fadec} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {a4aaea74-f41e-4c56-b64e-7a2496ff4351} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {D9FEA963-ED3C-416B-B01E-1FF7EE009EA4} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {19056dcc-ac24-455a-a682-13cd1f3f833f} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {d3bbfb85-g52f-5d67-c75f-8b3507gg7662} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {659dc7e7-ee5b-4033-9cf0-7b8dc00fd88e} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {e8a48cd8-ef7c-4188-8ddf-644f38d61441} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {8ec38b48-4730-49fb-a033-efbd5fe74b08} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {b5175f42-1803-b19d-c5cc-b1c5514b815c} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {c3aaea74-f41e-4c56-b64e-7a2496ff6562} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {B6D999F9-9335-433F-BCD2-1E07409AFA39} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {728A1394-22BB-4889-AAF7-037CD1EF431A} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {1f0af3bf-e48a-7329-2e45-531f3a8e3bcb} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {e8bfe266-7dcb-417d-b714-925b4bb3bd89} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {3dbd55e0-4b6b-03fe-f82f-961c2fc28386} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {f77fb0de-9056-11eb-8219-f26d2774ac7a} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {09E55113-08BD-46BC-B5A3-6440F4410AC8} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {0137ded9-5bc8-225e-64fc-40bf5d3fb59a} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {00dd2678-7092-4cf6-999d-0f0a388380af} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {E2E79C4D-9E38-443B-BF8B-83C087271443} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {1635d3a9-f723-4184-8328-018a761bb661} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {5B7BFA6B-B85E-4222-8988-16CCF9558393} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {3b6da37f-829b-a36b-0ea5-75d979c938e3} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {38D1B59C-9F0A-648E-9DAB-6CE4640A539A} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {e8d81a83-6722-4338-b788-f22e76c31a50} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {e4b6779e-2b75-492b-a149-7bc5a58e9469} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {33B457D0-A3A8-416E-9FE4-72ECDA5CF07A} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {2763ec40-c4dd-11ea-87d0-0242ac130003} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {12F2C43A-6FAA-437E-9DAB-6CE8640A524A} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {ec1125a1-e08d-4545-a8d0-c9787c86755c} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {0cd2eacf-3743-4b4c-9543-6362a4030dde} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {545A5E74-C543-429F-A2EF-1D39572628EE} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {12cf972d-1c2b-80a1-33cc-056e6677ea5c} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {535cfc94-6d5b-4da2-bbbd-e9faa9014012} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {00b194c9-0ebc-4c24-86c2-6f1fb9d9745e} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {C8CF1423-EE6F-4F1B-9C4C-A11AC125B212} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {9e4cf877-53e0-4d2f-b351-e27bd8d907c1} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {518fb927-ab1a-5842-3e93-5eed07ab0023} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {6e957ba4-f20d-4c38-96ce-0e73f35c8bb5} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {59BA4A17-DFE9-4A67-A5F6-A49AA24965AF} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
+ {e132bcfb-d39d-4c85-bf7f-05c9c1b5b53d} = {86BBAE02-C1F1-40F1-B927-16121745EDDF}
EndGlobalSection
EndGlobal
diff --git a/Services/Aad/Aad.csproj b/Services/Aad/Aad.csproj
index 163b0f3f1..0eae0bb38 100644
--- a/Services/Aad/Aad.csproj
+++ b/Services/Aad/Aad.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Aad
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/AntiDDoS/AntiDDoS.csproj b/Services/AntiDDoS/AntiDDoS.csproj
index 298ef801e..3920d0cf1 100644
--- a/Services/AntiDDoS/AntiDDoS.csproj
+++ b/Services/AntiDDoS/AntiDDoS.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.AntiDDoS
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Aom/Aom.csproj b/Services/Aom/Aom.csproj
index 601421e24..51b6c1295 100644
--- a/Services/Aom/Aom.csproj
+++ b/Services/Aom/Aom.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Aom
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Aos/Aos.csproj b/Services/Aos/Aos.csproj
index 8c0de8bd4..069931e1c 100644
--- a/Services/Aos/Aos.csproj
+++ b/Services/Aos/Aos.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Aos
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/As/As.csproj b/Services/As/As.csproj
index 397e7d075..30efb665c 100644
--- a/Services/As/As.csproj
+++ b/Services/As/As.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.As
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Bms/Bms.csproj b/Services/Bms/Bms.csproj
index fb3c25329..a0f8a7527 100644
--- a/Services/Bms/Bms.csproj
+++ b/Services/Bms/Bms.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Bms
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Cbr/Cbr.csproj b/Services/Cbr/Cbr.csproj
index b9fa42a99..9438a77b9 100644
--- a/Services/Cbr/Cbr.csproj
+++ b/Services/Cbr/Cbr.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Cbr
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Cce/Cce.csproj b/Services/Cce/Cce.csproj
index 975ea1a72..ad2f7d0f8 100644
--- a/Services/Cce/Cce.csproj
+++ b/Services/Cce/Cce.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Cce
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Cce/V3/Model/StorageSelectorsMatchLabels.cs b/Services/Cce/V3/Model/StorageSelectorsMatchLabels.cs
index 77017a80d..8f3053b08 100644
--- a/Services/Cce/V3/Model/StorageSelectorsMatchLabels.cs
+++ b/Services/Cce/V3/Model/StorageSelectorsMatchLabels.cs
@@ -11,7 +11,7 @@
namespace HuaweiCloud.SDK.Cce.V3.Model
{
///
- /// evs盘的匹配字段,支持DataVolume中的size、volumeType、metadataEncrypted、metadataCmkid、count五个字段。
+ /// evs盘的匹配字段,支持DataVolume中的size、volumeType、[iops、throughput、](tag:hws)metadataEncrypted、metadataCmkid、count字段。
///
public class StorageSelectorsMatchLabels
{
@@ -28,6 +28,18 @@ public class StorageSelectorsMatchLabels
[JsonProperty("volumeType", NullValueHandling = NullValueHandling.Ignore)]
public string VolumeType { get; set; }
+ ///
+ /// 匹配的磁盘iops大小,不填则无磁盘iops大小限制。当需要选择GPSSD2或ESSD2类型磁盘时,配置iops来准确选择磁盘。例如:3000.
+ ///
+ [JsonProperty("iops", NullValueHandling = NullValueHandling.Ignore)]
+ public string Iops { get; set; }
+
+ ///
+ /// 匹配的磁盘吞吐量大小,不填则无磁盘吞吐量大小限制。当需要选择GPSSD2类型磁盘时,配置throughput来准确选择磁盘。例如:125.
+ ///
+ [JsonProperty("throughput", NullValueHandling = NullValueHandling.Ignore)]
+ public string Throughput { get; set; }
+
///
/// 磁盘加密标识符,0代表不加密,1代表加密。
///
@@ -57,6 +69,8 @@ public override string ToString()
sb.Append("class StorageSelectorsMatchLabels {\n");
sb.Append(" size: ").Append(Size).Append("\n");
sb.Append(" volumeType: ").Append(VolumeType).Append("\n");
+ sb.Append(" iops: ").Append(Iops).Append("\n");
+ sb.Append(" throughput: ").Append(Throughput).Append("\n");
sb.Append(" metadataEncrypted: ").Append(MetadataEncrypted).Append("\n");
sb.Append(" metadataCmkid: ").Append(MetadataCmkid).Append("\n");
sb.Append(" count: ").Append(Count).Append("\n");
@@ -91,6 +105,16 @@ public bool Equals(StorageSelectorsMatchLabels input)
(this.VolumeType != null &&
this.VolumeType.Equals(input.VolumeType))
) &&
+ (
+ this.Iops == input.Iops ||
+ (this.Iops != null &&
+ this.Iops.Equals(input.Iops))
+ ) &&
+ (
+ this.Throughput == input.Throughput ||
+ (this.Throughput != null &&
+ this.Throughput.Equals(input.Throughput))
+ ) &&
(
this.MetadataEncrypted == input.MetadataEncrypted ||
(this.MetadataEncrypted != null &&
@@ -120,6 +144,10 @@ public override int GetHashCode()
hashCode = hashCode * 59 + this.Size.GetHashCode();
if (this.VolumeType != null)
hashCode = hashCode * 59 + this.VolumeType.GetHashCode();
+ if (this.Iops != null)
+ hashCode = hashCode * 59 + this.Iops.GetHashCode();
+ if (this.Throughput != null)
+ hashCode = hashCode * 59 + this.Throughput.GetHashCode();
if (this.MetadataEncrypted != null)
hashCode = hashCode * 59 + this.MetadataEncrypted.GetHashCode();
if (this.MetadataCmkid != null)
diff --git a/Services/Cce/V3/Model/Volume.cs b/Services/Cce/V3/Model/Volume.cs
index 0d6d5c43d..7ef853a28 100644
--- a/Services/Cce/V3/Model/Volume.cs
+++ b/Services/Cce/V3/Model/Volume.cs
@@ -23,11 +23,23 @@ public class Volume
public int? Size { get; set; }
///
- /// 磁盘类型,取值请参见创建云服务器 中“root_volume字段数据结构说明”。 - SAS:高IO,是指由SAS存储提供资源的磁盘类型。 - SSD:超高IO,是指由SSD存储提供资源的磁盘类型。 - SATA:普通IO,是指由SATA存储提供资源的磁盘类型。EVS已下线SATA磁盘,仅存量节点有此类型的磁盘。 [- ESSD:通用型SSD云硬盘,是指由SSD存储提供资源的磁盘类型。](tag:hws) [- GPSDD:通用型SSD云硬盘,是指由SSD存储提供资源的磁盘类型。](tag:hws) [> 了解不同磁盘类型的详细信息,链接请参见[创建云服务器](https://support.huaweicloud.com/productdesc-evs/zh-cn_topic_0044524691.html)。](tag:hws)
+ /// 磁盘类型,取值请参见创建云服务器 中“root_volume字段数据结构说明”。 - SAS:高IO,是指由SAS存储提供资源的磁盘类型。 - SSD:超高IO,是指由SSD存储提供资源的磁盘类型。 - SATA:普通IO,是指由SATA存储提供资源的磁盘类型。EVS已下线SATA磁盘,仅存量节点有此类型的磁盘。 [- ESSD:通用型SSD云硬盘,是指由SSD存储提供资源的磁盘类型。](tag:hws) [- GPSDD:通用型SSD云硬盘,是指由SSD存储提供资源的磁盘类型。](tag:hws) [- ESSD2:极速型SSD V2云硬盘,是指由极速型SSD V2存储提供资源的磁盘类型。](tag:hws) [- GPSSD2:通用型SSD V2云硬盘,是指由通用型SSD V2存储提供资源的磁盘类型。](tag:hws) [> 了解不同磁盘类型的详细信息,链接请参见[创建云服务器](https://support.huaweicloud.com/productdesc-evs/zh-cn_topic_0044524691.html)。](tag:hws)
///
[JsonProperty("volumetype", NullValueHandling = NullValueHandling.Ignore)]
public string Volumetype { get; set; }
+ ///
+ /// 给云硬盘配置iops,购买GPSSD2、ESSD2类型的云硬盘时必填,其他类型不能设置。 > - 只支持按需计费。 > - 了解GPSSD2、ESSD2类型的iops大小范围,请参见[云硬盘类型及性能介绍里面的云硬盘性能数据表](https://support.huaweicloud.com/productdesc-evs/zh-cn_topic_0044524691.html)。
+ ///
+ [JsonProperty("iops", NullValueHandling = NullValueHandling.Ignore)]
+ public int? Iops { get; set; }
+
+ ///
+ /// 给云硬盘配置吞吐量,单位是MiB/s,购买GPSSD2类型云硬盘时必填,其他类型不能设置。 > - 只支持按需计费。 > - 了解GPSSD2类型的吞吐量大小范围,请参见[云硬盘类型及性能介绍里面的云硬盘性能数据表](https://support.huaweicloud.com/productdesc-evs/zh-cn_topic_0044524691.html)。
+ ///
+ [JsonProperty("throughput", NullValueHandling = NullValueHandling.Ignore)]
+ public int? Throughput { get; set; }
+
///
/// 磁盘扩展参数,取值请参见创建云服务器中“extendparam”参数的描述。 [链接请参见[创建云服务器](https://support.huaweicloud.com/api-ecs/zh-cn_topic_0020212668.html)](tag:hws) [链接请参见[创建云服务器](https://support.huaweicloud.com/intl/zh-cn/api-ecs/zh-cn_topic_0020212668.html)](tag:hws_hk)
///
@@ -69,6 +81,8 @@ public override string ToString()
sb.Append("class Volume {\n");
sb.Append(" size: ").Append(Size).Append("\n");
sb.Append(" volumetype: ").Append(Volumetype).Append("\n");
+ sb.Append(" iops: ").Append(Iops).Append("\n");
+ sb.Append(" throughput: ").Append(Throughput).Append("\n");
sb.Append(" extendParam: ").Append(ExtendParam).Append("\n");
sb.Append(" clusterId: ").Append(ClusterId).Append("\n");
sb.Append(" clusterType: ").Append(ClusterType).Append("\n");
@@ -105,6 +119,16 @@ public bool Equals(Volume input)
(this.Volumetype != null &&
this.Volumetype.Equals(input.Volumetype))
) &&
+ (
+ this.Iops == input.Iops ||
+ (this.Iops != null &&
+ this.Iops.Equals(input.Iops))
+ ) &&
+ (
+ this.Throughput == input.Throughput ||
+ (this.Throughput != null &&
+ this.Throughput.Equals(input.Throughput))
+ ) &&
(
this.ExtendParam == input.ExtendParam ||
this.ExtendParam != null &&
@@ -145,6 +169,10 @@ public override int GetHashCode()
hashCode = hashCode * 59 + this.Size.GetHashCode();
if (this.Volumetype != null)
hashCode = hashCode * 59 + this.Volumetype.GetHashCode();
+ if (this.Iops != null)
+ hashCode = hashCode * 59 + this.Iops.GetHashCode();
+ if (this.Throughput != null)
+ hashCode = hashCode * 59 + this.Throughput.GetHashCode();
if (this.ExtendParam != null)
hashCode = hashCode * 59 + this.ExtendParam.GetHashCode();
if (this.ClusterId != null)
diff --git a/Services/Cdn/Cdn.csproj b/Services/Cdn/Cdn.csproj
index 943b5d856..eb658aed2 100644
--- a/Services/Cdn/Cdn.csproj
+++ b/Services/Cdn/Cdn.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Cdn
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ces/Ces.csproj b/Services/Ces/Ces.csproj
index ae40030b3..a99973dd9 100644
--- a/Services/Ces/Ces.csproj
+++ b/Services/Ces/Ces.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Ces
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ces/V1/Region/CesRegion.cs b/Services/Ces/V1/Region/CesRegion.cs
index b1d9530a3..b3603d515 100644
--- a/Services/Ces/V1/Region/CesRegion.cs
+++ b/Services/Ces/V1/Region/CesRegion.cs
@@ -57,6 +57,10 @@ public class CesRegion
"https://ces.cn-south-2.myhuaweicloud.com");
public static readonly Region CN_SOUTH_4 = new Region("cn-south-4",
"https://ces.cn-south-4.myhuaweicloud.com");
+ public static readonly Region CN_EAST_4 = new Region("cn-east-4",
+ "https://ces.cn-east-4.myhuaweicloud.com");
+ public static readonly Region AF_NORTH_1 = new Region("af-north-1",
+ "https://ces.af-north-1.myhuaweicloud.com");
private static readonly IRegionProvider Provider = RegionProviderChain.GetDefault("CES");
@@ -87,6 +91,8 @@ public class CesRegion
{ "ru-moscow-1", RU_MOSCOW_1 },
{ "cn-south-2", CN_SOUTH_2 },
{ "cn-south-4", CN_SOUTH_4 },
+ { "cn-east-4", CN_EAST_4 },
+ { "af-north-1", AF_NORTH_1 },
};
public static Region ValueOf(string regionId)
diff --git a/Services/Ces/V2/Model/PostAlarmsReqV2.cs b/Services/Ces/V2/Model/PostAlarmsReqV2.cs
index be67d713f..ddece9f43 100644
--- a/Services/Ces/V2/Model/PostAlarmsReqV2.cs
+++ b/Services/Ces/V2/Model/PostAlarmsReqV2.cs
@@ -52,6 +52,12 @@ public class PostAlarmsReqV2
[JsonProperty("alarm_template_id", NullValueHandling = NullValueHandling.Ignore)]
public string AlarmTemplateId { get; set; }
+ ///
+ /// 租户标签列表
+ ///
+ [JsonProperty("tags", NullValueHandling = NullValueHandling.Ignore)]
+ public List Tags { get; set; }
+
///
/// 告警策略,当alarm_template_id字段为空时必填,不为空时不填
///
@@ -120,6 +126,7 @@ public override string ToString()
sb.Append(" resourceGroupId: ").Append(ResourceGroupId).Append("\n");
sb.Append(" resources: ").Append(Resources).Append("\n");
sb.Append(" alarmTemplateId: ").Append(AlarmTemplateId).Append("\n");
+ sb.Append(" tags: ").Append(Tags).Append("\n");
sb.Append(" policies: ").Append(Policies).Append("\n");
sb.Append(" type: ").Append(Type).Append("\n");
sb.Append(" alarmNotifications: ").Append(AlarmNotifications).Append("\n");
@@ -181,6 +188,12 @@ public bool Equals(PostAlarmsReqV2 input)
(this.AlarmTemplateId != null &&
this.AlarmTemplateId.Equals(input.AlarmTemplateId))
) &&
+ (
+ this.Tags == input.Tags ||
+ this.Tags != null &&
+ input.Tags != null &&
+ this.Tags.SequenceEqual(input.Tags)
+ ) &&
(
this.Policies == input.Policies ||
this.Policies != null &&
@@ -251,6 +264,8 @@ public override int GetHashCode()
hashCode = hashCode * 59 + this.Resources.GetHashCode();
if (this.AlarmTemplateId != null)
hashCode = hashCode * 59 + this.AlarmTemplateId.GetHashCode();
+ if (this.Tags != null)
+ hashCode = hashCode * 59 + this.Tags.GetHashCode();
if (this.Policies != null)
hashCode = hashCode * 59 + this.Policies.GetHashCode();
if (this.Type != null)
diff --git a/Services/Ces/V2/Model/ResourceTag.cs b/Services/Ces/V2/Model/ResourceTag.cs
new file mode 100644
index 000000000..4b1e4606c
--- /dev/null
+++ b/Services/Ces/V2/Model/ResourceTag.cs
@@ -0,0 +1,91 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Ces.V2.Model
+{
+ ///
+ /// 资源标签
+ ///
+ public class ResourceTag
+ {
+
+ ///
+ /// 键;最大长度128个unicode字符。
+ ///
+ [JsonProperty("key", NullValueHandling = NullValueHandling.Ignore)]
+ public string Key { get; set; }
+
+ ///
+ /// 值。最大长度255个unicode字符。
+ ///
+ [JsonProperty("value", NullValueHandling = NullValueHandling.Ignore)]
+ public string Value { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class ResourceTag {\n");
+ sb.Append(" key: ").Append(Key).Append("\n");
+ sb.Append(" value: ").Append(Value).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ResourceTag);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(ResourceTag input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.Key == input.Key ||
+ (this.Key != null &&
+ this.Key.Equals(input.Key))
+ ) &&
+ (
+ this.Value == input.Value ||
+ (this.Value != null &&
+ this.Value.Equals(input.Value))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.Key != null)
+ hashCode = hashCode * 59 + this.Key.GetHashCode();
+ if (this.Value != null)
+ hashCode = hashCode * 59 + this.Value.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Ces/V2/Region/CesRegion.cs b/Services/Ces/V2/Region/CesRegion.cs
index 50020ee10..eaa91d551 100644
--- a/Services/Ces/V2/Region/CesRegion.cs
+++ b/Services/Ces/V2/Region/CesRegion.cs
@@ -57,6 +57,10 @@ public class CesRegion
"https://ces.cn-south-2.myhuaweicloud.com");
public static readonly Region CN_SOUTH_4 = new Region("cn-south-4",
"https://ces.cn-south-4.myhuaweicloud.com");
+ public static readonly Region CN_EAST_4 = new Region("cn-east-4",
+ "https://ces.cn-east-4.myhuaweicloud.com");
+ public static readonly Region AF_NORTH_1 = new Region("af-north-1",
+ "https://ces.af-north-1.myhuaweicloud.com");
private static readonly IRegionProvider Provider = RegionProviderChain.GetDefault("CES");
@@ -87,6 +91,8 @@ public class CesRegion
{ "ru-moscow-1", RU_MOSCOW_1 },
{ "cn-south-2", CN_SOUTH_2 },
{ "cn-south-4", CN_SOUTH_4 },
+ { "cn-east-4", CN_EAST_4 },
+ { "af-north-1", AF_NORTH_1 },
};
public static Region ValueOf(string regionId)
diff --git a/Services/Ces/V3/Region/CesRegion.cs b/Services/Ces/V3/Region/CesRegion.cs
index d716981dc..3663d7bf9 100644
--- a/Services/Ces/V3/Region/CesRegion.cs
+++ b/Services/Ces/V3/Region/CesRegion.cs
@@ -57,6 +57,10 @@ public class CesRegion
"https://ces.cn-south-2.myhuaweicloud.com");
public static readonly Region CN_SOUTH_4 = new Region("cn-south-4",
"https://ces.cn-south-4.myhuaweicloud.com");
+ public static readonly Region CN_EAST_4 = new Region("cn-east-4",
+ "https://ces.cn-east-4.myhuaweicloud.com");
+ public static readonly Region AF_NORTH_1 = new Region("af-north-1",
+ "https://ces.af-north-1.myhuaweicloud.com");
private static readonly IRegionProvider Provider = RegionProviderChain.GetDefault("CES");
@@ -87,6 +91,8 @@ public class CesRegion
{ "ru-moscow-1", RU_MOSCOW_1 },
{ "cn-south-2", CN_SOUTH_2 },
{ "cn-south-4", CN_SOUTH_4 },
+ { "cn-east-4", CN_EAST_4 },
+ { "af-north-1", AF_NORTH_1 },
};
public static Region ValueOf(string regionId)
diff --git a/Services/Cfw/Cfw.csproj b/Services/Cfw/Cfw.csproj
index 7139f3bde..a0fcaec26 100644
--- a/Services/Cfw/Cfw.csproj
+++ b/Services/Cfw/Cfw.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Cfw
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Classroom/Classroom.csproj b/Services/Classroom/Classroom.csproj
index 32d6b4431..e40b6f4c8 100644
--- a/Services/Classroom/Classroom.csproj
+++ b/Services/Classroom/Classroom.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Classroom
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/CloudRtc/CloudRtc.csproj b/Services/CloudRtc/CloudRtc.csproj
index d342ac428..6107a8257 100644
--- a/Services/CloudRtc/CloudRtc.csproj
+++ b/Services/CloudRtc/CloudRtc.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.CloudRtc
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/CodeArtsBuild/CodeArtsBuild.csproj b/Services/CodeArtsBuild/CodeArtsBuild.csproj
index 1ec5cda2c..a8a751ad8 100644
--- a/Services/CodeArtsBuild/CodeArtsBuild.csproj
+++ b/Services/CodeArtsBuild/CodeArtsBuild.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.CodeArtsBuild
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/CodeArtsDeploy/CodeArtsDeploy.csproj b/Services/CodeArtsDeploy/CodeArtsDeploy.csproj
index b2e1ff809..731c97cec 100644
--- a/Services/CodeArtsDeploy/CodeArtsDeploy.csproj
+++ b/Services/CodeArtsDeploy/CodeArtsDeploy.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.CodeArtsDeploy
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Csms/Csms.csproj b/Services/Csms/Csms.csproj
index bc83d26ab..f6f302645 100644
--- a/Services/Csms/Csms.csproj
+++ b/Services/Csms/Csms.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Csms
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Cts/Cts.csproj b/Services/Cts/Cts.csproj
index 684a77c0f..fd888ebcc 100644
--- a/Services/Cts/Cts.csproj
+++ b/Services/Cts/Cts.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Cts
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Dbss/Dbss.csproj b/Services/Dbss/Dbss.csproj
index 03d081763..898492332 100644
--- a/Services/Dbss/Dbss.csproj
+++ b/Services/Dbss/Dbss.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Dbss
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Dcs/Dcs.csproj b/Services/Dcs/Dcs.csproj
index 08b85595f..f55b2c101 100644
--- a/Services/Dcs/Dcs.csproj
+++ b/Services/Dcs/Dcs.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Dcs
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Dds/Dds.csproj b/Services/Dds/Dds.csproj
index d4fb6c34c..9f63e8935 100644
--- a/Services/Dds/Dds.csproj
+++ b/Services/Dds/Dds.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Dds
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Dds/V3/Model/BackupDatabase.cs b/Services/Dds/V3/Model/BackupDatabase.cs
index 8778ce0b2..a0a4dc08c 100644
--- a/Services/Dds/V3/Model/BackupDatabase.cs
+++ b/Services/Dds/V3/Model/BackupDatabase.cs
@@ -23,7 +23,7 @@ public class BackupDatabase
public string Type { get; set; }
///
- /// 数据库版本。取值:“3.2”、“3.4”或“4.0”。
+ /// 数据库版本。取值:“3.4”、“4.0”、“4.2”、“4.4”、“5.0”。
///
[JsonProperty("version", NullValueHandling = NullValueHandling.Ignore)]
public string Version { get; set; }
diff --git a/Services/Dds/V3/Model/Datastore.cs b/Services/Dds/V3/Model/Datastore.cs
index 97ad9fc43..25e4be2e7 100644
--- a/Services/Dds/V3/Model/Datastore.cs
+++ b/Services/Dds/V3/Model/Datastore.cs
@@ -246,7 +246,7 @@ public bool Equals(StorageEngineEnum obj)
[JsonProperty("type", NullValueHandling = NullValueHandling.Ignore)]
public TypeEnum Type { get; set; }
///
- /// 数据库版本。支持3.4、3.2和4.0版本。取值为“3.4”、“3.2”或“4.0”。
+ /// 数据库版本。支持3.4及以上版本。取值为“3.4”、“4.0”、“4.2”、“4.4”、“5.0”。
///
[JsonProperty("version", NullValueHandling = NullValueHandling.Ignore)]
public string Version { get; set; }
diff --git a/Services/Dds/V3/Model/DatastoreResult.cs b/Services/Dds/V3/Model/DatastoreResult.cs
index 46b7c2391..64c181ff5 100644
--- a/Services/Dds/V3/Model/DatastoreResult.cs
+++ b/Services/Dds/V3/Model/DatastoreResult.cs
@@ -23,7 +23,7 @@ public class DatastoreResult
public string NodeType { get; set; }
///
- /// version数据库版本。DDS引擎取值为3.2, 3.4, 4.0。
+ /// version数据库版本。
///
[JsonProperty("version", NullValueHandling = NullValueHandling.Ignore)]
public string Version { get; set; }
diff --git a/Services/Dds/V3/Model/ListDatastoreVersionsResponse.cs b/Services/Dds/V3/Model/ListDatastoreVersionsResponse.cs
index ada646d4a..7861a6322 100644
--- a/Services/Dds/V3/Model/ListDatastoreVersionsResponse.cs
+++ b/Services/Dds/V3/Model/ListDatastoreVersionsResponse.cs
@@ -17,7 +17,7 @@ public class ListDatastoreVersionsResponse : SdkResponse
{
///
- /// 数据库版本。支持3.4、3.2和4.0版本。
+ /// 数据库版本。支持3.4及以上版本。
///
[JsonProperty("versions", NullValueHandling = NullValueHandling.Ignore)]
public List Versions { get; set; }
diff --git a/Services/Dds/V3/Model/RecycleDatastore.cs b/Services/Dds/V3/Model/RecycleDatastore.cs
index 5d66294fb..a9f7b8451 100644
--- a/Services/Dds/V3/Model/RecycleDatastore.cs
+++ b/Services/Dds/V3/Model/RecycleDatastore.cs
@@ -131,7 +131,7 @@ public bool Equals(TypeEnum obj)
[JsonProperty("type", NullValueHandling = NullValueHandling.Ignore)]
public TypeEnum Type { get; set; }
///
- /// 数据库版本。支持3.4、3.2和4.0版本。取值为“3.4”、“3.2”或“4.0”。
+ /// 数据库版本。支持3.4及以上版本。取值为“3.4”、“4.0”、“4.2”、“4.4”或“5.0”。
///
[JsonProperty("version", NullValueHandling = NullValueHandling.Ignore)]
public string Version { get; set; }
diff --git a/Services/Dds/V3/Model/ResizeInstanceOption.cs b/Services/Dds/V3/Model/ResizeInstanceOption.cs
index ec64dc8c3..268aede02 100644
--- a/Services/Dds/V3/Model/ResizeInstanceOption.cs
+++ b/Services/Dds/V3/Model/ResizeInstanceOption.cs
@@ -16,9 +16,9 @@ namespace HuaweiCloud.SDK.Dds.V3.Model
public class ResizeInstanceOption
{
///
- /// 对象类型。 - 对于集群实例,该参数为必选。变更mongos节点规格时,取值为“mongos”;变更shard组规格时,取值为“shard”。 - 对于副本集和单节点实例,不传该参数。
+ /// 对象类型。 - 对于集群实例,该参数为必选。变更mongos节点规格时,取值为“mongos”;变更单个shard组规格、或者批量变更多个shard组规格时,取值为“shard”,变更config组规格时,取值为\"config\"。 - 对于副本集实例,不传该参数。变更readonly节点规格时,取值为“readonly”。 - 对于单节点实例,不传该参数。
///
- /// 对象类型。 - 对于集群实例,该参数为必选。变更mongos节点规格时,取值为“mongos”;变更shard组规格时,取值为“shard”。 - 对于副本集和单节点实例,不传该参数。
+ /// 对象类型。 - 对于集群实例,该参数为必选。变更mongos节点规格时,取值为“mongos”;变更单个shard组规格、或者批量变更多个shard组规格时,取值为“shard”,变更config组规格时,取值为\"config\"。 - 对于副本集实例,不传该参数。变更readonly节点规格时,取值为“readonly”。 - 对于单节点实例,不传该参数。
[JsonConverter(typeof(EnumClassConverter))]
public class TargetTypeEnum
{
@@ -32,11 +32,23 @@ public class TargetTypeEnum
///
public static readonly TargetTypeEnum SHARD = new TargetTypeEnum("shard");
+ ///
+ /// Enum CONFIG for value: config
+ ///
+ public static readonly TargetTypeEnum CONFIG = new TargetTypeEnum("config");
+
+ ///
+ /// Enum READONLY for value: readonly
+ ///
+ public static readonly TargetTypeEnum READONLY = new TargetTypeEnum("readonly");
+
private static readonly Dictionary StaticFields =
new Dictionary()
{
{ "mongos", MONGOS },
{ "shard", SHARD },
+ { "config", CONFIG },
+ { "readonly", READONLY },
};
private string _value;
@@ -132,12 +144,12 @@ public bool Equals(TargetTypeEnum obj)
///
- /// 对象类型。 - 对于集群实例,该参数为必选。变更mongos节点规格时,取值为“mongos”;变更shard组规格时,取值为“shard”。 - 对于副本集和单节点实例,不传该参数。
+ /// 对象类型。 - 对于集群实例,该参数为必选。变更mongos节点规格时,取值为“mongos”;变更单个shard组规格、或者批量变更多个shard组规格时,取值为“shard”,变更config组规格时,取值为\"config\"。 - 对于副本集实例,不传该参数。变更readonly节点规格时,取值为“readonly”。 - 对于单节点实例,不传该参数。
///
[JsonProperty("target_type", NullValueHandling = NullValueHandling.Ignore)]
public TargetTypeEnum TargetType { get; set; }
///
- /// 待变更规格的节点ID或实例ID,可以调用“查询实例列表和详情”接口获取。如果未申请实例,可以调用“创建实例”接口创建。 - 对于集群实例,变更mongos节点规格时,取值为mongos节点ID;变更shard组规格时,取值为shard组ID。 - 对于副本集实例,取值为相应的实例ID。 - 对于单节点实例,取值为相应的实例ID。
+ /// 待变更规格的节点ID或实例ID,可以调用“查询实例列表和详情”接口获取。如果未申请实例,可以调用“创建实例”接口创建。 - 对于集群实例,变更mongos节点规格时,取值为mongos节点ID;变更单个shard组规格时,取值为shard组ID;批量变更多个shard组规格时,不传该参数;变更config组规格时,取值为config组的ID。 - 对于副本集实例,取值为相应的实例ID。变更readonly节点规格时,取值为readonly节点ID。 - 对于单节点实例,取值为相应的实例ID。
///
[JsonProperty("target_id", NullValueHandling = NullValueHandling.Ignore)]
public string TargetId { get; set; }
diff --git a/Services/Demo/Demo.csproj b/Services/Demo/Demo.csproj
index 38059e1bd..7035b329d 100644
--- a/Services/Demo/Demo.csproj
+++ b/Services/Demo/Demo.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Demo
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Dns/Dns.csproj b/Services/Dns/Dns.csproj
index 283a18eb4..3155f81b1 100644
--- a/Services/Dns/Dns.csproj
+++ b/Services/Dns/Dns.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Dns
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Drs/Drs.csproj b/Services/Drs/Drs.csproj
index fc878ef1b..fd150e33a 100644
--- a/Services/Drs/Drs.csproj
+++ b/Services/Drs/Drs.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Drs
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ecs/Ecs.csproj b/Services/Ecs/Ecs.csproj
index 79256befe..ce0b8e1b4 100644
--- a/Services/Ecs/Ecs.csproj
+++ b/Services/Ecs/Ecs.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Ecs
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Eip/Eip.csproj b/Services/Eip/Eip.csproj
index 7c1a8e0fb..8931b1563 100644
--- a/Services/Eip/Eip.csproj
+++ b/Services/Eip/Eip.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Eip
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Elb/Elb.csproj b/Services/Elb/Elb.csproj
index fb840b778..6d7173402 100644
--- a/Services/Elb/Elb.csproj
+++ b/Services/Elb/Elb.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Elb
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Eps/Eps.csproj b/Services/Eps/Eps.csproj
index a7991ef0d..c3a58cb9c 100644
--- a/Services/Eps/Eps.csproj
+++ b/Services/Eps/Eps.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Eps
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Evs/Evs.csproj b/Services/Evs/Evs.csproj
index ac45c7fdb..e14ab054f 100644
--- a/Services/Evs/Evs.csproj
+++ b/Services/Evs/Evs.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Evs
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Frs/Frs.csproj b/Services/Frs/Frs.csproj
index c9a79ca05..502fc78d4 100644
--- a/Services/Frs/Frs.csproj
+++ b/Services/Frs/Frs.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Frs
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/FunctionGraph/FunctionGraph.csproj b/Services/FunctionGraph/FunctionGraph.csproj
index badb4a8ce..66c7493f5 100644
--- a/Services/FunctionGraph/FunctionGraph.csproj
+++ b/Services/FunctionGraph/FunctionGraph.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.FunctionGraph
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/GaussDB/GaussDB.csproj b/Services/GaussDB/GaussDB.csproj
index 2a8f4b1bb..588330fd2 100644
--- a/Services/GaussDB/GaussDB.csproj
+++ b/Services/GaussDB/GaussDB.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.GaussDB
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/GaussDBforNoSQL/GaussDBforNoSQL.csproj b/Services/GaussDBforNoSQL/GaussDBforNoSQL.csproj
index 098f6b678..66073f099 100644
--- a/Services/GaussDBforNoSQL/GaussDBforNoSQL.csproj
+++ b/Services/GaussDBforNoSQL/GaussDBforNoSQL.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.GaussDBforNoSQL
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/GaussDBforopenGauss/GaussDBforopenGauss.csproj b/Services/GaussDBforopenGauss/GaussDBforopenGauss.csproj
index ef4758766..677319a7a 100644
--- a/Services/GaussDBforopenGauss/GaussDBforopenGauss.csproj
+++ b/Services/GaussDBforopenGauss/GaussDBforopenGauss.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.GaussDBforopenGauss
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Geip/Geip.csproj b/Services/Geip/Geip.csproj
index d47fb6ac0..2f154871f 100644
--- a/Services/Geip/Geip.csproj
+++ b/Services/Geip/Geip.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Geip
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Iam/Iam.csproj b/Services/Iam/Iam.csproj
index f8c059cb6..272582972 100644
--- a/Services/Iam/Iam.csproj
+++ b/Services/Iam/Iam.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Iam
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Image/Image.csproj b/Services/Image/Image.csproj
index 2c05daeeb..20d62b9e8 100644
--- a/Services/Image/Image.csproj
+++ b/Services/Image/Image.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Image
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/ImageSearch/ImageSearch.csproj b/Services/ImageSearch/ImageSearch.csproj
index 903067a09..21438d420 100644
--- a/Services/ImageSearch/ImageSearch.csproj
+++ b/Services/ImageSearch/ImageSearch.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.ImageSearch
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ims/Ims.csproj b/Services/Ims/Ims.csproj
index f938e1d69..9ef5aa48c 100644
--- a/Services/Ims/Ims.csproj
+++ b/Services/Ims/Ims.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Ims
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/IoTDA/IoTDA.csproj b/Services/IoTDA/IoTDA.csproj
index 7fe56fb18..7c204f1d3 100644
--- a/Services/IoTDA/IoTDA.csproj
+++ b/Services/IoTDA/IoTDA.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.IoTDA
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/IoTDM/IoTDM.csproj b/Services/IoTDM/IoTDM.csproj
index ae690ce66..308a0fccf 100644
--- a/Services/IoTDM/IoTDM.csproj
+++ b/Services/IoTDM/IoTDM.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.IoTDM
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ivs/Ivs.csproj b/Services/Ivs/Ivs.csproj
index 230ba8980..de32fd353 100644
--- a/Services/Ivs/Ivs.csproj
+++ b/Services/Ivs/Ivs.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Ivs
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Kafka/Kafka.csproj b/Services/Kafka/Kafka.csproj
index 672380722..0453a7a0e 100644
--- a/Services/Kafka/Kafka.csproj
+++ b/Services/Kafka/Kafka.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Kafka
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Kms/Kms.csproj b/Services/Kms/Kms.csproj
index a504e804c..63adf0e8f 100644
--- a/Services/Kms/Kms.csproj
+++ b/Services/Kms/Kms.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Kms
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Kps/Kps.csproj b/Services/Kps/Kps.csproj
index 5ec4471fe..f2c575cb7 100644
--- a/Services/Kps/Kps.csproj
+++ b/Services/Kps/Kps.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Kps
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Live/Live.csproj b/Services/Live/Live.csproj
index c30b54daa..866ee3226 100644
--- a/Services/Live/Live.csproj
+++ b/Services/Live/Live.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Live
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Live/V1/LiveAsyncClient.cs b/Services/Live/V1/LiveAsyncClient.cs
index e4e7e24ff..20c3758f0 100644
--- a/Services/Live/V1/LiveAsyncClient.cs
+++ b/Services/Live/V1/LiveAsyncClient.cs
@@ -1425,6 +1425,126 @@ public AsyncInvoker UpdateDomainHttpsCertAsyncInv
return new AsyncInvoker(this, "PUT", request, JsonUtils.DeSerializeNull);
}
+ ///
+ /// 创建Live2VOD任务
+ ///
+ /// 创建Live2VOD任务。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public async Task CreateHarvestTaskAsync(CreateHarvestTaskRequest createHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", createHarvestTaskRequest);
+ var response = await DoHttpRequestAsync("POST", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public AsyncInvoker CreateHarvestTaskAsyncInvoker(CreateHarvestTaskRequest createHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", createHarvestTaskRequest);
+ return new AsyncInvoker(this, "POST", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 删除Live2VOD任务
+ ///
+ /// 删除Live2VOD任务。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public async Task DeleteHarvestTaskAsync(DeleteHarvestTaskRequest deleteHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteHarvestTaskRequest);
+ var response = await DoHttpRequestAsync("DELETE", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public AsyncInvoker DeleteHarvestTaskAsyncInvoker(DeleteHarvestTaskRequest deleteHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteHarvestTaskRequest);
+ return new AsyncInvoker(this, "DELETE", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 查询Live2VOD任务
+ ///
+ /// 查询Live2VOD任务,支持批量查询。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public async Task ListHarvestTaskAsync(ListHarvestTaskRequest listHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", listHarvestTaskRequest);
+ var response = await DoHttpRequestAsync("GET", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public AsyncInvoker ListHarvestTaskAsyncInvoker(ListHarvestTaskRequest listHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", listHarvestTaskRequest);
+ return new AsyncInvoker(this, "GET", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 修改Live2VOD任务
+ ///
+ /// 修改Live2VOD任务。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public async Task ModifyHarvestTaskAsync(ModifyHarvestTaskRequest modifyHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", modifyHarvestTaskRequest);
+ var response = await DoHttpRequestAsync("PUT", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public AsyncInvoker ModifyHarvestTaskAsyncInvoker(ModifyHarvestTaskRequest modifyHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", modifyHarvestTaskRequest);
+ return new AsyncInvoker(this, "PUT", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 修改Live2VOD任务状态
+ ///
+ /// 修改Live2VOD任务状态。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public async Task UpdateHarvestJobStatusAsync(UpdateHarvestJobStatusRequest updateHarvestJobStatusRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task/status", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", updateHarvestJobStatusRequest);
+ var response = await DoHttpRequestAsync("PUT", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public AsyncInvoker UpdateHarvestJobStatusAsyncInvoker(UpdateHarvestJobStatusRequest updateHarvestJobStatusRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task/status", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", updateHarvestJobStatusRequest);
+ return new AsyncInvoker(this, "PUT", request, JsonUtils.DeSerialize);
+ }
+
///
/// OBS桶授权及取消授权
///
diff --git a/Services/Live/V1/LiveClient.cs b/Services/Live/V1/LiveClient.cs
index e28939c06..8e2656b43 100644
--- a/Services/Live/V1/LiveClient.cs
+++ b/Services/Live/V1/LiveClient.cs
@@ -1424,6 +1424,126 @@ public SyncInvoker UpdateDomainHttpsCertInvoker(U
return new SyncInvoker(this, "PUT", request, JsonUtils.DeSerializeNull);
}
+ ///
+ /// 创建Live2VOD任务
+ ///
+ /// 创建Live2VOD任务。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public CreateHarvestTaskResponse CreateHarvestTask(CreateHarvestTaskRequest createHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", createHarvestTaskRequest);
+ var response = DoHttpRequestSync("POST", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public SyncInvoker CreateHarvestTaskInvoker(CreateHarvestTaskRequest createHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", createHarvestTaskRequest);
+ return new SyncInvoker(this, "POST", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 删除Live2VOD任务
+ ///
+ /// 删除Live2VOD任务。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public DeleteHarvestTaskResponse DeleteHarvestTask(DeleteHarvestTaskRequest deleteHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteHarvestTaskRequest);
+ var response = DoHttpRequestSync("DELETE", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public SyncInvoker DeleteHarvestTaskInvoker(DeleteHarvestTaskRequest deleteHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", deleteHarvestTaskRequest);
+ return new SyncInvoker(this, "DELETE", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 查询Live2VOD任务
+ ///
+ /// 查询Live2VOD任务,支持批量查询。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public ListHarvestTaskResponse ListHarvestTask(ListHarvestTaskRequest listHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", listHarvestTaskRequest);
+ var response = DoHttpRequestSync("GET", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public SyncInvoker ListHarvestTaskInvoker(ListHarvestTaskRequest listHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json", listHarvestTaskRequest);
+ return new SyncInvoker(this, "GET", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 修改Live2VOD任务
+ ///
+ /// 修改Live2VOD任务。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public ModifyHarvestTaskResponse ModifyHarvestTask(ModifyHarvestTaskRequest modifyHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", modifyHarvestTaskRequest);
+ var response = DoHttpRequestSync("PUT", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public SyncInvoker ModifyHarvestTaskInvoker(ModifyHarvestTaskRequest modifyHarvestTaskRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", modifyHarvestTaskRequest);
+ return new SyncInvoker(this, "PUT", request, JsonUtils.DeSerialize);
+ }
+
+ ///
+ /// 修改Live2VOD任务状态
+ ///
+ /// 修改Live2VOD任务状态。
+ ///
+ /// Please refer to HUAWEI cloud API Explorer for details.
+ ///
+ public UpdateHarvestJobStatusResponse UpdateHarvestJobStatus(UpdateHarvestJobStatusRequest updateHarvestJobStatusRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task/status", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", updateHarvestJobStatusRequest);
+ var response = DoHttpRequestSync("PUT", request);
+ return JsonUtils.DeSerialize(response);
+ }
+
+ public SyncInvoker UpdateHarvestJobStatusInvoker(UpdateHarvestJobStatusRequest updateHarvestJobStatusRequest)
+ {
+ var urlParam = new Dictionary();
+ var urlPath = HttpUtils.AddUrlPath("/v1/{project_id}/ott/harvest/task/status", urlParam);
+ var request = HttpUtils.InitSdkRequest(urlPath, "application/json; charset=UTF-8", updateHarvestJobStatusRequest);
+ return new SyncInvoker(this, "PUT", request, JsonUtils.DeSerialize);
+ }
+
///
/// OBS桶授权及取消授权
///
diff --git a/Services/Live/V1/Model/CreateHarvestTaskInfoReq.cs b/Services/Live/V1/Model/CreateHarvestTaskInfoReq.cs
new file mode 100644
index 000000000..708a33b2b
--- /dev/null
+++ b/Services/Live/V1/Model/CreateHarvestTaskInfoReq.cs
@@ -0,0 +1,175 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// 创建Live2Vod任务
+ ///
+ public class CreateHarvestTaskInfoReq
+ {
+
+ ///
+ /// 频道推流域名
+ ///
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务
+ ///
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 开始时间。Unix时间戳:单位是秒
+ ///
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束时间。Unix时间戳:单位是秒
+ ///
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 事件名称。必选配置
+ ///
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 任务描述,可选配置
+ ///
+ [JsonProperty("task_desc", NullValueHandling = NullValueHandling.Ignore)]
+ public string TaskDesc { get; set; }
+
+ ///
+ ///
+ ///
+ [JsonProperty("package_info", NullValueHandling = NullValueHandling.Ignore)]
+ public VodPackageInfo PackageInfo { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class CreateHarvestTaskInfoReq {\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" taskDesc: ").Append(TaskDesc).Append("\n");
+ sb.Append(" packageInfo: ").Append(PackageInfo).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as CreateHarvestTaskInfoReq);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(CreateHarvestTaskInfoReq input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.TaskDesc == input.TaskDesc ||
+ (this.TaskDesc != null &&
+ this.TaskDesc.Equals(input.TaskDesc))
+ ) &&
+ (
+ this.PackageInfo == input.PackageInfo ||
+ (this.PackageInfo != null &&
+ this.PackageInfo.Equals(input.PackageInfo))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.TaskDesc != null)
+ hashCode = hashCode * 59 + this.TaskDesc.GetHashCode();
+ if (this.PackageInfo != null)
+ hashCode = hashCode * 59 + this.PackageInfo.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/CreateHarvestTaskRequest.cs b/Services/Live/V1/Model/CreateHarvestTaskRequest.cs
new file mode 100644
index 000000000..022cf7517
--- /dev/null
+++ b/Services/Live/V1/Model/CreateHarvestTaskRequest.cs
@@ -0,0 +1,108 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Request Object
+ ///
+ public class CreateHarvestTaskRequest
+ {
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-Internal", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-Internal", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowInternal { get; set; }
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-External", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-External", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowExternal { get; set; }
+
+ ///
+ ///
+ ///
+ [SDKProperty("body", IsBody = true)]
+ [JsonProperty("body", NullValueHandling = NullValueHandling.Ignore)]
+ public CreateHarvestTaskInfoReq Body { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class CreateHarvestTaskRequest {\n");
+ sb.Append(" accessControlAllowInternal: ").Append(AccessControlAllowInternal).Append("\n");
+ sb.Append(" accessControlAllowExternal: ").Append(AccessControlAllowExternal).Append("\n");
+ sb.Append(" body: ").Append(Body).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as CreateHarvestTaskRequest);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(CreateHarvestTaskRequest input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.AccessControlAllowInternal == input.AccessControlAllowInternal ||
+ (this.AccessControlAllowInternal != null &&
+ this.AccessControlAllowInternal.Equals(input.AccessControlAllowInternal))
+ ) &&
+ (
+ this.AccessControlAllowExternal == input.AccessControlAllowExternal ||
+ (this.AccessControlAllowExternal != null &&
+ this.AccessControlAllowExternal.Equals(input.AccessControlAllowExternal))
+ ) &&
+ (
+ this.Body == input.Body ||
+ (this.Body != null &&
+ this.Body.Equals(input.Body))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.AccessControlAllowInternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowInternal.GetHashCode();
+ if (this.AccessControlAllowExternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowExternal.GetHashCode();
+ if (this.Body != null)
+ hashCode = hashCode * 59 + this.Body.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/CreateHarvestTaskResponse.cs b/Services/Live/V1/Model/CreateHarvestTaskResponse.cs
new file mode 100644
index 000000000..ac00bba04
--- /dev/null
+++ b/Services/Live/V1/Model/CreateHarvestTaskResponse.cs
@@ -0,0 +1,357 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Response Object
+ ///
+ public class CreateHarvestTaskResponse : SdkResponse
+ {
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ [JsonConverter(typeof(EnumClassConverter))]
+ public class StatusEnum
+ {
+ ///
+ /// Enum UNSTART for value: UNSTART
+ ///
+ public static readonly StatusEnum UNSTART = new StatusEnum("UNSTART");
+
+ ///
+ /// Enum IN_PROGRESS for value: IN_PROGRESS
+ ///
+ public static readonly StatusEnum IN_PROGRESS = new StatusEnum("IN_PROGRESS");
+
+ ///
+ /// Enum SUCCEEDED for value: SUCCEEDED
+ ///
+ public static readonly StatusEnum SUCCEEDED = new StatusEnum("SUCCEEDED");
+
+ ///
+ /// Enum FAILED for value: FAILED
+ ///
+ public static readonly StatusEnum FAILED = new StatusEnum("FAILED");
+
+ private static readonly Dictionary StaticFields =
+ new Dictionary()
+ {
+ { "UNSTART", UNSTART },
+ { "IN_PROGRESS", IN_PROGRESS },
+ { "SUCCEEDED", SUCCEEDED },
+ { "FAILED", FAILED },
+ };
+
+ private string _value;
+
+ public StatusEnum()
+ {
+
+ }
+
+ public StatusEnum(string value)
+ {
+ _value = value;
+ }
+
+ public static StatusEnum FromValue(string value)
+ {
+ if(value == null){
+ return null;
+ }
+
+ if (StaticFields.ContainsKey(value))
+ {
+ return StaticFields[value];
+ }
+
+ return null;
+ }
+
+ public string GetValue()
+ {
+ return _value;
+ }
+
+ public override string ToString()
+ {
+ return $"{_value}";
+ }
+
+ public override int GetHashCode()
+ {
+ return this._value.GetHashCode();
+ }
+
+ public override bool Equals(object obj)
+ {
+ if (obj == null)
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, obj))
+ {
+ return true;
+ }
+
+ if (this.Equals(obj as StatusEnum))
+ {
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool Equals(StatusEnum obj)
+ {
+ if ((object)obj == null)
+ {
+ return false;
+ }
+ return StringComparer.OrdinalIgnoreCase.Equals(this._value, obj.GetValue());
+ }
+
+ public static bool operator ==(StatusEnum a, StatusEnum b)
+ {
+ if (System.Object.ReferenceEquals(a, b))
+ {
+ return true;
+ }
+
+ if ((object)a == null)
+ {
+ return false;
+ }
+
+ return a.Equals(b);
+ }
+
+ public static bool operator !=(StatusEnum a, StatusEnum b)
+ {
+ return !(a == b);
+ }
+ }
+
+
+ ///
+ /// 任务ID
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 频道推流域名
+ ///
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务
+ ///
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 开始时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 任务创建时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("create_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? CreateTime { get; set; }
+
+ ///
+ /// 事件名称
+ ///
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 任务描述
+ ///
+ [JsonProperty("task_desc", NullValueHandling = NullValueHandling.Ignore)]
+ public string TaskDesc { get; set; }
+
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
+ public StatusEnum Status { get; set; }
+ ///
+ /// 任务状态为FAILED时,最大允许重试的次数
+ ///
+ [JsonProperty("max_retry_cnt", NullValueHandling = NullValueHandling.Ignore)]
+ public int? MaxRetryCnt { get; set; }
+
+ ///
+ ///
+ ///
+ [JsonProperty("package_info", NullValueHandling = NullValueHandling.Ignore)]
+ public VodPackageInfo PackageInfo { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class CreateHarvestTaskResponse {\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" createTime: ").Append(CreateTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" taskDesc: ").Append(TaskDesc).Append("\n");
+ sb.Append(" status: ").Append(Status).Append("\n");
+ sb.Append(" maxRetryCnt: ").Append(MaxRetryCnt).Append("\n");
+ sb.Append(" packageInfo: ").Append(PackageInfo).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as CreateHarvestTaskResponse);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(CreateHarvestTaskResponse input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.CreateTime == input.CreateTime ||
+ (this.CreateTime != null &&
+ this.CreateTime.Equals(input.CreateTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.TaskDesc == input.TaskDesc ||
+ (this.TaskDesc != null &&
+ this.TaskDesc.Equals(input.TaskDesc))
+ ) &&
+ (
+ this.Status == input.Status ||
+ (this.Status != null &&
+ this.Status.Equals(input.Status))
+ ) &&
+ (
+ this.MaxRetryCnt == input.MaxRetryCnt ||
+ (this.MaxRetryCnt != null &&
+ this.MaxRetryCnt.Equals(input.MaxRetryCnt))
+ ) &&
+ (
+ this.PackageInfo == input.PackageInfo ||
+ (this.PackageInfo != null &&
+ this.PackageInfo.Equals(input.PackageInfo))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.CreateTime != null)
+ hashCode = hashCode * 59 + this.CreateTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.TaskDesc != null)
+ hashCode = hashCode * 59 + this.TaskDesc.GetHashCode();
+ if (this.Status != null)
+ hashCode = hashCode * 59 + this.Status.GetHashCode();
+ if (this.MaxRetryCnt != null)
+ hashCode = hashCode * 59 + this.MaxRetryCnt.GetHashCode();
+ if (this.PackageInfo != null)
+ hashCode = hashCode * 59 + this.PackageInfo.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/DeleteHarvestTaskRequest.cs b/Services/Live/V1/Model/DeleteHarvestTaskRequest.cs
new file mode 100644
index 000000000..b3b452197
--- /dev/null
+++ b/Services/Live/V1/Model/DeleteHarvestTaskRequest.cs
@@ -0,0 +1,108 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Request Object
+ ///
+ public class DeleteHarvestTaskRequest
+ {
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-Internal", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-Internal", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowInternal { get; set; }
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-External", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-External", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowExternal { get; set; }
+
+ ///
+ /// 任务ID
+ ///
+ [SDKProperty("job_id", IsQuery = true)]
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class DeleteHarvestTaskRequest {\n");
+ sb.Append(" accessControlAllowInternal: ").Append(AccessControlAllowInternal).Append("\n");
+ sb.Append(" accessControlAllowExternal: ").Append(AccessControlAllowExternal).Append("\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as DeleteHarvestTaskRequest);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(DeleteHarvestTaskRequest input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.AccessControlAllowInternal == input.AccessControlAllowInternal ||
+ (this.AccessControlAllowInternal != null &&
+ this.AccessControlAllowInternal.Equals(input.AccessControlAllowInternal))
+ ) &&
+ (
+ this.AccessControlAllowExternal == input.AccessControlAllowExternal ||
+ (this.AccessControlAllowExternal != null &&
+ this.AccessControlAllowExternal.Equals(input.AccessControlAllowExternal))
+ ) &&
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.AccessControlAllowInternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowInternal.GetHashCode();
+ if (this.AccessControlAllowExternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowExternal.GetHashCode();
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/DeleteHarvestTaskResponse.cs b/Services/Live/V1/Model/DeleteHarvestTaskResponse.cs
new file mode 100644
index 000000000..4bef78953
--- /dev/null
+++ b/Services/Live/V1/Model/DeleteHarvestTaskResponse.cs
@@ -0,0 +1,77 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Response Object
+ ///
+ public class DeleteHarvestTaskResponse : SdkResponse
+ {
+
+ ///
+ /// 任务ID
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class DeleteHarvestTaskResponse {\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as DeleteHarvestTaskResponse);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(DeleteHarvestTaskResponse input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/HarvestTaskCreateSucRsp.cs b/Services/Live/V1/Model/HarvestTaskCreateSucRsp.cs
new file mode 100644
index 000000000..38ccc4bca
--- /dev/null
+++ b/Services/Live/V1/Model/HarvestTaskCreateSucRsp.cs
@@ -0,0 +1,357 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// 创建成功响应
+ ///
+ public class HarvestTaskCreateSucRsp
+ {
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ [JsonConverter(typeof(EnumClassConverter))]
+ public class StatusEnum
+ {
+ ///
+ /// Enum UNSTART for value: UNSTART
+ ///
+ public static readonly StatusEnum UNSTART = new StatusEnum("UNSTART");
+
+ ///
+ /// Enum IN_PROGRESS for value: IN_PROGRESS
+ ///
+ public static readonly StatusEnum IN_PROGRESS = new StatusEnum("IN_PROGRESS");
+
+ ///
+ /// Enum SUCCEEDED for value: SUCCEEDED
+ ///
+ public static readonly StatusEnum SUCCEEDED = new StatusEnum("SUCCEEDED");
+
+ ///
+ /// Enum FAILED for value: FAILED
+ ///
+ public static readonly StatusEnum FAILED = new StatusEnum("FAILED");
+
+ private static readonly Dictionary StaticFields =
+ new Dictionary()
+ {
+ { "UNSTART", UNSTART },
+ { "IN_PROGRESS", IN_PROGRESS },
+ { "SUCCEEDED", SUCCEEDED },
+ { "FAILED", FAILED },
+ };
+
+ private string _value;
+
+ public StatusEnum()
+ {
+
+ }
+
+ public StatusEnum(string value)
+ {
+ _value = value;
+ }
+
+ public static StatusEnum FromValue(string value)
+ {
+ if(value == null){
+ return null;
+ }
+
+ if (StaticFields.ContainsKey(value))
+ {
+ return StaticFields[value];
+ }
+
+ return null;
+ }
+
+ public string GetValue()
+ {
+ return _value;
+ }
+
+ public override string ToString()
+ {
+ return $"{_value}";
+ }
+
+ public override int GetHashCode()
+ {
+ return this._value.GetHashCode();
+ }
+
+ public override bool Equals(object obj)
+ {
+ if (obj == null)
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, obj))
+ {
+ return true;
+ }
+
+ if (this.Equals(obj as StatusEnum))
+ {
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool Equals(StatusEnum obj)
+ {
+ if ((object)obj == null)
+ {
+ return false;
+ }
+ return StringComparer.OrdinalIgnoreCase.Equals(this._value, obj.GetValue());
+ }
+
+ public static bool operator ==(StatusEnum a, StatusEnum b)
+ {
+ if (System.Object.ReferenceEquals(a, b))
+ {
+ return true;
+ }
+
+ if ((object)a == null)
+ {
+ return false;
+ }
+
+ return a.Equals(b);
+ }
+
+ public static bool operator !=(StatusEnum a, StatusEnum b)
+ {
+ return !(a == b);
+ }
+ }
+
+
+ ///
+ /// 任务ID
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 频道推流域名
+ ///
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务
+ ///
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 开始时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 任务创建时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("create_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? CreateTime { get; set; }
+
+ ///
+ /// 事件名称
+ ///
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 任务描述
+ ///
+ [JsonProperty("task_desc", NullValueHandling = NullValueHandling.Ignore)]
+ public string TaskDesc { get; set; }
+
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
+ public StatusEnum Status { get; set; }
+ ///
+ /// 任务状态为FAILED时,最大允许重试的次数
+ ///
+ [JsonProperty("max_retry_cnt", NullValueHandling = NullValueHandling.Ignore)]
+ public int? MaxRetryCnt { get; set; }
+
+ ///
+ ///
+ ///
+ [JsonProperty("package_info", NullValueHandling = NullValueHandling.Ignore)]
+ public VodPackageInfo PackageInfo { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class HarvestTaskCreateSucRsp {\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" createTime: ").Append(CreateTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" taskDesc: ").Append(TaskDesc).Append("\n");
+ sb.Append(" status: ").Append(Status).Append("\n");
+ sb.Append(" maxRetryCnt: ").Append(MaxRetryCnt).Append("\n");
+ sb.Append(" packageInfo: ").Append(PackageInfo).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as HarvestTaskCreateSucRsp);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(HarvestTaskCreateSucRsp input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.CreateTime == input.CreateTime ||
+ (this.CreateTime != null &&
+ this.CreateTime.Equals(input.CreateTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.TaskDesc == input.TaskDesc ||
+ (this.TaskDesc != null &&
+ this.TaskDesc.Equals(input.TaskDesc))
+ ) &&
+ (
+ this.Status == input.Status ||
+ (this.Status != null &&
+ this.Status.Equals(input.Status))
+ ) &&
+ (
+ this.MaxRetryCnt == input.MaxRetryCnt ||
+ (this.MaxRetryCnt != null &&
+ this.MaxRetryCnt.Equals(input.MaxRetryCnt))
+ ) &&
+ (
+ this.PackageInfo == input.PackageInfo ||
+ (this.PackageInfo != null &&
+ this.PackageInfo.Equals(input.PackageInfo))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.CreateTime != null)
+ hashCode = hashCode * 59 + this.CreateTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.TaskDesc != null)
+ hashCode = hashCode * 59 + this.TaskDesc.GetHashCode();
+ if (this.Status != null)
+ hashCode = hashCode * 59 + this.Status.GetHashCode();
+ if (this.MaxRetryCnt != null)
+ hashCode = hashCode * 59 + this.MaxRetryCnt.GetHashCode();
+ if (this.PackageInfo != null)
+ hashCode = hashCode * 59 + this.PackageInfo.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/ListHarvestTaskRequest.cs b/Services/Live/V1/Model/ListHarvestTaskRequest.cs
new file mode 100644
index 000000000..00112c49e
--- /dev/null
+++ b/Services/Live/V1/Model/ListHarvestTaskRequest.cs
@@ -0,0 +1,228 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Request Object
+ ///
+ public class ListHarvestTaskRequest
+ {
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-Internal", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-Internal", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowInternal { get; set; }
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-External", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-External", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowExternal { get; set; }
+
+ ///
+ /// 推流域名
+ ///
+ [SDKProperty("domain", IsQuery = true)]
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [SDKProperty("app_name", IsQuery = true)]
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID
+ ///
+ [SDKProperty("id", IsQuery = true)]
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 任务ID
+ ///
+ [SDKProperty("job_id", IsQuery = true)]
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 开始时间,Unix时间戳:单位是秒
+ ///
+ [SDKProperty("start_time", IsQuery = true)]
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束,Unix时间戳:单位是秒
+ ///
+ [SDKProperty("end_time", IsQuery = true)]
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 事件名称
+ ///
+ [SDKProperty("event_name", IsQuery = true)]
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 每页记录数,取值范围[1,100],默认值10
+ ///
+ [SDKProperty("limit", IsQuery = true)]
+ [JsonProperty("limit", NullValueHandling = NullValueHandling.Ignore)]
+ public int? Limit { get; set; }
+
+ ///
+ /// 偏移量。表示从此偏移量开始查询,offset大于等于0
+ ///
+ [SDKProperty("offset", IsQuery = true)]
+ [JsonProperty("offset", NullValueHandling = NullValueHandling.Ignore)]
+ public int? Offset { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class ListHarvestTaskRequest {\n");
+ sb.Append(" accessControlAllowInternal: ").Append(AccessControlAllowInternal).Append("\n");
+ sb.Append(" accessControlAllowExternal: ").Append(AccessControlAllowExternal).Append("\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" limit: ").Append(Limit).Append("\n");
+ sb.Append(" offset: ").Append(Offset).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ListHarvestTaskRequest);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(ListHarvestTaskRequest input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.AccessControlAllowInternal == input.AccessControlAllowInternal ||
+ (this.AccessControlAllowInternal != null &&
+ this.AccessControlAllowInternal.Equals(input.AccessControlAllowInternal))
+ ) &&
+ (
+ this.AccessControlAllowExternal == input.AccessControlAllowExternal ||
+ (this.AccessControlAllowExternal != null &&
+ this.AccessControlAllowExternal.Equals(input.AccessControlAllowExternal))
+ ) &&
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.Limit == input.Limit ||
+ (this.Limit != null &&
+ this.Limit.Equals(input.Limit))
+ ) &&
+ (
+ this.Offset == input.Offset ||
+ (this.Offset != null &&
+ this.Offset.Equals(input.Offset))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.AccessControlAllowInternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowInternal.GetHashCode();
+ if (this.AccessControlAllowExternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowExternal.GetHashCode();
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.Limit != null)
+ hashCode = hashCode * 59 + this.Limit.GetHashCode();
+ if (this.Offset != null)
+ hashCode = hashCode * 59 + this.Offset.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/ListHarvestTaskResponse.cs b/Services/Live/V1/Model/ListHarvestTaskResponse.cs
new file mode 100644
index 000000000..49f508c54
--- /dev/null
+++ b/Services/Live/V1/Model/ListHarvestTaskResponse.cs
@@ -0,0 +1,92 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Response Object
+ ///
+ public class ListHarvestTaskResponse : SdkResponse
+ {
+
+ ///
+ /// 总任务数
+ ///
+ [JsonProperty("total", NullValueHandling = NullValueHandling.Ignore)]
+ public int? Total { get; set; }
+
+ ///
+ /// 任务信息
+ ///
+ [JsonProperty("harvest_tasks", NullValueHandling = NullValueHandling.Ignore)]
+ public List HarvestTasks { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class ListHarvestTaskResponse {\n");
+ sb.Append(" total: ").Append(Total).Append("\n");
+ sb.Append(" harvestTasks: ").Append(HarvestTasks).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ListHarvestTaskResponse);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(ListHarvestTaskResponse input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.Total == input.Total ||
+ (this.Total != null &&
+ this.Total.Equals(input.Total))
+ ) &&
+ (
+ this.HarvestTasks == input.HarvestTasks ||
+ this.HarvestTasks != null &&
+ input.HarvestTasks != null &&
+ this.HarvestTasks.SequenceEqual(input.HarvestTasks)
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.Total != null)
+ hashCode = hashCode * 59 + this.Total.GetHashCode();
+ if (this.HarvestTasks != null)
+ hashCode = hashCode * 59 + this.HarvestTasks.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/ModifyHarvestTaskRequest.cs b/Services/Live/V1/Model/ModifyHarvestTaskRequest.cs
new file mode 100644
index 000000000..fcca6fb1b
--- /dev/null
+++ b/Services/Live/V1/Model/ModifyHarvestTaskRequest.cs
@@ -0,0 +1,108 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Request Object
+ ///
+ public class ModifyHarvestTaskRequest
+ {
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-Internal", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-Internal", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowInternal { get; set; }
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-External", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-External", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowExternal { get; set; }
+
+ ///
+ ///
+ ///
+ [SDKProperty("body", IsBody = true)]
+ [JsonProperty("body", NullValueHandling = NullValueHandling.Ignore)]
+ public ModifyHarvestTaskRequestBody Body { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class ModifyHarvestTaskRequest {\n");
+ sb.Append(" accessControlAllowInternal: ").Append(AccessControlAllowInternal).Append("\n");
+ sb.Append(" accessControlAllowExternal: ").Append(AccessControlAllowExternal).Append("\n");
+ sb.Append(" body: ").Append(Body).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ModifyHarvestTaskRequest);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(ModifyHarvestTaskRequest input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.AccessControlAllowInternal == input.AccessControlAllowInternal ||
+ (this.AccessControlAllowInternal != null &&
+ this.AccessControlAllowInternal.Equals(input.AccessControlAllowInternal))
+ ) &&
+ (
+ this.AccessControlAllowExternal == input.AccessControlAllowExternal ||
+ (this.AccessControlAllowExternal != null &&
+ this.AccessControlAllowExternal.Equals(input.AccessControlAllowExternal))
+ ) &&
+ (
+ this.Body == input.Body ||
+ (this.Body != null &&
+ this.Body.Equals(input.Body))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.AccessControlAllowInternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowInternal.GetHashCode();
+ if (this.AccessControlAllowExternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowExternal.GetHashCode();
+ if (this.Body != null)
+ hashCode = hashCode * 59 + this.Body.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/ModifyHarvestTaskRequestBody.cs b/Services/Live/V1/Model/ModifyHarvestTaskRequestBody.cs
new file mode 100644
index 000000000..8402368c1
--- /dev/null
+++ b/Services/Live/V1/Model/ModifyHarvestTaskRequestBody.cs
@@ -0,0 +1,189 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// 修改Live2Vod任务
+ ///
+ public class ModifyHarvestTaskRequestBody
+ {
+
+ ///
+ /// 频道推流域名
+ ///
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务
+ ///
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 开始时间。Unix时间戳,单位为秒
+ ///
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束时间。Unix时间戳,单位为秒
+ ///
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 事件名称。必选配置
+ ///
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 任务Id。必选配置
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 任务描述,可选配置
+ ///
+ [JsonProperty("task_desc", NullValueHandling = NullValueHandling.Ignore)]
+ public string TaskDesc { get; set; }
+
+ ///
+ ///
+ ///
+ [JsonProperty("package_info", NullValueHandling = NullValueHandling.Ignore)]
+ public VodPackageInfo PackageInfo { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class ModifyHarvestTaskRequestBody {\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" taskDesc: ").Append(TaskDesc).Append("\n");
+ sb.Append(" packageInfo: ").Append(PackageInfo).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ModifyHarvestTaskRequestBody);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(ModifyHarvestTaskRequestBody input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.TaskDesc == input.TaskDesc ||
+ (this.TaskDesc != null &&
+ this.TaskDesc.Equals(input.TaskDesc))
+ ) &&
+ (
+ this.PackageInfo == input.PackageInfo ||
+ (this.PackageInfo != null &&
+ this.PackageInfo.Equals(input.PackageInfo))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.TaskDesc != null)
+ hashCode = hashCode * 59 + this.TaskDesc.GetHashCode();
+ if (this.PackageInfo != null)
+ hashCode = hashCode * 59 + this.PackageInfo.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/ModifyHarvestTaskResponse.cs b/Services/Live/V1/Model/ModifyHarvestTaskResponse.cs
new file mode 100644
index 000000000..706e08175
--- /dev/null
+++ b/Services/Live/V1/Model/ModifyHarvestTaskResponse.cs
@@ -0,0 +1,357 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Response Object
+ ///
+ public class ModifyHarvestTaskResponse : SdkResponse
+ {
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ [JsonConverter(typeof(EnumClassConverter))]
+ public class StatusEnum
+ {
+ ///
+ /// Enum UNSTART for value: UNSTART
+ ///
+ public static readonly StatusEnum UNSTART = new StatusEnum("UNSTART");
+
+ ///
+ /// Enum IN_PROGRESS for value: IN_PROGRESS
+ ///
+ public static readonly StatusEnum IN_PROGRESS = new StatusEnum("IN_PROGRESS");
+
+ ///
+ /// Enum SUCCEEDED for value: SUCCEEDED
+ ///
+ public static readonly StatusEnum SUCCEEDED = new StatusEnum("SUCCEEDED");
+
+ ///
+ /// Enum FAILED for value: FAILED
+ ///
+ public static readonly StatusEnum FAILED = new StatusEnum("FAILED");
+
+ private static readonly Dictionary StaticFields =
+ new Dictionary()
+ {
+ { "UNSTART", UNSTART },
+ { "IN_PROGRESS", IN_PROGRESS },
+ { "SUCCEEDED", SUCCEEDED },
+ { "FAILED", FAILED },
+ };
+
+ private string _value;
+
+ public StatusEnum()
+ {
+
+ }
+
+ public StatusEnum(string value)
+ {
+ _value = value;
+ }
+
+ public static StatusEnum FromValue(string value)
+ {
+ if(value == null){
+ return null;
+ }
+
+ if (StaticFields.ContainsKey(value))
+ {
+ return StaticFields[value];
+ }
+
+ return null;
+ }
+
+ public string GetValue()
+ {
+ return _value;
+ }
+
+ public override string ToString()
+ {
+ return $"{_value}";
+ }
+
+ public override int GetHashCode()
+ {
+ return this._value.GetHashCode();
+ }
+
+ public override bool Equals(object obj)
+ {
+ if (obj == null)
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, obj))
+ {
+ return true;
+ }
+
+ if (this.Equals(obj as StatusEnum))
+ {
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool Equals(StatusEnum obj)
+ {
+ if ((object)obj == null)
+ {
+ return false;
+ }
+ return StringComparer.OrdinalIgnoreCase.Equals(this._value, obj.GetValue());
+ }
+
+ public static bool operator ==(StatusEnum a, StatusEnum b)
+ {
+ if (System.Object.ReferenceEquals(a, b))
+ {
+ return true;
+ }
+
+ if ((object)a == null)
+ {
+ return false;
+ }
+
+ return a.Equals(b);
+ }
+
+ public static bool operator !=(StatusEnum a, StatusEnum b)
+ {
+ return !(a == b);
+ }
+ }
+
+
+ ///
+ /// 任务ID
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 频道推流域名
+ ///
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务
+ ///
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 开始时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 任务创建时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("create_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? CreateTime { get; set; }
+
+ ///
+ /// 事件名称
+ ///
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 任务描述
+ ///
+ [JsonProperty("task_desc", NullValueHandling = NullValueHandling.Ignore)]
+ public string TaskDesc { get; set; }
+
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
+ public StatusEnum Status { get; set; }
+ ///
+ /// 任务状态为FAILED时,最大允许重试的次数
+ ///
+ [JsonProperty("max_retry_cnt", NullValueHandling = NullValueHandling.Ignore)]
+ public int? MaxRetryCnt { get; set; }
+
+ ///
+ ///
+ ///
+ [JsonProperty("package_info", NullValueHandling = NullValueHandling.Ignore)]
+ public VodPackageInfo PackageInfo { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class ModifyHarvestTaskResponse {\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" createTime: ").Append(CreateTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" taskDesc: ").Append(TaskDesc).Append("\n");
+ sb.Append(" status: ").Append(Status).Append("\n");
+ sb.Append(" maxRetryCnt: ").Append(MaxRetryCnt).Append("\n");
+ sb.Append(" packageInfo: ").Append(PackageInfo).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as ModifyHarvestTaskResponse);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(ModifyHarvestTaskResponse input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.CreateTime == input.CreateTime ||
+ (this.CreateTime != null &&
+ this.CreateTime.Equals(input.CreateTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.TaskDesc == input.TaskDesc ||
+ (this.TaskDesc != null &&
+ this.TaskDesc.Equals(input.TaskDesc))
+ ) &&
+ (
+ this.Status == input.Status ||
+ (this.Status != null &&
+ this.Status.Equals(input.Status))
+ ) &&
+ (
+ this.MaxRetryCnt == input.MaxRetryCnt ||
+ (this.MaxRetryCnt != null &&
+ this.MaxRetryCnt.Equals(input.MaxRetryCnt))
+ ) &&
+ (
+ this.PackageInfo == input.PackageInfo ||
+ (this.PackageInfo != null &&
+ this.PackageInfo.Equals(input.PackageInfo))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.CreateTime != null)
+ hashCode = hashCode * 59 + this.CreateTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.TaskDesc != null)
+ hashCode = hashCode * 59 + this.TaskDesc.GetHashCode();
+ if (this.Status != null)
+ hashCode = hashCode * 59 + this.Status.GetHashCode();
+ if (this.MaxRetryCnt != null)
+ hashCode = hashCode * 59 + this.MaxRetryCnt.GetHashCode();
+ if (this.PackageInfo != null)
+ hashCode = hashCode * 59 + this.PackageInfo.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/UpdateHarvestJobStatusRequest.cs b/Services/Live/V1/Model/UpdateHarvestJobStatusRequest.cs
new file mode 100644
index 000000000..fc0b2eabf
--- /dev/null
+++ b/Services/Live/V1/Model/UpdateHarvestJobStatusRequest.cs
@@ -0,0 +1,108 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Request Object
+ ///
+ public class UpdateHarvestJobStatusRequest
+ {
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-Internal访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-Internal", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-Internal", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowInternal { get; set; }
+
+ ///
+ /// 服务鉴权Token,服务开启鉴权,必须携带Access-Control-Allow-External访问服务。
+ ///
+ [SDKProperty("Access-Control-Allow-External", IsHeader = true)]
+ [JsonProperty("Access-Control-Allow-External", NullValueHandling = NullValueHandling.Ignore)]
+ public string AccessControlAllowExternal { get; set; }
+
+ ///
+ ///
+ ///
+ [SDKProperty("body", IsBody = true)]
+ [JsonProperty("body", NullValueHandling = NullValueHandling.Ignore)]
+ public UpdateHarvestJobStatusRequestBody Body { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class UpdateHarvestJobStatusRequest {\n");
+ sb.Append(" accessControlAllowInternal: ").Append(AccessControlAllowInternal).Append("\n");
+ sb.Append(" accessControlAllowExternal: ").Append(AccessControlAllowExternal).Append("\n");
+ sb.Append(" body: ").Append(Body).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as UpdateHarvestJobStatusRequest);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(UpdateHarvestJobStatusRequest input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.AccessControlAllowInternal == input.AccessControlAllowInternal ||
+ (this.AccessControlAllowInternal != null &&
+ this.AccessControlAllowInternal.Equals(input.AccessControlAllowInternal))
+ ) &&
+ (
+ this.AccessControlAllowExternal == input.AccessControlAllowExternal ||
+ (this.AccessControlAllowExternal != null &&
+ this.AccessControlAllowExternal.Equals(input.AccessControlAllowExternal))
+ ) &&
+ (
+ this.Body == input.Body ||
+ (this.Body != null &&
+ this.Body.Equals(input.Body))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.AccessControlAllowInternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowInternal.GetHashCode();
+ if (this.AccessControlAllowExternal != null)
+ hashCode = hashCode * 59 + this.AccessControlAllowExternal.GetHashCode();
+ if (this.Body != null)
+ hashCode = hashCode * 59 + this.Body.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/UpdateHarvestJobStatusRequestBody.cs b/Services/Live/V1/Model/UpdateHarvestJobStatusRequestBody.cs
new file mode 100644
index 000000000..34d872e86
--- /dev/null
+++ b/Services/Live/V1/Model/UpdateHarvestJobStatusRequestBody.cs
@@ -0,0 +1,199 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// 修改状态请求体
+ ///
+ public class UpdateHarvestJobStatusRequestBody
+ {
+ ///
+ /// 任务状态
+ ///
+ /// 任务状态
+ [JsonConverter(typeof(EnumClassConverter))]
+ public class StatusEnum
+ {
+ ///
+ /// Enum UNSTART for value: UNSTART
+ ///
+ public static readonly StatusEnum UNSTART = new StatusEnum("UNSTART");
+
+ private static readonly Dictionary StaticFields =
+ new Dictionary()
+ {
+ { "UNSTART", UNSTART },
+ };
+
+ private string _value;
+
+ public StatusEnum()
+ {
+
+ }
+
+ public StatusEnum(string value)
+ {
+ _value = value;
+ }
+
+ public static StatusEnum FromValue(string value)
+ {
+ if(value == null){
+ return null;
+ }
+
+ if (StaticFields.ContainsKey(value))
+ {
+ return StaticFields[value];
+ }
+
+ return null;
+ }
+
+ public string GetValue()
+ {
+ return _value;
+ }
+
+ public override string ToString()
+ {
+ return $"{_value}";
+ }
+
+ public override int GetHashCode()
+ {
+ return this._value.GetHashCode();
+ }
+
+ public override bool Equals(object obj)
+ {
+ if (obj == null)
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, obj))
+ {
+ return true;
+ }
+
+ if (this.Equals(obj as StatusEnum))
+ {
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool Equals(StatusEnum obj)
+ {
+ if ((object)obj == null)
+ {
+ return false;
+ }
+ return StringComparer.OrdinalIgnoreCase.Equals(this._value, obj.GetValue());
+ }
+
+ public static bool operator ==(StatusEnum a, StatusEnum b)
+ {
+ if (System.Object.ReferenceEquals(a, b))
+ {
+ return true;
+ }
+
+ if ((object)a == null)
+ {
+ return false;
+ }
+
+ return a.Equals(b);
+ }
+
+ public static bool operator !=(StatusEnum a, StatusEnum b)
+ {
+ return !(a == b);
+ }
+ }
+
+
+ ///
+ /// 任务ID
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 任务状态
+ ///
+ [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
+ public StatusEnum Status { get; set; }
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class UpdateHarvestJobStatusRequestBody {\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" status: ").Append(Status).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as UpdateHarvestJobStatusRequestBody);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(UpdateHarvestJobStatusRequestBody input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.Status == input.Status ||
+ (this.Status != null &&
+ this.Status.Equals(input.Status))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.Status != null)
+ hashCode = hashCode * 59 + this.Status.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/UpdateHarvestJobStatusResponse.cs b/Services/Live/V1/Model/UpdateHarvestJobStatusResponse.cs
new file mode 100644
index 000000000..3c425c839
--- /dev/null
+++ b/Services/Live/V1/Model/UpdateHarvestJobStatusResponse.cs
@@ -0,0 +1,357 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// Response Object
+ ///
+ public class UpdateHarvestJobStatusResponse : SdkResponse
+ {
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ [JsonConverter(typeof(EnumClassConverter))]
+ public class StatusEnum
+ {
+ ///
+ /// Enum UNSTART for value: UNSTART
+ ///
+ public static readonly StatusEnum UNSTART = new StatusEnum("UNSTART");
+
+ ///
+ /// Enum IN_PROGRESS for value: IN_PROGRESS
+ ///
+ public static readonly StatusEnum IN_PROGRESS = new StatusEnum("IN_PROGRESS");
+
+ ///
+ /// Enum SUCCEEDED for value: SUCCEEDED
+ ///
+ public static readonly StatusEnum SUCCEEDED = new StatusEnum("SUCCEEDED");
+
+ ///
+ /// Enum FAILED for value: FAILED
+ ///
+ public static readonly StatusEnum FAILED = new StatusEnum("FAILED");
+
+ private static readonly Dictionary StaticFields =
+ new Dictionary()
+ {
+ { "UNSTART", UNSTART },
+ { "IN_PROGRESS", IN_PROGRESS },
+ { "SUCCEEDED", SUCCEEDED },
+ { "FAILED", FAILED },
+ };
+
+ private string _value;
+
+ public StatusEnum()
+ {
+
+ }
+
+ public StatusEnum(string value)
+ {
+ _value = value;
+ }
+
+ public static StatusEnum FromValue(string value)
+ {
+ if(value == null){
+ return null;
+ }
+
+ if (StaticFields.ContainsKey(value))
+ {
+ return StaticFields[value];
+ }
+
+ return null;
+ }
+
+ public string GetValue()
+ {
+ return _value;
+ }
+
+ public override string ToString()
+ {
+ return $"{_value}";
+ }
+
+ public override int GetHashCode()
+ {
+ return this._value.GetHashCode();
+ }
+
+ public override bool Equals(object obj)
+ {
+ if (obj == null)
+ {
+ return false;
+ }
+
+ if (ReferenceEquals(this, obj))
+ {
+ return true;
+ }
+
+ if (this.Equals(obj as StatusEnum))
+ {
+ return true;
+ }
+
+ return false;
+ }
+
+ public bool Equals(StatusEnum obj)
+ {
+ if ((object)obj == null)
+ {
+ return false;
+ }
+ return StringComparer.OrdinalIgnoreCase.Equals(this._value, obj.GetValue());
+ }
+
+ public static bool operator ==(StatusEnum a, StatusEnum b)
+ {
+ if (System.Object.ReferenceEquals(a, b))
+ {
+ return true;
+ }
+
+ if ((object)a == null)
+ {
+ return false;
+ }
+
+ return a.Equals(b);
+ }
+
+ public static bool operator !=(StatusEnum a, StatusEnum b)
+ {
+ return !(a == b);
+ }
+ }
+
+
+ ///
+ /// 任务ID
+ ///
+ [JsonProperty("job_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string JobId { get; set; }
+
+ ///
+ /// 频道推流域名
+ ///
+ [JsonProperty("domain", NullValueHandling = NullValueHandling.Ignore)]
+ public string Domain { get; set; }
+
+ ///
+ /// 组名或应用名
+ ///
+ [JsonProperty("app_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string AppName { get; set; }
+
+ ///
+ /// 频道ID。频道唯一标识,为必填项。频道ID不建议输入下划线“_”,否则会影响转码和截图任务
+ ///
+ [JsonProperty("id", NullValueHandling = NullValueHandling.Ignore)]
+ public string Id { get; set; }
+
+ ///
+ /// 开始时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("start_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? StartTime { get; set; }
+
+ ///
+ /// 结束时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("end_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? EndTime { get; set; }
+
+ ///
+ /// 任务创建时间。Unix时间错,单位为秒
+ ///
+ [JsonProperty("create_time", NullValueHandling = NullValueHandling.Ignore)]
+ public int? CreateTime { get; set; }
+
+ ///
+ /// 事件名称
+ ///
+ [JsonProperty("event_name", NullValueHandling = NullValueHandling.Ignore)]
+ public string EventName { get; set; }
+
+ ///
+ /// 任务描述
+ ///
+ [JsonProperty("task_desc", NullValueHandling = NullValueHandling.Ignore)]
+ public string TaskDesc { get; set; }
+
+ ///
+ /// 任务状态,取值为 [ UNSTART、IN_PROGRESS、SUCCEEDED、FAILED ]
+ ///
+ [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
+ public StatusEnum Status { get; set; }
+ ///
+ /// 任务状态为FAILED时,最大允许重试的次数
+ ///
+ [JsonProperty("max_retry_cnt", NullValueHandling = NullValueHandling.Ignore)]
+ public int? MaxRetryCnt { get; set; }
+
+ ///
+ ///
+ ///
+ [JsonProperty("package_info", NullValueHandling = NullValueHandling.Ignore)]
+ public VodPackageInfo PackageInfo { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class UpdateHarvestJobStatusResponse {\n");
+ sb.Append(" jobId: ").Append(JobId).Append("\n");
+ sb.Append(" domain: ").Append(Domain).Append("\n");
+ sb.Append(" appName: ").Append(AppName).Append("\n");
+ sb.Append(" id: ").Append(Id).Append("\n");
+ sb.Append(" startTime: ").Append(StartTime).Append("\n");
+ sb.Append(" endTime: ").Append(EndTime).Append("\n");
+ sb.Append(" createTime: ").Append(CreateTime).Append("\n");
+ sb.Append(" eventName: ").Append(EventName).Append("\n");
+ sb.Append(" taskDesc: ").Append(TaskDesc).Append("\n");
+ sb.Append(" status: ").Append(Status).Append("\n");
+ sb.Append(" maxRetryCnt: ").Append(MaxRetryCnt).Append("\n");
+ sb.Append(" packageInfo: ").Append(PackageInfo).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as UpdateHarvestJobStatusResponse);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(UpdateHarvestJobStatusResponse input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.JobId == input.JobId ||
+ (this.JobId != null &&
+ this.JobId.Equals(input.JobId))
+ ) &&
+ (
+ this.Domain == input.Domain ||
+ (this.Domain != null &&
+ this.Domain.Equals(input.Domain))
+ ) &&
+ (
+ this.AppName == input.AppName ||
+ (this.AppName != null &&
+ this.AppName.Equals(input.AppName))
+ ) &&
+ (
+ this.Id == input.Id ||
+ (this.Id != null &&
+ this.Id.Equals(input.Id))
+ ) &&
+ (
+ this.StartTime == input.StartTime ||
+ (this.StartTime != null &&
+ this.StartTime.Equals(input.StartTime))
+ ) &&
+ (
+ this.EndTime == input.EndTime ||
+ (this.EndTime != null &&
+ this.EndTime.Equals(input.EndTime))
+ ) &&
+ (
+ this.CreateTime == input.CreateTime ||
+ (this.CreateTime != null &&
+ this.CreateTime.Equals(input.CreateTime))
+ ) &&
+ (
+ this.EventName == input.EventName ||
+ (this.EventName != null &&
+ this.EventName.Equals(input.EventName))
+ ) &&
+ (
+ this.TaskDesc == input.TaskDesc ||
+ (this.TaskDesc != null &&
+ this.TaskDesc.Equals(input.TaskDesc))
+ ) &&
+ (
+ this.Status == input.Status ||
+ (this.Status != null &&
+ this.Status.Equals(input.Status))
+ ) &&
+ (
+ this.MaxRetryCnt == input.MaxRetryCnt ||
+ (this.MaxRetryCnt != null &&
+ this.MaxRetryCnt.Equals(input.MaxRetryCnt))
+ ) &&
+ (
+ this.PackageInfo == input.PackageInfo ||
+ (this.PackageInfo != null &&
+ this.PackageInfo.Equals(input.PackageInfo))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.JobId != null)
+ hashCode = hashCode * 59 + this.JobId.GetHashCode();
+ if (this.Domain != null)
+ hashCode = hashCode * 59 + this.Domain.GetHashCode();
+ if (this.AppName != null)
+ hashCode = hashCode * 59 + this.AppName.GetHashCode();
+ if (this.Id != null)
+ hashCode = hashCode * 59 + this.Id.GetHashCode();
+ if (this.StartTime != null)
+ hashCode = hashCode * 59 + this.StartTime.GetHashCode();
+ if (this.EndTime != null)
+ hashCode = hashCode * 59 + this.EndTime.GetHashCode();
+ if (this.CreateTime != null)
+ hashCode = hashCode * 59 + this.CreateTime.GetHashCode();
+ if (this.EventName != null)
+ hashCode = hashCode * 59 + this.EventName.GetHashCode();
+ if (this.TaskDesc != null)
+ hashCode = hashCode * 59 + this.TaskDesc.GetHashCode();
+ if (this.Status != null)
+ hashCode = hashCode * 59 + this.Status.GetHashCode();
+ if (this.MaxRetryCnt != null)
+ hashCode = hashCode * 59 + this.MaxRetryCnt.GetHashCode();
+ if (this.PackageInfo != null)
+ hashCode = hashCode * 59 + this.PackageInfo.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Live/V1/Model/VodPackageInfo.cs b/Services/Live/V1/Model/VodPackageInfo.cs
new file mode 100644
index 000000000..55873e5c3
--- /dev/null
+++ b/Services/Live/V1/Model/VodPackageInfo.cs
@@ -0,0 +1,91 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Linq;
+using System.Runtime.Serialization;
+
+using Newtonsoft.Json;
+using Newtonsoft.Json.Converters;
+using HuaweiCloud.SDK.Core;
+
+namespace HuaweiCloud.SDK.Live.V1.Model
+{
+ ///
+ /// VOD 打包信息,包括DRM resourceID和转封装模板ID,模板ID通过VOD查询
+ ///
+ public class VodPackageInfo
+ {
+
+ ///
+ /// VOD 打包信息,转封装模板ID,模板ID通过VOD查询
+ ///
+ [JsonProperty("packaging_group_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string PackagingGroupId { get; set; }
+
+ ///
+ /// DRM resourceID
+ ///
+ [JsonProperty("resource_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string ResourceId { get; set; }
+
+
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class VodPackageInfo {\n");
+ sb.Append(" packagingGroupId: ").Append(PackagingGroupId).Append("\n");
+ sb.Append(" resourceId: ").Append(ResourceId).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as VodPackageInfo);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(VodPackageInfo input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.PackagingGroupId == input.PackagingGroupId ||
+ (this.PackagingGroupId != null &&
+ this.PackagingGroupId.Equals(input.PackagingGroupId))
+ ) &&
+ (
+ this.ResourceId == input.ResourceId ||
+ (this.ResourceId != null &&
+ this.ResourceId.Equals(input.ResourceId))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.PackagingGroupId != null)
+ hashCode = hashCode * 59 + this.PackagingGroupId.GetHashCode();
+ if (this.ResourceId != null)
+ hashCode = hashCode * 59 + this.ResourceId.GetHashCode();
+ return hashCode;
+ }
+ }
+ }
+}
diff --git a/Services/Lts/Lts.csproj b/Services/Lts/Lts.csproj
index 88d531951..a97fc6a7e 100644
--- a/Services/Lts/Lts.csproj
+++ b/Services/Lts/Lts.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Lts
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Moderation/Moderation.csproj b/Services/Moderation/Moderation.csproj
index c3c6006e3..77df481c9 100644
--- a/Services/Moderation/Moderation.csproj
+++ b/Services/Moderation/Moderation.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Moderation
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Mpc/Mpc.csproj b/Services/Mpc/Mpc.csproj
index c89472186..2fd0a062b 100644
--- a/Services/Mpc/Mpc.csproj
+++ b/Services/Mpc/Mpc.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Mpc
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Msgsms/Msgsms.csproj b/Services/Msgsms/Msgsms.csproj
index 63ededba2..1fa34b137 100644
--- a/Services/Msgsms/Msgsms.csproj
+++ b/Services/Msgsms/Msgsms.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Msgsms
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Nat/Nat.csproj b/Services/Nat/Nat.csproj
index 88eade97a..bf324b3db 100644
--- a/Services/Nat/Nat.csproj
+++ b/Services/Nat/Nat.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Nat
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ocr/Ocr.csproj b/Services/Ocr/Ocr.csproj
index 8873bc7c2..c79346a57 100644
--- a/Services/Ocr/Ocr.csproj
+++ b/Services/Ocr/Ocr.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Ocr
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Organizations/Organizations.csproj b/Services/Organizations/Organizations.csproj
index 59c829c85..47146de89 100644
--- a/Services/Organizations/Organizations.csproj
+++ b/Services/Organizations/Organizations.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Organizations
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/PanguLargeModels/PanguLargeModels.csproj b/Services/PanguLargeModels/PanguLargeModels.csproj
index f22ebe8a5..212caf51f 100644
--- a/Services/PanguLargeModels/PanguLargeModels.csproj
+++ b/Services/PanguLargeModels/PanguLargeModels.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.PanguLargeModels
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/ProjectMan/ProjectMan.csproj b/Services/ProjectMan/ProjectMan.csproj
index c52a519f7..5385d7392 100644
--- a/Services/ProjectMan/ProjectMan.csproj
+++ b/Services/ProjectMan/ProjectMan.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.ProjectMan
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Rabbitmq/Rabbitmq.csproj b/Services/Rabbitmq/Rabbitmq.csproj
index b77cb84c9..f1568b77d 100644
--- a/Services/Rabbitmq/Rabbitmq.csproj
+++ b/Services/Rabbitmq/Rabbitmq.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Rabbitmq
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Ram/Ram.csproj b/Services/Ram/Ram.csproj
index b48392dba..40ba52f94 100644
--- a/Services/Ram/Ram.csproj
+++ b/Services/Ram/Ram.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Ram
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Rds/Rds.csproj b/Services/Rds/Rds.csproj
index 19b110600..c3b697858 100644
--- a/Services/Rds/Rds.csproj
+++ b/Services/Rds/Rds.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Rds
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Rds/V3/Model/SetAuditlogPolicyResponse.cs b/Services/Rds/V3/Model/SetAuditlogPolicyResponse.cs
index 236530807..3dc335f0c 100644
--- a/Services/Rds/V3/Model/SetAuditlogPolicyResponse.cs
+++ b/Services/Rds/V3/Model/SetAuditlogPolicyResponse.cs
@@ -16,7 +16,62 @@ namespace HuaweiCloud.SDK.Rds.V3.Model
public class SetAuditlogPolicyResponse : SdkResponse
{
+ ///
+ /// 设置审计日志策略的操作结果。 - COMPLETED:已完成。
+ ///
+ [JsonProperty("status", NullValueHandling = NullValueHandling.Ignore)]
+ public string Status { get; set; }
+
+ ///
+ /// Get the string
+ ///
+ public override string ToString()
+ {
+ var sb = new StringBuilder();
+ sb.Append("class SetAuditlogPolicyResponse {\n");
+ sb.Append(" status: ").Append(Status).Append("\n");
+ sb.Append("}\n");
+ return sb.ToString();
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public override bool Equals(object input)
+ {
+ return this.Equals(input as SetAuditlogPolicyResponse);
+ }
+
+ ///
+ /// Returns true if objects are equal
+ ///
+ public bool Equals(SetAuditlogPolicyResponse input)
+ {
+ if (input == null)
+ return false;
+
+ return
+ (
+ this.Status == input.Status ||
+ (this.Status != null &&
+ this.Status.Equals(input.Status))
+ );
+ }
+
+ ///
+ /// Get hash code
+ ///
+ public override int GetHashCode()
+ {
+ unchecked // Overflow is fine, just wrap
+ {
+ int hashCode = 41;
+ if (this.Status != null)
+ hashCode = hashCode * 59 + this.Status.GetHashCode();
+ return hashCode;
+ }
+ }
}
}
diff --git a/Services/Rds/V3/RdsAsyncClient.cs b/Services/Rds/V3/RdsAsyncClient.cs
index b47711669..1b40408ac 100644
--- a/Services/Rds/V3/RdsAsyncClient.cs
+++ b/Services/Rds/V3/RdsAsyncClient.cs
@@ -2310,7 +2310,7 @@ public async Task SetAuditlogPolicyAsync(SetAuditlogP
var urlPath = HttpUtils.AddUrlPath("/v3/{project_id}/instances/{instance_id}/auditlog-policy", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", setAuditlogPolicyRequest);
var response = await DoHttpRequestAsync("PUT", request);
- return JsonUtils.DeSerializeNull(response);
+ return JsonUtils.DeSerialize(response);
}
public AsyncInvoker SetAuditlogPolicyAsyncInvoker(SetAuditlogPolicyRequest setAuditlogPolicyRequest)
@@ -2319,7 +2319,7 @@ public AsyncInvoker SetAuditlogPolicyAsyncInvoker(Set
urlParam.Add("instance_id", setAuditlogPolicyRequest.InstanceId.ToString());
var urlPath = HttpUtils.AddUrlPath("/v3/{project_id}/instances/{instance_id}/auditlog-policy", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", setAuditlogPolicyRequest);
- return new AsyncInvoker(this, "PUT", request, JsonUtils.DeSerializeNull);
+ return new AsyncInvoker(this, "PUT", request, JsonUtils.DeSerialize);
}
///
diff --git a/Services/Rds/V3/RdsClient.cs b/Services/Rds/V3/RdsClient.cs
index 7163f74e2..a2aa138a6 100644
--- a/Services/Rds/V3/RdsClient.cs
+++ b/Services/Rds/V3/RdsClient.cs
@@ -2309,7 +2309,7 @@ public SetAuditlogPolicyResponse SetAuditlogPolicy(SetAuditlogPolicyRequest setA
var urlPath = HttpUtils.AddUrlPath("/v3/{project_id}/instances/{instance_id}/auditlog-policy", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", setAuditlogPolicyRequest);
var response = DoHttpRequestSync("PUT", request);
- return JsonUtils.DeSerializeNull(response);
+ return JsonUtils.DeSerialize(response);
}
public SyncInvoker SetAuditlogPolicyInvoker(SetAuditlogPolicyRequest setAuditlogPolicyRequest)
@@ -2318,7 +2318,7 @@ public SyncInvoker SetAuditlogPolicyInvoker(SetAuditl
urlParam.Add("instance_id", setAuditlogPolicyRequest.InstanceId.ToString());
var urlPath = HttpUtils.AddUrlPath("/v3/{project_id}/instances/{instance_id}/auditlog-policy", urlParam);
var request = HttpUtils.InitSdkRequest(urlPath, "application/json", setAuditlogPolicyRequest);
- return new SyncInvoker(this, "PUT", request, JsonUtils.DeSerializeNull);
+ return new SyncInvoker(this, "PUT", request, JsonUtils.DeSerialize);
}
///
diff --git a/Services/Rds/V3/Region/RdsRegion.cs b/Services/Rds/V3/Region/RdsRegion.cs
index 327f464c2..8d16823fb 100644
--- a/Services/Rds/V3/Region/RdsRegion.cs
+++ b/Services/Rds/V3/Region/RdsRegion.cs
@@ -19,6 +19,8 @@ public class RdsRegion
"https://rds.cn-east-3.myhuaweicloud.com");
public static readonly Region CN_EAST_5 = new Region("cn-east-5",
"https://rds.cn-east-5.myhuaweicloud.com");
+ public static readonly Region CN_EAST_4 = new Region("cn-east-4",
+ "https://rds.cn-east-4.myhuaweicloud.com");
public static readonly Region CN_SOUTH_1 = new Region("cn-south-1",
"https://rds.cn-south-1.myhuaweicloud.com");
public static readonly Region CN_SOUTHWEST_2 = new Region("cn-southwest-2",
@@ -70,6 +72,7 @@ public class RdsRegion
{ "cn-east-2", CN_EAST_2 },
{ "cn-east-3", CN_EAST_3 },
{ "cn-east-5", CN_EAST_5 },
+ { "cn-east-4", CN_EAST_4 },
{ "cn-south-1", CN_SOUTH_1 },
{ "cn-southwest-2", CN_SOUTHWEST_2 },
{ "ap-southeast-2", AP_SOUTHEAST_2 },
diff --git a/Services/RocketMQ/RocketMQ.csproj b/Services/RocketMQ/RocketMQ.csproj
index 71bb14535..807b2e29a 100644
--- a/Services/RocketMQ/RocketMQ.csproj
+++ b/Services/RocketMQ/RocketMQ.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.RocketMQ
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Sis/Sis.csproj b/Services/Sis/Sis.csproj
index 033c02776..002d9e269 100644
--- a/Services/Sis/Sis.csproj
+++ b/Services/Sis/Sis.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Sis
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Smn/Smn.csproj b/Services/Smn/Smn.csproj
index fb493567d..66f5758f0 100644
--- a/Services/Smn/Smn.csproj
+++ b/Services/Smn/Smn.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Smn
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Swr/Swr.csproj b/Services/Swr/Swr.csproj
index ce4307162..b04289bef 100644
--- a/Services/Swr/Swr.csproj
+++ b/Services/Swr/Swr.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Swr
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Tms/Tms.csproj b/Services/Tms/Tms.csproj
index 59403a72a..ca40994f3 100644
--- a/Services/Tms/Tms.csproj
+++ b/Services/Tms/Tms.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Tms
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Vod/Vod.csproj b/Services/Vod/Vod.csproj
index 82e2b9067..889a08ec0 100644
--- a/Services/Vod/Vod.csproj
+++ b/Services/Vod/Vod.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Vod
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Vpc/Vpc.csproj b/Services/Vpc/Vpc.csproj
index fa1df8fff..363ccc958 100644
--- a/Services/Vpc/Vpc.csproj
+++ b/Services/Vpc/Vpc.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Vpc
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/Services/Vpcep/V1/Model/CreateEndpointServiceRequestBody.cs b/Services/Vpcep/V1/Model/CreateEndpointServiceRequestBody.cs
index 5ccdf5d0f..cc581f8fb 100644
--- a/Services/Vpcep/V1/Model/CreateEndpointServiceRequestBody.cs
+++ b/Services/Vpcep/V1/Model/CreateEndpointServiceRequestBody.cs
@@ -568,6 +568,12 @@ public bool Equals(IpVersionEnum obj)
///
[JsonProperty("ip_version", NullValueHandling = NullValueHandling.Ignore)]
public IpVersionEnum IpVersion { get; set; }
+ ///
+ /// 接口型snat的地址段,ip_version为ipv6时必选。创建服务时使用的VPC内的任意一个网络ID。当服务类型为VIP、VM、ELBV2类型时使用
+ ///
+ [JsonProperty("snat_network_id", NullValueHandling = NullValueHandling.Ignore)]
+ public string SnatNetworkId { get; set; }
+
///
@@ -589,6 +595,7 @@ public override string ToString()
sb.Append(" tags: ").Append(Tags).Append("\n");
sb.Append(" description: ").Append(Description).Append("\n");
sb.Append(" ipVersion: ").Append(IpVersion).Append("\n");
+ sb.Append(" snatNetworkId: ").Append(SnatNetworkId).Append("\n");
sb.Append("}\n");
return sb.ToString();
}
@@ -671,6 +678,11 @@ public bool Equals(CreateEndpointServiceRequestBody input)
this.IpVersion == input.IpVersion ||
(this.IpVersion != null &&
this.IpVersion.Equals(input.IpVersion))
+ ) &&
+ (
+ this.SnatNetworkId == input.SnatNetworkId ||
+ (this.SnatNetworkId != null &&
+ this.SnatNetworkId.Equals(input.SnatNetworkId))
);
}
@@ -706,6 +718,8 @@ public override int GetHashCode()
hashCode = hashCode * 59 + this.Description.GetHashCode();
if (this.IpVersion != null)
hashCode = hashCode * 59 + this.IpVersion.GetHashCode();
+ if (this.SnatNetworkId != null)
+ hashCode = hashCode * 59 + this.SnatNetworkId.GetHashCode();
return hashCode;
}
}
diff --git a/Services/Vpcep/V1/Model/PolicyStatement.cs b/Services/Vpcep/V1/Model/PolicyStatement.cs
index 5e34113ca..12e532ce0 100644
--- a/Services/Vpcep/V1/Model/PolicyStatement.cs
+++ b/Services/Vpcep/V1/Model/PolicyStatement.cs
@@ -16,9 +16,9 @@ namespace HuaweiCloud.SDK.Vpcep.V1.Model
public class PolicyStatement
{
///
- /// - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
+ /// - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
///
- /// - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
+ /// - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
[JsonConverter(typeof(EnumClassConverter))]
public class EffectEnum
{
@@ -132,7 +132,7 @@ public bool Equals(EffectEnum obj)
///
- /// - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
+ /// - Allow,允许控制访问权限 - Deny,拒绝控制访问权限
///
[JsonProperty("Effect", NullValueHandling = NullValueHandling.Ignore)]
public EffectEnum Effect { get; set; }
diff --git a/Services/Vpcep/V1/VpcepAsyncClient.cs b/Services/Vpcep/V1/VpcepAsyncClient.cs
index d18fe60f0..0e31c92d8 100644
--- a/Services/Vpcep/V1/VpcepAsyncClient.cs
+++ b/Services/Vpcep/V1/VpcepAsyncClient.cs
@@ -128,6 +128,9 @@ public AsyncInvoker BatchRemoveEn
///
/// 创建终端节点,以便访问终端节点服务。
///
+ /// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。
+ /// 通常创建终端节点需要1~2分钟,可以通过[查询终端节点详情](https://support.huaweicloud.com/api-vpcep/ListEndpointInfoDetails.html)查看创建结果
+ ///
/// Please refer to HUAWEI cloud API Explorer for details.
///
public async Task CreateEndpointAsync(CreateEndpointRequest createEndpointRequest)
@@ -152,9 +155,9 @@ public AsyncInvoker CreateEndpointAsyncInvoker(CreateEnd
///
/// 创建终端节点服务,允许其他用户创建终端节点连接您创建的终端节点服务,
/// 使用您所提供的服务。
- /// 说明
+ ///
/// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。
- /// 通常创建终端节点服务需要1~2分钟,可以通过查询终端节点服务详情查看创建结果。
+ /// 通常创建终端节点服务需要1~2分钟,可以通过[查询终端节点服务详情](https://support.huaweicloud.com/api-vpcep/ListServiceDetails.html)查看创建结果。
///
/// Please refer to HUAWEI cloud API Explorer for details.
///
@@ -180,6 +183,9 @@ public AsyncInvoker CreateEndpointServiceAsyncInv
///
/// 删除终端节点。
///
+ /// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。
+ /// 通常删除终端节点需要1~2分钟,可以通过[查询终端节点详情](https://support.huaweicloud.com/api-vpcep/ListEndpointInfoDetails.html)查看删除结果
+ ///
/// Please refer to HUAWEI cloud API Explorer for details.
///
public async Task DeleteEndpointAsync(DeleteEndpointRequest deleteEndpointRequest)
@@ -232,6 +238,8 @@ public AsyncInvoker DeleteEndpointPolicyAsyncInvok
///
/// 删除终端节点服务。
///
+ /// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。通常删除终端节点服务需要1~2分钟,可以通过[查询终端节点服务详情](https://support.huaweicloud.com/api-vpcep/ListServiceDetails.html)查看删除结果。
+ ///
/// Please refer to HUAWEI cloud API Explorer for details.
///
public async Task DeleteEndpointServiceAsync(DeleteEndpointServiceRequest deleteEndpointServiceRequest)
diff --git a/Services/Vpcep/V1/VpcepClient.cs b/Services/Vpcep/V1/VpcepClient.cs
index 349f12c40..1093f210b 100644
--- a/Services/Vpcep/V1/VpcepClient.cs
+++ b/Services/Vpcep/V1/VpcepClient.cs
@@ -127,6 +127,9 @@ public SyncInvoker BatchRemoveEnd
///
/// 创建终端节点,以便访问终端节点服务。
///
+ /// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。
+ /// 通常创建终端节点需要1~2分钟,可以通过[查询终端节点详情](https://support.huaweicloud.com/api-vpcep/ListEndpointInfoDetails.html)查看创建结果
+ ///
/// Please refer to HUAWEI cloud API Explorer for details.
///
public CreateEndpointResponse CreateEndpoint(CreateEndpointRequest createEndpointRequest)
@@ -151,9 +154,9 @@ public SyncInvoker CreateEndpointInvoker(CreateEndpointR
///
/// 创建终端节点服务,允许其他用户创建终端节点连接您创建的终端节点服务,
/// 使用您所提供的服务。
- /// 说明
+ ///
/// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。
- /// 通常创建终端节点服务需要1~2分钟,可以通过查询终端节点服务详情查看创建结果。
+ /// 通常创建终端节点服务需要1~2分钟,可以通过[查询终端节点服务详情](https://support.huaweicloud.com/api-vpcep/ListServiceDetails.html)查看创建结果。
///
/// Please refer to HUAWEI cloud API Explorer for details.
///
@@ -179,6 +182,9 @@ public SyncInvoker CreateEndpointServiceInvoker(C
///
/// 删除终端节点。
///
+ /// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。
+ /// 通常删除终端节点需要1~2分钟,可以通过[查询终端节点详情](https://support.huaweicloud.com/api-vpcep/ListEndpointInfoDetails.html)查看删除结果
+ ///
/// Please refer to HUAWEI cloud API Explorer for details.
///
public DeleteEndpointResponse DeleteEndpoint(DeleteEndpointRequest deleteEndpointRequest)
@@ -231,6 +237,8 @@ public SyncInvoker DeleteEndpointPolicyInvoker(Del
///
/// 删除终端节点服务。
///
+ /// 该接口为异步接口,调用成功会返回200状态码,说明请求已正常下发。通常删除终端节点服务需要1~2分钟,可以通过[查询终端节点服务详情](https://support.huaweicloud.com/api-vpcep/ListServiceDetails.html)查看删除结果。
+ ///
/// Please refer to HUAWEI cloud API Explorer for details.
///
public DeleteEndpointServiceResponse DeleteEndpointService(DeleteEndpointServiceRequest deleteEndpointServiceRequest)
diff --git a/Services/Vpcep/Vpcep.csproj b/Services/Vpcep/Vpcep.csproj
index 2d2ad1c55..41e146210 100644
--- a/Services/Vpcep/Vpcep.csproj
+++ b/Services/Vpcep/Vpcep.csproj
@@ -15,7 +15,7 @@
false
false
HuaweiCloud.SDK.Vpcep
- 3.1.113
+ 3.1.114
HuaweiCloud
Copyright 2023 Huawei Technologies Co., Ltd.
Huawei Technologies Co., Ltd.
diff --git a/VERSION b/VERSION
index 71ba69ad2..c26761982 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-3.1.113
+3.1.114