Creating And Modifying
Creating an SLA Domain
SLA domains can range from simple to very complex policy definitions.
Modifying an SLA Domain
Modification of an SLA requires the entire SLA object to be passed in to the mutation. If every property is not passed in, the SLA update will either fail, or will be updated with only the portions of the object that were passed in to the update arguments.
mutation createSla {
updateGlobalSla(input: {
id: "2794261b-0e3b-4eab-8a32-f1ce4579e8c7"
name: "foo"
objectTypes: [VSPHERE_OBJECT_TYPE MSSQL_OBJECT_TYPE]
description: "This is my foo SLA Domain"
snapshotSchedule: {
daily: {
basicSchedule: {
frequency: 1
retention: 7
retentionUnit: DAYS
}
}
}
}) {
name
id
}
}