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

Adding PrivateEndpoint (formerly called InterfaceEndpoint) and PrivateLinkService with operations. #5860

Merged
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
991b6ef
rename interfaceEndpoint to privateEndpoint.
bowen0106 Apr 26, 2019
2e042dc
Change the PrivateEndpoint properties by following private ip design …
bowen0106 Apr 30, 2019
5626305
modify some of array part of private endpoint and other minor fix.
bowen0106 Apr 30, 2019
3f24239
Add availablePrivateEndpointTypes and its examples.
bowen0106 May 1, 2019
936f192
Changes for privateEndpoint example.
bowen0106 May 1, 2019
6759b7f
1. Add default response for privateEndpoint
bowen0106 May 1, 2019
24c8f8e
Fix some error detect by autorest.
bowen0106 May 1, 2019
1b3be50
Minor fix from Azure Pipeline model validation steps.
bowen0106 May 2, 2019
245d863
1. Add PrivateLinkService and its example.
bowen0106 May 3, 2019
15692a3
add privateLinkService to readme.md file.
bowen0106 May 3, 2019
793b7a9
Modify/Add examples to demonstrate PrivateEndpoint with manualPrivate…
bowen0106 May 3, 2019
c11939d
Fix some issue found by AzurePipelines model validator.
bowen0106 May 3, 2019
c34c2a5
fix for model validator error.
bowen0106 May 3, 2019
e9f91c5
Typo fix.
bowen0106 May 4, 2019
cd0417c
Minor fix for PR comment and others.
bowen0106 May 6, 2019
125401f
Resolve conflict issue from github.
bowen0106 May 6, 2019
3ee5df7
delete interfaceendpoint example.
bowen0106 May 6, 2019
e0369f1
edit some of descriptions.
bowen0106 May 10, 2019
d091010
Add some new features for private link service.
bowen0106 May 16, 2019
30e8f02
fix the issue found by ModelValidation.
bowen0106 May 16, 2019
ae88462
Mdofiy update privateEndpointConnection method according to spec chan…
bowen0106 May 20, 2019
00d0f1f
Resolve conflict when fetch and pull.
bowen0106 May 20, 2019
a210a36
fix issue found by model validation.
bowen0106 May 20, 2019
d2bbe42
no comment.
bowen0106 May 22, 2019
6424264
Add x-ms-client-flatten property to the nested structure.
bowen0106 May 22, 2019
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
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": {
Copy link
Contributor

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.

"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."
}
}
}
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"
}
]
}
}
}
}
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"
}
]
}
}
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading