From 28b4b5ba79e103a46d06d12bc7496beab693ef63 Mon Sep 17 00:00:00 2001 From: Oluwakayode Otubu Date: Wed, 7 Jul 2021 16:43:35 -0700 Subject: [PATCH 1/3] updated property --- .../stable/2021-07-01/examples/Workspace/create.json | 1 + .../stable/2021-07-01/examples/Workspace/get.json | 1 + .../stable/2021-07-01/machineLearningServices.json | 12 ++++++++++++ 3 files changed, 14 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json index c5e4fc49cd96..ca0db7b5834e 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/create.json @@ -85,6 +85,7 @@ }, "hbiWorkspace": false, "allowPublicAccessWhenBehindVnet": false, + "publicNetworkAccess": "Disabled", "sharedPrivateLinkResources": [ { "name": "testdbresource", diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json index 1dd32b020896..5fdd566b54b6 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/get.json @@ -47,6 +47,7 @@ "serviceProvisionedResourceGroup": "testworkspace_0000111122223333", "privateLinkCount": 0, "allowPublicAccessWhenBehindVnet": false, + "publicNetworkAccess": "Disabled", "imageBuildCompute": "testcompute", "privateEndpointConnections": [ { diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index b474c654709b..1570a8d5df5f 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -2113,6 +2113,18 @@ "description": "The flag to indicate whether to allow public access when behind VNet.", "default": false }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PublicNetworkAccess" + } + }, "privateEndpointConnections": { "readOnly": true, "type": "array", From 9c2377e78fad93ed55c3eb51ceddb7f2834b0efa Mon Sep 17 00:00:00 2001 From: Oluwakayode Otubu Date: Thu, 8 Jul 2021 14:16:27 -0700 Subject: [PATCH 2/3] updated file --- .../stable/2021-07-01/examples/Workspace/update.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json index a2bd59df45ec..b278f987068b 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/examples/Workspace/update.json @@ -7,7 +7,8 @@ "parameters": { "properties": { "friendlyName": "New friendly name", - "description": "new description" + "description": "new description", + "publicNetworkAccess": "Disabled" } } }, @@ -30,7 +31,8 @@ "storageAccount": "/subscriptions/00000000-1111-2222-3333-444444444444/resourceGroups/accountcrud-1234/providers/Microsoft.Storage/storageAccounts/testStorageAccount", "discoveryUrl": "http://example.com", "friendlyName": "New friendly name", - "description": "new description" + "description": "new description", + "publicNetworkAccess": "Disabled" } } } From aa13bb57fee6e0243856cd92852f6fa096bcb774 Mon Sep 17 00:00:00 2001 From: Oluwakayode Otubu Date: Thu, 8 Jul 2021 15:13:11 -0700 Subject: [PATCH 3/3] Fixed Update missing property response --- .../stable/2021-07-01/machineLearningServices.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json index 1570a8d5df5f..2f48189b8f66 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/stable/2021-07-01/machineLearningServices.json @@ -2217,6 +2217,18 @@ "primaryUserAssignedIdentity": { "description": "The user assigned identity resource id that represents the workspace identity.", "type": "string" + }, + "publicNetworkAccess": { + "type": "string", + "description": "Whether requests from Public Network are allowed.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "modelAsString": true, + "name": "PublicNetworkAccess" + } } } },