Azure Notification Hubs Private Link API

The Private Link API from Azure Notification Hubs — 4 operation(s) for private link.

GitHub OpenAPI

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName} Approve or reject a private endpoint connection · Approves or rejects Private Endpoint Connection. #
Ask an LLM
“How do I approve a private endpoint connection so a VNet can access my Notification Hubs namespace?”
“Can I reject a private endpoint connection request?”
Tell an agent
Approve private endpoint connection {connection} on namespace {namespace} in {resource_group}, subscription {subscription}.
Reject private endpoint connection {connection} with properties {properties}.
DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName} Delete a private endpoint connection · Deletes the Private Endpoint Connection. #
Ask an LLM
“How do I remove a private endpoint connection from my namespace?”
“Can I delete a private endpoint connection I no longer need?”
Tell an agent destructive · confirm first
Delete private endpoint connection {connection} from namespace {namespace} in {resource_group}, subscription {subscription}.
Remove private endpoint connection {connection}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName} Get a private endpoint connection · Returns a Private Endpoint Connection with a given name. #
Ask an LLM
“How do I check the approval state of a private endpoint connection on my Notification Hubs namespace?”
“What does a single private endpoint connection look like?”
Tell an agent
Get private endpoint connection {connection} on namespace {namespace} in {resource_group}, subscription {subscription}.
Show the approval status of private endpoint connection {connection}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections List private endpoint connections on a namespace · Returns all Private Endpoint Connections that belong to the given Notification… #
Ask an LLM
“Which private endpoint connections are attached to my Notification Hubs namespace?”
“What VNet connections exist on a namespace?”
Tell an agent
List private endpoint connections on namespace {namespace} in {resource_group}, subscription {subscription}.
Show all VNet connections on {namespace}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName} Get a private link group ID for a sub-resource · Returns Group Id response. #
Ask an LLM
“What group ID should I use when creating a private link connection for a sub-resource?”
“Can I fetch the group ID for a private link sub-resource?”
Tell an agent
Get the group ID for sub-resource {sub_resource} on namespace {namespace} in {resource_group}, subscription {subscription}.
Fetch the group ID for {sub_resource}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources List private link group IDs for a namespace · Returns all Group Ids supported by the Notification Hubs RP. #
Ask an LLM
“Which sub-resources can I connect to my namespace through private link?”
“What group IDs does the Notification Hubs resource provider support?”
Tell an agent
List private link group IDs for namespace {namespace} in {resource_group}, subscription {subscription}.
Show all supported private link sub-resources on {namespace}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure-notification-hubs:microsoft-azure-notification-hubs-private-link-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-notification-hubs-private-link-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: NotificationHubs RP Client Private Link API
  description: Microsoft Notification Hubs Resource Provider REST API.
  version: '2023-09-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: Private Link
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections/{privateEndpointConnectionName}
  : put:
      tags:
      - Private Link
      summary: Approves or rejects Private Endpoint Connection.
      operationId: PrivateEndpointConnections_Update
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NamespaceName'
      - $ref: '#/components/parameters/PrivateEndpointConnectionName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateEndpointConnectionResource'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateEndpointConnectionResource'
        default:
          description: Error code with reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: azure-async-operation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrivateEndpointConnectionResource'
        description: Description of the Private Endpoint Connection resource.
        required: true
    delete:
      tags:
      - Private Link
      summary: Deletes the Private Endpoint Connection.
      operationId: PrivateEndpointConnections_Delete
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NamespaceName'
      - $ref: '#/components/parameters/PrivateEndpointConnectionName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '202':
          description: Accepted
          headers:
            Location:
              schema:
                type: string
        '204':
          description: No Content
        default:
          description: Error code with reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-long-running-operation: true
      x-ms-long-running-operation-options:
        final-state-via: location
    get:
      tags:
      - Private Link
      summary: Returns a Private Endpoint Connection with a given name.
      operationId: PrivateEndpointConnections_Get
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NamespaceName'
      - $ref: '#/components/parameters/PrivateEndpointConnectionName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateEndpointConnectionResource'
        default:
          description: Error code with reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateEndpointConnections
  : get:
      tags:
      - Private Link
      summary: Returns all Private Endpoint Connections that belong to the given Notification…
      operationId: PrivateEndpointConnections_List
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NamespaceName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateEndpointConnectionResourceListResult'
        default:
          description: Error code with reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        itemName: value
        nextLinkName: null
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources/{subResourceName}
  : get:
      tags:
      - Private Link
      summary: Returns Group Id response.
      description: 'Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it''s called.

        That''s why we don''t send it to the sibling RP, but process it directly in the scale unit that received the request.'
      operationId: PrivateEndpointConnections_GetGroupId
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NamespaceName'
      - in: path
        name: subResourceName
        description: Name of the Private Link sub-resource. The only supported sub-resource is "namespace"
        required: true
        schema:
          type: string
          pattern: ^namespace$
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateLinkResource'
        default:
          description: Error code with reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NotificationHubs/namespaces/{namespaceName}/privateLinkResources
  : get:
      tags:
      - Private Link
      summary: Returns all Group Ids supported by the Notification Hubs RP.
      description: 'Even though this namespace requires subscription id, resource group and namespace name, it returns a constant payload (for a given namespacE) every time it''s called.

        That''s why we don''t send it to the sibling RP, but process it directly in the scale unit that received the request.'
      operationId: PrivateEndpointConnections_ListGroupIds
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupNameParameter'
      - $ref: '#/components/parameters/NamespaceName'
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrivateLinkResourceListResult'
        default:
          description: Error code with reason.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        itemName: value
        nextLinkName: null
components:
  schemas:
    PrivateEndpointConnectionResource:
      description: Represents a Private Endpoint Connection ARM resource - a sub-resource of Notification Hubs namespace.
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        properties:
          $ref: '#/components/schemas/PrivateEndpointConnectionProperties'
    PrivateEndpointConnectionProperties:
      description: Private Endpoint Connection properties.
      type: object
      properties:
        provisioningState:
          $ref: '#/components/schemas/PrivateEndpointConnectionProvisioningState'
        privateEndpoint:
          $ref: '#/components/schemas/RemotePrivateEndpointConnection'
        groupIds:
          description: List of group ids. For Notification Hubs, it always contains a single "namespace" element.
          type: array
          items:
            type: string
          readOnly: true
        privateLinkServiceConnectionState:
          $ref: '#/components/schemas/RemotePrivateLinkServiceConnectionState'
    PrivateLinkConnectionStatus:
      description: State of Private Link Connection.
      enum:
      - Disconnected
      - Pending
      - Approved
      - Rejected
      type: string
      x-ms-enum:
        name: PrivateLinkConnectionStatus
        modelAsString: true
    RemotePrivateLinkServiceConnectionState:
      description: State of the Private Link Service connection.
      type: object
      properties:
        status:
          $ref: '#/components/schemas/PrivateLinkConnectionStatus'
        description:
          description: Human-friendly description.
          type: string
          readOnly: true
        actionsRequired:
          description: Human-friendly description of required actions.
          type: string
          readOnly: true
    ProxyResource:
      type: object
      title: Proxy Resource
      description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
      allOf:
      - $ref: '#/components/schemas/Resource'
    PrivateLinkResource:
      description: A Private Link Arm Resource.
      type: object
      allOf:
      - $ref: '#/components/schemas/ProxyResource'
      properties:
        properties:
          $ref: '#/components/schemas/PrivateLinkResourceProperties'
    ErrorResponse:
      type: object
      title: Error response
      description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetail'
          description: The error object.
    PrivateLinkResourceProperties:
      description: Represents properties of Private Link Resource.
      type: object
      properties:
        groupId:
          description: A Group Id for Private Link. For Notification Hubs, it is always set to "namespace".
          type: string
          readOnly: true
        requiredMembers:
          description: Required members. For Notification Hubs, it's always a collection with a single "namespace" item.
          type: array
          items:
            type: string
          readOnly: true
        requiredZoneNames:
          description: Required DNS zone names. For Notification Hubs, it contains two CNames for Service Bus and Notification Hubs zones.
          type: array
          items:
            type: string
          readOnly: true
    PrivateEndpointConnectionResourceListResult:
      description: The response of the List Private Endpoint Connections operation.
      type: object
      properties:
        value:
          description: Gets or sets result of the List AuthorizationRules operation.
          type: array
          items:
            $ref: '#/components/schemas/PrivateEndpointConnectionResource'
          readOnly: true
        nextLink:
          description: Gets or sets link to the next set of results.
          type: string
          readOnly: true
    PrivateEndpointConnectionProvisioningState:
      description: State of Private Endpoint Connection.
      enum:
      - Unknown
      - Succeeded
      - Creating
      - Updating
      - UpdatingByProxy
      - Deleting
      - DeletingByProxy
      - Deleted
      type: string
      x-ms-enum:
        name: PrivateEndpointConnectionProvisioningState
        modelAsString: true
    RemotePrivateEndpointConnection:
      description: Represents a Private Endpoint that is connected to Notification Hubs namespace using Private Endpoint Connection.
      type: object
      properties:
        id:
          description: ARM resource ID of the Private Endpoint. This may belong to different subscription and resource group than a Notification Hubs namespace.
          type: string
          readOnly: true
    PrivateLinkResourceListResult:
      description: The response of the List Private Link Resources operation.
      type: object
      properties:
        value:
          description: Gets or sets result of the List AuthorizationRules operation.
          type: array
          items:
            $ref: '#/components/schemas/PrivateLinkResource'
          readOnly: true
        nextLink:
          description: Gets or sets link to the next set of results.
          type: string
          readOnly: true
  parameters:
    ResourceGroupNameParameter:
      name: resourceGroupName
      in: path
      description: The name of the resource group. The name is case insensitive.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: The ID of the target subscription. The value must be an UUID.
      required: true
      schema:
        type: string
        format: uuid
    PrivateEndpointConnectionName:
      in: path
      name: privateEndpointConnectionName
      description: Private Endpoint Connection Name
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 87
        minLength: 1
        pattern: ^[a-zA-Z][a-zA-Z0-9-]*\.[a-fA-F0-9\-]+$
    NamespaceName:
      in: path
      name: namespaceName
      description: Namespace name
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 50
        minLength: 1
        pattern: ^[a-zA-Z][a-zA-Z0-9-]*$
    ApiVersionParameter:
      name: api-version
      in: query
      description: The API version to use for this operation.
      required: true
      schema:
        type: string
        minLength: 1
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow