azure-native.eventgrid.Topic
Explore with Pulumi AI
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)
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
The Topic resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group within the user's subscription.
- Inbound
Ip List<Pulumi.Rules Azure Native. Event Grid. Inputs. Inbound Ip Rule> - 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 string | Pulumi.Azure Native. Event Grid. Input Schema - This determines the format that Event Grid should expect for incoming events published to the topic.
- Input
Schema Pulumi.Mapping Azure Native. Event Grid. Inputs. Json Input Schema Mapping - 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.
- Public
Network string | Pulumi.Access Azure Native. Event Grid. Public Network Access - This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
- Dictionary<string, string>
- Tags of the resource.
- Topic
Name string - Name of the topic.
- Resource
Group stringName - The name of the resource group within the user's subscription.
- Inbound
Ip []InboundRules Ip Rule Args - 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 string | InputSchema - This determines the format that Event Grid should expect for incoming events published to the topic.
- Input
Schema JsonMapping Input Schema Mapping Args - 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.
- Public
Network string | PublicAccess Network Access - This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
- map[string]string
- Tags of the resource.
- Topic
Name string - Name of the topic.
- resource
Group StringName - The name of the resource group within the user's subscription.
- inbound
Ip List<InboundRules Ip Rule> - 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 String | InputSchema - This determines the format that Event Grid should expect for incoming events published to the topic.
- input
Schema JsonMapping Input Schema Mapping - 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.
- public
Network String | PublicAccess Network Access - This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
- Map<String,String>
- Tags of the resource.
- topic
Name String - Name of the topic.
- resource
Group stringName - The name of the resource group within the user's subscription.
- inbound
Ip InboundRules Ip Rule[] - 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 string | InputSchema - This determines the format that Event Grid should expect for incoming events published to the topic.
- input
Schema JsonMapping Input Schema Mapping - 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.
- public
Network string | PublicAccess Network Access - This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
- {[key: string]: string}
- Tags of the resource.
- topic
Name string - Name of the topic.
- resource_
group_ strname - The name of the resource group within the user's subscription.
- inbound_
ip_ Sequence[Inboundrules Ip Rule Args] - 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_ Jsonmapping Input Schema Mapping Args - 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_ str | Publicaccess Network Access - This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
- Mapping[str, str]
- Tags of the resource.
- topic_
name str - Name of the topic.
- resource
Group StringName - The name of the resource group within the user's subscription.
- inbound
Ip List<Property Map>Rules - 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 String | "EventGrid Schema" | "Custom Event Schema" | "Cloud Event Schema V1_0" - This determines the format that Event Grid should expect for incoming events published to the topic.
- input
Schema Property MapMapping - 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.
- public
Network String | "Enabled" | "Disabled"Access - This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring
- Map<String>
- Tags of the resource.
- topic
Name 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.
- Metric
Resource stringId - Metric resource id for the topic.
- Name string
- Name of the resource.
- Private
Endpoint List<Pulumi.Connections Azure Native. Event Grid. Outputs. Private Endpoint Connection Response> - Provisioning
State string - Provisioning state of the topic.
- System
Data Pulumi.Azure Native. Event Grid. Outputs. System Data Response - 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.
- Metric
Resource stringId - Metric resource id for the topic.
- Name string
- Name of the resource.
- Private
Endpoint []PrivateConnections Endpoint Connection Response - Provisioning
State string - Provisioning state of the topic.
- System
Data SystemData Response - 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.
- metric
Resource StringId - Metric resource id for the topic.
- name String
- Name of the resource.
- private
Endpoint List<PrivateConnections Endpoint Connection Response> - provisioning
State String - Provisioning state of the topic.
- system
Data SystemData Response - 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.
- metric
Resource stringId - Metric resource id for the topic.
- name string
- Name of the resource.
- private
Endpoint PrivateConnections Endpoint Connection Response[] - provisioning
State string - Provisioning state of the topic.
- system
Data SystemData Response - 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_ strid - Metric resource id for the topic.
- name str
- Name of the resource.
- private_
endpoint_ Sequence[Privateconnections Endpoint Connection Response] - provisioning_
state str - Provisioning state of the topic.
- system_
data SystemData Response - 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.
- metric
Resource StringId - Metric resource id for the topic.
- name String
- Name of the resource.
- private
Endpoint List<Property Map>Connections - provisioning
State String - Provisioning state of the topic.
- system
Data Property Map - The system metadata relating to Topic resource.
- type String
- Type of the resource.
Supporting Types
ConnectionStateResponse, ConnectionStateResponseArgs
- Actions
Required string - Actions required (if any).
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- Actions
Required string - Actions required (if any).
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- actions
Required String - Actions required (if any).
- description String
- Description of the connection state.
- status String
- Status of the connection.
- actions
Required 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.
- actions
Required String - Actions required (if any).
- description String
- Description of the connection state.
- status String
- Status of the connection.
InboundIpRule, InboundIpRuleArgs
- Action
string | Pulumi.
Azure Native. Event Grid. Ip Action Type - Action to perform based on the match or no match of the IpMask.
- Ip
Mask string - IP Address in CIDR notation e.g., 10.0.0.0/8.
- Action
string | Ip
Action Type - Action to perform based on the match or no match of the IpMask.
- Ip
Mask string - IP Address in CIDR notation e.g., 10.0.0.0/8.
- action
String | Ip
Action Type - Action to perform based on the match or no match of the IpMask.
- ip
Mask String - IP Address in CIDR notation e.g., 10.0.0.0/8.
- action
string | Ip
Action Type - Action to perform based on the match or no match of the IpMask.
- ip
Mask string - IP Address in CIDR notation e.g., 10.0.0.0/8.
- action
str | Ip
Action Type - 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.
InboundIpRuleResponse, InboundIpRuleResponseArgs
InputSchema, InputSchemaArgs
- Event
Grid Schema - EventGridSchema
- Custom
Event Schema - CustomEventSchema
- Cloud
Event Schema V1_0 - CloudEventSchemaV1_0
- Input
Schema Event Grid Schema - EventGridSchema
- Input
Schema Custom Event Schema - CustomEventSchema
- Input
Schema_Cloud Event Schema V1_0 - CloudEventSchemaV1_0
- Event
Grid Schema - EventGridSchema
- Custom
Event Schema - CustomEventSchema
- Cloud
Event Schema V1_0 - CloudEventSchemaV1_0
- Event
Grid Schema - EventGridSchema
- Custom
Event Schema - CustomEventSchema
- Cloud
Event Schema V1_0 - CloudEventSchemaV1_0
- EVENT_GRID_SCHEMA
- EventGridSchema
- CUSTOM_EVENT_SCHEMA
- CustomEventSchema
- CLOUD_EVENT_SCHEMA_V1_0
- CloudEventSchemaV1_0
- "Event
Grid Schema" - EventGridSchema
- "Custom
Event Schema" - CustomEventSchema
- "Cloud
Event Schema V1_0" - CloudEventSchemaV1_0
IpActionType, IpActionTypeArgs
- Allow
- Allow
- Ip
Action Type Allow - Allow
- Allow
- Allow
- Allow
- Allow
- ALLOW
- Allow
- "Allow"
- Allow
JsonField, JsonFieldArgs
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
- source
Field 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.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
JsonFieldResponse, JsonFieldResponseArgs
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
- source
Field 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.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
JsonFieldWithDefault, JsonFieldWithDefaultArgs
- Default
Value 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.
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- Default
Value 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.
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- default
Value 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.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
- default
Value 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.
- source
Field 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.
- default
Value 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.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
JsonFieldWithDefaultResponse, JsonFieldWithDefaultResponseArgs
- Default
Value 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.
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- Default
Value 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.
- Source
Field string - Name of a field in the input event schema that's to be used as the source of a mapping.
- default
Value 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.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
- default
Value 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.
- source
Field 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.
- default
Value 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.
- source
Field String - Name of a field in the input event schema that's to be used as the source of a mapping.
JsonInputSchemaMapping, JsonInputSchemaMappingArgs
- Data
Version Pulumi.Azure Native. Event Grid. Inputs. Json Field With Default - The mapping information for the DataVersion property of the Event Grid Event.
- Event
Time Pulumi.Azure Native. Event Grid. Inputs. Json Field - The mapping information for the EventTime property of the Event Grid Event.
- Event
Type Pulumi.Azure Native. Event Grid. Inputs. Json Field With Default - The mapping information for the EventType property of the Event Grid Event.
- Id
Pulumi.
Azure Native. Event Grid. Inputs. Json Field - The mapping information for the Id property of the Event Grid Event.
- Subject
Pulumi.
Azure Native. Event Grid. Inputs. Json Field With Default - The mapping information for the Subject property of the Event Grid Event.
- Topic
Pulumi.
Azure Native. Event Grid. Inputs. Json Field - The mapping information for the Topic property of the Event Grid Event.
- Data
Version JsonField With Default - 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 JsonField With Default - The mapping information for the EventType property of the Event Grid Event.
- Id
Json
Field - The mapping information for the Id property of the Event Grid Event.
- Subject
Json
Field With Default - The mapping information for the Subject property of the Event Grid Event.
- Topic
Json
Field - The mapping information for the Topic property of the Event Grid Event.
- data
Version JsonField With Default - 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 JsonField With Default - The mapping information for the EventType property of the Event Grid Event.
- id
Json
Field - The mapping information for the Id property of the Event Grid Event.
- subject
Json
Field With Default - The mapping information for the Subject property of the Event Grid Event.
- topic
Json
Field - The mapping information for the Topic property of the Event Grid Event.
- data
Version JsonField With Default - 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 JsonField With Default - The mapping information for the EventType property of the Event Grid Event.
- id
Json
Field - The mapping information for the Id property of the Event Grid Event.
- subject
Json
Field With Default - The mapping information for the Subject property of the Event Grid Event.
- topic
Json
Field - The mapping information for the Topic property of the Event Grid Event.
- data_
version JsonField With Default - 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 JsonField With Default - The mapping information for the EventType property of the Event Grid Event.
- id
Json
Field - The mapping information for the Id property of the Event Grid Event.
- subject
Json
Field With Default - The mapping information for the Subject property of the Event Grid Event.
- topic
Json
Field - The mapping information for the Topic property of the Event Grid Event.
- data
Version Property Map - The mapping information for the DataVersion property of the Event Grid Event.
- event
Time Property Map - The mapping information for the EventTime property of the Event Grid Event.
- event
Type 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
- Data
Version Pulumi.Azure Native. Event Grid. Inputs. Json Field With Default Response - The mapping information for the DataVersion property of the Event Grid Event.
- Event
Time Pulumi.Azure Native. Event Grid. Inputs. Json Field Response - The mapping information for the EventTime property of the Event Grid Event.
- Event
Type Pulumi.Azure Native. Event Grid. Inputs. Json Field With Default Response - The mapping information for the EventType property of the Event Grid Event.
- Id
Pulumi.
Azure Native. Event Grid. Inputs. Json Field Response - The mapping information for the Id property of the Event Grid Event.
- Subject
Pulumi.
Azure Native. Event Grid. Inputs. Json Field With Default Response - The mapping information for the Subject property of the Event Grid Event.
- Topic
Pulumi.
Azure Native. Event Grid. Inputs. Json Field Response - The mapping information for the Topic property of the Event Grid Event.
- Data
Version JsonField With Default Response - The mapping information for the DataVersion property of the Event Grid Event.
- Event
Time JsonField Response - The mapping information for the EventTime property of the Event Grid Event.
- Event
Type JsonField With Default Response - The mapping information for the EventType property of the Event Grid Event.
- Id
Json
Field Response - The mapping information for the Id property of the Event Grid Event.
- Subject
Json
Field With Default Response - The mapping information for the Subject property of the Event Grid Event.
- Topic
Json
Field Response - The mapping information for the Topic property of the Event Grid Event.
- data
Version JsonField With Default Response - The mapping information for the DataVersion property of the Event Grid Event.
- event
Time JsonField Response - The mapping information for the EventTime property of the Event Grid Event.
- event
Type JsonField With Default Response - The mapping information for the EventType property of the Event Grid Event.
- id
Json
Field Response - The mapping information for the Id property of the Event Grid Event.
- subject
Json
Field With Default Response - The mapping information for the Subject property of the Event Grid Event.
- topic
Json
Field Response - The mapping information for the Topic property of the Event Grid Event.
- data
Version JsonField With Default Response - The mapping information for the DataVersion property of the Event Grid Event.
- event
Time JsonField Response - The mapping information for the EventTime property of the Event Grid Event.
- event
Type JsonField With Default Response - The mapping information for the EventType property of the Event Grid Event.
- id
Json
Field Response - The mapping information for the Id property of the Event Grid Event.
- subject
Json
Field With Default Response - The mapping information for the Subject property of the Event Grid Event.
- topic
Json
Field Response - The mapping information for the Topic property of the Event Grid Event.
- data_
version JsonField With Default Response - The mapping information for the DataVersion property of the Event Grid Event.
- event_
time JsonField Response - The mapping information for the EventTime property of the Event Grid Event.
- event_
type JsonField With Default Response - The mapping information for the EventType property of the Event Grid Event.
- id
Json
Field Response - The mapping information for the Id property of the Event Grid Event.
- subject
Json
Field With Default Response - The mapping information for the Subject property of the Event Grid Event.
- topic
Json
Field Response - The mapping information for the Topic property of the Event Grid Event.
- data
Version Property Map - The mapping information for the DataVersion property of the Event Grid Event.
- event
Time Property Map - The mapping information for the EventTime property of the Event Grid Event.
- event
Type 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.
- Group
Ids List<string> - GroupIds from the private link service resource.
- Private
Endpoint Pulumi.Azure Native. Event Grid. Inputs. Private Endpoint Response - The Private Endpoint resource for this Connection.
- Private
Link Pulumi.Service Connection State Azure Native. Event Grid. Inputs. Connection State Response - Details about the state of the connection.
- Provisioning
State 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.
- Group
Ids []string - GroupIds from the private link service resource.
- Private
Endpoint PrivateEndpoint Response - The Private Endpoint resource for this Connection.
- Private
Link ConnectionService Connection State State Response - Details about the state of the connection.
- Provisioning
State 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.
- group
Ids List<String> - GroupIds from the private link service resource.
- private
Endpoint PrivateEndpoint Response - The Private Endpoint resource for this Connection.
- private
Link ConnectionService Connection State State Response - Details about the state of the connection.
- provisioning
State 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.
- group
Ids string[] - GroupIds from the private link service resource.
- private
Endpoint PrivateEndpoint Response - The Private Endpoint resource for this Connection.
- private
Link ConnectionService Connection State State Response - Details about the state of the connection.
- provisioning
State 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 PrivateEndpoint Response - The Private Endpoint resource for this Connection.
- private_
link_ Connectionservice_ connection_ state State Response - 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.
- group
Ids List<String> - GroupIds from the private link service resource.
- private
Endpoint Property Map - The Private Endpoint resource for this Connection.
- private
Link Property MapService Connection State - Details about the state of the connection.
- provisioning
State 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
- Public
Network Access Enabled - Enabled
- Public
Network Access Disabled - Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- Enabled
- Enabled
- Disabled
- Disabled
- ENABLED
- Enabled
- DISABLED
- Disabled
- "Enabled"
- Enabled
- "Disabled"
- Disabled
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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