List event notification categories (GET /v1.0/{tenantId}/eventcategories/{sourceType}/)

Lists information for all event notification categories for a virtual database server or DB snapshot.

Request URI

{tenantID}

Project ID of the owner of the instance

Data Type Cardinality
String 1..1

{ sourceType }

Source type

instance | snapshot

Data Type Cardinality
String 1..1

Request Parameters

n/a

Response Headers

Status

Returns the status of the request.

One of the following values will be returned.
401:
unauthorized
403:
forbidden
404:
itemNotFound
500:
instanceFault
501:
notImplemented
503:
serviceUnavailable
504:
gatewayTimeout
Data Type Cardinality
Int 1.1

Response Elements

DescribeEventCategoriesResult

Data Type Cardinality Parent Element Child Element(s)
    None eventCategoriesMapList

eventCategoriesMapList

EventCategoriesMap list

Data Type Cardinality Parent Element Child Element(s)
EventCategoriesMap list      

EventCategoriesMap

Data Type Cardinality Parent Element Child Element(s)
String   None eventCategories

sourceType

eventCategories

Event categories for the specified source type

Data Type Cardinality Parent Element Child Element(s)
String list   EventCategoriesMap None

sourceType

Source type that the above event category belongs to

Data Type Cardinality Parent Element Child Element(s)
String   EventCategoriesMap None

Example of Response


{
 "eventCategoriesMaps": [
        "eventCategoriesMap":{
            "eventCategories": [
                "availability", 
                "failover", 
                "recovery", 
                "low storage", 
                "creation", 
                "notification", 
                "backup", 
                "configuration change", 
                "restoration", 
                "maintenance", 
                "deletion", 
                "failure"
            ], 
            "sourceType": "db-instance"
        },
         "eventCategoriesMap":{
            "eventCategories": [
                "deletion", 
                "restoration", 
                "notification", 
                "failure", 
                "creation"
            ], 
            "sourceType": "db-snapshot"
        }
   ]
}