Private Link Resources - Get

Gets lists of resources that supports Privatelinks.

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

URI Parameters

Name In Required Type Description
namespaceName
path True

string

minLength: 6
maxLength: 50

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 (uuid)

The ID of the target subscription. The value must be an UUID.

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/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/ArunMonocle/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-2924/privateLinkResources?api-version=2026-01-01

Sample response

{
  "value": [
    {
      "name": "namespace",
      "type": "Microsoft.ServiceBus/namespaces/privateLinkResources",
      "id": "subscriptions/5f750a97-50d9-4e36-8081-c9ee4c0210d4/resourceGroups/SDK-ServiceBus-4794/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-5828/privateLinkResources/namespace",
      "properties": {
        "groupId": "namespace",
        "requiredMembers": [
          "namespace"
        ],
        "requiredZoneNames": [
          "privatelink.servicebus.windows.net"
        ]
      }
    }
  ]
}

Definitions

Name Description
ErrorAdditionalInfo

The resource management error additional info.

ErrorResponse

The resource management error response.

ErrorResponseError

The error object.

PrivateLinkResource

Information of the private link resource.

PrivateLinkResourcesListResult

The response of a PrivateLinkResource list operation.

ErrorAdditionalInfo

The resource management error additional info.

Name Type Description
info

management.azure.com.servicebus.controlplane.privatelinkresources.get

The additional info.

type

string

The additional info type.

ErrorResponse

The resource management error response.

Name Type Description
error

ErrorResponseError

The error object.

ErrorResponseError

The error object.

Name Type Description
additionalInfo

ErrorAdditionalInfo[]

The error additional info.

code

string

The error code.

details

ErrorResponse[]

The error details.

message

string

The error message.

target

string

The error target.

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

properties.requiredMembers

string[]

Required Members

properties.requiredZoneNames

string[]

Required Zone Names

type

string

Type of the resource

PrivateLinkResourcesListResult

The response of a PrivateLinkResource list operation.

Name Type Description
nextLink

string (uri)

The link to the next page of items

value

PrivateLinkResource[]

The PrivateLinkResource items on this page