eventrule config variable-API-Spec

getall_eventrule_config_variable

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

Resource URL

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

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 eventrule_config_variable resources in chunks.To be used along with pageno query parameter.

pageno
integer
Optional

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

count
string
Optional

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

Available values : yes

Responses

Response Details
Http CodeDescription
200

for eventrule_config_variable

{
  "eventrule_config_variable": {
    "parent_name": "configchangerule1",
    "name": "INDIA",
    "display_name": "lb vserver1",
    "description": "Provisioned on 10 Jan 18",
    "parent_id": "c970e730-6bc5-44c2-a2bf-8dd8382ffb5f",
    "default_value": "lbvserver1",
    "id": "c970e730-6bc5-44c2-a2bf-8dd1382ffb5f",
    "type": "NS",
    "values_enum_db": "string_value",
    "values_enum": [
      "string_value1",
      "string_value2"
    ]
  }
}
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"
}
eventrule config variable-API-Spec