We recommend using Azure Native.
azure.eventgrid.SystemTopic
Explore with Pulumi AI
Manages an Event Grid System Topic.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("exampleAccount", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AccountTier = "Standard",
AccountReplicationType = "LRS",
Tags =
{
{ "environment", "staging" },
},
});
var exampleSystemTopic = new Azure.EventGrid.SystemTopic("exampleSystemTopic", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
SourceArmResourceId = exampleAccount.Id,
TopicType = "Microsoft.Storage.StorageAccounts",
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/eventgrid"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "exampleAccount", &storage.AccountArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("LRS"),
Tags: pulumi.StringMap{
"environment": pulumi.String("staging"),
},
})
if err != nil {
return err
}
_, err = eventgrid.NewSystemTopic(ctx, "exampleSystemTopic", &eventgrid.SystemTopicArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
SourceArmResourceId: exampleAccount.ID(),
TopicType: pulumi.String("Microsoft.Storage.StorageAccounts"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.eventgrid.SystemTopic;
import com.pulumi.azure.eventgrid.SystemTopicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.accountTier("Standard")
.accountReplicationType("LRS")
.tags(Map.of("environment", "staging"))
.build());
var exampleSystemTopic = new SystemTopic("exampleSystemTopic", SystemTopicArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.sourceArmResourceId(exampleAccount.id())
.topicType("Microsoft.Storage.StorageAccounts")
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_account = azure.storage.Account("exampleAccount",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
account_tier="Standard",
account_replication_type="LRS",
tags={
"environment": "staging",
})
example_system_topic = azure.eventgrid.SystemTopic("exampleSystemTopic",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
source_arm_resource_id=example_account.id,
topic_type="Microsoft.Storage.StorageAccounts")
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleAccount = new azure.storage.Account("exampleAccount", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
accountTier: "Standard",
accountReplicationType: "LRS",
tags: {
environment: "staging",
},
});
const exampleSystemTopic = new azure.eventgrid.SystemTopic("exampleSystemTopic", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
sourceArmResourceId: exampleAccount.id,
topicType: "Microsoft.Storage.StorageAccounts",
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleAccount:
type: azure:storage:Account
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
accountTier: Standard
accountReplicationType: LRS
tags:
environment: staging
exampleSystemTopic:
type: azure:eventgrid:SystemTopic
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
sourceArmResourceId: ${exampleAccount.id}
topicType: Microsoft.Storage.StorageAccounts
Create SystemTopic Resource
new SystemTopic(name: string, args: SystemTopicArgs, opts?: CustomResourceOptions);
@overload
def SystemTopic(resource_name: str,
opts: Optional[ResourceOptions] = None,
identity: Optional[SystemTopicIdentityArgs] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
source_arm_resource_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
topic_type: Optional[str] = None)
@overload
def SystemTopic(resource_name: str,
args: SystemTopicArgs,
opts: Optional[ResourceOptions] = None)
func NewSystemTopic(ctx *Context, name string, args SystemTopicArgs, opts ...ResourceOption) (*SystemTopic, error)
public SystemTopic(string name, SystemTopicArgs args, CustomResourceOptions? opts = null)
public SystemTopic(String name, SystemTopicArgs args)
public SystemTopic(String name, SystemTopicArgs args, CustomResourceOptions options)
type: azure:eventgrid:SystemTopic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SystemTopicArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SystemTopicArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SystemTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SystemTopicArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SystemTopic Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SystemTopic resource accepts the following input properties:
- Resource
Group stringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Source
Arm stringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- Topic
Type string The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- Identity
System
Topic Identity An
identity
block as defined below.- Location string
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Name string
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- Dictionary<string, string>
A mapping of tags which should be assigned to the Event Grid System Topic.
- Resource
Group stringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Source
Arm stringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- Topic
Type string The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- Identity
System
Topic Identity Args An
identity
block as defined below.- Location string
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Name string
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- map[string]string
A mapping of tags which should be assigned to the Event Grid System Topic.
- resource
Group StringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source
Arm StringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- topic
Type String The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity
System
Topic Identity An
identity
block as defined below.- location String
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- name String
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- Map<String,String>
A mapping of tags which should be assigned to the Event Grid System Topic.
- resource
Group stringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source
Arm stringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- topic
Type string The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity
System
Topic Identity An
identity
block as defined below.- location string
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- name string
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- {[key: string]: string}
A mapping of tags which should be assigned to the Event Grid System Topic.
- resource_
group_ strname The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source_
arm_ strresource_ id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- topic_
type str The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity
System
Topic Identity Args An
identity
block as defined below.- location str
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- name str
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- Mapping[str, str]
A mapping of tags which should be assigned to the Event Grid System Topic.
- resource
Group StringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source
Arm StringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- topic
Type String The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity Property Map
An
identity
block as defined below.- location String
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- name String
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- Map<String>
A mapping of tags which should be assigned to the Event Grid System Topic.
Outputs
All input properties are implicitly available as output properties. Additionally, the SystemTopic resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Metric
Arm stringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- Id string
The provider-assigned unique ID for this managed resource.
- Metric
Arm stringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- id String
The provider-assigned unique ID for this managed resource.
- metric
Arm StringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- id string
The provider-assigned unique ID for this managed resource.
- metric
Arm stringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- id str
The provider-assigned unique ID for this managed resource.
- metric_
arm_ strresource_ id The Metric ARM Resource ID of the Event Grid System Topic.
- id String
The provider-assigned unique ID for this managed resource.
- metric
Arm StringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
Look up Existing SystemTopic Resource
Get an existing SystemTopic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SystemTopicState, opts?: CustomResourceOptions): SystemTopic
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
identity: Optional[SystemTopicIdentityArgs] = None,
location: Optional[str] = None,
metric_arm_resource_id: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
source_arm_resource_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
topic_type: Optional[str] = None) -> SystemTopic
func GetSystemTopic(ctx *Context, name string, id IDInput, state *SystemTopicState, opts ...ResourceOption) (*SystemTopic, error)
public static SystemTopic Get(string name, Input<string> id, SystemTopicState? state, CustomResourceOptions? opts = null)
public static SystemTopic get(String name, Output<String> id, SystemTopicState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Identity
System
Topic Identity An
identity
block as defined below.- Location string
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Metric
Arm stringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- Name string
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- Resource
Group stringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Source
Arm stringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- Dictionary<string, string>
A mapping of tags which should be assigned to the Event Grid System Topic.
- Topic
Type string The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- Identity
System
Topic Identity Args An
identity
block as defined below.- Location string
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Metric
Arm stringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- Name string
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- Resource
Group stringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- Source
Arm stringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- map[string]string
A mapping of tags which should be assigned to the Event Grid System Topic.
- Topic
Type string The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity
System
Topic Identity An
identity
block as defined below.- location String
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- metric
Arm StringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- name String
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- resource
Group StringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source
Arm StringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- Map<String,String>
A mapping of tags which should be assigned to the Event Grid System Topic.
- topic
Type String The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity
System
Topic Identity An
identity
block as defined below.- location string
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- metric
Arm stringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- name string
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- resource
Group stringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source
Arm stringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- {[key: string]: string}
A mapping of tags which should be assigned to the Event Grid System Topic.
- topic
Type string The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity
System
Topic Identity Args An
identity
block as defined below.- location str
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- metric_
arm_ strresource_ id The Metric ARM Resource ID of the Event Grid System Topic.
- name str
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- resource_
group_ strname The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source_
arm_ strresource_ id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- Mapping[str, str]
A mapping of tags which should be assigned to the Event Grid System Topic.
- topic_
type str The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
- identity Property Map
An
identity
block as defined below.- location String
The Azure Region where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- metric
Arm StringResource Id The Metric ARM Resource ID of the Event Grid System Topic.
- name String
The name which should be used for this Event Grid System Topic. Changing this forces a new Event Grid System Topic to be created.
- resource
Group StringName The name of the Resource Group where the Event Grid System Topic should exist. Changing this forces a new Event Grid System Topic to be created.
- source
Arm StringResource Id The ID of the Event Grid System Topic ARM Source. Changing this forces a new Event Grid System Topic to be created.
- Map<String>
A mapping of tags which should be assigned to the Event Grid System Topic.
- topic
Type String The Topic Type of the Event Grid System Topic. The topic type is validated by Azure and there may be additional topic types beyond the following:
Microsoft.AppConfiguration.ConfigurationStores
,Microsoft.Communication.CommunicationServices
,Microsoft.ContainerRegistry.Registries
,Microsoft.Devices.IoTHubs
,Microsoft.EventGrid.Domains
,Microsoft.EventGrid.Topics
,Microsoft.Eventhub.Namespaces
,Microsoft.KeyVault.vaults
,Microsoft.MachineLearningServices.Workspaces
,Microsoft.Maps.Accounts
,Microsoft.Media.MediaServices
,Microsoft.Resources.ResourceGroups
,Microsoft.Resources.Subscriptions
,Microsoft.ServiceBus.Namespaces
,Microsoft.SignalRService.SignalR
,Microsoft.Storage.StorageAccounts
,Microsoft.Web.ServerFarms
andMicrosoft.Web.Sites
. Changing this forces a new Event Grid System Topic to be created.NOTE: Some
topic_type
s (e.g. Microsoft.Resources.Subscriptions) requires location to be set toGlobal
instead of a real location likeWest US
.NOTE: You can use Azure CLI to get a full list of the available topic types:
az eventgrid topic-type list --output json | grep -w id
Supporting Types
SystemTopicIdentity, SystemTopicIdentityArgs
- Type string
Specifies the type of Managed Service Identity that should be configured on this Event Grid System Topic. Possible values are
SystemAssigned
,UserAssigned
.- Identity
Ids List<string> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid System Topic.
NOTE: This is required when
type
is set toUserAssigned
NOTE: When
type
is set toSystemAssigned
, The assignedprincipal_id
andtenant_id
can be retrieved after the Event Grid System Topic has been created. More details are available below.- Principal
Id string The Principal ID associated with this Managed Service Identity.
- Tenant
Id string The Tenant ID associated with this Managed Service Identity.
- Type string
Specifies the type of Managed Service Identity that should be configured on this Event Grid System Topic. Possible values are
SystemAssigned
,UserAssigned
.- Identity
Ids []string Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid System Topic.
NOTE: This is required when
type
is set toUserAssigned
NOTE: When
type
is set toSystemAssigned
, The assignedprincipal_id
andtenant_id
can be retrieved after the Event Grid System Topic has been created. More details are available below.- Principal
Id string The Principal ID associated with this Managed Service Identity.
- Tenant
Id string The Tenant ID associated with this Managed Service Identity.
- type String
Specifies the type of Managed Service Identity that should be configured on this Event Grid System Topic. Possible values are
SystemAssigned
,UserAssigned
.- identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid System Topic.
NOTE: This is required when
type
is set toUserAssigned
NOTE: When
type
is set toSystemAssigned
, The assignedprincipal_id
andtenant_id
can be retrieved after the Event Grid System Topic has been created. More details are available below.- principal
Id String The Principal ID associated with this Managed Service Identity.
- tenant
Id String The Tenant ID associated with this Managed Service Identity.
- type string
Specifies the type of Managed Service Identity that should be configured on this Event Grid System Topic. Possible values are
SystemAssigned
,UserAssigned
.- identity
Ids string[] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid System Topic.
NOTE: This is required when
type
is set toUserAssigned
NOTE: When
type
is set toSystemAssigned
, The assignedprincipal_id
andtenant_id
can be retrieved after the Event Grid System Topic has been created. More details are available below.- principal
Id string The Principal ID associated with this Managed Service Identity.
- tenant
Id string The Tenant ID associated with this Managed Service Identity.
- type str
Specifies the type of Managed Service Identity that should be configured on this Event Grid System Topic. Possible values are
SystemAssigned
,UserAssigned
.- identity_
ids Sequence[str] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid System Topic.
NOTE: This is required when
type
is set toUserAssigned
NOTE: When
type
is set toSystemAssigned
, The assignedprincipal_id
andtenant_id
can be retrieved after the Event Grid System Topic has been created. More details are available below.- principal_
id str The Principal ID associated with this Managed Service Identity.
- tenant_
id str The Tenant ID associated with this Managed Service Identity.
- type String
Specifies the type of Managed Service Identity that should be configured on this Event Grid System Topic. Possible values are
SystemAssigned
,UserAssigned
.- identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Event Grid System Topic.
NOTE: This is required when
type
is set toUserAssigned
NOTE: When
type
is set toSystemAssigned
, The assignedprincipal_id
andtenant_id
can be retrieved after the Event Grid System Topic has been created. More details are available below.- principal
Id String The Principal ID associated with this Managed Service Identity.
- tenant
Id String The Tenant ID associated with this Managed Service Identity.
Import
Event Grid System Topic can be imported using the resource id
, e.g.
$ pulumi import azure:eventgrid/systemTopic:SystemTopic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.EventGrid/systemTopics/systemTopic1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.