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

PrivateEndpoint & PrivateLinkService APIs update #6332

Merged
merged 10 commits into from
Jul 3, 2019
Merged

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"api-version": "2019-04-01",
"location": "regionName",
"subscriptionId": "subId"
},
"responses": {
"200": {
"body": {
"value": [
{
"privateLinkService" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
},
{
"privateLinkService" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
},
{
"privateLinkService" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2019-04-01",
"location": "regionName",
"subscriptionId": "subId",
"resourceGroupName": "rg1"
},
"responses": {
"200": {
"body": {
"value": [
{
"privateLinkService" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1"
},
{
"privateLinkService" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2"
},
{
"privateLinkService" : "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
{
"id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
"type": "Microsoft.Network/availablePrivateEndpointTypes",
"serviceName": "Microsoft.Provider/resourceType"
"resourceName": "Microsoft.Provider/resourceType"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType",
"type": "Microsoft.Network/availablePrivateEndpointTypes",
"serviceName": "Microsoft.Provider/resourceType"
"resourceName": "Microsoft.Provider/resourceType"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"api-version": "2019-04-01",
"subscriptionId": "subid",
"location": "westus",
"parameters": {
"privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
}
},
"responses": {
"200": {
"body": {
"visible": true
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"api-version": "2019-04-01",
"subscriptionId": "subid",
"location": "westus",
"resourceGroupName": "rg1",
"parameters": {
"privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice"
}
},
"responses": {
"200": {
"body": {
"visible": true
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"parameters": {
"location": "eastus2euap",
"properties": {
"provisioningState": "Succeeded",
"visibility": {
"subscriptions": [
"subscription1",
Expand All @@ -26,7 +25,7 @@
"fqdn2",
"fqdn3"
],
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
Expand Down Expand Up @@ -74,7 +73,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
Expand Down Expand Up @@ -126,7 +125,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"fqdn2"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
}
Expand Down Expand Up @@ -95,7 +95,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"fqdn3"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1"
}
Expand Down Expand Up @@ -96,7 +96,7 @@
"fqdn2"
],
"alias": "ContosoService.{guid}.azure.privatelinkservice",
"loadBalancerFrontendIPConfigurations": [
"loadBalancerFrontendIpConfigurations": [
{
"id": "/subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,19 @@
}
},
"responses": {
"200": {}
"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."
}
}
}
}
}
}
Loading