| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | group | asso | |
| default | real_service | asso | |
| default | weight | uint32 | |
| default | cookie | string | Sets the value of the associated cookie for the group member. |
| default | url | url | Sets the string following the " |
| default | priority | uint32 | Sets the priority of the group member. The greater the value, the higher the priority. When the number of healthy real services is greater than the Number of Active Real Services, only the real services with larger priorities will be enabled. |
| default | active_status | boolean | |
| default | active_reason | string |
{
"GroupMember": {
"meta": {
"abstract": false,
"verbose_name": SLB Group Member,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| group | asso | |
| real_service | asso | |
| weight | uint32 | |
| cookie | string | Sets the value of the associated cookie for the group member. |
| url | url | Sets the string following the " |
| priority | uint32 | Sets the priority of the group member. The greater the value, the higher the priority. When the number of healthy real services is greater than the Number of Active Real Services, only the real services with larger priorities will be enabled. |
{
"GroupMember": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"GroupMember": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: group, real_service, weight, cookie, url, priority, active_status, active_reason, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | group | asso | |
| default | real_service | asso | |
| default | weight | uint32 | |
| default | cookie | string | Sets the value of the associated cookie for the group member. |
| default | url | url | Sets the string following the " |
| default | priority | uint32 | Sets the priority of the group member. The greater the value, the higher the priority. When the number of healthy real services is greater than the Number of Active Real Services, only the real services with larger priorities will be enabled. |
| default | active_status | boolean | |
| default | active_reason | string |
{
"GroupMember": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"GroupMember": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"GroupMember": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: weight, cookie, url, priority, |
| Field Name | Type | Description |
|---|---|---|
| weight | uint32 | |
| cookie | string | Sets the value of the associated cookie for the group member. |
| url | url | Sets the string following the " |
| priority | uint32 | Sets the priority of the group member. The greater the value, the higher the priority. When the number of healthy real services is greater than the Number of Active Real Services, only the real services with larger priorities will be enabled. |
All configuration fields and their values are replied:
{
"GroupMember": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"GroupMember": {
"instance_id":<instance_id>,
"group":<value>
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"GroupMember": {
"instance_id":<instance_id>,
"real_service":<value>
}
}