From d35cd6ee7c1b01d5a940a29d4b62c50b8b31d826 Mon Sep 17 00:00:00 2001 From: Jingshu923 <52914166+Jingshu923@users.noreply.github.com> Date: Tue, 26 Apr 2022 09:17:52 +0800 Subject: [PATCH] [DataFactory]Added privateEndpoint property Into PrivateLinkConnectionApprovalRequest (#18793) * [DataFactory]Added privateEndpoint Into PrivateLinkConnectionApprovalRequest * update --- .../stable/2018-06-01/datafactory.json | 14 ++++++++++++++ .../ApproveRejectPrivateEndpointConnection.json | 3 +++ 2 files changed, 17 insertions(+) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 2ae1a2d47216..86998a038ba2 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -6982,6 +6982,20 @@ "properties": { "privateLinkServiceConnectionState": { "$ref": "#/definitions/PrivateLinkConnectionState" + }, + "privateEndpoint": { + "$ref": "#/definitions/PrivateEndpoint", + "description": "The resource of private endpoint." + } + } + }, + "PrivateEndpoint": { + "description": "Private endpoint which a connection belongs to.", + "type": "object", + "properties": { + "id": { + "description": "The resource Id for private endpoint", + "type": "string" } } }, diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json index d1383b20dfcf..a5f573914256 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/ApproveRejectPrivateEndpointConnection.json @@ -12,6 +12,9 @@ "status": "Approved", "description": "Approved by admin.", "actionsRequired": "" + }, + "privateEndpoint": { + "id": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.DataFactory/factories/exampleFactoryName/privateEndpoints/myPrivateEndpoint" } } }