-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Adding PrivateEndpoint (formerly called InterfaceEndpoint) and PrivateLinkService with operations. #5860
Merged
dsgouda
merged 25 commits into
Azure:network-april-release
from
bowen0106:bowen/network-april-pe-pls
May 22, 2019
Merged
Adding PrivateEndpoint (formerly called InterfaceEndpoint) and PrivateLinkService with operations. #5860
Changes from 10 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
991b6ef
rename interfaceEndpoint to privateEndpoint.
bowen0106 2e042dc
Change the PrivateEndpoint properties by following private ip design …
bowen0106 5626305
modify some of array part of private endpoint and other minor fix.
bowen0106 3f24239
Add availablePrivateEndpointTypes and its examples.
bowen0106 936f192
Changes for privateEndpoint example.
bowen0106 6759b7f
1. Add default response for privateEndpoint
bowen0106 24c8f8e
Fix some error detect by autorest.
bowen0106 1b3be50
Minor fix from Azure Pipeline model validation steps.
bowen0106 245d863
1. Add PrivateLinkService and its example.
bowen0106 15692a3
add privateLinkService to readme.md file.
bowen0106 793b7a9
Modify/Add examples to demonstrate PrivateEndpoint with manualPrivate…
bowen0106 c11939d
Fix some issue found by AzurePipelines model validator.
bowen0106 c34c2a5
fix for model validator error.
bowen0106 e9f91c5
Typo fix.
bowen0106 cd0417c
Minor fix for PR comment and others.
bowen0106 125401f
Resolve conflict issue from github.
bowen0106 3ee5df7
delete interfaceendpoint example.
bowen0106 e0369f1
edit some of descriptions.
bowen0106 d091010
Add some new features for private link service.
bowen0106 30e8f02
fix the issue found by ModelValidation.
bowen0106 ae88462
Mdofiy update privateEndpointConnection method according to spec chan…
bowen0106 00d0f1f
Resolve conflict when fetch and pull.
bowen0106 a210a36
fix issue found by model validation.
bowen0106 d2bbe42
no comment.
bowen0106 6424264
Add x-ms-client-flatten property to the nested structure.
bowen0106 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
155 changes: 155 additions & 0 deletions
155
...k/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,155 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "NetworkManagementClient", | ||
"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": "2019-04-01" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Azure Active Directory OAuth2 Flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { | ||
"get": { | ||
"operationId": "AvailablePrivateEndpointTypes_List", | ||
"description": "Gets all of the available PrivateEndpoint type for this subscription in this location/region.", | ||
"parameters": [ | ||
{ | ||
"name": "location", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "the location of the domain name." | ||
}, | ||
{ | ||
"$ref": "./network.json#/parameters/ApiVersionParameter" | ||
}, | ||
{ | ||
"$ref": "./network.json#/parameters/SubscriptionIdParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Request successful. Returns all of the available PrivateEndpoint type for the subscription in the region.", | ||
bowen0106 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"schema": { | ||
"$ref": "#/definitions/AvailablePrivateEndpointTypesResult" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"Get available PrivateEndpoint types": { | ||
"$ref": "./examples/AvailablePrivateEndpointTypesGet.json" | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { | ||
"get": { | ||
"operationId": "AvailableResourceGroupPrivateEndpointTypes_List", | ||
"description": "Gets all of the available PrivateEndpoint type for this resource group in this region.", | ||
bowen0106 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"parameters": [ | ||
{ | ||
"name": "location", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The location of the domain name." | ||
}, | ||
{ | ||
"name": "resourceGroupName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"description": "The name of the resource group." | ||
}, | ||
{ | ||
"$ref": "./network.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "./network.json#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "Request successful. Returns all of the possible PrivateEndpoint type for the resource group in the region.", | ||
"schema": { | ||
"$ref": "#/definitions/AvailablePrivateEndpointTypesResult" | ||
} | ||
} | ||
}, | ||
"x-ms-examples": { | ||
"Get available PrivateEndpoint types in the resource group": { | ||
"$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json" | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
} | ||
}, | ||
"definitions": { | ||
"AvailablePrivateEndpointTypesResult": { | ||
"properties": { | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/AvailablePrivateEndpointType" | ||
}, | ||
"description": "An array of available privateEndpoint type." | ||
}, | ||
"nextLink": { | ||
"readOnly": true, | ||
"type": "string", | ||
"description": "The URL to get the next set of results." | ||
} | ||
}, | ||
"description": "An array of available PrivateEndpoint types." | ||
}, | ||
"AvailablePrivateEndpointType": { | ||
"properties": { | ||
"id": { | ||
"type": "string", | ||
"description": "A unique identifier of the AvailablePrivateEndpoint Type resource." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"description": "Resource type." | ||
}, | ||
"serviceName": { | ||
"type": "string", | ||
"description": "The name of the service and resource " | ||
} | ||
}, | ||
"description": "The information of an AvailablePrivateEndpointType." | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...anager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2019-04-01", | ||
"location": "regionName", | ||
"subscriptionId" : "subId" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", | ||
"type": "Microsoft.Network/availablePrivateEndpointTypes", | ||
"serviceName": "Microsoft.Provider/resourceType" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
...oft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"parameters" : { | ||
"api-version": "2019-04-01", | ||
"location": "regionName", | ||
"subscriptionId" : "subId", | ||
"resourceGroupName" : "rg1" | ||
}, | ||
"responses" : { | ||
"200" : { | ||
"body" : { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", | ||
"type": "Microsoft.Network/availablePrivateEndpointTypes", | ||
"serviceName": "Microsoft.Provider/resourceType" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
67 changes: 0 additions & 67 deletions
67
...esource-manager/Microsoft.Network/stable/2019-04-01/examples/InterfaceEndpointCreate.json
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
...k/resource-manager/Microsoft.Network/stable/2019-04-01/examples/InterfaceEndpointGet.json
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
.../resource-manager/Microsoft.Network/stable/2019-04-01/examples/InterfaceEndpointList.json
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NRP 122 manifest update is required before this change can be released. @MikhailTryakhov please note this dependency.