Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The partnerNamespaces resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.EventGrid/partnerNamespaces resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.EventGrid/partnerNamespaces@2024-12-15-preview' = {
scope: resourceSymbolicName or scope
location: 'string'
name: 'string'
properties: {
disableLocalAuth: bool
inboundIpRules: [
{
action: 'string'
ipMask: 'string'
}
]
minimumTlsVersionAllowed: 'string'
partnerRegistrationFullyQualifiedId: 'string'
partnerTopicRoutingMode: 'string'
publicNetworkAccess: 'string'
}
tags: {
{customized property}: 'string'
}
}
Property Values
Microsoft.EventGrid/partnerNamespaces
| Name | Description | Value |
|---|---|---|
| location | Location of the resource. | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the Partner Namespace. | PartnerNamespaceProperties |
| scope | Use when creating a resource at a scope that is different than the deployment scope. | Set this property to the symbolic name of a resource to apply the extension resource. |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
InboundIpRule
| Name | Description | Value |
|---|---|---|
| action | Action to perform based on the match or no match of the IpMask. | 'Allow' |
| ipMask | IP Address in CIDR notation e.g., 10.0.0.0/8. | string |
PartnerNamespaceProperties
| Name | Description | Value |
|---|---|---|
| disableLocalAuth | This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. | bool |
| inboundIpRules | This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. | InboundIpRule[] |
| minimumTlsVersionAllowed | Minimum TLS version of the publisher allowed to publish to this partner namespace | '1.0' '1.1' '1.2' |
| partnerRegistrationFullyQualifiedId | The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. |
string |
| partnerTopicRoutingMode | This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. |
'ChannelNameHeader' 'SourceEventAttribute' |
| publicNetworkAccess | This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" /> |
'Disabled' 'Enabled' 'SecuredByPerimeter' |
TrackedResourceTags
| Name | Description | Value |
|---|
ARM template resource definition
The partnerNamespaces resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.EventGrid/partnerNamespaces resource, add the following JSON to your template.
{
"type": "Microsoft.EventGrid/partnerNamespaces",
"apiVersion": "2024-12-15-preview",
"name": "string",
"location": "string",
"properties": {
"disableLocalAuth": "bool",
"inboundIpRules": [
{
"action": "string",
"ipMask": "string"
}
],
"minimumTlsVersionAllowed": "string",
"partnerRegistrationFullyQualifiedId": "string",
"partnerTopicRoutingMode": "string",
"publicNetworkAccess": "string"
},
"tags": {
"{customized property}": "string"
}
}
Property Values
Microsoft.EventGrid/partnerNamespaces
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2024-12-15-preview' |
| location | Location of the resource. | string (required) |
| name | The resource name | string (required) |
| properties | Properties of the Partner Namespace. | PartnerNamespaceProperties |
| tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
| type | The resource type | 'Microsoft.EventGrid/partnerNamespaces' |
InboundIpRule
| Name | Description | Value |
|---|---|---|
| action | Action to perform based on the match or no match of the IpMask. | 'Allow' |
| ipMask | IP Address in CIDR notation e.g., 10.0.0.0/8. | string |
PartnerNamespaceProperties
| Name | Description | Value |
|---|---|---|
| disableLocalAuth | This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. | bool |
| inboundIpRules | This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. | InboundIpRule[] |
| minimumTlsVersionAllowed | Minimum TLS version of the publisher allowed to publish to this partner namespace | '1.0' '1.1' '1.2' |
| partnerRegistrationFullyQualifiedId | The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. |
string |
| partnerTopicRoutingMode | This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. |
'ChannelNameHeader' 'SourceEventAttribute' |
| publicNetworkAccess | This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" /> |
'Disabled' 'Enabled' 'SecuredByPerimeter' |
TrackedResourceTags
| Name | Description | Value |
|---|
Usage Examples
Terraform (AzAPI provider) resource definition
The partnerNamespaces resource type can be deployed with operations that target:
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.EventGrid/partnerNamespaces resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.EventGrid/partnerNamespaces@2024-12-15-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
disableLocalAuth = bool
inboundIpRules = [
{
action = "string"
ipMask = "string"
}
]
minimumTlsVersionAllowed = "string"
partnerRegistrationFullyQualifiedId = "string"
partnerTopicRoutingMode = "string"
publicNetworkAccess = "string"
}
}
}
Property Values
Microsoft.EventGrid/partnerNamespaces
| Name | Description | Value |
|---|---|---|
| location | Location of the resource. | string (required) |
| name | The resource name | string (required) |
| parent_id | The ID of the resource to apply this extension resource to. | string (required) |
| properties | Properties of the Partner Namespace. | PartnerNamespaceProperties |
| tags | Resource tags | Dictionary of tag names and values. |
| type | The resource type | "Microsoft.EventGrid/partnerNamespaces@2024-12-15-preview" |
InboundIpRule
| Name | Description | Value |
|---|---|---|
| action | Action to perform based on the match or no match of the IpMask. | 'Allow' |
| ipMask | IP Address in CIDR notation e.g., 10.0.0.0/8. | string |
PartnerNamespaceProperties
| Name | Description | Value |
|---|---|---|
| disableLocalAuth | This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only AAD token will be used to authenticate if user is allowed to publish to the partner namespace. | bool |
| inboundIpRules | This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. | InboundIpRule[] |
| minimumTlsVersionAllowed | Minimum TLS version of the publisher allowed to publish to this partner namespace | '1.0' '1.1' '1.2' |
| partnerRegistrationFullyQualifiedId | The fully qualified ARM Id of the partner registration that should be associated with this partner namespace. This takes the following format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}. |
string |
| partnerTopicRoutingMode | This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. |
'ChannelNameHeader' 'SourceEventAttribute' |
| publicNetworkAccess | This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceProperties.InboundIpRules" /> |
'Disabled' 'Enabled' 'SecuredByPerimeter' |
TrackedResourceTags
| Name | Description | Value |
|---|