Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Microsoft.DeviceUpdate] (Internal only) Added Private Endpoint Proxy Private Endpoint Update #18281

Merged
merged 16 commits into from
Mar 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,55 @@
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}/updatePrivateEndpointProperties": {
"post": {
"description": "(INTERNAL - DO NOT USE) Updates a private endpoint inside the private endpoint connection proxy object.",
"operationId": "PrivateEndpointConnectionProxies_UpdatePrivateEndpointProperties",
"parameters": [
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/SubscriptionIdParameter"
},
{
"$ref": "#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/AccountNameParameter"
},
{
"$ref": "#/parameters/PrivateEndpointConnectionProxyIdParameter"
},
{
"name": "privateEndpointUpdate",
"in": "body",
"description": "The parameters for updating a private endpoint connection proxy.",
"required": true,
"schema": {
"$ref": "#/definitions/PrivateEndpointUpdate"
}
}
],
"responses": {
"200": {
"description": "Update private endpoint in private endpoint connection proxy empty response."
},
"default": {
"description": "Error response describing the reason for operation failure.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v3/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
"PrivateEndpointConnectionProxyPrivateEndpointUpdate": {
"$ref": "./examples/PrivateEndpointConnectionProxies/PrivateEndpointConnectionProxy_PrivateEndpointUpdate.json"
}
},
"deprecated": false
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DeviceUpdate/accounts/{accountName}/privateEndpointConnectionProxies/{privateEndpointConnectionProxyId}": {
"get": {
"tags": [
Expand Down Expand Up @@ -1582,10 +1631,21 @@
"description": "Remote endpoint resource ID.",
"type": "string"
},
"location": {
"description": "ARM location of the remote private endpoint.",
"type": "string"
},
"immutableSubscriptionId": {
"description": "Original subscription ID needed by Microsoft.Network.",
"type": "string"
},
"immutableResourceId": {
"description": "Original resource ID needed by Microsoft.Network.",
"type": "string"
},
"vnetTrafficTag": {
"description": "Virtual network traffic tag.",
"type": "string",
"readOnly": true
"type": "string"
},
"manualPrivateLinkServiceConnections": {
"description": "List of private link service connections that need manual approval.",
Expand Down Expand Up @@ -1617,6 +1677,32 @@
}
}
},
"PrivateEndpointUpdate": {
"description": "Private endpoint update details.",
"type": "object",
"properties": {
"id": {
"description": "Remote endpoint resource ID.",
"type": "string"
},
"location": {
"description": "ARM location of the remote private endpoint.",
"type": "string"
},
"immutableSubscriptionId": {
"description": "Original subscription ID needed by Microsoft.Network.",
"type": "string"
},
"immutableResourceId": {
"description": "Original resource ID needed by Microsoft.Network.",
"type": "string"
},
"vnetTrafficTag": {
"description": "Virtual network traffic tag.",
"type": "string"
}
}
},
"PrivateLinkServiceConnection": {
"description": "Private link service connection details.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"api-version": "2020-03-01-preview",
"privateEndpointConnectionProxy": {
"remotePrivateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"location": "westus2",
"immutableSubscriptionId": "00000000-0000-0000-0000-000000000000",
"immutableResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"manualPrivateLinkServiceConnections": [
{
"name": "{privateEndpointConnectionProxyId}",
Expand All @@ -33,7 +36,10 @@
"name": "peexample01",
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies",
"remotePrivateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"location": "westus2",
"immutableSubscriptionId": "00000000-0000-0000-0000-000000000000",
"immutableResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"manualPrivateLinkServiceConnections": [
{
"name": "{plsConnectionName}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"name": "peexample01",
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies",
"remotePrivateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"location": "westus2",
"immutableSubscriptionId": "00000000-0000-0000-0000-000000000000",
"immutableResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"manualPrivateLinkServiceConnections": [
{
"name": "{plsConnectionName}",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"name": "peexample01",
"type": "Microsoft.DeviceUpdate/accounts/privateEndpointConnectionProxies",
"remotePrivateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"location": "westus2",
"immutableSubscriptionId": "00000000-0000-0000-0000-000000000000",
"immutableResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"manualPrivateLinkServiceConnections": [
{
"name": "{plsConnectionName}",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "test-rg",
"accountName": "contoso",
"privateEndpointConnectionProxyId": "peexample01",
"api-version": "2020-03-01-preview",
"privateEndpointUpdate": {
"id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"location": "westus2",
"immutableSubscriptionId": "00000000-0000-0000-0000-000000000000",
"immutableResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"vnetTrafficTag": "12345678"
}
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"privateEndpointConnectionProxy": {
"remotePrivateEndpoint": {
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{privateEndpointConnectionProxyId}",
"location": "westus2",
"immutableSubscriptionId": "00000000-0000-0000-0000-000000000000",
"immutableResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/test-rg/providers/Microsoft.Network/privateEndpoints/{peName}",
"manualPrivateLinkServiceConnections": [
{
"name": "{privateEndpointConnectionProxyId}",
Expand Down