@alicloud/ecs20140526 7.8.6 → 7.9.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 +843 -846
- package/dist/client.js +872 -842
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +3 -3
- package/dist/models/AssignIpv6addressesRequest.d.ts +7 -7
- package/dist/models/AssignIpv6addressesResponseBody.d.ts +1 -1
- package/dist/models/AssignPrivateIpAddressesRequest.d.ts +13 -16
- package/dist/models/AssignPrivateIpAddressesRequest.js.map +1 -1
- package/dist/models/AssignPrivateIpAddressesResponseBody.d.ts +2 -2
- package/dist/models/AttachNetworkInterfaceRequest.d.ts +6 -7
- package/dist/models/AttachNetworkInterfaceRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupEgressRequest.d.ts +73 -100
- package/dist/models/AuthorizeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupRequest.d.ts +70 -91
- package/dist/models/AuthorizeSecurityGroupRequest.js.map +1 -1
- package/dist/models/AuthorizeSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/CancelImagePipelineExecutionRequest.d.ts +2 -2
- package/dist/models/CreateActivationRequest.d.ts +17 -16
- package/dist/models/CreateActivationRequest.js.map +1 -1
- package/dist/models/CreateActivationResponseBody.d.ts +3 -3
- package/dist/models/CreateCommandRequest.d.ts +52 -73
- package/dist/models/CreateCommandRequest.js.map +1 -1
- package/dist/models/CreateCommandResponseBody.d.ts +2 -2
- package/dist/models/CreateDiskRequest.d.ts +57 -59
- package/dist/models/CreateDiskRequest.js.map +1 -1
- package/dist/models/CreateDiskResponseBody.d.ts +3 -3
- package/dist/models/CreateHpcClusterRequest.d.ts +5 -5
- package/dist/models/CreateHpcClusterResponseBody.d.ts +2 -2
- package/dist/models/CreateImageComponentRequest.d.ts +7 -7
- package/dist/models/CreateImageComponentResponseBody.d.ts +1 -1
- package/dist/models/CreateInstanceRequest.d.ts +184 -274
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreateInstanceResponseBody.d.ts +2 -2
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +215 -244
- package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionResponseBody.d.ts +2 -2
- package/dist/models/CreateSecurityGroupRequest.d.ts +13 -16
- package/dist/models/CreateSecurityGroupRequest.js.map +1 -1
- package/dist/models/CreateSecurityGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteHpcClusterRequest.d.ts +2 -2
- package/dist/models/DeleteImagePipelineRequest.d.ts +1 -1
- package/dist/models/DescribeAutoProvisioningGroupInstancesRequest.d.ts +5 -5
- package/dist/models/DescribeAutoProvisioningGroupInstancesResponseBody.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyExRequest.d.ts +11 -11
- package/dist/models/DescribeAutoSnapshotPolicyExResponseBody.d.ts +3 -3
- package/dist/models/DescribeAvailableResourceRequest.d.ts +50 -84
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +0 -4
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeDisksRequest.d.ts +40 -40
- package/dist/models/DescribeDisksResponseBody.d.ts +3 -3
- package/dist/models/DescribeImageComponentsRequest.d.ts +3 -3
- package/dist/models/DescribeImageComponentsResponseBody.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeRequest.d.ts +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +64 -96
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsRequest.d.ts +50 -85
- package/dist/models/DescribeInstanceHistoryEventsRequest.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +16 -18
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.d.ts +14 -0
- package/dist/models/DescribeInstanceTopologyResponseBody.js +28 -1
- package/dist/models/DescribeInstanceTopologyResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesRequest.d.ts +54 -68
- package/dist/models/DescribeInstancesRequest.js.map +1 -1
- package/dist/models/DescribeInstancesResponseBody.d.ts +5 -5
- package/dist/models/DescribeInvocationResultsRequest.d.ts +52 -69
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +6 -52
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +49 -76
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +5 -5
- package/dist/models/DescribeLaunchTemplateVersionsRequest.d.ts +14 -14
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +3 -3
- package/dist/models/DescribeNetworkInterfacePermissionsRequest.d.ts +4 -4
- package/dist/models/DescribePriceRequest.d.ts +158 -242
- package/dist/models/DescribePriceRequest.js.map +1 -1
- package/dist/models/DescribePriceResponseBody.d.ts +15 -15
- package/dist/models/DescribeRecommendInstanceTypeRequest.d.ts +45 -57
- package/dist/models/DescribeRecommendInstanceTypeRequest.js.map +1 -1
- package/dist/models/DescribeResourcesModificationRequest.d.ts +26 -37
- package/dist/models/DescribeResourcesModificationRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +17 -28
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +10 -9
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeSecurityGroupsRequest.d.ts +20 -20
- package/dist/models/DescribeSecurityGroupsResponseBody.d.ts +4 -4
- package/dist/models/DescribeSendFileResultsRequest.d.ts +21 -25
- package/dist/models/DescribeSendFileResultsRequest.js.map +1 -1
- package/dist/models/DescribeSendFileResultsResponseBody.d.ts +3 -3
- package/dist/models/DescribeSnapshotsRequest.d.ts +44 -59
- package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +4 -8
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryRequest.d.ts +22 -28
- package/dist/models/DescribeSpotPriceHistoryRequest.js.map +1 -1
- package/dist/models/DescribeSpotPriceHistoryResponseBody.d.ts +7 -3
- package/dist/models/DescribeSpotPriceHistoryResponseBody.js.map +1 -1
- package/dist/models/DescribeTerminalSessionsRequest.d.ts +3 -3
- package/dist/models/DescribeTerminalSessionsResponseBody.d.ts +1 -1
- package/dist/models/DescribeZonesRequest.d.ts +18 -28
- package/dist/models/DescribeZonesRequest.js.map +1 -1
- package/dist/models/DescribeZonesResponseBody.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputRequest.d.ts +1 -1
- package/dist/models/GetInstanceConsoleOutputResponseBody.d.ts +2 -2
- package/dist/models/ModifyHpcClusterAttributeRequest.d.ts +1 -1
- package/dist/models/ModifyInstanceAttributeRequest.d.ts +78 -106
- package/dist/models/ModifyInstanceAttributeRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkSpecRequest.d.ts +14 -14
- package/dist/models/ModifyInstanceNetworkSpecResponseBody.d.ts +1 -1
- package/dist/models/ModifyInstanceSpecRequest.d.ts +16 -16
- package/dist/models/ModifyPlanMaintenanceWindowRequest.d.ts +4 -4
- package/dist/models/ModifyPrepayInstanceSpecRequest.d.ts +28 -46
- package/dist/models/ModifyPrepayInstanceSpecRequest.js.map +1 -1
- package/dist/models/ModifyPrepayInstanceSpecResponseBody.d.ts +2 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +47 -46
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +27 -24
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/ModifySystemEventAttributeRequest.d.ts +45 -0
- package/dist/models/ModifySystemEventAttributeRequest.js +64 -0
- package/dist/models/ModifySystemEventAttributeRequest.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponse.d.ts +19 -0
- package/dist/models/ModifySystemEventAttributeResponse.js +69 -0
- package/dist/models/ModifySystemEventAttributeResponse.js.map +1 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.d.ts +18 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js +58 -0
- package/dist/models/ModifySystemEventAttributeResponseBody.js.map +1 -0
- package/dist/models/RenewElasticityAssurancesRequest.d.ts +28 -24
- package/dist/models/RenewElasticityAssurancesRequest.js.map +1 -1
- package/dist/models/RenewElasticityAssurancesResponseBody.d.ts +1 -1
- package/dist/models/RevokeSecurityGroupEgressRequest.d.ts +35 -37
- package/dist/models/RevokeSecurityGroupEgressRequest.js.map +1 -1
- package/dist/models/RevokeSecurityGroupRequest.d.ts +71 -89
- package/dist/models/RevokeSecurityGroupRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +24 -32
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionResponseBody.d.ts +2 -2
- package/dist/models/StartTerminalSessionShrinkRequest.d.ts +16 -18
- package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -1
- package/dist/models/StopInstanceRequest.d.ts +20 -27
- package/dist/models/StopInstanceRequest.js.map +1 -1
- package/dist/models/StopInstancesRequest.d.ts +24 -35
- package/dist/models/StopInstancesRequest.js.map +1 -1
- package/dist/models/UnassignIpv6addressesRequest.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +45 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +878 -842
- package/src/models/AcceptInquiredSystemEventRequest.ts +3 -3
- package/src/models/AssignIpv6addressesRequest.ts +7 -7
- package/src/models/AssignIpv6addressesResponseBody.ts +1 -1
- package/src/models/AssignPrivateIpAddressesRequest.ts +13 -16
- package/src/models/AssignPrivateIpAddressesResponseBody.ts +2 -2
- package/src/models/AttachNetworkInterfaceRequest.ts +6 -7
- package/src/models/AuthorizeSecurityGroupEgressRequest.ts +79 -106
- package/src/models/AuthorizeSecurityGroupRequest.ts +70 -91
- package/src/models/AuthorizeSecurityGroupResponseBody.ts +1 -1
- package/src/models/CancelImagePipelineExecutionRequest.ts +2 -2
- package/src/models/CreateActivationRequest.ts +17 -16
- package/src/models/CreateActivationResponseBody.ts +3 -3
- package/src/models/CreateCommandRequest.ts +52 -73
- package/src/models/CreateCommandResponseBody.ts +2 -2
- package/src/models/CreateDiskRequest.ts +57 -59
- package/src/models/CreateDiskResponseBody.ts +3 -3
- package/src/models/CreateHpcClusterRequest.ts +5 -5
- package/src/models/CreateHpcClusterResponseBody.ts +2 -2
- package/src/models/CreateImageComponentRequest.ts +7 -7
- package/src/models/CreateImageComponentResponseBody.ts +1 -1
- package/src/models/CreateInstanceRequest.ts +185 -275
- package/src/models/CreateInstanceResponseBody.ts +2 -2
- package/src/models/CreateLaunchTemplateVersionRequest.ts +215 -244
- package/src/models/CreateLaunchTemplateVersionResponseBody.ts +2 -2
- package/src/models/CreateSecurityGroupRequest.ts +13 -16
- package/src/models/CreateSecurityGroupResponseBody.ts +1 -1
- package/src/models/DeleteHpcClusterRequest.ts +2 -2
- package/src/models/DeleteImagePipelineRequest.ts +1 -1
- package/src/models/DescribeAutoProvisioningGroupInstancesRequest.ts +5 -5
- package/src/models/DescribeAutoProvisioningGroupInstancesResponseBody.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyExRequest.ts +11 -11
- package/src/models/DescribeAutoSnapshotPolicyExResponseBody.ts +3 -3
- package/src/models/DescribeAvailableResourceRequest.ts +62 -96
- package/src/models/DescribeAvailableResourceResponseBody.ts +0 -4
- package/src/models/DescribeDisksRequest.ts +40 -40
- package/src/models/DescribeDisksResponseBody.ts +3 -3
- package/src/models/DescribeImageComponentsRequest.ts +3 -3
- package/src/models/DescribeImageComponentsResponseBody.ts +1 -1
- package/src/models/DescribeInstanceAttributeRequest.ts +1 -1
- package/src/models/DescribeInstanceAttributeResponseBody.ts +66 -98
- package/src/models/DescribeInstanceHistoryEventsRequest.ts +50 -85
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +18 -18
- package/src/models/DescribeInstanceTopologyResponseBody.ts +32 -0
- package/src/models/DescribeInstancesRequest.ts +57 -71
- package/src/models/DescribeInstancesResponseBody.ts +5 -5
- package/src/models/DescribeInvocationResultsRequest.ts +52 -69
- package/src/models/DescribeInvocationResultsResponseBody.ts +6 -52
- package/src/models/DescribeInvocationsRequest.ts +50 -77
- package/src/models/DescribeInvocationsResponseBody.ts +5 -5
- package/src/models/DescribeLaunchTemplateVersionsRequest.ts +14 -14
- package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +3 -3
- package/src/models/DescribeNetworkInterfacePermissionsRequest.ts +4 -4
- package/src/models/DescribePriceRequest.ts +160 -244
- package/src/models/DescribePriceResponseBody.ts +15 -15
- package/src/models/DescribeRecommendInstanceTypeRequest.ts +45 -57
- package/src/models/DescribeResourcesModificationRequest.ts +30 -41
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +18 -29
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +11 -10
- package/src/models/DescribeSecurityGroupsRequest.ts +21 -21
- package/src/models/DescribeSecurityGroupsResponseBody.ts +4 -4
- package/src/models/DescribeSendFileResultsRequest.ts +21 -25
- package/src/models/DescribeSendFileResultsResponseBody.ts +3 -3
- package/src/models/DescribeSnapshotsRequest.ts +48 -63
- package/src/models/DescribeSnapshotsResponseBody.ts +4 -8
- package/src/models/DescribeSpotPriceHistoryRequest.ts +22 -28
- package/src/models/DescribeSpotPriceHistoryResponseBody.ts +7 -3
- package/src/models/DescribeTerminalSessionsRequest.ts +3 -3
- package/src/models/DescribeTerminalSessionsResponseBody.ts +1 -1
- package/src/models/DescribeZonesRequest.ts +20 -30
- package/src/models/DescribeZonesResponseBody.ts +1 -1
- package/src/models/GetInstanceConsoleOutputRequest.ts +1 -1
- package/src/models/GetInstanceConsoleOutputResponseBody.ts +2 -2
- package/src/models/ModifyHpcClusterAttributeRequest.ts +1 -1
- package/src/models/ModifyInstanceAttributeRequest.ts +80 -108
- package/src/models/ModifyInstanceNetworkSpecRequest.ts +14 -14
- package/src/models/ModifyInstanceNetworkSpecResponseBody.ts +1 -1
- package/src/models/ModifyInstanceSpecRequest.ts +16 -16
- package/src/models/ModifyPlanMaintenanceWindowRequest.ts +4 -4
- package/src/models/ModifyPrepayInstanceSpecRequest.ts +28 -46
- package/src/models/ModifyPrepayInstanceSpecResponseBody.ts +2 -2
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +47 -46
- package/src/models/ModifySecurityGroupRuleRequest.ts +27 -24
- package/src/models/ModifySystemEventAttributeRequest.ts +64 -0
- package/src/models/ModifySystemEventAttributeResponse.ts +40 -0
- package/src/models/ModifySystemEventAttributeResponseBody.ts +31 -0
- package/src/models/RenewElasticityAssurancesRequest.ts +28 -24
- package/src/models/RenewElasticityAssurancesResponseBody.ts +1 -1
- package/src/models/RevokeSecurityGroupEgressRequest.ts +35 -37
- package/src/models/RevokeSecurityGroupRequest.ts +75 -93
- package/src/models/StartTerminalSessionRequest.ts +24 -32
- package/src/models/StartTerminalSessionResponseBody.ts +2 -2
- package/src/models/StartTerminalSessionShrinkRequest.ts +16 -18
- package/src/models/StopInstanceRequest.ts +21 -28
- package/src/models/StopInstancesRequest.ts +25 -36
- package/src/models/UnassignIpv6addressesRequest.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySystemEventAttributeRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* e-2zeielxl1qzq8slb****
|
|
12
|
+
*/
|
|
13
|
+
eventId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* This parameter is required.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* i-bp67acfmxazb4p****
|
|
20
|
+
*/
|
|
21
|
+
instanceId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* This parameter is required.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 2026-06-30T00:00:00Z
|
|
28
|
+
*/
|
|
29
|
+
notBefore?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* cn-hangzhou
|
|
36
|
+
*/
|
|
37
|
+
regionId?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
eventId: 'EventId',
|
|
41
|
+
instanceId: 'InstanceId',
|
|
42
|
+
notBefore: 'NotBefore',
|
|
43
|
+
regionId: 'RegionId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
eventId: 'string',
|
|
50
|
+
instanceId: 'string',
|
|
51
|
+
notBefore: 'string',
|
|
52
|
+
regionId: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifySystemEventAttributeResponseBody } from "./ModifySystemEventAttributeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifySystemEventAttributeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifySystemEventAttributeResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ModifySystemEventAttributeResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySystemEventAttributeResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'RequestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class RenewElasticityAssurancesRequestPrivatePoolOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The list of elasticity assurance service IDs.
|
|
9
9
|
*
|
|
10
|
-
* **
|
|
10
|
+
* **Limit**: You can renew up to 20 elasticity assurance services at a time.
|
|
11
11
|
*
|
|
12
|
-
* You can call
|
|
12
|
+
* You can call [DescribeElasticityAssurances](https://help.aliyun.com/document_detail/2679748.html) to query purchased elasticity assurance services.
|
|
13
13
|
*/
|
|
14
14
|
id?: string[];
|
|
15
15
|
static names(): { [key: string]: string } {
|
|
@@ -41,10 +41,8 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
43
|
* Specifies whether to enable automatic payment. Valid values:
|
|
44
|
-
*
|
|
45
|
-
* -
|
|
46
|
-
*
|
|
47
|
-
* - false
|
|
44
|
+
* - true: Automatic payment is enabled.
|
|
45
|
+
* - false: Automatic payment is not enabled.
|
|
48
46
|
*
|
|
49
47
|
* Default value: true.
|
|
50
48
|
*
|
|
@@ -54,11 +52,11 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
54
52
|
autoPay?: boolean;
|
|
55
53
|
/**
|
|
56
54
|
* @remarks
|
|
57
|
-
* Specifies whether to enable auto-renewal
|
|
55
|
+
* Specifies whether to enable auto-renewal. Valid values:
|
|
58
56
|
*
|
|
59
|
-
* - true
|
|
57
|
+
* - true: Auto-renewal is enabled.
|
|
60
58
|
*
|
|
61
|
-
* - false
|
|
59
|
+
* - false: Auto-renewal is not enabled.
|
|
62
60
|
*
|
|
63
61
|
* Default value: false.
|
|
64
62
|
*
|
|
@@ -68,13 +66,14 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
68
66
|
autoRenew?: boolean;
|
|
69
67
|
/**
|
|
70
68
|
* @remarks
|
|
71
|
-
* The auto-renewal period. Unit:
|
|
69
|
+
* The auto-renewal period. Unit: months. Valid values: 1, 2, 3, 6, 12, 24, and 36.
|
|
70
|
+
*
|
|
71
|
+
* - When `PeriodUnit=Month`, the default value is 1.
|
|
72
72
|
*
|
|
73
|
-
* -
|
|
73
|
+
* - When `PeriodUnit=Year`, the default value is 12.
|
|
74
74
|
*
|
|
75
|
-
* - If you set `PeriodUnit` to Year, the default value is 12.
|
|
76
75
|
*
|
|
77
|
-
* >
|
|
76
|
+
* >This parameter is required when `AutoRenew` is set to `true`.
|
|
78
77
|
*
|
|
79
78
|
* @example
|
|
80
79
|
* 1
|
|
@@ -82,9 +81,9 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
82
81
|
autoRenewPeriod?: number;
|
|
83
82
|
/**
|
|
84
83
|
* @remarks
|
|
85
|
-
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but
|
|
84
|
+
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests.
|
|
86
85
|
*
|
|
87
|
-
*
|
|
86
|
+
* `ClientToken` supports only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
88
87
|
*
|
|
89
88
|
* @example
|
|
90
89
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -94,11 +93,14 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
94
93
|
ownerId?: number;
|
|
95
94
|
/**
|
|
96
95
|
* @remarks
|
|
97
|
-
* The renewal
|
|
96
|
+
* The renewal period. The unit of the renewal period is determined by the `PeriodUnit` parameter. Valid values:
|
|
98
97
|
*
|
|
99
|
-
* -
|
|
98
|
+
* - When `PeriodUnit` is set to `Weekly`: 1, 2, and 3.
|
|
100
99
|
*
|
|
101
|
-
*
|
|
100
|
+
*
|
|
101
|
+
* - When `PeriodUnit` is set to `Month`: 1, 2, 3, 4, 5, 6, 7, 8, and 9.
|
|
102
|
+
*
|
|
103
|
+
* - When `PeriodUnit` is set to `Year`: 1, 2, 3, 4, and 5.
|
|
102
104
|
*
|
|
103
105
|
* Default value: 1.
|
|
104
106
|
*
|
|
@@ -108,11 +110,13 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
108
110
|
period?: number;
|
|
109
111
|
/**
|
|
110
112
|
* @remarks
|
|
111
|
-
* The unit of the renewal
|
|
113
|
+
* The unit of the renewal period. Valid values:
|
|
114
|
+
*
|
|
115
|
+
* - Weekly: week
|
|
112
116
|
*
|
|
113
|
-
* - Month
|
|
117
|
+
* - Month: month
|
|
114
118
|
*
|
|
115
|
-
* - Year
|
|
119
|
+
* - Year: year
|
|
116
120
|
*
|
|
117
121
|
* Default value: Year.
|
|
118
122
|
*
|
|
@@ -122,9 +126,9 @@ export class RenewElasticityAssurancesRequest extends $dara.Model {
|
|
|
122
126
|
periodUnit?: string;
|
|
123
127
|
/**
|
|
124
128
|
* @remarks
|
|
125
|
-
* The region ID of the elasticity assurance.
|
|
129
|
+
* The region ID of the elasticity assurance service.
|
|
126
130
|
*
|
|
127
|
-
* You can call
|
|
131
|
+
* You can call [DescribeRegions](https://help.aliyun.com/document_detail/2680071.html) to query the most recent region list.
|
|
128
132
|
*
|
|
129
133
|
* @example
|
|
130
134
|
* cn-hangzhou
|
|
@@ -31,7 +31,7 @@ export class RenewElasticityAssurancesResponseBodyPrivatePoolOptionsIdSet extend
|
|
|
31
31
|
export class RenewElasticityAssurancesResponseBody extends $dara.Model {
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The
|
|
34
|
+
* The renewal order ID.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* 182372800****
|
|
@@ -13,7 +13,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The destination IPv4 Classless Inter-Domain Routing (CIDR) block for which you want to revoke access permissions.
|
|
16
|
+
* The destination IPv4 Classless Inter-Domain Routing (CIDR) block for which you want to revoke access permissions. The format supports both CIDR blocks and IPv4 address ranges.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 10.0.0.0/8
|
|
@@ -24,8 +24,8 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
24
24
|
* The ID of the destination security group for which you want to revoke access permissions.
|
|
25
25
|
*
|
|
26
26
|
* - Specify at least one of `DestGroupId`, `DestCidrIp`, `Ipv6DestCidrIp`, or `DestPrefixListId`.
|
|
27
|
-
* - If
|
|
28
|
-
* - If
|
|
27
|
+
* - If `DestGroupId` is specified but `DestCidrIp` is not, the `NicType` parameter can only be set to intranet.
|
|
28
|
+
* - If both `DestGroupId` and `DestCidrIp` are specified, `DestCidrIp` takes precedence.
|
|
29
29
|
*
|
|
30
30
|
* Note:
|
|
31
31
|
*
|
|
@@ -40,7 +40,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
40
40
|
* @remarks
|
|
41
41
|
* The Alibaba Cloud account that manages the destination security group when you revoke a cross-account authorization security group rule.
|
|
42
42
|
*
|
|
43
|
-
* - If neither `DestGroupOwnerAccount` nor `DestGroupOwnerId` is
|
|
43
|
+
* - If neither `DestGroupOwnerAccount` nor `DestGroupOwnerId` is specified, the access permissions for another security group within your account are revoked. Settings for cross-account scenarios require this parameter.
|
|
44
44
|
* - If `DestCidrIp` is specified, this parameter is ignored.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
@@ -51,7 +51,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
51
51
|
* @remarks
|
|
52
52
|
* The ID of the Alibaba Cloud account that manages the destination security group when you revoke a cross-account authorization security group rule.
|
|
53
53
|
*
|
|
54
|
-
* - If neither `DestGroupOwnerId` nor `DestGroupOwnerAccount` is
|
|
54
|
+
* - If neither `DestGroupOwnerId` nor `DestGroupOwnerAccount` is specified, the access permissions for another security group within your account are revoked. Settings for cross-account scenarios require this parameter.
|
|
55
55
|
* - If `DestCidrIp` is specified, this parameter is ignored.
|
|
56
56
|
*
|
|
57
57
|
* @example
|
|
@@ -60,12 +60,13 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
60
60
|
destGroupOwnerId?: string;
|
|
61
61
|
/**
|
|
62
62
|
* @remarks
|
|
63
|
-
* The ID of the destination prefix list for which you want to revoke access permissions. You can
|
|
63
|
+
* The ID of the destination prefix list for which you want to revoke access permissions. You can call [DescribePrefixLists](https://help.aliyun.com/document_detail/205046.html) to query available prefix list IDs.
|
|
64
64
|
*
|
|
65
65
|
* Note:
|
|
66
66
|
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
67
|
+
* If one of `DestCidrIp`, `Ipv6DestCidrIp`, or `DestGroupId` is specified, this parameter is ignored.
|
|
68
|
+
*
|
|
69
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
69
70
|
*
|
|
70
71
|
* @example
|
|
71
72
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -88,9 +89,9 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
88
89
|
ipProtocol?: string;
|
|
89
90
|
/**
|
|
90
91
|
* @remarks
|
|
91
|
-
* The destination IPv6 Classless Inter-Domain Routing (CIDR) block for which you want to revoke access permissions.
|
|
92
|
+
* The destination IPv6 Classless Inter-Domain Routing (CIDR) block for which you want to revoke access permissions. The format supports both CIDR blocks and IPv6 address ranges.
|
|
92
93
|
*
|
|
93
|
-
* > This parameter is valid only for ECS instances that
|
|
94
|
+
* > This parameter is valid only for VPC-connected ECS instances that support IPv6 and cannot be specified together with the `DestCidrIp` parameter. Settings for IPv6 destinations use this parameter exclusively.
|
|
94
95
|
*
|
|
95
96
|
* @example
|
|
96
97
|
* 2001:db8:1233:1a00::***
|
|
@@ -98,11 +99,11 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
98
99
|
ipv6DestCidrIp?: string;
|
|
99
100
|
/**
|
|
100
101
|
* @remarks
|
|
101
|
-
* The source IPv6 CIDR block. CIDR
|
|
102
|
+
* The source IPv6 CIDR block. CIDR blocks and IPv6 address ranges are supported.
|
|
102
103
|
*
|
|
103
|
-
* This parameter is used
|
|
104
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
104
105
|
*
|
|
105
|
-
* > This parameter is valid only for ECS instances that
|
|
106
|
+
* > This parameter is valid only for VPC-connected ECS instances that support IPv6 and cannot be specified together with the `DestCidrIp` parameter. Settings for IPv6 sources use this parameter exclusively.
|
|
106
107
|
*
|
|
107
108
|
* @example
|
|
108
109
|
* 2001:db8:1234:1a00::***
|
|
@@ -110,16 +111,11 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
110
111
|
ipv6SourceCidrIp?: string;
|
|
111
112
|
/**
|
|
112
113
|
* @remarks
|
|
113
|
-
* The network interface controller (NIC) type of the security group rule
|
|
114
|
-
*
|
|
115
|
-
* - internet: public NIC.
|
|
116
|
-
* - intranet: internal NIC.
|
|
117
|
-
*
|
|
118
|
-
* For VPC-type security group rules, you do not need to configure the NIC type in Settings. The default value is intranet, and only intranet is supported.
|
|
114
|
+
* The network interface controller (NIC) type of the security group rule. For VPC-type security groups, you do not need to configure the network interface controller (NIC) type. The default value is intranet and only intranet is supported. Settings for VPC-type security groups ignore this parameter.
|
|
119
115
|
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
116
|
+
* > The classic network feature has been taken offline. For details, see [Discontinuation notice](https://help.aliyun.com/document_detail/2833134.html). The network interface controller (NIC) type for classic network-type security group rules. Valid values:
|
|
117
|
+
* > - internet: public network interface controller (NIC).
|
|
118
|
+
* > - intranet: internal network interface controller (NIC).
|
|
123
119
|
*
|
|
124
120
|
* @example
|
|
125
121
|
* intranet
|
|
@@ -130,7 +126,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
130
126
|
* The access permissions. Valid values:
|
|
131
127
|
*
|
|
132
128
|
* - accept: Accepts access.
|
|
133
|
-
* - drop: Denies access
|
|
129
|
+
* - drop: Denies access and returns no deny information. The request timeout or the connection cannot be established.
|
|
134
130
|
*
|
|
135
131
|
* Default value: accept.
|
|
136
132
|
*
|
|
@@ -140,7 +136,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
140
136
|
policy?: string;
|
|
141
137
|
/**
|
|
142
138
|
* @remarks
|
|
143
|
-
* The range of destination ports that correspond to the transport layer protocol
|
|
139
|
+
* The range of destination ports that correspond to the transport layer protocol. Valid values:
|
|
144
140
|
*
|
|
145
141
|
* - TCP/UDP: Valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
146
142
|
* - ICMP: -1/-1.
|
|
@@ -154,9 +150,11 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
154
150
|
/**
|
|
155
151
|
* @remarks
|
|
156
152
|
* The port list ID.
|
|
157
|
-
* You can
|
|
158
|
-
*
|
|
159
|
-
*
|
|
153
|
+
* You can call `DescribePortRangeLists` to query available port list IDs.
|
|
154
|
+
*
|
|
155
|
+
* If `Permissions.N.PortRange` is specified, this parameter is ignored.
|
|
156
|
+
*
|
|
157
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
160
158
|
*
|
|
161
159
|
* @example
|
|
162
160
|
* prl-2ze9743****
|
|
@@ -174,9 +172,9 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
174
172
|
priority?: string;
|
|
175
173
|
/**
|
|
176
174
|
* @remarks
|
|
177
|
-
* The source IPv4 CIDR block. CIDR
|
|
175
|
+
* The source IPv4 CIDR block. CIDR blocks and IPv4 address ranges are supported.
|
|
178
176
|
*
|
|
179
|
-
* This parameter is used
|
|
177
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
180
178
|
*
|
|
181
179
|
* @example
|
|
182
180
|
* 10.0.0.0/8
|
|
@@ -184,14 +182,14 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
184
182
|
sourceCidrIp?: string;
|
|
185
183
|
/**
|
|
186
184
|
* @remarks
|
|
187
|
-
* The range of source ports that correspond to the transport layer protocol
|
|
185
|
+
* The range of source ports that correspond to the transport layer protocol. Valid values:
|
|
188
186
|
*
|
|
189
187
|
* - TCP/UDP: Valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
190
188
|
* - ICMP: -1/-1.
|
|
191
189
|
* - GRE: -1/-1.
|
|
192
190
|
* - ALL: -1/-1.
|
|
193
191
|
*
|
|
194
|
-
* This parameter is used
|
|
192
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
195
193
|
*
|
|
196
194
|
* @example
|
|
197
195
|
* 22/22
|
|
@@ -251,7 +249,7 @@ export class RevokeSecurityGroupEgressRequestPermissions extends $dara.Model {
|
|
|
251
249
|
export class RevokeSecurityGroupEgressRequest extends $dara.Model {
|
|
252
250
|
/**
|
|
253
251
|
* @remarks
|
|
254
|
-
* A client token
|
|
252
|
+
* A client token used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. **ClientToken** can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
|
|
255
253
|
*
|
|
256
254
|
* @example
|
|
257
255
|
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
@@ -309,7 +307,7 @@ export class RevokeSecurityGroupEgressRequest extends $dara.Model {
|
|
|
309
307
|
destGroupOwnerId?: number;
|
|
310
308
|
/**
|
|
311
309
|
* @remarks
|
|
312
|
-
* Deprecated. Use `Permissions.N.DestPrefixListId` to specify the
|
|
310
|
+
* Deprecated. Use `Permissions.N.DestPrefixListId` to specify the source prefix list ID.
|
|
313
311
|
*
|
|
314
312
|
* @example
|
|
315
313
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -349,7 +347,7 @@ export class RevokeSecurityGroupEgressRequest extends $dara.Model {
|
|
|
349
347
|
ipv6SourceCidrIp?: string;
|
|
350
348
|
/**
|
|
351
349
|
* @remarks
|
|
352
|
-
* Deprecated. Use `Permissions.N.NicType` to specify the
|
|
350
|
+
* Deprecated. Use `Permissions.N.NicType` to specify the NIC type.
|
|
353
351
|
*
|
|
354
352
|
* @example
|
|
355
353
|
* intranet
|
|
@@ -361,12 +359,12 @@ export class RevokeSecurityGroupEgressRequest extends $dara.Model {
|
|
|
361
359
|
ownerId?: number;
|
|
362
360
|
/**
|
|
363
361
|
* @remarks
|
|
364
|
-
* The
|
|
362
|
+
* The security group rules. Array length: 0 to 100.
|
|
365
363
|
*/
|
|
366
364
|
permissions?: RevokeSecurityGroupEgressRequestPermissions[];
|
|
367
365
|
/**
|
|
368
366
|
* @remarks
|
|
369
|
-
* Deprecated. Use `Permissions.N.Policy` to configure the access permissions
|
|
367
|
+
* Deprecated. Use `Permissions.N.Policy` to configure the Settings for access permissions.
|
|
370
368
|
*
|
|
371
369
|
* @example
|
|
372
370
|
* accept
|
|
@@ -418,7 +416,7 @@ export class RevokeSecurityGroupEgressRequest extends $dara.Model {
|
|
|
418
416
|
securityGroupId?: string;
|
|
419
417
|
/**
|
|
420
418
|
* @remarks
|
|
421
|
-
* The
|
|
419
|
+
* The IDs of security group rules. Array length: 0 to 100.
|
|
422
420
|
*/
|
|
423
421
|
securityGroupRuleId?: string[];
|
|
424
422
|
/**
|