{
"operation-name" : "add",
"description" : "Adds a backup site to this cache.",
"request-properties" : {
"after-failures" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "Indicates the number of failures after which this backup site should go offline.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 1,
"stability" : "default"
},
"enabled" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Indicates whether or not this backup site is enabled.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default",
"deprecated" : {
"since" : "16.0.0",
"reason" : "Deprecated. Ignored if specified."
}
},
"failure-policy" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The policy to follow when connectivity to the backup site fails.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "WARN",
"allowed" : [
"IGNORE",
"WARN",
"FAIL",
"CUSTOM"
],
"stability" : "default"
},
"min-wait" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "Indicates the minimum time (in milliseconds) to wait after the max number of failures is reached, after which this backup site should go offline.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 0,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
},
"strategy" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The backup strategy for this cache",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "ASYNC",
"allowed" : [
"SYNC",
"ASYNC"
],
"stability" : "default"
},
"timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "LONG"
},
"description" : "The timeout for replicating to the backup site.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 10000,
"unit" : "MILLISECONDS",
"min" : 0,
"max" : 9223372036854775807,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}