Partner Namespaces - List By Subscription
List partner namespaces under an Azure subscription.
List all the partner namespaces under an Azure subscription.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/partnerNamespaces?api-version=2025-02-15
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.EventGrid/partnerNamespaces?api-version=2025-02-15&$filter={$filter}&$top={$top}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
subscription
|
path | True |
string |
Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. |
api-version
|
query | True |
string |
Version of the API to be used with the client request. |
$filter
|
query |
string |
The query used to filter the search results using OData syntax. Filtering is permitted on the 'name' property only and with limited number of OData operations. These operations are: the 'contains' function as well as the following logical operations: not, and, or, eq (for equal), and ne (for not equal). No arithmetic operations are supported. The following is a valid filter example: $filter=contains(namE, 'PATTERN') and name ne 'PATTERN-1'. The following is not a valid filter example: $filter=location eq 'westus'. |
|
$top
|
query |
integer (int32) |
The number of results to return per page for the list operation. Valid range for top parameter is 1 to 100. If not specified, the default number of results to be returned is 20 items per page. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response returned if request was unsuccessful. |
Examples
PartnerNamespaces_ListBySubscription
Sample request
Sample response
{
"value": [
{
"properties": {
"provisioningState": "Succeeded",
"partnerRegistrationFullyQualifiedId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/amh/providers/Microsoft.EventGrid/partnerRegistrations/ContosoCorpAccount1",
"endpoint": "https://partnernamespace123.centraluseuap-1.eventgrid.azure.net/api/events"
},
"location": "Central US EUAP",
"tags": {
"key1": "value1",
"key2": "value2",
"key3": "value3"
},
"id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/amh/providers/Microsoft.EventGrid/partnerNamespaces/partnerNamespace123",
"name": "partnerNamespace123",
"type": "Microsoft.EventGrid/partnerNamespaces"
}
]
}
Definitions
Name | Description |
---|---|
Connection |
ConnectionState information. |
created |
The type of identity that created the resource. |
Error |
The resource management error additional info. |
Error |
The error detail. |
Error |
Error response |
Inbound |
|
Ip |
Action to perform based on the match or no match of the IpMask. |
Partner |
EventGrid Partner Namespace. |
Partner |
Provisioning state of the partner namespace. |
Partner |
Result of the List Partner Namespaces operation |
Partner |
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. |
Persisted |
Status of the connection. |
Private |
PrivateEndpoint information. |
Private |
|
Public |
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.DomainProperties.InboundIpRules" /> |
Resource |
Provisioning state of the Private Endpoint Connection. |
system |
Metadata pertaining to creation and last modification of the resource. |
Tls |
Minimum TLS version of the publisher allowed to publish to this domain |
ConnectionState
ConnectionState information.
Name | Type | Description |
---|---|---|
actionsRequired |
string |
Actions required (if any). |
description |
string |
Description of the connection state. |
status |
Status of the connection. |
createdByType
The type of identity that created the resource.
Value | Description |
---|---|
User | |
Application | |
ManagedIdentity | |
Key |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
ErrorDetail
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
ErrorResponse
Error response
Name | Type | Description |
---|---|---|
error |
The error object. |
InboundIpRule
Name | Type | Description |
---|---|---|
action |
Action to perform based on the match or no match of the IpMask. |
|
ipMask |
string |
IP Address in CIDR notation e.g., 10.0.0.0/8. |
IpActionType
Action to perform based on the match or no match of the IpMask.
Value | Description |
---|---|
Allow |
PartnerNamespace
EventGrid Partner Namespace.
Name | Type | Default value | Description |
---|---|---|---|
id |
string |
Fully qualified identifier of the resource. |
|
location |
string |
Location of the resource. |
|
name |
string |
Name of the resource. |
|
properties.disableLocalAuth |
boolean |
False |
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. |
properties.endpoint |
string |
Endpoint for the partner namespace. |
|
properties.inboundIpRules |
This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled. |
||
properties.minimumTlsVersionAllowed |
Minimum TLS version of the publisher allowed to publish to this partner namespace |
||
properties.partnerRegistrationFullyQualifiedId |
string |
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}. |
|
properties.partnerTopicRoutingMode | SourceEventAttribute |
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. |
|
properties.privateEndpointConnections |
List of private endpoint connections. |
||
properties.provisioningState |
Provisioning state of the partner namespace. |
||
properties.publicNetworkAccess | Enabled |
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" /> |
|
systemData |
The system metadata relating to the Event Grid resource. |
||
tags |
object |
Tags of the resource. |
|
type |
string |
Type of the resource. |
PartnerNamespaceProvisioningState
Provisioning state of the partner namespace.
Value | Description |
---|---|
Creating | |
Updating | |
Deleting | |
Succeeded | |
Canceled | |
Failed |
PartnerNamespacesListResult
Result of the List Partner Namespaces operation
Name | Type | Description |
---|---|---|
nextLink |
string |
A link for the next page of partner namespaces. |
value |
A collection of partner namespaces. |
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.
Value | Description |
---|---|
SourceEventAttribute | |
ChannelNameHeader |
PersistedConnectionStatus
Status of the connection.
Value | Description |
---|---|
Pending | |
Approved | |
Rejected | |
Disconnected |
PrivateEndpoint
PrivateEndpoint information.
Name | Type | Description |
---|---|---|
id |
string |
The ARM identifier for Private Endpoint. |
PrivateEndpointConnection
Name | Type | Description |
---|---|---|
id |
string |
Fully qualified identifier of the resource. |
name |
string |
Name of the resource. |
properties.groupIds |
string[] |
GroupIds from the private link service resource. |
properties.privateEndpoint |
The Private Endpoint resource for this Connection. |
|
properties.privateLinkServiceConnectionState |
Details about the state of the connection. |
|
properties.provisioningState |
Provisioning state of the Private Endpoint Connection. |
|
type |
string |
Type of the resource. |
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.DomainProperties.InboundIpRules" />
Value | Description |
---|---|
Enabled | |
Disabled |
ResourceProvisioningState
Provisioning state of the Private Endpoint Connection.
Value | Description |
---|---|
Creating | |
Updating | |
Deleting | |
Succeeded | |
Canceled | |
Failed |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string (date-time) |
The timestamp of resource creation (UTC). |
createdBy |
string |
The identity that created the resource. |
createdByType |
The type of identity that created the resource. |
|
lastModifiedAt |
string (date-time) |
The timestamp of resource last modification (UTC) |
lastModifiedBy |
string |
The identity that last modified the resource. |
lastModifiedByType |
The type of identity that last modified the resource. |
TlsVersion
Minimum TLS version of the publisher allowed to publish to this domain
Value | Description |
---|---|
1.0 | |
1.1 | |
1.2 |