azure-native.eventgrid.Channel
Explore with Pulumi AI
Channel info.
Uses Azure REST API version 2022-06-15. In version 1.x of the Azure Native provider, it used API version 2021-10-15-preview.
Other available API versions: 2023-06-01-preview, 2023-12-15-preview, 2024-06-01-preview, 2024-12-15-preview, 2025-02-15.
Example Usage
Channels_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var channel = new AzureNative.EventGrid.Channel("channel", new()
    {
        ChannelName = "exampleChannelName1",
        ChannelType = AzureNative.EventGrid.ChannelType.PartnerTopic,
        ExpirationTimeIfNotActivatedUtc = "2021-10-21T22:50:25.410433Z",
        MessageForActivation = "Example message to approver",
        PartnerNamespaceName = "examplePartnerNamespaceName1",
        PartnerTopicInfo = new AzureNative.EventGrid.Inputs.PartnerTopicInfoArgs
        {
            AzureSubscriptionId = "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
            Name = "examplePartnerTopic1",
            ResourceGroupName = "examplerg2",
            Source = "ContosoCorp.Accounts.User1",
        },
        ResourceGroupName = "examplerg",
    });
});
package main
import (
	eventgrid "github.com/pulumi/pulumi-azure-native-sdk/eventgrid/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := eventgrid.NewChannel(ctx, "channel", &eventgrid.ChannelArgs{
			ChannelName:                     pulumi.String("exampleChannelName1"),
			ChannelType:                     pulumi.String(eventgrid.ChannelTypePartnerTopic),
			ExpirationTimeIfNotActivatedUtc: pulumi.String("2021-10-21T22:50:25.410433Z"),
			MessageForActivation:            pulumi.String("Example message to approver"),
			PartnerNamespaceName:            pulumi.String("examplePartnerNamespaceName1"),
			PartnerTopicInfo: &eventgrid.PartnerTopicInfoArgs{
				AzureSubscriptionId: pulumi.String("5b4b650e-28b9-4790-b3ab-ddbd88d727c4"),
				Name:                pulumi.String("examplePartnerTopic1"),
				ResourceGroupName:   pulumi.String("examplerg2"),
				Source:              pulumi.String("ContosoCorp.Accounts.User1"),
			},
			ResourceGroupName: pulumi.String("examplerg"),
		})
		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.Channel;
import com.pulumi.azurenative.eventgrid.ChannelArgs;
import com.pulumi.azurenative.eventgrid.inputs.PartnerTopicInfoArgs;
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 channel = new Channel("channel", ChannelArgs.builder()
            .channelName("exampleChannelName1")
            .channelType("PartnerTopic")
            .expirationTimeIfNotActivatedUtc("2021-10-21T22:50:25.410433Z")
            .messageForActivation("Example message to approver")
            .partnerNamespaceName("examplePartnerNamespaceName1")
            .partnerTopicInfo(PartnerTopicInfoArgs.builder()
                .azureSubscriptionId("5b4b650e-28b9-4790-b3ab-ddbd88d727c4")
                .name("examplePartnerTopic1")
                .resourceGroupName("examplerg2")
                .source("ContosoCorp.Accounts.User1")
                .build())
            .resourceGroupName("examplerg")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const channel = new azure_native.eventgrid.Channel("channel", {
    channelName: "exampleChannelName1",
    channelType: azure_native.eventgrid.ChannelType.PartnerTopic,
    expirationTimeIfNotActivatedUtc: "2021-10-21T22:50:25.410433Z",
    messageForActivation: "Example message to approver",
    partnerNamespaceName: "examplePartnerNamespaceName1",
    partnerTopicInfo: {
        azureSubscriptionId: "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
        name: "examplePartnerTopic1",
        resourceGroupName: "examplerg2",
        source: "ContosoCorp.Accounts.User1",
    },
    resourceGroupName: "examplerg",
});
import pulumi
import pulumi_azure_native as azure_native
channel = azure_native.eventgrid.Channel("channel",
    channel_name="exampleChannelName1",
    channel_type=azure_native.eventgrid.ChannelType.PARTNER_TOPIC,
    expiration_time_if_not_activated_utc="2021-10-21T22:50:25.410433Z",
    message_for_activation="Example message to approver",
    partner_namespace_name="examplePartnerNamespaceName1",
    partner_topic_info={
        "azure_subscription_id": "5b4b650e-28b9-4790-b3ab-ddbd88d727c4",
        "name": "examplePartnerTopic1",
        "resource_group_name": "examplerg2",
        "source": "ContosoCorp.Accounts.User1",
    },
    resource_group_name="examplerg")
resources:
  channel:
    type: azure-native:eventgrid:Channel
    properties:
      channelName: exampleChannelName1
      channelType: PartnerTopic
      expirationTimeIfNotActivatedUtc: 2021-10-21T22:50:25.410433Z
      messageForActivation: Example message to approver
      partnerNamespaceName: examplePartnerNamespaceName1
      partnerTopicInfo:
        azureSubscriptionId: 5b4b650e-28b9-4790-b3ab-ddbd88d727c4
        name: examplePartnerTopic1
        resourceGroupName: examplerg2
        source: ContosoCorp.Accounts.User1
      resourceGroupName: examplerg
Create Channel Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Channel(name: string, args: ChannelArgs, opts?: CustomResourceOptions);@overload
def Channel(resource_name: str,
            args: ChannelArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Channel(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            partner_namespace_name: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            channel_name: Optional[str] = None,
            channel_type: Optional[Union[str, ChannelType]] = None,
            expiration_time_if_not_activated_utc: Optional[str] = None,
            message_for_activation: Optional[str] = None,
            partner_topic_info: Optional[PartnerTopicInfoArgs] = None,
            provisioning_state: Optional[Union[str, ChannelProvisioningState]] = None,
            readiness_state: Optional[Union[str, ReadinessState]] = None)func NewChannel(ctx *Context, name string, args ChannelArgs, opts ...ResourceOption) (*Channel, error)public Channel(string name, ChannelArgs args, CustomResourceOptions? opts = null)
public Channel(String name, ChannelArgs args)
public Channel(String name, ChannelArgs args, CustomResourceOptions options)
type: azure-native:eventgrid:Channel
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 ChannelArgs
- 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 ChannelArgs
- 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 ChannelArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ChannelArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ChannelArgs
- 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 examplechannelResourceResourceFromEventgrid = new AzureNative.EventGrid.Channel("examplechannelResourceResourceFromEventgrid", new()
{
    PartnerNamespaceName = "string",
    ResourceGroupName = "string",
    ChannelName = "string",
    ChannelType = "string",
    ExpirationTimeIfNotActivatedUtc = "string",
    MessageForActivation = "string",
    PartnerTopicInfo = new AzureNative.EventGrid.Inputs.PartnerTopicInfoArgs
    {
        AzureSubscriptionId = "string",
        EventTypeInfo = new AzureNative.EventGrid.Inputs.EventTypeInfoArgs
        {
            InlineEventTypes = 
            {
                { "string", new AzureNative.EventGrid.Inputs.InlineEventPropertiesArgs
                {
                    DataSchemaUrl = "string",
                    Description = "string",
                    DisplayName = "string",
                    DocumentationUrl = "string",
                } },
            },
            Kind = "string",
        },
        Name = "string",
        ResourceGroupName = "string",
        Source = "string",
    },
    ProvisioningState = "string",
    ReadinessState = "string",
});
example, err := eventgrid.NewChannel(ctx, "examplechannelResourceResourceFromEventgrid", &eventgrid.ChannelArgs{
	PartnerNamespaceName:            pulumi.String("string"),
	ResourceGroupName:               pulumi.String("string"),
	ChannelName:                     pulumi.String("string"),
	ChannelType:                     pulumi.String("string"),
	ExpirationTimeIfNotActivatedUtc: pulumi.String("string"),
	MessageForActivation:            pulumi.String("string"),
	PartnerTopicInfo: &eventgrid.PartnerTopicInfoArgs{
		AzureSubscriptionId: pulumi.String("string"),
		EventTypeInfo: &eventgrid.EventTypeInfoArgs{
			InlineEventTypes: eventgrid.InlineEventPropertiesMap{
				"string": &eventgrid.InlineEventPropertiesArgs{
					DataSchemaUrl:    pulumi.String("string"),
					Description:      pulumi.String("string"),
					DisplayName:      pulumi.String("string"),
					DocumentationUrl: pulumi.String("string"),
				},
			},
			Kind: pulumi.String("string"),
		},
		Name:              pulumi.String("string"),
		ResourceGroupName: pulumi.String("string"),
		Source:            pulumi.String("string"),
	},
	ProvisioningState: pulumi.String("string"),
	ReadinessState:    pulumi.String("string"),
})
var examplechannelResourceResourceFromEventgrid = new Channel("examplechannelResourceResourceFromEventgrid", ChannelArgs.builder()
    .partnerNamespaceName("string")
    .resourceGroupName("string")
    .channelName("string")
    .channelType("string")
    .expirationTimeIfNotActivatedUtc("string")
    .messageForActivation("string")
    .partnerTopicInfo(PartnerTopicInfoArgs.builder()
        .azureSubscriptionId("string")
        .eventTypeInfo(EventTypeInfoArgs.builder()
            .inlineEventTypes(Map.of("string", Map.ofEntries(
                Map.entry("dataSchemaUrl", "string"),
                Map.entry("description", "string"),
                Map.entry("displayName", "string"),
                Map.entry("documentationUrl", "string")
            )))
            .kind("string")
            .build())
        .name("string")
        .resourceGroupName("string")
        .source("string")
        .build())
    .provisioningState("string")
    .readinessState("string")
    .build());
examplechannel_resource_resource_from_eventgrid = azure_native.eventgrid.Channel("examplechannelResourceResourceFromEventgrid",
    partner_namespace_name="string",
    resource_group_name="string",
    channel_name="string",
    channel_type="string",
    expiration_time_if_not_activated_utc="string",
    message_for_activation="string",
    partner_topic_info={
        "azure_subscription_id": "string",
        "event_type_info": {
            "inline_event_types": {
                "string": {
                    "data_schema_url": "string",
                    "description": "string",
                    "display_name": "string",
                    "documentation_url": "string",
                },
            },
            "kind": "string",
        },
        "name": "string",
        "resource_group_name": "string",
        "source": "string",
    },
    provisioning_state="string",
    readiness_state="string")
const examplechannelResourceResourceFromEventgrid = new azure_native.eventgrid.Channel("examplechannelResourceResourceFromEventgrid", {
    partnerNamespaceName: "string",
    resourceGroupName: "string",
    channelName: "string",
    channelType: "string",
    expirationTimeIfNotActivatedUtc: "string",
    messageForActivation: "string",
    partnerTopicInfo: {
        azureSubscriptionId: "string",
        eventTypeInfo: {
            inlineEventTypes: {
                string: {
                    dataSchemaUrl: "string",
                    description: "string",
                    displayName: "string",
                    documentationUrl: "string",
                },
            },
            kind: "string",
        },
        name: "string",
        resourceGroupName: "string",
        source: "string",
    },
    provisioningState: "string",
    readinessState: "string",
});
type: azure-native:eventgrid:Channel
properties:
    channelName: string
    channelType: string
    expirationTimeIfNotActivatedUtc: string
    messageForActivation: string
    partnerNamespaceName: string
    partnerTopicInfo:
        azureSubscriptionId: string
        eventTypeInfo:
            inlineEventTypes:
                string:
                    dataSchemaUrl: string
                    description: string
                    displayName: string
                    documentationUrl: string
            kind: string
        name: string
        resourceGroupName: string
        source: string
    provisioningState: string
    readinessState: string
    resourceGroupName: string
Channel 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 Channel resource accepts the following input properties:
- PartnerNamespace stringName 
- Name of the partner namespace.
- ResourceGroup stringName 
- The name of the resource group within the partners subscription.
- ChannelName string
- Name of the channel.
- ChannelType string | Pulumi.Azure Native. Event Grid. Channel Type 
- The type of the event channel which represents the direction flow of events.
- ExpirationTime stringIf Not Activated Utc 
- Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
- MessageFor stringActivation 
- Context or helpful message that can be used during the approval process by the subscriber.
- PartnerTopic Pulumi.Info Azure Native. Event Grid. Inputs. Partner Topic Info 
- This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- ProvisioningState string | Pulumi.Azure Native. Event Grid. Channel Provisioning State 
- Provisioning state of the channel.
- ReadinessState string | Pulumi.Azure Native. Event Grid. Readiness State 
- The readiness state of the corresponding partner topic.
- PartnerNamespace stringName 
- Name of the partner namespace.
- ResourceGroup stringName 
- The name of the resource group within the partners subscription.
- ChannelName string
- Name of the channel.
- ChannelType string | ChannelType 
- The type of the event channel which represents the direction flow of events.
- ExpirationTime stringIf Not Activated Utc 
- Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
- MessageFor stringActivation 
- Context or helpful message that can be used during the approval process by the subscriber.
- PartnerTopic PartnerInfo Topic Info Args 
- This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- ProvisioningState string | ChannelProvisioning State 
- Provisioning state of the channel.
- ReadinessState string | ReadinessState 
- The readiness state of the corresponding partner topic.
- partnerNamespace StringName 
- Name of the partner namespace.
- resourceGroup StringName 
- The name of the resource group within the partners subscription.
- channelName String
- Name of the channel.
- channelType String | ChannelType 
- The type of the event channel which represents the direction flow of events.
- expirationTime StringIf Not Activated Utc 
- Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
- messageFor StringActivation 
- Context or helpful message that can be used during the approval process by the subscriber.
- partnerTopic PartnerInfo Topic Info 
- This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- provisioningState String | ChannelProvisioning State 
- Provisioning state of the channel.
- readinessState String | ReadinessState 
- The readiness state of the corresponding partner topic.
- partnerNamespace stringName 
- Name of the partner namespace.
- resourceGroup stringName 
- The name of the resource group within the partners subscription.
- channelName string
- Name of the channel.
- channelType string | ChannelType 
- The type of the event channel which represents the direction flow of events.
- expirationTime stringIf Not Activated Utc 
- Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
- messageFor stringActivation 
- Context or helpful message that can be used during the approval process by the subscriber.
- partnerTopic PartnerInfo Topic Info 
- This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- provisioningState string | ChannelProvisioning State 
- Provisioning state of the channel.
- readinessState string | ReadinessState 
- The readiness state of the corresponding partner topic.
- partner_namespace_ strname 
- Name of the partner namespace.
- resource_group_ strname 
- The name of the resource group within the partners subscription.
- channel_name str
- Name of the channel.
- channel_type str | ChannelType 
- The type of the event channel which represents the direction flow of events.
- expiration_time_ strif_ not_ activated_ utc 
- Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
- message_for_ stractivation 
- Context or helpful message that can be used during the approval process by the subscriber.
- partner_topic_ Partnerinfo Topic Info Args 
- This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- provisioning_state str | ChannelProvisioning State 
- Provisioning state of the channel.
- readiness_state str | ReadinessState 
- The readiness state of the corresponding partner topic.
- partnerNamespace StringName 
- Name of the partner namespace.
- resourceGroup StringName 
- The name of the resource group within the partners subscription.
- channelName String
- Name of the channel.
- channelType String | "PartnerTopic" 
- The type of the event channel which represents the direction flow of events.
- expirationTime StringIf Not Activated Utc 
- Expiration time of the channel. If this timer expires while the corresponding partner topic is never activated, the channel and corresponding partner topic are deleted.
- messageFor StringActivation 
- Context or helpful message that can be used during the approval process by the subscriber.
- partnerTopic Property MapInfo 
- This property should be populated when channelType is PartnerTopic and represents information about the partner topic resource corresponding to the channel.
- provisioningState String | "Creating" | "Updating" | "Deleting" | "Succeeded" | "Canceled" | "Failed" | "IdleDue To Mirrored Partner Topic Deletion" 
- Provisioning state of the channel.
- readinessState String | "NeverActivated" | "Activated" 
- The readiness state of the corresponding partner topic.
Outputs
All input properties are implicitly available as output properties. Additionally, the Channel resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource.
- SystemData Pulumi.Azure Native. Event Grid. Outputs. System Data Response 
- The system metadata relating to Channel resource.
- Type string
- Type of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the resource.
- SystemData SystemData Response 
- The system metadata relating to Channel resource.
- Type string
- Type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource.
- systemData SystemData Response 
- The system metadata relating to Channel resource.
- type String
- Type of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the resource.
- systemData SystemData Response 
- The system metadata relating to Channel resource.
- type string
- Type of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the resource.
- system_data SystemData Response 
- The system metadata relating to Channel resource.
- type str
- Type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the resource.
- systemData Property Map
- The system metadata relating to Channel resource.
- type String
- Type of the resource.
Supporting Types
ChannelProvisioningState, ChannelProvisioningStateArgs      
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- IdleDue To Mirrored Partner Topic Deletion 
- IdleDueToMirroredPartnerTopicDeletion
- ChannelProvisioning State Creating 
- Creating
- ChannelProvisioning State Updating 
- Updating
- ChannelProvisioning State Deleting 
- Deleting
- ChannelProvisioning State Succeeded 
- Succeeded
- ChannelProvisioning State Canceled 
- Canceled
- ChannelProvisioning State Failed 
- Failed
- ChannelProvisioning State Idle Due To Mirrored Partner Topic Deletion 
- IdleDueToMirroredPartnerTopicDeletion
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- IdleDue To Mirrored Partner Topic Deletion 
- IdleDueToMirroredPartnerTopicDeletion
- Creating
- Creating
- Updating
- Updating
- Deleting
- Deleting
- Succeeded
- Succeeded
- Canceled
- Canceled
- Failed
- Failed
- IdleDue To Mirrored Partner Topic Deletion 
- IdleDueToMirroredPartnerTopicDeletion
- CREATING
- Creating
- UPDATING
- Updating
- DELETING
- Deleting
- SUCCEEDED
- Succeeded
- CANCELED
- Canceled
- FAILED
- Failed
- IDLE_DUE_TO_MIRRORED_PARTNER_TOPIC_DELETION
- IdleDueToMirroredPartnerTopicDeletion
- "Creating"
- Creating
- "Updating"
- Updating
- "Deleting"
- Deleting
- "Succeeded"
- Succeeded
- "Canceled"
- Canceled
- "Failed"
- Failed
- "IdleDue To Mirrored Partner Topic Deletion" 
- IdleDueToMirroredPartnerTopicDeletion
ChannelType, ChannelTypeArgs    
- PartnerTopic 
- PartnerTopic
- ChannelType Partner Topic 
- PartnerTopic
- PartnerTopic 
- PartnerTopic
- PartnerTopic 
- PartnerTopic
- PARTNER_TOPIC
- PartnerTopic
- "PartnerTopic" 
- PartnerTopic
EventDefinitionKind, EventDefinitionKindArgs      
- Inline
- Inline
- EventDefinition Kind Inline 
- Inline
- Inline
- Inline
- Inline
- Inline
- INLINE
- Inline
- "Inline"
- Inline
EventTypeInfo, EventTypeInfoArgs      
- InlineEvent Dictionary<string, Pulumi.Types Azure Native. Event Grid. Inputs. Inline Event Properties> 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- Kind
string | Pulumi.Azure Native. Event Grid. Event Definition Kind 
- The kind of event type used.
- InlineEvent map[string]InlineTypes Event Properties 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- Kind
string | EventDefinition Kind 
- The kind of event type used.
- inlineEvent Map<String,InlineTypes Event Properties> 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind
String | EventDefinition Kind 
- The kind of event type used.
- inlineEvent {[key: string]: InlineTypes Event Properties} 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind
string | EventDefinition Kind 
- The kind of event type used.
- inline_event_ Mapping[str, Inlinetypes Event Properties] 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind
str | EventDefinition Kind 
- The kind of event type used.
- inlineEvent Map<Property Map>Types 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind String | "Inline"
- The kind of event type used.
EventTypeInfoResponse, EventTypeInfoResponseArgs        
- InlineEvent Dictionary<string, Pulumi.Types Azure Native. Event Grid. Inputs. Inline Event Properties Response> 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- Kind string
- The kind of event type used.
- InlineEvent map[string]InlineTypes Event Properties Response 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- Kind string
- The kind of event type used.
- inlineEvent Map<String,InlineTypes Event Properties Response> 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind String
- The kind of event type used.
- inlineEvent {[key: string]: InlineTypes Event Properties Response} 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind string
- The kind of event type used.
- inline_event_ Mapping[str, Inlinetypes Event Properties Response] 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind str
- The kind of event type used.
- inlineEvent Map<Property Map>Types 
- A collection of inline event types for the resource. The inline event type keys are of type string which represents the name of the event. An example of a valid inline event name is "Contoso.OrderCreated". The inline event type values are of type InlineEventProperties and will contain additional information for every inline event type.
- kind String
- The kind of event type used.
InlineEventProperties, InlineEventPropertiesArgs      
- DataSchema stringUrl 
- The dataSchemaUrl for the inline event.
- Description string
- The description for the inline event.
- DisplayName string
- The displayName for the inline event.
- DocumentationUrl string
- The documentationUrl for the inline event.
- DataSchema stringUrl 
- The dataSchemaUrl for the inline event.
- Description string
- The description for the inline event.
- DisplayName string
- The displayName for the inline event.
- DocumentationUrl string
- The documentationUrl for the inline event.
- dataSchema StringUrl 
- The dataSchemaUrl for the inline event.
- description String
- The description for the inline event.
- displayName String
- The displayName for the inline event.
- documentationUrl String
- The documentationUrl for the inline event.
- dataSchema stringUrl 
- The dataSchemaUrl for the inline event.
- description string
- The description for the inline event.
- displayName string
- The displayName for the inline event.
- documentationUrl string
- The documentationUrl for the inline event.
- data_schema_ strurl 
- The dataSchemaUrl for the inline event.
- description str
- The description for the inline event.
- display_name str
- The displayName for the inline event.
- documentation_url str
- The documentationUrl for the inline event.
- dataSchema StringUrl 
- The dataSchemaUrl for the inline event.
- description String
- The description for the inline event.
- displayName String
- The displayName for the inline event.
- documentationUrl String
- The documentationUrl for the inline event.
InlineEventPropertiesResponse, InlineEventPropertiesResponseArgs        
- DataSchema stringUrl 
- The dataSchemaUrl for the inline event.
- Description string
- The description for the inline event.
- DisplayName string
- The displayName for the inline event.
- DocumentationUrl string
- The documentationUrl for the inline event.
- DataSchema stringUrl 
- The dataSchemaUrl for the inline event.
- Description string
- The description for the inline event.
- DisplayName string
- The displayName for the inline event.
- DocumentationUrl string
- The documentationUrl for the inline event.
- dataSchema StringUrl 
- The dataSchemaUrl for the inline event.
- description String
- The description for the inline event.
- displayName String
- The displayName for the inline event.
- documentationUrl String
- The documentationUrl for the inline event.
- dataSchema stringUrl 
- The dataSchemaUrl for the inline event.
- description string
- The description for the inline event.
- displayName string
- The displayName for the inline event.
- documentationUrl string
- The documentationUrl for the inline event.
- data_schema_ strurl 
- The dataSchemaUrl for the inline event.
- description str
- The description for the inline event.
- display_name str
- The displayName for the inline event.
- documentation_url str
- The documentationUrl for the inline event.
- dataSchema StringUrl 
- The dataSchemaUrl for the inline event.
- description String
- The description for the inline event.
- displayName String
- The displayName for the inline event.
- documentationUrl String
- The documentationUrl for the inline event.
PartnerTopicInfo, PartnerTopicInfoArgs      
- AzureSubscription stringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- EventType Pulumi.Info Azure Native. Event Grid. Inputs. Event Type Info 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- Name string
- Name of the partner topic associated with the channel.
- ResourceGroup stringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- Source string
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- AzureSubscription stringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- EventType EventInfo Type Info 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- Name string
- Name of the partner topic associated with the channel.
- ResourceGroup stringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- Source string
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azureSubscription StringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- eventType EventInfo Type Info 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name String
- Name of the partner topic associated with the channel.
- resourceGroup StringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source String
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azureSubscription stringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- eventType EventInfo Type Info 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name string
- Name of the partner topic associated with the channel.
- resourceGroup stringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source string
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azure_subscription_ strid 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- event_type_ Eventinfo Type Info 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name str
- Name of the partner topic associated with the channel.
- resource_group_ strname 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source str
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azureSubscription StringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- eventType Property MapInfo 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name String
- Name of the partner topic associated with the channel.
- resourceGroup StringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source String
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
PartnerTopicInfoResponse, PartnerTopicInfoResponseArgs        
- AzureSubscription stringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- EventType Pulumi.Info Azure Native. Event Grid. Inputs. Event Type Info Response 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- Name string
- Name of the partner topic associated with the channel.
- ResourceGroup stringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- Source string
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- AzureSubscription stringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- EventType EventInfo Type Info Response 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- Name string
- Name of the partner topic associated with the channel.
- ResourceGroup stringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- Source string
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azureSubscription StringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- eventType EventInfo Type Info Response 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name String
- Name of the partner topic associated with the channel.
- resourceGroup StringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source String
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azureSubscription stringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- eventType EventInfo Type Info Response 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name string
- Name of the partner topic associated with the channel.
- resourceGroup stringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source string
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azure_subscription_ strid 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- event_type_ Eventinfo Type Info Response 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name str
- Name of the partner topic associated with the channel.
- resource_group_ strname 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source str
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
- azureSubscription StringId 
- Azure subscription ID of the subscriber. The partner topic associated with the channel will be created under this Azure subscription.
- eventType Property MapInfo 
- Event Type Information for the partner topic. This information is provided by the publisher and can be used by the subscriber to view different types of events that are published.
- name String
- Name of the partner topic associated with the channel.
- resourceGroup StringName 
- Azure Resource Group of the subscriber. The partner topic associated with the channel will be created under this resource group.
- source String
- The source information is provided by the publisher to determine the scope or context from which the events are originating. This information can be used by the subscriber during the approval process of the created partner topic.
ReadinessState, ReadinessStateArgs    
- NeverActivated 
- NeverActivated
- Activated
- Activated
- ReadinessState Never Activated 
- NeverActivated
- ReadinessState Activated 
- Activated
- NeverActivated 
- NeverActivated
- Activated
- Activated
- NeverActivated 
- NeverActivated
- Activated
- Activated
- NEVER_ACTIVATED
- NeverActivated
- ACTIVATED
- Activated
- "NeverActivated" 
- NeverActivated
- "Activated"
- Activated
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:Channel exampleChannelName1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}/channels/{channelName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0