@alicloud/cloudapi20160714 2.1.6 → 2.1.7
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 +182 -0
- package/dist/client.js +333 -0
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +421 -0
package/dist/client.d.ts
CHANGED
|
@@ -2644,6 +2644,7 @@ export declare class DescribeApisByAppRequest extends $tea.Model {
|
|
|
2644
2644
|
apiName?: string;
|
|
2645
2645
|
apiUid?: string;
|
|
2646
2646
|
appId?: number;
|
|
2647
|
+
description?: string;
|
|
2647
2648
|
method?: string;
|
|
2648
2649
|
pageNumber?: number;
|
|
2649
2650
|
pageSize?: number;
|
|
@@ -3532,6 +3533,54 @@ export declare class DescribeHistoryApisResponse extends $tea.Model {
|
|
|
3532
3533
|
[key: string]: any;
|
|
3533
3534
|
});
|
|
3534
3535
|
}
|
|
3536
|
+
export declare class DescribeInstancesRequest extends $tea.Model {
|
|
3537
|
+
enableTagAuthorization?: boolean;
|
|
3538
|
+
instanceId?: string;
|
|
3539
|
+
language?: string;
|
|
3540
|
+
securityToken?: string;
|
|
3541
|
+
tag?: DescribeInstancesRequestTag[];
|
|
3542
|
+
static names(): {
|
|
3543
|
+
[key: string]: string;
|
|
3544
|
+
};
|
|
3545
|
+
static types(): {
|
|
3546
|
+
[key: string]: any;
|
|
3547
|
+
};
|
|
3548
|
+
constructor(map?: {
|
|
3549
|
+
[key: string]: any;
|
|
3550
|
+
});
|
|
3551
|
+
}
|
|
3552
|
+
export declare class DescribeInstancesResponseBody extends $tea.Model {
|
|
3553
|
+
instances?: DescribeInstancesResponseBodyInstances;
|
|
3554
|
+
pageNumber?: number;
|
|
3555
|
+
pageSize?: number;
|
|
3556
|
+
requestId?: string;
|
|
3557
|
+
totalCount?: number;
|
|
3558
|
+
static names(): {
|
|
3559
|
+
[key: string]: string;
|
|
3560
|
+
};
|
|
3561
|
+
static types(): {
|
|
3562
|
+
[key: string]: any;
|
|
3563
|
+
};
|
|
3564
|
+
constructor(map?: {
|
|
3565
|
+
[key: string]: any;
|
|
3566
|
+
});
|
|
3567
|
+
}
|
|
3568
|
+
export declare class DescribeInstancesResponse extends $tea.Model {
|
|
3569
|
+
headers: {
|
|
3570
|
+
[key: string]: string;
|
|
3571
|
+
};
|
|
3572
|
+
statusCode: number;
|
|
3573
|
+
body: DescribeInstancesResponseBody;
|
|
3574
|
+
static names(): {
|
|
3575
|
+
[key: string]: string;
|
|
3576
|
+
};
|
|
3577
|
+
static types(): {
|
|
3578
|
+
[key: string]: any;
|
|
3579
|
+
};
|
|
3580
|
+
constructor(map?: {
|
|
3581
|
+
[key: string]: any;
|
|
3582
|
+
});
|
|
3583
|
+
}
|
|
3535
3584
|
export declare class DescribeIpControlPolicyItemsRequest extends $tea.Model {
|
|
3536
3585
|
ipControlId?: string;
|
|
3537
3586
|
pageNumber?: number;
|
|
@@ -6043,6 +6092,49 @@ export declare class SdkGenerateByAppResponse extends $tea.Model {
|
|
|
6043
6092
|
[key: string]: any;
|
|
6044
6093
|
});
|
|
6045
6094
|
}
|
|
6095
|
+
export declare class SdkGenerateByAppForRegionRequest extends $tea.Model {
|
|
6096
|
+
appId?: number;
|
|
6097
|
+
language?: string;
|
|
6098
|
+
securityToken?: string;
|
|
6099
|
+
static names(): {
|
|
6100
|
+
[key: string]: string;
|
|
6101
|
+
};
|
|
6102
|
+
static types(): {
|
|
6103
|
+
[key: string]: any;
|
|
6104
|
+
};
|
|
6105
|
+
constructor(map?: {
|
|
6106
|
+
[key: string]: any;
|
|
6107
|
+
});
|
|
6108
|
+
}
|
|
6109
|
+
export declare class SdkGenerateByAppForRegionResponseBody extends $tea.Model {
|
|
6110
|
+
downloadLink?: string;
|
|
6111
|
+
requestId?: string;
|
|
6112
|
+
static names(): {
|
|
6113
|
+
[key: string]: string;
|
|
6114
|
+
};
|
|
6115
|
+
static types(): {
|
|
6116
|
+
[key: string]: any;
|
|
6117
|
+
};
|
|
6118
|
+
constructor(map?: {
|
|
6119
|
+
[key: string]: any;
|
|
6120
|
+
});
|
|
6121
|
+
}
|
|
6122
|
+
export declare class SdkGenerateByAppForRegionResponse extends $tea.Model {
|
|
6123
|
+
headers: {
|
|
6124
|
+
[key: string]: string;
|
|
6125
|
+
};
|
|
6126
|
+
statusCode: number;
|
|
6127
|
+
body: SdkGenerateByAppForRegionResponseBody;
|
|
6128
|
+
static names(): {
|
|
6129
|
+
[key: string]: string;
|
|
6130
|
+
};
|
|
6131
|
+
static types(): {
|
|
6132
|
+
[key: string]: any;
|
|
6133
|
+
};
|
|
6134
|
+
constructor(map?: {
|
|
6135
|
+
[key: string]: any;
|
|
6136
|
+
});
|
|
6137
|
+
}
|
|
6046
6138
|
export declare class SdkGenerateByGroupRequest extends $tea.Model {
|
|
6047
6139
|
groupId?: string;
|
|
6048
6140
|
language?: string;
|
|
@@ -9135,6 +9227,92 @@ export declare class DescribeHistoryApisResponseBodyApiHisItems extends $tea.Mod
|
|
|
9135
9227
|
[key: string]: any;
|
|
9136
9228
|
});
|
|
9137
9229
|
}
|
|
9230
|
+
export declare class DescribeInstancesRequestTag extends $tea.Model {
|
|
9231
|
+
key?: string;
|
|
9232
|
+
value?: string;
|
|
9233
|
+
static names(): {
|
|
9234
|
+
[key: string]: string;
|
|
9235
|
+
};
|
|
9236
|
+
static types(): {
|
|
9237
|
+
[key: string]: any;
|
|
9238
|
+
};
|
|
9239
|
+
constructor(map?: {
|
|
9240
|
+
[key: string]: any;
|
|
9241
|
+
});
|
|
9242
|
+
}
|
|
9243
|
+
export declare class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute extends $tea.Model {
|
|
9244
|
+
localName?: string;
|
|
9245
|
+
value?: string;
|
|
9246
|
+
static names(): {
|
|
9247
|
+
[key: string]: string;
|
|
9248
|
+
};
|
|
9249
|
+
static types(): {
|
|
9250
|
+
[key: string]: any;
|
|
9251
|
+
};
|
|
9252
|
+
constructor(map?: {
|
|
9253
|
+
[key: string]: any;
|
|
9254
|
+
});
|
|
9255
|
+
}
|
|
9256
|
+
export declare class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes extends $tea.Model {
|
|
9257
|
+
specAttribute?: DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute[];
|
|
9258
|
+
static names(): {
|
|
9259
|
+
[key: string]: string;
|
|
9260
|
+
};
|
|
9261
|
+
static types(): {
|
|
9262
|
+
[key: string]: any;
|
|
9263
|
+
};
|
|
9264
|
+
constructor(map?: {
|
|
9265
|
+
[key: string]: any;
|
|
9266
|
+
});
|
|
9267
|
+
}
|
|
9268
|
+
export declare class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $tea.Model {
|
|
9269
|
+
classicEgressAddress?: string;
|
|
9270
|
+
createdTime?: string;
|
|
9271
|
+
egressIpv6Enable?: boolean;
|
|
9272
|
+
expiredTime?: string;
|
|
9273
|
+
httpsPolicies?: string;
|
|
9274
|
+
instanceChargeType?: string;
|
|
9275
|
+
instanceId?: string;
|
|
9276
|
+
instanceName?: string;
|
|
9277
|
+
instanceRpsLimit?: number;
|
|
9278
|
+
instanceSpec?: string;
|
|
9279
|
+
instanceSpecAttributes?: DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes;
|
|
9280
|
+
instanceType?: string;
|
|
9281
|
+
internetEgressAddress?: string;
|
|
9282
|
+
regionId?: string;
|
|
9283
|
+
status?: string;
|
|
9284
|
+
supportIpv6?: boolean;
|
|
9285
|
+
userVpcId?: string;
|
|
9286
|
+
userVswitchId?: string;
|
|
9287
|
+
vipTypeList?: string;
|
|
9288
|
+
vpcEgressAddress?: string;
|
|
9289
|
+
vpcIntranetEnable?: boolean;
|
|
9290
|
+
vpcOwnerId?: number;
|
|
9291
|
+
vpcSlbIntranetEnable?: boolean;
|
|
9292
|
+
zoneId?: string;
|
|
9293
|
+
zoneLocalName?: string;
|
|
9294
|
+
static names(): {
|
|
9295
|
+
[key: string]: string;
|
|
9296
|
+
};
|
|
9297
|
+
static types(): {
|
|
9298
|
+
[key: string]: any;
|
|
9299
|
+
};
|
|
9300
|
+
constructor(map?: {
|
|
9301
|
+
[key: string]: any;
|
|
9302
|
+
});
|
|
9303
|
+
}
|
|
9304
|
+
export declare class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
9305
|
+
instanceAttribute?: DescribeInstancesResponseBodyInstancesInstanceAttribute[];
|
|
9306
|
+
static names(): {
|
|
9307
|
+
[key: string]: string;
|
|
9308
|
+
};
|
|
9309
|
+
static types(): {
|
|
9310
|
+
[key: string]: any;
|
|
9311
|
+
};
|
|
9312
|
+
constructor(map?: {
|
|
9313
|
+
[key: string]: any;
|
|
9314
|
+
});
|
|
9315
|
+
}
|
|
9138
9316
|
export declare class DescribeIpControlPolicyItemsResponseBodyIpControlPolicyItemsIpControlPolicyItem extends $tea.Model {
|
|
9139
9317
|
appId?: string;
|
|
9140
9318
|
cidrIp?: string;
|
|
@@ -10321,6 +10499,8 @@ export default class Client extends OpenApi {
|
|
|
10321
10499
|
describeDomain(request: DescribeDomainRequest): Promise<DescribeDomainResponse>;
|
|
10322
10500
|
describeHistoryApisWithOptions(request: DescribeHistoryApisRequest, runtime: $Util.RuntimeOptions): Promise<DescribeHistoryApisResponse>;
|
|
10323
10501
|
describeHistoryApis(request: DescribeHistoryApisRequest): Promise<DescribeHistoryApisResponse>;
|
|
10502
|
+
describeInstancesWithOptions(request: DescribeInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInstancesResponse>;
|
|
10503
|
+
describeInstances(request: DescribeInstancesRequest): Promise<DescribeInstancesResponse>;
|
|
10324
10504
|
describeIpControlPolicyItemsWithOptions(request: DescribeIpControlPolicyItemsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlPolicyItemsResponse>;
|
|
10325
10505
|
describeIpControlPolicyItems(request: DescribeIpControlPolicyItemsRequest): Promise<DescribeIpControlPolicyItemsResponse>;
|
|
10326
10506
|
describeIpControlsWithOptions(request: DescribeIpControlsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeIpControlsResponse>;
|
|
@@ -10429,6 +10609,8 @@ export default class Client extends OpenApi {
|
|
|
10429
10609
|
resetAppSecret(request: ResetAppSecretRequest): Promise<ResetAppSecretResponse>;
|
|
10430
10610
|
sdkGenerateByAppWithOptions(request: SdkGenerateByAppRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByAppResponse>;
|
|
10431
10611
|
sdkGenerateByApp(request: SdkGenerateByAppRequest): Promise<SdkGenerateByAppResponse>;
|
|
10612
|
+
sdkGenerateByAppForRegionWithOptions(request: SdkGenerateByAppForRegionRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByAppForRegionResponse>;
|
|
10613
|
+
sdkGenerateByAppForRegion(request: SdkGenerateByAppForRegionRequest): Promise<SdkGenerateByAppForRegionResponse>;
|
|
10432
10614
|
sdkGenerateByGroupWithOptions(request: SdkGenerateByGroupRequest, runtime: $Util.RuntimeOptions): Promise<SdkGenerateByGroupResponse>;
|
|
10433
10615
|
sdkGenerateByGroup(request: SdkGenerateByGroupRequest): Promise<SdkGenerateByGroupResponse>;
|
|
10434
10616
|
setApisAuthoritiesWithOptions(request: SetApisAuthoritiesRequest, runtime: $Util.RuntimeOptions): Promise<SetApisAuthoritiesResponse>;
|
package/dist/client.js
CHANGED
|
@@ -3732,6 +3732,7 @@ class DescribeApisByAppRequest extends $tea.Model {
|
|
|
3732
3732
|
apiName: 'ApiName',
|
|
3733
3733
|
apiUid: 'ApiUid',
|
|
3734
3734
|
appId: 'AppId',
|
|
3735
|
+
description: 'Description',
|
|
3735
3736
|
method: 'Method',
|
|
3736
3737
|
pageNumber: 'PageNumber',
|
|
3737
3738
|
pageSize: 'PageSize',
|
|
@@ -3744,6 +3745,7 @@ class DescribeApisByAppRequest extends $tea.Model {
|
|
|
3744
3745
|
apiName: 'string',
|
|
3745
3746
|
apiUid: 'string',
|
|
3746
3747
|
appId: 'number',
|
|
3748
|
+
description: 'string',
|
|
3747
3749
|
method: 'string',
|
|
3748
3750
|
pageNumber: 'number',
|
|
3749
3751
|
pageSize: 'number',
|
|
@@ -5003,6 +5005,74 @@ class DescribeHistoryApisResponse extends $tea.Model {
|
|
|
5003
5005
|
}
|
|
5004
5006
|
}
|
|
5005
5007
|
exports.DescribeHistoryApisResponse = DescribeHistoryApisResponse;
|
|
5008
|
+
class DescribeInstancesRequest extends $tea.Model {
|
|
5009
|
+
constructor(map) {
|
|
5010
|
+
super(map);
|
|
5011
|
+
}
|
|
5012
|
+
static names() {
|
|
5013
|
+
return {
|
|
5014
|
+
enableTagAuthorization: 'EnableTagAuthorization',
|
|
5015
|
+
instanceId: 'InstanceId',
|
|
5016
|
+
language: 'Language',
|
|
5017
|
+
securityToken: 'SecurityToken',
|
|
5018
|
+
tag: 'Tag',
|
|
5019
|
+
};
|
|
5020
|
+
}
|
|
5021
|
+
static types() {
|
|
5022
|
+
return {
|
|
5023
|
+
enableTagAuthorization: 'boolean',
|
|
5024
|
+
instanceId: 'string',
|
|
5025
|
+
language: 'string',
|
|
5026
|
+
securityToken: 'string',
|
|
5027
|
+
tag: { 'type': 'array', 'itemType': DescribeInstancesRequestTag },
|
|
5028
|
+
};
|
|
5029
|
+
}
|
|
5030
|
+
}
|
|
5031
|
+
exports.DescribeInstancesRequest = DescribeInstancesRequest;
|
|
5032
|
+
class DescribeInstancesResponseBody extends $tea.Model {
|
|
5033
|
+
constructor(map) {
|
|
5034
|
+
super(map);
|
|
5035
|
+
}
|
|
5036
|
+
static names() {
|
|
5037
|
+
return {
|
|
5038
|
+
instances: 'Instances',
|
|
5039
|
+
pageNumber: 'PageNumber',
|
|
5040
|
+
pageSize: 'PageSize',
|
|
5041
|
+
requestId: 'RequestId',
|
|
5042
|
+
totalCount: 'TotalCount',
|
|
5043
|
+
};
|
|
5044
|
+
}
|
|
5045
|
+
static types() {
|
|
5046
|
+
return {
|
|
5047
|
+
instances: DescribeInstancesResponseBodyInstances,
|
|
5048
|
+
pageNumber: 'number',
|
|
5049
|
+
pageSize: 'number',
|
|
5050
|
+
requestId: 'string',
|
|
5051
|
+
totalCount: 'number',
|
|
5052
|
+
};
|
|
5053
|
+
}
|
|
5054
|
+
}
|
|
5055
|
+
exports.DescribeInstancesResponseBody = DescribeInstancesResponseBody;
|
|
5056
|
+
class DescribeInstancesResponse extends $tea.Model {
|
|
5057
|
+
constructor(map) {
|
|
5058
|
+
super(map);
|
|
5059
|
+
}
|
|
5060
|
+
static names() {
|
|
5061
|
+
return {
|
|
5062
|
+
headers: 'headers',
|
|
5063
|
+
statusCode: 'statusCode',
|
|
5064
|
+
body: 'body',
|
|
5065
|
+
};
|
|
5066
|
+
}
|
|
5067
|
+
static types() {
|
|
5068
|
+
return {
|
|
5069
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5070
|
+
statusCode: 'number',
|
|
5071
|
+
body: DescribeInstancesResponseBody,
|
|
5072
|
+
};
|
|
5073
|
+
}
|
|
5074
|
+
}
|
|
5075
|
+
exports.DescribeInstancesResponse = DescribeInstancesResponse;
|
|
5006
5076
|
class DescribeIpControlPolicyItemsRequest extends $tea.Model {
|
|
5007
5077
|
constructor(map) {
|
|
5008
5078
|
super(map);
|
|
@@ -8497,6 +8567,64 @@ class SdkGenerateByAppResponse extends $tea.Model {
|
|
|
8497
8567
|
}
|
|
8498
8568
|
}
|
|
8499
8569
|
exports.SdkGenerateByAppResponse = SdkGenerateByAppResponse;
|
|
8570
|
+
class SdkGenerateByAppForRegionRequest extends $tea.Model {
|
|
8571
|
+
constructor(map) {
|
|
8572
|
+
super(map);
|
|
8573
|
+
}
|
|
8574
|
+
static names() {
|
|
8575
|
+
return {
|
|
8576
|
+
appId: 'AppId',
|
|
8577
|
+
language: 'Language',
|
|
8578
|
+
securityToken: 'SecurityToken',
|
|
8579
|
+
};
|
|
8580
|
+
}
|
|
8581
|
+
static types() {
|
|
8582
|
+
return {
|
|
8583
|
+
appId: 'number',
|
|
8584
|
+
language: 'string',
|
|
8585
|
+
securityToken: 'string',
|
|
8586
|
+
};
|
|
8587
|
+
}
|
|
8588
|
+
}
|
|
8589
|
+
exports.SdkGenerateByAppForRegionRequest = SdkGenerateByAppForRegionRequest;
|
|
8590
|
+
class SdkGenerateByAppForRegionResponseBody extends $tea.Model {
|
|
8591
|
+
constructor(map) {
|
|
8592
|
+
super(map);
|
|
8593
|
+
}
|
|
8594
|
+
static names() {
|
|
8595
|
+
return {
|
|
8596
|
+
downloadLink: 'DownloadLink',
|
|
8597
|
+
requestId: 'RequestId',
|
|
8598
|
+
};
|
|
8599
|
+
}
|
|
8600
|
+
static types() {
|
|
8601
|
+
return {
|
|
8602
|
+
downloadLink: 'string',
|
|
8603
|
+
requestId: 'string',
|
|
8604
|
+
};
|
|
8605
|
+
}
|
|
8606
|
+
}
|
|
8607
|
+
exports.SdkGenerateByAppForRegionResponseBody = SdkGenerateByAppForRegionResponseBody;
|
|
8608
|
+
class SdkGenerateByAppForRegionResponse extends $tea.Model {
|
|
8609
|
+
constructor(map) {
|
|
8610
|
+
super(map);
|
|
8611
|
+
}
|
|
8612
|
+
static names() {
|
|
8613
|
+
return {
|
|
8614
|
+
headers: 'headers',
|
|
8615
|
+
statusCode: 'statusCode',
|
|
8616
|
+
body: 'body',
|
|
8617
|
+
};
|
|
8618
|
+
}
|
|
8619
|
+
static types() {
|
|
8620
|
+
return {
|
|
8621
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8622
|
+
statusCode: 'number',
|
|
8623
|
+
body: SdkGenerateByAppForRegionResponseBody,
|
|
8624
|
+
};
|
|
8625
|
+
}
|
|
8626
|
+
}
|
|
8627
|
+
exports.SdkGenerateByAppForRegionResponse = SdkGenerateByAppForRegionResponse;
|
|
8500
8628
|
class SdkGenerateByGroupRequest extends $tea.Model {
|
|
8501
8629
|
constructor(map) {
|
|
8502
8630
|
super(map);
|
|
@@ -12977,6 +13105,138 @@ class DescribeHistoryApisResponseBodyApiHisItems extends $tea.Model {
|
|
|
12977
13105
|
}
|
|
12978
13106
|
}
|
|
12979
13107
|
exports.DescribeHistoryApisResponseBodyApiHisItems = DescribeHistoryApisResponseBodyApiHisItems;
|
|
13108
|
+
class DescribeInstancesRequestTag extends $tea.Model {
|
|
13109
|
+
constructor(map) {
|
|
13110
|
+
super(map);
|
|
13111
|
+
}
|
|
13112
|
+
static names() {
|
|
13113
|
+
return {
|
|
13114
|
+
key: 'Key',
|
|
13115
|
+
value: 'Value',
|
|
13116
|
+
};
|
|
13117
|
+
}
|
|
13118
|
+
static types() {
|
|
13119
|
+
return {
|
|
13120
|
+
key: 'string',
|
|
13121
|
+
value: 'string',
|
|
13122
|
+
};
|
|
13123
|
+
}
|
|
13124
|
+
}
|
|
13125
|
+
exports.DescribeInstancesRequestTag = DescribeInstancesRequestTag;
|
|
13126
|
+
class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute extends $tea.Model {
|
|
13127
|
+
constructor(map) {
|
|
13128
|
+
super(map);
|
|
13129
|
+
}
|
|
13130
|
+
static names() {
|
|
13131
|
+
return {
|
|
13132
|
+
localName: 'LocalName',
|
|
13133
|
+
value: 'Value',
|
|
13134
|
+
};
|
|
13135
|
+
}
|
|
13136
|
+
static types() {
|
|
13137
|
+
return {
|
|
13138
|
+
localName: 'string',
|
|
13139
|
+
value: 'string',
|
|
13140
|
+
};
|
|
13141
|
+
}
|
|
13142
|
+
}
|
|
13143
|
+
exports.DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute = DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute;
|
|
13144
|
+
class DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes extends $tea.Model {
|
|
13145
|
+
constructor(map) {
|
|
13146
|
+
super(map);
|
|
13147
|
+
}
|
|
13148
|
+
static names() {
|
|
13149
|
+
return {
|
|
13150
|
+
specAttribute: 'SpecAttribute',
|
|
13151
|
+
};
|
|
13152
|
+
}
|
|
13153
|
+
static types() {
|
|
13154
|
+
return {
|
|
13155
|
+
specAttribute: { 'type': 'array', 'itemType': DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributesSpecAttribute },
|
|
13156
|
+
};
|
|
13157
|
+
}
|
|
13158
|
+
}
|
|
13159
|
+
exports.DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes = DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes;
|
|
13160
|
+
class DescribeInstancesResponseBodyInstancesInstanceAttribute extends $tea.Model {
|
|
13161
|
+
constructor(map) {
|
|
13162
|
+
super(map);
|
|
13163
|
+
}
|
|
13164
|
+
static names() {
|
|
13165
|
+
return {
|
|
13166
|
+
classicEgressAddress: 'ClassicEgressAddress',
|
|
13167
|
+
createdTime: 'CreatedTime',
|
|
13168
|
+
egressIpv6Enable: 'EgressIpv6Enable',
|
|
13169
|
+
expiredTime: 'ExpiredTime',
|
|
13170
|
+
httpsPolicies: 'HttpsPolicies',
|
|
13171
|
+
instanceChargeType: 'InstanceChargeType',
|
|
13172
|
+
instanceId: 'InstanceId',
|
|
13173
|
+
instanceName: 'InstanceName',
|
|
13174
|
+
instanceRpsLimit: 'InstanceRpsLimit',
|
|
13175
|
+
instanceSpec: 'InstanceSpec',
|
|
13176
|
+
instanceSpecAttributes: 'InstanceSpecAttributes',
|
|
13177
|
+
instanceType: 'InstanceType',
|
|
13178
|
+
internetEgressAddress: 'InternetEgressAddress',
|
|
13179
|
+
regionId: 'RegionId',
|
|
13180
|
+
status: 'Status',
|
|
13181
|
+
supportIpv6: 'SupportIpv6',
|
|
13182
|
+
userVpcId: 'UserVpcId',
|
|
13183
|
+
userVswitchId: 'UserVswitchId',
|
|
13184
|
+
vipTypeList: 'VipTypeList',
|
|
13185
|
+
vpcEgressAddress: 'VpcEgressAddress',
|
|
13186
|
+
vpcIntranetEnable: 'VpcIntranetEnable',
|
|
13187
|
+
vpcOwnerId: 'VpcOwnerId',
|
|
13188
|
+
vpcSlbIntranetEnable: 'VpcSlbIntranetEnable',
|
|
13189
|
+
zoneId: 'ZoneId',
|
|
13190
|
+
zoneLocalName: 'ZoneLocalName',
|
|
13191
|
+
};
|
|
13192
|
+
}
|
|
13193
|
+
static types() {
|
|
13194
|
+
return {
|
|
13195
|
+
classicEgressAddress: 'string',
|
|
13196
|
+
createdTime: 'string',
|
|
13197
|
+
egressIpv6Enable: 'boolean',
|
|
13198
|
+
expiredTime: 'string',
|
|
13199
|
+
httpsPolicies: 'string',
|
|
13200
|
+
instanceChargeType: 'string',
|
|
13201
|
+
instanceId: 'string',
|
|
13202
|
+
instanceName: 'string',
|
|
13203
|
+
instanceRpsLimit: 'number',
|
|
13204
|
+
instanceSpec: 'string',
|
|
13205
|
+
instanceSpecAttributes: DescribeInstancesResponseBodyInstancesInstanceAttributeInstanceSpecAttributes,
|
|
13206
|
+
instanceType: 'string',
|
|
13207
|
+
internetEgressAddress: 'string',
|
|
13208
|
+
regionId: 'string',
|
|
13209
|
+
status: 'string',
|
|
13210
|
+
supportIpv6: 'boolean',
|
|
13211
|
+
userVpcId: 'string',
|
|
13212
|
+
userVswitchId: 'string',
|
|
13213
|
+
vipTypeList: 'string',
|
|
13214
|
+
vpcEgressAddress: 'string',
|
|
13215
|
+
vpcIntranetEnable: 'boolean',
|
|
13216
|
+
vpcOwnerId: 'number',
|
|
13217
|
+
vpcSlbIntranetEnable: 'boolean',
|
|
13218
|
+
zoneId: 'string',
|
|
13219
|
+
zoneLocalName: 'string',
|
|
13220
|
+
};
|
|
13221
|
+
}
|
|
13222
|
+
}
|
|
13223
|
+
exports.DescribeInstancesResponseBodyInstancesInstanceAttribute = DescribeInstancesResponseBodyInstancesInstanceAttribute;
|
|
13224
|
+
class DescribeInstancesResponseBodyInstances extends $tea.Model {
|
|
13225
|
+
constructor(map) {
|
|
13226
|
+
super(map);
|
|
13227
|
+
}
|
|
13228
|
+
static names() {
|
|
13229
|
+
return {
|
|
13230
|
+
instanceAttribute: 'InstanceAttribute',
|
|
13231
|
+
};
|
|
13232
|
+
}
|
|
13233
|
+
static types() {
|
|
13234
|
+
return {
|
|
13235
|
+
instanceAttribute: { 'type': 'array', 'itemType': DescribeInstancesResponseBodyInstancesInstanceAttribute },
|
|
13236
|
+
};
|
|
13237
|
+
}
|
|
13238
|
+
}
|
|
13239
|
+
exports.DescribeInstancesResponseBodyInstances = DescribeInstancesResponseBodyInstances;
|
|
12980
13240
|
class DescribeIpControlPolicyItemsResponseBodyIpControlPolicyItemsIpControlPolicyItem extends $tea.Model {
|
|
12981
13241
|
constructor(map) {
|
|
12982
13242
|
super(map);
|
|
@@ -16588,6 +16848,9 @@ class Client extends openapi_client_1.default {
|
|
|
16588
16848
|
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
16589
16849
|
query["AppId"] = request.appId;
|
|
16590
16850
|
}
|
|
16851
|
+
if (!tea_util_1.default.isUnset(request.description)) {
|
|
16852
|
+
query["Description"] = request.description;
|
|
16853
|
+
}
|
|
16591
16854
|
if (!tea_util_1.default.isUnset(request.method)) {
|
|
16592
16855
|
query["Method"] = request.method;
|
|
16593
16856
|
}
|
|
@@ -17260,6 +17523,44 @@ class Client extends openapi_client_1.default {
|
|
|
17260
17523
|
let runtime = new $Util.RuntimeOptions({});
|
|
17261
17524
|
return await this.describeHistoryApisWithOptions(request, runtime);
|
|
17262
17525
|
}
|
|
17526
|
+
async describeInstancesWithOptions(request, runtime) {
|
|
17527
|
+
tea_util_1.default.validateModel(request);
|
|
17528
|
+
let query = {};
|
|
17529
|
+
if (!tea_util_1.default.isUnset(request.enableTagAuthorization)) {
|
|
17530
|
+
query["EnableTagAuthorization"] = request.enableTagAuthorization;
|
|
17531
|
+
}
|
|
17532
|
+
if (!tea_util_1.default.isUnset(request.instanceId)) {
|
|
17533
|
+
query["InstanceId"] = request.instanceId;
|
|
17534
|
+
}
|
|
17535
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
17536
|
+
query["Language"] = request.language;
|
|
17537
|
+
}
|
|
17538
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
17539
|
+
query["SecurityToken"] = request.securityToken;
|
|
17540
|
+
}
|
|
17541
|
+
if (!tea_util_1.default.isUnset(request.tag)) {
|
|
17542
|
+
query["Tag"] = request.tag;
|
|
17543
|
+
}
|
|
17544
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17545
|
+
query: openapi_util_1.default.query(query),
|
|
17546
|
+
});
|
|
17547
|
+
let params = new $OpenApi.Params({
|
|
17548
|
+
action: "DescribeInstances",
|
|
17549
|
+
version: "2016-07-14",
|
|
17550
|
+
protocol: "HTTPS",
|
|
17551
|
+
pathname: "/",
|
|
17552
|
+
method: "POST",
|
|
17553
|
+
authType: "AK",
|
|
17554
|
+
style: "RPC",
|
|
17555
|
+
reqBodyType: "formData",
|
|
17556
|
+
bodyType: "json",
|
|
17557
|
+
});
|
|
17558
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DescribeInstancesResponse({}));
|
|
17559
|
+
}
|
|
17560
|
+
async describeInstances(request) {
|
|
17561
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17562
|
+
return await this.describeInstancesWithOptions(request, runtime);
|
|
17563
|
+
}
|
|
17263
17564
|
async describeIpControlPolicyItemsWithOptions(request, runtime) {
|
|
17264
17565
|
tea_util_1.default.validateModel(request);
|
|
17265
17566
|
let query = {};
|
|
@@ -19400,6 +19701,38 @@ class Client extends openapi_client_1.default {
|
|
|
19400
19701
|
let runtime = new $Util.RuntimeOptions({});
|
|
19401
19702
|
return await this.sdkGenerateByAppWithOptions(request, runtime);
|
|
19402
19703
|
}
|
|
19704
|
+
async sdkGenerateByAppForRegionWithOptions(request, runtime) {
|
|
19705
|
+
tea_util_1.default.validateModel(request);
|
|
19706
|
+
let query = {};
|
|
19707
|
+
if (!tea_util_1.default.isUnset(request.appId)) {
|
|
19708
|
+
query["AppId"] = request.appId;
|
|
19709
|
+
}
|
|
19710
|
+
if (!tea_util_1.default.isUnset(request.language)) {
|
|
19711
|
+
query["Language"] = request.language;
|
|
19712
|
+
}
|
|
19713
|
+
if (!tea_util_1.default.isUnset(request.securityToken)) {
|
|
19714
|
+
query["SecurityToken"] = request.securityToken;
|
|
19715
|
+
}
|
|
19716
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19717
|
+
query: openapi_util_1.default.query(query),
|
|
19718
|
+
});
|
|
19719
|
+
let params = new $OpenApi.Params({
|
|
19720
|
+
action: "SdkGenerateByAppForRegion",
|
|
19721
|
+
version: "2016-07-14",
|
|
19722
|
+
protocol: "HTTPS",
|
|
19723
|
+
pathname: "/",
|
|
19724
|
+
method: "POST",
|
|
19725
|
+
authType: "AK",
|
|
19726
|
+
style: "RPC",
|
|
19727
|
+
reqBodyType: "formData",
|
|
19728
|
+
bodyType: "json",
|
|
19729
|
+
});
|
|
19730
|
+
return $tea.cast(await this.callApi(params, req, runtime), new SdkGenerateByAppForRegionResponse({}));
|
|
19731
|
+
}
|
|
19732
|
+
async sdkGenerateByAppForRegion(request) {
|
|
19733
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
19734
|
+
return await this.sdkGenerateByAppForRegionWithOptions(request, runtime);
|
|
19735
|
+
}
|
|
19403
19736
|
async sdkGenerateByGroupWithOptions(request, runtime) {
|
|
19404
19737
|
tea_util_1.default.validateModel(request);
|
|
19405
19738
|
let query = {};
|