waldur-js-client 7.9.10-dev.9 → 8.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.
- package/dist/sdk.gen.d.ts +497 -1
- package/dist/sdk.gen.js +2626 -0
- package/dist/types.gen.d.ts +2988 -296
- package/package.json +1 -1
package/dist/sdk.gen.js
CHANGED
|
@@ -432,6 +432,1224 @@ export const adminAnnouncementsUpdate = (options) => {
|
|
|
432
432
|
}
|
|
433
433
|
});
|
|
434
434
|
};
|
|
435
|
+
export const adminArrowBillingSyncItemsList = (options) => {
|
|
436
|
+
return (options?.client ?? _heyApiClient).get({
|
|
437
|
+
security: [
|
|
438
|
+
{
|
|
439
|
+
name: 'Authorization',
|
|
440
|
+
type: 'apiKey'
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
scheme: 'bearer',
|
|
444
|
+
type: 'http'
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
url: '/api/admin/arrow/billing-sync-items/',
|
|
448
|
+
...options
|
|
449
|
+
});
|
|
450
|
+
};
|
|
451
|
+
/**
|
|
452
|
+
* Get number of items in the collection matching the request parameters.
|
|
453
|
+
*/
|
|
454
|
+
export const adminArrowBillingSyncItemsCount = (options) => {
|
|
455
|
+
return (options?.client ?? _heyApiClient).head({
|
|
456
|
+
security: [
|
|
457
|
+
{
|
|
458
|
+
name: 'Authorization',
|
|
459
|
+
type: 'apiKey'
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
scheme: 'bearer',
|
|
463
|
+
type: 'http'
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
url: '/api/admin/arrow/billing-sync-items/',
|
|
467
|
+
...options
|
|
468
|
+
});
|
|
469
|
+
};
|
|
470
|
+
export const adminArrowBillingSyncItemsRetrieve = (options) => {
|
|
471
|
+
return (options.client ?? _heyApiClient).get({
|
|
472
|
+
security: [
|
|
473
|
+
{
|
|
474
|
+
name: 'Authorization',
|
|
475
|
+
type: 'apiKey'
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
scheme: 'bearer',
|
|
479
|
+
type: 'http'
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
url: '/api/admin/arrow/billing-sync-items/{uuid}/',
|
|
483
|
+
...options
|
|
484
|
+
});
|
|
485
|
+
};
|
|
486
|
+
export const adminArrowBillingSyncsList = (options) => {
|
|
487
|
+
return (options?.client ?? _heyApiClient).get({
|
|
488
|
+
security: [
|
|
489
|
+
{
|
|
490
|
+
name: 'Authorization',
|
|
491
|
+
type: 'apiKey'
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
scheme: 'bearer',
|
|
495
|
+
type: 'http'
|
|
496
|
+
}
|
|
497
|
+
],
|
|
498
|
+
url: '/api/admin/arrow/billing-syncs/',
|
|
499
|
+
...options
|
|
500
|
+
});
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* Get number of items in the collection matching the request parameters.
|
|
504
|
+
*/
|
|
505
|
+
export const adminArrowBillingSyncsCount = (options) => {
|
|
506
|
+
return (options?.client ?? _heyApiClient).head({
|
|
507
|
+
security: [
|
|
508
|
+
{
|
|
509
|
+
name: 'Authorization',
|
|
510
|
+
type: 'apiKey'
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
scheme: 'bearer',
|
|
514
|
+
type: 'http'
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
url: '/api/admin/arrow/billing-syncs/',
|
|
518
|
+
...options
|
|
519
|
+
});
|
|
520
|
+
};
|
|
521
|
+
export const adminArrowBillingSyncsRetrieve = (options) => {
|
|
522
|
+
return (options.client ?? _heyApiClient).get({
|
|
523
|
+
security: [
|
|
524
|
+
{
|
|
525
|
+
name: 'Authorization',
|
|
526
|
+
type: 'apiKey'
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
scheme: 'bearer',
|
|
530
|
+
type: 'http'
|
|
531
|
+
}
|
|
532
|
+
],
|
|
533
|
+
url: '/api/admin/arrow/billing-syncs/{uuid}/',
|
|
534
|
+
...options
|
|
535
|
+
});
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Delete consumption records with optional dry-run preview.
|
|
539
|
+
*/
|
|
540
|
+
export const adminArrowBillingSyncsCleanupConsumption = (options) => {
|
|
541
|
+
return (options?.client ?? _heyApiClient).post({
|
|
542
|
+
security: [
|
|
543
|
+
{
|
|
544
|
+
name: 'Authorization',
|
|
545
|
+
type: 'apiKey'
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
scheme: 'bearer',
|
|
549
|
+
type: 'http'
|
|
550
|
+
}
|
|
551
|
+
],
|
|
552
|
+
url: '/api/admin/arrow/billing-syncs/cleanup_consumption/',
|
|
553
|
+
...options,
|
|
554
|
+
headers: {
|
|
555
|
+
'Content-Type': 'application/json',
|
|
556
|
+
...options?.headers
|
|
557
|
+
}
|
|
558
|
+
});
|
|
559
|
+
};
|
|
560
|
+
/**
|
|
561
|
+
* Get consumption statistics.
|
|
562
|
+
*/
|
|
563
|
+
export const adminArrowBillingSyncsConsumptionStatisticsRetrieve = (options) => {
|
|
564
|
+
return (options?.client ?? _heyApiClient).get({
|
|
565
|
+
security: [
|
|
566
|
+
{
|
|
567
|
+
name: 'Authorization',
|
|
568
|
+
type: 'apiKey'
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
scheme: 'bearer',
|
|
572
|
+
type: 'http'
|
|
573
|
+
}
|
|
574
|
+
],
|
|
575
|
+
url: '/api/admin/arrow/billing-syncs/consumption_statistics/',
|
|
576
|
+
...options
|
|
577
|
+
});
|
|
578
|
+
};
|
|
579
|
+
/**
|
|
580
|
+
* Get number of items in the collection matching the request parameters.
|
|
581
|
+
*/
|
|
582
|
+
export const adminArrowBillingSyncsConsumptionStatisticsCount = (options) => {
|
|
583
|
+
return (options?.client ?? _heyApiClient).head({
|
|
584
|
+
security: [
|
|
585
|
+
{
|
|
586
|
+
name: 'Authorization',
|
|
587
|
+
type: 'apiKey'
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
scheme: 'bearer',
|
|
591
|
+
type: 'http'
|
|
592
|
+
}
|
|
593
|
+
],
|
|
594
|
+
url: '/api/admin/arrow/billing-syncs/consumption_statistics/',
|
|
595
|
+
...options
|
|
596
|
+
});
|
|
597
|
+
};
|
|
598
|
+
/**
|
|
599
|
+
* Get current consumption sync status.
|
|
600
|
+
*/
|
|
601
|
+
export const adminArrowBillingSyncsConsumptionStatusRetrieve = (options) => {
|
|
602
|
+
return (options?.client ?? _heyApiClient).get({
|
|
603
|
+
security: [
|
|
604
|
+
{
|
|
605
|
+
name: 'Authorization',
|
|
606
|
+
type: 'apiKey'
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
scheme: 'bearer',
|
|
610
|
+
type: 'http'
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
url: '/api/admin/arrow/billing-syncs/consumption_status/',
|
|
614
|
+
...options
|
|
615
|
+
});
|
|
616
|
+
};
|
|
617
|
+
/**
|
|
618
|
+
* Get number of items in the collection matching the request parameters.
|
|
619
|
+
*/
|
|
620
|
+
export const adminArrowBillingSyncsConsumptionStatusCount = (options) => {
|
|
621
|
+
return (options?.client ?? _heyApiClient).head({
|
|
622
|
+
security: [
|
|
623
|
+
{
|
|
624
|
+
name: 'Authorization',
|
|
625
|
+
type: 'apiKey'
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
scheme: 'bearer',
|
|
629
|
+
type: 'http'
|
|
630
|
+
}
|
|
631
|
+
],
|
|
632
|
+
url: '/api/admin/arrow/billing-syncs/consumption_status/',
|
|
633
|
+
...options
|
|
634
|
+
});
|
|
635
|
+
};
|
|
636
|
+
/**
|
|
637
|
+
* Fetch raw billing export from Arrow API.
|
|
638
|
+
*/
|
|
639
|
+
export const adminArrowBillingSyncsFetchBillingExport = (options) => {
|
|
640
|
+
return (options.client ?? _heyApiClient).post({
|
|
641
|
+
security: [
|
|
642
|
+
{
|
|
643
|
+
name: 'Authorization',
|
|
644
|
+
type: 'apiKey'
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
scheme: 'bearer',
|
|
648
|
+
type: 'http'
|
|
649
|
+
}
|
|
650
|
+
],
|
|
651
|
+
url: '/api/admin/arrow/billing-syncs/fetch_billing_export/',
|
|
652
|
+
...options,
|
|
653
|
+
headers: {
|
|
654
|
+
'Content-Type': 'application/json',
|
|
655
|
+
...options.headers
|
|
656
|
+
}
|
|
657
|
+
});
|
|
658
|
+
};
|
|
659
|
+
/**
|
|
660
|
+
* Fetch raw consumption data from Arrow API.
|
|
661
|
+
*/
|
|
662
|
+
export const adminArrowBillingSyncsFetchConsumption = (options) => {
|
|
663
|
+
return (options.client ?? _heyApiClient).post({
|
|
664
|
+
security: [
|
|
665
|
+
{
|
|
666
|
+
name: 'Authorization',
|
|
667
|
+
type: 'apiKey'
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
scheme: 'bearer',
|
|
671
|
+
type: 'http'
|
|
672
|
+
}
|
|
673
|
+
],
|
|
674
|
+
url: '/api/admin/arrow/billing-syncs/fetch_consumption/',
|
|
675
|
+
...options,
|
|
676
|
+
headers: {
|
|
677
|
+
'Content-Type': 'application/json',
|
|
678
|
+
...options.headers
|
|
679
|
+
}
|
|
680
|
+
});
|
|
681
|
+
};
|
|
682
|
+
/**
|
|
683
|
+
* Fetch license details from Arrow API.
|
|
684
|
+
*/
|
|
685
|
+
export const adminArrowBillingSyncsFetchLicenseInfo = (options) => {
|
|
686
|
+
return (options.client ?? _heyApiClient).post({
|
|
687
|
+
security: [
|
|
688
|
+
{
|
|
689
|
+
name: 'Authorization',
|
|
690
|
+
type: 'apiKey'
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
scheme: 'bearer',
|
|
694
|
+
type: 'http'
|
|
695
|
+
}
|
|
696
|
+
],
|
|
697
|
+
url: '/api/admin/arrow/billing-syncs/fetch_license_info/',
|
|
698
|
+
...options,
|
|
699
|
+
headers: {
|
|
700
|
+
'Content-Type': 'application/json',
|
|
701
|
+
...options.headers
|
|
702
|
+
}
|
|
703
|
+
});
|
|
704
|
+
};
|
|
705
|
+
/**
|
|
706
|
+
* Pause consumption sync operations.
|
|
707
|
+
*/
|
|
708
|
+
export const adminArrowBillingSyncsPauseSync = (options) => {
|
|
709
|
+
return (options?.client ?? _heyApiClient).post({
|
|
710
|
+
security: [
|
|
711
|
+
{
|
|
712
|
+
name: 'Authorization',
|
|
713
|
+
type: 'apiKey'
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
scheme: 'bearer',
|
|
717
|
+
type: 'http'
|
|
718
|
+
}
|
|
719
|
+
],
|
|
720
|
+
url: '/api/admin/arrow/billing-syncs/pause_sync/',
|
|
721
|
+
...options,
|
|
722
|
+
headers: {
|
|
723
|
+
'Content-Type': 'application/json',
|
|
724
|
+
...options?.headers
|
|
725
|
+
}
|
|
726
|
+
});
|
|
727
|
+
};
|
|
728
|
+
/**
|
|
729
|
+
* List pending consumption records (not yet finalized).
|
|
730
|
+
*/
|
|
731
|
+
export const adminArrowBillingSyncsPendingRecordsList = (options) => {
|
|
732
|
+
return (options?.client ?? _heyApiClient).get({
|
|
733
|
+
security: [
|
|
734
|
+
{
|
|
735
|
+
name: 'Authorization',
|
|
736
|
+
type: 'apiKey'
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
scheme: 'bearer',
|
|
740
|
+
type: 'http'
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
url: '/api/admin/arrow/billing-syncs/pending_records/',
|
|
744
|
+
...options
|
|
745
|
+
});
|
|
746
|
+
};
|
|
747
|
+
/**
|
|
748
|
+
* Get number of items in the collection matching the request parameters.
|
|
749
|
+
*/
|
|
750
|
+
export const adminArrowBillingSyncsPendingRecordsCount = (options) => {
|
|
751
|
+
return (options?.client ?? _heyApiClient).head({
|
|
752
|
+
security: [
|
|
753
|
+
{
|
|
754
|
+
name: 'Authorization',
|
|
755
|
+
type: 'apiKey'
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
scheme: 'bearer',
|
|
759
|
+
type: 'http'
|
|
760
|
+
}
|
|
761
|
+
],
|
|
762
|
+
url: '/api/admin/arrow/billing-syncs/pending_records/',
|
|
763
|
+
...options
|
|
764
|
+
});
|
|
765
|
+
};
|
|
766
|
+
/**
|
|
767
|
+
* Trigger reconciliation for a specific period.
|
|
768
|
+
*/
|
|
769
|
+
export const adminArrowBillingSyncsReconcile = (options) => {
|
|
770
|
+
return (options.client ?? _heyApiClient).post({
|
|
771
|
+
security: [
|
|
772
|
+
{
|
|
773
|
+
name: 'Authorization',
|
|
774
|
+
type: 'apiKey'
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
scheme: 'bearer',
|
|
778
|
+
type: 'http'
|
|
779
|
+
}
|
|
780
|
+
],
|
|
781
|
+
url: '/api/admin/arrow/billing-syncs/reconcile/',
|
|
782
|
+
...options,
|
|
783
|
+
headers: {
|
|
784
|
+
'Content-Type': 'application/json',
|
|
785
|
+
...options.headers
|
|
786
|
+
}
|
|
787
|
+
});
|
|
788
|
+
};
|
|
789
|
+
/**
|
|
790
|
+
* Resume consumption sync operations.
|
|
791
|
+
*/
|
|
792
|
+
export const adminArrowBillingSyncsResumeSync = (options) => {
|
|
793
|
+
return (options?.client ?? _heyApiClient).post({
|
|
794
|
+
security: [
|
|
795
|
+
{
|
|
796
|
+
name: 'Authorization',
|
|
797
|
+
type: 'apiKey'
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
scheme: 'bearer',
|
|
801
|
+
type: 'http'
|
|
802
|
+
}
|
|
803
|
+
],
|
|
804
|
+
url: '/api/admin/arrow/billing-syncs/resume_sync/',
|
|
805
|
+
...options,
|
|
806
|
+
headers: {
|
|
807
|
+
'Content-Type': 'application/json',
|
|
808
|
+
...options?.headers
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
};
|
|
812
|
+
/**
|
|
813
|
+
* Sync historical consumption for a specific resource from Arrow.
|
|
814
|
+
*/
|
|
815
|
+
export const adminArrowBillingSyncsSyncResourceHistoricalConsumption = (options) => {
|
|
816
|
+
return (options.client ?? _heyApiClient).post({
|
|
817
|
+
security: [
|
|
818
|
+
{
|
|
819
|
+
name: 'Authorization',
|
|
820
|
+
type: 'apiKey'
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
scheme: 'bearer',
|
|
824
|
+
type: 'http'
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
url: '/api/admin/arrow/billing-syncs/sync_resource_historical_consumption/',
|
|
828
|
+
...options,
|
|
829
|
+
headers: {
|
|
830
|
+
'Content-Type': 'application/json',
|
|
831
|
+
...options.headers
|
|
832
|
+
}
|
|
833
|
+
});
|
|
834
|
+
};
|
|
835
|
+
/**
|
|
836
|
+
* Sync Arrow IAAS subscriptions to Waldur Resources. Matches subscriptions by Vendor Subscription ID to resource backend_id. Updates resource report and current_usages fields. With force_import=True, auto-creates Customers and Projects from Arrow data.
|
|
837
|
+
*/
|
|
838
|
+
export const adminArrowBillingSyncsSyncResources = (options) => {
|
|
839
|
+
return (options?.client ?? _heyApiClient).post({
|
|
840
|
+
security: [
|
|
841
|
+
{
|
|
842
|
+
name: 'Authorization',
|
|
843
|
+
type: 'apiKey'
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
scheme: 'bearer',
|
|
847
|
+
type: 'http'
|
|
848
|
+
}
|
|
849
|
+
],
|
|
850
|
+
url: '/api/admin/arrow/billing-syncs/sync_resources/',
|
|
851
|
+
...options,
|
|
852
|
+
headers: {
|
|
853
|
+
'Content-Type': 'application/json',
|
|
854
|
+
...options?.headers
|
|
855
|
+
}
|
|
856
|
+
});
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* Trigger consumption sync for a specific period.
|
|
860
|
+
*/
|
|
861
|
+
export const adminArrowBillingSyncsTriggerConsumptionSync = (options) => {
|
|
862
|
+
return (options.client ?? _heyApiClient).post({
|
|
863
|
+
security: [
|
|
864
|
+
{
|
|
865
|
+
name: 'Authorization',
|
|
866
|
+
type: 'apiKey'
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
scheme: 'bearer',
|
|
870
|
+
type: 'http'
|
|
871
|
+
}
|
|
872
|
+
],
|
|
873
|
+
url: '/api/admin/arrow/billing-syncs/trigger_consumption_sync/',
|
|
874
|
+
...options,
|
|
875
|
+
headers: {
|
|
876
|
+
'Content-Type': 'application/json',
|
|
877
|
+
...options.headers
|
|
878
|
+
}
|
|
879
|
+
});
|
|
880
|
+
};
|
|
881
|
+
/**
|
|
882
|
+
* Trigger reconciliation (check billing export and apply adjustments).
|
|
883
|
+
*/
|
|
884
|
+
export const adminArrowBillingSyncsTriggerReconciliation = (options) => {
|
|
885
|
+
return (options.client ?? _heyApiClient).post({
|
|
886
|
+
security: [
|
|
887
|
+
{
|
|
888
|
+
name: 'Authorization',
|
|
889
|
+
type: 'apiKey'
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
scheme: 'bearer',
|
|
893
|
+
type: 'http'
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
url: '/api/admin/arrow/billing-syncs/trigger_reconciliation/',
|
|
897
|
+
...options,
|
|
898
|
+
headers: {
|
|
899
|
+
'Content-Type': 'application/json',
|
|
900
|
+
...options.headers
|
|
901
|
+
}
|
|
902
|
+
});
|
|
903
|
+
};
|
|
904
|
+
/**
|
|
905
|
+
* Trigger billing sync for a specific period.
|
|
906
|
+
*/
|
|
907
|
+
export const adminArrowBillingSyncsTriggerSync = (options) => {
|
|
908
|
+
return (options.client ?? _heyApiClient).post({
|
|
909
|
+
security: [
|
|
910
|
+
{
|
|
911
|
+
name: 'Authorization',
|
|
912
|
+
type: 'apiKey'
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
scheme: 'bearer',
|
|
916
|
+
type: 'http'
|
|
917
|
+
}
|
|
918
|
+
],
|
|
919
|
+
url: '/api/admin/arrow/billing-syncs/trigger_sync/',
|
|
920
|
+
...options,
|
|
921
|
+
headers: {
|
|
922
|
+
'Content-Type': 'application/json',
|
|
923
|
+
...options.headers
|
|
924
|
+
}
|
|
925
|
+
});
|
|
926
|
+
};
|
|
927
|
+
export const adminArrowConsumptionRecordsList = (options) => {
|
|
928
|
+
return (options?.client ?? _heyApiClient).get({
|
|
929
|
+
security: [
|
|
930
|
+
{
|
|
931
|
+
name: 'Authorization',
|
|
932
|
+
type: 'apiKey'
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
scheme: 'bearer',
|
|
936
|
+
type: 'http'
|
|
937
|
+
}
|
|
938
|
+
],
|
|
939
|
+
url: '/api/admin/arrow/consumption-records/',
|
|
940
|
+
...options
|
|
941
|
+
});
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* Get number of items in the collection matching the request parameters.
|
|
945
|
+
*/
|
|
946
|
+
export const adminArrowConsumptionRecordsCount = (options) => {
|
|
947
|
+
return (options?.client ?? _heyApiClient).head({
|
|
948
|
+
security: [
|
|
949
|
+
{
|
|
950
|
+
name: 'Authorization',
|
|
951
|
+
type: 'apiKey'
|
|
952
|
+
},
|
|
953
|
+
{
|
|
954
|
+
scheme: 'bearer',
|
|
955
|
+
type: 'http'
|
|
956
|
+
}
|
|
957
|
+
],
|
|
958
|
+
url: '/api/admin/arrow/consumption-records/',
|
|
959
|
+
...options
|
|
960
|
+
});
|
|
961
|
+
};
|
|
962
|
+
export const adminArrowConsumptionRecordsRetrieve = (options) => {
|
|
963
|
+
return (options.client ?? _heyApiClient).get({
|
|
964
|
+
security: [
|
|
965
|
+
{
|
|
966
|
+
name: 'Authorization',
|
|
967
|
+
type: 'apiKey'
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
scheme: 'bearer',
|
|
971
|
+
type: 'http'
|
|
972
|
+
}
|
|
973
|
+
],
|
|
974
|
+
url: '/api/admin/arrow/consumption-records/{uuid}/',
|
|
975
|
+
...options
|
|
976
|
+
});
|
|
977
|
+
};
|
|
978
|
+
export const adminArrowCustomerMappingsList = (options) => {
|
|
979
|
+
return (options?.client ?? _heyApiClient).get({
|
|
980
|
+
security: [
|
|
981
|
+
{
|
|
982
|
+
name: 'Authorization',
|
|
983
|
+
type: 'apiKey'
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
scheme: 'bearer',
|
|
987
|
+
type: 'http'
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
url: '/api/admin/arrow/customer-mappings/',
|
|
991
|
+
...options
|
|
992
|
+
});
|
|
993
|
+
};
|
|
994
|
+
/**
|
|
995
|
+
* Get number of items in the collection matching the request parameters.
|
|
996
|
+
*/
|
|
997
|
+
export const adminArrowCustomerMappingsCount = (options) => {
|
|
998
|
+
return (options?.client ?? _heyApiClient).head({
|
|
999
|
+
security: [
|
|
1000
|
+
{
|
|
1001
|
+
name: 'Authorization',
|
|
1002
|
+
type: 'apiKey'
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
scheme: 'bearer',
|
|
1006
|
+
type: 'http'
|
|
1007
|
+
}
|
|
1008
|
+
],
|
|
1009
|
+
url: '/api/admin/arrow/customer-mappings/',
|
|
1010
|
+
...options
|
|
1011
|
+
});
|
|
1012
|
+
};
|
|
1013
|
+
export const adminArrowCustomerMappingsCreate = (options) => {
|
|
1014
|
+
return (options.client ?? _heyApiClient).post({
|
|
1015
|
+
security: [
|
|
1016
|
+
{
|
|
1017
|
+
name: 'Authorization',
|
|
1018
|
+
type: 'apiKey'
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
scheme: 'bearer',
|
|
1022
|
+
type: 'http'
|
|
1023
|
+
}
|
|
1024
|
+
],
|
|
1025
|
+
url: '/api/admin/arrow/customer-mappings/',
|
|
1026
|
+
...options,
|
|
1027
|
+
headers: {
|
|
1028
|
+
'Content-Type': 'application/json',
|
|
1029
|
+
...options.headers
|
|
1030
|
+
}
|
|
1031
|
+
});
|
|
1032
|
+
};
|
|
1033
|
+
export const adminArrowCustomerMappingsDestroy = (options) => {
|
|
1034
|
+
return (options.client ?? _heyApiClient).delete({
|
|
1035
|
+
security: [
|
|
1036
|
+
{
|
|
1037
|
+
name: 'Authorization',
|
|
1038
|
+
type: 'apiKey'
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
scheme: 'bearer',
|
|
1042
|
+
type: 'http'
|
|
1043
|
+
}
|
|
1044
|
+
],
|
|
1045
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/',
|
|
1046
|
+
...options
|
|
1047
|
+
});
|
|
1048
|
+
};
|
|
1049
|
+
export const adminArrowCustomerMappingsRetrieve = (options) => {
|
|
1050
|
+
return (options.client ?? _heyApiClient).get({
|
|
1051
|
+
security: [
|
|
1052
|
+
{
|
|
1053
|
+
name: 'Authorization',
|
|
1054
|
+
type: 'apiKey'
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
scheme: 'bearer',
|
|
1058
|
+
type: 'http'
|
|
1059
|
+
}
|
|
1060
|
+
],
|
|
1061
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/',
|
|
1062
|
+
...options
|
|
1063
|
+
});
|
|
1064
|
+
};
|
|
1065
|
+
export const adminArrowCustomerMappingsPartialUpdate = (options) => {
|
|
1066
|
+
return (options.client ?? _heyApiClient).patch({
|
|
1067
|
+
security: [
|
|
1068
|
+
{
|
|
1069
|
+
name: 'Authorization',
|
|
1070
|
+
type: 'apiKey'
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
scheme: 'bearer',
|
|
1074
|
+
type: 'http'
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/',
|
|
1078
|
+
...options,
|
|
1079
|
+
headers: {
|
|
1080
|
+
'Content-Type': 'application/json',
|
|
1081
|
+
...options.headers
|
|
1082
|
+
}
|
|
1083
|
+
});
|
|
1084
|
+
};
|
|
1085
|
+
export const adminArrowCustomerMappingsUpdate = (options) => {
|
|
1086
|
+
return (options.client ?? _heyApiClient).put({
|
|
1087
|
+
security: [
|
|
1088
|
+
{
|
|
1089
|
+
name: 'Authorization',
|
|
1090
|
+
type: 'apiKey'
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
scheme: 'bearer',
|
|
1094
|
+
type: 'http'
|
|
1095
|
+
}
|
|
1096
|
+
],
|
|
1097
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/',
|
|
1098
|
+
...options,
|
|
1099
|
+
headers: {
|
|
1100
|
+
'Content-Type': 'application/json',
|
|
1101
|
+
...options.headers
|
|
1102
|
+
}
|
|
1103
|
+
});
|
|
1104
|
+
};
|
|
1105
|
+
/**
|
|
1106
|
+
* Get billing and consumption summary for this customer mapping.
|
|
1107
|
+
*/
|
|
1108
|
+
export const adminArrowCustomerMappingsBillingSummaryRetrieve = (options) => {
|
|
1109
|
+
return (options.client ?? _heyApiClient).get({
|
|
1110
|
+
security: [
|
|
1111
|
+
{
|
|
1112
|
+
name: 'Authorization',
|
|
1113
|
+
type: 'apiKey'
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
scheme: 'bearer',
|
|
1117
|
+
type: 'http'
|
|
1118
|
+
}
|
|
1119
|
+
],
|
|
1120
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/billing_summary/',
|
|
1121
|
+
...options
|
|
1122
|
+
});
|
|
1123
|
+
};
|
|
1124
|
+
/**
|
|
1125
|
+
* Discover Arrow licenses for this customer and show linkable Waldur resources.
|
|
1126
|
+
*/
|
|
1127
|
+
export const adminArrowCustomerMappingsDiscoverLicensesRetrieve = (options) => {
|
|
1128
|
+
return (options.client ?? _heyApiClient).get({
|
|
1129
|
+
security: [
|
|
1130
|
+
{
|
|
1131
|
+
name: 'Authorization',
|
|
1132
|
+
type: 'apiKey'
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
scheme: 'bearer',
|
|
1136
|
+
type: 'http'
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/discover_licenses/',
|
|
1140
|
+
...options
|
|
1141
|
+
});
|
|
1142
|
+
};
|
|
1143
|
+
/**
|
|
1144
|
+
* Fetch fresh consumption and billing data from Arrow API for this customer.
|
|
1145
|
+
*/
|
|
1146
|
+
export const adminArrowCustomerMappingsFetchArrowDataRetrieve = (options) => {
|
|
1147
|
+
return (options.client ?? _heyApiClient).get({
|
|
1148
|
+
security: [
|
|
1149
|
+
{
|
|
1150
|
+
name: 'Authorization',
|
|
1151
|
+
type: 'apiKey'
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
scheme: 'bearer',
|
|
1155
|
+
type: 'http'
|
|
1156
|
+
}
|
|
1157
|
+
],
|
|
1158
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/fetch_arrow_data/',
|
|
1159
|
+
...options
|
|
1160
|
+
});
|
|
1161
|
+
};
|
|
1162
|
+
/**
|
|
1163
|
+
* Import an Arrow license as a new Waldur resource.
|
|
1164
|
+
*/
|
|
1165
|
+
export const adminArrowCustomerMappingsImportLicense = (options) => {
|
|
1166
|
+
return (options.client ?? _heyApiClient).post({
|
|
1167
|
+
security: [
|
|
1168
|
+
{
|
|
1169
|
+
name: 'Authorization',
|
|
1170
|
+
type: 'apiKey'
|
|
1171
|
+
},
|
|
1172
|
+
{
|
|
1173
|
+
scheme: 'bearer',
|
|
1174
|
+
type: 'http'
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/import_license/',
|
|
1178
|
+
...options,
|
|
1179
|
+
headers: {
|
|
1180
|
+
'Content-Type': 'application/json',
|
|
1181
|
+
...options.headers
|
|
1182
|
+
}
|
|
1183
|
+
});
|
|
1184
|
+
};
|
|
1185
|
+
/**
|
|
1186
|
+
* Link a Waldur resource to an Arrow license by setting its backend_id.
|
|
1187
|
+
*/
|
|
1188
|
+
export const adminArrowCustomerMappingsLinkResource = (options) => {
|
|
1189
|
+
return (options.client ?? _heyApiClient).post({
|
|
1190
|
+
security: [
|
|
1191
|
+
{
|
|
1192
|
+
name: 'Authorization',
|
|
1193
|
+
type: 'apiKey'
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
scheme: 'bearer',
|
|
1197
|
+
type: 'http'
|
|
1198
|
+
}
|
|
1199
|
+
],
|
|
1200
|
+
url: '/api/admin/arrow/customer-mappings/{uuid}/link_resource/',
|
|
1201
|
+
...options,
|
|
1202
|
+
headers: {
|
|
1203
|
+
'Content-Type': 'application/json',
|
|
1204
|
+
...options.headers
|
|
1205
|
+
}
|
|
1206
|
+
});
|
|
1207
|
+
};
|
|
1208
|
+
/**
|
|
1209
|
+
* Get available Arrow customers that are not yet mapped, with suggestions for Waldur organization matches.
|
|
1210
|
+
*/
|
|
1211
|
+
export const adminArrowCustomerMappingsAvailableCustomersRetrieve = (options) => {
|
|
1212
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1213
|
+
security: [
|
|
1214
|
+
{
|
|
1215
|
+
name: 'Authorization',
|
|
1216
|
+
type: 'apiKey'
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
scheme: 'bearer',
|
|
1220
|
+
type: 'http'
|
|
1221
|
+
}
|
|
1222
|
+
],
|
|
1223
|
+
url: '/api/admin/arrow/customer-mappings/available_customers/',
|
|
1224
|
+
...options
|
|
1225
|
+
});
|
|
1226
|
+
};
|
|
1227
|
+
/**
|
|
1228
|
+
* Get number of items in the collection matching the request parameters.
|
|
1229
|
+
*/
|
|
1230
|
+
export const adminArrowCustomerMappingsAvailableCustomersCount = (options) => {
|
|
1231
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1232
|
+
security: [
|
|
1233
|
+
{
|
|
1234
|
+
name: 'Authorization',
|
|
1235
|
+
type: 'apiKey'
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
scheme: 'bearer',
|
|
1239
|
+
type: 'http'
|
|
1240
|
+
}
|
|
1241
|
+
],
|
|
1242
|
+
url: '/api/admin/arrow/customer-mappings/available_customers/',
|
|
1243
|
+
...options
|
|
1244
|
+
});
|
|
1245
|
+
};
|
|
1246
|
+
/**
|
|
1247
|
+
* Sync customer list from Arrow and update arrow_company_name.
|
|
1248
|
+
*/
|
|
1249
|
+
export const adminArrowCustomerMappingsSyncFromArrow = (options) => {
|
|
1250
|
+
return (options?.client ?? _heyApiClient).post({
|
|
1251
|
+
security: [
|
|
1252
|
+
{
|
|
1253
|
+
name: 'Authorization',
|
|
1254
|
+
type: 'apiKey'
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
scheme: 'bearer',
|
|
1258
|
+
type: 'http'
|
|
1259
|
+
}
|
|
1260
|
+
],
|
|
1261
|
+
url: '/api/admin/arrow/customer-mappings/sync_from_arrow/',
|
|
1262
|
+
...options,
|
|
1263
|
+
headers: {
|
|
1264
|
+
'Content-Type': 'application/json',
|
|
1265
|
+
...options?.headers
|
|
1266
|
+
}
|
|
1267
|
+
});
|
|
1268
|
+
};
|
|
1269
|
+
export const adminArrowSettingsList = (options) => {
|
|
1270
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1271
|
+
security: [
|
|
1272
|
+
{
|
|
1273
|
+
name: 'Authorization',
|
|
1274
|
+
type: 'apiKey'
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
scheme: 'bearer',
|
|
1278
|
+
type: 'http'
|
|
1279
|
+
}
|
|
1280
|
+
],
|
|
1281
|
+
url: '/api/admin/arrow/settings/',
|
|
1282
|
+
...options
|
|
1283
|
+
});
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* Get number of items in the collection matching the request parameters.
|
|
1287
|
+
*/
|
|
1288
|
+
export const adminArrowSettingsCount = (options) => {
|
|
1289
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1290
|
+
security: [
|
|
1291
|
+
{
|
|
1292
|
+
name: 'Authorization',
|
|
1293
|
+
type: 'apiKey'
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
scheme: 'bearer',
|
|
1297
|
+
type: 'http'
|
|
1298
|
+
}
|
|
1299
|
+
],
|
|
1300
|
+
url: '/api/admin/arrow/settings/',
|
|
1301
|
+
...options
|
|
1302
|
+
});
|
|
1303
|
+
};
|
|
1304
|
+
export const adminArrowSettingsCreate = (options) => {
|
|
1305
|
+
return (options.client ?? _heyApiClient).post({
|
|
1306
|
+
security: [
|
|
1307
|
+
{
|
|
1308
|
+
name: 'Authorization',
|
|
1309
|
+
type: 'apiKey'
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
scheme: 'bearer',
|
|
1313
|
+
type: 'http'
|
|
1314
|
+
}
|
|
1315
|
+
],
|
|
1316
|
+
url: '/api/admin/arrow/settings/',
|
|
1317
|
+
...options,
|
|
1318
|
+
headers: {
|
|
1319
|
+
'Content-Type': 'application/json',
|
|
1320
|
+
...options.headers
|
|
1321
|
+
}
|
|
1322
|
+
});
|
|
1323
|
+
};
|
|
1324
|
+
export const adminArrowSettingsDestroy = (options) => {
|
|
1325
|
+
return (options.client ?? _heyApiClient).delete({
|
|
1326
|
+
security: [
|
|
1327
|
+
{
|
|
1328
|
+
name: 'Authorization',
|
|
1329
|
+
type: 'apiKey'
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
scheme: 'bearer',
|
|
1333
|
+
type: 'http'
|
|
1334
|
+
}
|
|
1335
|
+
],
|
|
1336
|
+
url: '/api/admin/arrow/settings/{uuid}/',
|
|
1337
|
+
...options
|
|
1338
|
+
});
|
|
1339
|
+
};
|
|
1340
|
+
export const adminArrowSettingsRetrieve = (options) => {
|
|
1341
|
+
return (options.client ?? _heyApiClient).get({
|
|
1342
|
+
security: [
|
|
1343
|
+
{
|
|
1344
|
+
name: 'Authorization',
|
|
1345
|
+
type: 'apiKey'
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
scheme: 'bearer',
|
|
1349
|
+
type: 'http'
|
|
1350
|
+
}
|
|
1351
|
+
],
|
|
1352
|
+
url: '/api/admin/arrow/settings/{uuid}/',
|
|
1353
|
+
...options
|
|
1354
|
+
});
|
|
1355
|
+
};
|
|
1356
|
+
export const adminArrowSettingsPartialUpdate = (options) => {
|
|
1357
|
+
return (options.client ?? _heyApiClient).patch({
|
|
1358
|
+
security: [
|
|
1359
|
+
{
|
|
1360
|
+
name: 'Authorization',
|
|
1361
|
+
type: 'apiKey'
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
scheme: 'bearer',
|
|
1365
|
+
type: 'http'
|
|
1366
|
+
}
|
|
1367
|
+
],
|
|
1368
|
+
url: '/api/admin/arrow/settings/{uuid}/',
|
|
1369
|
+
...options,
|
|
1370
|
+
headers: {
|
|
1371
|
+
'Content-Type': 'application/json',
|
|
1372
|
+
...options.headers
|
|
1373
|
+
}
|
|
1374
|
+
});
|
|
1375
|
+
};
|
|
1376
|
+
export const adminArrowSettingsUpdate = (options) => {
|
|
1377
|
+
return (options.client ?? _heyApiClient).put({
|
|
1378
|
+
security: [
|
|
1379
|
+
{
|
|
1380
|
+
name: 'Authorization',
|
|
1381
|
+
type: 'apiKey'
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
scheme: 'bearer',
|
|
1385
|
+
type: 'http'
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
url: '/api/admin/arrow/settings/{uuid}/',
|
|
1389
|
+
...options,
|
|
1390
|
+
headers: {
|
|
1391
|
+
'Content-Type': 'application/json',
|
|
1392
|
+
...options.headers
|
|
1393
|
+
}
|
|
1394
|
+
});
|
|
1395
|
+
};
|
|
1396
|
+
/**
|
|
1397
|
+
* Discover Arrow customers and suggest mappings to Waldur customers.
|
|
1398
|
+
*/
|
|
1399
|
+
export const adminArrowSettingsDiscoverCustomers = (options) => {
|
|
1400
|
+
return (options.client ?? _heyApiClient).post({
|
|
1401
|
+
security: [
|
|
1402
|
+
{
|
|
1403
|
+
name: 'Authorization',
|
|
1404
|
+
type: 'apiKey'
|
|
1405
|
+
},
|
|
1406
|
+
{
|
|
1407
|
+
scheme: 'bearer',
|
|
1408
|
+
type: 'http'
|
|
1409
|
+
}
|
|
1410
|
+
],
|
|
1411
|
+
url: '/api/admin/arrow/settings/discover_customers/',
|
|
1412
|
+
...options,
|
|
1413
|
+
headers: {
|
|
1414
|
+
'Content-Type': 'application/json',
|
|
1415
|
+
...options.headers
|
|
1416
|
+
}
|
|
1417
|
+
});
|
|
1418
|
+
};
|
|
1419
|
+
/**
|
|
1420
|
+
* Preview settings configuration before saving.
|
|
1421
|
+
*/
|
|
1422
|
+
export const adminArrowSettingsPreviewSettings = (options) => {
|
|
1423
|
+
return (options.client ?? _heyApiClient).post({
|
|
1424
|
+
security: [
|
|
1425
|
+
{
|
|
1426
|
+
name: 'Authorization',
|
|
1427
|
+
type: 'apiKey'
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
scheme: 'bearer',
|
|
1431
|
+
type: 'http'
|
|
1432
|
+
}
|
|
1433
|
+
],
|
|
1434
|
+
url: '/api/admin/arrow/settings/preview_settings/',
|
|
1435
|
+
...options,
|
|
1436
|
+
headers: {
|
|
1437
|
+
'Content-Type': 'application/json',
|
|
1438
|
+
...options.headers
|
|
1439
|
+
}
|
|
1440
|
+
});
|
|
1441
|
+
};
|
|
1442
|
+
/**
|
|
1443
|
+
* Save Arrow settings and customer mappings.
|
|
1444
|
+
*/
|
|
1445
|
+
export const adminArrowSettingsSaveSettings = (options) => {
|
|
1446
|
+
return (options.client ?? _heyApiClient).post({
|
|
1447
|
+
security: [
|
|
1448
|
+
{
|
|
1449
|
+
name: 'Authorization',
|
|
1450
|
+
type: 'apiKey'
|
|
1451
|
+
},
|
|
1452
|
+
{
|
|
1453
|
+
scheme: 'bearer',
|
|
1454
|
+
type: 'http'
|
|
1455
|
+
}
|
|
1456
|
+
],
|
|
1457
|
+
url: '/api/admin/arrow/settings/save_settings/',
|
|
1458
|
+
...options,
|
|
1459
|
+
headers: {
|
|
1460
|
+
'Content-Type': 'application/json',
|
|
1461
|
+
...options.headers
|
|
1462
|
+
}
|
|
1463
|
+
});
|
|
1464
|
+
};
|
|
1465
|
+
/**
|
|
1466
|
+
* Validate Arrow API credentials without saving them.
|
|
1467
|
+
*/
|
|
1468
|
+
export const adminArrowSettingsValidateCredentials = (options) => {
|
|
1469
|
+
return (options.client ?? _heyApiClient).post({
|
|
1470
|
+
security: [
|
|
1471
|
+
{
|
|
1472
|
+
name: 'Authorization',
|
|
1473
|
+
type: 'apiKey'
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
scheme: 'bearer',
|
|
1477
|
+
type: 'http'
|
|
1478
|
+
}
|
|
1479
|
+
],
|
|
1480
|
+
url: '/api/admin/arrow/settings/validate_credentials/',
|
|
1481
|
+
...options,
|
|
1482
|
+
headers: {
|
|
1483
|
+
'Content-Type': 'application/json',
|
|
1484
|
+
...options.headers
|
|
1485
|
+
}
|
|
1486
|
+
});
|
|
1487
|
+
};
|
|
1488
|
+
export const adminArrowVendorOfferingMappingsList = (options) => {
|
|
1489
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1490
|
+
security: [
|
|
1491
|
+
{
|
|
1492
|
+
name: 'Authorization',
|
|
1493
|
+
type: 'apiKey'
|
|
1494
|
+
},
|
|
1495
|
+
{
|
|
1496
|
+
scheme: 'bearer',
|
|
1497
|
+
type: 'http'
|
|
1498
|
+
}
|
|
1499
|
+
],
|
|
1500
|
+
url: '/api/admin/arrow/vendor-offering-mappings/',
|
|
1501
|
+
...options
|
|
1502
|
+
});
|
|
1503
|
+
};
|
|
1504
|
+
/**
|
|
1505
|
+
* Get number of items in the collection matching the request parameters.
|
|
1506
|
+
*/
|
|
1507
|
+
export const adminArrowVendorOfferingMappingsCount = (options) => {
|
|
1508
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1509
|
+
security: [
|
|
1510
|
+
{
|
|
1511
|
+
name: 'Authorization',
|
|
1512
|
+
type: 'apiKey'
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
scheme: 'bearer',
|
|
1516
|
+
type: 'http'
|
|
1517
|
+
}
|
|
1518
|
+
],
|
|
1519
|
+
url: '/api/admin/arrow/vendor-offering-mappings/',
|
|
1520
|
+
...options
|
|
1521
|
+
});
|
|
1522
|
+
};
|
|
1523
|
+
export const adminArrowVendorOfferingMappingsCreate = (options) => {
|
|
1524
|
+
return (options.client ?? _heyApiClient).post({
|
|
1525
|
+
security: [
|
|
1526
|
+
{
|
|
1527
|
+
name: 'Authorization',
|
|
1528
|
+
type: 'apiKey'
|
|
1529
|
+
},
|
|
1530
|
+
{
|
|
1531
|
+
scheme: 'bearer',
|
|
1532
|
+
type: 'http'
|
|
1533
|
+
}
|
|
1534
|
+
],
|
|
1535
|
+
url: '/api/admin/arrow/vendor-offering-mappings/',
|
|
1536
|
+
...options,
|
|
1537
|
+
headers: {
|
|
1538
|
+
'Content-Type': 'application/json',
|
|
1539
|
+
...options.headers
|
|
1540
|
+
}
|
|
1541
|
+
});
|
|
1542
|
+
};
|
|
1543
|
+
export const adminArrowVendorOfferingMappingsDestroy = (options) => {
|
|
1544
|
+
return (options.client ?? _heyApiClient).delete({
|
|
1545
|
+
security: [
|
|
1546
|
+
{
|
|
1547
|
+
name: 'Authorization',
|
|
1548
|
+
type: 'apiKey'
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
scheme: 'bearer',
|
|
1552
|
+
type: 'http'
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
|
|
1556
|
+
...options
|
|
1557
|
+
});
|
|
1558
|
+
};
|
|
1559
|
+
export const adminArrowVendorOfferingMappingsRetrieve = (options) => {
|
|
1560
|
+
return (options.client ?? _heyApiClient).get({
|
|
1561
|
+
security: [
|
|
1562
|
+
{
|
|
1563
|
+
name: 'Authorization',
|
|
1564
|
+
type: 'apiKey'
|
|
1565
|
+
},
|
|
1566
|
+
{
|
|
1567
|
+
scheme: 'bearer',
|
|
1568
|
+
type: 'http'
|
|
1569
|
+
}
|
|
1570
|
+
],
|
|
1571
|
+
url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
|
|
1572
|
+
...options
|
|
1573
|
+
});
|
|
1574
|
+
};
|
|
1575
|
+
export const adminArrowVendorOfferingMappingsPartialUpdate = (options) => {
|
|
1576
|
+
return (options.client ?? _heyApiClient).patch({
|
|
1577
|
+
security: [
|
|
1578
|
+
{
|
|
1579
|
+
name: 'Authorization',
|
|
1580
|
+
type: 'apiKey'
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
scheme: 'bearer',
|
|
1584
|
+
type: 'http'
|
|
1585
|
+
}
|
|
1586
|
+
],
|
|
1587
|
+
url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
|
|
1588
|
+
...options,
|
|
1589
|
+
headers: {
|
|
1590
|
+
'Content-Type': 'application/json',
|
|
1591
|
+
...options.headers
|
|
1592
|
+
}
|
|
1593
|
+
});
|
|
1594
|
+
};
|
|
1595
|
+
export const adminArrowVendorOfferingMappingsUpdate = (options) => {
|
|
1596
|
+
return (options.client ?? _heyApiClient).put({
|
|
1597
|
+
security: [
|
|
1598
|
+
{
|
|
1599
|
+
name: 'Authorization',
|
|
1600
|
+
type: 'apiKey'
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
scheme: 'bearer',
|
|
1604
|
+
type: 'http'
|
|
1605
|
+
}
|
|
1606
|
+
],
|
|
1607
|
+
url: '/api/admin/arrow/vendor-offering-mappings/{uuid}/',
|
|
1608
|
+
...options,
|
|
1609
|
+
headers: {
|
|
1610
|
+
'Content-Type': 'application/json',
|
|
1611
|
+
...options.headers
|
|
1612
|
+
}
|
|
1613
|
+
});
|
|
1614
|
+
};
|
|
1615
|
+
/**
|
|
1616
|
+
* Get vendor names from Arrow catalog API (IAAS category).
|
|
1617
|
+
*/
|
|
1618
|
+
export const adminArrowVendorOfferingMappingsVendorChoicesList = (options) => {
|
|
1619
|
+
return (options?.client ?? _heyApiClient).get({
|
|
1620
|
+
security: [
|
|
1621
|
+
{
|
|
1622
|
+
name: 'Authorization',
|
|
1623
|
+
type: 'apiKey'
|
|
1624
|
+
},
|
|
1625
|
+
{
|
|
1626
|
+
scheme: 'bearer',
|
|
1627
|
+
type: 'http'
|
|
1628
|
+
}
|
|
1629
|
+
],
|
|
1630
|
+
url: '/api/admin/arrow/vendor-offering-mappings/vendor_choices/',
|
|
1631
|
+
...options
|
|
1632
|
+
});
|
|
1633
|
+
};
|
|
1634
|
+
/**
|
|
1635
|
+
* Get number of items in the collection matching the request parameters.
|
|
1636
|
+
*/
|
|
1637
|
+
export const adminArrowVendorOfferingMappingsVendorChoicesCount = (options) => {
|
|
1638
|
+
return (options?.client ?? _heyApiClient).head({
|
|
1639
|
+
security: [
|
|
1640
|
+
{
|
|
1641
|
+
name: 'Authorization',
|
|
1642
|
+
type: 'apiKey'
|
|
1643
|
+
},
|
|
1644
|
+
{
|
|
1645
|
+
scheme: 'bearer',
|
|
1646
|
+
type: 'http'
|
|
1647
|
+
}
|
|
1648
|
+
],
|
|
1649
|
+
url: '/api/admin/arrow/vendor-offering-mappings/vendor_choices/',
|
|
1650
|
+
...options
|
|
1651
|
+
});
|
|
1652
|
+
};
|
|
435
1653
|
export const assignmentBatchesList = (options) => {
|
|
436
1654
|
return (options?.client ?? _heyApiClient).get({
|
|
437
1655
|
security: [
|
|
@@ -1334,6 +2552,50 @@ export const awsInstancesRestart = (options) => {
|
|
|
1334
2552
|
...options
|
|
1335
2553
|
});
|
|
1336
2554
|
};
|
|
2555
|
+
/**
|
|
2556
|
+
* Mark resource as ERRED
|
|
2557
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
2558
|
+
*/
|
|
2559
|
+
export const awsInstancesSetErred = (options) => {
|
|
2560
|
+
return (options.client ?? _heyApiClient).post({
|
|
2561
|
+
security: [
|
|
2562
|
+
{
|
|
2563
|
+
name: 'Authorization',
|
|
2564
|
+
type: 'apiKey'
|
|
2565
|
+
},
|
|
2566
|
+
{
|
|
2567
|
+
scheme: 'bearer',
|
|
2568
|
+
type: 'http'
|
|
2569
|
+
}
|
|
2570
|
+
],
|
|
2571
|
+
url: '/api/aws-instances/{uuid}/set_erred/',
|
|
2572
|
+
...options,
|
|
2573
|
+
headers: {
|
|
2574
|
+
'Content-Type': 'application/json',
|
|
2575
|
+
...options.headers
|
|
2576
|
+
}
|
|
2577
|
+
});
|
|
2578
|
+
};
|
|
2579
|
+
/**
|
|
2580
|
+
* Mark resource as OK
|
|
2581
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
2582
|
+
*/
|
|
2583
|
+
export const awsInstancesSetOk = (options) => {
|
|
2584
|
+
return (options.client ?? _heyApiClient).post({
|
|
2585
|
+
security: [
|
|
2586
|
+
{
|
|
2587
|
+
name: 'Authorization',
|
|
2588
|
+
type: 'apiKey'
|
|
2589
|
+
},
|
|
2590
|
+
{
|
|
2591
|
+
scheme: 'bearer',
|
|
2592
|
+
type: 'http'
|
|
2593
|
+
}
|
|
2594
|
+
],
|
|
2595
|
+
url: '/api/aws-instances/{uuid}/set_ok/',
|
|
2596
|
+
...options
|
|
2597
|
+
});
|
|
2598
|
+
};
|
|
1337
2599
|
export const awsInstancesStart = (options) => {
|
|
1338
2600
|
return (options.client ?? _heyApiClient).post({
|
|
1339
2601
|
security: [
|
|
@@ -1669,6 +2931,50 @@ export const awsVolumesPull = (options) => {
|
|
|
1669
2931
|
...options
|
|
1670
2932
|
});
|
|
1671
2933
|
};
|
|
2934
|
+
/**
|
|
2935
|
+
* Mark resource as ERRED
|
|
2936
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
2937
|
+
*/
|
|
2938
|
+
export const awsVolumesSetErred = (options) => {
|
|
2939
|
+
return (options.client ?? _heyApiClient).post({
|
|
2940
|
+
security: [
|
|
2941
|
+
{
|
|
2942
|
+
name: 'Authorization',
|
|
2943
|
+
type: 'apiKey'
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
scheme: 'bearer',
|
|
2947
|
+
type: 'http'
|
|
2948
|
+
}
|
|
2949
|
+
],
|
|
2950
|
+
url: '/api/aws-volumes/{uuid}/set_erred/',
|
|
2951
|
+
...options,
|
|
2952
|
+
headers: {
|
|
2953
|
+
'Content-Type': 'application/json',
|
|
2954
|
+
...options.headers
|
|
2955
|
+
}
|
|
2956
|
+
});
|
|
2957
|
+
};
|
|
2958
|
+
/**
|
|
2959
|
+
* Mark resource as OK
|
|
2960
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
2961
|
+
*/
|
|
2962
|
+
export const awsVolumesSetOk = (options) => {
|
|
2963
|
+
return (options.client ?? _heyApiClient).post({
|
|
2964
|
+
security: [
|
|
2965
|
+
{
|
|
2966
|
+
name: 'Authorization',
|
|
2967
|
+
type: 'apiKey'
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
scheme: 'bearer',
|
|
2971
|
+
type: 'http'
|
|
2972
|
+
}
|
|
2973
|
+
],
|
|
2974
|
+
url: '/api/aws-volumes/{uuid}/set_ok/',
|
|
2975
|
+
...options
|
|
2976
|
+
});
|
|
2977
|
+
};
|
|
1672
2978
|
/**
|
|
1673
2979
|
* Unlink resource
|
|
1674
2980
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -1940,6 +3246,50 @@ export const azurePublicIpsPull = (options) => {
|
|
|
1940
3246
|
...options
|
|
1941
3247
|
});
|
|
1942
3248
|
};
|
|
3249
|
+
/**
|
|
3250
|
+
* Mark resource as ERRED
|
|
3251
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
3252
|
+
*/
|
|
3253
|
+
export const azurePublicIpsSetErred = (options) => {
|
|
3254
|
+
return (options.client ?? _heyApiClient).post({
|
|
3255
|
+
security: [
|
|
3256
|
+
{
|
|
3257
|
+
name: 'Authorization',
|
|
3258
|
+
type: 'apiKey'
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
scheme: 'bearer',
|
|
3262
|
+
type: 'http'
|
|
3263
|
+
}
|
|
3264
|
+
],
|
|
3265
|
+
url: '/api/azure-public-ips/{uuid}/set_erred/',
|
|
3266
|
+
...options,
|
|
3267
|
+
headers: {
|
|
3268
|
+
'Content-Type': 'application/json',
|
|
3269
|
+
...options.headers
|
|
3270
|
+
}
|
|
3271
|
+
});
|
|
3272
|
+
};
|
|
3273
|
+
/**
|
|
3274
|
+
* Mark resource as OK
|
|
3275
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
3276
|
+
*/
|
|
3277
|
+
export const azurePublicIpsSetOk = (options) => {
|
|
3278
|
+
return (options.client ?? _heyApiClient).post({
|
|
3279
|
+
security: [
|
|
3280
|
+
{
|
|
3281
|
+
name: 'Authorization',
|
|
3282
|
+
type: 'apiKey'
|
|
3283
|
+
},
|
|
3284
|
+
{
|
|
3285
|
+
scheme: 'bearer',
|
|
3286
|
+
type: 'http'
|
|
3287
|
+
}
|
|
3288
|
+
],
|
|
3289
|
+
url: '/api/azure-public-ips/{uuid}/set_ok/',
|
|
3290
|
+
...options
|
|
3291
|
+
});
|
|
3292
|
+
};
|
|
1943
3293
|
/**
|
|
1944
3294
|
* Unlink resource
|
|
1945
3295
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -2211,6 +3561,50 @@ export const azureSqlDatabasesPull = (options) => {
|
|
|
2211
3561
|
...options
|
|
2212
3562
|
});
|
|
2213
3563
|
};
|
|
3564
|
+
/**
|
|
3565
|
+
* Mark resource as ERRED
|
|
3566
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
3567
|
+
*/
|
|
3568
|
+
export const azureSqlDatabasesSetErred = (options) => {
|
|
3569
|
+
return (options.client ?? _heyApiClient).post({
|
|
3570
|
+
security: [
|
|
3571
|
+
{
|
|
3572
|
+
name: 'Authorization',
|
|
3573
|
+
type: 'apiKey'
|
|
3574
|
+
},
|
|
3575
|
+
{
|
|
3576
|
+
scheme: 'bearer',
|
|
3577
|
+
type: 'http'
|
|
3578
|
+
}
|
|
3579
|
+
],
|
|
3580
|
+
url: '/api/azure-sql-databases/{uuid}/set_erred/',
|
|
3581
|
+
...options,
|
|
3582
|
+
headers: {
|
|
3583
|
+
'Content-Type': 'application/json',
|
|
3584
|
+
...options.headers
|
|
3585
|
+
}
|
|
3586
|
+
});
|
|
3587
|
+
};
|
|
3588
|
+
/**
|
|
3589
|
+
* Mark resource as OK
|
|
3590
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
3591
|
+
*/
|
|
3592
|
+
export const azureSqlDatabasesSetOk = (options) => {
|
|
3593
|
+
return (options.client ?? _heyApiClient).post({
|
|
3594
|
+
security: [
|
|
3595
|
+
{
|
|
3596
|
+
name: 'Authorization',
|
|
3597
|
+
type: 'apiKey'
|
|
3598
|
+
},
|
|
3599
|
+
{
|
|
3600
|
+
scheme: 'bearer',
|
|
3601
|
+
type: 'http'
|
|
3602
|
+
}
|
|
3603
|
+
],
|
|
3604
|
+
url: '/api/azure-sql-databases/{uuid}/set_ok/',
|
|
3605
|
+
...options
|
|
3606
|
+
});
|
|
3607
|
+
};
|
|
2214
3608
|
/**
|
|
2215
3609
|
* Unlink resource
|
|
2216
3610
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -2400,6 +3794,50 @@ export const azureSqlServersPull = (options) => {
|
|
|
2400
3794
|
...options
|
|
2401
3795
|
});
|
|
2402
3796
|
};
|
|
3797
|
+
/**
|
|
3798
|
+
* Mark resource as ERRED
|
|
3799
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
3800
|
+
*/
|
|
3801
|
+
export const azureSqlServersSetErred = (options) => {
|
|
3802
|
+
return (options.client ?? _heyApiClient).post({
|
|
3803
|
+
security: [
|
|
3804
|
+
{
|
|
3805
|
+
name: 'Authorization',
|
|
3806
|
+
type: 'apiKey'
|
|
3807
|
+
},
|
|
3808
|
+
{
|
|
3809
|
+
scheme: 'bearer',
|
|
3810
|
+
type: 'http'
|
|
3811
|
+
}
|
|
3812
|
+
],
|
|
3813
|
+
url: '/api/azure-sql-servers/{uuid}/set_erred/',
|
|
3814
|
+
...options,
|
|
3815
|
+
headers: {
|
|
3816
|
+
'Content-Type': 'application/json',
|
|
3817
|
+
...options.headers
|
|
3818
|
+
}
|
|
3819
|
+
});
|
|
3820
|
+
};
|
|
3821
|
+
/**
|
|
3822
|
+
* Mark resource as OK
|
|
3823
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
3824
|
+
*/
|
|
3825
|
+
export const azureSqlServersSetOk = (options) => {
|
|
3826
|
+
return (options.client ?? _heyApiClient).post({
|
|
3827
|
+
security: [
|
|
3828
|
+
{
|
|
3829
|
+
name: 'Authorization',
|
|
3830
|
+
type: 'apiKey'
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
scheme: 'bearer',
|
|
3834
|
+
type: 'http'
|
|
3835
|
+
}
|
|
3836
|
+
],
|
|
3837
|
+
url: '/api/azure-sql-servers/{uuid}/set_ok/',
|
|
3838
|
+
...options
|
|
3839
|
+
});
|
|
3840
|
+
};
|
|
2403
3841
|
/**
|
|
2404
3842
|
* Unlink resource
|
|
2405
3843
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -2585,6 +4023,50 @@ export const azureVirtualmachinesRestart = (options) => {
|
|
|
2585
4023
|
...options
|
|
2586
4024
|
});
|
|
2587
4025
|
};
|
|
4026
|
+
/**
|
|
4027
|
+
* Mark resource as ERRED
|
|
4028
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
4029
|
+
*/
|
|
4030
|
+
export const azureVirtualmachinesSetErred = (options) => {
|
|
4031
|
+
return (options.client ?? _heyApiClient).post({
|
|
4032
|
+
security: [
|
|
4033
|
+
{
|
|
4034
|
+
name: 'Authorization',
|
|
4035
|
+
type: 'apiKey'
|
|
4036
|
+
},
|
|
4037
|
+
{
|
|
4038
|
+
scheme: 'bearer',
|
|
4039
|
+
type: 'http'
|
|
4040
|
+
}
|
|
4041
|
+
],
|
|
4042
|
+
url: '/api/azure-virtualmachines/{uuid}/set_erred/',
|
|
4043
|
+
...options,
|
|
4044
|
+
headers: {
|
|
4045
|
+
'Content-Type': 'application/json',
|
|
4046
|
+
...options.headers
|
|
4047
|
+
}
|
|
4048
|
+
});
|
|
4049
|
+
};
|
|
4050
|
+
/**
|
|
4051
|
+
* Mark resource as OK
|
|
4052
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
4053
|
+
*/
|
|
4054
|
+
export const azureVirtualmachinesSetOk = (options) => {
|
|
4055
|
+
return (options.client ?? _heyApiClient).post({
|
|
4056
|
+
security: [
|
|
4057
|
+
{
|
|
4058
|
+
name: 'Authorization',
|
|
4059
|
+
type: 'apiKey'
|
|
4060
|
+
},
|
|
4061
|
+
{
|
|
4062
|
+
scheme: 'bearer',
|
|
4063
|
+
type: 'http'
|
|
4064
|
+
}
|
|
4065
|
+
],
|
|
4066
|
+
url: '/api/azure-virtualmachines/{uuid}/set_ok/',
|
|
4067
|
+
...options
|
|
4068
|
+
});
|
|
4069
|
+
};
|
|
2588
4070
|
export const azureVirtualmachinesStart = (options) => {
|
|
2589
4071
|
return (options.client ?? _heyApiClient).post({
|
|
2590
4072
|
security: [
|
|
@@ -6632,6 +8114,50 @@ export const digitaloceanDropletsRestart = (options) => {
|
|
|
6632
8114
|
...options
|
|
6633
8115
|
});
|
|
6634
8116
|
};
|
|
8117
|
+
/**
|
|
8118
|
+
* Mark resource as ERRED
|
|
8119
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
8120
|
+
*/
|
|
8121
|
+
export const digitaloceanDropletsSetErred = (options) => {
|
|
8122
|
+
return (options.client ?? _heyApiClient).post({
|
|
8123
|
+
security: [
|
|
8124
|
+
{
|
|
8125
|
+
name: 'Authorization',
|
|
8126
|
+
type: 'apiKey'
|
|
8127
|
+
},
|
|
8128
|
+
{
|
|
8129
|
+
scheme: 'bearer',
|
|
8130
|
+
type: 'http'
|
|
8131
|
+
}
|
|
8132
|
+
],
|
|
8133
|
+
url: '/api/digitalocean-droplets/{uuid}/set_erred/',
|
|
8134
|
+
...options,
|
|
8135
|
+
headers: {
|
|
8136
|
+
'Content-Type': 'application/json',
|
|
8137
|
+
...options.headers
|
|
8138
|
+
}
|
|
8139
|
+
});
|
|
8140
|
+
};
|
|
8141
|
+
/**
|
|
8142
|
+
* Mark resource as OK
|
|
8143
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
8144
|
+
*/
|
|
8145
|
+
export const digitaloceanDropletsSetOk = (options) => {
|
|
8146
|
+
return (options.client ?? _heyApiClient).post({
|
|
8147
|
+
security: [
|
|
8148
|
+
{
|
|
8149
|
+
name: 'Authorization',
|
|
8150
|
+
type: 'apiKey'
|
|
8151
|
+
},
|
|
8152
|
+
{
|
|
8153
|
+
scheme: 'bearer',
|
|
8154
|
+
type: 'http'
|
|
8155
|
+
}
|
|
8156
|
+
],
|
|
8157
|
+
url: '/api/digitalocean-droplets/{uuid}/set_ok/',
|
|
8158
|
+
...options
|
|
8159
|
+
});
|
|
8160
|
+
};
|
|
6635
8161
|
export const digitaloceanDropletsStart = (options) => {
|
|
6636
8162
|
return (options.client ?? _heyApiClient).post({
|
|
6637
8163
|
security: [
|
|
@@ -24146,6 +25672,30 @@ export const openportalAllocationsPull = (options) => {
|
|
|
24146
25672
|
...options
|
|
24147
25673
|
});
|
|
24148
25674
|
};
|
|
25675
|
+
/**
|
|
25676
|
+
* Mark resource as ERRED
|
|
25677
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
25678
|
+
*/
|
|
25679
|
+
export const openportalAllocationsSetErred = (options) => {
|
|
25680
|
+
return (options.client ?? _heyApiClient).post({
|
|
25681
|
+
security: [
|
|
25682
|
+
{
|
|
25683
|
+
name: 'Authorization',
|
|
25684
|
+
type: 'apiKey'
|
|
25685
|
+
},
|
|
25686
|
+
{
|
|
25687
|
+
scheme: 'bearer',
|
|
25688
|
+
type: 'http'
|
|
25689
|
+
}
|
|
25690
|
+
],
|
|
25691
|
+
url: '/api/openportal-allocations/{uuid}/set_erred/',
|
|
25692
|
+
...options,
|
|
25693
|
+
headers: {
|
|
25694
|
+
'Content-Type': 'application/json',
|
|
25695
|
+
...options.headers
|
|
25696
|
+
}
|
|
25697
|
+
});
|
|
25698
|
+
};
|
|
24149
25699
|
export const openportalAllocationsSetLimits = (options) => {
|
|
24150
25700
|
return (options.client ?? _heyApiClient).post({
|
|
24151
25701
|
security: [
|
|
@@ -24166,6 +25716,26 @@ export const openportalAllocationsSetLimits = (options) => {
|
|
|
24166
25716
|
}
|
|
24167
25717
|
});
|
|
24168
25718
|
};
|
|
25719
|
+
/**
|
|
25720
|
+
* Mark resource as OK
|
|
25721
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
25722
|
+
*/
|
|
25723
|
+
export const openportalAllocationsSetOk = (options) => {
|
|
25724
|
+
return (options.client ?? _heyApiClient).post({
|
|
25725
|
+
security: [
|
|
25726
|
+
{
|
|
25727
|
+
name: 'Authorization',
|
|
25728
|
+
type: 'apiKey'
|
|
25729
|
+
},
|
|
25730
|
+
{
|
|
25731
|
+
scheme: 'bearer',
|
|
25732
|
+
type: 'http'
|
|
25733
|
+
}
|
|
25734
|
+
],
|
|
25735
|
+
url: '/api/openportal-allocations/{uuid}/set_ok/',
|
|
25736
|
+
...options
|
|
25737
|
+
});
|
|
25738
|
+
};
|
|
24169
25739
|
/**
|
|
24170
25740
|
* Unlink resource
|
|
24171
25741
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -24891,6 +26461,30 @@ export const openportalRemoteAllocationsPull = (options) => {
|
|
|
24891
26461
|
...options
|
|
24892
26462
|
});
|
|
24893
26463
|
};
|
|
26464
|
+
/**
|
|
26465
|
+
* Mark resource as ERRED
|
|
26466
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
26467
|
+
*/
|
|
26468
|
+
export const openportalRemoteAllocationsSetErred = (options) => {
|
|
26469
|
+
return (options.client ?? _heyApiClient).post({
|
|
26470
|
+
security: [
|
|
26471
|
+
{
|
|
26472
|
+
name: 'Authorization',
|
|
26473
|
+
type: 'apiKey'
|
|
26474
|
+
},
|
|
26475
|
+
{
|
|
26476
|
+
scheme: 'bearer',
|
|
26477
|
+
type: 'http'
|
|
26478
|
+
}
|
|
26479
|
+
],
|
|
26480
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_erred/',
|
|
26481
|
+
...options,
|
|
26482
|
+
headers: {
|
|
26483
|
+
'Content-Type': 'application/json',
|
|
26484
|
+
...options.headers
|
|
26485
|
+
}
|
|
26486
|
+
});
|
|
26487
|
+
};
|
|
24894
26488
|
export const openportalRemoteAllocationsSetLimits = (options) => {
|
|
24895
26489
|
return (options.client ?? _heyApiClient).post({
|
|
24896
26490
|
security: [
|
|
@@ -24911,6 +26505,26 @@ export const openportalRemoteAllocationsSetLimits = (options) => {
|
|
|
24911
26505
|
}
|
|
24912
26506
|
});
|
|
24913
26507
|
};
|
|
26508
|
+
/**
|
|
26509
|
+
* Mark resource as OK
|
|
26510
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
26511
|
+
*/
|
|
26512
|
+
export const openportalRemoteAllocationsSetOk = (options) => {
|
|
26513
|
+
return (options.client ?? _heyApiClient).post({
|
|
26514
|
+
security: [
|
|
26515
|
+
{
|
|
26516
|
+
name: 'Authorization',
|
|
26517
|
+
type: 'apiKey'
|
|
26518
|
+
},
|
|
26519
|
+
{
|
|
26520
|
+
scheme: 'bearer',
|
|
26521
|
+
type: 'http'
|
|
26522
|
+
}
|
|
26523
|
+
],
|
|
26524
|
+
url: '/api/openportal-remote-allocations/{uuid}/set_ok/',
|
|
26525
|
+
...options
|
|
26526
|
+
});
|
|
26527
|
+
};
|
|
24914
26528
|
/**
|
|
24915
26529
|
* Unlink resource
|
|
24916
26530
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -25749,6 +27363,50 @@ export const openstackBackupsRestore = (options) => {
|
|
|
25749
27363
|
}
|
|
25750
27364
|
});
|
|
25751
27365
|
};
|
|
27366
|
+
/**
|
|
27367
|
+
* Mark resource as ERRED
|
|
27368
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
27369
|
+
*/
|
|
27370
|
+
export const openstackBackupsSetErred = (options) => {
|
|
27371
|
+
return (options.client ?? _heyApiClient).post({
|
|
27372
|
+
security: [
|
|
27373
|
+
{
|
|
27374
|
+
name: 'Authorization',
|
|
27375
|
+
type: 'apiKey'
|
|
27376
|
+
},
|
|
27377
|
+
{
|
|
27378
|
+
scheme: 'bearer',
|
|
27379
|
+
type: 'http'
|
|
27380
|
+
}
|
|
27381
|
+
],
|
|
27382
|
+
url: '/api/openstack-backups/{uuid}/set_erred/',
|
|
27383
|
+
...options,
|
|
27384
|
+
headers: {
|
|
27385
|
+
'Content-Type': 'application/json',
|
|
27386
|
+
...options.headers
|
|
27387
|
+
}
|
|
27388
|
+
});
|
|
27389
|
+
};
|
|
27390
|
+
/**
|
|
27391
|
+
* Mark resource as OK
|
|
27392
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
27393
|
+
*/
|
|
27394
|
+
export const openstackBackupsSetOk = (options) => {
|
|
27395
|
+
return (options.client ?? _heyApiClient).post({
|
|
27396
|
+
security: [
|
|
27397
|
+
{
|
|
27398
|
+
name: 'Authorization',
|
|
27399
|
+
type: 'apiKey'
|
|
27400
|
+
},
|
|
27401
|
+
{
|
|
27402
|
+
scheme: 'bearer',
|
|
27403
|
+
type: 'http'
|
|
27404
|
+
}
|
|
27405
|
+
],
|
|
27406
|
+
url: '/api/openstack-backups/{uuid}/set_ok/',
|
|
27407
|
+
...options
|
|
27408
|
+
});
|
|
27409
|
+
};
|
|
25752
27410
|
/**
|
|
25753
27411
|
* Unlink resource
|
|
25754
27412
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -26015,6 +27673,50 @@ export const openstackFloatingIpsPull = (options) => {
|
|
|
26015
27673
|
...options
|
|
26016
27674
|
});
|
|
26017
27675
|
};
|
|
27676
|
+
/**
|
|
27677
|
+
* Mark resource as ERRED
|
|
27678
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
27679
|
+
*/
|
|
27680
|
+
export const openstackFloatingIpsSetErred = (options) => {
|
|
27681
|
+
return (options.client ?? _heyApiClient).post({
|
|
27682
|
+
security: [
|
|
27683
|
+
{
|
|
27684
|
+
name: 'Authorization',
|
|
27685
|
+
type: 'apiKey'
|
|
27686
|
+
},
|
|
27687
|
+
{
|
|
27688
|
+
scheme: 'bearer',
|
|
27689
|
+
type: 'http'
|
|
27690
|
+
}
|
|
27691
|
+
],
|
|
27692
|
+
url: '/api/openstack-floating-ips/{uuid}/set_erred/',
|
|
27693
|
+
...options,
|
|
27694
|
+
headers: {
|
|
27695
|
+
'Content-Type': 'application/json',
|
|
27696
|
+
...options.headers
|
|
27697
|
+
}
|
|
27698
|
+
});
|
|
27699
|
+
};
|
|
27700
|
+
/**
|
|
27701
|
+
* Mark resource as OK
|
|
27702
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
27703
|
+
*/
|
|
27704
|
+
export const openstackFloatingIpsSetOk = (options) => {
|
|
27705
|
+
return (options.client ?? _heyApiClient).post({
|
|
27706
|
+
security: [
|
|
27707
|
+
{
|
|
27708
|
+
name: 'Authorization',
|
|
27709
|
+
type: 'apiKey'
|
|
27710
|
+
},
|
|
27711
|
+
{
|
|
27712
|
+
scheme: 'bearer',
|
|
27713
|
+
type: 'http'
|
|
27714
|
+
}
|
|
27715
|
+
],
|
|
27716
|
+
url: '/api/openstack-floating-ips/{uuid}/set_ok/',
|
|
27717
|
+
...options
|
|
27718
|
+
});
|
|
27719
|
+
};
|
|
26018
27720
|
/**
|
|
26019
27721
|
* Unlink resource
|
|
26020
27722
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -26497,6 +28199,50 @@ export const openstackInstancesRestart = (options) => {
|
|
|
26497
28199
|
...options
|
|
26498
28200
|
});
|
|
26499
28201
|
};
|
|
28202
|
+
/**
|
|
28203
|
+
* Mark resource as ERRED
|
|
28204
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
28205
|
+
*/
|
|
28206
|
+
export const openstackInstancesSetErred = (options) => {
|
|
28207
|
+
return (options.client ?? _heyApiClient).post({
|
|
28208
|
+
security: [
|
|
28209
|
+
{
|
|
28210
|
+
name: 'Authorization',
|
|
28211
|
+
type: 'apiKey'
|
|
28212
|
+
},
|
|
28213
|
+
{
|
|
28214
|
+
scheme: 'bearer',
|
|
28215
|
+
type: 'http'
|
|
28216
|
+
}
|
|
28217
|
+
],
|
|
28218
|
+
url: '/api/openstack-instances/{uuid}/set_erred/',
|
|
28219
|
+
...options,
|
|
28220
|
+
headers: {
|
|
28221
|
+
'Content-Type': 'application/json',
|
|
28222
|
+
...options.headers
|
|
28223
|
+
}
|
|
28224
|
+
});
|
|
28225
|
+
};
|
|
28226
|
+
/**
|
|
28227
|
+
* Mark resource as OK
|
|
28228
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
28229
|
+
*/
|
|
28230
|
+
export const openstackInstancesSetOk = (options) => {
|
|
28231
|
+
return (options.client ?? _heyApiClient).post({
|
|
28232
|
+
security: [
|
|
28233
|
+
{
|
|
28234
|
+
name: 'Authorization',
|
|
28235
|
+
type: 'apiKey'
|
|
28236
|
+
},
|
|
28237
|
+
{
|
|
28238
|
+
scheme: 'bearer',
|
|
28239
|
+
type: 'http'
|
|
28240
|
+
}
|
|
28241
|
+
],
|
|
28242
|
+
url: '/api/openstack-instances/{uuid}/set_ok/',
|
|
28243
|
+
...options
|
|
28244
|
+
});
|
|
28245
|
+
};
|
|
26500
28246
|
/**
|
|
26501
28247
|
* Start instance
|
|
26502
28248
|
* Start the instance
|
|
@@ -27235,6 +28981,30 @@ export const openstackNetworksRbacPolicyDeleteDestroy = (options) => {
|
|
|
27235
28981
|
...options
|
|
27236
28982
|
});
|
|
27237
28983
|
};
|
|
28984
|
+
/**
|
|
28985
|
+
* Mark resource as ERRED
|
|
28986
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
28987
|
+
*/
|
|
28988
|
+
export const openstackNetworksSetErred = (options) => {
|
|
28989
|
+
return (options.client ?? _heyApiClient).post({
|
|
28990
|
+
security: [
|
|
28991
|
+
{
|
|
28992
|
+
name: 'Authorization',
|
|
28993
|
+
type: 'apiKey'
|
|
28994
|
+
},
|
|
28995
|
+
{
|
|
28996
|
+
scheme: 'bearer',
|
|
28997
|
+
type: 'http'
|
|
28998
|
+
}
|
|
28999
|
+
],
|
|
29000
|
+
url: '/api/openstack-networks/{uuid}/set_erred/',
|
|
29001
|
+
...options,
|
|
29002
|
+
headers: {
|
|
29003
|
+
'Content-Type': 'application/json',
|
|
29004
|
+
...options.headers
|
|
29005
|
+
}
|
|
29006
|
+
});
|
|
29007
|
+
};
|
|
27238
29008
|
/**
|
|
27239
29009
|
* Set network MTU
|
|
27240
29010
|
* Update the Maximum Transmission Unit (MTU) for the network.
|
|
@@ -27259,6 +29029,26 @@ export const openstackNetworksSetMtu = (options) => {
|
|
|
27259
29029
|
}
|
|
27260
29030
|
});
|
|
27261
29031
|
};
|
|
29032
|
+
/**
|
|
29033
|
+
* Mark resource as OK
|
|
29034
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
29035
|
+
*/
|
|
29036
|
+
export const openstackNetworksSetOk = (options) => {
|
|
29037
|
+
return (options.client ?? _heyApiClient).post({
|
|
29038
|
+
security: [
|
|
29039
|
+
{
|
|
29040
|
+
name: 'Authorization',
|
|
29041
|
+
type: 'apiKey'
|
|
29042
|
+
},
|
|
29043
|
+
{
|
|
29044
|
+
scheme: 'bearer',
|
|
29045
|
+
type: 'http'
|
|
29046
|
+
}
|
|
29047
|
+
],
|
|
29048
|
+
url: '/api/openstack-networks/{uuid}/set_ok/',
|
|
29049
|
+
...options
|
|
29050
|
+
});
|
|
29051
|
+
};
|
|
27262
29052
|
/**
|
|
27263
29053
|
* Unlink resource
|
|
27264
29054
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -27533,6 +29323,50 @@ export const openstackPortsPull = (options) => {
|
|
|
27533
29323
|
...options
|
|
27534
29324
|
});
|
|
27535
29325
|
};
|
|
29326
|
+
/**
|
|
29327
|
+
* Mark resource as ERRED
|
|
29328
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
29329
|
+
*/
|
|
29330
|
+
export const openstackPortsSetErred = (options) => {
|
|
29331
|
+
return (options.client ?? _heyApiClient).post({
|
|
29332
|
+
security: [
|
|
29333
|
+
{
|
|
29334
|
+
name: 'Authorization',
|
|
29335
|
+
type: 'apiKey'
|
|
29336
|
+
},
|
|
29337
|
+
{
|
|
29338
|
+
scheme: 'bearer',
|
|
29339
|
+
type: 'http'
|
|
29340
|
+
}
|
|
29341
|
+
],
|
|
29342
|
+
url: '/api/openstack-ports/{uuid}/set_erred/',
|
|
29343
|
+
...options,
|
|
29344
|
+
headers: {
|
|
29345
|
+
'Content-Type': 'application/json',
|
|
29346
|
+
...options.headers
|
|
29347
|
+
}
|
|
29348
|
+
});
|
|
29349
|
+
};
|
|
29350
|
+
/**
|
|
29351
|
+
* Mark resource as OK
|
|
29352
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
29353
|
+
*/
|
|
29354
|
+
export const openstackPortsSetOk = (options) => {
|
|
29355
|
+
return (options.client ?? _heyApiClient).post({
|
|
29356
|
+
security: [
|
|
29357
|
+
{
|
|
29358
|
+
name: 'Authorization',
|
|
29359
|
+
type: 'apiKey'
|
|
29360
|
+
},
|
|
29361
|
+
{
|
|
29362
|
+
scheme: 'bearer',
|
|
29363
|
+
type: 'http'
|
|
29364
|
+
}
|
|
29365
|
+
],
|
|
29366
|
+
url: '/api/openstack-ports/{uuid}/set_ok/',
|
|
29367
|
+
...options
|
|
29368
|
+
});
|
|
29369
|
+
};
|
|
27536
29370
|
/**
|
|
27537
29371
|
* Unlink resource
|
|
27538
29372
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -27755,6 +29589,50 @@ export const openstackRoutersRemoveRouterInterface = (options) => {
|
|
|
27755
29589
|
}
|
|
27756
29590
|
});
|
|
27757
29591
|
};
|
|
29592
|
+
/**
|
|
29593
|
+
* Mark router as ERRED
|
|
29594
|
+
* Manually transition the router to ERRED state. This is useful for routers stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
29595
|
+
*/
|
|
29596
|
+
export const openstackRoutersSetErred = (options) => {
|
|
29597
|
+
return (options.client ?? _heyApiClient).post({
|
|
29598
|
+
security: [
|
|
29599
|
+
{
|
|
29600
|
+
name: 'Authorization',
|
|
29601
|
+
type: 'apiKey'
|
|
29602
|
+
},
|
|
29603
|
+
{
|
|
29604
|
+
scheme: 'bearer',
|
|
29605
|
+
type: 'http'
|
|
29606
|
+
}
|
|
29607
|
+
],
|
|
29608
|
+
url: '/api/openstack-routers/{uuid}/set_erred/',
|
|
29609
|
+
...options,
|
|
29610
|
+
headers: {
|
|
29611
|
+
'Content-Type': 'application/json',
|
|
29612
|
+
...options.headers
|
|
29613
|
+
}
|
|
29614
|
+
});
|
|
29615
|
+
};
|
|
29616
|
+
/**
|
|
29617
|
+
* Mark router as OK
|
|
29618
|
+
* Manually transition the router to OK state and clear error fields. Staff-only operation.
|
|
29619
|
+
*/
|
|
29620
|
+
export const openstackRoutersSetOk = (options) => {
|
|
29621
|
+
return (options.client ?? _heyApiClient).post({
|
|
29622
|
+
security: [
|
|
29623
|
+
{
|
|
29624
|
+
name: 'Authorization',
|
|
29625
|
+
type: 'apiKey'
|
|
29626
|
+
},
|
|
29627
|
+
{
|
|
29628
|
+
scheme: 'bearer',
|
|
29629
|
+
type: 'http'
|
|
29630
|
+
}
|
|
29631
|
+
],
|
|
29632
|
+
url: '/api/openstack-routers/{uuid}/set_ok/',
|
|
29633
|
+
...options
|
|
29634
|
+
});
|
|
29635
|
+
};
|
|
27758
29636
|
/**
|
|
27759
29637
|
* Set static routes
|
|
27760
29638
|
* Define or overwrite the static routes for the router.
|
|
@@ -27923,6 +29801,50 @@ export const openstackSecurityGroupsPull = (options) => {
|
|
|
27923
29801
|
...options
|
|
27924
29802
|
});
|
|
27925
29803
|
};
|
|
29804
|
+
/**
|
|
29805
|
+
* Mark resource as ERRED
|
|
29806
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
29807
|
+
*/
|
|
29808
|
+
export const openstackSecurityGroupsSetErred = (options) => {
|
|
29809
|
+
return (options.client ?? _heyApiClient).post({
|
|
29810
|
+
security: [
|
|
29811
|
+
{
|
|
29812
|
+
name: 'Authorization',
|
|
29813
|
+
type: 'apiKey'
|
|
29814
|
+
},
|
|
29815
|
+
{
|
|
29816
|
+
scheme: 'bearer',
|
|
29817
|
+
type: 'http'
|
|
29818
|
+
}
|
|
29819
|
+
],
|
|
29820
|
+
url: '/api/openstack-security-groups/{uuid}/set_erred/',
|
|
29821
|
+
...options,
|
|
29822
|
+
headers: {
|
|
29823
|
+
'Content-Type': 'application/json',
|
|
29824
|
+
...options.headers
|
|
29825
|
+
}
|
|
29826
|
+
});
|
|
29827
|
+
};
|
|
29828
|
+
/**
|
|
29829
|
+
* Mark resource as OK
|
|
29830
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
29831
|
+
*/
|
|
29832
|
+
export const openstackSecurityGroupsSetOk = (options) => {
|
|
29833
|
+
return (options.client ?? _heyApiClient).post({
|
|
29834
|
+
security: [
|
|
29835
|
+
{
|
|
29836
|
+
name: 'Authorization',
|
|
29837
|
+
type: 'apiKey'
|
|
29838
|
+
},
|
|
29839
|
+
{
|
|
29840
|
+
scheme: 'bearer',
|
|
29841
|
+
type: 'http'
|
|
29842
|
+
}
|
|
29843
|
+
],
|
|
29844
|
+
url: '/api/openstack-security-groups/{uuid}/set_ok/',
|
|
29845
|
+
...options
|
|
29846
|
+
});
|
|
29847
|
+
};
|
|
27926
29848
|
/**
|
|
27927
29849
|
* Set security group rules
|
|
27928
29850
|
* Update the rules for a specific security group. This overwrites all existing rules.
|
|
@@ -28129,6 +30051,50 @@ export const openstackServerGroupsPull = (options) => {
|
|
|
28129
30051
|
...options
|
|
28130
30052
|
});
|
|
28131
30053
|
};
|
|
30054
|
+
/**
|
|
30055
|
+
* Mark resource as ERRED
|
|
30056
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
30057
|
+
*/
|
|
30058
|
+
export const openstackServerGroupsSetErred = (options) => {
|
|
30059
|
+
return (options.client ?? _heyApiClient).post({
|
|
30060
|
+
security: [
|
|
30061
|
+
{
|
|
30062
|
+
name: 'Authorization',
|
|
30063
|
+
type: 'apiKey'
|
|
30064
|
+
},
|
|
30065
|
+
{
|
|
30066
|
+
scheme: 'bearer',
|
|
30067
|
+
type: 'http'
|
|
30068
|
+
}
|
|
30069
|
+
],
|
|
30070
|
+
url: '/api/openstack-server-groups/{uuid}/set_erred/',
|
|
30071
|
+
...options,
|
|
30072
|
+
headers: {
|
|
30073
|
+
'Content-Type': 'application/json',
|
|
30074
|
+
...options.headers
|
|
30075
|
+
}
|
|
30076
|
+
});
|
|
30077
|
+
};
|
|
30078
|
+
/**
|
|
30079
|
+
* Mark resource as OK
|
|
30080
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
30081
|
+
*/
|
|
30082
|
+
export const openstackServerGroupsSetOk = (options) => {
|
|
30083
|
+
return (options.client ?? _heyApiClient).post({
|
|
30084
|
+
security: [
|
|
30085
|
+
{
|
|
30086
|
+
name: 'Authorization',
|
|
30087
|
+
type: 'apiKey'
|
|
30088
|
+
},
|
|
30089
|
+
{
|
|
30090
|
+
scheme: 'bearer',
|
|
30091
|
+
type: 'http'
|
|
30092
|
+
}
|
|
30093
|
+
],
|
|
30094
|
+
url: '/api/openstack-server-groups/{uuid}/set_ok/',
|
|
30095
|
+
...options
|
|
30096
|
+
});
|
|
30097
|
+
};
|
|
28132
30098
|
/**
|
|
28133
30099
|
* Unlink resource
|
|
28134
30100
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -28343,6 +30309,50 @@ export const openstackSnapshotsRestore = (options) => {
|
|
|
28343
30309
|
}
|
|
28344
30310
|
});
|
|
28345
30311
|
};
|
|
30312
|
+
/**
|
|
30313
|
+
* Mark resource as ERRED
|
|
30314
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
30315
|
+
*/
|
|
30316
|
+
export const openstackSnapshotsSetErred = (options) => {
|
|
30317
|
+
return (options.client ?? _heyApiClient).post({
|
|
30318
|
+
security: [
|
|
30319
|
+
{
|
|
30320
|
+
name: 'Authorization',
|
|
30321
|
+
type: 'apiKey'
|
|
30322
|
+
},
|
|
30323
|
+
{
|
|
30324
|
+
scheme: 'bearer',
|
|
30325
|
+
type: 'http'
|
|
30326
|
+
}
|
|
30327
|
+
],
|
|
30328
|
+
url: '/api/openstack-snapshots/{uuid}/set_erred/',
|
|
30329
|
+
...options,
|
|
30330
|
+
headers: {
|
|
30331
|
+
'Content-Type': 'application/json',
|
|
30332
|
+
...options.headers
|
|
30333
|
+
}
|
|
30334
|
+
});
|
|
30335
|
+
};
|
|
30336
|
+
/**
|
|
30337
|
+
* Mark resource as OK
|
|
30338
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
30339
|
+
*/
|
|
30340
|
+
export const openstackSnapshotsSetOk = (options) => {
|
|
30341
|
+
return (options.client ?? _heyApiClient).post({
|
|
30342
|
+
security: [
|
|
30343
|
+
{
|
|
30344
|
+
name: 'Authorization',
|
|
30345
|
+
type: 'apiKey'
|
|
30346
|
+
},
|
|
30347
|
+
{
|
|
30348
|
+
scheme: 'bearer',
|
|
30349
|
+
type: 'http'
|
|
30350
|
+
}
|
|
30351
|
+
],
|
|
30352
|
+
url: '/api/openstack-snapshots/{uuid}/set_ok/',
|
|
30353
|
+
...options
|
|
30354
|
+
});
|
|
30355
|
+
};
|
|
28346
30356
|
/**
|
|
28347
30357
|
* Unlink resource
|
|
28348
30358
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -28553,6 +30563,50 @@ export const openstackSubnetsPull = (options) => {
|
|
|
28553
30563
|
...options
|
|
28554
30564
|
});
|
|
28555
30565
|
};
|
|
30566
|
+
/**
|
|
30567
|
+
* Mark resource as ERRED
|
|
30568
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
30569
|
+
*/
|
|
30570
|
+
export const openstackSubnetsSetErred = (options) => {
|
|
30571
|
+
return (options.client ?? _heyApiClient).post({
|
|
30572
|
+
security: [
|
|
30573
|
+
{
|
|
30574
|
+
name: 'Authorization',
|
|
30575
|
+
type: 'apiKey'
|
|
30576
|
+
},
|
|
30577
|
+
{
|
|
30578
|
+
scheme: 'bearer',
|
|
30579
|
+
type: 'http'
|
|
30580
|
+
}
|
|
30581
|
+
],
|
|
30582
|
+
url: '/api/openstack-subnets/{uuid}/set_erred/',
|
|
30583
|
+
...options,
|
|
30584
|
+
headers: {
|
|
30585
|
+
'Content-Type': 'application/json',
|
|
30586
|
+
...options.headers
|
|
30587
|
+
}
|
|
30588
|
+
});
|
|
30589
|
+
};
|
|
30590
|
+
/**
|
|
30591
|
+
* Mark resource as OK
|
|
30592
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
30593
|
+
*/
|
|
30594
|
+
export const openstackSubnetsSetOk = (options) => {
|
|
30595
|
+
return (options.client ?? _heyApiClient).post({
|
|
30596
|
+
security: [
|
|
30597
|
+
{
|
|
30598
|
+
name: 'Authorization',
|
|
30599
|
+
type: 'apiKey'
|
|
30600
|
+
},
|
|
30601
|
+
{
|
|
30602
|
+
scheme: 'bearer',
|
|
30603
|
+
type: 'http'
|
|
30604
|
+
}
|
|
30605
|
+
],
|
|
30606
|
+
url: '/api/openstack-subnets/{uuid}/set_ok/',
|
|
30607
|
+
...options
|
|
30608
|
+
});
|
|
30609
|
+
};
|
|
28556
30610
|
/**
|
|
28557
30611
|
* Unlink resource
|
|
28558
30612
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -28973,6 +31027,50 @@ export const openstackTenantsPushSecurityGroups = (options) => {
|
|
|
28973
31027
|
}
|
|
28974
31028
|
});
|
|
28975
31029
|
};
|
|
31030
|
+
/**
|
|
31031
|
+
* Mark resource as ERRED
|
|
31032
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
31033
|
+
*/
|
|
31034
|
+
export const openstackTenantsSetErred = (options) => {
|
|
31035
|
+
return (options.client ?? _heyApiClient).post({
|
|
31036
|
+
security: [
|
|
31037
|
+
{
|
|
31038
|
+
name: 'Authorization',
|
|
31039
|
+
type: 'apiKey'
|
|
31040
|
+
},
|
|
31041
|
+
{
|
|
31042
|
+
scheme: 'bearer',
|
|
31043
|
+
type: 'http'
|
|
31044
|
+
}
|
|
31045
|
+
],
|
|
31046
|
+
url: '/api/openstack-tenants/{uuid}/set_erred/',
|
|
31047
|
+
...options,
|
|
31048
|
+
headers: {
|
|
31049
|
+
'Content-Type': 'application/json',
|
|
31050
|
+
...options.headers
|
|
31051
|
+
}
|
|
31052
|
+
});
|
|
31053
|
+
};
|
|
31054
|
+
/**
|
|
31055
|
+
* Mark resource as OK
|
|
31056
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
31057
|
+
*/
|
|
31058
|
+
export const openstackTenantsSetOk = (options) => {
|
|
31059
|
+
return (options.client ?? _heyApiClient).post({
|
|
31060
|
+
security: [
|
|
31061
|
+
{
|
|
31062
|
+
name: 'Authorization',
|
|
31063
|
+
type: 'apiKey'
|
|
31064
|
+
},
|
|
31065
|
+
{
|
|
31066
|
+
scheme: 'bearer',
|
|
31067
|
+
type: 'http'
|
|
31068
|
+
}
|
|
31069
|
+
],
|
|
31070
|
+
url: '/api/openstack-tenants/{uuid}/set_ok/',
|
|
31071
|
+
...options
|
|
31072
|
+
});
|
|
31073
|
+
};
|
|
28976
31074
|
/**
|
|
28977
31075
|
* Set tenant quotas
|
|
28978
31076
|
* A quota can be set for a particular tenant. Only staff users and service provider owners/managers can do that.
|
|
@@ -29425,6 +31523,50 @@ export const openstackVolumesRetype = (options) => {
|
|
|
29425
31523
|
}
|
|
29426
31524
|
});
|
|
29427
31525
|
};
|
|
31526
|
+
/**
|
|
31527
|
+
* Mark resource as ERRED
|
|
31528
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
31529
|
+
*/
|
|
31530
|
+
export const openstackVolumesSetErred = (options) => {
|
|
31531
|
+
return (options.client ?? _heyApiClient).post({
|
|
31532
|
+
security: [
|
|
31533
|
+
{
|
|
31534
|
+
name: 'Authorization',
|
|
31535
|
+
type: 'apiKey'
|
|
31536
|
+
},
|
|
31537
|
+
{
|
|
31538
|
+
scheme: 'bearer',
|
|
31539
|
+
type: 'http'
|
|
31540
|
+
}
|
|
31541
|
+
],
|
|
31542
|
+
url: '/api/openstack-volumes/{uuid}/set_erred/',
|
|
31543
|
+
...options,
|
|
31544
|
+
headers: {
|
|
31545
|
+
'Content-Type': 'application/json',
|
|
31546
|
+
...options.headers
|
|
31547
|
+
}
|
|
31548
|
+
});
|
|
31549
|
+
};
|
|
31550
|
+
/**
|
|
31551
|
+
* Mark resource as OK
|
|
31552
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
31553
|
+
*/
|
|
31554
|
+
export const openstackVolumesSetOk = (options) => {
|
|
31555
|
+
return (options.client ?? _heyApiClient).post({
|
|
31556
|
+
security: [
|
|
31557
|
+
{
|
|
31558
|
+
name: 'Authorization',
|
|
31559
|
+
type: 'apiKey'
|
|
31560
|
+
},
|
|
31561
|
+
{
|
|
31562
|
+
scheme: 'bearer',
|
|
31563
|
+
type: 'http'
|
|
31564
|
+
}
|
|
31565
|
+
],
|
|
31566
|
+
url: '/api/openstack-volumes/{uuid}/set_ok/',
|
|
31567
|
+
...options
|
|
31568
|
+
});
|
|
31569
|
+
};
|
|
29428
31570
|
/**
|
|
29429
31571
|
* Create volume snapshot
|
|
29430
31572
|
* Create snapshot from volume
|
|
@@ -33493,6 +35635,50 @@ export const rancherAppsPull = (options) => {
|
|
|
33493
35635
|
...options
|
|
33494
35636
|
});
|
|
33495
35637
|
};
|
|
35638
|
+
/**
|
|
35639
|
+
* Mark resource as ERRED
|
|
35640
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
35641
|
+
*/
|
|
35642
|
+
export const rancherAppsSetErred = (options) => {
|
|
35643
|
+
return (options.client ?? _heyApiClient).post({
|
|
35644
|
+
security: [
|
|
35645
|
+
{
|
|
35646
|
+
name: 'Authorization',
|
|
35647
|
+
type: 'apiKey'
|
|
35648
|
+
},
|
|
35649
|
+
{
|
|
35650
|
+
scheme: 'bearer',
|
|
35651
|
+
type: 'http'
|
|
35652
|
+
}
|
|
35653
|
+
],
|
|
35654
|
+
url: '/api/rancher-apps/{uuid}/set_erred/',
|
|
35655
|
+
...options,
|
|
35656
|
+
headers: {
|
|
35657
|
+
'Content-Type': 'application/json',
|
|
35658
|
+
...options.headers
|
|
35659
|
+
}
|
|
35660
|
+
});
|
|
35661
|
+
};
|
|
35662
|
+
/**
|
|
35663
|
+
* Mark resource as OK
|
|
35664
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
35665
|
+
*/
|
|
35666
|
+
export const rancherAppsSetOk = (options) => {
|
|
35667
|
+
return (options.client ?? _heyApiClient).post({
|
|
35668
|
+
security: [
|
|
35669
|
+
{
|
|
35670
|
+
name: 'Authorization',
|
|
35671
|
+
type: 'apiKey'
|
|
35672
|
+
},
|
|
35673
|
+
{
|
|
35674
|
+
scheme: 'bearer',
|
|
35675
|
+
type: 'http'
|
|
35676
|
+
}
|
|
35677
|
+
],
|
|
35678
|
+
url: '/api/rancher-apps/{uuid}/set_ok/',
|
|
35679
|
+
...options
|
|
35680
|
+
});
|
|
35681
|
+
};
|
|
33496
35682
|
/**
|
|
33497
35683
|
* Unlink resource
|
|
33498
35684
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -33955,6 +36141,50 @@ export const rancherClustersPull = (options) => {
|
|
|
33955
36141
|
...options
|
|
33956
36142
|
});
|
|
33957
36143
|
};
|
|
36144
|
+
/**
|
|
36145
|
+
* Mark resource as ERRED
|
|
36146
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
36147
|
+
*/
|
|
36148
|
+
export const rancherClustersSetErred = (options) => {
|
|
36149
|
+
return (options.client ?? _heyApiClient).post({
|
|
36150
|
+
security: [
|
|
36151
|
+
{
|
|
36152
|
+
name: 'Authorization',
|
|
36153
|
+
type: 'apiKey'
|
|
36154
|
+
},
|
|
36155
|
+
{
|
|
36156
|
+
scheme: 'bearer',
|
|
36157
|
+
type: 'http'
|
|
36158
|
+
}
|
|
36159
|
+
],
|
|
36160
|
+
url: '/api/rancher-clusters/{uuid}/set_erred/',
|
|
36161
|
+
...options,
|
|
36162
|
+
headers: {
|
|
36163
|
+
'Content-Type': 'application/json',
|
|
36164
|
+
...options.headers
|
|
36165
|
+
}
|
|
36166
|
+
});
|
|
36167
|
+
};
|
|
36168
|
+
/**
|
|
36169
|
+
* Mark resource as OK
|
|
36170
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
36171
|
+
*/
|
|
36172
|
+
export const rancherClustersSetOk = (options) => {
|
|
36173
|
+
return (options.client ?? _heyApiClient).post({
|
|
36174
|
+
security: [
|
|
36175
|
+
{
|
|
36176
|
+
name: 'Authorization',
|
|
36177
|
+
type: 'apiKey'
|
|
36178
|
+
},
|
|
36179
|
+
{
|
|
36180
|
+
scheme: 'bearer',
|
|
36181
|
+
type: 'http'
|
|
36182
|
+
}
|
|
36183
|
+
],
|
|
36184
|
+
url: '/api/rancher-clusters/{uuid}/set_ok/',
|
|
36185
|
+
...options
|
|
36186
|
+
});
|
|
36187
|
+
};
|
|
33958
36188
|
/**
|
|
33959
36189
|
* Unlink resource
|
|
33960
36190
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -34124,6 +36354,50 @@ export const rancherHpasPull = (options) => {
|
|
|
34124
36354
|
...options
|
|
34125
36355
|
});
|
|
34126
36356
|
};
|
|
36357
|
+
/**
|
|
36358
|
+
* Mark resource as ERRED
|
|
36359
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
36360
|
+
*/
|
|
36361
|
+
export const rancherHpasSetErred = (options) => {
|
|
36362
|
+
return (options.client ?? _heyApiClient).post({
|
|
36363
|
+
security: [
|
|
36364
|
+
{
|
|
36365
|
+
name: 'Authorization',
|
|
36366
|
+
type: 'apiKey'
|
|
36367
|
+
},
|
|
36368
|
+
{
|
|
36369
|
+
scheme: 'bearer',
|
|
36370
|
+
type: 'http'
|
|
36371
|
+
}
|
|
36372
|
+
],
|
|
36373
|
+
url: '/api/rancher-hpas/{uuid}/set_erred/',
|
|
36374
|
+
...options,
|
|
36375
|
+
headers: {
|
|
36376
|
+
'Content-Type': 'application/json',
|
|
36377
|
+
...options.headers
|
|
36378
|
+
}
|
|
36379
|
+
});
|
|
36380
|
+
};
|
|
36381
|
+
/**
|
|
36382
|
+
* Mark resource as OK
|
|
36383
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
36384
|
+
*/
|
|
36385
|
+
export const rancherHpasSetOk = (options) => {
|
|
36386
|
+
return (options.client ?? _heyApiClient).post({
|
|
36387
|
+
security: [
|
|
36388
|
+
{
|
|
36389
|
+
name: 'Authorization',
|
|
36390
|
+
type: 'apiKey'
|
|
36391
|
+
},
|
|
36392
|
+
{
|
|
36393
|
+
scheme: 'bearer',
|
|
36394
|
+
type: 'http'
|
|
36395
|
+
}
|
|
36396
|
+
],
|
|
36397
|
+
url: '/api/rancher-hpas/{uuid}/set_ok/',
|
|
36398
|
+
...options
|
|
36399
|
+
});
|
|
36400
|
+
};
|
|
34127
36401
|
/**
|
|
34128
36402
|
* Unlink resource
|
|
34129
36403
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -34329,6 +36603,50 @@ export const rancherIngressesPull = (options) => {
|
|
|
34329
36603
|
...options
|
|
34330
36604
|
});
|
|
34331
36605
|
};
|
|
36606
|
+
/**
|
|
36607
|
+
* Mark resource as ERRED
|
|
36608
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
36609
|
+
*/
|
|
36610
|
+
export const rancherIngressesSetErred = (options) => {
|
|
36611
|
+
return (options.client ?? _heyApiClient).post({
|
|
36612
|
+
security: [
|
|
36613
|
+
{
|
|
36614
|
+
name: 'Authorization',
|
|
36615
|
+
type: 'apiKey'
|
|
36616
|
+
},
|
|
36617
|
+
{
|
|
36618
|
+
scheme: 'bearer',
|
|
36619
|
+
type: 'http'
|
|
36620
|
+
}
|
|
36621
|
+
],
|
|
36622
|
+
url: '/api/rancher-ingresses/{uuid}/set_erred/',
|
|
36623
|
+
...options,
|
|
36624
|
+
headers: {
|
|
36625
|
+
'Content-Type': 'application/json',
|
|
36626
|
+
...options.headers
|
|
36627
|
+
}
|
|
36628
|
+
});
|
|
36629
|
+
};
|
|
36630
|
+
/**
|
|
36631
|
+
* Mark resource as OK
|
|
36632
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
36633
|
+
*/
|
|
36634
|
+
export const rancherIngressesSetOk = (options) => {
|
|
36635
|
+
return (options.client ?? _heyApiClient).post({
|
|
36636
|
+
security: [
|
|
36637
|
+
{
|
|
36638
|
+
name: 'Authorization',
|
|
36639
|
+
type: 'apiKey'
|
|
36640
|
+
},
|
|
36641
|
+
{
|
|
36642
|
+
scheme: 'bearer',
|
|
36643
|
+
type: 'http'
|
|
36644
|
+
}
|
|
36645
|
+
],
|
|
36646
|
+
url: '/api/rancher-ingresses/{uuid}/set_ok/',
|
|
36647
|
+
...options
|
|
36648
|
+
});
|
|
36649
|
+
};
|
|
34332
36650
|
/**
|
|
34333
36651
|
* Unlink resource
|
|
34334
36652
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -34606,6 +36924,50 @@ export const rancherNodesPull = (options) => {
|
|
|
34606
36924
|
...options
|
|
34607
36925
|
});
|
|
34608
36926
|
};
|
|
36927
|
+
/**
|
|
36928
|
+
* Mark resource as ERRED
|
|
36929
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
36930
|
+
*/
|
|
36931
|
+
export const rancherNodesSetErred = (options) => {
|
|
36932
|
+
return (options.client ?? _heyApiClient).post({
|
|
36933
|
+
security: [
|
|
36934
|
+
{
|
|
36935
|
+
name: 'Authorization',
|
|
36936
|
+
type: 'apiKey'
|
|
36937
|
+
},
|
|
36938
|
+
{
|
|
36939
|
+
scheme: 'bearer',
|
|
36940
|
+
type: 'http'
|
|
36941
|
+
}
|
|
36942
|
+
],
|
|
36943
|
+
url: '/api/rancher-nodes/{uuid}/set_erred/',
|
|
36944
|
+
...options,
|
|
36945
|
+
headers: {
|
|
36946
|
+
'Content-Type': 'application/json',
|
|
36947
|
+
...options.headers
|
|
36948
|
+
}
|
|
36949
|
+
});
|
|
36950
|
+
};
|
|
36951
|
+
/**
|
|
36952
|
+
* Mark resource as OK
|
|
36953
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
36954
|
+
*/
|
|
36955
|
+
export const rancherNodesSetOk = (options) => {
|
|
36956
|
+
return (options.client ?? _heyApiClient).post({
|
|
36957
|
+
security: [
|
|
36958
|
+
{
|
|
36959
|
+
name: 'Authorization',
|
|
36960
|
+
type: 'apiKey'
|
|
36961
|
+
},
|
|
36962
|
+
{
|
|
36963
|
+
scheme: 'bearer',
|
|
36964
|
+
type: 'http'
|
|
36965
|
+
}
|
|
36966
|
+
],
|
|
36967
|
+
url: '/api/rancher-nodes/{uuid}/set_ok/',
|
|
36968
|
+
...options
|
|
36969
|
+
});
|
|
36970
|
+
};
|
|
34609
36971
|
/**
|
|
34610
36972
|
* Unlink resource
|
|
34611
36973
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -34915,6 +37277,50 @@ export const rancherServicesPull = (options) => {
|
|
|
34915
37277
|
...options
|
|
34916
37278
|
});
|
|
34917
37279
|
};
|
|
37280
|
+
/**
|
|
37281
|
+
* Mark resource as ERRED
|
|
37282
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
37283
|
+
*/
|
|
37284
|
+
export const rancherServicesSetErred = (options) => {
|
|
37285
|
+
return (options.client ?? _heyApiClient).post({
|
|
37286
|
+
security: [
|
|
37287
|
+
{
|
|
37288
|
+
name: 'Authorization',
|
|
37289
|
+
type: 'apiKey'
|
|
37290
|
+
},
|
|
37291
|
+
{
|
|
37292
|
+
scheme: 'bearer',
|
|
37293
|
+
type: 'http'
|
|
37294
|
+
}
|
|
37295
|
+
],
|
|
37296
|
+
url: '/api/rancher-services/{uuid}/set_erred/',
|
|
37297
|
+
...options,
|
|
37298
|
+
headers: {
|
|
37299
|
+
'Content-Type': 'application/json',
|
|
37300
|
+
...options.headers
|
|
37301
|
+
}
|
|
37302
|
+
});
|
|
37303
|
+
};
|
|
37304
|
+
/**
|
|
37305
|
+
* Mark resource as OK
|
|
37306
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
37307
|
+
*/
|
|
37308
|
+
export const rancherServicesSetOk = (options) => {
|
|
37309
|
+
return (options.client ?? _heyApiClient).post({
|
|
37310
|
+
security: [
|
|
37311
|
+
{
|
|
37312
|
+
name: 'Authorization',
|
|
37313
|
+
type: 'apiKey'
|
|
37314
|
+
},
|
|
37315
|
+
{
|
|
37316
|
+
scheme: 'bearer',
|
|
37317
|
+
type: 'http'
|
|
37318
|
+
}
|
|
37319
|
+
],
|
|
37320
|
+
url: '/api/rancher-services/{uuid}/set_ok/',
|
|
37321
|
+
...options
|
|
37322
|
+
});
|
|
37323
|
+
};
|
|
34918
37324
|
/**
|
|
34919
37325
|
* Unlink resource
|
|
34920
37326
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -37327,6 +39733,30 @@ export const slurmAllocationsPull = (options) => {
|
|
|
37327
39733
|
...options
|
|
37328
39734
|
});
|
|
37329
39735
|
};
|
|
39736
|
+
/**
|
|
39737
|
+
* Mark resource as ERRED
|
|
39738
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
39739
|
+
*/
|
|
39740
|
+
export const slurmAllocationsSetErred = (options) => {
|
|
39741
|
+
return (options.client ?? _heyApiClient).post({
|
|
39742
|
+
security: [
|
|
39743
|
+
{
|
|
39744
|
+
name: 'Authorization',
|
|
39745
|
+
type: 'apiKey'
|
|
39746
|
+
},
|
|
39747
|
+
{
|
|
39748
|
+
scheme: 'bearer',
|
|
39749
|
+
type: 'http'
|
|
39750
|
+
}
|
|
39751
|
+
],
|
|
39752
|
+
url: '/api/slurm-allocations/{uuid}/set_erred/',
|
|
39753
|
+
...options,
|
|
39754
|
+
headers: {
|
|
39755
|
+
'Content-Type': 'application/json',
|
|
39756
|
+
...options.headers
|
|
39757
|
+
}
|
|
39758
|
+
});
|
|
39759
|
+
};
|
|
37330
39760
|
export const slurmAllocationsSetLimits = (options) => {
|
|
37331
39761
|
return (options.client ?? _heyApiClient).post({
|
|
37332
39762
|
security: [
|
|
@@ -37347,6 +39777,26 @@ export const slurmAllocationsSetLimits = (options) => {
|
|
|
37347
39777
|
}
|
|
37348
39778
|
});
|
|
37349
39779
|
};
|
|
39780
|
+
/**
|
|
39781
|
+
* Mark resource as OK
|
|
39782
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
39783
|
+
*/
|
|
39784
|
+
export const slurmAllocationsSetOk = (options) => {
|
|
39785
|
+
return (options.client ?? _heyApiClient).post({
|
|
39786
|
+
security: [
|
|
39787
|
+
{
|
|
39788
|
+
name: 'Authorization',
|
|
39789
|
+
type: 'apiKey'
|
|
39790
|
+
},
|
|
39791
|
+
{
|
|
39792
|
+
scheme: 'bearer',
|
|
39793
|
+
type: 'http'
|
|
39794
|
+
}
|
|
39795
|
+
],
|
|
39796
|
+
url: '/api/slurm-allocations/{uuid}/set_ok/',
|
|
39797
|
+
...options
|
|
39798
|
+
});
|
|
39799
|
+
};
|
|
37350
39800
|
/**
|
|
37351
39801
|
* Unlink resource
|
|
37352
39802
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -37567,6 +40017,50 @@ export const slurmJobsPull = (options) => {
|
|
|
37567
40017
|
...options
|
|
37568
40018
|
});
|
|
37569
40019
|
};
|
|
40020
|
+
/**
|
|
40021
|
+
* Mark resource as ERRED
|
|
40022
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
40023
|
+
*/
|
|
40024
|
+
export const slurmJobsSetErred = (options) => {
|
|
40025
|
+
return (options.client ?? _heyApiClient).post({
|
|
40026
|
+
security: [
|
|
40027
|
+
{
|
|
40028
|
+
name: 'Authorization',
|
|
40029
|
+
type: 'apiKey'
|
|
40030
|
+
},
|
|
40031
|
+
{
|
|
40032
|
+
scheme: 'bearer',
|
|
40033
|
+
type: 'http'
|
|
40034
|
+
}
|
|
40035
|
+
],
|
|
40036
|
+
url: '/api/slurm-jobs/{uuid}/set_erred/',
|
|
40037
|
+
...options,
|
|
40038
|
+
headers: {
|
|
40039
|
+
'Content-Type': 'application/json',
|
|
40040
|
+
...options.headers
|
|
40041
|
+
}
|
|
40042
|
+
});
|
|
40043
|
+
};
|
|
40044
|
+
/**
|
|
40045
|
+
* Mark resource as OK
|
|
40046
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
40047
|
+
*/
|
|
40048
|
+
export const slurmJobsSetOk = (options) => {
|
|
40049
|
+
return (options.client ?? _heyApiClient).post({
|
|
40050
|
+
security: [
|
|
40051
|
+
{
|
|
40052
|
+
name: 'Authorization',
|
|
40053
|
+
type: 'apiKey'
|
|
40054
|
+
},
|
|
40055
|
+
{
|
|
40056
|
+
scheme: 'bearer',
|
|
40057
|
+
type: 'http'
|
|
40058
|
+
}
|
|
40059
|
+
],
|
|
40060
|
+
url: '/api/slurm-jobs/{uuid}/set_ok/',
|
|
40061
|
+
...options
|
|
40062
|
+
});
|
|
40063
|
+
};
|
|
37570
40064
|
/**
|
|
37571
40065
|
* Unlink resource
|
|
37572
40066
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -41110,6 +43604,50 @@ export const vmwareDisksPull = (options) => {
|
|
|
41110
43604
|
...options
|
|
41111
43605
|
});
|
|
41112
43606
|
};
|
|
43607
|
+
/**
|
|
43608
|
+
* Mark resource as ERRED
|
|
43609
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
43610
|
+
*/
|
|
43611
|
+
export const vmwareDisksSetErred = (options) => {
|
|
43612
|
+
return (options.client ?? _heyApiClient).post({
|
|
43613
|
+
security: [
|
|
43614
|
+
{
|
|
43615
|
+
name: 'Authorization',
|
|
43616
|
+
type: 'apiKey'
|
|
43617
|
+
},
|
|
43618
|
+
{
|
|
43619
|
+
scheme: 'bearer',
|
|
43620
|
+
type: 'http'
|
|
43621
|
+
}
|
|
43622
|
+
],
|
|
43623
|
+
url: '/api/vmware-disks/{uuid}/set_erred/',
|
|
43624
|
+
...options,
|
|
43625
|
+
headers: {
|
|
43626
|
+
'Content-Type': 'application/json',
|
|
43627
|
+
...options.headers
|
|
43628
|
+
}
|
|
43629
|
+
});
|
|
43630
|
+
};
|
|
43631
|
+
/**
|
|
43632
|
+
* Mark resource as OK
|
|
43633
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
43634
|
+
*/
|
|
43635
|
+
export const vmwareDisksSetOk = (options) => {
|
|
43636
|
+
return (options.client ?? _heyApiClient).post({
|
|
43637
|
+
security: [
|
|
43638
|
+
{
|
|
43639
|
+
name: 'Authorization',
|
|
43640
|
+
type: 'apiKey'
|
|
43641
|
+
},
|
|
43642
|
+
{
|
|
43643
|
+
scheme: 'bearer',
|
|
43644
|
+
type: 'http'
|
|
43645
|
+
}
|
|
43646
|
+
],
|
|
43647
|
+
url: '/api/vmware-disks/{uuid}/set_ok/',
|
|
43648
|
+
...options
|
|
43649
|
+
});
|
|
43650
|
+
};
|
|
41113
43651
|
/**
|
|
41114
43652
|
* Unlink resource
|
|
41115
43653
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -41337,6 +43875,50 @@ export const vmwarePortsPull = (options) => {
|
|
|
41337
43875
|
...options
|
|
41338
43876
|
});
|
|
41339
43877
|
};
|
|
43878
|
+
/**
|
|
43879
|
+
* Mark resource as ERRED
|
|
43880
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
43881
|
+
*/
|
|
43882
|
+
export const vmwarePortsSetErred = (options) => {
|
|
43883
|
+
return (options.client ?? _heyApiClient).post({
|
|
43884
|
+
security: [
|
|
43885
|
+
{
|
|
43886
|
+
name: 'Authorization',
|
|
43887
|
+
type: 'apiKey'
|
|
43888
|
+
},
|
|
43889
|
+
{
|
|
43890
|
+
scheme: 'bearer',
|
|
43891
|
+
type: 'http'
|
|
43892
|
+
}
|
|
43893
|
+
],
|
|
43894
|
+
url: '/api/vmware-ports/{uuid}/set_erred/',
|
|
43895
|
+
...options,
|
|
43896
|
+
headers: {
|
|
43897
|
+
'Content-Type': 'application/json',
|
|
43898
|
+
...options.headers
|
|
43899
|
+
}
|
|
43900
|
+
});
|
|
43901
|
+
};
|
|
43902
|
+
/**
|
|
43903
|
+
* Mark resource as OK
|
|
43904
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
43905
|
+
*/
|
|
43906
|
+
export const vmwarePortsSetOk = (options) => {
|
|
43907
|
+
return (options.client ?? _heyApiClient).post({
|
|
43908
|
+
security: [
|
|
43909
|
+
{
|
|
43910
|
+
name: 'Authorization',
|
|
43911
|
+
type: 'apiKey'
|
|
43912
|
+
},
|
|
43913
|
+
{
|
|
43914
|
+
scheme: 'bearer',
|
|
43915
|
+
type: 'http'
|
|
43916
|
+
}
|
|
43917
|
+
],
|
|
43918
|
+
url: '/api/vmware-ports/{uuid}/set_ok/',
|
|
43919
|
+
...options
|
|
43920
|
+
});
|
|
43921
|
+
};
|
|
41340
43922
|
/**
|
|
41341
43923
|
* Unlink resource
|
|
41342
43924
|
* Delete resource from the database without scheduling operations on backend
|
|
@@ -41648,6 +44230,50 @@ export const vmwareVirtualMachineReset = (options) => {
|
|
|
41648
44230
|
...options
|
|
41649
44231
|
});
|
|
41650
44232
|
};
|
|
44233
|
+
/**
|
|
44234
|
+
* Mark resource as ERRED
|
|
44235
|
+
* Manually transition the resource to ERRED state. This is useful for resources stuck in transitional states (CREATING, UPDATING, DELETING) that cannot be synced via pull. Staff-only operation.
|
|
44236
|
+
*/
|
|
44237
|
+
export const vmwareVirtualMachineSetErred = (options) => {
|
|
44238
|
+
return (options.client ?? _heyApiClient).post({
|
|
44239
|
+
security: [
|
|
44240
|
+
{
|
|
44241
|
+
name: 'Authorization',
|
|
44242
|
+
type: 'apiKey'
|
|
44243
|
+
},
|
|
44244
|
+
{
|
|
44245
|
+
scheme: 'bearer',
|
|
44246
|
+
type: 'http'
|
|
44247
|
+
}
|
|
44248
|
+
],
|
|
44249
|
+
url: '/api/vmware-virtual-machine/{uuid}/set_erred/',
|
|
44250
|
+
...options,
|
|
44251
|
+
headers: {
|
|
44252
|
+
'Content-Type': 'application/json',
|
|
44253
|
+
...options.headers
|
|
44254
|
+
}
|
|
44255
|
+
});
|
|
44256
|
+
};
|
|
44257
|
+
/**
|
|
44258
|
+
* Mark resource as OK
|
|
44259
|
+
* Manually transition the resource to OK state and clear error fields. Staff-only operation.
|
|
44260
|
+
*/
|
|
44261
|
+
export const vmwareVirtualMachineSetOk = (options) => {
|
|
44262
|
+
return (options.client ?? _heyApiClient).post({
|
|
44263
|
+
security: [
|
|
44264
|
+
{
|
|
44265
|
+
name: 'Authorization',
|
|
44266
|
+
type: 'apiKey'
|
|
44267
|
+
},
|
|
44268
|
+
{
|
|
44269
|
+
scheme: 'bearer',
|
|
44270
|
+
type: 'http'
|
|
44271
|
+
}
|
|
44272
|
+
],
|
|
44273
|
+
url: '/api/vmware-virtual-machine/{uuid}/set_ok/',
|
|
44274
|
+
...options
|
|
44275
|
+
});
|
|
44276
|
+
};
|
|
41651
44277
|
export const vmwareVirtualMachineShutdownGuest = (options) => {
|
|
41652
44278
|
return (options.client ?? _heyApiClient).post({
|
|
41653
44279
|
security: [
|