From 17a742dcf4cb5bfb4010ab1c6b55aa6996fc68d1 Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Wed, 12 Jun 2019 18:42:50 -0700 Subject: [PATCH 01/10] Add two properties on Subnet for privateIp. Add two new APIs to support privateIp. Minor modify on readme.md file. --- .../autoApprovedPrivateLinkServices.json | 93 +++++++++++++++++++ .../checkPrivateLinkServiceVisibility.json | 83 +++++++++++++++++ .../AutoApprovedPrivateLinkServicesGet.json | 19 ++++ .../CheckPrivateLinkServiceVisibility.json | 14 +++ .../stable/2019-04-01/privateLinkService.json | 2 +- .../stable/2019-04-01/virtualNetwork.json | 8 ++ .../autoApprovedPrivateLinkServices.json | 93 +++++++++++++++++++ .../checkPrivateLinkServiceVisibility.json | 83 +++++++++++++++++ .../AutoApprovedPrivateLinkServicesGet.json | 19 ++++ .../CheckPrivateLinkServiceVisibility.json | 14 +++ .../stable/2019-06-01/privateLinkService.json | 2 +- .../stable/2019-06-01/virtualNetwork.json | 8 ++ .../network/resource-manager/readme.md | 13 +++ 13 files changed, 449 insertions(+), 2 deletions(-) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json new file mode 100644 index 000000000000..80723f703d68 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json @@ -0,0 +1,93 @@ +{ + "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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "operationId": "AutoApprovedPrivateLinkServices_Get", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "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/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + } + } + } + }, + "definitions": { + "AutoApprovedPrivateLinkServicesResult": { + "properties": { + "autoApprovedPrivateLinkService": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + } + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..686dc4c69aec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json @@ -0,0 +1,83 @@ +{ + "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}/checkPrivateLinkServiceVisibility": { + "post": { + "operationId": "CheckPrivateLinkServiceVisibility", + "description": "Checks the subscription is visible to private link service", + "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 whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + } + } + } + }, + "definitions": { + "PrivateLinkServiceVisibility": { + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + }, + "description": "Response for the CheckPrivateLinkServiceVisibility API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 000000000000..24baca0aa437 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "location": "regionName", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "autoApprovedPrivateLinkService": [ + "pls1", + "pls2", + "pls3" + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..fc2b626a61bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-04-01", + "subscriptionId": "subid", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index 7743e662bedd..fcf639222b0f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -446,7 +446,7 @@ }, "PrivateLinkServiceProperties": { "properties": { - "loadBalancerFrontendIPConfigurations": { + "loadBalancerFrontendIpConfigurations": { "type": "array", "items": { "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json index 0ddf701b4ae2..9d4f7f8b8cad 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/virtualNetwork.json @@ -1297,6 +1297,14 @@ "provisioningState": { "type": "string", "description": "The provisioning state of the resource." + }, + "privateEndpointNetworkPolicies": { + "type":"string", + "description": "Enable or Disable private end point on the subnet." + }, + "privateLinkServiceNetworkPolicies": { + "type":"string", + "description": "Enable or Disable private link service on the subnet." } }, "description": "Properties of the subnet." diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json new file mode 100644 index 000000000000..062ed13897bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json @@ -0,0 +1,93 @@ +{ + "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-06-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "operationId": "AutoApprovedPrivateLinkServices_Get", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "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/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + } + } + } + }, + "definitions": { + "AutoApprovedPrivateLinkServicesResult": { + "properties": { + "autoApprovedPrivateLinkService": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + } + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..56cc6b7e0581 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json @@ -0,0 +1,83 @@ +{ + "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-06-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}/checkPrivateLinkServiceVisibility": { + "post": { + "operationId": "CheckPrivateLinkServiceVisibility", + "description": "Checks the subscription is visible to private link service", + "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 whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + } + } + } + }, + "definitions": { + "PrivateLinkServiceVisibility": { + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + }, + "description": "Response for the CheckPrivateLinkServiceVisibility API service call." + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 000000000000..2d725fd1fb4c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "location": "regionName", + "subscriptionId": "subId", + "resourceGroupName": "rg1" + }, + "responses": { + "200": { + "body": { + "autoApprovedPrivateLinkService": [ + "pls1", + "pls2", + "pls3" + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..03bb9cb6c353 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "location": "westus" + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json index beba11100366..8a1db75022c6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json @@ -446,7 +446,7 @@ }, "PrivateLinkServiceProperties": { "properties": { - "loadBalancerFrontendIPConfigurations": { + "loadBalancerFrontendIpConfigurations": { "type": "array", "items": { "$ref": "./loadBalancer.json#/definitions/FrontendIPConfiguration" diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json index 49acbc3ba8bc..25b0a24b3b49 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json @@ -1297,6 +1297,14 @@ "provisioningState": { "type": "string", "description": "The provisioning state of the resource." + }, + "privateEndpointNetworkPolicies": { + "type":"string", + "description": "Enable or Disable private end point on the subnet." + }, + "privateLinkServiceNetworkPolicies": { + "type":"string", + "description": "Enable or Disable private link service on the subnet." } }, "description": "Properties of the subnet." diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index b05cc1994846..b37329743a15 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -40,12 +40,14 @@ These settings apply only when `--tag=package-2019-06` is specified on the comma input-file: - Microsoft.Network/stable/2019-06-01/applicationGateway.json - Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json + - Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json - Microsoft.Network/stable/2019-06-01/availableDelegations.json - Microsoft.Network/stable/2019-06-01/availablePrivateEndpointTypes.json - Microsoft.Network/stable/2019-06-01/azureFirewall.json - Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json - Microsoft.Network/stable/2019-06-01/bastionHost.json - Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json + - Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json - Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json - Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json - Microsoft.Network/stable/2019-06-01/endpointService.json @@ -87,12 +89,14 @@ These settings apply only when `--tag=package-2019-04` is specified on the comma input-file: - Microsoft.Network/stable/2019-04-01/applicationGateway.json - Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json + - Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json - Microsoft.Network/stable/2019-04-01/availableDelegations.json - Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json - Microsoft.Network/stable/2019-04-01/azureFirewall.json - Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json - Microsoft.Network/stable/2019-04-01/bastionHost.json - Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json + - Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json - Microsoft.Network/stable/2019-04-01/ddosCustomPolicy.json - Microsoft.Network/stable/2019-04-01/ddosProtectionPlan.json - Microsoft.Network/stable/2019-04-01/endpointService.json @@ -940,6 +944,12 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: applicationSecurityGroup.json reason: name, id and type properties are inherited from the upper level + - suppress: RequiredPropertiesMissingInResourceModel + from: autoApprovedPrivateLinkServices.json + reason: name, id and type properties are inherited from the upper level + - suppress: RequiredPropertiesMissingInResourceModel + from: availablePrivateEndpointTypes.json + reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: azureFirewall.json reason: name, id and type properties are inherited from the upper level @@ -952,6 +962,9 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: checkDnsAvailability.json reason: name, id and type properties are inherited from the upper level + - suppress: RequiredPropertiesMissingInResourceModel + from: checkPrivateLinkServiceVisibility.json + reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: ddosCustomPolicy.json reason: name, id and type properties are inherited from the upper level From 18900210280252f5b483c4cae15f791ba54c1021 Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Wed, 12 Jun 2019 23:58:12 -0700 Subject: [PATCH 02/10] Fix some issue found by Model Validation. --- .../2019-04-01/examples/PrivateLinkServiceCreate.json | 7 +++---- .../stable/2019-04-01/examples/PrivateLinkServiceGet.json | 2 +- .../stable/2019-04-01/examples/PrivateLinkServiceList.json | 4 ++-- .../2019-04-01/examples/PrivateLinkServiceListAll.json | 4 ++-- .../2019-06-01/examples/PrivateLinkServiceCreate.json | 6 +++--- .../stable/2019-06-01/examples/PrivateLinkServiceGet.json | 2 +- .../stable/2019-06-01/examples/PrivateLinkServiceList.json | 4 ++-- .../2019-06-01/examples/PrivateLinkServiceListAll.json | 4 ++-- 8 files changed, 16 insertions(+), 17 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json index daf1ac64c91b..09257d72567e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceCreate.json @@ -7,7 +7,6 @@ "parameters": { "location": "eastus2euap", "properties": { - "provisioningState": "Succeeded", "visibility": { "subscriptions": [ "subscription1", @@ -26,7 +25,7 @@ "fqdn2", "fqdn3" ], - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } @@ -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" } @@ -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" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json index 38a081c87c82..c21831500d5e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceGet.json @@ -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" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json index 0ee3e3d62f5d..bdb19efe43c4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceList.json @@ -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" } @@ -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" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json index ccab84e6fb09..f418c7d4ba0c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceListAll.json @@ -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" } @@ -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" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json index 8d6d6dc5c983..652b11fa202b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceCreate.json @@ -25,7 +25,7 @@ "fqdn2", "fqdn3" ], - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } @@ -73,7 +73,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } @@ -125,7 +125,7 @@ "fqdn3" ], "alias": "ContosoService.{guid}.azure.privatelinkservice", - "loadBalancerFrontendIPConfigurations": [ + "loadBalancerFrontendIpConfigurations": [ { "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json index ff014b6f491d..2f5da8fd8e14 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceGet.json @@ -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" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json index 71f6456e45d8..92b1af7eb93d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceList.json @@ -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" } @@ -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" } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json index 3ec0f8039836..7e48a7b57406 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceListAll.json @@ -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" } @@ -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" } From 09f634178590d033e287d2235b01bd380f2cce56 Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Fri, 14 Jun 2019 10:23:22 -0700 Subject: [PATCH 03/10] Merge all apis relative to private end point / private link service to its json file. --- .../autoApprovedPrivateLinkServices.json | 93 ----------- .../availablePrivateEndpointTypes.json | 155 ------------------ .../checkPrivateLinkServiceVisibility.json | 83 ---------- .../stable/2019-04-01/privateEndpoint.json | 115 +++++++++++++ .../stable/2019-04-01/privateLinkService.json | 102 ++++++++++++ .../autoApprovedPrivateLinkServices.json | 93 ----------- .../availablePrivateEndpointTypes.json | 155 ------------------ .../checkPrivateLinkServiceVisibility.json | 83 ---------- .../stable/2019-06-01/privateEndpoint.json | 115 +++++++++++++ .../stable/2019-06-01/privateLinkService.json | 102 ++++++++++++ .../stable/2019-06-01/virtualNetwork.json | 4 +- .../network/resource-manager/readme.md | 6 - 12 files changed, 436 insertions(+), 670 deletions(-) delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availablePrivateEndpointTypes.json delete mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json deleted file mode 100644 index 80723f703d68..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { - "get": { - "operationId": "AutoApprovedPrivateLinkServices_Get", - "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", - "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/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", - "schema": { - "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" - } - } - }, - "x-ms-examples": { - "Get list of private link service id that can be linked to a private end point with auto approved": { - "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" - } - } - } - } - }, - "definitions": { - "AutoApprovedPrivateLinkServicesResult": { - "properties": { - "autoApprovedPrivateLinkService": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of private link service id that can be linked to a private end point with auto approved." - } - }, - "description": "An array of private link service id that can be linked to a private end point with auto approved." - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json deleted file mode 100644 index 68764771e26d..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "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": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this 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 resource types that can be linked to a Private Endpoint in this subscription in this region.", - "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": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", - "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 resource types that can be linked to a Private Endpoint in this subscription in this 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." - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json deleted file mode 100644 index 686dc4c69aec..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "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}/checkPrivateLinkServiceVisibility": { - "post": { - "operationId": "CheckPrivateLinkServiceVisibility", - "description": "Checks the subscription is visible to private link service", - "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 whether the subscription is visible to private link service.", - "schema": { - "$ref": "#/definitions/PrivateLinkServiceVisibility" - } - } - }, - "x-ms-examples": { - "Check private link service visibility": { - "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" - } - } - } - } - }, - "definitions": { - "PrivateLinkServiceVisibility": { - "properties": { - "visible": { - "type": "boolean", - "description": "Private Link Service Visibility (True/False)." - } - }, - "description": "Response for the CheckPrivateLinkServiceVisibility API service call." - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json index c447e80d19bb..d3b7913236b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json @@ -303,6 +303,87 @@ "nextLinkName": "nextLink" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_List", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this 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 resource types that can be linked to a Private Endpoint in this subscription in this region.", + "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": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "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 resource types that can be linked to a Private Endpoint in this subscription in this 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": { @@ -420,6 +501,40 @@ } }, "description": "Response for the ListPrivateEndpoints API service call." + }, + "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." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index fcf639222b0f..5f0c2dd70be1 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -422,6 +422,87 @@ "final-state-via": "location" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "CheckPrivateLinkServiceVisibility", + "description": "Checks the subscription is visible to private link service", + "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 whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "AutoApprovedPrivateLinkServices_Get", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "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/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + } + } } }, "definitions": { @@ -631,6 +712,27 @@ } }, "description": "Response for the ListPrivateLinkService API service call." + }, + "PrivateLinkServiceVisibility": { + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + }, + "description": "Response for the CheckPrivateLinkServiceVisibility API service call." + }, + "AutoApprovedPrivateLinkServicesResult": { + "properties": { + "autoApprovedPrivateLinkService": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + } + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json deleted file mode 100644 index 062ed13897bc..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json +++ /dev/null @@ -1,93 +0,0 @@ -{ - "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-06-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}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { - "get": { - "operationId": "AutoApprovedPrivateLinkServices_Get", - "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", - "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/ApiVersionParameter" - }, - { - "$ref": "./network.json#/parameters/SubscriptionIdParameter" - } - ], - "responses": { - "200": { - "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", - "schema": { - "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" - } - } - }, - "x-ms-examples": { - "Get list of private link service id that can be linked to a private end point with auto approved": { - "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" - } - } - } - } - }, - "definitions": { - "AutoApprovedPrivateLinkServicesResult": { - "properties": { - "autoApprovedPrivateLinkService": { - "type": "array", - "items": { - "type": "string" - }, - "description": "An array of private link service id that can be linked to a private end point with auto approved." - } - }, - "description": "An array of private link service id that can be linked to a private end point with auto approved." - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availablePrivateEndpointTypes.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availablePrivateEndpointTypes.json deleted file mode 100644 index 80a90fb92a84..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/availablePrivateEndpointTypes.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "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-06-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": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this 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 resource types that can be linked to a Private Endpoint in this subscription in this region.", - "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": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", - "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 resource types that can be linked to a Private Endpoint in this subscription in this 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." - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json deleted file mode 100644 index 56cc6b7e0581..000000000000 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json +++ /dev/null @@ -1,83 +0,0 @@ -{ - "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-06-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}/checkPrivateLinkServiceVisibility": { - "post": { - "operationId": "CheckPrivateLinkServiceVisibility", - "description": "Checks the subscription is visible to private link service", - "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 whether the subscription is visible to private link service.", - "schema": { - "$ref": "#/definitions/PrivateLinkServiceVisibility" - } - } - }, - "x-ms-examples": { - "Check private link service visibility": { - "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" - } - } - } - } - }, - "definitions": { - "PrivateLinkServiceVisibility": { - "properties": { - "visible": { - "type": "boolean", - "description": "Private Link Service Visibility (True/False)." - } - }, - "description": "Response for the CheckPrivateLinkServiceVisibility API service call." - } - } -} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json index eea4375cd3dd..6bdac748a527 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json @@ -303,6 +303,87 @@ "nextLinkName": "nextLink" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_List", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this 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 resource types that can be linked to a Private Endpoint in this subscription in this region.", + "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": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "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 resource types that can be linked to a Private Endpoint in this subscription in this 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": { @@ -420,6 +501,40 @@ } }, "description": "Response for the ListPrivateEndpoints API service call." + }, + "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." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json index 8a1db75022c6..b4312bae3b18 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json @@ -422,6 +422,87 @@ "final-state-via": "location" } } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "CheckPrivateLinkServiceVisibility", + "description": "Checks the subscription is visible to private link service", + "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 whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "AutoApprovedPrivateLinkServices_Get", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "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/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + } + } } }, "definitions": { @@ -631,6 +712,27 @@ } }, "description": "Response for the ListPrivateLinkService API service call." + }, + "PrivateLinkServiceVisibility": { + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + }, + "description": "Response for the CheckPrivateLinkServiceVisibility API service call." + }, + "AutoApprovedPrivateLinkServicesResult": { + "properties": { + "autoApprovedPrivateLinkService": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." + } + }, + "description": "An array of private link service id that can be linked to a private end point with auto approved." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json index 25b0a24b3b49..c83b1953b27b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/virtualNetwork.json @@ -1300,11 +1300,11 @@ }, "privateEndpointNetworkPolicies": { "type":"string", - "description": "Enable or Disable private end point on the subnet." + "description": "Enable or Disable apply network policies on private end point in the subnet." }, "privateLinkServiceNetworkPolicies": { "type":"string", - "description": "Enable or Disable private link service on the subnet." + "description": "Enable or Disable apply network policies on private link service in the subnet." } }, "description": "Properties of the subnet." diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index b37329743a15..5c86c32ab67b 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -40,14 +40,11 @@ These settings apply only when `--tag=package-2019-06` is specified on the comma input-file: - Microsoft.Network/stable/2019-06-01/applicationGateway.json - Microsoft.Network/stable/2019-06-01/applicationSecurityGroup.json - - Microsoft.Network/stable/2019-06-01/autoApprovedPrivateLinkServices.json - Microsoft.Network/stable/2019-06-01/availableDelegations.json - - Microsoft.Network/stable/2019-06-01/availablePrivateEndpointTypes.json - Microsoft.Network/stable/2019-06-01/azureFirewall.json - Microsoft.Network/stable/2019-06-01/azureFirewallFqdnTag.json - Microsoft.Network/stable/2019-06-01/bastionHost.json - Microsoft.Network/stable/2019-06-01/checkDnsAvailability.json - - Microsoft.Network/stable/2019-06-01/checkPrivateLinkServiceVisibility.json - Microsoft.Network/stable/2019-06-01/ddosCustomPolicy.json - Microsoft.Network/stable/2019-06-01/ddosProtectionPlan.json - Microsoft.Network/stable/2019-06-01/endpointService.json @@ -89,14 +86,11 @@ These settings apply only when `--tag=package-2019-04` is specified on the comma input-file: - Microsoft.Network/stable/2019-04-01/applicationGateway.json - Microsoft.Network/stable/2019-04-01/applicationSecurityGroup.json - - Microsoft.Network/stable/2019-04-01/autoApprovedPrivateLinkServices.json - Microsoft.Network/stable/2019-04-01/availableDelegations.json - - Microsoft.Network/stable/2019-04-01/availablePrivateEndpointTypes.json - Microsoft.Network/stable/2019-04-01/azureFirewall.json - Microsoft.Network/stable/2019-04-01/azureFirewallFqdnTag.json - Microsoft.Network/stable/2019-04-01/bastionHost.json - Microsoft.Network/stable/2019-04-01/checkDnsAvailability.json - - Microsoft.Network/stable/2019-04-01/checkPrivateLinkServiceVisibility.json - Microsoft.Network/stable/2019-04-01/ddosCustomPolicy.json - Microsoft.Network/stable/2019-04-01/ddosProtectionPlan.json - Microsoft.Network/stable/2019-04-01/endpointService.json From b162573ad58e1b5dfe3a51f42dd8ffaa70e6ee2f Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Fri, 14 Jun 2019 11:53:29 -0700 Subject: [PATCH 04/10] Fix a typo name from design spec that casue GetAvailablePrivateEndpointType get null property. --- .../examples/AvailablePrivateEndpointTypesGet.json | 2 +- .../AvailablePrivateEndpointTypesResourceGroupGet.json | 2 +- .../stable/2019-04-01/privateEndpoint.json | 6 +++++- .../examples/AvailablePrivateEndpointTypesGet.json | 2 +- .../AvailablePrivateEndpointTypesResourceGroupGet.json | 2 +- .../stable/2019-06-01/privateEndpoint.json | 6 +++++- 6 files changed, 14 insertions(+), 6 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json index d8af89168a0d..4e1912b75365 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesGet.json @@ -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" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json index 82a5a48c73f6..526286508d95 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -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" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json index d3b7913236b4..1221b2e8c376 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json @@ -521,6 +521,10 @@ }, "AvailablePrivateEndpointType": { "properties": { + "name": { + "type": "string", + "description": "The name of the service and resource." + }, "id": { "type": "string", "description": "A unique identifier of the AvailablePrivateEndpoint Type resource." @@ -529,7 +533,7 @@ "type": "string", "description": "Resource type." }, - "serviceName": { + "resourceName": { "type": "string", "description": "The name of the service and resource." } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json index 44edd6e1d768..2b36cdc3eb00 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesGet.json @@ -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" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json index 10de9e2d27de..527f28df1079 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -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" } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json index 6bdac748a527..b0cf70b1faf2 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json @@ -521,6 +521,10 @@ }, "AvailablePrivateEndpointType": { "properties": { + "name": { + "type": "string", + "description": "The name of the service and resource." + }, "id": { "type": "string", "description": "A unique identifier of the AvailablePrivateEndpoint Type resource." @@ -529,7 +533,7 @@ "type": "string", "description": "Resource type." }, - "serviceName": { + "resourceName": { "type": "string", "description": "The name of the service and resource." } From 738d20503f017296c3bddc50d2cac59c1b669e4b Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Mon, 17 Jun 2019 12:59:00 -0700 Subject: [PATCH 05/10] Change AutoApprovedPrivateLinkService structure to fit with NRP side. --- .../AutoApprovedPrivateLinkServicesGet.json | 14 ++++++++--- .../stable/2019-04-01/privateLinkService.json | 25 ++++++++++++++++--- .../AutoApprovedPrivateLinkServicesGet.json | 14 ++++++++--- .../stable/2019-06-01/privateLinkService.json | 25 ++++++++++++++++--- 4 files changed, 62 insertions(+), 16 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json index 24baca0aa437..ee8d9bd2f116 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -8,10 +8,16 @@ "responses": { "200": { "body": { - "autoApprovedPrivateLinkService": [ - "pls1", - "pls2", - "pls3" + "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" + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index 5f0c2dd70be1..4d349a2d8dc8 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -465,7 +465,7 @@ "tags": [ "PrivateLinkServices" ], - "operationId": "AutoApprovedPrivateLinkServices_Get", + "operationId": "AutoApprovedPrivateLinkServices_List", "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", "parameters": [ { @@ -501,6 +501,9 @@ "Get list of private link service id that can be linked to a private end point with auto approved": { "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } } @@ -724,15 +727,29 @@ }, "AutoApprovedPrivateLinkServicesResult": { "properties": { - "autoApprovedPrivateLinkService": { + "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/AutoApprovedPrivateLinkService" }, - "description": "An array of private link service id that can be linked to a private end point with auto approved." + "description": "An array of auto approved private link service." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." } }, "description": "An array of private link service id that can be linked to a private end point with auto approved." + }, + "AutoApprovedPrivateLinkService": { + "properties": { + "privateLinkService": { + "type": "string", + "description": "The id of the private link service resource." + } + }, + "description": "The information of an AutoApprovedPrivateLinkService." } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json index 2d725fd1fb4c..0fdb083bda51 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -8,10 +8,16 @@ "responses": { "200": { "body": { - "autoApprovedPrivateLinkService": [ - "pls1", - "pls2", - "pls3" + "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" + } ] } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json index b4312bae3b18..2b79b626a691 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json @@ -465,7 +465,7 @@ "tags": [ "PrivateLinkServices" ], - "operationId": "AutoApprovedPrivateLinkServices_Get", + "operationId": "AutoApprovedPrivateLinkServices_List", "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", "parameters": [ { @@ -501,6 +501,9 @@ "Get list of private link service id that can be linked to a private end point with auto approved": { "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" } } } @@ -724,15 +727,29 @@ }, "AutoApprovedPrivateLinkServicesResult": { "properties": { - "autoApprovedPrivateLinkService": { + "value": { "type": "array", "items": { - "type": "string" + "$ref": "#/definitions/AutoApprovedPrivateLinkService" }, - "description": "An array of private link service id that can be linked to a private end point with auto approved." + "description": "An array of auto approved private link service." + }, + "nextLink": { + "readOnly": true, + "type": "string", + "description": "The URL to get the next set of results." } }, "description": "An array of private link service id that can be linked to a private end point with auto approved." + }, + "AutoApprovedPrivateLinkService": { + "properties": { + "privateLinkService": { + "type": "string", + "description": "The id of the private link service resource." + } + }, + "description": "The information of an AutoApprovedPrivateLinkService." } } } From 90533f9156d979085825f29e38414d4e134e60df Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Mon, 17 Jun 2019 13:47:44 -0700 Subject: [PATCH 06/10] Delete suppress for merged APIs in readme.md. --- specification/network/resource-manager/readme.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/specification/network/resource-manager/readme.md b/specification/network/resource-manager/readme.md index 5c86c32ab67b..2fa4aef4c592 100644 --- a/specification/network/resource-manager/readme.md +++ b/specification/network/resource-manager/readme.md @@ -938,12 +938,6 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: applicationSecurityGroup.json reason: name, id and type properties are inherited from the upper level - - suppress: RequiredPropertiesMissingInResourceModel - from: autoApprovedPrivateLinkServices.json - reason: name, id and type properties are inherited from the upper level - - suppress: RequiredPropertiesMissingInResourceModel - from: availablePrivateEndpointTypes.json - reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: azureFirewall.json reason: name, id and type properties are inherited from the upper level @@ -956,9 +950,6 @@ directive: - suppress: RequiredPropertiesMissingInResourceModel from: checkDnsAvailability.json reason: name, id and type properties are inherited from the upper level - - suppress: RequiredPropertiesMissingInResourceModel - from: checkPrivateLinkServiceVisibility.json - reason: name, id and type properties are inherited from the upper level - suppress: RequiredPropertiesMissingInResourceModel from: ddosCustomPolicy.json reason: name, id and type properties are inherited from the upper level From ebf2a13679b8e24d8f1aa55e107b00c29ea172bf Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Tue, 18 Jun 2019 13:50:54 -0700 Subject: [PATCH 07/10] 1. Change value to PrivateEndpointConnection when calling put PrivateEndpointConnect. 2. Change opertaion id for opertaions that relative to private endpoint and private link service. --- ...nkServiceUpdatePrivateEndpointConnection.json | 16 +++++++++++++++- .../stable/2019-04-01/privateEndpoint.json | 4 ++-- .../stable/2019-04-01/privateLinkService.json | 9 ++++++--- ...nkServiceUpdatePrivateEndpointConnection.json | 16 +++++++++++++++- .../stable/2019-06-01/privateEndpoint.json | 4 ++-- .../stable/2019-06-01/privateLinkService.json | 9 ++++++--- 6 files changed, 46 insertions(+), 12 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json index c4094a353d7b..d7ea6893a7cb 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -19,6 +19,20 @@ } }, "responses": { - "200": {} + "200": { + "body": { + "name": "testPlePeConnection", + "properties": { + "provisioningState": "Updating", + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json index 1221b2e8c376..062f7d015d38 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json @@ -306,7 +306,7 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "AvailablePrivateEndpointTypes_List", + "operationId": "PrivateEndpoints_ListAvailablePrivateEndpointTypes", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { @@ -343,7 +343,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "AvailableResourceGroupPrivateEndpointTypes_List", + "operationId": "PrivateEndpoints_ListPrivateEndpointAvailableTypesByResourceGroup", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index 4d349a2d8dc8..57acded5053f 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -345,7 +345,10 @@ ], "responses": { "200": { - "description": "Update successful." + "description": "Update successful. The operation returns the resulting PrivateEndpointConnection resource", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } }, "default": { "description": "Error", @@ -428,7 +431,7 @@ "tags": [ "PrivateLinkServices" ], - "operationId": "CheckPrivateLinkServiceVisibility", + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", "description": "Checks the subscription is visible to private link service", "parameters": [ { @@ -465,7 +468,7 @@ "tags": [ "PrivateLinkServices" ], - "operationId": "AutoApprovedPrivateLinkServices_List", + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", "parameters": [ { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json index a3fba004e085..61bfce74678e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -19,6 +19,20 @@ } }, "responses": { - "200": {} + "200": { + "body": { + "name": "testPlePeConnection", + "properties": { + "provisioningState": "Updating", + "privateEndpoint": { + "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "status": "Approved", + "description": "approved it for some reason." + } + } + } + } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json index b0cf70b1faf2..1d6c0fbfd936 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json @@ -306,7 +306,7 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "AvailablePrivateEndpointTypes_List", + "operationId": "PrivateEndpoints_ListAvailablePrivateEndpointTypes", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { @@ -343,7 +343,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "AvailableResourceGroupPrivateEndpointTypes_List", + "operationId": "PrivateEndpoints_ListPrivateEndpointAvailableTypesByResourceGroup", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json index 2b79b626a691..414e6457a24e 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json @@ -345,7 +345,10 @@ ], "responses": { "200": { - "description": "Update successful." + "description": "Update successful. The operation returns the resulting PrivateEndpointConnection resource", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnection" + } }, "default": { "description": "Error.", @@ -428,7 +431,7 @@ "tags": [ "PrivateLinkServices" ], - "operationId": "CheckPrivateLinkServiceVisibility", + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", "description": "Checks the subscription is visible to private link service", "parameters": [ { @@ -465,7 +468,7 @@ "tags": [ "PrivateLinkServices" ], - "operationId": "AutoApprovedPrivateLinkServices_List", + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", "parameters": [ { From ee428ab130b53e72a6b1bdc931d2f86d23d6fea8 Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Tue, 18 Jun 2019 15:10:46 -0700 Subject: [PATCH 08/10] Minor fix for model validation. --- .../PrivateLinkServiceUpdatePrivateEndpointConnection.json | 1 - .../PrivateLinkServiceUpdatePrivateEndpointConnection.json | 1 - 2 files changed, 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json index d7ea6893a7cb..afcc70022124 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -23,7 +23,6 @@ "body": { "name": "testPlePeConnection", "properties": { - "provisioningState": "Updating", "privateEndpoint": { "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" }, diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json index 61bfce74678e..f4219dabe142 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -23,7 +23,6 @@ "body": { "name": "testPlePeConnection", "properties": { - "provisioningState": "Updating", "privateEndpoint": { "id": "/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" }, From 9418d48cdc3b3ea0d4f0b17b04928ca7f5691405 Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Thu, 20 Jun 2019 10:25:59 -0700 Subject: [PATCH 09/10] Revert opertion id changes for AvailablePrivateEndpointType to previous name. --- .../Microsoft.Network/stable/2019-04-01/privateEndpoint.json | 4 ++-- .../Microsoft.Network/stable/2019-06-01/privateEndpoint.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json index 062f7d015d38..807ef0d89c20 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateEndpoint.json @@ -306,7 +306,7 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "PrivateEndpoints_ListAvailablePrivateEndpointTypes", + "operationId": "AvailablePrivateEndpointTypes_List", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { @@ -343,7 +343,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "PrivateEndpoints_ListPrivateEndpointAvailableTypesByResourceGroup", + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json index 1d6c0fbfd936..bf3da7effee9 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateEndpoint.json @@ -306,7 +306,7 @@ }, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "PrivateEndpoints_ListAvailablePrivateEndpointTypes", + "operationId": "AvailablePrivateEndpointTypes_List", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { @@ -343,7 +343,7 @@ }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { "get": { - "operationId": "PrivateEndpoints_ListPrivateEndpointAvailableTypesByResourceGroup", + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", "parameters": [ { From 768782db1ea730c337a3b43152e676315ec342d3 Mon Sep 17 00:00:00 2001 From: Bo Wen Date: Mon, 24 Jun 2019 15:32:38 -0700 Subject: [PATCH 10/10] 1. Change CheckPrivateLinkServiceVisibility API, the input now has a body content that contains a private link service alias string. 2. Change both CheckPrivateLinkServiceVisibility/AutoApprovedPrivateLinkServices API to support for with/without ResourceGroup parameter. --- .../AutoApprovedPrivateLinkServicesGet.json | 3 +- ...edPrivateLinkServicesResourceGroupGet.json | 25 ++++ .../CheckPrivateLinkServiceVisibility.json | 5 +- ...eLinkServiceVisibilityByResourceGroup.json | 18 +++ .../stable/2019-04-01/privateLinkService.json | 115 +++++++++++++++++- .../AutoApprovedPrivateLinkServicesGet.json | 3 +- ...edPrivateLinkServicesResourceGroupGet.json | 25 ++++ .../CheckPrivateLinkServiceVisibility.json | 5 +- ...eLinkServiceVisibilityByResourceGroup.json | 18 +++ .../stable/2019-06-01/privateLinkService.json | 115 +++++++++++++++++- 10 files changed, 322 insertions(+), 10 deletions(-) create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json create mode 100644 specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json index ee8d9bd2f116..fb112f9dd647 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -2,8 +2,7 @@ "parameters": { "api-version": "2019-04-01", "location": "regionName", - "subscriptionId": "subId", - "resourceGroupName": "rg1" + "subscriptionId": "subId" }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 000000000000..ee8d9bd2f116 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -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" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json index fc2b626a61bc..20a055c2c1f6 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibility.json @@ -2,7 +2,10 @@ "parameters": { "api-version": "2019-04-01", "subscriptionId": "subid", - "location": "westus" + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 000000000000..bf14cf2cc546 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -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 + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json index 57acded5053f..e8fa9661b772 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-04-01/privateLinkService.json @@ -441,6 +441,15 @@ "type": "string", "description": "The location of the domain name." }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, { "$ref": "./network.json#/parameters/ApiVersionParameter" }, @@ -463,13 +472,106 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "description": "Checks the subscription is visible to private link service", + "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." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { "get": { "tags": [ "PrivateLinkServices" ], "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this 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 private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", "parameters": [ { "name": "location", @@ -502,7 +604,7 @@ }, "x-ms-examples": { "Get list of private link service id that can be linked to a private end point with auto approved": { - "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json" } }, "x-ms-pageable": { @@ -719,6 +821,15 @@ }, "description": "Response for the ListPrivateLinkService API service call." }, + "CheckPrivateLinkServiceVisibilityRequest": { + "properties": { + "privateLinkServiceAlias": { + "type": "string", + "description": "The alias of the private link service." + } + }, + "description": "Request body of the CheckPrivateLinkServiceVisibility API service call." + }, "PrivateLinkServiceVisibility": { "properties": { "visible": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json index 0fdb083bda51..084dc8ff804a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -2,8 +2,7 @@ "parameters": { "api-version": "2019-06-01", "location": "regionName", - "subscriptionId": "subId", - "resourceGroupName": "rg1" + "subscriptionId": "subId" }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 000000000000..0fdb083bda51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2019-06-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" + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json index 03bb9cb6c353..b2a6af0b8579 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibility.json @@ -2,7 +2,10 @@ "parameters": { "api-version": "2019-06-01", "subscriptionId": "subid", - "location": "westus" + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } }, "responses": { "200": { diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 000000000000..71aed28e49ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2019-06-01", + "subscriptionId": "subid", + "location": "westus", + "resourceGroupName": "rg1", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + } + }, + "responses": { + "200": { + "body": { + "visible": true + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json index 414e6457a24e..6e41bcf7a269 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2019-06-01/privateLinkService.json @@ -441,6 +441,15 @@ "type": "string", "description": "The location of the domain name." }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, { "$ref": "./network.json#/parameters/ApiVersionParameter" }, @@ -463,13 +472,106 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "description": "Checks the subscription is visible to private link service", + "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." + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + }, + "description": "The request body of CheckPrivateLinkService API call." + }, + { + "$ref": "./network.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "./network.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Request successful. Returns whether the subscription is visible to private link service.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { "get": { "tags": [ "PrivateLinkServices" ], "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this 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 private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "tags": [ + "PrivateLinkServices" + ], + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", "parameters": [ { "name": "location", @@ -502,7 +604,7 @@ }, "x-ms-examples": { "Get list of private link service id that can be linked to a private end point with auto approved": { - "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json" } }, "x-ms-pageable": { @@ -719,6 +821,15 @@ }, "description": "Response for the ListPrivateLinkService API service call." }, + "CheckPrivateLinkServiceVisibilityRequest": { + "properties": { + "privateLinkServiceAlias": { + "type": "string", + "description": "The alias of the private link service." + } + }, + "description": "Request body of the CheckPrivateLinkServiceVisibility API service call." + }, "PrivateLinkServiceVisibility": { "properties": { "visible": {