@alicloud/cms20240330 5.0.0 → 6.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 (89) hide show
  1. package/dist/client.d.ts +72 -0
  2. package/dist/client.js +223 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAlertWebhookRequest.d.ts +56 -0
  5. package/dist/models/CreateAlertWebhookRequest.js +73 -0
  6. package/dist/models/CreateAlertWebhookRequest.js.map +1 -0
  7. package/dist/models/CreateAlertWebhookResponse.d.ts +19 -0
  8. package/dist/models/CreateAlertWebhookResponse.js +69 -0
  9. package/dist/models/CreateAlertWebhookResponse.js.map +1 -0
  10. package/dist/models/CreateAlertWebhookResponseBody.d.ts +23 -0
  11. package/dist/models/CreateAlertWebhookResponseBody.js +60 -0
  12. package/dist/models/CreateAlertWebhookResponseBody.js.map +1 -0
  13. package/dist/models/DeleteAlertWebhooksRequest.d.ts +18 -0
  14. package/dist/models/DeleteAlertWebhooksRequest.js +61 -0
  15. package/dist/models/DeleteAlertWebhooksRequest.js.map +1 -0
  16. package/dist/models/DeleteAlertWebhooksResponse.d.ts +19 -0
  17. package/dist/models/DeleteAlertWebhooksResponse.js +69 -0
  18. package/dist/models/DeleteAlertWebhooksResponse.js.map +1 -0
  19. package/dist/models/DeleteAlertWebhooksResponseBody.d.ts +18 -0
  20. package/dist/models/DeleteAlertWebhooksResponseBody.js +58 -0
  21. package/dist/models/DeleteAlertWebhooksResponseBody.js.map +1 -0
  22. package/dist/models/DeleteAlertWebhooksShrinkRequest.d.ts +18 -0
  23. package/dist/models/DeleteAlertWebhooksShrinkRequest.js +58 -0
  24. package/dist/models/DeleteAlertWebhooksShrinkRequest.js.map +1 -0
  25. package/dist/models/ListAggTaskGroupsResponseBody.d.ts +0 -33
  26. package/dist/models/ListAggTaskGroupsResponseBody.js +1 -27
  27. package/dist/models/ListAggTaskGroupsResponseBody.js.map +1 -1
  28. package/dist/models/ListAlertWebhooksRequest.d.ts +29 -0
  29. package/dist/models/ListAlertWebhooksRequest.js +67 -0
  30. package/dist/models/ListAlertWebhooksRequest.js.map +1 -0
  31. package/dist/models/ListAlertWebhooksResponse.d.ts +19 -0
  32. package/dist/models/ListAlertWebhooksResponse.js +69 -0
  33. package/dist/models/ListAlertWebhooksResponse.js.map +1 -0
  34. package/dist/models/ListAlertWebhooksResponseBody.d.ts +90 -0
  35. package/dist/models/ListAlertWebhooksResponseBody.js +103 -0
  36. package/dist/models/ListAlertWebhooksResponseBody.js.map +1 -0
  37. package/dist/models/ListAlertWebhooksShrinkRequest.d.ts +29 -0
  38. package/dist/models/ListAlertWebhooksShrinkRequest.js +64 -0
  39. package/dist/models/ListAlertWebhooksShrinkRequest.js.map +1 -0
  40. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +0 -33
  41. package/dist/models/ListIntegrationPoliciesResponseBody.js +1 -27
  42. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  43. package/dist/models/ListPrometheusInstancesRequest.d.ts +5 -0
  44. package/dist/models/ListPrometheusInstancesRequest.js +2 -0
  45. package/dist/models/ListPrometheusInstancesRequest.js.map +1 -1
  46. package/dist/models/ListPrometheusInstancesResponseBody.d.ts +0 -41
  47. package/dist/models/ListPrometheusInstancesResponseBody.js +1 -29
  48. package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -1
  49. package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +5 -0
  50. package/dist/models/ListPrometheusInstancesShrinkRequest.js +2 -0
  51. package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -1
  52. package/dist/models/ListPrometheusViewsResponseBody.d.ts +0 -41
  53. package/dist/models/ListPrometheusViewsResponseBody.js +1 -29
  54. package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -1
  55. package/dist/models/UpdateAlertWebhookRequest.d.ts +45 -0
  56. package/dist/models/UpdateAlertWebhookRequest.js +71 -0
  57. package/dist/models/UpdateAlertWebhookRequest.js.map +1 -0
  58. package/dist/models/UpdateAlertWebhookResponse.d.ts +19 -0
  59. package/dist/models/UpdateAlertWebhookResponse.js +69 -0
  60. package/dist/models/UpdateAlertWebhookResponse.js.map +1 -0
  61. package/dist/models/UpdateAlertWebhookResponseBody.d.ts +18 -0
  62. package/dist/models/UpdateAlertWebhookResponseBody.js +58 -0
  63. package/dist/models/UpdateAlertWebhookResponseBody.js.map +1 -0
  64. package/dist/models/model.d.ts +15 -4
  65. package/dist/models/model.js +52 -30
  66. package/dist/models/model.js.map +1 -1
  67. package/package.json +1 -1
  68. package/src/client.ts +252 -0
  69. package/src/models/CreateAlertWebhookRequest.ts +82 -0
  70. package/src/models/CreateAlertWebhookResponse.ts +40 -0
  71. package/src/models/CreateAlertWebhookResponseBody.ts +38 -0
  72. package/src/models/DeleteAlertWebhooksRequest.ts +34 -0
  73. package/src/models/DeleteAlertWebhooksResponse.ts +40 -0
  74. package/src/models/DeleteAlertWebhooksResponseBody.ts +31 -0
  75. package/src/models/DeleteAlertWebhooksShrinkRequest.ts +31 -0
  76. package/src/models/ListAggTaskGroupsResponseBody.ts +0 -50
  77. package/src/models/ListAlertWebhooksRequest.ts +51 -0
  78. package/src/models/ListAlertWebhooksResponse.ts +40 -0
  79. package/src/models/ListAlertWebhooksResponseBody.ts +137 -0
  80. package/src/models/ListAlertWebhooksShrinkRequest.ts +48 -0
  81. package/src/models/ListIntegrationPoliciesResponseBody.ts +0 -50
  82. package/src/models/ListPrometheusInstancesRequest.ts +7 -0
  83. package/src/models/ListPrometheusInstancesResponseBody.ts +0 -60
  84. package/src/models/ListPrometheusInstancesShrinkRequest.ts +7 -0
  85. package/src/models/ListPrometheusViewsResponseBody.ts +0 -60
  86. package/src/models/UpdateAlertWebhookRequest.ts +69 -0
  87. package/src/models/UpdateAlertWebhookResponse.ts +40 -0
  88. package/src/models/UpdateAlertWebhookResponseBody.ts +31 -0
  89. package/src/models/model.ts +15 -4
@@ -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 DeleteAlertWebhooksShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ */
10
+ webhookIdsShrink?: string;
11
+ static names(): { [key: string]: string } {
12
+ return {
13
+ webhookIdsShrink: 'webhookIds',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ webhookIdsShrink: 'string',
20
+ };
21
+ }
22
+
23
+ validate() {
24
+ super.validate();
25
+ }
26
+
27
+ constructor(map?: { [key: string]: any }) {
28
+ super(map);
29
+ }
30
+ }
31
+
@@ -2,46 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- export class ListAggTaskGroupsResponseBodyAggTaskGroupsTags extends $dara.Model {
6
- /**
7
- * @remarks
8
- * Key of the resource group tag.
9
- *
10
- * @example
11
- * key1
12
- */
13
- key?: string;
14
- /**
15
- * @remarks
16
- * Value of the resource group tag.
17
- *
18
- * @example
19
- * value1
20
- */
21
- value?: string;
22
- static names(): { [key: string]: string } {
23
- return {
24
- key: 'key',
25
- value: 'value',
26
- };
27
- }
28
-
29
- static types(): { [key: string]: any } {
30
- return {
31
- key: 'string',
32
- value: 'string',
33
- };
34
- }
35
-
36
- validate() {
37
- super.validate();
38
- }
39
-
40
- constructor(map?: { [key: string]: any }) {
41
- super(map);
42
- }
43
- }
44
-
45
5
  export class ListAggTaskGroupsResponseBodyAggTaskGroups extends $dara.Model {
46
6
  /**
47
7
  * @remarks
@@ -163,11 +123,6 @@ export class ListAggTaskGroupsResponseBodyAggTaskGroups extends $dara.Model {
163
123
  * Running
164
124
  */
165
125
  status?: string;
166
- /**
167
- * @remarks
168
- * Resource group tags
169
- */
170
- tags?: ListAggTaskGroupsResponseBodyAggTaskGroupsTags[];
171
126
  /**
172
127
  * @remarks
173
128
  * The target Prometheus instance ID of the aggregation task group.
@@ -209,7 +164,6 @@ export class ListAggTaskGroupsResponseBodyAggTaskGroups extends $dara.Model {
209
164
  scheduleTimeExpr: 'scheduleTimeExpr',
210
165
  sourcePrometheusId: 'sourcePrometheusId',
211
166
  status: 'status',
212
- tags: 'tags',
213
167
  targetPrometheusId: 'targetPrometheusId',
214
168
  toTime: 'toTime',
215
169
  updateTime: 'updateTime',
@@ -233,7 +187,6 @@ export class ListAggTaskGroupsResponseBodyAggTaskGroups extends $dara.Model {
233
187
  scheduleTimeExpr: 'string',
234
188
  sourcePrometheusId: 'string',
235
189
  status: 'string',
236
- tags: { 'type': 'array', 'itemType': ListAggTaskGroupsResponseBodyAggTaskGroupsTags },
237
190
  targetPrometheusId: 'string',
238
191
  toTime: 'number',
239
192
  updateTime: 'string',
@@ -241,9 +194,6 @@ export class ListAggTaskGroupsResponseBodyAggTaskGroups extends $dara.Model {
241
194
  }
242
195
 
243
196
  validate() {
244
- if(Array.isArray(this.tags)) {
245
- $dara.Model.validateArray(this.tags);
246
- }
247
197
  super.validate();
248
198
  }
249
199
 
@@ -0,0 +1,51 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListAlertWebhooksRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * test
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * 1
14
+ */
15
+ pageNumber?: number;
16
+ /**
17
+ * @example
18
+ * 10
19
+ */
20
+ pageSize?: number;
21
+ webhookIds?: string[];
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ name: 'name',
25
+ pageNumber: 'pageNumber',
26
+ pageSize: 'pageSize',
27
+ webhookIds: 'webhookIds',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ name: 'string',
34
+ pageNumber: 'number',
35
+ pageSize: 'number',
36
+ webhookIds: { 'type': 'array', 'itemType': 'string' },
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ if(Array.isArray(this.webhookIds)) {
42
+ $dara.Model.validateArray(this.webhookIds);
43
+ }
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListAlertWebhooksResponseBody } from "./ListAlertWebhooksResponseBody";
4
+
5
+
6
+ export class ListAlertWebhooksResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListAlertWebhooksResponseBody;
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: ListAlertWebhooksResponseBody,
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,137 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListAlertWebhooksResponseBodyWebhooks extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * JSON
9
+ */
10
+ contentType?: string;
11
+ /**
12
+ * @remarks
13
+ * headers
14
+ *
15
+ * @example
16
+ * key
17
+ */
18
+ headers?: { [key: string]: any };
19
+ /**
20
+ * @example
21
+ * zh_CN
22
+ */
23
+ lang?: string;
24
+ /**
25
+ * @example
26
+ * GET
27
+ */
28
+ method?: string;
29
+ /**
30
+ * @example
31
+ * test
32
+ */
33
+ name?: string;
34
+ /**
35
+ * @example
36
+ * http://aliyun.com/test
37
+ */
38
+ url?: string;
39
+ /**
40
+ * @example
41
+ * test
42
+ */
43
+ webhookId?: string;
44
+ static names(): { [key: string]: string } {
45
+ return {
46
+ contentType: 'contentType',
47
+ headers: 'headers',
48
+ lang: 'lang',
49
+ method: 'method',
50
+ name: 'name',
51
+ url: 'url',
52
+ webhookId: 'webhookId',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ contentType: 'string',
59
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
60
+ lang: 'string',
61
+ method: 'string',
62
+ name: 'string',
63
+ url: 'string',
64
+ webhookId: 'string',
65
+ };
66
+ }
67
+
68
+ validate() {
69
+ if(this.headers) {
70
+ $dara.Model.validateMap(this.headers);
71
+ }
72
+ super.validate();
73
+ }
74
+
75
+ constructor(map?: { [key: string]: any }) {
76
+ super(map);
77
+ }
78
+ }
79
+
80
+ export class ListAlertWebhooksResponseBody extends $dara.Model {
81
+ /**
82
+ * @example
83
+ * 1
84
+ */
85
+ pageNumber?: number;
86
+ /**
87
+ * @example
88
+ * 10
89
+ */
90
+ pageSize?: number;
91
+ /**
92
+ * @example
93
+ * 8A33DBEA-*****-*****-*****-*****
94
+ */
95
+ requestId?: string;
96
+ /**
97
+ * @example
98
+ * 8
99
+ */
100
+ total?: number;
101
+ /**
102
+ * @remarks
103
+ * webhooks
104
+ */
105
+ webhooks?: ListAlertWebhooksResponseBodyWebhooks[];
106
+ static names(): { [key: string]: string } {
107
+ return {
108
+ pageNumber: 'pageNumber',
109
+ pageSize: 'pageSize',
110
+ requestId: 'requestId',
111
+ total: 'total',
112
+ webhooks: 'webhooks',
113
+ };
114
+ }
115
+
116
+ static types(): { [key: string]: any } {
117
+ return {
118
+ pageNumber: 'number',
119
+ pageSize: 'number',
120
+ requestId: 'string',
121
+ total: 'number',
122
+ webhooks: { 'type': 'array', 'itemType': ListAlertWebhooksResponseBodyWebhooks },
123
+ };
124
+ }
125
+
126
+ validate() {
127
+ if(Array.isArray(this.webhooks)) {
128
+ $dara.Model.validateArray(this.webhooks);
129
+ }
130
+ super.validate();
131
+ }
132
+
133
+ constructor(map?: { [key: string]: any }) {
134
+ super(map);
135
+ }
136
+ }
137
+
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListAlertWebhooksShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * test
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * 1
14
+ */
15
+ pageNumber?: number;
16
+ /**
17
+ * @example
18
+ * 10
19
+ */
20
+ pageSize?: number;
21
+ webhookIdsShrink?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ name: 'name',
25
+ pageNumber: 'pageNumber',
26
+ pageSize: 'pageSize',
27
+ webhookIdsShrink: 'webhookIds',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ name: 'string',
34
+ pageNumber: 'number',
35
+ pageSize: 'number',
36
+ webhookIdsShrink: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -602,46 +602,6 @@ export class ListIntegrationPoliciesResponseBodyPoliciesSubAddonRelease extends
602
602
  }
603
603
  }
604
604
 
605
- export class ListIntegrationPoliciesResponseBodyPoliciesTags extends $dara.Model {
606
- /**
607
- * @remarks
608
- * Tag key
609
- *
610
- * @example
611
- * key
612
- */
613
- key?: string;
614
- /**
615
- * @remarks
616
- * Match value.
617
- *
618
- * @example
619
- * value
620
- */
621
- value?: string;
622
- static names(): { [key: string]: string } {
623
- return {
624
- key: 'key',
625
- value: 'value',
626
- };
627
- }
628
-
629
- static types(): { [key: string]: any } {
630
- return {
631
- key: 'string',
632
- value: 'string',
633
- };
634
- }
635
-
636
- validate() {
637
- super.validate();
638
- }
639
-
640
- constructor(map?: { [key: string]: any }) {
641
- super(map);
642
- }
643
- }
644
-
645
605
  export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
646
606
  /**
647
607
  * @remarks
@@ -719,11 +679,6 @@ export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
719
679
  * Number of sub-releases
720
680
  */
721
681
  subAddonRelease?: ListIntegrationPoliciesResponseBodyPoliciesSubAddonRelease;
722
- /**
723
- * @remarks
724
- * Resource tag key values.
725
- */
726
- tags?: ListIntegrationPoliciesResponseBodyPoliciesTags[];
727
682
  /**
728
683
  * @remarks
729
684
  * User ID
@@ -753,7 +708,6 @@ export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
753
708
  regionId: 'regionId',
754
709
  resourceGroupId: 'resourceGroupId',
755
710
  subAddonRelease: 'subAddonRelease',
756
- tags: 'tags',
757
711
  userId: 'userId',
758
712
  workspace: 'workspace',
759
713
  };
@@ -772,7 +726,6 @@ export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
772
726
  regionId: 'string',
773
727
  resourceGroupId: 'string',
774
728
  subAddonRelease: ListIntegrationPoliciesResponseBodyPoliciesSubAddonRelease,
775
- tags: { 'type': 'array', 'itemType': ListIntegrationPoliciesResponseBodyPoliciesTags },
776
729
  userId: 'string',
777
730
  workspace: 'string',
778
731
  };
@@ -791,9 +744,6 @@ export class ListIntegrationPoliciesResponseBodyPolicies extends $dara.Model {
791
744
  if(this.subAddonRelease && typeof (this.subAddonRelease as any).validate === 'function') {
792
745
  (this.subAddonRelease as any).validate();
793
746
  }
794
- if(Array.isArray(this.tags)) {
795
- $dara.Model.validateArray(this.tags);
796
- }
797
747
  super.validate();
798
748
  }
799
749
 
@@ -133,6 +133,11 @@ export class ListPrometheusInstancesRequest extends $dara.Model {
133
133
  * true
134
134
  */
135
135
  version?: string;
136
+ /**
137
+ * **if can be null:**
138
+ * true
139
+ */
140
+ workspace?: string;
136
141
  static names(): { [key: string]: string } {
137
142
  return {
138
143
  filterRegionIds: 'filterRegionIds',
@@ -144,6 +149,7 @@ export class ListPrometheusInstancesRequest extends $dara.Model {
144
149
  resourceType: 'resourceType',
145
150
  tag: 'tag',
146
151
  version: 'version',
152
+ workspace: 'workspace',
147
153
  };
148
154
  }
149
155
 
@@ -158,6 +164,7 @@ export class ListPrometheusInstancesRequest extends $dara.Model {
158
164
  resourceType: 'string',
159
165
  tag: { 'type': 'array', 'itemType': ListPrometheusInstancesRequestTag },
160
166
  version: 'string',
167
+ workspace: 'string',
161
168
  };
162
169
  }
163
170
 
@@ -2,46 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- export class ListPrometheusInstancesResponseBodyPrometheusInstancesTags extends $dara.Model {
6
- /**
7
- * @remarks
8
- * Tag key
9
- *
10
- * @example
11
- * testKey
12
- */
13
- key?: string;
14
- /**
15
- * @remarks
16
- * Tag value.
17
- *
18
- * @example
19
- * testValue
20
- */
21
- value?: string;
22
- static names(): { [key: string]: string } {
23
- return {
24
- key: 'key',
25
- value: 'value',
26
- };
27
- }
28
-
29
- static types(): { [key: string]: any } {
30
- return {
31
- key: 'string',
32
- value: 'string',
33
- };
34
- }
35
-
36
- validate() {
37
- super.validate();
38
- }
39
-
40
- constructor(map?: { [key: string]: any }) {
41
- super(map);
42
- }
43
- }
44
-
45
5
  export class ListPrometheusInstancesResponseBodyPrometheusInstances extends $dara.Model {
46
6
  /**
47
7
  * @remarks
@@ -111,14 +71,6 @@ export class ListPrometheusInstancesResponseBodyPrometheusInstances extends $dar
111
71
  * cn-nanjing
112
72
  */
113
73
  regionId?: string;
114
- /**
115
- * @remarks
116
- * Resource group ID.
117
- *
118
- * @example
119
- * rg-aek2bhocin5e2na
120
- */
121
- resourceGroupId?: string;
122
74
  /**
123
75
  * @remarks
124
76
  * Resource type.
@@ -140,11 +92,6 @@ export class ListPrometheusInstancesResponseBodyPrometheusInstances extends $dar
140
92
  * Supported authentication types.
141
93
  */
142
94
  supportAuthTypes?: string[];
143
- /**
144
- * @remarks
145
- * Tags key.
146
- */
147
- tags?: ListPrometheusInstancesResponseBodyPrometheusInstancesTags[];
148
95
  /**
149
96
  * @remarks
150
97
  * User ID.
@@ -179,11 +126,9 @@ export class ListPrometheusInstancesResponseBodyPrometheusInstances extends $dar
179
126
  prometheusInstanceId: 'prometheusInstanceId',
180
127
  prometheusInstanceName: 'prometheusInstanceName',
181
128
  regionId: 'regionId',
182
- resourceGroupId: 'resourceGroupId',
183
129
  resourceType: 'resourceType',
184
130
  status: 'status',
185
131
  supportAuthTypes: 'supportAuthTypes',
186
- tags: 'tags',
187
132
  userId: 'userId',
188
133
  version: 'version',
189
134
  workspace: 'workspace',
@@ -200,11 +145,9 @@ export class ListPrometheusInstancesResponseBodyPrometheusInstances extends $dar
200
145
  prometheusInstanceId: 'string',
201
146
  prometheusInstanceName: 'string',
202
147
  regionId: 'string',
203
- resourceGroupId: 'string',
204
148
  resourceType: 'string',
205
149
  status: 'string',
206
150
  supportAuthTypes: { 'type': 'array', 'itemType': 'string' },
207
- tags: { 'type': 'array', 'itemType': ListPrometheusInstancesResponseBodyPrometheusInstancesTags },
208
151
  userId: 'string',
209
152
  version: 'string',
210
153
  workspace: 'string',
@@ -215,9 +158,6 @@ export class ListPrometheusInstancesResponseBodyPrometheusInstances extends $dar
215
158
  if(Array.isArray(this.supportAuthTypes)) {
216
159
  $dara.Model.validateArray(this.supportAuthTypes);
217
160
  }
218
- if(Array.isArray(this.tags)) {
219
- $dara.Model.validateArray(this.tags);
220
- }
221
161
  super.validate();
222
162
  }
223
163
 
@@ -93,6 +93,11 @@ export class ListPrometheusInstancesShrinkRequest extends $dara.Model {
93
93
  * true
94
94
  */
95
95
  version?: string;
96
+ /**
97
+ * **if can be null:**
98
+ * true
99
+ */
100
+ workspace?: string;
96
101
  static names(): { [key: string]: string } {
97
102
  return {
98
103
  filterRegionIds: 'filterRegionIds',
@@ -104,6 +109,7 @@ export class ListPrometheusInstancesShrinkRequest extends $dara.Model {
104
109
  resourceType: 'resourceType',
105
110
  tagShrink: 'tag',
106
111
  version: 'version',
112
+ workspace: 'workspace',
107
113
  };
108
114
  }
109
115
 
@@ -118,6 +124,7 @@ export class ListPrometheusInstancesShrinkRequest extends $dara.Model {
118
124
  resourceType: 'string',
119
125
  tagShrink: 'string',
120
126
  version: 'string',
127
+ workspace: 'string',
121
128
  };
122
129
  }
123
130