@alicloud/ecs20140526 7.2.4 → 7.4.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.
Files changed (147) hide show
  1. package/dist/client.d.ts +163 -166
  2. package/dist/client.js +279 -162
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AcceptInquiredSystemEventRequest.d.ts +0 -7
  5. package/dist/models/AcceptInquiredSystemEventRequest.js.map +1 -1
  6. package/dist/models/AcceptInquiredSystemEventResponseBody.d.ts +0 -3
  7. package/dist/models/AcceptInquiredSystemEventResponseBody.js.map +1 -1
  8. package/dist/models/CreateAutoProvisioningGroupRequest.d.ts +14 -0
  9. package/dist/models/CreateAutoProvisioningGroupRequest.js +25 -1
  10. package/dist/models/CreateAutoProvisioningGroupRequest.js.map +1 -1
  11. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.d.ts +14 -0
  12. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js +25 -1
  13. package/dist/models/CreateAutoProvisioningGroupShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateImagePipelineRequest.d.ts +9 -9
  15. package/dist/models/CreateInstanceRequest.d.ts +6 -2
  16. package/dist/models/CreateInstanceRequest.js.map +1 -1
  17. package/dist/models/CreatePrefixListRequest.d.ts +2 -2
  18. package/dist/models/CreateSnapshotGroupRequest.d.ts +7 -7
  19. package/dist/models/DescribeAutoProvisioningGroupHistoryRequest.d.ts +1 -1
  20. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.d.ts +42 -0
  21. package/dist/models/DescribeAutoSnapshotPolicyAssociationsRequest.js.map +1 -1
  22. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.d.ts +32 -0
  23. package/dist/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.js.map +1 -1
  24. package/dist/models/DescribeAvailableResourceRequest.d.ts +0 -118
  25. package/dist/models/DescribeAvailableResourceRequest.js.map +1 -1
  26. package/dist/models/DescribeAvailableResourceResponseBody.d.ts +9 -75
  27. package/dist/models/DescribeAvailableResourceResponseBody.js.map +1 -1
  28. package/dist/models/DescribeElasticityAssurancesRequest.d.ts +1 -1
  29. package/dist/models/DescribeEniMonitorDataRequest.d.ts +2 -2
  30. package/dist/models/DescribeImagePipelineExecutionsRequest.d.ts +22 -24
  31. package/dist/models/DescribeImagePipelineExecutionsRequest.js.map +1 -1
  32. package/dist/models/DescribeImagePipelineExecutionsResponseBody.d.ts +26 -24
  33. package/dist/models/DescribeImagePipelineExecutionsResponseBody.js.map +1 -1
  34. package/dist/models/DescribeImagePipelinesRequest.d.ts +1 -1
  35. package/dist/models/DescribeImagePipelinesResponseBody.d.ts +2 -2
  36. package/dist/models/DescribeInstanceAttributeResponseBody.d.ts +18 -1
  37. package/dist/models/DescribeInstanceAttributeResponseBody.js.map +1 -1
  38. package/dist/models/DescribeInstancesFullStatusRequest.d.ts +2 -1
  39. package/dist/models/DescribeInstancesFullStatusRequest.js.map +1 -1
  40. package/dist/models/DescribeInvocationResultsRequest.d.ts +79 -64
  41. package/dist/models/DescribeInvocationResultsRequest.js.map +1 -1
  42. package/dist/models/DescribeInvocationResultsResponseBody.d.ts +160 -136
  43. package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
  44. package/dist/models/DescribeInvocationsRequest.d.ts +17 -91
  45. package/dist/models/DescribeInvocationsRequest.js.map +1 -1
  46. package/dist/models/DescribeInvocationsResponseBody.d.ts +225 -172
  47. package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
  48. package/dist/models/DescribeManagedInstancesRequest.d.ts +18 -0
  49. package/dist/models/DescribeManagedInstancesRequest.js.map +1 -1
  50. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.d.ts +52 -0
  51. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js +57 -1
  52. package/dist/models/DescribeNetworkInterfaceAttributeResponseBody.js.map +1 -1
  53. package/dist/models/DescribeSnapshotGroupsResponseBody.d.ts +1 -1
  54. package/dist/models/DescribeSnapshotPackageRequest.d.ts +3 -3
  55. package/dist/models/DisableNetworkInterfaceQoSrequest.d.ts +33 -0
  56. package/dist/models/DisableNetworkInterfaceQoSrequest.js +68 -0
  57. package/dist/models/DisableNetworkInterfaceQoSrequest.js.map +1 -0
  58. package/dist/models/DisableNetworkInterfaceQoSresponse.d.ts +19 -0
  59. package/dist/models/DisableNetworkInterfaceQoSresponse.js +69 -0
  60. package/dist/models/DisableNetworkInterfaceQoSresponse.js.map +1 -0
  61. package/dist/models/DisableNetworkInterfaceQoSresponseBody.d.ts +18 -0
  62. package/dist/models/DisableNetworkInterfaceQoSresponseBody.js +58 -0
  63. package/dist/models/DisableNetworkInterfaceQoSresponseBody.js.map +1 -0
  64. package/dist/models/EnableNetworkInterfaceQoSrequest.d.ts +71 -0
  65. package/dist/models/EnableNetworkInterfaceQoSrequest.js +100 -0
  66. package/dist/models/EnableNetworkInterfaceQoSrequest.js.map +1 -0
  67. package/dist/models/EnableNetworkInterfaceQoSresponse.d.ts +19 -0
  68. package/dist/models/EnableNetworkInterfaceQoSresponse.js +69 -0
  69. package/dist/models/EnableNetworkInterfaceQoSresponse.js.map +1 -0
  70. package/dist/models/EnableNetworkInterfaceQoSresponseBody.d.ts +18 -0
  71. package/dist/models/EnableNetworkInterfaceQoSresponseBody.js +58 -0
  72. package/dist/models/EnableNetworkInterfaceQoSresponseBody.js.map +1 -0
  73. package/dist/models/ModifyCloudAssistantSettingsRequest.d.ts +2 -1
  74. package/dist/models/ModifyCloudAssistantSettingsRequest.js.map +1 -1
  75. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.d.ts +2 -1
  76. package/dist/models/ModifyCloudAssistantSettingsShrinkRequest.js.map +1 -1
  77. package/dist/models/ModifyDedicatedHostsChargeTypeRequest.d.ts +8 -8
  78. package/dist/models/ModifyInstanceMetadataOptionsRequest.d.ts +8 -1
  79. package/dist/models/ModifyInstanceMetadataOptionsRequest.js.map +1 -1
  80. package/dist/models/ModifyInstanceNetworkOptionsResponseBody.d.ts +1 -1
  81. package/dist/models/ModifySecurityGroupEgressRuleRequest.d.ts +14 -2
  82. package/dist/models/ModifySecurityGroupEgressRuleRequest.js.map +1 -1
  83. package/dist/models/ModifySecurityGroupRuleRequest.d.ts +14 -2
  84. package/dist/models/ModifySecurityGroupRuleRequest.js.map +1 -1
  85. package/dist/models/OpenSnapshotServiceRequest.d.ts +26 -0
  86. package/dist/models/OpenSnapshotServiceRequest.js +64 -0
  87. package/dist/models/OpenSnapshotServiceRequest.js.map +1 -0
  88. package/dist/models/OpenSnapshotServiceResponse.d.ts +19 -0
  89. package/dist/models/OpenSnapshotServiceResponse.js +69 -0
  90. package/dist/models/OpenSnapshotServiceResponse.js.map +1 -0
  91. package/dist/models/OpenSnapshotServiceResponseBody.d.ts +21 -0
  92. package/dist/models/OpenSnapshotServiceResponseBody.js +58 -0
  93. package/dist/models/OpenSnapshotServiceResponseBody.js.map +1 -0
  94. package/dist/models/ReleaseDedicatedHostRequest.d.ts +12 -0
  95. package/dist/models/ReleaseDedicatedHostRequest.js.map +1 -1
  96. package/dist/models/model.d.ts +14 -0
  97. package/dist/models/model.js +93 -65
  98. package/dist/models/model.js.map +1 -1
  99. package/package.json +1 -1
  100. package/src/client.ts +304 -162
  101. package/src/models/AcceptInquiredSystemEventRequest.ts +0 -7
  102. package/src/models/AcceptInquiredSystemEventResponseBody.ts +0 -3
  103. package/src/models/CreateAutoProvisioningGroupRequest.ts +29 -0
  104. package/src/models/CreateAutoProvisioningGroupShrinkRequest.ts +29 -0
  105. package/src/models/CreateImagePipelineRequest.ts +9 -9
  106. package/src/models/CreateInstanceRequest.ts +6 -2
  107. package/src/models/CreatePrefixListRequest.ts +2 -2
  108. package/src/models/CreateSnapshotGroupRequest.ts +7 -7
  109. package/src/models/DescribeAutoProvisioningGroupHistoryRequest.ts +1 -1
  110. package/src/models/DescribeAutoSnapshotPolicyAssociationsRequest.ts +42 -0
  111. package/src/models/DescribeAutoSnapshotPolicyAssociationsResponseBody.ts +32 -0
  112. package/src/models/DescribeAvailableResourceRequest.ts +0 -118
  113. package/src/models/DescribeAvailableResourceResponseBody.ts +9 -75
  114. package/src/models/DescribeElasticityAssurancesRequest.ts +1 -1
  115. package/src/models/DescribeEniMonitorDataRequest.ts +2 -2
  116. package/src/models/DescribeImagePipelineExecutionsRequest.ts +22 -24
  117. package/src/models/DescribeImagePipelineExecutionsResponseBody.ts +26 -24
  118. package/src/models/DescribeImagePipelinesRequest.ts +1 -1
  119. package/src/models/DescribeImagePipelinesResponseBody.ts +2 -2
  120. package/src/models/DescribeInstanceAttributeResponseBody.ts +18 -1
  121. package/src/models/DescribeInstancesFullStatusRequest.ts +2 -1
  122. package/src/models/DescribeInvocationResultsRequest.ts +79 -64
  123. package/src/models/DescribeInvocationResultsResponseBody.ts +160 -136
  124. package/src/models/DescribeInvocationsRequest.ts +17 -91
  125. package/src/models/DescribeInvocationsResponseBody.ts +225 -172
  126. package/src/models/DescribeManagedInstancesRequest.ts +18 -0
  127. package/src/models/DescribeNetworkInterfaceAttributeResponseBody.ts +90 -0
  128. package/src/models/DescribeSnapshotGroupsResponseBody.ts +1 -1
  129. package/src/models/DescribeSnapshotPackageRequest.ts +3 -3
  130. package/src/models/DisableNetworkInterfaceQoSrequest.ts +56 -0
  131. package/src/models/DisableNetworkInterfaceQoSresponse.ts +40 -0
  132. package/src/models/DisableNetworkInterfaceQoSresponseBody.ts +31 -0
  133. package/src/models/EnableNetworkInterfaceQoSrequest.ts +117 -0
  134. package/src/models/EnableNetworkInterfaceQoSresponse.ts +40 -0
  135. package/src/models/EnableNetworkInterfaceQoSresponseBody.ts +31 -0
  136. package/src/models/ModifyCloudAssistantSettingsRequest.ts +2 -1
  137. package/src/models/ModifyCloudAssistantSettingsShrinkRequest.ts +2 -1
  138. package/src/models/ModifyDedicatedHostsChargeTypeRequest.ts +8 -8
  139. package/src/models/ModifyInstanceMetadataOptionsRequest.ts +8 -1
  140. package/src/models/ModifyInstanceNetworkOptionsResponseBody.ts +1 -1
  141. package/src/models/ModifySecurityGroupEgressRuleRequest.ts +14 -2
  142. package/src/models/ModifySecurityGroupRuleRequest.ts +14 -2
  143. package/src/models/OpenSnapshotServiceRequest.ts +45 -0
  144. package/src/models/OpenSnapshotServiceResponse.ts +40 -0
  145. package/src/models/OpenSnapshotServiceResponseBody.ts +34 -0
  146. package/src/models/ReleaseDedicatedHostRequest.ts +12 -0
  147. package/src/models/model.ts +14 -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
@@ -694,6 +694,90 @@ export class DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSets extends
694
694
  }
695
695
  }
696
696
 
697
+ export class DescribeNetworkInterfaceAttributeResponseBodyQoSConfigQoS extends $dara.Model {
698
+ /**
699
+ * @example
700
+ * 50000
701
+ */
702
+ bandwidthRx?: number;
703
+ /**
704
+ * @example
705
+ * 50000
706
+ */
707
+ bandwidthTx?: number;
708
+ /**
709
+ * @example
710
+ * 50000
711
+ */
712
+ concurrentConnections?: number;
713
+ /**
714
+ * @example
715
+ * 50000
716
+ */
717
+ ppsRx?: number;
718
+ /**
719
+ * @example
720
+ * 50000
721
+ */
722
+ ppsTx?: number;
723
+ static names(): { [key: string]: string } {
724
+ return {
725
+ bandwidthRx: 'BandwidthRx',
726
+ bandwidthTx: 'BandwidthTx',
727
+ concurrentConnections: 'ConcurrentConnections',
728
+ ppsRx: 'PpsRx',
729
+ ppsTx: 'PpsTx',
730
+ };
731
+ }
732
+
733
+ static types(): { [key: string]: any } {
734
+ return {
735
+ bandwidthRx: 'number',
736
+ bandwidthTx: 'number',
737
+ concurrentConnections: 'number',
738
+ ppsRx: 'number',
739
+ ppsTx: 'number',
740
+ };
741
+ }
742
+
743
+ validate() {
744
+ super.validate();
745
+ }
746
+
747
+ constructor(map?: { [key: string]: any }) {
748
+ super(map);
749
+ }
750
+ }
751
+
752
+ export class DescribeNetworkInterfaceAttributeResponseBodyQoSConfig extends $dara.Model {
753
+ enableQoS?: boolean;
754
+ qoS?: DescribeNetworkInterfaceAttributeResponseBodyQoSConfigQoS;
755
+ static names(): { [key: string]: string } {
756
+ return {
757
+ enableQoS: 'EnableQoS',
758
+ qoS: 'QoS',
759
+ };
760
+ }
761
+
762
+ static types(): { [key: string]: any } {
763
+ return {
764
+ enableQoS: 'boolean',
765
+ qoS: DescribeNetworkInterfaceAttributeResponseBodyQoSConfigQoS,
766
+ };
767
+ }
768
+
769
+ validate() {
770
+ if(this.qoS && typeof (this.qoS as any).validate === 'function') {
771
+ (this.qoS as any).validate();
772
+ }
773
+ super.validate();
774
+ }
775
+
776
+ constructor(map?: { [key: string]: any }) {
777
+ super(map);
778
+ }
779
+ }
780
+
697
781
  export class DescribeNetworkInterfaceAttributeResponseBodySecurityGroupIds extends $dara.Model {
698
782
  securityGroupId?: string[];
699
783
  static names(): { [key: string]: string } {
@@ -981,6 +1065,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $dara.Model {
981
1065
  * The private IP addresses of the ENI.
982
1066
  */
983
1067
  privateIpSets?: DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSets;
1068
+ qoSConfig?: DescribeNetworkInterfaceAttributeResponseBodyQoSConfig;
984
1069
  /**
985
1070
  * @remarks
986
1071
  * The number of queues supported by the ENI.
@@ -1149,6 +1234,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $dara.Model {
1149
1234
  ownerId: 'OwnerId',
1150
1235
  privateIpAddress: 'PrivateIpAddress',
1151
1236
  privateIpSets: 'PrivateIpSets',
1237
+ qoSConfig: 'QoSConfig',
1152
1238
  queueNumber: 'QueueNumber',
1153
1239
  queuePairNumber: 'QueuePairNumber',
1154
1240
  requestId: 'RequestId',
@@ -1190,6 +1276,7 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $dara.Model {
1190
1276
  ownerId: 'string',
1191
1277
  privateIpAddress: 'string',
1192
1278
  privateIpSets: DescribeNetworkInterfaceAttributeResponseBodyPrivateIpSets,
1279
+ qoSConfig: DescribeNetworkInterfaceAttributeResponseBodyQoSConfig,
1193
1280
  queueNumber: 'number',
1194
1281
  queuePairNumber: 'number',
1195
1282
  requestId: 'string',
@@ -1240,6 +1327,9 @@ export class DescribeNetworkInterfaceAttributeResponseBody extends $dara.Model {
1240
1327
  if(this.privateIpSets && typeof (this.privateIpSets as any).validate === 'function') {
1241
1328
  (this.privateIpSets as any).validate();
1242
1329
  }
1330
+ if(this.qoSConfig && typeof (this.qoSConfig as any).validate === 'function') {
1331
+ (this.qoSConfig as any).validate();
1332
+ }
1243
1333
  if(this.securityGroupIds && typeof (this.securityGroupIds as any).validate === 'function') {
1244
1334
  (this.securityGroupIds as any).validate();
1245
1335
  }
@@ -276,7 +276,7 @@ export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroupTags e
276
276
  export class DescribeSnapshotGroupsResponseBodySnapshotGroupsSnapshotGroup extends $dara.Model {
277
277
  /**
278
278
  * @remarks
279
- * The time when the snapshot-consistent group was created.
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. Valid values: 1 to 100.
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
@@ -0,0 +1,56 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DisableNetworkInterfaceQoSRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * eni-bp1iqejowblx6h8j****
12
+ */
13
+ networkInterfaceId?: string;
14
+ ownerAccount?: string;
15
+ ownerId?: number;
16
+ /**
17
+ * @remarks
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * cn-hangzhou
22
+ */
23
+ regionId?: string;
24
+ resourceOwnerAccount?: string;
25
+ resourceOwnerId?: number;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ networkInterfaceId: 'NetworkInterfaceId',
29
+ ownerAccount: 'OwnerAccount',
30
+ ownerId: 'OwnerId',
31
+ regionId: 'RegionId',
32
+ resourceOwnerAccount: 'ResourceOwnerAccount',
33
+ resourceOwnerId: 'ResourceOwnerId',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ networkInterfaceId: 'string',
40
+ ownerAccount: 'string',
41
+ ownerId: 'number',
42
+ regionId: 'string',
43
+ resourceOwnerAccount: 'string',
44
+ resourceOwnerId: 'number',
45
+ };
46
+ }
47
+
48
+ validate() {
49
+ super.validate();
50
+ }
51
+
52
+ constructor(map?: { [key: string]: any }) {
53
+ super(map);
54
+ }
55
+ }
56
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DisableNetworkInterfaceQoSResponseBody } from "./DisableNetworkInterfaceQoSresponseBody";
4
+
5
+
6
+ export class DisableNetworkInterfaceQoSResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DisableNetworkInterfaceQoSResponseBody;
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: DisableNetworkInterfaceQoSResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DisableNetworkInterfaceQoSResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 745CEC9F-0DD7-4451-9FE7-8B752F39****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -0,0 +1,117 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class EnableNetworkInterfaceQoSRequestQoS extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 50000
9
+ */
10
+ bandwidthRx?: number;
11
+ /**
12
+ * @example
13
+ * 50000
14
+ */
15
+ bandwidthTx?: number;
16
+ /**
17
+ * @example
18
+ * 50000
19
+ */
20
+ concurrentConnections?: number;
21
+ /**
22
+ * @example
23
+ * 50000
24
+ */
25
+ ppsRx?: number;
26
+ /**
27
+ * @example
28
+ * 50000
29
+ */
30
+ ppsTx?: number;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ bandwidthRx: 'BandwidthRx',
34
+ bandwidthTx: 'BandwidthTx',
35
+ concurrentConnections: 'ConcurrentConnections',
36
+ ppsRx: 'PpsRx',
37
+ ppsTx: 'PpsTx',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ bandwidthRx: 'number',
44
+ bandwidthTx: 'number',
45
+ concurrentConnections: 'number',
46
+ ppsRx: 'number',
47
+ ppsTx: 'number',
48
+ };
49
+ }
50
+
51
+ validate() {
52
+ super.validate();
53
+ }
54
+
55
+ constructor(map?: { [key: string]: any }) {
56
+ super(map);
57
+ }
58
+ }
59
+
60
+ export class EnableNetworkInterfaceQoSRequest extends $dara.Model {
61
+ /**
62
+ * @remarks
63
+ * This parameter is required.
64
+ *
65
+ * @example
66
+ * eni-2zeh9atclduxvf1z****
67
+ */
68
+ networkInterfaceId?: string;
69
+ ownerAccount?: string;
70
+ ownerId?: number;
71
+ qoS?: EnableNetworkInterfaceQoSRequestQoS;
72
+ /**
73
+ * @remarks
74
+ * This parameter is required.
75
+ *
76
+ * @example
77
+ * cn-hangzhou
78
+ */
79
+ regionId?: string;
80
+ resourceOwnerAccount?: string;
81
+ resourceOwnerId?: number;
82
+ static names(): { [key: string]: string } {
83
+ return {
84
+ networkInterfaceId: 'NetworkInterfaceId',
85
+ ownerAccount: 'OwnerAccount',
86
+ ownerId: 'OwnerId',
87
+ qoS: 'QoS',
88
+ regionId: 'RegionId',
89
+ resourceOwnerAccount: 'ResourceOwnerAccount',
90
+ resourceOwnerId: 'ResourceOwnerId',
91
+ };
92
+ }
93
+
94
+ static types(): { [key: string]: any } {
95
+ return {
96
+ networkInterfaceId: 'string',
97
+ ownerAccount: 'string',
98
+ ownerId: 'number',
99
+ qoS: EnableNetworkInterfaceQoSRequestQoS,
100
+ regionId: 'string',
101
+ resourceOwnerAccount: 'string',
102
+ resourceOwnerId: 'number',
103
+ };
104
+ }
105
+
106
+ validate() {
107
+ if(this.qoS && typeof (this.qoS as any).validate === 'function') {
108
+ (this.qoS as any).validate();
109
+ }
110
+ super.validate();
111
+ }
112
+
113
+ constructor(map?: { [key: string]: any }) {
114
+ super(map);
115
+ }
116
+ }
117
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { EnableNetworkInterfaceQoSResponseBody } from "./EnableNetworkInterfaceQoSresponseBody";
4
+
5
+
6
+ export class EnableNetworkInterfaceQoSResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: EnableNetworkInterfaceQoSResponseBody;
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: EnableNetworkInterfaceQoSResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,31 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class EnableNetworkInterfaceQoSResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 473469C7-AA6F-4DC5-B3DB-A3DC0DE3****
9
+ */
10
+ requestId?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ requestId: 'RequestId',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ requestId: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -274,11 +274,12 @@ export class ModifyCloudAssistantSettingsRequest extends $dara.Model {
274
274
  sessionManagerConfig?: ModifyCloudAssistantSettingsRequestSessionManagerConfig;
275
275
  /**
276
276
  * @remarks
277
- * The Cloud Assistant feature. Valid values:
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. Valid values:
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 values:
8
+ * Specifies whether to automatically complete the payment. Valid value:
9
9
  *
10
- * * true: The payment is automatically completed. Make sure that your account balance is sufficient. Otherwise, your order becomes invalid and must be canceled.
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
- * > 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.
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 values:
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 values:
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. Otherwise, an error message is returned. If the request passes the dry run, the `DryRunOperation` error code is returned.
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
- * > This parameter is in invitational preview and is not publicly available.
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 [DescribeTasks](https://help.aliyun.com/document_detail/25622.html) interface to modify the bandwidth weight result.
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
- * The transport layer protocol of the security group rule. The value of this parameter is case-insensitive. Valid values:
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: All protocols are supported.
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
- * The transport layer protocol of the security group rule. The value of this parameter is case-insensitive. Valid values:
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: All protocols are supported.
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