-
Notifications
You must be signed in to change notification settings - Fork 97
ARM PrivateLink Apis
Suwat Ch edited this page Apr 7, 2021
·
3 revisions
Please refer to this doc for more details.
ARMClient.exe put "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/privateEndpoints/{name}?api-version=2019-02-01" payload.json
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"privateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/sites/{site}",
"groupIds" : [ "sites" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"manualPrivateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/sites/{site}",
"groupIds" : [ "sites" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"manualPrivateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/hostingEnvironments/{ase}",
"groupIds" : [ "hostingEnvironments" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"manualPrivateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/hostingEnvironments/{ase}",
"groupIds" : [ "hostingEnvironments" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"privateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/staticSites/{staticWebAppName}",
"groupIds" : [ "staticSites" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"manualPrivateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/staticSites/{staticWebAppName}",
"groupIds" : [ "staticSites" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"privateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/sites/{site}",
"groupIds" : [ "sites-{slot}" ]
}
}]
}
}
{
"location" : "{location}",
"properties": {
"subnet":
{
"id": "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Network/virtualNetworks/{vnet}/subnets/{subnet}"
},
"manualPrivateLinkServiceConnections" : [{
"name" : "{name}",
"properties" : {
"privateLinkServiceId" : "/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.Web/sites/{site}",
"groupIds" : [ "sites-{slot}" ]
}
}]
}
}