An application policy defines the application availability in network partitions. Thereby, it would define whether to start the application in all the network partitions or whether to carryout cloud bursting. A sample application policy definition, together with information on all the properties that can be added in an application policy definition JSON are as follows:
Sample application policy definition JSON
The following are sample configurations that can be used in a JSON to define an application policy:
Excerpt |
---|
Code Block |
---|
{
"id": "application-policy-1",
"algorithm": "one-after-another",
"networkPartitions": [
"network-partition-1"
],
"properties": [
{
"name": "key-1",
"value": "value-1"
},
{
"name": "key-2",
"value": "value-2"
}
]
} |
|
Property definitions
All the properties that correspond to the application policy resource are explained as follows:
Main properties
Sub-properties
properties