Mutation
mutation UpdateDiskSpaceSettings($input: UpdateDiskSpaceSettingsInput!) {
updateDiskSpaceSettings(input: $input) {
normalThresholdGiB
pressureThresholdGiB
pollIntervalSeconds
staleAfterSeconds
}
}Variables
{
"input": {
"normalThresholdGiB": 1.5,
"pressureThresholdGiB": 1.5
}
}Response
{
"data": {
"updateDiskSpaceSettings": {
"normalThresholdGiB": 1.5,
"pressureThresholdGiB": 1.5,
"pollIntervalSeconds": 1,
"staleAfterSeconds": 1
}
}
}Mutations
updateDiskSpaceSettings
Updates disk space settings and returns the updated disk space settings.
MUTATION
updateDiskSpaceSettings(input: UpdateDiskSpaceSettingsInput!): DiskSpaceSettings!Arguments
input
required
Values for the requested operation.
Returns
normalThresholdGiB
Float!
The normal threshold gi b associated with this disk space settings.
pressureThresholdGiB
Float!
The pressure threshold gi b associated with this disk space settings.
pollIntervalSeconds
Int!
Poll interval, in seconds.
staleAfterSeconds
Int!
Stale after, in seconds.
Mutation
mutation UpdateDiskSpaceSettings($input: UpdateDiskSpaceSettingsInput!) {
updateDiskSpaceSettings(input: $input) {
normalThresholdGiB
pressureThresholdGiB
pollIntervalSeconds
staleAfterSeconds
}
}Variables
{
"input": {
"normalThresholdGiB": 1.5,
"pressureThresholdGiB": 1.5
}
}Response
{
"data": {
"updateDiskSpaceSettings": {
"normalThresholdGiB": 1.5,
"pressureThresholdGiB": 1.5,
"pollIntervalSeconds": 1,
"staleAfterSeconds": 1
}
}
}