1. Packages
  2. Azure Native v1
  3. API Docs
  4. eventgrid
  5. Topic
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.eventgrid.Topic

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    EventGrid Topic API Version: 2020-06-01.

    Example Usage

    Topics_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var topic = new AzureNative.EventGrid.Topic("topic", new()
        {
            InboundIpRules = new[]
            {
                new AzureNative.EventGrid.Inputs.InboundIpRuleArgs
                {
                    Action = "Allow",
                    IpMask = "12.18.30.15",
                },
                new AzureNative.EventGrid.Inputs.InboundIpRuleArgs
                {
                    Action = "Allow",
                    IpMask = "12.18.176.1",
                },
            },
            Location = "westus2",
            PublicNetworkAccess = "Enabled",
            ResourceGroupName = "examplerg",
            Tags = 
            {
                { "tag1", "value1" },
                { "tag2", "value2" },
            },
            TopicName = "exampletopic1",
        });
    
    });
    
    package main
    
    import (
    	eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := eventgrid.NewTopic(ctx, "topic", &eventgrid.TopicArgs{
    			InboundIpRules: []eventgrid.InboundIpRuleArgs{
    				{
    					Action: pulumi.String("Allow"),
    					IpMask: pulumi.String("12.18.30.15"),
    				},
    				{
    					Action: pulumi.String("Allow"),
    					IpMask: pulumi.String("12.18.176.1"),
    				},
    			},
    			Location:            pulumi.String("westus2"),
    			PublicNetworkAccess: pulumi.String("Enabled"),
    			ResourceGroupName:   pulumi.String("examplerg"),
    			Tags: pulumi.StringMap{
    				"tag1": pulumi.String("value1"),
    				"tag2": pulumi.String("value2"),
    			},
    			TopicName: pulumi.String("exampletopic1"),
    		})
    		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.azurenative.eventgrid.Topic;
    import com.pulumi.azurenative.eventgrid.TopicArgs;
    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 topic = new Topic("topic", TopicArgs.builder()        
                .inboundIpRules(            
                    Map.ofEntries(
                        Map.entry("action", "Allow"),
                        Map.entry("ipMask", "12.18.30.15")
                    ),
                    Map.ofEntries(
                        Map.entry("action", "Allow"),
                        Map.entry("ipMask", "12.18.176.1")
                    ))
                .location("westus2")
                .publicNetworkAccess("Enabled")
                .resourceGroupName("examplerg")
                .tags(Map.ofEntries(
                    Map.entry("tag1", "value1"),
                    Map.entry("tag2", "value2")
                ))
                .topicName("exampletopic1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    topic = azure_native.eventgrid.Topic("topic",
        inbound_ip_rules=[
            azure_native.eventgrid.InboundIpRuleArgs(
                action="Allow",
                ip_mask="12.18.30.15",
            ),
            azure_native.eventgrid.InboundIpRuleArgs(
                action="Allow",
                ip_mask="12.18.176.1",
            ),
        ],
        location="westus2",
        public_network_access="Enabled",
        resource_group_name="examplerg",
        tags={
            "tag1": "value1",
            "tag2": "value2",
        },
        topic_name="exampletopic1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const topic = new azure_native.eventgrid.Topic("topic", {
        inboundIpRules: [
            {
                action: "Allow",
                ipMask: "12.18.30.15",
            },
            {
                action: "Allow",
                ipMask: "12.18.176.1",
            },
        ],
        location: "westus2",
        publicNetworkAccess: "Enabled",
        resourceGroupName: "examplerg",
        tags: {
            tag1: "value1",
            tag2: "value2",
        },
        topicName: "exampletopic1",
    });
    
    resources:
      topic:
        type: azure-native:eventgrid:Topic
        properties:
          inboundIpRules:
            - action: Allow
              ipMask: 12.18.30.15
            - action: Allow
              ipMask: 12.18.176.1
          location: westus2
          publicNetworkAccess: Enabled
          resourceGroupName: examplerg
          tags:
            tag1: value1
            tag2: value2
          topicName: exampletopic1
    

    Create Topic Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Topic(name: string, args: TopicArgs, opts?: CustomResourceOptions);
    @overload
    def Topic(resource_name: str,
              args: TopicArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Topic(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              inbound_ip_rules: Optional[Sequence[InboundIpRuleArgs]] = None,
              input_schema: Optional[Union[str, InputSchema]] = None,
              input_schema_mapping: Optional[JsonInputSchemaMappingArgs] = None,
              location: Optional[str] = None,
              public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
              tags: Optional[Mapping[str, str]] = None,
              topic_name: Optional[str] = None)
    func NewTopic(ctx *Context, name string, args TopicArgs, opts ...ResourceOption) (*Topic, error)
    public Topic(string name, TopicArgs args, CustomResourceOptions? opts = null)
    public Topic(String name, TopicArgs args)
    public Topic(String name, TopicArgs args, CustomResourceOptions options)
    
    type: azure-native:eventgrid:Topic
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TopicArgs
    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 TopicArgs
    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 TopicArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TopicArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TopicArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var topicResource = new AzureNative.Eventgrid.Topic("topicResource", new()
    {
        ResourceGroupName = "string",
        InboundIpRules = new[]
        {
            
            {
                { "action", "string" },
                { "ipMask", "string" },
            },
        },
        InputSchema = "string",
        InputSchemaMapping = 
        {
            { "inputSchemaMappingType", "Json" },
            { "dataVersion", 
            {
                { "defaultValue", "string" },
                { "sourceField", "string" },
            } },
            { "eventTime", 
            {
                { "sourceField", "string" },
            } },
            { "eventType", 
            {
                { "defaultValue", "string" },
                { "sourceField", "string" },
            } },
            { "id", 
            {
                { "sourceField", "string" },
            } },
            { "subject", 
            {
                { "defaultValue", "string" },
                { "sourceField", "string" },
            } },
            { "topic", 
            {
                { "sourceField", "string" },
            } },
        },
        Location = "string",
        PublicNetworkAccess = "string",
        Tags = 
        {
            { "string", "string" },
        },
        TopicName = "string",
    });
    
    example, err := eventgrid.NewTopic(ctx, "topicResource", &eventgrid.TopicArgs{
    	ResourceGroupName: "string",
    	InboundIpRules: []map[string]interface{}{
    		map[string]interface{}{
    			"action": "string",
    			"ipMask": "string",
    		},
    	},
    	InputSchema: "string",
    	InputSchemaMapping: map[string]interface{}{
    		"inputSchemaMappingType": "Json",
    		"dataVersion": map[string]interface{}{
    			"defaultValue": "string",
    			"sourceField":  "string",
    		},
    		"eventTime": map[string]interface{}{
    			"sourceField": "string",
    		},
    		"eventType": map[string]interface{}{
    			"defaultValue": "string",
    			"sourceField":  "string",
    		},
    		"id": map[string]interface{}{
    			"sourceField": "string",
    		},
    		"subject": map[string]interface{}{
    			"defaultValue": "string",
    			"sourceField":  "string",
    		},
    		"topic": map[string]interface{}{
    			"sourceField": "string",
    		},
    	},
    	Location:            "string",
    	PublicNetworkAccess: "string",
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    	TopicName: "string",
    })
    
    var topicResource = new Topic("topicResource", TopicArgs.builder()
        .resourceGroupName("string")
        .inboundIpRules(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .inputSchema("string")
        .inputSchemaMapping(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .location("string")
        .publicNetworkAccess("string")
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .topicName("string")
        .build());
    
    topic_resource = azure_native.eventgrid.Topic("topicResource",
        resource_group_name=string,
        inbound_ip_rules=[{
            action: string,
            ipMask: string,
        }],
        input_schema=string,
        input_schema_mapping={
            inputSchemaMappingType: Json,
            dataVersion: {
                defaultValue: string,
                sourceField: string,
            },
            eventTime: {
                sourceField: string,
            },
            eventType: {
                defaultValue: string,
                sourceField: string,
            },
            id: {
                sourceField: string,
            },
            subject: {
                defaultValue: string,
                sourceField: string,
            },
            topic: {
                sourceField: string,
            },
        },
        location=string,
        public_network_access=string,
        tags={
            string: string,
        },
        topic_name=string)
    
    const topicResource = new azure_native.eventgrid.Topic("topicResource", {
        resourceGroupName: "string",
        inboundIpRules: [{
            action: "string",
            ipMask: "string",
        }],
        inputSchema: "string",
        inputSchemaMapping: {
            inputSchemaMappingType: "Json",
            dataVersion: {
                defaultValue: "string",
                sourceField: "string",
            },
            eventTime: {
                sourceField: "string",
            },
            eventType: {
                defaultValue: "string",
                sourceField: "string",
            },
            id: {
                sourceField: "string",
            },
            subject: {
                defaultValue: "string",
                sourceField: "string",
            },
            topic: {
                sourceField: "string",
            },
        },
        location: "string",
        publicNetworkAccess: "string",
        tags: {
            string: "string",
        },
        topicName: "string",
    });
    
    type: azure-native:eventgrid:Topic
    properties:
        inboundIpRules:
            - action: string
              ipMask: string
        inputSchema: string
        inputSchemaMapping:
            dataVersion:
                defaultValue: string
                sourceField: string
            eventTime:
                sourceField: string
            eventType:
                defaultValue: string
                sourceField: string
            id:
                sourceField: string
            inputSchemaMappingType: Json
            subject:
                defaultValue: string
                sourceField: string
            topic:
                sourceField: string
        location: string
        publicNetworkAccess: string
        resourceGroupName: string
        tags:
            string: string
        topicName: string
    

    Topic Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Topic resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group within the user's subscription.
    InboundIpRules List<Pulumi.AzureNative.EventGrid.Inputs.InboundIpRule>
    This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
    InputSchema string | Pulumi.AzureNative.EventGrid.InputSchema
    This determines the format that Event Grid should expect for incoming events published to the topic.
    InputSchemaMapping Pulumi.AzureNative.EventGrid.Inputs.JsonInputSchemaMapping
    This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
    Location string
    Location of the resource.
    PublicNetworkAccess string | Pulumi.AzureNative.EventGrid.PublicNetworkAccess
    This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
    Tags Dictionary<string, string>
    Tags of the resource.
    TopicName string
    Name of the topic.
    ResourceGroupName string
    The name of the resource group within the user's subscription.
    InboundIpRules []InboundIpRuleArgs
    This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
    InputSchema string | InputSchema
    This determines the format that Event Grid should expect for incoming events published to the topic.
    InputSchemaMapping JsonInputSchemaMappingArgs
    This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
    Location string
    Location of the resource.
    PublicNetworkAccess string | PublicNetworkAccess
    This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
    Tags map[string]string
    Tags of the resource.
    TopicName string
    Name of the topic.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    inboundIpRules List<InboundIpRule>
    This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
    inputSchema String | InputSchema
    This determines the format that Event Grid should expect for incoming events published to the topic.
    inputSchemaMapping JsonInputSchemaMapping
    This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
    location String
    Location of the resource.
    publicNetworkAccess String | PublicNetworkAccess
    This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
    tags Map<String,String>
    Tags of the resource.
    topicName String
    Name of the topic.
    resourceGroupName string
    The name of the resource group within the user's subscription.
    inboundIpRules InboundIpRule[]
    This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
    inputSchema string | InputSchema
    This determines the format that Event Grid should expect for incoming events published to the topic.
    inputSchemaMapping JsonInputSchemaMapping
    This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
    location string
    Location of the resource.
    publicNetworkAccess string | PublicNetworkAccess
    This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
    tags {[key: string]: string}
    Tags of the resource.
    topicName string
    Name of the topic.
    resource_group_name str
    The name of the resource group within the user's subscription.
    inbound_ip_rules Sequence[InboundIpRuleArgs]
    This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
    input_schema str | InputSchema
    This determines the format that Event Grid should expect for incoming events published to the topic.
    input_schema_mapping JsonInputSchemaMappingArgs
    This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
    location str
    Location of the resource.
    public_network_access str | PublicNetworkAccess
    This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
    tags Mapping[str, str]
    Tags of the resource.
    topic_name str
    Name of the topic.
    resourceGroupName String
    The name of the resource group within the user's subscription.
    inboundIpRules List<Property Map>
    This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
    inputSchema String | "EventGridSchema" | "CustomEventSchema" | "CloudEventSchemaV1_0"
    This determines the format that Event Grid should expect for incoming events published to the topic.
    inputSchemaMapping Property Map
    This enables publishing using custom event schemas. An InputSchemaMapping can be specified to map various properties of a source schema to various required properties of the EventGridEvent schema.
    location String
    Location of the resource.
    publicNetworkAccess String | "Enabled" | "Disabled"
    This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
    tags Map<String>
    Tags of the resource.
    topicName String
    Name of the topic.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Topic resource produces the following output properties:

    Endpoint string
    Endpoint for the topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    MetricResourceId string
    Metric resource id for the topic.
    Name string
    Name of the resource.
    PrivateEndpointConnections List<Pulumi.AzureNative.EventGrid.Outputs.PrivateEndpointConnectionResponse>
    ProvisioningState string
    Provisioning state of the topic.
    SystemData Pulumi.AzureNative.EventGrid.Outputs.SystemDataResponse
    The system metadata relating to Topic resource.
    Type string
    Type of the resource.
    Endpoint string
    Endpoint for the topic.
    Id string
    The provider-assigned unique ID for this managed resource.
    MetricResourceId string
    Metric resource id for the topic.
    Name string
    Name of the resource.
    PrivateEndpointConnections []PrivateEndpointConnectionResponse
    ProvisioningState string
    Provisioning state of the topic.
    SystemData SystemDataResponse
    The system metadata relating to Topic resource.
    Type string
    Type of the resource.
    endpoint String
    Endpoint for the topic.
    id String
    The provider-assigned unique ID for this managed resource.
    metricResourceId String
    Metric resource id for the topic.
    name String
    Name of the resource.
    privateEndpointConnections List<PrivateEndpointConnectionResponse>
    provisioningState String
    Provisioning state of the topic.
    systemData SystemDataResponse
    The system metadata relating to Topic resource.
    type String
    Type of the resource.
    endpoint string
    Endpoint for the topic.
    id string
    The provider-assigned unique ID for this managed resource.
    metricResourceId string
    Metric resource id for the topic.
    name string
    Name of the resource.
    privateEndpointConnections PrivateEndpointConnectionResponse[]
    provisioningState string
    Provisioning state of the topic.
    systemData SystemDataResponse
    The system metadata relating to Topic resource.
    type string
    Type of the resource.
    endpoint str
    Endpoint for the topic.
    id str
    The provider-assigned unique ID for this managed resource.
    metric_resource_id str
    Metric resource id for the topic.
    name str
    Name of the resource.
    private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]
    provisioning_state str
    Provisioning state of the topic.
    system_data SystemDataResponse
    The system metadata relating to Topic resource.
    type str
    Type of the resource.
    endpoint String
    Endpoint for the topic.
    id String
    The provider-assigned unique ID for this managed resource.
    metricResourceId String
    Metric resource id for the topic.
    name String
    Name of the resource.
    privateEndpointConnections List<Property Map>
    provisioningState String
    Provisioning state of the topic.
    systemData Property Map
    The system metadata relating to Topic resource.
    type String
    Type of the resource.

    Supporting Types

    ConnectionStateResponse, ConnectionStateResponseArgs

    ActionsRequired string
    Actions required (if any).
    Description string
    Description of the connection state.
    Status string
    Status of the connection.
    ActionsRequired string
    Actions required (if any).
    Description string
    Description of the connection state.
    Status string
    Status of the connection.
    actionsRequired String
    Actions required (if any).
    description String
    Description of the connection state.
    status String
    Status of the connection.
    actionsRequired string
    Actions required (if any).
    description string
    Description of the connection state.
    status string
    Status of the connection.
    actions_required str
    Actions required (if any).
    description str
    Description of the connection state.
    status str
    Status of the connection.
    actionsRequired String
    Actions required (if any).
    description String
    Description of the connection state.
    status String
    Status of the connection.

    InboundIpRule, InboundIpRuleArgs

    Action string | Pulumi.AzureNative.EventGrid.IpActionType
    Action to perform based on the match or no match of the IpMask.
    IpMask string
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    Action string | IpActionType
    Action to perform based on the match or no match of the IpMask.
    IpMask string
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action String | IpActionType
    Action to perform based on the match or no match of the IpMask.
    ipMask String
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action string | IpActionType
    Action to perform based on the match or no match of the IpMask.
    ipMask string
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action str | IpActionType
    Action to perform based on the match or no match of the IpMask.
    ip_mask str
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action String | "Allow"
    Action to perform based on the match or no match of the IpMask.
    ipMask String
    IP Address in CIDR notation e.g., 10.0.0.0/8.

    InboundIpRuleResponse, InboundIpRuleResponseArgs

    Action string
    Action to perform based on the match or no match of the IpMask.
    IpMask string
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    Action string
    Action to perform based on the match or no match of the IpMask.
    IpMask string
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action String
    Action to perform based on the match or no match of the IpMask.
    ipMask String
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action string
    Action to perform based on the match or no match of the IpMask.
    ipMask string
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action str
    Action to perform based on the match or no match of the IpMask.
    ip_mask str
    IP Address in CIDR notation e.g., 10.0.0.0/8.
    action String
    Action to perform based on the match or no match of the IpMask.
    ipMask String
    IP Address in CIDR notation e.g., 10.0.0.0/8.

    InputSchema, InputSchemaArgs

    EventGridSchema
    EventGridSchema
    CustomEventSchema
    CustomEventSchema
    CloudEventSchemaV1_0
    CloudEventSchemaV1_0
    InputSchemaEventGridSchema
    EventGridSchema
    InputSchemaCustomEventSchema
    CustomEventSchema
    InputSchema_CloudEventSchemaV1_0
    CloudEventSchemaV1_0
    EventGridSchema
    EventGridSchema
    CustomEventSchema
    CustomEventSchema
    CloudEventSchemaV1_0
    CloudEventSchemaV1_0
    EventGridSchema
    EventGridSchema
    CustomEventSchema
    CustomEventSchema
    CloudEventSchemaV1_0
    CloudEventSchemaV1_0
    EVENT_GRID_SCHEMA
    EventGridSchema
    CUSTOM_EVENT_SCHEMA
    CustomEventSchema
    CLOUD_EVENT_SCHEMA_V1_0
    CloudEventSchemaV1_0
    "EventGridSchema"
    EventGridSchema
    "CustomEventSchema"
    CustomEventSchema
    "CloudEventSchemaV1_0"
    CloudEventSchemaV1_0

    IpActionType, IpActionTypeArgs

    Allow
    Allow
    IpActionTypeAllow
    Allow
    Allow
    Allow
    Allow
    Allow
    ALLOW
    Allow
    "Allow"
    Allow

    JsonField, JsonFieldArgs

    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.
    sourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    source_field str
    Name of a field in the input event schema that's to be used as the source of a mapping.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.

    JsonFieldResponse, JsonFieldResponseArgs

    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.
    sourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    source_field str
    Name of a field in the input event schema that's to be used as the source of a mapping.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.

    JsonFieldWithDefault, JsonFieldWithDefaultArgs

    DefaultValue string
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    DefaultValue string
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    defaultValue String
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.
    defaultValue string
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    sourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    default_value str
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    source_field str
    Name of a field in the input event schema that's to be used as the source of a mapping.
    defaultValue String
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.

    JsonFieldWithDefaultResponse, JsonFieldWithDefaultResponseArgs

    DefaultValue string
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    DefaultValue string
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    SourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    defaultValue String
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.
    defaultValue string
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    sourceField string
    Name of a field in the input event schema that's to be used as the source of a mapping.
    default_value str
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    source_field str
    Name of a field in the input event schema that's to be used as the source of a mapping.
    defaultValue String
    The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload.
    sourceField String
    Name of a field in the input event schema that's to be used as the source of a mapping.

    JsonInputSchemaMapping, JsonInputSchemaMappingArgs

    DataVersion Pulumi.AzureNative.EventGrid.Inputs.JsonFieldWithDefault
    The mapping information for the DataVersion property of the Event Grid Event.
    EventTime Pulumi.AzureNative.EventGrid.Inputs.JsonField
    The mapping information for the EventTime property of the Event Grid Event.
    EventType Pulumi.AzureNative.EventGrid.Inputs.JsonFieldWithDefault
    The mapping information for the EventType property of the Event Grid Event.
    Id Pulumi.AzureNative.EventGrid.Inputs.JsonField
    The mapping information for the Id property of the Event Grid Event.
    Subject Pulumi.AzureNative.EventGrid.Inputs.JsonFieldWithDefault
    The mapping information for the Subject property of the Event Grid Event.
    Topic Pulumi.AzureNative.EventGrid.Inputs.JsonField
    The mapping information for the Topic property of the Event Grid Event.
    DataVersion JsonFieldWithDefault
    The mapping information for the DataVersion property of the Event Grid Event.
    EventTime JsonField
    The mapping information for the EventTime property of the Event Grid Event.
    EventType JsonFieldWithDefault
    The mapping information for the EventType property of the Event Grid Event.
    Id JsonField
    The mapping information for the Id property of the Event Grid Event.
    Subject JsonFieldWithDefault
    The mapping information for the Subject property of the Event Grid Event.
    Topic JsonField
    The mapping information for the Topic property of the Event Grid Event.
    dataVersion JsonFieldWithDefault
    The mapping information for the DataVersion property of the Event Grid Event.
    eventTime JsonField
    The mapping information for the EventTime property of the Event Grid Event.
    eventType JsonFieldWithDefault
    The mapping information for the EventType property of the Event Grid Event.
    id JsonField
    The mapping information for the Id property of the Event Grid Event.
    subject JsonFieldWithDefault
    The mapping information for the Subject property of the Event Grid Event.
    topic JsonField
    The mapping information for the Topic property of the Event Grid Event.
    dataVersion JsonFieldWithDefault
    The mapping information for the DataVersion property of the Event Grid Event.
    eventTime JsonField
    The mapping information for the EventTime property of the Event Grid Event.
    eventType JsonFieldWithDefault
    The mapping information for the EventType property of the Event Grid Event.
    id JsonField
    The mapping information for the Id property of the Event Grid Event.
    subject JsonFieldWithDefault
    The mapping information for the Subject property of the Event Grid Event.
    topic JsonField
    The mapping information for the Topic property of the Event Grid Event.
    data_version JsonFieldWithDefault
    The mapping information for the DataVersion property of the Event Grid Event.
    event_time JsonField
    The mapping information for the EventTime property of the Event Grid Event.
    event_type JsonFieldWithDefault
    The mapping information for the EventType property of the Event Grid Event.
    id JsonField
    The mapping information for the Id property of the Event Grid Event.
    subject JsonFieldWithDefault
    The mapping information for the Subject property of the Event Grid Event.
    topic JsonField
    The mapping information for the Topic property of the Event Grid Event.
    dataVersion Property Map
    The mapping information for the DataVersion property of the Event Grid Event.
    eventTime Property Map
    The mapping information for the EventTime property of the Event Grid Event.
    eventType Property Map
    The mapping information for the EventType property of the Event Grid Event.
    id Property Map
    The mapping information for the Id property of the Event Grid Event.
    subject Property Map
    The mapping information for the Subject property of the Event Grid Event.
    topic Property Map
    The mapping information for the Topic property of the Event Grid Event.

    JsonInputSchemaMappingResponse, JsonInputSchemaMappingResponseArgs

    DataVersion Pulumi.AzureNative.EventGrid.Inputs.JsonFieldWithDefaultResponse
    The mapping information for the DataVersion property of the Event Grid Event.
    EventTime Pulumi.AzureNative.EventGrid.Inputs.JsonFieldResponse
    The mapping information for the EventTime property of the Event Grid Event.
    EventType Pulumi.AzureNative.EventGrid.Inputs.JsonFieldWithDefaultResponse
    The mapping information for the EventType property of the Event Grid Event.
    Id Pulumi.AzureNative.EventGrid.Inputs.JsonFieldResponse
    The mapping information for the Id property of the Event Grid Event.
    Subject Pulumi.AzureNative.EventGrid.Inputs.JsonFieldWithDefaultResponse
    The mapping information for the Subject property of the Event Grid Event.
    Topic Pulumi.AzureNative.EventGrid.Inputs.JsonFieldResponse
    The mapping information for the Topic property of the Event Grid Event.
    DataVersion JsonFieldWithDefaultResponse
    The mapping information for the DataVersion property of the Event Grid Event.
    EventTime JsonFieldResponse
    The mapping information for the EventTime property of the Event Grid Event.
    EventType JsonFieldWithDefaultResponse
    The mapping information for the EventType property of the Event Grid Event.
    Id JsonFieldResponse
    The mapping information for the Id property of the Event Grid Event.
    Subject JsonFieldWithDefaultResponse
    The mapping information for the Subject property of the Event Grid Event.
    Topic JsonFieldResponse
    The mapping information for the Topic property of the Event Grid Event.
    dataVersion JsonFieldWithDefaultResponse
    The mapping information for the DataVersion property of the Event Grid Event.
    eventTime JsonFieldResponse
    The mapping information for the EventTime property of the Event Grid Event.
    eventType JsonFieldWithDefaultResponse
    The mapping information for the EventType property of the Event Grid Event.
    id JsonFieldResponse
    The mapping information for the Id property of the Event Grid Event.
    subject JsonFieldWithDefaultResponse
    The mapping information for the Subject property of the Event Grid Event.
    topic JsonFieldResponse
    The mapping information for the Topic property of the Event Grid Event.
    dataVersion JsonFieldWithDefaultResponse
    The mapping information for the DataVersion property of the Event Grid Event.
    eventTime JsonFieldResponse
    The mapping information for the EventTime property of the Event Grid Event.
    eventType JsonFieldWithDefaultResponse
    The mapping information for the EventType property of the Event Grid Event.
    id JsonFieldResponse
    The mapping information for the Id property of the Event Grid Event.
    subject JsonFieldWithDefaultResponse
    The mapping information for the Subject property of the Event Grid Event.
    topic JsonFieldResponse
    The mapping information for the Topic property of the Event Grid Event.
    data_version JsonFieldWithDefaultResponse
    The mapping information for the DataVersion property of the Event Grid Event.
    event_time JsonFieldResponse
    The mapping information for the EventTime property of the Event Grid Event.
    event_type JsonFieldWithDefaultResponse
    The mapping information for the EventType property of the Event Grid Event.
    id JsonFieldResponse
    The mapping information for the Id property of the Event Grid Event.
    subject JsonFieldWithDefaultResponse
    The mapping information for the Subject property of the Event Grid Event.
    topic JsonFieldResponse
    The mapping information for the Topic property of the Event Grid Event.
    dataVersion Property Map
    The mapping information for the DataVersion property of the Event Grid Event.
    eventTime Property Map
    The mapping information for the EventTime property of the Event Grid Event.
    eventType Property Map
    The mapping information for the EventType property of the Event Grid Event.
    id Property Map
    The mapping information for the Id property of the Event Grid Event.
    subject Property Map
    The mapping information for the Subject property of the Event Grid Event.
    topic Property Map
    The mapping information for the Topic property of the Event Grid Event.

    PrivateEndpointConnectionResponse, PrivateEndpointConnectionResponseArgs

    Id string
    Fully qualified identifier of the resource.
    Name string
    Name of the resource.
    Type string
    Type of the resource.
    GroupIds List<string>
    GroupIds from the private link service resource.
    PrivateEndpoint Pulumi.AzureNative.EventGrid.Inputs.PrivateEndpointResponse
    The Private Endpoint resource for this Connection.
    PrivateLinkServiceConnectionState Pulumi.AzureNative.EventGrid.Inputs.ConnectionStateResponse
    Details about the state of the connection.
    ProvisioningState string
    Provisioning state of the Private Endpoint Connection.
    Id string
    Fully qualified identifier of the resource.
    Name string
    Name of the resource.
    Type string
    Type of the resource.
    GroupIds []string
    GroupIds from the private link service resource.
    PrivateEndpoint PrivateEndpointResponse
    The Private Endpoint resource for this Connection.
    PrivateLinkServiceConnectionState ConnectionStateResponse
    Details about the state of the connection.
    ProvisioningState string
    Provisioning state of the Private Endpoint Connection.
    id String
    Fully qualified identifier of the resource.
    name String
    Name of the resource.
    type String
    Type of the resource.
    groupIds List<String>
    GroupIds from the private link service resource.
    privateEndpoint PrivateEndpointResponse
    The Private Endpoint resource for this Connection.
    privateLinkServiceConnectionState ConnectionStateResponse
    Details about the state of the connection.
    provisioningState String
    Provisioning state of the Private Endpoint Connection.
    id string
    Fully qualified identifier of the resource.
    name string
    Name of the resource.
    type string
    Type of the resource.
    groupIds string[]
    GroupIds from the private link service resource.
    privateEndpoint PrivateEndpointResponse
    The Private Endpoint resource for this Connection.
    privateLinkServiceConnectionState ConnectionStateResponse
    Details about the state of the connection.
    provisioningState string
    Provisioning state of the Private Endpoint Connection.
    id str
    Fully qualified identifier of the resource.
    name str
    Name of the resource.
    type str
    Type of the resource.
    group_ids Sequence[str]
    GroupIds from the private link service resource.
    private_endpoint PrivateEndpointResponse
    The Private Endpoint resource for this Connection.
    private_link_service_connection_state ConnectionStateResponse
    Details about the state of the connection.
    provisioning_state str
    Provisioning state of the Private Endpoint Connection.
    id String
    Fully qualified identifier of the resource.
    name String
    Name of the resource.
    type String
    Type of the resource.
    groupIds List<String>
    GroupIds from the private link service resource.
    privateEndpoint Property Map
    The Private Endpoint resource for this Connection.
    privateLinkServiceConnectionState Property Map
    Details about the state of the connection.
    provisioningState String
    Provisioning state of the Private Endpoint Connection.

    PrivateEndpointResponse, PrivateEndpointResponseArgs

    Id string
    The ARM identifier for Private Endpoint.
    Id string
    The ARM identifier for Private Endpoint.
    id String
    The ARM identifier for Private Endpoint.
    id string
    The ARM identifier for Private Endpoint.
    id str
    The ARM identifier for Private Endpoint.
    id String
    The ARM identifier for Private Endpoint.

    PublicNetworkAccess, PublicNetworkAccessArgs

    Enabled
    Enabled
    Disabled
    Disabled
    PublicNetworkAccessEnabled
    Enabled
    PublicNetworkAccessDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:eventgrid:Topic exampletopic1 /subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/topics/exampletopic1 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi