@alicloud/eas20210701 6.1.0 → 6.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 +336 -6
- package/dist/client.js +318 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +510 -6
package/src/client.ts
CHANGED
|
@@ -1727,8 +1727,15 @@ export class CreateGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
|
1727
1727
|
}
|
|
1728
1728
|
|
|
1729
1729
|
export class CreateGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
1730
|
+
/**
|
|
1731
|
+
* @remarks
|
|
1732
|
+
* The list of VPC peers.
|
|
1733
|
+
*/
|
|
1730
1734
|
peerVpcs?: CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs[];
|
|
1731
1735
|
/**
|
|
1736
|
+
* @remarks
|
|
1737
|
+
* The VPC ID. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](https://help.aliyun.com/document_detail/2621223.html).
|
|
1738
|
+
*
|
|
1732
1739
|
* @example
|
|
1733
1740
|
* vpc-2zetuli9ws0qgjd******
|
|
1734
1741
|
*/
|
|
@@ -1753,8 +1760,15 @@ export class CreateGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
|
1753
1760
|
}
|
|
1754
1761
|
|
|
1755
1762
|
export class CreateGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
|
|
1763
|
+
/**
|
|
1764
|
+
* @remarks
|
|
1765
|
+
* The list of VPC peers.
|
|
1766
|
+
*/
|
|
1756
1767
|
peerVpcsShrink?: string;
|
|
1757
1768
|
/**
|
|
1769
|
+
* @remarks
|
|
1770
|
+
* The VPC ID. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](https://help.aliyun.com/document_detail/2621223.html).
|
|
1771
|
+
*
|
|
1758
1772
|
* @example
|
|
1759
1773
|
* vpc-2zetuli9ws0qgjd******
|
|
1760
1774
|
*/
|
|
@@ -1780,16 +1794,25 @@ export class CreateGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model
|
|
|
1780
1794
|
|
|
1781
1795
|
export class CreateGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
|
|
1782
1796
|
/**
|
|
1797
|
+
* @remarks
|
|
1798
|
+
* The ID of the private gateway.
|
|
1799
|
+
*
|
|
1783
1800
|
* @example
|
|
1784
1801
|
* gw-1uhcqmsc7x22******
|
|
1785
1802
|
*/
|
|
1786
1803
|
gatewayId?: string;
|
|
1787
1804
|
/**
|
|
1805
|
+
* @remarks
|
|
1806
|
+
* The message that is returned.
|
|
1807
|
+
*
|
|
1788
1808
|
* @example
|
|
1789
1809
|
* Successfully add intranet linked vpc Peer for gateway
|
|
1790
1810
|
*/
|
|
1791
1811
|
message?: string;
|
|
1792
1812
|
/**
|
|
1813
|
+
* @remarks
|
|
1814
|
+
* The ID of the request.
|
|
1815
|
+
*
|
|
1793
1816
|
* @example
|
|
1794
1817
|
* 40325405-579C-4D82****
|
|
1795
1818
|
*/
|
|
@@ -3493,8 +3516,15 @@ export class DeleteGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
|
3493
3516
|
}
|
|
3494
3517
|
|
|
3495
3518
|
export class DeleteGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
3519
|
+
/**
|
|
3520
|
+
* @remarks
|
|
3521
|
+
* The VPC peer.
|
|
3522
|
+
*/
|
|
3496
3523
|
peerVpcs?: DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs[];
|
|
3497
3524
|
/**
|
|
3525
|
+
* @remarks
|
|
3526
|
+
* The ID of the associated VPC. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](https://help.aliyun.com/document_detail/2621223.html).
|
|
3527
|
+
*
|
|
3498
3528
|
* @example
|
|
3499
3529
|
* vpc-2zetuli9ws0qgjd******
|
|
3500
3530
|
*/
|
|
@@ -3519,8 +3549,15 @@ export class DeleteGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
|
3519
3549
|
}
|
|
3520
3550
|
|
|
3521
3551
|
export class DeleteGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model {
|
|
3552
|
+
/**
|
|
3553
|
+
* @remarks
|
|
3554
|
+
* The VPC peer.
|
|
3555
|
+
*/
|
|
3522
3556
|
peerVpcsShrink?: string;
|
|
3523
3557
|
/**
|
|
3558
|
+
* @remarks
|
|
3559
|
+
* The ID of the associated VPC. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](https://help.aliyun.com/document_detail/2621223.html).
|
|
3560
|
+
*
|
|
3524
3561
|
* @example
|
|
3525
3562
|
* vpc-2zetuli9ws0qgjd******
|
|
3526
3563
|
*/
|
|
@@ -3546,16 +3583,25 @@ export class DeleteGatewayIntranetLinkedVpcPeerShrinkRequest extends $tea.Model
|
|
|
3546
3583
|
|
|
3547
3584
|
export class DeleteGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
|
|
3548
3585
|
/**
|
|
3586
|
+
* @remarks
|
|
3587
|
+
* The ID of the private gateway.
|
|
3588
|
+
*
|
|
3549
3589
|
* @example
|
|
3550
3590
|
* gw-1uhcqmsc7x22******
|
|
3551
3591
|
*/
|
|
3552
3592
|
gatewayId?: string;
|
|
3553
3593
|
/**
|
|
3594
|
+
* @remarks
|
|
3595
|
+
* The message that is returned.
|
|
3596
|
+
*
|
|
3554
3597
|
* @example
|
|
3555
3598
|
* Successfully delete intranet linked vpc Peer for gateway
|
|
3556
3599
|
*/
|
|
3557
3600
|
message?: string;
|
|
3558
3601
|
/**
|
|
3602
|
+
* @remarks
|
|
3603
|
+
* The ID of the request.
|
|
3604
|
+
*
|
|
3559
3605
|
* @example
|
|
3560
3606
|
* 40325405-579C-4D82****
|
|
3561
3607
|
*/
|
|
@@ -4913,6 +4959,7 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4913
4959
|
* 40325405-579C-4D82****
|
|
4914
4960
|
*/
|
|
4915
4961
|
requestId?: string;
|
|
4962
|
+
SSLRedirectionEnabled?: boolean;
|
|
4916
4963
|
/**
|
|
4917
4964
|
* @remarks
|
|
4918
4965
|
* The status of the private gateway.
|
|
@@ -4953,6 +5000,7 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4953
5000
|
isDefault: 'IsDefault',
|
|
4954
5001
|
replicas: 'Replicas',
|
|
4955
5002
|
requestId: 'RequestId',
|
|
5003
|
+
SSLRedirectionEnabled: 'SSLRedirectionEnabled',
|
|
4956
5004
|
status: 'Status',
|
|
4957
5005
|
updateTime: 'UpdateTime',
|
|
4958
5006
|
};
|
|
@@ -4972,6 +5020,7 @@ export class DescribeGatewayResponseBody extends $tea.Model {
|
|
|
4972
5020
|
isDefault: 'boolean',
|
|
4973
5021
|
replicas: 'number',
|
|
4974
5022
|
requestId: 'string',
|
|
5023
|
+
SSLRedirectionEnabled: 'boolean',
|
|
4975
5024
|
status: 'string',
|
|
4976
5025
|
updateTime: 'string',
|
|
4977
5026
|
};
|
|
@@ -5032,6 +5081,67 @@ export class DescribeGroupResponse extends $tea.Model {
|
|
|
5032
5081
|
}
|
|
5033
5082
|
}
|
|
5034
5083
|
|
|
5084
|
+
export class DescribeGroupEndpointsResponseBody extends $tea.Model {
|
|
5085
|
+
/**
|
|
5086
|
+
* @example
|
|
5087
|
+
* Nzc5N2FhNTM4OTQ0YzBmYTIy****ZTUxN2NkYjg4MTJmMWQxZmY1****
|
|
5088
|
+
*/
|
|
5089
|
+
accessToken?: string;
|
|
5090
|
+
endpoints?: DescribeGroupEndpointsResponseBodyEndpoints;
|
|
5091
|
+
message?: string;
|
|
5092
|
+
/**
|
|
5093
|
+
* @example
|
|
5094
|
+
* 890772EF-3AD6-129A-8E15-8F349C944783
|
|
5095
|
+
*/
|
|
5096
|
+
requestId?: string;
|
|
5097
|
+
static names(): { [key: string]: string } {
|
|
5098
|
+
return {
|
|
5099
|
+
accessToken: 'AccessToken',
|
|
5100
|
+
endpoints: 'Endpoints',
|
|
5101
|
+
message: 'Message',
|
|
5102
|
+
requestId: 'RequestId',
|
|
5103
|
+
};
|
|
5104
|
+
}
|
|
5105
|
+
|
|
5106
|
+
static types(): { [key: string]: any } {
|
|
5107
|
+
return {
|
|
5108
|
+
accessToken: 'string',
|
|
5109
|
+
endpoints: DescribeGroupEndpointsResponseBodyEndpoints,
|
|
5110
|
+
message: 'string',
|
|
5111
|
+
requestId: 'string',
|
|
5112
|
+
};
|
|
5113
|
+
}
|
|
5114
|
+
|
|
5115
|
+
constructor(map?: { [key: string]: any }) {
|
|
5116
|
+
super(map);
|
|
5117
|
+
}
|
|
5118
|
+
}
|
|
5119
|
+
|
|
5120
|
+
export class DescribeGroupEndpointsResponse extends $tea.Model {
|
|
5121
|
+
headers?: { [key: string]: string };
|
|
5122
|
+
statusCode?: number;
|
|
5123
|
+
body?: DescribeGroupEndpointsResponseBody;
|
|
5124
|
+
static names(): { [key: string]: string } {
|
|
5125
|
+
return {
|
|
5126
|
+
headers: 'headers',
|
|
5127
|
+
statusCode: 'statusCode',
|
|
5128
|
+
body: 'body',
|
|
5129
|
+
};
|
|
5130
|
+
}
|
|
5131
|
+
|
|
5132
|
+
static types(): { [key: string]: any } {
|
|
5133
|
+
return {
|
|
5134
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5135
|
+
statusCode: 'number',
|
|
5136
|
+
body: DescribeGroupEndpointsResponseBody,
|
|
5137
|
+
};
|
|
5138
|
+
}
|
|
5139
|
+
|
|
5140
|
+
constructor(map?: { [key: string]: any }) {
|
|
5141
|
+
super(map);
|
|
5142
|
+
}
|
|
5143
|
+
}
|
|
5144
|
+
|
|
5035
5145
|
export class DescribeResourceResponseBody extends $tea.Model {
|
|
5036
5146
|
/**
|
|
5037
5147
|
* @remarks
|
|
@@ -5049,6 +5159,7 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
5049
5159
|
* 16
|
|
5050
5160
|
*/
|
|
5051
5161
|
cpuCount?: number;
|
|
5162
|
+
cpuUsed?: number;
|
|
5052
5163
|
/**
|
|
5053
5164
|
* @remarks
|
|
5054
5165
|
* The time when the resource group was created.
|
|
@@ -5073,6 +5184,7 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
5073
5184
|
* 1
|
|
5074
5185
|
*/
|
|
5075
5186
|
gpuCount?: number;
|
|
5187
|
+
gpuUsed?: number;
|
|
5076
5188
|
/**
|
|
5077
5189
|
* @remarks
|
|
5078
5190
|
* The total number of instances in the resource group.
|
|
@@ -5081,6 +5193,8 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
5081
5193
|
* 4
|
|
5082
5194
|
*/
|
|
5083
5195
|
instanceCount?: number;
|
|
5196
|
+
memory?: number;
|
|
5197
|
+
memoryUsed?: number;
|
|
5084
5198
|
/**
|
|
5085
5199
|
* @remarks
|
|
5086
5200
|
* The returned message.
|
|
@@ -5168,10 +5282,14 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
5168
5282
|
return {
|
|
5169
5283
|
clusterId: 'ClusterId',
|
|
5170
5284
|
cpuCount: 'CpuCount',
|
|
5285
|
+
cpuUsed: 'CpuUsed',
|
|
5171
5286
|
createTime: 'CreateTime',
|
|
5172
5287
|
extraData: 'ExtraData',
|
|
5173
5288
|
gpuCount: 'GpuCount',
|
|
5289
|
+
gpuUsed: 'GpuUsed',
|
|
5174
5290
|
instanceCount: 'InstanceCount',
|
|
5291
|
+
memory: 'Memory',
|
|
5292
|
+
memoryUsed: 'MemoryUsed',
|
|
5175
5293
|
message: 'Message',
|
|
5176
5294
|
ownerUid: 'OwnerUid',
|
|
5177
5295
|
postPaidInstanceCount: 'PostPaidInstanceCount',
|
|
@@ -5189,10 +5307,14 @@ export class DescribeResourceResponseBody extends $tea.Model {
|
|
|
5189
5307
|
return {
|
|
5190
5308
|
clusterId: 'string',
|
|
5191
5309
|
cpuCount: 'number',
|
|
5310
|
+
cpuUsed: 'number',
|
|
5192
5311
|
createTime: 'string',
|
|
5193
5312
|
extraData: 'string',
|
|
5194
5313
|
gpuCount: 'number',
|
|
5314
|
+
gpuUsed: 'number',
|
|
5195
5315
|
instanceCount: 'number',
|
|
5316
|
+
memory: 'number',
|
|
5317
|
+
memoryUsed: 'number',
|
|
5196
5318
|
message: 'string',
|
|
5197
5319
|
ownerUid: 'string',
|
|
5198
5320
|
postPaidInstanceCount: 'number',
|
|
@@ -5694,6 +5816,67 @@ export class DescribeServiceDiagnosisResponse extends $tea.Model {
|
|
|
5694
5816
|
}
|
|
5695
5817
|
}
|
|
5696
5818
|
|
|
5819
|
+
export class DescribeServiceEndpointsResponseBody extends $tea.Model {
|
|
5820
|
+
/**
|
|
5821
|
+
* @example
|
|
5822
|
+
* Nzc5N2FhN****TQ0YzBmYTIyN2MxZTUxN2NkYjg4MTJmMWQxZmY1****
|
|
5823
|
+
*/
|
|
5824
|
+
accessToken?: string;
|
|
5825
|
+
endpoints?: DescribeServiceEndpointsResponseBodyEndpoints;
|
|
5826
|
+
message?: string;
|
|
5827
|
+
/**
|
|
5828
|
+
* @example
|
|
5829
|
+
* 739998B5-FB39-12A3-8323-0FA340317298
|
|
5830
|
+
*/
|
|
5831
|
+
requestId?: string;
|
|
5832
|
+
static names(): { [key: string]: string } {
|
|
5833
|
+
return {
|
|
5834
|
+
accessToken: 'AccessToken',
|
|
5835
|
+
endpoints: 'Endpoints',
|
|
5836
|
+
message: 'Message',
|
|
5837
|
+
requestId: 'RequestId',
|
|
5838
|
+
};
|
|
5839
|
+
}
|
|
5840
|
+
|
|
5841
|
+
static types(): { [key: string]: any } {
|
|
5842
|
+
return {
|
|
5843
|
+
accessToken: 'string',
|
|
5844
|
+
endpoints: DescribeServiceEndpointsResponseBodyEndpoints,
|
|
5845
|
+
message: 'string',
|
|
5846
|
+
requestId: 'string',
|
|
5847
|
+
};
|
|
5848
|
+
}
|
|
5849
|
+
|
|
5850
|
+
constructor(map?: { [key: string]: any }) {
|
|
5851
|
+
super(map);
|
|
5852
|
+
}
|
|
5853
|
+
}
|
|
5854
|
+
|
|
5855
|
+
export class DescribeServiceEndpointsResponse extends $tea.Model {
|
|
5856
|
+
headers?: { [key: string]: string };
|
|
5857
|
+
statusCode?: number;
|
|
5858
|
+
body?: DescribeServiceEndpointsResponseBody;
|
|
5859
|
+
static names(): { [key: string]: string } {
|
|
5860
|
+
return {
|
|
5861
|
+
headers: 'headers',
|
|
5862
|
+
statusCode: 'statusCode',
|
|
5863
|
+
body: 'body',
|
|
5864
|
+
};
|
|
5865
|
+
}
|
|
5866
|
+
|
|
5867
|
+
static types(): { [key: string]: any } {
|
|
5868
|
+
return {
|
|
5869
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5870
|
+
statusCode: 'number',
|
|
5871
|
+
body: DescribeServiceEndpointsResponseBody,
|
|
5872
|
+
};
|
|
5873
|
+
}
|
|
5874
|
+
|
|
5875
|
+
constructor(map?: { [key: string]: any }) {
|
|
5876
|
+
super(map);
|
|
5877
|
+
}
|
|
5878
|
+
}
|
|
5879
|
+
|
|
5697
5880
|
export class DescribeServiceEventRequest extends $tea.Model {
|
|
5698
5881
|
/**
|
|
5699
5882
|
* @remarks
|
|
@@ -7154,6 +7337,12 @@ export class ListGatewayIntranetLinkedVpcResponse extends $tea.Model {
|
|
|
7154
7337
|
|
|
7155
7338
|
export class ListGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
7156
7339
|
/**
|
|
7340
|
+
* @remarks
|
|
7341
|
+
* The ID of the associated VPC. To obtain the VPC ID, see [ListGatewayIntranetLinkedVpc](https://help.aliyun.com/document_detail/2621223.html).
|
|
7342
|
+
*
|
|
7343
|
+
* * If you specify a VPC ID, only VPC peers corresponding to the ID are queried.
|
|
7344
|
+
* * Otherwise, all VPC peers are queried.
|
|
7345
|
+
*
|
|
7157
7346
|
* @example
|
|
7158
7347
|
* vpc-2zetuli9ws0qgjd******
|
|
7159
7348
|
*/
|
|
@@ -7177,12 +7366,22 @@ export class ListGatewayIntranetLinkedVpcPeerRequest extends $tea.Model {
|
|
|
7177
7366
|
|
|
7178
7367
|
export class ListGatewayIntranetLinkedVpcPeerResponseBody extends $tea.Model {
|
|
7179
7368
|
/**
|
|
7369
|
+
* @remarks
|
|
7370
|
+
* The ID of the private gateway.
|
|
7371
|
+
*
|
|
7180
7372
|
* @example
|
|
7181
7373
|
* gw-1uhcqmsc7x22******
|
|
7182
7374
|
*/
|
|
7183
7375
|
gatewayId?: string;
|
|
7376
|
+
/**
|
|
7377
|
+
* @remarks
|
|
7378
|
+
* The list of VPC peers.
|
|
7379
|
+
*/
|
|
7184
7380
|
peerVpcList?: ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList[];
|
|
7185
7381
|
/**
|
|
7382
|
+
* @remarks
|
|
7383
|
+
* The ID of the request.
|
|
7384
|
+
*
|
|
7186
7385
|
* @example
|
|
7187
7386
|
* 40325405-579C-4D82****
|
|
7188
7387
|
*/
|
|
@@ -7233,6 +7432,64 @@ export class ListGatewayIntranetLinkedVpcPeerResponse extends $tea.Model {
|
|
|
7233
7432
|
}
|
|
7234
7433
|
}
|
|
7235
7434
|
|
|
7435
|
+
export class ListGatewayIntranetSupportedZoneResponseBody extends $tea.Model {
|
|
7436
|
+
/**
|
|
7437
|
+
* @remarks
|
|
7438
|
+
* The request ID.
|
|
7439
|
+
*
|
|
7440
|
+
* @example
|
|
7441
|
+
* 40325405-579C-4D82****
|
|
7442
|
+
*/
|
|
7443
|
+
requestId?: string;
|
|
7444
|
+
/**
|
|
7445
|
+
* @remarks
|
|
7446
|
+
* The zones that are supported by the region.
|
|
7447
|
+
*/
|
|
7448
|
+
zones?: string[];
|
|
7449
|
+
static names(): { [key: string]: string } {
|
|
7450
|
+
return {
|
|
7451
|
+
requestId: 'RequestId',
|
|
7452
|
+
zones: 'Zones',
|
|
7453
|
+
};
|
|
7454
|
+
}
|
|
7455
|
+
|
|
7456
|
+
static types(): { [key: string]: any } {
|
|
7457
|
+
return {
|
|
7458
|
+
requestId: 'string',
|
|
7459
|
+
zones: { 'type': 'array', 'itemType': 'string' },
|
|
7460
|
+
};
|
|
7461
|
+
}
|
|
7462
|
+
|
|
7463
|
+
constructor(map?: { [key: string]: any }) {
|
|
7464
|
+
super(map);
|
|
7465
|
+
}
|
|
7466
|
+
}
|
|
7467
|
+
|
|
7468
|
+
export class ListGatewayIntranetSupportedZoneResponse extends $tea.Model {
|
|
7469
|
+
headers?: { [key: string]: string };
|
|
7470
|
+
statusCode?: number;
|
|
7471
|
+
body?: ListGatewayIntranetSupportedZoneResponseBody;
|
|
7472
|
+
static names(): { [key: string]: string } {
|
|
7473
|
+
return {
|
|
7474
|
+
headers: 'headers',
|
|
7475
|
+
statusCode: 'statusCode',
|
|
7476
|
+
body: 'body',
|
|
7477
|
+
};
|
|
7478
|
+
}
|
|
7479
|
+
|
|
7480
|
+
static types(): { [key: string]: any } {
|
|
7481
|
+
return {
|
|
7482
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7483
|
+
statusCode: 'number',
|
|
7484
|
+
body: ListGatewayIntranetSupportedZoneResponseBody,
|
|
7485
|
+
};
|
|
7486
|
+
}
|
|
7487
|
+
|
|
7488
|
+
constructor(map?: { [key: string]: any }) {
|
|
7489
|
+
super(map);
|
|
7490
|
+
}
|
|
7491
|
+
}
|
|
7492
|
+
|
|
7236
7493
|
export class ListGroupsRequest extends $tea.Model {
|
|
7237
7494
|
/**
|
|
7238
7495
|
* @remarks
|
|
@@ -10516,6 +10773,7 @@ export class UpdateGatewayRequest extends $tea.Model {
|
|
|
10516
10773
|
* true
|
|
10517
10774
|
*/
|
|
10518
10775
|
enableIntranet?: boolean;
|
|
10776
|
+
enableSSLRedirection?: boolean;
|
|
10519
10777
|
/**
|
|
10520
10778
|
* @remarks
|
|
10521
10779
|
* The instance type used for the private gateway.
|
|
@@ -10552,6 +10810,7 @@ export class UpdateGatewayRequest extends $tea.Model {
|
|
|
10552
10810
|
return {
|
|
10553
10811
|
enableInternet: 'EnableInternet',
|
|
10554
10812
|
enableIntranet: 'EnableIntranet',
|
|
10813
|
+
enableSSLRedirection: 'EnableSSLRedirection',
|
|
10555
10814
|
instanceType: 'InstanceType',
|
|
10556
10815
|
isDefault: 'IsDefault',
|
|
10557
10816
|
name: 'Name',
|
|
@@ -10563,6 +10822,7 @@ export class UpdateGatewayRequest extends $tea.Model {
|
|
|
10563
10822
|
return {
|
|
10564
10823
|
enableInternet: 'boolean',
|
|
10565
10824
|
enableIntranet: 'boolean',
|
|
10825
|
+
enableSSLRedirection: 'boolean',
|
|
10566
10826
|
instanceType: 'string',
|
|
10567
10827
|
isDefault: 'boolean',
|
|
10568
10828
|
name: 'string',
|
|
@@ -11946,11 +12206,17 @@ export class CreateAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
|
11946
12206
|
|
|
11947
12207
|
export class CreateGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
|
|
11948
12208
|
/**
|
|
12209
|
+
* @remarks
|
|
12210
|
+
* The region where the VPC peer resides.
|
|
12211
|
+
*
|
|
11949
12212
|
* @example
|
|
11950
12213
|
* cn-shanghai
|
|
11951
12214
|
*/
|
|
11952
12215
|
region?: string;
|
|
11953
12216
|
/**
|
|
12217
|
+
* @remarks
|
|
12218
|
+
* The ID of the VPC peer. To obtain the VPC ID, see [DescribeVpcs](https://help.aliyun.com/document_detail/35739.html).
|
|
12219
|
+
*
|
|
11954
12220
|
* @example
|
|
11955
12221
|
* vpc-uf66uio7md****
|
|
11956
12222
|
*/
|
|
@@ -12446,11 +12712,17 @@ export class DeleteAclPolicyRequestAclPolicyList extends $tea.Model {
|
|
|
12446
12712
|
|
|
12447
12713
|
export class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Model {
|
|
12448
12714
|
/**
|
|
12715
|
+
* @remarks
|
|
12716
|
+
* The region where the VPC peer resides.
|
|
12717
|
+
*
|
|
12449
12718
|
* @example
|
|
12450
12719
|
* cn-shanghai
|
|
12451
12720
|
*/
|
|
12452
12721
|
region?: string;
|
|
12453
12722
|
/**
|
|
12723
|
+
* @remarks
|
|
12724
|
+
* The ID of the VPC peer.
|
|
12725
|
+
*
|
|
12454
12726
|
* @example
|
|
12455
12727
|
* vpc-uf66uio7md****
|
|
12456
12728
|
*/
|
|
@@ -12474,6 +12746,56 @@ export class DeleteGatewayIntranetLinkedVpcPeerRequestPeerVpcs extends $tea.Mode
|
|
|
12474
12746
|
}
|
|
12475
12747
|
}
|
|
12476
12748
|
|
|
12749
|
+
export class DescribeGroupEndpointsResponseBodyEndpoints extends $tea.Model {
|
|
12750
|
+
/**
|
|
12751
|
+
* @example
|
|
12752
|
+
* gw-26340kjxjx8l3r****
|
|
12753
|
+
*/
|
|
12754
|
+
backendId?: string;
|
|
12755
|
+
/**
|
|
12756
|
+
* @example
|
|
12757
|
+
* PrivateGateway
|
|
12758
|
+
*/
|
|
12759
|
+
endpointType?: string;
|
|
12760
|
+
internetEndpoints?: string[];
|
|
12761
|
+
intranetEndpoints?: string[];
|
|
12762
|
+
/**
|
|
12763
|
+
* @example
|
|
12764
|
+
* Group
|
|
12765
|
+
*/
|
|
12766
|
+
pathType?: string;
|
|
12767
|
+
/**
|
|
12768
|
+
* @example
|
|
12769
|
+
* 9090
|
|
12770
|
+
*/
|
|
12771
|
+
port?: number;
|
|
12772
|
+
static names(): { [key: string]: string } {
|
|
12773
|
+
return {
|
|
12774
|
+
backendId: 'BackendId',
|
|
12775
|
+
endpointType: 'EndpointType',
|
|
12776
|
+
internetEndpoints: 'InternetEndpoints',
|
|
12777
|
+
intranetEndpoints: 'IntranetEndpoints',
|
|
12778
|
+
pathType: 'PathType',
|
|
12779
|
+
port: 'Port',
|
|
12780
|
+
};
|
|
12781
|
+
}
|
|
12782
|
+
|
|
12783
|
+
static types(): { [key: string]: any } {
|
|
12784
|
+
return {
|
|
12785
|
+
backendId: 'string',
|
|
12786
|
+
endpointType: 'string',
|
|
12787
|
+
internetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
12788
|
+
intranetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
12789
|
+
pathType: 'string',
|
|
12790
|
+
port: 'number',
|
|
12791
|
+
};
|
|
12792
|
+
}
|
|
12793
|
+
|
|
12794
|
+
constructor(map?: { [key: string]: any }) {
|
|
12795
|
+
super(map);
|
|
12796
|
+
}
|
|
12797
|
+
}
|
|
12798
|
+
|
|
12477
12799
|
export class DescribeServiceAutoScalerResponseBodyCurrentMetrics extends $tea.Model {
|
|
12478
12800
|
/**
|
|
12479
12801
|
* @remarks
|
|
@@ -12701,6 +13023,56 @@ export class DescribeServiceDiagnosisResponseBodyDiagnosisList extends $tea.Mode
|
|
|
12701
13023
|
}
|
|
12702
13024
|
}
|
|
12703
13025
|
|
|
13026
|
+
export class DescribeServiceEndpointsResponseBodyEndpoints extends $tea.Model {
|
|
13027
|
+
/**
|
|
13028
|
+
* @example
|
|
13029
|
+
* nlb-5q4sp7u6oorkha****
|
|
13030
|
+
*/
|
|
13031
|
+
backendId?: string;
|
|
13032
|
+
/**
|
|
13033
|
+
* @example
|
|
13034
|
+
* Nlb
|
|
13035
|
+
*/
|
|
13036
|
+
endpointType?: string;
|
|
13037
|
+
internetEndpoints?: string[];
|
|
13038
|
+
intranetEndpoints?: string[];
|
|
13039
|
+
/**
|
|
13040
|
+
* @example
|
|
13041
|
+
* Service
|
|
13042
|
+
*/
|
|
13043
|
+
pathType?: string;
|
|
13044
|
+
/**
|
|
13045
|
+
* @example
|
|
13046
|
+
* 9090
|
|
13047
|
+
*/
|
|
13048
|
+
port?: number;
|
|
13049
|
+
static names(): { [key: string]: string } {
|
|
13050
|
+
return {
|
|
13051
|
+
backendId: 'BackendId',
|
|
13052
|
+
endpointType: 'EndpointType',
|
|
13053
|
+
internetEndpoints: 'InternetEndpoints',
|
|
13054
|
+
intranetEndpoints: 'IntranetEndpoints',
|
|
13055
|
+
pathType: 'PathType',
|
|
13056
|
+
port: 'Port',
|
|
13057
|
+
};
|
|
13058
|
+
}
|
|
13059
|
+
|
|
13060
|
+
static types(): { [key: string]: any } {
|
|
13061
|
+
return {
|
|
13062
|
+
backendId: 'string',
|
|
13063
|
+
endpointType: 'string',
|
|
13064
|
+
internetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
13065
|
+
intranetEndpoints: { 'type': 'array', 'itemType': 'string' },
|
|
13066
|
+
pathType: 'string',
|
|
13067
|
+
port: 'number',
|
|
13068
|
+
};
|
|
13069
|
+
}
|
|
13070
|
+
|
|
13071
|
+
constructor(map?: { [key: string]: any }) {
|
|
13072
|
+
super(map);
|
|
13073
|
+
}
|
|
13074
|
+
}
|
|
13075
|
+
|
|
12704
13076
|
export class DescribeServiceEventResponseBodyEvents extends $tea.Model {
|
|
12705
13077
|
/**
|
|
12706
13078
|
* @remarks
|
|
@@ -13369,6 +13741,14 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
13369
13741
|
* 2
|
|
13370
13742
|
*/
|
|
13371
13743
|
replicas?: number;
|
|
13744
|
+
/**
|
|
13745
|
+
* @remarks
|
|
13746
|
+
* Specifies whether to enable HTTP to HTTPS redirection.
|
|
13747
|
+
*
|
|
13748
|
+
* @example
|
|
13749
|
+
* true
|
|
13750
|
+
*/
|
|
13751
|
+
SSLRedirectionEnabled?: boolean;
|
|
13372
13752
|
/**
|
|
13373
13753
|
* @remarks
|
|
13374
13754
|
* The state of the private gateway.
|
|
@@ -13407,6 +13787,7 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
13407
13787
|
intranetDomain: 'IntranetDomain',
|
|
13408
13788
|
isDefault: 'IsDefault',
|
|
13409
13789
|
replicas: 'Replicas',
|
|
13790
|
+
SSLRedirectionEnabled: 'SSLRedirectionEnabled',
|
|
13410
13791
|
status: 'Status',
|
|
13411
13792
|
updateTime: 'UpdateTime',
|
|
13412
13793
|
};
|
|
@@ -13424,6 +13805,7 @@ export class ListGatewayResponseBodyGateways extends $tea.Model {
|
|
|
13424
13805
|
intranetDomain: 'string',
|
|
13425
13806
|
isDefault: 'boolean',
|
|
13426
13807
|
replicas: 'number',
|
|
13808
|
+
SSLRedirectionEnabled: 'boolean',
|
|
13427
13809
|
status: 'string',
|
|
13428
13810
|
updateTime: 'string',
|
|
13429
13811
|
};
|
|
@@ -13579,11 +13961,17 @@ export class ListGatewayIntranetLinkedVpcResponseBodyIntranetLinkedVpcList exten
|
|
|
13579
13961
|
|
|
13580
13962
|
export class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs extends $tea.Model {
|
|
13581
13963
|
/**
|
|
13964
|
+
* @remarks
|
|
13965
|
+
* The region where the VPC peer resides.
|
|
13966
|
+
*
|
|
13582
13967
|
* @example
|
|
13583
13968
|
* cn-shanghai
|
|
13584
13969
|
*/
|
|
13585
13970
|
region?: string;
|
|
13586
13971
|
/**
|
|
13972
|
+
* @remarks
|
|
13973
|
+
* The ID of the VPC peer.
|
|
13974
|
+
*
|
|
13587
13975
|
* @example
|
|
13588
13976
|
* vpc-uf66uio7md****
|
|
13589
13977
|
*/
|
|
@@ -13608,8 +13996,15 @@ export class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs ext
|
|
|
13608
13996
|
}
|
|
13609
13997
|
|
|
13610
13998
|
export class ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcList extends $tea.Model {
|
|
13999
|
+
/**
|
|
14000
|
+
* @remarks
|
|
14001
|
+
* The ID of the VPC peers.
|
|
14002
|
+
*/
|
|
13611
14003
|
peerVpcs?: ListGatewayIntranetLinkedVpcPeerResponseBodyPeerVpcListPeerVpcs[];
|
|
13612
14004
|
/**
|
|
14005
|
+
* @remarks
|
|
14006
|
+
* The VPC ID.
|
|
14007
|
+
*
|
|
13613
14008
|
* @example
|
|
13614
14009
|
* vpc-2zetuli9ws0qgjd******
|
|
13615
14010
|
*/
|
|
@@ -14694,7 +15089,7 @@ export default class Client extends OpenApi {
|
|
|
14694
15089
|
}
|
|
14695
15090
|
|
|
14696
15091
|
/**
|
|
14697
|
-
*
|
|
15092
|
+
* Creates a VPC peering connection on an internal endpoint of a gateway.
|
|
14698
15093
|
*
|
|
14699
15094
|
* @param tmpReq - CreateGatewayIntranetLinkedVpcPeerRequest
|
|
14700
15095
|
* @param headers - map
|
|
@@ -14737,7 +15132,7 @@ export default class Client extends OpenApi {
|
|
|
14737
15132
|
}
|
|
14738
15133
|
|
|
14739
15134
|
/**
|
|
14740
|
-
*
|
|
15135
|
+
* Creates a VPC peering connection on an internal endpoint of a gateway.
|
|
14741
15136
|
*
|
|
14742
15137
|
* @param request - CreateGatewayIntranetLinkedVpcPeerRequest
|
|
14743
15138
|
* @returns CreateGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -15390,7 +15785,7 @@ export default class Client extends OpenApi {
|
|
|
15390
15785
|
}
|
|
15391
15786
|
|
|
15392
15787
|
/**
|
|
15393
|
-
*
|
|
15788
|
+
* Deletes a VPC peering connection from an internal endpoint of a gateway.
|
|
15394
15789
|
*
|
|
15395
15790
|
* @param tmpReq - DeleteGatewayIntranetLinkedVpcPeerRequest
|
|
15396
15791
|
* @param headers - map
|
|
@@ -15433,7 +15828,7 @@ export default class Client extends OpenApi {
|
|
|
15433
15828
|
}
|
|
15434
15829
|
|
|
15435
15830
|
/**
|
|
15436
|
-
*
|
|
15831
|
+
* Deletes a VPC peering connection from an internal endpoint of a gateway.
|
|
15437
15832
|
*
|
|
15438
15833
|
* @param request - DeleteGatewayIntranetLinkedVpcPeerRequest
|
|
15439
15834
|
* @returns DeleteGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -16027,6 +16422,41 @@ export default class Client extends OpenApi {
|
|
|
16027
16422
|
return await this.describeGroupWithOptions(ClusterId, GroupName, headers, runtime);
|
|
16028
16423
|
}
|
|
16029
16424
|
|
|
16425
|
+
/**
|
|
16426
|
+
* 获取群组端点列表
|
|
16427
|
+
*
|
|
16428
|
+
* @param headers - map
|
|
16429
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16430
|
+
* @returns DescribeGroupEndpointsResponse
|
|
16431
|
+
*/
|
|
16432
|
+
async describeGroupEndpointsWithOptions(ClusterId: string, GroupName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeGroupEndpointsResponse> {
|
|
16433
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16434
|
+
headers: headers,
|
|
16435
|
+
});
|
|
16436
|
+
let params = new $OpenApi.Params({
|
|
16437
|
+
action: "DescribeGroupEndpoints",
|
|
16438
|
+
version: "2021-07-01",
|
|
16439
|
+
protocol: "HTTPS",
|
|
16440
|
+
pathname: `/api/v2/groups/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GroupName)}/endpoints`,
|
|
16441
|
+
method: "GET",
|
|
16442
|
+
authType: "AK",
|
|
16443
|
+
style: "ROA",
|
|
16444
|
+
reqBodyType: "json",
|
|
16445
|
+
bodyType: "json",
|
|
16446
|
+
});
|
|
16447
|
+
return $tea.cast<DescribeGroupEndpointsResponse>(await this.callApi(params, req, runtime), new DescribeGroupEndpointsResponse({}));
|
|
16448
|
+
}
|
|
16449
|
+
|
|
16450
|
+
/**
|
|
16451
|
+
* 获取群组端点列表
|
|
16452
|
+
* @returns DescribeGroupEndpointsResponse
|
|
16453
|
+
*/
|
|
16454
|
+
async describeGroupEndpoints(ClusterId: string, GroupName: string): Promise<DescribeGroupEndpointsResponse> {
|
|
16455
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16456
|
+
let headers : {[key: string ]: string} = { };
|
|
16457
|
+
return await this.describeGroupEndpointsWithOptions(ClusterId, GroupName, headers, runtime);
|
|
16458
|
+
}
|
|
16459
|
+
|
|
16030
16460
|
/**
|
|
16031
16461
|
* Queries the information about a resource group.
|
|
16032
16462
|
*
|
|
@@ -16272,6 +16702,41 @@ export default class Client extends OpenApi {
|
|
|
16272
16702
|
return await this.describeServiceDiagnosisWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
16273
16703
|
}
|
|
16274
16704
|
|
|
16705
|
+
/**
|
|
16706
|
+
* 获取服务端点列表
|
|
16707
|
+
*
|
|
16708
|
+
* @param headers - map
|
|
16709
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16710
|
+
* @returns DescribeServiceEndpointsResponse
|
|
16711
|
+
*/
|
|
16712
|
+
async describeServiceEndpointsWithOptions(ClusterId: string, ServiceName: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<DescribeServiceEndpointsResponse> {
|
|
16713
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16714
|
+
headers: headers,
|
|
16715
|
+
});
|
|
16716
|
+
let params = new $OpenApi.Params({
|
|
16717
|
+
action: "DescribeServiceEndpoints",
|
|
16718
|
+
version: "2021-07-01",
|
|
16719
|
+
protocol: "HTTPS",
|
|
16720
|
+
pathname: `/api/v2/services/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(ServiceName)}/endpoints`,
|
|
16721
|
+
method: "GET",
|
|
16722
|
+
authType: "AK",
|
|
16723
|
+
style: "ROA",
|
|
16724
|
+
reqBodyType: "json",
|
|
16725
|
+
bodyType: "json",
|
|
16726
|
+
});
|
|
16727
|
+
return $tea.cast<DescribeServiceEndpointsResponse>(await this.callApi(params, req, runtime), new DescribeServiceEndpointsResponse({}));
|
|
16728
|
+
}
|
|
16729
|
+
|
|
16730
|
+
/**
|
|
16731
|
+
* 获取服务端点列表
|
|
16732
|
+
* @returns DescribeServiceEndpointsResponse
|
|
16733
|
+
*/
|
|
16734
|
+
async describeServiceEndpoints(ClusterId: string, ServiceName: string): Promise<DescribeServiceEndpointsResponse> {
|
|
16735
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16736
|
+
let headers : {[key: string ]: string} = { };
|
|
16737
|
+
return await this.describeServiceEndpointsWithOptions(ClusterId, ServiceName, headers, runtime);
|
|
16738
|
+
}
|
|
16739
|
+
|
|
16275
16740
|
/**
|
|
16276
16741
|
* Queries information about recent service deployment events.
|
|
16277
16742
|
*
|
|
@@ -16898,7 +17363,7 @@ export default class Client extends OpenApi {
|
|
|
16898
17363
|
}
|
|
16899
17364
|
|
|
16900
17365
|
/**
|
|
16901
|
-
*
|
|
17366
|
+
* Obtains a list of all VPC peering connections on internal endpoint of a gateway.
|
|
16902
17367
|
*
|
|
16903
17368
|
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
16904
17369
|
* @param headers - map
|
|
@@ -16931,7 +17396,7 @@ export default class Client extends OpenApi {
|
|
|
16931
17396
|
}
|
|
16932
17397
|
|
|
16933
17398
|
/**
|
|
16934
|
-
*
|
|
17399
|
+
* Obtains a list of all VPC peering connections on internal endpoint of a gateway.
|
|
16935
17400
|
*
|
|
16936
17401
|
* @param request - ListGatewayIntranetLinkedVpcPeerRequest
|
|
16937
17402
|
* @returns ListGatewayIntranetLinkedVpcPeerResponse
|
|
@@ -16942,6 +17407,41 @@ export default class Client extends OpenApi {
|
|
|
16942
17407
|
return await this.listGatewayIntranetLinkedVpcPeerWithOptions(ClusterId, GatewayId, request, headers, runtime);
|
|
16943
17408
|
}
|
|
16944
17409
|
|
|
17410
|
+
/**
|
|
17411
|
+
* Obtains the zones supported by a gateway within an intranet.
|
|
17412
|
+
*
|
|
17413
|
+
* @param headers - map
|
|
17414
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17415
|
+
* @returns ListGatewayIntranetSupportedZoneResponse
|
|
17416
|
+
*/
|
|
17417
|
+
async listGatewayIntranetSupportedZoneWithOptions(GatewayId: string, ClusterId: string, headers: {[key: string ]: string}, runtime: $Util.RuntimeOptions): Promise<ListGatewayIntranetSupportedZoneResponse> {
|
|
17418
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17419
|
+
headers: headers,
|
|
17420
|
+
});
|
|
17421
|
+
let params = new $OpenApi.Params({
|
|
17422
|
+
action: "ListGatewayIntranetSupportedZone",
|
|
17423
|
+
version: "2021-07-01",
|
|
17424
|
+
protocol: "HTTPS",
|
|
17425
|
+
pathname: `/api/v2/gateways/${OpenApiUtil.getEncodeParam(ClusterId)}/${OpenApiUtil.getEncodeParam(GatewayId)}/intranet_supported_zone`,
|
|
17426
|
+
method: "GET",
|
|
17427
|
+
authType: "AK",
|
|
17428
|
+
style: "ROA",
|
|
17429
|
+
reqBodyType: "json",
|
|
17430
|
+
bodyType: "json",
|
|
17431
|
+
});
|
|
17432
|
+
return $tea.cast<ListGatewayIntranetSupportedZoneResponse>(await this.callApi(params, req, runtime), new ListGatewayIntranetSupportedZoneResponse({}));
|
|
17433
|
+
}
|
|
17434
|
+
|
|
17435
|
+
/**
|
|
17436
|
+
* Obtains the zones supported by a gateway within an intranet.
|
|
17437
|
+
* @returns ListGatewayIntranetSupportedZoneResponse
|
|
17438
|
+
*/
|
|
17439
|
+
async listGatewayIntranetSupportedZone(GatewayId: string, ClusterId: string): Promise<ListGatewayIntranetSupportedZoneResponse> {
|
|
17440
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17441
|
+
let headers : {[key: string ]: string} = { };
|
|
17442
|
+
return await this.listGatewayIntranetSupportedZoneWithOptions(GatewayId, ClusterId, headers, runtime);
|
|
17443
|
+
}
|
|
17444
|
+
|
|
16945
17445
|
/**
|
|
16946
17446
|
* Queries created service groups.
|
|
16947
17447
|
*
|
|
@@ -18018,6 +18518,10 @@ export default class Client extends OpenApi {
|
|
|
18018
18518
|
body["EnableIntranet"] = request.enableIntranet;
|
|
18019
18519
|
}
|
|
18020
18520
|
|
|
18521
|
+
if (!Util.isUnset(request.enableSSLRedirection)) {
|
|
18522
|
+
body["EnableSSLRedirection"] = request.enableSSLRedirection;
|
|
18523
|
+
}
|
|
18524
|
+
|
|
18021
18525
|
if (!Util.isUnset(request.instanceType)) {
|
|
18022
18526
|
body["InstanceType"] = request.instanceType;
|
|
18023
18527
|
}
|