Event Categories - List

Get the list of available event categories supported in the Activity Logs Service.
The current list includes the following: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

GET https://management.azure.com/providers/Microsoft.Insights/eventcategories?api-version=2015-04-01

URI Parameters

Name In Required Type Description
api-version
query True

string

The API version to use for this operation.

Responses

Name Type Description
200 OK

EventCategoryCollection

Successful request to get the list of event categories

Other Status Codes

ErrorResponse

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Get event categories

Sample Request

GET https://management.azure.com/providers/Microsoft.Insights/eventcategories?api-version=2015-04-01

Sample Response

{
  "value": [
    {
      "value": "category1",
      "localizedValue": "category1"
    },
    {
      "value": "category2",
      "localizedValue": "category2"
    }
  ]
}

Definitions

Name Description
ErrorResponse

Describes the format of Error response.

EventCategoryCollection

A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

LocalizableString

The localizable string class.

ErrorResponse

Describes the format of Error response.

Name Type Description
code

string

Error code

message

string

Error message indicating why the operation failed.

EventCategoryCollection

A collection of event categories. Currently possible values are: Administrative, Security, ServiceHealth, Alert, Recommendation, Policy.

Name Type Description
value

LocalizableString[]

the list that includes the Azure event categories.

LocalizableString

The localizable string class.

Name Type Description
localizedValue

string

the locale specific value.

value

string

the invariant value.