@alicloud/ddosbgp20180720 2.2.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/dist/client.d.ts +230 -0
- package/dist/client.js +799 -380
- package/dist/client.js.map +1 -1
- package/package.json +4 -4
- package/src/client.ts +498 -0
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;
|
|
@@ -3233,6 +3578,31 @@ export class DescribePackIpListResponseBodyIpList extends $tea.Model {
|
|
|
3233
3578
|
}
|
|
3234
3579
|
}
|
|
3235
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
|
+
|
|
3236
3606
|
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
3237
3607
|
regionEnName?: string;
|
|
3238
3608
|
regionId?: string;
|
|
@@ -3609,6 +3979,41 @@ export default class Client extends OpenApi {
|
|
|
3609
3979
|
return await this.addIpWithOptions(request, runtime);
|
|
3610
3980
|
}
|
|
3611
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
|
+
|
|
3612
4017
|
async attachAssetGroupToInstanceWithOptions(tmpReq: AttachAssetGroupToInstanceRequest, runtime: $Util.RuntimeOptions): Promise<AttachAssetGroupToInstanceResponse> {
|
|
3613
4018
|
Util.validateModel(tmpReq);
|
|
3614
4019
|
let request = new AttachAssetGroupToInstanceShrinkRequest({ });
|
|
@@ -3991,6 +4396,41 @@ export default class Client extends OpenApi {
|
|
|
3991
4396
|
return await this.deleteIpWithOptions(request, runtime);
|
|
3992
4397
|
}
|
|
3993
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
|
+
|
|
3994
4434
|
async deleteSchedruleOnDemandWithOptions(request: DeleteSchedruleOnDemandRequest, runtime: $Util.RuntimeOptions): Promise<DeleteSchedruleOnDemandResponse> {
|
|
3995
4435
|
Util.validateModel(request);
|
|
3996
4436
|
let query = { };
|
|
@@ -4671,6 +5111,64 @@ export default class Client extends OpenApi {
|
|
|
4671
5111
|
return await this.describePackIpListWithOptions(request, runtime);
|
|
4672
5112
|
}
|
|
4673
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
|
+
|
|
4674
5172
|
async describeRegionsWithOptions(request: DescribeRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRegionsResponse> {
|
|
4675
5173
|
Util.validateModel(request);
|
|
4676
5174
|
let query = { };
|