@alicloud/ecs20140526 7.2.4 → 7.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +133 -166
- package/dist/client.js +162 -162
- package/dist/client.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
- package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
- package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
- package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
- package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
- package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
- package/dist/models/CreateInstanceRequest.d.ts +6 -2
- package/dist/models/CreateInstanceRequest.js.map +1 -1
- package/dist/models/CreatePrefixListRequest.d.ts +2 -2
- package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
- package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
- package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
- package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
- package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
- package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
- package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
- package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
- package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
- package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
- package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
- package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
- package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
- package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
- package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
- package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
- package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
- package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
- package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
- package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
- package/dist/models/DescribeInvocationsRequest.js.map +1 -1
- package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
- package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
- package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
- package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
- package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
- package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
- package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
- package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
- package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
- package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
- package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
- package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
- package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
- package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
- package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
- package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
- package/dist/models/OpenSnapshotServiceRequest.js +64 -0
- package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
- package/dist/models/OpenSnapshotServiceResponse.js +69 -0
- package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
- package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
- package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
- package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
- package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +69 -59
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +168 -162
- package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
- package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
- package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
- package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
- package/src/models/CreateImagePipelineRequest.ts +9 -9
- package/src/models/CreateInstanceRequest.ts +6 -2
- package/src/models/CreatePrefixListRequest.ts +2 -2
- package/src/models/CreateSnapshotGroupRequest.ts +7 -7
- package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
- package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
- package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
- package/src/models/DescribeAvailableResourceRequest.ts +0 -118
- package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
- package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
- package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
- package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
- package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
- package/src/models/DescribeImagePipelinesRequest.ts +1 -1
- package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
- package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
- package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
- package/src/models/DescribeInvocationResultsRequest.ts +79 -64
- package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
- package/src/models/DescribeInvocationsRequest.ts +17 -91
- package/src/models/DescribeInvocationsResponseBody.ts +225 -172
- package/src/models/DescribeManagedInstancesRequest.ts +18 -0
- package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
- package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
- package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
- package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
- package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
- package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
- package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
- package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
- package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
- package/src/models/OpenSnapshotServiceRequest.ts +45 -0
- package/src/models/OpenSnapshotServiceResponse.ts +40 -0
- package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
- package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
- package/src/models/model.ts +5 -0
|
@@ -81,6 +81,24 @@ export class DescribeManagedInstancesRequest extends $dara.Model {
|
|
|
81
81
|
* my-webapp-server
|
|
82
82
|
*/
|
|
83
83
|
instanceName?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The value of the MachineId parameter that you specify when you register a managed instance. A maximum of 36 characters are allowed. Sample registration script:
|
|
87
|
+
*
|
|
88
|
+
* aliyun-service --register \\
|
|
89
|
+
* --RegionId=cn-hangznou \\
|
|
90
|
+
* --ActivationId=xxxxxxxxxxx \\
|
|
91
|
+
* --ActivationCode=xxxxxxxxx \\
|
|
92
|
+
* --MachineId=xxxxxx \\ # Optional. The unique identifier of the machine.
|
|
93
|
+
* --ForceResue
|
|
94
|
+
*
|
|
95
|
+
* * If the MachineId and ForceResult parameters are specified during registration, the Cloud Assistant generates a fixed managed instance ID for this MachineId.
|
|
96
|
+
* * If the MachineId parameter is not explicitly specified, the Cloud Assistant will automatically generate a MachineId value based on the hardware information of the machine.
|
|
97
|
+
* * We recommend that you explicitly specify the MachineId and ForceResult parameters to mark the mapping between a managed instance and an on-premises machine.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* GOG4X8312A0188
|
|
101
|
+
*/
|
|
84
102
|
machineId?: string;
|
|
85
103
|
/**
|
|
86
104
|
* @remarks
|
|
@@ -276,7 +276,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags e
|
|
|
276
276
|
export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup extends $dara.Model {
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
* The time
|
|
279
|
+
* The creation time. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
|
|
280
280
|
*
|
|
281
281
|
* @example
|
|
282
282
|
* 2021-03-23T10:58:48Z
|
|
@@ -9,7 +9,7 @@ export class DescribeSnapshotPackageRequest extends $dara.Model {
|
|
|
9
9
|
* @remarks
|
|
10
10
|
* The page number. Pages start from page 1.
|
|
11
11
|
*
|
|
12
|
-
* Default value: 1
|
|
12
|
+
* Default value: 1
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* 1
|
|
@@ -17,9 +17,9 @@ export class DescribeSnapshotPackageRequest extends $dara.Model {
|
|
|
17
17
|
pageNumber?: number;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The number of entries per page.
|
|
20
|
+
* The number of entries per page. Maximum value: 1 to 100.
|
|
21
21
|
*
|
|
22
|
-
* Default value: 10
|
|
22
|
+
* Default value: 10
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 10
|
|
@@ -274,11 +274,12 @@ export class ModifyCloudAssistantSettingsRequest extends $dara.Model {
|
|
|
274
274
|
sessionManagerConfig?: ModifyCloudAssistantSettingsRequestSessionManagerConfig;
|
|
275
275
|
/**
|
|
276
276
|
* @remarks
|
|
277
|
-
* The Cloud Assistant feature.
|
|
277
|
+
* The Cloud Assistant feature. Set SettingType to one of the following valid values:
|
|
278
278
|
*
|
|
279
279
|
* * SessionManagerDelivery: the Session Record Delivery configurations.
|
|
280
280
|
* * InvocationDelivery: the Operation Content and Result Delivery configurations.
|
|
281
281
|
* * AgentUpgradeConfig: the Cloud Assistant Agent Upgrade configurations.
|
|
282
|
+
* * SessionManagerConfig: Cloud Assistant the SessionManager configuration.
|
|
282
283
|
*
|
|
283
284
|
* This parameter is required.
|
|
284
285
|
*
|
|
@@ -34,11 +34,12 @@ export class ModifyCloudAssistantSettingsShrinkRequest extends $dara.Model {
|
|
|
34
34
|
sessionManagerConfigShrink?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The Cloud Assistant feature.
|
|
37
|
+
* The Cloud Assistant feature. Set SettingType to one of the following valid values:
|
|
38
38
|
*
|
|
39
39
|
* * SessionManagerDelivery: the Session Record Delivery configurations.
|
|
40
40
|
* * InvocationDelivery: the Operation Content and Result Delivery configurations.
|
|
41
41
|
* * AgentUpgradeConfig: the Cloud Assistant Agent Upgrade configurations.
|
|
42
|
+
* * SessionManagerConfig: Cloud Assistant the SessionManager configuration.
|
|
42
43
|
*
|
|
43
44
|
* This parameter is required.
|
|
44
45
|
*
|
|
@@ -5,14 +5,14 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to automatically complete the payment. Valid
|
|
8
|
+
* Specifies whether to automatically complete the payment. Valid value:
|
|
9
9
|
*
|
|
10
|
-
* * true: The payment is automatically completed.
|
|
10
|
+
* * true: The payment is automatically completed. Ensure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled.
|
|
11
11
|
* * false: An order is generated but no payment is made.
|
|
12
12
|
*
|
|
13
13
|
* Default value: true.
|
|
14
14
|
*
|
|
15
|
-
* >
|
|
15
|
+
* > If you do not have sufficient balance in your account, you can set `AutoPay` to `false` to generate an unpaid order. Then, you can pay for the order.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* false
|
|
@@ -28,7 +28,7 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
28
28
|
clientToken?: string;
|
|
29
29
|
/**
|
|
30
30
|
* @remarks
|
|
31
|
-
* The new billing method for the dedicated host. Valid
|
|
31
|
+
* The new billing method for the dedicated host. Valid value:
|
|
32
32
|
*
|
|
33
33
|
* * PrePaid: changes the billing method from pay-as-you-go to subscription.
|
|
34
34
|
* * PostPaid: changes the billing method from subscription to pay-as-you-go.
|
|
@@ -53,7 +53,7 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
53
53
|
* @remarks
|
|
54
54
|
* Specifies whether to return the billing details of the order when the billing method is changed from subscription to pay-as-you-go.
|
|
55
55
|
*
|
|
56
|
-
* Default value: false.
|
|
56
|
+
* Indicates whether the nfs volume is set to the read-only mode. Default value: false.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* false
|
|
@@ -61,12 +61,12 @@ export class ModifyDedicatedHostsChargeTypeRequest extends $dara.Model {
|
|
|
61
61
|
detailFee?: boolean;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* Specifies whether to perform only a dry run. Valid
|
|
64
|
+
* Specifies whether to perform only a dry run. Valid value:
|
|
65
65
|
*
|
|
66
|
-
* * 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.
|
|
66
|
+
* * 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. If the request fails the dry run, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
|
|
67
67
|
* * 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.
|
|
68
68
|
*
|
|
69
|
-
* Default value: false.
|
|
69
|
+
* Indicates whether the nfs volume is set to the read-only mode. Default value: false.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* false
|
|
@@ -53,7 +53,14 @@ export class ModifyInstanceMetadataOptionsRequest extends $dara.Model {
|
|
|
53
53
|
instanceId?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Specifies whether to enable the access channel for instance metadata. Valid values:
|
|
57
|
+
*
|
|
58
|
+
* * enabled
|
|
59
|
+
* * disabled
|
|
60
|
+
*
|
|
61
|
+
* Default value: disabled.
|
|
62
|
+
*
|
|
63
|
+
* > The tag key must be a combination of letters, digits, @, colons (:), underscores (_), hyphens (-), periods (.), equal signs (=), and commas (,). The tag key cannot be "." or "..". Otherwise, the tag key cannot be accessed in the metadata.
|
|
57
64
|
*
|
|
58
65
|
* @example
|
|
59
66
|
* null
|
|
@@ -15,7 +15,7 @@ export class ModifyInstanceNetworkOptionsResponseBody extends $dara.Model {
|
|
|
15
15
|
* @remarks
|
|
16
16
|
* The ID of the task for which the bandwidth weight is modified.
|
|
17
17
|
*
|
|
18
|
-
* You can use the [
|
|
18
|
+
* You can use the [DescribeTaskAttribute](https://help.aliyun.com/document_detail/2679968.html) interface to modify the bandwidth weight result.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* t-bp198jigq7l0h5ac****
|
|
@@ -69,13 +69,25 @@ export class ModifySecurityGroupEgressRuleRequest extends $dara.Model {
|
|
|
69
69
|
destPrefixListId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* Network Layer /transport layer protocol. Two types of assignments are supported:
|
|
73
|
+
*
|
|
74
|
+
* 1. The case-insensitive protocol name. Valid values:
|
|
73
75
|
*
|
|
74
76
|
* * ICMP
|
|
75
77
|
* * GRE
|
|
76
78
|
* * TCP
|
|
77
79
|
* * UDP
|
|
78
|
-
* * ALL:
|
|
80
|
+
* * ALL: supports all protocols.
|
|
81
|
+
*
|
|
82
|
+
* 2. The value of the IANA-compliant protocol number, which is an integer from 0 to 255. List of regions currently available:
|
|
83
|
+
*
|
|
84
|
+
* * Philippines (Manila)
|
|
85
|
+
* * UK (London)
|
|
86
|
+
* * Malaysia (Kuala Lumpur)
|
|
87
|
+
* * China (Hohhot)
|
|
88
|
+
* * China (Qingdao)
|
|
89
|
+
* * US (Silicon Valley)
|
|
90
|
+
* * Singapore
|
|
79
91
|
*
|
|
80
92
|
* @example
|
|
81
93
|
* tcp
|
|
@@ -31,13 +31,25 @@ export class ModifySecurityGroupRuleRequest extends $dara.Model {
|
|
|
31
31
|
destCidrIp?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
*
|
|
34
|
+
* Network Layer /transport layer protocol. Two types of assignments are supported:
|
|
35
|
+
*
|
|
36
|
+
* 1. The case-insensitive protocol name. Valid values:
|
|
35
37
|
*
|
|
36
38
|
* * ICMP
|
|
37
39
|
* * GRE
|
|
38
40
|
* * TCP
|
|
39
41
|
* * UDP
|
|
40
|
-
* * ALL:
|
|
42
|
+
* * ALL: supports all protocols.
|
|
43
|
+
*
|
|
44
|
+
* 2. The value of the IANA-compliant protocol number, which is an integer from 0 to 255. List of regions currently available:
|
|
45
|
+
*
|
|
46
|
+
* * Philippines (Manila)
|
|
47
|
+
* * UK (London)
|
|
48
|
+
* * Malaysia (Kuala Lumpur)
|
|
49
|
+
* * China (Hohhot)
|
|
50
|
+
* * China (Qingdao)
|
|
51
|
+
* * US (Silicon Valley)
|
|
52
|
+
* * Singapore
|
|
41
53
|
*
|
|
42
54
|
* @example
|
|
43
55
|
* all
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OpenSnapshotServiceRequest extends $dara.Model {
|
|
6
|
+
ownerId?: number;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The region ID of the port list. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) operation to query the most recent region list.
|
|
10
|
+
*
|
|
11
|
+
* This parameter is required.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* cn-beijing
|
|
15
|
+
*/
|
|
16
|
+
regionId?: string;
|
|
17
|
+
resourceOwnerAccount?: string;
|
|
18
|
+
resourceOwnerId?: number;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
ownerId: 'OwnerId',
|
|
22
|
+
regionId: 'RegionId',
|
|
23
|
+
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
24
|
+
resourceOwnerId: 'ResourceOwnerId',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static types(): { [key: string]: any } {
|
|
29
|
+
return {
|
|
30
|
+
ownerId: 'number',
|
|
31
|
+
regionId: 'string',
|
|
32
|
+
resourceOwnerAccount: 'string',
|
|
33
|
+
resourceOwnerId: 'number',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { OpenSnapshotServiceResponseBody } from "./OpenSnapshotServiceResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class OpenSnapshotServiceResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: OpenSnapshotServiceResponseBody;
|
|
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: OpenSnapshotServiceResponseBody,
|
|
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,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class OpenSnapshotServiceResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The request ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* C36234E8-4C67-5F6C-8C07-F51B2EE2C560
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -27,6 +27,18 @@ export class ReleaseDedicatedHostRequest extends $dara.Model {
|
|
|
27
27
|
regionId?: string;
|
|
28
28
|
resourceOwnerAccount?: string;
|
|
29
29
|
resourceOwnerId?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The expiration time of the subscription dedicated host.
|
|
33
|
+
*
|
|
34
|
+
* * true
|
|
35
|
+
* * false
|
|
36
|
+
*
|
|
37
|
+
* Default value: false.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* false
|
|
41
|
+
*/
|
|
30
42
|
terminateSubscription?: boolean;
|
|
31
43
|
static names(): { [key: string]: string } {
|
|
32
44
|
return {
|
package/src/models/model.ts
CHANGED
|
@@ -25,6 +25,7 @@ export { CreateAutoProvisioningGroupRequestLaunchConfigurationTag } from './Crea
|
|
|
25
25
|
export { CreateAutoProvisioningGroupRequestLaunchConfigurationCpuOptions } from './CreateAutoProvisioningGroupRequest';
|
|
26
26
|
export { CreateAutoProvisioningGroupRequestLaunchConfigurationImageOptions } from './CreateAutoProvisioningGroupRequest';
|
|
27
27
|
export { CreateAutoProvisioningGroupRequestLaunchConfigurationSchedulerOptions } from './CreateAutoProvisioningGroupRequest';
|
|
28
|
+
export { CreateAutoProvisioningGroupRequestLaunchConfigurationSecurityOptions } from './CreateAutoProvisioningGroupRequest';
|
|
28
29
|
export { CreateAutoProvisioningGroupRequestLaunchConfiguration } from './CreateAutoProvisioningGroupRequest';
|
|
29
30
|
export { CreateAutoProvisioningGroupRequestDataDiskConfig } from './CreateAutoProvisioningGroupRequest';
|
|
30
31
|
export { CreateAutoProvisioningGroupRequestLaunchTemplateConfig } from './CreateAutoProvisioningGroupRequest';
|
|
@@ -40,6 +41,7 @@ export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationTag } from '
|
|
|
40
41
|
export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationCpuOptions } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
41
42
|
export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationImageOptions } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
42
43
|
export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSchedulerOptions } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
44
|
+
export { CreateAutoProvisioningGroupShrinkRequestLaunchConfigurationSecurityOptions } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
43
45
|
export { CreateAutoProvisioningGroupShrinkRequestLaunchConfiguration } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
44
46
|
export { CreateAutoProvisioningGroupShrinkRequestDataDiskConfig } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
45
47
|
export { CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig } from './CreateAutoProvisioningGroupShrinkRequest';
|
|
@@ -1835,6 +1837,9 @@ export { ModifyVirtualBorderRouterAttributeResponse } from './ModifyVirtualBorde
|
|
|
1835
1837
|
export { ModifyVpcAttributeRequest } from './ModifyVpcAttributeRequest';
|
|
1836
1838
|
export { ModifyVpcAttributeResponseBody } from './ModifyVpcAttributeResponseBody';
|
|
1837
1839
|
export { ModifyVpcAttributeResponse } from './ModifyVpcAttributeResponse';
|
|
1840
|
+
export { OpenSnapshotServiceRequest } from './OpenSnapshotServiceRequest';
|
|
1841
|
+
export { OpenSnapshotServiceResponseBody } from './OpenSnapshotServiceResponseBody';
|
|
1842
|
+
export { OpenSnapshotServiceResponse } from './OpenSnapshotServiceResponse';
|
|
1838
1843
|
export { PurchaseElasticityAssuranceRequest } from './PurchaseElasticityAssuranceRequest';
|
|
1839
1844
|
export { PurchaseElasticityAssuranceResponseBody } from './PurchaseElasticityAssuranceResponseBody';
|
|
1840
1845
|
export { PurchaseElasticityAssuranceResponse } from './PurchaseElasticityAssuranceResponse';
|