@alicloud/elasticsearch20170613 3.1.0 → 4.0.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 (98) hide show
  1. package/dist/client.d.ts +36 -96
  2. package/dist/client.js +108 -242
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeInstanceResponseBody.d.ts +28 -0
  5. package/dist/models/DescribeInstanceResponseBody.js +29 -1
  6. package/dist/models/DescribeInstanceResponseBody.js.map +1 -1
  7. package/dist/models/EnableKibanaPvlNetworkRequest.d.ts +5 -16
  8. package/dist/models/EnableKibanaPvlNetworkRequest.js +2 -0
  9. package/dist/models/EnableKibanaPvlNetworkRequest.js.map +1 -1
  10. package/dist/models/NetworkConfig.d.ts +25 -0
  11. package/dist/models/NetworkConfig.js +31 -1
  12. package/dist/models/NetworkConfig.js.map +1 -1
  13. package/dist/models/{RemoveApmResponseBody.d.ts → TurnOffZoneRequest.d.ts} +3 -8
  14. package/dist/models/{RemoveApmResponseBody.js → TurnOffZoneRequest.js} +6 -8
  15. package/dist/models/TurnOffZoneRequest.js.map +1 -0
  16. package/dist/models/{DescribeApmResponse.d.ts → TurnOffZoneResponse.d.ts} +3 -3
  17. package/dist/models/{DescribeApmResponse.js → TurnOffZoneResponse.js} +6 -6
  18. package/dist/models/{DescribeApmResponse.js.map → TurnOffZoneResponse.js.map} +1 -1
  19. package/dist/models/{StopApmResponseBody.d.ts → TurnOffZoneResponseBody.d.ts} +5 -7
  20. package/dist/models/{StopApmResponseBody.js → TurnOffZoneResponseBody.js} +5 -7
  21. package/dist/models/TurnOffZoneResponseBody.js.map +1 -0
  22. package/dist/models/{UpdateApmResponseBody.d.ts → TurnOnZoneRequest.d.ts} +3 -8
  23. package/dist/models/{UpdateApmResponseBody.js → TurnOnZoneRequest.js} +6 -8
  24. package/dist/models/TurnOnZoneRequest.js.map +1 -0
  25. package/dist/models/{StopApmResponse.d.ts → TurnOnZoneResponse.d.ts} +3 -3
  26. package/dist/models/{RemoveApmResponse.js → TurnOnZoneResponse.js} +6 -6
  27. package/dist/models/TurnOnZoneResponse.js.map +1 -0
  28. package/dist/models/{StartApmResponseBody.d.ts → TurnOnZoneResponseBody.d.ts} +5 -7
  29. package/dist/models/{StartApmResponseBody.js → TurnOnZoneResponseBody.js} +5 -7
  30. package/dist/models/TurnOnZoneResponseBody.js.map +1 -0
  31. package/dist/models/UpdateInstanceChargeTypeRequest.d.ts +28 -1
  32. package/dist/models/UpdateInstanceChargeTypeRequest.js +29 -3
  33. package/dist/models/UpdateInstanceChargeTypeRequest.js.map +1 -1
  34. package/dist/models/UpdateInstanceRequest.d.ts +1 -0
  35. package/dist/models/UpdateInstanceRequest.js +2 -0
  36. package/dist/models/UpdateInstanceRequest.js.map +1 -1
  37. package/dist/models/UpdateInstanceSettingsRequest.d.ts +3 -1
  38. package/dist/models/UpdateInstanceSettingsRequest.js +5 -2
  39. package/dist/models/UpdateInstanceSettingsRequest.js.map +1 -1
  40. package/dist/models/UpdateKibanaPvlNetworkRequest.d.ts +5 -3
  41. package/dist/models/UpdateKibanaPvlNetworkRequest.js +2 -0
  42. package/dist/models/UpdateKibanaPvlNetworkRequest.js.map +1 -1
  43. package/dist/models/model.d.ts +9 -17
  44. package/dist/models/model.js +51 -67
  45. package/dist/models/model.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/client.ts +120 -264
  48. package/src/models/DescribeInstanceResponseBody.ts +47 -0
  49. package/src/models/EnableKibanaPvlNetworkRequest.ts +7 -16
  50. package/src/models/NetworkConfig.ts +46 -0
  51. package/src/models/{RemoveApmResponseBody.ts → TurnOffZoneRequest.ts} +5 -12
  52. package/src/models/{DescribeApmResponse.ts → TurnOffZoneResponse.ts} +4 -4
  53. package/src/models/{StopApmResponseBody.ts → TurnOffZoneResponseBody.ts} +6 -10
  54. package/src/models/{UpdateApmResponseBody.ts → TurnOnZoneRequest.ts} +5 -12
  55. package/src/models/{ListApmResponse.ts → TurnOnZoneResponse.ts} +4 -4
  56. package/src/models/{StartApmResponseBody.ts → TurnOnZoneResponseBody.ts} +6 -10
  57. package/src/models/UpdateInstanceChargeTypeRequest.ts +47 -3
  58. package/src/models/UpdateInstanceRequest.ts +3 -0
  59. package/src/models/UpdateInstanceSettingsRequest.ts +6 -3
  60. package/src/models/UpdateKibanaPvlNetworkRequest.ts +7 -3
  61. package/src/models/model.ts +9 -17
  62. package/dist/models/DescribeApmResponseBody.d.ts +0 -208
  63. package/dist/models/DescribeApmResponseBody.js +0 -118
  64. package/dist/models/DescribeApmResponseBody.js.map +0 -1
  65. package/dist/models/ListApmRequest.d.ts +0 -38
  66. package/dist/models/ListApmRequest.js +0 -66
  67. package/dist/models/ListApmRequest.js.map +0 -1
  68. package/dist/models/ListApmResponse.d.ts +0 -19
  69. package/dist/models/ListApmResponse.js +0 -69
  70. package/dist/models/ListApmResponse.js.map +0 -1
  71. package/dist/models/ListApmResponseBody.d.ts +0 -134
  72. package/dist/models/ListApmResponseBody.js +0 -138
  73. package/dist/models/ListApmResponseBody.js.map +0 -1
  74. package/dist/models/RemoveApmResponse.d.ts +0 -19
  75. package/dist/models/RemoveApmResponse.js.map +0 -1
  76. package/dist/models/RemoveApmResponseBody.js.map +0 -1
  77. package/dist/models/StartApmResponse.d.ts +0 -19
  78. package/dist/models/StartApmResponse.js +0 -69
  79. package/dist/models/StartApmResponse.js.map +0 -1
  80. package/dist/models/StartApmResponseBody.js.map +0 -1
  81. package/dist/models/StopApmResponse.js +0 -69
  82. package/dist/models/StopApmResponse.js.map +0 -1
  83. package/dist/models/StopApmResponseBody.js.map +0 -1
  84. package/dist/models/UpdateApmRequest.d.ts +0 -38
  85. package/dist/models/UpdateApmRequest.js +0 -66
  86. package/dist/models/UpdateApmRequest.js.map +0 -1
  87. package/dist/models/UpdateApmResponse.d.ts +0 -19
  88. package/dist/models/UpdateApmResponse.js +0 -69
  89. package/dist/models/UpdateApmResponse.js.map +0 -1
  90. package/dist/models/UpdateApmResponseBody.js.map +0 -1
  91. package/src/models/DescribeApmResponseBody.ts +0 -272
  92. package/src/models/ListApmRequest.ts +0 -59
  93. package/src/models/ListApmResponseBody.ts +0 -209
  94. package/src/models/RemoveApmResponse.ts +0 -40
  95. package/src/models/StartApmResponse.ts +0 -40
  96. package/src/models/StopApmResponse.ts +0 -40
  97. package/src/models/UpdateApmRequest.ts +0 -59
  98. package/src/models/UpdateApmResponse.ts +0 -40
@@ -1,209 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
-
4
-
5
- export class ListApmResponseBodyHeaders extends $dara.Model {
6
- /**
7
- * @example
8
- * 1
9
- */
10
- xTotalCount?: number;
11
- static names(): { [key: string]: string } {
12
- return {
13
- xTotalCount: 'X-Total-Count',
14
- };
15
- }
16
-
17
- static types(): { [key: string]: any } {
18
- return {
19
- xTotalCount: 'number',
20
- };
21
- }
22
-
23
- validate() {
24
- super.validate();
25
- }
26
-
27
- constructor(map?: { [key: string]: any }) {
28
- super(map);
29
- }
30
- }
31
-
32
- export class ListApmResponseBodyResult extends $dara.Model {
33
- /**
34
- * @example
35
- * 2021-11-16T07:15:51.967Z
36
- */
37
- createdAt?: string;
38
- /**
39
- * @example
40
- * 1
41
- */
42
- deployedReplica?: number;
43
- /**
44
- * @example
45
- * APMtest
46
- */
47
- description?: string;
48
- /**
49
- * @example
50
- * apm-cn-i7m2fuae****
51
- */
52
- instanceId?: string;
53
- /**
54
- * @example
55
- * 1
56
- */
57
- nodeAmount?: number;
58
- /**
59
- * @example
60
- * es-cn-i7m2fsfhc001x****
61
- */
62
- outputES?: string;
63
- /**
64
- * @example
65
- * elastic
66
- */
67
- outputESUserName?: string;
68
- /**
69
- * @example
70
- * 133071096032****
71
- */
72
- ownerId?: string;
73
- /**
74
- * @example
75
- * postpaid
76
- */
77
- paymentType?: string;
78
- /**
79
- * @example
80
- * cn-hangzhou
81
- */
82
- region?: string;
83
- /**
84
- * @example
85
- * 1
86
- */
87
- replica?: number;
88
- /**
89
- * @example
90
- * C1M2
91
- */
92
- resourceSpec?: string;
93
- /**
94
- * @example
95
- * active
96
- */
97
- status?: string;
98
- /**
99
- * @example
100
- * 7.10.2
101
- */
102
- version?: string;
103
- /**
104
- * @example
105
- * vpc-bp1530vdhqkamm9s0****
106
- */
107
- vpcId?: string;
108
- /**
109
- * @example
110
- * cn-hangzhou-i
111
- */
112
- vsArea?: string;
113
- /**
114
- * @example
115
- * vsw-bp1j1mql6r9g5vfb4****
116
- */
117
- vswitchId?: string;
118
- static names(): { [key: string]: string } {
119
- return {
120
- createdAt: 'createdAt',
121
- deployedReplica: 'deployedReplica',
122
- description: 'description',
123
- instanceId: 'instanceId',
124
- nodeAmount: 'nodeAmount',
125
- outputES: 'outputES',
126
- outputESUserName: 'outputESUserName',
127
- ownerId: 'ownerId',
128
- paymentType: 'paymentType',
129
- region: 'region',
130
- replica: 'replica',
131
- resourceSpec: 'resourceSpec',
132
- status: 'status',
133
- version: 'version',
134
- vpcId: 'vpcId',
135
- vsArea: 'vsArea',
136
- vswitchId: 'vswitchId',
137
- };
138
- }
139
-
140
- static types(): { [key: string]: any } {
141
- return {
142
- createdAt: 'string',
143
- deployedReplica: 'number',
144
- description: 'string',
145
- instanceId: 'string',
146
- nodeAmount: 'number',
147
- outputES: 'string',
148
- outputESUserName: 'string',
149
- ownerId: 'string',
150
- paymentType: 'string',
151
- region: 'string',
152
- replica: 'number',
153
- resourceSpec: 'string',
154
- status: 'string',
155
- version: 'string',
156
- vpcId: 'string',
157
- vsArea: 'string',
158
- vswitchId: 'string',
159
- };
160
- }
161
-
162
- validate() {
163
- super.validate();
164
- }
165
-
166
- constructor(map?: { [key: string]: any }) {
167
- super(map);
168
- }
169
- }
170
-
171
- export class ListApmResponseBody extends $dara.Model {
172
- headers?: ListApmResponseBodyHeaders;
173
- /**
174
- * @example
175
- * 080D3399-76CF-519D-A540-2C44BC056EB7
176
- */
177
- requestId?: string;
178
- result?: ListApmResponseBodyResult[];
179
- static names(): { [key: string]: string } {
180
- return {
181
- headers: 'Headers',
182
- requestId: 'RequestId',
183
- result: 'Result',
184
- };
185
- }
186
-
187
- static types(): { [key: string]: any } {
188
- return {
189
- headers: ListApmResponseBodyHeaders,
190
- requestId: 'string',
191
- result: { 'type': 'array', 'itemType': ListApmResponseBodyResult },
192
- };
193
- }
194
-
195
- validate() {
196
- if(this.headers && typeof (this.headers as any).validate === 'function') {
197
- (this.headers as any).validate();
198
- }
199
- if(Array.isArray(this.result)) {
200
- $dara.Model.validateArray(this.result);
201
- }
202
- super.validate();
203
- }
204
-
205
- constructor(map?: { [key: string]: any }) {
206
- super(map);
207
- }
208
- }
209
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { RemoveApmResponseBody } from "./RemoveApmResponseBody";
4
-
5
-
6
- export class RemoveApmResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: RemoveApmResponseBody;
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: RemoveApmResponseBody,
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
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { StartApmResponseBody } from "./StartApmResponseBody";
4
-
5
-
6
- export class StartApmResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: StartApmResponseBody;
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: StartApmResponseBody,
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
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { StopApmResponseBody } from "./StopApmResponseBody";
4
-
5
-
6
- export class StopApmResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: StopApmResponseBody;
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: StopApmResponseBody,
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
-
@@ -1,59 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
-
4
-
5
- export class UpdateApmRequest extends $dara.Model {
6
- /**
7
- * @example
8
- * APMtest
9
- */
10
- description?: string;
11
- /**
12
- * @example
13
- * es-cn-i7m2fsfhc001x****
14
- */
15
- outputES?: string;
16
- /**
17
- * @example
18
- * ESPassword****
19
- */
20
- outputESPassword?: string;
21
- /**
22
- * @example
23
- * elastic
24
- */
25
- outputESUserName?: string;
26
- /**
27
- * @example
28
- * AMPPassword****
29
- */
30
- token?: string;
31
- static names(): { [key: string]: string } {
32
- return {
33
- description: 'description',
34
- outputES: 'outputES',
35
- outputESPassword: 'outputESPassword',
36
- outputESUserName: 'outputESUserName',
37
- token: 'token',
38
- };
39
- }
40
-
41
- static types(): { [key: string]: any } {
42
- return {
43
- description: 'string',
44
- outputES: 'string',
45
- outputESPassword: 'string',
46
- outputESUserName: 'string',
47
- token: 'string',
48
- };
49
- }
50
-
51
- validate() {
52
- super.validate();
53
- }
54
-
55
- constructor(map?: { [key: string]: any }) {
56
- super(map);
57
- }
58
- }
59
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { UpdateApmResponseBody } from "./UpdateApmResponseBody";
4
-
5
-
6
- export class UpdateApmResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: UpdateApmResponseBody;
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: UpdateApmResponseBody,
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
-