@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
|
@@ -13,9 +13,9 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
13
13
|
description?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The destination IPv4 CIDR block.
|
|
16
|
+
* The destination IPv4 CIDR block. CIDR blocks and IPv4 address range are supported.
|
|
17
17
|
*
|
|
18
|
-
* This parameter is used
|
|
18
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 10.0.0.0/8
|
|
@@ -23,19 +23,14 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
23
23
|
destCidrIp?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The protocol. The
|
|
27
|
-
*
|
|
26
|
+
* The protocol type. The value is case-insensitive. Valid values:
|
|
27
|
+
*
|
|
28
28
|
* - TCP.
|
|
29
|
-
*
|
|
30
29
|
* - UDP.
|
|
31
|
-
*
|
|
32
30
|
* - ICMP.
|
|
33
|
-
*
|
|
34
31
|
* - ICMPv6.
|
|
35
|
-
*
|
|
36
32
|
* - GRE.
|
|
37
|
-
*
|
|
38
|
-
* - ALL: All protocols are supported.
|
|
33
|
+
* - ALL: all protocols.
|
|
39
34
|
*
|
|
40
35
|
* @example
|
|
41
36
|
* TCP
|
|
@@ -43,11 +38,11 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
43
38
|
ipProtocol?: string;
|
|
44
39
|
/**
|
|
45
40
|
* @remarks
|
|
46
|
-
* The destination IPv6 CIDR block.
|
|
41
|
+
* The destination IPv6 CIDR block. CIDR blocks and IPv6 address range are supported.
|
|
47
42
|
*
|
|
48
|
-
* This parameter is used
|
|
43
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
49
44
|
*
|
|
50
|
-
* > This parameter is valid only for ECS instances that
|
|
45
|
+
* > This parameter is valid only for VPC-type ECS instances that support IPv6. You cannot specify both this parameter and `DestCidrIp`.
|
|
51
46
|
*
|
|
52
47
|
* @example
|
|
53
48
|
* 2001:db8:1233:1a00::***
|
|
@@ -55,9 +50,9 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
55
50
|
ipv6DestCidrIp?: string;
|
|
56
51
|
/**
|
|
57
52
|
* @remarks
|
|
58
|
-
* The source IPv6 CIDR block
|
|
53
|
+
* The source IPv6 Classless Inter-Domain Routing (CIDR) block from which you want to revoke access permissions. CIDR format and IPv6 address range are supported.
|
|
59
54
|
*
|
|
60
|
-
* > This parameter is valid only for
|
|
55
|
+
* > This parameter is valid only for VPC-type ECS instances that support IPv6. You cannot specify both this parameter and `SourceCidrIp`.
|
|
61
56
|
*
|
|
62
57
|
* @example
|
|
63
58
|
* 2001:db8:1234:1a00::***
|
|
@@ -65,17 +60,11 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
65
60
|
ipv6SourceCidrIp?: string;
|
|
66
61
|
/**
|
|
67
62
|
* @remarks
|
|
68
|
-
* The network interface controller (NIC) type of the security group rule
|
|
63
|
+
* The network interface controller (NIC) type of the security group rule. For VPC-type security groups, you do not need to set the network type. The default value is intranet, and only intranet is supported.
|
|
69
64
|
*
|
|
70
|
-
* -
|
|
71
|
-
*
|
|
72
|
-
* - intranet: internal NIC.
|
|
73
|
-
*
|
|
74
|
-
* If the security group resides in a VPC, this parameter is set to intranet by default and cannot be modified.
|
|
75
|
-
*
|
|
76
|
-
* If you specify `SourceGroupId` to delete inbound security group rules that reference the specified security group as an authorization object, you must set this parameter to intranet.
|
|
77
|
-
*
|
|
78
|
-
* Default value: internet.
|
|
65
|
+
* > The classic network feature has been taken offline. For details, see [Retirement notice](https://help.aliyun.com/document_detail/2833134.html). For classic network-type security group rules, valid values are:
|
|
66
|
+
* > - internet: public network interface controller (NIC).
|
|
67
|
+
* > - intranet: internal network interface controller (NIC).
|
|
79
68
|
*
|
|
80
69
|
* @example
|
|
81
70
|
* intranet
|
|
@@ -83,11 +72,10 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
83
72
|
nicType?: string;
|
|
84
73
|
/**
|
|
85
74
|
* @remarks
|
|
86
|
-
* The
|
|
87
|
-
*
|
|
88
|
-
* - accept:
|
|
89
|
-
*
|
|
90
|
-
* - drop: denies inbound access and returns no responses. In this case, the request times out or the connection cannot be established.
|
|
75
|
+
* The access permissions. Valid values:
|
|
76
|
+
*
|
|
77
|
+
* - accept: Accepts access.
|
|
78
|
+
* - drop: Deny access without returning any denial information. The request appears to timeout or the connection cannot be established.
|
|
91
79
|
*
|
|
92
80
|
* Default value: accept.
|
|
93
81
|
*
|
|
@@ -97,15 +85,12 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
97
85
|
policy?: string;
|
|
98
86
|
/**
|
|
99
87
|
* @remarks
|
|
100
|
-
* The destination
|
|
101
|
-
*
|
|
102
|
-
* -
|
|
103
|
-
*
|
|
104
|
-
* -
|
|
105
|
-
*
|
|
106
|
-
* - If you set IpProtocol to GRE, the port range is -1/-1.
|
|
107
|
-
*
|
|
108
|
-
* - If you set IpProtocol to ALL, the port range is -1/-1.
|
|
88
|
+
* The range of destination ports that correspond to the transport layer protocol. Valid values:
|
|
89
|
+
*
|
|
90
|
+
* - TCP/UDP: Valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
91
|
+
* - ICMP: -1/-1.
|
|
92
|
+
* - GRE: -1/-1.
|
|
93
|
+
* - ALL: -1/-1.
|
|
109
94
|
*
|
|
110
95
|
* @example
|
|
111
96
|
* 1/200
|
|
@@ -113,11 +98,13 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
113
98
|
portRange?: string;
|
|
114
99
|
/**
|
|
115
100
|
* @remarks
|
|
116
|
-
* The
|
|
101
|
+
* The port list ID.
|
|
102
|
+
*
|
|
103
|
+
* You can call `DescribePortRangeLists` to query available port list IDs.
|
|
117
104
|
*
|
|
118
|
-
*
|
|
105
|
+
* If you specify `Permissions.N.PortRange`, this parameter is ignored.
|
|
119
106
|
*
|
|
120
|
-
*
|
|
107
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
121
108
|
*
|
|
122
109
|
* @example
|
|
123
110
|
* prl-2ze9743****
|
|
@@ -125,7 +112,7 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
125
112
|
portRangeListId?: string;
|
|
126
113
|
/**
|
|
127
114
|
* @remarks
|
|
128
|
-
* The priority of the security group rule. A smaller value
|
|
115
|
+
* The priority of the security group rule. A smaller value indicates a higher priority. Valid values: 1 to 100.
|
|
129
116
|
*
|
|
130
117
|
* Default value: 1.
|
|
131
118
|
*
|
|
@@ -135,7 +122,7 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
135
122
|
priority?: string;
|
|
136
123
|
/**
|
|
137
124
|
* @remarks
|
|
138
|
-
* The source IPv4 CIDR block
|
|
125
|
+
* The source IPv4 Classless Inter-Domain Routing (CIDR) block from which you want to revoke access permissions. CIDR format and IPv4 address range are supported.
|
|
139
126
|
*
|
|
140
127
|
* @example
|
|
141
128
|
* 10.0.0.0/8
|
|
@@ -143,19 +130,19 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
143
130
|
sourceCidrIp?: string;
|
|
144
131
|
/**
|
|
145
132
|
* @remarks
|
|
146
|
-
* The ID of the source security group
|
|
133
|
+
* The ID of the source security group from which you want to revoke access permissions.
|
|
147
134
|
*
|
|
148
|
-
* -
|
|
135
|
+
* - Set at least one of `SourceGroupId`, `SourceCidrIp`, `Ipv6SourceCidrIp`, or `SourcePrefixListId`.
|
|
149
136
|
*
|
|
150
|
-
* - If you specify `SourceGroupId` but do not specify `SourceCidrIp` or `Ipv6SourceCidrIp
|
|
137
|
+
* - If you specify `SourceGroupId` but do not specify the `SourceCidrIp` or `Ipv6SourceCidrIp` parameter, set NicType to intranet.
|
|
151
138
|
*
|
|
152
|
-
* - If you specify both `SourceGroupId` and `SourceCidrIp`, `SourceCidrIp` takes precedence.
|
|
139
|
+
* - If you specify both `SourceGroupId` and `SourceCidrIp`, `SourceCidrIp` takes precedence by default.
|
|
153
140
|
*
|
|
154
|
-
*
|
|
141
|
+
* Note:
|
|
155
142
|
*
|
|
156
|
-
* - Advanced security groups do not support
|
|
143
|
+
* - Advanced security groups do not support authorization by security group access.
|
|
157
144
|
*
|
|
158
|
-
* -
|
|
145
|
+
* - A maximum of 20 security groups can be authorized for a basic security group.
|
|
159
146
|
*
|
|
160
147
|
* @example
|
|
161
148
|
* sg-bp67acfmxa123b****
|
|
@@ -163,11 +150,10 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
163
150
|
sourceGroupId?: string;
|
|
164
151
|
/**
|
|
165
152
|
* @remarks
|
|
166
|
-
* The Alibaba Cloud account that
|
|
167
|
-
*
|
|
168
|
-
* - If both `SourceGroupOwnerAccount` and `SourceGroupOwnerId` are empty, access control on another security group in your Alibaba Cloud account is removed.
|
|
153
|
+
* The Alibaba Cloud account that owns the source security group when you revoke a cross-account authorization security group rule.
|
|
169
154
|
*
|
|
170
|
-
* - If
|
|
155
|
+
* - If neither `SourceGroupOwnerAccount` nor `SourceGroupOwnerId` is set, the access permissions for another security group within your account are revoked.
|
|
156
|
+
* - If the `SourceCidrIp` parameter is set, the `SourceGroupOwnerAccount` parameter is ignored.
|
|
171
157
|
*
|
|
172
158
|
* @example
|
|
173
159
|
* Test@aliyun.com
|
|
@@ -175,11 +161,10 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
175
161
|
sourceGroupOwnerAccount?: string;
|
|
176
162
|
/**
|
|
177
163
|
* @remarks
|
|
178
|
-
* The ID of the Alibaba Cloud account that
|
|
164
|
+
* The ID of the Alibaba Cloud account that owns the source security group when you revoke a cross-account authorization security group rule.
|
|
179
165
|
*
|
|
180
|
-
* - If
|
|
181
|
-
*
|
|
182
|
-
* - If you specify `SourceCidrIp`, `SourceGroupOwnerId` is ignored.
|
|
166
|
+
* - If neither `SourceGroupOwnerId` nor `SourceGroupOwnerAccount` is set, the access permissions for another security group within your account are revoked.
|
|
167
|
+
* - If the `SourceCidrIp` parameter is set, the `SourceGroupOwnerId` parameter is ignored.
|
|
183
168
|
*
|
|
184
169
|
* @example
|
|
185
170
|
* 12345678910
|
|
@@ -187,17 +172,14 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
187
172
|
sourceGroupOwnerId?: number;
|
|
188
173
|
/**
|
|
189
174
|
* @remarks
|
|
190
|
-
* The source
|
|
191
|
-
*
|
|
192
|
-
* -
|
|
193
|
-
*
|
|
194
|
-
* -
|
|
195
|
-
*
|
|
196
|
-
* - If you set IpProtocol to GRE, the port range is -1/-1.
|
|
197
|
-
*
|
|
198
|
-
* - If you set IpProtocol to ALL, the port range is -1/-1.
|
|
175
|
+
* The range of source ports that correspond to the transport layer protocol. Valid values:
|
|
176
|
+
*
|
|
177
|
+
* - TCP/UDP: Valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
178
|
+
* - ICMP: -1/-1.
|
|
179
|
+
* - GRE: -1/-1.
|
|
180
|
+
* - ALL: -1/-1.
|
|
199
181
|
*
|
|
200
|
-
* This parameter is used
|
|
182
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
201
183
|
*
|
|
202
184
|
* @example
|
|
203
185
|
* 80/80
|
|
@@ -205,13 +187,13 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
205
187
|
sourcePortRange?: string;
|
|
206
188
|
/**
|
|
207
189
|
* @remarks
|
|
208
|
-
* The ID of the source prefix list
|
|
190
|
+
* The ID of the source prefix list from which you want to revoke access permissions. You can invoke [DescribePrefixLists](https://help.aliyun.com/document_detail/205046.html) to query available prefix list IDs.
|
|
209
191
|
*
|
|
210
|
-
*
|
|
192
|
+
* Note:
|
|
211
193
|
*
|
|
212
|
-
*
|
|
194
|
+
* If you specify `SourceCidrIp`, `Ipv6SourceCidrIp`, or `SourceGroupId`, this parameter is ignored.
|
|
213
195
|
*
|
|
214
|
-
*
|
|
196
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
215
197
|
*
|
|
216
198
|
* @example
|
|
217
199
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -271,7 +253,7 @@ export class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
271
253
|
export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
272
254
|
/**
|
|
273
255
|
* @remarks
|
|
274
|
-
*
|
|
256
|
+
* 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. The **ClientToken** value 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).
|
|
275
257
|
*
|
|
276
258
|
* @example
|
|
277
259
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -279,7 +261,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
279
261
|
clientToken?: string;
|
|
280
262
|
/**
|
|
281
263
|
* @remarks
|
|
282
|
-
*
|
|
264
|
+
* Deprecated. Use `Permissions.N.Description` to specify the rule description.
|
|
283
265
|
*
|
|
284
266
|
* @example
|
|
285
267
|
* This is description.
|
|
@@ -289,7 +271,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
289
271
|
description?: string;
|
|
290
272
|
/**
|
|
291
273
|
* @remarks
|
|
292
|
-
*
|
|
274
|
+
* Deprecated. Use `Permissions.N.DestCidrIp` to specify the destination IPv4 CIDR block.
|
|
293
275
|
*
|
|
294
276
|
* @example
|
|
295
277
|
* 10.0.0.0/8
|
|
@@ -299,7 +281,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
299
281
|
destCidrIp?: string;
|
|
300
282
|
/**
|
|
301
283
|
* @remarks
|
|
302
|
-
*
|
|
284
|
+
* Deprecated. Use `Permissions.N.IpProtocol` to specify the protocol type.
|
|
303
285
|
*
|
|
304
286
|
* @example
|
|
305
287
|
* ALL
|
|
@@ -309,7 +291,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
309
291
|
ipProtocol?: string;
|
|
310
292
|
/**
|
|
311
293
|
* @remarks
|
|
312
|
-
*
|
|
294
|
+
* Deprecated. Use `Permissions.N.Ipv6DestCidrIp` to specify the destination IPv6 CIDR block.
|
|
313
295
|
*
|
|
314
296
|
* @example
|
|
315
297
|
* 2001:db8:1233:1a00::***
|
|
@@ -319,7 +301,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
319
301
|
ipv6DestCidrIp?: string;
|
|
320
302
|
/**
|
|
321
303
|
* @remarks
|
|
322
|
-
*
|
|
304
|
+
* Deprecated. Use `Permissions.N.Ipv6SourceCidrIp` to specify the source IPv6 Classless Inter-Domain Routing (CIDR) block.
|
|
323
305
|
*
|
|
324
306
|
* @example
|
|
325
307
|
* 2001:db8:1234:1a00::***
|
|
@@ -329,7 +311,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
329
311
|
ipv6SourceCidrIp?: string;
|
|
330
312
|
/**
|
|
331
313
|
* @remarks
|
|
332
|
-
*
|
|
314
|
+
* Deprecated. Use `Permissions.N.NicType` to specify the network interface type.
|
|
333
315
|
*
|
|
334
316
|
* @example
|
|
335
317
|
* intranet
|
|
@@ -341,12 +323,12 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
341
323
|
ownerId?: number;
|
|
342
324
|
/**
|
|
343
325
|
* @remarks
|
|
344
|
-
* The security group rules.
|
|
326
|
+
* The security group rules. Array length: 0 to 100.
|
|
345
327
|
*/
|
|
346
328
|
permissions?: RevokeSecurityGroupRequestPermissions[];
|
|
347
329
|
/**
|
|
348
330
|
* @remarks
|
|
349
|
-
*
|
|
331
|
+
* Deprecated. Use `Permissions.N.Policy` to set the access permissions.
|
|
350
332
|
*
|
|
351
333
|
* @example
|
|
352
334
|
* accept
|
|
@@ -356,7 +338,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
356
338
|
policy?: string;
|
|
357
339
|
/**
|
|
358
340
|
* @remarks
|
|
359
|
-
*
|
|
341
|
+
* Deprecated. Use `Permissions.N.PortRange` to specify the port range.
|
|
360
342
|
*
|
|
361
343
|
* @example
|
|
362
344
|
* 1/200
|
|
@@ -366,7 +348,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
366
348
|
portRange?: string;
|
|
367
349
|
/**
|
|
368
350
|
* @remarks
|
|
369
|
-
*
|
|
351
|
+
* Deprecated. Use `Permissions.N.Priority` to specify the rule priority.
|
|
370
352
|
*
|
|
371
353
|
* @example
|
|
372
354
|
* 1
|
|
@@ -376,7 +358,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
376
358
|
priority?: string;
|
|
377
359
|
/**
|
|
378
360
|
* @remarks
|
|
379
|
-
* The region ID of the security group. You can call
|
|
361
|
+
* The region ID of the security group. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
380
362
|
*
|
|
381
363
|
* This parameter is required.
|
|
382
364
|
*
|
|
@@ -388,7 +370,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
388
370
|
resourceOwnerId?: number;
|
|
389
371
|
/**
|
|
390
372
|
* @remarks
|
|
391
|
-
* The
|
|
373
|
+
* The security group ID.
|
|
392
374
|
*
|
|
393
375
|
* This parameter is required.
|
|
394
376
|
*
|
|
@@ -398,12 +380,12 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
398
380
|
securityGroupId?: string;
|
|
399
381
|
/**
|
|
400
382
|
* @remarks
|
|
401
|
-
* The security group
|
|
383
|
+
* The IDs of security group rules. Array length: 0 to 100.
|
|
402
384
|
*/
|
|
403
385
|
securityGroupRuleId?: string[];
|
|
404
386
|
/**
|
|
405
387
|
* @remarks
|
|
406
|
-
*
|
|
388
|
+
* Deprecated. Use `Permissions.N.SourceCidrIp` to specify the source IPv4 Classless Inter-Domain Routing (CIDR) block.
|
|
407
389
|
*
|
|
408
390
|
* @example
|
|
409
391
|
* 10.0.0.0/8
|
|
@@ -413,7 +395,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
413
395
|
sourceCidrIp?: string;
|
|
414
396
|
/**
|
|
415
397
|
* @remarks
|
|
416
|
-
*
|
|
398
|
+
* Deprecated. Use `Permissions.N.SourceGroupId` to specify the source security group ID.
|
|
417
399
|
*
|
|
418
400
|
* @example
|
|
419
401
|
* sg-bp67acfmxa123b****
|
|
@@ -423,7 +405,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
423
405
|
sourceGroupId?: string;
|
|
424
406
|
/**
|
|
425
407
|
* @remarks
|
|
426
|
-
*
|
|
408
|
+
* Deprecated. Use `Permissions.N.SourceGroupOwnerAccount` to specify the Alibaba Cloud account that owns the source security group.
|
|
427
409
|
*
|
|
428
410
|
* @example
|
|
429
411
|
* Test@aliyun.com
|
|
@@ -433,7 +415,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
433
415
|
sourceGroupOwnerAccount?: string;
|
|
434
416
|
/**
|
|
435
417
|
* @remarks
|
|
436
|
-
*
|
|
418
|
+
* Deprecated. Use `Permissions.N.SourceGroupOwnerId` to specify the ID of the Alibaba Cloud account that owns the source security group.
|
|
437
419
|
*
|
|
438
420
|
* @example
|
|
439
421
|
* 12345678910
|
|
@@ -443,7 +425,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
443
425
|
sourceGroupOwnerId?: number;
|
|
444
426
|
/**
|
|
445
427
|
* @remarks
|
|
446
|
-
*
|
|
428
|
+
* Deprecated. Use `Permissions.N.SourcePortRange` to specify the source port range.
|
|
447
429
|
*
|
|
448
430
|
* @example
|
|
449
431
|
* 80/80
|
|
@@ -453,7 +435,7 @@ export class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
453
435
|
sourcePortRange?: string;
|
|
454
436
|
/**
|
|
455
437
|
* @remarks
|
|
456
|
-
*
|
|
438
|
+
* Deprecated. Use `Permissions.N.SourcePrefixListId` to specify the source prefix list ID.
|
|
457
439
|
*
|
|
458
440
|
* @example
|
|
459
441
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class StartTerminalSessionRequestEncryptionOptions extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Specifies whether to enable end-to-end encryption for the session connection.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* true
|
|
@@ -13,12 +13,10 @@ export class StartTerminalSessionRequestEncryptionOptions extends $dara.Model {
|
|
|
13
13
|
enabled?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* KMS key ID
|
|
17
|
-
*
|
|
18
|
-
*
|
|
16
|
+
* The KMS key ID.
|
|
17
|
+
* Note:
|
|
19
18
|
* - Only KMS symmetric keys are supported.
|
|
20
|
-
*
|
|
21
|
-
* - This parameter can be specified only when the encryption mode is Kms.
|
|
19
|
+
* - This parameter can be specified only when the encryption mode is set to Kms.
|
|
22
20
|
*
|
|
23
21
|
* @example
|
|
24
22
|
* xxx
|
|
@@ -26,16 +24,12 @@ export class StartTerminalSessionRequestEncryptionOptions extends $dara.Model {
|
|
|
26
24
|
KMSKeyId?: string;
|
|
27
25
|
/**
|
|
28
26
|
* @remarks
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* -
|
|
32
|
-
*
|
|
33
|
-
* - Kms: Use a KMS key to encrypt the session.
|
|
34
|
-
*
|
|
27
|
+
* The secret key encryption pattern. Valid values:
|
|
28
|
+
* - Auto: uses an automatically negotiated key to encrypt the session.
|
|
29
|
+
* - Kms: uses a KMS key to encrypt the session.
|
|
35
30
|
* - Default value: Auto.
|
|
36
31
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
32
|
+
* Note:
|
|
39
33
|
* - This parameter can be specified only when session encryption is enabled.
|
|
40
34
|
*
|
|
41
35
|
* @example
|
|
@@ -70,7 +64,7 @@ export class StartTerminalSessionRequestEncryptionOptions extends $dara.Model {
|
|
|
70
64
|
export class StartTerminalSessionRequest extends $dara.Model {
|
|
71
65
|
/**
|
|
72
66
|
* @remarks
|
|
73
|
-
*
|
|
67
|
+
* 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. The **ClientToken** value 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).
|
|
74
68
|
*
|
|
75
69
|
* @example
|
|
76
70
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -78,9 +72,9 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
78
72
|
clientToken?: string;
|
|
79
73
|
/**
|
|
80
74
|
* @remarks
|
|
81
|
-
* The command to run after the session is initiated. The command
|
|
75
|
+
* The command to run after the session is initiated. The command can be up to 512 characters in length.
|
|
82
76
|
*
|
|
83
|
-
* >
|
|
77
|
+
* > After you specify `CommandLine`, you cannot specify `PortNumber` or `TargetServer`.
|
|
84
78
|
*
|
|
85
79
|
* @example
|
|
86
80
|
* ssh root@192.168.0.246
|
|
@@ -88,11 +82,9 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
88
82
|
commandLine?: string;
|
|
89
83
|
/**
|
|
90
84
|
* @remarks
|
|
91
|
-
* The network type of the WebSocket URL required
|
|
92
|
-
*
|
|
93
|
-
* -
|
|
94
|
-
*
|
|
95
|
-
* - Intranet
|
|
85
|
+
* The network type of the WebSocket URL required for the remote connection to the instance. Valid values:
|
|
86
|
+
* - Internet: the Internet. This is the default value.
|
|
87
|
+
* - Intranet: the internal network.
|
|
96
88
|
*
|
|
97
89
|
* @example
|
|
98
90
|
* Intranet
|
|
@@ -100,12 +92,12 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
100
92
|
connectionType?: string;
|
|
101
93
|
/**
|
|
102
94
|
* @remarks
|
|
103
|
-
*
|
|
95
|
+
* The session encryption configuration.
|
|
104
96
|
*/
|
|
105
97
|
encryptionOptions?: StartTerminalSessionRequestEncryptionOptions;
|
|
106
98
|
/**
|
|
107
99
|
* @remarks
|
|
108
|
-
* The instance
|
|
100
|
+
* The instance ID list.
|
|
109
101
|
*
|
|
110
102
|
* This parameter is required.
|
|
111
103
|
*/
|
|
@@ -114,8 +106,8 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
114
106
|
ownerId?: number;
|
|
115
107
|
/**
|
|
116
108
|
* @remarks
|
|
117
|
-
* The
|
|
118
|
-
* When you want to use Session Manager on a Windows instance as a non-default user (System),
|
|
109
|
+
* The name of the password for the user when you use Session Manager on a Windows instance. The name can be up to 255 characters in length.
|
|
110
|
+
* When you want to use Session Manager on a Windows instance as a non-default user (System), specify both Username and this parameter. To reduce the risk of password leaks, store the plaintext password in the parameter repository of operations management and specify only the password name here. For more information, see [Encryption parameters](https://help.aliyun.com/document_detail/186828.html).
|
|
119
111
|
*
|
|
120
112
|
* @example
|
|
121
113
|
* axtSecretPassword
|
|
@@ -123,9 +115,9 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
123
115
|
passwordName?: string;
|
|
124
116
|
/**
|
|
125
117
|
* @remarks
|
|
126
|
-
* The port number of the ECS instance
|
|
118
|
+
* The port number of the ECS instance for data forwarding. After this parameter is specified, Cloud Assistant Agent forwards data to the specified port for port forwarding. For example, SSH uses port 22.
|
|
127
119
|
*
|
|
128
|
-
*
|
|
120
|
+
* Default value: empty, which indicates that no port number is specified for data forwarding.
|
|
129
121
|
*
|
|
130
122
|
* @example
|
|
131
123
|
* 22
|
|
@@ -133,7 +125,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
133
125
|
portNumber?: number;
|
|
134
126
|
/**
|
|
135
127
|
* @remarks
|
|
136
|
-
* The region ID. You can call
|
|
128
|
+
* The region ID of the instance. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list.
|
|
137
129
|
*
|
|
138
130
|
* This parameter is required.
|
|
139
131
|
*
|
|
@@ -145,9 +137,9 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
145
137
|
resourceOwnerId?: number;
|
|
146
138
|
/**
|
|
147
139
|
* @remarks
|
|
148
|
-
* The
|
|
140
|
+
* The address of the destination server in the VPC that you want to access through the instance.
|
|
149
141
|
*
|
|
150
|
-
* > If this parameter is not empty, `PortNumber` specifies the port number
|
|
142
|
+
* > If this parameter is not empty, `PortNumber` specifies the port number of the destination server in the VPC that you want to access through the managed instance.
|
|
151
143
|
*
|
|
152
144
|
* @example
|
|
153
145
|
* 192.168.0.246
|
|
@@ -155,7 +147,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
155
147
|
targetServer?: string;
|
|
156
148
|
/**
|
|
157
149
|
* @remarks
|
|
158
|
-
* The username used for connection
|
|
150
|
+
* The username used for the connection.
|
|
159
151
|
*
|
|
160
152
|
* @example
|
|
161
153
|
* testUser
|
|
@@ -13,7 +13,7 @@ export class StartTerminalSessionResponseBody extends $dara.Model {
|
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The security token
|
|
16
|
+
* The security token that is appended to the WebSocket request header for system verification of the request.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* d86c2df2-d19c-4bd8-b817-a19ef123****
|
|
@@ -29,7 +29,7 @@ export class StartTerminalSessionResponseBody extends $dara.Model {
|
|
|
29
29
|
sessionId?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The URL of the WebSocket session
|
|
32
|
+
* The URL of the WebSocket session for the remote connection to the ECS instance. The URL contains the session ID (`SessionId`) and the `SecurityToken` for system verification.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* wss://cn-hangzhou.axt.aliyuncs.com/session?sessionId=s-hz023od0x9****&token=d86c2df2-d19c-4bd8-b817-a19ef123****
|