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

We recommend using Azure Native.

Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi

azure.eventgrid.PartnerNamespace

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi

    Manages an Event Grid Partner Namespace.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const example = new azure.core.ResourceGroup("example", {
        name: "example-resources",
        location: "West Europe",
    });
    const examplePartnerRegistration = new azure.eventgrid.PartnerRegistration("example", {
        name: "example-partner-registration",
        resourceGroupName: example.name,
    });
    const examplePartnerNamespace = new azure.eventgrid.PartnerNamespace("example", {
        name: "example-partner-namespace",
        location: example.location,
        resourceGroupName: example.name,
        partnerRegistrationId: examplePartnerRegistration.id,
    });
    
    import pulumi
    import pulumi_azure as azure
    
    example = azure.core.ResourceGroup("example",
        name="example-resources",
        location="West Europe")
    example_partner_registration = azure.eventgrid.PartnerRegistration("example",
        name="example-partner-registration",
        resource_group_name=example.name)
    example_partner_namespace = azure.eventgrid.PartnerNamespace("example",
        name="example-partner-namespace",
        location=example.location,
        resource_group_name=example.name,
        partner_registration_id=example_partner_registration.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
    	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/eventgrid"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
    			Name:     pulumi.String("example-resources"),
    			Location: pulumi.String("West Europe"),
    		})
    		if err != nil {
    			return err
    		}
    		examplePartnerRegistration, err := eventgrid.NewPartnerRegistration(ctx, "example", &eventgrid.PartnerRegistrationArgs{
    			Name:              pulumi.String("example-partner-registration"),
    			ResourceGroupName: example.Name,
    		})
    		if err != nil {
    			return err
    		}
    		_, err = eventgrid.NewPartnerNamespace(ctx, "example", &eventgrid.PartnerNamespaceArgs{
    			Name:                  pulumi.String("example-partner-namespace"),
    			Location:              example.Location,
    			ResourceGroupName:     example.Name,
    			PartnerRegistrationId: examplePartnerRegistration.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Azure = Pulumi.Azure;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Azure.Core.ResourceGroup("example", new()
        {
            Name = "example-resources",
            Location = "West Europe",
        });
    
        var examplePartnerRegistration = new Azure.EventGrid.PartnerRegistration("example", new()
        {
            Name = "example-partner-registration",
            ResourceGroupName = example.Name,
        });
    
        var examplePartnerNamespace = new Azure.EventGrid.PartnerNamespace("example", new()
        {
            Name = "example-partner-namespace",
            Location = example.Location,
            ResourceGroupName = example.Name,
            PartnerRegistrationId = examplePartnerRegistration.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azure.core.ResourceGroup;
    import com.pulumi.azure.core.ResourceGroupArgs;
    import com.pulumi.azure.eventgrid.PartnerRegistration;
    import com.pulumi.azure.eventgrid.PartnerRegistrationArgs;
    import com.pulumi.azure.eventgrid.PartnerNamespace;
    import com.pulumi.azure.eventgrid.PartnerNamespaceArgs;
    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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
                .name("example-resources")
                .location("West Europe")
                .build());
    
            var examplePartnerRegistration = new PartnerRegistration("examplePartnerRegistration", PartnerRegistrationArgs.builder()
                .name("example-partner-registration")
                .resourceGroupName(example.name())
                .build());
    
            var examplePartnerNamespace = new PartnerNamespace("examplePartnerNamespace", PartnerNamespaceArgs.builder()
                .name("example-partner-namespace")
                .location(example.location())
                .resourceGroupName(example.name())
                .partnerRegistrationId(examplePartnerRegistration.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azure:core:ResourceGroup
        properties:
          name: example-resources
          location: West Europe
      examplePartnerRegistration:
        type: azure:eventgrid:PartnerRegistration
        name: example
        properties:
          name: example-partner-registration
          resourceGroupName: ${example.name}
      examplePartnerNamespace:
        type: azure:eventgrid:PartnerNamespace
        name: example
        properties:
          name: example-partner-namespace
          location: ${example.location}
          resourceGroupName: ${example.name}
          partnerRegistrationId: ${examplePartnerRegistration.id}
    

    API Providers

    This resource uses the following Azure API Providers:

    • Microsoft.EventGrid - 2022-06-15

    Create PartnerNamespace Resource

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

    Constructor syntax

    new PartnerNamespace(name: string, args: PartnerNamespaceArgs, opts?: CustomResourceOptions);
    @overload
    def PartnerNamespace(resource_name: str,
                         args: PartnerNamespaceArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PartnerNamespace(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         partner_registration_id: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         inbound_ip_rules: Optional[Sequence[PartnerNamespaceInboundIpRuleArgs]] = None,
                         local_authentication_enabled: Optional[bool] = None,
                         location: Optional[str] = None,
                         name: Optional[str] = None,
                         partner_topic_routing_mode: Optional[str] = None,
                         public_network_access: Optional[str] = None,
                         tags: Optional[Mapping[str, str]] = None)
    func NewPartnerNamespace(ctx *Context, name string, args PartnerNamespaceArgs, opts ...ResourceOption) (*PartnerNamespace, error)
    public PartnerNamespace(string name, PartnerNamespaceArgs args, CustomResourceOptions? opts = null)
    public PartnerNamespace(String name, PartnerNamespaceArgs args)
    public PartnerNamespace(String name, PartnerNamespaceArgs args, CustomResourceOptions options)
    
    type: azure:eventgrid:PartnerNamespace
    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 PartnerNamespaceArgs
    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 PartnerNamespaceArgs
    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 PartnerNamespaceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PartnerNamespaceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PartnerNamespaceArgs
    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 partnerNamespaceResource = new Azure.EventGrid.PartnerNamespace("partnerNamespaceResource", new()
    {
        PartnerRegistrationId = "string",
        ResourceGroupName = "string",
        InboundIpRules = new[]
        {
            new Azure.EventGrid.Inputs.PartnerNamespaceInboundIpRuleArgs
            {
                IpMask = "string",
                Action = "string",
            },
        },
        LocalAuthenticationEnabled = false,
        Location = "string",
        Name = "string",
        PartnerTopicRoutingMode = "string",
        PublicNetworkAccess = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := eventgrid.NewPartnerNamespace(ctx, "partnerNamespaceResource", &eventgrid.PartnerNamespaceArgs{
    	PartnerRegistrationId: pulumi.String("string"),
    	ResourceGroupName:     pulumi.String("string"),
    	InboundIpRules: eventgrid.PartnerNamespaceInboundIpRuleArray{
    		&eventgrid.PartnerNamespaceInboundIpRuleArgs{
    			IpMask: pulumi.String("string"),
    			Action: pulumi.String("string"),
    		},
    	},
    	LocalAuthenticationEnabled: pulumi.Bool(false),
    	Location:                   pulumi.String("string"),
    	Name:                       pulumi.String("string"),
    	PartnerTopicRoutingMode:    pulumi.String("string"),
    	PublicNetworkAccess:        pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var partnerNamespaceResource = new PartnerNamespace("partnerNamespaceResource", PartnerNamespaceArgs.builder()
        .partnerRegistrationId("string")
        .resourceGroupName("string")
        .inboundIpRules(PartnerNamespaceInboundIpRuleArgs.builder()
            .ipMask("string")
            .action("string")
            .build())
        .localAuthenticationEnabled(false)
        .location("string")
        .name("string")
        .partnerTopicRoutingMode("string")
        .publicNetworkAccess("string")
        .tags(Map.of("string", "string"))
        .build());
    
    partner_namespace_resource = azure.eventgrid.PartnerNamespace("partnerNamespaceResource",
        partner_registration_id="string",
        resource_group_name="string",
        inbound_ip_rules=[{
            "ip_mask": "string",
            "action": "string",
        }],
        local_authentication_enabled=False,
        location="string",
        name="string",
        partner_topic_routing_mode="string",
        public_network_access="string",
        tags={
            "string": "string",
        })
    
    const partnerNamespaceResource = new azure.eventgrid.PartnerNamespace("partnerNamespaceResource", {
        partnerRegistrationId: "string",
        resourceGroupName: "string",
        inboundIpRules: [{
            ipMask: "string",
            action: "string",
        }],
        localAuthenticationEnabled: false,
        location: "string",
        name: "string",
        partnerTopicRoutingMode: "string",
        publicNetworkAccess: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure:eventgrid:PartnerNamespace
    properties:
        inboundIpRules:
            - action: string
              ipMask: string
        localAuthenticationEnabled: false
        location: string
        name: string
        partnerRegistrationId: string
        partnerTopicRoutingMode: string
        publicNetworkAccess: string
        resourceGroupName: string
        tags:
            string: string
    

    PartnerNamespace 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 PartnerNamespace resource accepts the following input properties:

    PartnerRegistrationId string
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    ResourceGroupName string
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    InboundIpRules List<PartnerNamespaceInboundIpRule>
    One or more inbound_ip_rule blocks as defined below.
    LocalAuthenticationEnabled bool
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    Location string
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    PartnerTopicRoutingMode string
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    PublicNetworkAccess string
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    PartnerRegistrationId string
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    ResourceGroupName string
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    InboundIpRules []PartnerNamespaceInboundIpRuleArgs
    One or more inbound_ip_rule blocks as defined below.
    LocalAuthenticationEnabled bool
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    Location string
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    PartnerTopicRoutingMode string
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    PublicNetworkAccess string
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    Tags map[string]string
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    partnerRegistrationId String
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    resourceGroupName String
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    inboundIpRules List<PartnerNamespaceInboundIpRule>
    One or more inbound_ip_rule blocks as defined below.
    localAuthenticationEnabled Boolean
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location String
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerTopicRoutingMode String
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    publicNetworkAccess String
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    partnerRegistrationId string
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    resourceGroupName string
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    inboundIpRules PartnerNamespaceInboundIpRule[]
    One or more inbound_ip_rule blocks as defined below.
    localAuthenticationEnabled boolean
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location string
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerTopicRoutingMode string
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    publicNetworkAccess string
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    partner_registration_id str
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    resource_group_name str
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    inbound_ip_rules Sequence[PartnerNamespaceInboundIpRuleArgs]
    One or more inbound_ip_rule blocks as defined below.
    local_authentication_enabled bool
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location str
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partner_topic_routing_mode str
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    public_network_access str
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    partnerRegistrationId String
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    resourceGroupName String
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    inboundIpRules List<Property Map>
    One or more inbound_ip_rule blocks as defined below.
    localAuthenticationEnabled Boolean
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location String
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerTopicRoutingMode String
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    publicNetworkAccess String
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    tags Map<String>
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.

    Outputs

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

    Endpoint string
    The endpoint for the Event Grid Partner Namespace.
    Id string
    The provider-assigned unique ID for this managed resource.
    Endpoint string
    The endpoint for the Event Grid Partner Namespace.
    Id string
    The provider-assigned unique ID for this managed resource.
    endpoint String
    The endpoint for the Event Grid Partner Namespace.
    id String
    The provider-assigned unique ID for this managed resource.
    endpoint string
    The endpoint for the Event Grid Partner Namespace.
    id string
    The provider-assigned unique ID for this managed resource.
    endpoint str
    The endpoint for the Event Grid Partner Namespace.
    id str
    The provider-assigned unique ID for this managed resource.
    endpoint String
    The endpoint for the Event Grid Partner Namespace.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PartnerNamespace Resource

    Get an existing PartnerNamespace resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PartnerNamespaceState, opts?: CustomResourceOptions): PartnerNamespace
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            endpoint: Optional[str] = None,
            inbound_ip_rules: Optional[Sequence[PartnerNamespaceInboundIpRuleArgs]] = None,
            local_authentication_enabled: Optional[bool] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            partner_registration_id: Optional[str] = None,
            partner_topic_routing_mode: Optional[str] = None,
            public_network_access: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None) -> PartnerNamespace
    func GetPartnerNamespace(ctx *Context, name string, id IDInput, state *PartnerNamespaceState, opts ...ResourceOption) (*PartnerNamespace, error)
    public static PartnerNamespace Get(string name, Input<string> id, PartnerNamespaceState? state, CustomResourceOptions? opts = null)
    public static PartnerNamespace get(String name, Output<String> id, PartnerNamespaceState state, CustomResourceOptions options)
    resources:  _:    type: azure:eventgrid:PartnerNamespace    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Endpoint string
    The endpoint for the Event Grid Partner Namespace.
    InboundIpRules List<PartnerNamespaceInboundIpRule>
    One or more inbound_ip_rule blocks as defined below.
    LocalAuthenticationEnabled bool
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    Location string
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    PartnerRegistrationId string
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    PartnerTopicRoutingMode string
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    PublicNetworkAccess string
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    ResourceGroupName string
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    Tags Dictionary<string, string>
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    Endpoint string
    The endpoint for the Event Grid Partner Namespace.
    InboundIpRules []PartnerNamespaceInboundIpRuleArgs
    One or more inbound_ip_rule blocks as defined below.
    LocalAuthenticationEnabled bool
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    Location string
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    Name string
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    PartnerRegistrationId string
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    PartnerTopicRoutingMode string
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    PublicNetworkAccess string
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    ResourceGroupName string
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    Tags map[string]string
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    endpoint String
    The endpoint for the Event Grid Partner Namespace.
    inboundIpRules List<PartnerNamespaceInboundIpRule>
    One or more inbound_ip_rule blocks as defined below.
    localAuthenticationEnabled Boolean
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location String
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerRegistrationId String
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerTopicRoutingMode String
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    publicNetworkAccess String
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    resourceGroupName String
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    tags Map<String,String>
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    endpoint string
    The endpoint for the Event Grid Partner Namespace.
    inboundIpRules PartnerNamespaceInboundIpRule[]
    One or more inbound_ip_rule blocks as defined below.
    localAuthenticationEnabled boolean
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location string
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name string
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerRegistrationId string
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerTopicRoutingMode string
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    publicNetworkAccess string
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    resourceGroupName string
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    tags {[key: string]: string}
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    endpoint str
    The endpoint for the Event Grid Partner Namespace.
    inbound_ip_rules Sequence[PartnerNamespaceInboundIpRuleArgs]
    One or more inbound_ip_rule blocks as defined below.
    local_authentication_enabled bool
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location str
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name str
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partner_registration_id str
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    partner_topic_routing_mode str
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    public_network_access str
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    resource_group_name str
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    tags Mapping[str, str]
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.
    endpoint String
    The endpoint for the Event Grid Partner Namespace.
    inboundIpRules List<Property Map>
    One or more inbound_ip_rule blocks as defined below.
    localAuthenticationEnabled Boolean
    Whether local authentication methods are enabled for the Event Grid Partner Namespace. Defaults to true.
    location String
    Specifies the Azure Region where the Event Grid Partner Namespace exists. Changing this forces a new resource to be created.
    name String
    The name which should be used for this Event Grid Partner Namespace. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerRegistrationId String
    The resource Id of the Event Grid Partner Registration that this namespace is associated with. Changing this forces a new Event Grid Partner Namespace to be created.
    partnerTopicRoutingMode String
    The partner topic routing mode. Possible values are ChannelNameHeader and SourceEventAttribute. Defaults to ChannelNameHeader. Changing this forces a new Event Grid Partner Namespace to be created.
    publicNetworkAccess String
    Whether or not public network access is allowed for this server. Possible values are Enabled and Disabled. Defaults to Enabled.
    resourceGroupName String
    The name of the Resource Group where the Event Grid Partner Namespace should exist. Changing this forces a new Event Grid Partner Namespace to be created.
    tags Map<String>
    A mapping of tags which should be assigned to the Event Grid Partner Namespace.

    Supporting Types

    PartnerNamespaceInboundIpRule, PartnerNamespaceInboundIpRuleArgs

    IpMask string
    The IP mask (CIDR) to match on.
    Action string
    The action to take when the rule is matched. The only possible value is Allow. Defaults to Allow.
    IpMask string
    The IP mask (CIDR) to match on.
    Action string
    The action to take when the rule is matched. The only possible value is Allow. Defaults to Allow.
    ipMask String
    The IP mask (CIDR) to match on.
    action String
    The action to take when the rule is matched. The only possible value is Allow. Defaults to Allow.
    ipMask string
    The IP mask (CIDR) to match on.
    action string
    The action to take when the rule is matched. The only possible value is Allow. Defaults to Allow.
    ip_mask str
    The IP mask (CIDR) to match on.
    action str
    The action to take when the rule is matched. The only possible value is Allow. Defaults to Allow.
    ipMask String
    The IP mask (CIDR) to match on.
    action String
    The action to take when the rule is matched. The only possible value is Allow. Defaults to Allow.

    Import

    Event Grid Partner Namespaces can be imported using the resource id, e.g.

    $ pulumi import azure:eventgrid/partnerNamespace:PartnerNamespace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/example/providers/Microsoft.EventGrid/partnerNamespaces/example
    

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

    Package Details

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

    We recommend using Azure Native.

    Azure v6.25.0 published on Wednesday, Aug 13, 2025 by Pulumi