Partner Namespaces - Get
Get a partner namespace.
Get properties of a partner namespace.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}?api-version=2022-06-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
partner
|
path | True |
string |
Name of the partner namespace. |
resource
|
path | True |
string |
The name of the resource group within the user's subscription. |
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. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
*** Error Responses: ***
|
Examples
PartnerNamespaces_Get
Sample request
Sample response
{
"properties": {
"provisioningState": "Succeeded",
"partnerRegistrationFullyQualifiedId": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerRegistrations/ContosoCorpAccount1",
"endpoint": "https://examplePartnerNamespaceName1.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/examplerg/providers/Microsoft.EventGrid/partnerNamespaces/examplePartnerNamespaceName1",
"name": "examplePartnerNamespaceName1",
"type": "Microsoft.EventGrid/partnerNamespaces"
}
Definitions
Name | Description |
---|---|
Connection |
ConnectionState information. |
created |
The type of identity that created the resource. |
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 |
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 |
Resource |
Provisioning state of the Private Endpoint Connection. |
system |
Metadata pertaining to creation and last modification of the resource. |
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.
Name | Type | Description |
---|---|---|
Application |
string |
|
Key |
string |
|
ManagedIdentity |
string |
|
User |
string |
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.
Name | Type | Description |
---|---|---|
Allow |
string |
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.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 | |||
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 |
|
systemData |
The system metadata relating to Partner Namespace resource. |
||
tags |
object |
Tags of the resource. |
|
type |
string |
Type of the resource. |
PartnerNamespaceProvisioningState
Provisioning state of the partner namespace.
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
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.
Name | Type | Description |
---|---|---|
ChannelNameHeader |
string |
|
SourceEventAttribute |
string |
PersistedConnectionStatus
Status of the connection.
Name | Type | Description |
---|---|---|
Approved |
string |
|
Disconnected |
string |
|
Pending |
string |
|
Rejected |
string |
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
Name | Type | Description |
---|---|---|
Disabled |
string |
|
Enabled |
string |
ResourceProvisioningState
Provisioning state of the Private Endpoint Connection.
Name | Type | Description |
---|---|---|
Canceled |
string |
|
Creating |
string |
|
Deleting |
string |
|
Failed |
string |
|
Succeeded |
string |
|
Updating |
string |
systemData
Metadata pertaining to creation and last modification of the resource.
Name | Type | Description |
---|---|---|
createdAt |
string |
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 |
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. |