getall_haproxy_poll_data

GET
This feature is only available for desktop.
Feature is available only on desktop

Use this operation to get counter Information

Resource URL

https://adm.cloud.com/massvc/{customerid}/nitro/v2/config/haproxy_poll_data

Path Parameters

ParameterTypeValueDescription
customerid
string
Required

Customer Id of the user

Header Parameters

ParameterTypeValueDescription
Authorization
string
Required

Session Id for authentication.Should be mentioned in the format CwsAuth bearer=sessionIdValue

isCloud
string
Required

set the value to true in case of Cloud services, false for on-prem deployment

Query Parameters

ParameterTypeValueDescription
filter
string
Optional

Use this query-parameter to get the filtered set of vm_device resources configured on the system. You can set a filter on any property of the resource.Example: property-name1:property-value1

pagesize
integer
Optional

Use this query-parameter to get the haproxy_poll_data resources in chunks.To be used along with pageno query parameter.

pageno
integer
Optional

Use this query-parameter to get the haproxy_poll_data resources in chunks.To be used along with pagesize query parameter.

count
string
Optional

Use this query-parameter to get the count of haproxy_poll_data resources.

Available values : yes

Responses

Response Details
Http CodeDescription
200

for haproxy_poll_data

{
  "haproxy_poll_data": {
    "counter_group": "haproxyhost",
    "id": "c970e730-6bc5-44c2-a2bf-8dd1382ffb5f",
    "device_ip_address": "10.102.40.60"
  }
}
400

Bad input parameter

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
401

Failed Authentication

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
403

Unauthorized

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
404

Item not found

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
409

Resource Conflict

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
500

Server Error

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
504

Gateway Timeout

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}

post_haproxy_poll_data

POST
This feature is only available for desktop.
Feature is available only on desktop

POST operation for haproxy_poll_data

Resource URL

https://adm.cloud.com/massvc/{customerid}/nitro/v2/config/haproxy_poll_data

Path Parameters

ParameterTypeValueDescription
customerid
string
Required

Customer Id of the user

Header Parameters

ParameterTypeValueDescription
Authorization
string
Required

Session Id for authentication.Should be mentioned in the format CwsAuth bearer=sessionIdValue

isCloud
string
Required

set the value to true in case of Cloud services, false for on-prem deployment

Query Parameters

ParameterTypeValueDescription
onerror
string
Optional

Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.

Available values : EXIT, CONTINUE

Default value : CONTINUE

Body Parameters

{
  "haproxy_poll_data": {
    "counter_group": "haproxyhost",
    "device_ip_address": "10.102.40.60"
  }
}

Responses

Response Details
Http CodeDescription
200

add for haproxy_poll_data

{
  "haproxy_poll_data": {
    "counter_group": "haproxyhost",
    "id": "c970e730-6bc5-44c2-a2bf-8dd1382ffb5f",
    "device_ip_address": "10.102.40.60"
  }
}
400

Bad input parameter

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
401

Failed Authentication

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
403

Unauthorized

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
404

Item not found

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
409

Resource Conflict

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
500

Server Error

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
504

Gateway Timeout

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}

getbykey_haproxy_poll_data

GET
This feature is only available for desktop.
Feature is available only on desktop

Use this operation to get counter Information

Resource URL

https://adm.cloud.com/massvc/{customerid}/nitro/v2/config/haproxy_poll_data/{id}

Path Parameters

ParameterTypeValueDescription
id
string
Required

Id is system generated key

customerid
string
Required

Customer Id of the user

Header Parameters

ParameterTypeValueDescription
Authorization
string
Required

Session Id for authentication.Should be mentioned in the format CwsAuth bearer=sessionIdValue

isCloud
string
Required

set the value to true in case of Cloud services, false for on-prem deployment

Responses

Response Details
Http CodeDescription
200

add for haproxy_poll_data

{
  "haproxy_poll_data": {
    "counter_group": "haproxyhost",
    "id": "c970e730-6bc5-44c2-a2bf-8dd1382ffb5f",
    "device_ip_address": "10.102.40.60"
  }
}
400

Bad input parameter

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
401

Failed Authentication

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
403

Unauthorized

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
404

Item not found

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
409

Resource Conflict

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
500

Server Error

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
504

Gateway Timeout

{
  "errorcode": 1001,
  "errormessage": "id cannot be found"
}
haproxy poll data-API-Spec