Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application Gateway Private Link Support #9490

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,9 @@
"privateIPAllocationMethod": "Dynamic",
"publicIPAddress": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip"
},
"privateLinkConfiguration": {
mmyyrroonn marked this conversation as resolved.
Show resolved Hide resolved
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLinkConfig1"
}
}
}
Expand Down Expand Up @@ -737,7 +740,30 @@
}
}
],
"probes": []
"probes": [],
"privateLinkConfigurations": [
{
"name": "privateLinkConfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLinkConfig1",
"properties": {
"provisioningState": "Succeeded",
"ipConfigurations": [
{
"name": "natNicIpconfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLinkConfig1/ipConfigurations/natNicIpconfig1",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Dynamic",
"primary": true,
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet"
}
}
}
]
}
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,42 @@
}
}
],
"probes": []
"probes": [],
"privateLinkConfigurations": [
{
"name": "privateLink1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1",
"properties": {
"provisioningState": "Succeeded",
"ipConfigurations": [
{
"name": "natNicIpconfig1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Dynamic",
"primary": true,
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
}
}
},
{
"name": "natNicIpconfig2",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2",
"properties": {
"provisioningState": "Succeeded",
"privateIPAllocationMethod": "Dynamic",
"subnet": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet"
}
}
}
]
}
}
],
"privateEndpointConnections": []
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"applicationGatewayName": "appgw",
"connectionName": "connection1"
},
"responses": {
"202": {},
"204": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"applicationGatewayName": "appgw",
"connectionName": "connection1"
},
"responses": {
"200": {
"body": {
"name": "coonection1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/connection1",
"type": "Microsoft.Network/applicationGateways/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approval Done"
},
"linkIdentifier": "805319460"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"applicationGatewayName": "appgw"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "coonection1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/connection1",
"type": "Microsoft.Network/applicationGateways/privateEndpointConnections",
"properties": {
"provisioningState": "Succeeded",
"privateEndpoint": {
"id": "/subscriptions/subid2/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approval Done"
},
"linkIdentifier": "805319460"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"applicationGatewayName": "appgw",
"connectionName": "connection1",
"parameters": {
"name": "connection1",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subId2/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "approved it for some reason."
}
}
}
},
"responses": {
"200": {
"body": {
"name": "testPlePeConnection",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "approved it for some reason."
},
"linkIdentifier": "linkId"
}
}
},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"api-version": "2020-05-01",
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"applicationGatewayName": "appgw"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "privateLink1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/privateLink1",
"type": "Microsoft.Network/applicationGateways/privateLinkResources",
"properties": {
"groupId": "privateLink1",
"requiredMembers": [
"privateLink1"
],
"requiredZoneNames": []
}
}
]
}
}
}
}