@alicloud/ddosbgp20180720 2.1.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/client.ts CHANGED
@@ -80,6 +80,88 @@ export class AddIpResponse extends $tea.Model {
80
80
  }
81
81
  }
82
82
 
83
+ export class AddRdMemberListRequest extends $tea.Model {
84
+ memberList?: AddRdMemberListRequestMemberList[];
85
+ static names(): { [key: string]: string } {
86
+ return {
87
+ memberList: 'MemberList',
88
+ };
89
+ }
90
+
91
+ static types(): { [key: string]: any } {
92
+ return {
93
+ memberList: { 'type': 'array', 'itemType': AddRdMemberListRequestMemberList },
94
+ };
95
+ }
96
+
97
+ constructor(map?: { [key: string]: any }) {
98
+ super(map);
99
+ }
100
+ }
101
+
102
+ export class AddRdMemberListShrinkRequest extends $tea.Model {
103
+ memberListShrink?: string;
104
+ static names(): { [key: string]: string } {
105
+ return {
106
+ memberListShrink: 'MemberList',
107
+ };
108
+ }
109
+
110
+ static types(): { [key: string]: any } {
111
+ return {
112
+ memberListShrink: 'string',
113
+ };
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
121
+ export class AddRdMemberListResponseBody extends $tea.Model {
122
+ requestId?: string;
123
+ static names(): { [key: string]: string } {
124
+ return {
125
+ requestId: 'RequestId',
126
+ };
127
+ }
128
+
129
+ static types(): { [key: string]: any } {
130
+ return {
131
+ requestId: 'string',
132
+ };
133
+ }
134
+
135
+ constructor(map?: { [key: string]: any }) {
136
+ super(map);
137
+ }
138
+ }
139
+
140
+ export class AddRdMemberListResponse extends $tea.Model {
141
+ headers?: { [key: string]: string };
142
+ statusCode?: number;
143
+ body?: AddRdMemberListResponseBody;
144
+ static names(): { [key: string]: string } {
145
+ return {
146
+ headers: 'headers',
147
+ statusCode: 'statusCode',
148
+ body: 'body',
149
+ };
150
+ }
151
+
152
+ static types(): { [key: string]: any } {
153
+ return {
154
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
155
+ statusCode: 'number',
156
+ body: AddRdMemberListResponseBody,
157
+ };
158
+ }
159
+
160
+ constructor(map?: { [key: string]: any }) {
161
+ super(map);
162
+ }
163
+ }
164
+
83
165
  export class AttachAssetGroupToInstanceRequest extends $tea.Model {
84
166
  assetGroupList?: AttachAssetGroupToInstanceRequestAssetGroupList[];
85
167
  instanceId?: string;
@@ -657,6 +739,88 @@ export class DeleteIpResponse extends $tea.Model {
657
739
  }
658
740
  }
659
741
 
742
+ export class DeleteRdMemberListRequest extends $tea.Model {
743
+ memberList?: DeleteRdMemberListRequestMemberList[];
744
+ static names(): { [key: string]: string } {
745
+ return {
746
+ memberList: 'MemberList',
747
+ };
748
+ }
749
+
750
+ static types(): { [key: string]: any } {
751
+ return {
752
+ memberList: { 'type': 'array', 'itemType': DeleteRdMemberListRequestMemberList },
753
+ };
754
+ }
755
+
756
+ constructor(map?: { [key: string]: any }) {
757
+ super(map);
758
+ }
759
+ }
760
+
761
+ export class DeleteRdMemberListShrinkRequest extends $tea.Model {
762
+ memberListShrink?: string;
763
+ static names(): { [key: string]: string } {
764
+ return {
765
+ memberListShrink: 'MemberList',
766
+ };
767
+ }
768
+
769
+ static types(): { [key: string]: any } {
770
+ return {
771
+ memberListShrink: 'string',
772
+ };
773
+ }
774
+
775
+ constructor(map?: { [key: string]: any }) {
776
+ super(map);
777
+ }
778
+ }
779
+
780
+ export class DeleteRdMemberListResponseBody extends $tea.Model {
781
+ requestId?: string;
782
+ static names(): { [key: string]: string } {
783
+ return {
784
+ requestId: 'RequestId',
785
+ };
786
+ }
787
+
788
+ static types(): { [key: string]: any } {
789
+ return {
790
+ requestId: 'string',
791
+ };
792
+ }
793
+
794
+ constructor(map?: { [key: string]: any }) {
795
+ super(map);
796
+ }
797
+ }
798
+
799
+ export class DeleteRdMemberListResponse extends $tea.Model {
800
+ headers?: { [key: string]: string };
801
+ statusCode?: number;
802
+ body?: DeleteRdMemberListResponseBody;
803
+ static names(): { [key: string]: string } {
804
+ return {
805
+ headers: 'headers',
806
+ statusCode: 'statusCode',
807
+ body: 'body',
808
+ };
809
+ }
810
+
811
+ static types(): { [key: string]: any } {
812
+ return {
813
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
814
+ statusCode: 'number',
815
+ body: DeleteRdMemberListResponseBody,
816
+ };
817
+ }
818
+
819
+ constructor(map?: { [key: string]: any }) {
820
+ super(map);
821
+ }
822
+ }
823
+
660
824
  export class DeleteSchedruleOnDemandRequest extends $tea.Model {
661
825
  instanceId?: string;
662
826
  regionId?: string;
@@ -984,6 +1148,120 @@ export class DescribeDdosEventResponse extends $tea.Model {
984
1148
  }
985
1149
  }
986
1150
 
1151
+ export class DescribeDdosOriginInstanceBillRequest extends $tea.Model {
1152
+ endTime?: number;
1153
+ isShowList?: boolean;
1154
+ startTime?: number;
1155
+ type?: string;
1156
+ static names(): { [key: string]: string } {
1157
+ return {
1158
+ endTime: 'EndTime',
1159
+ isShowList: 'IsShowList',
1160
+ startTime: 'StartTime',
1161
+ type: 'Type',
1162
+ };
1163
+ }
1164
+
1165
+ static types(): { [key: string]: any } {
1166
+ return {
1167
+ endTime: 'number',
1168
+ isShowList: 'boolean',
1169
+ startTime: 'number',
1170
+ type: 'string',
1171
+ };
1172
+ }
1173
+
1174
+ constructor(map?: { [key: string]: any }) {
1175
+ super(map);
1176
+ }
1177
+ }
1178
+
1179
+ export class DescribeDdosOriginInstanceBillResponseBody extends $tea.Model {
1180
+ debtStatus?: number;
1181
+ flowList?: DescribeDdosOriginInstanceBillResponseBodyFlowList[];
1182
+ flowRegion?: { [key: string]: any };
1183
+ instanceId?: string;
1184
+ ipCount?: number;
1185
+ ipCountOrFunctionList?: DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList[];
1186
+ ipInfo?: string;
1187
+ requestId?: string;
1188
+ standardAssetsFlowList?: DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList[];
1189
+ standardAssetsFlowRegion?: { [key: string]: any };
1190
+ standardAssetsTotalFlowCn?: number;
1191
+ standardAssetsTotalFlowOv?: number;
1192
+ status?: number;
1193
+ totalFlowCn?: number;
1194
+ totalFlowOv?: number;
1195
+ static names(): { [key: string]: string } {
1196
+ return {
1197
+ debtStatus: 'DebtStatus',
1198
+ flowList: 'FlowList',
1199
+ flowRegion: 'FlowRegion',
1200
+ instanceId: 'InstanceId',
1201
+ ipCount: 'IpCount',
1202
+ ipCountOrFunctionList: 'IpCountOrFunctionList',
1203
+ ipInfo: 'IpInfo',
1204
+ requestId: 'RequestId',
1205
+ standardAssetsFlowList: 'StandardAssetsFlowList',
1206
+ standardAssetsFlowRegion: 'StandardAssetsFlowRegion',
1207
+ standardAssetsTotalFlowCn: 'StandardAssetsTotalFlowCn',
1208
+ standardAssetsTotalFlowOv: 'StandardAssetsTotalFlowOv',
1209
+ status: 'Status',
1210
+ totalFlowCn: 'TotalFlowCn',
1211
+ totalFlowOv: 'TotalFlowOv',
1212
+ };
1213
+ }
1214
+
1215
+ static types(): { [key: string]: any } {
1216
+ return {
1217
+ debtStatus: 'number',
1218
+ flowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyFlowList },
1219
+ flowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1220
+ instanceId: 'string',
1221
+ ipCount: 'number',
1222
+ ipCountOrFunctionList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList },
1223
+ ipInfo: 'string',
1224
+ requestId: 'string',
1225
+ standardAssetsFlowList: { 'type': 'array', 'itemType': DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList },
1226
+ standardAssetsFlowRegion: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
1227
+ standardAssetsTotalFlowCn: 'number',
1228
+ standardAssetsTotalFlowOv: 'number',
1229
+ status: 'number',
1230
+ totalFlowCn: 'number',
1231
+ totalFlowOv: 'number',
1232
+ };
1233
+ }
1234
+
1235
+ constructor(map?: { [key: string]: any }) {
1236
+ super(map);
1237
+ }
1238
+ }
1239
+
1240
+ export class DescribeDdosOriginInstanceBillResponse extends $tea.Model {
1241
+ headers?: { [key: string]: string };
1242
+ statusCode?: number;
1243
+ body?: DescribeDdosOriginInstanceBillResponseBody;
1244
+ static names(): { [key: string]: string } {
1245
+ return {
1246
+ headers: 'headers',
1247
+ statusCode: 'statusCode',
1248
+ body: 'body',
1249
+ };
1250
+ }
1251
+
1252
+ static types(): { [key: string]: any } {
1253
+ return {
1254
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1255
+ statusCode: 'number',
1256
+ body: DescribeDdosOriginInstanceBillResponseBody,
1257
+ };
1258
+ }
1259
+
1260
+ constructor(map?: { [key: string]: any }) {
1261
+ super(map);
1262
+ }
1263
+ }
1264
+
987
1265
  export class DescribeExcpetionCountRequest extends $tea.Model {
988
1266
  regionId?: string;
989
1267
  resourceGroupId?: string;
@@ -1581,6 +1859,149 @@ export class DescribePackIpListResponse extends $tea.Model {
1581
1859
  }
1582
1860
  }
1583
1861
 
1862
+ export class DescribeRdMemberListRequest extends $tea.Model {
1863
+ pageNo?: number;
1864
+ pageSize?: number;
1865
+ resourceDirectoryId?: string;
1866
+ static names(): { [key: string]: string } {
1867
+ return {
1868
+ pageNo: 'PageNo',
1869
+ pageSize: 'PageSize',
1870
+ resourceDirectoryId: 'ResourceDirectoryId',
1871
+ };
1872
+ }
1873
+
1874
+ static types(): { [key: string]: any } {
1875
+ return {
1876
+ pageNo: 'number',
1877
+ pageSize: 'number',
1878
+ resourceDirectoryId: 'string',
1879
+ };
1880
+ }
1881
+
1882
+ constructor(map?: { [key: string]: any }) {
1883
+ super(map);
1884
+ }
1885
+ }
1886
+
1887
+ export class DescribeRdMemberListResponseBody extends $tea.Model {
1888
+ memberList?: DescribeRdMemberListResponseBodyMemberList[];
1889
+ requestId?: string;
1890
+ total?: number;
1891
+ static names(): { [key: string]: string } {
1892
+ return {
1893
+ memberList: 'MemberList',
1894
+ requestId: 'RequestId',
1895
+ total: 'Total',
1896
+ };
1897
+ }
1898
+
1899
+ static types(): { [key: string]: any } {
1900
+ return {
1901
+ memberList: { 'type': 'array', 'itemType': DescribeRdMemberListResponseBodyMemberList },
1902
+ requestId: 'string',
1903
+ total: 'number',
1904
+ };
1905
+ }
1906
+
1907
+ constructor(map?: { [key: string]: any }) {
1908
+ super(map);
1909
+ }
1910
+ }
1911
+
1912
+ export class DescribeRdMemberListResponse extends $tea.Model {
1913
+ headers?: { [key: string]: string };
1914
+ statusCode?: number;
1915
+ body?: DescribeRdMemberListResponseBody;
1916
+ static names(): { [key: string]: string } {
1917
+ return {
1918
+ headers: 'headers',
1919
+ statusCode: 'statusCode',
1920
+ body: 'body',
1921
+ };
1922
+ }
1923
+
1924
+ static types(): { [key: string]: any } {
1925
+ return {
1926
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1927
+ statusCode: 'number',
1928
+ body: DescribeRdMemberListResponseBody,
1929
+ };
1930
+ }
1931
+
1932
+ constructor(map?: { [key: string]: any }) {
1933
+ super(map);
1934
+ }
1935
+ }
1936
+
1937
+ export class DescribeRdStatusResponseBody extends $tea.Model {
1938
+ currentUid?: string;
1939
+ currentUidType?: string;
1940
+ enabled?: boolean;
1941
+ localEnable?: boolean;
1942
+ masterUid?: string;
1943
+ remoteEnable?: boolean;
1944
+ requestId?: string;
1945
+ rootUid?: string;
1946
+ servicePrincipalEnabled?: boolean;
1947
+ static names(): { [key: string]: string } {
1948
+ return {
1949
+ currentUid: 'CurrentUid',
1950
+ currentUidType: 'CurrentUidType',
1951
+ enabled: 'Enabled',
1952
+ localEnable: 'LocalEnable',
1953
+ masterUid: 'MasterUid',
1954
+ remoteEnable: 'RemoteEnable',
1955
+ requestId: 'RequestId',
1956
+ rootUid: 'RootUid',
1957
+ servicePrincipalEnabled: 'ServicePrincipalEnabled',
1958
+ };
1959
+ }
1960
+
1961
+ static types(): { [key: string]: any } {
1962
+ return {
1963
+ currentUid: 'string',
1964
+ currentUidType: 'string',
1965
+ enabled: 'boolean',
1966
+ localEnable: 'boolean',
1967
+ masterUid: 'string',
1968
+ remoteEnable: 'boolean',
1969
+ requestId: 'string',
1970
+ rootUid: 'string',
1971
+ servicePrincipalEnabled: 'boolean',
1972
+ };
1973
+ }
1974
+
1975
+ constructor(map?: { [key: string]: any }) {
1976
+ super(map);
1977
+ }
1978
+ }
1979
+
1980
+ export class DescribeRdStatusResponse extends $tea.Model {
1981
+ headers?: { [key: string]: string };
1982
+ statusCode?: number;
1983
+ body?: DescribeRdStatusResponseBody;
1984
+ static names(): { [key: string]: string } {
1985
+ return {
1986
+ headers: 'headers',
1987
+ statusCode: 'statusCode',
1988
+ body: 'body',
1989
+ };
1990
+ }
1991
+
1992
+ static types(): { [key: string]: any } {
1993
+ return {
1994
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1995
+ statusCode: 'number',
1996
+ body: DescribeRdStatusResponseBody,
1997
+ };
1998
+ }
1999
+
2000
+ constructor(map?: { [key: string]: any }) {
2001
+ super(map);
2002
+ }
2003
+ }
2004
+
1584
2005
  export class DescribeRegionsRequest extends $tea.Model {
1585
2006
  regionId?: string;
1586
2007
  resourceGroupId?: string;
@@ -2311,6 +2732,69 @@ export class QuerySchedruleOnDemandResponse extends $tea.Model {
2311
2732
  }
2312
2733
  }
2313
2734
 
2735
+ export class ReleaseDdosOriginInstanceRequest extends $tea.Model {
2736
+ instanceId?: string;
2737
+ static names(): { [key: string]: string } {
2738
+ return {
2739
+ instanceId: 'InstanceId',
2740
+ };
2741
+ }
2742
+
2743
+ static types(): { [key: string]: any } {
2744
+ return {
2745
+ instanceId: 'string',
2746
+ };
2747
+ }
2748
+
2749
+ constructor(map?: { [key: string]: any }) {
2750
+ super(map);
2751
+ }
2752
+ }
2753
+
2754
+ export class ReleaseDdosOriginInstanceResponseBody extends $tea.Model {
2755
+ requestId?: string;
2756
+ static names(): { [key: string]: string } {
2757
+ return {
2758
+ requestId: 'RequestId',
2759
+ };
2760
+ }
2761
+
2762
+ static types(): { [key: string]: any } {
2763
+ return {
2764
+ requestId: 'string',
2765
+ };
2766
+ }
2767
+
2768
+ constructor(map?: { [key: string]: any }) {
2769
+ super(map);
2770
+ }
2771
+ }
2772
+
2773
+ export class ReleaseDdosOriginInstanceResponse extends $tea.Model {
2774
+ headers?: { [key: string]: string };
2775
+ statusCode?: number;
2776
+ body?: ReleaseDdosOriginInstanceResponseBody;
2777
+ static names(): { [key: string]: string } {
2778
+ return {
2779
+ headers: 'headers',
2780
+ statusCode: 'statusCode',
2781
+ body: 'body',
2782
+ };
2783
+ }
2784
+
2785
+ static types(): { [key: string]: any } {
2786
+ return {
2787
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2788
+ statusCode: 'number',
2789
+ body: ReleaseDdosOriginInstanceResponseBody,
2790
+ };
2791
+ }
2792
+
2793
+ constructor(map?: { [key: string]: any }) {
2794
+ super(map);
2795
+ }
2796
+ }
2797
+
2314
2798
  export class SetInstanceModeOnDemandRequest extends $tea.Model {
2315
2799
  instanceIdList?: string[];
2316
2800
  mode?: string;
@@ -2508,23 +2992,42 @@ export class UntagResourcesResponseBody extends $tea.Model {
2508
2992
  }
2509
2993
  }
2510
2994
 
2511
- export class UntagResourcesResponse extends $tea.Model {
2512
- headers?: { [key: string]: string };
2513
- statusCode?: number;
2514
- body?: UntagResourcesResponseBody;
2995
+ export class UntagResourcesResponse extends $tea.Model {
2996
+ headers?: { [key: string]: string };
2997
+ statusCode?: number;
2998
+ body?: UntagResourcesResponseBody;
2999
+ static names(): { [key: string]: string } {
3000
+ return {
3001
+ headers: 'headers',
3002
+ statusCode: 'statusCode',
3003
+ body: 'body',
3004
+ };
3005
+ }
3006
+
3007
+ static types(): { [key: string]: any } {
3008
+ return {
3009
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3010
+ statusCode: 'number',
3011
+ body: UntagResourcesResponseBody,
3012
+ };
3013
+ }
3014
+
3015
+ constructor(map?: { [key: string]: any }) {
3016
+ super(map);
3017
+ }
3018
+ }
3019
+
3020
+ export class AddRdMemberListRequestMemberList extends $tea.Model {
3021
+ uid?: string;
2515
3022
  static names(): { [key: string]: string } {
2516
3023
  return {
2517
- headers: 'headers',
2518
- statusCode: 'statusCode',
2519
- body: 'body',
3024
+ uid: 'Uid',
2520
3025
  };
2521
3026
  }
2522
3027
 
2523
3028
  static types(): { [key: string]: any } {
2524
3029
  return {
2525
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2526
- statusCode: 'number',
2527
- body: UntagResourcesResponseBody,
3030
+ uid: 'string',
2528
3031
  };
2529
3032
  }
2530
3033
 
@@ -2561,6 +3064,25 @@ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
2561
3064
  }
2562
3065
  }
2563
3066
 
3067
+ export class DeleteRdMemberListRequestMemberList extends $tea.Model {
3068
+ uid?: string;
3069
+ static names(): { [key: string]: string } {
3070
+ return {
3071
+ uid: 'Uid',
3072
+ };
3073
+ }
3074
+
3075
+ static types(): { [key: string]: any } {
3076
+ return {
3077
+ uid: 'string',
3078
+ };
3079
+ }
3080
+
3081
+ constructor(map?: { [key: string]: any }) {
3082
+ super(map);
3083
+ }
3084
+ }
3085
+
2564
3086
  export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
2565
3087
  name?: string;
2566
3088
  region?: string;
@@ -2651,6 +3173,93 @@ export class DescribeDdosEventResponseBodyEvents extends $tea.Model {
2651
3173
  }
2652
3174
  }
2653
3175
 
3176
+ export class DescribeDdosOriginInstanceBillResponseBodyFlowList extends $tea.Model {
3177
+ memberFlow?: string;
3178
+ regionFlow?: string;
3179
+ time?: number;
3180
+ totalFlow?: number;
3181
+ static names(): { [key: string]: string } {
3182
+ return {
3183
+ memberFlow: 'MemberFlow',
3184
+ regionFlow: 'RegionFlow',
3185
+ time: 'Time',
3186
+ totalFlow: 'TotalFlow',
3187
+ };
3188
+ }
3189
+
3190
+ static types(): { [key: string]: any } {
3191
+ return {
3192
+ memberFlow: 'string',
3193
+ regionFlow: 'string',
3194
+ time: 'number',
3195
+ totalFlow: 'number',
3196
+ };
3197
+ }
3198
+
3199
+ constructor(map?: { [key: string]: any }) {
3200
+ super(map);
3201
+ }
3202
+ }
3203
+
3204
+ export class DescribeDdosOriginInstanceBillResponseBodyIpCountOrFunctionList extends $tea.Model {
3205
+ coverage?: string;
3206
+ ipCntCn?: number;
3207
+ ipCntOv?: number;
3208
+ memberIpCnt?: string;
3209
+ time?: number;
3210
+ static names(): { [key: string]: string } {
3211
+ return {
3212
+ coverage: 'Coverage',
3213
+ ipCntCn: 'IpCntCn',
3214
+ ipCntOv: 'IpCntOv',
3215
+ memberIpCnt: 'MemberIpCnt',
3216
+ time: 'Time',
3217
+ };
3218
+ }
3219
+
3220
+ static types(): { [key: string]: any } {
3221
+ return {
3222
+ coverage: 'string',
3223
+ ipCntCn: 'number',
3224
+ ipCntOv: 'number',
3225
+ memberIpCnt: 'string',
3226
+ time: 'number',
3227
+ };
3228
+ }
3229
+
3230
+ constructor(map?: { [key: string]: any }) {
3231
+ super(map);
3232
+ }
3233
+ }
3234
+
3235
+ export class DescribeDdosOriginInstanceBillResponseBodyStandardAssetsFlowList extends $tea.Model {
3236
+ memberFlow?: string;
3237
+ regionFlow?: string;
3238
+ time?: number;
3239
+ totalFlow?: number;
3240
+ static names(): { [key: string]: string } {
3241
+ return {
3242
+ memberFlow: 'MemberFlow',
3243
+ regionFlow: 'RegionFlow',
3244
+ time: 'Time',
3245
+ totalFlow: 'TotalFlow',
3246
+ };
3247
+ }
3248
+
3249
+ static types(): { [key: string]: any } {
3250
+ return {
3251
+ memberFlow: 'string',
3252
+ regionFlow: 'string',
3253
+ time: 'number',
3254
+ totalFlow: 'number',
3255
+ };
3256
+ }
3257
+
3258
+ constructor(map?: { [key: string]: any }) {
3259
+ super(map);
3260
+ }
3261
+ }
3262
+
2654
3263
  export class DescribeInstanceListRequestTag extends $tea.Model {
2655
3264
  key?: string;
2656
3265
  value?: string;
@@ -2969,6 +3578,31 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
2969
3578
  }
2970
3579
  }
2971
3580
 
3581
+ export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
3582
+ gmtCreate?: number;
3583
+ name?: string;
3584
+ uid?: string;
3585
+ static names(): { [key: string]: string } {
3586
+ return {
3587
+ gmtCreate: 'GmtCreate',
3588
+ name: 'Name',
3589
+ uid: 'Uid',
3590
+ };
3591
+ }
3592
+
3593
+ static types(): { [key: string]: any } {
3594
+ return {
3595
+ gmtCreate: 'number',
3596
+ name: 'string',
3597
+ uid: 'string',
3598
+ };
3599
+ }
3600
+
3601
+ constructor(map?: { [key: string]: any }) {
3602
+ super(map);
3603
+ }
3604
+ }
3605
+
2972
3606
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
2973
3607
  regionEnName?: string;
2974
3608
  regionId?: string;
@@ -3345,6 +3979,41 @@ export default class Client extends OpenApi {
3345
3979
  return await this.addIpWithOptions(request, runtime);
3346
3980
  }
3347
3981
 
3982
+ async addRdMemberListWithOptions(tmpReq: AddRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<AddRdMemberListResponse> {
3983
+ Util.validateModel(tmpReq);
3984
+ let request = new AddRdMemberListShrinkRequest({ });
3985
+ OpenApiUtil.convert(tmpReq, request);
3986
+ if (!Util.isUnset(tmpReq.memberList)) {
3987
+ request.memberListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.memberList, "MemberList", "json");
3988
+ }
3989
+
3990
+ let query = { };
3991
+ if (!Util.isUnset(request.memberListShrink)) {
3992
+ query["MemberList"] = request.memberListShrink;
3993
+ }
3994
+
3995
+ let req = new $OpenApi.OpenApiRequest({
3996
+ query: OpenApiUtil.query(query),
3997
+ });
3998
+ let params = new $OpenApi.Params({
3999
+ action: "AddRdMemberList",
4000
+ version: "2018-07-20",
4001
+ protocol: "HTTPS",
4002
+ pathname: "/",
4003
+ method: "POST",
4004
+ authType: "AK",
4005
+ style: "RPC",
4006
+ reqBodyType: "formData",
4007
+ bodyType: "json",
4008
+ });
4009
+ return $tea.cast<AddRdMemberListResponse>(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
4010
+ }
4011
+
4012
+ async addRdMemberList(request: AddRdMemberListRequest): Promise<AddRdMemberListResponse> {
4013
+ let runtime = new $Util.RuntimeOptions({ });
4014
+ return await this.addRdMemberListWithOptions(request, runtime);
4015
+ }
4016
+
3348
4017
  async attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse> {
3349
4018
  Util.validateModel(tmpReq);
3350
4019
  let request = new AttachAssetGroupToInstanceShrinkRequest({ });
@@ -3727,6 +4396,41 @@ export default class Client extends OpenApi {
3727
4396
  return await this.deleteIpWithOptions(request, runtime);
3728
4397
  }
3729
4398
 
4399
+ async deleteRdMemberListWithOptions(tmpReq: DeleteRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRdMemberListResponse> {
4400
+ Util.validateModel(tmpReq);
4401
+ let request = new DeleteRdMemberListShrinkRequest({ });
4402
+ OpenApiUtil.convert(tmpReq, request);
4403
+ if (!Util.isUnset(tmpReq.memberList)) {
4404
+ request.memberListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.memberList, "MemberList", "json");
4405
+ }
4406
+
4407
+ let query = { };
4408
+ if (!Util.isUnset(request.memberListShrink)) {
4409
+ query["MemberList"] = request.memberListShrink;
4410
+ }
4411
+
4412
+ let req = new $OpenApi.OpenApiRequest({
4413
+ query: OpenApiUtil.query(query),
4414
+ });
4415
+ let params = new $OpenApi.Params({
4416
+ action: "DeleteRdMemberList",
4417
+ version: "2018-07-20",
4418
+ protocol: "HTTPS",
4419
+ pathname: "/",
4420
+ method: "POST",
4421
+ authType: "AK",
4422
+ style: "RPC",
4423
+ reqBodyType: "formData",
4424
+ bodyType: "json",
4425
+ });
4426
+ return $tea.cast<DeleteRdMemberListResponse>(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
4427
+ }
4428
+
4429
+ async deleteRdMemberList(request: DeleteRdMemberListRequest): Promise<DeleteRdMemberListResponse> {
4430
+ let runtime = new $Util.RuntimeOptions({ });
4431
+ return await this.deleteRdMemberListWithOptions(request, runtime);
4432
+ }
4433
+
3730
4434
  async deleteSchedruleOnDemandWithOptions(request: DeleteSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSchedruleOnDemandResponse> {
3731
4435
  Util.validateModel(request);
3732
4436
  let query = { };
@@ -3936,6 +4640,47 @@ export default class Client extends OpenApi {
3936
4640
  return await this.describeDdosEventWithOptions(request, runtime);
3937
4641
  }
3938
4642
 
4643
+ async describeDdosOriginInstanceBillWithOptions(request: DescribeDdosOriginInstanceBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosOriginInstanceBillResponse> {
4644
+ Util.validateModel(request);
4645
+ let query = { };
4646
+ if (!Util.isUnset(request.endTime)) {
4647
+ query["EndTime"] = request.endTime;
4648
+ }
4649
+
4650
+ if (!Util.isUnset(request.isShowList)) {
4651
+ query["IsShowList"] = request.isShowList;
4652
+ }
4653
+
4654
+ if (!Util.isUnset(request.startTime)) {
4655
+ query["StartTime"] = request.startTime;
4656
+ }
4657
+
4658
+ if (!Util.isUnset(request.type)) {
4659
+ query["Type"] = request.type;
4660
+ }
4661
+
4662
+ let req = new $OpenApi.OpenApiRequest({
4663
+ query: OpenApiUtil.query(query),
4664
+ });
4665
+ let params = new $OpenApi.Params({
4666
+ action: "DescribeDdosOriginInstanceBill",
4667
+ version: "2018-07-20",
4668
+ protocol: "HTTPS",
4669
+ pathname: "/",
4670
+ method: "POST",
4671
+ authType: "AK",
4672
+ style: "RPC",
4673
+ reqBodyType: "formData",
4674
+ bodyType: "json",
4675
+ });
4676
+ return $tea.cast<DescribeDdosOriginInstanceBillResponse>(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
4677
+ }
4678
+
4679
+ async describeDdosOriginInstanceBill(request: DescribeDdosOriginInstanceBillRequest): Promise<DescribeDdosOriginInstanceBillResponse> {
4680
+ let runtime = new $Util.RuntimeOptions({ });
4681
+ return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
4682
+ }
4683
+
3939
4684
  /**
3940
4685
  * ## Usage notes
3941
4686
  * You can call the DescribeExcpetionCount operation to query the number of assets that are in an abnormal state and the number of Anti-DDoS Origin instances that are about to expire in a specific region. For example, if blackhole filtering is triggered for an IP address, the IP address is in an abnormal state. An instance whose remaining validity period is less than seven days is considered as an instance that is about to expire.
@@ -4366,6 +5111,64 @@ export default class Client extends OpenApi {
4366
5111
  return await this.describePackIpListWithOptions(request, runtime);
4367
5112
  }
4368
5113
 
5114
+ async describeRdMemberListWithOptions(request: DescribeRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRdMemberListResponse> {
5115
+ Util.validateModel(request);
5116
+ let query = { };
5117
+ if (!Util.isUnset(request.pageNo)) {
5118
+ query["PageNo"] = request.pageNo;
5119
+ }
5120
+
5121
+ if (!Util.isUnset(request.pageSize)) {
5122
+ query["PageSize"] = request.pageSize;
5123
+ }
5124
+
5125
+ if (!Util.isUnset(request.resourceDirectoryId)) {
5126
+ query["ResourceDirectoryId"] = request.resourceDirectoryId;
5127
+ }
5128
+
5129
+ let req = new $OpenApi.OpenApiRequest({
5130
+ query: OpenApiUtil.query(query),
5131
+ });
5132
+ let params = new $OpenApi.Params({
5133
+ action: "DescribeRdMemberList",
5134
+ version: "2018-07-20",
5135
+ protocol: "HTTPS",
5136
+ pathname: "/",
5137
+ method: "POST",
5138
+ authType: "AK",
5139
+ style: "RPC",
5140
+ reqBodyType: "formData",
5141
+ bodyType: "json",
5142
+ });
5143
+ return $tea.cast<DescribeRdMemberListResponse>(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
5144
+ }
5145
+
5146
+ async describeRdMemberList(request: DescribeRdMemberListRequest): Promise<DescribeRdMemberListResponse> {
5147
+ let runtime = new $Util.RuntimeOptions({ });
5148
+ return await this.describeRdMemberListWithOptions(request, runtime);
5149
+ }
5150
+
5151
+ async describeRdStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeRdStatusResponse> {
5152
+ let req = new $OpenApi.OpenApiRequest({ });
5153
+ let params = new $OpenApi.Params({
5154
+ action: "DescribeRdStatus",
5155
+ version: "2018-07-20",
5156
+ protocol: "HTTPS",
5157
+ pathname: "/",
5158
+ method: "POST",
5159
+ authType: "AK",
5160
+ style: "RPC",
5161
+ reqBodyType: "formData",
5162
+ bodyType: "json",
5163
+ });
5164
+ return $tea.cast<DescribeRdStatusResponse>(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
5165
+ }
5166
+
5167
+ async describeRdStatus(): Promise<DescribeRdStatusResponse> {
5168
+ let runtime = new $Util.RuntimeOptions({ });
5169
+ return await this.describeRdStatusWithOptions(runtime);
5170
+ }
5171
+
4369
5172
  async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
4370
5173
  Util.validateModel(request);
4371
5174
  let query = { };
@@ -4794,6 +5597,35 @@ export default class Client extends OpenApi {
4794
5597
  return await this.querySchedruleOnDemandWithOptions(request, runtime);
4795
5598
  }
4796
5599
 
5600
+ async releaseDdosOriginInstanceWithOptions(request: ReleaseDdosOriginInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDdosOriginInstanceResponse> {
5601
+ Util.validateModel(request);
5602
+ let query = { };
5603
+ if (!Util.isUnset(request.instanceId)) {
5604
+ query["InstanceId"] = request.instanceId;
5605
+ }
5606
+
5607
+ let req = new $OpenApi.OpenApiRequest({
5608
+ query: OpenApiUtil.query(query),
5609
+ });
5610
+ let params = new $OpenApi.Params({
5611
+ action: "ReleaseDdosOriginInstance",
5612
+ version: "2018-07-20",
5613
+ protocol: "HTTPS",
5614
+ pathname: "/",
5615
+ method: "POST",
5616
+ authType: "AK",
5617
+ style: "RPC",
5618
+ reqBodyType: "formData",
5619
+ bodyType: "json",
5620
+ });
5621
+ return $tea.cast<ReleaseDdosOriginInstanceResponse>(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
5622
+ }
5623
+
5624
+ async releaseDdosOriginInstance(request: ReleaseDdosOriginInstanceRequest): Promise<ReleaseDdosOriginInstanceResponse> {
5625
+ let runtime = new $Util.RuntimeOptions({ });
5626
+ return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
5627
+ }
5628
+
4797
5629
  async setInstanceModeOnDemandWithOptions(request: SetInstanceModeOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceModeOnDemandResponse> {
4798
5630
  Util.validateModel(request);
4799
5631
  let query = { };