We recommend using Azure Native.
azure.eventgrid.PartnerNamespace
Explore with Pulumi AI
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:
- Partner
Registration stringId - 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 stringName - 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 List<PartnerRules Namespace Inbound Ip Rule> - One or more
inbound_ip_rule
blocks as defined below. - Local
Authentication boolEnabled - 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.
- Partner
Topic stringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - Public
Network stringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Event Grid Partner Namespace.
- Partner
Registration stringId - 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 stringName - 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 []PartnerRules Namespace Inbound Ip Rule Args - One or more
inbound_ip_rule
blocks as defined below. - Local
Authentication boolEnabled - 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.
- Partner
Topic stringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - Public
Network stringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - map[string]string
- A mapping of tags which should be assigned to the Event Grid Partner Namespace.
- partner
Registration StringId - 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 StringName - 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 List<PartnerRules Namespace Inbound Ip Rule> - One or more
inbound_ip_rule
blocks as defined below. - local
Authentication BooleanEnabled - 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.
- partner
Topic StringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public
Network StringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - Map<String,String>
- A mapping of tags which should be assigned to the Event Grid Partner Namespace.
- partner
Registration stringId - 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 stringName - 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 PartnerRules Namespace Inbound Ip Rule[] - One or more
inbound_ip_rule
blocks as defined below. - local
Authentication booleanEnabled - 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.
- partner
Topic stringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public
Network stringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - {[key: string]: string}
- A mapping of tags which should be assigned to the Event Grid Partner Namespace.
- partner_
registration_ strid - 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_ strname - 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_ Sequence[Partnerrules Namespace Inbound Ip Rule Args] - One or more
inbound_ip_rule
blocks as defined below. - local_
authentication_ boolenabled - 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_ strrouting_ mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public_
network_ straccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - Mapping[str, str]
- A mapping of tags which should be assigned to the Event Grid Partner Namespace.
- partner
Registration StringId - 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 StringName - 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 List<Property Map>Rules - One or more
inbound_ip_rule
blocks as defined below. - local
Authentication BooleanEnabled - 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.
- partner
Topic StringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public
Network StringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - 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:
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.
- Endpoint string
- The endpoint for the Event Grid Partner Namespace.
- Inbound
Ip List<PartnerRules Namespace Inbound Ip Rule> - One or more
inbound_ip_rule
blocks as defined below. - Local
Authentication boolEnabled - 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.
- Partner
Registration stringId - 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 stringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - Public
Network stringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - Resource
Group stringName - 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.
- 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.
- Inbound
Ip []PartnerRules Namespace Inbound Ip Rule Args - One or more
inbound_ip_rule
blocks as defined below. - Local
Authentication boolEnabled - 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.
- Partner
Registration stringId - 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 stringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - Public
Network stringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - Resource
Group stringName - 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.
- 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.
- inbound
Ip List<PartnerRules Namespace Inbound Ip Rule> - One or more
inbound_ip_rule
blocks as defined below. - local
Authentication BooleanEnabled - 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.
- partner
Registration StringId - 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 StringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public
Network StringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - resource
Group StringName - 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.
- 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.
- inbound
Ip PartnerRules Namespace Inbound Ip Rule[] - One or more
inbound_ip_rule
blocks as defined below. - local
Authentication booleanEnabled - 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.
- partner
Registration stringId - 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 stringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public
Network stringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - resource
Group stringName - 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.
- {[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_ Sequence[Partnerrules Namespace Inbound Ip Rule Args] - One or more
inbound_ip_rule
blocks as defined below. - local_
authentication_ boolenabled - 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_ strid - 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_ strrouting_ mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public_
network_ straccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - resource_
group_ strname - 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.
- 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.
- inbound
Ip List<Property Map>Rules - One or more
inbound_ip_rule
blocks as defined below. - local
Authentication BooleanEnabled - 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.
- partner
Registration StringId - 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 StringRouting Mode - The partner topic routing mode. Possible values are
ChannelNameHeader
andSourceEventAttribute
. Defaults toChannelNameHeader
. Changing this forces a new Event Grid Partner Namespace to be created. - public
Network StringAccess - Whether or not public network access is allowed for this server. Possible values are
Enabled
andDisabled
. Defaults toEnabled
. - resource
Group StringName - 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.
- Map<String>
- A mapping of tags which should be assigned to the Event Grid Partner Namespace.
Supporting Types
PartnerNamespaceInboundIpRule, PartnerNamespaceInboundIpRuleArgs
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.