@alicloud/ecs20140526 7.1.3 → 7.2.1
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 +43 -10
- package/dist/client.js +112 -11
- package/dist/client.js.map +1 -1
- package/dist/models/CreateLaunchTemplateRequest.d.ts +14 -0
- package/dist/models/CreateLaunchTemplateRequest.js +25 -1
- package/dist/models/CreateLaunchTemplateRequest.js.map +1 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.d.ts +14 -0
- package/dist/models/CreateLaunchTemplateVersionRequest.js +25 -1
- package/dist/models/CreateLaunchTemplateVersionRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +5 -5
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.d.ts +18 -0
- package/dist/models/DescribeCloudAssistantSettingsResponseBody.js.map +1 -1
- package/dist/models/DescribeImagesResponseBody.d.ts +1 -0
- package/dist/models/DescribeImagesResponseBody.js +2 -0
- package/dist/models/DescribeImagesResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -0
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.d.ts +2 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js +4 -0
- package/dist/models/DescribeInstanceHistoryEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeInstanceTypesRequest.d.ts +1 -0
- package/dist/models/DescribeInstanceTypesRequest.js +5 -0
- package/dist/models/DescribeInstanceTypesRequest.js.map +1 -1
- package/dist/models/DescribeInstanceTypesResponseBody.d.ts +57 -0
- package/dist/models/DescribeInstanceTypesResponseBody.js +99 -1
- package/dist/models/DescribeInstanceTypesResponseBody.js.map +1 -1
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.d.ts +14 -0
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.js +25 -1
- package/dist/models/DescribeLaunchTemplateVersionsResponseBody.js.map +1 -1
- package/dist/models/DescribeNetworkInterfacesResponseBody.d.ts +1 -1
- package/dist/models/DescribeSecurityGroupAttributeRequest.d.ts +8 -0
- package/dist/models/DescribeSecurityGroupAttributeRequest.js +2 -0
- package/dist/models/DescribeSecurityGroupAttributeRequest.js.map +1 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.d.ts +14 -0
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js +28 -1
- package/dist/models/DescribeSecurityGroupAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +18 -0
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +4 -0
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyInstanceClockOptionsRequest.d.ts +71 -0
- package/dist/models/ModifyInstanceClockOptionsRequest.js +74 -0
- package/dist/models/ModifyInstanceClockOptionsRequest.js.map +1 -0
- package/dist/models/ModifyInstanceClockOptionsResponse.d.ts +19 -0
- package/dist/models/ModifyInstanceClockOptionsResponse.js +69 -0
- package/dist/models/ModifyInstanceClockOptionsResponse.js.map +1 -0
- package/dist/models/ModifyInstanceClockOptionsResponseBody.d.ts +31 -0
- package/dist/models/ModifyInstanceClockOptionsResponseBody.js +60 -0
- package/dist/models/ModifyInstanceClockOptionsResponseBody.js.map +1 -0
- package/dist/models/ModifyInstanceNetworkOptionsRequest.d.ts +14 -0
- package/dist/models/ModifyInstanceNetworkOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +5 -0
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.js.map +1 -1
- package/dist/models/ModifySnapshotAttributeRequest.d.ts +1 -1
- package/dist/models/ModifySnapshotCategoryRequest.d.ts +1 -1
- package/dist/models/StartTerminalSessionRequest.d.ts +16 -0
- package/dist/models/StartTerminalSessionRequest.js +29 -1
- package/dist/models/StartTerminalSessionRequest.js.map +1 -1
- package/dist/models/StartTerminalSessionShrinkRequest.d.ts +85 -0
- package/dist/models/StartTerminalSessionShrinkRequest.js +85 -0
- package/dist/models/StartTerminalSessionShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +13 -0
- package/dist/models/model.js +88 -62
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +129 -11
- package/src/models/CreateLaunchTemplateRequest.ts +29 -0
- package/src/models/CreateLaunchTemplateVersionRequest.ts +29 -0
- package/src/models/CreatePrefixListRequest.ts +5 -5
- package/src/models/DescribeCloudAssistantSettingsResponseBody.ts +18 -0
- package/src/models/DescribeImagesResponseBody.ts +3 -0
- package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -0
- package/src/models/DescribeInstanceHistoryEventsResponseBody.ts +6 -0
- package/src/models/DescribeInstanceTypesRequest.ts +6 -0
- package/src/models/DescribeInstanceTypesResponseBody.ts +119 -0
- package/src/models/DescribeLaunchTemplateVersionsResponseBody.ts +29 -0
- package/src/models/DescribeNetworkInterfacesResponseBody.ts +1 -1
- package/src/models/DescribeSecurityGroupAttributeRequest.ts +10 -0
- package/src/models/DescribeSecurityGroupAttributeResponseBody.ts +32 -0
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +18 -0
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +4 -0
- package/src/models/ModifyInstanceClockOptionsRequest.ts +100 -0
- package/src/models/ModifyInstanceClockOptionsResponse.ts +40 -0
- package/src/models/ModifyInstanceClockOptionsResponseBody.ts +46 -0
- package/src/models/ModifyInstanceNetworkOptionsRequest.ts +14 -0
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +5 -0
- package/src/models/ModifySnapshotAttributeRequest.ts +1 -1
- package/src/models/ModifySnapshotCategoryRequest.ts +1 -1
- package/src/models/StartTerminalSessionRequest.ts +35 -0
- package/src/models/StartTerminalSessionShrinkRequest.ts +125 -0
- package/src/models/model.ts +13 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyInstanceClockOptionsRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 123e4567-e89b-12d3-a456-426655440000
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Specifies whether to perform only a dry run. Valid values:
|
|
17
|
+
*
|
|
18
|
+
* * true: performs only a dry run. The system checks the request for potential issues, including invalid AccessKey pairs, unauthorized Resource Access Management (RAM) users, and missing parameter values. Otherwise, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
19
|
+
* * false: performs a dry run and performs the actual request. If the request passes the dry run, a 2xx HTTP status code is returned and the operation is performed.
|
|
20
|
+
*
|
|
21
|
+
* Default value: false.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* false
|
|
25
|
+
*/
|
|
26
|
+
dryRun?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The ID of the instance.
|
|
30
|
+
*
|
|
31
|
+
* This parameter is required.
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* i-bp67acfmxazb4ph****
|
|
35
|
+
*/
|
|
36
|
+
instanceId?: string;
|
|
37
|
+
ownerAccount?: string;
|
|
38
|
+
ownerId?: number;
|
|
39
|
+
/**
|
|
40
|
+
* @remarks
|
|
41
|
+
* PTP status value. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* * enabled
|
|
44
|
+
* * disabled
|
|
45
|
+
*
|
|
46
|
+
* Default value: disabled.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* enabled
|
|
50
|
+
*/
|
|
51
|
+
ptpStatus?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The region ID of the instance. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
55
|
+
*
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* cn-hangzhou
|
|
60
|
+
*/
|
|
61
|
+
regionId?: string;
|
|
62
|
+
resourceOwnerAccount?: string;
|
|
63
|
+
resourceOwnerId?: number;
|
|
64
|
+
static names(): { [key: string]: string } {
|
|
65
|
+
return {
|
|
66
|
+
clientToken: 'ClientToken',
|
|
67
|
+
dryRun: 'DryRun',
|
|
68
|
+
instanceId: 'InstanceId',
|
|
69
|
+
ownerAccount: 'OwnerAccount',
|
|
70
|
+
ownerId: 'OwnerId',
|
|
71
|
+
ptpStatus: 'PtpStatus',
|
|
72
|
+
regionId: 'RegionId',
|
|
73
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
74
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
static types(): { [key: string]: any } {
|
|
79
|
+
return {
|
|
80
|
+
clientToken: 'string',
|
|
81
|
+
dryRun: 'boolean',
|
|
82
|
+
instanceId: 'string',
|
|
83
|
+
ownerAccount: 'string',
|
|
84
|
+
ownerId: 'number',
|
|
85
|
+
ptpStatus: 'string',
|
|
86
|
+
regionId: 'string',
|
|
87
|
+
resourceOwnerAccount: 'string',
|
|
88
|
+
resourceOwnerId: 'number',
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
validate() {
|
|
93
|
+
super.validate();
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
constructor(map?: { [key: string]: any }) {
|
|
97
|
+
super(map);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifyInstanceClockOptionsResponseBody } from "./ModifyInstanceClockOptionsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifyInstanceClockOptionsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifyInstanceClockOptionsResponseBody;
|
|
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: ModifyInstanceClockOptionsResponseBody,
|
|
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,46 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifyInstanceClockOptionsResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The ID of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the modification task.
|
|
17
|
+
*
|
|
18
|
+
* You can call the [DescribeTasks](https://help.aliyun.com/document_detail/25622.html) operation to query the modification results.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* t-bp1hvgwromzv32iq****
|
|
22
|
+
*/
|
|
23
|
+
taskId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
requestId: 'RequestId',
|
|
27
|
+
taskId: 'TaskId',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
taskId: 'string',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
validate() {
|
|
39
|
+
super.validate();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
constructor(map?: { [key: string]: any }) {
|
|
43
|
+
super(map);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -4,11 +4,25 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class ModifyInstanceNetworkOptionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The bandwidth weight. Different specifications support different values. You can call the DescribeInstanceTypes operation to query the values supported by the current instance type.
|
|
9
|
+
*
|
|
10
|
+
* Valid values:
|
|
11
|
+
*
|
|
12
|
+
* * Vpc-L1.
|
|
13
|
+
* * Vpc-L2.
|
|
14
|
+
* * Ebs-L1.
|
|
15
|
+
* * Ebs-L2.
|
|
16
|
+
* * Default.
|
|
17
|
+
*
|
|
7
18
|
* @example
|
|
8
19
|
* Vpc-L1
|
|
9
20
|
*/
|
|
10
21
|
bandwidthWeighting?: string;
|
|
11
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The ID of the instance for which you want to modify network configurations.
|
|
25
|
+
*
|
|
12
26
|
* @example
|
|
13
27
|
* i-bp67acfmxazb4p****
|
|
14
28
|
*/
|
|
@@ -12,6 +12,11 @@ export class ModifyInstanceNetworkOptionsResponseBody extends $dara.Model {
|
|
|
12
12
|
*/
|
|
13
13
|
requestId?: string;
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the redeployment task.
|
|
17
|
+
*
|
|
18
|
+
* You can call the [DescribeTasks](https://help.aliyun.com/document_detail/25622.html) operation to query the redeployment result.
|
|
19
|
+
*
|
|
15
20
|
* @example
|
|
16
21
|
* t-bp198jigq7l0h5ac****
|
|
17
22
|
*/
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifySnapshotAttributeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The description
|
|
8
|
+
* The snapshot description. It can be empty or up to 256 characters in length. It cannot start with http:// or https://.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* testDescription
|
|
@@ -2,6 +2,35 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class StartTerminalSessionRequestEncryptionOptions extends $dara.Model {
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
KMSKeyId?: string;
|
|
8
|
+
mode?: string;
|
|
9
|
+
static names(): { [key: string]: string } {
|
|
10
|
+
return {
|
|
11
|
+
enabled: 'Enabled',
|
|
12
|
+
KMSKeyId: 'KMSKeyId',
|
|
13
|
+
mode: 'Mode',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
enabled: 'boolean',
|
|
20
|
+
KMSKeyId: 'string',
|
|
21
|
+
mode: 'string',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
validate() {
|
|
26
|
+
super.validate();
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
constructor(map?: { [key: string]: any }) {
|
|
30
|
+
super(map);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
5
34
|
export class StartTerminalSessionRequest extends $dara.Model {
|
|
6
35
|
/**
|
|
7
36
|
* @remarks
|
|
@@ -24,6 +53,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
24
53
|
* Intranet
|
|
25
54
|
*/
|
|
26
55
|
connectionType?: string;
|
|
56
|
+
encryptionOptions?: StartTerminalSessionRequestEncryptionOptions;
|
|
27
57
|
/**
|
|
28
58
|
* @remarks
|
|
29
59
|
* The instance IDs.
|
|
@@ -78,6 +108,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
78
108
|
return {
|
|
79
109
|
commandLine: 'CommandLine',
|
|
80
110
|
connectionType: 'ConnectionType',
|
|
111
|
+
encryptionOptions: 'EncryptionOptions',
|
|
81
112
|
instanceId: 'InstanceId',
|
|
82
113
|
ownerAccount: 'OwnerAccount',
|
|
83
114
|
ownerId: 'OwnerId',
|
|
@@ -95,6 +126,7 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
95
126
|
return {
|
|
96
127
|
commandLine: 'string',
|
|
97
128
|
connectionType: 'string',
|
|
129
|
+
encryptionOptions: StartTerminalSessionRequestEncryptionOptions,
|
|
98
130
|
instanceId: { 'type': 'array', 'itemType': 'string' },
|
|
99
131
|
ownerAccount: 'string',
|
|
100
132
|
ownerId: 'number',
|
|
@@ -109,6 +141,9 @@ export class StartTerminalSessionRequest extends $dara.Model {
|
|
|
109
141
|
}
|
|
110
142
|
|
|
111
143
|
validate() {
|
|
144
|
+
if(this.encryptionOptions && typeof (this.encryptionOptions as any).validate === 'function') {
|
|
145
|
+
(this.encryptionOptions as any).validate();
|
|
146
|
+
}
|
|
112
147
|
if(Array.isArray(this.instanceId)) {
|
|
113
148
|
$dara.Model.validateArray(this.instanceId);
|
|
114
149
|
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class StartTerminalSessionShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The command to run after the session is initiated. The command length cannot exceed 512 characters.
|
|
9
|
+
*
|
|
10
|
+
* > If you specify the `CommandLine` parameter, you cannot specify the `PortNumber` or `TargetServer` parameter.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ssh root@192.168.0.246
|
|
14
|
+
*/
|
|
15
|
+
commandLine?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The network type of the WebSocket URL required to connect to the instance. Valid values:
|
|
19
|
+
*
|
|
20
|
+
* * Internet (default)
|
|
21
|
+
* * Intranet
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* Intranet
|
|
25
|
+
*/
|
|
26
|
+
connectionType?: string;
|
|
27
|
+
encryptionOptionsShrink?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @remarks
|
|
30
|
+
* The instance IDs.
|
|
31
|
+
*
|
|
32
|
+
* This parameter is required.
|
|
33
|
+
*/
|
|
34
|
+
instanceId?: string[];
|
|
35
|
+
ownerAccount?: string;
|
|
36
|
+
ownerId?: number;
|
|
37
|
+
passwordName?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The port number of the ECS instance. The port is used to forward data. After this parameter is configured, Cloud Assistant Agent forwards data to the specified port. For example, you can set this parameter to 22 for data forwarding over SSH.
|
|
41
|
+
*
|
|
42
|
+
* This parameter is empty by default, which indicates that no port is configured to forward data.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* 22
|
|
46
|
+
*/
|
|
47
|
+
portNumber?: number;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
51
|
+
*
|
|
52
|
+
* This parameter is required.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* cn-hangzhou
|
|
56
|
+
*/
|
|
57
|
+
regionId?: string;
|
|
58
|
+
resourceOwnerAccount?: string;
|
|
59
|
+
resourceOwnerId?: number;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The IP address of the instance. You can use the IP address to access the destination service in a virtual private cloud (VPC).
|
|
63
|
+
*
|
|
64
|
+
* > If this parameter is not empty, `PortNumber` specifies the port number that is used by the managed instance to access the destination service in the VPC.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 192.168.0.246
|
|
68
|
+
*/
|
|
69
|
+
targetServer?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The username used for connection establishment.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* testUser
|
|
76
|
+
*/
|
|
77
|
+
username?: string;
|
|
78
|
+
static names(): { [key: string]: string } {
|
|
79
|
+
return {
|
|
80
|
+
commandLine: 'CommandLine',
|
|
81
|
+
connectionType: 'ConnectionType',
|
|
82
|
+
encryptionOptionsShrink: 'EncryptionOptions',
|
|
83
|
+
instanceId: 'InstanceId',
|
|
84
|
+
ownerAccount: 'OwnerAccount',
|
|
85
|
+
ownerId: 'OwnerId',
|
|
86
|
+
passwordName: 'PasswordName',
|
|
87
|
+
portNumber: 'PortNumber',
|
|
88
|
+
regionId: 'RegionId',
|
|
89
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
90
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
91
|
+
targetServer: 'TargetServer',
|
|
92
|
+
username: 'Username',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static types(): { [key: string]: any } {
|
|
97
|
+
return {
|
|
98
|
+
commandLine: 'string',
|
|
99
|
+
connectionType: 'string',
|
|
100
|
+
encryptionOptionsShrink: 'string',
|
|
101
|
+
instanceId: { 'type': 'array', 'itemType': 'string' },
|
|
102
|
+
ownerAccount: 'string',
|
|
103
|
+
ownerId: 'number',
|
|
104
|
+
passwordName: 'string',
|
|
105
|
+
portNumber: 'number',
|
|
106
|
+
regionId: 'string',
|
|
107
|
+
resourceOwnerAccount: 'string',
|
|
108
|
+
resourceOwnerId: 'number',
|
|
109
|
+
targetServer: 'string',
|
|
110
|
+
username: 'string',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
validate() {
|
|
115
|
+
if(Array.isArray(this.instanceId)) {
|
|
116
|
+
$dara.Model.validateArray(this.instanceId);
|
|
117
|
+
}
|
|
118
|
+
super.validate();
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
constructor(map?: { [key: string]: any }) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -83,12 +83,14 @@ export { CreateLaunchTemplateRequestSystemDisk } from './CreateLaunchTemplateReq
|
|
|
83
83
|
export { CreateLaunchTemplateRequestDataDisk } from './CreateLaunchTemplateRequest';
|
|
84
84
|
export { CreateLaunchTemplateRequestImageOptions } from './CreateLaunchTemplateRequest';
|
|
85
85
|
export { CreateLaunchTemplateRequestNetworkInterface } from './CreateLaunchTemplateRequest';
|
|
86
|
+
export { CreateLaunchTemplateRequestSecurityOptions } from './CreateLaunchTemplateRequest';
|
|
86
87
|
export { CreateLaunchTemplateRequestTag } from './CreateLaunchTemplateRequest';
|
|
87
88
|
export { CreateLaunchTemplateRequestTemplateTag } from './CreateLaunchTemplateRequest';
|
|
88
89
|
export { CreateLaunchTemplateVersionRequestSystemDisk } from './CreateLaunchTemplateVersionRequest';
|
|
89
90
|
export { CreateLaunchTemplateVersionRequestDataDisk } from './CreateLaunchTemplateVersionRequest';
|
|
90
91
|
export { CreateLaunchTemplateVersionRequestImageOptions } from './CreateLaunchTemplateVersionRequest';
|
|
91
92
|
export { CreateLaunchTemplateVersionRequestNetworkInterface } from './CreateLaunchTemplateVersionRequest';
|
|
93
|
+
export { CreateLaunchTemplateVersionRequestSecurityOptions } from './CreateLaunchTemplateVersionRequest';
|
|
92
94
|
export { CreateLaunchTemplateVersionRequestTag } from './CreateLaunchTemplateVersionRequest';
|
|
93
95
|
export { CreateNatGatewayRequestBandwidthPackage } from './CreateNatGatewayRequest';
|
|
94
96
|
export { CreateNatGatewayResponseBodyBandwidthPackageIds } from './CreateNatGatewayResponseBody';
|
|
@@ -433,6 +435,10 @@ export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeCpuOptions }
|
|
|
433
435
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeEnhancedNetwork } from './DescribeInstanceTypesResponseBody';
|
|
434
436
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCardsNetworkCardInfo } from './DescribeInstanceTypesResponseBody';
|
|
435
437
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkCards } from './DescribeInstanceTypesResponseBody';
|
|
438
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfosWeightingInfo } from './DescribeInstanceTypesResponseBody';
|
|
439
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeightingWeightingInfos } from './DescribeInstanceTypesResponseBody';
|
|
440
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfoBandwidthWeighting } from './DescribeInstanceTypesResponseBody';
|
|
441
|
+
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeNetworkInfo } from './DescribeInstanceTypesResponseBody';
|
|
436
442
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceTypeSupportedBootModes } from './DescribeInstanceTypesResponseBody';
|
|
437
443
|
export { DescribeInstanceTypesResponseBodyInstanceTypesInstanceType } from './DescribeInstanceTypesResponseBody';
|
|
438
444
|
export { DescribeInstanceTypesResponseBodyInstanceTypes } from './DescribeInstanceTypesResponseBody';
|
|
@@ -510,6 +516,7 @@ export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaun
|
|
|
510
516
|
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataNetworkInterfacesNetworkInterface } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
511
517
|
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataNetworkInterfaces } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
512
518
|
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityGroupIds } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
519
|
+
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataSecurityOptions } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
513
520
|
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataTagsInstanceTag } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
514
521
|
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateDataTags } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
515
522
|
export { DescribeLaunchTemplateVersionsResponseBodyLaunchTemplateVersionSetsLaunchTemplateVersionSetLaunchTemplateData } from './DescribeLaunchTemplateVersionsResponseBody';
|
|
@@ -654,6 +661,7 @@ export { DescribeSavingsPlanPriceResponseBodyPriceInfoRules } from './DescribeSa
|
|
|
654
661
|
export { DescribeSavingsPlanPriceResponseBodyPriceInfo } from './DescribeSavingsPlanPriceResponseBody';
|
|
655
662
|
export { DescribeSecurityGroupAttributeResponseBodyPermissionsPermission } from './DescribeSecurityGroupAttributeResponseBody';
|
|
656
663
|
export { DescribeSecurityGroupAttributeResponseBodyPermissions } from './DescribeSecurityGroupAttributeResponseBody';
|
|
664
|
+
export { DescribeSecurityGroupAttributeResponseBodySnapshotPolicyIds } from './DescribeSecurityGroupAttributeResponseBody';
|
|
657
665
|
export { DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroupsReferencingSecurityGroup } from './DescribeSecurityGroupReferencesResponseBody';
|
|
658
666
|
export { DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReferenceReferencingSecurityGroups } from './DescribeSecurityGroupReferencesResponseBody';
|
|
659
667
|
export { DescribeSecurityGroupReferencesResponseBodySecurityGroupReferencesSecurityGroupReference } from './DescribeSecurityGroupReferencesResponseBody';
|
|
@@ -860,6 +868,7 @@ export { StartImagePipelineExecutionRequestTag } from './StartImagePipelineExecu
|
|
|
860
868
|
export { StartImagePipelineExecutionRequestTemplateTag } from './StartImagePipelineExecutionRequest';
|
|
861
869
|
export { StartInstancesResponseBodyInstanceResponsesInstanceResponse } from './StartInstancesResponseBody';
|
|
862
870
|
export { StartInstancesResponseBodyInstanceResponses } from './StartInstancesResponseBody';
|
|
871
|
+
export { StartTerminalSessionRequestEncryptionOptions } from './StartTerminalSessionRequest';
|
|
863
872
|
export { StopInstancesResponseBodyInstanceResponsesInstanceResponse } from './StopInstancesResponseBody';
|
|
864
873
|
export { StopInstancesResponseBodyInstanceResponses } from './StopInstancesResponseBody';
|
|
865
874
|
export { TagResourcesRequestTag } from './TagResourcesRequest';
|
|
@@ -1712,6 +1721,9 @@ export { ModifyInstanceAutoRenewAttributeResponse } from './ModifyInstanceAutoRe
|
|
|
1712
1721
|
export { ModifyInstanceChargeTypeRequest } from './ModifyInstanceChargeTypeRequest';
|
|
1713
1722
|
export { ModifyInstanceChargeTypeResponseBody } from './ModifyInstanceChargeTypeResponseBody';
|
|
1714
1723
|
export { ModifyInstanceChargeTypeResponse } from './ModifyInstanceChargeTypeResponse';
|
|
1724
|
+
export { ModifyInstanceClockOptionsRequest } from './ModifyInstanceClockOptionsRequest';
|
|
1725
|
+
export { ModifyInstanceClockOptionsResponseBody } from './ModifyInstanceClockOptionsResponseBody';
|
|
1726
|
+
export { ModifyInstanceClockOptionsResponse } from './ModifyInstanceClockOptionsResponse';
|
|
1715
1727
|
export { ModifyInstanceDeploymentRequest } from './ModifyInstanceDeploymentRequest';
|
|
1716
1728
|
export { ModifyInstanceDeploymentResponseBody } from './ModifyInstanceDeploymentResponseBody';
|
|
1717
1729
|
export { ModifyInstanceDeploymentResponse } from './ModifyInstanceDeploymentResponse';
|
|
@@ -1922,6 +1934,7 @@ export { StartInstancesRequest } from './StartInstancesRequest';
|
|
|
1922
1934
|
export { StartInstancesResponseBody } from './StartInstancesResponseBody';
|
|
1923
1935
|
export { StartInstancesResponse } from './StartInstancesResponse';
|
|
1924
1936
|
export { StartTerminalSessionRequest } from './StartTerminalSessionRequest';
|
|
1937
|
+
export { StartTerminalSessionShrinkRequest } from './StartTerminalSessionShrinkRequest';
|
|
1925
1938
|
export { StartTerminalSessionResponseBody } from './StartTerminalSessionResponseBody';
|
|
1926
1939
|
export { StartTerminalSessionResponse } from './StartTerminalSessionResponse';
|
|
1927
1940
|
export { StopInstanceRequest } from './StopInstanceRequest';
|