@alicloud/ddosbgp20180720 2.2.0 → 2.4.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/dist/client.d.ts +732 -155
- package/dist/client.js +1306 -538
- package/dist/client.js.map +1 -1
- package/package.json +6 -6
- package/src/client.ts +1004 -155
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;
|
|
@@ -1695,6 +1859,149 @@ export class DescribePackIpListResponse extends $tea.Model {
|
|
|
1695
1859
|
}
|
|
1696
1860
|
}
|
|
1697
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
|
+
|
|
1698
2005
|
export class DescribeRegionsRequest extends $tea.Model {
|
|
1699
2006
|
regionId?: string;
|
|
1700
2007
|
resourceGroupId?: string;
|
|
@@ -2710,6 +3017,25 @@ export class UntagResourcesResponse extends $tea.Model {
|
|
|
2710
3017
|
}
|
|
2711
3018
|
}
|
|
2712
3019
|
|
|
3020
|
+
export class AddRdMemberListRequestMemberList extends $tea.Model {
|
|
3021
|
+
uid?: string;
|
|
3022
|
+
static names(): { [key: string]: string } {
|
|
3023
|
+
return {
|
|
3024
|
+
uid: 'Uid',
|
|
3025
|
+
};
|
|
3026
|
+
}
|
|
3027
|
+
|
|
3028
|
+
static types(): { [key: string]: any } {
|
|
3029
|
+
return {
|
|
3030
|
+
uid: 'string',
|
|
3031
|
+
};
|
|
3032
|
+
}
|
|
3033
|
+
|
|
3034
|
+
constructor(map?: { [key: string]: any }) {
|
|
3035
|
+
super(map);
|
|
3036
|
+
}
|
|
3037
|
+
}
|
|
3038
|
+
|
|
2713
3039
|
export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model {
|
|
2714
3040
|
memberUid?: string;
|
|
2715
3041
|
name?: string;
|
|
@@ -2738,6 +3064,25 @@ export class AttachAssetGroupToInstanceRequestAssetGroupList extends $tea.Model
|
|
|
2738
3064
|
}
|
|
2739
3065
|
}
|
|
2740
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
|
+
|
|
2741
3086
|
export class DescribeAssetGroupResponseBodyAssetGroupList extends $tea.Model {
|
|
2742
3087
|
name?: string;
|
|
2743
3088
|
region?: string;
|
|
@@ -3199,6 +3544,8 @@ export class DescribeOpEntitiesResponseBodyOpEntities extends $tea.Model {
|
|
|
3199
3544
|
export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
3200
3545
|
ip?: string;
|
|
3201
3546
|
memberUid?: string;
|
|
3547
|
+
nsmExpireAt?: number;
|
|
3548
|
+
nsmStartAt?: number;
|
|
3202
3549
|
nsmStatus?: number;
|
|
3203
3550
|
product?: string;
|
|
3204
3551
|
region?: string;
|
|
@@ -3208,6 +3555,8 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
3208
3555
|
return {
|
|
3209
3556
|
ip: 'Ip',
|
|
3210
3557
|
memberUid: 'MemberUid',
|
|
3558
|
+
nsmExpireAt: 'NsmExpireAt',
|
|
3559
|
+
nsmStartAt: 'NsmStartAt',
|
|
3211
3560
|
nsmStatus: 'NsmStatus',
|
|
3212
3561
|
product: 'Product',
|
|
3213
3562
|
region: 'Region',
|
|
@@ -3220,6 +3569,8 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
3220
3569
|
return {
|
|
3221
3570
|
ip: 'string',
|
|
3222
3571
|
memberUid: 'string',
|
|
3572
|
+
nsmExpireAt: 'number',
|
|
3573
|
+
nsmStartAt: 'number',
|
|
3223
3574
|
nsmStatus: 'number',
|
|
3224
3575
|
product: 'string',
|
|
3225
3576
|
region: 'string',
|
|
@@ -3233,6 +3584,31 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
3233
3584
|
}
|
|
3234
3585
|
}
|
|
3235
3586
|
|
|
3587
|
+
export class DescribeRdMemberListResponseBodyMemberList extends $tea.Model {
|
|
3588
|
+
gmtCreate?: number;
|
|
3589
|
+
name?: string;
|
|
3590
|
+
uid?: string;
|
|
3591
|
+
static names(): { [key: string]: string } {
|
|
3592
|
+
return {
|
|
3593
|
+
gmtCreate: 'GmtCreate',
|
|
3594
|
+
name: 'Name',
|
|
3595
|
+
uid: 'Uid',
|
|
3596
|
+
};
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
static types(): { [key: string]: any } {
|
|
3600
|
+
return {
|
|
3601
|
+
gmtCreate: 'number',
|
|
3602
|
+
name: 'string',
|
|
3603
|
+
uid: 'string',
|
|
3604
|
+
};
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
constructor(map?: { [key: string]: any }) {
|
|
3608
|
+
super(map);
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
|
|
3236
3612
|
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
3237
3613
|
regionEnName?: string;
|
|
3238
3614
|
regionId?: string;
|
|
@@ -3568,6 +3944,13 @@ export default class Client extends OpenApi {
|
|
|
3568
3944
|
return EndpointUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
3569
3945
|
}
|
|
3570
3946
|
|
|
3947
|
+
/**
|
|
3948
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
3949
|
+
*
|
|
3950
|
+
* @param request AddIpRequest
|
|
3951
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
3952
|
+
* @return AddIpResponse
|
|
3953
|
+
*/
|
|
3571
3954
|
async addIpWithOptions(request: AddIpRequest, runtime: $Util.RuntimeOptions): Promise<AddIpResponse> {
|
|
3572
3955
|
Util.validateModel(request);
|
|
3573
3956
|
let query = { };
|
|
@@ -3604,11 +3987,72 @@ export default class Client extends OpenApi {
|
|
|
3604
3987
|
return $tea.cast<AddIpResponse>(await this.callApi(params, req, runtime), new AddIpResponse({}));
|
|
3605
3988
|
}
|
|
3606
3989
|
|
|
3990
|
+
/**
|
|
3991
|
+
* @summary Adds IP addresses to an Anti-DDoS Origin Enterprise instance.
|
|
3992
|
+
*
|
|
3993
|
+
* @param request AddIpRequest
|
|
3994
|
+
* @return AddIpResponse
|
|
3995
|
+
*/
|
|
3607
3996
|
async addIp(request: AddIpRequest): Promise<AddIpResponse> {
|
|
3608
3997
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3609
3998
|
return await this.addIpWithOptions(request, runtime);
|
|
3610
3999
|
}
|
|
3611
4000
|
|
|
4001
|
+
/**
|
|
4002
|
+
* @summary 添加资源目录成员账号列表
|
|
4003
|
+
*
|
|
4004
|
+
* @param tmpReq AddRdMemberListRequest
|
|
4005
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4006
|
+
* @return AddRdMemberListResponse
|
|
4007
|
+
*/
|
|
4008
|
+
async addRdMemberListWithOptions(tmpReq: AddRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<AddRdMemberListResponse> {
|
|
4009
|
+
Util.validateModel(tmpReq);
|
|
4010
|
+
let request = new AddRdMemberListShrinkRequest({ });
|
|
4011
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4012
|
+
if (!Util.isUnset(tmpReq.memberList)) {
|
|
4013
|
+
request.memberListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.memberList, "MemberList", "json");
|
|
4014
|
+
}
|
|
4015
|
+
|
|
4016
|
+
let query = { };
|
|
4017
|
+
if (!Util.isUnset(request.memberListShrink)) {
|
|
4018
|
+
query["MemberList"] = request.memberListShrink;
|
|
4019
|
+
}
|
|
4020
|
+
|
|
4021
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4022
|
+
query: OpenApiUtil.query(query),
|
|
4023
|
+
});
|
|
4024
|
+
let params = new $OpenApi.Params({
|
|
4025
|
+
action: "AddRdMemberList",
|
|
4026
|
+
version: "2018-07-20",
|
|
4027
|
+
protocol: "HTTPS",
|
|
4028
|
+
pathname: "/",
|
|
4029
|
+
method: "POST",
|
|
4030
|
+
authType: "AK",
|
|
4031
|
+
style: "RPC",
|
|
4032
|
+
reqBodyType: "formData",
|
|
4033
|
+
bodyType: "json",
|
|
4034
|
+
});
|
|
4035
|
+
return $tea.cast<AddRdMemberListResponse>(await this.callApi(params, req, runtime), new AddRdMemberListResponse({}));
|
|
4036
|
+
}
|
|
4037
|
+
|
|
4038
|
+
/**
|
|
4039
|
+
* @summary 添加资源目录成员账号列表
|
|
4040
|
+
*
|
|
4041
|
+
* @param request AddRdMemberListRequest
|
|
4042
|
+
* @return AddRdMemberListResponse
|
|
4043
|
+
*/
|
|
4044
|
+
async addRdMemberList(request: AddRdMemberListRequest): Promise<AddRdMemberListResponse> {
|
|
4045
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4046
|
+
return await this.addRdMemberListWithOptions(request, runtime);
|
|
4047
|
+
}
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4051
|
+
*
|
|
4052
|
+
* @param tmpReq AttachAssetGroupToInstanceRequest
|
|
4053
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4054
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
4055
|
+
*/
|
|
3612
4056
|
async attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse> {
|
|
3613
4057
|
Util.validateModel(tmpReq);
|
|
3614
4058
|
let request = new AttachAssetGroupToInstanceShrinkRequest({ });
|
|
@@ -3651,11 +4095,24 @@ export default class Client extends OpenApi {
|
|
|
3651
4095
|
return $tea.cast<AttachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new AttachAssetGroupToInstanceResponse({}));
|
|
3652
4096
|
}
|
|
3653
4097
|
|
|
4098
|
+
/**
|
|
4099
|
+
* @summary Associates an asset with an Anti-DDoS Origin instance of a paid edition.
|
|
4100
|
+
*
|
|
4101
|
+
* @param request AttachAssetGroupToInstanceRequest
|
|
4102
|
+
* @return AttachAssetGroupToInstanceResponse
|
|
4103
|
+
*/
|
|
3654
4104
|
async attachAssetGroupToInstance(request: AttachAssetGroupToInstanceRequest): Promise<AttachAssetGroupToInstanceResponse> {
|
|
3655
4105
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3656
4106
|
return await this.attachAssetGroupToInstanceWithOptions(request, runtime);
|
|
3657
4107
|
}
|
|
3658
4108
|
|
|
4109
|
+
/**
|
|
4110
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
4111
|
+
*
|
|
4112
|
+
* @param request CheckAccessLogAuthRequest
|
|
4113
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4114
|
+
* @return CheckAccessLogAuthResponse
|
|
4115
|
+
*/
|
|
3659
4116
|
async checkAccessLogAuthWithOptions(request: CheckAccessLogAuthRequest, runtime: $Util.RuntimeOptions): Promise<CheckAccessLogAuthResponse> {
|
|
3660
4117
|
Util.validateModel(request);
|
|
3661
4118
|
let query = { };
|
|
@@ -3684,19 +4141,27 @@ export default class Client extends OpenApi {
|
|
|
3684
4141
|
return $tea.cast<CheckAccessLogAuthResponse>(await this.callApi(params, req, runtime), new CheckAccessLogAuthResponse({}));
|
|
3685
4142
|
}
|
|
3686
4143
|
|
|
4144
|
+
/**
|
|
4145
|
+
* @summary Checks whether Anti-DDoS Origin is authorized to access Log Service.
|
|
4146
|
+
*
|
|
4147
|
+
* @param request CheckAccessLogAuthRequest
|
|
4148
|
+
* @return CheckAccessLogAuthResponse
|
|
4149
|
+
*/
|
|
3687
4150
|
async checkAccessLogAuth(request: CheckAccessLogAuthRequest): Promise<CheckAccessLogAuthResponse> {
|
|
3688
4151
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3689
4152
|
return await this.checkAccessLogAuthWithOptions(request, runtime);
|
|
3690
4153
|
}
|
|
3691
4154
|
|
|
3692
4155
|
/**
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
4156
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4157
|
+
*
|
|
4158
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4159
|
+
* ### Limits
|
|
4160
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4161
|
+
*
|
|
4162
|
+
* @param request CheckGrantRequest
|
|
4163
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4164
|
+
* @return CheckGrantResponse
|
|
3700
4165
|
*/
|
|
3701
4166
|
async checkGrantWithOptions(request: CheckGrantRequest, runtime: $Util.RuntimeOptions): Promise<CheckGrantResponse> {
|
|
3702
4167
|
Util.validateModel(request);
|
|
@@ -3719,18 +4184,25 @@ export default class Client extends OpenApi {
|
|
|
3719
4184
|
}
|
|
3720
4185
|
|
|
3721
4186
|
/**
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
4187
|
+
* @summary Queries whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4188
|
+
*
|
|
4189
|
+
* @description You can call the CheckGrant operation to query whether Anti-DDoS Origin is authorized to obtain information about the assets within the current Alibaba Cloud account.
|
|
4190
|
+
* ### Limits
|
|
4191
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4192
|
+
*
|
|
4193
|
+
* @param request CheckGrantRequest
|
|
4194
|
+
* @return CheckGrantResponse
|
|
3728
4195
|
*/
|
|
3729
4196
|
async checkGrant(request: CheckGrantRequest): Promise<CheckGrantResponse> {
|
|
3730
4197
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3731
4198
|
return await this.checkGrantWithOptions(request, runtime);
|
|
3732
4199
|
}
|
|
3733
4200
|
|
|
4201
|
+
/**
|
|
4202
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
4203
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4204
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
4205
|
+
*/
|
|
3734
4206
|
async configSchedruleOnDemandWithOptions(request: ConfigSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<ConfigSchedruleOnDemandResponse> {
|
|
3735
4207
|
Util.validateModel(request);
|
|
3736
4208
|
let query = { };
|
|
@@ -3799,11 +4271,22 @@ export default class Client extends OpenApi {
|
|
|
3799
4271
|
return $tea.cast<ConfigSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new ConfigSchedruleOnDemandResponse({}));
|
|
3800
4272
|
}
|
|
3801
4273
|
|
|
4274
|
+
/**
|
|
4275
|
+
* @param request ConfigSchedruleOnDemandRequest
|
|
4276
|
+
* @return ConfigSchedruleOnDemandResponse
|
|
4277
|
+
*/
|
|
3802
4278
|
async configSchedruleOnDemand(request: ConfigSchedruleOnDemandRequest): Promise<ConfigSchedruleOnDemandResponse> {
|
|
3803
4279
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3804
4280
|
return await this.configSchedruleOnDemandWithOptions(request, runtime);
|
|
3805
4281
|
}
|
|
3806
4282
|
|
|
4283
|
+
/**
|
|
4284
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
4285
|
+
*
|
|
4286
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
4287
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4288
|
+
* @return CreateSchedruleOnDemandResponse
|
|
4289
|
+
*/
|
|
3807
4290
|
async createSchedruleOnDemandWithOptions(request: CreateSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<CreateSchedruleOnDemandResponse> {
|
|
3808
4291
|
Util.validateModel(request);
|
|
3809
4292
|
let query = { };
|
|
@@ -3872,20 +4355,28 @@ export default class Client extends OpenApi {
|
|
|
3872
4355
|
return $tea.cast<CreateSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new CreateSchedruleOnDemandResponse({}));
|
|
3873
4356
|
}
|
|
3874
4357
|
|
|
4358
|
+
/**
|
|
4359
|
+
* @summary Creates a scheduling rule for an on-demand instance.
|
|
4360
|
+
*
|
|
4361
|
+
* @param request CreateSchedruleOnDemandRequest
|
|
4362
|
+
* @return CreateSchedruleOnDemandResponse
|
|
4363
|
+
*/
|
|
3875
4364
|
async createSchedruleOnDemand(request: CreateSchedruleOnDemandRequest): Promise<CreateSchedruleOnDemandResponse> {
|
|
3876
4365
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3877
4366
|
return await this.createSchedruleOnDemandWithOptions(request, runtime);
|
|
3878
4367
|
}
|
|
3879
4368
|
|
|
3880
4369
|
/**
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
4370
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
4371
|
+
*
|
|
4372
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4373
|
+
* Before you call this operation, you can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
4374
|
+
* ### Limits
|
|
4375
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4376
|
+
*
|
|
4377
|
+
* @param request DeleteBlackholeRequest
|
|
4378
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4379
|
+
* @return DeleteBlackholeResponse
|
|
3889
4380
|
*/
|
|
3890
4381
|
async deleteBlackholeWithOptions(request: DeleteBlackholeRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBlackholeResponse> {
|
|
3891
4382
|
Util.validateModel(request);
|
|
@@ -3924,13 +4415,15 @@ export default class Client extends OpenApi {
|
|
|
3924
4415
|
}
|
|
3925
4416
|
|
|
3926
4417
|
/**
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
4418
|
+
* @summary Deactivates blackhole filtering for a protected IP address.
|
|
4419
|
+
*
|
|
4420
|
+
* @description You can call the DeleteBlackhole operation to deactivate blackhole filtering for a protected IP address.
|
|
4421
|
+
* Before you call this operation, you can call the [DescribePackIpList](https://help.aliyun.com/document_detail/118701.html) operation to query the protection status of the IP addresses that are protected by your Anti-DDoS Origin instance. For example, you can query whether blackhole filtering is triggered for an IP address.
|
|
4422
|
+
* ### Limits
|
|
4423
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4424
|
+
*
|
|
4425
|
+
* @param request DeleteBlackholeRequest
|
|
4426
|
+
* @return DeleteBlackholeResponse
|
|
3934
4427
|
*/
|
|
3935
4428
|
async deleteBlackhole(request: DeleteBlackholeRequest): Promise<DeleteBlackholeResponse> {
|
|
3936
4429
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -3938,11 +4431,13 @@ export default class Client extends OpenApi {
|
|
|
3938
4431
|
}
|
|
3939
4432
|
|
|
3940
4433
|
/**
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
4434
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4435
|
+
*
|
|
4436
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4437
|
+
*
|
|
4438
|
+
* @param request DeleteIpRequest
|
|
4439
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4440
|
+
* @return DeleteIpResponse
|
|
3946
4441
|
*/
|
|
3947
4442
|
async deleteIpWithOptions(request: DeleteIpRequest, runtime: $Util.RuntimeOptions): Promise<DeleteIpResponse> {
|
|
3948
4443
|
Util.validateModel(request);
|
|
@@ -3981,16 +4476,71 @@ export default class Client extends OpenApi {
|
|
|
3981
4476
|
}
|
|
3982
4477
|
|
|
3983
4478
|
/**
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
4479
|
+
* @summary Removes specific IP addresses from an Anti-DDoS Origin Enterprise instance.
|
|
4480
|
+
*
|
|
4481
|
+
* @description The Anti-DDoS Origin Enterprise instance no longer protects the IP addresses that are removed.
|
|
4482
|
+
*
|
|
4483
|
+
* @param request DeleteIpRequest
|
|
4484
|
+
* @return DeleteIpResponse
|
|
3988
4485
|
*/
|
|
3989
4486
|
async deleteIp(request: DeleteIpRequest): Promise<DeleteIpResponse> {
|
|
3990
4487
|
let runtime = new $Util.RuntimeOptions({ });
|
|
3991
4488
|
return await this.deleteIpWithOptions(request, runtime);
|
|
3992
4489
|
}
|
|
3993
4490
|
|
|
4491
|
+
/**
|
|
4492
|
+
* @summary 删除资源目录成员账号列表
|
|
4493
|
+
*
|
|
4494
|
+
* @param tmpReq DeleteRdMemberListRequest
|
|
4495
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4496
|
+
* @return DeleteRdMemberListResponse
|
|
4497
|
+
*/
|
|
4498
|
+
async deleteRdMemberListWithOptions(tmpReq: DeleteRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<DeleteRdMemberListResponse> {
|
|
4499
|
+
Util.validateModel(tmpReq);
|
|
4500
|
+
let request = new DeleteRdMemberListShrinkRequest({ });
|
|
4501
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
4502
|
+
if (!Util.isUnset(tmpReq.memberList)) {
|
|
4503
|
+
request.memberListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.memberList, "MemberList", "json");
|
|
4504
|
+
}
|
|
4505
|
+
|
|
4506
|
+
let query = { };
|
|
4507
|
+
if (!Util.isUnset(request.memberListShrink)) {
|
|
4508
|
+
query["MemberList"] = request.memberListShrink;
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
4512
|
+
query: OpenApiUtil.query(query),
|
|
4513
|
+
});
|
|
4514
|
+
let params = new $OpenApi.Params({
|
|
4515
|
+
action: "DeleteRdMemberList",
|
|
4516
|
+
version: "2018-07-20",
|
|
4517
|
+
protocol: "HTTPS",
|
|
4518
|
+
pathname: "/",
|
|
4519
|
+
method: "POST",
|
|
4520
|
+
authType: "AK",
|
|
4521
|
+
style: "RPC",
|
|
4522
|
+
reqBodyType: "formData",
|
|
4523
|
+
bodyType: "json",
|
|
4524
|
+
});
|
|
4525
|
+
return $tea.cast<DeleteRdMemberListResponse>(await this.callApi(params, req, runtime), new DeleteRdMemberListResponse({}));
|
|
4526
|
+
}
|
|
4527
|
+
|
|
4528
|
+
/**
|
|
4529
|
+
* @summary 删除资源目录成员账号列表
|
|
4530
|
+
*
|
|
4531
|
+
* @param request DeleteRdMemberListRequest
|
|
4532
|
+
* @return DeleteRdMemberListResponse
|
|
4533
|
+
*/
|
|
4534
|
+
async deleteRdMemberList(request: DeleteRdMemberListRequest): Promise<DeleteRdMemberListResponse> {
|
|
4535
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
4536
|
+
return await this.deleteRdMemberListWithOptions(request, runtime);
|
|
4537
|
+
}
|
|
4538
|
+
|
|
4539
|
+
/**
|
|
4540
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
4541
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4542
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
4543
|
+
*/
|
|
3994
4544
|
async deleteSchedruleOnDemandWithOptions(request: DeleteSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSchedruleOnDemandResponse> {
|
|
3995
4545
|
Util.validateModel(request);
|
|
3996
4546
|
let query = { };
|
|
@@ -4023,11 +4573,22 @@ export default class Client extends OpenApi {
|
|
|
4023
4573
|
return $tea.cast<DeleteSchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new DeleteSchedruleOnDemandResponse({}));
|
|
4024
4574
|
}
|
|
4025
4575
|
|
|
4576
|
+
/**
|
|
4577
|
+
* @param request DeleteSchedruleOnDemandRequest
|
|
4578
|
+
* @return DeleteSchedruleOnDemandResponse
|
|
4579
|
+
*/
|
|
4026
4580
|
async deleteSchedruleOnDemand(request: DeleteSchedruleOnDemandRequest): Promise<DeleteSchedruleOnDemandResponse> {
|
|
4027
4581
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4028
4582
|
return await this.deleteSchedruleOnDemandWithOptions(request, runtime);
|
|
4029
4583
|
}
|
|
4030
4584
|
|
|
4585
|
+
/**
|
|
4586
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
4587
|
+
*
|
|
4588
|
+
* @param request DescribeAssetGroupRequest
|
|
4589
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4590
|
+
* @return DescribeAssetGroupResponse
|
|
4591
|
+
*/
|
|
4031
4592
|
async describeAssetGroupWithOptions(request: DescribeAssetGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupResponse> {
|
|
4032
4593
|
Util.validateModel(request);
|
|
4033
4594
|
let query = { };
|
|
@@ -4068,11 +4629,24 @@ export default class Client extends OpenApi {
|
|
|
4068
4629
|
return $tea.cast<DescribeAssetGroupResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupResponse({}));
|
|
4069
4630
|
}
|
|
4070
4631
|
|
|
4632
|
+
/**
|
|
4633
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
4634
|
+
*
|
|
4635
|
+
* @param request DescribeAssetGroupRequest
|
|
4636
|
+
* @return DescribeAssetGroupResponse
|
|
4637
|
+
*/
|
|
4071
4638
|
async describeAssetGroup(request: DescribeAssetGroupRequest): Promise<DescribeAssetGroupResponse> {
|
|
4072
4639
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4073
4640
|
return await this.describeAssetGroupWithOptions(request, runtime);
|
|
4074
4641
|
}
|
|
4075
4642
|
|
|
4643
|
+
/**
|
|
4644
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
4645
|
+
*
|
|
4646
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
4647
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4648
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
4649
|
+
*/
|
|
4076
4650
|
async describeAssetGroupToInstanceWithOptions(request: DescribeAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAssetGroupToInstanceResponse> {
|
|
4077
4651
|
Util.validateModel(request);
|
|
4078
4652
|
let query = { };
|
|
@@ -4121,19 +4695,27 @@ export default class Client extends OpenApi {
|
|
|
4121
4695
|
return $tea.cast<DescribeAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DescribeAssetGroupToInstanceResponse({}));
|
|
4122
4696
|
}
|
|
4123
4697
|
|
|
4698
|
+
/**
|
|
4699
|
+
* @summary Queries the association between an asset and an Anti-DDoS Origin instance of a paid edition.
|
|
4700
|
+
*
|
|
4701
|
+
* @param request DescribeAssetGroupToInstanceRequest
|
|
4702
|
+
* @return DescribeAssetGroupToInstanceResponse
|
|
4703
|
+
*/
|
|
4124
4704
|
async describeAssetGroupToInstance(request: DescribeAssetGroupToInstanceRequest): Promise<DescribeAssetGroupToInstanceResponse> {
|
|
4125
4705
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4126
4706
|
return await this.describeAssetGroupToInstanceWithOptions(request, runtime);
|
|
4127
4707
|
}
|
|
4128
4708
|
|
|
4129
4709
|
/**
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4710
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
4711
|
+
*
|
|
4712
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
4713
|
+
* ## Limits
|
|
4714
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4715
|
+
*
|
|
4716
|
+
* @param request DescribeDdosEventRequest
|
|
4717
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4718
|
+
* @return DescribeDdosEventResponse
|
|
4137
4719
|
*/
|
|
4138
4720
|
async describeDdosEventWithOptions(request: DescribeDdosEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosEventResponse> {
|
|
4139
4721
|
Util.validateModel(request);
|
|
@@ -4188,18 +4770,27 @@ export default class Client extends OpenApi {
|
|
|
4188
4770
|
}
|
|
4189
4771
|
|
|
4190
4772
|
/**
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4773
|
+
* @summary Queries the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance.
|
|
4774
|
+
*
|
|
4775
|
+
* @description You can call the DescribeDdosEvent operation to query the details about the DDoS attack events that occurred on a specific Anti-DDoS Origin instance by page. The details include the start time, end time, attacked IP address, and status of each event.
|
|
4776
|
+
* ## Limits
|
|
4777
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4778
|
+
*
|
|
4779
|
+
* @param request DescribeDdosEventRequest
|
|
4780
|
+
* @return DescribeDdosEventResponse
|
|
4197
4781
|
*/
|
|
4198
4782
|
async describeDdosEvent(request: DescribeDdosEventRequest): Promise<DescribeDdosEventResponse> {
|
|
4199
4783
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4200
4784
|
return await this.describeDdosEventWithOptions(request, runtime);
|
|
4201
4785
|
}
|
|
4202
4786
|
|
|
4787
|
+
/**
|
|
4788
|
+
* @summary 查询账单
|
|
4789
|
+
*
|
|
4790
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
4791
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4792
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
4793
|
+
*/
|
|
4203
4794
|
async describeDdosOriginInstanceBillWithOptions(request: DescribeDdosOriginInstanceBillRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDdosOriginInstanceBillResponse> {
|
|
4204
4795
|
Util.validateModel(request);
|
|
4205
4796
|
let query = { };
|
|
@@ -4236,18 +4827,29 @@ export default class Client extends OpenApi {
|
|
|
4236
4827
|
return $tea.cast<DescribeDdosOriginInstanceBillResponse>(await this.callApi(params, req, runtime), new DescribeDdosOriginInstanceBillResponse({}));
|
|
4237
4828
|
}
|
|
4238
4829
|
|
|
4830
|
+
/**
|
|
4831
|
+
* @summary 查询账单
|
|
4832
|
+
*
|
|
4833
|
+
* @param request DescribeDdosOriginInstanceBillRequest
|
|
4834
|
+
* @return DescribeDdosOriginInstanceBillResponse
|
|
4835
|
+
*/
|
|
4239
4836
|
async describeDdosOriginInstanceBill(request: DescribeDdosOriginInstanceBillRequest): Promise<DescribeDdosOriginInstanceBillResponse> {
|
|
4240
4837
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4241
4838
|
return await this.describeDdosOriginInstanceBillWithOptions(request, runtime);
|
|
4242
4839
|
}
|
|
4243
4840
|
|
|
4244
4841
|
/**
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4842
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
4843
|
+
* Origin instances that are about to expire in a specific region. The assets can be
|
|
4844
|
+
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
4845
|
+
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
4846
|
+
*
|
|
4847
|
+
* @description ## Usage notes
|
|
4848
|
+
* 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.
|
|
4849
|
+
*
|
|
4850
|
+
* @param request DescribeExcpetionCountRequest
|
|
4851
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4852
|
+
* @return DescribeExcpetionCountResponse
|
|
4251
4853
|
*/
|
|
4252
4854
|
async describeExcpetionCountWithOptions(request: DescribeExcpetionCountRequest, runtime: $Util.RuntimeOptions): Promise<DescribeExcpetionCountResponse> {
|
|
4253
4855
|
Util.validateModel(request);
|
|
@@ -4278,11 +4880,16 @@ export default class Client extends OpenApi {
|
|
|
4278
4880
|
}
|
|
4279
4881
|
|
|
4280
4882
|
/**
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4883
|
+
* @summary Queries the number of assets that are in an abnormal state and the number of Anti-DDoS
|
|
4884
|
+
* Origin instances that are about to expire in a specific region. The assets can be
|
|
4885
|
+
* elastic IP addresses (EIPs). The assets can also be Elastic Compute Service (ECS)
|
|
4886
|
+
* instances or Server Load Balancer (SLB) instances that are assigned public IP addresses.
|
|
4887
|
+
*
|
|
4888
|
+
* @description ## Usage notes
|
|
4889
|
+
* 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.
|
|
4890
|
+
*
|
|
4891
|
+
* @param request DescribeExcpetionCountRequest
|
|
4892
|
+
* @return DescribeExcpetionCountResponse
|
|
4286
4893
|
*/
|
|
4287
4894
|
async describeExcpetionCount(request: DescribeExcpetionCountRequest): Promise<DescribeExcpetionCountResponse> {
|
|
4288
4895
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -4290,13 +4897,15 @@ export default class Client extends OpenApi {
|
|
|
4290
4897
|
}
|
|
4291
4898
|
|
|
4292
4899
|
/**
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4900
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
4901
|
+
*
|
|
4902
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
4903
|
+
* ## Limits
|
|
4904
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4905
|
+
*
|
|
4906
|
+
* @param request DescribeInstanceListRequest
|
|
4907
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
4908
|
+
* @return DescribeInstanceListResponse
|
|
4300
4909
|
*/
|
|
4301
4910
|
async describeInstanceListWithOptions(request: DescribeInstanceListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceListResponse> {
|
|
4302
4911
|
Util.validateModel(request);
|
|
@@ -4371,18 +4980,25 @@ export default class Client extends OpenApi {
|
|
|
4371
4980
|
}
|
|
4372
4981
|
|
|
4373
4982
|
/**
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4983
|
+
* @summary Queries the details of all Anti-DDoS Origin instances.
|
|
4984
|
+
*
|
|
4985
|
+
* @description You can call the DescribeInstanceList operation to query the details of all Anti-DDoS Origin instances within your Alibaba Cloud account by page. The details include the ID, validity period, and status of each instance.
|
|
4986
|
+
* ## Limits
|
|
4987
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
4988
|
+
*
|
|
4989
|
+
* @param request DescribeInstanceListRequest
|
|
4990
|
+
* @return DescribeInstanceListResponse
|
|
4380
4991
|
*/
|
|
4381
4992
|
async describeInstanceList(request: DescribeInstanceListRequest): Promise<DescribeInstanceListResponse> {
|
|
4382
4993
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4383
4994
|
return await this.describeInstanceListWithOptions(request, runtime);
|
|
4384
4995
|
}
|
|
4385
4996
|
|
|
4997
|
+
/**
|
|
4998
|
+
* @param request DescribeInstanceSpecsRequest
|
|
4999
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5000
|
+
* @return DescribeInstanceSpecsResponse
|
|
5001
|
+
*/
|
|
4386
5002
|
async describeInstanceSpecsWithOptions(request: DescribeInstanceSpecsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstanceSpecsResponse> {
|
|
4387
5003
|
Util.validateModel(request);
|
|
4388
5004
|
let query = { };
|
|
@@ -4415,17 +5031,23 @@ export default class Client extends OpenApi {
|
|
|
4415
5031
|
return $tea.cast<DescribeInstanceSpecsResponse>(await this.callApi(params, req, runtime), new DescribeInstanceSpecsResponse({}));
|
|
4416
5032
|
}
|
|
4417
5033
|
|
|
5034
|
+
/**
|
|
5035
|
+
* @param request DescribeInstanceSpecsRequest
|
|
5036
|
+
* @return DescribeInstanceSpecsResponse
|
|
5037
|
+
*/
|
|
4418
5038
|
async describeInstanceSpecs(request: DescribeInstanceSpecsRequest): Promise<DescribeInstanceSpecsResponse> {
|
|
4419
5039
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4420
5040
|
return await this.describeInstanceSpecsWithOptions(request, runtime);
|
|
4421
5041
|
}
|
|
4422
5042
|
|
|
4423
5043
|
/**
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
5044
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
5045
|
+
*
|
|
5046
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
5047
|
+
*
|
|
5048
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
5049
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5050
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
4429
5051
|
*/
|
|
4430
5052
|
async describeOnDemandDdosEventWithOptions(request: DescribeOnDemandDdosEventRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOnDemandDdosEventResponse> {
|
|
4431
5053
|
Util.validateModel(request);
|
|
@@ -4480,16 +5102,23 @@ export default class Client extends OpenApi {
|
|
|
4480
5102
|
}
|
|
4481
5103
|
|
|
4482
5104
|
/**
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
5105
|
+
* @summary Call the DescribeOnDemandDdosEvent operation to query the DDoS events recorded for the IP address of the Anti-DDoS on-demand instance.
|
|
5106
|
+
*
|
|
5107
|
+
* @description > Anti-DDoS Origin API operations are available for only Anti-DDoS Origin Enterprise users.
|
|
5108
|
+
*
|
|
5109
|
+
* @param request DescribeOnDemandDdosEventRequest
|
|
5110
|
+
* @return DescribeOnDemandDdosEventResponse
|
|
4487
5111
|
*/
|
|
4488
5112
|
async describeOnDemandDdosEvent(request: DescribeOnDemandDdosEventRequest): Promise<DescribeOnDemandDdosEventResponse> {
|
|
4489
5113
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4490
5114
|
return await this.describeOnDemandDdosEventWithOptions(request, runtime);
|
|
4491
5115
|
}
|
|
4492
5116
|
|
|
5117
|
+
/**
|
|
5118
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
5119
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5120
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
5121
|
+
*/
|
|
4493
5122
|
async describeOnDemandInstanceStatusWithOptions(request: DescribeOnDemandInstanceStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOnDemandInstanceStatusResponse> {
|
|
4494
5123
|
Util.validateModel(request);
|
|
4495
5124
|
let query = { };
|
|
@@ -4518,17 +5147,23 @@ export default class Client extends OpenApi {
|
|
|
4518
5147
|
return $tea.cast<DescribeOnDemandInstanceStatusResponse>(await this.callApi(params, req, runtime), new DescribeOnDemandInstanceStatusResponse({}));
|
|
4519
5148
|
}
|
|
4520
5149
|
|
|
5150
|
+
/**
|
|
5151
|
+
* @param request DescribeOnDemandInstanceStatusRequest
|
|
5152
|
+
* @return DescribeOnDemandInstanceStatusResponse
|
|
5153
|
+
*/
|
|
4521
5154
|
async describeOnDemandInstanceStatus(request: DescribeOnDemandInstanceStatusRequest): Promise<DescribeOnDemandInstanceStatusResponse> {
|
|
4522
5155
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4523
5156
|
return await this.describeOnDemandInstanceStatusWithOptions(request, runtime);
|
|
4524
5157
|
}
|
|
4525
5158
|
|
|
4526
5159
|
/**
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
5160
|
+
* @summary The number of entries to return on each page.
|
|
5161
|
+
*
|
|
5162
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
5163
|
+
*
|
|
5164
|
+
* @param request DescribeOpEntitiesRequest
|
|
5165
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5166
|
+
* @return DescribeOpEntitiesResponse
|
|
4532
5167
|
*/
|
|
4533
5168
|
async describeOpEntitiesWithOptions(request: DescribeOpEntitiesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOpEntitiesResponse> {
|
|
4534
5169
|
Util.validateModel(request);
|
|
@@ -4587,10 +5222,12 @@ export default class Client extends OpenApi {
|
|
|
4587
5222
|
}
|
|
4588
5223
|
|
|
4589
5224
|
/**
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
5225
|
+
* @summary The number of entries to return on each page.
|
|
5226
|
+
*
|
|
5227
|
+
* @description The start time. Operation logs that were generated after this time are queried.**** This value is a UNIX timestamp. Unit: milliseconds.
|
|
5228
|
+
*
|
|
5229
|
+
* @param request DescribeOpEntitiesRequest
|
|
5230
|
+
* @return DescribeOpEntitiesResponse
|
|
4594
5231
|
*/
|
|
4595
5232
|
async describeOpEntities(request: DescribeOpEntitiesRequest): Promise<DescribeOpEntitiesResponse> {
|
|
4596
5233
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -4598,13 +5235,15 @@ export default class Client extends OpenApi {
|
|
|
4598
5235
|
}
|
|
4599
5236
|
|
|
4600
5237
|
/**
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
5238
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5239
|
+
*
|
|
5240
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
5241
|
+
* ## Limits
|
|
5242
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5243
|
+
*
|
|
5244
|
+
* @param request DescribePackIpListRequest
|
|
5245
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5246
|
+
* @return DescribePackIpListResponse
|
|
4608
5247
|
*/
|
|
4609
5248
|
async describePackIpListWithOptions(request: DescribePackIpListRequest, runtime: $Util.RuntimeOptions): Promise<DescribePackIpListResponse> {
|
|
4610
5249
|
Util.validateModel(request);
|
|
@@ -4659,18 +5298,110 @@ export default class Client extends OpenApi {
|
|
|
4659
5298
|
}
|
|
4660
5299
|
|
|
4661
5300
|
/**
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
5301
|
+
* @summary Queries the IP addresses that are protected by a specific Anti-DDoS Origin instance.
|
|
5302
|
+
*
|
|
5303
|
+
* @description You can call the DescribePackIpList operation to query the details about each IP address that is protected by a specific Anti-DDoS Origin instance by page. The details include the IP address and the type of the cloud asset to which the IP address belongs. The details also include the status of the IP address, such as whether blackhole filtering is triggered for the IP address.
|
|
5304
|
+
* ## Limits
|
|
5305
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5306
|
+
*
|
|
5307
|
+
* @param request DescribePackIpListRequest
|
|
5308
|
+
* @return DescribePackIpListResponse
|
|
4668
5309
|
*/
|
|
4669
5310
|
async describePackIpList(request: DescribePackIpListRequest): Promise<DescribePackIpListResponse> {
|
|
4670
5311
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4671
5312
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
4672
5313
|
}
|
|
4673
5314
|
|
|
5315
|
+
/**
|
|
5316
|
+
* @summary 查询资源目录成员账号列表
|
|
5317
|
+
*
|
|
5318
|
+
* @param request DescribeRdMemberListRequest
|
|
5319
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5320
|
+
* @return DescribeRdMemberListResponse
|
|
5321
|
+
*/
|
|
5322
|
+
async describeRdMemberListWithOptions(request: DescribeRdMemberListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRdMemberListResponse> {
|
|
5323
|
+
Util.validateModel(request);
|
|
5324
|
+
let query = { };
|
|
5325
|
+
if (!Util.isUnset(request.pageNo)) {
|
|
5326
|
+
query["PageNo"] = request.pageNo;
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
5330
|
+
query["PageSize"] = request.pageSize;
|
|
5331
|
+
}
|
|
5332
|
+
|
|
5333
|
+
if (!Util.isUnset(request.resourceDirectoryId)) {
|
|
5334
|
+
query["ResourceDirectoryId"] = request.resourceDirectoryId;
|
|
5335
|
+
}
|
|
5336
|
+
|
|
5337
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
5338
|
+
query: OpenApiUtil.query(query),
|
|
5339
|
+
});
|
|
5340
|
+
let params = new $OpenApi.Params({
|
|
5341
|
+
action: "DescribeRdMemberList",
|
|
5342
|
+
version: "2018-07-20",
|
|
5343
|
+
protocol: "HTTPS",
|
|
5344
|
+
pathname: "/",
|
|
5345
|
+
method: "POST",
|
|
5346
|
+
authType: "AK",
|
|
5347
|
+
style: "RPC",
|
|
5348
|
+
reqBodyType: "formData",
|
|
5349
|
+
bodyType: "json",
|
|
5350
|
+
});
|
|
5351
|
+
return $tea.cast<DescribeRdMemberListResponse>(await this.callApi(params, req, runtime), new DescribeRdMemberListResponse({}));
|
|
5352
|
+
}
|
|
5353
|
+
|
|
5354
|
+
/**
|
|
5355
|
+
* @summary 查询资源目录成员账号列表
|
|
5356
|
+
*
|
|
5357
|
+
* @param request DescribeRdMemberListRequest
|
|
5358
|
+
* @return DescribeRdMemberListResponse
|
|
5359
|
+
*/
|
|
5360
|
+
async describeRdMemberList(request: DescribeRdMemberListRequest): Promise<DescribeRdMemberListResponse> {
|
|
5361
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5362
|
+
return await this.describeRdMemberListWithOptions(request, runtime);
|
|
5363
|
+
}
|
|
5364
|
+
|
|
5365
|
+
/**
|
|
5366
|
+
* @summary 查询RD状态
|
|
5367
|
+
*
|
|
5368
|
+
* @param request DescribeRdStatusRequest
|
|
5369
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5370
|
+
* @return DescribeRdStatusResponse
|
|
5371
|
+
*/
|
|
5372
|
+
async describeRdStatusWithOptions(runtime: $Util.RuntimeOptions): Promise<DescribeRdStatusResponse> {
|
|
5373
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
5374
|
+
let params = new $OpenApi.Params({
|
|
5375
|
+
action: "DescribeRdStatus",
|
|
5376
|
+
version: "2018-07-20",
|
|
5377
|
+
protocol: "HTTPS",
|
|
5378
|
+
pathname: "/",
|
|
5379
|
+
method: "POST",
|
|
5380
|
+
authType: "AK",
|
|
5381
|
+
style: "RPC",
|
|
5382
|
+
reqBodyType: "formData",
|
|
5383
|
+
bodyType: "json",
|
|
5384
|
+
});
|
|
5385
|
+
return $tea.cast<DescribeRdStatusResponse>(await this.callApi(params, req, runtime), new DescribeRdStatusResponse({}));
|
|
5386
|
+
}
|
|
5387
|
+
|
|
5388
|
+
/**
|
|
5389
|
+
* @summary 查询RD状态
|
|
5390
|
+
*
|
|
5391
|
+
* @return DescribeRdStatusResponse
|
|
5392
|
+
*/
|
|
5393
|
+
async describeRdStatus(): Promise<DescribeRdStatusResponse> {
|
|
5394
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
5395
|
+
return await this.describeRdStatusWithOptions(runtime);
|
|
5396
|
+
}
|
|
5397
|
+
|
|
5398
|
+
/**
|
|
5399
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5400
|
+
*
|
|
5401
|
+
* @param request DescribeRegionsRequest
|
|
5402
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5403
|
+
* @return DescribeRegionsResponse
|
|
5404
|
+
*/
|
|
4674
5405
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
4675
5406
|
Util.validateModel(request);
|
|
4676
5407
|
let query = { };
|
|
@@ -4699,20 +5430,28 @@ export default class Client extends OpenApi {
|
|
|
4699
5430
|
return $tea.cast<DescribeRegionsResponse>(await this.callApi(params, req, runtime), new DescribeRegionsResponse({}));
|
|
4700
5431
|
}
|
|
4701
5432
|
|
|
5433
|
+
/**
|
|
5434
|
+
* @summary Queries the regions of cloud assets that are supported by an Anti-DDoS Origin instance.
|
|
5435
|
+
*
|
|
5436
|
+
* @param request DescribeRegionsRequest
|
|
5437
|
+
* @return DescribeRegionsResponse
|
|
5438
|
+
*/
|
|
4702
5439
|
async describeRegions(request: DescribeRegionsRequest): Promise<DescribeRegionsResponse> {
|
|
4703
5440
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4704
5441
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
4705
5442
|
}
|
|
4706
5443
|
|
|
4707
5444
|
/**
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
5445
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5446
|
+
*
|
|
5447
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5448
|
+
* > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
|
|
5449
|
+
* ## Limits
|
|
5450
|
+
* You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5451
|
+
*
|
|
5452
|
+
* @param request DescribeTrafficRequest
|
|
5453
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5454
|
+
* @return DescribeTrafficResponse
|
|
4716
5455
|
*/
|
|
4717
5456
|
async describeTrafficWithOptions(request: DescribeTrafficRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrafficResponse> {
|
|
4718
5457
|
Util.validateModel(request);
|
|
@@ -4771,19 +5510,28 @@ export default class Client extends OpenApi {
|
|
|
4771
5510
|
}
|
|
4772
5511
|
|
|
4773
5512
|
/**
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
5513
|
+
* @summary Queries traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5514
|
+
*
|
|
5515
|
+
* @description You can call the DescribeTraffic operation to query traffic statistics of an Anti-DDoS Origin instance within a specific time period.
|
|
5516
|
+
* > When you call this operation, you must configure the **InstanceId** parameter to specify the Anti-DDoS Origin instance whose traffic statistics you want to query.
|
|
5517
|
+
* ## Limits
|
|
5518
|
+
* You can call this operation once per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5519
|
+
*
|
|
5520
|
+
* @param request DescribeTrafficRequest
|
|
5521
|
+
* @return DescribeTrafficResponse
|
|
4781
5522
|
*/
|
|
4782
5523
|
async describeTraffic(request: DescribeTrafficRequest): Promise<DescribeTrafficResponse> {
|
|
4783
5524
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4784
5525
|
return await this.describeTrafficWithOptions(request, runtime);
|
|
4785
5526
|
}
|
|
4786
5527
|
|
|
5528
|
+
/**
|
|
5529
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5530
|
+
*
|
|
5531
|
+
* @param tmpReq DettachAssetGroupToInstanceRequest
|
|
5532
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5533
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
5534
|
+
*/
|
|
4787
5535
|
async dettachAssetGroupToInstanceWithOptions(tmpReq: DettachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DettachAssetGroupToInstanceResponse> {
|
|
4788
5536
|
Util.validateModel(tmpReq);
|
|
4789
5537
|
let request = new DettachAssetGroupToInstanceShrinkRequest({ });
|
|
@@ -4826,11 +5574,24 @@ export default class Client extends OpenApi {
|
|
|
4826
5574
|
return $tea.cast<DettachAssetGroupToInstanceResponse>(await this.callApi(params, req, runtime), new DettachAssetGroupToInstanceResponse({}));
|
|
4827
5575
|
}
|
|
4828
5576
|
|
|
5577
|
+
/**
|
|
5578
|
+
* @summary Dissociates an asset from an Anti-DDoS Origin instance of a paid edition.
|
|
5579
|
+
*
|
|
5580
|
+
* @param request DettachAssetGroupToInstanceRequest
|
|
5581
|
+
* @return DettachAssetGroupToInstanceResponse
|
|
5582
|
+
*/
|
|
4829
5583
|
async dettachAssetGroupToInstance(request: DettachAssetGroupToInstanceRequest): Promise<DettachAssetGroupToInstanceResponse> {
|
|
4830
5584
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4831
5585
|
return await this.dettachAssetGroupToInstanceWithOptions(request, runtime);
|
|
4832
5586
|
}
|
|
4833
5587
|
|
|
5588
|
+
/**
|
|
5589
|
+
* @summary Checks whether Log Service is activated.
|
|
5590
|
+
*
|
|
5591
|
+
* @param request GetSlsOpenStatusRequest
|
|
5592
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5593
|
+
* @return GetSlsOpenStatusResponse
|
|
5594
|
+
*/
|
|
4834
5595
|
async getSlsOpenStatusWithOptions(request: GetSlsOpenStatusRequest, runtime: $Util.RuntimeOptions): Promise<GetSlsOpenStatusResponse> {
|
|
4835
5596
|
Util.validateModel(request);
|
|
4836
5597
|
let query = { };
|
|
@@ -4859,11 +5620,24 @@ export default class Client extends OpenApi {
|
|
|
4859
5620
|
return $tea.cast<GetSlsOpenStatusResponse>(await this.callApi(params, req, runtime), new GetSlsOpenStatusResponse({}));
|
|
4860
5621
|
}
|
|
4861
5622
|
|
|
5623
|
+
/**
|
|
5624
|
+
* @summary Checks whether Log Service is activated.
|
|
5625
|
+
*
|
|
5626
|
+
* @param request GetSlsOpenStatusRequest
|
|
5627
|
+
* @return GetSlsOpenStatusResponse
|
|
5628
|
+
*/
|
|
4862
5629
|
async getSlsOpenStatus(request: GetSlsOpenStatusRequest): Promise<GetSlsOpenStatusResponse> {
|
|
4863
5630
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4864
5631
|
return await this.getSlsOpenStatusWithOptions(request, runtime);
|
|
4865
5632
|
}
|
|
4866
5633
|
|
|
5634
|
+
/**
|
|
5635
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
5636
|
+
*
|
|
5637
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
5638
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5639
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
5640
|
+
*/
|
|
4867
5641
|
async listOpenedAccessLogInstancesWithOptions(request: ListOpenedAccessLogInstancesRequest, runtime: $Util.RuntimeOptions): Promise<ListOpenedAccessLogInstancesResponse> {
|
|
4868
5642
|
Util.validateModel(request);
|
|
4869
5643
|
let query = { };
|
|
@@ -4896,11 +5670,24 @@ export default class Client extends OpenApi {
|
|
|
4896
5670
|
return $tea.cast<ListOpenedAccessLogInstancesResponse>(await this.callApi(params, req, runtime), new ListOpenedAccessLogInstancesResponse({}));
|
|
4897
5671
|
}
|
|
4898
5672
|
|
|
5673
|
+
/**
|
|
5674
|
+
* @summary Queries the Anti-DDoS Origin instances for which log analysis is enabled.
|
|
5675
|
+
*
|
|
5676
|
+
* @param request ListOpenedAccessLogInstancesRequest
|
|
5677
|
+
* @return ListOpenedAccessLogInstancesResponse
|
|
5678
|
+
*/
|
|
4899
5679
|
async listOpenedAccessLogInstances(request: ListOpenedAccessLogInstancesRequest): Promise<ListOpenedAccessLogInstancesResponse> {
|
|
4900
5680
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4901
5681
|
return await this.listOpenedAccessLogInstancesWithOptions(request, runtime);
|
|
4902
5682
|
}
|
|
4903
5683
|
|
|
5684
|
+
/**
|
|
5685
|
+
* @summary Queries all tags.
|
|
5686
|
+
*
|
|
5687
|
+
* @param request ListTagKeysRequest
|
|
5688
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5689
|
+
* @return ListTagKeysResponse
|
|
5690
|
+
*/
|
|
4904
5691
|
async listTagKeysWithOptions(request: ListTagKeysRequest, runtime: $Util.RuntimeOptions): Promise<ListTagKeysResponse> {
|
|
4905
5692
|
Util.validateModel(request);
|
|
4906
5693
|
let query = { };
|
|
@@ -4941,17 +5728,23 @@ export default class Client extends OpenApi {
|
|
|
4941
5728
|
return $tea.cast<ListTagKeysResponse>(await this.callApi(params, req, runtime), new ListTagKeysResponse({}));
|
|
4942
5729
|
}
|
|
4943
5730
|
|
|
5731
|
+
/**
|
|
5732
|
+
* @summary Queries all tags.
|
|
5733
|
+
*
|
|
5734
|
+
* @param request ListTagKeysRequest
|
|
5735
|
+
* @return ListTagKeysResponse
|
|
5736
|
+
*/
|
|
4944
5737
|
async listTagKeys(request: ListTagKeysRequest): Promise<ListTagKeysResponse> {
|
|
4945
5738
|
let runtime = new $Util.RuntimeOptions({ });
|
|
4946
5739
|
return await this.listTagKeysWithOptions(request, runtime);
|
|
4947
5740
|
}
|
|
4948
5741
|
|
|
4949
5742
|
/**
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
5743
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
5744
|
+
*
|
|
5745
|
+
* @param request ListTagResourcesRequest
|
|
5746
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5747
|
+
* @return ListTagResourcesResponse
|
|
4955
5748
|
*/
|
|
4956
5749
|
async listTagResourcesWithOptions(request: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
4957
5750
|
Util.validateModel(request);
|
|
@@ -4998,10 +5791,10 @@ export default class Client extends OpenApi {
|
|
|
4998
5791
|
}
|
|
4999
5792
|
|
|
5000
5793
|
/**
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5794
|
+
* @description You can call the ListTagResources operation to query the tags that are added to Anti-DDoS Origin instances at a time.
|
|
5795
|
+
*
|
|
5796
|
+
* @param request ListTagResourcesRequest
|
|
5797
|
+
* @return ListTagResourcesResponse
|
|
5005
5798
|
*/
|
|
5006
5799
|
async listTagResources(request: ListTagResourcesRequest): Promise<ListTagResourcesResponse> {
|
|
5007
5800
|
let runtime = new $Util.RuntimeOptions({ });
|
|
@@ -5009,13 +5802,15 @@ export default class Client extends OpenApi {
|
|
|
5009
5802
|
}
|
|
5010
5803
|
|
|
5011
5804
|
/**
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5805
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
5806
|
+
*
|
|
5807
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
5808
|
+
* ## Limits
|
|
5809
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5810
|
+
*
|
|
5811
|
+
* @param request ModifyRemarkRequest
|
|
5812
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5813
|
+
* @return ModifyRemarkResponse
|
|
5019
5814
|
*/
|
|
5020
5815
|
async modifyRemarkWithOptions(request: ModifyRemarkRequest, runtime: $Util.RuntimeOptions): Promise<ModifyRemarkResponse> {
|
|
5021
5816
|
Util.validateModel(request);
|
|
@@ -5054,18 +5849,27 @@ export default class Client extends OpenApi {
|
|
|
5054
5849
|
}
|
|
5055
5850
|
|
|
5056
5851
|
/**
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5852
|
+
* @summary Adds remarks for a specific Anti-DDoS Origin instance.
|
|
5853
|
+
*
|
|
5854
|
+
* @description You can call the ModifyRemark operation to add remarks for a single Anti-DDoS Origin instance.
|
|
5855
|
+
* ## Limits
|
|
5856
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
5857
|
+
*
|
|
5858
|
+
* @param request ModifyRemarkRequest
|
|
5859
|
+
* @return ModifyRemarkResponse
|
|
5063
5860
|
*/
|
|
5064
5861
|
async modifyRemark(request: ModifyRemarkRequest): Promise<ModifyRemarkResponse> {
|
|
5065
5862
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5066
5863
|
return await this.modifyRemarkWithOptions(request, runtime);
|
|
5067
5864
|
}
|
|
5068
5865
|
|
|
5866
|
+
/**
|
|
5867
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
5868
|
+
*
|
|
5869
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
5870
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5871
|
+
* @return QuerySchedruleOnDemandResponse
|
|
5872
|
+
*/
|
|
5069
5873
|
async querySchedruleOnDemandWithOptions(request: QuerySchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<QuerySchedruleOnDemandResponse> {
|
|
5070
5874
|
Util.validateModel(request);
|
|
5071
5875
|
let query = { };
|
|
@@ -5094,11 +5898,24 @@ export default class Client extends OpenApi {
|
|
|
5094
5898
|
return $tea.cast<QuerySchedruleOnDemandResponse>(await this.callApi(params, req, runtime), new QuerySchedruleOnDemandResponse({}));
|
|
5095
5899
|
}
|
|
5096
5900
|
|
|
5901
|
+
/**
|
|
5902
|
+
* @summary Queries the scheduling rule of an on-demand instance.
|
|
5903
|
+
*
|
|
5904
|
+
* @param request QuerySchedruleOnDemandRequest
|
|
5905
|
+
* @return QuerySchedruleOnDemandResponse
|
|
5906
|
+
*/
|
|
5097
5907
|
async querySchedruleOnDemand(request: QuerySchedruleOnDemandRequest): Promise<QuerySchedruleOnDemandResponse> {
|
|
5098
5908
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5099
5909
|
return await this.querySchedruleOnDemandWithOptions(request, runtime);
|
|
5100
5910
|
}
|
|
5101
5911
|
|
|
5912
|
+
/**
|
|
5913
|
+
* @summary 释放原生防护全局实例
|
|
5914
|
+
*
|
|
5915
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
5916
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5917
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
5918
|
+
*/
|
|
5102
5919
|
async releaseDdosOriginInstanceWithOptions(request: ReleaseDdosOriginInstanceRequest, runtime: $Util.RuntimeOptions): Promise<ReleaseDdosOriginInstanceResponse> {
|
|
5103
5920
|
Util.validateModel(request);
|
|
5104
5921
|
let query = { };
|
|
@@ -5123,11 +5940,22 @@ export default class Client extends OpenApi {
|
|
|
5123
5940
|
return $tea.cast<ReleaseDdosOriginInstanceResponse>(await this.callApi(params, req, runtime), new ReleaseDdosOriginInstanceResponse({}));
|
|
5124
5941
|
}
|
|
5125
5942
|
|
|
5943
|
+
/**
|
|
5944
|
+
* @summary 释放原生防护全局实例
|
|
5945
|
+
*
|
|
5946
|
+
* @param request ReleaseDdosOriginInstanceRequest
|
|
5947
|
+
* @return ReleaseDdosOriginInstanceResponse
|
|
5948
|
+
*/
|
|
5126
5949
|
async releaseDdosOriginInstance(request: ReleaseDdosOriginInstanceRequest): Promise<ReleaseDdosOriginInstanceResponse> {
|
|
5127
5950
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5128
5951
|
return await this.releaseDdosOriginInstanceWithOptions(request, runtime);
|
|
5129
5952
|
}
|
|
5130
5953
|
|
|
5954
|
+
/**
|
|
5955
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
5956
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
5957
|
+
* @return SetInstanceModeOnDemandResponse
|
|
5958
|
+
*/
|
|
5131
5959
|
async setInstanceModeOnDemandWithOptions(request: SetInstanceModeOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<SetInstanceModeOnDemandResponse> {
|
|
5132
5960
|
Util.validateModel(request);
|
|
5133
5961
|
let query = { };
|
|
@@ -5160,19 +5988,25 @@ export default class Client extends OpenApi {
|
|
|
5160
5988
|
return $tea.cast<SetInstanceModeOnDemandResponse>(await this.callApi(params, req, runtime), new SetInstanceModeOnDemandResponse({}));
|
|
5161
5989
|
}
|
|
5162
5990
|
|
|
5991
|
+
/**
|
|
5992
|
+
* @param request SetInstanceModeOnDemandRequest
|
|
5993
|
+
* @return SetInstanceModeOnDemandResponse
|
|
5994
|
+
*/
|
|
5163
5995
|
async setInstanceModeOnDemand(request: SetInstanceModeOnDemandRequest): Promise<SetInstanceModeOnDemandResponse> {
|
|
5164
5996
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5165
5997
|
return await this.setInstanceModeOnDemandWithOptions(request, runtime);
|
|
5166
5998
|
}
|
|
5167
5999
|
|
|
5168
6000
|
/**
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
6001
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
6002
|
+
*
|
|
6003
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
6004
|
+
* ## Limits
|
|
6005
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6006
|
+
*
|
|
6007
|
+
* @param request TagResourcesRequest
|
|
6008
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6009
|
+
* @return TagResourcesResponse
|
|
5176
6010
|
*/
|
|
5177
6011
|
async tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse> {
|
|
5178
6012
|
Util.validateModel(request);
|
|
@@ -5215,18 +6049,27 @@ export default class Client extends OpenApi {
|
|
|
5215
6049
|
}
|
|
5216
6050
|
|
|
5217
6051
|
/**
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
6052
|
+
* @summary Adds tags to Anti-DDoS Origin instances.
|
|
6053
|
+
*
|
|
6054
|
+
* @description You can call the TagResources operation to add tags to Anti-DDoS Origin instances.
|
|
6055
|
+
* ## Limits
|
|
6056
|
+
* You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
6057
|
+
*
|
|
6058
|
+
* @param request TagResourcesRequest
|
|
6059
|
+
* @return TagResourcesResponse
|
|
5224
6060
|
*/
|
|
5225
6061
|
async tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse> {
|
|
5226
6062
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5227
6063
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
5228
6064
|
}
|
|
5229
6065
|
|
|
6066
|
+
/**
|
|
6067
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
6068
|
+
*
|
|
6069
|
+
* @param request UntagResourcesRequest
|
|
6070
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6071
|
+
* @return UntagResourcesResponse
|
|
6072
|
+
*/
|
|
5230
6073
|
async untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse> {
|
|
5231
6074
|
Util.validateModel(request);
|
|
5232
6075
|
let query = { };
|
|
@@ -5271,6 +6114,12 @@ export default class Client extends OpenApi {
|
|
|
5271
6114
|
return $tea.cast<UntagResourcesResponse>(await this.callApi(params, req, runtime), new UntagResourcesResponse({}));
|
|
5272
6115
|
}
|
|
5273
6116
|
|
|
6117
|
+
/**
|
|
6118
|
+
* @summary Removes tags from Anti-DDoS Origin Enterprise instances.
|
|
6119
|
+
*
|
|
6120
|
+
* @param request UntagResourcesRequest
|
|
6121
|
+
* @return UntagResourcesResponse
|
|
6122
|
+
*/
|
|
5274
6123
|
async untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse> {
|
|
5275
6124
|
let runtime = new $Util.RuntimeOptions({ });
|
|
5276
6125
|
return await this.untagResourcesWithOptions(request, runtime);
|