@ovh-ux/manager-pci-common 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +459 -0
- package/README.md +6 -0
- package/dist/index.js +41234 -0
- package/dist/index.js.map +1 -0
- package/dist/style.css +1 -0
- package/dist/types/api/data/api-schema.d.ts +14 -0
- package/dist/types/api/data/availability.d.ts +27 -0
- package/dist/types/api/data/availability.spec.d.ts +1 -0
- package/dist/types/api/data/catalog.d.ts +154 -0
- package/dist/types/api/data/catalog.spec.d.ts +1 -0
- package/dist/types/api/data/dbaas-logs.d.ts +62 -0
- package/dist/types/api/data/dbaas-logs.spec.d.ts +1 -0
- package/dist/types/api/data/flavors.d.ts +39 -0
- package/dist/types/api/data/flavors.spec.d.ts +1 -0
- package/dist/types/api/data/index.d.ts +9 -0
- package/dist/types/api/data/instance.d.ts +30 -0
- package/dist/types/api/data/instance.spec.d.ts +1 -0
- package/dist/types/api/data/logs.d.ts +43 -0
- package/dist/types/api/data/operation.d.ts +19 -0
- package/dist/types/api/data/project.d.ts +73 -0
- package/dist/types/api/data/project.spec.d.ts +1 -0
- package/dist/types/api/data/regions.d.ts +13 -0
- package/dist/types/api/data/regions.spec.d.ts +1 -0
- package/dist/types/api/hook/index.d.ts +10 -0
- package/dist/types/api/hook/useApiSchema.d.ts +1 -0
- package/dist/types/api/hook/useAvailability.d.ts +6 -0
- package/dist/types/api/hook/useAvailability.spec.d.ts +1 -0
- package/dist/types/api/hook/useCatalog.d.ts +5 -0
- package/dist/types/api/hook/useCatalog.spec.d.ts +1 -0
- package/dist/types/api/hook/useDbaasLogs.d.ts +177 -0
- package/dist/types/api/hook/useDbaasLogs.spec.d.ts +1 -0
- package/dist/types/api/hook/useFlavors.d.ts +190 -0
- package/dist/types/api/hook/useFlavors.spec.d.ts +1 -0
- package/dist/types/api/hook/useInstance.d.ts +6 -0
- package/dist/types/api/hook/useLogs.d.ts +124 -0
- package/dist/types/api/hook/useOperation.d.ts +5 -0
- package/dist/types/api/hook/useProject.d.ts +29 -0
- package/dist/types/api/hook/useProject.spec.d.ts +1 -0
- package/dist/types/api/hook/useRegions.d.ts +5 -0
- package/dist/types/components/Pricing.d.ts +8 -0
- package/dist/types/components/accordion/Accordion.component.d.ts +8 -0
- package/dist/types/components/banner/announcement-banner/PciAnnouncementBanner.d.ts +5 -0
- package/dist/types/components/banner/announcement-banner/PciAnnouncementBanner.spec.d.ts +1 -0
- package/dist/types/components/banner/announcement-banner/useAnnouncementBanner.hook.d.ts +5 -0
- package/dist/types/components/banner/discovery-banner/PciDiscoveryBanner.d.ts +7 -0
- package/dist/types/components/banner/discovery-banner/PciDiscoveryBanner.spec.d.ts +1 -0
- package/dist/types/components/banner/free-local-zones-banner/PciFreeLocalZonesBanner.d.ts +30 -0
- package/dist/types/components/banner/free-local-zones-banner/PciFreeLocalZonesBanner.spec.d.ts +0 -0
- package/dist/types/components/banner/index.d.ts +6 -0
- package/dist/types/components/banner/trusted-zone-banner/PciTrustedZoneBanner.d.ts +1 -0
- package/dist/types/components/banner/trusted-zone-banner/useTrustedZoneBanner.hook.d.ts +5 -0
- package/dist/types/components/flavor-selector/FlavorLocalzoneChip.d.ts +4 -0
- package/dist/types/components/flavor-selector/FlavorSelector.component.d.ts +9 -0
- package/dist/types/components/flavor-selector/FlavorTile.component.d.ts +32 -0
- package/dist/types/components/flavor-selector/index.d.ts +1 -0
- package/dist/types/components/logs/BlinkingCursor.component.d.ts +1 -0
- package/dist/types/components/logs/DbaasLogsAccountSelector.component.d.ts +6 -0
- package/dist/types/components/logs/LogHowTo.component.d.ts +4 -0
- package/dist/types/components/logs/LogProvider.component.d.ts +18 -0
- package/dist/types/components/logs/LogTileUnsubscribeAction.component.d.ts +7 -0
- package/dist/types/components/logs/LogTiles.component.d.ts +4 -0
- package/dist/types/components/logs/LogsView.component.d.ts +4 -0
- package/dist/types/components/logs/StreamRetention.component.d.ts +14 -0
- package/dist/types/components/logs/StreamSubscriptions.component.d.ts +7 -0
- package/dist/types/components/logs/StreamsList.component.d.ts +6 -0
- package/dist/types/components/logs/TailLogs.component.d.ts +5 -0
- package/dist/types/components/logs/index.d.ts +6 -0
- package/dist/types/components/logs/useStreamsListColumns.d.ts +10 -0
- package/dist/types/components/modal/PciModal.component.d.ts +14 -0
- package/dist/types/components/modal/PciModal.component.spec.d.ts +1 -0
- package/dist/types/components/modal/deletion-modal/DeletionModal.component.d.ts +6 -0
- package/dist/types/components/modal/deletion-modal/DeletionModal.component.spec.d.ts +1 -0
- package/dist/types/components/modal/index.d.ts +2 -0
- package/dist/types/components/quantity-selector/QuantitySelector.component.d.ts +12 -0
- package/dist/types/components/quantity-selector/QuantitySelector.component.spec.d.ts +1 -0
- package/dist/types/components/quantity-selector/index.d.ts +1 -0
- package/dist/types/components/region-selector/RegionGlobalzoneChip.component.d.ts +1 -0
- package/dist/types/components/region-selector/RegionGlobalzoneChip.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionList.component.d.ts +8 -0
- package/dist/types/components/region-selector/RegionList.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionLocalzoneChip.component.d.ts +1 -0
- package/dist/types/components/region-selector/RegionLocalzoneChip.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionSelector.component.d.ts +8 -0
- package/dist/types/components/region-selector/RegionSummary.component.d.ts +5 -0
- package/dist/types/components/region-selector/RegionSummary.component.spec.d.ts +1 -0
- package/dist/types/components/region-selector/RegionTile.d.ts +7 -0
- package/dist/types/components/region-selector/constants.d.ts +6 -0
- package/dist/types/components/region-selector/style.constants.d.ts +3 -0
- package/dist/types/components/region-selector/useRegionSelector.d.ts +178 -0
- package/dist/types/components/region-selector/useRegions.d.ts +20 -0
- package/dist/types/components/shape-input/ShapeInput.component.d.ts +69 -0
- package/dist/types/components/shape-input/constants.d.ts +1 -0
- package/dist/types/components/shape-input/default-components/default-shape.d.ts +7 -0
- package/dist/types/components/shape-input/default-components/group-label.d.ts +6 -0
- package/dist/types/components/shape-input/default-components/item-label.d.ts +5 -0
- package/dist/types/components/shape-input/default-components/stack-label.d.ts +6 -0
- package/dist/types/components/shape-input/default-components/stack-title.d.ts +3 -0
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/constants/urls.d.ts +2 -0
- package/dist/types/hooks/bytes/useBytes.d.ts +3 -0
- package/dist/types/hooks/bytes/useBytes.spec.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +3 -0
- package/dist/types/hooks/url/usePciUrl.d.ts +1 -0
- package/dist/types/hooks/usePricing.d.ts +25 -0
- package/dist/types/index.d.ts +17 -0
- package/dist/types/translations/announcement-banner/Messages_de_DE.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_en_GB.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_es_ES.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_fr_CA.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_fr_FR.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_it_IT.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_pl_PL.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/Messages_pt_PT.json.d.ts +7 -0
- package/dist/types/translations/announcement-banner/index.d.ts +1 -0
- package/dist/types/translations/bytes/Messages_de_DE.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_en_GB.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_es_ES.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_fr_CA.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_fr_FR.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_it_IT.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_pl_PL.json.d.ts +22 -0
- package/dist/types/translations/bytes/Messages_pt_PT.json.d.ts +22 -0
- package/dist/types/translations/bytes/index.d.ts +1 -0
- package/dist/types/translations/catalog-price/Messages_de_DE.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_en_GB.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_es_ES.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_fr_CA.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_fr_FR.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_it_IT.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_pl_PL.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/Messages_pt_PT.json.d.ts +17 -0
- package/dist/types/translations/catalog-price/index.d.ts +1 -0
- package/dist/types/translations/common/Messages_de_DE.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_en_GB.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_es_ES.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_fr_CA.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_fr_FR.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_it_IT.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_pl_PL.json.d.ts +97 -0
- package/dist/types/translations/common/Messages_pt_PT.json.d.ts +97 -0
- package/dist/types/translations/common/index.d.ts +1 -0
- package/dist/types/translations/discovery-banner/Messages_de_DE.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_en_GB.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_es_ES.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_fr_CA.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_fr_FR.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_it_IT.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_pl_PL.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/Messages_pt_PT.json.d.ts +7 -0
- package/dist/types/translations/discovery-banner/index.d.ts +1 -0
- package/dist/types/translations/flavor-selector/Messages_de_DE.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_en_GB.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_es_ES.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_fr_CA.json.d.ts +36 -0
- package/dist/types/translations/flavor-selector/Messages_fr_FR.json.d.ts +36 -0
- package/dist/types/translations/flavor-selector/Messages_it_IT.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_pl_PL.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/Messages_pt_PT.json.d.ts +34 -0
- package/dist/types/translations/flavor-selector/index.d.ts +1 -0
- package/dist/types/translations/free-local-zones-banner/Messages_de_DE.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_en_GB.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_es_ES.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_fr_CA.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_fr_FR.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_it_IT.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_pl_PL.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/Messages_pt_PT.json.d.ts +8 -0
- package/dist/types/translations/free-local-zones-banner/index.d.ts +1 -0
- package/dist/types/translations/logs/Messages_de_DE.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_en_GB.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_es_ES.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_fr_CA.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_fr_FR.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_it_IT.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_pl_PL.json.d.ts +45 -0
- package/dist/types/translations/logs/Messages_pt_PT.json.d.ts +45 -0
- package/dist/types/translations/logs/index.d.ts +1 -0
- package/dist/types/translations/quantity-selector/Messages_de_DE.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_en_GB.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_es_ES.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_fr_CA.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_fr_FR.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_it_IT.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_pl_PL.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/Messages_pt_PT.json.d.ts +8 -0
- package/dist/types/translations/quantity-selector/index.d.ts +1 -0
- package/dist/types/translations/region-selector/Messages_de_DE.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_en_GB.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_es_ES.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_fr_CA.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_fr_FR.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_it_IT.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_pl_PL.json.d.ts +16 -0
- package/dist/types/translations/region-selector/Messages_pt_PT.json.d.ts +16 -0
- package/dist/types/translations/region-selector/index.d.ts +1 -0
- package/dist/types/translations/trusted-zone-banner/Messages_de_DE.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_en_GB.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_es_ES.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_fr_CA.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_fr_FR.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_it_IT.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_pl_PL.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/Messages_pt_PT.json.d.ts +6 -0
- package/dist/types/translations/trusted-zone-banner/index.d.ts +1 -0
- package/dist/types/wrapperRenders.d.ts +15 -0
- package/package.json +92 -0
package/dist/style.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.fixed{position:fixed}.relative{position:relative}.float-left{float:left}.m-0{margin:0}.m-3{margin:.25rem}.-mx-\[2px\]{margin-left:-2px;margin-right:-2px}.mx-5{margin-left:.75rem;margin-right:.75rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-3{margin-top:.25rem;margin-bottom:.25rem}.my-4{margin-top:.5rem;margin-bottom:.5rem}.my-5{margin-top:.75rem;margin-bottom:.75rem}.my-\[8px\]{margin-top:8px;margin-bottom:8px}.-mt-6{margin-top:-1rem}.mb-2{margin-bottom:.125rem}.mb-4{margin-bottom:.5rem}.mb-5{margin-bottom:.75rem}.mb-6{margin-bottom:1rem}.mb-8{margin-bottom:1.5rem}.mb-\[16px\]{margin-bottom:16px}.mb-\[24px\]{margin-bottom:24px}.mb-\[8px\]{margin-bottom:8px}.ml-0{margin-left:0}.ml-1{margin-left:.0625rem}.ml-2{margin-left:.125rem}.ml-3{margin-left:.25rem}.ml-4{margin-left:.5rem}.ml-8{margin-left:1.5rem}.ml-\[10px\]{margin-left:10px}.ml-auto{margin-left:auto}.mr-1{margin-right:.0625rem}.mr-2{margin-right:.125rem}.mr-3{margin-right:.25rem}.mr-4{margin-right:.5rem}.mr-5{margin-right:.75rem}.mr-auto{margin-right:auto}.mt-2{margin-top:.125rem}.mt-3{margin-top:.25rem}.mt-4{margin-top:.5rem}.mt-5{margin-top:.75rem}.mt-6{margin-top:1rem}.mt-8{margin-top:1.5rem}.mt-\[24px\]{margin-top:24px}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.contents{display:contents}.h-10{height:2.5rem}.h-11{height:3rem}.h-4{height:.5rem}.h-\[3\.25rem\]{height:3.25rem}.h-\[500px\]{height:500px}.h-full{height:100%}.h-px{height:1px}.max-h-28{max-height:7rem}.max-h-\[150px\]{max-height:150px}.min-h-0{min-height:0}.min-h-\[16px\]{min-height:16px}.w-10{width:2.5rem}.w-2\/3{width:66.666667%}.w-4{width:.5rem}.w-\[2\.5rem\]{width:2.5rem}.w-\[20rem\]{width:20rem}.w-\[25\%\]{width:25%}.w-\[30\%\]{width:30%}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\[10rem\]{min-width:10rem}.min-w-\[14rem\]{min-width:14rem}.min-w-\[2\.5rem\]{min-width:2.5rem}.min-w-\[5rem\]{min-width:5rem}.max-w-\[600px\]{max-width:600px}.max-w-\[800px\]{max-width:800px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.grow{flex-grow:1}.basis-\[40px\]{flex-basis:40px}.basis-full{flex-basis:100%}.border-collapse{border-collapse:collapse}.cursor-help{cursor:help}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.columns-3{columns:3}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.items-stretch{align-items:stretch}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-0{gap:0}.gap-2{gap:.125rem}.gap-4{gap:.5rem}.gap-6{gap:1rem}.gap-y-\[8px\]{row-gap:8px}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-visible{overflow-x:visible}.whitespace-nowrap{white-space:nowrap}.rounded-full{border-radius:50%}.rounded-lg{border-radius:var(--ods-size-border-radius-02)}.rounded-sm{border-radius:var(--ods-size-border-radius-01)}.rounded-t-lg{border-top-left-radius:var(--ods-size-border-radius-02);border-top-right-radius:var(--ods-size-border-radius-02)}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[1px\]{border-width:1px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-t-0{border-top-width:0px}.border-t-\[1px\]{border-top-width:1px}.border-solid{border-style:solid}.border-\[\#BEF1FF\],.border-\[\#bef1ff\]{--tw-border-opacity: 1;border-color:rgb(190 241 255 / var(--tw-border-opacity))}.border-\[--ods-color-blue-100\]{border-color:var(--ods-color-blue-100)}.border-\[--ods-color-blue-200\]{border-color:var(--ods-color-blue-200)}.border-\[--ods-color-blue-600\]{border-color:var(--ods-color-blue-600)}.border-\[--ods-color-neutral-500\]{border-color:var(--ods-color-neutral-500)}.border-\[--ods-color-primary-100\]{border-color:var(--ods-color-primary-100)}.border-\[--ods-color-primary-500\]{border-color:var(--ods-color-primary-500)}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-b-\[\#bef1ff\]{--tw-border-opacity: 1;border-bottom-color:rgb(190 241 255 / var(--tw-border-opacity))}.border-b-\[--ods-color-primary-100\]{border-bottom-color:var(--ods-color-primary-100)}.border-t-\[--ods-color-neutral-100\]{border-top-color:var(--ods-color-neutral-100)}.\!bg-\[--ods-color-blue-100\]{background-color:var(--ods-color-blue-100)!important}.bg-\[\#85d9fd\]{--tw-bg-opacity: 1;background-color:rgb(133 217 253 / var(--tw-bg-opacity))}.bg-\[\#F5FEFF\]{--tw-bg-opacity: 1;background-color:rgb(245 254 255 / var(--tw-bg-opacity))}.bg-\[--ods-color-blue-100\]{background-color:var(--ods-color-blue-100)}.bg-\[--ods-color-primary-050\]{background-color:var(--ods-color-primary-050)}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-4{padding:.5rem}.p-5{padding:.75rem}.p-6{padding:1rem}.p-\[12px\]{padding:12px}.p-\[1rem\]{padding:1rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.0625rem;padding-right:.0625rem}.px-2{padding-left:.125rem;padding-right:.125rem}.px-4{padding-left:.5rem;padding-right:.5rem}.px-5{padding-left:.75rem;padding-right:.75rem}.px-\[1px\]{padding-left:1px;padding-right:1px}.px-\[24px\]{padding-left:24px;padding-right:24px}.py-2{padding-top:.125rem;padding-bottom:.125rem}.py-3{padding-top:.25rem;padding-bottom:.25rem}.py-4{padding-top:.5rem;padding-bottom:.5rem}.py-8{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[16px\]{padding-top:16px;padding-bottom:16px}.py-\[8px\]{padding-top:8px;padding-bottom:8px}.pl-4{padding-left:.5rem}.pt-5{padding-top:.75rem}.pt-8{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[14px\]{font-size:14px}.text-\[16px\]{font-size:16px}.text-\[20px\]{font-size:20px}.text-\[24px\]{font-size:24px}.text-\[26px\]{font-size:26px}.text-\[36px\]{font-size:36px}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-\[16px\]{line-height:16px}.leading-\[18px\]{line-height:18px}.leading-\[20px\]{line-height:20px}.leading-\[22px\]{line-height:22px}.leading-\[28px\]{line-height:28px}.leading-\[32px\]{line-height:32px}.leading-\[43px\]{line-height:43px}.leading-\[45px\]{line-height:45px}.text-\[--ods-color-heading\]{color:var(--ods-color-heading)}.text-\[--ods-color-neutral-500\]{color:var(--ods-color-neutral-500)}.text-\[--ods-color-primary-500\]{color:var(--ods-color-primary-500)}.text-\[--ods-color-text\]{color:var(--ods-color-text)}.text-\[var\(--ods-color-error-200\)\]{color:var(--ods-color-error-200)}.text-\[var\(--ods-color-primary-300\)\]{color:var(--ods-color-primary-300)}.text-\[var\(--ods-color-warning-050\)\]{color:var(--ods-color-warning-050)}.text-\[var\(--ods-color-warning-100\)\]{color:var(--ods-color-warning-100)}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.no-underline{text-decoration-line:none}.opacity-50{opacity:.5}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.border-ods-primary-200{border-color:var(--ods-color-primary-200)}.hover\:border-\[--ods-color-blue-600\]:hover{border-color:var(--ods-color-blue-600)}.hover\:bg-\[--ods-color-blue-100\]:hover{background-color:var(--ods-color-blue-100)}.focus\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}@media (min-width: 0){.xs\:justify-start{justify-content:flex-start}.xs\:pt-10{padding-top:2.5rem}.xs\:pt-2\.5{padding-top:.625rem}}@media (min-width: 36em){.sm\:ml-4{margin-left:.5rem}.sm\:mt-0{margin-top:0}.sm\:flex{display:flex}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:px-10{padding-left:2.5rem;padding-right:2.5rem}.sm\:pt-20{padding-top:5rem}.sm\:pt-8{padding-top:1.5rem}}@media (min-width: 48em){.md\:float-right{float:right}.md\:ml-4{margin-left:.5rem}.md\:mt-0{margin-top:0}.md\:mt-2{margin-top:.125rem}.md\:h-\[600px\]{height:600px}.md\:w-1\/6{width:16.666667%}.md\:w-5\/6{width:83.333333%}.md\:w-\[32\%\]{width:32%}.md\:w-\[68\%\]{width:68%}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-start{align-items:flex-start}.md\:justify-end{justify-content:flex-end}.md\:gap-6{gap:1rem}.md\:px-10{padding-left:2.5rem;padding-right:2.5rem}.md\:py-9{padding-top:2rem;padding-bottom:2rem}}@media (min-width: 75em){.xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@keyframes _cursor-blink_18io1_1{0%{opacity:1}50%{opacity:0}to{opacity:1}}._blinkingCursor_18io1_12{display:inline-block;width:.5rem;height:1rem;background-color:#fff;animation:_cursor-blink_18io1_1 1s step-end infinite}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export type TApiSchemaResponse = {
|
|
2
|
+
models: {
|
|
3
|
+
'cloud.loadbalancing.PoolAlgorithmEnum': {
|
|
4
|
+
enum: string[];
|
|
5
|
+
};
|
|
6
|
+
'cloud.loadbalancing.PoolProtocolEnum': {
|
|
7
|
+
enum: string[];
|
|
8
|
+
};
|
|
9
|
+
'cloud.loadbalancing.PoolSessionPersistenceTypeEnum': {
|
|
10
|
+
enum: string[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export declare const getApiSchema: () => Promise<TApiSchemaResponse>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
type TRegion = {
|
|
2
|
+
continentCode: 'ASIA' | 'EU' | 'NA' | 'US';
|
|
3
|
+
datacenter: string;
|
|
4
|
+
enabled: boolean;
|
|
5
|
+
name: string;
|
|
6
|
+
type: 'localzone' | 'region';
|
|
7
|
+
};
|
|
8
|
+
export type TProductAvailability = {
|
|
9
|
+
plans: {
|
|
10
|
+
code: string;
|
|
11
|
+
regions: TRegion[];
|
|
12
|
+
}[];
|
|
13
|
+
products: {
|
|
14
|
+
name: string;
|
|
15
|
+
regions: TRegion[];
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
export type ProductAvailabilityFilter = {
|
|
19
|
+
addonFamily?: string;
|
|
20
|
+
planCode?: string;
|
|
21
|
+
planFamily?: string;
|
|
22
|
+
product?: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const getProductAvailability: (projectId: string, params: {
|
|
25
|
+
ovhSubsidiary: string;
|
|
26
|
+
} & ProductAvailabilityFilter) => Promise<TProductAvailability>;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
export type TPricing = {
|
|
2
|
+
capacities: string[];
|
|
3
|
+
mode: string;
|
|
4
|
+
phase: number;
|
|
5
|
+
commitment: number;
|
|
6
|
+
description: string;
|
|
7
|
+
price: number;
|
|
8
|
+
tax: number;
|
|
9
|
+
interval: number;
|
|
10
|
+
intervalUnit: 'day' | 'hour' | 'month' | 'none';
|
|
11
|
+
quantity: {
|
|
12
|
+
max?: number;
|
|
13
|
+
min?: number;
|
|
14
|
+
};
|
|
15
|
+
repeat: {
|
|
16
|
+
max?: number;
|
|
17
|
+
min?: number;
|
|
18
|
+
};
|
|
19
|
+
strategy: string;
|
|
20
|
+
mustBeCompleted: boolean;
|
|
21
|
+
type: string;
|
|
22
|
+
promotions: unknown[];
|
|
23
|
+
engagementConfiguration?: unknown;
|
|
24
|
+
};
|
|
25
|
+
export type TAddonFamily = {
|
|
26
|
+
addons: string[];
|
|
27
|
+
default?: string;
|
|
28
|
+
name: string;
|
|
29
|
+
exclusive: boolean;
|
|
30
|
+
mandatory: boolean;
|
|
31
|
+
};
|
|
32
|
+
export type TPlan = {
|
|
33
|
+
planCode: string;
|
|
34
|
+
invoiceName: string;
|
|
35
|
+
product: string;
|
|
36
|
+
pricingType: string;
|
|
37
|
+
consumptionConfiguration: string;
|
|
38
|
+
pricings: TPricing[];
|
|
39
|
+
addonFamilies: TAddonFamily[];
|
|
40
|
+
};
|
|
41
|
+
export type TCatalog = {
|
|
42
|
+
catalogId: string;
|
|
43
|
+
locale: {
|
|
44
|
+
currencyCode: string;
|
|
45
|
+
subsidiary: string;
|
|
46
|
+
taxRate: number;
|
|
47
|
+
};
|
|
48
|
+
plans: TPlan[];
|
|
49
|
+
addons: TAddon[];
|
|
50
|
+
};
|
|
51
|
+
export type TAddon = {
|
|
52
|
+
invoiceName: string;
|
|
53
|
+
planCode: string;
|
|
54
|
+
blobs: {
|
|
55
|
+
tags: string[];
|
|
56
|
+
commercial?: {
|
|
57
|
+
name?: string;
|
|
58
|
+
};
|
|
59
|
+
technical: {
|
|
60
|
+
bandwidth?: {
|
|
61
|
+
guaranteed: boolean;
|
|
62
|
+
level: number;
|
|
63
|
+
max: number;
|
|
64
|
+
unit: string;
|
|
65
|
+
unlimited: boolean;
|
|
66
|
+
};
|
|
67
|
+
cpu?: {
|
|
68
|
+
boost: number;
|
|
69
|
+
brand: string;
|
|
70
|
+
cores: number;
|
|
71
|
+
customizable: boolean;
|
|
72
|
+
frequency: number;
|
|
73
|
+
maxFrequency: number;
|
|
74
|
+
model: string;
|
|
75
|
+
number: number;
|
|
76
|
+
score: number;
|
|
77
|
+
threads: number;
|
|
78
|
+
type: string;
|
|
79
|
+
};
|
|
80
|
+
gpu: {
|
|
81
|
+
brand?: string;
|
|
82
|
+
memory: {
|
|
83
|
+
customizable?: boolean;
|
|
84
|
+
ecc?: boolean;
|
|
85
|
+
frequency?: number;
|
|
86
|
+
interface?: string;
|
|
87
|
+
ramType?: string;
|
|
88
|
+
size?: number;
|
|
89
|
+
sizeUnit?: string;
|
|
90
|
+
};
|
|
91
|
+
model?: string;
|
|
92
|
+
number?: number;
|
|
93
|
+
performance?: number;
|
|
94
|
+
};
|
|
95
|
+
nvme?: {
|
|
96
|
+
disks: {
|
|
97
|
+
capacity: number;
|
|
98
|
+
number: number;
|
|
99
|
+
sizeUnit: string;
|
|
100
|
+
technology: string;
|
|
101
|
+
}[];
|
|
102
|
+
};
|
|
103
|
+
storage?: {
|
|
104
|
+
disks: {
|
|
105
|
+
capacity: number;
|
|
106
|
+
number: number;
|
|
107
|
+
sizeUnit: string;
|
|
108
|
+
technology: string;
|
|
109
|
+
}[];
|
|
110
|
+
};
|
|
111
|
+
volume?: {
|
|
112
|
+
iops: {
|
|
113
|
+
level: number;
|
|
114
|
+
max: number;
|
|
115
|
+
guaranteed: boolean;
|
|
116
|
+
unit: string;
|
|
117
|
+
maxUnit: string;
|
|
118
|
+
};
|
|
119
|
+
capacity: {
|
|
120
|
+
max: number;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
pricings: {
|
|
127
|
+
commitment: number;
|
|
128
|
+
description: string;
|
|
129
|
+
interval: number;
|
|
130
|
+
intervalUnit: 'day' | 'hour' | 'month' | 'none';
|
|
131
|
+
mode: string;
|
|
132
|
+
phase: number;
|
|
133
|
+
price: number;
|
|
134
|
+
quantity: {
|
|
135
|
+
min: number;
|
|
136
|
+
max?: number;
|
|
137
|
+
};
|
|
138
|
+
mustBeCompleted: boolean;
|
|
139
|
+
promotions: {
|
|
140
|
+
name: string;
|
|
141
|
+
description: string;
|
|
142
|
+
}[];
|
|
143
|
+
repeat: {
|
|
144
|
+
min: number;
|
|
145
|
+
max?: number;
|
|
146
|
+
};
|
|
147
|
+
strategy: string;
|
|
148
|
+
tax: number;
|
|
149
|
+
type: string;
|
|
150
|
+
capacities: string[];
|
|
151
|
+
}[];
|
|
152
|
+
product: string;
|
|
153
|
+
};
|
|
154
|
+
export declare const getCatalog: (ovhSubsidiary: string, productName?: string) => Promise<TCatalog>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Filter } from '@ovh-ux/manager-core-api';
|
|
2
|
+
import { PaginationState } from '@ovh-ux/manager-react-components';
|
|
3
|
+
export type TDbaasLog = {
|
|
4
|
+
createdAt: string;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
iam?: {
|
|
7
|
+
displayName?: string;
|
|
8
|
+
id: string;
|
|
9
|
+
tags?: Record<string, string>;
|
|
10
|
+
urn: string;
|
|
11
|
+
};
|
|
12
|
+
isClusterOwner: boolean;
|
|
13
|
+
plan: 'ENTERPRISE' | 'STANDARD';
|
|
14
|
+
serviceName: string;
|
|
15
|
+
state: 'DISABLED' | 'ENABLED' | 'INIT' | 'TO_CONFIG';
|
|
16
|
+
updatedAt?: string;
|
|
17
|
+
username: string;
|
|
18
|
+
};
|
|
19
|
+
export declare function getLogs(): Promise<TDbaasLog[]>;
|
|
20
|
+
export type TDbaasStream = {
|
|
21
|
+
canAlert: boolean;
|
|
22
|
+
clusterId: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
description: string;
|
|
25
|
+
isEditable: boolean;
|
|
26
|
+
title: string;
|
|
27
|
+
updatedAt: string;
|
|
28
|
+
retentionId: string;
|
|
29
|
+
streamId: string;
|
|
30
|
+
indexingEnabled: boolean;
|
|
31
|
+
nbSubscription: number;
|
|
32
|
+
};
|
|
33
|
+
export declare function getStream(serviceName: string, streamId: string): Promise<TDbaasStream>;
|
|
34
|
+
export declare function getStreamsIds(serviceName: string): Promise<TDbaasStream>;
|
|
35
|
+
export declare function getStreams(serviceName: string, pagination: PaginationState, filters: Filter[]): Promise<{
|
|
36
|
+
data: TDbaasStream[];
|
|
37
|
+
totalCount: number;
|
|
38
|
+
}>;
|
|
39
|
+
export type TStreamURL = {
|
|
40
|
+
address: string;
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
export declare function getStreamURL(serviceName: string, streamId: string): Promise<TStreamURL[]>;
|
|
44
|
+
export type TRetention = {
|
|
45
|
+
duration: string;
|
|
46
|
+
isSupported: boolean;
|
|
47
|
+
retentionId: string;
|
|
48
|
+
};
|
|
49
|
+
export declare function getRetention(serviceName: string, clusterId: string, retentionId: string): Promise<TRetention>;
|
|
50
|
+
export type TSubscription = {
|
|
51
|
+
createdAt: string;
|
|
52
|
+
kind: string;
|
|
53
|
+
resource: {
|
|
54
|
+
name: string;
|
|
55
|
+
type: string;
|
|
56
|
+
};
|
|
57
|
+
serviceName: string;
|
|
58
|
+
streamId: string;
|
|
59
|
+
subscriptionId: string;
|
|
60
|
+
updatedAt: string;
|
|
61
|
+
};
|
|
62
|
+
export declare function getSubscriptions(serviceName: string, streamId: string): Promise<TSubscription[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type TFlavor = {
|
|
2
|
+
available: boolean;
|
|
3
|
+
capabilities: {
|
|
4
|
+
name: string;
|
|
5
|
+
enabled: boolean;
|
|
6
|
+
}[];
|
|
7
|
+
disk: number;
|
|
8
|
+
id: string;
|
|
9
|
+
inboundBandwidth?: number;
|
|
10
|
+
name: string;
|
|
11
|
+
osType: string;
|
|
12
|
+
outboundBandwidth?: number;
|
|
13
|
+
planCodes: {
|
|
14
|
+
hourly?: string;
|
|
15
|
+
monthly?: string;
|
|
16
|
+
};
|
|
17
|
+
quota: number;
|
|
18
|
+
ram: number;
|
|
19
|
+
region: string;
|
|
20
|
+
type: string;
|
|
21
|
+
vcpus: number;
|
|
22
|
+
pricingsHourly: {
|
|
23
|
+
price: number;
|
|
24
|
+
};
|
|
25
|
+
pricingsMonthly?: {
|
|
26
|
+
price: number;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
export declare const getFlavor: (projectId: string, flavorId: string) => Promise<TFlavor>;
|
|
30
|
+
export declare const getFlavors: (projectId: string, region: string) => Promise<TFlavor[]>;
|
|
31
|
+
export type TKubeFlavor = {
|
|
32
|
+
category: string;
|
|
33
|
+
gpus: number;
|
|
34
|
+
name: string;
|
|
35
|
+
ram: number;
|
|
36
|
+
state: 'available' | 'unavailable';
|
|
37
|
+
vCPUs: number;
|
|
38
|
+
};
|
|
39
|
+
export declare const getKubeFlavors: (projectId: string, region?: string) => Promise<TKubeFlavor[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './api-schema';
|
|
2
|
+
export * from './availability';
|
|
3
|
+
export * from './catalog';
|
|
4
|
+
export * from './dbaas-logs';
|
|
5
|
+
export * from './flavors';
|
|
6
|
+
export * from './instance';
|
|
7
|
+
export * from './operation';
|
|
8
|
+
export * from './project';
|
|
9
|
+
export * from './regions';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export type TInstance = {
|
|
2
|
+
created: string;
|
|
3
|
+
currentMonthOutgoingTraffic?: number;
|
|
4
|
+
flavorId: string;
|
|
5
|
+
id: string;
|
|
6
|
+
imageId: string;
|
|
7
|
+
ipAddresses: {
|
|
8
|
+
gatewayIp?: string;
|
|
9
|
+
ip: string;
|
|
10
|
+
networkId: string;
|
|
11
|
+
type: string;
|
|
12
|
+
version: number;
|
|
13
|
+
}[];
|
|
14
|
+
monthlyBilling?: {
|
|
15
|
+
since: string;
|
|
16
|
+
status: 'activationPending' | 'ok';
|
|
17
|
+
};
|
|
18
|
+
name: string;
|
|
19
|
+
operationIds: string[];
|
|
20
|
+
planCode: string;
|
|
21
|
+
region: string;
|
|
22
|
+
sshKeyId?: string;
|
|
23
|
+
status: string;
|
|
24
|
+
};
|
|
25
|
+
export declare const getInstance: (projectId: string, instanceId: string) => Promise<TInstance>;
|
|
26
|
+
/**
|
|
27
|
+
* If possible use getInstancesByRegion instead
|
|
28
|
+
*/
|
|
29
|
+
export declare const getInstances: (projectId: string, region?: string) => Promise<TInstance[]>;
|
|
30
|
+
export declare const getInstancesByRegion: (projectId: string, region: string) => Promise<TInstance[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Filter } from '@ovh-ux/manager-core-api';
|
|
2
|
+
import { PaginationState } from '@ovh-ux/manager-react-components';
|
|
3
|
+
export type TDbaasLog = {
|
|
4
|
+
createdAt: string;
|
|
5
|
+
displayName?: string;
|
|
6
|
+
iam?: {
|
|
7
|
+
displayName?: string;
|
|
8
|
+
id: string;
|
|
9
|
+
tags?: Record<string, string>;
|
|
10
|
+
urn: string;
|
|
11
|
+
};
|
|
12
|
+
isClusterOwner: boolean;
|
|
13
|
+
plan: 'ENTERPRISE' | 'STANDARD';
|
|
14
|
+
serviceName: string;
|
|
15
|
+
state: 'DISABLED' | 'ENABLED' | 'INIT' | 'TO_CONFIG';
|
|
16
|
+
updatedAt?: string;
|
|
17
|
+
username: string;
|
|
18
|
+
};
|
|
19
|
+
export declare function getDbaasLogs(): Promise<TDbaasLog[]>;
|
|
20
|
+
export type TDbaasStream = {
|
|
21
|
+
canAlert: boolean;
|
|
22
|
+
clusterId: string;
|
|
23
|
+
createdAt: string;
|
|
24
|
+
description: string;
|
|
25
|
+
isEditable: boolean;
|
|
26
|
+
title: string;
|
|
27
|
+
updatedAt: string;
|
|
28
|
+
retentionId: string;
|
|
29
|
+
streamId: string;
|
|
30
|
+
indexingEnabled: boolean;
|
|
31
|
+
nbSubscription: number;
|
|
32
|
+
};
|
|
33
|
+
export declare function getStream(serviceName: string, streamId: string): Promise<TDbaasStream>;
|
|
34
|
+
export declare function getStreamsIds(serviceName: string): Promise<TDbaasStream>;
|
|
35
|
+
export declare function getStreams(serviceName: string, pagination: PaginationState, filters: Filter[]): Promise<{
|
|
36
|
+
data: TDbaasStream[];
|
|
37
|
+
totalCount: number;
|
|
38
|
+
}>;
|
|
39
|
+
export type TStreamURL = {
|
|
40
|
+
address: string;
|
|
41
|
+
type: string;
|
|
42
|
+
};
|
|
43
|
+
export declare function getStreamURL(serviceName: string, streamId: string): Promise<TStreamURL[]>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare enum OperationStatus {
|
|
2
|
+
Completed = "completed",
|
|
3
|
+
Created = "created",
|
|
4
|
+
InError = "in-error",
|
|
5
|
+
InProgress = "in-progress",
|
|
6
|
+
Unknown = "unknown"
|
|
7
|
+
}
|
|
8
|
+
export type TOperation = {
|
|
9
|
+
action: string;
|
|
10
|
+
completedAt: string | null;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
id: string;
|
|
13
|
+
progress: number;
|
|
14
|
+
regions: string[];
|
|
15
|
+
resourceId: string | null;
|
|
16
|
+
startedAt: string | null;
|
|
17
|
+
status: OperationStatus;
|
|
18
|
+
};
|
|
19
|
+
export declare const getOperation: (projectId: string, operationId: string) => Promise<TOperation>;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
export type TProjectStatus = 'creating' | 'deleted' | 'deleting' | 'ok' | 'suspended';
|
|
2
|
+
export type TProject = {
|
|
3
|
+
access: 'full' | 'restricted';
|
|
4
|
+
creationDate: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
expiration?: string | null;
|
|
7
|
+
iam: {
|
|
8
|
+
displayName?: string;
|
|
9
|
+
id: string;
|
|
10
|
+
tags?: Record<string, string>;
|
|
11
|
+
urn: string;
|
|
12
|
+
};
|
|
13
|
+
manualQuota: boolean;
|
|
14
|
+
orderId: number | null;
|
|
15
|
+
planCode: string;
|
|
16
|
+
projectName: string | null;
|
|
17
|
+
project_id: string;
|
|
18
|
+
status: TProjectStatus;
|
|
19
|
+
unleash: boolean;
|
|
20
|
+
};
|
|
21
|
+
export declare const getProject: (projectId: string) => Promise<TProject>;
|
|
22
|
+
export type TQuota = {
|
|
23
|
+
instance?: {
|
|
24
|
+
maxCores: number;
|
|
25
|
+
maxInstances: number;
|
|
26
|
+
maxRam: number;
|
|
27
|
+
usedCores: number;
|
|
28
|
+
usedInstances: number;
|
|
29
|
+
usedRAM: number;
|
|
30
|
+
};
|
|
31
|
+
keymanager?: {
|
|
32
|
+
maxSecrets: number;
|
|
33
|
+
usedSecrets: number;
|
|
34
|
+
};
|
|
35
|
+
keypair?: {
|
|
36
|
+
maxCount: number;
|
|
37
|
+
};
|
|
38
|
+
loadbalancer?: {
|
|
39
|
+
maxLoadbalancers: number;
|
|
40
|
+
usedLoadbalancers: number;
|
|
41
|
+
};
|
|
42
|
+
network?: {
|
|
43
|
+
maxFloatingIPs: number;
|
|
44
|
+
maxGateways: number;
|
|
45
|
+
maxNetworks: number;
|
|
46
|
+
maxSubnets: number;
|
|
47
|
+
usedFloatingIPs: number;
|
|
48
|
+
usedGateways: number;
|
|
49
|
+
usedNetworks: number;
|
|
50
|
+
usedSubnets: number;
|
|
51
|
+
};
|
|
52
|
+
region: string;
|
|
53
|
+
share?: {
|
|
54
|
+
maxShareSizePerShare: number;
|
|
55
|
+
maxShareSizeTotal: number;
|
|
56
|
+
maxShareSnapshots: number;
|
|
57
|
+
maxSharesNumber: number;
|
|
58
|
+
usedShareSizeTotal: number;
|
|
59
|
+
usedShareSnapshots: number;
|
|
60
|
+
usedSharesNumber: number;
|
|
61
|
+
};
|
|
62
|
+
volume?: {
|
|
63
|
+
maxBackupGigabytes: number;
|
|
64
|
+
maxGigabytes: number;
|
|
65
|
+
maxVolumeBackupCount: number;
|
|
66
|
+
maxVolumeCount: number;
|
|
67
|
+
usedBackupGigabytes: number;
|
|
68
|
+
usedGigabytes: number;
|
|
69
|
+
volumeBackupCount: number;
|
|
70
|
+
volumeCount: number;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
export declare const getProjectQuota: (projectId: string) => Promise<TQuota[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type TRegion = {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
status: string;
|
|
5
|
+
continentCode: string;
|
|
6
|
+
services: {
|
|
7
|
+
name: string;
|
|
8
|
+
status: string;
|
|
9
|
+
endpoint: string;
|
|
10
|
+
}[];
|
|
11
|
+
datacenterLocation: string;
|
|
12
|
+
};
|
|
13
|
+
export declare const getProjectRegions: (projectId: string) => Promise<TRegion[]>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './useApiSchema';
|
|
2
|
+
export * from './useAvailability';
|
|
3
|
+
export * from './useCatalog';
|
|
4
|
+
export * from './useFlavors';
|
|
5
|
+
export * from './useInstance';
|
|
6
|
+
export * from './useLogs';
|
|
7
|
+
export * from './useOperation';
|
|
8
|
+
export * from './useProject';
|
|
9
|
+
export * from './useRegions';
|
|
10
|
+
export * from './useInstance';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useGetApiSchema: () => import("@tanstack/react-query").UseQueryResult<import("../data/api-schema").TApiSchemaResponse, Error>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ProductAvailabilityFilter } from '../data/availability';
|
|
2
|
+
export declare const getProductAvailabilityQuery: (projectId: string, ovhSubsidiary: string, filter?: ProductAvailabilityFilter) => {
|
|
3
|
+
queryKey: (string | ProductAvailabilityFilter)[];
|
|
4
|
+
queryFn: () => Promise<import("../data/availability").TProductAvailability>;
|
|
5
|
+
};
|
|
6
|
+
export declare const useProductAvailability: (projectId: string, filter?: ProductAvailabilityFilter) => import("@tanstack/react-query").UseQueryResult<import("../data/availability").TProductAvailability, Error>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const getCatalogQuery: (ovhSubsidiary: string) => {
|
|
2
|
+
queryKey: string[];
|
|
3
|
+
queryFn: () => Promise<import("../data/catalog").TCatalog>;
|
|
4
|
+
};
|
|
5
|
+
export declare const useCatalog: () => import("@tanstack/react-query").UseQueryResult<import("../data/catalog").TCatalog, Error>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|