From 7947dcf770e1fa39e2f269a1cef856a4c8d7952c Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 3 Aug 2021 02:02:22 +0000 Subject: [PATCH] CodeGen from PR 15487 in Azure/azure-rest-api-specs Merge e09717eab23dd519a186829c25cf17c3dc8aa5a5 into c5b1c5bae99ce14287f5a4ff46e4cfefd490a512 --- .../Microsoft.MachineLearningServices.json | 110 +- .../Microsoft.MachineLearningServices.json | 2197 +++++++++++++++++ schemas/common/autogeneratedResources.json | 12 + 3 files changed, 2281 insertions(+), 38 deletions(-) create mode 100644 schemas/2021-07-01/Microsoft.MachineLearningServices.json diff --git a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json index 84e868319a..dd58eed844 100644 --- a/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json +++ b/schemas/2021-03-01-preview/Microsoft.MachineLearningServices.json @@ -159,7 +159,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -242,7 +243,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -913,7 +915,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -996,7 +999,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -1551,7 +1555,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Target CPU usage for the autoscaler." } }, "required": [ @@ -2019,7 +2024,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Absolute distance allowed from the best performing run." }, "slackFactor": { "oneOf": [ @@ -2029,13 +2035,14 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Ratio of the allowed distance from the best performing run." } }, "required": [ "policyType" ], - "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation" + "description": "Defines an early termination policy based on slack criteria, and a frequency and delay interval for evaluation." }, "BatchDeployment": { "type": "object", @@ -3614,7 +3621,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Number of intervals by which to delay the first evaluation." }, "evaluationInterval": { "oneOf": [ @@ -3624,10 +3632,11 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Interval (number of runs) between policy evaluations." } }, - "description": "Early termination policies enable canceling poor-performing runs before they complete" + "description": "Early termination policies enable canceling poor-performing runs before they complete." }, "EncryptionProperty": { "type": "object", @@ -3819,7 +3828,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Model flavor-specific data." } } }, @@ -4535,7 +4545,8 @@ ] }, "instanceType": { - "type": "string" + "type": "string", + "description": "Compute instance type." }, "readinessProbe": { "oneOf": [ @@ -4545,7 +4556,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Deployment container liveness/readiness probe configuration." } }, "required": [ @@ -4563,7 +4575,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Fixed number of instances for this deployment." }, "scaleType": { "type": "string", @@ -4589,7 +4602,7 @@ "required": [ "policyType" ], - "description": "Defines an early termination policy based on running averages of the primary metric of all runs" + "description": "Defines an early termination policy based on running averages of the primary metric of all runs." }, "MLAssistConfiguration": { "type": "object", @@ -4771,7 +4784,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Number of processes per MPI node." } }, "required": [ @@ -4837,13 +4851,15 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Name of the metric to optimize." } }, "required": [ "goal", "primaryMetric" - ] + ], + "description": "Optimization objective." }, "OnlineDeployment": { "type": "object", @@ -4909,7 +4925,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Deployment container liveness/readiness probe configuration." }, "model": { "oneOf": [ @@ -4945,7 +4962,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Online deployment scoring requests configuration." }, "scaleSettings": { "oneOf": [ @@ -4955,7 +4973,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Online deployment scaling configuration." } } }, @@ -5044,7 +5063,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The number of requests allowed to queue at once for this deployment." }, "maxQueueWait": { "type": "string", @@ -5056,7 +5076,8 @@ "format": "duration", "description": "The request timeout in ISO 8601 format. Supports millisecond precision." } - } + }, + "description": "Online deployment scoring requests configuration." }, "OnlineScaleSettings": { "type": "object", @@ -5077,7 +5098,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Maximum number of instances for this deployment." }, "minInstances": { "oneOf": [ @@ -5087,9 +5109,11 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Minimum number of instances for this deployment." } - } + }, + "description": "Online deployment scaling configuration." }, "OutputDataBinding": { "type": "object", @@ -5289,7 +5313,8 @@ "format": "duration", "description": "The probe timeout in ISO 8601 format." } - } + }, + "description": "Deployment container liveness/readiness probe configuration." }, "PyTorch": { "type": "object", @@ -5945,7 +5970,7 @@ "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } ], - "description": "Early termination policies enable canceling poor-performing runs before they complete" + "description": "Early termination policies enable canceling poor-performing runs before they complete." }, "experimentName": { "type": "string", @@ -5976,7 +6001,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "An upper bound on the number of trials performed in parallel." }, "maxTotalTrials": { "oneOf": [ @@ -5986,7 +6012,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "An upper bound on the number of trials to perform." }, "objective": { "oneOf": [ @@ -5996,7 +6023,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Optimization objective." }, "priority": { "oneOf": [ @@ -6126,7 +6154,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "Number of parameter server tasks." }, "workerCount": { "oneOf": [ @@ -6253,7 +6282,8 @@ { "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - ] + ], + "description": "The percentage of runs to cancel at each evaluation interval." } }, "required": [ @@ -6564,7 +6594,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -6637,7 +6668,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -7268,7 +7300,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", @@ -7341,7 +7374,8 @@ "description": "Service identity associated with a resource." }, "kind": { - "type": "string" + "type": "string", + "description": "Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type." }, "location": { "type": "string", diff --git a/schemas/2021-07-01/Microsoft.MachineLearningServices.json b/schemas/2021-07-01/Microsoft.MachineLearningServices.json new file mode 100644 index 0000000000..77dd3b5bea --- /dev/null +++ b/schemas/2021-07-01/Microsoft.MachineLearningServices.json @@ -0,0 +1,2197 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.MachineLearningServices", + "description": "Microsoft MachineLearningServices Resource Types", + "resourceDefinitions": { + "workspaces": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "Name of Azure Machine Learning workspace." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of a machine learning workspace." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/workspaces_computes_childResource" + }, + { + "$ref": "#/definitions/workspaces_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/workspaces_connections_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces" + }, + "workspaces_computes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the Azure Machine Learning compute." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Machine Learning compute object." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces/computes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/computes" + }, + "workspaces_connections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceConnectionProps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace Connection specific properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces/connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/connections" + }, + "workspaces_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" + } + }, + "definitions": { + "AKS": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "AKS" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AKSProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AKS properties" + } + }, + "required": [ + "computeType" + ], + "description": "A Machine Learning compute based on AKS." + }, + "AksNetworkingConfiguration": { + "type": "object", + "properties": { + "dnsServiceIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr." + }, + "dockerBridgeCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range." + }, + "serviceCidr": { + "oneOf": [ + { + "type": "string", + "pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges." + }, + "subnetId": { + "type": "string", + "description": "Virtual network subnet resource ID the compute nodes belong to" + } + }, + "description": "Advance configuration for AKS networking" + }, + "AKSProperties": { + "type": "object", + "properties": { + "agentCount": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of agents" + }, + "agentVmSize": { + "type": "string", + "description": "Agent virtual machine size" + }, + "aksNetworkingConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/AksNetworkingConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Advance configuration for AKS networking" + }, + "clusterFqdn": { + "type": "string", + "description": "Cluster full qualified domain name" + }, + "clusterPurpose": { + "oneOf": [ + { + "type": "string", + "enum": [ + "FastProd", + "DenseProd", + "DevTest" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Intended usage of the cluster." + }, + "loadBalancerSubnet": { + "type": "string", + "description": "Load Balancer Subnet" + }, + "loadBalancerType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PublicIp", + "InternalLoadBalancer" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load Balancer Type." + }, + "sslConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/SslConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ssl configuration for scoring" + } + }, + "description": "AKS properties" + }, + "AmlCompute": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "AmlCompute" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AmlComputeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "AML Compute properties" + } + }, + "required": [ + "computeType" + ], + "description": "Properties(top level) of AmlCompute" + }, + "AmlComputeProperties": { + "type": "object", + "properties": { + "enableNodePublicIp": { + "oneOf": [ + { + "type": "boolean", + "default": true + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable node public IP address provisioning. Possible values are: Possible values are: true - Indicates that the compute nodes will have public IPs provisioned. false - Indicates that the compute nodes will have a private endpoint and no public IPs." + }, + "isolatedNetwork": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network is isolated or not" + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Compute OS Type." + }, + "remoteLoginPortPublicAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled", + "NotSpecified" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on all nodes of the cluster. Enabled - Indicates that the public ssh port is open on all nodes of the cluster. NotSpecified - Indicates that the public ssh port is closed on all nodes of the cluster if VNet is defined, else is open all public nodes. It can be default only during cluster creation time, after creation it will be either enabled or disabled." + }, + "scaleSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ScaleSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "scale settings for AML Compute" + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceId" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." + }, + "userAccountCredentials": { + "oneOf": [ + { + "$ref": "#/definitions/UserAccountCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "virtualMachineImage": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineImage" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Machine image for Windows AML Compute" + }, + "vmPriority": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Dedicated", + "LowPriority" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Virtual Machine priority." + }, + "vmSize": { + "type": "string", + "description": "Virtual Machine Size" + } + }, + "description": "AML Compute properties" + }, + "AssignedUser": { + "type": "object", + "properties": { + "objectId": { + "type": "string", + "description": "User’s AAD Object Id." + }, + "tenantId": { + "type": "string", + "description": "User’s AAD Tenant Id." + } + }, + "required": [ + "objectId", + "tenantId" + ], + "description": "A user that can be assigned to a compute instance." + }, + "AutoPauseProperties": { + "type": "object", + "properties": { + "delayInMinutes": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Auto pause properties" + }, + "AutoScaleProperties": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "maxNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "minNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Auto scale properties" + }, + "Compute": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AKS" + }, + { + "$ref": "#/definitions/AmlCompute" + }, + { + "$ref": "#/definitions/ComputeInstance" + }, + { + "$ref": "#/definitions/VirtualMachine" + }, + { + "$ref": "#/definitions/HDInsight" + }, + { + "$ref": "#/definitions/DataFactory" + }, + { + "$ref": "#/definitions/Databricks" + }, + { + "$ref": "#/definitions/DataLakeAnalytics" + }, + { + "$ref": "#/definitions/SynapseSpark" + } + ], + "properties": { + "computeLocation": { + "type": "string", + "description": "Location for the underlying compute" + }, + "description": { + "type": "string", + "description": "The description of the Machine Learning compute." + }, + "disableLocalAuth": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Opt-out of local authentication and ensure customers can use only MSI and AAD exclusively for authentication." + }, + "resourceId": { + "type": "string", + "description": "ARM resource id of the underlying compute" + } + }, + "description": "Machine Learning compute object." + }, + "ComputeInstance": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "ComputeInstance" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Compute Instance properties" + } + }, + "required": [ + "computeType" + ], + "description": "Properties(top level) of ComputeInstance" + }, + "ComputeInstanceProperties": { + "type": "object", + "properties": { + "applicationSharingPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Personal", + "Shared" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy for sharing applications on this compute instance among users of parent workspace. If Personal, only the creator can access applications on this compute instance. When Shared, any workspace user can access applications on this instance depending on his/her assigned role." + }, + "computeInstanceAuthorizationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "personal" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Compute Instance Authorization type. Available values are personal (default)." + }, + "personalComputeInstanceSettings": { + "oneOf": [ + { + "$ref": "#/definitions/PersonalComputeInstanceSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for a personal compute instance." + }, + "setupScripts": { + "oneOf": [ + { + "$ref": "#/definitions/SetupScripts" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Details of customized scripts to execute for setting up the cluster." + }, + "sshSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ComputeInstanceSshSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies policy and settings for SSH access." + }, + "subnet": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceId" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." + }, + "vmSize": { + "type": "string", + "description": "Virtual Machine Size" + } + }, + "description": "Compute Instance properties" + }, + "ComputeInstanceSshSettings": { + "type": "object", + "properties": { + "adminPublicKey": { + "type": "string", + "description": "Specifies the SSH rsa public key file as a string. Use \"ssh-keygen -t rsa -b 2048\" to generate your SSH key pairs." + }, + "sshPublicAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable." + } + }, + "description": "Specifies policy and settings for SSH access." + }, + "CosmosDbSettings": { + "type": "object", + "properties": { + "collectionsThroughput": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The throughput of the collections in cosmosdb database" + } + } + }, + "Databricks": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "Databricks" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DatabricksProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Databricks" + } + }, + "required": [ + "computeType" + ], + "description": "A DataFactory compute." + }, + "DatabricksProperties": { + "type": "object", + "properties": { + "databricksAccessToken": { + "type": "string", + "description": "Databricks access token" + }, + "workspaceUrl": { + "type": "string", + "description": "Workspace Url" + } + }, + "description": "Properties of Databricks" + }, + "DataFactory": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "DataFactory" + ] + } + }, + "required": [ + "computeType" + ], + "description": "A DataFactory compute." + }, + "DataLakeAnalytics": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "DataLakeAnalytics" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DataLakeAnalyticsProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "computeType" + ], + "description": "A DataLakeAnalytics compute." + }, + "DataLakeAnalyticsProperties": { + "type": "object", + "properties": { + "dataLakeStoreAccountName": { + "type": "string", + "description": "DataLake Store Account Name" + } + } + }, + "EncryptionProperty": { + "type": "object", + "properties": { + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityForCmk" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity that will be used to access key vault for encryption at rest" + }, + "keyVaultProperties": { + "oneOf": [ + { + "$ref": "#/definitions/KeyVaultProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether or not the encryption is enabled for the workspace." + } + }, + "required": [ + "keyVaultProperties", + "status" + ] + }, + "HDInsight": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "HDInsight" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/HDInsightProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "HDInsight compute properties" + } + }, + "required": [ + "computeType" + ], + "description": "A HDInsight compute." + }, + "HDInsightProperties": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "Public IP address of the master node of the cluster." + }, + "administratorAccount": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Admin credentials for virtual machine" + }, + "sshPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port open for ssh connections on the master node of the cluster." + } + }, + "description": "HDInsight compute properties" + }, + "Identity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SystemAssigned", + "SystemAssigned,UserAssigned", + "UserAssigned", + "None" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The identity type." + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "dictionary containing all the user assigned identities, with resourceId of the UAI as key." + } + }, + "description": "Identity for the resource." + }, + "IdentityForCmk": { + "type": "object", + "properties": { + "userAssignedIdentity": { + "type": "string", + "description": "The ArmId of the user assigned identity that will be used to access the customer managed key vault" + } + }, + "description": "Identity that will be used to access key vault for encryption at rest" + }, + "KeyVaultProperties": { + "type": "object", + "properties": { + "identityClientId": { + "type": "string", + "description": "For future use - The client id of the identity which will be used to access key vault." + }, + "keyIdentifier": { + "type": "string", + "description": "Key vault uri to access the encryption key." + }, + "keyVaultArmId": { + "type": "string", + "description": "The ArmId of the keyVault where the customer owned encryption key is present." + } + }, + "required": [ + "keyIdentifier", + "keyVaultArmId" + ] + }, + "PersonalComputeInstanceSettings": { + "type": "object", + "properties": { + "assignedUser": { + "oneOf": [ + { + "$ref": "#/definitions/AssignedUser" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A user that can be assigned to a compute instance." + } + }, + "description": "Settings for a personal compute instance." + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Private Endpoint resource." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "ResourceId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The ID of the resource" + } + }, + "required": [ + "id" + ], + "description": "Represents a resource ID. For example, for a subnet, it is the resource URL for the subnet." + }, + "ScaleSettings": { + "type": "object", + "properties": { + "maxNodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Max number of nodes to use" + }, + "minNodeCount": { + "oneOf": [ + { + "type": "integer", + "default": "0" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Min number of nodes to use" + }, + "nodeIdleTimeBeforeScaleDown": { + "type": "string", + "format": "duration", + "description": "Node Idle Time before scaling down amlCompute. This string needs to be in the RFC Format." + } + }, + "required": [ + "maxNodeCount" + ], + "description": "scale settings for AML Compute" + }, + "ScriptReference": { + "type": "object", + "properties": { + "scriptArguments": { + "type": "string", + "description": "Optional command line arguments passed to the script to run." + }, + "scriptData": { + "type": "string", + "description": "The location of scripts in the mounted volume." + }, + "scriptSource": { + "type": "string", + "description": "The storage source of the script: inline, workspace." + }, + "timeout": { + "type": "string", + "description": "Optional time period passed to timeout command." + } + }, + "description": "Script reference" + }, + "ScriptsToExecute": { + "type": "object", + "properties": { + "creationScript": { + "oneOf": [ + { + "$ref": "#/definitions/ScriptReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Script reference" + }, + "startupScript": { + "oneOf": [ + { + "$ref": "#/definitions/ScriptReference" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Script reference" + } + }, + "description": "Customized setup scripts" + }, + "ServiceManagedResourcesSettings": { + "type": "object", + "properties": { + "cosmosDb": { + "oneOf": [ + { + "$ref": "#/definitions/CosmosDbSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + } + }, + "SetupScripts": { + "type": "object", + "properties": { + "scripts": { + "oneOf": [ + { + "$ref": "#/definitions/ScriptsToExecute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Customized setup scripts" + } + }, + "description": "Details of customized scripts to execute for setting up the cluster." + }, + "SharedPrivateLinkResource": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Unique name of the private link." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SharedPrivateLinkResourceProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of a shared private link resource." + } + } + }, + "SharedPrivateLinkResourceProperty": { + "type": "object", + "properties": { + "groupId": { + "type": "string", + "description": "The private link resource group id." + }, + "privateLinkResourceId": { + "type": "string", + "description": "The resource id that private link links to." + }, + "requestMessage": { + "type": "string", + "description": "Request message." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected", + "Disconnected", + "Timeout" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "Properties of a shared private link resource." + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the sku" + }, + "tier": { + "type": "string", + "description": "Tier of the sku like Basic or Enterprise" + } + }, + "description": "Sku of the resource" + }, + "SslConfiguration": { + "type": "object", + "properties": { + "cert": { + "type": "string", + "description": "Cert data" + }, + "cname": { + "type": "string", + "description": "CNAME of the cert" + }, + "key": { + "type": "string", + "description": "Key data" + }, + "leafDomainLabel": { + "type": "string", + "description": "Leaf domain label of public endpoint" + }, + "overwriteExistingDomain": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether to overwrite existing domain label." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled", + "Auto" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable ssl for scoring." + } + }, + "description": "The ssl configuration for scoring" + }, + "SynapseSpark": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "SynapseSpark" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/SynapseSparkProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "computeType" + ], + "description": "A SynapseSpark compute." + }, + "SynapseSparkProperties": { + "type": "object", + "properties": { + "autoPauseProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AutoPauseProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto pause properties" + }, + "autoScaleProperties": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScaleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto scale properties" + }, + "nodeCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of compute nodes currently assigned to the compute." + }, + "nodeSize": { + "type": "string", + "description": "Node size." + }, + "nodeSizeFamily": { + "type": "string", + "description": "Node size family." + }, + "poolName": { + "type": "string", + "description": "Pool name." + }, + "resourceGroup": { + "type": "string", + "description": "Name of the resource group in which workspace is located." + }, + "sparkVersion": { + "type": "string", + "description": "Spark version." + }, + "subscriptionId": { + "type": "string", + "description": "Azure subscription identifier." + }, + "workspaceName": { + "type": "string", + "description": "Name of Azure Machine Learning workspace." + } + } + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "UserAccountCredentials": { + "type": "object", + "properties": { + "adminUserName": { + "type": "string", + "description": "Name of the administrator user account which can be used to SSH to nodes." + }, + "adminUserPassword": { + "type": "string", + "description": "Password of the administrator user account." + }, + "adminUserSshPublicKey": { + "type": "string", + "description": "SSH public key of the administrator user account." + } + }, + "required": [ + "adminUserName" + ], + "description": "Settings for user account that gets created on each on the nodes of a compute." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "User Assigned Identity" + }, + "VirtualMachine": { + "type": "object", + "properties": { + "computeType": { + "type": "string", + "enum": [ + "VirtualMachine" + ] + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "computeType" + ], + "description": "A Machine Learning compute based on Azure Virtual Machines." + }, + "VirtualMachineImage": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Virtual Machine image path" + } + }, + "required": [ + "id" + ], + "description": "Virtual Machine image for Windows AML Compute" + }, + "VirtualMachineProperties": { + "type": "object", + "properties": { + "address": { + "type": "string", + "description": "Public IP address of the virtual machine." + }, + "administratorAccount": { + "oneOf": [ + { + "$ref": "#/definitions/VirtualMachineSshCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Admin credentials for virtual machine" + }, + "isNotebookInstanceCompute": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether this compute will be used for running notebooks." + }, + "sshPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port open for ssh connections." + }, + "virtualMachineSize": { + "type": "string", + "description": "Virtual Machine size" + } + } + }, + "VirtualMachineSshCredentials": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "Password of admin account" + }, + "privateKeyData": { + "type": "string", + "description": "Private key data" + }, + "publicKeyData": { + "type": "string", + "description": "Public key data" + }, + "username": { + "type": "string", + "description": "Username of admin account" + } + }, + "description": "Admin credentials for virtual machine" + }, + "WorkspaceConnectionProps": { + "type": "object", + "properties": { + "authType": { + "type": "string", + "description": "Authorization type of the workspace connection." + }, + "category": { + "type": "string", + "description": "Category of the workspace connection." + }, + "target": { + "type": "string", + "description": "Target of the workspace connection." + }, + "value": { + "type": "string", + "description": "Value details of the workspace connection." + }, + "valueFormat": { + "oneOf": [ + { + "type": "string", + "enum": [ + "JSON" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "format for the workspace connection value." + } + }, + "description": "Workspace Connection specific properties." + }, + "WorkspaceProperties": { + "type": "object", + "properties": { + "allowPublicAccessWhenBehindVnet": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag to indicate whether to allow public access when behind VNet." + }, + "applicationInsights": { + "type": "string", + "description": "ARM id of the application insights associated with this workspace. This cannot be changed once the workspace has been created" + }, + "containerRegistry": { + "type": "string", + "description": "ARM id of the container registry associated with this workspace. This cannot be changed once the workspace has been created" + }, + "description": { + "type": "string", + "description": "The description of this workspace." + }, + "discoveryUrl": { + "type": "string", + "description": "Url for the discovery service to identify regional endpoints for machine learning experimentation services" + }, + "encryption": { + "oneOf": [ + { + "$ref": "#/definitions/EncryptionProperty" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "friendlyName": { + "type": "string", + "description": "The friendly name for this workspace. This name in mutable" + }, + "hbiWorkspace": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag to signal HBI data in the workspace and reduce diagnostic data collected by the service" + }, + "imageBuildCompute": { + "type": "string", + "description": "The compute name for image build" + }, + "keyVault": { + "type": "string", + "description": "ARM id of the key vault associated with this workspace. This cannot be changed once the workspace has been created" + }, + "primaryUserAssignedIdentity": { + "type": "string", + "description": "The user assigned identity resource id that represents the workspace identity." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether requests from Public Network are allowed." + }, + "serviceManagedResourcesSettings": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceManagedResourcesSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "sharedPrivateLinkResources": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SharedPrivateLinkResource" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of shared private link resources in this workspace." + }, + "storageAccount": { + "type": "string", + "description": "ARM id of the storage account associated with this workspace. This cannot be changed once the workspace has been created" + } + }, + "description": "The properties of a machine learning workspace." + }, + "workspaces_computes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "Name of the Azure Machine Learning compute." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/Compute" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Machine Learning compute object." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "computes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/computes" + }, + "workspaces_connections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "name": { + "type": "string", + "description": "Friendly name of the workspace connection" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/WorkspaceConnectionProps" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Workspace Connection specific properties." + }, + "type": { + "type": "string", + "enum": [ + "connections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/connections" + }, + "workspaces_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-07-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/Identity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity for the resource." + }, + "location": { + "type": "string", + "description": "Specifies the location of the resource." + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the workspace" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku of the resource" + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Contains resource tags defined as key/value pairs." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.MachineLearningServices/workspaces/privateEndpointConnections" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index fb3548bd3f..a68233d74c 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -6823,6 +6823,18 @@ { "$ref": "https://schema.management.azure.com/schemas/2021-04-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_services" }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_computes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_connections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2021-07-01/Microsoft.MachineLearningServices.json#/resourceDefinitions/workspaces_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-06-01-preview/Microsoft.Maintenance.json#/resourceDefinitions/maintenanceConfigurations" },