Microsoft Azure Private Link Private Link Service API
The PrivateLinkService API from Microsoft Azure Private Link — 1 operation(s) for privatelinkservice.
The PrivateLinkService API from Microsoft Azure Private Link — 1 operation(s) for privatelinkservice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-azure-private-link:microsoft-azure-private-link-privatelinkservice-api"
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.
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: 3.2.0
info:
title: NetworkManagementClient Private Link Service API
description: The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.
version: '2025-03-01'
servers:
- url: https://management.azure.com
security:
- azure_auth:
- user_impersonation
tags:
- name: PrivateLinkService
paths:
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}
: put:
tags:
- PrivateLinkService
operationId: PrivateLinkServices_CreateOrUpdate
description: Creates or updates an private link service in the specified resource group.
parameters:
- name: resourceGroupName
in: path
required: true
description: The name of the resource group.
schema:
type: string
- name: serviceName
in: path
required: true
description: The name of the private link service.
schema:
type: string
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
responses:
'200':
description: Update successful. The operation returns the resulting privateLinkService resource.
content:
application/json:
schema:
$ref: '#/components/schemas/PrivateLinkService'
'201':
description: Create successful. The operation returns the resulting privateLinkService resource.
content:
application/json:
schema:
$ref: '#/components/schemas/PrivateLinkService'
default:
description: Error.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
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/PrivateLinkService'
description: Parameters supplied to the create or update private link service operation.
required: true
summary: Private link services create or update
x-summary-source: derived
components:
schemas:
SubResource:
properties:
id:
type: string
description: Resource ID.
description: Reference to another subresource.
x-ms-azure-resource: true
IPVersion:
type: string
description: IP address version.
enum:
- IPv4
- IPv6
x-ms-enum:
name: IPVersion
modelAsString: true
ExtendedLocation:
description: ExtendedLocation complex type.
properties:
name:
type: string
description: The name of the extended location.
type:
$ref: '#/components/schemas/ExtendedLocationType'
description: The type of the extended location.
PrivateLinkServiceIpConfiguration:
properties:
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/PrivateLinkServiceIpConfigurationProperties'
description: Properties of the private link service ip configuration.
name:
type: string
description: The name of private link service ip configuration.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
type:
readOnly: true
type: string
description: The resource type.
allOf:
- $ref: '#/components/schemas/SubResource'
description: The private link service ip configuration.
PrivateLinkService:
properties:
extendedLocation:
$ref: '#/components/schemas/ExtendedLocation'
description: The extended location of the load balancer.
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/PrivateLinkServiceProperties'
description: Properties of the private link service.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
allOf:
- $ref: '#/components/schemas/Resource'
description: Private link service resource.
PrivateEndpointConnection:
properties:
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/PrivateEndpointConnectionProperties'
description: Properties of the private end point connection.
name:
type: string
description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
type:
readOnly: true
type: string
description: The resource type.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
allOf:
- $ref: '#/components/schemas/SubResource'
description: PrivateEndpointConnection resource.
PrivateEndpoint:
properties:
extendedLocation:
$ref: '#/components/schemas/ExtendedLocation'
description: The extended location of the load balancer.
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/PrivateEndpointProperties'
description: Properties of the private endpoint.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
allOf:
- $ref: '#/components/schemas/Resource'
description: Private endpoint resource.
FrontendIPConfiguration:
properties:
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/FrontendIPConfigurationPropertiesFormat'
description: Properties of the load balancer probe.
name:
type: string
description: The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
type:
readOnly: true
type: string
description: Type of the resource.
zones:
type: array
items:
type: string
description: A list of availability zones denoting the IP allocated for the resource needs to come from.
allOf:
- $ref: '#/components/schemas/SubResource'
description: Frontend IP address of the load balancer.
ProvisioningState:
type: string
readOnly: true
description: The current provisioning state.
enum:
- Succeeded
- Updating
- Deleting
- Failed
x-ms-enum:
name: ProvisioningState
modelAsString: true
PrivateLinkServiceIpConfigurationProperties:
properties:
privateIPAddress:
type: string
description: The private IP address of the IP configuration.
privateIPAllocationMethod:
$ref: '#/components/schemas/IPAllocationMethod'
description: The private IP address allocation method.
subnet:
$ref: '#/components/schemas/Subnet'
description: The reference to the subnet resource.
primary:
type: boolean
description: Whether the ip configuration is primary or not.
provisioningState:
readOnly: true
$ref: '#/components/schemas/ProvisioningState'
description: The provisioning state of the private link service IP configuration resource.
privateIPAddressVersion:
$ref: '#/components/schemas/IPVersion'
description: Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4.
description: Properties of private link service IP configuration.
PrivateLinkServiceConnectionState:
properties:
status:
type: string
description: Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service.
description:
type: string
description: The reason for approval/rejection of the connection.
actionsRequired:
type: string
description: A message indicating if changes on the service provider require any updates on the consumer.
description: A collection of information about the state of the connection between service consumer and provider.
IPAllocationMethod:
type: string
description: IP address allocation method.
enum:
- Static
- Dynamic
x-ms-enum:
name: IPAllocationMethod
modelAsString: true
NetworkInterface:
properties:
extendedLocation:
$ref: '#/components/schemas/ExtendedLocation'
description: The extended location of the network interface.
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/NetworkInterfacePropertiesFormat'
description: Properties of the network interface.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
allOf:
- $ref: '#/components/schemas/Resource'
description: A network interface in a resource group.
PrivateEndpointConnectionProperties:
properties:
privateEndpoint:
readOnly: true
$ref: '#/components/schemas/PrivateEndpoint'
description: The resource of private end point.
privateLinkServiceConnectionState:
$ref: '#/components/schemas/PrivateLinkServiceConnectionState'
description: A collection of information about the state of the connection between service consumer and provider.
provisioningState:
readOnly: true
$ref: '#/components/schemas/ProvisioningState'
description: The provisioning state of the private endpoint connection resource.
linkIdentifier:
readOnly: true
type: string
description: The consumer link id.
privateEndpointLocation:
readOnly: true
type: string
description: The location of the private endpoint.
description: Properties of the PrivateEndpointConnectProperties.
ResourceSet:
properties:
subscriptions:
type: array
items:
type: string
description: The list of subscriptions.
description: The base resource set for visibility and auto-approval.
Resource:
properties:
id:
type: string
description: Resource ID.
name:
readOnly: true
type: string
description: Resource name.
type:
readOnly: true
type: string
description: Resource type.
location:
type: string
description: Resource location.
tags:
type: object
additionalProperties:
type: string
description: Resource tags.
description: Common resource representation.
x-ms-azure-resource: true
PrivateLinkServiceProperties:
properties:
loadBalancerFrontendIpConfigurations:
type: array
items:
$ref: '#/components/schemas/FrontendIPConfiguration'
description: An array of references to the load balancer IP configurations.
ipConfigurations:
type: array
items:
$ref: '#/components/schemas/PrivateLinkServiceIpConfiguration'
description: An array of private link service IP configurations.
destinationIPAddress:
readOnly: false
type: string
description: The destination IP address of the private link service.
accessMode:
type: string
description: The access mode of the private link service.
enum:
- Default
- Restricted
x-ms-enum:
name: AccessMode
modelAsString: true
values:
- name: Default
value: Default
description: Allows unrestricted access to the private link service.
- name: Restricted
value: Restricted
description: Limits access to subscriptions which are inside visibility list only.
networkInterfaces:
type: array
readOnly: true
items:
$ref: '#/components/schemas/NetworkInterface'
description: An array of references to the network interfaces created for this private link service.
provisioningState:
readOnly: true
$ref: '#/components/schemas/ProvisioningState'
description: The provisioning state of the private link service resource.
privateEndpointConnections:
readOnly: true
type: array
items:
$ref: '#/components/schemas/PrivateEndpointConnection'
description: An array of list about connections to the private endpoint.
visibility:
allOf:
- $ref: '#/components/schemas/ResourceSet'
description: The visibility list of the private link service.
autoApproval:
allOf:
- $ref: '#/components/schemas/ResourceSet'
description: The auto-approval list of the private link service.
fqdns:
type: array
items:
type: string
description: The list of Fqdn.
alias:
readOnly: true
type: string
description: The alias of the private link service.
enableProxyProtocol:
type: boolean
description: Whether the private link service is enabled for proxy protocol or not.
description: Properties of the private link service.
Subnet:
properties:
properties:
x-ms-client-flatten: true
$ref: '#/components/schemas/SubnetPropertiesFormat'
description: Properties of the subnet.
name:
type: string
description: The name of the resource that is unique within a resource group. This name can be used to access the resource.
etag:
readOnly: true
type: string
description: A unique read-only string that changes whenever the resource is updated.
type:
type: string
description: Resource type.
allOf:
- $ref: '#/components/schemas/SubResource'
description: Subnet in a virtual network resource.
Error:
properties:
code:
type: string
description: Error code.
message:
type: string
description: Error message.
target:
type: string
description: Error target.
details:
type: array
items:
$ref: '#/components/schemas/ErrorDetails'
description: Error details.
innerError:
type: string
description: Inner error message.
description: Common error representation.
parameters:
SubscriptionIdParameter:
name: subscriptionId
in: path
required: true
description: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
schema:
type: string
ApiVersionParameter:
name: api-version
in: query
required: true
description: Client API version.
schema:
type: string
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.