@alicloud/cloudapi20160714 3.5.0 → 3.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 +726 -592
- package/dist/client.js +252 -4
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +903 -592
package/dist/client.js
CHANGED
|
@@ -10009,6 +10009,118 @@ class ModifyDatasetItemResponse extends $tea.Model {
|
|
|
10009
10009
|
}
|
|
10010
10010
|
}
|
|
10011
10011
|
exports.ModifyDatasetItemResponse = ModifyDatasetItemResponse;
|
|
10012
|
+
class ModifyInstanceAttributeRequest extends $tea.Model {
|
|
10013
|
+
constructor(map) {
|
|
10014
|
+
super(map);
|
|
10015
|
+
}
|
|
10016
|
+
static names() {
|
|
10017
|
+
return {
|
|
10018
|
+
deleteVpcIpBlock: 'DeleteVpcIpBlock',
|
|
10019
|
+
egressIpv6Enable: 'EgressIpv6Enable',
|
|
10020
|
+
httpsPolicy: 'HttpsPolicy',
|
|
10021
|
+
IPV6Enabled: 'IPV6Enabled',
|
|
10022
|
+
instanceId: 'InstanceId',
|
|
10023
|
+
instanceName: 'InstanceName',
|
|
10024
|
+
intranetSegments: 'IntranetSegments',
|
|
10025
|
+
maintainEndTime: 'MaintainEndTime',
|
|
10026
|
+
maintainStartTime: 'MaintainStartTime',
|
|
10027
|
+
toConnectVpcIpBlock: 'ToConnectVpcIpBlock',
|
|
10028
|
+
token: 'Token',
|
|
10029
|
+
vpcSlbIntranetEnable: 'VpcSlbIntranetEnable',
|
|
10030
|
+
};
|
|
10031
|
+
}
|
|
10032
|
+
static types() {
|
|
10033
|
+
return {
|
|
10034
|
+
deleteVpcIpBlock: 'string',
|
|
10035
|
+
egressIpv6Enable: 'string',
|
|
10036
|
+
httpsPolicy: 'string',
|
|
10037
|
+
IPV6Enabled: 'string',
|
|
10038
|
+
instanceId: 'string',
|
|
10039
|
+
instanceName: 'string',
|
|
10040
|
+
intranetSegments: 'string',
|
|
10041
|
+
maintainEndTime: 'string',
|
|
10042
|
+
maintainStartTime: 'string',
|
|
10043
|
+
toConnectVpcIpBlock: ModifyInstanceAttributeRequestToConnectVpcIpBlock,
|
|
10044
|
+
token: 'string',
|
|
10045
|
+
vpcSlbIntranetEnable: 'string',
|
|
10046
|
+
};
|
|
10047
|
+
}
|
|
10048
|
+
}
|
|
10049
|
+
exports.ModifyInstanceAttributeRequest = ModifyInstanceAttributeRequest;
|
|
10050
|
+
class ModifyInstanceAttributeShrinkRequest extends $tea.Model {
|
|
10051
|
+
constructor(map) {
|
|
10052
|
+
super(map);
|
|
10053
|
+
}
|
|
10054
|
+
static names() {
|
|
10055
|
+
return {
|
|
10056
|
+
deleteVpcIpBlock: 'DeleteVpcIpBlock',
|
|
10057
|
+
egressIpv6Enable: 'EgressIpv6Enable',
|
|
10058
|
+
httpsPolicy: 'HttpsPolicy',
|
|
10059
|
+
IPV6Enabled: 'IPV6Enabled',
|
|
10060
|
+
instanceId: 'InstanceId',
|
|
10061
|
+
instanceName: 'InstanceName',
|
|
10062
|
+
intranetSegments: 'IntranetSegments',
|
|
10063
|
+
maintainEndTime: 'MaintainEndTime',
|
|
10064
|
+
maintainStartTime: 'MaintainStartTime',
|
|
10065
|
+
toConnectVpcIpBlockShrink: 'ToConnectVpcIpBlock',
|
|
10066
|
+
token: 'Token',
|
|
10067
|
+
vpcSlbIntranetEnable: 'VpcSlbIntranetEnable',
|
|
10068
|
+
};
|
|
10069
|
+
}
|
|
10070
|
+
static types() {
|
|
10071
|
+
return {
|
|
10072
|
+
deleteVpcIpBlock: 'string',
|
|
10073
|
+
egressIpv6Enable: 'string',
|
|
10074
|
+
httpsPolicy: 'string',
|
|
10075
|
+
IPV6Enabled: 'string',
|
|
10076
|
+
instanceId: 'string',
|
|
10077
|
+
instanceName: 'string',
|
|
10078
|
+
intranetSegments: 'string',
|
|
10079
|
+
maintainEndTime: 'string',
|
|
10080
|
+
maintainStartTime: 'string',
|
|
10081
|
+
toConnectVpcIpBlockShrink: 'string',
|
|
10082
|
+
token: 'string',
|
|
10083
|
+
vpcSlbIntranetEnable: 'string',
|
|
10084
|
+
};
|
|
10085
|
+
}
|
|
10086
|
+
}
|
|
10087
|
+
exports.ModifyInstanceAttributeShrinkRequest = ModifyInstanceAttributeShrinkRequest;
|
|
10088
|
+
class ModifyInstanceAttributeResponseBody extends $tea.Model {
|
|
10089
|
+
constructor(map) {
|
|
10090
|
+
super(map);
|
|
10091
|
+
}
|
|
10092
|
+
static names() {
|
|
10093
|
+
return {
|
|
10094
|
+
requestId: 'RequestId',
|
|
10095
|
+
};
|
|
10096
|
+
}
|
|
10097
|
+
static types() {
|
|
10098
|
+
return {
|
|
10099
|
+
requestId: 'string',
|
|
10100
|
+
};
|
|
10101
|
+
}
|
|
10102
|
+
}
|
|
10103
|
+
exports.ModifyInstanceAttributeResponseBody = ModifyInstanceAttributeResponseBody;
|
|
10104
|
+
class ModifyInstanceAttributeResponse extends $tea.Model {
|
|
10105
|
+
constructor(map) {
|
|
10106
|
+
super(map);
|
|
10107
|
+
}
|
|
10108
|
+
static names() {
|
|
10109
|
+
return {
|
|
10110
|
+
headers: 'headers',
|
|
10111
|
+
statusCode: 'statusCode',
|
|
10112
|
+
body: 'body',
|
|
10113
|
+
};
|
|
10114
|
+
}
|
|
10115
|
+
static types() {
|
|
10116
|
+
return {
|
|
10117
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10118
|
+
statusCode: 'number',
|
|
10119
|
+
body: ModifyInstanceAttributeResponseBody,
|
|
10120
|
+
};
|
|
10121
|
+
}
|
|
10122
|
+
}
|
|
10123
|
+
exports.ModifyInstanceAttributeResponse = ModifyInstanceAttributeResponse;
|
|
10012
10124
|
class ModifyInstanceSpecRequest extends $tea.Model {
|
|
10013
10125
|
constructor(map) {
|
|
10014
10126
|
super(map);
|
|
@@ -15951,6 +16063,26 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscov
|
|
|
15951
16063
|
}
|
|
15952
16064
|
}
|
|
15953
16065
|
exports.DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig = DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig;
|
|
16066
|
+
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigZookeeperConfig extends $tea.Model {
|
|
16067
|
+
constructor(map) {
|
|
16068
|
+
super(map);
|
|
16069
|
+
}
|
|
16070
|
+
static names() {
|
|
16071
|
+
return {
|
|
16072
|
+
connectString: 'ConnectString',
|
|
16073
|
+
namespace: 'Namespace',
|
|
16074
|
+
serviceName: 'ServiceName',
|
|
16075
|
+
};
|
|
16076
|
+
}
|
|
16077
|
+
static types() {
|
|
16078
|
+
return {
|
|
16079
|
+
connectString: 'string',
|
|
16080
|
+
namespace: 'string',
|
|
16081
|
+
serviceName: 'string',
|
|
16082
|
+
};
|
|
16083
|
+
}
|
|
16084
|
+
}
|
|
16085
|
+
exports.DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigZookeeperConfig = DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigZookeeperConfig;
|
|
15954
16086
|
class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig extends $tea.Model {
|
|
15955
16087
|
constructor(map) {
|
|
15956
16088
|
super(map);
|
|
@@ -15959,12 +16091,14 @@ class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscov
|
|
|
15959
16091
|
return {
|
|
15960
16092
|
nacosConfig: 'NacosConfig',
|
|
15961
16093
|
rcType: 'RcType',
|
|
16094
|
+
zookeeperConfig: 'ZookeeperConfig',
|
|
15962
16095
|
};
|
|
15963
16096
|
}
|
|
15964
16097
|
static types() {
|
|
15965
16098
|
return {
|
|
15966
16099
|
nacosConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig,
|
|
15967
16100
|
rcType: 'string',
|
|
16101
|
+
zookeeperConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigZookeeperConfig,
|
|
15968
16102
|
};
|
|
15969
16103
|
}
|
|
15970
16104
|
}
|
|
@@ -19593,6 +19727,28 @@ class ModifyAppRequestTag extends $tea.Model {
|
|
|
19593
19727
|
}
|
|
19594
19728
|
}
|
|
19595
19729
|
exports.ModifyAppRequestTag = ModifyAppRequestTag;
|
|
19730
|
+
class ModifyInstanceAttributeRequestToConnectVpcIpBlock extends $tea.Model {
|
|
19731
|
+
constructor(map) {
|
|
19732
|
+
super(map);
|
|
19733
|
+
}
|
|
19734
|
+
static names() {
|
|
19735
|
+
return {
|
|
19736
|
+
cidrBlock: 'CidrBlock',
|
|
19737
|
+
customized: 'Customized',
|
|
19738
|
+
vswitchId: 'VswitchId',
|
|
19739
|
+
zoneId: 'ZoneId',
|
|
19740
|
+
};
|
|
19741
|
+
}
|
|
19742
|
+
static types() {
|
|
19743
|
+
return {
|
|
19744
|
+
cidrBlock: 'string',
|
|
19745
|
+
customized: 'boolean',
|
|
19746
|
+
vswitchId: 'string',
|
|
19747
|
+
zoneId: 'string',
|
|
19748
|
+
};
|
|
19749
|
+
}
|
|
19750
|
+
}
|
|
19751
|
+
exports.ModifyInstanceAttributeRequestToConnectVpcIpBlock = ModifyInstanceAttributeRequestToConnectVpcIpBlock;
|
|
19596
19752
|
class ModifyPluginRequestTag extends $tea.Model {
|
|
19597
19753
|
constructor(map) {
|
|
19598
19754
|
super(map);
|
|
@@ -23442,6 +23598,13 @@ class Client extends openapi_client_1.default {
|
|
|
23442
23598
|
let runtime = new $Util.RuntimeOptions({});
|
|
23443
23599
|
return await this.describeAppAttributesWithOptions(request, runtime);
|
|
23444
23600
|
}
|
|
23601
|
+
/**
|
|
23602
|
+
* * This operation is intended for API callers.
|
|
23603
|
+
*
|
|
23604
|
+
* @param request DescribeAppSecurityRequest
|
|
23605
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
23606
|
+
* @return DescribeAppSecurityResponse
|
|
23607
|
+
*/
|
|
23445
23608
|
async describeAppSecurityWithOptions(request, runtime) {
|
|
23446
23609
|
tea_util_1.default.validateModel(request);
|
|
23447
23610
|
let query = {};
|
|
@@ -23470,6 +23633,12 @@ class Client extends openapi_client_1.default {
|
|
|
23470
23633
|
});
|
|
23471
23634
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeAppSecurityResponse({}));
|
|
23472
23635
|
}
|
|
23636
|
+
/**
|
|
23637
|
+
* * This operation is intended for API callers.
|
|
23638
|
+
*
|
|
23639
|
+
* @param request DescribeAppSecurityRequest
|
|
23640
|
+
* @return DescribeAppSecurityResponse
|
|
23641
|
+
*/
|
|
23473
23642
|
async describeAppSecurity(request) {
|
|
23474
23643
|
let runtime = new $Util.RuntimeOptions({});
|
|
23475
23644
|
return await this.describeAppSecurityWithOptions(request, runtime);
|
|
@@ -24679,9 +24848,9 @@ class Client extends openapi_client_1.default {
|
|
|
24679
24848
|
}
|
|
24680
24849
|
/**
|
|
24681
24850
|
* * This operation is intended for API providers.
|
|
24682
|
-
* * This operation is used to query the ACLs in a
|
|
24851
|
+
* * This operation is used to query the ACLs in a region. Region is a system parameter.
|
|
24683
24852
|
* * You can filter the query results by ACL ID, name, or type.
|
|
24684
|
-
* * This operation cannot be used to query specific policies. If you want to query specific policies,
|
|
24853
|
+
* * This operation cannot be used to query specific policies. If you want to query specific policies, call the [DescribeIpControlPolicyItems](~~DescribeIpControlPolicyItems~~) operation.
|
|
24685
24854
|
*
|
|
24686
24855
|
* @param request DescribeIpControlsRequest
|
|
24687
24856
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -24726,9 +24895,9 @@ class Client extends openapi_client_1.default {
|
|
|
24726
24895
|
}
|
|
24727
24896
|
/**
|
|
24728
24897
|
* * This operation is intended for API providers.
|
|
24729
|
-
* * This operation is used to query the ACLs in a
|
|
24898
|
+
* * This operation is used to query the ACLs in a region. Region is a system parameter.
|
|
24730
24899
|
* * You can filter the query results by ACL ID, name, or type.
|
|
24731
|
-
* * This operation cannot be used to query specific policies. If you want to query specific policies,
|
|
24900
|
+
* * This operation cannot be used to query specific policies. If you want to query specific policies, call the [DescribeIpControlPolicyItems](~~DescribeIpControlPolicyItems~~) operation.
|
|
24732
24901
|
*
|
|
24733
24902
|
* @param request DescribeIpControlsRequest
|
|
24734
24903
|
* @return DescribeIpControlsResponse
|
|
@@ -26693,6 +26862,70 @@ class Client extends openapi_client_1.default {
|
|
|
26693
26862
|
let runtime = new $Util.RuntimeOptions({});
|
|
26694
26863
|
return await this.modifyDatasetItemWithOptions(request, runtime);
|
|
26695
26864
|
}
|
|
26865
|
+
async modifyInstanceAttributeWithOptions(tmpReq, runtime) {
|
|
26866
|
+
tea_util_1.default.validateModel(tmpReq);
|
|
26867
|
+
let request = new ModifyInstanceAttributeShrinkRequest({});
|
|
26868
|
+
openapi_util_1.default.convert(tmpReq, request);
|
|
26869
|
+
if (!tea_util_1.default.isUnset(tmpReq.toConnectVpcIpBlock)) {
|
|
26870
|
+
request.toConnectVpcIpBlockShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.toConnectVpcIpBlock, "ToConnectVpcIpBlock", "json");
|
|
26871
|
+
}
|
|
26872
|
+
let query = {};
|
|
26873
|
+
if (!tea_util_1.default.isUnset(request.deleteVpcIpBlock)) {
|
|
26874
|
+
query["DeleteVpcIpBlock"] = request.deleteVpcIpBlock;
|
|
26875
|
+
}
|
|
26876
|
+
if (!tea_util_1.default.isUnset(request.egressIpv6Enable)) {
|
|
26877
|
+
query["EgressIpv6Enable"] = request.egressIpv6Enable;
|
|
26878
|
+
}
|
|
26879
|
+
if (!tea_util_1.default.isUnset(request.httpsPolicy)) {
|
|
26880
|
+
query["HttpsPolicy"] = request.httpsPolicy;
|
|
26881
|
+
}
|
|
26882
|
+
if (!tea_util_1.default.isUnset(request.IPV6Enabled)) {
|
|
26883
|
+
query["IPV6Enabled"] = request.IPV6Enabled;
|
|
26884
|
+
}
|
|
26885
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
26886
|
+
query["InstanceId"] = request.instanceId;
|
|
26887
|
+
}
|
|
26888
|
+
if (!tea_util_1.default.isUnset(request.instanceName)) {
|
|
26889
|
+
query["InstanceName"] = request.instanceName;
|
|
26890
|
+
}
|
|
26891
|
+
if (!tea_util_1.default.isUnset(request.intranetSegments)) {
|
|
26892
|
+
query["IntranetSegments"] = request.intranetSegments;
|
|
26893
|
+
}
|
|
26894
|
+
if (!tea_util_1.default.isUnset(request.maintainEndTime)) {
|
|
26895
|
+
query["MaintainEndTime"] = request.maintainEndTime;
|
|
26896
|
+
}
|
|
26897
|
+
if (!tea_util_1.default.isUnset(request.maintainStartTime)) {
|
|
26898
|
+
query["MaintainStartTime"] = request.maintainStartTime;
|
|
26899
|
+
}
|
|
26900
|
+
if (!tea_util_1.default.isUnset(request.toConnectVpcIpBlockShrink)) {
|
|
26901
|
+
query["ToConnectVpcIpBlock"] = request.toConnectVpcIpBlockShrink;
|
|
26902
|
+
}
|
|
26903
|
+
if (!tea_util_1.default.isUnset(request.token)) {
|
|
26904
|
+
query["Token"] = request.token;
|
|
26905
|
+
}
|
|
26906
|
+
if (!tea_util_1.default.isUnset(request.vpcSlbIntranetEnable)) {
|
|
26907
|
+
query["VpcSlbIntranetEnable"] = request.vpcSlbIntranetEnable;
|
|
26908
|
+
}
|
|
26909
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
26910
|
+
query: openapi_util_1.default.query(query),
|
|
26911
|
+
});
|
|
26912
|
+
let params = new $OpenApi.Params({
|
|
26913
|
+
action: "ModifyInstanceAttribute",
|
|
26914
|
+
version: "2016-07-14",
|
|
26915
|
+
protocol: "HTTPS",
|
|
26916
|
+
pathname: "/",
|
|
26917
|
+
method: "POST",
|
|
26918
|
+
authType: "AK",
|
|
26919
|
+
style: "RPC",
|
|
26920
|
+
reqBodyType: "formData",
|
|
26921
|
+
bodyType: "json",
|
|
26922
|
+
});
|
|
26923
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ModifyInstanceAttributeResponse({}));
|
|
26924
|
+
}
|
|
26925
|
+
async modifyInstanceAttribute(request) {
|
|
26926
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
26927
|
+
return await this.modifyInstanceAttributeWithOptions(request, runtime);
|
|
26928
|
+
}
|
|
26696
26929
|
async modifyInstanceSpecWithOptions(request, runtime) {
|
|
26697
26930
|
tea_util_1.default.validateModel(request);
|
|
26698
26931
|
let query = {};
|
|
@@ -28494,6 +28727,14 @@ class Client extends openapi_client_1.default {
|
|
|
28494
28727
|
let runtime = new $Util.RuntimeOptions({});
|
|
28495
28728
|
return await this.setTrafficControlApisWithOptions(request, runtime);
|
|
28496
28729
|
}
|
|
28730
|
+
/**
|
|
28731
|
+
* * This operation is intended for API providers.
|
|
28732
|
+
* * This operation is used to authorize API Gateway to access your VPC instance.
|
|
28733
|
+
*
|
|
28734
|
+
* @param request SetVpcAccessRequest
|
|
28735
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
28736
|
+
* @return SetVpcAccessResponse
|
|
28737
|
+
*/
|
|
28497
28738
|
async setVpcAccessWithOptions(request, runtime) {
|
|
28498
28739
|
tea_util_1.default.validateModel(request);
|
|
28499
28740
|
let query = {};
|
|
@@ -28537,6 +28778,13 @@ class Client extends openapi_client_1.default {
|
|
|
28537
28778
|
});
|
|
28538
28779
|
return $tea.cast(await this.callApi(params, req, runtime), new SetVpcAccessResponse({}));
|
|
28539
28780
|
}
|
|
28781
|
+
/**
|
|
28782
|
+
* * This operation is intended for API providers.
|
|
28783
|
+
* * This operation is used to authorize API Gateway to access your VPC instance.
|
|
28784
|
+
*
|
|
28785
|
+
* @param request SetVpcAccessRequest
|
|
28786
|
+
* @return SetVpcAccessResponse
|
|
28787
|
+
*/
|
|
28540
28788
|
async setVpcAccess(request) {
|
|
28541
28789
|
let runtime = new $Util.RuntimeOptions({});
|
|
28542
28790
|
return await this.setVpcAccessWithOptions(request, runtime);
|