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/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" } } } 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..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 @@ -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", @@ -2205,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" + } } } },