1. Packages
  2. Packages
  3. Azure Classic
  4. API Docs
  5. eventgrid
  6. getSystemTopic

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Use this data source to access information about an existing EventGrid System Topic

    Example Usage

    using Pulumi;
    using Azure = Pulumi.Azure;
    
    class MyStack : Stack
    {
        public MyStack()
        {
            var example = Output.Create(Azure.EventGrid.GetSystemTopic.InvokeAsync(new Azure.EventGrid.GetSystemTopicArgs
            {
                Name = "eventgrid-system-topic",
                ResourceGroupName = "example-resources",
            }));
        }
    
    }
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/eventgrid"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := eventgrid.LookupSystemTopic(ctx, &eventgrid.LookupSystemTopicArgs{
    			Name:              "eventgrid-system-topic",
    			ResourceGroupName: "example-resources",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = pulumi.output(azure.eventgrid.getSystemTopic({
        name: "eventgrid-system-topic",
        resourceGroupName: "example-resources",
    }));
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.eventgrid.get_system_topic(name="eventgrid-system-topic",
        resource_group_name="example-resources")
    

    Example coming soon!

    Using getSystemTopic

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSystemTopic(args: GetSystemTopicArgs, opts?: InvokeOptions): Promise<GetSystemTopicResult>
    function getSystemTopicOutput(args: GetSystemTopicOutputArgs, opts?: InvokeOptions): Output<GetSystemTopicResult>
    def get_system_topic(name: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetSystemTopicResult
    def get_system_topic_output(name: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetSystemTopicResult]
    func LookupSystemTopic(ctx *Context, args *LookupSystemTopicArgs, opts ...InvokeOption) (*LookupSystemTopicResult, error)
    func LookupSystemTopicOutput(ctx *Context, args *LookupSystemTopicOutputArgs, opts ...InvokeOption) LookupSystemTopicResultOutput

    > Note: This function is named LookupSystemTopic in the Go SDK.

    public static class GetSystemTopic 
    {
        public static Task<GetSystemTopicResult> InvokeAsync(GetSystemTopicArgs args, InvokeOptions? opts = null)
        public static Output<GetSystemTopicResult> Invoke(GetSystemTopicInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSystemTopicResult> getSystemTopic(GetSystemTopicArgs args, InvokeOptions options)
    public static Output<GetSystemTopicResult> getSystemTopic(GetSystemTopicArgs args, InvokeOptions options)
    
    fn::invoke:
      function: azure:eventgrid/getSystemTopic:getSystemTopic
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the EventGrid System Topic resource.
    ResourceGroupName string
    The name of the resource group in which the EventGrid System Topic exists.
    Name string
    The name of the EventGrid System Topic resource.
    ResourceGroupName string
    The name of the resource group in which the EventGrid System Topic exists.
    name String
    The name of the EventGrid System Topic resource.
    resourceGroupName String
    The name of the resource group in which the EventGrid System Topic exists.
    name string
    The name of the EventGrid System Topic resource.
    resourceGroupName string
    The name of the resource group in which the EventGrid System Topic exists.
    name str
    The name of the EventGrid System Topic resource.
    resource_group_name str
    The name of the resource group in which the EventGrid System Topic exists.
    name String
    The name of the EventGrid System Topic resource.
    resourceGroupName String
    The name of the resource group in which the EventGrid System Topic exists.

    getSystemTopic Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Identities List<GetSystemTopicIdentity>
    An identity block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
    Location string
    MetricArmResourceId string
    The Metric ARM Resource ID of the Event Grid System Topic.
    Name string
    ResourceGroupName string
    SourceArmResourceId string
    The ID of the Event Grid System Topic ARM Source.
    Tags Dictionary<string, string>
    A mapping of tags which are assigned to the Event Grid System Topic.
    TopicType string
    The Topic Type of the Event Grid System Topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identities []GetSystemTopicIdentity
    An identity block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
    Location string
    MetricArmResourceId string
    The Metric ARM Resource ID of the Event Grid System Topic.
    Name string
    ResourceGroupName string
    SourceArmResourceId string
    The ID of the Event Grid System Topic ARM Source.
    Tags map[string]string
    A mapping of tags which are assigned to the Event Grid System Topic.
    TopicType string
    The Topic Type of the Event Grid System Topic.
    id String
    The provider-assigned unique ID for this managed resource.
    identities List<GetSystemTopicIdentity>
    An identity block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
    location String
    metricArmResourceId String
    The Metric ARM Resource ID of the Event Grid System Topic.
    name String
    resourceGroupName String
    sourceArmResourceId String
    The ID of the Event Grid System Topic ARM Source.
    tags Map<String,String>
    A mapping of tags which are assigned to the Event Grid System Topic.
    topicType String
    The Topic Type of the Event Grid System Topic.
    id string
    The provider-assigned unique ID for this managed resource.
    identities GetSystemTopicIdentity[]
    An identity block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
    location string
    metricArmResourceId string
    The Metric ARM Resource ID of the Event Grid System Topic.
    name string
    resourceGroupName string
    sourceArmResourceId string
    The ID of the Event Grid System Topic ARM Source.
    tags {[key: string]: string}
    A mapping of tags which are assigned to the Event Grid System Topic.
    topicType string
    The Topic Type of the Event Grid System Topic.
    id str
    The provider-assigned unique ID for this managed resource.
    identities Sequence[GetSystemTopicIdentity]
    An identity block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
    location str
    metric_arm_resource_id str
    The Metric ARM Resource ID of the Event Grid System Topic.
    name str
    resource_group_name str
    source_arm_resource_id str
    The ID of the Event Grid System Topic ARM Source.
    tags Mapping[str, str]
    A mapping of tags which are assigned to the Event Grid System Topic.
    topic_type str
    The Topic Type of the Event Grid System Topic.
    id String
    The provider-assigned unique ID for this managed resource.
    identities List<Property Map>
    An identity block as defined below, which contains the Managed Service Identity information for this Event Grid System Topic.
    location String
    metricArmResourceId String
    The Metric ARM Resource ID of the Event Grid System Topic.
    name String
    resourceGroupName String
    sourceArmResourceId String
    The ID of the Event Grid System Topic ARM Source.
    tags Map<String>
    A mapping of tags which are assigned to the Event Grid System Topic.
    topicType String
    The Topic Type of the Event Grid System Topic.

    Supporting Types

    GetSystemTopicIdentity

    IdentityIds List<string>
    A list of IDs for User Assigned Managed Identity resources to be assigned.
    PrincipalId string
    Specifies the Principal ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    TenantId string
    Specifies the Tenant ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    Type string
    Specifies the type of Managed Service Identity that is configured on this Event Grid System Topic.
    IdentityIds []string
    A list of IDs for User Assigned Managed Identity resources to be assigned.
    PrincipalId string
    Specifies the Principal ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    TenantId string
    Specifies the Tenant ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    Type string
    Specifies the type of Managed Service Identity that is configured on this Event Grid System Topic.
    identityIds List<String>
    A list of IDs for User Assigned Managed Identity resources to be assigned.
    principalId String
    Specifies the Principal ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    tenantId String
    Specifies the Tenant ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    type String
    Specifies the type of Managed Service Identity that is configured on this Event Grid System Topic.
    identityIds string[]
    A list of IDs for User Assigned Managed Identity resources to be assigned.
    principalId string
    Specifies the Principal ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    tenantId string
    Specifies the Tenant ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    type string
    Specifies the type of Managed Service Identity that is configured on this Event Grid System Topic.
    identity_ids Sequence[str]
    A list of IDs for User Assigned Managed Identity resources to be assigned.
    principal_id str
    Specifies the Principal ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    tenant_id str
    Specifies the Tenant ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    type str
    Specifies the type of Managed Service Identity that is configured on this Event Grid System Topic.
    identityIds List<String>
    A list of IDs for User Assigned Managed Identity resources to be assigned.
    principalId String
    Specifies the Principal ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    tenantId String
    Specifies the Tenant ID of the System Assigned Managed Service Identity that is configured on this Event Grid System Topic.
    type String
    Specifies the type of Managed Service Identity that is configured on this Event Grid System Topic.

    Package Details

    Repository
    Azure Classic pulumi/pulumi-azure
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azurerm Terraform Provider.
    azure logo

    We recommend using Azure Native.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.