-
Notifications
You must be signed in to change notification settings - Fork 2
/
Base.1.10.0.go
857 lines (767 loc) · 36.1 KB
/
Base.1.10.0.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
/*
* Copyright 2020, 2021, 2022 Hewlett Packard Enterprise Development LP
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is licensed under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
*
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Code generated by msgenerator ./registries/Base.1.10.0.json; DO NOT EDIT
package messageregistry
import events "github.com/NearNodeFlash/nnf-ec/pkg/manager-event"
// arg0: The name of the property. This argument shall contain the name of the property.
func PropertyNotWritableBase(arg0 string) events.Event {
return events.Event{
Message: "The property %1 is a read only property and cannot be assigned a value.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyNotWritable",
MessageArgs: []string{arg0},
}
}
func OperationTimeoutBase() events.Event {
return events.Event{
Message: "A timeout internal to the service occured as part of the request. Partial results may have been returned.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.OperationTimeout",
}
}
// arg0: The `Id` of the chassis that requires to be powered off. The value of this argument shall be a string containing the value of the `Id` property of the chassis that requires to be powered off.
func ChassisPowerStateOffRequiredBase(arg0 string) events.Event {
return events.Event{
Message: "The Chassis with Id '%1' requires to be powered off to perform this request.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ChassisPowerStateOffRequired",
MessageArgs: []string{arg0},
}
}
func PreconditionFailedBase() events.Event {
return events.Event{
Message: "The ETag supplied did not match the ETag required to change this resource.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.PreconditionFailed",
}
}
// arg0: The value provided for the query parameter. This argument shall contain the value provided for the query parameter.
// arg1: The query parameter. This argument shall contain the name of the query parameter.
// arg2: The valid range for the query parameter. This argument shall contain a string representation of the valid range of values supported for the query parameter.
func QueryParameterOutOfRangeBase(arg0, arg1, arg2 string) events.Event {
return events.Event{
Message: "The value '%1' for the query parameter %2 is out of range %3.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryParameterOutOfRange",
MessageArgs: []string{arg0, arg1, arg2},
}
}
func SessionLimitExceededBase() events.Event {
return events.Event{
Message: "The session establishment failed due to the number of simultaneous sessions exceeding the limit of the implementation.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.SessionLimitExceeded",
}
}
func SessionTerminatedBase() events.Event {
return events.Event{
Message: "The session was successfully terminated.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.SessionTerminated",
}
}
// arg0: The URI of the target resource. This argument shall contain the URI of the target manager account resource instance.
func PasswordChangeRequiredBase(arg0 string) events.Event {
return events.Event{
Message: "The password provided for this account must be changed before access is granted. PATCH the Password property for this account located at the target URI '%1' to complete this process.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.PasswordChangeRequired",
MessageArgs: []string{arg0},
}
}
func ServiceInUnknownStateBase() events.Event {
return events.Event{
Message: "The operation failed because the service is in an unknown state and can no longer take incoming requests.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ServiceInUnknownState",
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
// arg1: The error message received from the authorization service. This argument shall contain the error message received from the authorization service or software.
func ResourceAtUriUnauthorizedBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "While accessing the resource at '%1', the service received an authorization error '%2'.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceAtUriUnauthorized",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The software, provider, or service that reported the fault condition. This argument shall contain the name of the entity that reported the fault condition.
func UndeterminedFaultBase(arg0 string) events.Event {
return events.Event{
Message: "A undetermined fault condition has been reported by '%1'.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.UndeterminedFault",
MessageArgs: []string{arg0},
}
}
func SuccessBase() events.Event {
return events.Event{
Message: "The request completed successfully.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.Success",
}
}
// arg0: The name of the property. This argument shall contain the name of the property.
func PropertyMissingBase(arg0 string) events.Event {
return events.Event{
Message: "The property %1 is a required property and must be included in the request.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyMissing",
MessageArgs: []string{arg0},
}
}
// arg0: The line number where the invalid JSON starts. The value of this argument shall contain the line number where the invalid JSON starts.
func InvalidJSONBase(arg0 string) events.Event {
return events.Event{
Message: "The request body submitted is invalid JSON starting at line $1 and could not be parsed by the receiving service.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.InvalidJSON",
MessageArgs: []string{arg0},
}
}
// arg0: The value provided for the action parameter. This argument shall contain the value provided for the action parameter. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
// arg1: The name of the action parameter. This argument shall contain the name of the action parameter.
// arg2: The name of the action. This argument shall contain the name of the action.
func ActionParameterValueFormatErrorBase(arg0, arg1, arg2 string) events.Event {
return events.Event{
Message: "The value '%1' for the parameter %2 in the action %3 is of a different format than the parameter can accept.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionParameterValueFormatError",
MessageArgs: []string{arg0, arg1, arg2},
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
// arg1: The protocol specified. This argument shall contain the name of the protocol requested for this operation.
func SourceDoesNotSupportProtocolBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The other end of the connection at '%1' does not support the specified protocol %2.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.SourceDoesNotSupportProtocol",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The name of the property. This argument shall contain the name of the property.
// arg1: The value assigned for property. This argument shall contain the value assigned for property.
func PropertyValueModifiedBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The property %1 was assigned the value '%2' due to modification by the service.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueModified",
MessageArgs: []string{arg0, arg1},
}
}
func ResourceInStandbyBase() events.Event {
return events.Event{
Message: "The request could not be performed because the resource is in standby.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceInStandby",
}
}
// arg0: URI of the resource that conflicts with the creation request. This argument shall contain the URI of the resource with which there is a conflict.
func ResourceCreationConflictBase(arg0 string) events.Event {
return events.Event{
Message: "The resource could not be created. The service has a resource at URI '%1' that conflicts with the creation request.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ResourceCreationConflict",
MessageArgs: []string{arg0},
}
}
func ResourceInUseBase() events.Event {
return events.Event{
Message: "The change to the requested resource failed because the resource is in use or in transition.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ResourceInUse",
}
}
// arg0: The supplied URI. This argument shall contain the invalid URI that was encountered.
func InvalidURIBase(arg0 string) events.Event {
return events.Event{
Message: "The URI %1 was not found.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.InvalidURI",
MessageArgs: []string{arg0},
}
}
func CreateLimitReachedForResourceBase() events.Event {
return events.Event{
Message: "The create operation failed because the resource has reached the limit of possible resources.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.CreateLimitReachedForResource",
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
func InvalidObjectBase(arg0 string) events.Event {
return events.Event{
Message: "The object at '%1' is invalid.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.InvalidObject",
MessageArgs: []string{arg0},
}
}
// arg0: The string provided. This argument shall contain the string value provided for this operation.
// arg1: The maximum string length. This argument shall contain the maximum supported string length for this property.
func StringValueTooLongBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The string '%1' exceeds the length limit %2.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.StringValueTooLong",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The value provided for the property. This argument shall contain the value provided for the property.
// arg1: The name of the property. This argument shall contain the name of the property.
func PropertyValueNotInListBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The value '%1' for the property %2 is not in the list of acceptable values.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueNotInList",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The value provided for the action parameter. This argument shall contain the value provided for the action parameter.
// arg1: The name of the action parameter. This argument shall contain the name of the action parameter.
// arg2: The name of the action. This argument shall contain the name of the action.
func ActionParameterValueNotInListBase(arg0, arg1, arg2 string) events.Event {
return events.Event{
Message: "The value '%1' for the parameter %2 in the action %3 is not in the list of acceptable values.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionParameterValueNotInList",
MessageArgs: []string{arg0, arg1, arg2},
}
}
func QueryNotSupportedOnResourceBase() events.Event {
return events.Event{
Message: "Querying is not supported on the requested resource.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryNotSupportedOnResource",
}
}
func AccountForSessionNoLongerExistsBase() events.Event {
return events.Event{
Message: "The account for the current session has been removed, thus the current session has been removed as well.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.AccountForSessionNoLongerExists",
}
}
func NoValidSessionBase() events.Event {
return events.Event{
Message: "There is no valid session established with the implementation.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.NoValidSession",
}
}
func PreconditionRequiredBase() events.Event {
return events.Event{
Message: "A precondition header or annotation is required to change this resource.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.PreconditionRequired",
}
}
func OperationFailedBase() events.Event {
return events.Event{
Message: "An error occurred internal to the service as part of the overall request. Partial results may have been returned.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.OperationFailed",
}
}
// arg0: The value provided for the property. This argument shall contain the deprecated value provided for the property.
func PropertyValueDeprecatedBase(arg0 string) events.Event {
return events.Event{
Message: "The value '%1' for the property %2 is deprecated.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueDeprecated",
MessageArgs: []string{arg0},
}
}
// arg0: The name of the action. This argument shall contain the name of the action that is deprecated.
func ActionDeprecatedBase(arg0 string) events.Event {
return events.Event{
Message: "The action %1 is deprecated.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionDeprecated",
MessageArgs: []string{arg0},
}
}
// arg0: The value provided for the property. This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
// arg1: The name of the property. This argument shall contain the name of the property.
func PropertyValueFormatErrorBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The value '%1' for the property %2 is of a different format than the property can accept.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueFormatError",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The name of the action parameter. This argument shall contain the name of the action parameter.
// arg1: The name of the action. This argument shall contain the name of the action.
func ActionParameterNotSupportedBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The parameter %1 for the action %2 is not supported on the target resource.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionParameterNotSupported",
MessageArgs: []string{arg0, arg1},
}
}
func QueryCombinationInvalidBase() events.Event {
return events.Event{
Message: "Two or more query parameters in the request cannot be used together.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryCombinationInvalid",
}
}
func AccountRemovedBase() events.Event {
return events.Event{
Message: "The account was successfully removed.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.AccountRemoved",
}
}
// arg0: The `@odata.type` of the request. This argument shall contain the value of the `@odata.type` property provided in the request.
// arg1: The supported `@odata.type` value. This argument shall contain the value of the `@odata.type` property supported by the resource.
func ResourceTypeIncompatibleBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The @odata.type of the request body %1 is incompatible with the @odata.type of the resource, which is %2.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceTypeIncompatible",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The name of the property for which a write was requested. This argument shall contain the name of the property for which a write was requested.
// arg1: The value of the property that is in conflict. This argument shall contain the value of the property that is in conflict.
// arg2: The URI of the resource in conflict. This argument shall contain the URI of the resource that is in conflict with the value of the requested property.
func PropertyValueResourceConflictBase(arg0, arg1, arg2 string) events.Event {
return events.Event{
Message: "The property '%1' with the requested value of '%2' could not be written because the value conflicts with the state or configuration of the resource at '%3'.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueResourceConflict",
MessageArgs: []string{arg0, arg1, arg2},
}
}
// arg0: The URI of the resource. This argument shall contain the URI of the resource that is deprecated.
func ResourceDeprecatedBase(arg0 string) events.Event {
return events.Event{
Message: "The operation was performed on a deprecated resource '%1'.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ResourceDeprecated",
MessageArgs: []string{arg0},
}
}
func MalformedJSONBase() events.Event {
return events.Event{
Message: "The request body submitted was malformed JSON and could not be parsed by the receiving service.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.MalformedJSON",
}
}
// arg0: The name of the action. This argument shall contain the name of the action.
// arg1: The name of the action parameter. This argument shall contain the name of the action parameter.
func ActionParameterDuplicateBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The action %1 was submitted with more than one value for the parameter %2.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionParameterDuplicate",
MessageArgs: []string{arg0, arg1},
}
}
func QueryNotSupportedOnOperationBase() events.Event {
return events.Event{
Message: "Querying is not supported with the requested operation.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryNotSupportedOnOperation",
}
}
func QueryNotSupportedBase() events.Event {
return events.Event{
Message: "Querying is not supported by the implementation.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryNotSupported",
}
}
// arg0: The name of the required property. This argument shall contain the name of the required property.
func CreateFailedMissingReqPropertiesBase(arg0 string) events.Event {
return events.Event{
Message: "The create operation failed because the required property %1 was missing from the request.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.CreateFailedMissingReqProperties",
MessageArgs: []string{arg0},
}
}
func InternalErrorBase() events.Event {
return events.Event{
Message: "The request failed due to an internal service error. The service is still operational.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.InternalError",
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
func CouldNotEstablishConnectionBase(arg0 string) events.Event {
return events.Event{
Message: "The service failed to establish a connection with the URI '%1'.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.CouldNotEstablishConnection",
MessageArgs: []string{arg0},
}
}
// arg0: The name of the restricted privilege. This argument shall contain the name of the restricted privilege.
func RestrictedPrivilegeBase(arg0 string) events.Event {
return events.Event{
Message: "The operation was not successful because the privilege '%1' is restricted.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.RestrictedPrivilege",
MessageArgs: []string{arg0},
}
}
func SubscriptionTerminatedBase() events.Event {
return events.Event{
Message: "The event subscription has been terminated.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.SubscriptionTerminated",
}
}
func NoOperationBase() events.Event {
return events.Event{
Message: "The request body submitted contain no data to act upon and no changes to the resource took place.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.NoOperation",
}
}
// arg0: The name of the action. This argument shall contain the name of the action.
// arg1: The name of the action parameter. This argument shall contain the name of the action parameter.
func ActionParameterUnknownBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The action %1 was submitted with the invalid parameter %2.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionParameterUnknown",
MessageArgs: []string{arg0, arg1},
}
}
func InsufficientPrivilegeBase() events.Event {
return events.Event{
Message: "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.InsufficientPrivilege",
}
}
func UnrecognizedRequestBodyBase() events.Event {
return events.Event{
Message: "The service detected a malformed request body that it was unable to interpret.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.UnrecognizedRequestBody",
}
}
// arg0: The name of the property. This argument shall contain the name of the property that is deprecated.
func PropertyDeprecatedBase(arg0 string) events.Event {
return events.Event{
Message: "The deprecated property %1 was included in the request body.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyDeprecated",
MessageArgs: []string{arg0},
}
}
// arg0: The name of the duplicate property. This argument shall contain the name of the duplicate property.
func PropertyDuplicateBase(arg0 string) events.Event {
return events.Event{
Message: "The property %1 was duplicated in the request.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyDuplicate",
MessageArgs: []string{arg0},
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
func ResourceAtUriInUnknownFormatBase(arg0 string) events.Event {
return events.Event{
Message: "The resource at '%1' is in a format not recognized by the service.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceAtUriInUnknownFormat",
MessageArgs: []string{arg0},
}
}
func MaximumErrorsExceededBase() events.Event {
return events.Event{
Message: "Too many errors have occurred to report them all.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.MaximumErrorsExceeded",
}
}
func ConditionInRelatedResourceBase() events.Event {
return events.Event{
Message: "One or more conditions exist in a related resource. See the OriginOfCondition property.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ConditionInRelatedResource",
}
}
func ServiceShuttingDownBase() events.Event {
return events.Event{
Message: "The operation failed because the service is shutting down and can no longer take incoming requests.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ServiceShuttingDown",
}
}
// arg0: The name of the action. This argument shall contain the name of the action.
func ActionNotSupportedBase(arg0 string) events.Event {
return events.Event{
Message: "The action %1 is not supported by the resource.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ActionNotSupported",
MessageArgs: []string{arg0},
}
}
// arg0: The value provided for the action parameter. This argument shall contain the value provided for the action parameter. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
// arg1: The name of the action parameter. This argument shall contain the name of the action parameter.
// arg2: The name of the action. This argument shall contain the name of the action.
func ActionParameterValueTypeErrorBase(arg0, arg1, arg2 string) events.Event {
return events.Event{
Message: "The value '%1' for the parameter %2 in the action %3 is of a different type than the parameter can accept.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ActionParameterValueTypeError",
MessageArgs: []string{arg0, arg1, arg2},
}
}
// arg0: The type of resource. This argument shall contain the schema name of the resource.
// arg1: The name of the property. This argument shall contain the name of the property.
// arg2: The value of the property. This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
func ResourceAlreadyExistsBase(arg0, arg1, arg2 string) events.Event {
return events.Event{
Message: "The requested resource of type %1 with the property %2 with the value '%3' already exists.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceAlreadyExists",
MessageArgs: []string{arg0, arg1, arg2},
}
}
// arg0: The type of resource. This argument shall contain the schema name of the resource.
// arg1: The `Id` of the resource. This argument shall contain the value of the `Id` property of the requested resource.
func ResourceNotFoundBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The requested resource of type %1 named '%2' was not found.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceNotFound",
MessageArgs: []string{arg0, arg1},
}
}
func AccountNotModifiedBase() events.Event {
return events.Event{
Message: "The account modification request failed.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.AccountNotModified",
}
}
// arg0: The retry duration in seconds. This argument shall contain the number of seconds the client should wait before attempting the operation again.
func ServiceTemporarilyUnavailableBase(arg0 string) events.Event {
return events.Event{
Message: "The service is temporarily unavailable. Retry in %1 seconds.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ServiceTemporarilyUnavailable",
MessageArgs: []string{arg0},
}
}
// arg0: The Id of the chassis that requires to be powered on. The value of this argument shall be a string containing the value of the `Id` property of the chassis that requires to be powered on.
func ChassisPowerStateOnRequiredBase(arg0 string) events.Event {
return events.Event{
Message: "The chassis with Id '%1' requires to be powered on to perform this request.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ChassisPowerStateOnRequired",
MessageArgs: []string{arg0},
}
}
// arg0: The name of the property for which a write was requested. This argument shall contain the name of the property for which a write was requested.
// arg1: The value of the property that is in conflict. This argument shall contain the value of the property that is in conflict.
func PropertyValueExternalConflictBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The property '%1' with the requested value of '%2' could not be written because the value is not available due to a configuration conflict.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueExternalConflict",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The value provided for the property. This argument shall contain the value provided for the property. Numeric values shall be converted to a string, and null values shall be represented by the string `null`.
// arg1: The name of the property. This argument shall contain the name of the property.
func PropertyValueTypeErrorBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The value '%1' for the property %2 is of a different type than the property can accept.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueTypeError",
MessageArgs: []string{arg0, arg1},
}
}
func EmptyJSONBase() events.Event {
return events.Event{
Message: "The request body submitted contained an empty JSON object and the service is unable to process it.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.EmptyJSON",
}
}
// arg0: The name of the action. This argument shall contain the name of the action.
// arg1: The name of the action parameter. This argument shall contain the name of the action parameter.
func ActionParameterMissingBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The action %1 requires the parameter %2 to be present in the request body.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ActionParameterMissing",
MessageArgs: []string{arg0, arg1},
}
}
func ResourceCannotBeDeletedBase() events.Event {
return events.Event{
Message: "The delete request failed because the resource requested cannot be deleted.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceCannotBeDeleted",
}
}
// arg0: The value provided for the query parameter. This argument shall contain the value provided for the query parameter.
// arg1: The query parameter. This argument shall contain the name of the query parameter.
func QueryParameterValueTypeErrorBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The value '%1' for the query parameter %2 is of a different type than the parameter can accept.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryParameterValueTypeError",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The value provided for the query parameter. This argument shall contain the value provided for the query parameter.
// arg1: The query parameter. This argument shall contain the name of the query parameter.
func QueryParameterValueFormatErrorBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The value '%1' for the parameter %2 is of a different format than the parameter can accept.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.QueryParameterValueFormatError",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
func AccessDeniedBase(arg0 string) events.Event {
return events.Event{
Message: "While attempting to establish a connection to '%1', the service denied access.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.AccessDenied",
MessageArgs: []string{arg0},
}
}
// arg0: The name of the property for which a write was requested. This argument shall contain the name of the property for which a write was requested.
// arg1: The name of the property with which there is a conflict. This argument shall contain the name of the property with which there is a conflict.
func PropertyValueConflictBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The property '%1' could not be written because its value would conflict with the value of the '%2' property.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueConflict",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The array index. This argument shall contain the array index value provided.
func InvalidIndexBase(arg0 string) events.Event {
return events.Event{
Message: "The index %1 is not a valid offset into the array.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.InvalidIndex",
MessageArgs: []string{arg0},
}
}
// arg0: The URI of the resource. This argument shall contain the URI of the relevant resource.
func ResourceExhaustionBase(arg0 string) events.Event {
return events.Event{
Message: "The resource '%1' was unable to satisfy the request due to unavailability of resources.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceExhaustion",
MessageArgs: []string{arg0},
}
}
// arg0: The URI for the reset action of the component that requires a reset. This argument shall contain the URI for the reset action that is required to be invoked for changes or operations to complete.
// arg1: The `ResetType` required in a reset action on the component URI. This argument shall contain the `ResetType` required in a reset action on the component URI for changes or operations to complete. A reset action POST shall contain this `ResetType` parameter.
func ResetRequiredBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "In order to complete the operation, a component reset is required with the Reset action URI '%1' and ResetType '%2'.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.ResetRequired",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The name of the restricted role. This argument shall contain the name of the restricted role.
func RestrictedRoleBase(arg0 string) events.Event {
return events.Event{
Message: "The operation was not successful because the role '%1' is restricted.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.RestrictedRole",
MessageArgs: []string{arg0},
}
}
func GeneralErrorBase() events.Event {
return events.Event{
Message: "A general error has occurred. See Resolution for information on how to resolve the error, or @Message.ExtendedInfo if Resolution is not provided.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.GeneralError",
}
}
func CreatedBase() events.Event {
return events.Event{
Message: "The resource has been created successfully.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.Created",
}
}
func EventSubscriptionLimitExceededBase() events.Event {
return events.Event{
Message: "The event subscription failed due to the number of simultaneous subscriptions exceeding the limit of the implementation.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.EventSubscriptionLimitExceeded",
}
}
// arg0: The URI provided. This argument shall contain the URI provided for this operation.
func ResourceMissingAtURIBase(arg0 string) events.Event {
return events.Event{
Message: "The resource at the URI '%1' was not found.",
MessageSeverity: "Critical",
MessageId: "Base.1.10.0.ResourceMissingAtURI",
MessageArgs: []string{arg0},
}
}
// arg0: The name of the unknown property. This argument shall contain the name of the unknown property.
func PropertyUnknownBase(arg0 string) events.Event {
return events.Event{
Message: "The property %1 is not in the list of valid properties for the resource.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyUnknown",
MessageArgs: []string{arg0},
}
}
func AccountModifiedBase() events.Event {
return events.Event{
Message: "The account was successfully modified.",
MessageSeverity: "OK",
MessageId: "Base.1.10.0.AccountModified",
}
}
// arg0: Name of the property for which a write was requested. This argument shall contain the name of the property for which a write was requested.
// arg1: Value of the property that is incorrect. This argument shall contain the value of the property that is incorrect.
func PropertyValueIncorrectBase(arg0, arg1 string) events.Event {
return events.Event{
Message: "The property '%1' with the requested value of '%2' could not be written because the value does not meet the constraints of the implementation.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.PropertyValueIncorrect",
MessageArgs: []string{arg0, arg1},
}
}
// arg0: The name of the property. This argument shall contain the name of the property `AccountTypes` or `OEMAccountTypes`.
func StrictAccountTypesBase(arg0 string) events.Event {
return events.Event{
Message: "The request was not possible to fulfill with the account types included in property '%1' and property StrictAccountTypes set to true.",
MessageSeverity: "Warning",
MessageId: "Base.1.10.0.StrictAccountTypes",
MessageArgs: []string{arg0},
}
}