From 7e1a9c1a03f12e882505a9f54f554934ce8e2b8d Mon Sep 17 00:00:00 2001 From: Aaheli Chattopadhyay Date: Thu, 28 Sep 2023 10:28:09 -0400 Subject: [PATCH] add serverless compute settings --- .../2023-08-01-preview/workspaceRP.json | 38 ++++++++++--------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json index e3662a7fd745..7b038fbb8080 100644 --- a/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json +++ b/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2023-08-01-preview/workspaceRP.json @@ -2984,6 +2984,20 @@ }, "x-ms-discriminator-value": "SAS" }, + "ServerlessComputeSettings": { + "type": "object", + "properties": { + "serverlessComputeCustomSubnet": { + "description": "The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed", + "type": "string", + "format": "arm-id" + }, + "serverlessComputeNoPublicIP": { + "description": "The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint", + "type": "boolean" + } + } + }, "ServiceManagedResourcesSettings": { "type": "object", "properties": { @@ -3470,19 +3484,14 @@ "read" ] }, - "serverlessComputeCustomSubnet": { - "description": "The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed", - "type": "string", - "format": "arm-id" - }, - "serverlessComputeNoPublicIP": { - "description": "The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint", - "type": "boolean" - }, "publicNetworkAccess": { "description": "Whether requests from Public Network are allowed.", "$ref": "#/definitions/PublicNetworkAccessType" }, + "serverlessComputeSettings": { + "description": "Settings for serverless compute created in the workspace", + "$ref": "#/definitions/ServerlessComputeSettings" + }, "serviceManagedResourcesSettings": { "description": "The service managed resource settings.", "$ref": "#/definitions/ServiceManagedResourcesSettings" @@ -3603,14 +3612,9 @@ "description": "Whether requests from Public Network are allowed.", "$ref": "#/definitions/PublicNetworkAccessType" }, - "serverlessComputeCustomSubnet": { - "description": "The resource ID of an existing virtual network subnet in which serverless compute nodes should be deployed", - "type": "string", - "format": "arm-id" - }, - "serverlessComputeNoPublicIP": { - "description": "The flag to signal if serverless compute nodes deployed in custom vNet would have no public IP addresses for a workspace with private endpoint", - "type": "boolean" + "serverlessComputeSettings": { + "description": "Settings for serverless compute created in the workspace", + "$ref": "#/definitions/ServerlessComputeSettings" }, "serviceManagedResourcesSettings": { "description": "The service managed resource settings.",