@alicloud/cloudapi20160714 2.2.18 → 2.2.20
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 +88 -0
- package/dist/client.js +157 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +200 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -4153,6 +4153,8 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4153
4153
|
instanceType?: string;
|
|
4154
4154
|
instanceVipList?: string;
|
|
4155
4155
|
ipv6Status?: string;
|
|
4156
|
+
migrationError?: string;
|
|
4157
|
+
migrationStatus?: string;
|
|
4156
4158
|
modifiedTime?: string;
|
|
4157
4159
|
passthroughHeaders?: string;
|
|
4158
4160
|
regionId?: string;
|
|
@@ -4188,6 +4190,8 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4188
4190
|
instanceType: 'InstanceType',
|
|
4189
4191
|
instanceVipList: 'InstanceVipList',
|
|
4190
4192
|
ipv6Status: 'Ipv6Status',
|
|
4193
|
+
migrationError: 'MigrationError',
|
|
4194
|
+
migrationStatus: 'MigrationStatus',
|
|
4191
4195
|
modifiedTime: 'ModifiedTime',
|
|
4192
4196
|
passthroughHeaders: 'PassthroughHeaders',
|
|
4193
4197
|
regionId: 'RegionId',
|
|
@@ -4226,6 +4230,8 @@ export class DescribeApiGroupResponseBody extends $tea.Model {
|
|
|
4226
4230
|
instanceType: 'string',
|
|
4227
4231
|
instanceVipList: 'string',
|
|
4228
4232
|
ipv6Status: 'string',
|
|
4233
|
+
migrationError: 'string',
|
|
4234
|
+
migrationStatus: 'string',
|
|
4229
4235
|
modifiedTime: 'string',
|
|
4230
4236
|
passthroughHeaders: 'string',
|
|
4231
4237
|
regionId: 'string',
|
|
@@ -9587,6 +9593,84 @@ export class DescribeSignaturesByApiResponse extends $tea.Model {
|
|
|
9587
9593
|
}
|
|
9588
9594
|
}
|
|
9589
9595
|
|
|
9596
|
+
export class DescribeSummaryDataRequest extends $tea.Model {
|
|
9597
|
+
securityToken?: string;
|
|
9598
|
+
static names(): { [key: string]: string } {
|
|
9599
|
+
return {
|
|
9600
|
+
securityToken: 'SecurityToken',
|
|
9601
|
+
};
|
|
9602
|
+
}
|
|
9603
|
+
|
|
9604
|
+
static types(): { [key: string]: any } {
|
|
9605
|
+
return {
|
|
9606
|
+
securityToken: 'string',
|
|
9607
|
+
};
|
|
9608
|
+
}
|
|
9609
|
+
|
|
9610
|
+
constructor(map?: { [key: string]: any }) {
|
|
9611
|
+
super(map);
|
|
9612
|
+
}
|
|
9613
|
+
}
|
|
9614
|
+
|
|
9615
|
+
export class DescribeSummaryDataResponseBody extends $tea.Model {
|
|
9616
|
+
expireInstanceNum?: number;
|
|
9617
|
+
region?: string;
|
|
9618
|
+
requestId?: string;
|
|
9619
|
+
usageApiNum?: number;
|
|
9620
|
+
usageGroupNum?: number;
|
|
9621
|
+
usageInstanceNum?: number;
|
|
9622
|
+
static names(): { [key: string]: string } {
|
|
9623
|
+
return {
|
|
9624
|
+
expireInstanceNum: 'ExpireInstanceNum',
|
|
9625
|
+
region: 'Region',
|
|
9626
|
+
requestId: 'RequestId',
|
|
9627
|
+
usageApiNum: 'UsageApiNum',
|
|
9628
|
+
usageGroupNum: 'UsageGroupNum',
|
|
9629
|
+
usageInstanceNum: 'UsageInstanceNum',
|
|
9630
|
+
};
|
|
9631
|
+
}
|
|
9632
|
+
|
|
9633
|
+
static types(): { [key: string]: any } {
|
|
9634
|
+
return {
|
|
9635
|
+
expireInstanceNum: 'number',
|
|
9636
|
+
region: 'string',
|
|
9637
|
+
requestId: 'string',
|
|
9638
|
+
usageApiNum: 'number',
|
|
9639
|
+
usageGroupNum: 'number',
|
|
9640
|
+
usageInstanceNum: 'number',
|
|
9641
|
+
};
|
|
9642
|
+
}
|
|
9643
|
+
|
|
9644
|
+
constructor(map?: { [key: string]: any }) {
|
|
9645
|
+
super(map);
|
|
9646
|
+
}
|
|
9647
|
+
}
|
|
9648
|
+
|
|
9649
|
+
export class DescribeSummaryDataResponse extends $tea.Model {
|
|
9650
|
+
headers: { [key: string]: string };
|
|
9651
|
+
statusCode: number;
|
|
9652
|
+
body: DescribeSummaryDataResponseBody;
|
|
9653
|
+
static names(): { [key: string]: string } {
|
|
9654
|
+
return {
|
|
9655
|
+
headers: 'headers',
|
|
9656
|
+
statusCode: 'statusCode',
|
|
9657
|
+
body: 'body',
|
|
9658
|
+
};
|
|
9659
|
+
}
|
|
9660
|
+
|
|
9661
|
+
static types(): { [key: string]: any } {
|
|
9662
|
+
return {
|
|
9663
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9664
|
+
statusCode: 'number',
|
|
9665
|
+
body: DescribeSummaryDataResponseBody,
|
|
9666
|
+
};
|
|
9667
|
+
}
|
|
9668
|
+
|
|
9669
|
+
constructor(map?: { [key: string]: any }) {
|
|
9670
|
+
super(map);
|
|
9671
|
+
}
|
|
9672
|
+
}
|
|
9673
|
+
|
|
9590
9674
|
export class DescribeSystemParametersRequest extends $tea.Model {
|
|
9591
9675
|
securityToken?: string;
|
|
9592
9676
|
static names(): { [key: string]: string } {
|
|
@@ -11119,6 +11203,7 @@ export class ModifyApiGroupRequest extends $tea.Model {
|
|
|
11119
11203
|
passthroughHeaders?: string;
|
|
11120
11204
|
rpcPattern?: string;
|
|
11121
11205
|
securityToken?: string;
|
|
11206
|
+
supportSSE?: string;
|
|
11122
11207
|
tag?: ModifyApiGroupRequestTag[];
|
|
11123
11208
|
userLogConfig?: string;
|
|
11124
11209
|
static names(): { [key: string]: string } {
|
|
@@ -11134,6 +11219,7 @@ export class ModifyApiGroupRequest extends $tea.Model {
|
|
|
11134
11219
|
passthroughHeaders: 'PassthroughHeaders',
|
|
11135
11220
|
rpcPattern: 'RpcPattern',
|
|
11136
11221
|
securityToken: 'SecurityToken',
|
|
11222
|
+
supportSSE: 'SupportSSE',
|
|
11137
11223
|
tag: 'Tag',
|
|
11138
11224
|
userLogConfig: 'UserLogConfig',
|
|
11139
11225
|
};
|
|
@@ -11152,6 +11238,7 @@ export class ModifyApiGroupRequest extends $tea.Model {
|
|
|
11152
11238
|
passthroughHeaders: 'string',
|
|
11153
11239
|
rpcPattern: 'string',
|
|
11154
11240
|
securityToken: 'string',
|
|
11241
|
+
supportSSE: 'string',
|
|
11155
11242
|
tag: { 'type': 'array', 'itemType': ModifyApiGroupRequestTag },
|
|
11156
11243
|
userLogConfig: 'string',
|
|
11157
11244
|
};
|
|
@@ -18544,6 +18631,74 @@ export class DescribeAuthorizedAppsResponseBodyAuthorizedApps extends $tea.Model
|
|
|
18544
18631
|
}
|
|
18545
18632
|
}
|
|
18546
18633
|
|
|
18634
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig extends $tea.Model {
|
|
18635
|
+
accessKey?: string;
|
|
18636
|
+
authType?: string;
|
|
18637
|
+
clusters?: string;
|
|
18638
|
+
groupName?: string;
|
|
18639
|
+
namespace?: string;
|
|
18640
|
+
password?: string;
|
|
18641
|
+
secretKey?: string;
|
|
18642
|
+
serverAddress?: string;
|
|
18643
|
+
serviceName?: string;
|
|
18644
|
+
userName?: string;
|
|
18645
|
+
static names(): { [key: string]: string } {
|
|
18646
|
+
return {
|
|
18647
|
+
accessKey: 'AccessKey',
|
|
18648
|
+
authType: 'AuthType',
|
|
18649
|
+
clusters: 'Clusters',
|
|
18650
|
+
groupName: 'GroupName',
|
|
18651
|
+
namespace: 'Namespace',
|
|
18652
|
+
password: 'Password',
|
|
18653
|
+
secretKey: 'SecretKey',
|
|
18654
|
+
serverAddress: 'ServerAddress',
|
|
18655
|
+
serviceName: 'ServiceName',
|
|
18656
|
+
userName: 'UserName',
|
|
18657
|
+
};
|
|
18658
|
+
}
|
|
18659
|
+
|
|
18660
|
+
static types(): { [key: string]: any } {
|
|
18661
|
+
return {
|
|
18662
|
+
accessKey: 'string',
|
|
18663
|
+
authType: 'string',
|
|
18664
|
+
clusters: 'string',
|
|
18665
|
+
groupName: 'string',
|
|
18666
|
+
namespace: 'string',
|
|
18667
|
+
password: 'string',
|
|
18668
|
+
secretKey: 'string',
|
|
18669
|
+
serverAddress: 'string',
|
|
18670
|
+
serviceName: 'string',
|
|
18671
|
+
userName: 'string',
|
|
18672
|
+
};
|
|
18673
|
+
}
|
|
18674
|
+
|
|
18675
|
+
constructor(map?: { [key: string]: any }) {
|
|
18676
|
+
super(map);
|
|
18677
|
+
}
|
|
18678
|
+
}
|
|
18679
|
+
|
|
18680
|
+
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig extends $tea.Model {
|
|
18681
|
+
nacosConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig;
|
|
18682
|
+
rcType?: string;
|
|
18683
|
+
static names(): { [key: string]: string } {
|
|
18684
|
+
return {
|
|
18685
|
+
nacosConfig: 'NacosConfig',
|
|
18686
|
+
rcType: 'RcType',
|
|
18687
|
+
};
|
|
18688
|
+
}
|
|
18689
|
+
|
|
18690
|
+
static types(): { [key: string]: any } {
|
|
18691
|
+
return {
|
|
18692
|
+
nacosConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfigNacosConfig,
|
|
18693
|
+
rcType: 'string',
|
|
18694
|
+
};
|
|
18695
|
+
}
|
|
18696
|
+
|
|
18697
|
+
constructor(map?: { [key: string]: any }) {
|
|
18698
|
+
super(map);
|
|
18699
|
+
}
|
|
18700
|
+
}
|
|
18701
|
+
|
|
18547
18702
|
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig extends $tea.Model {
|
|
18548
18703
|
eventBridgeRegionId?: string;
|
|
18549
18704
|
eventBus?: string;
|
|
@@ -18719,6 +18874,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
|
|
|
18719
18874
|
}
|
|
18720
18875
|
|
|
18721
18876
|
export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfig extends $tea.Model {
|
|
18877
|
+
discoveryConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig;
|
|
18722
18878
|
eventBridgeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig;
|
|
18723
18879
|
functionComputeConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig;
|
|
18724
18880
|
httpTargetHostName?: string;
|
|
@@ -18729,6 +18885,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
|
|
|
18729
18885
|
vpcConfig?: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigVpcConfig;
|
|
18730
18886
|
static names(): { [key: string]: string } {
|
|
18731
18887
|
return {
|
|
18888
|
+
discoveryConfig: 'DiscoveryConfig',
|
|
18732
18889
|
eventBridgeConfig: 'EventBridgeConfig',
|
|
18733
18890
|
functionComputeConfig: 'FunctionComputeConfig',
|
|
18734
18891
|
httpTargetHostName: 'HttpTargetHostName',
|
|
@@ -18742,6 +18899,7 @@ export class DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfi
|
|
|
18742
18899
|
|
|
18743
18900
|
static types(): { [key: string]: any } {
|
|
18744
18901
|
return {
|
|
18902
|
+
discoveryConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigDiscoveryConfig,
|
|
18745
18903
|
eventBridgeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigEventBridgeConfig,
|
|
18746
18904
|
functionComputeConfig: DescribeBackendInfoResponseBodyBackendInfoBackendModelsBackendConfigFunctionComputeConfig,
|
|
18747
18905
|
httpTargetHostName: 'string',
|
|
@@ -20481,6 +20639,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20481
20639
|
aclStatus?: string;
|
|
20482
20640
|
aclType?: string;
|
|
20483
20641
|
classicEgressAddress?: string;
|
|
20642
|
+
connectCidrBlocks?: string;
|
|
20484
20643
|
connectVpcId?: string;
|
|
20485
20644
|
createdTime?: string;
|
|
20486
20645
|
dedicatedInstanceType?: string;
|
|
@@ -20502,6 +20661,8 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20502
20661
|
instanceType?: string;
|
|
20503
20662
|
internetEgressAddress?: string;
|
|
20504
20663
|
intranetSegments?: string;
|
|
20664
|
+
maintainEndTime?: string;
|
|
20665
|
+
maintainStartTime?: string;
|
|
20505
20666
|
networkInterfaceAttributes?: DescribeInstancesResponseBodyInstancesInstanceAttributeNetworkInterfaceAttributes;
|
|
20506
20667
|
regionId?: string;
|
|
20507
20668
|
status?: string;
|
|
@@ -20522,6 +20683,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20522
20683
|
aclStatus: 'AclStatus',
|
|
20523
20684
|
aclType: 'AclType',
|
|
20524
20685
|
classicEgressAddress: 'ClassicEgressAddress',
|
|
20686
|
+
connectCidrBlocks: 'ConnectCidrBlocks',
|
|
20525
20687
|
connectVpcId: 'ConnectVpcId',
|
|
20526
20688
|
createdTime: 'CreatedTime',
|
|
20527
20689
|
dedicatedInstanceType: 'DedicatedInstanceType',
|
|
@@ -20543,6 +20705,8 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20543
20705
|
instanceType: 'InstanceType',
|
|
20544
20706
|
internetEgressAddress: 'InternetEgressAddress',
|
|
20545
20707
|
intranetSegments: 'IntranetSegments',
|
|
20708
|
+
maintainEndTime: 'MaintainEndTime',
|
|
20709
|
+
maintainStartTime: 'MaintainStartTime',
|
|
20546
20710
|
networkInterfaceAttributes: 'NetworkInterfaceAttributes',
|
|
20547
20711
|
regionId: 'RegionId',
|
|
20548
20712
|
status: 'Status',
|
|
@@ -20566,6 +20730,7 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20566
20730
|
aclStatus: 'string',
|
|
20567
20731
|
aclType: 'string',
|
|
20568
20732
|
classicEgressAddress: 'string',
|
|
20733
|
+
connectCidrBlocks: 'string',
|
|
20569
20734
|
connectVpcId: 'string',
|
|
20570
20735
|
createdTime: 'string',
|
|
20571
20736
|
dedicatedInstanceType: 'string',
|
|
@@ -20587,6 +20752,8 @@ export class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $te
|
|
|
20587
20752
|
instanceType: 'string',
|
|
20588
20753
|
internetEgressAddress: 'string',
|
|
20589
20754
|
intranetSegments: 'string',
|
|
20755
|
+
maintainEndTime: 'string',
|
|
20756
|
+
maintainStartTime: 'string',
|
|
20590
20757
|
networkInterfaceAttributes: DescribeInstancesResponseBodyInstancesInstanceAttributeNetworkInterfaceAttributes,
|
|
20591
20758
|
regionId: 'string',
|
|
20592
20759
|
status: 'string',
|
|
@@ -28419,6 +28586,35 @@ export default class Client extends OpenApi {
|
|
|
28419
28586
|
return await this.describeSignaturesByApiWithOptions(request, runtime);
|
|
28420
28587
|
}
|
|
28421
28588
|
|
|
28589
|
+
async describeSummaryDataWithOptions(request: DescribeSummaryDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSummaryDataResponse> {
|
|
28590
|
+
Util.validateModel(request);
|
|
28591
|
+
let query = { };
|
|
28592
|
+
if (!Util.isUnset(request.securityToken)) {
|
|
28593
|
+
query["SecurityToken"] = request.securityToken;
|
|
28594
|
+
}
|
|
28595
|
+
|
|
28596
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
28597
|
+
query: OpenApiUtil.query(query),
|
|
28598
|
+
});
|
|
28599
|
+
let params = new $OpenApi.Params({
|
|
28600
|
+
action: "DescribeSummaryData",
|
|
28601
|
+
version: "2016-07-14",
|
|
28602
|
+
protocol: "HTTPS",
|
|
28603
|
+
pathname: "/",
|
|
28604
|
+
method: "POST",
|
|
28605
|
+
authType: "AK",
|
|
28606
|
+
style: "RPC",
|
|
28607
|
+
reqBodyType: "formData",
|
|
28608
|
+
bodyType: "json",
|
|
28609
|
+
});
|
|
28610
|
+
return $tea.cast<DescribeSummaryDataResponse>(await this.callApi(params, req, runtime), new DescribeSummaryDataResponse({}));
|
|
28611
|
+
}
|
|
28612
|
+
|
|
28613
|
+
async describeSummaryData(request: DescribeSummaryDataRequest): Promise<DescribeSummaryDataResponse> {
|
|
28614
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
28615
|
+
return await this.describeSummaryDataWithOptions(request, runtime);
|
|
28616
|
+
}
|
|
28617
|
+
|
|
28422
28618
|
/**
|
|
28423
28619
|
* The returned information about system parameters. It is an array that consists of SystemParam data.
|
|
28424
28620
|
*
|
|
@@ -29477,6 +29673,10 @@ export default class Client extends OpenApi {
|
|
|
29477
29673
|
query["SecurityToken"] = request.securityToken;
|
|
29478
29674
|
}
|
|
29479
29675
|
|
|
29676
|
+
if (!Util.isUnset(request.supportSSE)) {
|
|
29677
|
+
query["SupportSSE"] = request.supportSSE;
|
|
29678
|
+
}
|
|
29679
|
+
|
|
29480
29680
|
if (!Util.isUnset(request.tag)) {
|
|
29481
29681
|
query["Tag"] = request.tag;
|
|
29482
29682
|
}
|