Skip to content

Commit 19c3a5a

Browse files
committed
Update API CreateARMServerInstances: add request parameters InstanceBillingCycle.
1 parent bb3c67b commit 19c3a5a

9 files changed

+17
-161
lines changed

ens-20171110/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/ens20171110",
3-
"version": "8.0.11",
3+
"version": "8.0.12",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

ens-20171110/src/client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -985,6 +985,10 @@ export default class Client extends OpenApi {
985985
query["ImageId"] = request.imageId;
986986
}
987987

988+
if (!$dara.isNull(request.instanceBillingCycle)) {
989+
query["InstanceBillingCycle"] = request.instanceBillingCycle;
990+
}
991+
988992
if (!$dara.isNull(request.instanceType)) {
989993
query["InstanceType"] = request.instanceType;
990994
}

ens-20171110/src/models/CreateArmserverInstancesRequest.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export class CreateARMServerInstancesRequest extends $dara.Model {
7373
* yourImage ID
7474
*/
7575
imageId?: string;
76+
instanceBillingCycle?: string;
7677
/**
7778
* @remarks
7879
* The specification of the Android in Container (AIC) instance. Examples:
@@ -141,8 +142,6 @@ export class CreateARMServerInstancesRequest extends $dara.Model {
141142
* * If you set PeriodUnit to Day, you can set Period only to 3.
142143
* * If you set PeriodUnit to Month, you can set Period to a value within the range of [1,9], or set the value to 12.
143144
*
144-
* This parameter is required.
145-
*
146145
* @example
147146
* 1
148147
*/
@@ -155,8 +154,6 @@ export class CreateARMServerInstancesRequest extends $dara.Model {
155154
* * If you set PeriodUnit to Day, you can set Period only to 3.
156155
* * If you set PeriodUnit to Month, you can set Period to a value within the range of [1,9], or set the value to 12.
157156
*
158-
* This parameter is required.
159-
*
160157
* @example
161158
* Month
162159
*/
@@ -215,6 +212,7 @@ export class CreateARMServerInstancesRequest extends $dara.Model {
215212
environmentVar: 'EnvironmentVar',
216213
frequency: 'Frequency',
217214
imageId: 'ImageId',
215+
instanceBillingCycle: 'InstanceBillingCycle',
218216
instanceType: 'InstanceType',
219217
keyPairName: 'KeyPairName',
220218
nameSpace: 'NameSpace',
@@ -238,6 +236,7 @@ export class CreateARMServerInstancesRequest extends $dara.Model {
238236
environmentVar: 'string',
239237
frequency: 'number',
240238
imageId: 'string',
239+
instanceBillingCycle: 'string',
241240
instanceType: 'string',
242241
keyPairName: 'string',
243242
nameSpace: 'string',

ens-20171110/src/models/CreateImageRequest.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ export class CreateImageRequest extends $dara.Model {
5151
targetOSSRegionId?: string;
5252
/**
5353
* @remarks
54-
* 创建镜像是否包含数据盘。
54+
* Specifies whether to include data disk snapshots in the custom image.
5555
*
5656
* @example
57-
* 取值
58-
* true:附带数据盘
59-
* false:默认值,不附带数据盘
57+
* Value true false (default)
6058
*/
6159
withDataDisks?: boolean;
6260
static names(): { [key: string]: string } {

ens-20171110/src/models/DescribeEnsEipAddressesResponseBody.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ export class DescribeEnsEipAddressesResponseBody extends $dara.Model {
77
/**
88
* @remarks
99
* Details of the EIPs.
10+
*
11+
* @example
12+
* [\\"106.14.194.193\\"]
1013
*/
1114
eipAddresses?: DescribeEnsEipAddressesResponseBodyEipAddresses;
1215
/**

ens-20171110/src/models/DescribeEnsEipAddressesResponseBodyEipAddressesEipAddress.ts

Lines changed: 0 additions & 128 deletions
Original file line numberDiff line numberDiff line change
@@ -4,148 +4,20 @@ import { DescribeEnsEipAddressesResponseBodyEipAddressesEipAddressTags } from ".
44

55

66
export class DescribeEnsEipAddressesResponseBodyEipAddressesEipAddress extends $dara.Model {
7-
/**
8-
* @remarks
9-
* The ID of the EIP.
10-
*
11-
* @example
12-
* eip-5sainglpw7qfem3icir4s****
13-
*/
147
allocationId?: string;
15-
/**
16-
* @remarks
17-
* The time when the EIP was created.
18-
*
19-
* @example
20-
* 1624885274000
21-
*/
228
allocationTime?: string;
23-
/**
24-
* @remarks
25-
* The peak bandwidth of the EIP. Default value: 5. Valid values: **5** to **10000**. Unit: Mbit/s.
26-
*
27-
* @example
28-
* 50
29-
*/
309
bandwidth?: number;
31-
/**
32-
* @remarks
33-
* The billing method of the EIP. Valid values:
34-
*
35-
* * **PrePaid**: subscription.
36-
* * **PostPaid**: pay-as-you-go
37-
*
38-
* @example
39-
* PostPaid
40-
*/
4110
chargeType?: string;
42-
/**
43-
* @remarks
44-
* The description of the EIP.
45-
*
46-
* @example
47-
* example
48-
*/
4911
description?: string;
50-
/**
51-
* @remarks
52-
* The ID of the ENS node.
53-
*
54-
* @example
55-
* cn-xian-telecom
56-
*/
5712
ensRegionId?: string;
58-
/**
59-
* @remarks
60-
* The ID of the instance that is associated with the EIP.
61-
*
62-
* @example
63-
* lb-5sc3kum2e0sz34wbqrws9****
64-
*/
6513
instanceId?: string;
66-
/**
67-
* @remarks
68-
* The type of the instance that is associated with the EIP. Valid values:
69-
*
70-
* * **EnsInstance**: ENS instance in a VPC
71-
* * **SlbInstance**: SLB instance
72-
*
73-
* @example
74-
* SlbInstance
75-
*/
7614
instanceType?: string;
77-
/**
78-
* @remarks
79-
* The metering method of the EIP.
80-
*
81-
* * **95BandwidthByMonth**: Pay by monthly 95th percentile bandwidth
82-
* * **PayByBandwidth**: Pay by bandwidth
83-
*
84-
* @example
85-
* 95BandwidthByMonth
86-
*/
8715
internetChargeType?: string;
88-
/**
89-
* @remarks
90-
* The EIP.
91-
*
92-
* @example
93-
* 10.10.10
94-
*/
9516
ipAddress?: string;
96-
/**
97-
* @remarks
98-
* The running status of the EIP. This parameter is returned if the EIP is a secondary EIP. Valid values:
99-
*
100-
* * **Stopped**
101-
* * **Running**
102-
* * **Starting**
103-
* * **Stopping**
104-
*
105-
* @example
106-
* Stopped
107-
*/
10817
ipStatus?: string;
109-
/**
110-
* @remarks
111-
* The Internet service provider (ISP). Valid values:
112-
*
113-
* * **cmcc**: China Mobile
114-
* * **unicom**: China Unicom
115-
* * **telecom**: China Telecom
116-
*
117-
* @example
118-
* cmcc
119-
*/
12018
isp?: string;
121-
/**
122-
* @remarks
123-
* The name of the EIP.
124-
*
125-
* @example
126-
* test
127-
*/
12819
name?: string;
129-
/**
130-
* @remarks
131-
* Indicates whether the EIP is a secondary EIP.
132-
*
133-
* @example
134-
* true
135-
*/
13620
standby?: boolean;
137-
/**
138-
* @remarks
139-
* The status of the EIP. Valid values:
140-
*
141-
* * **Associating**
142-
* * **Unassociating**
143-
* * **InUse**
144-
* * **Available**
145-
*
146-
* @example
147-
* Available
148-
*/
14921
status?: string;
15022
tags?: DescribeEnsEipAddressesResponseBodyEipAddressesEipAddressTags;
15123
static names(): { [key: string]: string } {

ens-20171110/src/models/DescribeEnsEipAddressesResponseBodyEipAddressesEipAddressTagsTag.ts

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,15 @@ import * as $dara from '@darabonba/typescript';
33

44

55
export class DescribeEnsEipAddressesResponseBodyEipAddressesEipAddressTagsTag extends $dara.Model {
6-
/**
7-
* @remarks
8-
* 标签键
9-
*
10-
* @example
11-
* TestKey
12-
*/
136
key?: string;
147
/**
15-
* @example
16-
* TestKey
17-
*
188
* @deprecated
199
*/
2010
tagKey?: string;
2111
/**
22-
* @example
23-
* TestValue
24-
*
2512
* @deprecated
2613
*/
2714
tagValue?: string;
28-
/**
29-
* @remarks
30-
* 标签值。
31-
*
32-
* @example
33-
* TestValue
34-
*/
3515
value?: string;
3616
static names(): { [key: string]: string } {
3717
return {

ens-20171110/src/models/DescribeNetworksResponseBodyNetworksNetworkTagsTag.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
55
export class DescribeNetworksResponseBodyNetworksNetworkTagsTag extends $dara.Model {
66
/**
77
* @remarks
8-
* 标签键。
8+
* The key of the tag.
99
*
1010
* @example
1111
* TestKey
@@ -27,7 +27,7 @@ export class DescribeNetworksResponseBodyNetworksNetworkTagsTag extends $dara.Mo
2727
tagValue?: string;
2828
/**
2929
* @remarks
30-
* 标签值。
30+
* The bandwidth.
3131
*
3232
* @example
3333
* TestValue

ens-20171110/src/models/DescribeVswitchesResponseBodyVswitchesVswitchTagsTag.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
55
export class DescribeVSwitchesResponseBodyVSwitchesVSwitchTagsTag extends $dara.Model {
66
/**
77
* @remarks
8-
* 标签键。
8+
* The tag key.
99
*
1010
* @example
1111
* TestKey
@@ -27,7 +27,7 @@ export class DescribeVSwitchesResponseBodyVSwitchesVSwitchTagsTag extends $dara.
2727
tagValue?: string;
2828
/**
2929
* @remarks
30-
* 标签值。
30+
* The request error rate.
3131
*
3232
* @example
3333
* TestValue

0 commit comments

Comments
 (0)