@alicloud/cms20240330 5.1.0 → 6.0.1

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 (72) hide show
  1. package/dist/client.d.ts +2 -2
  2. package/dist/client.js +23 -3
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDigitalEmployeeRequest.d.ts +7 -0
  5. package/dist/models/CreateDigitalEmployeeRequest.js +8 -0
  6. package/dist/models/CreateDigitalEmployeeRequest.js.map +1 -1
  7. package/dist/models/GetDigitalEmployeeResponseBody.d.ts +7 -0
  8. package/dist/models/GetDigitalEmployeeResponseBody.js +8 -0
  9. package/dist/models/GetDigitalEmployeeResponseBody.js.map +1 -1
  10. package/dist/models/ListAggTaskGroupsResponseBody.d.ts +0 -33
  11. package/dist/models/ListAggTaskGroupsResponseBody.js +1 -27
  12. package/dist/models/ListAggTaskGroupsResponseBody.js.map +1 -1
  13. package/dist/models/ListDigitalEmployeesRequest.d.ts +7 -0
  14. package/dist/models/ListDigitalEmployeesRequest.js +8 -0
  15. package/dist/models/ListDigitalEmployeesRequest.js.map +1 -1
  16. package/dist/models/ListDigitalEmployeesResponseBody.d.ts +7 -0
  17. package/dist/models/ListDigitalEmployeesResponseBody.js +8 -0
  18. package/dist/models/ListDigitalEmployeesResponseBody.js.map +1 -1
  19. package/dist/models/ListDigitalEmployeesShrinkRequest.d.ts +36 -0
  20. package/dist/models/ListDigitalEmployeesShrinkRequest.js +70 -0
  21. package/dist/models/ListDigitalEmployeesShrinkRequest.js.map +1 -0
  22. package/dist/models/ListIntegrationPoliciesResponseBody.d.ts +0 -33
  23. package/dist/models/ListIntegrationPoliciesResponseBody.js +1 -27
  24. package/dist/models/ListIntegrationPoliciesResponseBody.js.map +1 -1
  25. package/dist/models/ListPrometheusInstancesRequest.d.ts +5 -0
  26. package/dist/models/ListPrometheusInstancesRequest.js +2 -0
  27. package/dist/models/ListPrometheusInstancesRequest.js.map +1 -1
  28. package/dist/models/ListPrometheusInstancesResponseBody.d.ts +0 -41
  29. package/dist/models/ListPrometheusInstancesResponseBody.js +1 -29
  30. package/dist/models/ListPrometheusInstancesResponseBody.js.map +1 -1
  31. package/dist/models/ListPrometheusInstancesShrinkRequest.d.ts +5 -0
  32. package/dist/models/ListPrometheusInstancesShrinkRequest.js +2 -0
  33. package/dist/models/ListPrometheusInstancesShrinkRequest.js.map +1 -1
  34. package/dist/models/ListPrometheusViewsResponseBody.d.ts +0 -41
  35. package/dist/models/ListPrometheusViewsResponseBody.js +1 -29
  36. package/dist/models/ListPrometheusViewsResponseBody.js.map +1 -1
  37. package/dist/models/NotifyStrategyForModify.d.ts +2 -0
  38. package/dist/models/NotifyStrategyForModify.js +4 -0
  39. package/dist/models/NotifyStrategyForModify.js.map +1 -1
  40. package/dist/models/NotifyStrategyForView.d.ts +2 -0
  41. package/dist/models/NotifyStrategyForView.js +4 -0
  42. package/dist/models/NotifyStrategyForView.js.map +1 -1
  43. package/dist/models/SubscriptionForModify.d.ts +2 -0
  44. package/dist/models/SubscriptionForModify.js +6 -0
  45. package/dist/models/SubscriptionForModify.js.map +1 -1
  46. package/dist/models/SubscriptionForView.d.ts +2 -0
  47. package/dist/models/SubscriptionForView.js +6 -0
  48. package/dist/models/SubscriptionForView.js.map +1 -1
  49. package/dist/models/Tag.d.ts +8 -0
  50. package/dist/models/Tag.js.map +1 -1
  51. package/dist/models/model.d.ts +1 -4
  52. package/dist/models/model.js +24 -30
  53. package/dist/models/model.js.map +1 -1
  54. package/package.json +1 -1
  55. package/src/client.ts +29 -3
  56. package/src/models/CreateDigitalEmployeeRequest.ts +14 -0
  57. package/src/models/GetDigitalEmployeeResponseBody.ts +14 -0
  58. package/src/models/ListAggTaskGroupsResponseBody.ts +0 -50
  59. package/src/models/ListDigitalEmployeesRequest.ts +14 -0
  60. package/src/models/ListDigitalEmployeesResponseBody.ts +14 -0
  61. package/src/models/ListDigitalEmployeesShrinkRequest.ts +61 -0
  62. package/src/models/ListIntegrationPoliciesResponseBody.ts +0 -50
  63. package/src/models/ListPrometheusInstancesRequest.ts +7 -0
  64. package/src/models/ListPrometheusInstancesResponseBody.ts +0 -60
  65. package/src/models/ListPrometheusInstancesShrinkRequest.ts +7 -0
  66. package/src/models/ListPrometheusViewsResponseBody.ts +0 -60
  67. package/src/models/NotifyStrategyForModify.ts +6 -0
  68. package/src/models/NotifyStrategyForView.ts +6 -0
  69. package/src/models/SubscriptionForModify.ts +7 -0
  70. package/src/models/SubscriptionForView.ts +7 -0
  71. package/src/models/Tag.ts +8 -0
  72. package/src/models/model.ts +1 -4
@@ -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
 
@@ -1,5 +1,6 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
+ import { Tag } from "./Tag";
3
4
 
4
5
 
5
6
  export class ListDigitalEmployeesRequest extends $dara.Model {
@@ -20,6 +21,12 @@ export class ListDigitalEmployeesRequest extends $dara.Model {
20
21
  * xxxxxx
21
22
  */
22
23
  nextToken?: string;
24
+ /**
25
+ * @example
26
+ * rg-ae******ey
27
+ */
28
+ resourceGroupId?: string;
29
+ tags?: Tag[];
23
30
  static names(): { [key: string]: string } {
24
31
  return {
25
32
  displayName: 'displayName',
@@ -27,6 +34,8 @@ export class ListDigitalEmployeesRequest extends $dara.Model {
27
34
  maxResults: 'maxResults',
28
35
  name: 'name',
29
36
  nextToken: 'nextToken',
37
+ resourceGroupId: 'resourceGroupId',
38
+ tags: 'tags',
30
39
  };
31
40
  }
32
41
 
@@ -37,10 +46,15 @@ export class ListDigitalEmployeesRequest extends $dara.Model {
37
46
  maxResults: 'number',
38
47
  name: 'string',
39
48
  nextToken: 'string',
49
+ resourceGroupId: 'string',
50
+ tags: { 'type': 'array', 'itemType': Tag },
40
51
  };
41
52
  }
42
53
 
43
54
  validate() {
55
+ if(Array.isArray(this.tags)) {
56
+ $dara.Model.validateArray(this.tags);
57
+ }
44
58
  super.validate();
45
59
  }
46
60
 
@@ -1,5 +1,6 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
+ import { Tag } from "./Tag";
3
4
 
4
5
 
5
6
  export class ListDigitalEmployeesResponseBodyDigitalEmployeesKnowledgesBailian extends $dara.Model {
@@ -113,11 +114,17 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
113
114
  * test
114
115
  */
115
116
  name?: string;
117
+ /**
118
+ * @example
119
+ * rg-ae******ey
120
+ */
121
+ resourceGroupId?: string;
116
122
  /**
117
123
  * @example
118
124
  * acs:ram::12345678912:role/testrole
119
125
  */
120
126
  roleArn?: string;
127
+ tags?: Tag[];
121
128
  /**
122
129
  * @remarks
123
130
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
@@ -135,7 +142,9 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
135
142
  employeeType: 'employeeType',
136
143
  knowledges: 'knowledges',
137
144
  name: 'name',
145
+ resourceGroupId: 'resourceGroupId',
138
146
  roleArn: 'roleArn',
147
+ tags: 'tags',
139
148
  updateTime: 'updateTime',
140
149
  };
141
150
  }
@@ -149,7 +158,9 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
149
158
  employeeType: 'string',
150
159
  knowledges: ListDigitalEmployeesResponseBodyDigitalEmployeesKnowledges,
151
160
  name: 'string',
161
+ resourceGroupId: 'string',
152
162
  roleArn: 'string',
163
+ tags: { 'type': 'array', 'itemType': Tag },
153
164
  updateTime: 'string',
154
165
  };
155
166
  }
@@ -158,6 +169,9 @@ export class ListDigitalEmployeesResponseBodyDigitalEmployees extends $dara.Mode
158
169
  if(this.knowledges && typeof (this.knowledges as any).validate === 'function') {
159
170
  (this.knowledges as any).validate();
160
171
  }
172
+ if(Array.isArray(this.tags)) {
173
+ $dara.Model.validateArray(this.tags);
174
+ }
161
175
  super.validate();
162
176
  }
163
177
 
@@ -0,0 +1,61 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListDigitalEmployeesShrinkRequest extends $dara.Model {
6
+ displayName?: string;
7
+ employeeType?: string;
8
+ /**
9
+ * @example
10
+ * 10
11
+ */
12
+ maxResults?: number;
13
+ /**
14
+ * @example
15
+ * test
16
+ */
17
+ name?: string;
18
+ /**
19
+ * @example
20
+ * xxxxxx
21
+ */
22
+ nextToken?: string;
23
+ /**
24
+ * @example
25
+ * rg-ae******ey
26
+ */
27
+ resourceGroupId?: string;
28
+ tagsShrink?: string;
29
+ static names(): { [key: string]: string } {
30
+ return {
31
+ displayName: 'displayName',
32
+ employeeType: 'employeeType',
33
+ maxResults: 'maxResults',
34
+ name: 'name',
35
+ nextToken: 'nextToken',
36
+ resourceGroupId: 'resourceGroupId',
37
+ tagsShrink: 'tags',
38
+ };
39
+ }
40
+
41
+ static types(): { [key: string]: any } {
42
+ return {
43
+ displayName: 'string',
44
+ employeeType: 'string',
45
+ maxResults: 'number',
46
+ name: 'string',
47
+ nextToken: 'string',
48
+ resourceGroupId: 'string',
49
+ tagsShrink: 'string',
50
+ };
51
+ }
52
+
53
+ validate() {
54
+ super.validate();
55
+ }
56
+
57
+ constructor(map?: { [key: string]: any }) {
58
+ super(map);
59
+ }
60
+ }
61
+
@@ -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
 
@@ -2,46 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- export class ListPrometheusViewsResponseBodyPrometheusViewsTags extends $dara.Model {
6
- /**
7
- * @remarks
8
- * Tag key
9
- *
10
- * @example
11
- * key1
12
- */
13
- key?: string;
14
- /**
15
- * @remarks
16
- * Match value.
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 ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model {
46
6
  /**
47
7
  * @remarks
@@ -109,14 +69,6 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
109
69
  * cn-zhangjiakou
110
70
  */
111
71
  regionId?: string;
112
- /**
113
- * @remarks
114
- * Resource group ID.
115
- *
116
- * @example
117
- * rg-acfm3gn5i6bigbi
118
- */
119
- resourceGroupId?: string;
120
72
  /**
121
73
  * @remarks
122
74
  * Fixed value: PrometheusView.
@@ -133,11 +85,6 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
133
85
  * Running
134
86
  */
135
87
  status?: string;
136
- /**
137
- * @remarks
138
- * Tag values.
139
- */
140
- tags?: ListPrometheusViewsResponseBodyPrometheusViewsTags[];
141
88
  /**
142
89
  * @remarks
143
90
  * User ID.
@@ -172,10 +119,8 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
172
119
  prometheusViewId: 'prometheusViewId',
173
120
  prometheusViewName: 'prometheusViewName',
174
121
  regionId: 'regionId',
175
- resourceGroupId: 'resourceGroupId',
176
122
  resourceType: 'resourceType',
177
123
  status: 'status',
178
- tags: 'tags',
179
124
  userId: 'userId',
180
125
  version: 'version',
181
126
  workspace: 'workspace',
@@ -192,10 +137,8 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
192
137
  prometheusViewId: 'string',
193
138
  prometheusViewName: 'string',
194
139
  regionId: 'string',
195
- resourceGroupId: 'string',
196
140
  resourceType: 'string',
197
141
  status: 'string',
198
- tags: { 'type': 'array', 'itemType': ListPrometheusViewsResponseBodyPrometheusViewsTags },
199
142
  userId: 'string',
200
143
  version: 'string',
201
144
  workspace: 'string',
@@ -203,9 +146,6 @@ export class ListPrometheusViewsResponseBodyPrometheusViews extends $dara.Model
203
146
  }
204
147
 
205
148
  validate() {
206
- if(Array.isArray(this.tags)) {
207
- $dara.Model.validateArray(this.tags);
208
- }
209
149
  super.validate();
210
150
  }
211
151
 
@@ -214,13 +214,17 @@ export class NotifyStrategyForModifyRoutesEffectTimeRange extends $dara.Model {
214
214
 
215
215
  export class NotifyStrategyForModifyRoutes extends $dara.Model {
216
216
  channels?: NotifyStrategyForModifyRoutesChannels[];
217
+ digitalEmployeeName?: string;
217
218
  effectTimeRange?: NotifyStrategyForModifyRoutesEffectTimeRange;
219
+ enableRca?: boolean;
218
220
  filterSetting?: FilterSetting;
219
221
  severities?: string[];
220
222
  static names(): { [key: string]: string } {
221
223
  return {
222
224
  channels: 'channels',
225
+ digitalEmployeeName: 'digitalEmployeeName',
223
226
  effectTimeRange: 'effectTimeRange',
227
+ enableRca: 'enableRca',
224
228
  filterSetting: 'filterSetting',
225
229
  severities: 'severities',
226
230
  };
@@ -229,7 +233,9 @@ export class NotifyStrategyForModifyRoutes extends $dara.Model {
229
233
  static types(): { [key: string]: any } {
230
234
  return {
231
235
  channels: { 'type': 'array', 'itemType': NotifyStrategyForModifyRoutesChannels },
236
+ digitalEmployeeName: 'string',
232
237
  effectTimeRange: NotifyStrategyForModifyRoutesEffectTimeRange,
238
+ enableRca: 'boolean',
233
239
  filterSetting: FilterSetting,
234
240
  severities: { 'type': 'array', 'itemType': 'string' },
235
241
  };
@@ -214,13 +214,17 @@ export class NotifyStrategyForViewRoutesEffectTimeRange extends $dara.Model {
214
214
 
215
215
  export class NotifyStrategyForViewRoutes extends $dara.Model {
216
216
  channels?: NotifyStrategyForViewRoutesChannels[];
217
+ digitalEmployeeName?: string;
217
218
  effectTimeRange?: NotifyStrategyForViewRoutesEffectTimeRange;
219
+ enableRca?: boolean;
218
220
  filterSetting?: FilterSetting;
219
221
  severities?: string[];
220
222
  static names(): { [key: string]: string } {
221
223
  return {
222
224
  channels: 'channels',
225
+ digitalEmployeeName: 'digitalEmployeeName',
223
226
  effectTimeRange: 'effectTimeRange',
227
+ enableRca: 'enableRca',
224
228
  filterSetting: 'filterSetting',
225
229
  severities: 'severities',
226
230
  };
@@ -229,7 +233,9 @@ export class NotifyStrategyForViewRoutes extends $dara.Model {
229
233
  static types(): { [key: string]: any } {
230
234
  return {
231
235
  channels: { 'type': 'array', 'itemType': NotifyStrategyForViewRoutesChannels },
236
+ digitalEmployeeName: 'string',
232
237
  effectTimeRange: NotifyStrategyForViewRoutesEffectTimeRange,
238
+ enableRca: 'boolean',
233
239
  filterSetting: FilterSetting,
234
240
  severities: { 'type': 'array', 'itemType': 'string' },
235
241
  };
@@ -1,6 +1,7 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
3
  import { FilterSetting } from "./FilterSetting";
4
+ import { WorkspaceFilterSetting } from "./WorkspaceFilterSetting";
4
5
 
5
6
 
6
7
  export class SubscriptionForModifyPushingSetting extends $dara.Model {
@@ -51,6 +52,7 @@ export class SubscriptionForModify extends $dara.Model {
51
52
  * This parameter is required.
52
53
  */
53
54
  subscriptionName?: string;
55
+ workspaceFilterSetting?: WorkspaceFilterSetting;
54
56
  static names(): { [key: string]: string } {
55
57
  return {
56
58
  description: 'description',
@@ -58,6 +60,7 @@ export class SubscriptionForModify extends $dara.Model {
58
60
  notifyStrategyId: 'notifyStrategyId',
59
61
  pushingSetting: 'pushingSetting',
60
62
  subscriptionName: 'subscriptionName',
63
+ workspaceFilterSetting: 'workspaceFilterSetting',
61
64
  };
62
65
  }
63
66
 
@@ -68,6 +71,7 @@ export class SubscriptionForModify extends $dara.Model {
68
71
  notifyStrategyId: 'string',
69
72
  pushingSetting: SubscriptionForModifyPushingSetting,
70
73
  subscriptionName: 'string',
74
+ workspaceFilterSetting: WorkspaceFilterSetting,
71
75
  };
72
76
  }
73
77
 
@@ -78,6 +82,9 @@ export class SubscriptionForModify extends $dara.Model {
78
82
  if(this.pushingSetting && typeof (this.pushingSetting as any).validate === 'function') {
79
83
  (this.pushingSetting as any).validate();
80
84
  }
85
+ if(this.workspaceFilterSetting && typeof (this.workspaceFilterSetting as any).validate === 'function') {
86
+ (this.workspaceFilterSetting as any).validate();
87
+ }
81
88
  super.validate();
82
89
  }
83
90