Topics - List Event Types
List topic event types.
List event types for a topic.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{providerNamespace}/{resourceTypeName}/{resourceName}/providers/Microsoft.EventGrid/eventTypes?api-version=2022-06-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
provider
|
path | True |
string |
Namespace of the provider of the topic. |
resource
|
path | True |
string |
The name of the resource group within the user's subscription. |
resource
|
path | True |
string |
Name of the topic. |
resource
|
path | True |
string |
Name of the topic type. |
subscription
|
path | True |
string |
Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
Topics_ListEventTypes
Sample Request
GET https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.Storage/storageAccounts/ExampleStorageAccount/providers/Microsoft.EventGrid/eventTypes?api-version=2022-06-15
Sample Response
{
"value": [
{
"properties": {
"description": "Raised when a blob is created.",
"schemaUrl": "tbd",
"displayName": "Blob Created"
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobCreated",
"name": "Microsoft.Storage.BlobCreated",
"type": "Microsoft.EventGrid/topicTypes/eventTypes"
},
{
"properties": {
"description": "Raised when a blob is deleted.",
"schemaUrl": "tbd",
"displayName": "Blob Deleted"
},
"id": "providers/Microsoft.EventGrid/topicTypes/Microsoft.Storage.StorageAccounts/eventTypes/Microsoft.Storage.BlobDeleted",
"name": "Microsoft.Storage.BlobDeleted",
"type": "Microsoft.EventGrid/topicTypes/eventTypes"
}
]
}
Definitions
Name | Description |
---|---|
Event |
Event Type for a subject under a topic |
Event |
Result of the List Event Types operation |
EventType
Event Type for a subject under a topic
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified identifier of the resource. |
name |
string |
Name of the resource. |
properties.description |
string |
Description of the event type. |
properties.displayName |
string |
Display name of the event type. |
properties.isInDefaultSet |
boolean |
IsInDefaultSet flag of the event type. |
properties.schemaUrl |
string |
Url of the schema for this event type. |
type |
string |
Type of the resource. |
EventTypesListResult
Result of the List Event Types operation
Name | Type | Description |
---|---|---|
value |
A collection of event types |