Private Link Resources - Get

Gets lists of resources that supports Privatelinks.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/privateLinkResources?api-version=2026-01-01

URI Parameters

Name In Required Type Description
namespaceName
path True

string

minLength: 6
maxLength: 50
pattern: ^[a-zA-Z][a-zA-Z0-9-]{6,50}[a-zA-Z0-9]$

The Namespace name

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string

minLength: 1

The ID of the target subscription.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

PrivateLinkResourcesListResult

Azure operation completed successfully.

Other Status Codes

ErrorResponse

An unexpected error response.

Security

azure_auth

Azure Active Directory OAuth2 Flow.

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

NameSpacePrivateLinkResourcesGet

Sample request

GET https://management.azure.com/subscriptions/subID/resourceGroups/ArunMonocle/providers/Microsoft.EventHub/namespaces/sdk-Namespace-2924/privateLinkResources?api-version=2026-01-01

Sample response

{
  "value": [
    {
      "name": "namespace",
      "type": "Microsoft.EventHub/namespaces/privateLinkResources",
      "id": "subscriptions/subID/resourceGroups/SDK-EventHub-4794/providers/Microsoft.EventHub/namespaces/sdk-Namespace-5828/privateLinkResources/namespace",
      "properties": {
        "groupId": "namespace",
        "requiredMembers": [
          "namespace"
        ],
        "requiredZoneNames": [
          "privatelink.EventHub.windows.net"
        ]
      }
    }
  ]
}

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorDetail

The error detail.

ErrorResponse

Error response indicates Event Hub service is not able to process the incoming request. The reason is provided in the error message.

PrivateLinkResource

Information of the private link resource.

PrivateLinkResourcesListResult

Paged collection of PrivateLinkResource items

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

management.azure.com.eventhub.privatelinkresources.get

The additional info.

type

string

The additional info type.

ErrorDetail

The error detail.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorDetail[]

The error details.

message

string

The error message.

target

string

The error target.

ErrorResponse

Error response indicates Event Hub service is not able to process the incoming request. The reason is provided in the error message.

Name Type Description
error

ErrorDetail

The error object.

PrivateLinkResource

Information of the private link resource.

Name Type Description
id

string

Fully qualified identifier of the resource.

name

string

Name of the resource

properties.groupId

string

The private link resource group id.

properties.requiredMembers

string[]

The private link resource required member names.

properties.requiredZoneNames

string[]

The private link resource Private link DNS zone name.

type

string

Type of the resource

PrivateLinkResourcesListResult

Paged collection of PrivateLinkResource items

Name Type Description
nextLink

string (uri)

The link to the next page of items

value

PrivateLinkResource[]

The PrivateLinkResource items on this page