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.",