From b07b9a8ccdafb744647a6aea8f51872c269be0ab Mon Sep 17 00:00:00 2001 From: liuyu1981831m <66749717+liuyu1981831m@users.noreply.github.com> Date: Tue, 10 May 2022 20:12:26 -0700 Subject: [PATCH] Yuliu2/add purview configuration (#18858) * Defining the APIs for the new NSP resource * Add PurviewConfiguration property in ADF Add PurviewConfiguration property in ADF * Fix discriminator Fix discriminator * Remove discriminator Remove discriminator * Update datafactory.json Make it consistent with Synapse * Rename PurviewConfiguration Co-authored-by: Hari Prasad Perabattula Co-authored-by: Hari Prasad Perabattula --- .../stable/2018-06-01/datafactory.json | 14 ++++++++++++++ .../stable/2018-06-01/examples/Factories_Get.json | 3 +++ .../stable/2018-06-01/examples/Factories_List.json | 6 ++++++ 3 files changed, 23 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 86998a038ba2..0b45966785f4 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 @@ -4987,6 +4987,16 @@ "type": "object" } }, + "PurviewConfiguration": { + "description": "Purview configuration.", + "type": "object", + "properties": { + "purviewResourceId": { + "description": "Purview resource id.", + "type": "string" + } + } + }, "FactoryRepoConfiguration": { "description": "Factory's git repo information.", "type": "object", @@ -5194,6 +5204,10 @@ "type": "string", "readOnly": true }, + "purviewConfiguration": { + "$ref": "#/definitions/PurviewConfiguration", + "description": "Purview information of the factory." + }, "repoConfiguration": { "$ref": "#/definitions/FactoryRepoConfiguration", "description": "Git repo information of the factory." diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json index 2a43ca5e1cae..b93fffc827e1 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_Get.json @@ -24,6 +24,9 @@ "provisioningState": "Succeeded", "createTime": "2018-06-19T05:41:50.0041314Z", "version": "2018-06-01", + "purviewConfiguration": { + "purviewResourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Purview/accounts/examplePurview" + }, "repoConfiguration": { "type": "FactoryVSTSConfiguration", "projectName": "project", diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json index 3ef2a545c7e8..14c732acccc4 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/examples/Factories_List.json @@ -89,6 +89,9 @@ "provisioningState": "Succeeded", "createTime": "2018-06-19T05:41:50.0041314Z", "version": "2018-06-01", + "purviewConfiguration": { + "purviewResourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Purview/accounts/examplePurview" + }, "repoConfiguration": { "type": "FactoryVSTSConfiguration", "projectName": "project", @@ -181,6 +184,9 @@ "provisioningState": "Succeeded", "createTime": "2018-06-19T05:41:50.0041314Z", "version": "2018-06-01", + "purviewConfiguration": { + "purviewResourceId": "/subscriptions/12345678-1234-1234-1234-12345678abc/resourceGroups/exampleResourceGroup/providers/Microsoft.Purview/accounts/examplePurview" + }, "repoConfiguration": { "type": "FactoryVSTSConfiguration", "projectName": "project",