@alicloud/das20200116 2.5.2 → 2.6.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 +90 -0
- package/dist/client.js +261 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateSecurityIpgroupRequest.d.ts +37 -0
- package/dist/models/CreateSecurityIpgroupRequest.js +62 -0
- package/dist/models/CreateSecurityIpgroupRequest.js.map +1 -0
- package/dist/models/CreateSecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/CreateSecurityIpgroupResponse.js +69 -0
- package/dist/models/CreateSecurityIpgroupResponse.js.map +1 -0
- package/dist/models/CreateSecurityIpgroupResponseBody.d.ts +93 -0
- package/dist/models/CreateSecurityIpgroupResponseBody.js +120 -0
- package/dist/models/CreateSecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/DeleteSecurityIpgroupRequest.d.ts +29 -0
- package/dist/models/DeleteSecurityIpgroupRequest.js +60 -0
- package/dist/models/DeleteSecurityIpgroupRequest.js.map +1 -0
- package/dist/models/DeleteSecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/DeleteSecurityIpgroupResponse.js +69 -0
- package/dist/models/DeleteSecurityIpgroupResponse.js.map +1 -0
- package/dist/models/DeleteSecurityIpgroupResponseBody.d.ts +68 -0
- package/dist/models/DeleteSecurityIpgroupResponseBody.js +110 -0
- package/dist/models/DeleteSecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRelationRequest.d.ts +29 -0
- package/dist/models/DescribeSecurityIpgroupRelationRequest.js +60 -0
- package/dist/models/DescribeSecurityIpgroupRelationRequest.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponse.d.ts +19 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponse.js +69 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponse.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponseBody.d.ts +88 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponseBody.js +118 -0
- package/dist/models/DescribeSecurityIpgroupRelationResponseBody.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupRequest.d.ts +21 -0
- package/dist/models/DescribeSecurityIpgroupRequest.js +58 -0
- package/dist/models/DescribeSecurityIpgroupRequest.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/DescribeSecurityIpgroupResponse.js +69 -0
- package/dist/models/DescribeSecurityIpgroupResponse.js.map +1 -0
- package/dist/models/DescribeSecurityIpgroupResponseBody.d.ts +129 -0
- package/dist/models/DescribeSecurityIpgroupResponseBody.js +162 -0
- package/dist/models/DescribeSecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRelationRequest.d.ts +37 -0
- package/dist/models/ModifySecurityIpgroupRelationRequest.js +62 -0
- package/dist/models/ModifySecurityIpgroupRelationRequest.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRelationResponse.d.ts +19 -0
- package/dist/models/ModifySecurityIpgroupRelationResponse.js +69 -0
- package/dist/models/ModifySecurityIpgroupRelationResponse.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRelationResponseBody.d.ts +88 -0
- package/dist/models/ModifySecurityIpgroupRelationResponseBody.js +118 -0
- package/dist/models/ModifySecurityIpgroupRelationResponseBody.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupRequest.d.ts +45 -0
- package/dist/models/ModifySecurityIpgroupRequest.js +64 -0
- package/dist/models/ModifySecurityIpgroupRequest.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupResponse.d.ts +19 -0
- package/dist/models/ModifySecurityIpgroupResponse.js +69 -0
- package/dist/models/ModifySecurityIpgroupResponse.js.map +1 -0
- package/dist/models/ModifySecurityIpgroupResponseBody.d.ts +93 -0
- package/dist/models/ModifySecurityIpgroupResponseBody.js +120 -0
- package/dist/models/ModifySecurityIpgroupResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +31 -0
- package/dist/models/model.js +74 -11
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +288 -0
- package/src/models/CreateSecurityIpgroupRequest.ts +54 -0
- package/src/models/CreateSecurityIpgroupResponse.ts +40 -0
- package/src/models/CreateSecurityIpgroupResponseBody.ts +150 -0
- package/src/models/DeleteSecurityIpgroupRequest.ts +44 -0
- package/src/models/DeleteSecurityIpgroupResponse.ts +40 -0
- package/src/models/DeleteSecurityIpgroupResponseBody.ts +115 -0
- package/src/models/DescribeSecurityIpgroupRelationRequest.ts +44 -0
- package/src/models/DescribeSecurityIpgroupRelationResponse.ts +40 -0
- package/src/models/DescribeSecurityIpgroupRelationResponseBody.ts +143 -0
- package/src/models/DescribeSecurityIpgroupRequest.ts +34 -0
- package/src/models/DescribeSecurityIpgroupResponse.ts +40 -0
- package/src/models/DescribeSecurityIpgroupResponseBody.ts +219 -0
- package/src/models/ModifySecurityIpgroupRelationRequest.ts +54 -0
- package/src/models/ModifySecurityIpgroupRelationResponse.ts +40 -0
- package/src/models/ModifySecurityIpgroupRelationResponseBody.ts +143 -0
- package/src/models/ModifySecurityIpgroupRequest.ts +64 -0
- package/src/models/ModifySecurityIpgroupResponse.ts +40 -0
- package/src/models/ModifySecurityIpgroupResponseBody.ts +150 -0
- package/src/models/model.ts +31 -0
package/src/client.ts
CHANGED
|
@@ -768,6 +768,56 @@ export default class Client extends OpenApi {
|
|
|
768
768
|
return await this.createRequestDiagnosisWithOptions(request, runtime);
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
+
/**
|
|
772
|
+
* 创建用户跨产品白名单模板
|
|
773
|
+
*
|
|
774
|
+
* @param request - CreateSecurityIPGroupRequest
|
|
775
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
776
|
+
* @returns CreateSecurityIPGroupResponse
|
|
777
|
+
*/
|
|
778
|
+
async createSecurityIPGroupWithOptions(request: $_model.CreateSecurityIPGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSecurityIPGroupResponse> {
|
|
779
|
+
request.validate();
|
|
780
|
+
let query = { };
|
|
781
|
+
if (!$dara.isNull(request.GIpList)) {
|
|
782
|
+
query["GIpList"] = request.GIpList;
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
if (!$dara.isNull(request.globalIgName)) {
|
|
786
|
+
query["GlobalIgName"] = request.globalIgName;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
if (!$dara.isNull(request.regionName)) {
|
|
790
|
+
query["RegionName"] = request.regionName;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
794
|
+
query: OpenApiUtil.query(query),
|
|
795
|
+
});
|
|
796
|
+
let params = new $OpenApiUtil.Params({
|
|
797
|
+
action: "CreateSecurityIPGroup",
|
|
798
|
+
version: "2020-01-16",
|
|
799
|
+
protocol: "HTTPS",
|
|
800
|
+
pathname: "/",
|
|
801
|
+
method: "POST",
|
|
802
|
+
authType: "AK",
|
|
803
|
+
style: "RPC",
|
|
804
|
+
reqBodyType: "formData",
|
|
805
|
+
bodyType: "json",
|
|
806
|
+
});
|
|
807
|
+
return $dara.cast<$_model.CreateSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new $_model.CreateSecurityIPGroupResponse({}));
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* 创建用户跨产品白名单模板
|
|
812
|
+
*
|
|
813
|
+
* @param request - CreateSecurityIPGroupRequest
|
|
814
|
+
* @returns CreateSecurityIPGroupResponse
|
|
815
|
+
*/
|
|
816
|
+
async createSecurityIPGroup(request: $_model.CreateSecurityIPGroupRequest): Promise<$_model.CreateSecurityIPGroupResponse> {
|
|
817
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
818
|
+
return await this.createSecurityIPGroupWithOptions(request, runtime);
|
|
819
|
+
}
|
|
820
|
+
|
|
771
821
|
/**
|
|
772
822
|
* Creates an offline task for Database Autonomy Service (DAS) Enterprise Edition.
|
|
773
823
|
*
|
|
@@ -966,6 +1016,52 @@ export default class Client extends OpenApi {
|
|
|
966
1016
|
return await this.deleteCloudBenchTaskWithOptions(request, runtime);
|
|
967
1017
|
}
|
|
968
1018
|
|
|
1019
|
+
/**
|
|
1020
|
+
* 删除用户跨产品白名单模板
|
|
1021
|
+
*
|
|
1022
|
+
* @param request - DeleteSecurityIPGroupRequest
|
|
1023
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1024
|
+
* @returns DeleteSecurityIPGroupResponse
|
|
1025
|
+
*/
|
|
1026
|
+
async deleteSecurityIPGroupWithOptions(request: $_model.DeleteSecurityIPGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSecurityIPGroupResponse> {
|
|
1027
|
+
request.validate();
|
|
1028
|
+
let query = { };
|
|
1029
|
+
if (!$dara.isNull(request.globalSecurityGroupId)) {
|
|
1030
|
+
query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
if (!$dara.isNull(request.regionName)) {
|
|
1034
|
+
query["RegionName"] = request.regionName;
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1038
|
+
query: OpenApiUtil.query(query),
|
|
1039
|
+
});
|
|
1040
|
+
let params = new $OpenApiUtil.Params({
|
|
1041
|
+
action: "DeleteSecurityIPGroup",
|
|
1042
|
+
version: "2020-01-16",
|
|
1043
|
+
protocol: "HTTPS",
|
|
1044
|
+
pathname: "/",
|
|
1045
|
+
method: "POST",
|
|
1046
|
+
authType: "AK",
|
|
1047
|
+
style: "RPC",
|
|
1048
|
+
reqBodyType: "formData",
|
|
1049
|
+
bodyType: "json",
|
|
1050
|
+
});
|
|
1051
|
+
return $dara.cast<$_model.DeleteSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new $_model.DeleteSecurityIPGroupResponse({}));
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* 删除用户跨产品白名单模板
|
|
1056
|
+
*
|
|
1057
|
+
* @param request - DeleteSecurityIPGroupRequest
|
|
1058
|
+
* @returns DeleteSecurityIPGroupResponse
|
|
1059
|
+
*/
|
|
1060
|
+
async deleteSecurityIPGroup(request: $_model.DeleteSecurityIPGroupRequest): Promise<$_model.DeleteSecurityIPGroupResponse> {
|
|
1061
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1062
|
+
return await this.deleteSecurityIPGroupWithOptions(request, runtime);
|
|
1063
|
+
}
|
|
1064
|
+
|
|
969
1065
|
/**
|
|
970
1066
|
* Deletes the metadata of a stopped DBGateway.
|
|
971
1067
|
*
|
|
@@ -1802,6 +1898,94 @@ export default class Client extends OpenApi {
|
|
|
1802
1898
|
return await this.describeQueryExplainWithOptions(request, runtime);
|
|
1803
1899
|
}
|
|
1804
1900
|
|
|
1901
|
+
/**
|
|
1902
|
+
* 展示用户跨产品白名单模板具体信息
|
|
1903
|
+
*
|
|
1904
|
+
* @param request - DescribeSecurityIPGroupRequest
|
|
1905
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1906
|
+
* @returns DescribeSecurityIPGroupResponse
|
|
1907
|
+
*/
|
|
1908
|
+
async describeSecurityIPGroupWithOptions(request: $_model.DescribeSecurityIPGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSecurityIPGroupResponse> {
|
|
1909
|
+
request.validate();
|
|
1910
|
+
let query = { };
|
|
1911
|
+
if (!$dara.isNull(request.regionName)) {
|
|
1912
|
+
query["RegionName"] = request.regionName;
|
|
1913
|
+
}
|
|
1914
|
+
|
|
1915
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1916
|
+
query: OpenApiUtil.query(query),
|
|
1917
|
+
});
|
|
1918
|
+
let params = new $OpenApiUtil.Params({
|
|
1919
|
+
action: "DescribeSecurityIPGroup",
|
|
1920
|
+
version: "2020-01-16",
|
|
1921
|
+
protocol: "HTTPS",
|
|
1922
|
+
pathname: "/",
|
|
1923
|
+
method: "POST",
|
|
1924
|
+
authType: "AK",
|
|
1925
|
+
style: "RPC",
|
|
1926
|
+
reqBodyType: "formData",
|
|
1927
|
+
bodyType: "json",
|
|
1928
|
+
});
|
|
1929
|
+
return $dara.cast<$_model.DescribeSecurityIPGroupResponse>(await this.callApi(params, req, runtime), new $_model.DescribeSecurityIPGroupResponse({}));
|
|
1930
|
+
}
|
|
1931
|
+
|
|
1932
|
+
/**
|
|
1933
|
+
* 展示用户跨产品白名单模板具体信息
|
|
1934
|
+
*
|
|
1935
|
+
* @param request - DescribeSecurityIPGroupRequest
|
|
1936
|
+
* @returns DescribeSecurityIPGroupResponse
|
|
1937
|
+
*/
|
|
1938
|
+
async describeSecurityIPGroup(request: $_model.DescribeSecurityIPGroupRequest): Promise<$_model.DescribeSecurityIPGroupResponse> {
|
|
1939
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1940
|
+
return await this.describeSecurityIPGroupWithOptions(request, runtime);
|
|
1941
|
+
}
|
|
1942
|
+
|
|
1943
|
+
/**
|
|
1944
|
+
* 展示用户跨产品白名单模板与实例绑定信息
|
|
1945
|
+
*
|
|
1946
|
+
* @param request - DescribeSecurityIPGroupRelationRequest
|
|
1947
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1948
|
+
* @returns DescribeSecurityIPGroupRelationResponse
|
|
1949
|
+
*/
|
|
1950
|
+
async describeSecurityIPGroupRelationWithOptions(request: $_model.DescribeSecurityIPGroupRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeSecurityIPGroupRelationResponse> {
|
|
1951
|
+
request.validate();
|
|
1952
|
+
let query = { };
|
|
1953
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
1954
|
+
query["InstanceId"] = request.instanceId;
|
|
1955
|
+
}
|
|
1956
|
+
|
|
1957
|
+
if (!$dara.isNull(request.regionName)) {
|
|
1958
|
+
query["RegionName"] = request.regionName;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1962
|
+
query: OpenApiUtil.query(query),
|
|
1963
|
+
});
|
|
1964
|
+
let params = new $OpenApiUtil.Params({
|
|
1965
|
+
action: "DescribeSecurityIPGroupRelation",
|
|
1966
|
+
version: "2020-01-16",
|
|
1967
|
+
protocol: "HTTPS",
|
|
1968
|
+
pathname: "/",
|
|
1969
|
+
method: "POST",
|
|
1970
|
+
authType: "AK",
|
|
1971
|
+
style: "RPC",
|
|
1972
|
+
reqBodyType: "formData",
|
|
1973
|
+
bodyType: "json",
|
|
1974
|
+
});
|
|
1975
|
+
return $dara.cast<$_model.DescribeSecurityIPGroupRelationResponse>(await this.callApi(params, req, runtime), new $_model.DescribeSecurityIPGroupRelationResponse({}));
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* 展示用户跨产品白名单模板与实例绑定信息
|
|
1980
|
+
*
|
|
1981
|
+
* @param request - DescribeSecurityIPGroupRelationRequest
|
|
1982
|
+
* @returns DescribeSecurityIPGroupRelationResponse
|
|
1983
|
+
*/
|
|
1984
|
+
async describeSecurityIPGroupRelation(request: $_model.DescribeSecurityIPGroupRelationRequest): Promise<$_model.DescribeSecurityIPGroupRelationResponse> {
|
|
1985
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1986
|
+
return await this.describeSecurityIPGroupRelationWithOptions(request, runtime);
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1805
1989
|
/**
|
|
1806
1990
|
* DescribeSlowLogHistogramAsync
|
|
1807
1991
|
*
|
|
@@ -6894,6 +7078,110 @@ export default class Client extends OpenApi {
|
|
|
6894
7078
|
return await this.modifyAutoScalingConfigWithOptions(request, runtime);
|
|
6895
7079
|
}
|
|
6896
7080
|
|
|
7081
|
+
/**
|
|
7082
|
+
* 修改用户跨产品白名单模板
|
|
7083
|
+
*
|
|
7084
|
+
* @param request - ModifySecurityIPGroupRequest
|
|
7085
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7086
|
+
* @returns ModifySecurityIPGroupResponse
|
|
7087
|
+
*/
|
|
7088
|
+
async modifySecurityIPGroupWithOptions(request: $_model.ModifySecurityIPGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySecurityIPGroupResponse> {
|
|
7089
|
+
request.validate();
|
|
7090
|
+
let query = { };
|
|
7091
|
+
if (!$dara.isNull(request.GIpList)) {
|
|
7092
|
+
query["GIpList"] = request.GIpList;
|
|
7093
|
+
}
|
|
7094
|
+
|
|
7095
|
+
if (!$dara.isNull(request.globalIgName)) {
|
|
7096
|
+
query["GlobalIgName"] = request.globalIgName;
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
if (!$dara.isNull(request.globalSecurityGroupId)) {
|
|
7100
|
+
query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
|
|
7101
|
+
}
|
|
7102
|
+
|
|
7103
|
+
if (!$dara.isNull(request.regionName)) {
|
|
7104
|
+
query["RegionName"] = request.regionName;
|
|
7105
|
+
}
|
|
7106
|
+
|
|
7107
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7108
|
+
query: OpenApiUtil.query(query),
|
|
7109
|
+
});
|
|
7110
|
+
let params = new $OpenApiUtil.Params({
|
|
7111
|
+
action: "ModifySecurityIPGroup",
|
|
7112
|
+
version: "2020-01-16",
|
|
7113
|
+
protocol: "HTTPS",
|
|
7114
|
+
pathname: "/",
|
|
7115
|
+
method: "POST",
|
|
7116
|
+
authType: "AK",
|
|
7117
|
+
style: "RPC",
|
|
7118
|
+
reqBodyType: "formData",
|
|
7119
|
+
bodyType: "json",
|
|
7120
|
+
});
|
|
7121
|
+
return $dara.cast<$_model.ModifySecurityIPGroupResponse>(await this.callApi(params, req, runtime), new $_model.ModifySecurityIPGroupResponse({}));
|
|
7122
|
+
}
|
|
7123
|
+
|
|
7124
|
+
/**
|
|
7125
|
+
* 修改用户跨产品白名单模板
|
|
7126
|
+
*
|
|
7127
|
+
* @param request - ModifySecurityIPGroupRequest
|
|
7128
|
+
* @returns ModifySecurityIPGroupResponse
|
|
7129
|
+
*/
|
|
7130
|
+
async modifySecurityIPGroup(request: $_model.ModifySecurityIPGroupRequest): Promise<$_model.ModifySecurityIPGroupResponse> {
|
|
7131
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7132
|
+
return await this.modifySecurityIPGroupWithOptions(request, runtime);
|
|
7133
|
+
}
|
|
7134
|
+
|
|
7135
|
+
/**
|
|
7136
|
+
* 绑定/解绑用户跨产品白名单模板
|
|
7137
|
+
*
|
|
7138
|
+
* @param request - ModifySecurityIPGroupRelationRequest
|
|
7139
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7140
|
+
* @returns ModifySecurityIPGroupRelationResponse
|
|
7141
|
+
*/
|
|
7142
|
+
async modifySecurityIPGroupRelationWithOptions(request: $_model.ModifySecurityIPGroupRelationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySecurityIPGroupRelationResponse> {
|
|
7143
|
+
request.validate();
|
|
7144
|
+
let query = { };
|
|
7145
|
+
if (!$dara.isNull(request.globalSecurityGroupId)) {
|
|
7146
|
+
query["GlobalSecurityGroupId"] = request.globalSecurityGroupId;
|
|
7147
|
+
}
|
|
7148
|
+
|
|
7149
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
7150
|
+
query["InstanceId"] = request.instanceId;
|
|
7151
|
+
}
|
|
7152
|
+
|
|
7153
|
+
if (!$dara.isNull(request.regionName)) {
|
|
7154
|
+
query["RegionName"] = request.regionName;
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7158
|
+
query: OpenApiUtil.query(query),
|
|
7159
|
+
});
|
|
7160
|
+
let params = new $OpenApiUtil.Params({
|
|
7161
|
+
action: "ModifySecurityIPGroupRelation",
|
|
7162
|
+
version: "2020-01-16",
|
|
7163
|
+
protocol: "HTTPS",
|
|
7164
|
+
pathname: "/",
|
|
7165
|
+
method: "POST",
|
|
7166
|
+
authType: "AK",
|
|
7167
|
+
style: "RPC",
|
|
7168
|
+
reqBodyType: "formData",
|
|
7169
|
+
bodyType: "json",
|
|
7170
|
+
});
|
|
7171
|
+
return $dara.cast<$_model.ModifySecurityIPGroupRelationResponse>(await this.callApi(params, req, runtime), new $_model.ModifySecurityIPGroupRelationResponse({}));
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7174
|
+
/**
|
|
7175
|
+
* 绑定/解绑用户跨产品白名单模板
|
|
7176
|
+
*
|
|
7177
|
+
* @param request - ModifySecurityIPGroupRelationRequest
|
|
7178
|
+
* @returns ModifySecurityIPGroupRelationResponse
|
|
7179
|
+
*/
|
|
7180
|
+
async modifySecurityIPGroupRelation(request: $_model.ModifySecurityIPGroupRelationRequest): Promise<$_model.ModifySecurityIPGroupRelationResponse> {
|
|
7181
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7182
|
+
return await this.modifySecurityIPGroupRelationWithOptions(request, runtime);
|
|
7183
|
+
}
|
|
7184
|
+
|
|
6897
7185
|
/**
|
|
6898
7186
|
* Enables or configures Database Autonomy Service (DAS) Enterprise Edition for a database instance.
|
|
6899
7187
|
*
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateSecurityIPGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 192.168.0.1
|
|
12
|
+
*/
|
|
13
|
+
GIpList?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* test_123
|
|
20
|
+
*/
|
|
21
|
+
globalIgName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* cn-beijing
|
|
28
|
+
*/
|
|
29
|
+
regionName?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
GIpList: 'GIpList',
|
|
33
|
+
globalIgName: 'GlobalIgName',
|
|
34
|
+
regionName: 'RegionName',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
GIpList: 'string',
|
|
41
|
+
globalIgName: 'string',
|
|
42
|
+
regionName: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { CreateSecurityIPGroupResponseBody } from "./CreateSecurityIpgroupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class CreateSecurityIPGroupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: CreateSecurityIPGroupResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: CreateSecurityIPGroupResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateSecurityIPGroupResponseBodyDataGlobalSecurityIPGroup extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 192.168.0.0/24
|
|
9
|
+
*/
|
|
10
|
+
GIpList?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* test
|
|
14
|
+
*/
|
|
15
|
+
globalIgName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* g-2uztsd6yvhmsqyjXXX
|
|
19
|
+
*/
|
|
20
|
+
globalSecurityGroupId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* cn-shenzhen
|
|
24
|
+
*/
|
|
25
|
+
regionId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* ipv4
|
|
29
|
+
*/
|
|
30
|
+
securityIpType?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* mix
|
|
34
|
+
*/
|
|
35
|
+
whitelistNetType?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
GIpList: 'GIpList',
|
|
39
|
+
globalIgName: 'GlobalIgName',
|
|
40
|
+
globalSecurityGroupId: 'GlobalSecurityGroupId',
|
|
41
|
+
regionId: 'RegionId',
|
|
42
|
+
securityIpType: 'SecurityIpType',
|
|
43
|
+
whitelistNetType: 'WhitelistNetType',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
GIpList: 'string',
|
|
50
|
+
globalIgName: 'string',
|
|
51
|
+
globalSecurityGroupId: 'string',
|
|
52
|
+
regionId: 'string',
|
|
53
|
+
securityIpType: 'string',
|
|
54
|
+
whitelistNetType: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export class CreateSecurityIPGroupResponseBodyData extends $dara.Model {
|
|
68
|
+
globalSecurityIPGroup?: CreateSecurityIPGroupResponseBodyDataGlobalSecurityIPGroup[];
|
|
69
|
+
static names(): { [key: string]: string } {
|
|
70
|
+
return {
|
|
71
|
+
globalSecurityIPGroup: 'GlobalSecurityIPGroup',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
static types(): { [key: string]: any } {
|
|
76
|
+
return {
|
|
77
|
+
globalSecurityIPGroup: { 'type': 'array', 'itemType': CreateSecurityIPGroupResponseBodyDataGlobalSecurityIPGroup },
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
validate() {
|
|
82
|
+
if(Array.isArray(this.globalSecurityIPGroup)) {
|
|
83
|
+
$dara.Model.validateArray(this.globalSecurityIPGroup);
|
|
84
|
+
}
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export class CreateSecurityIPGroupResponseBody extends $dara.Model {
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* 200
|
|
97
|
+
*/
|
|
98
|
+
code?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* ListResult<InstanceSSL>
|
|
102
|
+
*/
|
|
103
|
+
data?: CreateSecurityIPGroupResponseBodyData;
|
|
104
|
+
/**
|
|
105
|
+
* @example
|
|
106
|
+
* Successful
|
|
107
|
+
*/
|
|
108
|
+
message?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* D578DB3C-06BF-54F2-A78F-C6C25Exxxxxx
|
|
112
|
+
*/
|
|
113
|
+
requestId?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* true
|
|
117
|
+
*/
|
|
118
|
+
success?: string;
|
|
119
|
+
static names(): { [key: string]: string } {
|
|
120
|
+
return {
|
|
121
|
+
code: 'Code',
|
|
122
|
+
data: 'Data',
|
|
123
|
+
message: 'Message',
|
|
124
|
+
requestId: 'RequestId',
|
|
125
|
+
success: 'Success',
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
static types(): { [key: string]: any } {
|
|
130
|
+
return {
|
|
131
|
+
code: 'string',
|
|
132
|
+
data: CreateSecurityIPGroupResponseBodyData,
|
|
133
|
+
message: 'string',
|
|
134
|
+
requestId: 'string',
|
|
135
|
+
success: 'string',
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
validate() {
|
|
140
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
141
|
+
(this.data as any).validate();
|
|
142
|
+
}
|
|
143
|
+
super.validate();
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
constructor(map?: { [key: string]: any }) {
|
|
147
|
+
super(map);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteSecurityIPGroupRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* g-rcge12hbfooad3m****
|
|
12
|
+
*/
|
|
13
|
+
globalSecurityGroupId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* cn-shanghai
|
|
20
|
+
*/
|
|
21
|
+
regionName?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
globalSecurityGroupId: 'GlobalSecurityGroupId',
|
|
25
|
+
regionName: 'RegionName',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
globalSecurityGroupId: 'string',
|
|
32
|
+
regionName: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteSecurityIPGroupResponseBody } from "./DeleteSecurityIpgroupResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteSecurityIPGroupResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteSecurityIPGroupResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteSecurityIPGroupResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|