Share via


System Topics - List By Resource Group

List system topics under a resource group.
List all the system topics under a resource group.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics?api-version=2025-02-15
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/systemTopics?api-version=2025-02-15&$filter={$filter}&$top={$top}

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The name of the resource group within the user's subscription.

subscriptionId
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.

$filter
query

string

The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'.

$top
query

integer (int32)

The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page.

Responses

Name Type Description
200 OK

SystemTopicsListResult

OK

Other Status Codes

*** Error Responses: ***

  • 400 Bad Request.

  • 500 Internal Server Error.

Examples

SystemTopics_ListByResourceGroup

Sample request

GET https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics?api-version=2025-02-15

Sample response

{
  "value": [
    {
      "properties": {
        "provisioningState": "Succeeded",
        "source": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/azureeventgridrunnerrgcentraluseuap/providers/microsoft.storage/storageaccounts/pubstgrunnerb71cd29e",
        "topicType": "microsoft.storage.storageaccounts",
        "metricResourceId": "183c0fb1-17ff-47b6-ac77-5a47420ab01e"
      },
      "location": "centraluseuap",
      "tags": null,
      "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/systemTopics/pubstgrunnerb71cd29e-86fad330-7bac-4238-8cab-9e46b75165aa",
      "name": "pubstgrunnerb71cd29e-86fad330-7bac-4238-8cab-9e46b75165aa",
      "type": "Microsoft.EventGrid/systemTopics"
    }
  ]
}

Definitions

Name Description
createdByType

The type of identity that created the resource.

IdentityInfo

The identity information for the resource.

IdentityType

The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.

ResourceProvisioningState

Provisioning state of the Private Endpoint Connection.

systemData

Metadata pertaining to creation and last modification of the resource.

SystemTopic

EventGrid System Topic.

SystemTopicsListResult

Result of the List System topics operation.

UserIdentityProperties

The information about the user identity.

createdByType

The type of identity that created the resource.

Value Description
User
Application
ManagedIdentity
Key

IdentityInfo

The identity information for the resource.

Name Type Description
principalId

string

The principal ID of resource identity.

tenantId

string

The tenant ID of resource.

type

IdentityType

The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.

userAssignedIdentities

<string,  UserIdentityProperties>

The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. This property is currently not used and reserved for future usage.

IdentityType

The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity.

Value Description
None
SystemAssigned
UserAssigned
SystemAssigned, UserAssigned

ResourceProvisioningState

Provisioning state of the Private Endpoint Connection.

Value Description
Creating
Updating
Deleting
Succeeded
Canceled
Failed

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string (date-time)

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string (date-time)

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.

SystemTopic

EventGrid System Topic.

Name Type Description
id

string

Fully qualified identifier of the resource.

identity

IdentityInfo

Identity information for the resource.

location

string

Location of the resource.

name

string

Name of the resource.

properties.metricResourceId

string

Metric resource id for the system topic.

properties.provisioningState

ResourceProvisioningState

Provisioning state of the system topic.

properties.source

string

Source for the system topic.

properties.topicType

string

TopicType for the system topic.

systemData

systemData

The system metadata relating to the Event Grid resource.

tags

object

Tags of the resource.

type

string

Type of the resource.

SystemTopicsListResult

Result of the List System topics operation.

Name Type Description
nextLink

string

A link for the next page of topics.

value

SystemTopic[]

A collection of system Topics.

UserIdentityProperties

The information about the user identity.

Name Type Description
clientId

string

The client id of user assigned identity.

principalId

string

The principal id of user assigned identity.