@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
|
@@ -10,9 +10,9 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
10
10
|
description?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The destination IPv4 CIDR block.
|
|
13
|
+
* The destination IPv4 CIDR block. CIDR blocks and IPv4 address range are supported.
|
|
14
14
|
*
|
|
15
|
-
* This parameter is used
|
|
15
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* 10.0.0.0/8
|
|
@@ -20,19 +20,14 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
20
20
|
destCidrIp?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The protocol. The
|
|
23
|
+
* The protocol type. The value is case-insensitive. Valid values:
|
|
24
24
|
*
|
|
25
25
|
* - TCP.
|
|
26
|
-
*
|
|
27
26
|
* - UDP.
|
|
28
|
-
*
|
|
29
27
|
* - ICMP.
|
|
30
|
-
*
|
|
31
28
|
* - ICMPv6.
|
|
32
|
-
*
|
|
33
29
|
* - GRE.
|
|
34
|
-
*
|
|
35
|
-
* - ALL: All protocols are supported.
|
|
30
|
+
* - ALL: all protocols.
|
|
36
31
|
*
|
|
37
32
|
* @example
|
|
38
33
|
* TCP
|
|
@@ -40,11 +35,11 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
40
35
|
ipProtocol?: string;
|
|
41
36
|
/**
|
|
42
37
|
* @remarks
|
|
43
|
-
* The destination IPv6 CIDR block.
|
|
38
|
+
* The destination IPv6 CIDR block. CIDR blocks and IPv6 address range are supported.
|
|
44
39
|
*
|
|
45
|
-
* This parameter is used
|
|
40
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
46
41
|
*
|
|
47
|
-
* > This parameter is valid only for ECS instances that
|
|
42
|
+
* > This parameter is valid only for VPC-type ECS instances that support IPv6. You cannot specify both this parameter and `DestCidrIp`.
|
|
48
43
|
*
|
|
49
44
|
* @example
|
|
50
45
|
* 2001:db8:1233:1a00::***
|
|
@@ -52,9 +47,9 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
52
47
|
ipv6DestCidrIp?: string;
|
|
53
48
|
/**
|
|
54
49
|
* @remarks
|
|
55
|
-
* The source IPv6 CIDR block
|
|
50
|
+
* 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.
|
|
56
51
|
*
|
|
57
|
-
* > This parameter is valid only for
|
|
52
|
+
* > This parameter is valid only for VPC-type ECS instances that support IPv6. You cannot specify both this parameter and `SourceCidrIp`.
|
|
58
53
|
*
|
|
59
54
|
* @example
|
|
60
55
|
* 2001:db8:1234:1a00::***
|
|
@@ -62,17 +57,11 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
62
57
|
ipv6SourceCidrIp?: string;
|
|
63
58
|
/**
|
|
64
59
|
* @remarks
|
|
65
|
-
* The network interface controller (NIC) type of the security group rule
|
|
60
|
+
* 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.
|
|
66
61
|
*
|
|
67
|
-
* -
|
|
68
|
-
*
|
|
69
|
-
* - intranet: internal NIC.
|
|
70
|
-
*
|
|
71
|
-
* If the security group resides in a VPC, this parameter is set to intranet by default and cannot be modified.
|
|
72
|
-
*
|
|
73
|
-
* 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.
|
|
74
|
-
*
|
|
75
|
-
* Default value: internet.
|
|
62
|
+
* > 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:
|
|
63
|
+
* > - internet: public network interface controller (NIC).
|
|
64
|
+
* > - intranet: internal network interface controller (NIC).
|
|
76
65
|
*
|
|
77
66
|
* @example
|
|
78
67
|
* intranet
|
|
@@ -80,11 +69,10 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
80
69
|
nicType?: string;
|
|
81
70
|
/**
|
|
82
71
|
* @remarks
|
|
83
|
-
* The
|
|
84
|
-
*
|
|
85
|
-
* - accept: allows inbound access.
|
|
72
|
+
* The access permissions. Valid values:
|
|
86
73
|
*
|
|
87
|
-
* -
|
|
74
|
+
* - accept: Accepts access.
|
|
75
|
+
* - drop: Deny access without returning any denial information. The request appears to timeout or the connection cannot be established.
|
|
88
76
|
*
|
|
89
77
|
* Default value: accept.
|
|
90
78
|
*
|
|
@@ -94,15 +82,12 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
94
82
|
policy?: string;
|
|
95
83
|
/**
|
|
96
84
|
* @remarks
|
|
97
|
-
* The destination
|
|
85
|
+
* The range of destination ports that correspond to the transport layer protocol. Valid values:
|
|
98
86
|
*
|
|
99
|
-
* -
|
|
100
|
-
*
|
|
101
|
-
* -
|
|
102
|
-
*
|
|
103
|
-
* - If you set IpProtocol to GRE, the port range is -1/-1.
|
|
104
|
-
*
|
|
105
|
-
* - If you set IpProtocol to ALL, the port range is -1/-1.
|
|
87
|
+
* - TCP/UDP: Valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
88
|
+
* - ICMP: -1/-1.
|
|
89
|
+
* - GRE: -1/-1.
|
|
90
|
+
* - ALL: -1/-1.
|
|
106
91
|
*
|
|
107
92
|
* @example
|
|
108
93
|
* 1/200
|
|
@@ -110,11 +95,13 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
110
95
|
portRange?: string;
|
|
111
96
|
/**
|
|
112
97
|
* @remarks
|
|
113
|
-
* The
|
|
98
|
+
* The port list ID.
|
|
114
99
|
*
|
|
115
|
-
*
|
|
100
|
+
* You can call `DescribePortRangeLists` to query available port list IDs.
|
|
116
101
|
*
|
|
117
|
-
*
|
|
102
|
+
* If you specify `Permissions.N.PortRange`, this parameter is ignored.
|
|
103
|
+
*
|
|
104
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
118
105
|
*
|
|
119
106
|
* @example
|
|
120
107
|
* prl-2ze9743****
|
|
@@ -122,7 +109,7 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
122
109
|
portRangeListId?: string;
|
|
123
110
|
/**
|
|
124
111
|
* @remarks
|
|
125
|
-
* The priority of the security group rule. A smaller value
|
|
112
|
+
* The priority of the security group rule. A smaller value indicates a higher priority. Valid values: 1 to 100.
|
|
126
113
|
*
|
|
127
114
|
* Default value: 1.
|
|
128
115
|
*
|
|
@@ -132,7 +119,7 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
132
119
|
priority?: string;
|
|
133
120
|
/**
|
|
134
121
|
* @remarks
|
|
135
|
-
* The source IPv4 CIDR block
|
|
122
|
+
* 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.
|
|
136
123
|
*
|
|
137
124
|
* @example
|
|
138
125
|
* 10.0.0.0/8
|
|
@@ -140,19 +127,19 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
140
127
|
sourceCidrIp?: string;
|
|
141
128
|
/**
|
|
142
129
|
* @remarks
|
|
143
|
-
* The ID of the source security group
|
|
130
|
+
* The ID of the source security group from which you want to revoke access permissions.
|
|
144
131
|
*
|
|
145
|
-
* -
|
|
132
|
+
* - Set at least one of `SourceGroupId`, `SourceCidrIp`, `Ipv6SourceCidrIp`, or `SourcePrefixListId`.
|
|
146
133
|
*
|
|
147
|
-
* - If you specify `SourceGroupId` but do not specify `SourceCidrIp` or `Ipv6SourceCidrIp
|
|
134
|
+
* - If you specify `SourceGroupId` but do not specify the `SourceCidrIp` or `Ipv6SourceCidrIp` parameter, set NicType to intranet.
|
|
148
135
|
*
|
|
149
|
-
* - If you specify both `SourceGroupId` and `SourceCidrIp`, `SourceCidrIp` takes precedence.
|
|
136
|
+
* - If you specify both `SourceGroupId` and `SourceCidrIp`, `SourceCidrIp` takes precedence by default.
|
|
150
137
|
*
|
|
151
|
-
*
|
|
138
|
+
* Note:
|
|
152
139
|
*
|
|
153
|
-
* - Advanced security groups do not support
|
|
140
|
+
* - Advanced security groups do not support authorization by security group access.
|
|
154
141
|
*
|
|
155
|
-
* -
|
|
142
|
+
* - A maximum of 20 security groups can be authorized for a basic security group.
|
|
156
143
|
*
|
|
157
144
|
* @example
|
|
158
145
|
* sg-bp67acfmxa123b****
|
|
@@ -160,11 +147,10 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
160
147
|
sourceGroupId?: string;
|
|
161
148
|
/**
|
|
162
149
|
* @remarks
|
|
163
|
-
* The Alibaba Cloud account that
|
|
164
|
-
*
|
|
165
|
-
* - If both `SourceGroupOwnerAccount` and `SourceGroupOwnerId` are empty, access control on another security group in your Alibaba Cloud account is removed.
|
|
150
|
+
* The Alibaba Cloud account that owns the source security group when you revoke a cross-account authorization security group rule.
|
|
166
151
|
*
|
|
167
|
-
* - If
|
|
152
|
+
* - If neither `SourceGroupOwnerAccount` nor `SourceGroupOwnerId` is set, the access permissions for another security group within your account are revoked.
|
|
153
|
+
* - If the `SourceCidrIp` parameter is set, the `SourceGroupOwnerAccount` parameter is ignored.
|
|
168
154
|
*
|
|
169
155
|
* @example
|
|
170
156
|
* Test@aliyun.com
|
|
@@ -172,11 +158,10 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
172
158
|
sourceGroupOwnerAccount?: string;
|
|
173
159
|
/**
|
|
174
160
|
* @remarks
|
|
175
|
-
* The ID of the Alibaba Cloud account that
|
|
161
|
+
* The ID of the Alibaba Cloud account that owns the source security group when you revoke a cross-account authorization security group rule.
|
|
176
162
|
*
|
|
177
|
-
* - If
|
|
178
|
-
*
|
|
179
|
-
* - If you specify `SourceCidrIp`, `SourceGroupOwnerId` is ignored.
|
|
163
|
+
* - If neither `SourceGroupOwnerId` nor `SourceGroupOwnerAccount` is set, the access permissions for another security group within your account are revoked.
|
|
164
|
+
* - If the `SourceCidrIp` parameter is set, the `SourceGroupOwnerId` parameter is ignored.
|
|
180
165
|
*
|
|
181
166
|
* @example
|
|
182
167
|
* 12345678910
|
|
@@ -184,17 +169,14 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
184
169
|
sourceGroupOwnerId?: number;
|
|
185
170
|
/**
|
|
186
171
|
* @remarks
|
|
187
|
-
* The source
|
|
188
|
-
*
|
|
189
|
-
* - If you set IpProtocol to TCP or UDP, the valid values of this parameter are 1 to 65535. Specify a port range in the format of \\<Start port number>/\\<End port number>. Example: 1/200.
|
|
190
|
-
*
|
|
191
|
-
* - If you set IpProtocol to ICMP, the port range is -1/-1.
|
|
192
|
-
*
|
|
193
|
-
* - If you set IpProtocol to GRE, the port range is -1/-1.
|
|
172
|
+
* The range of source ports that correspond to the transport layer protocol. Valid values:
|
|
194
173
|
*
|
|
195
|
-
* -
|
|
174
|
+
* - TCP/UDP: Valid values are 1 to 65535. Separate the start port and the end port with a forward slash (/). Example: 1/200.
|
|
175
|
+
* - ICMP: -1/-1.
|
|
176
|
+
* - GRE: -1/-1.
|
|
177
|
+
* - ALL: -1/-1.
|
|
196
178
|
*
|
|
197
|
-
* This parameter is used
|
|
179
|
+
* This parameter is used for quintuple rules. For more information, see [Security group quintuple rules](https://help.aliyun.com/document_detail/97439.html).
|
|
198
180
|
*
|
|
199
181
|
* @example
|
|
200
182
|
* 80/80
|
|
@@ -202,13 +184,13 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
202
184
|
sourcePortRange?: string;
|
|
203
185
|
/**
|
|
204
186
|
* @remarks
|
|
205
|
-
* The ID of the source prefix list
|
|
187
|
+
* 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.
|
|
206
188
|
*
|
|
207
|
-
*
|
|
189
|
+
* Note:
|
|
208
190
|
*
|
|
209
|
-
*
|
|
191
|
+
* If you specify `SourceCidrIp`, `Ipv6SourceCidrIp`, or `SourceGroupId`, this parameter is ignored.
|
|
210
192
|
*
|
|
211
|
-
*
|
|
193
|
+
* For more information, see [Security group limits](~~25412#SecurityGroupQuota1~~).
|
|
212
194
|
*
|
|
213
195
|
* @example
|
|
214
196
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -228,7 +210,7 @@ export declare class RevokeSecurityGroupRequestPermissions extends $dara.Model {
|
|
|
228
210
|
export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
229
211
|
/**
|
|
230
212
|
* @remarks
|
|
231
|
-
*
|
|
213
|
+
* 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).
|
|
232
214
|
*
|
|
233
215
|
* @example
|
|
234
216
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -236,7 +218,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
236
218
|
clientToken?: string;
|
|
237
219
|
/**
|
|
238
220
|
* @remarks
|
|
239
|
-
*
|
|
221
|
+
* Deprecated. Use `Permissions.N.Description` to specify the rule description.
|
|
240
222
|
*
|
|
241
223
|
* @example
|
|
242
224
|
* This is description.
|
|
@@ -246,7 +228,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
246
228
|
description?: string;
|
|
247
229
|
/**
|
|
248
230
|
* @remarks
|
|
249
|
-
*
|
|
231
|
+
* Deprecated. Use `Permissions.N.DestCidrIp` to specify the destination IPv4 CIDR block.
|
|
250
232
|
*
|
|
251
233
|
* @example
|
|
252
234
|
* 10.0.0.0/8
|
|
@@ -256,7 +238,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
256
238
|
destCidrIp?: string;
|
|
257
239
|
/**
|
|
258
240
|
* @remarks
|
|
259
|
-
*
|
|
241
|
+
* Deprecated. Use `Permissions.N.IpProtocol` to specify the protocol type.
|
|
260
242
|
*
|
|
261
243
|
* @example
|
|
262
244
|
* ALL
|
|
@@ -266,7 +248,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
266
248
|
ipProtocol?: string;
|
|
267
249
|
/**
|
|
268
250
|
* @remarks
|
|
269
|
-
*
|
|
251
|
+
* Deprecated. Use `Permissions.N.Ipv6DestCidrIp` to specify the destination IPv6 CIDR block.
|
|
270
252
|
*
|
|
271
253
|
* @example
|
|
272
254
|
* 2001:db8:1233:1a00::***
|
|
@@ -276,7 +258,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
276
258
|
ipv6DestCidrIp?: string;
|
|
277
259
|
/**
|
|
278
260
|
* @remarks
|
|
279
|
-
*
|
|
261
|
+
* Deprecated. Use `Permissions.N.Ipv6SourceCidrIp` to specify the source IPv6 Classless Inter-Domain Routing (CIDR) block.
|
|
280
262
|
*
|
|
281
263
|
* @example
|
|
282
264
|
* 2001:db8:1234:1a00::***
|
|
@@ -286,7 +268,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
286
268
|
ipv6SourceCidrIp?: string;
|
|
287
269
|
/**
|
|
288
270
|
* @remarks
|
|
289
|
-
*
|
|
271
|
+
* Deprecated. Use `Permissions.N.NicType` to specify the network interface type.
|
|
290
272
|
*
|
|
291
273
|
* @example
|
|
292
274
|
* intranet
|
|
@@ -298,12 +280,12 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
298
280
|
ownerId?: number;
|
|
299
281
|
/**
|
|
300
282
|
* @remarks
|
|
301
|
-
* The security group rules.
|
|
283
|
+
* The security group rules. Array length: 0 to 100.
|
|
302
284
|
*/
|
|
303
285
|
permissions?: RevokeSecurityGroupRequestPermissions[];
|
|
304
286
|
/**
|
|
305
287
|
* @remarks
|
|
306
|
-
*
|
|
288
|
+
* Deprecated. Use `Permissions.N.Policy` to set the access permissions.
|
|
307
289
|
*
|
|
308
290
|
* @example
|
|
309
291
|
* accept
|
|
@@ -313,7 +295,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
313
295
|
policy?: string;
|
|
314
296
|
/**
|
|
315
297
|
* @remarks
|
|
316
|
-
*
|
|
298
|
+
* Deprecated. Use `Permissions.N.PortRange` to specify the port range.
|
|
317
299
|
*
|
|
318
300
|
* @example
|
|
319
301
|
* 1/200
|
|
@@ -323,7 +305,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
323
305
|
portRange?: string;
|
|
324
306
|
/**
|
|
325
307
|
* @remarks
|
|
326
|
-
*
|
|
308
|
+
* Deprecated. Use `Permissions.N.Priority` to specify the rule priority.
|
|
327
309
|
*
|
|
328
310
|
* @example
|
|
329
311
|
* 1
|
|
@@ -333,7 +315,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
333
315
|
priority?: string;
|
|
334
316
|
/**
|
|
335
317
|
* @remarks
|
|
336
|
-
* The region ID of the security group. You can call
|
|
318
|
+
* 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.
|
|
337
319
|
*
|
|
338
320
|
* This parameter is required.
|
|
339
321
|
*
|
|
@@ -345,7 +327,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
345
327
|
resourceOwnerId?: number;
|
|
346
328
|
/**
|
|
347
329
|
* @remarks
|
|
348
|
-
* The
|
|
330
|
+
* The security group ID.
|
|
349
331
|
*
|
|
350
332
|
* This parameter is required.
|
|
351
333
|
*
|
|
@@ -355,12 +337,12 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
355
337
|
securityGroupId?: string;
|
|
356
338
|
/**
|
|
357
339
|
* @remarks
|
|
358
|
-
* The security group
|
|
340
|
+
* The IDs of security group rules. Array length: 0 to 100.
|
|
359
341
|
*/
|
|
360
342
|
securityGroupRuleId?: string[];
|
|
361
343
|
/**
|
|
362
344
|
* @remarks
|
|
363
|
-
*
|
|
345
|
+
* Deprecated. Use `Permissions.N.SourceCidrIp` to specify the source IPv4 Classless Inter-Domain Routing (CIDR) block.
|
|
364
346
|
*
|
|
365
347
|
* @example
|
|
366
348
|
* 10.0.0.0/8
|
|
@@ -370,7 +352,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
370
352
|
sourceCidrIp?: string;
|
|
371
353
|
/**
|
|
372
354
|
* @remarks
|
|
373
|
-
*
|
|
355
|
+
* Deprecated. Use `Permissions.N.SourceGroupId` to specify the source security group ID.
|
|
374
356
|
*
|
|
375
357
|
* @example
|
|
376
358
|
* sg-bp67acfmxa123b****
|
|
@@ -380,7 +362,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
380
362
|
sourceGroupId?: string;
|
|
381
363
|
/**
|
|
382
364
|
* @remarks
|
|
383
|
-
*
|
|
365
|
+
* Deprecated. Use `Permissions.N.SourceGroupOwnerAccount` to specify the Alibaba Cloud account that owns the source security group.
|
|
384
366
|
*
|
|
385
367
|
* @example
|
|
386
368
|
* Test@aliyun.com
|
|
@@ -390,7 +372,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
390
372
|
sourceGroupOwnerAccount?: string;
|
|
391
373
|
/**
|
|
392
374
|
* @remarks
|
|
393
|
-
*
|
|
375
|
+
* Deprecated. Use `Permissions.N.SourceGroupOwnerId` to specify the ID of the Alibaba Cloud account that owns the source security group.
|
|
394
376
|
*
|
|
395
377
|
* @example
|
|
396
378
|
* 12345678910
|
|
@@ -400,7 +382,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
400
382
|
sourceGroupOwnerId?: number;
|
|
401
383
|
/**
|
|
402
384
|
* @remarks
|
|
403
|
-
*
|
|
385
|
+
* Deprecated. Use `Permissions.N.SourcePortRange` to specify the source port range.
|
|
404
386
|
*
|
|
405
387
|
* @example
|
|
406
388
|
* 80/80
|
|
@@ -410,7 +392,7 @@ export declare class RevokeSecurityGroupRequest extends $dara.Model {
|
|
|
410
392
|
sourcePortRange?: string;
|
|
411
393
|
/**
|
|
412
394
|
* @remarks
|
|
413
|
-
*
|
|
395
|
+
* Deprecated. Use `Permissions.N.SourcePrefixListId` to specify the source prefix list ID.
|
|
414
396
|
*
|
|
415
397
|
* @example
|
|
416
398
|
* pl-x1j1k5ykzqlixdcy****
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevokeSecurityGroupRequest.js","sourceRoot":"","sources":["../../src/models/RevokeSecurityGroupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"RevokeSecurityGroupRequest.js","sourceRoot":"","sources":["../../src/models/RevokeSecurityGroupRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IAqMpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,gBAAgB,EAAE,kBAAkB;YACpC,OAAO,EAAE,SAAS;YAClB,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;YACtB,eAAe,EAAE,iBAAiB;YAClC,QAAQ,EAAE,UAAU;YACpB,YAAY,EAAE,cAAc;YAC5B,aAAa,EAAE,eAAe;YAC9B,uBAAuB,EAAE,yBAAyB;YAClD,kBAAkB,EAAE,oBAAoB;YACxC,eAAe,EAAE,iBAAiB;YAClC,kBAAkB,EAAE,oBAAoB;SACzC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;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AAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxQD,gEAwQC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class StartTerminalSessionRequestEncryptionOptions extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
*
|
|
5
|
+
* Specifies whether to enable end-to-end encryption for the session connection.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* true
|
|
@@ -10,12 +10,10 @@ export declare class StartTerminalSessionRequestEncryptionOptions extends $dara.
|
|
|
10
10
|
enabled?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* KMS key ID
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* The KMS key ID.
|
|
14
|
+
* Note:
|
|
16
15
|
* - Only KMS symmetric keys are supported.
|
|
17
|
-
*
|
|
18
|
-
* - This parameter can be specified only when the encryption mode is Kms.
|
|
16
|
+
* - This parameter can be specified only when the encryption mode is set to Kms.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* xxx
|
|
@@ -23,16 +21,12 @@ export declare class StartTerminalSessionRequestEncryptionOptions extends $dara.
|
|
|
23
21
|
KMSKeyId?: string;
|
|
24
22
|
/**
|
|
25
23
|
* @remarks
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* -
|
|
29
|
-
*
|
|
30
|
-
* - Kms: Use a KMS key to encrypt the session.
|
|
31
|
-
*
|
|
24
|
+
* The secret key encryption pattern. Valid values:
|
|
25
|
+
* - Auto: uses an automatically negotiated key to encrypt the session.
|
|
26
|
+
* - Kms: uses a KMS key to encrypt the session.
|
|
32
27
|
* - Default value: Auto.
|
|
33
28
|
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
29
|
+
* Note:
|
|
36
30
|
* - This parameter can be specified only when session encryption is enabled.
|
|
37
31
|
*
|
|
38
32
|
* @example
|
|
@@ -53,7 +47,7 @@ export declare class StartTerminalSessionRequestEncryptionOptions extends $dara.
|
|
|
53
47
|
export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
54
48
|
/**
|
|
55
49
|
* @remarks
|
|
56
|
-
*
|
|
50
|
+
* 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).
|
|
57
51
|
*
|
|
58
52
|
* @example
|
|
59
53
|
* 123e4567-e89b-12d3-a456-426655440000
|
|
@@ -61,9 +55,9 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
61
55
|
clientToken?: string;
|
|
62
56
|
/**
|
|
63
57
|
* @remarks
|
|
64
|
-
* The command to run after the session is initiated. The command
|
|
58
|
+
* The command to run after the session is initiated. The command can be up to 512 characters in length.
|
|
65
59
|
*
|
|
66
|
-
* >
|
|
60
|
+
* > After you specify `CommandLine`, you cannot specify `PortNumber` or `TargetServer`.
|
|
67
61
|
*
|
|
68
62
|
* @example
|
|
69
63
|
* ssh root@192.168.0.246
|
|
@@ -71,11 +65,9 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
71
65
|
commandLine?: string;
|
|
72
66
|
/**
|
|
73
67
|
* @remarks
|
|
74
|
-
* The network type of the WebSocket URL required
|
|
75
|
-
*
|
|
76
|
-
* -
|
|
77
|
-
*
|
|
78
|
-
* - Intranet
|
|
68
|
+
* The network type of the WebSocket URL required for the remote connection to the instance. Valid values:
|
|
69
|
+
* - Internet: the Internet. This is the default value.
|
|
70
|
+
* - Intranet: the internal network.
|
|
79
71
|
*
|
|
80
72
|
* @example
|
|
81
73
|
* Intranet
|
|
@@ -83,12 +75,12 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
83
75
|
connectionType?: string;
|
|
84
76
|
/**
|
|
85
77
|
* @remarks
|
|
86
|
-
*
|
|
78
|
+
* The session encryption configuration.
|
|
87
79
|
*/
|
|
88
80
|
encryptionOptions?: StartTerminalSessionRequestEncryptionOptions;
|
|
89
81
|
/**
|
|
90
82
|
* @remarks
|
|
91
|
-
* The instance
|
|
83
|
+
* The instance ID list.
|
|
92
84
|
*
|
|
93
85
|
* This parameter is required.
|
|
94
86
|
*/
|
|
@@ -97,8 +89,8 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
97
89
|
ownerId?: number;
|
|
98
90
|
/**
|
|
99
91
|
* @remarks
|
|
100
|
-
* The
|
|
101
|
-
* When you want to use Session Manager on a Windows instance as a non-default user (System),
|
|
92
|
+
* 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.
|
|
93
|
+
* 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).
|
|
102
94
|
*
|
|
103
95
|
* @example
|
|
104
96
|
* axtSecretPassword
|
|
@@ -106,9 +98,9 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
106
98
|
passwordName?: string;
|
|
107
99
|
/**
|
|
108
100
|
* @remarks
|
|
109
|
-
* The port number of the ECS instance
|
|
101
|
+
* 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.
|
|
110
102
|
*
|
|
111
|
-
*
|
|
103
|
+
* Default value: empty, which indicates that no port number is specified for data forwarding.
|
|
112
104
|
*
|
|
113
105
|
* @example
|
|
114
106
|
* 22
|
|
@@ -116,7 +108,7 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
116
108
|
portNumber?: number;
|
|
117
109
|
/**
|
|
118
110
|
* @remarks
|
|
119
|
-
* The region ID. You can call
|
|
111
|
+
* 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.
|
|
120
112
|
*
|
|
121
113
|
* This parameter is required.
|
|
122
114
|
*
|
|
@@ -128,9 +120,9 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
128
120
|
resourceOwnerId?: number;
|
|
129
121
|
/**
|
|
130
122
|
* @remarks
|
|
131
|
-
* The
|
|
123
|
+
* The address of the destination server in the VPC that you want to access through the instance.
|
|
132
124
|
*
|
|
133
|
-
* > If this parameter is not empty, `PortNumber` specifies the port number
|
|
125
|
+
* > 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.
|
|
134
126
|
*
|
|
135
127
|
* @example
|
|
136
128
|
* 192.168.0.246
|
|
@@ -138,7 +130,7 @@ export declare class StartTerminalSessionRequest extends $dara.Model {
|
|
|
138
130
|
targetServer?: string;
|
|
139
131
|
/**
|
|
140
132
|
* @remarks
|
|
141
|
-
* The username used for connection
|
|
133
|
+
* The username used for the connection.
|
|
142
134
|
*
|
|
143
135
|
* @example
|
|
144
136
|
* testUser
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StartTerminalSessionRequest.js","sourceRoot":"","sources":["../../src/models/StartTerminalSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"StartTerminalSessionRequest.js","sourceRoot":"","sources":["../../src/models/StartTerminalSessionRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAkC3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO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Q,IAAI,CAAC,iBAAyB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC3F,IAAI,CAAC,iBAAyB,CAAC,QAAQ,EAAE,CAAC;QAC7C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/ID,kEA+IC"}
|
|
@@ -10,7 +10,7 @@ export declare class StartTerminalSessionResponseBody extends $dara.Model {
|
|
|
10
10
|
requestId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The security token
|
|
13
|
+
* The security token that is appended to the WebSocket request header for system verification of the request.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* d86c2df2-d19c-4bd8-b817-a19ef123****
|
|
@@ -26,7 +26,7 @@ export declare class StartTerminalSessionResponseBody extends $dara.Model {
|
|
|
26
26
|
sessionId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The URL of the WebSocket session
|
|
29
|
+
* 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.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* wss://cn-hangzhou.axt.aliyuncs.com/session?sessionId=s-hz023od0x9****&token=d86c2df2-d19c-4bd8-b817-a19ef123****
|