nbritton
5 years agoLevel 4
api call creating a SLO
Dose anyone know where to find the SLO_UUID to use with a post to "{{baseurl}}servicecatalog/slos?
The only way i have found it so far is to grab it from the dev tools when i try it in the UI.
Example would be:
part of the code:
schedules:
- backupType: Full Backup
backupCopies:
copies:
- retentionPeriod:
value: "{{item.ret}}"
unit: DAYS
storage: "SLO_UUID_470f3dd0-7d82-4d0f-a3cc-90187ceb6069_Backup_Only_d7cb31e8-32fd-452b-9ae1-3ce8f05296f4" <<<<<<This is the entry i am refering to.
priority: -1
I found that you can really put anything in the storage: string. When you submit the post, it changes that to the slo_uuid nessassary.